From 6803d7e8e7cb0ec873725648216d6beb88ada5d2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 10 Jul 2026 20:22:41 +0000 Subject: [PATCH] Regenerate client from commit 34a2790 of spec repo --- .generator/schemas/v2/openapi.yaml | 5 ----- features/v2/incidents.feature | 8 ++++---- .../v2/models/incident_type_configuration.rb | 12 +----------- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 188cceacbd70..4075c222cfca 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/features/v2/incidents.feature b/features/v2/incidents.feature index 646ec88d8798..62c70d5c5608 100644 --- a/features/v2/incidents.feature +++ b/features/v2/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 diff --git a/lib/datadog_api_client/v2/models/incident_type_configuration.rb b/lib/datadog_api_client/v2/models/incident_type_configuration.rb index e64535e8bcaa..caed469f2ed2 100644 --- a/lib/datadog_api_client/v2/models/incident_type_configuration.rb +++ b/lib/datadog_api_client/v2/models/incident_type_configuration.rb @@ -30,9 +30,6 @@ class IncidentTypeConfiguration # An optional message shown to users when they declare an incident of this type. attr_accessor :create_message - # Whether the out-of-the-box postmortem template is disabled for incidents of this type. - attr_accessor :disable_out_of_the_box_postmortem_template - # Whether responders can edit incident timestamps for incidents of this type. attr_accessor :editable_timestamps @@ -57,7 +54,6 @@ def self.attribute_map :'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', @@ -73,7 +69,6 @@ def self.openapi_types :'allow_incident_deletion' => :'Boolean', :'allow_workflows' => :'Boolean', :'create_message' => :'String', - :'disable_out_of_the_box_postmortem_template' => :'Boolean', :'editable_timestamps' => :'Boolean', :'private_incidents' => :'Boolean', :'private_incidents_by_default' => :'Boolean', @@ -112,10 +107,6 @@ def initialize(attributes = {}) self.create_message = attributes[:'create_message'] end - if attributes.key?(:'disable_out_of_the_box_postmortem_template') - self.disable_out_of_the_box_postmortem_template = attributes[:'disable_out_of_the_box_postmortem_template'] - end - if attributes.key?(:'editable_timestamps') self.editable_timestamps = attributes[:'editable_timestamps'] end @@ -166,7 +157,6 @@ def ==(o) allow_incident_deletion == o.allow_incident_deletion && allow_workflows == o.allow_workflows && create_message == o.create_message && - disable_out_of_the_box_postmortem_template == o.disable_out_of_the_box_postmortem_template && editable_timestamps == o.editable_timestamps && private_incidents == o.private_incidents && private_incidents_by_default == o.private_incidents_by_default && @@ -179,7 +169,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [allow_incident_deletion, allow_workflows, create_message, disable_out_of_the_box_postmortem_template, editable_timestamps, private_incidents, private_incidents_by_default, slug_source, test_incidents, additional_properties].hash + [allow_incident_deletion, allow_workflows, create_message, editable_timestamps, private_incidents, private_incidents_by_default, slug_source, test_incidents, additional_properties].hash end end end