diff --git a/.apigentools-info b/.apigentools-info index ad30384a2f0a..e473272dea86 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-05 15:05:36.604829", - "spec_repo_commit": "8d63eae4" + "regenerated": "2024-11-05 20:16:41.645334", + "spec_repo_commit": "1a56bfda" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-05 15:05:36.623464", - "spec_repo_commit": "8d63eae4" + "regenerated": "2024-11-05 20:16:41.665547", + "spec_repo_commit": "1a56bfda" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index ce466a1c5dcf..1b7f2ce98772 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -16227,6 +16227,13 @@ components: allowFailure: description: A boolean set to allow this step to fail. type: boolean + alwaysExecute: + description: A boolean set to always execute this step even if the previous + step failed or was skipped. + type: boolean + exitIfSucceed: + description: A boolean set to exit the test if the step succeeds. + type: boolean isCritical: description: A boolean to use in addition to `allowFailure` to determine if the test should be marked as failed when the step fails. @@ -16235,7 +16242,7 @@ components: description: The name of the step. type: string noScreenshot: - description: A boolean set to not take a screenshot for the step. + description: A boolean set to skip taking a screenshot for the step. type: boolean params: description: The parameters of the step. diff --git a/lib/datadog_api_client/v1/models/synthetics_step.rb b/lib/datadog_api_client/v1/models/synthetics_step.rb index 7cd2f3a28b66..cbd1cbbfeb50 100644 --- a/lib/datadog_api_client/v1/models/synthetics_step.rb +++ b/lib/datadog_api_client/v1/models/synthetics_step.rb @@ -24,13 +24,19 @@ class SyntheticsStep # A boolean set to allow this step to fail. attr_accessor :allow_failure + # A boolean set to always execute this step even if the previous step failed or was skipped. + attr_accessor :always_execute + + # A boolean set to exit the test if the step succeeds. + attr_accessor :exit_if_succeed + # A boolean to use in addition to `allowFailure` to determine if the test should be marked as failed when the step fails. attr_accessor :is_critical # The name of the step. attr_accessor :name - # A boolean set to not take a screenshot for the step. + # A boolean set to skip taking a screenshot for the step. attr_accessor :no_screenshot # The parameters of the step. @@ -49,6 +55,8 @@ class SyntheticsStep def self.attribute_map { :'allow_failure' => :'allowFailure', + :'always_execute' => :'alwaysExecute', + :'exit_if_succeed' => :'exitIfSucceed', :'is_critical' => :'isCritical', :'name' => :'name', :'no_screenshot' => :'noScreenshot', @@ -63,6 +71,8 @@ def self.attribute_map def self.openapi_types { :'allow_failure' => :'Boolean', + :'always_execute' => :'Boolean', + :'exit_if_succeed' => :'Boolean', :'is_critical' => :'Boolean', :'name' => :'String', :'no_screenshot' => :'Boolean', @@ -94,6 +104,14 @@ def initialize(attributes = {}) self.allow_failure = attributes[:'allow_failure'] end + if attributes.key?(:'always_execute') + self.always_execute = attributes[:'always_execute'] + end + + if attributes.key?(:'exit_if_succeed') + self.exit_if_succeed = attributes[:'exit_if_succeed'] + end + if attributes.key?(:'is_critical') self.is_critical = attributes[:'is_critical'] end @@ -146,6 +164,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && allow_failure == o.allow_failure && + always_execute == o.always_execute && + exit_if_succeed == o.exit_if_succeed && is_critical == o.is_critical && name == o.name && no_screenshot == o.no_screenshot && @@ -159,7 +179,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [allow_failure, is_critical, name, no_screenshot, params, timeout, type].hash + [allow_failure, always_execute, exit_if_succeed, is_critical, name, no_screenshot, params, timeout, type].hash end end end