diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index dde3afef8a..557b105ca0 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -112959,7 +112959,7 @@ components: description: The templated content of the postmortem, supporting Markdown and incident template variables. example: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" type: string - createdAt: + created: description: When the template was created. example: "2026-01-13T17:15:53.208340Z" format: date-time @@ -112974,7 +112974,7 @@ components: type: string location: $ref: "#/components/schemas/PostmortemTemplateLocation" - modifiedAt: + modified: description: When the template was last modified. example: "2026-01-13T17:15:53.208340Z" format: date-time @@ -112988,8 +112988,8 @@ components: - content - is_default - location - - createdAt - - modifiedAt + - created + - modified type: object PostmortemTemplateCreateRelationships: description: Relationships for a postmortem template. `incident_type` is required when creating a template and is immutable afterwards. @@ -206232,10 +206232,10 @@ paths: data: - attributes: content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" - createdAt: "2024-01-01T00:00:00+00:00" + created: "2024-01-01T00:00:00+00:00" is_default: "2024-01-01T00:00:00+00:00" location: datadog_notebooks - modifiedAt: "2024-01-01T00:00:00+00:00" + modified: "2024-01-01T00:00:00+00:00" name: Standard Postmortem Template id: 00000000-0000-0000-0000-000000000001 relationships: @@ -206293,10 +206293,10 @@ paths: data: attributes: content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" - createdAt: "2024-01-01T00:00:00+00:00" + created: "2024-01-01T00:00:00+00:00" is_default: location: datadog_notebooks - modifiedAt: "2024-01-01T00:00:00+00:00" + modified: "2024-01-01T00:00:00+00:00" name: Standard Postmortem Template id: 00000000-0000-0000-0000-000000000002 relationships: @@ -206372,10 +206372,10 @@ paths: data: attributes: content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" - createdAt: "2024-01-01T00:00:00+00:00" + created: "2024-01-01T00:00:00+00:00" is_default: location: datadog_notebooks - modifiedAt: "2024-01-01T00:00:00+00:00" + modified: "2024-01-01T00:00:00+00:00" name: Standard Postmortem Template id: 00000000-0000-0000-0000-000000000003 relationships: @@ -206436,10 +206436,10 @@ paths: data: attributes: content: "# Overview\n\n# What Happened\n\n# Timeline\n\n# Action Items" - createdAt: "2024-01-01T00:00:00+00:00" + created: "2024-01-01T00:00:00+00:00" is_default: location: datadog_notebooks - modifiedAt: "2024-01-01T00:00:00+00:00" + modified: "2024-01-01T00:00:00+00:00" name: Standard Postmortem Template id: 00000000-0000-0000-0000-000000000004 relationships: diff --git a/src/datadog_api_client/v2/model/postmortem_template_attributes_response.py b/src/datadog_api_client/v2/model/postmortem_template_attributes_response.py index 01ad699d52..eb7484db0a 100644 --- a/src/datadog_api_client/v2/model/postmortem_template_attributes_response.py +++ b/src/datadog_api_client/v2/model/postmortem_template_attributes_response.py @@ -31,32 +31,32 @@ def openapi_types(_): return { "confluence_postmortem_settings": (ConfluencePostmortemSettings,), "content": (str,), - "created_at": (datetime,), + "created": (datetime,), "google_docs_postmortem_settings": (GoogleDocsPostmortemSettings,), "is_default": (datetime, none_type), "location": (PostmortemTemplateLocation,), - "modified_at": (datetime,), + "modified": (datetime,), "name": (str,), } attribute_map = { "confluence_postmortem_settings": "confluence_postmortem_settings", "content": "content", - "created_at": "createdAt", + "created": "created", "google_docs_postmortem_settings": "google_docs_postmortem_settings", "is_default": "is_default", "location": "location", - "modified_at": "modifiedAt", + "modified": "modified", "name": "name", } def __init__( self_, content: str, - created_at: datetime, + created: datetime, is_default: Union[datetime, none_type], location: PostmortemTemplateLocation, - modified_at: datetime, + modified: datetime, name: str, confluence_postmortem_settings: Union[ConfluencePostmortemSettings, UnsetType] = unset, google_docs_postmortem_settings: Union[GoogleDocsPostmortemSettings, UnsetType] = unset, @@ -71,8 +71,8 @@ def __init__( :param content: The templated content of the postmortem, supporting Markdown and incident template variables. :type content: str - :param created_at: When the template was created. - :type created_at: datetime + :param created: When the template was created. + :type created: datetime :param google_docs_postmortem_settings: Settings for a postmortem template stored in Google Docs. Required when ``location`` is ``google_docs``. :type google_docs_postmortem_settings: GoogleDocsPostmortemSettings, optional @@ -83,8 +83,8 @@ def __init__( :param location: The location where the postmortem is created and stored. :type location: PostmortemTemplateLocation - :param modified_at: When the template was last modified. - :type modified_at: datetime + :param modified: When the template was last modified. + :type modified: datetime :param name: The name of the template. :type name: str @@ -96,8 +96,8 @@ def __init__( super().__init__(kwargs) self_.content = content - self_.created_at = created_at + self_.created = created self_.is_default = is_default self_.location = location - self_.modified_at = modified_at + self_.modified = modified self_.name = name