Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
9 changes: 8 additions & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
24 changes: 22 additions & 2 deletions lib/datadog_api_client/v1/models/synthetics_step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 &&
Expand All @@ -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