Skip to content
Open
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 @@ -88943,6 +88943,9 @@ components:
$ref: "#/components/schemas/TeamsResponseLinks"
meta:
$ref: "#/components/schemas/TeamsResponseMeta"
test:
description: Indicates whether the response is from a test environment.
type: boolean
type: object
TeamsResponseLinks:
description: Teams response links.
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v2/model/teams_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ def openapi_types(_):
"included": ([TeamIncluded],),
"links": (TeamsResponseLinks,),
"meta": (TeamsResponseMeta,),
"test": (bool,),
}

attribute_map = {
"data": "data",
"included": "included",
"links": "links",
"meta": "meta",
"test": "test",
}

def __init__(
Expand All @@ -51,6 +53,7 @@ def __init__(
included: Union[List[Union[TeamIncluded, User, TeamLink, UserTeamPermission]], UnsetType] = unset,
links: Union[TeamsResponseLinks, UnsetType] = unset,
meta: Union[TeamsResponseMeta, UnsetType] = unset,
test: Union[bool, UnsetType] = unset,
**kwargs,
):
"""
Expand All @@ -67,6 +70,9 @@ def __init__(

:param meta: Teams response metadata.
:type meta: TeamsResponseMeta, optional

:param test: Indicates whether the response is from a test environment.
:type test: bool, optional
"""
if data is not unset:
kwargs["data"] = data
Expand All @@ -76,4 +82,6 @@ def __init__(
kwargs["links"] = links
if meta is not unset:
kwargs["meta"] = meta
if test is not unset:
kwargs["test"] = test
super().__init__(kwargs)
Loading