Skip to content

Commit b93b357

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Sync 'status_pages.yaml' files with backend (#3561)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 4d78432 commit b93b357

10 files changed

Lines changed: 12 additions & 451 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -19304,10 +19304,6 @@ components:
1930419304
description: The title of the degradation.
1930519305
example: Elevated API Latency
1930619306
type: string
19307-
updates:
19308-
items:
19309-
$ref: "#/components/schemas/CreateDegradationRequestDataAttributesUpdatesItems"
19310-
type: array
1931119307
required:
1931219308
- components_affected
1931319309
- status
@@ -19345,48 +19341,6 @@ components:
1934519341
- IDENTIFIED
1934619342
- MONITORING
1934719343
- RESOLVED
19348-
CreateDegradationRequestDataAttributesUpdatesItems:
19349-
description: A degradation update entry.
19350-
properties:
19351-
components_affected:
19352-
description: The components affected.
19353-
items:
19354-
$ref: "#/components/schemas/CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems"
19355-
type: array
19356-
description:
19357-
description: A description of the update.
19358-
example: ""
19359-
type: string
19360-
started_at:
19361-
description: Timestamp of when the update occurred.
19362-
example: ""
19363-
format: date-time
19364-
type: string
19365-
status:
19366-
$ref: "#/components/schemas/CreateDegradationRequestDataAttributesStatus"
19367-
required:
19368-
- components_affected
19369-
- description
19370-
- started_at
19371-
- status
19372-
type: object
19373-
CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems:
19374-
description: A component affected by a degradation update.
19375-
properties:
19376-
id:
19377-
description: The ID of the component. Must be a component of type `component`.
19378-
example: ""
19379-
type: string
19380-
name:
19381-
description: The name of the component.
19382-
readOnly: true
19383-
type: string
19384-
status:
19385-
$ref: "#/components/schemas/StatusPagesComponentDataAttributesStatus"
19386-
required:
19387-
- id
19388-
- status
19389-
type: object
1939019344
CreateDeploymentGateParams:
1939119345
description: Parameters for creating a deployment gate.
1939219346
properties:
@@ -19755,10 +19709,6 @@ components:
1975519709
description: The title of the maintenance.
1975619710
example: "API Maintenance"
1975719711
type: string
19758-
updates:
19759-
items:
19760-
$ref: "#/components/schemas/CreateMaintenanceRequestDataAttributesUpdatesItems"
19761-
type: array
1976219712
required:
1976319713
- components_affected
1976419714
- title
@@ -19786,48 +19736,6 @@ components:
1978619736
- id
1978719737
- status
1978819738
type: object
19789-
CreateMaintenanceRequestDataAttributesUpdatesItems:
19790-
description: A maintenance update entry.
19791-
properties:
19792-
components_affected:
19793-
description: The components affected.
19794-
items:
19795-
$ref: "#/components/schemas/CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems"
19796-
type: array
19797-
description:
19798-
description: A description of the update.
19799-
example: ""
19800-
type: string
19801-
started_at:
19802-
description: Timestamp of when the update occurred.
19803-
example: ""
19804-
format: date-time
19805-
type: string
19806-
status:
19807-
$ref: "#/components/schemas/CreateMaintenanceRequestDataAttributesUpdatesItemsStatus"
19808-
required:
19809-
- components_affected
19810-
- description
19811-
- started_at
19812-
- status
19813-
type: object
19814-
CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems:
19815-
description: A component affected by a maintenance update.
19816-
properties:
19817-
id:
19818-
description: The ID of the component. Must be a component of type `component`.
19819-
example: ""
19820-
type: string
19821-
name:
19822-
description: The name of the component.
19823-
readOnly: true
19824-
type: string
19825-
status:
19826-
$ref: "#/components/schemas/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus"
19827-
required:
19828-
- id
19829-
- status
19830-
type: object
1983119739
CreateMaintenanceRequestDataAttributesUpdatesItemsStatus:
1983219740
description: The status of a maintenance update.
1983319741
enum:
@@ -25007,6 +24915,9 @@ components:
2500724915
format: uuid
2500824916
readOnly: true
2500924917
type: string
24918+
last_modified_by_user_uuid:
24919+
description: UUID of the user who last modified the resource.
24920+
type: string
2501024921
modified_at:
2501124922
description: Timestamp of when the update was last modified.
2501224923
format: date-time

docs/datadog_api_client.v2.model.rst

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7767,20 +7767,6 @@ datadog\_api\_client.v2.model.create\_degradation\_request\_data\_attributes\_st
77677767
:members:
77687768
:show-inheritance:
77697769

7770-
datadog\_api\_client.v2.model.create\_degradation\_request\_data\_attributes\_updates\_items module
7771-
---------------------------------------------------------------------------------------------------
7772-
7773-
.. automodule:: datadog_api_client.v2.model.create_degradation_request_data_attributes_updates_items
7774-
:members:
7775-
:show-inheritance:
7776-
7777-
datadog\_api\_client.v2.model.create\_degradation\_request\_data\_attributes\_updates\_items\_components\_affected\_items module
7778-
--------------------------------------------------------------------------------------------------------------------------------
7779-
7780-
.. automodule:: datadog_api_client.v2.model.create_degradation_request_data_attributes_updates_items_components_affected_items
7781-
:members:
7782-
:show-inheritance:
7783-
77847770
datadog\_api\_client.v2.model.create\_deployment\_gate\_params module
77857771
---------------------------------------------------------------------
77867772

@@ -7956,20 +7942,6 @@ datadog\_api\_client.v2.model.create\_maintenance\_request\_data\_attributes\_co
79567942
:members:
79577943
:show-inheritance:
79587944

7959-
datadog\_api\_client.v2.model.create\_maintenance\_request\_data\_attributes\_updates\_items module
7960-
---------------------------------------------------------------------------------------------------
7961-
7962-
.. automodule:: datadog_api_client.v2.model.create_maintenance_request_data_attributes_updates_items
7963-
:members:
7964-
:show-inheritance:
7965-
7966-
datadog\_api\_client.v2.model.create\_maintenance\_request\_data\_attributes\_updates\_items\_components\_affected\_items module
7967-
--------------------------------------------------------------------------------------------------------------------------------
7968-
7969-
.. automodule:: datadog_api_client.v2.model.create_maintenance_request_data_attributes_updates_items_components_affected_items
7970-
:members:
7971-
:show-inheritance:
7972-
79737945
datadog\_api\_client.v2.model.create\_maintenance\_request\_data\_attributes\_updates\_items\_status module
79747946
-----------------------------------------------------------------------------------------------------------
79757947

src/datadog_api_client/v2/model/create_degradation_request_data_attributes.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
from datadog_api_client.v2.model.create_degradation_request_data_attributes_status import (
2121
CreateDegradationRequestDataAttributesStatus,
2222
)
23-
from datadog_api_client.v2.model.create_degradation_request_data_attributes_updates_items import (
24-
CreateDegradationRequestDataAttributesUpdatesItems,
25-
)
2623

2724

2825
class CreateDegradationRequestDataAttributes(ModelNormal):
@@ -34,24 +31,19 @@ def openapi_types(_):
3431
from datadog_api_client.v2.model.create_degradation_request_data_attributes_status import (
3532
CreateDegradationRequestDataAttributesStatus,
3633
)
37-
from datadog_api_client.v2.model.create_degradation_request_data_attributes_updates_items import (
38-
CreateDegradationRequestDataAttributesUpdatesItems,
39-
)
4034

4135
return {
4236
"components_affected": ([CreateDegradationRequestDataAttributesComponentsAffectedItems],),
4337
"description": (str,),
4438
"status": (CreateDegradationRequestDataAttributesStatus,),
4539
"title": (str,),
46-
"updates": ([CreateDegradationRequestDataAttributesUpdatesItems],),
4740
}
4841

4942
attribute_map = {
5043
"components_affected": "components_affected",
5144
"description": "description",
5245
"status": "status",
5346
"title": "title",
54-
"updates": "updates",
5547
}
5648

5749
def __init__(
@@ -60,7 +52,6 @@ def __init__(
6052
status: CreateDegradationRequestDataAttributesStatus,
6153
title: str,
6254
description: Union[str, UnsetType] = unset,
63-
updates: Union[List[CreateDegradationRequestDataAttributesUpdatesItems], UnsetType] = unset,
6455
**kwargs,
6556
):
6657
"""
@@ -77,14 +68,9 @@ def __init__(
7768
7869
:param title: The title of the degradation.
7970
:type title: str
80-
81-
:param updates:
82-
:type updates: [CreateDegradationRequestDataAttributesUpdatesItems], optional
8371
"""
8472
if description is not unset:
8573
kwargs["description"] = description
86-
if updates is not unset:
87-
kwargs["updates"] = updates
8874
super().__init__(kwargs)
8975

9076
self_.components_affected = components_affected

src/datadog_api_client/v2/model/create_degradation_request_data_attributes_updates_items.py

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/datadog_api_client/v2/model/create_degradation_request_data_attributes_updates_items_components_affected_items.py

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)