Skip to content

Commit 2610729

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d63fa330 of spec repo
1 parent b379379 commit 2610729

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-06 19:03:03.417793",
8-
"spec_repo_commit": "b56ea2d7"
7+
"regenerated": "2025-01-07 19:53:49.892944",
8+
"spec_repo_commit": "d63fa330"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-06 19:03:03.432332",
13-
"spec_repo_commit": "b56ea2d7"
12+
"regenerated": "2025-01-07 19:53:49.909013",
13+
"spec_repo_commit": "d63fa330"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+1-6
Original file line numberDiff line numberDiff line change
@@ -1209,13 +1209,8 @@ components:
12091209
reflow_type:
12101210
$ref: '#/components/schemas/DashboardReflowType'
12111211
restricted_roles:
1212-
deprecated: true
1213-
description: 'A list of role identifiers. Only the author and users associated
1212+
description: A list of role identifiers. Only the author and users associated
12141213
with at least one of these roles can edit this dashboard.
1215-
1216-
1217-
This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/)
1218-
instead to manage write authorization for individual dashboards.'
12191214
items:
12201215
description: A role UUID.
12211216
type: string

src/main/java/com/datadog/api/client/v1/model/Dashboard.java

-7
Original file line numberDiff line numberDiff line change
@@ -360,22 +360,15 @@ public Dashboard addRestrictedRolesItem(String restrictedRolesItem) {
360360
* A list of role identifiers. Only the author and users associated with at least one of these
361361
* roles can edit this dashboard.
362362
*
363-
* <p>This property is deprecated; please use the <a
364-
* href="https://docs.datadoghq.com/api/latest/restriction-policies/">Restriction Policies API</a>
365-
* instead to manage write authorization for individual dashboards.
366-
*
367363
* @return restrictedRoles
368-
* @deprecated
369364
*/
370-
@Deprecated
371365
@jakarta.annotation.Nullable
372366
@JsonProperty(JSON_PROPERTY_RESTRICTED_ROLES)
373367
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
374368
public List<String> getRestrictedRoles() {
375369
return restrictedRoles;
376370
}
377371

378-
@Deprecated
379372
public void setRestrictedRoles(List<String> restrictedRoles) {
380373
this.restrictedRoles = restrictedRoles;
381374
}

0 commit comments

Comments
 (0)