Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31726,6 +31726,9 @@ components:
description: Display name of the user.
example: Jane Doe
type: string
test:
description: just testing generation
type: boolean
type: object
DataAttributesRulesItemsIfTagExists:
description: The behavior when the tag already exists.
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v2/model/dashboard_usage_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ def openapi_types(_):
"id": (str,),
"is_disabled": (bool,),
"name": (str,),
"test": (bool,),
}

attribute_map = {
"handle": "handle",
"id": "id",
"is_disabled": "is_disabled",
"name": "name",
"test": "test",
}

def __init__(
Expand All @@ -38,6 +40,7 @@ def __init__(
id: Union[str, UnsetType] = unset,
is_disabled: Union[bool, UnsetType] = unset,
name: Union[str, UnsetType] = unset,
test: Union[bool, UnsetType] = unset,
**kwargs,
):
"""
Expand All @@ -54,6 +57,9 @@ def __init__(

:param name: Display name of the user.
:type name: str, optional

:param test: just testing generation
:type test: bool, optional
"""
if handle is not unset:
kwargs["handle"] = handle
Expand All @@ -63,4 +69,6 @@ def __init__(
kwargs["is_disabled"] = is_disabled
if name is not unset:
kwargs["name"] = name
if test is not unset:
kwargs["test"] = test
super().__init__(kwargs)
Loading