Skip to content

Commit

Permalink
Regenerate client from commit ed2597a8 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Sep 30, 2024
1 parent 40077f2 commit d7d4de2
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-09-26 19:34:33.342614",
"spec_repo_commit": "83debf9e"
"regenerated": "2024-09-30 09:16:29.026888",
"spec_repo_commit": "ed2597a8"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-26 19:34:33.356783",
"spec_repo_commit": "83debf9e"
"regenerated": "2024-09-30 09:16:29.041102",
"spec_repo_commit": "ed2597a8"
}
}
}
3 changes: 3 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15767,6 +15767,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-01-26T10:20:21.858Z
2024-09-27T12:22:23.336Z

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 @@ -36,6 +36,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 @@ -53,6 +56,7 @@ def self.attribute_map
:'name' => :'name',
:'no_screenshot' => :'noScreenshot',
:'params' => :'params',
:'public_id' => :'public_id',
:'timeout' => :'timeout',
:'type' => :'type'
}
Expand All @@ -67,6 +71,7 @@ def self.openapi_types
:'name' => :'String',
:'no_screenshot' => :'Boolean',
:'params' => :'Object',
:'public_id' => :'String',
:'timeout' => :'Integer',
:'type' => :'SyntheticsStepType'
}
Expand Down Expand Up @@ -110,6 +115,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 @@ -150,6 +159,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 @@ -159,7 +169,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[allow_failure, is_critical, name, no_screenshot, params, timeout, type].hash
[allow_failure, is_critical, name, no_screenshot, params, public_id, timeout, type].hash
end
end
end

0 comments on commit d7d4de2

Please sign in to comment.