Skip to content

Commit 0d94c0e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0b58986 of spec repo
1 parent 4aa4b05 commit 0d94c0e

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
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:23.595735",
8-
"spec_repo_commit": "5f2ff0f"
7+
"regenerated": "2021-10-27 12:49:52.775829",
8+
"spec_repo_commit": "0b58986"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-10-27 09:02:23.615194",
13-
"spec_repo_commit": "5f2ff0f"
12+
"regenerated": "2021-10-27 12:49:52.790161",
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

api/v1/datadog/api/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11814,8 +11814,10 @@ components:
1181411814
type: string
1181511815
is_read_only:
1181611816
default: false
11817+
deprecated: true
1181711818
description: Whether this dashboard is read-only. If True, only the author
11818-
and admins can make changes to it.
11819+
and admins can make changes to it. Prefer using `restricted_roles` to
11820+
manage write authorization.
1181911821
example: false
1182011822
type: boolean
1182111823
layout_type:
@@ -11837,9 +11839,7 @@ components:
1183711839
$ref: '#/components/schemas/DashboardReflowType'
1183811840
restricted_roles:
1183911841
description: A list of role identifiers. Only the author and users associated
11840-
with at least one of these roles can edit this dashboard. Overrides the
11841-
`is_read_only` property if both are present. **This feature is currently
11842-
in beta.**
11842+
with at least one of these roles can edit this dashboard.
1184311843
items:
1184411844
description: A role UUID.
1184511845
type: string

api/v1/datadog/docs/Dashboard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Name | Type | Description | Notes
88
**CreatedAt** | Pointer to **time.Time** | Creation date of the dashboard. | [optional] [readonly]
99
**Description** | Pointer to **NullableString** | Description of the dashboard. | [optional]
1010
**Id** | Pointer to **string** | ID of the dashboard. | [optional] [readonly]
11-
**IsReadOnly** | Pointer to **bool** | Whether this dashboard is read-only. If True, only the author and admins can make changes to it. | [optional] [default to false]
11+
**IsReadOnly** | Pointer to **bool** | 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. | [optional] [default to false]
1212
**LayoutType** | [**DashboardLayoutType**](DashboardLayoutType.md) | |
1313
**ModifiedAt** | Pointer to **time.Time** | Modification date of the dashboard. | [optional] [readonly]
1414
**NotifyList** | Pointer to **[]string** | List of handles of users to notify when changes are made to this dashboard. | [optional]
1515
**ReflowType** | Pointer to [**DashboardReflowType**](DashboardReflowType.md) | | [optional]
16-
**RestrictedRoles** | Pointer to **[]string** | 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.** | [optional]
16+
**RestrictedRoles** | Pointer to **[]string** | A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard. | [optional]
1717
**TemplateVariablePresets** | Pointer to [**[]DashboardTemplateVariablePreset**](DashboardTemplateVariablePreset.md) | Array of template variables saved views. | [optional]
1818
**TemplateVariables** | Pointer to [**[]DashboardTemplateVariable**](DashboardTemplateVariable.md) | List of template variables for this dashboard. | [optional]
1919
**Title** | **string** | Title of the dashboard. |

api/v1/datadog/model_dashboard.go

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)