-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate client from commit 17275f75 of spec repo
- Loading branch information
ci.datadog-api-spec
committed
Dec 20, 2023
1 parent
289c0a5
commit 02e9d15
Showing
11 changed files
with
250 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/datadog_api_client/v2/model/relationship_to_user_team_team.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. | ||
# This product includes software developed at Datadog (https://www.datadoghq.com/). | ||
# Copyright 2019-Present Datadog, Inc. | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
from datadog_api_client.model_utils import ( | ||
ModelNormal, | ||
cached_property, | ||
) | ||
|
||
|
||
if TYPE_CHECKING: | ||
from datadog_api_client.v2.model.relationship_to_user_team_team_data import RelationshipToUserTeamTeamData | ||
|
||
|
||
class RelationshipToUserTeamTeam(ModelNormal): | ||
@cached_property | ||
def openapi_types(_): | ||
from datadog_api_client.v2.model.relationship_to_user_team_team_data import RelationshipToUserTeamTeamData | ||
|
||
return { | ||
"data": (RelationshipToUserTeamTeamData,), | ||
} | ||
|
||
attribute_map = { | ||
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: RelationshipToUserTeamTeamData, **kwargs): | ||
""" | ||
Relationship between team membership and team | ||
:param data: The team associated with the membership | ||
:type data: RelationshipToUserTeamTeamData | ||
""" | ||
super().__init__(kwargs) | ||
|
||
self_.data = data |
46 changes: 46 additions & 0 deletions
46
src/datadog_api_client/v2/model/relationship_to_user_team_team_data.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. | ||
# This product includes software developed at Datadog (https://www.datadoghq.com/). | ||
# Copyright 2019-Present Datadog, Inc. | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
from datadog_api_client.model_utils import ( | ||
ModelNormal, | ||
cached_property, | ||
) | ||
|
||
|
||
if TYPE_CHECKING: | ||
from datadog_api_client.v2.model.user_team_team_type import UserTeamTeamType | ||
|
||
|
||
class RelationshipToUserTeamTeamData(ModelNormal): | ||
@cached_property | ||
def openapi_types(_): | ||
from datadog_api_client.v2.model.user_team_team_type import UserTeamTeamType | ||
|
||
return { | ||
"id": (str,), | ||
"type": (UserTeamTeamType,), | ||
} | ||
|
||
attribute_map = { | ||
"id": "id", | ||
"type": "type", | ||
} | ||
|
||
def __init__(self_, id: str, type: UserTeamTeamType, **kwargs): | ||
""" | ||
The team associated with the membership | ||
:param id: The ID of the team associated with the membership | ||
:type id: str | ||
:param type: User team team type | ||
:type type: UserTeamTeamType | ||
""" | ||
super().__init__(kwargs) | ||
|
||
self_.id = id | ||
self_.type = type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. | ||
# This product includes software developed at Datadog (https://www.datadoghq.com/). | ||
# Copyright 2019-Present Datadog, Inc. | ||
from __future__ import annotations | ||
|
||
|
||
from datadog_api_client.model_utils import ( | ||
ModelSimple, | ||
cached_property, | ||
) | ||
|
||
from typing import ClassVar | ||
|
||
|
||
class UserTeamTeamType(ModelSimple): | ||
""" | ||
User team team type | ||
:param value: If omitted defaults to "team". Must be one of ["team"]. | ||
:type value: str | ||
""" | ||
|
||
allowed_values = { | ||
"team", | ||
} | ||
TEAM: ClassVar["UserTeamTeamType"] | ||
|
||
@cached_property | ||
def openapi_types(_): | ||
return { | ||
"value": (str,), | ||
} | ||
|
||
|
||
UserTeamTeamType.TEAM = UserTeamTeamType("team") |
Oops, something went wrong.