-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathdeleted_suite_response_data.py
More file actions
66 lines (54 loc) · 2.18 KB
/
deleted_suite_response_data.py
File metadata and controls
66 lines (54 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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 Union, TYPE_CHECKING
from datadog_api_client.model_utils import (
ModelNormal,
cached_property,
unset,
UnsetType,
)
if TYPE_CHECKING:
from datadog_api_client.v2.model.deleted_suite_response_data_attributes import DeletedSuiteResponseDataAttributes
from datadog_api_client.v2.model.synthetics_suite_types import SyntheticsSuiteTypes
class DeletedSuiteResponseData(ModelNormal):
@cached_property
def openapi_types(_):
from datadog_api_client.v2.model.deleted_suite_response_data_attributes import (
DeletedSuiteResponseDataAttributes,
)
from datadog_api_client.v2.model.synthetics_suite_types import SyntheticsSuiteTypes
return {
"attributes": (DeletedSuiteResponseDataAttributes,),
"id": (str,),
"type": (SyntheticsSuiteTypes,),
}
attribute_map = {
"attributes": "attributes",
"id": "id",
"type": "type",
}
def __init__(
self_,
attributes: Union[DeletedSuiteResponseDataAttributes, UnsetType] = unset,
id: Union[str, UnsetType] = unset,
type: Union[SyntheticsSuiteTypes, UnsetType] = unset,
**kwargs,
):
"""
Data object for a deleted Synthetic test suite.
:param attributes: Attributes of a deleted Synthetic test suite, including deletion timestamp and public ID.
:type attributes: DeletedSuiteResponseDataAttributes, optional
:param id: The public ID of the deleted Synthetic test suite.
:type id: str, optional
:param type: Type for the Synthetics suites responses, ``suites``.
:type type: SyntheticsSuiteTypes, optional
"""
if attributes is not unset:
kwargs["attributes"] = attributes
if id is not unset:
kwargs["id"] = id
if type is not unset:
kwargs["type"] = type
super().__init__(kwargs)