Skip to content

Commit f3edeac

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 0b58986 of spec repo (#335)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 80e6079 commit f3edeac

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.5.1.dev2",
7-
"regenerated": "2021-10-27 09:02:25.467536",
8-
"spec_repo_commit": "5f2ff0f"
7+
"regenerated": "2021-10-27 12:49:54.845542",
8+
"spec_repo_commit": "0b58986"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-10-27 09:02:25.492998",
13-
"spec_repo_commit": "5f2ff0f"
12+
"regenerated": "2021-10-27 12:49:54.873851",
13+
"spec_repo_commit": "0b58986"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,10 @@ components:
907907
type: string
908908
is_read_only:
909909
default: false
910+
deprecated: true
910911
description: Whether this dashboard is read-only. If True, only the author
911-
and admins can make changes to it.
912+
and admins can make changes to it. Prefer using `restricted_roles` to
913+
manage write authorization.
912914
example: false
913915
type: boolean
914916
layout_type:
@@ -930,9 +932,7 @@ components:
930932
$ref: '#/components/schemas/DashboardReflowType'
931933
restricted_roles:
932934
description: A list of role identifiers. Only the author and users associated
933-
with at least one of these roles can edit this dashboard. Overrides the
934-
`is_read_only` property if both are present. **This feature is currently
935-
in beta.**
935+
with at least one of these roles can edit this dashboard.
936936
items:
937937
description: A role UUID.
938938
type: string

packages/datadog-api-client-v1/models/Dashboard.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class Dashboard {
3737
*/
3838
"id"?: string;
3939
/**
40-
* Whether this dashboard is read-only. If True, only the author and admins can make changes to it.
40+
* Whether this dashboard is read-only. If True, only the author and admins can make changes to it. Prefer using `restricted_roles` to manage write authorization.
4141
*/
4242
"isReadOnly"?: boolean;
4343
"layoutType": DashboardLayoutType;
@@ -51,7 +51,7 @@ export class Dashboard {
5151
"notifyList"?: Array<string>;
5252
"reflowType"?: DashboardReflowType;
5353
/**
54-
* A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard. Overrides the `is_read_only` property if both are present. **This feature is currently in beta.**
54+
* A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
5555
*/
5656
"restrictedRoles"?: Array<string>;
5757
/**

0 commit comments

Comments
 (0)