Skip to content

Commit

Permalink
Merge master into datadog-api-spec/test/oliver/update-app-builder-api
Browse files Browse the repository at this point in the history
  • Loading branch information
2 parents 4828245 + 63d726c commit 0e5ef8a
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 14 deletions.
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-12-19 07:26:22.629677",
"spec_repo_commit": "5dd2cbe4"
"regenerated": "2024-12-23 16:35:38.862733",
"spec_repo_commit": "19946d35"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-19 07:26:22.647976",
"spec_repo_commit": "5dd2cbe4"
"regenerated": "2024-12-23 16:35:38.877280",
"spec_repo_commit": "19946d35"
}
}
}
3 changes: 3 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16274,6 +16274,9 @@ components:
params:
description: The parameters of the step.
type: object
public_id:
description: The public ID of the step.
type: string
timeout:
description: The time before declaring a step failed.
format: int64
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-12-09T11:17:43.729Z
2024-12-23T09:47:16.115Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions features/v1/synthetics.feature
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Feature: Synthetics
And the response "options.rumSettings.isEnabled" is equal to true
And the response "options.rumSettings.applicationId" is equal to "mockApplicationId"
And the response "options.rumSettings.clientTokenId" is equal to 12345
And the response "steps[0]" has field "public_id"

@team:DataDog/synthetics-ct
Scenario: Create a browser test returns "OK - Returns the created test details." response
Expand Down
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v1/models/synthetics_step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class SyntheticsStep
# The parameters of the step.
attr_accessor :params

# The public ID of the step.
attr_accessor :public_id

# The time before declaring a step failed.
attr_accessor :timeout

Expand All @@ -61,6 +64,7 @@ def self.attribute_map
:'name' => :'name',
:'no_screenshot' => :'noScreenshot',
:'params' => :'params',
:'public_id' => :'public_id',
:'timeout' => :'timeout',
:'type' => :'type'
}
Expand All @@ -77,6 +81,7 @@ def self.openapi_types
:'name' => :'String',
:'no_screenshot' => :'Boolean',
:'params' => :'Object',
:'public_id' => :'String',
:'timeout' => :'Integer',
:'type' => :'SyntheticsStepType'
}
Expand Down Expand Up @@ -128,6 +133,10 @@ def initialize(attributes = {})
self.params = attributes[:'params']
end

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

if attributes.key?(:'timeout')
self.timeout = attributes[:'timeout']
end
Expand Down Expand Up @@ -170,6 +179,7 @@ def ==(o)
name == o.name &&
no_screenshot == o.no_screenshot &&
params == o.params &&
public_id == o.public_id &&
timeout == o.timeout &&
type == o.type &&
additional_properties == o.additional_properties
Expand All @@ -179,7 +189,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[allow_failure, always_execute, exit_if_succeed, is_critical, name, no_screenshot, params, timeout, type, additional_properties].hash
[allow_failure, always_execute, exit_if_succeed, is_critical, name, no_screenshot, params, public_id, timeout, type, additional_properties].hash
end
end
end

0 comments on commit 0e5ef8a

Please sign in to comment.