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
10 changes: 10 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14413,6 +14413,11 @@ components:
extractedValuesFromScript:
description: Generate variables using JavaScript.
type: string
id:
description: ID of the step.
example: abc-def-123
readOnly: true
type: string
isCritical:
description: 'Determines whether or not to consider the entire test as failed
if this step fails.
Expand Down Expand Up @@ -14469,6 +14474,11 @@ components:
SyntheticsAPIWaitStep:
description: The Wait step used in a Synthetic multi-step API test.
properties:
id:
description: ID of the step.
example: abc-def-123
readOnly: true
type: string
name:
description: The name of the step.
example: Example step name
Expand Down
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v1/models/synthetics_api_test_step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ class SyntheticsAPITestStep
# Generate variables using JavaScript.
attr_accessor :extracted_values_from_script

# ID of the step.
attr_accessor :id

# Determines whether or not to consider the entire test as failed if this step fails.
# Can be used only if `allowFailure` is `true`.
attr_accessor :is_critical
Expand Down Expand Up @@ -63,6 +66,7 @@ def self.attribute_map
:'exit_if_succeed' => :'exitIfSucceed',
:'extracted_values' => :'extractedValues',
:'extracted_values_from_script' => :'extractedValuesFromScript',
:'id' => :'id',
:'is_critical' => :'isCritical',
:'name' => :'name',
:'request' => :'request',
Expand All @@ -80,6 +84,7 @@ def self.openapi_types
:'exit_if_succeed' => :'Boolean',
:'extracted_values' => :'Array<SyntheticsParsingOptions>',
:'extracted_values_from_script' => :'String',
:'id' => :'String',
:'is_critical' => :'Boolean',
:'name' => :'String',
:'request' => :'SyntheticsTestRequest',
Expand Down Expand Up @@ -130,6 +135,10 @@ def initialize(attributes = {})
self.extracted_values_from_script = attributes[:'extracted_values_from_script']
end

if attributes.key?(:'id')
self.id = attributes[:'id']
end

if attributes.key?(:'is_critical')
self.is_critical = attributes[:'is_critical']
end
Expand Down Expand Up @@ -233,6 +242,7 @@ def ==(o)
exit_if_succeed == o.exit_if_succeed &&
extracted_values == o.extracted_values &&
extracted_values_from_script == o.extracted_values_from_script &&
id == o.id &&
is_critical == o.is_critical &&
name == o.name &&
request == o.request &&
Expand All @@ -245,7 +255,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[allow_failure, assertions, exit_if_succeed, extracted_values, extracted_values_from_script, is_critical, name, request, _retry, subtype, additional_properties].hash
[allow_failure, assertions, exit_if_succeed, extracted_values, extracted_values_from_script, id, is_critical, name, request, _retry, subtype, additional_properties].hash
end
end
end
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v1/models/synthetics_api_wait_step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ module DatadogAPIClient::V1
class SyntheticsAPIWaitStep
include BaseGenericModel

# ID of the step.
attr_accessor :id

# The name of the step.
attr_reader :name

Expand All @@ -36,6 +39,7 @@ class SyntheticsAPIWaitStep
# @!visibility private
def self.attribute_map
{
:'id' => :'id',
:'name' => :'name',
:'subtype' => :'subtype',
:'value' => :'value'
Expand All @@ -46,6 +50,7 @@ def self.attribute_map
# @!visibility private
def self.openapi_types
{
:'id' => :'String',
:'name' => :'String',
:'subtype' => :'SyntheticsAPIWaitStepSubtype',
:'value' => :'Integer'
Expand All @@ -70,6 +75,10 @@ def initialize(attributes = {})
end
}

if attributes.key?(:'id')
self.id = attributes[:'id']
end

if attributes.key?(:'name')
self.name = attributes[:'name']
end
Expand Down Expand Up @@ -157,6 +166,7 @@ def to_hash
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
id == o.id &&
name == o.name &&
subtype == o.subtype &&
value == o.value &&
Expand All @@ -167,7 +177,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[name, subtype, value, additional_properties].hash
[id, name, subtype, value, additional_properties].hash
end
end
end
Loading