Skip to content

Commit d86e671

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 06e911d of spec repo (#3586)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b82c044 commit d86e671

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26566,6 +26566,9 @@ components:
2656626566
description:
2656726567
description: Description of the degradation.
2656826568
type: string
26569+
is_backfilled:
26570+
description: Whether the degradation was backfilled.
26571+
type: boolean
2656926572
modified_at:
2657026573
description: Timestamp of when the degradation was last modified.
2657126574
format: date-time
@@ -50298,6 +50301,9 @@ components:
5029850301
in_progress_description:
5029950302
description: The description shown while the maintenance is in progress.
5030050303
type: string
50304+
is_backfilled:
50305+
description: Whether the maintenance was backfilled.
50306+
type: boolean
5030150307
modified_at:
5030250308
description: Timestamp of when the maintenance was last modified.
5030350309
format: date-time

src/datadog_api_client/v2/model/degradation_data_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def openapi_types(_):
4545
"components_affected": ([DegradationDataAttributesComponentsAffectedItems],),
4646
"created_at": (datetime,),
4747
"description": (str,),
48+
"is_backfilled": (bool,),
4849
"modified_at": (datetime,),
4950
"source": (DegradationDataAttributesSource,),
5051
"status": (CreateDegradationRequestDataAttributesStatus,),
@@ -56,6 +57,7 @@ def openapi_types(_):
5657
"components_affected": "components_affected",
5758
"created_at": "created_at",
5859
"description": "description",
60+
"is_backfilled": "is_backfilled",
5961
"modified_at": "modified_at",
6062
"source": "source",
6163
"status": "status",
@@ -68,6 +70,7 @@ def __init__(
6870
components_affected: Union[List[DegradationDataAttributesComponentsAffectedItems], UnsetType] = unset,
6971
created_at: Union[datetime, UnsetType] = unset,
7072
description: Union[str, UnsetType] = unset,
73+
is_backfilled: Union[bool, UnsetType] = unset,
7174
modified_at: Union[datetime, UnsetType] = unset,
7275
source: Union[DegradationDataAttributesSource, UnsetType] = unset,
7376
status: Union[CreateDegradationRequestDataAttributesStatus, UnsetType] = unset,
@@ -87,6 +90,9 @@ def __init__(
8790
:param description: Description of the degradation.
8891
:type description: str, optional
8992
93+
:param is_backfilled: Whether the degradation was backfilled.
94+
:type is_backfilled: bool, optional
95+
9096
:param modified_at: Timestamp of when the degradation was last modified.
9197
:type modified_at: datetime, optional
9298
@@ -108,6 +114,8 @@ def __init__(
108114
kwargs["created_at"] = created_at
109115
if description is not unset:
110116
kwargs["description"] = description
117+
if is_backfilled is not unset:
118+
kwargs["is_backfilled"] = is_backfilled
111119
if modified_at is not unset:
112120
kwargs["modified_at"] = modified_at
113121
if source is not unset:

src/datadog_api_client/v2/model/maintenance_data_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def openapi_types(_):
4040
"completed_description": (str,),
4141
"components_affected": ([MaintenanceDataAttributesComponentsAffectedItems],),
4242
"in_progress_description": (str,),
43+
"is_backfilled": (bool,),
4344
"modified_at": (datetime,),
4445
"published_date": (datetime,),
4546
"scheduled_description": (str,),
@@ -54,6 +55,7 @@ def openapi_types(_):
5455
"completed_description": "completed_description",
5556
"components_affected": "components_affected",
5657
"in_progress_description": "in_progress_description",
58+
"is_backfilled": "is_backfilled",
5759
"modified_at": "modified_at",
5860
"published_date": "published_date",
5961
"scheduled_description": "scheduled_description",
@@ -69,6 +71,7 @@ def __init__(
6971
completed_description: Union[str, UnsetType] = unset,
7072
components_affected: Union[List[MaintenanceDataAttributesComponentsAffectedItems], UnsetType] = unset,
7173
in_progress_description: Union[str, UnsetType] = unset,
74+
is_backfilled: Union[bool, UnsetType] = unset,
7275
modified_at: Union[datetime, UnsetType] = unset,
7376
published_date: Union[datetime, UnsetType] = unset,
7477
scheduled_description: Union[str, UnsetType] = unset,
@@ -93,6 +96,9 @@ def __init__(
9396
:param in_progress_description: The description shown while the maintenance is in progress.
9497
:type in_progress_description: str, optional
9598
99+
:param is_backfilled: Whether the maintenance was backfilled.
100+
:type is_backfilled: bool, optional
101+
96102
:param modified_at: Timestamp of when the maintenance was last modified.
97103
:type modified_at: datetime, optional
98104
@@ -122,6 +128,8 @@ def __init__(
122128
kwargs["components_affected"] = components_affected
123129
if in_progress_description is not unset:
124130
kwargs["in_progress_description"] = in_progress_description
131+
if is_backfilled is not unset:
132+
kwargs["is_backfilled"] = is_backfilled
125133
if modified_at is not unset:
126134
kwargs["modified_at"] = modified_at
127135
if published_date is not unset:

0 commit comments

Comments
 (0)