Skip to content

Commit 364e6c9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5ec42202 of spec repo
1 parent e1fa352 commit 364e6c9

File tree

3 files changed

+34
-7
lines changed

3 files changed

+34
-7
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-11-04 21:14:35.504551",
8-
"spec_repo_commit": "08338fd1"
7+
"regenerated": "2024-11-05 18:27:48.426661",
8+
"spec_repo_commit": "5ec42202"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-04 21:14:35.522954",
13-
"spec_repo_commit": "08338fd1"
12+
"regenerated": "2024-11-05 18:27:48.444907",
13+
"spec_repo_commit": "5ec42202"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16228,6 +16228,13 @@ components:
1622816228
allowFailure:
1622916229
description: A boolean set to allow this step to fail.
1623016230
type: boolean
16231+
alwaysExecute:
16232+
description: A boolean set to always execute this step even if the previous
16233+
step failed or was skipped.
16234+
type: boolean
16235+
exitIfSucceed:
16236+
description: A boolean set to exit the test if the step succeeds.
16237+
type: boolean
1623116238
isCritical:
1623216239
description: A boolean to use in addition to `allowFailure` to determine
1623316240
if the test should be marked as failed when the step fails.
@@ -16236,7 +16243,7 @@ components:
1623616243
description: The name of the step.
1623716244
type: string
1623816245
noScreenshot:
16239-
description: A boolean set to not take a screenshot for the step.
16246+
description: A boolean set to skip taking a screenshot for the step.
1624016247
type: boolean
1624116248
params:
1624216249
description: The parameters of the step.

lib/datadog_api_client/v1/models/synthetics_step.rb

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,19 @@ class SyntheticsStep
2424
# A boolean set to allow this step to fail.
2525
attr_accessor :allow_failure
2626

27+
# A boolean set to always execute this step even if the previous step failed or was skipped.
28+
attr_accessor :always_execute
29+
30+
# A boolean set to exit the test if the step succeeds.
31+
attr_accessor :exit_if_succeed
32+
2733
# A boolean to use in addition to `allowFailure` to determine if the test should be marked as failed when the step fails.
2834
attr_accessor :is_critical
2935

3036
# The name of the step.
3137
attr_accessor :name
3238

33-
# A boolean set to not take a screenshot for the step.
39+
# A boolean set to skip taking a screenshot for the step.
3440
attr_accessor :no_screenshot
3541

3642
# The parameters of the step.
@@ -49,6 +55,8 @@ class SyntheticsStep
4955
def self.attribute_map
5056
{
5157
:'allow_failure' => :'allowFailure',
58+
:'always_execute' => :'alwaysExecute',
59+
:'exit_if_succeed' => :'exitIfSucceed',
5260
:'is_critical' => :'isCritical',
5361
:'name' => :'name',
5462
:'no_screenshot' => :'noScreenshot',
@@ -63,6 +71,8 @@ def self.attribute_map
6371
def self.openapi_types
6472
{
6573
:'allow_failure' => :'Boolean',
74+
:'always_execute' => :'Boolean',
75+
:'exit_if_succeed' => :'Boolean',
6676
:'is_critical' => :'Boolean',
6777
:'name' => :'String',
6878
:'no_screenshot' => :'Boolean',
@@ -94,6 +104,14 @@ def initialize(attributes = {})
94104
self.allow_failure = attributes[:'allow_failure']
95105
end
96106

107+
if attributes.key?(:'always_execute')
108+
self.always_execute = attributes[:'always_execute']
109+
end
110+
111+
if attributes.key?(:'exit_if_succeed')
112+
self.exit_if_succeed = attributes[:'exit_if_succeed']
113+
end
114+
97115
if attributes.key?(:'is_critical')
98116
self.is_critical = attributes[:'is_critical']
99117
end
@@ -146,6 +164,8 @@ def ==(o)
146164
return true if self.equal?(o)
147165
self.class == o.class &&
148166
allow_failure == o.allow_failure &&
167+
always_execute == o.always_execute &&
168+
exit_if_succeed == o.exit_if_succeed &&
149169
is_critical == o.is_critical &&
150170
name == o.name &&
151171
no_screenshot == o.no_screenshot &&
@@ -159,7 +179,7 @@ def ==(o)
159179
# @return [Integer] Hash code
160180
# @!visibility private
161181
def hash
162-
[allow_failure, is_critical, name, no_screenshot, params, timeout, type].hash
182+
[allow_failure, always_execute, exit_if_succeed, is_critical, name, no_screenshot, params, timeout, type].hash
163183
end
164184
end
165185
end

0 commit comments

Comments
 (0)