Skip to content

Commit

Permalink
Regenerate client from commit 01164ff1 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jul 10, 2023
1 parent bbe49da commit 053f75d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 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.5",
"regenerated": "2023-07-10 17:45:18.922571",
"spec_repo_commit": "9e0b471a"
"regenerated": "2023-07-10 18:48:55.749478",
"spec_repo_commit": "01164ff1"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-10 17:45:18.934746",
"spec_repo_commit": "9e0b471a"
"regenerated": "2023-07-10 18:48:55.767419",
"spec_repo_commit": "01164ff1"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ components:
type: array
type: object
AccessRole:
default: st
description: The access role of the user. Options are **st** (standard user),
**adm** (admin user), or **ro** (read-only user).
enum:
Expand All @@ -361,6 +360,7 @@ components:
- ro
- ERROR
example: st
nullable: true
type: string
x-enum-varnames:
- STANDARD
Expand Down
4 changes: 3 additions & 1 deletion src/datadog_api_client/v1/model/access_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AccessRole(ModelSimple):
"""
The access role of the user. Options are **st** (standard user), **adm** (admin user), or **ro** (read-only user).
:param value: If omitted defaults to "st". Must be one of ["st", "adm", "ro", "ERROR"].
:param value: Must be one of ["st", "adm", "ro", "ERROR"].
:type value: str
"""

Expand All @@ -31,6 +31,8 @@ class AccessRole(ModelSimple):
READ_ONLY: ClassVar["AccessRole"]
ERROR: ClassVar["AccessRole"]

_nullable = True

@cached_property
def openapi_types(_):
return {
Expand Down
5 changes: 3 additions & 2 deletions src/datadog_api_client/v1/model/organization_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from datadog_api_client.model_utils import (
ModelNormal,
cached_property,
none_type,
unset,
UnsetType,
)
Expand Down Expand Up @@ -70,7 +71,7 @@ def __init__(
self_,
private_widget_share: Union[bool, UnsetType] = unset,
saml: Union[OrganizationSettingsSaml, UnsetType] = unset,
saml_autocreate_access_role: Union[AccessRole, UnsetType] = unset,
saml_autocreate_access_role: Union[AccessRole, none_type, UnsetType] = unset,
saml_autocreate_users_domains: Union[OrganizationSettingsSamlAutocreateUsersDomains, UnsetType] = unset,
saml_can_be_enabled: Union[bool, UnsetType] = unset,
saml_idp_endpoint: Union[str, UnsetType] = unset,
Expand All @@ -91,7 +92,7 @@ def __init__(
:type saml: OrganizationSettingsSaml, optional
:param saml_autocreate_access_role: The access role of the user. Options are **st** (standard user), **adm** (admin user), or **ro** (read-only user).
:type saml_autocreate_access_role: AccessRole, optional
:type saml_autocreate_access_role: AccessRole, none_type, optional
:param saml_autocreate_users_domains: Has two properties, ``enabled`` (boolean) and ``domains`` , which is a list of domains without the @ symbol.
:type saml_autocreate_users_domains: OrganizationSettingsSamlAutocreateUsersDomains, optional
Expand Down
5 changes: 3 additions & 2 deletions src/datadog_api_client/v1/model/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from datadog_api_client.model_utils import (
ModelNormal,
cached_property,
none_type,
unset,
UnsetType,
)
Expand Down Expand Up @@ -48,7 +49,7 @@ def openapi_types(_):

def __init__(
self_,
access_role: Union[AccessRole, UnsetType] = unset,
access_role: Union[AccessRole, none_type, UnsetType] = unset,
disabled: Union[bool, UnsetType] = unset,
email: Union[str, UnsetType] = unset,
handle: Union[str, UnsetType] = unset,
Expand All @@ -61,7 +62,7 @@ def __init__(
Create, edit, and disable users.
:param access_role: The access role of the user. Options are **st** (standard user), **adm** (admin user), or **ro** (read-only user).
:type access_role: AccessRole, optional
:type access_role: AccessRole, none_type, optional
:param disabled: The new disabled status of the user.
:type disabled: bool, optional
Expand Down

0 comments on commit 053f75d

Please sign in to comment.