From be88802f8a1353bccaaecf714fd16d0c99c8491a Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 10 Jul 2026 20:23:07 +0000 Subject: [PATCH] Regenerate client from commit 34a2790 of spec repo --- .generator/schemas/v2/openapi.yaml | 5 ----- .../v2/model/incident_type_configuration.py | 8 -------- tests/v2/features/incidents.feature | 8 ++++---- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 188cceacbd..4075c222cf 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -46771,11 +46771,6 @@ components: description: An optional message shown to users when they declare an incident of this type. example: "Create an incident here" type: string - disable_out_of_the_box_postmortem_template: - default: false - description: Whether the out-of-the-box postmortem template is disabled for incidents of this type. - example: false - type: boolean editable_timestamps: default: false description: Whether responders can edit incident timestamps for incidents of this type. diff --git a/src/datadog_api_client/v2/model/incident_type_configuration.py b/src/datadog_api_client/v2/model/incident_type_configuration.py index 3f9e73b98b..524ae2b1e9 100644 --- a/src/datadog_api_client/v2/model/incident_type_configuration.py +++ b/src/datadog_api_client/v2/model/incident_type_configuration.py @@ -26,7 +26,6 @@ def openapi_types(_): "allow_incident_deletion": (bool,), "allow_workflows": (bool,), "create_message": (str,), - "disable_out_of_the_box_postmortem_template": (bool,), "editable_timestamps": (bool,), "private_incidents": (bool,), "private_incidents_by_default": (bool,), @@ -38,7 +37,6 @@ def openapi_types(_): "allow_incident_deletion": "allow_incident_deletion", "allow_workflows": "allow_workflows", "create_message": "create_message", - "disable_out_of_the_box_postmortem_template": "disable_out_of_the_box_postmortem_template", "editable_timestamps": "editable_timestamps", "private_incidents": "private_incidents", "private_incidents_by_default": "private_incidents_by_default", @@ -51,7 +49,6 @@ def __init__( allow_incident_deletion: Union[bool, UnsetType] = unset, allow_workflows: Union[bool, UnsetType] = unset, create_message: Union[str, UnsetType] = unset, - disable_out_of_the_box_postmortem_template: Union[bool, UnsetType] = unset, editable_timestamps: Union[bool, UnsetType] = unset, private_incidents: Union[bool, UnsetType] = unset, private_incidents_by_default: Union[bool, UnsetType] = unset, @@ -71,9 +68,6 @@ def __init__( :param create_message: An optional message shown to users when they declare an incident of this type. :type create_message: str, optional - :param disable_out_of_the_box_postmortem_template: Whether the out-of-the-box postmortem template is disabled for incidents of this type. - :type disable_out_of_the_box_postmortem_template: bool, optional - :param editable_timestamps: Whether responders can edit incident timestamps for incidents of this type. :type editable_timestamps: bool, optional @@ -95,8 +89,6 @@ def __init__( kwargs["allow_workflows"] = allow_workflows if create_message is not unset: kwargs["create_message"] = create_message - if disable_out_of_the_box_postmortem_template is not unset: - kwargs["disable_out_of_the_box_postmortem_template"] = disable_out_of_the_box_postmortem_template if editable_timestamps is not unset: kwargs["editable_timestamps"] = editable_timestamps if private_incidents is not unset: diff --git a/tests/v2/features/incidents.feature b/tests/v2/features/incidents.feature index 646ec88d87..62c70d5c56 100644 --- a/tests/v2/features/incidents.feature +++ b/tests/v2/features/incidents.feature @@ -166,7 +166,7 @@ Feature: Incidents Scenario: Create an incident type returns "Bad Request" response Given operation "CreateIncidentType" enabled And new "CreateIncidentType" request - And body with value {"data": {"attributes": {"configuration": {"allow_incident_deletion": false, "allow_workflows": true, "create_message": "Create an incident here", "disable_out_of_the_box_postmortem_template": false, "editable_timestamps": false, "private_incidents": false, "private_incidents_by_default": false, "slug_source": "default", "test_incidents": true}, "description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.", "is_default": false, "name": "Security Incident"}, "type": "incident_types"}} + And body with value {"data": {"attributes": {"configuration": {"allow_incident_deletion": false, "allow_workflows": true, "create_message": "Create an incident here", "editable_timestamps": false, "private_incidents": false, "private_incidents_by_default": false, "slug_source": "default", "test_incidents": true}, "description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.", "is_default": false, "name": "Security Incident"}, "type": "incident_types"}} When the request is sent Then the response status is 400 Bad Request @@ -182,7 +182,7 @@ Feature: Incidents Scenario: Create an incident type returns "Not Found" response Given operation "CreateIncidentType" enabled And new "CreateIncidentType" request - And body with value {"data": {"attributes": {"configuration": {"allow_incident_deletion": false, "allow_workflows": true, "create_message": "Create an incident here", "disable_out_of_the_box_postmortem_template": false, "editable_timestamps": false, "private_incidents": false, "private_incidents_by_default": false, "slug_source": "default", "test_incidents": true}, "description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.", "is_default": false, "name": "Security Incident"}, "type": "incident_types"}} + And body with value {"data": {"attributes": {"configuration": {"allow_incident_deletion": false, "allow_workflows": true, "create_message": "Create an incident here", "editable_timestamps": false, "private_incidents": false, "private_incidents_by_default": false, "slug_source": "default", "test_incidents": true}, "description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.", "is_default": false, "name": "Security Incident"}, "type": "incident_types"}} When the request is sent Then the response status is 404 Not Found @@ -1298,7 +1298,7 @@ Feature: Incidents Given operation "UpdateIncidentType" enabled And new "UpdateIncidentType" request And request contains "incident_type_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"configuration": {"allow_incident_deletion": false, "allow_workflows": true, "create_message": "Create an incident here", "disable_out_of_the_box_postmortem_template": false, "editable_timestamps": false, "private_incidents": false, "private_incidents_by_default": false, "slug_source": "default", "test_incidents": true}, "description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data. Note: This will notify the security team.", "is_default": false, "name": "Security Incident"}, "id": "00000000-0000-0000-0000-000000000000", "type": "incident_types"}} + And body with value {"data": {"attributes": {"configuration": {"allow_incident_deletion": false, "allow_workflows": true, "create_message": "Create an incident here", "editable_timestamps": false, "private_incidents": false, "private_incidents_by_default": false, "slug_source": "default", "test_incidents": true}, "description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data. Note: This will notify the security team.", "is_default": false, "name": "Security Incident"}, "id": "00000000-0000-0000-0000-000000000000", "type": "incident_types"}} When the request is sent Then the response status is 400 Bad Request @@ -1307,7 +1307,7 @@ Feature: Incidents Given operation "UpdateIncidentType" enabled And new "UpdateIncidentType" request And request contains "incident_type_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"configuration": {"allow_incident_deletion": false, "allow_workflows": true, "create_message": "Create an incident here", "disable_out_of_the_box_postmortem_template": false, "editable_timestamps": false, "private_incidents": false, "private_incidents_by_default": false, "slug_source": "default", "test_incidents": true}, "description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data. Note: This will notify the security team.", "is_default": false, "name": "Security Incident"}, "id": "00000000-0000-0000-0000-000000000000", "type": "incident_types"}} + And body with value {"data": {"attributes": {"configuration": {"allow_incident_deletion": false, "allow_workflows": true, "create_message": "Create an incident here", "editable_timestamps": false, "private_incidents": false, "private_incidents_by_default": false, "slug_source": "default", "test_incidents": true}, "description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data. Note: This will notify the security team.", "is_default": false, "name": "Security Incident"}, "id": "00000000-0000-0000-0000-000000000000", "type": "incident_types"}} When the request is sent Then the response status is 404 Not Found