@@ -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
165185end
0 commit comments