Skip to content

Commit 63d726c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add synthetics browser step public_id field (#2029)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 79935ce commit 63d726c

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-12-19 07:26:22.629677",
8-
"spec_repo_commit": "5dd2cbe4"
7+
"regenerated": "2024-12-23 16:35:38.862733",
8+
"spec_repo_commit": "19946d35"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-19 07:26:22.647976",
13-
"spec_repo_commit": "5dd2cbe4"
12+
"regenerated": "2024-12-23 16:35:38.877280",
13+
"spec_repo_commit": "19946d35"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16274,6 +16274,9 @@ components:
1627416274
params:
1627516275
description: The parameters of the step.
1627616276
type: object
16277+
public_id:
16278+
description: The public ID of the step.
16279+
type: string
1627716280
timeout:
1627816281
description: The time before declaring a step failed.
1627916282
format: int64
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-12-09T11:17:43.729Z
1+
2024-12-23T09:47:16.115Z

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
@@ -42,6 +42,9 @@ class SyntheticsStep
4242
# The parameters of the step.
4343
attr_accessor :params
4444

45+
# The public ID of the step.
46+
attr_accessor :public_id
47+
4548
# The time before declaring a step failed.
4649
attr_accessor :timeout
4750

@@ -61,6 +64,7 @@ def self.attribute_map
6164
:'name' => :'name',
6265
:'no_screenshot' => :'noScreenshot',
6366
:'params' => :'params',
67+
:'public_id' => :'public_id',
6468
:'timeout' => :'timeout',
6569
:'type' => :'type'
6670
}
@@ -77,6 +81,7 @@ def self.openapi_types
7781
:'name' => :'String',
7882
:'no_screenshot' => :'Boolean',
7983
:'params' => :'Object',
84+
:'public_id' => :'String',
8085
:'timeout' => :'Integer',
8186
:'type' => :'SyntheticsStepType'
8287
}
@@ -128,6 +133,10 @@ def initialize(attributes = {})
128133
self.params = attributes[:'params']
129134
end
130135

136+
if attributes.key?(:'public_id')
137+
self.public_id = attributes[:'public_id']
138+
end
139+
131140
if attributes.key?(:'timeout')
132141
self.timeout = attributes[:'timeout']
133142
end
@@ -170,6 +179,7 @@ def ==(o)
170179
name == o.name &&
171180
no_screenshot == o.no_screenshot &&
172181
params == o.params &&
182+
public_id == o.public_id &&
173183
timeout == o.timeout &&
174184
type == o.type &&
175185
additional_properties == o.additional_properties
@@ -179,7 +189,7 @@ def ==(o)
179189
# @return [Integer] Hash code
180190
# @!visibility private
181191
def hash
182-
[allow_failure, always_execute, exit_if_succeed, is_critical, name, no_screenshot, params, timeout, type, additional_properties].hash
192+
[allow_failure, always_execute, exit_if_succeed, is_critical, name, no_screenshot, params, public_id, timeout, type, additional_properties].hash
183193
end
184194
end
185195
end

0 commit comments

Comments
 (0)