Skip to content

Commit

Permalink
Regenerate client from commit 0b58986 of spec repo (#1171)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Oct 27, 2021
1 parent 4aa4b05 commit d6033d3
Show file tree
Hide file tree
Showing 5 changed files with 20 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.5.1.dev2",
"regenerated": "2021-10-27 09:02:23.595735",
"spec_repo_commit": "5f2ff0f"
"regenerated": "2021-10-27 12:49:52.775829",
"spec_repo_commit": "0b58986"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-10-27 09:02:23.615194",
"spec_repo_commit": "5f2ff0f"
"regenerated": "2021-10-27 12:49:52.790161",
"spec_repo_commit": "0b58986"
}
}
}
8 changes: 4 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,10 @@ components:
type: string
is_read_only:
default: false
deprecated: true
description: Whether this dashboard is read-only. If True, only the author
and admins can make changes to it.
and admins can make changes to it. Prefer using `restricted_roles` to
manage write authorization.
example: false
type: boolean
layout_type:
Expand All @@ -930,9 +932,7 @@ components:
$ref: '#/components/schemas/DashboardReflowType'
restricted_roles:
description: 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.**
with at least one of these roles can edit this dashboard.
items:
description: A role UUID.
type: string
Expand Down
8 changes: 4 additions & 4 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11814,8 +11814,10 @@ components:
type: string
is_read_only:
default: false
deprecated: true
description: Whether this dashboard is read-only. If True, only the author
and admins can make changes to it.
and admins can make changes to it. Prefer using `restricted_roles` to
manage write authorization.
example: false
type: boolean
layout_type:
Expand All @@ -11837,9 +11839,7 @@ components:
$ref: '#/components/schemas/DashboardReflowType'
restricted_roles:
description: 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.**
with at least one of these roles can edit this dashboard.
items:
description: A role UUID.
type: string
Expand Down
4 changes: 2 additions & 2 deletions api/v1/datadog/docs/Dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Name | Type | Description | Notes
**CreatedAt** | Pointer to **time.Time** | Creation date of the dashboard. | [optional] [readonly]
**Description** | Pointer to **NullableString** | Description of the dashboard. | [optional]
**Id** | Pointer to **string** | ID of the dashboard. | [optional] [readonly]
**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]
**IsReadOnly** | Pointer to **bool** | Whether this dashboard is read-only. If True, only the author and admins can make changes to it. Prefer using &#x60;restricted_roles&#x60; to manage write authorization. | [optional] [default to false]
**LayoutType** | [**DashboardLayoutType**](DashboardLayoutType.md) | |
**ModifiedAt** | Pointer to **time.Time** | Modification date of the dashboard. | [optional] [readonly]
**NotifyList** | Pointer to **[]string** | List of handles of users to notify when changes are made to this dashboard. | [optional]
**ReflowType** | Pointer to [**DashboardReflowType**](DashboardReflowType.md) | | [optional]
**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 &#x60;is_read_only&#x60; property if both are present. **This feature is currently in beta.** | [optional]
**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]
**TemplateVariablePresets** | Pointer to [**[]DashboardTemplateVariablePreset**](DashboardTemplateVariablePreset.md) | Array of template variables saved views. | [optional]
**TemplateVariables** | Pointer to [**[]DashboardTemplateVariable**](DashboardTemplateVariable.md) | List of template variables for this dashboard. | [optional]
**Title** | **string** | Title of the dashboard. |
Expand Down
8 changes: 6 additions & 2 deletions api/v1/datadog/model_dashboard.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d6033d3

Please sign in to comment.