@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
2121 class SyntheticsStepDetail
2222 include BaseGenericModel
2323
24+ # Whether or not the step was allowed to fail.
25+ attr_accessor :allow_failure
26+
2427 # Array of errors collected for a browser test.
2528 attr_accessor :browser_errors
2629
@@ -36,6 +39,9 @@ class SyntheticsStepDetail
3639 # Error returned by the test.
3740 attr_accessor :error
3841
42+ # The browser test failure details.
43+ attr_accessor :failure
44+
3945 # Navigate between different tabs for your browser test.
4046 attr_accessor :playing_tab
4147
@@ -79,11 +85,13 @@ class SyntheticsStepDetail
7985 # @!visibility private
8086 def self . attribute_map
8187 {
88+ :'allow_failure' => :'allowFailure' ,
8289 :'browser_errors' => :'browserErrors' ,
8390 :'check_type' => :'checkType' ,
8491 :'description' => :'description' ,
8592 :'duration' => :'duration' ,
8693 :'error' => :'error' ,
94+ :'failure' => :'failure' ,
8795 :'playing_tab' => :'playingTab' ,
8896 :'screenshot_bucket_key' => :'screenshotBucketKey' ,
8997 :'skipped' => :'skipped' ,
@@ -103,11 +111,13 @@ def self.attribute_map
103111 # @!visibility private
104112 def self . openapi_types
105113 {
114+ :'allow_failure' => :'Boolean' ,
106115 :'browser_errors' => :'Array<SyntheticsBrowserError>' ,
107116 :'check_type' => :'SyntheticsCheckType' ,
108117 :'description' => :'String' ,
109118 :'duration' => :'Float' ,
110119 :'error' => :'String' ,
120+ :'failure' => :'SyntheticsBrowserTestResultFailure' ,
111121 :'playing_tab' => :'SyntheticsPlayingTab' ,
112122 :'screenshot_bucket_key' => :'Boolean' ,
113123 :'skipped' => :'Boolean' ,
@@ -141,6 +151,10 @@ def initialize(attributes = {})
141151 end
142152 }
143153
154+ if attributes . key? ( :'allow_failure' )
155+ self . allow_failure = attributes [ :'allow_failure' ]
156+ end
157+
144158 if attributes . key? ( :'browser_errors' )
145159 if ( value = attributes [ :'browser_errors' ] ) . is_a? ( Array )
146160 self . browser_errors = value
@@ -163,6 +177,10 @@ def initialize(attributes = {})
163177 self . error = attributes [ :'error' ]
164178 end
165179
180+ if attributes . key? ( :'failure' )
181+ self . failure = attributes [ :'failure' ]
182+ end
183+
166184 if attributes . key? ( :'playing_tab' )
167185 self . playing_tab = attributes [ :'playing_tab' ]
168186 end
@@ -244,11 +262,13 @@ def to_hash
244262 def ==( o )
245263 return true if self . equal? ( o )
246264 self . class == o . class &&
265+ allow_failure == o . allow_failure &&
247266 browser_errors == o . browser_errors &&
248267 check_type == o . check_type &&
249268 description == o . description &&
250269 duration == o . duration &&
251270 error == o . error &&
271+ failure == o . failure &&
252272 playing_tab == o . playing_tab &&
253273 screenshot_bucket_key == o . screenshot_bucket_key &&
254274 skipped == o . skipped &&
@@ -268,7 +288,7 @@ def ==(o)
268288 # @return [Integer] Hash code
269289 # @!visibility private
270290 def hash
271- [ browser_errors , check_type , description , duration , error , playing_tab , screenshot_bucket_key , skipped , snapshot_bucket_key , step_id , sub_test_step_details , time_to_interactive , type , url , value , vitals_metrics , warnings ] . hash
291+ [ allow_failure , browser_errors , check_type , description , duration , error , failure , playing_tab , screenshot_bucket_key , skipped , snapshot_bucket_key , step_id , sub_test_step_details , time_to_interactive , type , url , value , vitals_metrics , warnings ] . hash
272292 end
273293 end
274294end
0 commit comments