@@ -63,6 +63,9 @@ class SyntheticsCITest
6363 # Variables to replace in the test.
6464 attr_accessor :variables
6565
66+ # The version number of the Synthetic test version to trigger.
67+ attr_accessor :version
68+
6669 attr_accessor :additional_properties
6770
6871 # Attribute mapping from ruby-style variable name to JSON key.
@@ -82,7 +85,8 @@ def self.attribute_map
8285 :'public_id' => :'public_id' ,
8386 :'_retry' => :'retry' ,
8487 :'start_url' => :'startUrl' ,
85- :'variables' => :'variables'
88+ :'variables' => :'variables' ,
89+ :'version' => :'version'
8690 }
8791 end
8892
@@ -103,7 +107,8 @@ def self.openapi_types
103107 :'public_id' => :'String' ,
104108 :'_retry' => :'SyntheticsTestOptionsRetry' ,
105109 :'start_url' => :'String' ,
106- :'variables' => :'Hash<String, String>'
110+ :'variables' => :'Hash<String, String>' ,
111+ :'version' => :'Integer'
107112 }
108113 end
109114
@@ -184,6 +189,10 @@ def initialize(attributes = {})
184189 if attributes . key? ( :'variables' )
185190 self . variables = attributes [ :'variables' ]
186191 end
192+
193+ if attributes . key? ( :'version' )
194+ self . version = attributes [ :'version' ]
195+ end
187196 end
188197
189198 # Check to see if the all the properties in the model are valid
@@ -244,14 +253,15 @@ def ==(o)
244253 _retry == o . _retry &&
245254 start_url == o . start_url &&
246255 variables == o . variables &&
256+ version == o . version &&
247257 additional_properties == o . additional_properties
248258 end
249259
250260 # Calculates hash code according to all attributes.
251261 # @return [Integer] Hash code
252262 # @!visibility private
253263 def hash
254- [ allow_insecure_certificates , basic_auth , body , body_type , cookies , device_ids , follow_redirects , headers , locations , metadata , public_id , _retry , start_url , variables , additional_properties ] . hash
264+ [ allow_insecure_certificates , basic_auth , body , body_type , cookies , device_ids , follow_redirects , headers , locations , metadata , public_id , _retry , start_url , variables , version , additional_properties ] . hash
255265 end
256266 end
257267end
0 commit comments