Skip to content

Commit d7d4de2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ed2597a8 of spec repo
1 parent 40077f2 commit d7d4de2

File tree

6 files changed

+28
-14
lines changed

6 files changed

+28
-14
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-09-26 19:34:33.342614",
8-
"spec_repo_commit": "83debf9e"
7+
"regenerated": "2024-09-30 09:16:29.026888",
8+
"spec_repo_commit": "ed2597a8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-26 19:34:33.356783",
13-
"spec_repo_commit": "83debf9e"
12+
"regenerated": "2024-09-30 09:16:29.041102",
13+
"spec_repo_commit": "ed2597a8"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15767,6 +15767,9 @@ components:
1576715767
params:
1576815768
description: The parameters of the step.
1576915769
type: object
15770+
public_id:
15771+
description: The public ID of the step.
15772+
type: string
1577015773
timeout:
1577115774
description: The time before declaring a step failed.
1577215775
format: int64
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-01-26T10:20:21.858Z
1+
2024-09-27T12:22:23.336Z

cassettes/features/v1/synthetics/Create-a-browser-test-returns-OK-Returns-saved-rumSettings-response.yml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

features/v1/synthetics.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Feature: Synthetics
6565
And the response "options.rumSettings.isEnabled" is equal to true
6666
And the response "options.rumSettings.applicationId" is equal to "mockApplicationId"
6767
And the response "options.rumSettings.clientTokenId" is equal to 12345
68+
And the response "steps[0]" has field "public_id"
6869

6970
@team:DataDog/synthetics-ct
7071
Scenario: Create a browser test returns "OK - Returns the created test details." response

lib/datadog_api_client/v1/models/synthetics_step.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ class SyntheticsStep
3636
# The parameters of the step.
3737
attr_accessor :params
3838

39+
# The public ID of the step.
40+
attr_accessor :public_id
41+
3942
# The time before declaring a step failed.
4043
attr_accessor :timeout
4144

@@ -53,6 +56,7 @@ def self.attribute_map
5356
:'name' => :'name',
5457
:'no_screenshot' => :'noScreenshot',
5558
:'params' => :'params',
59+
:'public_id' => :'public_id',
5660
:'timeout' => :'timeout',
5761
:'type' => :'type'
5862
}
@@ -67,6 +71,7 @@ def self.openapi_types
6771
:'name' => :'String',
6872
:'no_screenshot' => :'Boolean',
6973
:'params' => :'Object',
74+
:'public_id' => :'String',
7075
:'timeout' => :'Integer',
7176
:'type' => :'SyntheticsStepType'
7277
}
@@ -110,6 +115,10 @@ def initialize(attributes = {})
110115
self.params = attributes[:'params']
111116
end
112117

118+
if attributes.key?(:'public_id')
119+
self.public_id = attributes[:'public_id']
120+
end
121+
113122
if attributes.key?(:'timeout')
114123
self.timeout = attributes[:'timeout']
115124
end
@@ -150,6 +159,7 @@ def ==(o)
150159
name == o.name &&
151160
no_screenshot == o.no_screenshot &&
152161
params == o.params &&
162+
public_id == o.public_id &&
153163
timeout == o.timeout &&
154164
type == o.type
155165
additional_properties == o.additional_properties
@@ -159,7 +169,7 @@ def ==(o)
159169
# @return [Integer] Hash code
160170
# @!visibility private
161171
def hash
162-
[allow_failure, is_critical, name, no_screenshot, params, timeout, type].hash
172+
[allow_failure, is_critical, name, no_screenshot, params, public_id, timeout, type].hash
163173
end
164174
end
165175
end

0 commit comments

Comments
 (0)