diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d8f50ea93052..21af8d0f08e6 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -38219,6 +38219,10 @@ components: Test runs are tagged with @test.test_management.attempt_to_fix_passed and @test.test_management.is_attempt_to_fix when the attempt to fix workflow is triggered. example: I42TEO type: string + broken_test: + description: Whether every non-skipped run of the test failed over the last 7 days. + example: false + type: boolean codeowners: description: The name of the test's code owners as inferred from the repository configuration. example: ["@foo", "@bar"] diff --git a/lib/datadog_api_client/v2/models/flaky_test_attributes.rb b/lib/datadog_api_client/v2/models/flaky_test_attributes.rb index f6b2e6c3c794..0c84535e172d 100644 --- a/lib/datadog_api_client/v2/models/flaky_test_attributes.rb +++ b/lib/datadog_api_client/v2/models/flaky_test_attributes.rb @@ -27,6 +27,9 @@ class FlakyTestAttributes # Test runs are tagged with @test.test_management.attempt_to_fix_passed and @test.test_management.is_attempt_to_fix when the attempt to fix workflow is triggered. attr_accessor :attempt_to_fix_id + # Whether every non-skipped run of the test failed over the last 7 days. + attr_accessor :broken_test + # The name of the test's code owners as inferred from the repository configuration. attr_accessor :codeowners @@ -103,6 +106,7 @@ class FlakyTestAttributes def self.attribute_map { :'attempt_to_fix_id' => :'attempt_to_fix_id', + :'broken_test' => :'broken_test', :'codeowners' => :'codeowners', :'envs' => :'envs', :'first_flaked_branch' => :'first_flaked_branch', @@ -131,6 +135,7 @@ def self.attribute_map def self.openapi_types { :'attempt_to_fix_id' => :'String', + :'broken_test' => :'Boolean', :'codeowners' => :'Array', :'envs' => :'Array', :'first_flaked_branch' => :'String', @@ -186,6 +191,10 @@ def initialize(attributes = {}) self.attempt_to_fix_id = attributes[:'attempt_to_fix_id'] end + if attributes.key?(:'broken_test') + self.broken_test = attributes[:'broken_test'] + end + if attributes.key?(:'codeowners') if (value = attributes[:'codeowners']).is_a?(Array) self.codeowners = value @@ -324,6 +333,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && attempt_to_fix_id == o.attempt_to_fix_id && + broken_test == o.broken_test && codeowners == o.codeowners && envs == o.envs && first_flaked_branch == o.first_flaked_branch && @@ -351,7 +361,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [attempt_to_fix_id, codeowners, envs, first_flaked_branch, first_flaked_sha, first_flaked_ts, flaky_category, flaky_state, history, impact_level, impact_score, last_flaked_branch, last_flaked_sha, last_flaked_ts, _module, name, pipeline_stats, services, suite, test_run_metadata, test_stats, additional_properties].hash + [attempt_to_fix_id, broken_test, codeowners, envs, first_flaked_branch, first_flaked_sha, first_flaked_ts, flaky_category, flaky_state, history, impact_level, impact_score, last_flaked_branch, last_flaked_sha, last_flaked_ts, _module, name, pipeline_stats, services, suite, test_run_metadata, test_stats, additional_properties].hash end end end