Skip to content
Open
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
151 changes: 149 additions & 2 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

This file was deleted.

2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/model/attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(
:param data: Attachment data from a response.
:type data: AttachmentData, optional

:param included:
:param included: A list of related objects included in the response.
:type included: [AttachmentIncluded], optional
"""
if data is not unset:
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/model/attachment_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ def __init__(
"""
A list of incident attachments.

:param data:
:param data: An array of attachment data objects.
:type data: [AttachmentData]

:param included:
:param included: A list of related objects included in the response.
:type included: [AttachmentIncluded], optional
"""
if included is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(
:param attributes: The attributes for creating an attachment.
:type attributes: CreateAttachmentRequestDataAttributes, optional

:param id:
:param id: The unique identifier of the attachment.
:type id: str, optional

:param type: The incident attachment resource type.
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/model/create_component_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def openapi_types(_):

def __init__(self_, data: Union[CreateComponentRequestData, UnsetType] = unset, **kwargs):
"""
Request object for creating a component.


:param data:
:param data: The data object for creating a component.
:type data: CreateComponentRequestData, optional
"""
if data is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(
**kwargs,
):
"""

The data object for creating a component.

:param attributes: The supported attributes for creating a component.
:type attributes: CreateComponentRequestDataAttributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
self_, name: str, position: int, type: StatusPagesComponentGroupAttributesComponentsItemsType, **kwargs
):
"""

A component to be created within a group.

:param name: The name of the grouped component.
:type name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self_, group: Union[CreateComponentRequestDataRelationshipsGroup, U
"""
The supported relationships for creating a component.

:param group:
:param group: The group to create the component within.
:type group: CreateComponentRequestDataRelationshipsGroup, optional
"""
if group is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ def openapi_types(_):

def __init__(self_, data: Union[CreateComponentRequestDataRelationshipsGroupData, none_type], **kwargs):
"""
The group to create the component within.


:param data:
:param data: The data object identifying the group to create the component within.
:type data: CreateComponentRequestDataRelationshipsGroupData, none_type
"""
super().__init__(kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def openapi_types(_):

def __init__(self_, id: UUID, type: StatusPagesComponentGroupType, **kwargs):
"""

The data object identifying the group to create the component within.

:param id: The ID of the group.
:type id: UUID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def openapi_types(_):

def __init__(self_, data: Union[CreateDegradationRequestData, UnsetType] = unset, **kwargs):
"""
Request object for creating a degradation.


:param data:
:param data: The data object for creating a degradation.
:type data: CreateDegradationRequestData, optional
"""
if data is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
self_, attributes: CreateDegradationRequestDataAttributes, type: PatchDegradationRequestDataType, **kwargs
):
"""

The data object for creating a degradation.

:param attributes: The supported attributes for creating a degradation.
:type attributes: CreateDegradationRequestDataAttributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ def __init__(
self_, id: UUID, status: StatusPagesComponentDataAttributesStatus, name: Union[str, UnsetType] = unset, **kwargs
):
"""

A component affected by a degradation.

:param id: The ID of the component. Must be a component of type ``component``.
:type id: UUID

:param name:
:param name: The name of the component.
:type name: str, optional

:param status: The status of the component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def openapi_types(_):

def __init__(self_, data: Union[CreateMaintenanceRequestData, UnsetType] = unset, **kwargs):
"""
Request object for creating a maintenance.


:param data:
:param data: The data object for creating a maintenance.
:type data: CreateMaintenanceRequestData, optional
"""
if data is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
self_, attributes: CreateMaintenanceRequestDataAttributes, type: PatchMaintenanceRequestDataType, **kwargs
):
"""

The data object for creating a maintenance.

:param attributes: The supported attributes for creating a maintenance.
:type attributes: CreateMaintenanceRequestDataAttributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(
**kwargs,
):
"""

A component affected by a maintenance.

:param id: The ID of the component. Must be a component of type ``component``.
:type id: UUID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def openapi_types(_):

def __init__(self_, data: Union[CreateStatusPageRequestData, UnsetType] = unset, **kwargs):
"""
Request object for creating a status page.


:param data:
:param data: The data object for creating a status page.
:type data: CreateStatusPageRequestData, optional
"""
if data is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def openapi_types(_):

def __init__(self_, attributes: CreateStatusPageRequestDataAttributes, type: StatusPageDataType, **kwargs):
"""

The data object for creating a status page.

:param attributes: The supported attributes for creating a status page.
:type attributes: CreateStatusPageRequestDataAttributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
**kwargs,
):
"""

A component to be created on a status page.

:param components: If creating a component of type ``group`` , the components to create within the group.
:type components: [CreateStatusPageRequestDataAttributesComponentsItemsComponentsItems], optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
**kwargs,
):
"""

A grouped component to be created within a status page component group.

:param id: The ID of the grouped component.
:type id: UUID, optional
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/model/degradation.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def __init__(
**kwargs,
):
"""
Response object for a single degradation.


:param data:
:param data: The data object for a degradation.
:type data: DegradationData, optional

:param included: The included related resources of a degradation. Client must explicitly request these resources by name in the ``include`` query parameter.
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/model/degradation_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def __init__(
**kwargs,
):
"""
Response object for a list of degradations.


:param data:
:param data: A list of degradation data objects.
:type data: [DegradationData]

:param included: The included related resources of a degradation. Client must explicitly request these resources by name in the ``include`` query parameter.
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/model/degradation_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(
**kwargs,
):
"""

The data object for a degradation.

:param attributes: The attributes of a degradation.
:type attributes: DegradationDataAttributes, optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(
self_, id: UUID, status: StatusPagesComponentDataAttributesStatus, name: Union[str, UnsetType] = unset, **kwargs
):
"""

A component affected by a degradation.

:param id: The ID of the component.
:type id: UUID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(
**kwargs,
):
"""

A status update recorded during a degradation.

:param components_affected: The components affected at the time of the update.
:type components_affected: [DegradationDataAttributesUpdatesItemsComponentsAffectedItems], optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(
self_, id: UUID, status: StatusPagesComponentDataAttributesStatus, name: Union[str, UnsetType] = unset, **kwargs
):
"""

A component affected at the time of a degradation update.

:param id: Identifier of the component affected at the time of the update.
:type id: UUID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ def __init__(
"""
The relationships of a degradation.

:param created_by_user:
:param created_by_user: The Datadog user who created the degradation.
:type created_by_user: DegradationDataRelationshipsCreatedByUser, optional

:param last_modified_by_user:
:param last_modified_by_user: The Datadog user who last modified the degradation.
:type last_modified_by_user: DegradationDataRelationshipsLastModifiedByUser, optional

:param status_page:
:param status_page: The status page the degradation belongs to.
:type status_page: DegradationDataRelationshipsStatusPage, optional
"""
if created_by_user is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def openapi_types(_):

def __init__(self_, data: DegradationDataRelationshipsCreatedByUserData, **kwargs):
"""
The Datadog user who created the degradation.


:param data:
:param data: The data object identifying the Datadog user who created the degradation.
:type data: DegradationDataRelationshipsCreatedByUserData
"""
super().__init__(kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def openapi_types(_):

def __init__(self_, id: str, type: StatusPagesUserType, **kwargs):
"""

The data object identifying the Datadog user who created the degradation.

:param id: The ID of the Datadog user who created the degradation.
:type id: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def openapi_types(_):

def __init__(self_, data: DegradationDataRelationshipsLastModifiedByUserData, **kwargs):
"""
The Datadog user who last modified the degradation.


:param data:
:param data: The data object identifying the Datadog user who last modified the degradation.
:type data: DegradationDataRelationshipsLastModifiedByUserData
"""
super().__init__(kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def openapi_types(_):

def __init__(self_, id: str, type: StatusPagesUserType, **kwargs):
"""

The data object identifying the Datadog user who last modified the degradation.

:param id: The ID of the Datadog user who last modified the degradation.
:type id: str
Expand Down
Loading
Loading