diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e2256f32bd5a..5b151db2a84f 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -30473,7 +30473,7 @@ components: 8 indicates Jira.' example: 1 format: int32 - maximum: 9 + maximum: 100 type: integer metadata: $ref: '#/components/schemas/IncidentIntegrationMetadataMetadata' diff --git a/cassettes/features/v2/synthetics/Create-a-test-suite-returns-OK-response.frozen b/cassettes/features/v2/synthetics/Create-a-test-suite-returns-OK-response.frozen index 957e037f23c0..62723cd8d29a 100644 --- a/cassettes/features/v2/synthetics/Create-a-test-suite-returns-OK-response.frozen +++ b/cassettes/features/v2/synthetics/Create-a-test-suite-returns-OK-response.frozen @@ -1 +1 @@ -2026-02-18T16:57:05.121Z \ No newline at end of file +2026-01-07T12:38:45.716Z \ No newline at end of file diff --git a/cassettes/features/v2/synthetics/Create-a-test-suite-returns-OK-response.yml b/cassettes/features/v2/synthetics/Create-a-test-suite-returns-OK-response.yml index 5296a6bd3d57..8a68218d5475 100644 --- a/cassettes/features/v2/synthetics/Create-a-test-suite-returns-OK-response.yml +++ b/cassettes/features/v2/synthetics/Create-a-test-suite-returns-OK-response.yml @@ -1,5 +1,5 @@ http_interactions: -- recorded_at: Wed, 18 Feb 2026 16:57:05 GMT +- recorded_at: Wed, 07 Jan 2026 12:38:45 GMT request: body: encoding: UTF-8 @@ -15,10 +15,10 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":{"type":"suites","attributes":{"type":"suite","monitor_id":259845717,"name":"Example - suite name","options":{},"tests":[],"tags":["env:production"],"public_id":"hik-xp5-9q6","created_at":"2026-02-18T16:57:05.583051+00:00","modified_at":"2026-02-18T16:57:05.583051+00:00","created_by":{"name":"Corentin - Girard","email":"corentin.girard@datadoghq.com","handle":"corentin.girard@datadoghq.com"},"message":"Notification - message","org_id":321813,"modified_by":{"name":"Corentin Girard","email":"corentin.girard@datadoghq.com","handle":"corentin.girard@datadoghq.com"}},"id":"hik-xp5-9q6"}} + string: '{"data":{"type":"suites","id":"36n-bb6-njj","attributes":{"tags":["env:production"],"type":"suite","created_by":{"email":"team-intg-tools-libs-spam@datadoghq.com","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI + Account"},"created_at":"2026-01-07T12:38:46.109472+00:00","modified_at":"2026-01-07T12:38:46.109472+00:00","message":"Notification + message","public_id":"36n-bb6-njj","options":{},"modified_by":{"email":"team-intg-tools-libs-spam@datadoghq.com","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI + Account"},"tests":[],"name":"Example suite name","org_id":321813,"monitor_id":249141773}}} ' headers: @@ -27,11 +27,11 @@ http_interactions: status: code: 200 message: OK -- recorded_at: Wed, 18 Feb 2026 16:57:05 GMT +- recorded_at: Wed, 07 Jan 2026 12:38:45 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"public_ids":["hik-xp5-9q6"]},"type":"delete_suites_request"}}' + string: '{"data":{"attributes":{"public_ids":["36n-bb6-njj"]},"type":"delete_suites_request"}}' headers: Accept: - application/json @@ -42,7 +42,8 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"data":[{"type":"suites","attributes":{"deleted_at":"2026-02-18 16:57:06.420679","public_id":"hik-xp5-9q6"},"id":"hik-xp5-9q6"}]} + string: '{"data":[{"type":"suites","attributes":{"public_id":"36n-bb6-njj","deleted_at":"2026-01-07 + 12:38:46.679914"},"id":"36n-bb6-njj"}]} ' headers: diff --git a/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb b/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb index 6a13df5e745f..2132b6f3fbf4 100644 --- a/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +++ b/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb @@ -118,7 +118,7 @@ def initialize(attributes = {}) # @!visibility private def valid? return false if @integration_type.nil? - return false if @integration_type > 9 + return false if @integration_type > 100 return false if @metadata.nil? return false if !@status.nil? && @status > 5 true @@ -131,8 +131,8 @@ def integration_type=(integration_type) if integration_type.nil? fail ArgumentError, 'invalid value for "integration_type", integration_type cannot be nil.' end - if integration_type > 9 - fail ArgumentError, 'invalid value for "integration_type", must be smaller than or equal to 9.' + if integration_type > 100 + fail ArgumentError, 'invalid value for "integration_type", must be smaller than or equal to 100.' end @integration_type = integration_type end