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-10-21 20:59:42.794353",
"spec_repo_commit": "9ac9609b"
"regenerated": "2024-10-23 10:08:17.773830",
"spec_repo_commit": "df3187ca"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-21 20:59:42.814827",
"spec_repo_commit": "9ac9609b"
"regenerated": "2024-10-23 10:08:17.792703",
"spec_repo_commit": "df3187ca"
}
}
}
5 changes: 5 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16168,6 +16168,9 @@ components:
SyntheticsStepDetail:
description: Object describing a step for a Synthetic test.
properties:
allowFailure:
description: Whether or not the step was allowed to fail.
type: boolean
browserErrors:
description: Array of errors collected for a browser test.
items:
Expand All @@ -16185,6 +16188,8 @@ components:
error:
description: Error returned by the test.
type: string
failure:
$ref: '#/components/schemas/SyntheticsBrowserTestResultFailure'
playingTab:
$ref: '#/components/schemas/SyntheticsPlayingTab'
screenshotBucketKey:
Expand Down
22 changes: 21 additions & 1 deletion lib/datadog_api_client/v1/models/synthetics_step_detail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ module DatadogAPIClient::V1
class SyntheticsStepDetail
include BaseGenericModel

# Whether or not the step was allowed to fail.
attr_accessor :allow_failure

# Array of errors collected for a browser test.
attr_accessor :browser_errors

Expand All @@ -36,6 +39,9 @@ class SyntheticsStepDetail
# Error returned by the test.
attr_accessor :error

# The browser test failure details.
attr_accessor :failure

# Navigate between different tabs for your browser test.
attr_accessor :playing_tab

Expand Down Expand Up @@ -79,11 +85,13 @@ class SyntheticsStepDetail
# @!visibility private
def self.attribute_map
{
:'allow_failure' => :'allowFailure',
:'browser_errors' => :'browserErrors',
:'check_type' => :'checkType',
:'description' => :'description',
:'duration' => :'duration',
:'error' => :'error',
:'failure' => :'failure',
:'playing_tab' => :'playingTab',
:'screenshot_bucket_key' => :'screenshotBucketKey',
:'skipped' => :'skipped',
Expand All @@ -103,11 +111,13 @@ def self.attribute_map
# @!visibility private
def self.openapi_types
{
:'allow_failure' => :'Boolean',
:'browser_errors' => :'Array<SyntheticsBrowserError>',
:'check_type' => :'SyntheticsCheckType',
:'description' => :'String',
:'duration' => :'Float',
:'error' => :'String',
:'failure' => :'SyntheticsBrowserTestResultFailure',
:'playing_tab' => :'SyntheticsPlayingTab',
:'screenshot_bucket_key' => :'Boolean',
:'skipped' => :'Boolean',
Expand Down Expand Up @@ -141,6 +151,10 @@ def initialize(attributes = {})
end
}

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

if attributes.key?(:'browser_errors')
if (value = attributes[:'browser_errors']).is_a?(Array)
self.browser_errors = value
Expand All @@ -163,6 +177,10 @@ def initialize(attributes = {})
self.error = attributes[:'error']
end

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

if attributes.key?(:'playing_tab')
self.playing_tab = attributes[:'playing_tab']
end
Expand Down Expand Up @@ -244,11 +262,13 @@ def to_hash
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
allow_failure == o.allow_failure &&
browser_errors == o.browser_errors &&
check_type == o.check_type &&
description == o.description &&
duration == o.duration &&
error == o.error &&
failure == o.failure &&
playing_tab == o.playing_tab &&
screenshot_bucket_key == o.screenshot_bucket_key &&
skipped == o.skipped &&
Expand All @@ -268,7 +288,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[browser_errors, check_type, description, duration, error, playing_tab, screenshot_bucket_key, skipped, snapshot_bucket_key, step_id, sub_test_step_details, time_to_interactive, type, url, value, vitals_metrics, warnings].hash
[allow_failure, browser_errors, check_type, description, duration, error, failure, playing_tab, screenshot_bucket_key, skipped, snapshot_bucket_key, step_id, sub_test_step_details, time_to_interactive, type, url, value, vitals_metrics, warnings].hash
end
end
end
Loading