-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RUM Applications Management API add client_token (#1243)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9df27c1
commit 77e6830
Showing
25 changed files
with
359 additions
and
45 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
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,48 @@ | ||
# 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.rum_application_list_attributes import RUMApplicationListAttributes | ||
from datadog_api_client.v2.model.rum_application_list_type import RUMApplicationListType | ||
|
||
|
||
class RUMApplicationList(ModelNormal): | ||
@cached_property | ||
def openapi_types(_): | ||
from datadog_api_client.v2.model.rum_application_list_attributes import RUMApplicationListAttributes | ||
from datadog_api_client.v2.model.rum_application_list_type import RUMApplicationListType | ||
|
||
return { | ||
"attributes": (RUMApplicationListAttributes,), | ||
"type": (RUMApplicationListType,), | ||
} | ||
|
||
attribute_map = { | ||
"attributes": "attributes", | ||
"type": "type", | ||
} | ||
|
||
def __init__(self_, attributes: RUMApplicationListAttributes, type: RUMApplicationListType, **kwargs): | ||
""" | ||
RUM application list. | ||
:param attributes: RUM application list attributes. | ||
:type attributes: RUMApplicationListAttributes | ||
:param type: RUM application list type. | ||
:type type: RUMApplicationListType | ||
""" | ||
super().__init__(kwargs) | ||
|
||
self_.attributes = attributes | ||
self_.type = type |
Oops, something went wrong.