Skip to content

Commit

Permalink
Regenerate client from commit 9a0ffb6a of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jun 8, 2023
1 parent e91f7e1 commit b7316ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 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.4",
"regenerated": "2023-06-08 14:17:42.334990",
"spec_repo_commit": "11592711"
"regenerated": "2023-06-08 17:37:18.807428",
"spec_repo_commit": "9a0ffb6a"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-06-08 14:17:42.348055",
"spec_repo_commit": "11592711"
"regenerated": "2023-06-08 17:37:18.819527",
"spec_repo_commit": "9a0ffb6a"
}
}
}
1 change: 1 addition & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7248,6 +7248,7 @@ components:
items:
description: A role UUID.
type: string
nullable: true
type: array
state:
$ref: '#/components/schemas/MonitorState'
Expand Down
6 changes: 3 additions & 3 deletions src/datadog_api_client/v1/model/monitor_update_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def openapi_types(_):
"overall_state": (MonitorOverallStates,),
"priority": (int,),
"query": (str,),
"restricted_roles": ([str],),
"restricted_roles": ([str], none_type),
"state": (MonitorState,),
"tags": ([str],),
"type": (MonitorType,),
Expand Down Expand Up @@ -101,7 +101,7 @@ def __init__(
overall_state: Union[MonitorOverallStates, UnsetType] = unset,
priority: Union[int, UnsetType] = unset,
query: Union[str, UnsetType] = unset,
restricted_roles: Union[List[str], UnsetType] = unset,
restricted_roles: Union[List[str], none_type, UnsetType] = unset,
state: Union[MonitorState, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
type: Union[MonitorType, UnsetType] = unset,
Expand Down Expand Up @@ -147,7 +147,7 @@ def __init__(
:type query: str, optional
:param restricted_roles: A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the `Roles API <https://docs.datadoghq.com/api/latest/roles/#list-roles>`_ and are located in the ``data.id`` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. ``restricted_roles`` is the successor of ``locked``. For more information about ``locked`` and ``restricted_roles`` , see the `monitor options docs <https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options>`_.
:type restricted_roles: [str], optional
:type restricted_roles: [str], none_type, optional
:param state: Wrapper object with the different monitor states.
:type state: MonitorState, optional
Expand Down

0 comments on commit b7316ec

Please sign in to comment.