Skip to content

Commit

Permalink
Regenerate client from commit 9d0fb25e of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 24, 2024
1 parent 2a26be6 commit 4cdc597
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-19 07:26:27.191303",
"spec_repo_commit": "5dd2cbe4"
"regenerated": "2024-12-24 14:59:05.664931",
"spec_repo_commit": "9d0fb25e"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-19 07:26:27.207255",
"spec_repo_commit": "5dd2cbe4"
"regenerated": "2024-12-24 14:59:05.684806",
"spec_repo_commit": "9d0fb25e"
}
}
}
7 changes: 1 addition & 6 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1209,13 +1209,8 @@ components:
reflow_type:
$ref: '#/components/schemas/DashboardReflowType'
restricted_roles:
deprecated: true
description: 'A list of role identifiers. Only the author and users associated
description: A list of role identifiers. Only the author and users associated
with at least one of these roles can edit this dashboard.


This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/)
instead to manage write authorization for individual dashboards.'
items:
description: A role UUID.
type: string
Expand Down
6 changes: 0 additions & 6 deletions api/datadogV1/model_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ type Dashboard struct {
// widgets should not have layouts.
ReflowType *DashboardReflowType `json:"reflow_type,omitempty"`
// A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
//
// This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards.
// Deprecated
RestrictedRoles []string `json:"restricted_roles,omitempty"`
// List of team names representing ownership of a dashboard.
Tags datadog.NullableList[string] `json:"tags,omitempty"`
Expand Down Expand Up @@ -397,7 +394,6 @@ func (o *Dashboard) SetReflowType(v DashboardReflowType) {
}

// GetRestrictedRoles returns the RestrictedRoles field value if set, zero value otherwise.
// Deprecated
func (o *Dashboard) GetRestrictedRoles() []string {
if o == nil || o.RestrictedRoles == nil {
var ret []string
Expand All @@ -408,7 +404,6 @@ func (o *Dashboard) GetRestrictedRoles() []string {

// GetRestrictedRolesOk returns a tuple with the RestrictedRoles field value if set, nil otherwise
// and a boolean to check if the value has been set.
// Deprecated
func (o *Dashboard) GetRestrictedRolesOk() (*[]string, bool) {
if o == nil || o.RestrictedRoles == nil {
return nil, false
Expand All @@ -422,7 +417,6 @@ func (o *Dashboard) HasRestrictedRoles() bool {
}

// SetRestrictedRoles gets a reference to the given []string and assigns it to the RestrictedRoles field.
// Deprecated
func (o *Dashboard) SetRestrictedRoles(v []string) {
o.RestrictedRoles = v
}
Expand Down

0 comments on commit 4cdc597

Please sign in to comment.