Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 3 additions & 92 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19304,10 +19304,6 @@ components:
description: The title of the degradation.
example: Elevated API Latency
type: string
updates:
items:
$ref: "#/components/schemas/CreateDegradationRequestDataAttributesUpdatesItems"
type: array
required:
- components_affected
- status
Expand Down Expand Up @@ -19345,48 +19341,6 @@ components:
- IDENTIFIED
- MONITORING
- RESOLVED
CreateDegradationRequestDataAttributesUpdatesItems:
description: A degradation update entry.
properties:
components_affected:
description: The components affected.
items:
$ref: "#/components/schemas/CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems"
type: array
description:
description: A description of the update.
example: ""
type: string
started_at:
description: Timestamp of when the update occurred.
example: ""
format: date-time
type: string
status:
$ref: "#/components/schemas/CreateDegradationRequestDataAttributesStatus"
required:
- components_affected
- description
- started_at
- status
type: object
CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems:
description: A component affected by a degradation update.
properties:
id:
description: The ID of the component. Must be a component of type `component`.
example: ""
type: string
name:
description: The name of the component.
readOnly: true
type: string
status:
$ref: "#/components/schemas/StatusPagesComponentDataAttributesStatus"
required:
- id
- status
type: object
CreateDeploymentGateParams:
description: Parameters for creating a deployment gate.
properties:
Expand Down Expand Up @@ -19755,10 +19709,6 @@ components:
description: The title of the maintenance.
example: "API Maintenance"
type: string
updates:
items:
$ref: "#/components/schemas/CreateMaintenanceRequestDataAttributesUpdatesItems"
type: array
required:
- components_affected
- title
Expand Down Expand Up @@ -19786,48 +19736,6 @@ components:
- id
- status
type: object
CreateMaintenanceRequestDataAttributesUpdatesItems:
description: A maintenance update entry.
properties:
components_affected:
description: The components affected.
items:
$ref: "#/components/schemas/CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems"
type: array
description:
description: A description of the update.
example: ""
type: string
started_at:
description: Timestamp of when the update occurred.
example: ""
format: date-time
type: string
status:
$ref: "#/components/schemas/CreateMaintenanceRequestDataAttributesUpdatesItemsStatus"
required:
- components_affected
- description
- started_at
- status
type: object
CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems:
description: A component affected by a maintenance update.
properties:
id:
description: The ID of the component. Must be a component of type `component`.
example: ""
type: string
name:
description: The name of the component.
readOnly: true
type: string
status:
$ref: "#/components/schemas/PatchMaintenanceRequestDataAttributesComponentsAffectedItemsStatus"
required:
- id
- status
type: object
CreateMaintenanceRequestDataAttributesUpdatesItemsStatus:
description: The status of a maintenance update.
enum:
Expand Down Expand Up @@ -25007,6 +24915,9 @@ components:
format: uuid
readOnly: true
type: string
last_modified_by_user_uuid:
description: UUID of the user who last modified the resource.
type: string
modified_at:
description: Timestamp of when the update was last modified.
format: date-time
Expand Down
28 changes: 0 additions & 28 deletions docs/datadog_api_client.v2.model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7767,20 +7767,6 @@ datadog\_api\_client.v2.model.create\_degradation\_request\_data\_attributes\_st
:members:
:show-inheritance:

datadog\_api\_client.v2.model.create\_degradation\_request\_data\_attributes\_updates\_items module
---------------------------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.create_degradation_request_data_attributes_updates_items
:members:
:show-inheritance:

datadog\_api\_client.v2.model.create\_degradation\_request\_data\_attributes\_updates\_items\_components\_affected\_items module
--------------------------------------------------------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.create_degradation_request_data_attributes_updates_items_components_affected_items
:members:
:show-inheritance:

datadog\_api\_client.v2.model.create\_deployment\_gate\_params module
---------------------------------------------------------------------

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

datadog\_api\_client.v2.model.create\_maintenance\_request\_data\_attributes\_updates\_items module
---------------------------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.create_maintenance_request_data_attributes_updates_items
:members:
:show-inheritance:

datadog\_api\_client.v2.model.create\_maintenance\_request\_data\_attributes\_updates\_items\_components\_affected\_items module
--------------------------------------------------------------------------------------------------------------------------------

.. automodule:: datadog_api_client.v2.model.create_maintenance_request_data_attributes_updates_items_components_affected_items
:members:
:show-inheritance:

datadog\_api\_client.v2.model.create\_maintenance\_request\_data\_attributes\_updates\_items\_status module
-----------------------------------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
from datadog_api_client.v2.model.create_degradation_request_data_attributes_status import (
CreateDegradationRequestDataAttributesStatus,
)
from datadog_api_client.v2.model.create_degradation_request_data_attributes_updates_items import (
CreateDegradationRequestDataAttributesUpdatesItems,
)


class CreateDegradationRequestDataAttributes(ModelNormal):
Expand All @@ -34,24 +31,19 @@ def openapi_types(_):
from datadog_api_client.v2.model.create_degradation_request_data_attributes_status import (
CreateDegradationRequestDataAttributesStatus,
)
from datadog_api_client.v2.model.create_degradation_request_data_attributes_updates_items import (
CreateDegradationRequestDataAttributesUpdatesItems,
)

return {
"components_affected": ([CreateDegradationRequestDataAttributesComponentsAffectedItems],),
"description": (str,),
"status": (CreateDegradationRequestDataAttributesStatus,),
"title": (str,),
"updates": ([CreateDegradationRequestDataAttributesUpdatesItems],),
}

attribute_map = {
"components_affected": "components_affected",
"description": "description",
"status": "status",
"title": "title",
"updates": "updates",
}

def __init__(
Expand All @@ -60,7 +52,6 @@ def __init__(
status: CreateDegradationRequestDataAttributesStatus,
title: str,
description: Union[str, UnsetType] = unset,
updates: Union[List[CreateDegradationRequestDataAttributesUpdatesItems], UnsetType] = unset,
**kwargs,
):
"""
Expand All @@ -77,14 +68,9 @@ def __init__(

:param title: The title of the degradation.
:type title: str

:param updates:
:type updates: [CreateDegradationRequestDataAttributesUpdatesItems], optional
"""
if description is not unset:
kwargs["description"] = description
if updates is not unset:
kwargs["updates"] = updates
super().__init__(kwargs)

self_.components_affected = components_affected
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading