OLD | NEW |
1 library googleapis.compute.v1.test; | 1 library googleapis.compute.v1.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 buildCounterAccessConfig++; | 69 buildCounterAccessConfig++; |
70 if (buildCounterAccessConfig < 3) { | 70 if (buildCounterAccessConfig < 3) { |
71 unittest.expect(o.kind, unittest.equals('foo')); | 71 unittest.expect(o.kind, unittest.equals('foo')); |
72 unittest.expect(o.name, unittest.equals('foo')); | 72 unittest.expect(o.name, unittest.equals('foo')); |
73 unittest.expect(o.natIP, unittest.equals('foo')); | 73 unittest.expect(o.natIP, unittest.equals('foo')); |
74 unittest.expect(o.type, unittest.equals('foo')); | 74 unittest.expect(o.type, unittest.equals('foo')); |
75 } | 75 } |
76 buildCounterAccessConfig--; | 76 buildCounterAccessConfig--; |
77 } | 77 } |
78 | 78 |
79 buildUnnamed2006() { | 79 buildUnnamed2018() { |
80 var o = new core.List<core.String>(); | 80 var o = new core.List<core.String>(); |
81 o.add("foo"); | 81 o.add("foo"); |
82 o.add("foo"); | 82 o.add("foo"); |
83 return o; | 83 return o; |
84 } | 84 } |
85 | 85 |
86 checkUnnamed2006(core.List<core.String> o) { | 86 checkUnnamed2018(core.List<core.String> o) { |
87 unittest.expect(o, unittest.hasLength(2)); | 87 unittest.expect(o, unittest.hasLength(2)); |
88 unittest.expect(o[0], unittest.equals('foo')); | 88 unittest.expect(o[0], unittest.equals('foo')); |
89 unittest.expect(o[1], unittest.equals('foo')); | 89 unittest.expect(o[1], unittest.equals('foo')); |
90 } | 90 } |
91 | 91 |
92 core.int buildCounterAddress = 0; | 92 core.int buildCounterAddress = 0; |
93 buildAddress() { | 93 buildAddress() { |
94 var o = new api.Address(); | 94 var o = new api.Address(); |
95 buildCounterAddress++; | 95 buildCounterAddress++; |
96 if (buildCounterAddress < 3) { | 96 if (buildCounterAddress < 3) { |
97 o.address = "foo"; | 97 o.address = "foo"; |
98 o.creationTimestamp = "foo"; | 98 o.creationTimestamp = "foo"; |
99 o.description = "foo"; | 99 o.description = "foo"; |
100 o.id = "foo"; | 100 o.id = "foo"; |
101 o.kind = "foo"; | 101 o.kind = "foo"; |
102 o.name = "foo"; | 102 o.name = "foo"; |
103 o.region = "foo"; | 103 o.region = "foo"; |
104 o.selfLink = "foo"; | 104 o.selfLink = "foo"; |
105 o.status = "foo"; | 105 o.status = "foo"; |
106 o.users = buildUnnamed2006(); | 106 o.users = buildUnnamed2018(); |
107 } | 107 } |
108 buildCounterAddress--; | 108 buildCounterAddress--; |
109 return o; | 109 return o; |
110 } | 110 } |
111 | 111 |
112 checkAddress(api.Address o) { | 112 checkAddress(api.Address o) { |
113 buildCounterAddress++; | 113 buildCounterAddress++; |
114 if (buildCounterAddress < 3) { | 114 if (buildCounterAddress < 3) { |
115 unittest.expect(o.address, unittest.equals('foo')); | 115 unittest.expect(o.address, unittest.equals('foo')); |
116 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 116 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
117 unittest.expect(o.description, unittest.equals('foo')); | 117 unittest.expect(o.description, unittest.equals('foo')); |
118 unittest.expect(o.id, unittest.equals('foo')); | 118 unittest.expect(o.id, unittest.equals('foo')); |
119 unittest.expect(o.kind, unittest.equals('foo')); | 119 unittest.expect(o.kind, unittest.equals('foo')); |
120 unittest.expect(o.name, unittest.equals('foo')); | 120 unittest.expect(o.name, unittest.equals('foo')); |
121 unittest.expect(o.region, unittest.equals('foo')); | 121 unittest.expect(o.region, unittest.equals('foo')); |
122 unittest.expect(o.selfLink, unittest.equals('foo')); | 122 unittest.expect(o.selfLink, unittest.equals('foo')); |
123 unittest.expect(o.status, unittest.equals('foo')); | 123 unittest.expect(o.status, unittest.equals('foo')); |
124 checkUnnamed2006(o.users); | 124 checkUnnamed2018(o.users); |
125 } | 125 } |
126 buildCounterAddress--; | 126 buildCounterAddress--; |
127 } | 127 } |
128 | 128 |
129 buildUnnamed2007() { | 129 buildUnnamed2019() { |
130 var o = new core.Map<core.String, api.AddressesScopedList>(); | 130 var o = new core.Map<core.String, api.AddressesScopedList>(); |
131 o["x"] = buildAddressesScopedList(); | 131 o["x"] = buildAddressesScopedList(); |
132 o["y"] = buildAddressesScopedList(); | 132 o["y"] = buildAddressesScopedList(); |
133 return o; | 133 return o; |
134 } | 134 } |
135 | 135 |
136 checkUnnamed2007(core.Map<core.String, api.AddressesScopedList> o) { | 136 checkUnnamed2019(core.Map<core.String, api.AddressesScopedList> o) { |
137 unittest.expect(o, unittest.hasLength(2)); | 137 unittest.expect(o, unittest.hasLength(2)); |
138 checkAddressesScopedList(o["x"]); | 138 checkAddressesScopedList(o["x"]); |
139 checkAddressesScopedList(o["y"]); | 139 checkAddressesScopedList(o["y"]); |
140 } | 140 } |
141 | 141 |
142 core.int buildCounterAddressAggregatedList = 0; | 142 core.int buildCounterAddressAggregatedList = 0; |
143 buildAddressAggregatedList() { | 143 buildAddressAggregatedList() { |
144 var o = new api.AddressAggregatedList(); | 144 var o = new api.AddressAggregatedList(); |
145 buildCounterAddressAggregatedList++; | 145 buildCounterAddressAggregatedList++; |
146 if (buildCounterAddressAggregatedList < 3) { | 146 if (buildCounterAddressAggregatedList < 3) { |
147 o.id = "foo"; | 147 o.id = "foo"; |
148 o.items = buildUnnamed2007(); | 148 o.items = buildUnnamed2019(); |
149 o.kind = "foo"; | 149 o.kind = "foo"; |
150 o.nextPageToken = "foo"; | 150 o.nextPageToken = "foo"; |
151 o.selfLink = "foo"; | 151 o.selfLink = "foo"; |
152 } | 152 } |
153 buildCounterAddressAggregatedList--; | 153 buildCounterAddressAggregatedList--; |
154 return o; | 154 return o; |
155 } | 155 } |
156 | 156 |
157 checkAddressAggregatedList(api.AddressAggregatedList o) { | 157 checkAddressAggregatedList(api.AddressAggregatedList o) { |
158 buildCounterAddressAggregatedList++; | 158 buildCounterAddressAggregatedList++; |
159 if (buildCounterAddressAggregatedList < 3) { | 159 if (buildCounterAddressAggregatedList < 3) { |
160 unittest.expect(o.id, unittest.equals('foo')); | 160 unittest.expect(o.id, unittest.equals('foo')); |
161 checkUnnamed2007(o.items); | 161 checkUnnamed2019(o.items); |
162 unittest.expect(o.kind, unittest.equals('foo')); | 162 unittest.expect(o.kind, unittest.equals('foo')); |
163 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 163 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
164 unittest.expect(o.selfLink, unittest.equals('foo')); | 164 unittest.expect(o.selfLink, unittest.equals('foo')); |
165 } | 165 } |
166 buildCounterAddressAggregatedList--; | 166 buildCounterAddressAggregatedList--; |
167 } | 167 } |
168 | 168 |
169 buildUnnamed2008() { | 169 buildUnnamed2020() { |
170 var o = new core.List<api.Address>(); | 170 var o = new core.List<api.Address>(); |
171 o.add(buildAddress()); | 171 o.add(buildAddress()); |
172 o.add(buildAddress()); | 172 o.add(buildAddress()); |
173 return o; | 173 return o; |
174 } | 174 } |
175 | 175 |
176 checkUnnamed2008(core.List<api.Address> o) { | 176 checkUnnamed2020(core.List<api.Address> o) { |
177 unittest.expect(o, unittest.hasLength(2)); | 177 unittest.expect(o, unittest.hasLength(2)); |
178 checkAddress(o[0]); | 178 checkAddress(o[0]); |
179 checkAddress(o[1]); | 179 checkAddress(o[1]); |
180 } | 180 } |
181 | 181 |
182 core.int buildCounterAddressList = 0; | 182 core.int buildCounterAddressList = 0; |
183 buildAddressList() { | 183 buildAddressList() { |
184 var o = new api.AddressList(); | 184 var o = new api.AddressList(); |
185 buildCounterAddressList++; | 185 buildCounterAddressList++; |
186 if (buildCounterAddressList < 3) { | 186 if (buildCounterAddressList < 3) { |
187 o.id = "foo"; | 187 o.id = "foo"; |
188 o.items = buildUnnamed2008(); | 188 o.items = buildUnnamed2020(); |
189 o.kind = "foo"; | 189 o.kind = "foo"; |
190 o.nextPageToken = "foo"; | 190 o.nextPageToken = "foo"; |
191 o.selfLink = "foo"; | 191 o.selfLink = "foo"; |
192 } | 192 } |
193 buildCounterAddressList--; | 193 buildCounterAddressList--; |
194 return o; | 194 return o; |
195 } | 195 } |
196 | 196 |
197 checkAddressList(api.AddressList o) { | 197 checkAddressList(api.AddressList o) { |
198 buildCounterAddressList++; | 198 buildCounterAddressList++; |
199 if (buildCounterAddressList < 3) { | 199 if (buildCounterAddressList < 3) { |
200 unittest.expect(o.id, unittest.equals('foo')); | 200 unittest.expect(o.id, unittest.equals('foo')); |
201 checkUnnamed2008(o.items); | 201 checkUnnamed2020(o.items); |
202 unittest.expect(o.kind, unittest.equals('foo')); | 202 unittest.expect(o.kind, unittest.equals('foo')); |
203 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 203 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
204 unittest.expect(o.selfLink, unittest.equals('foo')); | 204 unittest.expect(o.selfLink, unittest.equals('foo')); |
205 } | 205 } |
206 buildCounterAddressList--; | 206 buildCounterAddressList--; |
207 } | 207 } |
208 | 208 |
209 buildUnnamed2009() { | 209 buildUnnamed2021() { |
210 var o = new core.List<api.Address>(); | 210 var o = new core.List<api.Address>(); |
211 o.add(buildAddress()); | 211 o.add(buildAddress()); |
212 o.add(buildAddress()); | 212 o.add(buildAddress()); |
213 return o; | 213 return o; |
214 } | 214 } |
215 | 215 |
216 checkUnnamed2009(core.List<api.Address> o) { | 216 checkUnnamed2021(core.List<api.Address> o) { |
217 unittest.expect(o, unittest.hasLength(2)); | 217 unittest.expect(o, unittest.hasLength(2)); |
218 checkAddress(o[0]); | 218 checkAddress(o[0]); |
219 checkAddress(o[1]); | 219 checkAddress(o[1]); |
220 } | 220 } |
221 | 221 |
222 core.int buildCounterAddressesScopedListWarningData = 0; | 222 core.int buildCounterAddressesScopedListWarningData = 0; |
223 buildAddressesScopedListWarningData() { | 223 buildAddressesScopedListWarningData() { |
224 var o = new api.AddressesScopedListWarningData(); | 224 var o = new api.AddressesScopedListWarningData(); |
225 buildCounterAddressesScopedListWarningData++; | 225 buildCounterAddressesScopedListWarningData++; |
226 if (buildCounterAddressesScopedListWarningData < 3) { | 226 if (buildCounterAddressesScopedListWarningData < 3) { |
227 o.key = "foo"; | 227 o.key = "foo"; |
228 o.value = "foo"; | 228 o.value = "foo"; |
229 } | 229 } |
230 buildCounterAddressesScopedListWarningData--; | 230 buildCounterAddressesScopedListWarningData--; |
231 return o; | 231 return o; |
232 } | 232 } |
233 | 233 |
234 checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { | 234 checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) { |
235 buildCounterAddressesScopedListWarningData++; | 235 buildCounterAddressesScopedListWarningData++; |
236 if (buildCounterAddressesScopedListWarningData < 3) { | 236 if (buildCounterAddressesScopedListWarningData < 3) { |
237 unittest.expect(o.key, unittest.equals('foo')); | 237 unittest.expect(o.key, unittest.equals('foo')); |
238 unittest.expect(o.value, unittest.equals('foo')); | 238 unittest.expect(o.value, unittest.equals('foo')); |
239 } | 239 } |
240 buildCounterAddressesScopedListWarningData--; | 240 buildCounterAddressesScopedListWarningData--; |
241 } | 241 } |
242 | 242 |
243 buildUnnamed2010() { | 243 buildUnnamed2022() { |
244 var o = new core.List<api.AddressesScopedListWarningData>(); | 244 var o = new core.List<api.AddressesScopedListWarningData>(); |
245 o.add(buildAddressesScopedListWarningData()); | 245 o.add(buildAddressesScopedListWarningData()); |
246 o.add(buildAddressesScopedListWarningData()); | 246 o.add(buildAddressesScopedListWarningData()); |
247 return o; | 247 return o; |
248 } | 248 } |
249 | 249 |
250 checkUnnamed2010(core.List<api.AddressesScopedListWarningData> o) { | 250 checkUnnamed2022(core.List<api.AddressesScopedListWarningData> o) { |
251 unittest.expect(o, unittest.hasLength(2)); | 251 unittest.expect(o, unittest.hasLength(2)); |
252 checkAddressesScopedListWarningData(o[0]); | 252 checkAddressesScopedListWarningData(o[0]); |
253 checkAddressesScopedListWarningData(o[1]); | 253 checkAddressesScopedListWarningData(o[1]); |
254 } | 254 } |
255 | 255 |
256 core.int buildCounterAddressesScopedListWarning = 0; | 256 core.int buildCounterAddressesScopedListWarning = 0; |
257 buildAddressesScopedListWarning() { | 257 buildAddressesScopedListWarning() { |
258 var o = new api.AddressesScopedListWarning(); | 258 var o = new api.AddressesScopedListWarning(); |
259 buildCounterAddressesScopedListWarning++; | 259 buildCounterAddressesScopedListWarning++; |
260 if (buildCounterAddressesScopedListWarning < 3) { | 260 if (buildCounterAddressesScopedListWarning < 3) { |
261 o.code = "foo"; | 261 o.code = "foo"; |
262 o.data = buildUnnamed2010(); | 262 o.data = buildUnnamed2022(); |
263 o.message = "foo"; | 263 o.message = "foo"; |
264 } | 264 } |
265 buildCounterAddressesScopedListWarning--; | 265 buildCounterAddressesScopedListWarning--; |
266 return o; | 266 return o; |
267 } | 267 } |
268 | 268 |
269 checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { | 269 checkAddressesScopedListWarning(api.AddressesScopedListWarning o) { |
270 buildCounterAddressesScopedListWarning++; | 270 buildCounterAddressesScopedListWarning++; |
271 if (buildCounterAddressesScopedListWarning < 3) { | 271 if (buildCounterAddressesScopedListWarning < 3) { |
272 unittest.expect(o.code, unittest.equals('foo')); | 272 unittest.expect(o.code, unittest.equals('foo')); |
273 checkUnnamed2010(o.data); | 273 checkUnnamed2022(o.data); |
274 unittest.expect(o.message, unittest.equals('foo')); | 274 unittest.expect(o.message, unittest.equals('foo')); |
275 } | 275 } |
276 buildCounterAddressesScopedListWarning--; | 276 buildCounterAddressesScopedListWarning--; |
277 } | 277 } |
278 | 278 |
279 core.int buildCounterAddressesScopedList = 0; | 279 core.int buildCounterAddressesScopedList = 0; |
280 buildAddressesScopedList() { | 280 buildAddressesScopedList() { |
281 var o = new api.AddressesScopedList(); | 281 var o = new api.AddressesScopedList(); |
282 buildCounterAddressesScopedList++; | 282 buildCounterAddressesScopedList++; |
283 if (buildCounterAddressesScopedList < 3) { | 283 if (buildCounterAddressesScopedList < 3) { |
284 o.addresses = buildUnnamed2009(); | 284 o.addresses = buildUnnamed2021(); |
285 o.warning = buildAddressesScopedListWarning(); | 285 o.warning = buildAddressesScopedListWarning(); |
286 } | 286 } |
287 buildCounterAddressesScopedList--; | 287 buildCounterAddressesScopedList--; |
288 return o; | 288 return o; |
289 } | 289 } |
290 | 290 |
291 checkAddressesScopedList(api.AddressesScopedList o) { | 291 checkAddressesScopedList(api.AddressesScopedList o) { |
292 buildCounterAddressesScopedList++; | 292 buildCounterAddressesScopedList++; |
293 if (buildCounterAddressesScopedList < 3) { | 293 if (buildCounterAddressesScopedList < 3) { |
294 checkUnnamed2009(o.addresses); | 294 checkUnnamed2021(o.addresses); |
295 checkAddressesScopedListWarning(o.warning); | 295 checkAddressesScopedListWarning(o.warning); |
296 } | 296 } |
297 buildCounterAddressesScopedList--; | 297 buildCounterAddressesScopedList--; |
298 } | 298 } |
299 | 299 |
300 buildUnnamed2011() { | 300 buildUnnamed2023() { |
301 var o = new core.List<core.String>(); | 301 var o = new core.List<core.String>(); |
302 o.add("foo"); | 302 o.add("foo"); |
303 o.add("foo"); | 303 o.add("foo"); |
304 return o; | 304 return o; |
305 } | 305 } |
306 | 306 |
307 checkUnnamed2011(core.List<core.String> o) { | 307 checkUnnamed2023(core.List<core.String> o) { |
308 unittest.expect(o, unittest.hasLength(2)); | 308 unittest.expect(o, unittest.hasLength(2)); |
309 unittest.expect(o[0], unittest.equals('foo')); | 309 unittest.expect(o[0], unittest.equals('foo')); |
310 unittest.expect(o[1], unittest.equals('foo')); | 310 unittest.expect(o[1], unittest.equals('foo')); |
311 } | 311 } |
312 | 312 |
313 core.int buildCounterAttachedDisk = 0; | 313 core.int buildCounterAttachedDisk = 0; |
314 buildAttachedDisk() { | 314 buildAttachedDisk() { |
315 var o = new api.AttachedDisk(); | 315 var o = new api.AttachedDisk(); |
316 buildCounterAttachedDisk++; | 316 buildCounterAttachedDisk++; |
317 if (buildCounterAttachedDisk < 3) { | 317 if (buildCounterAttachedDisk < 3) { |
318 o.autoDelete = true; | 318 o.autoDelete = true; |
319 o.boot = true; | 319 o.boot = true; |
320 o.deviceName = "foo"; | 320 o.deviceName = "foo"; |
321 o.diskEncryptionKey = buildCustomerEncryptionKey(); | 321 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
322 o.index = 42; | 322 o.index = 42; |
323 o.initializeParams = buildAttachedDiskInitializeParams(); | 323 o.initializeParams = buildAttachedDiskInitializeParams(); |
324 o.interface = "foo"; | 324 o.interface = "foo"; |
325 o.kind = "foo"; | 325 o.kind = "foo"; |
326 o.licenses = buildUnnamed2011(); | 326 o.licenses = buildUnnamed2023(); |
327 o.mode = "foo"; | 327 o.mode = "foo"; |
328 o.source = "foo"; | 328 o.source = "foo"; |
329 o.type = "foo"; | 329 o.type = "foo"; |
330 } | 330 } |
331 buildCounterAttachedDisk--; | 331 buildCounterAttachedDisk--; |
332 return o; | 332 return o; |
333 } | 333 } |
334 | 334 |
335 checkAttachedDisk(api.AttachedDisk o) { | 335 checkAttachedDisk(api.AttachedDisk o) { |
336 buildCounterAttachedDisk++; | 336 buildCounterAttachedDisk++; |
337 if (buildCounterAttachedDisk < 3) { | 337 if (buildCounterAttachedDisk < 3) { |
338 unittest.expect(o.autoDelete, unittest.isTrue); | 338 unittest.expect(o.autoDelete, unittest.isTrue); |
339 unittest.expect(o.boot, unittest.isTrue); | 339 unittest.expect(o.boot, unittest.isTrue); |
340 unittest.expect(o.deviceName, unittest.equals('foo')); | 340 unittest.expect(o.deviceName, unittest.equals('foo')); |
341 checkCustomerEncryptionKey(o.diskEncryptionKey); | 341 checkCustomerEncryptionKey(o.diskEncryptionKey); |
342 unittest.expect(o.index, unittest.equals(42)); | 342 unittest.expect(o.index, unittest.equals(42)); |
343 checkAttachedDiskInitializeParams(o.initializeParams); | 343 checkAttachedDiskInitializeParams(o.initializeParams); |
344 unittest.expect(o.interface, unittest.equals('foo')); | 344 unittest.expect(o.interface, unittest.equals('foo')); |
345 unittest.expect(o.kind, unittest.equals('foo')); | 345 unittest.expect(o.kind, unittest.equals('foo')); |
346 checkUnnamed2011(o.licenses); | 346 checkUnnamed2023(o.licenses); |
347 unittest.expect(o.mode, unittest.equals('foo')); | 347 unittest.expect(o.mode, unittest.equals('foo')); |
348 unittest.expect(o.source, unittest.equals('foo')); | 348 unittest.expect(o.source, unittest.equals('foo')); |
349 unittest.expect(o.type, unittest.equals('foo')); | 349 unittest.expect(o.type, unittest.equals('foo')); |
350 } | 350 } |
351 buildCounterAttachedDisk--; | 351 buildCounterAttachedDisk--; |
352 } | 352 } |
353 | 353 |
354 core.int buildCounterAttachedDiskInitializeParams = 0; | 354 core.int buildCounterAttachedDiskInitializeParams = 0; |
355 buildAttachedDiskInitializeParams() { | 355 buildAttachedDiskInitializeParams() { |
356 var o = new api.AttachedDiskInitializeParams(); | 356 var o = new api.AttachedDiskInitializeParams(); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 unittest.expect(o.kind, unittest.equals('foo')); | 408 unittest.expect(o.kind, unittest.equals('foo')); |
409 unittest.expect(o.name, unittest.equals('foo')); | 409 unittest.expect(o.name, unittest.equals('foo')); |
410 unittest.expect(o.region, unittest.equals('foo')); | 410 unittest.expect(o.region, unittest.equals('foo')); |
411 unittest.expect(o.selfLink, unittest.equals('foo')); | 411 unittest.expect(o.selfLink, unittest.equals('foo')); |
412 unittest.expect(o.target, unittest.equals('foo')); | 412 unittest.expect(o.target, unittest.equals('foo')); |
413 unittest.expect(o.zone, unittest.equals('foo')); | 413 unittest.expect(o.zone, unittest.equals('foo')); |
414 } | 414 } |
415 buildCounterAutoscaler--; | 415 buildCounterAutoscaler--; |
416 } | 416 } |
417 | 417 |
418 buildUnnamed2012() { | 418 buildUnnamed2024() { |
419 var o = new core.Map<core.String, api.AutoscalersScopedList>(); | 419 var o = new core.Map<core.String, api.AutoscalersScopedList>(); |
420 o["x"] = buildAutoscalersScopedList(); | 420 o["x"] = buildAutoscalersScopedList(); |
421 o["y"] = buildAutoscalersScopedList(); | 421 o["y"] = buildAutoscalersScopedList(); |
422 return o; | 422 return o; |
423 } | 423 } |
424 | 424 |
425 checkUnnamed2012(core.Map<core.String, api.AutoscalersScopedList> o) { | 425 checkUnnamed2024(core.Map<core.String, api.AutoscalersScopedList> o) { |
426 unittest.expect(o, unittest.hasLength(2)); | 426 unittest.expect(o, unittest.hasLength(2)); |
427 checkAutoscalersScopedList(o["x"]); | 427 checkAutoscalersScopedList(o["x"]); |
428 checkAutoscalersScopedList(o["y"]); | 428 checkAutoscalersScopedList(o["y"]); |
429 } | 429 } |
430 | 430 |
431 core.int buildCounterAutoscalerAggregatedList = 0; | 431 core.int buildCounterAutoscalerAggregatedList = 0; |
432 buildAutoscalerAggregatedList() { | 432 buildAutoscalerAggregatedList() { |
433 var o = new api.AutoscalerAggregatedList(); | 433 var o = new api.AutoscalerAggregatedList(); |
434 buildCounterAutoscalerAggregatedList++; | 434 buildCounterAutoscalerAggregatedList++; |
435 if (buildCounterAutoscalerAggregatedList < 3) { | 435 if (buildCounterAutoscalerAggregatedList < 3) { |
436 o.id = "foo"; | 436 o.id = "foo"; |
437 o.items = buildUnnamed2012(); | 437 o.items = buildUnnamed2024(); |
438 o.kind = "foo"; | 438 o.kind = "foo"; |
439 o.nextPageToken = "foo"; | 439 o.nextPageToken = "foo"; |
440 o.selfLink = "foo"; | 440 o.selfLink = "foo"; |
441 } | 441 } |
442 buildCounterAutoscalerAggregatedList--; | 442 buildCounterAutoscalerAggregatedList--; |
443 return o; | 443 return o; |
444 } | 444 } |
445 | 445 |
446 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { | 446 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { |
447 buildCounterAutoscalerAggregatedList++; | 447 buildCounterAutoscalerAggregatedList++; |
448 if (buildCounterAutoscalerAggregatedList < 3) { | 448 if (buildCounterAutoscalerAggregatedList < 3) { |
449 unittest.expect(o.id, unittest.equals('foo')); | 449 unittest.expect(o.id, unittest.equals('foo')); |
450 checkUnnamed2012(o.items); | 450 checkUnnamed2024(o.items); |
451 unittest.expect(o.kind, unittest.equals('foo')); | 451 unittest.expect(o.kind, unittest.equals('foo')); |
452 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 452 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
453 unittest.expect(o.selfLink, unittest.equals('foo')); | 453 unittest.expect(o.selfLink, unittest.equals('foo')); |
454 } | 454 } |
455 buildCounterAutoscalerAggregatedList--; | 455 buildCounterAutoscalerAggregatedList--; |
456 } | 456 } |
457 | 457 |
458 buildUnnamed2013() { | 458 buildUnnamed2025() { |
459 var o = new core.List<api.Autoscaler>(); | 459 var o = new core.List<api.Autoscaler>(); |
460 o.add(buildAutoscaler()); | 460 o.add(buildAutoscaler()); |
461 o.add(buildAutoscaler()); | 461 o.add(buildAutoscaler()); |
462 return o; | 462 return o; |
463 } | 463 } |
464 | 464 |
465 checkUnnamed2013(core.List<api.Autoscaler> o) { | 465 checkUnnamed2025(core.List<api.Autoscaler> o) { |
466 unittest.expect(o, unittest.hasLength(2)); | 466 unittest.expect(o, unittest.hasLength(2)); |
467 checkAutoscaler(o[0]); | 467 checkAutoscaler(o[0]); |
468 checkAutoscaler(o[1]); | 468 checkAutoscaler(o[1]); |
469 } | 469 } |
470 | 470 |
471 core.int buildCounterAutoscalerList = 0; | 471 core.int buildCounterAutoscalerList = 0; |
472 buildAutoscalerList() { | 472 buildAutoscalerList() { |
473 var o = new api.AutoscalerList(); | 473 var o = new api.AutoscalerList(); |
474 buildCounterAutoscalerList++; | 474 buildCounterAutoscalerList++; |
475 if (buildCounterAutoscalerList < 3) { | 475 if (buildCounterAutoscalerList < 3) { |
476 o.id = "foo"; | 476 o.id = "foo"; |
477 o.items = buildUnnamed2013(); | 477 o.items = buildUnnamed2025(); |
478 o.kind = "foo"; | 478 o.kind = "foo"; |
479 o.nextPageToken = "foo"; | 479 o.nextPageToken = "foo"; |
480 o.selfLink = "foo"; | 480 o.selfLink = "foo"; |
481 } | 481 } |
482 buildCounterAutoscalerList--; | 482 buildCounterAutoscalerList--; |
483 return o; | 483 return o; |
484 } | 484 } |
485 | 485 |
486 checkAutoscalerList(api.AutoscalerList o) { | 486 checkAutoscalerList(api.AutoscalerList o) { |
487 buildCounterAutoscalerList++; | 487 buildCounterAutoscalerList++; |
488 if (buildCounterAutoscalerList < 3) { | 488 if (buildCounterAutoscalerList < 3) { |
489 unittest.expect(o.id, unittest.equals('foo')); | 489 unittest.expect(o.id, unittest.equals('foo')); |
490 checkUnnamed2013(o.items); | 490 checkUnnamed2025(o.items); |
491 unittest.expect(o.kind, unittest.equals('foo')); | 491 unittest.expect(o.kind, unittest.equals('foo')); |
492 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 492 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
493 unittest.expect(o.selfLink, unittest.equals('foo')); | 493 unittest.expect(o.selfLink, unittest.equals('foo')); |
494 } | 494 } |
495 buildCounterAutoscalerList--; | 495 buildCounterAutoscalerList--; |
496 } | 496 } |
497 | 497 |
498 buildUnnamed2014() { | 498 buildUnnamed2026() { |
499 var o = new core.List<api.Autoscaler>(); | 499 var o = new core.List<api.Autoscaler>(); |
500 o.add(buildAutoscaler()); | 500 o.add(buildAutoscaler()); |
501 o.add(buildAutoscaler()); | 501 o.add(buildAutoscaler()); |
502 return o; | 502 return o; |
503 } | 503 } |
504 | 504 |
505 checkUnnamed2014(core.List<api.Autoscaler> o) { | 505 checkUnnamed2026(core.List<api.Autoscaler> o) { |
506 unittest.expect(o, unittest.hasLength(2)); | 506 unittest.expect(o, unittest.hasLength(2)); |
507 checkAutoscaler(o[0]); | 507 checkAutoscaler(o[0]); |
508 checkAutoscaler(o[1]); | 508 checkAutoscaler(o[1]); |
509 } | 509 } |
510 | 510 |
511 core.int buildCounterAutoscalersScopedListWarningData = 0; | 511 core.int buildCounterAutoscalersScopedListWarningData = 0; |
512 buildAutoscalersScopedListWarningData() { | 512 buildAutoscalersScopedListWarningData() { |
513 var o = new api.AutoscalersScopedListWarningData(); | 513 var o = new api.AutoscalersScopedListWarningData(); |
514 buildCounterAutoscalersScopedListWarningData++; | 514 buildCounterAutoscalersScopedListWarningData++; |
515 if (buildCounterAutoscalersScopedListWarningData < 3) { | 515 if (buildCounterAutoscalersScopedListWarningData < 3) { |
516 o.key = "foo"; | 516 o.key = "foo"; |
517 o.value = "foo"; | 517 o.value = "foo"; |
518 } | 518 } |
519 buildCounterAutoscalersScopedListWarningData--; | 519 buildCounterAutoscalersScopedListWarningData--; |
520 return o; | 520 return o; |
521 } | 521 } |
522 | 522 |
523 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { | 523 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { |
524 buildCounterAutoscalersScopedListWarningData++; | 524 buildCounterAutoscalersScopedListWarningData++; |
525 if (buildCounterAutoscalersScopedListWarningData < 3) { | 525 if (buildCounterAutoscalersScopedListWarningData < 3) { |
526 unittest.expect(o.key, unittest.equals('foo')); | 526 unittest.expect(o.key, unittest.equals('foo')); |
527 unittest.expect(o.value, unittest.equals('foo')); | 527 unittest.expect(o.value, unittest.equals('foo')); |
528 } | 528 } |
529 buildCounterAutoscalersScopedListWarningData--; | 529 buildCounterAutoscalersScopedListWarningData--; |
530 } | 530 } |
531 | 531 |
532 buildUnnamed2015() { | 532 buildUnnamed2027() { |
533 var o = new core.List<api.AutoscalersScopedListWarningData>(); | 533 var o = new core.List<api.AutoscalersScopedListWarningData>(); |
534 o.add(buildAutoscalersScopedListWarningData()); | 534 o.add(buildAutoscalersScopedListWarningData()); |
535 o.add(buildAutoscalersScopedListWarningData()); | 535 o.add(buildAutoscalersScopedListWarningData()); |
536 return o; | 536 return o; |
537 } | 537 } |
538 | 538 |
539 checkUnnamed2015(core.List<api.AutoscalersScopedListWarningData> o) { | 539 checkUnnamed2027(core.List<api.AutoscalersScopedListWarningData> o) { |
540 unittest.expect(o, unittest.hasLength(2)); | 540 unittest.expect(o, unittest.hasLength(2)); |
541 checkAutoscalersScopedListWarningData(o[0]); | 541 checkAutoscalersScopedListWarningData(o[0]); |
542 checkAutoscalersScopedListWarningData(o[1]); | 542 checkAutoscalersScopedListWarningData(o[1]); |
543 } | 543 } |
544 | 544 |
545 core.int buildCounterAutoscalersScopedListWarning = 0; | 545 core.int buildCounterAutoscalersScopedListWarning = 0; |
546 buildAutoscalersScopedListWarning() { | 546 buildAutoscalersScopedListWarning() { |
547 var o = new api.AutoscalersScopedListWarning(); | 547 var o = new api.AutoscalersScopedListWarning(); |
548 buildCounterAutoscalersScopedListWarning++; | 548 buildCounterAutoscalersScopedListWarning++; |
549 if (buildCounterAutoscalersScopedListWarning < 3) { | 549 if (buildCounterAutoscalersScopedListWarning < 3) { |
550 o.code = "foo"; | 550 o.code = "foo"; |
551 o.data = buildUnnamed2015(); | 551 o.data = buildUnnamed2027(); |
552 o.message = "foo"; | 552 o.message = "foo"; |
553 } | 553 } |
554 buildCounterAutoscalersScopedListWarning--; | 554 buildCounterAutoscalersScopedListWarning--; |
555 return o; | 555 return o; |
556 } | 556 } |
557 | 557 |
558 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { | 558 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { |
559 buildCounterAutoscalersScopedListWarning++; | 559 buildCounterAutoscalersScopedListWarning++; |
560 if (buildCounterAutoscalersScopedListWarning < 3) { | 560 if (buildCounterAutoscalersScopedListWarning < 3) { |
561 unittest.expect(o.code, unittest.equals('foo')); | 561 unittest.expect(o.code, unittest.equals('foo')); |
562 checkUnnamed2015(o.data); | 562 checkUnnamed2027(o.data); |
563 unittest.expect(o.message, unittest.equals('foo')); | 563 unittest.expect(o.message, unittest.equals('foo')); |
564 } | 564 } |
565 buildCounterAutoscalersScopedListWarning--; | 565 buildCounterAutoscalersScopedListWarning--; |
566 } | 566 } |
567 | 567 |
568 core.int buildCounterAutoscalersScopedList = 0; | 568 core.int buildCounterAutoscalersScopedList = 0; |
569 buildAutoscalersScopedList() { | 569 buildAutoscalersScopedList() { |
570 var o = new api.AutoscalersScopedList(); | 570 var o = new api.AutoscalersScopedList(); |
571 buildCounterAutoscalersScopedList++; | 571 buildCounterAutoscalersScopedList++; |
572 if (buildCounterAutoscalersScopedList < 3) { | 572 if (buildCounterAutoscalersScopedList < 3) { |
573 o.autoscalers = buildUnnamed2014(); | 573 o.autoscalers = buildUnnamed2026(); |
574 o.warning = buildAutoscalersScopedListWarning(); | 574 o.warning = buildAutoscalersScopedListWarning(); |
575 } | 575 } |
576 buildCounterAutoscalersScopedList--; | 576 buildCounterAutoscalersScopedList--; |
577 return o; | 577 return o; |
578 } | 578 } |
579 | 579 |
580 checkAutoscalersScopedList(api.AutoscalersScopedList o) { | 580 checkAutoscalersScopedList(api.AutoscalersScopedList o) { |
581 buildCounterAutoscalersScopedList++; | 581 buildCounterAutoscalersScopedList++; |
582 if (buildCounterAutoscalersScopedList < 3) { | 582 if (buildCounterAutoscalersScopedList < 3) { |
583 checkUnnamed2014(o.autoscalers); | 583 checkUnnamed2026(o.autoscalers); |
584 checkAutoscalersScopedListWarning(o.warning); | 584 checkAutoscalersScopedListWarning(o.warning); |
585 } | 585 } |
586 buildCounterAutoscalersScopedList--; | 586 buildCounterAutoscalersScopedList--; |
587 } | 587 } |
588 | 588 |
589 buildUnnamed2016() { | 589 buildUnnamed2028() { |
590 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); | 590 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); |
591 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 591 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
592 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 592 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
593 return o; | 593 return o; |
594 } | 594 } |
595 | 595 |
596 checkUnnamed2016(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { | 596 checkUnnamed2028(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { |
597 unittest.expect(o, unittest.hasLength(2)); | 597 unittest.expect(o, unittest.hasLength(2)); |
598 checkAutoscalingPolicyCustomMetricUtilization(o[0]); | 598 checkAutoscalingPolicyCustomMetricUtilization(o[0]); |
599 checkAutoscalingPolicyCustomMetricUtilization(o[1]); | 599 checkAutoscalingPolicyCustomMetricUtilization(o[1]); |
600 } | 600 } |
601 | 601 |
602 core.int buildCounterAutoscalingPolicy = 0; | 602 core.int buildCounterAutoscalingPolicy = 0; |
603 buildAutoscalingPolicy() { | 603 buildAutoscalingPolicy() { |
604 var o = new api.AutoscalingPolicy(); | 604 var o = new api.AutoscalingPolicy(); |
605 buildCounterAutoscalingPolicy++; | 605 buildCounterAutoscalingPolicy++; |
606 if (buildCounterAutoscalingPolicy < 3) { | 606 if (buildCounterAutoscalingPolicy < 3) { |
607 o.coolDownPeriodSec = 42; | 607 o.coolDownPeriodSec = 42; |
608 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); | 608 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); |
609 o.customMetricUtilizations = buildUnnamed2016(); | 609 o.customMetricUtilizations = buildUnnamed2028(); |
610 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); | 610 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); |
611 o.maxNumReplicas = 42; | 611 o.maxNumReplicas = 42; |
612 o.minNumReplicas = 42; | 612 o.minNumReplicas = 42; |
613 } | 613 } |
614 buildCounterAutoscalingPolicy--; | 614 buildCounterAutoscalingPolicy--; |
615 return o; | 615 return o; |
616 } | 616 } |
617 | 617 |
618 checkAutoscalingPolicy(api.AutoscalingPolicy o) { | 618 checkAutoscalingPolicy(api.AutoscalingPolicy o) { |
619 buildCounterAutoscalingPolicy++; | 619 buildCounterAutoscalingPolicy++; |
620 if (buildCounterAutoscalingPolicy < 3) { | 620 if (buildCounterAutoscalingPolicy < 3) { |
621 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); | 621 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); |
622 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); | 622 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); |
623 checkUnnamed2016(o.customMetricUtilizations); | 623 checkUnnamed2028(o.customMetricUtilizations); |
624 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); | 624 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); |
625 unittest.expect(o.maxNumReplicas, unittest.equals(42)); | 625 unittest.expect(o.maxNumReplicas, unittest.equals(42)); |
626 unittest.expect(o.minNumReplicas, unittest.equals(42)); | 626 unittest.expect(o.minNumReplicas, unittest.equals(42)); |
627 } | 627 } |
628 buildCounterAutoscalingPolicy--; | 628 buildCounterAutoscalingPolicy--; |
629 } | 629 } |
630 | 630 |
631 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; | 631 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; |
632 buildAutoscalingPolicyCpuUtilization() { | 632 buildAutoscalingPolicyCpuUtilization() { |
633 var o = new api.AutoscalingPolicyCpuUtilization(); | 633 var o = new api.AutoscalingPolicyCpuUtilization(); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 unittest.expect(o.description, unittest.equals('foo')); | 750 unittest.expect(o.description, unittest.equals('foo')); |
751 unittest.expect(o.enableCdn, unittest.isTrue); | 751 unittest.expect(o.enableCdn, unittest.isTrue); |
752 unittest.expect(o.id, unittest.equals('foo')); | 752 unittest.expect(o.id, unittest.equals('foo')); |
753 unittest.expect(o.kind, unittest.equals('foo')); | 753 unittest.expect(o.kind, unittest.equals('foo')); |
754 unittest.expect(o.name, unittest.equals('foo')); | 754 unittest.expect(o.name, unittest.equals('foo')); |
755 unittest.expect(o.selfLink, unittest.equals('foo')); | 755 unittest.expect(o.selfLink, unittest.equals('foo')); |
756 } | 756 } |
757 buildCounterBackendBucket--; | 757 buildCounterBackendBucket--; |
758 } | 758 } |
759 | 759 |
760 buildUnnamed2017() { | 760 buildUnnamed2029() { |
761 var o = new core.List<api.BackendBucket>(); | 761 var o = new core.List<api.BackendBucket>(); |
762 o.add(buildBackendBucket()); | 762 o.add(buildBackendBucket()); |
763 o.add(buildBackendBucket()); | 763 o.add(buildBackendBucket()); |
764 return o; | 764 return o; |
765 } | 765 } |
766 | 766 |
767 checkUnnamed2017(core.List<api.BackendBucket> o) { | 767 checkUnnamed2029(core.List<api.BackendBucket> o) { |
768 unittest.expect(o, unittest.hasLength(2)); | 768 unittest.expect(o, unittest.hasLength(2)); |
769 checkBackendBucket(o[0]); | 769 checkBackendBucket(o[0]); |
770 checkBackendBucket(o[1]); | 770 checkBackendBucket(o[1]); |
771 } | 771 } |
772 | 772 |
773 core.int buildCounterBackendBucketList = 0; | 773 core.int buildCounterBackendBucketList = 0; |
774 buildBackendBucketList() { | 774 buildBackendBucketList() { |
775 var o = new api.BackendBucketList(); | 775 var o = new api.BackendBucketList(); |
776 buildCounterBackendBucketList++; | 776 buildCounterBackendBucketList++; |
777 if (buildCounterBackendBucketList < 3) { | 777 if (buildCounterBackendBucketList < 3) { |
778 o.id = "foo"; | 778 o.id = "foo"; |
779 o.items = buildUnnamed2017(); | 779 o.items = buildUnnamed2029(); |
780 o.kind = "foo"; | 780 o.kind = "foo"; |
781 o.nextPageToken = "foo"; | 781 o.nextPageToken = "foo"; |
782 o.selfLink = "foo"; | 782 o.selfLink = "foo"; |
783 } | 783 } |
784 buildCounterBackendBucketList--; | 784 buildCounterBackendBucketList--; |
785 return o; | 785 return o; |
786 } | 786 } |
787 | 787 |
788 checkBackendBucketList(api.BackendBucketList o) { | 788 checkBackendBucketList(api.BackendBucketList o) { |
789 buildCounterBackendBucketList++; | 789 buildCounterBackendBucketList++; |
790 if (buildCounterBackendBucketList < 3) { | 790 if (buildCounterBackendBucketList < 3) { |
791 unittest.expect(o.id, unittest.equals('foo')); | 791 unittest.expect(o.id, unittest.equals('foo')); |
792 checkUnnamed2017(o.items); | 792 checkUnnamed2029(o.items); |
793 unittest.expect(o.kind, unittest.equals('foo')); | 793 unittest.expect(o.kind, unittest.equals('foo')); |
794 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 794 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
795 unittest.expect(o.selfLink, unittest.equals('foo')); | 795 unittest.expect(o.selfLink, unittest.equals('foo')); |
796 } | 796 } |
797 buildCounterBackendBucketList--; | 797 buildCounterBackendBucketList--; |
798 } | 798 } |
799 | 799 |
800 buildUnnamed2018() { | 800 buildUnnamed2030() { |
801 var o = new core.List<api.Backend>(); | 801 var o = new core.List<api.Backend>(); |
802 o.add(buildBackend()); | 802 o.add(buildBackend()); |
803 o.add(buildBackend()); | 803 o.add(buildBackend()); |
804 return o; | 804 return o; |
805 } | 805 } |
806 | 806 |
807 checkUnnamed2018(core.List<api.Backend> o) { | 807 checkUnnamed2030(core.List<api.Backend> o) { |
808 unittest.expect(o, unittest.hasLength(2)); | 808 unittest.expect(o, unittest.hasLength(2)); |
809 checkBackend(o[0]); | 809 checkBackend(o[0]); |
810 checkBackend(o[1]); | 810 checkBackend(o[1]); |
811 } | 811 } |
812 | 812 |
813 buildUnnamed2019() { | 813 buildUnnamed2031() { |
814 var o = new core.List<core.String>(); | 814 var o = new core.List<core.String>(); |
815 o.add("foo"); | 815 o.add("foo"); |
816 o.add("foo"); | 816 o.add("foo"); |
817 return o; | 817 return o; |
818 } | 818 } |
819 | 819 |
820 checkUnnamed2019(core.List<core.String> o) { | 820 checkUnnamed2031(core.List<core.String> o) { |
821 unittest.expect(o, unittest.hasLength(2)); | 821 unittest.expect(o, unittest.hasLength(2)); |
822 unittest.expect(o[0], unittest.equals('foo')); | 822 unittest.expect(o[0], unittest.equals('foo')); |
823 unittest.expect(o[1], unittest.equals('foo')); | 823 unittest.expect(o[1], unittest.equals('foo')); |
824 } | 824 } |
825 | 825 |
826 core.int buildCounterBackendService = 0; | 826 core.int buildCounterBackendService = 0; |
827 buildBackendService() { | 827 buildBackendService() { |
828 var o = new api.BackendService(); | 828 var o = new api.BackendService(); |
829 buildCounterBackendService++; | 829 buildCounterBackendService++; |
830 if (buildCounterBackendService < 3) { | 830 if (buildCounterBackendService < 3) { |
831 o.affinityCookieTtlSec = 42; | 831 o.affinityCookieTtlSec = 42; |
832 o.backends = buildUnnamed2018(); | 832 o.backends = buildUnnamed2030(); |
| 833 o.cdnPolicy = buildBackendServiceCdnPolicy(); |
833 o.connectionDraining = buildConnectionDraining(); | 834 o.connectionDraining = buildConnectionDraining(); |
834 o.creationTimestamp = "foo"; | 835 o.creationTimestamp = "foo"; |
835 o.description = "foo"; | 836 o.description = "foo"; |
836 o.enableCDN = true; | 837 o.enableCDN = true; |
837 o.fingerprint = "foo"; | 838 o.fingerprint = "foo"; |
838 o.healthChecks = buildUnnamed2019(); | 839 o.healthChecks = buildUnnamed2031(); |
839 o.id = "foo"; | 840 o.id = "foo"; |
840 o.kind = "foo"; | 841 o.kind = "foo"; |
841 o.loadBalancingScheme = "foo"; | 842 o.loadBalancingScheme = "foo"; |
842 o.name = "foo"; | 843 o.name = "foo"; |
843 o.port = 42; | 844 o.port = 42; |
844 o.portName = "foo"; | 845 o.portName = "foo"; |
845 o.protocol = "foo"; | 846 o.protocol = "foo"; |
846 o.region = "foo"; | 847 o.region = "foo"; |
847 o.selfLink = "foo"; | 848 o.selfLink = "foo"; |
848 o.sessionAffinity = "foo"; | 849 o.sessionAffinity = "foo"; |
849 o.timeoutSec = 42; | 850 o.timeoutSec = 42; |
850 } | 851 } |
851 buildCounterBackendService--; | 852 buildCounterBackendService--; |
852 return o; | 853 return o; |
853 } | 854 } |
854 | 855 |
855 checkBackendService(api.BackendService o) { | 856 checkBackendService(api.BackendService o) { |
856 buildCounterBackendService++; | 857 buildCounterBackendService++; |
857 if (buildCounterBackendService < 3) { | 858 if (buildCounterBackendService < 3) { |
858 unittest.expect(o.affinityCookieTtlSec, unittest.equals(42)); | 859 unittest.expect(o.affinityCookieTtlSec, unittest.equals(42)); |
859 checkUnnamed2018(o.backends); | 860 checkUnnamed2030(o.backends); |
| 861 checkBackendServiceCdnPolicy(o.cdnPolicy); |
860 checkConnectionDraining(o.connectionDraining); | 862 checkConnectionDraining(o.connectionDraining); |
861 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 863 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
862 unittest.expect(o.description, unittest.equals('foo')); | 864 unittest.expect(o.description, unittest.equals('foo')); |
863 unittest.expect(o.enableCDN, unittest.isTrue); | 865 unittest.expect(o.enableCDN, unittest.isTrue); |
864 unittest.expect(o.fingerprint, unittest.equals('foo')); | 866 unittest.expect(o.fingerprint, unittest.equals('foo')); |
865 checkUnnamed2019(o.healthChecks); | 867 checkUnnamed2031(o.healthChecks); |
866 unittest.expect(o.id, unittest.equals('foo')); | 868 unittest.expect(o.id, unittest.equals('foo')); |
867 unittest.expect(o.kind, unittest.equals('foo')); | 869 unittest.expect(o.kind, unittest.equals('foo')); |
868 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); | 870 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); |
869 unittest.expect(o.name, unittest.equals('foo')); | 871 unittest.expect(o.name, unittest.equals('foo')); |
870 unittest.expect(o.port, unittest.equals(42)); | 872 unittest.expect(o.port, unittest.equals(42)); |
871 unittest.expect(o.portName, unittest.equals('foo')); | 873 unittest.expect(o.portName, unittest.equals('foo')); |
872 unittest.expect(o.protocol, unittest.equals('foo')); | 874 unittest.expect(o.protocol, unittest.equals('foo')); |
873 unittest.expect(o.region, unittest.equals('foo')); | 875 unittest.expect(o.region, unittest.equals('foo')); |
874 unittest.expect(o.selfLink, unittest.equals('foo')); | 876 unittest.expect(o.selfLink, unittest.equals('foo')); |
875 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 877 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
876 unittest.expect(o.timeoutSec, unittest.equals(42)); | 878 unittest.expect(o.timeoutSec, unittest.equals(42)); |
877 } | 879 } |
878 buildCounterBackendService--; | 880 buildCounterBackendService--; |
879 } | 881 } |
880 | 882 |
881 buildUnnamed2020() { | 883 buildUnnamed2032() { |
882 var o = new core.Map<core.String, api.BackendServicesScopedList>(); | 884 var o = new core.Map<core.String, api.BackendServicesScopedList>(); |
883 o["x"] = buildBackendServicesScopedList(); | 885 o["x"] = buildBackendServicesScopedList(); |
884 o["y"] = buildBackendServicesScopedList(); | 886 o["y"] = buildBackendServicesScopedList(); |
885 return o; | 887 return o; |
886 } | 888 } |
887 | 889 |
888 checkUnnamed2020(core.Map<core.String, api.BackendServicesScopedList> o) { | 890 checkUnnamed2032(core.Map<core.String, api.BackendServicesScopedList> o) { |
889 unittest.expect(o, unittest.hasLength(2)); | 891 unittest.expect(o, unittest.hasLength(2)); |
890 checkBackendServicesScopedList(o["x"]); | 892 checkBackendServicesScopedList(o["x"]); |
891 checkBackendServicesScopedList(o["y"]); | 893 checkBackendServicesScopedList(o["y"]); |
892 } | 894 } |
893 | 895 |
894 core.int buildCounterBackendServiceAggregatedList = 0; | 896 core.int buildCounterBackendServiceAggregatedList = 0; |
895 buildBackendServiceAggregatedList() { | 897 buildBackendServiceAggregatedList() { |
896 var o = new api.BackendServiceAggregatedList(); | 898 var o = new api.BackendServiceAggregatedList(); |
897 buildCounterBackendServiceAggregatedList++; | 899 buildCounterBackendServiceAggregatedList++; |
898 if (buildCounterBackendServiceAggregatedList < 3) { | 900 if (buildCounterBackendServiceAggregatedList < 3) { |
899 o.id = "foo"; | 901 o.id = "foo"; |
900 o.items = buildUnnamed2020(); | 902 o.items = buildUnnamed2032(); |
901 o.kind = "foo"; | 903 o.kind = "foo"; |
902 o.nextPageToken = "foo"; | 904 o.nextPageToken = "foo"; |
903 o.selfLink = "foo"; | 905 o.selfLink = "foo"; |
904 } | 906 } |
905 buildCounterBackendServiceAggregatedList--; | 907 buildCounterBackendServiceAggregatedList--; |
906 return o; | 908 return o; |
907 } | 909 } |
908 | 910 |
909 checkBackendServiceAggregatedList(api.BackendServiceAggregatedList o) { | 911 checkBackendServiceAggregatedList(api.BackendServiceAggregatedList o) { |
910 buildCounterBackendServiceAggregatedList++; | 912 buildCounterBackendServiceAggregatedList++; |
911 if (buildCounterBackendServiceAggregatedList < 3) { | 913 if (buildCounterBackendServiceAggregatedList < 3) { |
912 unittest.expect(o.id, unittest.equals('foo')); | 914 unittest.expect(o.id, unittest.equals('foo')); |
913 checkUnnamed2020(o.items); | 915 checkUnnamed2032(o.items); |
914 unittest.expect(o.kind, unittest.equals('foo')); | 916 unittest.expect(o.kind, unittest.equals('foo')); |
915 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 917 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
916 unittest.expect(o.selfLink, unittest.equals('foo')); | 918 unittest.expect(o.selfLink, unittest.equals('foo')); |
917 } | 919 } |
918 buildCounterBackendServiceAggregatedList--; | 920 buildCounterBackendServiceAggregatedList--; |
919 } | 921 } |
920 | 922 |
921 buildUnnamed2021() { | 923 core.int buildCounterBackendServiceCdnPolicy = 0; |
| 924 buildBackendServiceCdnPolicy() { |
| 925 var o = new api.BackendServiceCdnPolicy(); |
| 926 buildCounterBackendServiceCdnPolicy++; |
| 927 if (buildCounterBackendServiceCdnPolicy < 3) { |
| 928 o.cacheKeyPolicy = buildCacheKeyPolicy(); |
| 929 } |
| 930 buildCounterBackendServiceCdnPolicy--; |
| 931 return o; |
| 932 } |
| 933 |
| 934 checkBackendServiceCdnPolicy(api.BackendServiceCdnPolicy o) { |
| 935 buildCounterBackendServiceCdnPolicy++; |
| 936 if (buildCounterBackendServiceCdnPolicy < 3) { |
| 937 checkCacheKeyPolicy(o.cacheKeyPolicy); |
| 938 } |
| 939 buildCounterBackendServiceCdnPolicy--; |
| 940 } |
| 941 |
| 942 buildUnnamed2033() { |
922 var o = new core.List<api.HealthStatus>(); | 943 var o = new core.List<api.HealthStatus>(); |
923 o.add(buildHealthStatus()); | 944 o.add(buildHealthStatus()); |
924 o.add(buildHealthStatus()); | 945 o.add(buildHealthStatus()); |
925 return o; | 946 return o; |
926 } | 947 } |
927 | 948 |
928 checkUnnamed2021(core.List<api.HealthStatus> o) { | 949 checkUnnamed2033(core.List<api.HealthStatus> o) { |
929 unittest.expect(o, unittest.hasLength(2)); | 950 unittest.expect(o, unittest.hasLength(2)); |
930 checkHealthStatus(o[0]); | 951 checkHealthStatus(o[0]); |
931 checkHealthStatus(o[1]); | 952 checkHealthStatus(o[1]); |
932 } | 953 } |
933 | 954 |
934 core.int buildCounterBackendServiceGroupHealth = 0; | 955 core.int buildCounterBackendServiceGroupHealth = 0; |
935 buildBackendServiceGroupHealth() { | 956 buildBackendServiceGroupHealth() { |
936 var o = new api.BackendServiceGroupHealth(); | 957 var o = new api.BackendServiceGroupHealth(); |
937 buildCounterBackendServiceGroupHealth++; | 958 buildCounterBackendServiceGroupHealth++; |
938 if (buildCounterBackendServiceGroupHealth < 3) { | 959 if (buildCounterBackendServiceGroupHealth < 3) { |
939 o.healthStatus = buildUnnamed2021(); | 960 o.healthStatus = buildUnnamed2033(); |
940 o.kind = "foo"; | 961 o.kind = "foo"; |
941 } | 962 } |
942 buildCounterBackendServiceGroupHealth--; | 963 buildCounterBackendServiceGroupHealth--; |
943 return o; | 964 return o; |
944 } | 965 } |
945 | 966 |
946 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { | 967 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { |
947 buildCounterBackendServiceGroupHealth++; | 968 buildCounterBackendServiceGroupHealth++; |
948 if (buildCounterBackendServiceGroupHealth < 3) { | 969 if (buildCounterBackendServiceGroupHealth < 3) { |
949 checkUnnamed2021(o.healthStatus); | 970 checkUnnamed2033(o.healthStatus); |
950 unittest.expect(o.kind, unittest.equals('foo')); | 971 unittest.expect(o.kind, unittest.equals('foo')); |
951 } | 972 } |
952 buildCounterBackendServiceGroupHealth--; | 973 buildCounterBackendServiceGroupHealth--; |
953 } | 974 } |
954 | 975 |
955 buildUnnamed2022() { | 976 buildUnnamed2034() { |
956 var o = new core.List<api.BackendService>(); | 977 var o = new core.List<api.BackendService>(); |
957 o.add(buildBackendService()); | 978 o.add(buildBackendService()); |
958 o.add(buildBackendService()); | 979 o.add(buildBackendService()); |
959 return o; | 980 return o; |
960 } | 981 } |
961 | 982 |
962 checkUnnamed2022(core.List<api.BackendService> o) { | 983 checkUnnamed2034(core.List<api.BackendService> o) { |
963 unittest.expect(o, unittest.hasLength(2)); | 984 unittest.expect(o, unittest.hasLength(2)); |
964 checkBackendService(o[0]); | 985 checkBackendService(o[0]); |
965 checkBackendService(o[1]); | 986 checkBackendService(o[1]); |
966 } | 987 } |
967 | 988 |
968 core.int buildCounterBackendServiceList = 0; | 989 core.int buildCounterBackendServiceList = 0; |
969 buildBackendServiceList() { | 990 buildBackendServiceList() { |
970 var o = new api.BackendServiceList(); | 991 var o = new api.BackendServiceList(); |
971 buildCounterBackendServiceList++; | 992 buildCounterBackendServiceList++; |
972 if (buildCounterBackendServiceList < 3) { | 993 if (buildCounterBackendServiceList < 3) { |
973 o.id = "foo"; | 994 o.id = "foo"; |
974 o.items = buildUnnamed2022(); | 995 o.items = buildUnnamed2034(); |
975 o.kind = "foo"; | 996 o.kind = "foo"; |
976 o.nextPageToken = "foo"; | 997 o.nextPageToken = "foo"; |
977 o.selfLink = "foo"; | 998 o.selfLink = "foo"; |
978 } | 999 } |
979 buildCounterBackendServiceList--; | 1000 buildCounterBackendServiceList--; |
980 return o; | 1001 return o; |
981 } | 1002 } |
982 | 1003 |
983 checkBackendServiceList(api.BackendServiceList o) { | 1004 checkBackendServiceList(api.BackendServiceList o) { |
984 buildCounterBackendServiceList++; | 1005 buildCounterBackendServiceList++; |
985 if (buildCounterBackendServiceList < 3) { | 1006 if (buildCounterBackendServiceList < 3) { |
986 unittest.expect(o.id, unittest.equals('foo')); | 1007 unittest.expect(o.id, unittest.equals('foo')); |
987 checkUnnamed2022(o.items); | 1008 checkUnnamed2034(o.items); |
988 unittest.expect(o.kind, unittest.equals('foo')); | 1009 unittest.expect(o.kind, unittest.equals('foo')); |
989 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1010 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
990 unittest.expect(o.selfLink, unittest.equals('foo')); | 1011 unittest.expect(o.selfLink, unittest.equals('foo')); |
991 } | 1012 } |
992 buildCounterBackendServiceList--; | 1013 buildCounterBackendServiceList--; |
993 } | 1014 } |
994 | 1015 |
995 buildUnnamed2023() { | 1016 buildUnnamed2035() { |
996 var o = new core.List<api.BackendService>(); | 1017 var o = new core.List<api.BackendService>(); |
997 o.add(buildBackendService()); | 1018 o.add(buildBackendService()); |
998 o.add(buildBackendService()); | 1019 o.add(buildBackendService()); |
999 return o; | 1020 return o; |
1000 } | 1021 } |
1001 | 1022 |
1002 checkUnnamed2023(core.List<api.BackendService> o) { | 1023 checkUnnamed2035(core.List<api.BackendService> o) { |
1003 unittest.expect(o, unittest.hasLength(2)); | 1024 unittest.expect(o, unittest.hasLength(2)); |
1004 checkBackendService(o[0]); | 1025 checkBackendService(o[0]); |
1005 checkBackendService(o[1]); | 1026 checkBackendService(o[1]); |
1006 } | 1027 } |
1007 | 1028 |
1008 core.int buildCounterBackendServicesScopedListWarningData = 0; | 1029 core.int buildCounterBackendServicesScopedListWarningData = 0; |
1009 buildBackendServicesScopedListWarningData() { | 1030 buildBackendServicesScopedListWarningData() { |
1010 var o = new api.BackendServicesScopedListWarningData(); | 1031 var o = new api.BackendServicesScopedListWarningData(); |
1011 buildCounterBackendServicesScopedListWarningData++; | 1032 buildCounterBackendServicesScopedListWarningData++; |
1012 if (buildCounterBackendServicesScopedListWarningData < 3) { | 1033 if (buildCounterBackendServicesScopedListWarningData < 3) { |
1013 o.key = "foo"; | 1034 o.key = "foo"; |
1014 o.value = "foo"; | 1035 o.value = "foo"; |
1015 } | 1036 } |
1016 buildCounterBackendServicesScopedListWarningData--; | 1037 buildCounterBackendServicesScopedListWarningData--; |
1017 return o; | 1038 return o; |
1018 } | 1039 } |
1019 | 1040 |
1020 checkBackendServicesScopedListWarningData(api.BackendServicesScopedListWarningDa
ta o) { | 1041 checkBackendServicesScopedListWarningData(api.BackendServicesScopedListWarningDa
ta o) { |
1021 buildCounterBackendServicesScopedListWarningData++; | 1042 buildCounterBackendServicesScopedListWarningData++; |
1022 if (buildCounterBackendServicesScopedListWarningData < 3) { | 1043 if (buildCounterBackendServicesScopedListWarningData < 3) { |
1023 unittest.expect(o.key, unittest.equals('foo')); | 1044 unittest.expect(o.key, unittest.equals('foo')); |
1024 unittest.expect(o.value, unittest.equals('foo')); | 1045 unittest.expect(o.value, unittest.equals('foo')); |
1025 } | 1046 } |
1026 buildCounterBackendServicesScopedListWarningData--; | 1047 buildCounterBackendServicesScopedListWarningData--; |
1027 } | 1048 } |
1028 | 1049 |
1029 buildUnnamed2024() { | 1050 buildUnnamed2036() { |
1030 var o = new core.List<api.BackendServicesScopedListWarningData>(); | 1051 var o = new core.List<api.BackendServicesScopedListWarningData>(); |
1031 o.add(buildBackendServicesScopedListWarningData()); | 1052 o.add(buildBackendServicesScopedListWarningData()); |
1032 o.add(buildBackendServicesScopedListWarningData()); | 1053 o.add(buildBackendServicesScopedListWarningData()); |
1033 return o; | 1054 return o; |
1034 } | 1055 } |
1035 | 1056 |
1036 checkUnnamed2024(core.List<api.BackendServicesScopedListWarningData> o) { | 1057 checkUnnamed2036(core.List<api.BackendServicesScopedListWarningData> o) { |
1037 unittest.expect(o, unittest.hasLength(2)); | 1058 unittest.expect(o, unittest.hasLength(2)); |
1038 checkBackendServicesScopedListWarningData(o[0]); | 1059 checkBackendServicesScopedListWarningData(o[0]); |
1039 checkBackendServicesScopedListWarningData(o[1]); | 1060 checkBackendServicesScopedListWarningData(o[1]); |
1040 } | 1061 } |
1041 | 1062 |
1042 core.int buildCounterBackendServicesScopedListWarning = 0; | 1063 core.int buildCounterBackendServicesScopedListWarning = 0; |
1043 buildBackendServicesScopedListWarning() { | 1064 buildBackendServicesScopedListWarning() { |
1044 var o = new api.BackendServicesScopedListWarning(); | 1065 var o = new api.BackendServicesScopedListWarning(); |
1045 buildCounterBackendServicesScopedListWarning++; | 1066 buildCounterBackendServicesScopedListWarning++; |
1046 if (buildCounterBackendServicesScopedListWarning < 3) { | 1067 if (buildCounterBackendServicesScopedListWarning < 3) { |
1047 o.code = "foo"; | 1068 o.code = "foo"; |
1048 o.data = buildUnnamed2024(); | 1069 o.data = buildUnnamed2036(); |
1049 o.message = "foo"; | 1070 o.message = "foo"; |
1050 } | 1071 } |
1051 buildCounterBackendServicesScopedListWarning--; | 1072 buildCounterBackendServicesScopedListWarning--; |
1052 return o; | 1073 return o; |
1053 } | 1074 } |
1054 | 1075 |
1055 checkBackendServicesScopedListWarning(api.BackendServicesScopedListWarning o) { | 1076 checkBackendServicesScopedListWarning(api.BackendServicesScopedListWarning o) { |
1056 buildCounterBackendServicesScopedListWarning++; | 1077 buildCounterBackendServicesScopedListWarning++; |
1057 if (buildCounterBackendServicesScopedListWarning < 3) { | 1078 if (buildCounterBackendServicesScopedListWarning < 3) { |
1058 unittest.expect(o.code, unittest.equals('foo')); | 1079 unittest.expect(o.code, unittest.equals('foo')); |
1059 checkUnnamed2024(o.data); | 1080 checkUnnamed2036(o.data); |
1060 unittest.expect(o.message, unittest.equals('foo')); | 1081 unittest.expect(o.message, unittest.equals('foo')); |
1061 } | 1082 } |
1062 buildCounterBackendServicesScopedListWarning--; | 1083 buildCounterBackendServicesScopedListWarning--; |
1063 } | 1084 } |
1064 | 1085 |
1065 core.int buildCounterBackendServicesScopedList = 0; | 1086 core.int buildCounterBackendServicesScopedList = 0; |
1066 buildBackendServicesScopedList() { | 1087 buildBackendServicesScopedList() { |
1067 var o = new api.BackendServicesScopedList(); | 1088 var o = new api.BackendServicesScopedList(); |
1068 buildCounterBackendServicesScopedList++; | 1089 buildCounterBackendServicesScopedList++; |
1069 if (buildCounterBackendServicesScopedList < 3) { | 1090 if (buildCounterBackendServicesScopedList < 3) { |
1070 o.backendServices = buildUnnamed2023(); | 1091 o.backendServices = buildUnnamed2035(); |
1071 o.warning = buildBackendServicesScopedListWarning(); | 1092 o.warning = buildBackendServicesScopedListWarning(); |
1072 } | 1093 } |
1073 buildCounterBackendServicesScopedList--; | 1094 buildCounterBackendServicesScopedList--; |
1074 return o; | 1095 return o; |
1075 } | 1096 } |
1076 | 1097 |
1077 checkBackendServicesScopedList(api.BackendServicesScopedList o) { | 1098 checkBackendServicesScopedList(api.BackendServicesScopedList o) { |
1078 buildCounterBackendServicesScopedList++; | 1099 buildCounterBackendServicesScopedList++; |
1079 if (buildCounterBackendServicesScopedList < 3) { | 1100 if (buildCounterBackendServicesScopedList < 3) { |
1080 checkUnnamed2023(o.backendServices); | 1101 checkUnnamed2035(o.backendServices); |
1081 checkBackendServicesScopedListWarning(o.warning); | 1102 checkBackendServicesScopedListWarning(o.warning); |
1082 } | 1103 } |
1083 buildCounterBackendServicesScopedList--; | 1104 buildCounterBackendServicesScopedList--; |
1084 } | 1105 } |
1085 | 1106 |
1086 core.int buildCounterCacheInvalidationRule = 0; | 1107 core.int buildCounterCacheInvalidationRule = 0; |
1087 buildCacheInvalidationRule() { | 1108 buildCacheInvalidationRule() { |
1088 var o = new api.CacheInvalidationRule(); | 1109 var o = new api.CacheInvalidationRule(); |
1089 buildCounterCacheInvalidationRule++; | 1110 buildCounterCacheInvalidationRule++; |
1090 if (buildCounterCacheInvalidationRule < 3) { | 1111 if (buildCounterCacheInvalidationRule < 3) { |
1091 o.host = "foo"; | 1112 o.host = "foo"; |
1092 o.path = "foo"; | 1113 o.path = "foo"; |
1093 } | 1114 } |
1094 buildCounterCacheInvalidationRule--; | 1115 buildCounterCacheInvalidationRule--; |
1095 return o; | 1116 return o; |
1096 } | 1117 } |
1097 | 1118 |
1098 checkCacheInvalidationRule(api.CacheInvalidationRule o) { | 1119 checkCacheInvalidationRule(api.CacheInvalidationRule o) { |
1099 buildCounterCacheInvalidationRule++; | 1120 buildCounterCacheInvalidationRule++; |
1100 if (buildCounterCacheInvalidationRule < 3) { | 1121 if (buildCounterCacheInvalidationRule < 3) { |
1101 unittest.expect(o.host, unittest.equals('foo')); | 1122 unittest.expect(o.host, unittest.equals('foo')); |
1102 unittest.expect(o.path, unittest.equals('foo')); | 1123 unittest.expect(o.path, unittest.equals('foo')); |
1103 } | 1124 } |
1104 buildCounterCacheInvalidationRule--; | 1125 buildCounterCacheInvalidationRule--; |
1105 } | 1126 } |
1106 | 1127 |
| 1128 buildUnnamed2037() { |
| 1129 var o = new core.List<core.String>(); |
| 1130 o.add("foo"); |
| 1131 o.add("foo"); |
| 1132 return o; |
| 1133 } |
| 1134 |
| 1135 checkUnnamed2037(core.List<core.String> o) { |
| 1136 unittest.expect(o, unittest.hasLength(2)); |
| 1137 unittest.expect(o[0], unittest.equals('foo')); |
| 1138 unittest.expect(o[1], unittest.equals('foo')); |
| 1139 } |
| 1140 |
| 1141 buildUnnamed2038() { |
| 1142 var o = new core.List<core.String>(); |
| 1143 o.add("foo"); |
| 1144 o.add("foo"); |
| 1145 return o; |
| 1146 } |
| 1147 |
| 1148 checkUnnamed2038(core.List<core.String> o) { |
| 1149 unittest.expect(o, unittest.hasLength(2)); |
| 1150 unittest.expect(o[0], unittest.equals('foo')); |
| 1151 unittest.expect(o[1], unittest.equals('foo')); |
| 1152 } |
| 1153 |
| 1154 core.int buildCounterCacheKeyPolicy = 0; |
| 1155 buildCacheKeyPolicy() { |
| 1156 var o = new api.CacheKeyPolicy(); |
| 1157 buildCounterCacheKeyPolicy++; |
| 1158 if (buildCounterCacheKeyPolicy < 3) { |
| 1159 o.includeHost = true; |
| 1160 o.includeProtocol = true; |
| 1161 o.includeQueryString = true; |
| 1162 o.queryStringBlacklist = buildUnnamed2037(); |
| 1163 o.queryStringWhitelist = buildUnnamed2038(); |
| 1164 } |
| 1165 buildCounterCacheKeyPolicy--; |
| 1166 return o; |
| 1167 } |
| 1168 |
| 1169 checkCacheKeyPolicy(api.CacheKeyPolicy o) { |
| 1170 buildCounterCacheKeyPolicy++; |
| 1171 if (buildCounterCacheKeyPolicy < 3) { |
| 1172 unittest.expect(o.includeHost, unittest.isTrue); |
| 1173 unittest.expect(o.includeProtocol, unittest.isTrue); |
| 1174 unittest.expect(o.includeQueryString, unittest.isTrue); |
| 1175 checkUnnamed2037(o.queryStringBlacklist); |
| 1176 checkUnnamed2038(o.queryStringWhitelist); |
| 1177 } |
| 1178 buildCounterCacheKeyPolicy--; |
| 1179 } |
| 1180 |
1107 core.int buildCounterConnectionDraining = 0; | 1181 core.int buildCounterConnectionDraining = 0; |
1108 buildConnectionDraining() { | 1182 buildConnectionDraining() { |
1109 var o = new api.ConnectionDraining(); | 1183 var o = new api.ConnectionDraining(); |
1110 buildCounterConnectionDraining++; | 1184 buildCounterConnectionDraining++; |
1111 if (buildCounterConnectionDraining < 3) { | 1185 if (buildCounterConnectionDraining < 3) { |
1112 o.drainingTimeoutSec = 42; | 1186 o.drainingTimeoutSec = 42; |
1113 } | 1187 } |
1114 buildCounterConnectionDraining--; | 1188 buildCounterConnectionDraining--; |
1115 return o; | 1189 return o; |
1116 } | 1190 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1185 if (buildCounterDeprecationStatus < 3) { | 1259 if (buildCounterDeprecationStatus < 3) { |
1186 unittest.expect(o.deleted, unittest.equals('foo')); | 1260 unittest.expect(o.deleted, unittest.equals('foo')); |
1187 unittest.expect(o.deprecated, unittest.equals('foo')); | 1261 unittest.expect(o.deprecated, unittest.equals('foo')); |
1188 unittest.expect(o.obsolete, unittest.equals('foo')); | 1262 unittest.expect(o.obsolete, unittest.equals('foo')); |
1189 unittest.expect(o.replacement, unittest.equals('foo')); | 1263 unittest.expect(o.replacement, unittest.equals('foo')); |
1190 unittest.expect(o.state, unittest.equals('foo')); | 1264 unittest.expect(o.state, unittest.equals('foo')); |
1191 } | 1265 } |
1192 buildCounterDeprecationStatus--; | 1266 buildCounterDeprecationStatus--; |
1193 } | 1267 } |
1194 | 1268 |
1195 buildUnnamed2025() { | 1269 buildUnnamed2039() { |
1196 var o = new core.List<core.String>(); | 1270 var o = new core.List<core.String>(); |
1197 o.add("foo"); | 1271 o.add("foo"); |
1198 o.add("foo"); | 1272 o.add("foo"); |
1199 return o; | 1273 return o; |
1200 } | 1274 } |
1201 | 1275 |
1202 checkUnnamed2025(core.List<core.String> o) { | 1276 checkUnnamed2039(core.List<core.String> o) { |
1203 unittest.expect(o, unittest.hasLength(2)); | 1277 unittest.expect(o, unittest.hasLength(2)); |
1204 unittest.expect(o[0], unittest.equals('foo')); | 1278 unittest.expect(o[0], unittest.equals('foo')); |
1205 unittest.expect(o[1], unittest.equals('foo')); | 1279 unittest.expect(o[1], unittest.equals('foo')); |
1206 } | 1280 } |
1207 | 1281 |
1208 buildUnnamed2026() { | 1282 buildUnnamed2040() { |
1209 var o = new core.List<core.String>(); | 1283 var o = new core.List<core.String>(); |
1210 o.add("foo"); | 1284 o.add("foo"); |
1211 o.add("foo"); | 1285 o.add("foo"); |
1212 return o; | 1286 return o; |
1213 } | 1287 } |
1214 | 1288 |
1215 checkUnnamed2026(core.List<core.String> o) { | 1289 checkUnnamed2040(core.List<core.String> o) { |
1216 unittest.expect(o, unittest.hasLength(2)); | 1290 unittest.expect(o, unittest.hasLength(2)); |
1217 unittest.expect(o[0], unittest.equals('foo')); | 1291 unittest.expect(o[0], unittest.equals('foo')); |
1218 unittest.expect(o[1], unittest.equals('foo')); | 1292 unittest.expect(o[1], unittest.equals('foo')); |
1219 } | 1293 } |
1220 | 1294 |
1221 core.int buildCounterDisk = 0; | 1295 core.int buildCounterDisk = 0; |
1222 buildDisk() { | 1296 buildDisk() { |
1223 var o = new api.Disk(); | 1297 var o = new api.Disk(); |
1224 buildCounterDisk++; | 1298 buildCounterDisk++; |
1225 if (buildCounterDisk < 3) { | 1299 if (buildCounterDisk < 3) { |
1226 o.creationTimestamp = "foo"; | 1300 o.creationTimestamp = "foo"; |
1227 o.description = "foo"; | 1301 o.description = "foo"; |
1228 o.diskEncryptionKey = buildCustomerEncryptionKey(); | 1302 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
1229 o.id = "foo"; | 1303 o.id = "foo"; |
1230 o.kind = "foo"; | 1304 o.kind = "foo"; |
1231 o.lastAttachTimestamp = "foo"; | 1305 o.lastAttachTimestamp = "foo"; |
1232 o.lastDetachTimestamp = "foo"; | 1306 o.lastDetachTimestamp = "foo"; |
1233 o.licenses = buildUnnamed2025(); | 1307 o.licenses = buildUnnamed2039(); |
1234 o.name = "foo"; | 1308 o.name = "foo"; |
1235 o.options = "foo"; | 1309 o.options = "foo"; |
1236 o.selfLink = "foo"; | 1310 o.selfLink = "foo"; |
1237 o.sizeGb = "foo"; | 1311 o.sizeGb = "foo"; |
1238 o.sourceImage = "foo"; | 1312 o.sourceImage = "foo"; |
1239 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); | 1313 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); |
1240 o.sourceImageId = "foo"; | 1314 o.sourceImageId = "foo"; |
1241 o.sourceSnapshot = "foo"; | 1315 o.sourceSnapshot = "foo"; |
1242 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); | 1316 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); |
1243 o.sourceSnapshotId = "foo"; | 1317 o.sourceSnapshotId = "foo"; |
1244 o.status = "foo"; | 1318 o.status = "foo"; |
1245 o.type = "foo"; | 1319 o.type = "foo"; |
1246 o.users = buildUnnamed2026(); | 1320 o.users = buildUnnamed2040(); |
1247 o.zone = "foo"; | 1321 o.zone = "foo"; |
1248 } | 1322 } |
1249 buildCounterDisk--; | 1323 buildCounterDisk--; |
1250 return o; | 1324 return o; |
1251 } | 1325 } |
1252 | 1326 |
1253 checkDisk(api.Disk o) { | 1327 checkDisk(api.Disk o) { |
1254 buildCounterDisk++; | 1328 buildCounterDisk++; |
1255 if (buildCounterDisk < 3) { | 1329 if (buildCounterDisk < 3) { |
1256 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1330 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1257 unittest.expect(o.description, unittest.equals('foo')); | 1331 unittest.expect(o.description, unittest.equals('foo')); |
1258 checkCustomerEncryptionKey(o.diskEncryptionKey); | 1332 checkCustomerEncryptionKey(o.diskEncryptionKey); |
1259 unittest.expect(o.id, unittest.equals('foo')); | 1333 unittest.expect(o.id, unittest.equals('foo')); |
1260 unittest.expect(o.kind, unittest.equals('foo')); | 1334 unittest.expect(o.kind, unittest.equals('foo')); |
1261 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); | 1335 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); |
1262 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); | 1336 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); |
1263 checkUnnamed2025(o.licenses); | 1337 checkUnnamed2039(o.licenses); |
1264 unittest.expect(o.name, unittest.equals('foo')); | 1338 unittest.expect(o.name, unittest.equals('foo')); |
1265 unittest.expect(o.options, unittest.equals('foo')); | 1339 unittest.expect(o.options, unittest.equals('foo')); |
1266 unittest.expect(o.selfLink, unittest.equals('foo')); | 1340 unittest.expect(o.selfLink, unittest.equals('foo')); |
1267 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1341 unittest.expect(o.sizeGb, unittest.equals('foo')); |
1268 unittest.expect(o.sourceImage, unittest.equals('foo')); | 1342 unittest.expect(o.sourceImage, unittest.equals('foo')); |
1269 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); | 1343 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); |
1270 unittest.expect(o.sourceImageId, unittest.equals('foo')); | 1344 unittest.expect(o.sourceImageId, unittest.equals('foo')); |
1271 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); | 1345 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); |
1272 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); | 1346 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); |
1273 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); | 1347 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); |
1274 unittest.expect(o.status, unittest.equals('foo')); | 1348 unittest.expect(o.status, unittest.equals('foo')); |
1275 unittest.expect(o.type, unittest.equals('foo')); | 1349 unittest.expect(o.type, unittest.equals('foo')); |
1276 checkUnnamed2026(o.users); | 1350 checkUnnamed2040(o.users); |
1277 unittest.expect(o.zone, unittest.equals('foo')); | 1351 unittest.expect(o.zone, unittest.equals('foo')); |
1278 } | 1352 } |
1279 buildCounterDisk--; | 1353 buildCounterDisk--; |
1280 } | 1354 } |
1281 | 1355 |
1282 buildUnnamed2027() { | 1356 buildUnnamed2041() { |
1283 var o = new core.Map<core.String, api.DisksScopedList>(); | 1357 var o = new core.Map<core.String, api.DisksScopedList>(); |
1284 o["x"] = buildDisksScopedList(); | 1358 o["x"] = buildDisksScopedList(); |
1285 o["y"] = buildDisksScopedList(); | 1359 o["y"] = buildDisksScopedList(); |
1286 return o; | 1360 return o; |
1287 } | 1361 } |
1288 | 1362 |
1289 checkUnnamed2027(core.Map<core.String, api.DisksScopedList> o) { | 1363 checkUnnamed2041(core.Map<core.String, api.DisksScopedList> o) { |
1290 unittest.expect(o, unittest.hasLength(2)); | 1364 unittest.expect(o, unittest.hasLength(2)); |
1291 checkDisksScopedList(o["x"]); | 1365 checkDisksScopedList(o["x"]); |
1292 checkDisksScopedList(o["y"]); | 1366 checkDisksScopedList(o["y"]); |
1293 } | 1367 } |
1294 | 1368 |
1295 core.int buildCounterDiskAggregatedList = 0; | 1369 core.int buildCounterDiskAggregatedList = 0; |
1296 buildDiskAggregatedList() { | 1370 buildDiskAggregatedList() { |
1297 var o = new api.DiskAggregatedList(); | 1371 var o = new api.DiskAggregatedList(); |
1298 buildCounterDiskAggregatedList++; | 1372 buildCounterDiskAggregatedList++; |
1299 if (buildCounterDiskAggregatedList < 3) { | 1373 if (buildCounterDiskAggregatedList < 3) { |
1300 o.id = "foo"; | 1374 o.id = "foo"; |
1301 o.items = buildUnnamed2027(); | 1375 o.items = buildUnnamed2041(); |
1302 o.kind = "foo"; | 1376 o.kind = "foo"; |
1303 o.nextPageToken = "foo"; | 1377 o.nextPageToken = "foo"; |
1304 o.selfLink = "foo"; | 1378 o.selfLink = "foo"; |
1305 } | 1379 } |
1306 buildCounterDiskAggregatedList--; | 1380 buildCounterDiskAggregatedList--; |
1307 return o; | 1381 return o; |
1308 } | 1382 } |
1309 | 1383 |
1310 checkDiskAggregatedList(api.DiskAggregatedList o) { | 1384 checkDiskAggregatedList(api.DiskAggregatedList o) { |
1311 buildCounterDiskAggregatedList++; | 1385 buildCounterDiskAggregatedList++; |
1312 if (buildCounterDiskAggregatedList < 3) { | 1386 if (buildCounterDiskAggregatedList < 3) { |
1313 unittest.expect(o.id, unittest.equals('foo')); | 1387 unittest.expect(o.id, unittest.equals('foo')); |
1314 checkUnnamed2027(o.items); | 1388 checkUnnamed2041(o.items); |
1315 unittest.expect(o.kind, unittest.equals('foo')); | 1389 unittest.expect(o.kind, unittest.equals('foo')); |
1316 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1390 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1317 unittest.expect(o.selfLink, unittest.equals('foo')); | 1391 unittest.expect(o.selfLink, unittest.equals('foo')); |
1318 } | 1392 } |
1319 buildCounterDiskAggregatedList--; | 1393 buildCounterDiskAggregatedList--; |
1320 } | 1394 } |
1321 | 1395 |
1322 buildUnnamed2028() { | 1396 buildUnnamed2042() { |
1323 var o = new core.List<api.Disk>(); | 1397 var o = new core.List<api.Disk>(); |
1324 o.add(buildDisk()); | 1398 o.add(buildDisk()); |
1325 o.add(buildDisk()); | 1399 o.add(buildDisk()); |
1326 return o; | 1400 return o; |
1327 } | 1401 } |
1328 | 1402 |
1329 checkUnnamed2028(core.List<api.Disk> o) { | 1403 checkUnnamed2042(core.List<api.Disk> o) { |
1330 unittest.expect(o, unittest.hasLength(2)); | 1404 unittest.expect(o, unittest.hasLength(2)); |
1331 checkDisk(o[0]); | 1405 checkDisk(o[0]); |
1332 checkDisk(o[1]); | 1406 checkDisk(o[1]); |
1333 } | 1407 } |
1334 | 1408 |
1335 core.int buildCounterDiskList = 0; | 1409 core.int buildCounterDiskList = 0; |
1336 buildDiskList() { | 1410 buildDiskList() { |
1337 var o = new api.DiskList(); | 1411 var o = new api.DiskList(); |
1338 buildCounterDiskList++; | 1412 buildCounterDiskList++; |
1339 if (buildCounterDiskList < 3) { | 1413 if (buildCounterDiskList < 3) { |
1340 o.id = "foo"; | 1414 o.id = "foo"; |
1341 o.items = buildUnnamed2028(); | 1415 o.items = buildUnnamed2042(); |
1342 o.kind = "foo"; | 1416 o.kind = "foo"; |
1343 o.nextPageToken = "foo"; | 1417 o.nextPageToken = "foo"; |
1344 o.selfLink = "foo"; | 1418 o.selfLink = "foo"; |
1345 } | 1419 } |
1346 buildCounterDiskList--; | 1420 buildCounterDiskList--; |
1347 return o; | 1421 return o; |
1348 } | 1422 } |
1349 | 1423 |
1350 checkDiskList(api.DiskList o) { | 1424 checkDiskList(api.DiskList o) { |
1351 buildCounterDiskList++; | 1425 buildCounterDiskList++; |
1352 if (buildCounterDiskList < 3) { | 1426 if (buildCounterDiskList < 3) { |
1353 unittest.expect(o.id, unittest.equals('foo')); | 1427 unittest.expect(o.id, unittest.equals('foo')); |
1354 checkUnnamed2028(o.items); | 1428 checkUnnamed2042(o.items); |
1355 unittest.expect(o.kind, unittest.equals('foo')); | 1429 unittest.expect(o.kind, unittest.equals('foo')); |
1356 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1430 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1357 unittest.expect(o.selfLink, unittest.equals('foo')); | 1431 unittest.expect(o.selfLink, unittest.equals('foo')); |
1358 } | 1432 } |
1359 buildCounterDiskList--; | 1433 buildCounterDiskList--; |
1360 } | 1434 } |
1361 | 1435 |
1362 core.int buildCounterDiskMoveRequest = 0; | 1436 core.int buildCounterDiskMoveRequest = 0; |
1363 buildDiskMoveRequest() { | 1437 buildDiskMoveRequest() { |
1364 var o = new api.DiskMoveRequest(); | 1438 var o = new api.DiskMoveRequest(); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1410 unittest.expect(o.id, unittest.equals('foo')); | 1484 unittest.expect(o.id, unittest.equals('foo')); |
1411 unittest.expect(o.kind, unittest.equals('foo')); | 1485 unittest.expect(o.kind, unittest.equals('foo')); |
1412 unittest.expect(o.name, unittest.equals('foo')); | 1486 unittest.expect(o.name, unittest.equals('foo')); |
1413 unittest.expect(o.selfLink, unittest.equals('foo')); | 1487 unittest.expect(o.selfLink, unittest.equals('foo')); |
1414 unittest.expect(o.validDiskSize, unittest.equals('foo')); | 1488 unittest.expect(o.validDiskSize, unittest.equals('foo')); |
1415 unittest.expect(o.zone, unittest.equals('foo')); | 1489 unittest.expect(o.zone, unittest.equals('foo')); |
1416 } | 1490 } |
1417 buildCounterDiskType--; | 1491 buildCounterDiskType--; |
1418 } | 1492 } |
1419 | 1493 |
1420 buildUnnamed2029() { | 1494 buildUnnamed2043() { |
1421 var o = new core.Map<core.String, api.DiskTypesScopedList>(); | 1495 var o = new core.Map<core.String, api.DiskTypesScopedList>(); |
1422 o["x"] = buildDiskTypesScopedList(); | 1496 o["x"] = buildDiskTypesScopedList(); |
1423 o["y"] = buildDiskTypesScopedList(); | 1497 o["y"] = buildDiskTypesScopedList(); |
1424 return o; | 1498 return o; |
1425 } | 1499 } |
1426 | 1500 |
1427 checkUnnamed2029(core.Map<core.String, api.DiskTypesScopedList> o) { | 1501 checkUnnamed2043(core.Map<core.String, api.DiskTypesScopedList> o) { |
1428 unittest.expect(o, unittest.hasLength(2)); | 1502 unittest.expect(o, unittest.hasLength(2)); |
1429 checkDiskTypesScopedList(o["x"]); | 1503 checkDiskTypesScopedList(o["x"]); |
1430 checkDiskTypesScopedList(o["y"]); | 1504 checkDiskTypesScopedList(o["y"]); |
1431 } | 1505 } |
1432 | 1506 |
1433 core.int buildCounterDiskTypeAggregatedList = 0; | 1507 core.int buildCounterDiskTypeAggregatedList = 0; |
1434 buildDiskTypeAggregatedList() { | 1508 buildDiskTypeAggregatedList() { |
1435 var o = new api.DiskTypeAggregatedList(); | 1509 var o = new api.DiskTypeAggregatedList(); |
1436 buildCounterDiskTypeAggregatedList++; | 1510 buildCounterDiskTypeAggregatedList++; |
1437 if (buildCounterDiskTypeAggregatedList < 3) { | 1511 if (buildCounterDiskTypeAggregatedList < 3) { |
1438 o.id = "foo"; | 1512 o.id = "foo"; |
1439 o.items = buildUnnamed2029(); | 1513 o.items = buildUnnamed2043(); |
1440 o.kind = "foo"; | 1514 o.kind = "foo"; |
1441 o.nextPageToken = "foo"; | 1515 o.nextPageToken = "foo"; |
1442 o.selfLink = "foo"; | 1516 o.selfLink = "foo"; |
1443 } | 1517 } |
1444 buildCounterDiskTypeAggregatedList--; | 1518 buildCounterDiskTypeAggregatedList--; |
1445 return o; | 1519 return o; |
1446 } | 1520 } |
1447 | 1521 |
1448 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { | 1522 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { |
1449 buildCounterDiskTypeAggregatedList++; | 1523 buildCounterDiskTypeAggregatedList++; |
1450 if (buildCounterDiskTypeAggregatedList < 3) { | 1524 if (buildCounterDiskTypeAggregatedList < 3) { |
1451 unittest.expect(o.id, unittest.equals('foo')); | 1525 unittest.expect(o.id, unittest.equals('foo')); |
1452 checkUnnamed2029(o.items); | 1526 checkUnnamed2043(o.items); |
1453 unittest.expect(o.kind, unittest.equals('foo')); | 1527 unittest.expect(o.kind, unittest.equals('foo')); |
1454 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1528 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1455 unittest.expect(o.selfLink, unittest.equals('foo')); | 1529 unittest.expect(o.selfLink, unittest.equals('foo')); |
1456 } | 1530 } |
1457 buildCounterDiskTypeAggregatedList--; | 1531 buildCounterDiskTypeAggregatedList--; |
1458 } | 1532 } |
1459 | 1533 |
1460 buildUnnamed2030() { | 1534 buildUnnamed2044() { |
1461 var o = new core.List<api.DiskType>(); | 1535 var o = new core.List<api.DiskType>(); |
1462 o.add(buildDiskType()); | 1536 o.add(buildDiskType()); |
1463 o.add(buildDiskType()); | 1537 o.add(buildDiskType()); |
1464 return o; | 1538 return o; |
1465 } | 1539 } |
1466 | 1540 |
1467 checkUnnamed2030(core.List<api.DiskType> o) { | 1541 checkUnnamed2044(core.List<api.DiskType> o) { |
1468 unittest.expect(o, unittest.hasLength(2)); | 1542 unittest.expect(o, unittest.hasLength(2)); |
1469 checkDiskType(o[0]); | 1543 checkDiskType(o[0]); |
1470 checkDiskType(o[1]); | 1544 checkDiskType(o[1]); |
1471 } | 1545 } |
1472 | 1546 |
1473 core.int buildCounterDiskTypeList = 0; | 1547 core.int buildCounterDiskTypeList = 0; |
1474 buildDiskTypeList() { | 1548 buildDiskTypeList() { |
1475 var o = new api.DiskTypeList(); | 1549 var o = new api.DiskTypeList(); |
1476 buildCounterDiskTypeList++; | 1550 buildCounterDiskTypeList++; |
1477 if (buildCounterDiskTypeList < 3) { | 1551 if (buildCounterDiskTypeList < 3) { |
1478 o.id = "foo"; | 1552 o.id = "foo"; |
1479 o.items = buildUnnamed2030(); | 1553 o.items = buildUnnamed2044(); |
1480 o.kind = "foo"; | 1554 o.kind = "foo"; |
1481 o.nextPageToken = "foo"; | 1555 o.nextPageToken = "foo"; |
1482 o.selfLink = "foo"; | 1556 o.selfLink = "foo"; |
1483 } | 1557 } |
1484 buildCounterDiskTypeList--; | 1558 buildCounterDiskTypeList--; |
1485 return o; | 1559 return o; |
1486 } | 1560 } |
1487 | 1561 |
1488 checkDiskTypeList(api.DiskTypeList o) { | 1562 checkDiskTypeList(api.DiskTypeList o) { |
1489 buildCounterDiskTypeList++; | 1563 buildCounterDiskTypeList++; |
1490 if (buildCounterDiskTypeList < 3) { | 1564 if (buildCounterDiskTypeList < 3) { |
1491 unittest.expect(o.id, unittest.equals('foo')); | 1565 unittest.expect(o.id, unittest.equals('foo')); |
1492 checkUnnamed2030(o.items); | 1566 checkUnnamed2044(o.items); |
1493 unittest.expect(o.kind, unittest.equals('foo')); | 1567 unittest.expect(o.kind, unittest.equals('foo')); |
1494 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1568 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1495 unittest.expect(o.selfLink, unittest.equals('foo')); | 1569 unittest.expect(o.selfLink, unittest.equals('foo')); |
1496 } | 1570 } |
1497 buildCounterDiskTypeList--; | 1571 buildCounterDiskTypeList--; |
1498 } | 1572 } |
1499 | 1573 |
1500 buildUnnamed2031() { | 1574 buildUnnamed2045() { |
1501 var o = new core.List<api.DiskType>(); | 1575 var o = new core.List<api.DiskType>(); |
1502 o.add(buildDiskType()); | 1576 o.add(buildDiskType()); |
1503 o.add(buildDiskType()); | 1577 o.add(buildDiskType()); |
1504 return o; | 1578 return o; |
1505 } | 1579 } |
1506 | 1580 |
1507 checkUnnamed2031(core.List<api.DiskType> o) { | 1581 checkUnnamed2045(core.List<api.DiskType> o) { |
1508 unittest.expect(o, unittest.hasLength(2)); | 1582 unittest.expect(o, unittest.hasLength(2)); |
1509 checkDiskType(o[0]); | 1583 checkDiskType(o[0]); |
1510 checkDiskType(o[1]); | 1584 checkDiskType(o[1]); |
1511 } | 1585 } |
1512 | 1586 |
1513 core.int buildCounterDiskTypesScopedListWarningData = 0; | 1587 core.int buildCounterDiskTypesScopedListWarningData = 0; |
1514 buildDiskTypesScopedListWarningData() { | 1588 buildDiskTypesScopedListWarningData() { |
1515 var o = new api.DiskTypesScopedListWarningData(); | 1589 var o = new api.DiskTypesScopedListWarningData(); |
1516 buildCounterDiskTypesScopedListWarningData++; | 1590 buildCounterDiskTypesScopedListWarningData++; |
1517 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1591 if (buildCounterDiskTypesScopedListWarningData < 3) { |
1518 o.key = "foo"; | 1592 o.key = "foo"; |
1519 o.value = "foo"; | 1593 o.value = "foo"; |
1520 } | 1594 } |
1521 buildCounterDiskTypesScopedListWarningData--; | 1595 buildCounterDiskTypesScopedListWarningData--; |
1522 return o; | 1596 return o; |
1523 } | 1597 } |
1524 | 1598 |
1525 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { | 1599 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { |
1526 buildCounterDiskTypesScopedListWarningData++; | 1600 buildCounterDiskTypesScopedListWarningData++; |
1527 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1601 if (buildCounterDiskTypesScopedListWarningData < 3) { |
1528 unittest.expect(o.key, unittest.equals('foo')); | 1602 unittest.expect(o.key, unittest.equals('foo')); |
1529 unittest.expect(o.value, unittest.equals('foo')); | 1603 unittest.expect(o.value, unittest.equals('foo')); |
1530 } | 1604 } |
1531 buildCounterDiskTypesScopedListWarningData--; | 1605 buildCounterDiskTypesScopedListWarningData--; |
1532 } | 1606 } |
1533 | 1607 |
1534 buildUnnamed2032() { | 1608 buildUnnamed2046() { |
1535 var o = new core.List<api.DiskTypesScopedListWarningData>(); | 1609 var o = new core.List<api.DiskTypesScopedListWarningData>(); |
1536 o.add(buildDiskTypesScopedListWarningData()); | 1610 o.add(buildDiskTypesScopedListWarningData()); |
1537 o.add(buildDiskTypesScopedListWarningData()); | 1611 o.add(buildDiskTypesScopedListWarningData()); |
1538 return o; | 1612 return o; |
1539 } | 1613 } |
1540 | 1614 |
1541 checkUnnamed2032(core.List<api.DiskTypesScopedListWarningData> o) { | 1615 checkUnnamed2046(core.List<api.DiskTypesScopedListWarningData> o) { |
1542 unittest.expect(o, unittest.hasLength(2)); | 1616 unittest.expect(o, unittest.hasLength(2)); |
1543 checkDiskTypesScopedListWarningData(o[0]); | 1617 checkDiskTypesScopedListWarningData(o[0]); |
1544 checkDiskTypesScopedListWarningData(o[1]); | 1618 checkDiskTypesScopedListWarningData(o[1]); |
1545 } | 1619 } |
1546 | 1620 |
1547 core.int buildCounterDiskTypesScopedListWarning = 0; | 1621 core.int buildCounterDiskTypesScopedListWarning = 0; |
1548 buildDiskTypesScopedListWarning() { | 1622 buildDiskTypesScopedListWarning() { |
1549 var o = new api.DiskTypesScopedListWarning(); | 1623 var o = new api.DiskTypesScopedListWarning(); |
1550 buildCounterDiskTypesScopedListWarning++; | 1624 buildCounterDiskTypesScopedListWarning++; |
1551 if (buildCounterDiskTypesScopedListWarning < 3) { | 1625 if (buildCounterDiskTypesScopedListWarning < 3) { |
1552 o.code = "foo"; | 1626 o.code = "foo"; |
1553 o.data = buildUnnamed2032(); | 1627 o.data = buildUnnamed2046(); |
1554 o.message = "foo"; | 1628 o.message = "foo"; |
1555 } | 1629 } |
1556 buildCounterDiskTypesScopedListWarning--; | 1630 buildCounterDiskTypesScopedListWarning--; |
1557 return o; | 1631 return o; |
1558 } | 1632 } |
1559 | 1633 |
1560 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { | 1634 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { |
1561 buildCounterDiskTypesScopedListWarning++; | 1635 buildCounterDiskTypesScopedListWarning++; |
1562 if (buildCounterDiskTypesScopedListWarning < 3) { | 1636 if (buildCounterDiskTypesScopedListWarning < 3) { |
1563 unittest.expect(o.code, unittest.equals('foo')); | 1637 unittest.expect(o.code, unittest.equals('foo')); |
1564 checkUnnamed2032(o.data); | 1638 checkUnnamed2046(o.data); |
1565 unittest.expect(o.message, unittest.equals('foo')); | 1639 unittest.expect(o.message, unittest.equals('foo')); |
1566 } | 1640 } |
1567 buildCounterDiskTypesScopedListWarning--; | 1641 buildCounterDiskTypesScopedListWarning--; |
1568 } | 1642 } |
1569 | 1643 |
1570 core.int buildCounterDiskTypesScopedList = 0; | 1644 core.int buildCounterDiskTypesScopedList = 0; |
1571 buildDiskTypesScopedList() { | 1645 buildDiskTypesScopedList() { |
1572 var o = new api.DiskTypesScopedList(); | 1646 var o = new api.DiskTypesScopedList(); |
1573 buildCounterDiskTypesScopedList++; | 1647 buildCounterDiskTypesScopedList++; |
1574 if (buildCounterDiskTypesScopedList < 3) { | 1648 if (buildCounterDiskTypesScopedList < 3) { |
1575 o.diskTypes = buildUnnamed2031(); | 1649 o.diskTypes = buildUnnamed2045(); |
1576 o.warning = buildDiskTypesScopedListWarning(); | 1650 o.warning = buildDiskTypesScopedListWarning(); |
1577 } | 1651 } |
1578 buildCounterDiskTypesScopedList--; | 1652 buildCounterDiskTypesScopedList--; |
1579 return o; | 1653 return o; |
1580 } | 1654 } |
1581 | 1655 |
1582 checkDiskTypesScopedList(api.DiskTypesScopedList o) { | 1656 checkDiskTypesScopedList(api.DiskTypesScopedList o) { |
1583 buildCounterDiskTypesScopedList++; | 1657 buildCounterDiskTypesScopedList++; |
1584 if (buildCounterDiskTypesScopedList < 3) { | 1658 if (buildCounterDiskTypesScopedList < 3) { |
1585 checkUnnamed2031(o.diskTypes); | 1659 checkUnnamed2045(o.diskTypes); |
1586 checkDiskTypesScopedListWarning(o.warning); | 1660 checkDiskTypesScopedListWarning(o.warning); |
1587 } | 1661 } |
1588 buildCounterDiskTypesScopedList--; | 1662 buildCounterDiskTypesScopedList--; |
1589 } | 1663 } |
1590 | 1664 |
1591 core.int buildCounterDisksResizeRequest = 0; | 1665 core.int buildCounterDisksResizeRequest = 0; |
1592 buildDisksResizeRequest() { | 1666 buildDisksResizeRequest() { |
1593 var o = new api.DisksResizeRequest(); | 1667 var o = new api.DisksResizeRequest(); |
1594 buildCounterDisksResizeRequest++; | 1668 buildCounterDisksResizeRequest++; |
1595 if (buildCounterDisksResizeRequest < 3) { | 1669 if (buildCounterDisksResizeRequest < 3) { |
1596 o.sizeGb = "foo"; | 1670 o.sizeGb = "foo"; |
1597 } | 1671 } |
1598 buildCounterDisksResizeRequest--; | 1672 buildCounterDisksResizeRequest--; |
1599 return o; | 1673 return o; |
1600 } | 1674 } |
1601 | 1675 |
1602 checkDisksResizeRequest(api.DisksResizeRequest o) { | 1676 checkDisksResizeRequest(api.DisksResizeRequest o) { |
1603 buildCounterDisksResizeRequest++; | 1677 buildCounterDisksResizeRequest++; |
1604 if (buildCounterDisksResizeRequest < 3) { | 1678 if (buildCounterDisksResizeRequest < 3) { |
1605 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1679 unittest.expect(o.sizeGb, unittest.equals('foo')); |
1606 } | 1680 } |
1607 buildCounterDisksResizeRequest--; | 1681 buildCounterDisksResizeRequest--; |
1608 } | 1682 } |
1609 | 1683 |
1610 buildUnnamed2033() { | 1684 buildUnnamed2047() { |
1611 var o = new core.List<api.Disk>(); | 1685 var o = new core.List<api.Disk>(); |
1612 o.add(buildDisk()); | 1686 o.add(buildDisk()); |
1613 o.add(buildDisk()); | 1687 o.add(buildDisk()); |
1614 return o; | 1688 return o; |
1615 } | 1689 } |
1616 | 1690 |
1617 checkUnnamed2033(core.List<api.Disk> o) { | 1691 checkUnnamed2047(core.List<api.Disk> o) { |
1618 unittest.expect(o, unittest.hasLength(2)); | 1692 unittest.expect(o, unittest.hasLength(2)); |
1619 checkDisk(o[0]); | 1693 checkDisk(o[0]); |
1620 checkDisk(o[1]); | 1694 checkDisk(o[1]); |
1621 } | 1695 } |
1622 | 1696 |
1623 core.int buildCounterDisksScopedListWarningData = 0; | 1697 core.int buildCounterDisksScopedListWarningData = 0; |
1624 buildDisksScopedListWarningData() { | 1698 buildDisksScopedListWarningData() { |
1625 var o = new api.DisksScopedListWarningData(); | 1699 var o = new api.DisksScopedListWarningData(); |
1626 buildCounterDisksScopedListWarningData++; | 1700 buildCounterDisksScopedListWarningData++; |
1627 if (buildCounterDisksScopedListWarningData < 3) { | 1701 if (buildCounterDisksScopedListWarningData < 3) { |
1628 o.key = "foo"; | 1702 o.key = "foo"; |
1629 o.value = "foo"; | 1703 o.value = "foo"; |
1630 } | 1704 } |
1631 buildCounterDisksScopedListWarningData--; | 1705 buildCounterDisksScopedListWarningData--; |
1632 return o; | 1706 return o; |
1633 } | 1707 } |
1634 | 1708 |
1635 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { | 1709 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { |
1636 buildCounterDisksScopedListWarningData++; | 1710 buildCounterDisksScopedListWarningData++; |
1637 if (buildCounterDisksScopedListWarningData < 3) { | 1711 if (buildCounterDisksScopedListWarningData < 3) { |
1638 unittest.expect(o.key, unittest.equals('foo')); | 1712 unittest.expect(o.key, unittest.equals('foo')); |
1639 unittest.expect(o.value, unittest.equals('foo')); | 1713 unittest.expect(o.value, unittest.equals('foo')); |
1640 } | 1714 } |
1641 buildCounterDisksScopedListWarningData--; | 1715 buildCounterDisksScopedListWarningData--; |
1642 } | 1716 } |
1643 | 1717 |
1644 buildUnnamed2034() { | 1718 buildUnnamed2048() { |
1645 var o = new core.List<api.DisksScopedListWarningData>(); | 1719 var o = new core.List<api.DisksScopedListWarningData>(); |
1646 o.add(buildDisksScopedListWarningData()); | 1720 o.add(buildDisksScopedListWarningData()); |
1647 o.add(buildDisksScopedListWarningData()); | 1721 o.add(buildDisksScopedListWarningData()); |
1648 return o; | 1722 return o; |
1649 } | 1723 } |
1650 | 1724 |
1651 checkUnnamed2034(core.List<api.DisksScopedListWarningData> o) { | 1725 checkUnnamed2048(core.List<api.DisksScopedListWarningData> o) { |
1652 unittest.expect(o, unittest.hasLength(2)); | 1726 unittest.expect(o, unittest.hasLength(2)); |
1653 checkDisksScopedListWarningData(o[0]); | 1727 checkDisksScopedListWarningData(o[0]); |
1654 checkDisksScopedListWarningData(o[1]); | 1728 checkDisksScopedListWarningData(o[1]); |
1655 } | 1729 } |
1656 | 1730 |
1657 core.int buildCounterDisksScopedListWarning = 0; | 1731 core.int buildCounterDisksScopedListWarning = 0; |
1658 buildDisksScopedListWarning() { | 1732 buildDisksScopedListWarning() { |
1659 var o = new api.DisksScopedListWarning(); | 1733 var o = new api.DisksScopedListWarning(); |
1660 buildCounterDisksScopedListWarning++; | 1734 buildCounterDisksScopedListWarning++; |
1661 if (buildCounterDisksScopedListWarning < 3) { | 1735 if (buildCounterDisksScopedListWarning < 3) { |
1662 o.code = "foo"; | 1736 o.code = "foo"; |
1663 o.data = buildUnnamed2034(); | 1737 o.data = buildUnnamed2048(); |
1664 o.message = "foo"; | 1738 o.message = "foo"; |
1665 } | 1739 } |
1666 buildCounterDisksScopedListWarning--; | 1740 buildCounterDisksScopedListWarning--; |
1667 return o; | 1741 return o; |
1668 } | 1742 } |
1669 | 1743 |
1670 checkDisksScopedListWarning(api.DisksScopedListWarning o) { | 1744 checkDisksScopedListWarning(api.DisksScopedListWarning o) { |
1671 buildCounterDisksScopedListWarning++; | 1745 buildCounterDisksScopedListWarning++; |
1672 if (buildCounterDisksScopedListWarning < 3) { | 1746 if (buildCounterDisksScopedListWarning < 3) { |
1673 unittest.expect(o.code, unittest.equals('foo')); | 1747 unittest.expect(o.code, unittest.equals('foo')); |
1674 checkUnnamed2034(o.data); | 1748 checkUnnamed2048(o.data); |
1675 unittest.expect(o.message, unittest.equals('foo')); | 1749 unittest.expect(o.message, unittest.equals('foo')); |
1676 } | 1750 } |
1677 buildCounterDisksScopedListWarning--; | 1751 buildCounterDisksScopedListWarning--; |
1678 } | 1752 } |
1679 | 1753 |
1680 core.int buildCounterDisksScopedList = 0; | 1754 core.int buildCounterDisksScopedList = 0; |
1681 buildDisksScopedList() { | 1755 buildDisksScopedList() { |
1682 var o = new api.DisksScopedList(); | 1756 var o = new api.DisksScopedList(); |
1683 buildCounterDisksScopedList++; | 1757 buildCounterDisksScopedList++; |
1684 if (buildCounterDisksScopedList < 3) { | 1758 if (buildCounterDisksScopedList < 3) { |
1685 o.disks = buildUnnamed2033(); | 1759 o.disks = buildUnnamed2047(); |
1686 o.warning = buildDisksScopedListWarning(); | 1760 o.warning = buildDisksScopedListWarning(); |
1687 } | 1761 } |
1688 buildCounterDisksScopedList--; | 1762 buildCounterDisksScopedList--; |
1689 return o; | 1763 return o; |
1690 } | 1764 } |
1691 | 1765 |
1692 checkDisksScopedList(api.DisksScopedList o) { | 1766 checkDisksScopedList(api.DisksScopedList o) { |
1693 buildCounterDisksScopedList++; | 1767 buildCounterDisksScopedList++; |
1694 if (buildCounterDisksScopedList < 3) { | 1768 if (buildCounterDisksScopedList < 3) { |
1695 checkUnnamed2033(o.disks); | 1769 checkUnnamed2047(o.disks); |
1696 checkDisksScopedListWarning(o.warning); | 1770 checkDisksScopedListWarning(o.warning); |
1697 } | 1771 } |
1698 buildCounterDisksScopedList--; | 1772 buildCounterDisksScopedList--; |
1699 } | 1773 } |
1700 | 1774 |
1701 buildUnnamed2035() { | 1775 buildUnnamed2049() { |
1702 var o = new core.List<core.String>(); | 1776 var o = new core.List<core.String>(); |
1703 o.add("foo"); | 1777 o.add("foo"); |
1704 o.add("foo"); | 1778 o.add("foo"); |
1705 return o; | 1779 return o; |
1706 } | 1780 } |
1707 | 1781 |
1708 checkUnnamed2035(core.List<core.String> o) { | 1782 checkUnnamed2049(core.List<core.String> o) { |
1709 unittest.expect(o, unittest.hasLength(2)); | 1783 unittest.expect(o, unittest.hasLength(2)); |
1710 unittest.expect(o[0], unittest.equals('foo')); | 1784 unittest.expect(o[0], unittest.equals('foo')); |
1711 unittest.expect(o[1], unittest.equals('foo')); | 1785 unittest.expect(o[1], unittest.equals('foo')); |
1712 } | 1786 } |
1713 | 1787 |
1714 core.int buildCounterFirewallAllowed = 0; | 1788 core.int buildCounterFirewallAllowed = 0; |
1715 buildFirewallAllowed() { | 1789 buildFirewallAllowed() { |
1716 var o = new api.FirewallAllowed(); | 1790 var o = new api.FirewallAllowed(); |
1717 buildCounterFirewallAllowed++; | 1791 buildCounterFirewallAllowed++; |
1718 if (buildCounterFirewallAllowed < 3) { | 1792 if (buildCounterFirewallAllowed < 3) { |
1719 o.IPProtocol = "foo"; | 1793 o.IPProtocol = "foo"; |
1720 o.ports = buildUnnamed2035(); | 1794 o.ports = buildUnnamed2049(); |
1721 } | 1795 } |
1722 buildCounterFirewallAllowed--; | 1796 buildCounterFirewallAllowed--; |
1723 return o; | 1797 return o; |
1724 } | 1798 } |
1725 | 1799 |
1726 checkFirewallAllowed(api.FirewallAllowed o) { | 1800 checkFirewallAllowed(api.FirewallAllowed o) { |
1727 buildCounterFirewallAllowed++; | 1801 buildCounterFirewallAllowed++; |
1728 if (buildCounterFirewallAllowed < 3) { | 1802 if (buildCounterFirewallAllowed < 3) { |
1729 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 1803 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
1730 checkUnnamed2035(o.ports); | 1804 checkUnnamed2049(o.ports); |
1731 } | 1805 } |
1732 buildCounterFirewallAllowed--; | 1806 buildCounterFirewallAllowed--; |
1733 } | 1807 } |
1734 | 1808 |
1735 buildUnnamed2036() { | 1809 buildUnnamed2050() { |
1736 var o = new core.List<api.FirewallAllowed>(); | 1810 var o = new core.List<api.FirewallAllowed>(); |
1737 o.add(buildFirewallAllowed()); | 1811 o.add(buildFirewallAllowed()); |
1738 o.add(buildFirewallAllowed()); | 1812 o.add(buildFirewallAllowed()); |
1739 return o; | 1813 return o; |
1740 } | 1814 } |
1741 | 1815 |
1742 checkUnnamed2036(core.List<api.FirewallAllowed> o) { | 1816 checkUnnamed2050(core.List<api.FirewallAllowed> o) { |
1743 unittest.expect(o, unittest.hasLength(2)); | 1817 unittest.expect(o, unittest.hasLength(2)); |
1744 checkFirewallAllowed(o[0]); | 1818 checkFirewallAllowed(o[0]); |
1745 checkFirewallAllowed(o[1]); | 1819 checkFirewallAllowed(o[1]); |
1746 } | 1820 } |
1747 | 1821 |
1748 buildUnnamed2037() { | 1822 buildUnnamed2051() { |
1749 var o = new core.List<core.String>(); | 1823 var o = new core.List<core.String>(); |
1750 o.add("foo"); | 1824 o.add("foo"); |
1751 o.add("foo"); | 1825 o.add("foo"); |
1752 return o; | 1826 return o; |
1753 } | 1827 } |
1754 | 1828 |
1755 checkUnnamed2037(core.List<core.String> o) { | 1829 checkUnnamed2051(core.List<core.String> o) { |
1756 unittest.expect(o, unittest.hasLength(2)); | 1830 unittest.expect(o, unittest.hasLength(2)); |
1757 unittest.expect(o[0], unittest.equals('foo')); | 1831 unittest.expect(o[0], unittest.equals('foo')); |
1758 unittest.expect(o[1], unittest.equals('foo')); | 1832 unittest.expect(o[1], unittest.equals('foo')); |
1759 } | 1833 } |
1760 | 1834 |
1761 buildUnnamed2038() { | 1835 buildUnnamed2052() { |
1762 var o = new core.List<core.String>(); | 1836 var o = new core.List<core.String>(); |
1763 o.add("foo"); | 1837 o.add("foo"); |
1764 o.add("foo"); | 1838 o.add("foo"); |
1765 return o; | 1839 return o; |
1766 } | 1840 } |
1767 | 1841 |
1768 checkUnnamed2038(core.List<core.String> o) { | 1842 checkUnnamed2052(core.List<core.String> o) { |
1769 unittest.expect(o, unittest.hasLength(2)); | 1843 unittest.expect(o, unittest.hasLength(2)); |
1770 unittest.expect(o[0], unittest.equals('foo')); | 1844 unittest.expect(o[0], unittest.equals('foo')); |
1771 unittest.expect(o[1], unittest.equals('foo')); | 1845 unittest.expect(o[1], unittest.equals('foo')); |
1772 } | 1846 } |
1773 | 1847 |
1774 buildUnnamed2039() { | 1848 buildUnnamed2053() { |
1775 var o = new core.List<core.String>(); | 1849 var o = new core.List<core.String>(); |
1776 o.add("foo"); | 1850 o.add("foo"); |
1777 o.add("foo"); | 1851 o.add("foo"); |
1778 return o; | 1852 return o; |
1779 } | 1853 } |
1780 | 1854 |
1781 checkUnnamed2039(core.List<core.String> o) { | 1855 checkUnnamed2053(core.List<core.String> o) { |
1782 unittest.expect(o, unittest.hasLength(2)); | 1856 unittest.expect(o, unittest.hasLength(2)); |
1783 unittest.expect(o[0], unittest.equals('foo')); | 1857 unittest.expect(o[0], unittest.equals('foo')); |
1784 unittest.expect(o[1], unittest.equals('foo')); | 1858 unittest.expect(o[1], unittest.equals('foo')); |
1785 } | 1859 } |
1786 | 1860 |
1787 core.int buildCounterFirewall = 0; | 1861 core.int buildCounterFirewall = 0; |
1788 buildFirewall() { | 1862 buildFirewall() { |
1789 var o = new api.Firewall(); | 1863 var o = new api.Firewall(); |
1790 buildCounterFirewall++; | 1864 buildCounterFirewall++; |
1791 if (buildCounterFirewall < 3) { | 1865 if (buildCounterFirewall < 3) { |
1792 o.allowed = buildUnnamed2036(); | 1866 o.allowed = buildUnnamed2050(); |
1793 o.creationTimestamp = "foo"; | 1867 o.creationTimestamp = "foo"; |
1794 o.description = "foo"; | 1868 o.description = "foo"; |
1795 o.id = "foo"; | 1869 o.id = "foo"; |
1796 o.kind = "foo"; | 1870 o.kind = "foo"; |
1797 o.name = "foo"; | 1871 o.name = "foo"; |
1798 o.network = "foo"; | 1872 o.network = "foo"; |
1799 o.selfLink = "foo"; | 1873 o.selfLink = "foo"; |
1800 o.sourceRanges = buildUnnamed2037(); | 1874 o.sourceRanges = buildUnnamed2051(); |
1801 o.sourceTags = buildUnnamed2038(); | 1875 o.sourceTags = buildUnnamed2052(); |
1802 o.targetTags = buildUnnamed2039(); | 1876 o.targetTags = buildUnnamed2053(); |
1803 } | 1877 } |
1804 buildCounterFirewall--; | 1878 buildCounterFirewall--; |
1805 return o; | 1879 return o; |
1806 } | 1880 } |
1807 | 1881 |
1808 checkFirewall(api.Firewall o) { | 1882 checkFirewall(api.Firewall o) { |
1809 buildCounterFirewall++; | 1883 buildCounterFirewall++; |
1810 if (buildCounterFirewall < 3) { | 1884 if (buildCounterFirewall < 3) { |
1811 checkUnnamed2036(o.allowed); | 1885 checkUnnamed2050(o.allowed); |
1812 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1886 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1813 unittest.expect(o.description, unittest.equals('foo')); | 1887 unittest.expect(o.description, unittest.equals('foo')); |
1814 unittest.expect(o.id, unittest.equals('foo')); | 1888 unittest.expect(o.id, unittest.equals('foo')); |
1815 unittest.expect(o.kind, unittest.equals('foo')); | 1889 unittest.expect(o.kind, unittest.equals('foo')); |
1816 unittest.expect(o.name, unittest.equals('foo')); | 1890 unittest.expect(o.name, unittest.equals('foo')); |
1817 unittest.expect(o.network, unittest.equals('foo')); | 1891 unittest.expect(o.network, unittest.equals('foo')); |
1818 unittest.expect(o.selfLink, unittest.equals('foo')); | 1892 unittest.expect(o.selfLink, unittest.equals('foo')); |
1819 checkUnnamed2037(o.sourceRanges); | 1893 checkUnnamed2051(o.sourceRanges); |
1820 checkUnnamed2038(o.sourceTags); | 1894 checkUnnamed2052(o.sourceTags); |
1821 checkUnnamed2039(o.targetTags); | 1895 checkUnnamed2053(o.targetTags); |
1822 } | 1896 } |
1823 buildCounterFirewall--; | 1897 buildCounterFirewall--; |
1824 } | 1898 } |
1825 | 1899 |
1826 buildUnnamed2040() { | 1900 buildUnnamed2054() { |
1827 var o = new core.List<api.Firewall>(); | 1901 var o = new core.List<api.Firewall>(); |
1828 o.add(buildFirewall()); | 1902 o.add(buildFirewall()); |
1829 o.add(buildFirewall()); | 1903 o.add(buildFirewall()); |
1830 return o; | 1904 return o; |
1831 } | 1905 } |
1832 | 1906 |
1833 checkUnnamed2040(core.List<api.Firewall> o) { | 1907 checkUnnamed2054(core.List<api.Firewall> o) { |
1834 unittest.expect(o, unittest.hasLength(2)); | 1908 unittest.expect(o, unittest.hasLength(2)); |
1835 checkFirewall(o[0]); | 1909 checkFirewall(o[0]); |
1836 checkFirewall(o[1]); | 1910 checkFirewall(o[1]); |
1837 } | 1911 } |
1838 | 1912 |
1839 core.int buildCounterFirewallList = 0; | 1913 core.int buildCounterFirewallList = 0; |
1840 buildFirewallList() { | 1914 buildFirewallList() { |
1841 var o = new api.FirewallList(); | 1915 var o = new api.FirewallList(); |
1842 buildCounterFirewallList++; | 1916 buildCounterFirewallList++; |
1843 if (buildCounterFirewallList < 3) { | 1917 if (buildCounterFirewallList < 3) { |
1844 o.id = "foo"; | 1918 o.id = "foo"; |
1845 o.items = buildUnnamed2040(); | 1919 o.items = buildUnnamed2054(); |
1846 o.kind = "foo"; | 1920 o.kind = "foo"; |
1847 o.nextPageToken = "foo"; | 1921 o.nextPageToken = "foo"; |
1848 o.selfLink = "foo"; | 1922 o.selfLink = "foo"; |
1849 } | 1923 } |
1850 buildCounterFirewallList--; | 1924 buildCounterFirewallList--; |
1851 return o; | 1925 return o; |
1852 } | 1926 } |
1853 | 1927 |
1854 checkFirewallList(api.FirewallList o) { | 1928 checkFirewallList(api.FirewallList o) { |
1855 buildCounterFirewallList++; | 1929 buildCounterFirewallList++; |
1856 if (buildCounterFirewallList < 3) { | 1930 if (buildCounterFirewallList < 3) { |
1857 unittest.expect(o.id, unittest.equals('foo')); | 1931 unittest.expect(o.id, unittest.equals('foo')); |
1858 checkUnnamed2040(o.items); | 1932 checkUnnamed2054(o.items); |
1859 unittest.expect(o.kind, unittest.equals('foo')); | 1933 unittest.expect(o.kind, unittest.equals('foo')); |
1860 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1934 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1861 unittest.expect(o.selfLink, unittest.equals('foo')); | 1935 unittest.expect(o.selfLink, unittest.equals('foo')); |
1862 } | 1936 } |
1863 buildCounterFirewallList--; | 1937 buildCounterFirewallList--; |
1864 } | 1938 } |
1865 | 1939 |
1866 buildUnnamed2041() { | 1940 buildUnnamed2055() { |
1867 var o = new core.List<core.String>(); | 1941 var o = new core.List<core.String>(); |
1868 o.add("foo"); | 1942 o.add("foo"); |
1869 o.add("foo"); | 1943 o.add("foo"); |
1870 return o; | 1944 return o; |
1871 } | 1945 } |
1872 | 1946 |
1873 checkUnnamed2041(core.List<core.String> o) { | 1947 checkUnnamed2055(core.List<core.String> o) { |
1874 unittest.expect(o, unittest.hasLength(2)); | 1948 unittest.expect(o, unittest.hasLength(2)); |
1875 unittest.expect(o[0], unittest.equals('foo')); | 1949 unittest.expect(o[0], unittest.equals('foo')); |
1876 unittest.expect(o[1], unittest.equals('foo')); | 1950 unittest.expect(o[1], unittest.equals('foo')); |
1877 } | 1951 } |
1878 | 1952 |
1879 core.int buildCounterForwardingRule = 0; | 1953 core.int buildCounterForwardingRule = 0; |
1880 buildForwardingRule() { | 1954 buildForwardingRule() { |
1881 var o = new api.ForwardingRule(); | 1955 var o = new api.ForwardingRule(); |
1882 buildCounterForwardingRule++; | 1956 buildCounterForwardingRule++; |
1883 if (buildCounterForwardingRule < 3) { | 1957 if (buildCounterForwardingRule < 3) { |
1884 o.IPAddress = "foo"; | 1958 o.IPAddress = "foo"; |
1885 o.IPProtocol = "foo"; | 1959 o.IPProtocol = "foo"; |
1886 o.backendService = "foo"; | 1960 o.backendService = "foo"; |
1887 o.creationTimestamp = "foo"; | 1961 o.creationTimestamp = "foo"; |
1888 o.description = "foo"; | 1962 o.description = "foo"; |
1889 o.id = "foo"; | 1963 o.id = "foo"; |
1890 o.kind = "foo"; | 1964 o.kind = "foo"; |
1891 o.loadBalancingScheme = "foo"; | 1965 o.loadBalancingScheme = "foo"; |
1892 o.name = "foo"; | 1966 o.name = "foo"; |
1893 o.network = "foo"; | 1967 o.network = "foo"; |
1894 o.portRange = "foo"; | 1968 o.portRange = "foo"; |
1895 o.ports = buildUnnamed2041(); | 1969 o.ports = buildUnnamed2055(); |
1896 o.region = "foo"; | 1970 o.region = "foo"; |
1897 o.selfLink = "foo"; | 1971 o.selfLink = "foo"; |
1898 o.subnetwork = "foo"; | 1972 o.subnetwork = "foo"; |
1899 o.target = "foo"; | 1973 o.target = "foo"; |
1900 } | 1974 } |
1901 buildCounterForwardingRule--; | 1975 buildCounterForwardingRule--; |
1902 return o; | 1976 return o; |
1903 } | 1977 } |
1904 | 1978 |
1905 checkForwardingRule(api.ForwardingRule o) { | 1979 checkForwardingRule(api.ForwardingRule o) { |
1906 buildCounterForwardingRule++; | 1980 buildCounterForwardingRule++; |
1907 if (buildCounterForwardingRule < 3) { | 1981 if (buildCounterForwardingRule < 3) { |
1908 unittest.expect(o.IPAddress, unittest.equals('foo')); | 1982 unittest.expect(o.IPAddress, unittest.equals('foo')); |
1909 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 1983 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
1910 unittest.expect(o.backendService, unittest.equals('foo')); | 1984 unittest.expect(o.backendService, unittest.equals('foo')); |
1911 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1985 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1912 unittest.expect(o.description, unittest.equals('foo')); | 1986 unittest.expect(o.description, unittest.equals('foo')); |
1913 unittest.expect(o.id, unittest.equals('foo')); | 1987 unittest.expect(o.id, unittest.equals('foo')); |
1914 unittest.expect(o.kind, unittest.equals('foo')); | 1988 unittest.expect(o.kind, unittest.equals('foo')); |
1915 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); | 1989 unittest.expect(o.loadBalancingScheme, unittest.equals('foo')); |
1916 unittest.expect(o.name, unittest.equals('foo')); | 1990 unittest.expect(o.name, unittest.equals('foo')); |
1917 unittest.expect(o.network, unittest.equals('foo')); | 1991 unittest.expect(o.network, unittest.equals('foo')); |
1918 unittest.expect(o.portRange, unittest.equals('foo')); | 1992 unittest.expect(o.portRange, unittest.equals('foo')); |
1919 checkUnnamed2041(o.ports); | 1993 checkUnnamed2055(o.ports); |
1920 unittest.expect(o.region, unittest.equals('foo')); | 1994 unittest.expect(o.region, unittest.equals('foo')); |
1921 unittest.expect(o.selfLink, unittest.equals('foo')); | 1995 unittest.expect(o.selfLink, unittest.equals('foo')); |
1922 unittest.expect(o.subnetwork, unittest.equals('foo')); | 1996 unittest.expect(o.subnetwork, unittest.equals('foo')); |
1923 unittest.expect(o.target, unittest.equals('foo')); | 1997 unittest.expect(o.target, unittest.equals('foo')); |
1924 } | 1998 } |
1925 buildCounterForwardingRule--; | 1999 buildCounterForwardingRule--; |
1926 } | 2000 } |
1927 | 2001 |
1928 buildUnnamed2042() { | 2002 buildUnnamed2056() { |
1929 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); | 2003 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); |
1930 o["x"] = buildForwardingRulesScopedList(); | 2004 o["x"] = buildForwardingRulesScopedList(); |
1931 o["y"] = buildForwardingRulesScopedList(); | 2005 o["y"] = buildForwardingRulesScopedList(); |
1932 return o; | 2006 return o; |
1933 } | 2007 } |
1934 | 2008 |
1935 checkUnnamed2042(core.Map<core.String, api.ForwardingRulesScopedList> o) { | 2009 checkUnnamed2056(core.Map<core.String, api.ForwardingRulesScopedList> o) { |
1936 unittest.expect(o, unittest.hasLength(2)); | 2010 unittest.expect(o, unittest.hasLength(2)); |
1937 checkForwardingRulesScopedList(o["x"]); | 2011 checkForwardingRulesScopedList(o["x"]); |
1938 checkForwardingRulesScopedList(o["y"]); | 2012 checkForwardingRulesScopedList(o["y"]); |
1939 } | 2013 } |
1940 | 2014 |
1941 core.int buildCounterForwardingRuleAggregatedList = 0; | 2015 core.int buildCounterForwardingRuleAggregatedList = 0; |
1942 buildForwardingRuleAggregatedList() { | 2016 buildForwardingRuleAggregatedList() { |
1943 var o = new api.ForwardingRuleAggregatedList(); | 2017 var o = new api.ForwardingRuleAggregatedList(); |
1944 buildCounterForwardingRuleAggregatedList++; | 2018 buildCounterForwardingRuleAggregatedList++; |
1945 if (buildCounterForwardingRuleAggregatedList < 3) { | 2019 if (buildCounterForwardingRuleAggregatedList < 3) { |
1946 o.id = "foo"; | 2020 o.id = "foo"; |
1947 o.items = buildUnnamed2042(); | 2021 o.items = buildUnnamed2056(); |
1948 o.kind = "foo"; | 2022 o.kind = "foo"; |
1949 o.nextPageToken = "foo"; | 2023 o.nextPageToken = "foo"; |
1950 o.selfLink = "foo"; | 2024 o.selfLink = "foo"; |
1951 } | 2025 } |
1952 buildCounterForwardingRuleAggregatedList--; | 2026 buildCounterForwardingRuleAggregatedList--; |
1953 return o; | 2027 return o; |
1954 } | 2028 } |
1955 | 2029 |
1956 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { | 2030 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { |
1957 buildCounterForwardingRuleAggregatedList++; | 2031 buildCounterForwardingRuleAggregatedList++; |
1958 if (buildCounterForwardingRuleAggregatedList < 3) { | 2032 if (buildCounterForwardingRuleAggregatedList < 3) { |
1959 unittest.expect(o.id, unittest.equals('foo')); | 2033 unittest.expect(o.id, unittest.equals('foo')); |
1960 checkUnnamed2042(o.items); | 2034 checkUnnamed2056(o.items); |
1961 unittest.expect(o.kind, unittest.equals('foo')); | 2035 unittest.expect(o.kind, unittest.equals('foo')); |
1962 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2036 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1963 unittest.expect(o.selfLink, unittest.equals('foo')); | 2037 unittest.expect(o.selfLink, unittest.equals('foo')); |
1964 } | 2038 } |
1965 buildCounterForwardingRuleAggregatedList--; | 2039 buildCounterForwardingRuleAggregatedList--; |
1966 } | 2040 } |
1967 | 2041 |
1968 buildUnnamed2043() { | 2042 buildUnnamed2057() { |
1969 var o = new core.List<api.ForwardingRule>(); | 2043 var o = new core.List<api.ForwardingRule>(); |
1970 o.add(buildForwardingRule()); | 2044 o.add(buildForwardingRule()); |
1971 o.add(buildForwardingRule()); | 2045 o.add(buildForwardingRule()); |
1972 return o; | 2046 return o; |
1973 } | 2047 } |
1974 | 2048 |
1975 checkUnnamed2043(core.List<api.ForwardingRule> o) { | 2049 checkUnnamed2057(core.List<api.ForwardingRule> o) { |
1976 unittest.expect(o, unittest.hasLength(2)); | 2050 unittest.expect(o, unittest.hasLength(2)); |
1977 checkForwardingRule(o[0]); | 2051 checkForwardingRule(o[0]); |
1978 checkForwardingRule(o[1]); | 2052 checkForwardingRule(o[1]); |
1979 } | 2053 } |
1980 | 2054 |
1981 core.int buildCounterForwardingRuleList = 0; | 2055 core.int buildCounterForwardingRuleList = 0; |
1982 buildForwardingRuleList() { | 2056 buildForwardingRuleList() { |
1983 var o = new api.ForwardingRuleList(); | 2057 var o = new api.ForwardingRuleList(); |
1984 buildCounterForwardingRuleList++; | 2058 buildCounterForwardingRuleList++; |
1985 if (buildCounterForwardingRuleList < 3) { | 2059 if (buildCounterForwardingRuleList < 3) { |
1986 o.id = "foo"; | 2060 o.id = "foo"; |
1987 o.items = buildUnnamed2043(); | 2061 o.items = buildUnnamed2057(); |
1988 o.kind = "foo"; | 2062 o.kind = "foo"; |
1989 o.nextPageToken = "foo"; | 2063 o.nextPageToken = "foo"; |
1990 o.selfLink = "foo"; | 2064 o.selfLink = "foo"; |
1991 } | 2065 } |
1992 buildCounterForwardingRuleList--; | 2066 buildCounterForwardingRuleList--; |
1993 return o; | 2067 return o; |
1994 } | 2068 } |
1995 | 2069 |
1996 checkForwardingRuleList(api.ForwardingRuleList o) { | 2070 checkForwardingRuleList(api.ForwardingRuleList o) { |
1997 buildCounterForwardingRuleList++; | 2071 buildCounterForwardingRuleList++; |
1998 if (buildCounterForwardingRuleList < 3) { | 2072 if (buildCounterForwardingRuleList < 3) { |
1999 unittest.expect(o.id, unittest.equals('foo')); | 2073 unittest.expect(o.id, unittest.equals('foo')); |
2000 checkUnnamed2043(o.items); | 2074 checkUnnamed2057(o.items); |
2001 unittest.expect(o.kind, unittest.equals('foo')); | 2075 unittest.expect(o.kind, unittest.equals('foo')); |
2002 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2076 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2003 unittest.expect(o.selfLink, unittest.equals('foo')); | 2077 unittest.expect(o.selfLink, unittest.equals('foo')); |
2004 } | 2078 } |
2005 buildCounterForwardingRuleList--; | 2079 buildCounterForwardingRuleList--; |
2006 } | 2080 } |
2007 | 2081 |
2008 buildUnnamed2044() { | 2082 buildUnnamed2058() { |
2009 var o = new core.List<api.ForwardingRule>(); | 2083 var o = new core.List<api.ForwardingRule>(); |
2010 o.add(buildForwardingRule()); | 2084 o.add(buildForwardingRule()); |
2011 o.add(buildForwardingRule()); | 2085 o.add(buildForwardingRule()); |
2012 return o; | 2086 return o; |
2013 } | 2087 } |
2014 | 2088 |
2015 checkUnnamed2044(core.List<api.ForwardingRule> o) { | 2089 checkUnnamed2058(core.List<api.ForwardingRule> o) { |
2016 unittest.expect(o, unittest.hasLength(2)); | 2090 unittest.expect(o, unittest.hasLength(2)); |
2017 checkForwardingRule(o[0]); | 2091 checkForwardingRule(o[0]); |
2018 checkForwardingRule(o[1]); | 2092 checkForwardingRule(o[1]); |
2019 } | 2093 } |
2020 | 2094 |
2021 core.int buildCounterForwardingRulesScopedListWarningData = 0; | 2095 core.int buildCounterForwardingRulesScopedListWarningData = 0; |
2022 buildForwardingRulesScopedListWarningData() { | 2096 buildForwardingRulesScopedListWarningData() { |
2023 var o = new api.ForwardingRulesScopedListWarningData(); | 2097 var o = new api.ForwardingRulesScopedListWarningData(); |
2024 buildCounterForwardingRulesScopedListWarningData++; | 2098 buildCounterForwardingRulesScopedListWarningData++; |
2025 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 2099 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
2026 o.key = "foo"; | 2100 o.key = "foo"; |
2027 o.value = "foo"; | 2101 o.value = "foo"; |
2028 } | 2102 } |
2029 buildCounterForwardingRulesScopedListWarningData--; | 2103 buildCounterForwardingRulesScopedListWarningData--; |
2030 return o; | 2104 return o; |
2031 } | 2105 } |
2032 | 2106 |
2033 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { | 2107 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { |
2034 buildCounterForwardingRulesScopedListWarningData++; | 2108 buildCounterForwardingRulesScopedListWarningData++; |
2035 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 2109 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
2036 unittest.expect(o.key, unittest.equals('foo')); | 2110 unittest.expect(o.key, unittest.equals('foo')); |
2037 unittest.expect(o.value, unittest.equals('foo')); | 2111 unittest.expect(o.value, unittest.equals('foo')); |
2038 } | 2112 } |
2039 buildCounterForwardingRulesScopedListWarningData--; | 2113 buildCounterForwardingRulesScopedListWarningData--; |
2040 } | 2114 } |
2041 | 2115 |
2042 buildUnnamed2045() { | 2116 buildUnnamed2059() { |
2043 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); | 2117 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); |
2044 o.add(buildForwardingRulesScopedListWarningData()); | 2118 o.add(buildForwardingRulesScopedListWarningData()); |
2045 o.add(buildForwardingRulesScopedListWarningData()); | 2119 o.add(buildForwardingRulesScopedListWarningData()); |
2046 return o; | 2120 return o; |
2047 } | 2121 } |
2048 | 2122 |
2049 checkUnnamed2045(core.List<api.ForwardingRulesScopedListWarningData> o) { | 2123 checkUnnamed2059(core.List<api.ForwardingRulesScopedListWarningData> o) { |
2050 unittest.expect(o, unittest.hasLength(2)); | 2124 unittest.expect(o, unittest.hasLength(2)); |
2051 checkForwardingRulesScopedListWarningData(o[0]); | 2125 checkForwardingRulesScopedListWarningData(o[0]); |
2052 checkForwardingRulesScopedListWarningData(o[1]); | 2126 checkForwardingRulesScopedListWarningData(o[1]); |
2053 } | 2127 } |
2054 | 2128 |
2055 core.int buildCounterForwardingRulesScopedListWarning = 0; | 2129 core.int buildCounterForwardingRulesScopedListWarning = 0; |
2056 buildForwardingRulesScopedListWarning() { | 2130 buildForwardingRulesScopedListWarning() { |
2057 var o = new api.ForwardingRulesScopedListWarning(); | 2131 var o = new api.ForwardingRulesScopedListWarning(); |
2058 buildCounterForwardingRulesScopedListWarning++; | 2132 buildCounterForwardingRulesScopedListWarning++; |
2059 if (buildCounterForwardingRulesScopedListWarning < 3) { | 2133 if (buildCounterForwardingRulesScopedListWarning < 3) { |
2060 o.code = "foo"; | 2134 o.code = "foo"; |
2061 o.data = buildUnnamed2045(); | 2135 o.data = buildUnnamed2059(); |
2062 o.message = "foo"; | 2136 o.message = "foo"; |
2063 } | 2137 } |
2064 buildCounterForwardingRulesScopedListWarning--; | 2138 buildCounterForwardingRulesScopedListWarning--; |
2065 return o; | 2139 return o; |
2066 } | 2140 } |
2067 | 2141 |
2068 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { | 2142 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { |
2069 buildCounterForwardingRulesScopedListWarning++; | 2143 buildCounterForwardingRulesScopedListWarning++; |
2070 if (buildCounterForwardingRulesScopedListWarning < 3) { | 2144 if (buildCounterForwardingRulesScopedListWarning < 3) { |
2071 unittest.expect(o.code, unittest.equals('foo')); | 2145 unittest.expect(o.code, unittest.equals('foo')); |
2072 checkUnnamed2045(o.data); | 2146 checkUnnamed2059(o.data); |
2073 unittest.expect(o.message, unittest.equals('foo')); | 2147 unittest.expect(o.message, unittest.equals('foo')); |
2074 } | 2148 } |
2075 buildCounterForwardingRulesScopedListWarning--; | 2149 buildCounterForwardingRulesScopedListWarning--; |
2076 } | 2150 } |
2077 | 2151 |
2078 core.int buildCounterForwardingRulesScopedList = 0; | 2152 core.int buildCounterForwardingRulesScopedList = 0; |
2079 buildForwardingRulesScopedList() { | 2153 buildForwardingRulesScopedList() { |
2080 var o = new api.ForwardingRulesScopedList(); | 2154 var o = new api.ForwardingRulesScopedList(); |
2081 buildCounterForwardingRulesScopedList++; | 2155 buildCounterForwardingRulesScopedList++; |
2082 if (buildCounterForwardingRulesScopedList < 3) { | 2156 if (buildCounterForwardingRulesScopedList < 3) { |
2083 o.forwardingRules = buildUnnamed2044(); | 2157 o.forwardingRules = buildUnnamed2058(); |
2084 o.warning = buildForwardingRulesScopedListWarning(); | 2158 o.warning = buildForwardingRulesScopedListWarning(); |
2085 } | 2159 } |
2086 buildCounterForwardingRulesScopedList--; | 2160 buildCounterForwardingRulesScopedList--; |
2087 return o; | 2161 return o; |
2088 } | 2162 } |
2089 | 2163 |
2090 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { | 2164 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { |
2091 buildCounterForwardingRulesScopedList++; | 2165 buildCounterForwardingRulesScopedList++; |
2092 if (buildCounterForwardingRulesScopedList < 3) { | 2166 if (buildCounterForwardingRulesScopedList < 3) { |
2093 checkUnnamed2044(o.forwardingRules); | 2167 checkUnnamed2058(o.forwardingRules); |
2094 checkForwardingRulesScopedListWarning(o.warning); | 2168 checkForwardingRulesScopedListWarning(o.warning); |
2095 } | 2169 } |
2096 buildCounterForwardingRulesScopedList--; | 2170 buildCounterForwardingRulesScopedList--; |
2097 } | 2171 } |
2098 | 2172 |
2099 core.int buildCounterGuestOsFeature = 0; | 2173 core.int buildCounterGuestOsFeature = 0; |
2100 buildGuestOsFeature() { | 2174 buildGuestOsFeature() { |
2101 var o = new api.GuestOsFeature(); | 2175 var o = new api.GuestOsFeature(); |
2102 buildCounterGuestOsFeature++; | 2176 buildCounterGuestOsFeature++; |
2103 if (buildCounterGuestOsFeature < 3) { | 2177 if (buildCounterGuestOsFeature < 3) { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2209 unittest.expect(o.selfLink, unittest.equals('foo')); | 2283 unittest.expect(o.selfLink, unittest.equals('foo')); |
2210 checkSSLHealthCheck(o.sslHealthCheck); | 2284 checkSSLHealthCheck(o.sslHealthCheck); |
2211 checkTCPHealthCheck(o.tcpHealthCheck); | 2285 checkTCPHealthCheck(o.tcpHealthCheck); |
2212 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2286 unittest.expect(o.timeoutSec, unittest.equals(42)); |
2213 unittest.expect(o.type, unittest.equals('foo')); | 2287 unittest.expect(o.type, unittest.equals('foo')); |
2214 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2288 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
2215 } | 2289 } |
2216 buildCounterHealthCheck--; | 2290 buildCounterHealthCheck--; |
2217 } | 2291 } |
2218 | 2292 |
2219 buildUnnamed2046() { | 2293 buildUnnamed2060() { |
2220 var o = new core.List<api.HealthCheck>(); | 2294 var o = new core.List<api.HealthCheck>(); |
2221 o.add(buildHealthCheck()); | 2295 o.add(buildHealthCheck()); |
2222 o.add(buildHealthCheck()); | 2296 o.add(buildHealthCheck()); |
2223 return o; | 2297 return o; |
2224 } | 2298 } |
2225 | 2299 |
2226 checkUnnamed2046(core.List<api.HealthCheck> o) { | 2300 checkUnnamed2060(core.List<api.HealthCheck> o) { |
2227 unittest.expect(o, unittest.hasLength(2)); | 2301 unittest.expect(o, unittest.hasLength(2)); |
2228 checkHealthCheck(o[0]); | 2302 checkHealthCheck(o[0]); |
2229 checkHealthCheck(o[1]); | 2303 checkHealthCheck(o[1]); |
2230 } | 2304 } |
2231 | 2305 |
2232 core.int buildCounterHealthCheckList = 0; | 2306 core.int buildCounterHealthCheckList = 0; |
2233 buildHealthCheckList() { | 2307 buildHealthCheckList() { |
2234 var o = new api.HealthCheckList(); | 2308 var o = new api.HealthCheckList(); |
2235 buildCounterHealthCheckList++; | 2309 buildCounterHealthCheckList++; |
2236 if (buildCounterHealthCheckList < 3) { | 2310 if (buildCounterHealthCheckList < 3) { |
2237 o.id = "foo"; | 2311 o.id = "foo"; |
2238 o.items = buildUnnamed2046(); | 2312 o.items = buildUnnamed2060(); |
2239 o.kind = "foo"; | 2313 o.kind = "foo"; |
2240 o.nextPageToken = "foo"; | 2314 o.nextPageToken = "foo"; |
2241 o.selfLink = "foo"; | 2315 o.selfLink = "foo"; |
2242 } | 2316 } |
2243 buildCounterHealthCheckList--; | 2317 buildCounterHealthCheckList--; |
2244 return o; | 2318 return o; |
2245 } | 2319 } |
2246 | 2320 |
2247 checkHealthCheckList(api.HealthCheckList o) { | 2321 checkHealthCheckList(api.HealthCheckList o) { |
2248 buildCounterHealthCheckList++; | 2322 buildCounterHealthCheckList++; |
2249 if (buildCounterHealthCheckList < 3) { | 2323 if (buildCounterHealthCheckList < 3) { |
2250 unittest.expect(o.id, unittest.equals('foo')); | 2324 unittest.expect(o.id, unittest.equals('foo')); |
2251 checkUnnamed2046(o.items); | 2325 checkUnnamed2060(o.items); |
2252 unittest.expect(o.kind, unittest.equals('foo')); | 2326 unittest.expect(o.kind, unittest.equals('foo')); |
2253 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2327 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2254 unittest.expect(o.selfLink, unittest.equals('foo')); | 2328 unittest.expect(o.selfLink, unittest.equals('foo')); |
2255 } | 2329 } |
2256 buildCounterHealthCheckList--; | 2330 buildCounterHealthCheckList--; |
2257 } | 2331 } |
2258 | 2332 |
2259 core.int buildCounterHealthCheckReference = 0; | 2333 core.int buildCounterHealthCheckReference = 0; |
2260 buildHealthCheckReference() { | 2334 buildHealthCheckReference() { |
2261 var o = new api.HealthCheckReference(); | 2335 var o = new api.HealthCheckReference(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2293 buildCounterHealthStatus++; | 2367 buildCounterHealthStatus++; |
2294 if (buildCounterHealthStatus < 3) { | 2368 if (buildCounterHealthStatus < 3) { |
2295 unittest.expect(o.healthState, unittest.equals('foo')); | 2369 unittest.expect(o.healthState, unittest.equals('foo')); |
2296 unittest.expect(o.instance, unittest.equals('foo')); | 2370 unittest.expect(o.instance, unittest.equals('foo')); |
2297 unittest.expect(o.ipAddress, unittest.equals('foo')); | 2371 unittest.expect(o.ipAddress, unittest.equals('foo')); |
2298 unittest.expect(o.port, unittest.equals(42)); | 2372 unittest.expect(o.port, unittest.equals(42)); |
2299 } | 2373 } |
2300 buildCounterHealthStatus--; | 2374 buildCounterHealthStatus--; |
2301 } | 2375 } |
2302 | 2376 |
2303 buildUnnamed2047() { | 2377 buildUnnamed2061() { |
2304 var o = new core.List<core.String>(); | 2378 var o = new core.List<core.String>(); |
2305 o.add("foo"); | 2379 o.add("foo"); |
2306 o.add("foo"); | 2380 o.add("foo"); |
2307 return o; | 2381 return o; |
2308 } | 2382 } |
2309 | 2383 |
2310 checkUnnamed2047(core.List<core.String> o) { | 2384 checkUnnamed2061(core.List<core.String> o) { |
2311 unittest.expect(o, unittest.hasLength(2)); | 2385 unittest.expect(o, unittest.hasLength(2)); |
2312 unittest.expect(o[0], unittest.equals('foo')); | 2386 unittest.expect(o[0], unittest.equals('foo')); |
2313 unittest.expect(o[1], unittest.equals('foo')); | 2387 unittest.expect(o[1], unittest.equals('foo')); |
2314 } | 2388 } |
2315 | 2389 |
2316 core.int buildCounterHostRule = 0; | 2390 core.int buildCounterHostRule = 0; |
2317 buildHostRule() { | 2391 buildHostRule() { |
2318 var o = new api.HostRule(); | 2392 var o = new api.HostRule(); |
2319 buildCounterHostRule++; | 2393 buildCounterHostRule++; |
2320 if (buildCounterHostRule < 3) { | 2394 if (buildCounterHostRule < 3) { |
2321 o.description = "foo"; | 2395 o.description = "foo"; |
2322 o.hosts = buildUnnamed2047(); | 2396 o.hosts = buildUnnamed2061(); |
2323 o.pathMatcher = "foo"; | 2397 o.pathMatcher = "foo"; |
2324 } | 2398 } |
2325 buildCounterHostRule--; | 2399 buildCounterHostRule--; |
2326 return o; | 2400 return o; |
2327 } | 2401 } |
2328 | 2402 |
2329 checkHostRule(api.HostRule o) { | 2403 checkHostRule(api.HostRule o) { |
2330 buildCounterHostRule++; | 2404 buildCounterHostRule++; |
2331 if (buildCounterHostRule < 3) { | 2405 if (buildCounterHostRule < 3) { |
2332 unittest.expect(o.description, unittest.equals('foo')); | 2406 unittest.expect(o.description, unittest.equals('foo')); |
2333 checkUnnamed2047(o.hosts); | 2407 checkUnnamed2061(o.hosts); |
2334 unittest.expect(o.pathMatcher, unittest.equals('foo')); | 2408 unittest.expect(o.pathMatcher, unittest.equals('foo')); |
2335 } | 2409 } |
2336 buildCounterHostRule--; | 2410 buildCounterHostRule--; |
2337 } | 2411 } |
2338 | 2412 |
2339 core.int buildCounterHttpHealthCheck = 0; | 2413 core.int buildCounterHttpHealthCheck = 0; |
2340 buildHttpHealthCheck() { | 2414 buildHttpHealthCheck() { |
2341 var o = new api.HttpHealthCheck(); | 2415 var o = new api.HttpHealthCheck(); |
2342 buildCounterHttpHealthCheck++; | 2416 buildCounterHttpHealthCheck++; |
2343 if (buildCounterHttpHealthCheck < 3) { | 2417 if (buildCounterHttpHealthCheck < 3) { |
(...skipping 28 matching lines...) Expand all Loading... |
2372 unittest.expect(o.name, unittest.equals('foo')); | 2446 unittest.expect(o.name, unittest.equals('foo')); |
2373 unittest.expect(o.port, unittest.equals(42)); | 2447 unittest.expect(o.port, unittest.equals(42)); |
2374 unittest.expect(o.requestPath, unittest.equals('foo')); | 2448 unittest.expect(o.requestPath, unittest.equals('foo')); |
2375 unittest.expect(o.selfLink, unittest.equals('foo')); | 2449 unittest.expect(o.selfLink, unittest.equals('foo')); |
2376 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2450 unittest.expect(o.timeoutSec, unittest.equals(42)); |
2377 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2451 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
2378 } | 2452 } |
2379 buildCounterHttpHealthCheck--; | 2453 buildCounterHttpHealthCheck--; |
2380 } | 2454 } |
2381 | 2455 |
2382 buildUnnamed2048() { | 2456 buildUnnamed2062() { |
2383 var o = new core.List<api.HttpHealthCheck>(); | 2457 var o = new core.List<api.HttpHealthCheck>(); |
2384 o.add(buildHttpHealthCheck()); | 2458 o.add(buildHttpHealthCheck()); |
2385 o.add(buildHttpHealthCheck()); | 2459 o.add(buildHttpHealthCheck()); |
2386 return o; | 2460 return o; |
2387 } | 2461 } |
2388 | 2462 |
2389 checkUnnamed2048(core.List<api.HttpHealthCheck> o) { | 2463 checkUnnamed2062(core.List<api.HttpHealthCheck> o) { |
2390 unittest.expect(o, unittest.hasLength(2)); | 2464 unittest.expect(o, unittest.hasLength(2)); |
2391 checkHttpHealthCheck(o[0]); | 2465 checkHttpHealthCheck(o[0]); |
2392 checkHttpHealthCheck(o[1]); | 2466 checkHttpHealthCheck(o[1]); |
2393 } | 2467 } |
2394 | 2468 |
2395 core.int buildCounterHttpHealthCheckList = 0; | 2469 core.int buildCounterHttpHealthCheckList = 0; |
2396 buildHttpHealthCheckList() { | 2470 buildHttpHealthCheckList() { |
2397 var o = new api.HttpHealthCheckList(); | 2471 var o = new api.HttpHealthCheckList(); |
2398 buildCounterHttpHealthCheckList++; | 2472 buildCounterHttpHealthCheckList++; |
2399 if (buildCounterHttpHealthCheckList < 3) { | 2473 if (buildCounterHttpHealthCheckList < 3) { |
2400 o.id = "foo"; | 2474 o.id = "foo"; |
2401 o.items = buildUnnamed2048(); | 2475 o.items = buildUnnamed2062(); |
2402 o.kind = "foo"; | 2476 o.kind = "foo"; |
2403 o.nextPageToken = "foo"; | 2477 o.nextPageToken = "foo"; |
2404 o.selfLink = "foo"; | 2478 o.selfLink = "foo"; |
2405 } | 2479 } |
2406 buildCounterHttpHealthCheckList--; | 2480 buildCounterHttpHealthCheckList--; |
2407 return o; | 2481 return o; |
2408 } | 2482 } |
2409 | 2483 |
2410 checkHttpHealthCheckList(api.HttpHealthCheckList o) { | 2484 checkHttpHealthCheckList(api.HttpHealthCheckList o) { |
2411 buildCounterHttpHealthCheckList++; | 2485 buildCounterHttpHealthCheckList++; |
2412 if (buildCounterHttpHealthCheckList < 3) { | 2486 if (buildCounterHttpHealthCheckList < 3) { |
2413 unittest.expect(o.id, unittest.equals('foo')); | 2487 unittest.expect(o.id, unittest.equals('foo')); |
2414 checkUnnamed2048(o.items); | 2488 checkUnnamed2062(o.items); |
2415 unittest.expect(o.kind, unittest.equals('foo')); | 2489 unittest.expect(o.kind, unittest.equals('foo')); |
2416 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2490 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2417 unittest.expect(o.selfLink, unittest.equals('foo')); | 2491 unittest.expect(o.selfLink, unittest.equals('foo')); |
2418 } | 2492 } |
2419 buildCounterHttpHealthCheckList--; | 2493 buildCounterHttpHealthCheckList--; |
2420 } | 2494 } |
2421 | 2495 |
2422 core.int buildCounterHttpsHealthCheck = 0; | 2496 core.int buildCounterHttpsHealthCheck = 0; |
2423 buildHttpsHealthCheck() { | 2497 buildHttpsHealthCheck() { |
2424 var o = new api.HttpsHealthCheck(); | 2498 var o = new api.HttpsHealthCheck(); |
(...skipping 30 matching lines...) Expand all Loading... |
2455 unittest.expect(o.name, unittest.equals('foo')); | 2529 unittest.expect(o.name, unittest.equals('foo')); |
2456 unittest.expect(o.port, unittest.equals(42)); | 2530 unittest.expect(o.port, unittest.equals(42)); |
2457 unittest.expect(o.requestPath, unittest.equals('foo')); | 2531 unittest.expect(o.requestPath, unittest.equals('foo')); |
2458 unittest.expect(o.selfLink, unittest.equals('foo')); | 2532 unittest.expect(o.selfLink, unittest.equals('foo')); |
2459 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2533 unittest.expect(o.timeoutSec, unittest.equals(42)); |
2460 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2534 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
2461 } | 2535 } |
2462 buildCounterHttpsHealthCheck--; | 2536 buildCounterHttpsHealthCheck--; |
2463 } | 2537 } |
2464 | 2538 |
2465 buildUnnamed2049() { | 2539 buildUnnamed2063() { |
2466 var o = new core.List<api.HttpsHealthCheck>(); | 2540 var o = new core.List<api.HttpsHealthCheck>(); |
2467 o.add(buildHttpsHealthCheck()); | 2541 o.add(buildHttpsHealthCheck()); |
2468 o.add(buildHttpsHealthCheck()); | 2542 o.add(buildHttpsHealthCheck()); |
2469 return o; | 2543 return o; |
2470 } | 2544 } |
2471 | 2545 |
2472 checkUnnamed2049(core.List<api.HttpsHealthCheck> o) { | 2546 checkUnnamed2063(core.List<api.HttpsHealthCheck> o) { |
2473 unittest.expect(o, unittest.hasLength(2)); | 2547 unittest.expect(o, unittest.hasLength(2)); |
2474 checkHttpsHealthCheck(o[0]); | 2548 checkHttpsHealthCheck(o[0]); |
2475 checkHttpsHealthCheck(o[1]); | 2549 checkHttpsHealthCheck(o[1]); |
2476 } | 2550 } |
2477 | 2551 |
2478 core.int buildCounterHttpsHealthCheckList = 0; | 2552 core.int buildCounterHttpsHealthCheckList = 0; |
2479 buildHttpsHealthCheckList() { | 2553 buildHttpsHealthCheckList() { |
2480 var o = new api.HttpsHealthCheckList(); | 2554 var o = new api.HttpsHealthCheckList(); |
2481 buildCounterHttpsHealthCheckList++; | 2555 buildCounterHttpsHealthCheckList++; |
2482 if (buildCounterHttpsHealthCheckList < 3) { | 2556 if (buildCounterHttpsHealthCheckList < 3) { |
2483 o.id = "foo"; | 2557 o.id = "foo"; |
2484 o.items = buildUnnamed2049(); | 2558 o.items = buildUnnamed2063(); |
2485 o.kind = "foo"; | 2559 o.kind = "foo"; |
2486 o.nextPageToken = "foo"; | 2560 o.nextPageToken = "foo"; |
2487 o.selfLink = "foo"; | 2561 o.selfLink = "foo"; |
2488 } | 2562 } |
2489 buildCounterHttpsHealthCheckList--; | 2563 buildCounterHttpsHealthCheckList--; |
2490 return o; | 2564 return o; |
2491 } | 2565 } |
2492 | 2566 |
2493 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { | 2567 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { |
2494 buildCounterHttpsHealthCheckList++; | 2568 buildCounterHttpsHealthCheckList++; |
2495 if (buildCounterHttpsHealthCheckList < 3) { | 2569 if (buildCounterHttpsHealthCheckList < 3) { |
2496 unittest.expect(o.id, unittest.equals('foo')); | 2570 unittest.expect(o.id, unittest.equals('foo')); |
2497 checkUnnamed2049(o.items); | 2571 checkUnnamed2063(o.items); |
2498 unittest.expect(o.kind, unittest.equals('foo')); | 2572 unittest.expect(o.kind, unittest.equals('foo')); |
2499 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2573 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2500 unittest.expect(o.selfLink, unittest.equals('foo')); | 2574 unittest.expect(o.selfLink, unittest.equals('foo')); |
2501 } | 2575 } |
2502 buildCounterHttpsHealthCheckList--; | 2576 buildCounterHttpsHealthCheckList--; |
2503 } | 2577 } |
2504 | 2578 |
2505 buildUnnamed2050() { | 2579 buildUnnamed2064() { |
2506 var o = new core.List<api.GuestOsFeature>(); | 2580 var o = new core.List<api.GuestOsFeature>(); |
2507 o.add(buildGuestOsFeature()); | 2581 o.add(buildGuestOsFeature()); |
2508 o.add(buildGuestOsFeature()); | 2582 o.add(buildGuestOsFeature()); |
2509 return o; | 2583 return o; |
2510 } | 2584 } |
2511 | 2585 |
2512 checkUnnamed2050(core.List<api.GuestOsFeature> o) { | 2586 checkUnnamed2064(core.List<api.GuestOsFeature> o) { |
2513 unittest.expect(o, unittest.hasLength(2)); | 2587 unittest.expect(o, unittest.hasLength(2)); |
2514 checkGuestOsFeature(o[0]); | 2588 checkGuestOsFeature(o[0]); |
2515 checkGuestOsFeature(o[1]); | 2589 checkGuestOsFeature(o[1]); |
2516 } | 2590 } |
2517 | 2591 |
2518 buildUnnamed2051() { | 2592 buildUnnamed2065() { |
2519 var o = new core.List<core.String>(); | 2593 var o = new core.List<core.String>(); |
2520 o.add("foo"); | 2594 o.add("foo"); |
2521 o.add("foo"); | 2595 o.add("foo"); |
2522 return o; | 2596 return o; |
2523 } | 2597 } |
2524 | 2598 |
2525 checkUnnamed2051(core.List<core.String> o) { | 2599 checkUnnamed2065(core.List<core.String> o) { |
2526 unittest.expect(o, unittest.hasLength(2)); | 2600 unittest.expect(o, unittest.hasLength(2)); |
2527 unittest.expect(o[0], unittest.equals('foo')); | 2601 unittest.expect(o[0], unittest.equals('foo')); |
2528 unittest.expect(o[1], unittest.equals('foo')); | 2602 unittest.expect(o[1], unittest.equals('foo')); |
2529 } | 2603 } |
2530 | 2604 |
2531 core.int buildCounterImageRawDisk = 0; | 2605 core.int buildCounterImageRawDisk = 0; |
2532 buildImageRawDisk() { | 2606 buildImageRawDisk() { |
2533 var o = new api.ImageRawDisk(); | 2607 var o = new api.ImageRawDisk(); |
2534 buildCounterImageRawDisk++; | 2608 buildCounterImageRawDisk++; |
2535 if (buildCounterImageRawDisk < 3) { | 2609 if (buildCounterImageRawDisk < 3) { |
(...skipping 19 matching lines...) Expand all Loading... |
2555 buildImage() { | 2629 buildImage() { |
2556 var o = new api.Image(); | 2630 var o = new api.Image(); |
2557 buildCounterImage++; | 2631 buildCounterImage++; |
2558 if (buildCounterImage < 3) { | 2632 if (buildCounterImage < 3) { |
2559 o.archiveSizeBytes = "foo"; | 2633 o.archiveSizeBytes = "foo"; |
2560 o.creationTimestamp = "foo"; | 2634 o.creationTimestamp = "foo"; |
2561 o.deprecated = buildDeprecationStatus(); | 2635 o.deprecated = buildDeprecationStatus(); |
2562 o.description = "foo"; | 2636 o.description = "foo"; |
2563 o.diskSizeGb = "foo"; | 2637 o.diskSizeGb = "foo"; |
2564 o.family = "foo"; | 2638 o.family = "foo"; |
2565 o.guestOsFeatures = buildUnnamed2050(); | 2639 o.guestOsFeatures = buildUnnamed2064(); |
2566 o.id = "foo"; | 2640 o.id = "foo"; |
2567 o.imageEncryptionKey = buildCustomerEncryptionKey(); | 2641 o.imageEncryptionKey = buildCustomerEncryptionKey(); |
2568 o.kind = "foo"; | 2642 o.kind = "foo"; |
2569 o.licenses = buildUnnamed2051(); | 2643 o.licenses = buildUnnamed2065(); |
2570 o.name = "foo"; | 2644 o.name = "foo"; |
2571 o.rawDisk = buildImageRawDisk(); | 2645 o.rawDisk = buildImageRawDisk(); |
2572 o.selfLink = "foo"; | 2646 o.selfLink = "foo"; |
2573 o.sourceDisk = "foo"; | 2647 o.sourceDisk = "foo"; |
2574 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); | 2648 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
2575 o.sourceDiskId = "foo"; | 2649 o.sourceDiskId = "foo"; |
2576 o.sourceType = "foo"; | 2650 o.sourceType = "foo"; |
2577 o.status = "foo"; | 2651 o.status = "foo"; |
2578 } | 2652 } |
2579 buildCounterImage--; | 2653 buildCounterImage--; |
2580 return o; | 2654 return o; |
2581 } | 2655 } |
2582 | 2656 |
2583 checkImage(api.Image o) { | 2657 checkImage(api.Image o) { |
2584 buildCounterImage++; | 2658 buildCounterImage++; |
2585 if (buildCounterImage < 3) { | 2659 if (buildCounterImage < 3) { |
2586 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); | 2660 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); |
2587 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2661 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2588 checkDeprecationStatus(o.deprecated); | 2662 checkDeprecationStatus(o.deprecated); |
2589 unittest.expect(o.description, unittest.equals('foo')); | 2663 unittest.expect(o.description, unittest.equals('foo')); |
2590 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 2664 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
2591 unittest.expect(o.family, unittest.equals('foo')); | 2665 unittest.expect(o.family, unittest.equals('foo')); |
2592 checkUnnamed2050(o.guestOsFeatures); | 2666 checkUnnamed2064(o.guestOsFeatures); |
2593 unittest.expect(o.id, unittest.equals('foo')); | 2667 unittest.expect(o.id, unittest.equals('foo')); |
2594 checkCustomerEncryptionKey(o.imageEncryptionKey); | 2668 checkCustomerEncryptionKey(o.imageEncryptionKey); |
2595 unittest.expect(o.kind, unittest.equals('foo')); | 2669 unittest.expect(o.kind, unittest.equals('foo')); |
2596 checkUnnamed2051(o.licenses); | 2670 checkUnnamed2065(o.licenses); |
2597 unittest.expect(o.name, unittest.equals('foo')); | 2671 unittest.expect(o.name, unittest.equals('foo')); |
2598 checkImageRawDisk(o.rawDisk); | 2672 checkImageRawDisk(o.rawDisk); |
2599 unittest.expect(o.selfLink, unittest.equals('foo')); | 2673 unittest.expect(o.selfLink, unittest.equals('foo')); |
2600 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 2674 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
2601 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); | 2675 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
2602 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 2676 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
2603 unittest.expect(o.sourceType, unittest.equals('foo')); | 2677 unittest.expect(o.sourceType, unittest.equals('foo')); |
2604 unittest.expect(o.status, unittest.equals('foo')); | 2678 unittest.expect(o.status, unittest.equals('foo')); |
2605 } | 2679 } |
2606 buildCounterImage--; | 2680 buildCounterImage--; |
2607 } | 2681 } |
2608 | 2682 |
2609 buildUnnamed2052() { | 2683 buildUnnamed2066() { |
2610 var o = new core.List<api.Image>(); | 2684 var o = new core.List<api.Image>(); |
2611 o.add(buildImage()); | 2685 o.add(buildImage()); |
2612 o.add(buildImage()); | 2686 o.add(buildImage()); |
2613 return o; | 2687 return o; |
2614 } | 2688 } |
2615 | 2689 |
2616 checkUnnamed2052(core.List<api.Image> o) { | 2690 checkUnnamed2066(core.List<api.Image> o) { |
2617 unittest.expect(o, unittest.hasLength(2)); | 2691 unittest.expect(o, unittest.hasLength(2)); |
2618 checkImage(o[0]); | 2692 checkImage(o[0]); |
2619 checkImage(o[1]); | 2693 checkImage(o[1]); |
2620 } | 2694 } |
2621 | 2695 |
2622 core.int buildCounterImageList = 0; | 2696 core.int buildCounterImageList = 0; |
2623 buildImageList() { | 2697 buildImageList() { |
2624 var o = new api.ImageList(); | 2698 var o = new api.ImageList(); |
2625 buildCounterImageList++; | 2699 buildCounterImageList++; |
2626 if (buildCounterImageList < 3) { | 2700 if (buildCounterImageList < 3) { |
2627 o.id = "foo"; | 2701 o.id = "foo"; |
2628 o.items = buildUnnamed2052(); | 2702 o.items = buildUnnamed2066(); |
2629 o.kind = "foo"; | 2703 o.kind = "foo"; |
2630 o.nextPageToken = "foo"; | 2704 o.nextPageToken = "foo"; |
2631 o.selfLink = "foo"; | 2705 o.selfLink = "foo"; |
2632 } | 2706 } |
2633 buildCounterImageList--; | 2707 buildCounterImageList--; |
2634 return o; | 2708 return o; |
2635 } | 2709 } |
2636 | 2710 |
2637 checkImageList(api.ImageList o) { | 2711 checkImageList(api.ImageList o) { |
2638 buildCounterImageList++; | 2712 buildCounterImageList++; |
2639 if (buildCounterImageList < 3) { | 2713 if (buildCounterImageList < 3) { |
2640 unittest.expect(o.id, unittest.equals('foo')); | 2714 unittest.expect(o.id, unittest.equals('foo')); |
2641 checkUnnamed2052(o.items); | 2715 checkUnnamed2066(o.items); |
2642 unittest.expect(o.kind, unittest.equals('foo')); | 2716 unittest.expect(o.kind, unittest.equals('foo')); |
2643 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2717 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2644 unittest.expect(o.selfLink, unittest.equals('foo')); | 2718 unittest.expect(o.selfLink, unittest.equals('foo')); |
2645 } | 2719 } |
2646 buildCounterImageList--; | 2720 buildCounterImageList--; |
2647 } | 2721 } |
2648 | 2722 |
2649 buildUnnamed2053() { | 2723 buildUnnamed2067() { |
2650 var o = new core.List<api.AttachedDisk>(); | 2724 var o = new core.List<api.AttachedDisk>(); |
2651 o.add(buildAttachedDisk()); | 2725 o.add(buildAttachedDisk()); |
2652 o.add(buildAttachedDisk()); | 2726 o.add(buildAttachedDisk()); |
2653 return o; | 2727 return o; |
2654 } | 2728 } |
2655 | 2729 |
2656 checkUnnamed2053(core.List<api.AttachedDisk> o) { | 2730 checkUnnamed2067(core.List<api.AttachedDisk> o) { |
2657 unittest.expect(o, unittest.hasLength(2)); | 2731 unittest.expect(o, unittest.hasLength(2)); |
2658 checkAttachedDisk(o[0]); | 2732 checkAttachedDisk(o[0]); |
2659 checkAttachedDisk(o[1]); | 2733 checkAttachedDisk(o[1]); |
2660 } | 2734 } |
2661 | 2735 |
2662 buildUnnamed2054() { | 2736 buildUnnamed2068() { |
2663 var o = new core.List<api.NetworkInterface>(); | 2737 var o = new core.List<api.NetworkInterface>(); |
2664 o.add(buildNetworkInterface()); | 2738 o.add(buildNetworkInterface()); |
2665 o.add(buildNetworkInterface()); | 2739 o.add(buildNetworkInterface()); |
2666 return o; | 2740 return o; |
2667 } | 2741 } |
2668 | 2742 |
2669 checkUnnamed2054(core.List<api.NetworkInterface> o) { | 2743 checkUnnamed2068(core.List<api.NetworkInterface> o) { |
2670 unittest.expect(o, unittest.hasLength(2)); | 2744 unittest.expect(o, unittest.hasLength(2)); |
2671 checkNetworkInterface(o[0]); | 2745 checkNetworkInterface(o[0]); |
2672 checkNetworkInterface(o[1]); | 2746 checkNetworkInterface(o[1]); |
2673 } | 2747 } |
2674 | 2748 |
2675 buildUnnamed2055() { | 2749 buildUnnamed2069() { |
2676 var o = new core.List<api.ServiceAccount>(); | 2750 var o = new core.List<api.ServiceAccount>(); |
2677 o.add(buildServiceAccount()); | 2751 o.add(buildServiceAccount()); |
2678 o.add(buildServiceAccount()); | 2752 o.add(buildServiceAccount()); |
2679 return o; | 2753 return o; |
2680 } | 2754 } |
2681 | 2755 |
2682 checkUnnamed2055(core.List<api.ServiceAccount> o) { | 2756 checkUnnamed2069(core.List<api.ServiceAccount> o) { |
2683 unittest.expect(o, unittest.hasLength(2)); | 2757 unittest.expect(o, unittest.hasLength(2)); |
2684 checkServiceAccount(o[0]); | 2758 checkServiceAccount(o[0]); |
2685 checkServiceAccount(o[1]); | 2759 checkServiceAccount(o[1]); |
2686 } | 2760 } |
2687 | 2761 |
2688 core.int buildCounterInstance = 0; | 2762 core.int buildCounterInstance = 0; |
2689 buildInstance() { | 2763 buildInstance() { |
2690 var o = new api.Instance(); | 2764 var o = new api.Instance(); |
2691 buildCounterInstance++; | 2765 buildCounterInstance++; |
2692 if (buildCounterInstance < 3) { | 2766 if (buildCounterInstance < 3) { |
2693 o.canIpForward = true; | 2767 o.canIpForward = true; |
2694 o.cpuPlatform = "foo"; | 2768 o.cpuPlatform = "foo"; |
2695 o.creationTimestamp = "foo"; | 2769 o.creationTimestamp = "foo"; |
2696 o.description = "foo"; | 2770 o.description = "foo"; |
2697 o.disks = buildUnnamed2053(); | 2771 o.disks = buildUnnamed2067(); |
2698 o.id = "foo"; | 2772 o.id = "foo"; |
2699 o.kind = "foo"; | 2773 o.kind = "foo"; |
2700 o.machineType = "foo"; | 2774 o.machineType = "foo"; |
2701 o.metadata = buildMetadata(); | 2775 o.metadata = buildMetadata(); |
2702 o.name = "foo"; | 2776 o.name = "foo"; |
2703 o.networkInterfaces = buildUnnamed2054(); | 2777 o.networkInterfaces = buildUnnamed2068(); |
2704 o.scheduling = buildScheduling(); | 2778 o.scheduling = buildScheduling(); |
2705 o.selfLink = "foo"; | 2779 o.selfLink = "foo"; |
2706 o.serviceAccounts = buildUnnamed2055(); | 2780 o.serviceAccounts = buildUnnamed2069(); |
2707 o.status = "foo"; | 2781 o.status = "foo"; |
2708 o.statusMessage = "foo"; | 2782 o.statusMessage = "foo"; |
2709 o.tags = buildTags(); | 2783 o.tags = buildTags(); |
2710 o.zone = "foo"; | 2784 o.zone = "foo"; |
2711 } | 2785 } |
2712 buildCounterInstance--; | 2786 buildCounterInstance--; |
2713 return o; | 2787 return o; |
2714 } | 2788 } |
2715 | 2789 |
2716 checkInstance(api.Instance o) { | 2790 checkInstance(api.Instance o) { |
2717 buildCounterInstance++; | 2791 buildCounterInstance++; |
2718 if (buildCounterInstance < 3) { | 2792 if (buildCounterInstance < 3) { |
2719 unittest.expect(o.canIpForward, unittest.isTrue); | 2793 unittest.expect(o.canIpForward, unittest.isTrue); |
2720 unittest.expect(o.cpuPlatform, unittest.equals('foo')); | 2794 unittest.expect(o.cpuPlatform, unittest.equals('foo')); |
2721 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2795 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2722 unittest.expect(o.description, unittest.equals('foo')); | 2796 unittest.expect(o.description, unittest.equals('foo')); |
2723 checkUnnamed2053(o.disks); | 2797 checkUnnamed2067(o.disks); |
2724 unittest.expect(o.id, unittest.equals('foo')); | 2798 unittest.expect(o.id, unittest.equals('foo')); |
2725 unittest.expect(o.kind, unittest.equals('foo')); | 2799 unittest.expect(o.kind, unittest.equals('foo')); |
2726 unittest.expect(o.machineType, unittest.equals('foo')); | 2800 unittest.expect(o.machineType, unittest.equals('foo')); |
2727 checkMetadata(o.metadata); | 2801 checkMetadata(o.metadata); |
2728 unittest.expect(o.name, unittest.equals('foo')); | 2802 unittest.expect(o.name, unittest.equals('foo')); |
2729 checkUnnamed2054(o.networkInterfaces); | 2803 checkUnnamed2068(o.networkInterfaces); |
2730 checkScheduling(o.scheduling); | 2804 checkScheduling(o.scheduling); |
2731 unittest.expect(o.selfLink, unittest.equals('foo')); | 2805 unittest.expect(o.selfLink, unittest.equals('foo')); |
2732 checkUnnamed2055(o.serviceAccounts); | 2806 checkUnnamed2069(o.serviceAccounts); |
2733 unittest.expect(o.status, unittest.equals('foo')); | 2807 unittest.expect(o.status, unittest.equals('foo')); |
2734 unittest.expect(o.statusMessage, unittest.equals('foo')); | 2808 unittest.expect(o.statusMessage, unittest.equals('foo')); |
2735 checkTags(o.tags); | 2809 checkTags(o.tags); |
2736 unittest.expect(o.zone, unittest.equals('foo')); | 2810 unittest.expect(o.zone, unittest.equals('foo')); |
2737 } | 2811 } |
2738 buildCounterInstance--; | 2812 buildCounterInstance--; |
2739 } | 2813 } |
2740 | 2814 |
2741 buildUnnamed2056() { | 2815 buildUnnamed2070() { |
2742 var o = new core.Map<core.String, api.InstancesScopedList>(); | 2816 var o = new core.Map<core.String, api.InstancesScopedList>(); |
2743 o["x"] = buildInstancesScopedList(); | 2817 o["x"] = buildInstancesScopedList(); |
2744 o["y"] = buildInstancesScopedList(); | 2818 o["y"] = buildInstancesScopedList(); |
2745 return o; | 2819 return o; |
2746 } | 2820 } |
2747 | 2821 |
2748 checkUnnamed2056(core.Map<core.String, api.InstancesScopedList> o) { | 2822 checkUnnamed2070(core.Map<core.String, api.InstancesScopedList> o) { |
2749 unittest.expect(o, unittest.hasLength(2)); | 2823 unittest.expect(o, unittest.hasLength(2)); |
2750 checkInstancesScopedList(o["x"]); | 2824 checkInstancesScopedList(o["x"]); |
2751 checkInstancesScopedList(o["y"]); | 2825 checkInstancesScopedList(o["y"]); |
2752 } | 2826 } |
2753 | 2827 |
2754 core.int buildCounterInstanceAggregatedList = 0; | 2828 core.int buildCounterInstanceAggregatedList = 0; |
2755 buildInstanceAggregatedList() { | 2829 buildInstanceAggregatedList() { |
2756 var o = new api.InstanceAggregatedList(); | 2830 var o = new api.InstanceAggregatedList(); |
2757 buildCounterInstanceAggregatedList++; | 2831 buildCounterInstanceAggregatedList++; |
2758 if (buildCounterInstanceAggregatedList < 3) { | 2832 if (buildCounterInstanceAggregatedList < 3) { |
2759 o.id = "foo"; | 2833 o.id = "foo"; |
2760 o.items = buildUnnamed2056(); | 2834 o.items = buildUnnamed2070(); |
2761 o.kind = "foo"; | 2835 o.kind = "foo"; |
2762 o.nextPageToken = "foo"; | 2836 o.nextPageToken = "foo"; |
2763 o.selfLink = "foo"; | 2837 o.selfLink = "foo"; |
2764 } | 2838 } |
2765 buildCounterInstanceAggregatedList--; | 2839 buildCounterInstanceAggregatedList--; |
2766 return o; | 2840 return o; |
2767 } | 2841 } |
2768 | 2842 |
2769 checkInstanceAggregatedList(api.InstanceAggregatedList o) { | 2843 checkInstanceAggregatedList(api.InstanceAggregatedList o) { |
2770 buildCounterInstanceAggregatedList++; | 2844 buildCounterInstanceAggregatedList++; |
2771 if (buildCounterInstanceAggregatedList < 3) { | 2845 if (buildCounterInstanceAggregatedList < 3) { |
2772 unittest.expect(o.id, unittest.equals('foo')); | 2846 unittest.expect(o.id, unittest.equals('foo')); |
2773 checkUnnamed2056(o.items); | 2847 checkUnnamed2070(o.items); |
2774 unittest.expect(o.kind, unittest.equals('foo')); | 2848 unittest.expect(o.kind, unittest.equals('foo')); |
2775 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2849 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2776 unittest.expect(o.selfLink, unittest.equals('foo')); | 2850 unittest.expect(o.selfLink, unittest.equals('foo')); |
2777 } | 2851 } |
2778 buildCounterInstanceAggregatedList--; | 2852 buildCounterInstanceAggregatedList--; |
2779 } | 2853 } |
2780 | 2854 |
2781 buildUnnamed2057() { | 2855 buildUnnamed2071() { |
2782 var o = new core.List<api.NamedPort>(); | 2856 var o = new core.List<api.NamedPort>(); |
2783 o.add(buildNamedPort()); | 2857 o.add(buildNamedPort()); |
2784 o.add(buildNamedPort()); | 2858 o.add(buildNamedPort()); |
2785 return o; | 2859 return o; |
2786 } | 2860 } |
2787 | 2861 |
2788 checkUnnamed2057(core.List<api.NamedPort> o) { | 2862 checkUnnamed2071(core.List<api.NamedPort> o) { |
2789 unittest.expect(o, unittest.hasLength(2)); | 2863 unittest.expect(o, unittest.hasLength(2)); |
2790 checkNamedPort(o[0]); | 2864 checkNamedPort(o[0]); |
2791 checkNamedPort(o[1]); | 2865 checkNamedPort(o[1]); |
2792 } | 2866 } |
2793 | 2867 |
2794 core.int buildCounterInstanceGroup = 0; | 2868 core.int buildCounterInstanceGroup = 0; |
2795 buildInstanceGroup() { | 2869 buildInstanceGroup() { |
2796 var o = new api.InstanceGroup(); | 2870 var o = new api.InstanceGroup(); |
2797 buildCounterInstanceGroup++; | 2871 buildCounterInstanceGroup++; |
2798 if (buildCounterInstanceGroup < 3) { | 2872 if (buildCounterInstanceGroup < 3) { |
2799 o.creationTimestamp = "foo"; | 2873 o.creationTimestamp = "foo"; |
2800 o.description = "foo"; | 2874 o.description = "foo"; |
2801 o.fingerprint = "foo"; | 2875 o.fingerprint = "foo"; |
2802 o.id = "foo"; | 2876 o.id = "foo"; |
2803 o.kind = "foo"; | 2877 o.kind = "foo"; |
2804 o.name = "foo"; | 2878 o.name = "foo"; |
2805 o.namedPorts = buildUnnamed2057(); | 2879 o.namedPorts = buildUnnamed2071(); |
2806 o.network = "foo"; | 2880 o.network = "foo"; |
2807 o.region = "foo"; | 2881 o.region = "foo"; |
2808 o.selfLink = "foo"; | 2882 o.selfLink = "foo"; |
2809 o.size = 42; | 2883 o.size = 42; |
2810 o.subnetwork = "foo"; | 2884 o.subnetwork = "foo"; |
2811 o.zone = "foo"; | 2885 o.zone = "foo"; |
2812 } | 2886 } |
2813 buildCounterInstanceGroup--; | 2887 buildCounterInstanceGroup--; |
2814 return o; | 2888 return o; |
2815 } | 2889 } |
2816 | 2890 |
2817 checkInstanceGroup(api.InstanceGroup o) { | 2891 checkInstanceGroup(api.InstanceGroup o) { |
2818 buildCounterInstanceGroup++; | 2892 buildCounterInstanceGroup++; |
2819 if (buildCounterInstanceGroup < 3) { | 2893 if (buildCounterInstanceGroup < 3) { |
2820 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2894 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2821 unittest.expect(o.description, unittest.equals('foo')); | 2895 unittest.expect(o.description, unittest.equals('foo')); |
2822 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2896 unittest.expect(o.fingerprint, unittest.equals('foo')); |
2823 unittest.expect(o.id, unittest.equals('foo')); | 2897 unittest.expect(o.id, unittest.equals('foo')); |
2824 unittest.expect(o.kind, unittest.equals('foo')); | 2898 unittest.expect(o.kind, unittest.equals('foo')); |
2825 unittest.expect(o.name, unittest.equals('foo')); | 2899 unittest.expect(o.name, unittest.equals('foo')); |
2826 checkUnnamed2057(o.namedPorts); | 2900 checkUnnamed2071(o.namedPorts); |
2827 unittest.expect(o.network, unittest.equals('foo')); | 2901 unittest.expect(o.network, unittest.equals('foo')); |
2828 unittest.expect(o.region, unittest.equals('foo')); | 2902 unittest.expect(o.region, unittest.equals('foo')); |
2829 unittest.expect(o.selfLink, unittest.equals('foo')); | 2903 unittest.expect(o.selfLink, unittest.equals('foo')); |
2830 unittest.expect(o.size, unittest.equals(42)); | 2904 unittest.expect(o.size, unittest.equals(42)); |
2831 unittest.expect(o.subnetwork, unittest.equals('foo')); | 2905 unittest.expect(o.subnetwork, unittest.equals('foo')); |
2832 unittest.expect(o.zone, unittest.equals('foo')); | 2906 unittest.expect(o.zone, unittest.equals('foo')); |
2833 } | 2907 } |
2834 buildCounterInstanceGroup--; | 2908 buildCounterInstanceGroup--; |
2835 } | 2909 } |
2836 | 2910 |
2837 buildUnnamed2058() { | 2911 buildUnnamed2072() { |
2838 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); | 2912 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); |
2839 o["x"] = buildInstanceGroupsScopedList(); | 2913 o["x"] = buildInstanceGroupsScopedList(); |
2840 o["y"] = buildInstanceGroupsScopedList(); | 2914 o["y"] = buildInstanceGroupsScopedList(); |
2841 return o; | 2915 return o; |
2842 } | 2916 } |
2843 | 2917 |
2844 checkUnnamed2058(core.Map<core.String, api.InstanceGroupsScopedList> o) { | 2918 checkUnnamed2072(core.Map<core.String, api.InstanceGroupsScopedList> o) { |
2845 unittest.expect(o, unittest.hasLength(2)); | 2919 unittest.expect(o, unittest.hasLength(2)); |
2846 checkInstanceGroupsScopedList(o["x"]); | 2920 checkInstanceGroupsScopedList(o["x"]); |
2847 checkInstanceGroupsScopedList(o["y"]); | 2921 checkInstanceGroupsScopedList(o["y"]); |
2848 } | 2922 } |
2849 | 2923 |
2850 core.int buildCounterInstanceGroupAggregatedList = 0; | 2924 core.int buildCounterInstanceGroupAggregatedList = 0; |
2851 buildInstanceGroupAggregatedList() { | 2925 buildInstanceGroupAggregatedList() { |
2852 var o = new api.InstanceGroupAggregatedList(); | 2926 var o = new api.InstanceGroupAggregatedList(); |
2853 buildCounterInstanceGroupAggregatedList++; | 2927 buildCounterInstanceGroupAggregatedList++; |
2854 if (buildCounterInstanceGroupAggregatedList < 3) { | 2928 if (buildCounterInstanceGroupAggregatedList < 3) { |
2855 o.id = "foo"; | 2929 o.id = "foo"; |
2856 o.items = buildUnnamed2058(); | 2930 o.items = buildUnnamed2072(); |
2857 o.kind = "foo"; | 2931 o.kind = "foo"; |
2858 o.nextPageToken = "foo"; | 2932 o.nextPageToken = "foo"; |
2859 o.selfLink = "foo"; | 2933 o.selfLink = "foo"; |
2860 } | 2934 } |
2861 buildCounterInstanceGroupAggregatedList--; | 2935 buildCounterInstanceGroupAggregatedList--; |
2862 return o; | 2936 return o; |
2863 } | 2937 } |
2864 | 2938 |
2865 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { | 2939 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { |
2866 buildCounterInstanceGroupAggregatedList++; | 2940 buildCounterInstanceGroupAggregatedList++; |
2867 if (buildCounterInstanceGroupAggregatedList < 3) { | 2941 if (buildCounterInstanceGroupAggregatedList < 3) { |
2868 unittest.expect(o.id, unittest.equals('foo')); | 2942 unittest.expect(o.id, unittest.equals('foo')); |
2869 checkUnnamed2058(o.items); | 2943 checkUnnamed2072(o.items); |
2870 unittest.expect(o.kind, unittest.equals('foo')); | 2944 unittest.expect(o.kind, unittest.equals('foo')); |
2871 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2945 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2872 unittest.expect(o.selfLink, unittest.equals('foo')); | 2946 unittest.expect(o.selfLink, unittest.equals('foo')); |
2873 } | 2947 } |
2874 buildCounterInstanceGroupAggregatedList--; | 2948 buildCounterInstanceGroupAggregatedList--; |
2875 } | 2949 } |
2876 | 2950 |
2877 buildUnnamed2059() { | 2951 buildUnnamed2073() { |
2878 var o = new core.List<api.InstanceGroup>(); | 2952 var o = new core.List<api.InstanceGroup>(); |
2879 o.add(buildInstanceGroup()); | 2953 o.add(buildInstanceGroup()); |
2880 o.add(buildInstanceGroup()); | 2954 o.add(buildInstanceGroup()); |
2881 return o; | 2955 return o; |
2882 } | 2956 } |
2883 | 2957 |
2884 checkUnnamed2059(core.List<api.InstanceGroup> o) { | 2958 checkUnnamed2073(core.List<api.InstanceGroup> o) { |
2885 unittest.expect(o, unittest.hasLength(2)); | 2959 unittest.expect(o, unittest.hasLength(2)); |
2886 checkInstanceGroup(o[0]); | 2960 checkInstanceGroup(o[0]); |
2887 checkInstanceGroup(o[1]); | 2961 checkInstanceGroup(o[1]); |
2888 } | 2962 } |
2889 | 2963 |
2890 core.int buildCounterInstanceGroupList = 0; | 2964 core.int buildCounterInstanceGroupList = 0; |
2891 buildInstanceGroupList() { | 2965 buildInstanceGroupList() { |
2892 var o = new api.InstanceGroupList(); | 2966 var o = new api.InstanceGroupList(); |
2893 buildCounterInstanceGroupList++; | 2967 buildCounterInstanceGroupList++; |
2894 if (buildCounterInstanceGroupList < 3) { | 2968 if (buildCounterInstanceGroupList < 3) { |
2895 o.id = "foo"; | 2969 o.id = "foo"; |
2896 o.items = buildUnnamed2059(); | 2970 o.items = buildUnnamed2073(); |
2897 o.kind = "foo"; | 2971 o.kind = "foo"; |
2898 o.nextPageToken = "foo"; | 2972 o.nextPageToken = "foo"; |
2899 o.selfLink = "foo"; | 2973 o.selfLink = "foo"; |
2900 } | 2974 } |
2901 buildCounterInstanceGroupList--; | 2975 buildCounterInstanceGroupList--; |
2902 return o; | 2976 return o; |
2903 } | 2977 } |
2904 | 2978 |
2905 checkInstanceGroupList(api.InstanceGroupList o) { | 2979 checkInstanceGroupList(api.InstanceGroupList o) { |
2906 buildCounterInstanceGroupList++; | 2980 buildCounterInstanceGroupList++; |
2907 if (buildCounterInstanceGroupList < 3) { | 2981 if (buildCounterInstanceGroupList < 3) { |
2908 unittest.expect(o.id, unittest.equals('foo')); | 2982 unittest.expect(o.id, unittest.equals('foo')); |
2909 checkUnnamed2059(o.items); | 2983 checkUnnamed2073(o.items); |
2910 unittest.expect(o.kind, unittest.equals('foo')); | 2984 unittest.expect(o.kind, unittest.equals('foo')); |
2911 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2985 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2912 unittest.expect(o.selfLink, unittest.equals('foo')); | 2986 unittest.expect(o.selfLink, unittest.equals('foo')); |
2913 } | 2987 } |
2914 buildCounterInstanceGroupList--; | 2988 buildCounterInstanceGroupList--; |
2915 } | 2989 } |
2916 | 2990 |
2917 buildUnnamed2060() { | 2991 buildUnnamed2074() { |
2918 var o = new core.List<api.NamedPort>(); | 2992 var o = new core.List<api.NamedPort>(); |
2919 o.add(buildNamedPort()); | 2993 o.add(buildNamedPort()); |
2920 o.add(buildNamedPort()); | 2994 o.add(buildNamedPort()); |
2921 return o; | 2995 return o; |
2922 } | 2996 } |
2923 | 2997 |
2924 checkUnnamed2060(core.List<api.NamedPort> o) { | 2998 checkUnnamed2074(core.List<api.NamedPort> o) { |
2925 unittest.expect(o, unittest.hasLength(2)); | 2999 unittest.expect(o, unittest.hasLength(2)); |
2926 checkNamedPort(o[0]); | 3000 checkNamedPort(o[0]); |
2927 checkNamedPort(o[1]); | 3001 checkNamedPort(o[1]); |
2928 } | 3002 } |
2929 | 3003 |
2930 buildUnnamed2061() { | 3004 buildUnnamed2075() { |
2931 var o = new core.List<core.String>(); | 3005 var o = new core.List<core.String>(); |
2932 o.add("foo"); | 3006 o.add("foo"); |
2933 o.add("foo"); | 3007 o.add("foo"); |
2934 return o; | 3008 return o; |
2935 } | 3009 } |
2936 | 3010 |
2937 checkUnnamed2061(core.List<core.String> o) { | 3011 checkUnnamed2075(core.List<core.String> o) { |
2938 unittest.expect(o, unittest.hasLength(2)); | 3012 unittest.expect(o, unittest.hasLength(2)); |
2939 unittest.expect(o[0], unittest.equals('foo')); | 3013 unittest.expect(o[0], unittest.equals('foo')); |
2940 unittest.expect(o[1], unittest.equals('foo')); | 3014 unittest.expect(o[1], unittest.equals('foo')); |
2941 } | 3015 } |
2942 | 3016 |
2943 core.int buildCounterInstanceGroupManager = 0; | 3017 core.int buildCounterInstanceGroupManager = 0; |
2944 buildInstanceGroupManager() { | 3018 buildInstanceGroupManager() { |
2945 var o = new api.InstanceGroupManager(); | 3019 var o = new api.InstanceGroupManager(); |
2946 buildCounterInstanceGroupManager++; | 3020 buildCounterInstanceGroupManager++; |
2947 if (buildCounterInstanceGroupManager < 3) { | 3021 if (buildCounterInstanceGroupManager < 3) { |
2948 o.baseInstanceName = "foo"; | 3022 o.baseInstanceName = "foo"; |
2949 o.creationTimestamp = "foo"; | 3023 o.creationTimestamp = "foo"; |
2950 o.currentActions = buildInstanceGroupManagerActionsSummary(); | 3024 o.currentActions = buildInstanceGroupManagerActionsSummary(); |
2951 o.description = "foo"; | 3025 o.description = "foo"; |
2952 o.fingerprint = "foo"; | 3026 o.fingerprint = "foo"; |
2953 o.id = "foo"; | 3027 o.id = "foo"; |
2954 o.instanceGroup = "foo"; | 3028 o.instanceGroup = "foo"; |
2955 o.instanceTemplate = "foo"; | 3029 o.instanceTemplate = "foo"; |
2956 o.kind = "foo"; | 3030 o.kind = "foo"; |
2957 o.name = "foo"; | 3031 o.name = "foo"; |
2958 o.namedPorts = buildUnnamed2060(); | 3032 o.namedPorts = buildUnnamed2074(); |
2959 o.region = "foo"; | 3033 o.region = "foo"; |
2960 o.selfLink = "foo"; | 3034 o.selfLink = "foo"; |
2961 o.targetPools = buildUnnamed2061(); | 3035 o.targetPools = buildUnnamed2075(); |
2962 o.targetSize = 42; | 3036 o.targetSize = 42; |
2963 o.zone = "foo"; | 3037 o.zone = "foo"; |
2964 } | 3038 } |
2965 buildCounterInstanceGroupManager--; | 3039 buildCounterInstanceGroupManager--; |
2966 return o; | 3040 return o; |
2967 } | 3041 } |
2968 | 3042 |
2969 checkInstanceGroupManager(api.InstanceGroupManager o) { | 3043 checkInstanceGroupManager(api.InstanceGroupManager o) { |
2970 buildCounterInstanceGroupManager++; | 3044 buildCounterInstanceGroupManager++; |
2971 if (buildCounterInstanceGroupManager < 3) { | 3045 if (buildCounterInstanceGroupManager < 3) { |
2972 unittest.expect(o.baseInstanceName, unittest.equals('foo')); | 3046 unittest.expect(o.baseInstanceName, unittest.equals('foo')); |
2973 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3047 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2974 checkInstanceGroupManagerActionsSummary(o.currentActions); | 3048 checkInstanceGroupManagerActionsSummary(o.currentActions); |
2975 unittest.expect(o.description, unittest.equals('foo')); | 3049 unittest.expect(o.description, unittest.equals('foo')); |
2976 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3050 unittest.expect(o.fingerprint, unittest.equals('foo')); |
2977 unittest.expect(o.id, unittest.equals('foo')); | 3051 unittest.expect(o.id, unittest.equals('foo')); |
2978 unittest.expect(o.instanceGroup, unittest.equals('foo')); | 3052 unittest.expect(o.instanceGroup, unittest.equals('foo')); |
2979 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 3053 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
2980 unittest.expect(o.kind, unittest.equals('foo')); | 3054 unittest.expect(o.kind, unittest.equals('foo')); |
2981 unittest.expect(o.name, unittest.equals('foo')); | 3055 unittest.expect(o.name, unittest.equals('foo')); |
2982 checkUnnamed2060(o.namedPorts); | 3056 checkUnnamed2074(o.namedPorts); |
2983 unittest.expect(o.region, unittest.equals('foo')); | 3057 unittest.expect(o.region, unittest.equals('foo')); |
2984 unittest.expect(o.selfLink, unittest.equals('foo')); | 3058 unittest.expect(o.selfLink, unittest.equals('foo')); |
2985 checkUnnamed2061(o.targetPools); | 3059 checkUnnamed2075(o.targetPools); |
2986 unittest.expect(o.targetSize, unittest.equals(42)); | 3060 unittest.expect(o.targetSize, unittest.equals(42)); |
2987 unittest.expect(o.zone, unittest.equals('foo')); | 3061 unittest.expect(o.zone, unittest.equals('foo')); |
2988 } | 3062 } |
2989 buildCounterInstanceGroupManager--; | 3063 buildCounterInstanceGroupManager--; |
2990 } | 3064 } |
2991 | 3065 |
2992 core.int buildCounterInstanceGroupManagerActionsSummary = 0; | 3066 core.int buildCounterInstanceGroupManagerActionsSummary = 0; |
2993 buildInstanceGroupManagerActionsSummary() { | 3067 buildInstanceGroupManagerActionsSummary() { |
2994 var o = new api.InstanceGroupManagerActionsSummary(); | 3068 var o = new api.InstanceGroupManagerActionsSummary(); |
2995 buildCounterInstanceGroupManagerActionsSummary++; | 3069 buildCounterInstanceGroupManagerActionsSummary++; |
(...skipping 19 matching lines...) Expand all Loading... |
3015 unittest.expect(o.creatingWithoutRetries, unittest.equals(42)); | 3089 unittest.expect(o.creatingWithoutRetries, unittest.equals(42)); |
3016 unittest.expect(o.deleting, unittest.equals(42)); | 3090 unittest.expect(o.deleting, unittest.equals(42)); |
3017 unittest.expect(o.none, unittest.equals(42)); | 3091 unittest.expect(o.none, unittest.equals(42)); |
3018 unittest.expect(o.recreating, unittest.equals(42)); | 3092 unittest.expect(o.recreating, unittest.equals(42)); |
3019 unittest.expect(o.refreshing, unittest.equals(42)); | 3093 unittest.expect(o.refreshing, unittest.equals(42)); |
3020 unittest.expect(o.restarting, unittest.equals(42)); | 3094 unittest.expect(o.restarting, unittest.equals(42)); |
3021 } | 3095 } |
3022 buildCounterInstanceGroupManagerActionsSummary--; | 3096 buildCounterInstanceGroupManagerActionsSummary--; |
3023 } | 3097 } |
3024 | 3098 |
3025 buildUnnamed2062() { | 3099 buildUnnamed2076() { |
3026 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); | 3100 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); |
3027 o["x"] = buildInstanceGroupManagersScopedList(); | 3101 o["x"] = buildInstanceGroupManagersScopedList(); |
3028 o["y"] = buildInstanceGroupManagersScopedList(); | 3102 o["y"] = buildInstanceGroupManagersScopedList(); |
3029 return o; | 3103 return o; |
3030 } | 3104 } |
3031 | 3105 |
3032 checkUnnamed2062(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { | 3106 checkUnnamed2076(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { |
3033 unittest.expect(o, unittest.hasLength(2)); | 3107 unittest.expect(o, unittest.hasLength(2)); |
3034 checkInstanceGroupManagersScopedList(o["x"]); | 3108 checkInstanceGroupManagersScopedList(o["x"]); |
3035 checkInstanceGroupManagersScopedList(o["y"]); | 3109 checkInstanceGroupManagersScopedList(o["y"]); |
3036 } | 3110 } |
3037 | 3111 |
3038 core.int buildCounterInstanceGroupManagerAggregatedList = 0; | 3112 core.int buildCounterInstanceGroupManagerAggregatedList = 0; |
3039 buildInstanceGroupManagerAggregatedList() { | 3113 buildInstanceGroupManagerAggregatedList() { |
3040 var o = new api.InstanceGroupManagerAggregatedList(); | 3114 var o = new api.InstanceGroupManagerAggregatedList(); |
3041 buildCounterInstanceGroupManagerAggregatedList++; | 3115 buildCounterInstanceGroupManagerAggregatedList++; |
3042 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 3116 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
3043 o.id = "foo"; | 3117 o.id = "foo"; |
3044 o.items = buildUnnamed2062(); | 3118 o.items = buildUnnamed2076(); |
3045 o.kind = "foo"; | 3119 o.kind = "foo"; |
3046 o.nextPageToken = "foo"; | 3120 o.nextPageToken = "foo"; |
3047 o.selfLink = "foo"; | 3121 o.selfLink = "foo"; |
3048 } | 3122 } |
3049 buildCounterInstanceGroupManagerAggregatedList--; | 3123 buildCounterInstanceGroupManagerAggregatedList--; |
3050 return o; | 3124 return o; |
3051 } | 3125 } |
3052 | 3126 |
3053 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { | 3127 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { |
3054 buildCounterInstanceGroupManagerAggregatedList++; | 3128 buildCounterInstanceGroupManagerAggregatedList++; |
3055 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 3129 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
3056 unittest.expect(o.id, unittest.equals('foo')); | 3130 unittest.expect(o.id, unittest.equals('foo')); |
3057 checkUnnamed2062(o.items); | 3131 checkUnnamed2076(o.items); |
3058 unittest.expect(o.kind, unittest.equals('foo')); | 3132 unittest.expect(o.kind, unittest.equals('foo')); |
3059 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3133 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3060 unittest.expect(o.selfLink, unittest.equals('foo')); | 3134 unittest.expect(o.selfLink, unittest.equals('foo')); |
3061 } | 3135 } |
3062 buildCounterInstanceGroupManagerAggregatedList--; | 3136 buildCounterInstanceGroupManagerAggregatedList--; |
3063 } | 3137 } |
3064 | 3138 |
3065 buildUnnamed2063() { | 3139 buildUnnamed2077() { |
3066 var o = new core.List<api.InstanceGroupManager>(); | 3140 var o = new core.List<api.InstanceGroupManager>(); |
3067 o.add(buildInstanceGroupManager()); | 3141 o.add(buildInstanceGroupManager()); |
3068 o.add(buildInstanceGroupManager()); | 3142 o.add(buildInstanceGroupManager()); |
3069 return o; | 3143 return o; |
3070 } | 3144 } |
3071 | 3145 |
3072 checkUnnamed2063(core.List<api.InstanceGroupManager> o) { | 3146 checkUnnamed2077(core.List<api.InstanceGroupManager> o) { |
3073 unittest.expect(o, unittest.hasLength(2)); | 3147 unittest.expect(o, unittest.hasLength(2)); |
3074 checkInstanceGroupManager(o[0]); | 3148 checkInstanceGroupManager(o[0]); |
3075 checkInstanceGroupManager(o[1]); | 3149 checkInstanceGroupManager(o[1]); |
3076 } | 3150 } |
3077 | 3151 |
3078 core.int buildCounterInstanceGroupManagerList = 0; | 3152 core.int buildCounterInstanceGroupManagerList = 0; |
3079 buildInstanceGroupManagerList() { | 3153 buildInstanceGroupManagerList() { |
3080 var o = new api.InstanceGroupManagerList(); | 3154 var o = new api.InstanceGroupManagerList(); |
3081 buildCounterInstanceGroupManagerList++; | 3155 buildCounterInstanceGroupManagerList++; |
3082 if (buildCounterInstanceGroupManagerList < 3) { | 3156 if (buildCounterInstanceGroupManagerList < 3) { |
3083 o.id = "foo"; | 3157 o.id = "foo"; |
3084 o.items = buildUnnamed2063(); | 3158 o.items = buildUnnamed2077(); |
3085 o.kind = "foo"; | 3159 o.kind = "foo"; |
3086 o.nextPageToken = "foo"; | 3160 o.nextPageToken = "foo"; |
3087 o.selfLink = "foo"; | 3161 o.selfLink = "foo"; |
3088 } | 3162 } |
3089 buildCounterInstanceGroupManagerList--; | 3163 buildCounterInstanceGroupManagerList--; |
3090 return o; | 3164 return o; |
3091 } | 3165 } |
3092 | 3166 |
3093 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { | 3167 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { |
3094 buildCounterInstanceGroupManagerList++; | 3168 buildCounterInstanceGroupManagerList++; |
3095 if (buildCounterInstanceGroupManagerList < 3) { | 3169 if (buildCounterInstanceGroupManagerList < 3) { |
3096 unittest.expect(o.id, unittest.equals('foo')); | 3170 unittest.expect(o.id, unittest.equals('foo')); |
3097 checkUnnamed2063(o.items); | 3171 checkUnnamed2077(o.items); |
3098 unittest.expect(o.kind, unittest.equals('foo')); | 3172 unittest.expect(o.kind, unittest.equals('foo')); |
3099 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3173 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3100 unittest.expect(o.selfLink, unittest.equals('foo')); | 3174 unittest.expect(o.selfLink, unittest.equals('foo')); |
3101 } | 3175 } |
3102 buildCounterInstanceGroupManagerList--; | 3176 buildCounterInstanceGroupManagerList--; |
3103 } | 3177 } |
3104 | 3178 |
3105 buildUnnamed2064() { | 3179 buildUnnamed2078() { |
3106 var o = new core.List<core.String>(); | 3180 var o = new core.List<core.String>(); |
3107 o.add("foo"); | 3181 o.add("foo"); |
3108 o.add("foo"); | 3182 o.add("foo"); |
3109 return o; | 3183 return o; |
3110 } | 3184 } |
3111 | 3185 |
3112 checkUnnamed2064(core.List<core.String> o) { | 3186 checkUnnamed2078(core.List<core.String> o) { |
3113 unittest.expect(o, unittest.hasLength(2)); | 3187 unittest.expect(o, unittest.hasLength(2)); |
3114 unittest.expect(o[0], unittest.equals('foo')); | 3188 unittest.expect(o[0], unittest.equals('foo')); |
3115 unittest.expect(o[1], unittest.equals('foo')); | 3189 unittest.expect(o[1], unittest.equals('foo')); |
3116 } | 3190 } |
3117 | 3191 |
3118 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; | 3192 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; |
3119 buildInstanceGroupManagersAbandonInstancesRequest() { | 3193 buildInstanceGroupManagersAbandonInstancesRequest() { |
3120 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); | 3194 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); |
3121 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 3195 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
3122 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 3196 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
3123 o.instances = buildUnnamed2064(); | 3197 o.instances = buildUnnamed2078(); |
3124 } | 3198 } |
3125 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 3199 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
3126 return o; | 3200 return o; |
3127 } | 3201 } |
3128 | 3202 |
3129 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { | 3203 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { |
3130 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 3204 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
3131 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 3205 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
3132 checkUnnamed2064(o.instances); | 3206 checkUnnamed2078(o.instances); |
3133 } | 3207 } |
3134 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 3208 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
3135 } | 3209 } |
3136 | 3210 |
3137 buildUnnamed2065() { | 3211 buildUnnamed2079() { |
3138 var o = new core.List<core.String>(); | 3212 var o = new core.List<core.String>(); |
3139 o.add("foo"); | 3213 o.add("foo"); |
3140 o.add("foo"); | 3214 o.add("foo"); |
3141 return o; | 3215 return o; |
3142 } | 3216 } |
3143 | 3217 |
3144 checkUnnamed2065(core.List<core.String> o) { | 3218 checkUnnamed2079(core.List<core.String> o) { |
3145 unittest.expect(o, unittest.hasLength(2)); | 3219 unittest.expect(o, unittest.hasLength(2)); |
3146 unittest.expect(o[0], unittest.equals('foo')); | 3220 unittest.expect(o[0], unittest.equals('foo')); |
3147 unittest.expect(o[1], unittest.equals('foo')); | 3221 unittest.expect(o[1], unittest.equals('foo')); |
3148 } | 3222 } |
3149 | 3223 |
3150 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; | 3224 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; |
3151 buildInstanceGroupManagersDeleteInstancesRequest() { | 3225 buildInstanceGroupManagersDeleteInstancesRequest() { |
3152 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); | 3226 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); |
3153 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 3227 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
3154 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 3228 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
3155 o.instances = buildUnnamed2065(); | 3229 o.instances = buildUnnamed2079(); |
3156 } | 3230 } |
3157 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 3231 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
3158 return o; | 3232 return o; |
3159 } | 3233 } |
3160 | 3234 |
3161 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { | 3235 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { |
3162 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 3236 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
3163 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 3237 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
3164 checkUnnamed2065(o.instances); | 3238 checkUnnamed2079(o.instances); |
3165 } | 3239 } |
3166 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 3240 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
3167 } | 3241 } |
3168 | 3242 |
3169 buildUnnamed2066() { | 3243 buildUnnamed2080() { |
3170 var o = new core.List<api.ManagedInstance>(); | 3244 var o = new core.List<api.ManagedInstance>(); |
3171 o.add(buildManagedInstance()); | 3245 o.add(buildManagedInstance()); |
3172 o.add(buildManagedInstance()); | 3246 o.add(buildManagedInstance()); |
3173 return o; | 3247 return o; |
3174 } | 3248 } |
3175 | 3249 |
3176 checkUnnamed2066(core.List<api.ManagedInstance> o) { | 3250 checkUnnamed2080(core.List<api.ManagedInstance> o) { |
3177 unittest.expect(o, unittest.hasLength(2)); | 3251 unittest.expect(o, unittest.hasLength(2)); |
3178 checkManagedInstance(o[0]); | 3252 checkManagedInstance(o[0]); |
3179 checkManagedInstance(o[1]); | 3253 checkManagedInstance(o[1]); |
3180 } | 3254 } |
3181 | 3255 |
3182 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; | 3256 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; |
3183 buildInstanceGroupManagersListManagedInstancesResponse() { | 3257 buildInstanceGroupManagersListManagedInstancesResponse() { |
3184 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); | 3258 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); |
3185 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 3259 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
3186 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 3260 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
3187 o.managedInstances = buildUnnamed2066(); | 3261 o.managedInstances = buildUnnamed2080(); |
3188 } | 3262 } |
3189 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 3263 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
3190 return o; | 3264 return o; |
3191 } | 3265 } |
3192 | 3266 |
3193 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { | 3267 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { |
3194 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 3268 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
3195 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 3269 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
3196 checkUnnamed2066(o.managedInstances); | 3270 checkUnnamed2080(o.managedInstances); |
3197 } | 3271 } |
3198 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 3272 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
3199 } | 3273 } |
3200 | 3274 |
3201 buildUnnamed2067() { | 3275 buildUnnamed2081() { |
3202 var o = new core.List<core.String>(); | 3276 var o = new core.List<core.String>(); |
3203 o.add("foo"); | 3277 o.add("foo"); |
3204 o.add("foo"); | 3278 o.add("foo"); |
3205 return o; | 3279 return o; |
3206 } | 3280 } |
3207 | 3281 |
3208 checkUnnamed2067(core.List<core.String> o) { | 3282 checkUnnamed2081(core.List<core.String> o) { |
3209 unittest.expect(o, unittest.hasLength(2)); | 3283 unittest.expect(o, unittest.hasLength(2)); |
3210 unittest.expect(o[0], unittest.equals('foo')); | 3284 unittest.expect(o[0], unittest.equals('foo')); |
3211 unittest.expect(o[1], unittest.equals('foo')); | 3285 unittest.expect(o[1], unittest.equals('foo')); |
3212 } | 3286 } |
3213 | 3287 |
3214 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; | 3288 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; |
3215 buildInstanceGroupManagersRecreateInstancesRequest() { | 3289 buildInstanceGroupManagersRecreateInstancesRequest() { |
3216 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); | 3290 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); |
3217 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 3291 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
3218 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 3292 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
3219 o.instances = buildUnnamed2067(); | 3293 o.instances = buildUnnamed2081(); |
3220 } | 3294 } |
3221 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 3295 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
3222 return o; | 3296 return o; |
3223 } | 3297 } |
3224 | 3298 |
3225 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { | 3299 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { |
3226 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 3300 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
3227 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 3301 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
3228 checkUnnamed2067(o.instances); | 3302 checkUnnamed2081(o.instances); |
3229 } | 3303 } |
3230 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 3304 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
3231 } | 3305 } |
3232 | 3306 |
3233 buildUnnamed2068() { | 3307 buildUnnamed2082() { |
3234 var o = new core.List<api.InstanceGroupManager>(); | 3308 var o = new core.List<api.InstanceGroupManager>(); |
3235 o.add(buildInstanceGroupManager()); | 3309 o.add(buildInstanceGroupManager()); |
3236 o.add(buildInstanceGroupManager()); | 3310 o.add(buildInstanceGroupManager()); |
3237 return o; | 3311 return o; |
3238 } | 3312 } |
3239 | 3313 |
3240 checkUnnamed2068(core.List<api.InstanceGroupManager> o) { | 3314 checkUnnamed2082(core.List<api.InstanceGroupManager> o) { |
3241 unittest.expect(o, unittest.hasLength(2)); | 3315 unittest.expect(o, unittest.hasLength(2)); |
3242 checkInstanceGroupManager(o[0]); | 3316 checkInstanceGroupManager(o[0]); |
3243 checkInstanceGroupManager(o[1]); | 3317 checkInstanceGroupManager(o[1]); |
3244 } | 3318 } |
3245 | 3319 |
3246 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; | 3320 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; |
3247 buildInstanceGroupManagersScopedListWarningData() { | 3321 buildInstanceGroupManagersScopedListWarningData() { |
3248 var o = new api.InstanceGroupManagersScopedListWarningData(); | 3322 var o = new api.InstanceGroupManagersScopedListWarningData(); |
3249 buildCounterInstanceGroupManagersScopedListWarningData++; | 3323 buildCounterInstanceGroupManagersScopedListWarningData++; |
3250 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 3324 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
3251 o.key = "foo"; | 3325 o.key = "foo"; |
3252 o.value = "foo"; | 3326 o.value = "foo"; |
3253 } | 3327 } |
3254 buildCounterInstanceGroupManagersScopedListWarningData--; | 3328 buildCounterInstanceGroupManagersScopedListWarningData--; |
3255 return o; | 3329 return o; |
3256 } | 3330 } |
3257 | 3331 |
3258 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { | 3332 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { |
3259 buildCounterInstanceGroupManagersScopedListWarningData++; | 3333 buildCounterInstanceGroupManagersScopedListWarningData++; |
3260 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 3334 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
3261 unittest.expect(o.key, unittest.equals('foo')); | 3335 unittest.expect(o.key, unittest.equals('foo')); |
3262 unittest.expect(o.value, unittest.equals('foo')); | 3336 unittest.expect(o.value, unittest.equals('foo')); |
3263 } | 3337 } |
3264 buildCounterInstanceGroupManagersScopedListWarningData--; | 3338 buildCounterInstanceGroupManagersScopedListWarningData--; |
3265 } | 3339 } |
3266 | 3340 |
3267 buildUnnamed2069() { | 3341 buildUnnamed2083() { |
3268 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); | 3342 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); |
3269 o.add(buildInstanceGroupManagersScopedListWarningData()); | 3343 o.add(buildInstanceGroupManagersScopedListWarningData()); |
3270 o.add(buildInstanceGroupManagersScopedListWarningData()); | 3344 o.add(buildInstanceGroupManagersScopedListWarningData()); |
3271 return o; | 3345 return o; |
3272 } | 3346 } |
3273 | 3347 |
3274 checkUnnamed2069(core.List<api.InstanceGroupManagersScopedListWarningData> o) { | 3348 checkUnnamed2083(core.List<api.InstanceGroupManagersScopedListWarningData> o) { |
3275 unittest.expect(o, unittest.hasLength(2)); | 3349 unittest.expect(o, unittest.hasLength(2)); |
3276 checkInstanceGroupManagersScopedListWarningData(o[0]); | 3350 checkInstanceGroupManagersScopedListWarningData(o[0]); |
3277 checkInstanceGroupManagersScopedListWarningData(o[1]); | 3351 checkInstanceGroupManagersScopedListWarningData(o[1]); |
3278 } | 3352 } |
3279 | 3353 |
3280 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; | 3354 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; |
3281 buildInstanceGroupManagersScopedListWarning() { | 3355 buildInstanceGroupManagersScopedListWarning() { |
3282 var o = new api.InstanceGroupManagersScopedListWarning(); | 3356 var o = new api.InstanceGroupManagersScopedListWarning(); |
3283 buildCounterInstanceGroupManagersScopedListWarning++; | 3357 buildCounterInstanceGroupManagersScopedListWarning++; |
3284 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 3358 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
3285 o.code = "foo"; | 3359 o.code = "foo"; |
3286 o.data = buildUnnamed2069(); | 3360 o.data = buildUnnamed2083(); |
3287 o.message = "foo"; | 3361 o.message = "foo"; |
3288 } | 3362 } |
3289 buildCounterInstanceGroupManagersScopedListWarning--; | 3363 buildCounterInstanceGroupManagersScopedListWarning--; |
3290 return o; | 3364 return o; |
3291 } | 3365 } |
3292 | 3366 |
3293 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { | 3367 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { |
3294 buildCounterInstanceGroupManagersScopedListWarning++; | 3368 buildCounterInstanceGroupManagersScopedListWarning++; |
3295 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 3369 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
3296 unittest.expect(o.code, unittest.equals('foo')); | 3370 unittest.expect(o.code, unittest.equals('foo')); |
3297 checkUnnamed2069(o.data); | 3371 checkUnnamed2083(o.data); |
3298 unittest.expect(o.message, unittest.equals('foo')); | 3372 unittest.expect(o.message, unittest.equals('foo')); |
3299 } | 3373 } |
3300 buildCounterInstanceGroupManagersScopedListWarning--; | 3374 buildCounterInstanceGroupManagersScopedListWarning--; |
3301 } | 3375 } |
3302 | 3376 |
3303 core.int buildCounterInstanceGroupManagersScopedList = 0; | 3377 core.int buildCounterInstanceGroupManagersScopedList = 0; |
3304 buildInstanceGroupManagersScopedList() { | 3378 buildInstanceGroupManagersScopedList() { |
3305 var o = new api.InstanceGroupManagersScopedList(); | 3379 var o = new api.InstanceGroupManagersScopedList(); |
3306 buildCounterInstanceGroupManagersScopedList++; | 3380 buildCounterInstanceGroupManagersScopedList++; |
3307 if (buildCounterInstanceGroupManagersScopedList < 3) { | 3381 if (buildCounterInstanceGroupManagersScopedList < 3) { |
3308 o.instanceGroupManagers = buildUnnamed2068(); | 3382 o.instanceGroupManagers = buildUnnamed2082(); |
3309 o.warning = buildInstanceGroupManagersScopedListWarning(); | 3383 o.warning = buildInstanceGroupManagersScopedListWarning(); |
3310 } | 3384 } |
3311 buildCounterInstanceGroupManagersScopedList--; | 3385 buildCounterInstanceGroupManagersScopedList--; |
3312 return o; | 3386 return o; |
3313 } | 3387 } |
3314 | 3388 |
3315 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { | 3389 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { |
3316 buildCounterInstanceGroupManagersScopedList++; | 3390 buildCounterInstanceGroupManagersScopedList++; |
3317 if (buildCounterInstanceGroupManagersScopedList < 3) { | 3391 if (buildCounterInstanceGroupManagersScopedList < 3) { |
3318 checkUnnamed2068(o.instanceGroupManagers); | 3392 checkUnnamed2082(o.instanceGroupManagers); |
3319 checkInstanceGroupManagersScopedListWarning(o.warning); | 3393 checkInstanceGroupManagersScopedListWarning(o.warning); |
3320 } | 3394 } |
3321 buildCounterInstanceGroupManagersScopedList--; | 3395 buildCounterInstanceGroupManagersScopedList--; |
3322 } | 3396 } |
3323 | 3397 |
3324 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; | 3398 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; |
3325 buildInstanceGroupManagersSetInstanceTemplateRequest() { | 3399 buildInstanceGroupManagersSetInstanceTemplateRequest() { |
3326 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); | 3400 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); |
3327 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 3401 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
3328 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 3402 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
3329 o.instanceTemplate = "foo"; | 3403 o.instanceTemplate = "foo"; |
3330 } | 3404 } |
3331 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 3405 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
3332 return o; | 3406 return o; |
3333 } | 3407 } |
3334 | 3408 |
3335 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { | 3409 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { |
3336 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 3410 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
3337 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 3411 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
3338 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 3412 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
3339 } | 3413 } |
3340 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 3414 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
3341 } | 3415 } |
3342 | 3416 |
3343 buildUnnamed2070() { | 3417 buildUnnamed2084() { |
3344 var o = new core.List<core.String>(); | 3418 var o = new core.List<core.String>(); |
3345 o.add("foo"); | 3419 o.add("foo"); |
3346 o.add("foo"); | 3420 o.add("foo"); |
3347 return o; | 3421 return o; |
3348 } | 3422 } |
3349 | 3423 |
3350 checkUnnamed2070(core.List<core.String> o) { | 3424 checkUnnamed2084(core.List<core.String> o) { |
3351 unittest.expect(o, unittest.hasLength(2)); | 3425 unittest.expect(o, unittest.hasLength(2)); |
3352 unittest.expect(o[0], unittest.equals('foo')); | 3426 unittest.expect(o[0], unittest.equals('foo')); |
3353 unittest.expect(o[1], unittest.equals('foo')); | 3427 unittest.expect(o[1], unittest.equals('foo')); |
3354 } | 3428 } |
3355 | 3429 |
3356 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; | 3430 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; |
3357 buildInstanceGroupManagersSetTargetPoolsRequest() { | 3431 buildInstanceGroupManagersSetTargetPoolsRequest() { |
3358 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); | 3432 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); |
3359 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 3433 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
3360 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 3434 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
3361 o.fingerprint = "foo"; | 3435 o.fingerprint = "foo"; |
3362 o.targetPools = buildUnnamed2070(); | 3436 o.targetPools = buildUnnamed2084(); |
3363 } | 3437 } |
3364 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 3438 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
3365 return o; | 3439 return o; |
3366 } | 3440 } |
3367 | 3441 |
3368 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { | 3442 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { |
3369 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 3443 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
3370 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 3444 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
3371 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3445 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3372 checkUnnamed2070(o.targetPools); | 3446 checkUnnamed2084(o.targetPools); |
3373 } | 3447 } |
3374 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 3448 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
3375 } | 3449 } |
3376 | 3450 |
3377 buildUnnamed2071() { | 3451 buildUnnamed2085() { |
3378 var o = new core.List<api.InstanceReference>(); | 3452 var o = new core.List<api.InstanceReference>(); |
3379 o.add(buildInstanceReference()); | 3453 o.add(buildInstanceReference()); |
3380 o.add(buildInstanceReference()); | 3454 o.add(buildInstanceReference()); |
3381 return o; | 3455 return o; |
3382 } | 3456 } |
3383 | 3457 |
3384 checkUnnamed2071(core.List<api.InstanceReference> o) { | 3458 checkUnnamed2085(core.List<api.InstanceReference> o) { |
3385 unittest.expect(o, unittest.hasLength(2)); | 3459 unittest.expect(o, unittest.hasLength(2)); |
3386 checkInstanceReference(o[0]); | 3460 checkInstanceReference(o[0]); |
3387 checkInstanceReference(o[1]); | 3461 checkInstanceReference(o[1]); |
3388 } | 3462 } |
3389 | 3463 |
3390 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; | 3464 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; |
3391 buildInstanceGroupsAddInstancesRequest() { | 3465 buildInstanceGroupsAddInstancesRequest() { |
3392 var o = new api.InstanceGroupsAddInstancesRequest(); | 3466 var o = new api.InstanceGroupsAddInstancesRequest(); |
3393 buildCounterInstanceGroupsAddInstancesRequest++; | 3467 buildCounterInstanceGroupsAddInstancesRequest++; |
3394 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 3468 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
3395 o.instances = buildUnnamed2071(); | 3469 o.instances = buildUnnamed2085(); |
3396 } | 3470 } |
3397 buildCounterInstanceGroupsAddInstancesRequest--; | 3471 buildCounterInstanceGroupsAddInstancesRequest--; |
3398 return o; | 3472 return o; |
3399 } | 3473 } |
3400 | 3474 |
3401 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ | 3475 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ |
3402 buildCounterInstanceGroupsAddInstancesRequest++; | 3476 buildCounterInstanceGroupsAddInstancesRequest++; |
3403 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 3477 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
3404 checkUnnamed2071(o.instances); | 3478 checkUnnamed2085(o.instances); |
3405 } | 3479 } |
3406 buildCounterInstanceGroupsAddInstancesRequest--; | 3480 buildCounterInstanceGroupsAddInstancesRequest--; |
3407 } | 3481 } |
3408 | 3482 |
3409 buildUnnamed2072() { | 3483 buildUnnamed2086() { |
3410 var o = new core.List<api.InstanceWithNamedPorts>(); | 3484 var o = new core.List<api.InstanceWithNamedPorts>(); |
3411 o.add(buildInstanceWithNamedPorts()); | 3485 o.add(buildInstanceWithNamedPorts()); |
3412 o.add(buildInstanceWithNamedPorts()); | 3486 o.add(buildInstanceWithNamedPorts()); |
3413 return o; | 3487 return o; |
3414 } | 3488 } |
3415 | 3489 |
3416 checkUnnamed2072(core.List<api.InstanceWithNamedPorts> o) { | 3490 checkUnnamed2086(core.List<api.InstanceWithNamedPorts> o) { |
3417 unittest.expect(o, unittest.hasLength(2)); | 3491 unittest.expect(o, unittest.hasLength(2)); |
3418 checkInstanceWithNamedPorts(o[0]); | 3492 checkInstanceWithNamedPorts(o[0]); |
3419 checkInstanceWithNamedPorts(o[1]); | 3493 checkInstanceWithNamedPorts(o[1]); |
3420 } | 3494 } |
3421 | 3495 |
3422 core.int buildCounterInstanceGroupsListInstances = 0; | 3496 core.int buildCounterInstanceGroupsListInstances = 0; |
3423 buildInstanceGroupsListInstances() { | 3497 buildInstanceGroupsListInstances() { |
3424 var o = new api.InstanceGroupsListInstances(); | 3498 var o = new api.InstanceGroupsListInstances(); |
3425 buildCounterInstanceGroupsListInstances++; | 3499 buildCounterInstanceGroupsListInstances++; |
3426 if (buildCounterInstanceGroupsListInstances < 3) { | 3500 if (buildCounterInstanceGroupsListInstances < 3) { |
3427 o.id = "foo"; | 3501 o.id = "foo"; |
3428 o.items = buildUnnamed2072(); | 3502 o.items = buildUnnamed2086(); |
3429 o.kind = "foo"; | 3503 o.kind = "foo"; |
3430 o.nextPageToken = "foo"; | 3504 o.nextPageToken = "foo"; |
3431 o.selfLink = "foo"; | 3505 o.selfLink = "foo"; |
3432 } | 3506 } |
3433 buildCounterInstanceGroupsListInstances--; | 3507 buildCounterInstanceGroupsListInstances--; |
3434 return o; | 3508 return o; |
3435 } | 3509 } |
3436 | 3510 |
3437 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { | 3511 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { |
3438 buildCounterInstanceGroupsListInstances++; | 3512 buildCounterInstanceGroupsListInstances++; |
3439 if (buildCounterInstanceGroupsListInstances < 3) { | 3513 if (buildCounterInstanceGroupsListInstances < 3) { |
3440 unittest.expect(o.id, unittest.equals('foo')); | 3514 unittest.expect(o.id, unittest.equals('foo')); |
3441 checkUnnamed2072(o.items); | 3515 checkUnnamed2086(o.items); |
3442 unittest.expect(o.kind, unittest.equals('foo')); | 3516 unittest.expect(o.kind, unittest.equals('foo')); |
3443 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3517 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3444 unittest.expect(o.selfLink, unittest.equals('foo')); | 3518 unittest.expect(o.selfLink, unittest.equals('foo')); |
3445 } | 3519 } |
3446 buildCounterInstanceGroupsListInstances--; | 3520 buildCounterInstanceGroupsListInstances--; |
3447 } | 3521 } |
3448 | 3522 |
3449 core.int buildCounterInstanceGroupsListInstancesRequest = 0; | 3523 core.int buildCounterInstanceGroupsListInstancesRequest = 0; |
3450 buildInstanceGroupsListInstancesRequest() { | 3524 buildInstanceGroupsListInstancesRequest() { |
3451 var o = new api.InstanceGroupsListInstancesRequest(); | 3525 var o = new api.InstanceGroupsListInstancesRequest(); |
3452 buildCounterInstanceGroupsListInstancesRequest++; | 3526 buildCounterInstanceGroupsListInstancesRequest++; |
3453 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 3527 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
3454 o.instanceState = "foo"; | 3528 o.instanceState = "foo"; |
3455 } | 3529 } |
3456 buildCounterInstanceGroupsListInstancesRequest--; | 3530 buildCounterInstanceGroupsListInstancesRequest--; |
3457 return o; | 3531 return o; |
3458 } | 3532 } |
3459 | 3533 |
3460 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { | 3534 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { |
3461 buildCounterInstanceGroupsListInstancesRequest++; | 3535 buildCounterInstanceGroupsListInstancesRequest++; |
3462 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 3536 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
3463 unittest.expect(o.instanceState, unittest.equals('foo')); | 3537 unittest.expect(o.instanceState, unittest.equals('foo')); |
3464 } | 3538 } |
3465 buildCounterInstanceGroupsListInstancesRequest--; | 3539 buildCounterInstanceGroupsListInstancesRequest--; |
3466 } | 3540 } |
3467 | 3541 |
3468 buildUnnamed2073() { | 3542 buildUnnamed2087() { |
3469 var o = new core.List<api.InstanceReference>(); | 3543 var o = new core.List<api.InstanceReference>(); |
3470 o.add(buildInstanceReference()); | 3544 o.add(buildInstanceReference()); |
3471 o.add(buildInstanceReference()); | 3545 o.add(buildInstanceReference()); |
3472 return o; | 3546 return o; |
3473 } | 3547 } |
3474 | 3548 |
3475 checkUnnamed2073(core.List<api.InstanceReference> o) { | 3549 checkUnnamed2087(core.List<api.InstanceReference> o) { |
3476 unittest.expect(o, unittest.hasLength(2)); | 3550 unittest.expect(o, unittest.hasLength(2)); |
3477 checkInstanceReference(o[0]); | 3551 checkInstanceReference(o[0]); |
3478 checkInstanceReference(o[1]); | 3552 checkInstanceReference(o[1]); |
3479 } | 3553 } |
3480 | 3554 |
3481 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; | 3555 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; |
3482 buildInstanceGroupsRemoveInstancesRequest() { | 3556 buildInstanceGroupsRemoveInstancesRequest() { |
3483 var o = new api.InstanceGroupsRemoveInstancesRequest(); | 3557 var o = new api.InstanceGroupsRemoveInstancesRequest(); |
3484 buildCounterInstanceGroupsRemoveInstancesRequest++; | 3558 buildCounterInstanceGroupsRemoveInstancesRequest++; |
3485 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 3559 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
3486 o.instances = buildUnnamed2073(); | 3560 o.instances = buildUnnamed2087(); |
3487 } | 3561 } |
3488 buildCounterInstanceGroupsRemoveInstancesRequest--; | 3562 buildCounterInstanceGroupsRemoveInstancesRequest--; |
3489 return o; | 3563 return o; |
3490 } | 3564 } |
3491 | 3565 |
3492 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { | 3566 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { |
3493 buildCounterInstanceGroupsRemoveInstancesRequest++; | 3567 buildCounterInstanceGroupsRemoveInstancesRequest++; |
3494 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 3568 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
3495 checkUnnamed2073(o.instances); | 3569 checkUnnamed2087(o.instances); |
3496 } | 3570 } |
3497 buildCounterInstanceGroupsRemoveInstancesRequest--; | 3571 buildCounterInstanceGroupsRemoveInstancesRequest--; |
3498 } | 3572 } |
3499 | 3573 |
3500 buildUnnamed2074() { | 3574 buildUnnamed2088() { |
3501 var o = new core.List<api.InstanceGroup>(); | 3575 var o = new core.List<api.InstanceGroup>(); |
3502 o.add(buildInstanceGroup()); | 3576 o.add(buildInstanceGroup()); |
3503 o.add(buildInstanceGroup()); | 3577 o.add(buildInstanceGroup()); |
3504 return o; | 3578 return o; |
3505 } | 3579 } |
3506 | 3580 |
3507 checkUnnamed2074(core.List<api.InstanceGroup> o) { | 3581 checkUnnamed2088(core.List<api.InstanceGroup> o) { |
3508 unittest.expect(o, unittest.hasLength(2)); | 3582 unittest.expect(o, unittest.hasLength(2)); |
3509 checkInstanceGroup(o[0]); | 3583 checkInstanceGroup(o[0]); |
3510 checkInstanceGroup(o[1]); | 3584 checkInstanceGroup(o[1]); |
3511 } | 3585 } |
3512 | 3586 |
3513 core.int buildCounterInstanceGroupsScopedListWarningData = 0; | 3587 core.int buildCounterInstanceGroupsScopedListWarningData = 0; |
3514 buildInstanceGroupsScopedListWarningData() { | 3588 buildInstanceGroupsScopedListWarningData() { |
3515 var o = new api.InstanceGroupsScopedListWarningData(); | 3589 var o = new api.InstanceGroupsScopedListWarningData(); |
3516 buildCounterInstanceGroupsScopedListWarningData++; | 3590 buildCounterInstanceGroupsScopedListWarningData++; |
3517 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 3591 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
3518 o.key = "foo"; | 3592 o.key = "foo"; |
3519 o.value = "foo"; | 3593 o.value = "foo"; |
3520 } | 3594 } |
3521 buildCounterInstanceGroupsScopedListWarningData--; | 3595 buildCounterInstanceGroupsScopedListWarningData--; |
3522 return o; | 3596 return o; |
3523 } | 3597 } |
3524 | 3598 |
3525 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { | 3599 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { |
3526 buildCounterInstanceGroupsScopedListWarningData++; | 3600 buildCounterInstanceGroupsScopedListWarningData++; |
3527 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 3601 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
3528 unittest.expect(o.key, unittest.equals('foo')); | 3602 unittest.expect(o.key, unittest.equals('foo')); |
3529 unittest.expect(o.value, unittest.equals('foo')); | 3603 unittest.expect(o.value, unittest.equals('foo')); |
3530 } | 3604 } |
3531 buildCounterInstanceGroupsScopedListWarningData--; | 3605 buildCounterInstanceGroupsScopedListWarningData--; |
3532 } | 3606 } |
3533 | 3607 |
3534 buildUnnamed2075() { | 3608 buildUnnamed2089() { |
3535 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); | 3609 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); |
3536 o.add(buildInstanceGroupsScopedListWarningData()); | 3610 o.add(buildInstanceGroupsScopedListWarningData()); |
3537 o.add(buildInstanceGroupsScopedListWarningData()); | 3611 o.add(buildInstanceGroupsScopedListWarningData()); |
3538 return o; | 3612 return o; |
3539 } | 3613 } |
3540 | 3614 |
3541 checkUnnamed2075(core.List<api.InstanceGroupsScopedListWarningData> o) { | 3615 checkUnnamed2089(core.List<api.InstanceGroupsScopedListWarningData> o) { |
3542 unittest.expect(o, unittest.hasLength(2)); | 3616 unittest.expect(o, unittest.hasLength(2)); |
3543 checkInstanceGroupsScopedListWarningData(o[0]); | 3617 checkInstanceGroupsScopedListWarningData(o[0]); |
3544 checkInstanceGroupsScopedListWarningData(o[1]); | 3618 checkInstanceGroupsScopedListWarningData(o[1]); |
3545 } | 3619 } |
3546 | 3620 |
3547 core.int buildCounterInstanceGroupsScopedListWarning = 0; | 3621 core.int buildCounterInstanceGroupsScopedListWarning = 0; |
3548 buildInstanceGroupsScopedListWarning() { | 3622 buildInstanceGroupsScopedListWarning() { |
3549 var o = new api.InstanceGroupsScopedListWarning(); | 3623 var o = new api.InstanceGroupsScopedListWarning(); |
3550 buildCounterInstanceGroupsScopedListWarning++; | 3624 buildCounterInstanceGroupsScopedListWarning++; |
3551 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 3625 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
3552 o.code = "foo"; | 3626 o.code = "foo"; |
3553 o.data = buildUnnamed2075(); | 3627 o.data = buildUnnamed2089(); |
3554 o.message = "foo"; | 3628 o.message = "foo"; |
3555 } | 3629 } |
3556 buildCounterInstanceGroupsScopedListWarning--; | 3630 buildCounterInstanceGroupsScopedListWarning--; |
3557 return o; | 3631 return o; |
3558 } | 3632 } |
3559 | 3633 |
3560 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { | 3634 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { |
3561 buildCounterInstanceGroupsScopedListWarning++; | 3635 buildCounterInstanceGroupsScopedListWarning++; |
3562 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 3636 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
3563 unittest.expect(o.code, unittest.equals('foo')); | 3637 unittest.expect(o.code, unittest.equals('foo')); |
3564 checkUnnamed2075(o.data); | 3638 checkUnnamed2089(o.data); |
3565 unittest.expect(o.message, unittest.equals('foo')); | 3639 unittest.expect(o.message, unittest.equals('foo')); |
3566 } | 3640 } |
3567 buildCounterInstanceGroupsScopedListWarning--; | 3641 buildCounterInstanceGroupsScopedListWarning--; |
3568 } | 3642 } |
3569 | 3643 |
3570 core.int buildCounterInstanceGroupsScopedList = 0; | 3644 core.int buildCounterInstanceGroupsScopedList = 0; |
3571 buildInstanceGroupsScopedList() { | 3645 buildInstanceGroupsScopedList() { |
3572 var o = new api.InstanceGroupsScopedList(); | 3646 var o = new api.InstanceGroupsScopedList(); |
3573 buildCounterInstanceGroupsScopedList++; | 3647 buildCounterInstanceGroupsScopedList++; |
3574 if (buildCounterInstanceGroupsScopedList < 3) { | 3648 if (buildCounterInstanceGroupsScopedList < 3) { |
3575 o.instanceGroups = buildUnnamed2074(); | 3649 o.instanceGroups = buildUnnamed2088(); |
3576 o.warning = buildInstanceGroupsScopedListWarning(); | 3650 o.warning = buildInstanceGroupsScopedListWarning(); |
3577 } | 3651 } |
3578 buildCounterInstanceGroupsScopedList--; | 3652 buildCounterInstanceGroupsScopedList--; |
3579 return o; | 3653 return o; |
3580 } | 3654 } |
3581 | 3655 |
3582 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { | 3656 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { |
3583 buildCounterInstanceGroupsScopedList++; | 3657 buildCounterInstanceGroupsScopedList++; |
3584 if (buildCounterInstanceGroupsScopedList < 3) { | 3658 if (buildCounterInstanceGroupsScopedList < 3) { |
3585 checkUnnamed2074(o.instanceGroups); | 3659 checkUnnamed2088(o.instanceGroups); |
3586 checkInstanceGroupsScopedListWarning(o.warning); | 3660 checkInstanceGroupsScopedListWarning(o.warning); |
3587 } | 3661 } |
3588 buildCounterInstanceGroupsScopedList--; | 3662 buildCounterInstanceGroupsScopedList--; |
3589 } | 3663 } |
3590 | 3664 |
3591 buildUnnamed2076() { | 3665 buildUnnamed2090() { |
3592 var o = new core.List<api.NamedPort>(); | 3666 var o = new core.List<api.NamedPort>(); |
3593 o.add(buildNamedPort()); | 3667 o.add(buildNamedPort()); |
3594 o.add(buildNamedPort()); | 3668 o.add(buildNamedPort()); |
3595 return o; | 3669 return o; |
3596 } | 3670 } |
3597 | 3671 |
3598 checkUnnamed2076(core.List<api.NamedPort> o) { | 3672 checkUnnamed2090(core.List<api.NamedPort> o) { |
3599 unittest.expect(o, unittest.hasLength(2)); | 3673 unittest.expect(o, unittest.hasLength(2)); |
3600 checkNamedPort(o[0]); | 3674 checkNamedPort(o[0]); |
3601 checkNamedPort(o[1]); | 3675 checkNamedPort(o[1]); |
3602 } | 3676 } |
3603 | 3677 |
3604 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; | 3678 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; |
3605 buildInstanceGroupsSetNamedPortsRequest() { | 3679 buildInstanceGroupsSetNamedPortsRequest() { |
3606 var o = new api.InstanceGroupsSetNamedPortsRequest(); | 3680 var o = new api.InstanceGroupsSetNamedPortsRequest(); |
3607 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3681 buildCounterInstanceGroupsSetNamedPortsRequest++; |
3608 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3682 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
3609 o.fingerprint = "foo"; | 3683 o.fingerprint = "foo"; |
3610 o.namedPorts = buildUnnamed2076(); | 3684 o.namedPorts = buildUnnamed2090(); |
3611 } | 3685 } |
3612 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3686 buildCounterInstanceGroupsSetNamedPortsRequest--; |
3613 return o; | 3687 return o; |
3614 } | 3688 } |
3615 | 3689 |
3616 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { | 3690 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { |
3617 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3691 buildCounterInstanceGroupsSetNamedPortsRequest++; |
3618 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3692 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
3619 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3693 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3620 checkUnnamed2076(o.namedPorts); | 3694 checkUnnamed2090(o.namedPorts); |
3621 } | 3695 } |
3622 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3696 buildCounterInstanceGroupsSetNamedPortsRequest--; |
3623 } | 3697 } |
3624 | 3698 |
3625 buildUnnamed2077() { | 3699 buildUnnamed2091() { |
3626 var o = new core.List<api.Instance>(); | 3700 var o = new core.List<api.Instance>(); |
3627 o.add(buildInstance()); | 3701 o.add(buildInstance()); |
3628 o.add(buildInstance()); | 3702 o.add(buildInstance()); |
3629 return o; | 3703 return o; |
3630 } | 3704 } |
3631 | 3705 |
3632 checkUnnamed2077(core.List<api.Instance> o) { | 3706 checkUnnamed2091(core.List<api.Instance> o) { |
3633 unittest.expect(o, unittest.hasLength(2)); | 3707 unittest.expect(o, unittest.hasLength(2)); |
3634 checkInstance(o[0]); | 3708 checkInstance(o[0]); |
3635 checkInstance(o[1]); | 3709 checkInstance(o[1]); |
3636 } | 3710 } |
3637 | 3711 |
3638 core.int buildCounterInstanceList = 0; | 3712 core.int buildCounterInstanceList = 0; |
3639 buildInstanceList() { | 3713 buildInstanceList() { |
3640 var o = new api.InstanceList(); | 3714 var o = new api.InstanceList(); |
3641 buildCounterInstanceList++; | 3715 buildCounterInstanceList++; |
3642 if (buildCounterInstanceList < 3) { | 3716 if (buildCounterInstanceList < 3) { |
3643 o.id = "foo"; | 3717 o.id = "foo"; |
3644 o.items = buildUnnamed2077(); | 3718 o.items = buildUnnamed2091(); |
3645 o.kind = "foo"; | 3719 o.kind = "foo"; |
3646 o.nextPageToken = "foo"; | 3720 o.nextPageToken = "foo"; |
3647 o.selfLink = "foo"; | 3721 o.selfLink = "foo"; |
3648 } | 3722 } |
3649 buildCounterInstanceList--; | 3723 buildCounterInstanceList--; |
3650 return o; | 3724 return o; |
3651 } | 3725 } |
3652 | 3726 |
3653 checkInstanceList(api.InstanceList o) { | 3727 checkInstanceList(api.InstanceList o) { |
3654 buildCounterInstanceList++; | 3728 buildCounterInstanceList++; |
3655 if (buildCounterInstanceList < 3) { | 3729 if (buildCounterInstanceList < 3) { |
3656 unittest.expect(o.id, unittest.equals('foo')); | 3730 unittest.expect(o.id, unittest.equals('foo')); |
3657 checkUnnamed2077(o.items); | 3731 checkUnnamed2091(o.items); |
3658 unittest.expect(o.kind, unittest.equals('foo')); | 3732 unittest.expect(o.kind, unittest.equals('foo')); |
3659 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3733 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3660 unittest.expect(o.selfLink, unittest.equals('foo')); | 3734 unittest.expect(o.selfLink, unittest.equals('foo')); |
3661 } | 3735 } |
3662 buildCounterInstanceList--; | 3736 buildCounterInstanceList--; |
3663 } | 3737 } |
3664 | 3738 |
3665 core.int buildCounterInstanceMoveRequest = 0; | 3739 core.int buildCounterInstanceMoveRequest = 0; |
3666 buildInstanceMoveRequest() { | 3740 buildInstanceMoveRequest() { |
3667 var o = new api.InstanceMoveRequest(); | 3741 var o = new api.InstanceMoveRequest(); |
3668 buildCounterInstanceMoveRequest++; | 3742 buildCounterInstanceMoveRequest++; |
3669 if (buildCounterInstanceMoveRequest < 3) { | 3743 if (buildCounterInstanceMoveRequest < 3) { |
3670 o.destinationZone = "foo"; | 3744 o.destinationZone = "foo"; |
3671 o.targetInstance = "foo"; | 3745 o.targetInstance = "foo"; |
3672 } | 3746 } |
3673 buildCounterInstanceMoveRequest--; | 3747 buildCounterInstanceMoveRequest--; |
3674 return o; | 3748 return o; |
3675 } | 3749 } |
3676 | 3750 |
3677 checkInstanceMoveRequest(api.InstanceMoveRequest o) { | 3751 checkInstanceMoveRequest(api.InstanceMoveRequest o) { |
3678 buildCounterInstanceMoveRequest++; | 3752 buildCounterInstanceMoveRequest++; |
3679 if (buildCounterInstanceMoveRequest < 3) { | 3753 if (buildCounterInstanceMoveRequest < 3) { |
3680 unittest.expect(o.destinationZone, unittest.equals('foo')); | 3754 unittest.expect(o.destinationZone, unittest.equals('foo')); |
3681 unittest.expect(o.targetInstance, unittest.equals('foo')); | 3755 unittest.expect(o.targetInstance, unittest.equals('foo')); |
3682 } | 3756 } |
3683 buildCounterInstanceMoveRequest--; | 3757 buildCounterInstanceMoveRequest--; |
3684 } | 3758 } |
3685 | 3759 |
3686 buildUnnamed2078() { | 3760 buildUnnamed2092() { |
3687 var o = new core.List<api.AttachedDisk>(); | 3761 var o = new core.List<api.AttachedDisk>(); |
3688 o.add(buildAttachedDisk()); | 3762 o.add(buildAttachedDisk()); |
3689 o.add(buildAttachedDisk()); | 3763 o.add(buildAttachedDisk()); |
3690 return o; | 3764 return o; |
3691 } | 3765 } |
3692 | 3766 |
3693 checkUnnamed2078(core.List<api.AttachedDisk> o) { | 3767 checkUnnamed2092(core.List<api.AttachedDisk> o) { |
3694 unittest.expect(o, unittest.hasLength(2)); | 3768 unittest.expect(o, unittest.hasLength(2)); |
3695 checkAttachedDisk(o[0]); | 3769 checkAttachedDisk(o[0]); |
3696 checkAttachedDisk(o[1]); | 3770 checkAttachedDisk(o[1]); |
3697 } | 3771 } |
3698 | 3772 |
3699 buildUnnamed2079() { | 3773 buildUnnamed2093() { |
3700 var o = new core.List<api.NetworkInterface>(); | 3774 var o = new core.List<api.NetworkInterface>(); |
3701 o.add(buildNetworkInterface()); | 3775 o.add(buildNetworkInterface()); |
3702 o.add(buildNetworkInterface()); | 3776 o.add(buildNetworkInterface()); |
3703 return o; | 3777 return o; |
3704 } | 3778 } |
3705 | 3779 |
3706 checkUnnamed2079(core.List<api.NetworkInterface> o) { | 3780 checkUnnamed2093(core.List<api.NetworkInterface> o) { |
3707 unittest.expect(o, unittest.hasLength(2)); | 3781 unittest.expect(o, unittest.hasLength(2)); |
3708 checkNetworkInterface(o[0]); | 3782 checkNetworkInterface(o[0]); |
3709 checkNetworkInterface(o[1]); | 3783 checkNetworkInterface(o[1]); |
3710 } | 3784 } |
3711 | 3785 |
3712 buildUnnamed2080() { | 3786 buildUnnamed2094() { |
3713 var o = new core.List<api.ServiceAccount>(); | 3787 var o = new core.List<api.ServiceAccount>(); |
3714 o.add(buildServiceAccount()); | 3788 o.add(buildServiceAccount()); |
3715 o.add(buildServiceAccount()); | 3789 o.add(buildServiceAccount()); |
3716 return o; | 3790 return o; |
3717 } | 3791 } |
3718 | 3792 |
3719 checkUnnamed2080(core.List<api.ServiceAccount> o) { | 3793 checkUnnamed2094(core.List<api.ServiceAccount> o) { |
3720 unittest.expect(o, unittest.hasLength(2)); | 3794 unittest.expect(o, unittest.hasLength(2)); |
3721 checkServiceAccount(o[0]); | 3795 checkServiceAccount(o[0]); |
3722 checkServiceAccount(o[1]); | 3796 checkServiceAccount(o[1]); |
3723 } | 3797 } |
3724 | 3798 |
3725 core.int buildCounterInstanceProperties = 0; | 3799 core.int buildCounterInstanceProperties = 0; |
3726 buildInstanceProperties() { | 3800 buildInstanceProperties() { |
3727 var o = new api.InstanceProperties(); | 3801 var o = new api.InstanceProperties(); |
3728 buildCounterInstanceProperties++; | 3802 buildCounterInstanceProperties++; |
3729 if (buildCounterInstanceProperties < 3) { | 3803 if (buildCounterInstanceProperties < 3) { |
3730 o.canIpForward = true; | 3804 o.canIpForward = true; |
3731 o.description = "foo"; | 3805 o.description = "foo"; |
3732 o.disks = buildUnnamed2078(); | 3806 o.disks = buildUnnamed2092(); |
3733 o.machineType = "foo"; | 3807 o.machineType = "foo"; |
3734 o.metadata = buildMetadata(); | 3808 o.metadata = buildMetadata(); |
3735 o.networkInterfaces = buildUnnamed2079(); | 3809 o.networkInterfaces = buildUnnamed2093(); |
3736 o.scheduling = buildScheduling(); | 3810 o.scheduling = buildScheduling(); |
3737 o.serviceAccounts = buildUnnamed2080(); | 3811 o.serviceAccounts = buildUnnamed2094(); |
3738 o.tags = buildTags(); | 3812 o.tags = buildTags(); |
3739 } | 3813 } |
3740 buildCounterInstanceProperties--; | 3814 buildCounterInstanceProperties--; |
3741 return o; | 3815 return o; |
3742 } | 3816 } |
3743 | 3817 |
3744 checkInstanceProperties(api.InstanceProperties o) { | 3818 checkInstanceProperties(api.InstanceProperties o) { |
3745 buildCounterInstanceProperties++; | 3819 buildCounterInstanceProperties++; |
3746 if (buildCounterInstanceProperties < 3) { | 3820 if (buildCounterInstanceProperties < 3) { |
3747 unittest.expect(o.canIpForward, unittest.isTrue); | 3821 unittest.expect(o.canIpForward, unittest.isTrue); |
3748 unittest.expect(o.description, unittest.equals('foo')); | 3822 unittest.expect(o.description, unittest.equals('foo')); |
3749 checkUnnamed2078(o.disks); | 3823 checkUnnamed2092(o.disks); |
3750 unittest.expect(o.machineType, unittest.equals('foo')); | 3824 unittest.expect(o.machineType, unittest.equals('foo')); |
3751 checkMetadata(o.metadata); | 3825 checkMetadata(o.metadata); |
3752 checkUnnamed2079(o.networkInterfaces); | 3826 checkUnnamed2093(o.networkInterfaces); |
3753 checkScheduling(o.scheduling); | 3827 checkScheduling(o.scheduling); |
3754 checkUnnamed2080(o.serviceAccounts); | 3828 checkUnnamed2094(o.serviceAccounts); |
3755 checkTags(o.tags); | 3829 checkTags(o.tags); |
3756 } | 3830 } |
3757 buildCounterInstanceProperties--; | 3831 buildCounterInstanceProperties--; |
3758 } | 3832 } |
3759 | 3833 |
3760 core.int buildCounterInstanceReference = 0; | 3834 core.int buildCounterInstanceReference = 0; |
3761 buildInstanceReference() { | 3835 buildInstanceReference() { |
3762 var o = new api.InstanceReference(); | 3836 var o = new api.InstanceReference(); |
3763 buildCounterInstanceReference++; | 3837 buildCounterInstanceReference++; |
3764 if (buildCounterInstanceReference < 3) { | 3838 if (buildCounterInstanceReference < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3800 unittest.expect(o.description, unittest.equals('foo')); | 3874 unittest.expect(o.description, unittest.equals('foo')); |
3801 unittest.expect(o.id, unittest.equals('foo')); | 3875 unittest.expect(o.id, unittest.equals('foo')); |
3802 unittest.expect(o.kind, unittest.equals('foo')); | 3876 unittest.expect(o.kind, unittest.equals('foo')); |
3803 unittest.expect(o.name, unittest.equals('foo')); | 3877 unittest.expect(o.name, unittest.equals('foo')); |
3804 checkInstanceProperties(o.properties); | 3878 checkInstanceProperties(o.properties); |
3805 unittest.expect(o.selfLink, unittest.equals('foo')); | 3879 unittest.expect(o.selfLink, unittest.equals('foo')); |
3806 } | 3880 } |
3807 buildCounterInstanceTemplate--; | 3881 buildCounterInstanceTemplate--; |
3808 } | 3882 } |
3809 | 3883 |
3810 buildUnnamed2081() { | 3884 buildUnnamed2095() { |
3811 var o = new core.List<api.InstanceTemplate>(); | 3885 var o = new core.List<api.InstanceTemplate>(); |
3812 o.add(buildInstanceTemplate()); | 3886 o.add(buildInstanceTemplate()); |
3813 o.add(buildInstanceTemplate()); | 3887 o.add(buildInstanceTemplate()); |
3814 return o; | 3888 return o; |
3815 } | 3889 } |
3816 | 3890 |
3817 checkUnnamed2081(core.List<api.InstanceTemplate> o) { | 3891 checkUnnamed2095(core.List<api.InstanceTemplate> o) { |
3818 unittest.expect(o, unittest.hasLength(2)); | 3892 unittest.expect(o, unittest.hasLength(2)); |
3819 checkInstanceTemplate(o[0]); | 3893 checkInstanceTemplate(o[0]); |
3820 checkInstanceTemplate(o[1]); | 3894 checkInstanceTemplate(o[1]); |
3821 } | 3895 } |
3822 | 3896 |
3823 core.int buildCounterInstanceTemplateList = 0; | 3897 core.int buildCounterInstanceTemplateList = 0; |
3824 buildInstanceTemplateList() { | 3898 buildInstanceTemplateList() { |
3825 var o = new api.InstanceTemplateList(); | 3899 var o = new api.InstanceTemplateList(); |
3826 buildCounterInstanceTemplateList++; | 3900 buildCounterInstanceTemplateList++; |
3827 if (buildCounterInstanceTemplateList < 3) { | 3901 if (buildCounterInstanceTemplateList < 3) { |
3828 o.id = "foo"; | 3902 o.id = "foo"; |
3829 o.items = buildUnnamed2081(); | 3903 o.items = buildUnnamed2095(); |
3830 o.kind = "foo"; | 3904 o.kind = "foo"; |
3831 o.nextPageToken = "foo"; | 3905 o.nextPageToken = "foo"; |
3832 o.selfLink = "foo"; | 3906 o.selfLink = "foo"; |
3833 } | 3907 } |
3834 buildCounterInstanceTemplateList--; | 3908 buildCounterInstanceTemplateList--; |
3835 return o; | 3909 return o; |
3836 } | 3910 } |
3837 | 3911 |
3838 checkInstanceTemplateList(api.InstanceTemplateList o) { | 3912 checkInstanceTemplateList(api.InstanceTemplateList o) { |
3839 buildCounterInstanceTemplateList++; | 3913 buildCounterInstanceTemplateList++; |
3840 if (buildCounterInstanceTemplateList < 3) { | 3914 if (buildCounterInstanceTemplateList < 3) { |
3841 unittest.expect(o.id, unittest.equals('foo')); | 3915 unittest.expect(o.id, unittest.equals('foo')); |
3842 checkUnnamed2081(o.items); | 3916 checkUnnamed2095(o.items); |
3843 unittest.expect(o.kind, unittest.equals('foo')); | 3917 unittest.expect(o.kind, unittest.equals('foo')); |
3844 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3918 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3845 unittest.expect(o.selfLink, unittest.equals('foo')); | 3919 unittest.expect(o.selfLink, unittest.equals('foo')); |
3846 } | 3920 } |
3847 buildCounterInstanceTemplateList--; | 3921 buildCounterInstanceTemplateList--; |
3848 } | 3922 } |
3849 | 3923 |
3850 buildUnnamed2082() { | 3924 buildUnnamed2096() { |
3851 var o = new core.List<api.NamedPort>(); | 3925 var o = new core.List<api.NamedPort>(); |
3852 o.add(buildNamedPort()); | 3926 o.add(buildNamedPort()); |
3853 o.add(buildNamedPort()); | 3927 o.add(buildNamedPort()); |
3854 return o; | 3928 return o; |
3855 } | 3929 } |
3856 | 3930 |
3857 checkUnnamed2082(core.List<api.NamedPort> o) { | 3931 checkUnnamed2096(core.List<api.NamedPort> o) { |
3858 unittest.expect(o, unittest.hasLength(2)); | 3932 unittest.expect(o, unittest.hasLength(2)); |
3859 checkNamedPort(o[0]); | 3933 checkNamedPort(o[0]); |
3860 checkNamedPort(o[1]); | 3934 checkNamedPort(o[1]); |
3861 } | 3935 } |
3862 | 3936 |
3863 core.int buildCounterInstanceWithNamedPorts = 0; | 3937 core.int buildCounterInstanceWithNamedPorts = 0; |
3864 buildInstanceWithNamedPorts() { | 3938 buildInstanceWithNamedPorts() { |
3865 var o = new api.InstanceWithNamedPorts(); | 3939 var o = new api.InstanceWithNamedPorts(); |
3866 buildCounterInstanceWithNamedPorts++; | 3940 buildCounterInstanceWithNamedPorts++; |
3867 if (buildCounterInstanceWithNamedPorts < 3) { | 3941 if (buildCounterInstanceWithNamedPorts < 3) { |
3868 o.instance = "foo"; | 3942 o.instance = "foo"; |
3869 o.namedPorts = buildUnnamed2082(); | 3943 o.namedPorts = buildUnnamed2096(); |
3870 o.status = "foo"; | 3944 o.status = "foo"; |
3871 } | 3945 } |
3872 buildCounterInstanceWithNamedPorts--; | 3946 buildCounterInstanceWithNamedPorts--; |
3873 return o; | 3947 return o; |
3874 } | 3948 } |
3875 | 3949 |
3876 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { | 3950 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { |
3877 buildCounterInstanceWithNamedPorts++; | 3951 buildCounterInstanceWithNamedPorts++; |
3878 if (buildCounterInstanceWithNamedPorts < 3) { | 3952 if (buildCounterInstanceWithNamedPorts < 3) { |
3879 unittest.expect(o.instance, unittest.equals('foo')); | 3953 unittest.expect(o.instance, unittest.equals('foo')); |
3880 checkUnnamed2082(o.namedPorts); | 3954 checkUnnamed2096(o.namedPorts); |
3881 unittest.expect(o.status, unittest.equals('foo')); | 3955 unittest.expect(o.status, unittest.equals('foo')); |
3882 } | 3956 } |
3883 buildCounterInstanceWithNamedPorts--; | 3957 buildCounterInstanceWithNamedPorts--; |
3884 } | 3958 } |
3885 | 3959 |
3886 buildUnnamed2083() { | 3960 buildUnnamed2097() { |
3887 var o = new core.List<api.Instance>(); | 3961 var o = new core.List<api.Instance>(); |
3888 o.add(buildInstance()); | 3962 o.add(buildInstance()); |
3889 o.add(buildInstance()); | 3963 o.add(buildInstance()); |
3890 return o; | 3964 return o; |
3891 } | 3965 } |
3892 | 3966 |
3893 checkUnnamed2083(core.List<api.Instance> o) { | 3967 checkUnnamed2097(core.List<api.Instance> o) { |
3894 unittest.expect(o, unittest.hasLength(2)); | 3968 unittest.expect(o, unittest.hasLength(2)); |
3895 checkInstance(o[0]); | 3969 checkInstance(o[0]); |
3896 checkInstance(o[1]); | 3970 checkInstance(o[1]); |
3897 } | 3971 } |
3898 | 3972 |
3899 core.int buildCounterInstancesScopedListWarningData = 0; | 3973 core.int buildCounterInstancesScopedListWarningData = 0; |
3900 buildInstancesScopedListWarningData() { | 3974 buildInstancesScopedListWarningData() { |
3901 var o = new api.InstancesScopedListWarningData(); | 3975 var o = new api.InstancesScopedListWarningData(); |
3902 buildCounterInstancesScopedListWarningData++; | 3976 buildCounterInstancesScopedListWarningData++; |
3903 if (buildCounterInstancesScopedListWarningData < 3) { | 3977 if (buildCounterInstancesScopedListWarningData < 3) { |
3904 o.key = "foo"; | 3978 o.key = "foo"; |
3905 o.value = "foo"; | 3979 o.value = "foo"; |
3906 } | 3980 } |
3907 buildCounterInstancesScopedListWarningData--; | 3981 buildCounterInstancesScopedListWarningData--; |
3908 return o; | 3982 return o; |
3909 } | 3983 } |
3910 | 3984 |
3911 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { | 3985 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { |
3912 buildCounterInstancesScopedListWarningData++; | 3986 buildCounterInstancesScopedListWarningData++; |
3913 if (buildCounterInstancesScopedListWarningData < 3) { | 3987 if (buildCounterInstancesScopedListWarningData < 3) { |
3914 unittest.expect(o.key, unittest.equals('foo')); | 3988 unittest.expect(o.key, unittest.equals('foo')); |
3915 unittest.expect(o.value, unittest.equals('foo')); | 3989 unittest.expect(o.value, unittest.equals('foo')); |
3916 } | 3990 } |
3917 buildCounterInstancesScopedListWarningData--; | 3991 buildCounterInstancesScopedListWarningData--; |
3918 } | 3992 } |
3919 | 3993 |
3920 buildUnnamed2084() { | 3994 buildUnnamed2098() { |
3921 var o = new core.List<api.InstancesScopedListWarningData>(); | 3995 var o = new core.List<api.InstancesScopedListWarningData>(); |
3922 o.add(buildInstancesScopedListWarningData()); | 3996 o.add(buildInstancesScopedListWarningData()); |
3923 o.add(buildInstancesScopedListWarningData()); | 3997 o.add(buildInstancesScopedListWarningData()); |
3924 return o; | 3998 return o; |
3925 } | 3999 } |
3926 | 4000 |
3927 checkUnnamed2084(core.List<api.InstancesScopedListWarningData> o) { | 4001 checkUnnamed2098(core.List<api.InstancesScopedListWarningData> o) { |
3928 unittest.expect(o, unittest.hasLength(2)); | 4002 unittest.expect(o, unittest.hasLength(2)); |
3929 checkInstancesScopedListWarningData(o[0]); | 4003 checkInstancesScopedListWarningData(o[0]); |
3930 checkInstancesScopedListWarningData(o[1]); | 4004 checkInstancesScopedListWarningData(o[1]); |
3931 } | 4005 } |
3932 | 4006 |
3933 core.int buildCounterInstancesScopedListWarning = 0; | 4007 core.int buildCounterInstancesScopedListWarning = 0; |
3934 buildInstancesScopedListWarning() { | 4008 buildInstancesScopedListWarning() { |
3935 var o = new api.InstancesScopedListWarning(); | 4009 var o = new api.InstancesScopedListWarning(); |
3936 buildCounterInstancesScopedListWarning++; | 4010 buildCounterInstancesScopedListWarning++; |
3937 if (buildCounterInstancesScopedListWarning < 3) { | 4011 if (buildCounterInstancesScopedListWarning < 3) { |
3938 o.code = "foo"; | 4012 o.code = "foo"; |
3939 o.data = buildUnnamed2084(); | 4013 o.data = buildUnnamed2098(); |
3940 o.message = "foo"; | 4014 o.message = "foo"; |
3941 } | 4015 } |
3942 buildCounterInstancesScopedListWarning--; | 4016 buildCounterInstancesScopedListWarning--; |
3943 return o; | 4017 return o; |
3944 } | 4018 } |
3945 | 4019 |
3946 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { | 4020 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { |
3947 buildCounterInstancesScopedListWarning++; | 4021 buildCounterInstancesScopedListWarning++; |
3948 if (buildCounterInstancesScopedListWarning < 3) { | 4022 if (buildCounterInstancesScopedListWarning < 3) { |
3949 unittest.expect(o.code, unittest.equals('foo')); | 4023 unittest.expect(o.code, unittest.equals('foo')); |
3950 checkUnnamed2084(o.data); | 4024 checkUnnamed2098(o.data); |
3951 unittest.expect(o.message, unittest.equals('foo')); | 4025 unittest.expect(o.message, unittest.equals('foo')); |
3952 } | 4026 } |
3953 buildCounterInstancesScopedListWarning--; | 4027 buildCounterInstancesScopedListWarning--; |
3954 } | 4028 } |
3955 | 4029 |
3956 core.int buildCounterInstancesScopedList = 0; | 4030 core.int buildCounterInstancesScopedList = 0; |
3957 buildInstancesScopedList() { | 4031 buildInstancesScopedList() { |
3958 var o = new api.InstancesScopedList(); | 4032 var o = new api.InstancesScopedList(); |
3959 buildCounterInstancesScopedList++; | 4033 buildCounterInstancesScopedList++; |
3960 if (buildCounterInstancesScopedList < 3) { | 4034 if (buildCounterInstancesScopedList < 3) { |
3961 o.instances = buildUnnamed2083(); | 4035 o.instances = buildUnnamed2097(); |
3962 o.warning = buildInstancesScopedListWarning(); | 4036 o.warning = buildInstancesScopedListWarning(); |
3963 } | 4037 } |
3964 buildCounterInstancesScopedList--; | 4038 buildCounterInstancesScopedList--; |
3965 return o; | 4039 return o; |
3966 } | 4040 } |
3967 | 4041 |
3968 checkInstancesScopedList(api.InstancesScopedList o) { | 4042 checkInstancesScopedList(api.InstancesScopedList o) { |
3969 buildCounterInstancesScopedList++; | 4043 buildCounterInstancesScopedList++; |
3970 if (buildCounterInstancesScopedList < 3) { | 4044 if (buildCounterInstancesScopedList < 3) { |
3971 checkUnnamed2083(o.instances); | 4045 checkUnnamed2097(o.instances); |
3972 checkInstancesScopedListWarning(o.warning); | 4046 checkInstancesScopedListWarning(o.warning); |
3973 } | 4047 } |
3974 buildCounterInstancesScopedList--; | 4048 buildCounterInstancesScopedList--; |
3975 } | 4049 } |
3976 | 4050 |
3977 core.int buildCounterInstancesSetMachineTypeRequest = 0; | 4051 core.int buildCounterInstancesSetMachineTypeRequest = 0; |
3978 buildInstancesSetMachineTypeRequest() { | 4052 buildInstancesSetMachineTypeRequest() { |
3979 var o = new api.InstancesSetMachineTypeRequest(); | 4053 var o = new api.InstancesSetMachineTypeRequest(); |
3980 buildCounterInstancesSetMachineTypeRequest++; | 4054 buildCounterInstancesSetMachineTypeRequest++; |
3981 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 4055 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
3982 o.machineType = "foo"; | 4056 o.machineType = "foo"; |
3983 } | 4057 } |
3984 buildCounterInstancesSetMachineTypeRequest--; | 4058 buildCounterInstancesSetMachineTypeRequest--; |
3985 return o; | 4059 return o; |
3986 } | 4060 } |
3987 | 4061 |
3988 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { | 4062 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { |
3989 buildCounterInstancesSetMachineTypeRequest++; | 4063 buildCounterInstancesSetMachineTypeRequest++; |
3990 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 4064 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
3991 unittest.expect(o.machineType, unittest.equals('foo')); | 4065 unittest.expect(o.machineType, unittest.equals('foo')); |
3992 } | 4066 } |
3993 buildCounterInstancesSetMachineTypeRequest--; | 4067 buildCounterInstancesSetMachineTypeRequest--; |
3994 } | 4068 } |
3995 | 4069 |
3996 buildUnnamed2085() { | 4070 buildUnnamed2099() { |
3997 var o = new core.List<core.String>(); | 4071 var o = new core.List<core.String>(); |
3998 o.add("foo"); | 4072 o.add("foo"); |
3999 o.add("foo"); | 4073 o.add("foo"); |
4000 return o; | 4074 return o; |
4001 } | 4075 } |
4002 | 4076 |
4003 checkUnnamed2085(core.List<core.String> o) { | 4077 checkUnnamed2099(core.List<core.String> o) { |
4004 unittest.expect(o, unittest.hasLength(2)); | 4078 unittest.expect(o, unittest.hasLength(2)); |
4005 unittest.expect(o[0], unittest.equals('foo')); | 4079 unittest.expect(o[0], unittest.equals('foo')); |
4006 unittest.expect(o[1], unittest.equals('foo')); | 4080 unittest.expect(o[1], unittest.equals('foo')); |
4007 } | 4081 } |
4008 | 4082 |
4009 core.int buildCounterInstancesSetServiceAccountRequest = 0; | 4083 core.int buildCounterInstancesSetServiceAccountRequest = 0; |
4010 buildInstancesSetServiceAccountRequest() { | 4084 buildInstancesSetServiceAccountRequest() { |
4011 var o = new api.InstancesSetServiceAccountRequest(); | 4085 var o = new api.InstancesSetServiceAccountRequest(); |
4012 buildCounterInstancesSetServiceAccountRequest++; | 4086 buildCounterInstancesSetServiceAccountRequest++; |
4013 if (buildCounterInstancesSetServiceAccountRequest < 3) { | 4087 if (buildCounterInstancesSetServiceAccountRequest < 3) { |
4014 o.email = "foo"; | 4088 o.email = "foo"; |
4015 o.scopes = buildUnnamed2085(); | 4089 o.scopes = buildUnnamed2099(); |
4016 } | 4090 } |
4017 buildCounterInstancesSetServiceAccountRequest--; | 4091 buildCounterInstancesSetServiceAccountRequest--; |
4018 return o; | 4092 return o; |
4019 } | 4093 } |
4020 | 4094 |
4021 checkInstancesSetServiceAccountRequest(api.InstancesSetServiceAccountRequest o)
{ | 4095 checkInstancesSetServiceAccountRequest(api.InstancesSetServiceAccountRequest o)
{ |
4022 buildCounterInstancesSetServiceAccountRequest++; | 4096 buildCounterInstancesSetServiceAccountRequest++; |
4023 if (buildCounterInstancesSetServiceAccountRequest < 3) { | 4097 if (buildCounterInstancesSetServiceAccountRequest < 3) { |
4024 unittest.expect(o.email, unittest.equals('foo')); | 4098 unittest.expect(o.email, unittest.equals('foo')); |
4025 checkUnnamed2085(o.scopes); | 4099 checkUnnamed2099(o.scopes); |
4026 } | 4100 } |
4027 buildCounterInstancesSetServiceAccountRequest--; | 4101 buildCounterInstancesSetServiceAccountRequest--; |
4028 } | 4102 } |
4029 | 4103 |
4030 buildUnnamed2086() { | 4104 buildUnnamed2100() { |
4031 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); | 4105 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); |
4032 o.add(buildCustomerEncryptionKeyProtectedDisk()); | 4106 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
4033 o.add(buildCustomerEncryptionKeyProtectedDisk()); | 4107 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
4034 return o; | 4108 return o; |
4035 } | 4109 } |
4036 | 4110 |
4037 checkUnnamed2086(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { | 4111 checkUnnamed2100(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { |
4038 unittest.expect(o, unittest.hasLength(2)); | 4112 unittest.expect(o, unittest.hasLength(2)); |
4039 checkCustomerEncryptionKeyProtectedDisk(o[0]); | 4113 checkCustomerEncryptionKeyProtectedDisk(o[0]); |
4040 checkCustomerEncryptionKeyProtectedDisk(o[1]); | 4114 checkCustomerEncryptionKeyProtectedDisk(o[1]); |
4041 } | 4115 } |
4042 | 4116 |
4043 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; | 4117 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; |
4044 buildInstancesStartWithEncryptionKeyRequest() { | 4118 buildInstancesStartWithEncryptionKeyRequest() { |
4045 var o = new api.InstancesStartWithEncryptionKeyRequest(); | 4119 var o = new api.InstancesStartWithEncryptionKeyRequest(); |
4046 buildCounterInstancesStartWithEncryptionKeyRequest++; | 4120 buildCounterInstancesStartWithEncryptionKeyRequest++; |
4047 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { | 4121 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
4048 o.disks = buildUnnamed2086(); | 4122 o.disks = buildUnnamed2100(); |
4049 } | 4123 } |
4050 buildCounterInstancesStartWithEncryptionKeyRequest--; | 4124 buildCounterInstancesStartWithEncryptionKeyRequest--; |
4051 return o; | 4125 return o; |
4052 } | 4126 } |
4053 | 4127 |
4054 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { | 4128 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { |
4055 buildCounterInstancesStartWithEncryptionKeyRequest++; | 4129 buildCounterInstancesStartWithEncryptionKeyRequest++; |
4056 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { | 4130 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
4057 checkUnnamed2086(o.disks); | 4131 checkUnnamed2100(o.disks); |
4058 } | 4132 } |
4059 buildCounterInstancesStartWithEncryptionKeyRequest--; | 4133 buildCounterInstancesStartWithEncryptionKeyRequest--; |
4060 } | 4134 } |
4061 | 4135 |
4062 core.int buildCounterLicense = 0; | 4136 core.int buildCounterLicense = 0; |
4063 buildLicense() { | 4137 buildLicense() { |
4064 var o = new api.License(); | 4138 var o = new api.License(); |
4065 buildCounterLicense++; | 4139 buildCounterLicense++; |
4066 if (buildCounterLicense < 3) { | 4140 if (buildCounterLicense < 3) { |
4067 o.chargesUseFee = true; | 4141 o.chargesUseFee = true; |
(...skipping 28 matching lines...) Expand all Loading... |
4096 } | 4170 } |
4097 | 4171 |
4098 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { | 4172 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { |
4099 buildCounterMachineTypeScratchDisks++; | 4173 buildCounterMachineTypeScratchDisks++; |
4100 if (buildCounterMachineTypeScratchDisks < 3) { | 4174 if (buildCounterMachineTypeScratchDisks < 3) { |
4101 unittest.expect(o.diskGb, unittest.equals(42)); | 4175 unittest.expect(o.diskGb, unittest.equals(42)); |
4102 } | 4176 } |
4103 buildCounterMachineTypeScratchDisks--; | 4177 buildCounterMachineTypeScratchDisks--; |
4104 } | 4178 } |
4105 | 4179 |
4106 buildUnnamed2087() { | 4180 buildUnnamed2101() { |
4107 var o = new core.List<api.MachineTypeScratchDisks>(); | 4181 var o = new core.List<api.MachineTypeScratchDisks>(); |
4108 o.add(buildMachineTypeScratchDisks()); | 4182 o.add(buildMachineTypeScratchDisks()); |
4109 o.add(buildMachineTypeScratchDisks()); | 4183 o.add(buildMachineTypeScratchDisks()); |
4110 return o; | 4184 return o; |
4111 } | 4185 } |
4112 | 4186 |
4113 checkUnnamed2087(core.List<api.MachineTypeScratchDisks> o) { | 4187 checkUnnamed2101(core.List<api.MachineTypeScratchDisks> o) { |
4114 unittest.expect(o, unittest.hasLength(2)); | 4188 unittest.expect(o, unittest.hasLength(2)); |
4115 checkMachineTypeScratchDisks(o[0]); | 4189 checkMachineTypeScratchDisks(o[0]); |
4116 checkMachineTypeScratchDisks(o[1]); | 4190 checkMachineTypeScratchDisks(o[1]); |
4117 } | 4191 } |
4118 | 4192 |
4119 core.int buildCounterMachineType = 0; | 4193 core.int buildCounterMachineType = 0; |
4120 buildMachineType() { | 4194 buildMachineType() { |
4121 var o = new api.MachineType(); | 4195 var o = new api.MachineType(); |
4122 buildCounterMachineType++; | 4196 buildCounterMachineType++; |
4123 if (buildCounterMachineType < 3) { | 4197 if (buildCounterMachineType < 3) { |
4124 o.creationTimestamp = "foo"; | 4198 o.creationTimestamp = "foo"; |
4125 o.deprecated = buildDeprecationStatus(); | 4199 o.deprecated = buildDeprecationStatus(); |
4126 o.description = "foo"; | 4200 o.description = "foo"; |
4127 o.guestCpus = 42; | 4201 o.guestCpus = 42; |
4128 o.id = "foo"; | 4202 o.id = "foo"; |
4129 o.imageSpaceGb = 42; | 4203 o.imageSpaceGb = 42; |
4130 o.isSharedCpu = true; | 4204 o.isSharedCpu = true; |
4131 o.kind = "foo"; | 4205 o.kind = "foo"; |
4132 o.maximumPersistentDisks = 42; | 4206 o.maximumPersistentDisks = 42; |
4133 o.maximumPersistentDisksSizeGb = "foo"; | 4207 o.maximumPersistentDisksSizeGb = "foo"; |
4134 o.memoryMb = 42; | 4208 o.memoryMb = 42; |
4135 o.name = "foo"; | 4209 o.name = "foo"; |
4136 o.scratchDisks = buildUnnamed2087(); | 4210 o.scratchDisks = buildUnnamed2101(); |
4137 o.selfLink = "foo"; | 4211 o.selfLink = "foo"; |
4138 o.zone = "foo"; | 4212 o.zone = "foo"; |
4139 } | 4213 } |
4140 buildCounterMachineType--; | 4214 buildCounterMachineType--; |
4141 return o; | 4215 return o; |
4142 } | 4216 } |
4143 | 4217 |
4144 checkMachineType(api.MachineType o) { | 4218 checkMachineType(api.MachineType o) { |
4145 buildCounterMachineType++; | 4219 buildCounterMachineType++; |
4146 if (buildCounterMachineType < 3) { | 4220 if (buildCounterMachineType < 3) { |
4147 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4221 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4148 checkDeprecationStatus(o.deprecated); | 4222 checkDeprecationStatus(o.deprecated); |
4149 unittest.expect(o.description, unittest.equals('foo')); | 4223 unittest.expect(o.description, unittest.equals('foo')); |
4150 unittest.expect(o.guestCpus, unittest.equals(42)); | 4224 unittest.expect(o.guestCpus, unittest.equals(42)); |
4151 unittest.expect(o.id, unittest.equals('foo')); | 4225 unittest.expect(o.id, unittest.equals('foo')); |
4152 unittest.expect(o.imageSpaceGb, unittest.equals(42)); | 4226 unittest.expect(o.imageSpaceGb, unittest.equals(42)); |
4153 unittest.expect(o.isSharedCpu, unittest.isTrue); | 4227 unittest.expect(o.isSharedCpu, unittest.isTrue); |
4154 unittest.expect(o.kind, unittest.equals('foo')); | 4228 unittest.expect(o.kind, unittest.equals('foo')); |
4155 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); | 4229 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); |
4156 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); | 4230 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); |
4157 unittest.expect(o.memoryMb, unittest.equals(42)); | 4231 unittest.expect(o.memoryMb, unittest.equals(42)); |
4158 unittest.expect(o.name, unittest.equals('foo')); | 4232 unittest.expect(o.name, unittest.equals('foo')); |
4159 checkUnnamed2087(o.scratchDisks); | 4233 checkUnnamed2101(o.scratchDisks); |
4160 unittest.expect(o.selfLink, unittest.equals('foo')); | 4234 unittest.expect(o.selfLink, unittest.equals('foo')); |
4161 unittest.expect(o.zone, unittest.equals('foo')); | 4235 unittest.expect(o.zone, unittest.equals('foo')); |
4162 } | 4236 } |
4163 buildCounterMachineType--; | 4237 buildCounterMachineType--; |
4164 } | 4238 } |
4165 | 4239 |
4166 buildUnnamed2088() { | 4240 buildUnnamed2102() { |
4167 var o = new core.Map<core.String, api.MachineTypesScopedList>(); | 4241 var o = new core.Map<core.String, api.MachineTypesScopedList>(); |
4168 o["x"] = buildMachineTypesScopedList(); | 4242 o["x"] = buildMachineTypesScopedList(); |
4169 o["y"] = buildMachineTypesScopedList(); | 4243 o["y"] = buildMachineTypesScopedList(); |
4170 return o; | 4244 return o; |
4171 } | 4245 } |
4172 | 4246 |
4173 checkUnnamed2088(core.Map<core.String, api.MachineTypesScopedList> o) { | 4247 checkUnnamed2102(core.Map<core.String, api.MachineTypesScopedList> o) { |
4174 unittest.expect(o, unittest.hasLength(2)); | 4248 unittest.expect(o, unittest.hasLength(2)); |
4175 checkMachineTypesScopedList(o["x"]); | 4249 checkMachineTypesScopedList(o["x"]); |
4176 checkMachineTypesScopedList(o["y"]); | 4250 checkMachineTypesScopedList(o["y"]); |
4177 } | 4251 } |
4178 | 4252 |
4179 core.int buildCounterMachineTypeAggregatedList = 0; | 4253 core.int buildCounterMachineTypeAggregatedList = 0; |
4180 buildMachineTypeAggregatedList() { | 4254 buildMachineTypeAggregatedList() { |
4181 var o = new api.MachineTypeAggregatedList(); | 4255 var o = new api.MachineTypeAggregatedList(); |
4182 buildCounterMachineTypeAggregatedList++; | 4256 buildCounterMachineTypeAggregatedList++; |
4183 if (buildCounterMachineTypeAggregatedList < 3) { | 4257 if (buildCounterMachineTypeAggregatedList < 3) { |
4184 o.id = "foo"; | 4258 o.id = "foo"; |
4185 o.items = buildUnnamed2088(); | 4259 o.items = buildUnnamed2102(); |
4186 o.kind = "foo"; | 4260 o.kind = "foo"; |
4187 o.nextPageToken = "foo"; | 4261 o.nextPageToken = "foo"; |
4188 o.selfLink = "foo"; | 4262 o.selfLink = "foo"; |
4189 } | 4263 } |
4190 buildCounterMachineTypeAggregatedList--; | 4264 buildCounterMachineTypeAggregatedList--; |
4191 return o; | 4265 return o; |
4192 } | 4266 } |
4193 | 4267 |
4194 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { | 4268 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { |
4195 buildCounterMachineTypeAggregatedList++; | 4269 buildCounterMachineTypeAggregatedList++; |
4196 if (buildCounterMachineTypeAggregatedList < 3) { | 4270 if (buildCounterMachineTypeAggregatedList < 3) { |
4197 unittest.expect(o.id, unittest.equals('foo')); | 4271 unittest.expect(o.id, unittest.equals('foo')); |
4198 checkUnnamed2088(o.items); | 4272 checkUnnamed2102(o.items); |
4199 unittest.expect(o.kind, unittest.equals('foo')); | 4273 unittest.expect(o.kind, unittest.equals('foo')); |
4200 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4274 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4201 unittest.expect(o.selfLink, unittest.equals('foo')); | 4275 unittest.expect(o.selfLink, unittest.equals('foo')); |
4202 } | 4276 } |
4203 buildCounterMachineTypeAggregatedList--; | 4277 buildCounterMachineTypeAggregatedList--; |
4204 } | 4278 } |
4205 | 4279 |
4206 buildUnnamed2089() { | 4280 buildUnnamed2103() { |
4207 var o = new core.List<api.MachineType>(); | 4281 var o = new core.List<api.MachineType>(); |
4208 o.add(buildMachineType()); | 4282 o.add(buildMachineType()); |
4209 o.add(buildMachineType()); | 4283 o.add(buildMachineType()); |
4210 return o; | 4284 return o; |
4211 } | 4285 } |
4212 | 4286 |
4213 checkUnnamed2089(core.List<api.MachineType> o) { | 4287 checkUnnamed2103(core.List<api.MachineType> o) { |
4214 unittest.expect(o, unittest.hasLength(2)); | 4288 unittest.expect(o, unittest.hasLength(2)); |
4215 checkMachineType(o[0]); | 4289 checkMachineType(o[0]); |
4216 checkMachineType(o[1]); | 4290 checkMachineType(o[1]); |
4217 } | 4291 } |
4218 | 4292 |
4219 core.int buildCounterMachineTypeList = 0; | 4293 core.int buildCounterMachineTypeList = 0; |
4220 buildMachineTypeList() { | 4294 buildMachineTypeList() { |
4221 var o = new api.MachineTypeList(); | 4295 var o = new api.MachineTypeList(); |
4222 buildCounterMachineTypeList++; | 4296 buildCounterMachineTypeList++; |
4223 if (buildCounterMachineTypeList < 3) { | 4297 if (buildCounterMachineTypeList < 3) { |
4224 o.id = "foo"; | 4298 o.id = "foo"; |
4225 o.items = buildUnnamed2089(); | 4299 o.items = buildUnnamed2103(); |
4226 o.kind = "foo"; | 4300 o.kind = "foo"; |
4227 o.nextPageToken = "foo"; | 4301 o.nextPageToken = "foo"; |
4228 o.selfLink = "foo"; | 4302 o.selfLink = "foo"; |
4229 } | 4303 } |
4230 buildCounterMachineTypeList--; | 4304 buildCounterMachineTypeList--; |
4231 return o; | 4305 return o; |
4232 } | 4306 } |
4233 | 4307 |
4234 checkMachineTypeList(api.MachineTypeList o) { | 4308 checkMachineTypeList(api.MachineTypeList o) { |
4235 buildCounterMachineTypeList++; | 4309 buildCounterMachineTypeList++; |
4236 if (buildCounterMachineTypeList < 3) { | 4310 if (buildCounterMachineTypeList < 3) { |
4237 unittest.expect(o.id, unittest.equals('foo')); | 4311 unittest.expect(o.id, unittest.equals('foo')); |
4238 checkUnnamed2089(o.items); | 4312 checkUnnamed2103(o.items); |
4239 unittest.expect(o.kind, unittest.equals('foo')); | 4313 unittest.expect(o.kind, unittest.equals('foo')); |
4240 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4314 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4241 unittest.expect(o.selfLink, unittest.equals('foo')); | 4315 unittest.expect(o.selfLink, unittest.equals('foo')); |
4242 } | 4316 } |
4243 buildCounterMachineTypeList--; | 4317 buildCounterMachineTypeList--; |
4244 } | 4318 } |
4245 | 4319 |
4246 buildUnnamed2090() { | 4320 buildUnnamed2104() { |
4247 var o = new core.List<api.MachineType>(); | 4321 var o = new core.List<api.MachineType>(); |
4248 o.add(buildMachineType()); | 4322 o.add(buildMachineType()); |
4249 o.add(buildMachineType()); | 4323 o.add(buildMachineType()); |
4250 return o; | 4324 return o; |
4251 } | 4325 } |
4252 | 4326 |
4253 checkUnnamed2090(core.List<api.MachineType> o) { | 4327 checkUnnamed2104(core.List<api.MachineType> o) { |
4254 unittest.expect(o, unittest.hasLength(2)); | 4328 unittest.expect(o, unittest.hasLength(2)); |
4255 checkMachineType(o[0]); | 4329 checkMachineType(o[0]); |
4256 checkMachineType(o[1]); | 4330 checkMachineType(o[1]); |
4257 } | 4331 } |
4258 | 4332 |
4259 core.int buildCounterMachineTypesScopedListWarningData = 0; | 4333 core.int buildCounterMachineTypesScopedListWarningData = 0; |
4260 buildMachineTypesScopedListWarningData() { | 4334 buildMachineTypesScopedListWarningData() { |
4261 var o = new api.MachineTypesScopedListWarningData(); | 4335 var o = new api.MachineTypesScopedListWarningData(); |
4262 buildCounterMachineTypesScopedListWarningData++; | 4336 buildCounterMachineTypesScopedListWarningData++; |
4263 if (buildCounterMachineTypesScopedListWarningData < 3) { | 4337 if (buildCounterMachineTypesScopedListWarningData < 3) { |
4264 o.key = "foo"; | 4338 o.key = "foo"; |
4265 o.value = "foo"; | 4339 o.value = "foo"; |
4266 } | 4340 } |
4267 buildCounterMachineTypesScopedListWarningData--; | 4341 buildCounterMachineTypesScopedListWarningData--; |
4268 return o; | 4342 return o; |
4269 } | 4343 } |
4270 | 4344 |
4271 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ | 4345 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ |
4272 buildCounterMachineTypesScopedListWarningData++; | 4346 buildCounterMachineTypesScopedListWarningData++; |
4273 if (buildCounterMachineTypesScopedListWarningData < 3) { | 4347 if (buildCounterMachineTypesScopedListWarningData < 3) { |
4274 unittest.expect(o.key, unittest.equals('foo')); | 4348 unittest.expect(o.key, unittest.equals('foo')); |
4275 unittest.expect(o.value, unittest.equals('foo')); | 4349 unittest.expect(o.value, unittest.equals('foo')); |
4276 } | 4350 } |
4277 buildCounterMachineTypesScopedListWarningData--; | 4351 buildCounterMachineTypesScopedListWarningData--; |
4278 } | 4352 } |
4279 | 4353 |
4280 buildUnnamed2091() { | 4354 buildUnnamed2105() { |
4281 var o = new core.List<api.MachineTypesScopedListWarningData>(); | 4355 var o = new core.List<api.MachineTypesScopedListWarningData>(); |
4282 o.add(buildMachineTypesScopedListWarningData()); | 4356 o.add(buildMachineTypesScopedListWarningData()); |
4283 o.add(buildMachineTypesScopedListWarningData()); | 4357 o.add(buildMachineTypesScopedListWarningData()); |
4284 return o; | 4358 return o; |
4285 } | 4359 } |
4286 | 4360 |
4287 checkUnnamed2091(core.List<api.MachineTypesScopedListWarningData> o) { | 4361 checkUnnamed2105(core.List<api.MachineTypesScopedListWarningData> o) { |
4288 unittest.expect(o, unittest.hasLength(2)); | 4362 unittest.expect(o, unittest.hasLength(2)); |
4289 checkMachineTypesScopedListWarningData(o[0]); | 4363 checkMachineTypesScopedListWarningData(o[0]); |
4290 checkMachineTypesScopedListWarningData(o[1]); | 4364 checkMachineTypesScopedListWarningData(o[1]); |
4291 } | 4365 } |
4292 | 4366 |
4293 core.int buildCounterMachineTypesScopedListWarning = 0; | 4367 core.int buildCounterMachineTypesScopedListWarning = 0; |
4294 buildMachineTypesScopedListWarning() { | 4368 buildMachineTypesScopedListWarning() { |
4295 var o = new api.MachineTypesScopedListWarning(); | 4369 var o = new api.MachineTypesScopedListWarning(); |
4296 buildCounterMachineTypesScopedListWarning++; | 4370 buildCounterMachineTypesScopedListWarning++; |
4297 if (buildCounterMachineTypesScopedListWarning < 3) { | 4371 if (buildCounterMachineTypesScopedListWarning < 3) { |
4298 o.code = "foo"; | 4372 o.code = "foo"; |
4299 o.data = buildUnnamed2091(); | 4373 o.data = buildUnnamed2105(); |
4300 o.message = "foo"; | 4374 o.message = "foo"; |
4301 } | 4375 } |
4302 buildCounterMachineTypesScopedListWarning--; | 4376 buildCounterMachineTypesScopedListWarning--; |
4303 return o; | 4377 return o; |
4304 } | 4378 } |
4305 | 4379 |
4306 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { | 4380 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { |
4307 buildCounterMachineTypesScopedListWarning++; | 4381 buildCounterMachineTypesScopedListWarning++; |
4308 if (buildCounterMachineTypesScopedListWarning < 3) { | 4382 if (buildCounterMachineTypesScopedListWarning < 3) { |
4309 unittest.expect(o.code, unittest.equals('foo')); | 4383 unittest.expect(o.code, unittest.equals('foo')); |
4310 checkUnnamed2091(o.data); | 4384 checkUnnamed2105(o.data); |
4311 unittest.expect(o.message, unittest.equals('foo')); | 4385 unittest.expect(o.message, unittest.equals('foo')); |
4312 } | 4386 } |
4313 buildCounterMachineTypesScopedListWarning--; | 4387 buildCounterMachineTypesScopedListWarning--; |
4314 } | 4388 } |
4315 | 4389 |
4316 core.int buildCounterMachineTypesScopedList = 0; | 4390 core.int buildCounterMachineTypesScopedList = 0; |
4317 buildMachineTypesScopedList() { | 4391 buildMachineTypesScopedList() { |
4318 var o = new api.MachineTypesScopedList(); | 4392 var o = new api.MachineTypesScopedList(); |
4319 buildCounterMachineTypesScopedList++; | 4393 buildCounterMachineTypesScopedList++; |
4320 if (buildCounterMachineTypesScopedList < 3) { | 4394 if (buildCounterMachineTypesScopedList < 3) { |
4321 o.machineTypes = buildUnnamed2090(); | 4395 o.machineTypes = buildUnnamed2104(); |
4322 o.warning = buildMachineTypesScopedListWarning(); | 4396 o.warning = buildMachineTypesScopedListWarning(); |
4323 } | 4397 } |
4324 buildCounterMachineTypesScopedList--; | 4398 buildCounterMachineTypesScopedList--; |
4325 return o; | 4399 return o; |
4326 } | 4400 } |
4327 | 4401 |
4328 checkMachineTypesScopedList(api.MachineTypesScopedList o) { | 4402 checkMachineTypesScopedList(api.MachineTypesScopedList o) { |
4329 buildCounterMachineTypesScopedList++; | 4403 buildCounterMachineTypesScopedList++; |
4330 if (buildCounterMachineTypesScopedList < 3) { | 4404 if (buildCounterMachineTypesScopedList < 3) { |
4331 checkUnnamed2090(o.machineTypes); | 4405 checkUnnamed2104(o.machineTypes); |
4332 checkMachineTypesScopedListWarning(o.warning); | 4406 checkMachineTypesScopedListWarning(o.warning); |
4333 } | 4407 } |
4334 buildCounterMachineTypesScopedList--; | 4408 buildCounterMachineTypesScopedList--; |
4335 } | 4409 } |
4336 | 4410 |
4337 core.int buildCounterManagedInstance = 0; | 4411 core.int buildCounterManagedInstance = 0; |
4338 buildManagedInstance() { | 4412 buildManagedInstance() { |
4339 var o = new api.ManagedInstance(); | 4413 var o = new api.ManagedInstance(); |
4340 buildCounterManagedInstance++; | 4414 buildCounterManagedInstance++; |
4341 if (buildCounterManagedInstance < 3) { | 4415 if (buildCounterManagedInstance < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4377 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { | 4451 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { |
4378 buildCounterManagedInstanceLastAttemptErrorsErrors++; | 4452 buildCounterManagedInstanceLastAttemptErrorsErrors++; |
4379 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { | 4453 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { |
4380 unittest.expect(o.code, unittest.equals('foo')); | 4454 unittest.expect(o.code, unittest.equals('foo')); |
4381 unittest.expect(o.location, unittest.equals('foo')); | 4455 unittest.expect(o.location, unittest.equals('foo')); |
4382 unittest.expect(o.message, unittest.equals('foo')); | 4456 unittest.expect(o.message, unittest.equals('foo')); |
4383 } | 4457 } |
4384 buildCounterManagedInstanceLastAttemptErrorsErrors--; | 4458 buildCounterManagedInstanceLastAttemptErrorsErrors--; |
4385 } | 4459 } |
4386 | 4460 |
4387 buildUnnamed2092() { | 4461 buildUnnamed2106() { |
4388 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); | 4462 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); |
4389 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 4463 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
4390 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 4464 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
4391 return o; | 4465 return o; |
4392 } | 4466 } |
4393 | 4467 |
4394 checkUnnamed2092(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { | 4468 checkUnnamed2106(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { |
4395 unittest.expect(o, unittest.hasLength(2)); | 4469 unittest.expect(o, unittest.hasLength(2)); |
4396 checkManagedInstanceLastAttemptErrorsErrors(o[0]); | 4470 checkManagedInstanceLastAttemptErrorsErrors(o[0]); |
4397 checkManagedInstanceLastAttemptErrorsErrors(o[1]); | 4471 checkManagedInstanceLastAttemptErrorsErrors(o[1]); |
4398 } | 4472 } |
4399 | 4473 |
4400 core.int buildCounterManagedInstanceLastAttemptErrors = 0; | 4474 core.int buildCounterManagedInstanceLastAttemptErrors = 0; |
4401 buildManagedInstanceLastAttemptErrors() { | 4475 buildManagedInstanceLastAttemptErrors() { |
4402 var o = new api.ManagedInstanceLastAttemptErrors(); | 4476 var o = new api.ManagedInstanceLastAttemptErrors(); |
4403 buildCounterManagedInstanceLastAttemptErrors++; | 4477 buildCounterManagedInstanceLastAttemptErrors++; |
4404 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 4478 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
4405 o.errors = buildUnnamed2092(); | 4479 o.errors = buildUnnamed2106(); |
4406 } | 4480 } |
4407 buildCounterManagedInstanceLastAttemptErrors--; | 4481 buildCounterManagedInstanceLastAttemptErrors--; |
4408 return o; | 4482 return o; |
4409 } | 4483 } |
4410 | 4484 |
4411 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { | 4485 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { |
4412 buildCounterManagedInstanceLastAttemptErrors++; | 4486 buildCounterManagedInstanceLastAttemptErrors++; |
4413 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 4487 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
4414 checkUnnamed2092(o.errors); | 4488 checkUnnamed2106(o.errors); |
4415 } | 4489 } |
4416 buildCounterManagedInstanceLastAttemptErrors--; | 4490 buildCounterManagedInstanceLastAttemptErrors--; |
4417 } | 4491 } |
4418 | 4492 |
4419 core.int buildCounterManagedInstanceLastAttempt = 0; | 4493 core.int buildCounterManagedInstanceLastAttempt = 0; |
4420 buildManagedInstanceLastAttempt() { | 4494 buildManagedInstanceLastAttempt() { |
4421 var o = new api.ManagedInstanceLastAttempt(); | 4495 var o = new api.ManagedInstanceLastAttempt(); |
4422 buildCounterManagedInstanceLastAttempt++; | 4496 buildCounterManagedInstanceLastAttempt++; |
4423 if (buildCounterManagedInstanceLastAttempt < 3) { | 4497 if (buildCounterManagedInstanceLastAttempt < 3) { |
4424 o.errors = buildManagedInstanceLastAttemptErrors(); | 4498 o.errors = buildManagedInstanceLastAttemptErrors(); |
(...skipping 24 matching lines...) Expand all Loading... |
4449 | 4523 |
4450 checkMetadataItems(api.MetadataItems o) { | 4524 checkMetadataItems(api.MetadataItems o) { |
4451 buildCounterMetadataItems++; | 4525 buildCounterMetadataItems++; |
4452 if (buildCounterMetadataItems < 3) { | 4526 if (buildCounterMetadataItems < 3) { |
4453 unittest.expect(o.key, unittest.equals('foo')); | 4527 unittest.expect(o.key, unittest.equals('foo')); |
4454 unittest.expect(o.value, unittest.equals('foo')); | 4528 unittest.expect(o.value, unittest.equals('foo')); |
4455 } | 4529 } |
4456 buildCounterMetadataItems--; | 4530 buildCounterMetadataItems--; |
4457 } | 4531 } |
4458 | 4532 |
4459 buildUnnamed2093() { | 4533 buildUnnamed2107() { |
4460 var o = new core.List<api.MetadataItems>(); | 4534 var o = new core.List<api.MetadataItems>(); |
4461 o.add(buildMetadataItems()); | 4535 o.add(buildMetadataItems()); |
4462 o.add(buildMetadataItems()); | 4536 o.add(buildMetadataItems()); |
4463 return o; | 4537 return o; |
4464 } | 4538 } |
4465 | 4539 |
4466 checkUnnamed2093(core.List<api.MetadataItems> o) { | 4540 checkUnnamed2107(core.List<api.MetadataItems> o) { |
4467 unittest.expect(o, unittest.hasLength(2)); | 4541 unittest.expect(o, unittest.hasLength(2)); |
4468 checkMetadataItems(o[0]); | 4542 checkMetadataItems(o[0]); |
4469 checkMetadataItems(o[1]); | 4543 checkMetadataItems(o[1]); |
4470 } | 4544 } |
4471 | 4545 |
4472 core.int buildCounterMetadata = 0; | 4546 core.int buildCounterMetadata = 0; |
4473 buildMetadata() { | 4547 buildMetadata() { |
4474 var o = new api.Metadata(); | 4548 var o = new api.Metadata(); |
4475 buildCounterMetadata++; | 4549 buildCounterMetadata++; |
4476 if (buildCounterMetadata < 3) { | 4550 if (buildCounterMetadata < 3) { |
4477 o.fingerprint = "foo"; | 4551 o.fingerprint = "foo"; |
4478 o.items = buildUnnamed2093(); | 4552 o.items = buildUnnamed2107(); |
4479 o.kind = "foo"; | 4553 o.kind = "foo"; |
4480 } | 4554 } |
4481 buildCounterMetadata--; | 4555 buildCounterMetadata--; |
4482 return o; | 4556 return o; |
4483 } | 4557 } |
4484 | 4558 |
4485 checkMetadata(api.Metadata o) { | 4559 checkMetadata(api.Metadata o) { |
4486 buildCounterMetadata++; | 4560 buildCounterMetadata++; |
4487 if (buildCounterMetadata < 3) { | 4561 if (buildCounterMetadata < 3) { |
4488 unittest.expect(o.fingerprint, unittest.equals('foo')); | 4562 unittest.expect(o.fingerprint, unittest.equals('foo')); |
4489 checkUnnamed2093(o.items); | 4563 checkUnnamed2107(o.items); |
4490 unittest.expect(o.kind, unittest.equals('foo')); | 4564 unittest.expect(o.kind, unittest.equals('foo')); |
4491 } | 4565 } |
4492 buildCounterMetadata--; | 4566 buildCounterMetadata--; |
4493 } | 4567 } |
4494 | 4568 |
4495 core.int buildCounterNamedPort = 0; | 4569 core.int buildCounterNamedPort = 0; |
4496 buildNamedPort() { | 4570 buildNamedPort() { |
4497 var o = new api.NamedPort(); | 4571 var o = new api.NamedPort(); |
4498 buildCounterNamedPort++; | 4572 buildCounterNamedPort++; |
4499 if (buildCounterNamedPort < 3) { | 4573 if (buildCounterNamedPort < 3) { |
4500 o.name = "foo"; | 4574 o.name = "foo"; |
4501 o.port = 42; | 4575 o.port = 42; |
4502 } | 4576 } |
4503 buildCounterNamedPort--; | 4577 buildCounterNamedPort--; |
4504 return o; | 4578 return o; |
4505 } | 4579 } |
4506 | 4580 |
4507 checkNamedPort(api.NamedPort o) { | 4581 checkNamedPort(api.NamedPort o) { |
4508 buildCounterNamedPort++; | 4582 buildCounterNamedPort++; |
4509 if (buildCounterNamedPort < 3) { | 4583 if (buildCounterNamedPort < 3) { |
4510 unittest.expect(o.name, unittest.equals('foo')); | 4584 unittest.expect(o.name, unittest.equals('foo')); |
4511 unittest.expect(o.port, unittest.equals(42)); | 4585 unittest.expect(o.port, unittest.equals(42)); |
4512 } | 4586 } |
4513 buildCounterNamedPort--; | 4587 buildCounterNamedPort--; |
4514 } | 4588 } |
4515 | 4589 |
4516 buildUnnamed2094() { | 4590 buildUnnamed2108() { |
4517 var o = new core.List<core.String>(); | 4591 var o = new core.List<core.String>(); |
4518 o.add("foo"); | 4592 o.add("foo"); |
4519 o.add("foo"); | 4593 o.add("foo"); |
4520 return o; | 4594 return o; |
4521 } | 4595 } |
4522 | 4596 |
4523 checkUnnamed2094(core.List<core.String> o) { | 4597 checkUnnamed2108(core.List<core.String> o) { |
4524 unittest.expect(o, unittest.hasLength(2)); | 4598 unittest.expect(o, unittest.hasLength(2)); |
4525 unittest.expect(o[0], unittest.equals('foo')); | 4599 unittest.expect(o[0], unittest.equals('foo')); |
4526 unittest.expect(o[1], unittest.equals('foo')); | 4600 unittest.expect(o[1], unittest.equals('foo')); |
4527 } | 4601 } |
4528 | 4602 |
4529 core.int buildCounterNetwork = 0; | 4603 core.int buildCounterNetwork = 0; |
4530 buildNetwork() { | 4604 buildNetwork() { |
4531 var o = new api.Network(); | 4605 var o = new api.Network(); |
4532 buildCounterNetwork++; | 4606 buildCounterNetwork++; |
4533 if (buildCounterNetwork < 3) { | 4607 if (buildCounterNetwork < 3) { |
4534 o.IPv4Range = "foo"; | 4608 o.IPv4Range = "foo"; |
4535 o.autoCreateSubnetworks = true; | 4609 o.autoCreateSubnetworks = true; |
4536 o.creationTimestamp = "foo"; | 4610 o.creationTimestamp = "foo"; |
4537 o.description = "foo"; | 4611 o.description = "foo"; |
4538 o.gatewayIPv4 = "foo"; | 4612 o.gatewayIPv4 = "foo"; |
4539 o.id = "foo"; | 4613 o.id = "foo"; |
4540 o.kind = "foo"; | 4614 o.kind = "foo"; |
4541 o.name = "foo"; | 4615 o.name = "foo"; |
4542 o.selfLink = "foo"; | 4616 o.selfLink = "foo"; |
4543 o.subnetworks = buildUnnamed2094(); | 4617 o.subnetworks = buildUnnamed2108(); |
4544 } | 4618 } |
4545 buildCounterNetwork--; | 4619 buildCounterNetwork--; |
4546 return o; | 4620 return o; |
4547 } | 4621 } |
4548 | 4622 |
4549 checkNetwork(api.Network o) { | 4623 checkNetwork(api.Network o) { |
4550 buildCounterNetwork++; | 4624 buildCounterNetwork++; |
4551 if (buildCounterNetwork < 3) { | 4625 if (buildCounterNetwork < 3) { |
4552 unittest.expect(o.IPv4Range, unittest.equals('foo')); | 4626 unittest.expect(o.IPv4Range, unittest.equals('foo')); |
4553 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); | 4627 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); |
4554 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4628 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4555 unittest.expect(o.description, unittest.equals('foo')); | 4629 unittest.expect(o.description, unittest.equals('foo')); |
4556 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); | 4630 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); |
4557 unittest.expect(o.id, unittest.equals('foo')); | 4631 unittest.expect(o.id, unittest.equals('foo')); |
4558 unittest.expect(o.kind, unittest.equals('foo')); | 4632 unittest.expect(o.kind, unittest.equals('foo')); |
4559 unittest.expect(o.name, unittest.equals('foo')); | 4633 unittest.expect(o.name, unittest.equals('foo')); |
4560 unittest.expect(o.selfLink, unittest.equals('foo')); | 4634 unittest.expect(o.selfLink, unittest.equals('foo')); |
4561 checkUnnamed2094(o.subnetworks); | 4635 checkUnnamed2108(o.subnetworks); |
4562 } | 4636 } |
4563 buildCounterNetwork--; | 4637 buildCounterNetwork--; |
4564 } | 4638 } |
4565 | 4639 |
4566 buildUnnamed2095() { | 4640 buildUnnamed2109() { |
4567 var o = new core.List<api.AccessConfig>(); | 4641 var o = new core.List<api.AccessConfig>(); |
4568 o.add(buildAccessConfig()); | 4642 o.add(buildAccessConfig()); |
4569 o.add(buildAccessConfig()); | 4643 o.add(buildAccessConfig()); |
4570 return o; | 4644 return o; |
4571 } | 4645 } |
4572 | 4646 |
4573 checkUnnamed2095(core.List<api.AccessConfig> o) { | 4647 checkUnnamed2109(core.List<api.AccessConfig> o) { |
4574 unittest.expect(o, unittest.hasLength(2)); | 4648 unittest.expect(o, unittest.hasLength(2)); |
4575 checkAccessConfig(o[0]); | 4649 checkAccessConfig(o[0]); |
4576 checkAccessConfig(o[1]); | 4650 checkAccessConfig(o[1]); |
4577 } | 4651 } |
4578 | 4652 |
4579 core.int buildCounterNetworkInterface = 0; | 4653 core.int buildCounterNetworkInterface = 0; |
4580 buildNetworkInterface() { | 4654 buildNetworkInterface() { |
4581 var o = new api.NetworkInterface(); | 4655 var o = new api.NetworkInterface(); |
4582 buildCounterNetworkInterface++; | 4656 buildCounterNetworkInterface++; |
4583 if (buildCounterNetworkInterface < 3) { | 4657 if (buildCounterNetworkInterface < 3) { |
4584 o.accessConfigs = buildUnnamed2095(); | 4658 o.accessConfigs = buildUnnamed2109(); |
4585 o.kind = "foo"; | 4659 o.kind = "foo"; |
4586 o.name = "foo"; | 4660 o.name = "foo"; |
4587 o.network = "foo"; | 4661 o.network = "foo"; |
4588 o.networkIP = "foo"; | 4662 o.networkIP = "foo"; |
4589 o.subnetwork = "foo"; | 4663 o.subnetwork = "foo"; |
4590 } | 4664 } |
4591 buildCounterNetworkInterface--; | 4665 buildCounterNetworkInterface--; |
4592 return o; | 4666 return o; |
4593 } | 4667 } |
4594 | 4668 |
4595 checkNetworkInterface(api.NetworkInterface o) { | 4669 checkNetworkInterface(api.NetworkInterface o) { |
4596 buildCounterNetworkInterface++; | 4670 buildCounterNetworkInterface++; |
4597 if (buildCounterNetworkInterface < 3) { | 4671 if (buildCounterNetworkInterface < 3) { |
4598 checkUnnamed2095(o.accessConfigs); | 4672 checkUnnamed2109(o.accessConfigs); |
4599 unittest.expect(o.kind, unittest.equals('foo')); | 4673 unittest.expect(o.kind, unittest.equals('foo')); |
4600 unittest.expect(o.name, unittest.equals('foo')); | 4674 unittest.expect(o.name, unittest.equals('foo')); |
4601 unittest.expect(o.network, unittest.equals('foo')); | 4675 unittest.expect(o.network, unittest.equals('foo')); |
4602 unittest.expect(o.networkIP, unittest.equals('foo')); | 4676 unittest.expect(o.networkIP, unittest.equals('foo')); |
4603 unittest.expect(o.subnetwork, unittest.equals('foo')); | 4677 unittest.expect(o.subnetwork, unittest.equals('foo')); |
4604 } | 4678 } |
4605 buildCounterNetworkInterface--; | 4679 buildCounterNetworkInterface--; |
4606 } | 4680 } |
4607 | 4681 |
4608 buildUnnamed2096() { | 4682 buildUnnamed2110() { |
4609 var o = new core.List<api.Network>(); | 4683 var o = new core.List<api.Network>(); |
4610 o.add(buildNetwork()); | 4684 o.add(buildNetwork()); |
4611 o.add(buildNetwork()); | 4685 o.add(buildNetwork()); |
4612 return o; | 4686 return o; |
4613 } | 4687 } |
4614 | 4688 |
4615 checkUnnamed2096(core.List<api.Network> o) { | 4689 checkUnnamed2110(core.List<api.Network> o) { |
4616 unittest.expect(o, unittest.hasLength(2)); | 4690 unittest.expect(o, unittest.hasLength(2)); |
4617 checkNetwork(o[0]); | 4691 checkNetwork(o[0]); |
4618 checkNetwork(o[1]); | 4692 checkNetwork(o[1]); |
4619 } | 4693 } |
4620 | 4694 |
4621 core.int buildCounterNetworkList = 0; | 4695 core.int buildCounterNetworkList = 0; |
4622 buildNetworkList() { | 4696 buildNetworkList() { |
4623 var o = new api.NetworkList(); | 4697 var o = new api.NetworkList(); |
4624 buildCounterNetworkList++; | 4698 buildCounterNetworkList++; |
4625 if (buildCounterNetworkList < 3) { | 4699 if (buildCounterNetworkList < 3) { |
4626 o.id = "foo"; | 4700 o.id = "foo"; |
4627 o.items = buildUnnamed2096(); | 4701 o.items = buildUnnamed2110(); |
4628 o.kind = "foo"; | 4702 o.kind = "foo"; |
4629 o.nextPageToken = "foo"; | 4703 o.nextPageToken = "foo"; |
4630 o.selfLink = "foo"; | 4704 o.selfLink = "foo"; |
4631 } | 4705 } |
4632 buildCounterNetworkList--; | 4706 buildCounterNetworkList--; |
4633 return o; | 4707 return o; |
4634 } | 4708 } |
4635 | 4709 |
4636 checkNetworkList(api.NetworkList o) { | 4710 checkNetworkList(api.NetworkList o) { |
4637 buildCounterNetworkList++; | 4711 buildCounterNetworkList++; |
4638 if (buildCounterNetworkList < 3) { | 4712 if (buildCounterNetworkList < 3) { |
4639 unittest.expect(o.id, unittest.equals('foo')); | 4713 unittest.expect(o.id, unittest.equals('foo')); |
4640 checkUnnamed2096(o.items); | 4714 checkUnnamed2110(o.items); |
4641 unittest.expect(o.kind, unittest.equals('foo')); | 4715 unittest.expect(o.kind, unittest.equals('foo')); |
4642 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4716 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4643 unittest.expect(o.selfLink, unittest.equals('foo')); | 4717 unittest.expect(o.selfLink, unittest.equals('foo')); |
4644 } | 4718 } |
4645 buildCounterNetworkList--; | 4719 buildCounterNetworkList--; |
4646 } | 4720 } |
4647 | 4721 |
4648 core.int buildCounterOperationErrorErrors = 0; | 4722 core.int buildCounterOperationErrorErrors = 0; |
4649 buildOperationErrorErrors() { | 4723 buildOperationErrorErrors() { |
4650 var o = new api.OperationErrorErrors(); | 4724 var o = new api.OperationErrorErrors(); |
(...skipping 10 matching lines...) Expand all Loading... |
4661 checkOperationErrorErrors(api.OperationErrorErrors o) { | 4735 checkOperationErrorErrors(api.OperationErrorErrors o) { |
4662 buildCounterOperationErrorErrors++; | 4736 buildCounterOperationErrorErrors++; |
4663 if (buildCounterOperationErrorErrors < 3) { | 4737 if (buildCounterOperationErrorErrors < 3) { |
4664 unittest.expect(o.code, unittest.equals('foo')); | 4738 unittest.expect(o.code, unittest.equals('foo')); |
4665 unittest.expect(o.location, unittest.equals('foo')); | 4739 unittest.expect(o.location, unittest.equals('foo')); |
4666 unittest.expect(o.message, unittest.equals('foo')); | 4740 unittest.expect(o.message, unittest.equals('foo')); |
4667 } | 4741 } |
4668 buildCounterOperationErrorErrors--; | 4742 buildCounterOperationErrorErrors--; |
4669 } | 4743 } |
4670 | 4744 |
4671 buildUnnamed2097() { | 4745 buildUnnamed2111() { |
4672 var o = new core.List<api.OperationErrorErrors>(); | 4746 var o = new core.List<api.OperationErrorErrors>(); |
4673 o.add(buildOperationErrorErrors()); | 4747 o.add(buildOperationErrorErrors()); |
4674 o.add(buildOperationErrorErrors()); | 4748 o.add(buildOperationErrorErrors()); |
4675 return o; | 4749 return o; |
4676 } | 4750 } |
4677 | 4751 |
4678 checkUnnamed2097(core.List<api.OperationErrorErrors> o) { | 4752 checkUnnamed2111(core.List<api.OperationErrorErrors> o) { |
4679 unittest.expect(o, unittest.hasLength(2)); | 4753 unittest.expect(o, unittest.hasLength(2)); |
4680 checkOperationErrorErrors(o[0]); | 4754 checkOperationErrorErrors(o[0]); |
4681 checkOperationErrorErrors(o[1]); | 4755 checkOperationErrorErrors(o[1]); |
4682 } | 4756 } |
4683 | 4757 |
4684 core.int buildCounterOperationError = 0; | 4758 core.int buildCounterOperationError = 0; |
4685 buildOperationError() { | 4759 buildOperationError() { |
4686 var o = new api.OperationError(); | 4760 var o = new api.OperationError(); |
4687 buildCounterOperationError++; | 4761 buildCounterOperationError++; |
4688 if (buildCounterOperationError < 3) { | 4762 if (buildCounterOperationError < 3) { |
4689 o.errors = buildUnnamed2097(); | 4763 o.errors = buildUnnamed2111(); |
4690 } | 4764 } |
4691 buildCounterOperationError--; | 4765 buildCounterOperationError--; |
4692 return o; | 4766 return o; |
4693 } | 4767 } |
4694 | 4768 |
4695 checkOperationError(api.OperationError o) { | 4769 checkOperationError(api.OperationError o) { |
4696 buildCounterOperationError++; | 4770 buildCounterOperationError++; |
4697 if (buildCounterOperationError < 3) { | 4771 if (buildCounterOperationError < 3) { |
4698 checkUnnamed2097(o.errors); | 4772 checkUnnamed2111(o.errors); |
4699 } | 4773 } |
4700 buildCounterOperationError--; | 4774 buildCounterOperationError--; |
4701 } | 4775 } |
4702 | 4776 |
4703 core.int buildCounterOperationWarningsData = 0; | 4777 core.int buildCounterOperationWarningsData = 0; |
4704 buildOperationWarningsData() { | 4778 buildOperationWarningsData() { |
4705 var o = new api.OperationWarningsData(); | 4779 var o = new api.OperationWarningsData(); |
4706 buildCounterOperationWarningsData++; | 4780 buildCounterOperationWarningsData++; |
4707 if (buildCounterOperationWarningsData < 3) { | 4781 if (buildCounterOperationWarningsData < 3) { |
4708 o.key = "foo"; | 4782 o.key = "foo"; |
4709 o.value = "foo"; | 4783 o.value = "foo"; |
4710 } | 4784 } |
4711 buildCounterOperationWarningsData--; | 4785 buildCounterOperationWarningsData--; |
4712 return o; | 4786 return o; |
4713 } | 4787 } |
4714 | 4788 |
4715 checkOperationWarningsData(api.OperationWarningsData o) { | 4789 checkOperationWarningsData(api.OperationWarningsData o) { |
4716 buildCounterOperationWarningsData++; | 4790 buildCounterOperationWarningsData++; |
4717 if (buildCounterOperationWarningsData < 3) { | 4791 if (buildCounterOperationWarningsData < 3) { |
4718 unittest.expect(o.key, unittest.equals('foo')); | 4792 unittest.expect(o.key, unittest.equals('foo')); |
4719 unittest.expect(o.value, unittest.equals('foo')); | 4793 unittest.expect(o.value, unittest.equals('foo')); |
4720 } | 4794 } |
4721 buildCounterOperationWarningsData--; | 4795 buildCounterOperationWarningsData--; |
4722 } | 4796 } |
4723 | 4797 |
4724 buildUnnamed2098() { | 4798 buildUnnamed2112() { |
4725 var o = new core.List<api.OperationWarningsData>(); | 4799 var o = new core.List<api.OperationWarningsData>(); |
4726 o.add(buildOperationWarningsData()); | 4800 o.add(buildOperationWarningsData()); |
4727 o.add(buildOperationWarningsData()); | 4801 o.add(buildOperationWarningsData()); |
4728 return o; | 4802 return o; |
4729 } | 4803 } |
4730 | 4804 |
4731 checkUnnamed2098(core.List<api.OperationWarningsData> o) { | 4805 checkUnnamed2112(core.List<api.OperationWarningsData> o) { |
4732 unittest.expect(o, unittest.hasLength(2)); | 4806 unittest.expect(o, unittest.hasLength(2)); |
4733 checkOperationWarningsData(o[0]); | 4807 checkOperationWarningsData(o[0]); |
4734 checkOperationWarningsData(o[1]); | 4808 checkOperationWarningsData(o[1]); |
4735 } | 4809 } |
4736 | 4810 |
4737 core.int buildCounterOperationWarnings = 0; | 4811 core.int buildCounterOperationWarnings = 0; |
4738 buildOperationWarnings() { | 4812 buildOperationWarnings() { |
4739 var o = new api.OperationWarnings(); | 4813 var o = new api.OperationWarnings(); |
4740 buildCounterOperationWarnings++; | 4814 buildCounterOperationWarnings++; |
4741 if (buildCounterOperationWarnings < 3) { | 4815 if (buildCounterOperationWarnings < 3) { |
4742 o.code = "foo"; | 4816 o.code = "foo"; |
4743 o.data = buildUnnamed2098(); | 4817 o.data = buildUnnamed2112(); |
4744 o.message = "foo"; | 4818 o.message = "foo"; |
4745 } | 4819 } |
4746 buildCounterOperationWarnings--; | 4820 buildCounterOperationWarnings--; |
4747 return o; | 4821 return o; |
4748 } | 4822 } |
4749 | 4823 |
4750 checkOperationWarnings(api.OperationWarnings o) { | 4824 checkOperationWarnings(api.OperationWarnings o) { |
4751 buildCounterOperationWarnings++; | 4825 buildCounterOperationWarnings++; |
4752 if (buildCounterOperationWarnings < 3) { | 4826 if (buildCounterOperationWarnings < 3) { |
4753 unittest.expect(o.code, unittest.equals('foo')); | 4827 unittest.expect(o.code, unittest.equals('foo')); |
4754 checkUnnamed2098(o.data); | 4828 checkUnnamed2112(o.data); |
4755 unittest.expect(o.message, unittest.equals('foo')); | 4829 unittest.expect(o.message, unittest.equals('foo')); |
4756 } | 4830 } |
4757 buildCounterOperationWarnings--; | 4831 buildCounterOperationWarnings--; |
4758 } | 4832 } |
4759 | 4833 |
4760 buildUnnamed2099() { | 4834 buildUnnamed2113() { |
4761 var o = new core.List<api.OperationWarnings>(); | 4835 var o = new core.List<api.OperationWarnings>(); |
4762 o.add(buildOperationWarnings()); | 4836 o.add(buildOperationWarnings()); |
4763 o.add(buildOperationWarnings()); | 4837 o.add(buildOperationWarnings()); |
4764 return o; | 4838 return o; |
4765 } | 4839 } |
4766 | 4840 |
4767 checkUnnamed2099(core.List<api.OperationWarnings> o) { | 4841 checkUnnamed2113(core.List<api.OperationWarnings> o) { |
4768 unittest.expect(o, unittest.hasLength(2)); | 4842 unittest.expect(o, unittest.hasLength(2)); |
4769 checkOperationWarnings(o[0]); | 4843 checkOperationWarnings(o[0]); |
4770 checkOperationWarnings(o[1]); | 4844 checkOperationWarnings(o[1]); |
4771 } | 4845 } |
4772 | 4846 |
4773 core.int buildCounterOperation = 0; | 4847 core.int buildCounterOperation = 0; |
4774 buildOperation() { | 4848 buildOperation() { |
4775 var o = new api.Operation(); | 4849 var o = new api.Operation(); |
4776 buildCounterOperation++; | 4850 buildCounterOperation++; |
4777 if (buildCounterOperation < 3) { | 4851 if (buildCounterOperation < 3) { |
(...skipping 11 matching lines...) Expand all Loading... |
4789 o.operationType = "foo"; | 4863 o.operationType = "foo"; |
4790 o.progress = 42; | 4864 o.progress = 42; |
4791 o.region = "foo"; | 4865 o.region = "foo"; |
4792 o.selfLink = "foo"; | 4866 o.selfLink = "foo"; |
4793 o.startTime = "foo"; | 4867 o.startTime = "foo"; |
4794 o.status = "foo"; | 4868 o.status = "foo"; |
4795 o.statusMessage = "foo"; | 4869 o.statusMessage = "foo"; |
4796 o.targetId = "foo"; | 4870 o.targetId = "foo"; |
4797 o.targetLink = "foo"; | 4871 o.targetLink = "foo"; |
4798 o.user = "foo"; | 4872 o.user = "foo"; |
4799 o.warnings = buildUnnamed2099(); | 4873 o.warnings = buildUnnamed2113(); |
4800 o.zone = "foo"; | 4874 o.zone = "foo"; |
4801 } | 4875 } |
4802 buildCounterOperation--; | 4876 buildCounterOperation--; |
4803 return o; | 4877 return o; |
4804 } | 4878 } |
4805 | 4879 |
4806 checkOperation(api.Operation o) { | 4880 checkOperation(api.Operation o) { |
4807 buildCounterOperation++; | 4881 buildCounterOperation++; |
4808 if (buildCounterOperation < 3) { | 4882 if (buildCounterOperation < 3) { |
4809 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 4883 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
(...skipping 10 matching lines...) Expand all Loading... |
4820 unittest.expect(o.operationType, unittest.equals('foo')); | 4894 unittest.expect(o.operationType, unittest.equals('foo')); |
4821 unittest.expect(o.progress, unittest.equals(42)); | 4895 unittest.expect(o.progress, unittest.equals(42)); |
4822 unittest.expect(o.region, unittest.equals('foo')); | 4896 unittest.expect(o.region, unittest.equals('foo')); |
4823 unittest.expect(o.selfLink, unittest.equals('foo')); | 4897 unittest.expect(o.selfLink, unittest.equals('foo')); |
4824 unittest.expect(o.startTime, unittest.equals('foo')); | 4898 unittest.expect(o.startTime, unittest.equals('foo')); |
4825 unittest.expect(o.status, unittest.equals('foo')); | 4899 unittest.expect(o.status, unittest.equals('foo')); |
4826 unittest.expect(o.statusMessage, unittest.equals('foo')); | 4900 unittest.expect(o.statusMessage, unittest.equals('foo')); |
4827 unittest.expect(o.targetId, unittest.equals('foo')); | 4901 unittest.expect(o.targetId, unittest.equals('foo')); |
4828 unittest.expect(o.targetLink, unittest.equals('foo')); | 4902 unittest.expect(o.targetLink, unittest.equals('foo')); |
4829 unittest.expect(o.user, unittest.equals('foo')); | 4903 unittest.expect(o.user, unittest.equals('foo')); |
4830 checkUnnamed2099(o.warnings); | 4904 checkUnnamed2113(o.warnings); |
4831 unittest.expect(o.zone, unittest.equals('foo')); | 4905 unittest.expect(o.zone, unittest.equals('foo')); |
4832 } | 4906 } |
4833 buildCounterOperation--; | 4907 buildCounterOperation--; |
4834 } | 4908 } |
4835 | 4909 |
4836 buildUnnamed2100() { | 4910 buildUnnamed2114() { |
4837 var o = new core.Map<core.String, api.OperationsScopedList>(); | 4911 var o = new core.Map<core.String, api.OperationsScopedList>(); |
4838 o["x"] = buildOperationsScopedList(); | 4912 o["x"] = buildOperationsScopedList(); |
4839 o["y"] = buildOperationsScopedList(); | 4913 o["y"] = buildOperationsScopedList(); |
4840 return o; | 4914 return o; |
4841 } | 4915 } |
4842 | 4916 |
4843 checkUnnamed2100(core.Map<core.String, api.OperationsScopedList> o) { | 4917 checkUnnamed2114(core.Map<core.String, api.OperationsScopedList> o) { |
4844 unittest.expect(o, unittest.hasLength(2)); | 4918 unittest.expect(o, unittest.hasLength(2)); |
4845 checkOperationsScopedList(o["x"]); | 4919 checkOperationsScopedList(o["x"]); |
4846 checkOperationsScopedList(o["y"]); | 4920 checkOperationsScopedList(o["y"]); |
4847 } | 4921 } |
4848 | 4922 |
4849 core.int buildCounterOperationAggregatedList = 0; | 4923 core.int buildCounterOperationAggregatedList = 0; |
4850 buildOperationAggregatedList() { | 4924 buildOperationAggregatedList() { |
4851 var o = new api.OperationAggregatedList(); | 4925 var o = new api.OperationAggregatedList(); |
4852 buildCounterOperationAggregatedList++; | 4926 buildCounterOperationAggregatedList++; |
4853 if (buildCounterOperationAggregatedList < 3) { | 4927 if (buildCounterOperationAggregatedList < 3) { |
4854 o.id = "foo"; | 4928 o.id = "foo"; |
4855 o.items = buildUnnamed2100(); | 4929 o.items = buildUnnamed2114(); |
4856 o.kind = "foo"; | 4930 o.kind = "foo"; |
4857 o.nextPageToken = "foo"; | 4931 o.nextPageToken = "foo"; |
4858 o.selfLink = "foo"; | 4932 o.selfLink = "foo"; |
4859 } | 4933 } |
4860 buildCounterOperationAggregatedList--; | 4934 buildCounterOperationAggregatedList--; |
4861 return o; | 4935 return o; |
4862 } | 4936 } |
4863 | 4937 |
4864 checkOperationAggregatedList(api.OperationAggregatedList o) { | 4938 checkOperationAggregatedList(api.OperationAggregatedList o) { |
4865 buildCounterOperationAggregatedList++; | 4939 buildCounterOperationAggregatedList++; |
4866 if (buildCounterOperationAggregatedList < 3) { | 4940 if (buildCounterOperationAggregatedList < 3) { |
4867 unittest.expect(o.id, unittest.equals('foo')); | 4941 unittest.expect(o.id, unittest.equals('foo')); |
4868 checkUnnamed2100(o.items); | 4942 checkUnnamed2114(o.items); |
4869 unittest.expect(o.kind, unittest.equals('foo')); | 4943 unittest.expect(o.kind, unittest.equals('foo')); |
4870 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4944 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4871 unittest.expect(o.selfLink, unittest.equals('foo')); | 4945 unittest.expect(o.selfLink, unittest.equals('foo')); |
4872 } | 4946 } |
4873 buildCounterOperationAggregatedList--; | 4947 buildCounterOperationAggregatedList--; |
4874 } | 4948 } |
4875 | 4949 |
4876 buildUnnamed2101() { | 4950 buildUnnamed2115() { |
4877 var o = new core.List<api.Operation>(); | 4951 var o = new core.List<api.Operation>(); |
4878 o.add(buildOperation()); | 4952 o.add(buildOperation()); |
4879 o.add(buildOperation()); | 4953 o.add(buildOperation()); |
4880 return o; | 4954 return o; |
4881 } | 4955 } |
4882 | 4956 |
4883 checkUnnamed2101(core.List<api.Operation> o) { | 4957 checkUnnamed2115(core.List<api.Operation> o) { |
4884 unittest.expect(o, unittest.hasLength(2)); | 4958 unittest.expect(o, unittest.hasLength(2)); |
4885 checkOperation(o[0]); | 4959 checkOperation(o[0]); |
4886 checkOperation(o[1]); | 4960 checkOperation(o[1]); |
4887 } | 4961 } |
4888 | 4962 |
4889 core.int buildCounterOperationList = 0; | 4963 core.int buildCounterOperationList = 0; |
4890 buildOperationList() { | 4964 buildOperationList() { |
4891 var o = new api.OperationList(); | 4965 var o = new api.OperationList(); |
4892 buildCounterOperationList++; | 4966 buildCounterOperationList++; |
4893 if (buildCounterOperationList < 3) { | 4967 if (buildCounterOperationList < 3) { |
4894 o.id = "foo"; | 4968 o.id = "foo"; |
4895 o.items = buildUnnamed2101(); | 4969 o.items = buildUnnamed2115(); |
4896 o.kind = "foo"; | 4970 o.kind = "foo"; |
4897 o.nextPageToken = "foo"; | 4971 o.nextPageToken = "foo"; |
4898 o.selfLink = "foo"; | 4972 o.selfLink = "foo"; |
4899 } | 4973 } |
4900 buildCounterOperationList--; | 4974 buildCounterOperationList--; |
4901 return o; | 4975 return o; |
4902 } | 4976 } |
4903 | 4977 |
4904 checkOperationList(api.OperationList o) { | 4978 checkOperationList(api.OperationList o) { |
4905 buildCounterOperationList++; | 4979 buildCounterOperationList++; |
4906 if (buildCounterOperationList < 3) { | 4980 if (buildCounterOperationList < 3) { |
4907 unittest.expect(o.id, unittest.equals('foo')); | 4981 unittest.expect(o.id, unittest.equals('foo')); |
4908 checkUnnamed2101(o.items); | 4982 checkUnnamed2115(o.items); |
4909 unittest.expect(o.kind, unittest.equals('foo')); | 4983 unittest.expect(o.kind, unittest.equals('foo')); |
4910 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4984 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4911 unittest.expect(o.selfLink, unittest.equals('foo')); | 4985 unittest.expect(o.selfLink, unittest.equals('foo')); |
4912 } | 4986 } |
4913 buildCounterOperationList--; | 4987 buildCounterOperationList--; |
4914 } | 4988 } |
4915 | 4989 |
4916 buildUnnamed2102() { | 4990 buildUnnamed2116() { |
4917 var o = new core.List<api.Operation>(); | 4991 var o = new core.List<api.Operation>(); |
4918 o.add(buildOperation()); | 4992 o.add(buildOperation()); |
4919 o.add(buildOperation()); | 4993 o.add(buildOperation()); |
4920 return o; | 4994 return o; |
4921 } | 4995 } |
4922 | 4996 |
4923 checkUnnamed2102(core.List<api.Operation> o) { | 4997 checkUnnamed2116(core.List<api.Operation> o) { |
4924 unittest.expect(o, unittest.hasLength(2)); | 4998 unittest.expect(o, unittest.hasLength(2)); |
4925 checkOperation(o[0]); | 4999 checkOperation(o[0]); |
4926 checkOperation(o[1]); | 5000 checkOperation(o[1]); |
4927 } | 5001 } |
4928 | 5002 |
4929 core.int buildCounterOperationsScopedListWarningData = 0; | 5003 core.int buildCounterOperationsScopedListWarningData = 0; |
4930 buildOperationsScopedListWarningData() { | 5004 buildOperationsScopedListWarningData() { |
4931 var o = new api.OperationsScopedListWarningData(); | 5005 var o = new api.OperationsScopedListWarningData(); |
4932 buildCounterOperationsScopedListWarningData++; | 5006 buildCounterOperationsScopedListWarningData++; |
4933 if (buildCounterOperationsScopedListWarningData < 3) { | 5007 if (buildCounterOperationsScopedListWarningData < 3) { |
4934 o.key = "foo"; | 5008 o.key = "foo"; |
4935 o.value = "foo"; | 5009 o.value = "foo"; |
4936 } | 5010 } |
4937 buildCounterOperationsScopedListWarningData--; | 5011 buildCounterOperationsScopedListWarningData--; |
4938 return o; | 5012 return o; |
4939 } | 5013 } |
4940 | 5014 |
4941 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { | 5015 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { |
4942 buildCounterOperationsScopedListWarningData++; | 5016 buildCounterOperationsScopedListWarningData++; |
4943 if (buildCounterOperationsScopedListWarningData < 3) { | 5017 if (buildCounterOperationsScopedListWarningData < 3) { |
4944 unittest.expect(o.key, unittest.equals('foo')); | 5018 unittest.expect(o.key, unittest.equals('foo')); |
4945 unittest.expect(o.value, unittest.equals('foo')); | 5019 unittest.expect(o.value, unittest.equals('foo')); |
4946 } | 5020 } |
4947 buildCounterOperationsScopedListWarningData--; | 5021 buildCounterOperationsScopedListWarningData--; |
4948 } | 5022 } |
4949 | 5023 |
4950 buildUnnamed2103() { | 5024 buildUnnamed2117() { |
4951 var o = new core.List<api.OperationsScopedListWarningData>(); | 5025 var o = new core.List<api.OperationsScopedListWarningData>(); |
4952 o.add(buildOperationsScopedListWarningData()); | 5026 o.add(buildOperationsScopedListWarningData()); |
4953 o.add(buildOperationsScopedListWarningData()); | 5027 o.add(buildOperationsScopedListWarningData()); |
4954 return o; | 5028 return o; |
4955 } | 5029 } |
4956 | 5030 |
4957 checkUnnamed2103(core.List<api.OperationsScopedListWarningData> o) { | 5031 checkUnnamed2117(core.List<api.OperationsScopedListWarningData> o) { |
4958 unittest.expect(o, unittest.hasLength(2)); | 5032 unittest.expect(o, unittest.hasLength(2)); |
4959 checkOperationsScopedListWarningData(o[0]); | 5033 checkOperationsScopedListWarningData(o[0]); |
4960 checkOperationsScopedListWarningData(o[1]); | 5034 checkOperationsScopedListWarningData(o[1]); |
4961 } | 5035 } |
4962 | 5036 |
4963 core.int buildCounterOperationsScopedListWarning = 0; | 5037 core.int buildCounterOperationsScopedListWarning = 0; |
4964 buildOperationsScopedListWarning() { | 5038 buildOperationsScopedListWarning() { |
4965 var o = new api.OperationsScopedListWarning(); | 5039 var o = new api.OperationsScopedListWarning(); |
4966 buildCounterOperationsScopedListWarning++; | 5040 buildCounterOperationsScopedListWarning++; |
4967 if (buildCounterOperationsScopedListWarning < 3) { | 5041 if (buildCounterOperationsScopedListWarning < 3) { |
4968 o.code = "foo"; | 5042 o.code = "foo"; |
4969 o.data = buildUnnamed2103(); | 5043 o.data = buildUnnamed2117(); |
4970 o.message = "foo"; | 5044 o.message = "foo"; |
4971 } | 5045 } |
4972 buildCounterOperationsScopedListWarning--; | 5046 buildCounterOperationsScopedListWarning--; |
4973 return o; | 5047 return o; |
4974 } | 5048 } |
4975 | 5049 |
4976 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { | 5050 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { |
4977 buildCounterOperationsScopedListWarning++; | 5051 buildCounterOperationsScopedListWarning++; |
4978 if (buildCounterOperationsScopedListWarning < 3) { | 5052 if (buildCounterOperationsScopedListWarning < 3) { |
4979 unittest.expect(o.code, unittest.equals('foo')); | 5053 unittest.expect(o.code, unittest.equals('foo')); |
4980 checkUnnamed2103(o.data); | 5054 checkUnnamed2117(o.data); |
4981 unittest.expect(o.message, unittest.equals('foo')); | 5055 unittest.expect(o.message, unittest.equals('foo')); |
4982 } | 5056 } |
4983 buildCounterOperationsScopedListWarning--; | 5057 buildCounterOperationsScopedListWarning--; |
4984 } | 5058 } |
4985 | 5059 |
4986 core.int buildCounterOperationsScopedList = 0; | 5060 core.int buildCounterOperationsScopedList = 0; |
4987 buildOperationsScopedList() { | 5061 buildOperationsScopedList() { |
4988 var o = new api.OperationsScopedList(); | 5062 var o = new api.OperationsScopedList(); |
4989 buildCounterOperationsScopedList++; | 5063 buildCounterOperationsScopedList++; |
4990 if (buildCounterOperationsScopedList < 3) { | 5064 if (buildCounterOperationsScopedList < 3) { |
4991 o.operations = buildUnnamed2102(); | 5065 o.operations = buildUnnamed2116(); |
4992 o.warning = buildOperationsScopedListWarning(); | 5066 o.warning = buildOperationsScopedListWarning(); |
4993 } | 5067 } |
4994 buildCounterOperationsScopedList--; | 5068 buildCounterOperationsScopedList--; |
4995 return o; | 5069 return o; |
4996 } | 5070 } |
4997 | 5071 |
4998 checkOperationsScopedList(api.OperationsScopedList o) { | 5072 checkOperationsScopedList(api.OperationsScopedList o) { |
4999 buildCounterOperationsScopedList++; | 5073 buildCounterOperationsScopedList++; |
5000 if (buildCounterOperationsScopedList < 3) { | 5074 if (buildCounterOperationsScopedList < 3) { |
5001 checkUnnamed2102(o.operations); | 5075 checkUnnamed2116(o.operations); |
5002 checkOperationsScopedListWarning(o.warning); | 5076 checkOperationsScopedListWarning(o.warning); |
5003 } | 5077 } |
5004 buildCounterOperationsScopedList--; | 5078 buildCounterOperationsScopedList--; |
5005 } | 5079 } |
5006 | 5080 |
5007 buildUnnamed2104() { | 5081 buildUnnamed2118() { |
5008 var o = new core.List<api.PathRule>(); | 5082 var o = new core.List<api.PathRule>(); |
5009 o.add(buildPathRule()); | 5083 o.add(buildPathRule()); |
5010 o.add(buildPathRule()); | 5084 o.add(buildPathRule()); |
5011 return o; | 5085 return o; |
5012 } | 5086 } |
5013 | 5087 |
5014 checkUnnamed2104(core.List<api.PathRule> o) { | 5088 checkUnnamed2118(core.List<api.PathRule> o) { |
5015 unittest.expect(o, unittest.hasLength(2)); | 5089 unittest.expect(o, unittest.hasLength(2)); |
5016 checkPathRule(o[0]); | 5090 checkPathRule(o[0]); |
5017 checkPathRule(o[1]); | 5091 checkPathRule(o[1]); |
5018 } | 5092 } |
5019 | 5093 |
5020 core.int buildCounterPathMatcher = 0; | 5094 core.int buildCounterPathMatcher = 0; |
5021 buildPathMatcher() { | 5095 buildPathMatcher() { |
5022 var o = new api.PathMatcher(); | 5096 var o = new api.PathMatcher(); |
5023 buildCounterPathMatcher++; | 5097 buildCounterPathMatcher++; |
5024 if (buildCounterPathMatcher < 3) { | 5098 if (buildCounterPathMatcher < 3) { |
5025 o.defaultService = "foo"; | 5099 o.defaultService = "foo"; |
5026 o.description = "foo"; | 5100 o.description = "foo"; |
5027 o.name = "foo"; | 5101 o.name = "foo"; |
5028 o.pathRules = buildUnnamed2104(); | 5102 o.pathRules = buildUnnamed2118(); |
5029 } | 5103 } |
5030 buildCounterPathMatcher--; | 5104 buildCounterPathMatcher--; |
5031 return o; | 5105 return o; |
5032 } | 5106 } |
5033 | 5107 |
5034 checkPathMatcher(api.PathMatcher o) { | 5108 checkPathMatcher(api.PathMatcher o) { |
5035 buildCounterPathMatcher++; | 5109 buildCounterPathMatcher++; |
5036 if (buildCounterPathMatcher < 3) { | 5110 if (buildCounterPathMatcher < 3) { |
5037 unittest.expect(o.defaultService, unittest.equals('foo')); | 5111 unittest.expect(o.defaultService, unittest.equals('foo')); |
5038 unittest.expect(o.description, unittest.equals('foo')); | 5112 unittest.expect(o.description, unittest.equals('foo')); |
5039 unittest.expect(o.name, unittest.equals('foo')); | 5113 unittest.expect(o.name, unittest.equals('foo')); |
5040 checkUnnamed2104(o.pathRules); | 5114 checkUnnamed2118(o.pathRules); |
5041 } | 5115 } |
5042 buildCounterPathMatcher--; | 5116 buildCounterPathMatcher--; |
5043 } | 5117 } |
5044 | 5118 |
5045 buildUnnamed2105() { | 5119 buildUnnamed2119() { |
5046 var o = new core.List<core.String>(); | 5120 var o = new core.List<core.String>(); |
5047 o.add("foo"); | 5121 o.add("foo"); |
5048 o.add("foo"); | 5122 o.add("foo"); |
5049 return o; | 5123 return o; |
5050 } | 5124 } |
5051 | 5125 |
5052 checkUnnamed2105(core.List<core.String> o) { | 5126 checkUnnamed2119(core.List<core.String> o) { |
5053 unittest.expect(o, unittest.hasLength(2)); | 5127 unittest.expect(o, unittest.hasLength(2)); |
5054 unittest.expect(o[0], unittest.equals('foo')); | 5128 unittest.expect(o[0], unittest.equals('foo')); |
5055 unittest.expect(o[1], unittest.equals('foo')); | 5129 unittest.expect(o[1], unittest.equals('foo')); |
5056 } | 5130 } |
5057 | 5131 |
5058 core.int buildCounterPathRule = 0; | 5132 core.int buildCounterPathRule = 0; |
5059 buildPathRule() { | 5133 buildPathRule() { |
5060 var o = new api.PathRule(); | 5134 var o = new api.PathRule(); |
5061 buildCounterPathRule++; | 5135 buildCounterPathRule++; |
5062 if (buildCounterPathRule < 3) { | 5136 if (buildCounterPathRule < 3) { |
5063 o.paths = buildUnnamed2105(); | 5137 o.paths = buildUnnamed2119(); |
5064 o.service = "foo"; | 5138 o.service = "foo"; |
5065 } | 5139 } |
5066 buildCounterPathRule--; | 5140 buildCounterPathRule--; |
5067 return o; | 5141 return o; |
5068 } | 5142 } |
5069 | 5143 |
5070 checkPathRule(api.PathRule o) { | 5144 checkPathRule(api.PathRule o) { |
5071 buildCounterPathRule++; | 5145 buildCounterPathRule++; |
5072 if (buildCounterPathRule < 3) { | 5146 if (buildCounterPathRule < 3) { |
5073 checkUnnamed2105(o.paths); | 5147 checkUnnamed2119(o.paths); |
5074 unittest.expect(o.service, unittest.equals('foo')); | 5148 unittest.expect(o.service, unittest.equals('foo')); |
5075 } | 5149 } |
5076 buildCounterPathRule--; | 5150 buildCounterPathRule--; |
5077 } | 5151 } |
5078 | 5152 |
5079 buildUnnamed2106() { | 5153 buildUnnamed2120() { |
5080 var o = new core.List<core.String>(); | 5154 var o = new core.List<core.String>(); |
5081 o.add("foo"); | 5155 o.add("foo"); |
5082 o.add("foo"); | 5156 o.add("foo"); |
5083 return o; | 5157 return o; |
5084 } | 5158 } |
5085 | 5159 |
5086 checkUnnamed2106(core.List<core.String> o) { | 5160 checkUnnamed2120(core.List<core.String> o) { |
5087 unittest.expect(o, unittest.hasLength(2)); | 5161 unittest.expect(o, unittest.hasLength(2)); |
5088 unittest.expect(o[0], unittest.equals('foo')); | 5162 unittest.expect(o[0], unittest.equals('foo')); |
5089 unittest.expect(o[1], unittest.equals('foo')); | 5163 unittest.expect(o[1], unittest.equals('foo')); |
5090 } | 5164 } |
5091 | 5165 |
5092 buildUnnamed2107() { | 5166 buildUnnamed2121() { |
5093 var o = new core.List<api.Quota>(); | 5167 var o = new core.List<api.Quota>(); |
5094 o.add(buildQuota()); | 5168 o.add(buildQuota()); |
5095 o.add(buildQuota()); | 5169 o.add(buildQuota()); |
5096 return o; | 5170 return o; |
5097 } | 5171 } |
5098 | 5172 |
5099 checkUnnamed2107(core.List<api.Quota> o) { | 5173 checkUnnamed2121(core.List<api.Quota> o) { |
5100 unittest.expect(o, unittest.hasLength(2)); | 5174 unittest.expect(o, unittest.hasLength(2)); |
5101 checkQuota(o[0]); | 5175 checkQuota(o[0]); |
5102 checkQuota(o[1]); | 5176 checkQuota(o[1]); |
5103 } | 5177 } |
5104 | 5178 |
5105 core.int buildCounterProject = 0; | 5179 core.int buildCounterProject = 0; |
5106 buildProject() { | 5180 buildProject() { |
5107 var o = new api.Project(); | 5181 var o = new api.Project(); |
5108 buildCounterProject++; | 5182 buildCounterProject++; |
5109 if (buildCounterProject < 3) { | 5183 if (buildCounterProject < 3) { |
5110 o.commonInstanceMetadata = buildMetadata(); | 5184 o.commonInstanceMetadata = buildMetadata(); |
5111 o.creationTimestamp = "foo"; | 5185 o.creationTimestamp = "foo"; |
5112 o.defaultServiceAccount = "foo"; | 5186 o.defaultServiceAccount = "foo"; |
5113 o.description = "foo"; | 5187 o.description = "foo"; |
5114 o.enabledFeatures = buildUnnamed2106(); | 5188 o.enabledFeatures = buildUnnamed2120(); |
5115 o.id = "foo"; | 5189 o.id = "foo"; |
5116 o.kind = "foo"; | 5190 o.kind = "foo"; |
5117 o.name = "foo"; | 5191 o.name = "foo"; |
5118 o.quotas = buildUnnamed2107(); | 5192 o.quotas = buildUnnamed2121(); |
5119 o.selfLink = "foo"; | 5193 o.selfLink = "foo"; |
5120 o.usageExportLocation = buildUsageExportLocation(); | 5194 o.usageExportLocation = buildUsageExportLocation(); |
5121 } | 5195 } |
5122 buildCounterProject--; | 5196 buildCounterProject--; |
5123 return o; | 5197 return o; |
5124 } | 5198 } |
5125 | 5199 |
5126 checkProject(api.Project o) { | 5200 checkProject(api.Project o) { |
5127 buildCounterProject++; | 5201 buildCounterProject++; |
5128 if (buildCounterProject < 3) { | 5202 if (buildCounterProject < 3) { |
5129 checkMetadata(o.commonInstanceMetadata); | 5203 checkMetadata(o.commonInstanceMetadata); |
5130 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5204 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5131 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); | 5205 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); |
5132 unittest.expect(o.description, unittest.equals('foo')); | 5206 unittest.expect(o.description, unittest.equals('foo')); |
5133 checkUnnamed2106(o.enabledFeatures); | 5207 checkUnnamed2120(o.enabledFeatures); |
5134 unittest.expect(o.id, unittest.equals('foo')); | 5208 unittest.expect(o.id, unittest.equals('foo')); |
5135 unittest.expect(o.kind, unittest.equals('foo')); | 5209 unittest.expect(o.kind, unittest.equals('foo')); |
5136 unittest.expect(o.name, unittest.equals('foo')); | 5210 unittest.expect(o.name, unittest.equals('foo')); |
5137 checkUnnamed2107(o.quotas); | 5211 checkUnnamed2121(o.quotas); |
5138 unittest.expect(o.selfLink, unittest.equals('foo')); | 5212 unittest.expect(o.selfLink, unittest.equals('foo')); |
5139 checkUsageExportLocation(o.usageExportLocation); | 5213 checkUsageExportLocation(o.usageExportLocation); |
5140 } | 5214 } |
5141 buildCounterProject--; | 5215 buildCounterProject--; |
5142 } | 5216 } |
5143 | 5217 |
5144 core.int buildCounterQuota = 0; | 5218 core.int buildCounterQuota = 0; |
5145 buildQuota() { | 5219 buildQuota() { |
5146 var o = new api.Quota(); | 5220 var o = new api.Quota(); |
5147 buildCounterQuota++; | 5221 buildCounterQuota++; |
5148 if (buildCounterQuota < 3) { | 5222 if (buildCounterQuota < 3) { |
5149 o.limit = 42.0; | 5223 o.limit = 42.0; |
5150 o.metric = "foo"; | 5224 o.metric = "foo"; |
5151 o.usage = 42.0; | 5225 o.usage = 42.0; |
5152 } | 5226 } |
5153 buildCounterQuota--; | 5227 buildCounterQuota--; |
5154 return o; | 5228 return o; |
5155 } | 5229 } |
5156 | 5230 |
5157 checkQuota(api.Quota o) { | 5231 checkQuota(api.Quota o) { |
5158 buildCounterQuota++; | 5232 buildCounterQuota++; |
5159 if (buildCounterQuota < 3) { | 5233 if (buildCounterQuota < 3) { |
5160 unittest.expect(o.limit, unittest.equals(42.0)); | 5234 unittest.expect(o.limit, unittest.equals(42.0)); |
5161 unittest.expect(o.metric, unittest.equals('foo')); | 5235 unittest.expect(o.metric, unittest.equals('foo')); |
5162 unittest.expect(o.usage, unittest.equals(42.0)); | 5236 unittest.expect(o.usage, unittest.equals(42.0)); |
5163 } | 5237 } |
5164 buildCounterQuota--; | 5238 buildCounterQuota--; |
5165 } | 5239 } |
5166 | 5240 |
5167 buildUnnamed2108() { | 5241 buildUnnamed2122() { |
5168 var o = new core.List<api.Quota>(); | 5242 var o = new core.List<api.Quota>(); |
5169 o.add(buildQuota()); | 5243 o.add(buildQuota()); |
5170 o.add(buildQuota()); | 5244 o.add(buildQuota()); |
5171 return o; | 5245 return o; |
5172 } | 5246 } |
5173 | 5247 |
5174 checkUnnamed2108(core.List<api.Quota> o) { | 5248 checkUnnamed2122(core.List<api.Quota> o) { |
5175 unittest.expect(o, unittest.hasLength(2)); | 5249 unittest.expect(o, unittest.hasLength(2)); |
5176 checkQuota(o[0]); | 5250 checkQuota(o[0]); |
5177 checkQuota(o[1]); | 5251 checkQuota(o[1]); |
5178 } | 5252 } |
5179 | 5253 |
5180 buildUnnamed2109() { | 5254 buildUnnamed2123() { |
5181 var o = new core.List<core.String>(); | 5255 var o = new core.List<core.String>(); |
5182 o.add("foo"); | 5256 o.add("foo"); |
5183 o.add("foo"); | 5257 o.add("foo"); |
5184 return o; | 5258 return o; |
5185 } | 5259 } |
5186 | 5260 |
5187 checkUnnamed2109(core.List<core.String> o) { | 5261 checkUnnamed2123(core.List<core.String> o) { |
5188 unittest.expect(o, unittest.hasLength(2)); | 5262 unittest.expect(o, unittest.hasLength(2)); |
5189 unittest.expect(o[0], unittest.equals('foo')); | 5263 unittest.expect(o[0], unittest.equals('foo')); |
5190 unittest.expect(o[1], unittest.equals('foo')); | 5264 unittest.expect(o[1], unittest.equals('foo')); |
5191 } | 5265 } |
5192 | 5266 |
5193 core.int buildCounterRegion = 0; | 5267 core.int buildCounterRegion = 0; |
5194 buildRegion() { | 5268 buildRegion() { |
5195 var o = new api.Region(); | 5269 var o = new api.Region(); |
5196 buildCounterRegion++; | 5270 buildCounterRegion++; |
5197 if (buildCounterRegion < 3) { | 5271 if (buildCounterRegion < 3) { |
5198 o.creationTimestamp = "foo"; | 5272 o.creationTimestamp = "foo"; |
5199 o.deprecated = buildDeprecationStatus(); | 5273 o.deprecated = buildDeprecationStatus(); |
5200 o.description = "foo"; | 5274 o.description = "foo"; |
5201 o.id = "foo"; | 5275 o.id = "foo"; |
5202 o.kind = "foo"; | 5276 o.kind = "foo"; |
5203 o.name = "foo"; | 5277 o.name = "foo"; |
5204 o.quotas = buildUnnamed2108(); | 5278 o.quotas = buildUnnamed2122(); |
5205 o.selfLink = "foo"; | 5279 o.selfLink = "foo"; |
5206 o.status = "foo"; | 5280 o.status = "foo"; |
5207 o.zones = buildUnnamed2109(); | 5281 o.zones = buildUnnamed2123(); |
5208 } | 5282 } |
5209 buildCounterRegion--; | 5283 buildCounterRegion--; |
5210 return o; | 5284 return o; |
5211 } | 5285 } |
5212 | 5286 |
5213 checkRegion(api.Region o) { | 5287 checkRegion(api.Region o) { |
5214 buildCounterRegion++; | 5288 buildCounterRegion++; |
5215 if (buildCounterRegion < 3) { | 5289 if (buildCounterRegion < 3) { |
5216 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5290 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5217 checkDeprecationStatus(o.deprecated); | 5291 checkDeprecationStatus(o.deprecated); |
5218 unittest.expect(o.description, unittest.equals('foo')); | 5292 unittest.expect(o.description, unittest.equals('foo')); |
5219 unittest.expect(o.id, unittest.equals('foo')); | 5293 unittest.expect(o.id, unittest.equals('foo')); |
5220 unittest.expect(o.kind, unittest.equals('foo')); | 5294 unittest.expect(o.kind, unittest.equals('foo')); |
5221 unittest.expect(o.name, unittest.equals('foo')); | 5295 unittest.expect(o.name, unittest.equals('foo')); |
5222 checkUnnamed2108(o.quotas); | 5296 checkUnnamed2122(o.quotas); |
5223 unittest.expect(o.selfLink, unittest.equals('foo')); | 5297 unittest.expect(o.selfLink, unittest.equals('foo')); |
5224 unittest.expect(o.status, unittest.equals('foo')); | 5298 unittest.expect(o.status, unittest.equals('foo')); |
5225 checkUnnamed2109(o.zones); | 5299 checkUnnamed2123(o.zones); |
5226 } | 5300 } |
5227 buildCounterRegion--; | 5301 buildCounterRegion--; |
5228 } | 5302 } |
5229 | 5303 |
5230 buildUnnamed2110() { | 5304 buildUnnamed2124() { |
5231 var o = new core.List<api.Autoscaler>(); | 5305 var o = new core.List<api.Autoscaler>(); |
5232 o.add(buildAutoscaler()); | 5306 o.add(buildAutoscaler()); |
5233 o.add(buildAutoscaler()); | 5307 o.add(buildAutoscaler()); |
5234 return o; | 5308 return o; |
5235 } | 5309 } |
5236 | 5310 |
5237 checkUnnamed2110(core.List<api.Autoscaler> o) { | 5311 checkUnnamed2124(core.List<api.Autoscaler> o) { |
5238 unittest.expect(o, unittest.hasLength(2)); | 5312 unittest.expect(o, unittest.hasLength(2)); |
5239 checkAutoscaler(o[0]); | 5313 checkAutoscaler(o[0]); |
5240 checkAutoscaler(o[1]); | 5314 checkAutoscaler(o[1]); |
5241 } | 5315 } |
5242 | 5316 |
5243 core.int buildCounterRegionAutoscalerList = 0; | 5317 core.int buildCounterRegionAutoscalerList = 0; |
5244 buildRegionAutoscalerList() { | 5318 buildRegionAutoscalerList() { |
5245 var o = new api.RegionAutoscalerList(); | 5319 var o = new api.RegionAutoscalerList(); |
5246 buildCounterRegionAutoscalerList++; | 5320 buildCounterRegionAutoscalerList++; |
5247 if (buildCounterRegionAutoscalerList < 3) { | 5321 if (buildCounterRegionAutoscalerList < 3) { |
5248 o.id = "foo"; | 5322 o.id = "foo"; |
5249 o.items = buildUnnamed2110(); | 5323 o.items = buildUnnamed2124(); |
5250 o.kind = "foo"; | 5324 o.kind = "foo"; |
5251 o.nextPageToken = "foo"; | 5325 o.nextPageToken = "foo"; |
5252 o.selfLink = "foo"; | 5326 o.selfLink = "foo"; |
5253 } | 5327 } |
5254 buildCounterRegionAutoscalerList--; | 5328 buildCounterRegionAutoscalerList--; |
5255 return o; | 5329 return o; |
5256 } | 5330 } |
5257 | 5331 |
5258 checkRegionAutoscalerList(api.RegionAutoscalerList o) { | 5332 checkRegionAutoscalerList(api.RegionAutoscalerList o) { |
5259 buildCounterRegionAutoscalerList++; | 5333 buildCounterRegionAutoscalerList++; |
5260 if (buildCounterRegionAutoscalerList < 3) { | 5334 if (buildCounterRegionAutoscalerList < 3) { |
5261 unittest.expect(o.id, unittest.equals('foo')); | 5335 unittest.expect(o.id, unittest.equals('foo')); |
5262 checkUnnamed2110(o.items); | 5336 checkUnnamed2124(o.items); |
5263 unittest.expect(o.kind, unittest.equals('foo')); | 5337 unittest.expect(o.kind, unittest.equals('foo')); |
5264 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5338 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5265 unittest.expect(o.selfLink, unittest.equals('foo')); | 5339 unittest.expect(o.selfLink, unittest.equals('foo')); |
5266 } | 5340 } |
5267 buildCounterRegionAutoscalerList--; | 5341 buildCounterRegionAutoscalerList--; |
5268 } | 5342 } |
5269 | 5343 |
5270 buildUnnamed2111() { | 5344 buildUnnamed2125() { |
5271 var o = new core.List<api.InstanceGroup>(); | 5345 var o = new core.List<api.InstanceGroup>(); |
5272 o.add(buildInstanceGroup()); | 5346 o.add(buildInstanceGroup()); |
5273 o.add(buildInstanceGroup()); | 5347 o.add(buildInstanceGroup()); |
5274 return o; | 5348 return o; |
5275 } | 5349 } |
5276 | 5350 |
5277 checkUnnamed2111(core.List<api.InstanceGroup> o) { | 5351 checkUnnamed2125(core.List<api.InstanceGroup> o) { |
5278 unittest.expect(o, unittest.hasLength(2)); | 5352 unittest.expect(o, unittest.hasLength(2)); |
5279 checkInstanceGroup(o[0]); | 5353 checkInstanceGroup(o[0]); |
5280 checkInstanceGroup(o[1]); | 5354 checkInstanceGroup(o[1]); |
5281 } | 5355 } |
5282 | 5356 |
5283 core.int buildCounterRegionInstanceGroupList = 0; | 5357 core.int buildCounterRegionInstanceGroupList = 0; |
5284 buildRegionInstanceGroupList() { | 5358 buildRegionInstanceGroupList() { |
5285 var o = new api.RegionInstanceGroupList(); | 5359 var o = new api.RegionInstanceGroupList(); |
5286 buildCounterRegionInstanceGroupList++; | 5360 buildCounterRegionInstanceGroupList++; |
5287 if (buildCounterRegionInstanceGroupList < 3) { | 5361 if (buildCounterRegionInstanceGroupList < 3) { |
5288 o.id = "foo"; | 5362 o.id = "foo"; |
5289 o.items = buildUnnamed2111(); | 5363 o.items = buildUnnamed2125(); |
5290 o.kind = "foo"; | 5364 o.kind = "foo"; |
5291 o.nextPageToken = "foo"; | 5365 o.nextPageToken = "foo"; |
5292 o.selfLink = "foo"; | 5366 o.selfLink = "foo"; |
5293 } | 5367 } |
5294 buildCounterRegionInstanceGroupList--; | 5368 buildCounterRegionInstanceGroupList--; |
5295 return o; | 5369 return o; |
5296 } | 5370 } |
5297 | 5371 |
5298 checkRegionInstanceGroupList(api.RegionInstanceGroupList o) { | 5372 checkRegionInstanceGroupList(api.RegionInstanceGroupList o) { |
5299 buildCounterRegionInstanceGroupList++; | 5373 buildCounterRegionInstanceGroupList++; |
5300 if (buildCounterRegionInstanceGroupList < 3) { | 5374 if (buildCounterRegionInstanceGroupList < 3) { |
5301 unittest.expect(o.id, unittest.equals('foo')); | 5375 unittest.expect(o.id, unittest.equals('foo')); |
5302 checkUnnamed2111(o.items); | 5376 checkUnnamed2125(o.items); |
5303 unittest.expect(o.kind, unittest.equals('foo')); | 5377 unittest.expect(o.kind, unittest.equals('foo')); |
5304 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5378 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5305 unittest.expect(o.selfLink, unittest.equals('foo')); | 5379 unittest.expect(o.selfLink, unittest.equals('foo')); |
5306 } | 5380 } |
5307 buildCounterRegionInstanceGroupList--; | 5381 buildCounterRegionInstanceGroupList--; |
5308 } | 5382 } |
5309 | 5383 |
5310 buildUnnamed2112() { | 5384 buildUnnamed2126() { |
5311 var o = new core.List<api.InstanceGroupManager>(); | 5385 var o = new core.List<api.InstanceGroupManager>(); |
5312 o.add(buildInstanceGroupManager()); | 5386 o.add(buildInstanceGroupManager()); |
5313 o.add(buildInstanceGroupManager()); | 5387 o.add(buildInstanceGroupManager()); |
5314 return o; | 5388 return o; |
5315 } | 5389 } |
5316 | 5390 |
5317 checkUnnamed2112(core.List<api.InstanceGroupManager> o) { | 5391 checkUnnamed2126(core.List<api.InstanceGroupManager> o) { |
5318 unittest.expect(o, unittest.hasLength(2)); | 5392 unittest.expect(o, unittest.hasLength(2)); |
5319 checkInstanceGroupManager(o[0]); | 5393 checkInstanceGroupManager(o[0]); |
5320 checkInstanceGroupManager(o[1]); | 5394 checkInstanceGroupManager(o[1]); |
5321 } | 5395 } |
5322 | 5396 |
5323 core.int buildCounterRegionInstanceGroupManagerList = 0; | 5397 core.int buildCounterRegionInstanceGroupManagerList = 0; |
5324 buildRegionInstanceGroupManagerList() { | 5398 buildRegionInstanceGroupManagerList() { |
5325 var o = new api.RegionInstanceGroupManagerList(); | 5399 var o = new api.RegionInstanceGroupManagerList(); |
5326 buildCounterRegionInstanceGroupManagerList++; | 5400 buildCounterRegionInstanceGroupManagerList++; |
5327 if (buildCounterRegionInstanceGroupManagerList < 3) { | 5401 if (buildCounterRegionInstanceGroupManagerList < 3) { |
5328 o.id = "foo"; | 5402 o.id = "foo"; |
5329 o.items = buildUnnamed2112(); | 5403 o.items = buildUnnamed2126(); |
5330 o.kind = "foo"; | 5404 o.kind = "foo"; |
5331 o.nextPageToken = "foo"; | 5405 o.nextPageToken = "foo"; |
5332 o.selfLink = "foo"; | 5406 o.selfLink = "foo"; |
5333 } | 5407 } |
5334 buildCounterRegionInstanceGroupManagerList--; | 5408 buildCounterRegionInstanceGroupManagerList--; |
5335 return o; | 5409 return o; |
5336 } | 5410 } |
5337 | 5411 |
5338 checkRegionInstanceGroupManagerList(api.RegionInstanceGroupManagerList o) { | 5412 checkRegionInstanceGroupManagerList(api.RegionInstanceGroupManagerList o) { |
5339 buildCounterRegionInstanceGroupManagerList++; | 5413 buildCounterRegionInstanceGroupManagerList++; |
5340 if (buildCounterRegionInstanceGroupManagerList < 3) { | 5414 if (buildCounterRegionInstanceGroupManagerList < 3) { |
5341 unittest.expect(o.id, unittest.equals('foo')); | 5415 unittest.expect(o.id, unittest.equals('foo')); |
5342 checkUnnamed2112(o.items); | 5416 checkUnnamed2126(o.items); |
5343 unittest.expect(o.kind, unittest.equals('foo')); | 5417 unittest.expect(o.kind, unittest.equals('foo')); |
5344 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5418 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5345 unittest.expect(o.selfLink, unittest.equals('foo')); | 5419 unittest.expect(o.selfLink, unittest.equals('foo')); |
5346 } | 5420 } |
5347 buildCounterRegionInstanceGroupManagerList--; | 5421 buildCounterRegionInstanceGroupManagerList--; |
5348 } | 5422 } |
5349 | 5423 |
5350 buildUnnamed2113() { | 5424 buildUnnamed2127() { |
5351 var o = new core.List<core.String>(); | 5425 var o = new core.List<core.String>(); |
5352 o.add("foo"); | 5426 o.add("foo"); |
5353 o.add("foo"); | 5427 o.add("foo"); |
5354 return o; | 5428 return o; |
5355 } | 5429 } |
5356 | 5430 |
5357 checkUnnamed2113(core.List<core.String> o) { | 5431 checkUnnamed2127(core.List<core.String> o) { |
5358 unittest.expect(o, unittest.hasLength(2)); | 5432 unittest.expect(o, unittest.hasLength(2)); |
5359 unittest.expect(o[0], unittest.equals('foo')); | 5433 unittest.expect(o[0], unittest.equals('foo')); |
5360 unittest.expect(o[1], unittest.equals('foo')); | 5434 unittest.expect(o[1], unittest.equals('foo')); |
5361 } | 5435 } |
5362 | 5436 |
5363 core.int buildCounterRegionInstanceGroupManagersAbandonInstancesRequest = 0; | 5437 core.int buildCounterRegionInstanceGroupManagersAbandonInstancesRequest = 0; |
5364 buildRegionInstanceGroupManagersAbandonInstancesRequest() { | 5438 buildRegionInstanceGroupManagersAbandonInstancesRequest() { |
5365 var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest(); | 5439 var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest(); |
5366 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; | 5440 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; |
5367 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { | 5441 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { |
5368 o.instances = buildUnnamed2113(); | 5442 o.instances = buildUnnamed2127(); |
5369 } | 5443 } |
5370 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; | 5444 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; |
5371 return o; | 5445 return o; |
5372 } | 5446 } |
5373 | 5447 |
5374 checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupM
anagersAbandonInstancesRequest o) { | 5448 checkRegionInstanceGroupManagersAbandonInstancesRequest(api.RegionInstanceGroupM
anagersAbandonInstancesRequest o) { |
5375 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; | 5449 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++; |
5376 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { | 5450 if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) { |
5377 checkUnnamed2113(o.instances); | 5451 checkUnnamed2127(o.instances); |
5378 } | 5452 } |
5379 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; | 5453 buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--; |
5380 } | 5454 } |
5381 | 5455 |
5382 buildUnnamed2114() { | 5456 buildUnnamed2128() { |
5383 var o = new core.List<core.String>(); | 5457 var o = new core.List<core.String>(); |
5384 o.add("foo"); | 5458 o.add("foo"); |
5385 o.add("foo"); | 5459 o.add("foo"); |
5386 return o; | 5460 return o; |
5387 } | 5461 } |
5388 | 5462 |
5389 checkUnnamed2114(core.List<core.String> o) { | 5463 checkUnnamed2128(core.List<core.String> o) { |
5390 unittest.expect(o, unittest.hasLength(2)); | 5464 unittest.expect(o, unittest.hasLength(2)); |
5391 unittest.expect(o[0], unittest.equals('foo')); | 5465 unittest.expect(o[0], unittest.equals('foo')); |
5392 unittest.expect(o[1], unittest.equals('foo')); | 5466 unittest.expect(o[1], unittest.equals('foo')); |
5393 } | 5467 } |
5394 | 5468 |
5395 core.int buildCounterRegionInstanceGroupManagersDeleteInstancesRequest = 0; | 5469 core.int buildCounterRegionInstanceGroupManagersDeleteInstancesRequest = 0; |
5396 buildRegionInstanceGroupManagersDeleteInstancesRequest() { | 5470 buildRegionInstanceGroupManagersDeleteInstancesRequest() { |
5397 var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest(); | 5471 var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest(); |
5398 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; | 5472 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; |
5399 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { | 5473 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { |
5400 o.instances = buildUnnamed2114(); | 5474 o.instances = buildUnnamed2128(); |
5401 } | 5475 } |
5402 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; | 5476 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; |
5403 return o; | 5477 return o; |
5404 } | 5478 } |
5405 | 5479 |
5406 checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupMa
nagersDeleteInstancesRequest o) { | 5480 checkRegionInstanceGroupManagersDeleteInstancesRequest(api.RegionInstanceGroupMa
nagersDeleteInstancesRequest o) { |
5407 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; | 5481 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++; |
5408 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { | 5482 if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) { |
5409 checkUnnamed2114(o.instances); | 5483 checkUnnamed2128(o.instances); |
5410 } | 5484 } |
5411 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; | 5485 buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--; |
5412 } | 5486 } |
5413 | 5487 |
5414 buildUnnamed2115() { | 5488 buildUnnamed2129() { |
5415 var o = new core.List<api.ManagedInstance>(); | 5489 var o = new core.List<api.ManagedInstance>(); |
5416 o.add(buildManagedInstance()); | 5490 o.add(buildManagedInstance()); |
5417 o.add(buildManagedInstance()); | 5491 o.add(buildManagedInstance()); |
5418 return o; | 5492 return o; |
5419 } | 5493 } |
5420 | 5494 |
5421 checkUnnamed2115(core.List<api.ManagedInstance> o) { | 5495 checkUnnamed2129(core.List<api.ManagedInstance> o) { |
5422 unittest.expect(o, unittest.hasLength(2)); | 5496 unittest.expect(o, unittest.hasLength(2)); |
5423 checkManagedInstance(o[0]); | 5497 checkManagedInstance(o[0]); |
5424 checkManagedInstance(o[1]); | 5498 checkManagedInstance(o[1]); |
5425 } | 5499 } |
5426 | 5500 |
5427 core.int buildCounterRegionInstanceGroupManagersListInstancesResponse = 0; | 5501 core.int buildCounterRegionInstanceGroupManagersListInstancesResponse = 0; |
5428 buildRegionInstanceGroupManagersListInstancesResponse() { | 5502 buildRegionInstanceGroupManagersListInstancesResponse() { |
5429 var o = new api.RegionInstanceGroupManagersListInstancesResponse(); | 5503 var o = new api.RegionInstanceGroupManagersListInstancesResponse(); |
5430 buildCounterRegionInstanceGroupManagersListInstancesResponse++; | 5504 buildCounterRegionInstanceGroupManagersListInstancesResponse++; |
5431 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { | 5505 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { |
5432 o.managedInstances = buildUnnamed2115(); | 5506 o.managedInstances = buildUnnamed2129(); |
5433 } | 5507 } |
5434 buildCounterRegionInstanceGroupManagersListInstancesResponse--; | 5508 buildCounterRegionInstanceGroupManagersListInstancesResponse--; |
5435 return o; | 5509 return o; |
5436 } | 5510 } |
5437 | 5511 |
5438 checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupMan
agersListInstancesResponse o) { | 5512 checkRegionInstanceGroupManagersListInstancesResponse(api.RegionInstanceGroupMan
agersListInstancesResponse o) { |
5439 buildCounterRegionInstanceGroupManagersListInstancesResponse++; | 5513 buildCounterRegionInstanceGroupManagersListInstancesResponse++; |
5440 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { | 5514 if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) { |
5441 checkUnnamed2115(o.managedInstances); | 5515 checkUnnamed2129(o.managedInstances); |
5442 } | 5516 } |
5443 buildCounterRegionInstanceGroupManagersListInstancesResponse--; | 5517 buildCounterRegionInstanceGroupManagersListInstancesResponse--; |
5444 } | 5518 } |
5445 | 5519 |
5446 buildUnnamed2116() { | 5520 buildUnnamed2130() { |
5447 var o = new core.List<core.String>(); | 5521 var o = new core.List<core.String>(); |
5448 o.add("foo"); | 5522 o.add("foo"); |
5449 o.add("foo"); | 5523 o.add("foo"); |
5450 return o; | 5524 return o; |
5451 } | 5525 } |
5452 | 5526 |
5453 checkUnnamed2116(core.List<core.String> o) { | 5527 checkUnnamed2130(core.List<core.String> o) { |
5454 unittest.expect(o, unittest.hasLength(2)); | 5528 unittest.expect(o, unittest.hasLength(2)); |
5455 unittest.expect(o[0], unittest.equals('foo')); | 5529 unittest.expect(o[0], unittest.equals('foo')); |
5456 unittest.expect(o[1], unittest.equals('foo')); | 5530 unittest.expect(o[1], unittest.equals('foo')); |
5457 } | 5531 } |
5458 | 5532 |
5459 core.int buildCounterRegionInstanceGroupManagersRecreateRequest = 0; | 5533 core.int buildCounterRegionInstanceGroupManagersRecreateRequest = 0; |
5460 buildRegionInstanceGroupManagersRecreateRequest() { | 5534 buildRegionInstanceGroupManagersRecreateRequest() { |
5461 var o = new api.RegionInstanceGroupManagersRecreateRequest(); | 5535 var o = new api.RegionInstanceGroupManagersRecreateRequest(); |
5462 buildCounterRegionInstanceGroupManagersRecreateRequest++; | 5536 buildCounterRegionInstanceGroupManagersRecreateRequest++; |
5463 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { | 5537 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { |
5464 o.instances = buildUnnamed2116(); | 5538 o.instances = buildUnnamed2130(); |
5465 } | 5539 } |
5466 buildCounterRegionInstanceGroupManagersRecreateRequest--; | 5540 buildCounterRegionInstanceGroupManagersRecreateRequest--; |
5467 return o; | 5541 return o; |
5468 } | 5542 } |
5469 | 5543 |
5470 checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersR
ecreateRequest o) { | 5544 checkRegionInstanceGroupManagersRecreateRequest(api.RegionInstanceGroupManagersR
ecreateRequest o) { |
5471 buildCounterRegionInstanceGroupManagersRecreateRequest++; | 5545 buildCounterRegionInstanceGroupManagersRecreateRequest++; |
5472 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { | 5546 if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) { |
5473 checkUnnamed2116(o.instances); | 5547 checkUnnamed2130(o.instances); |
5474 } | 5548 } |
5475 buildCounterRegionInstanceGroupManagersRecreateRequest--; | 5549 buildCounterRegionInstanceGroupManagersRecreateRequest--; |
5476 } | 5550 } |
5477 | 5551 |
5478 buildUnnamed2117() { | 5552 buildUnnamed2131() { |
5479 var o = new core.List<core.String>(); | 5553 var o = new core.List<core.String>(); |
5480 o.add("foo"); | 5554 o.add("foo"); |
5481 o.add("foo"); | 5555 o.add("foo"); |
5482 return o; | 5556 return o; |
5483 } | 5557 } |
5484 | 5558 |
5485 checkUnnamed2117(core.List<core.String> o) { | 5559 checkUnnamed2131(core.List<core.String> o) { |
5486 unittest.expect(o, unittest.hasLength(2)); | 5560 unittest.expect(o, unittest.hasLength(2)); |
5487 unittest.expect(o[0], unittest.equals('foo')); | 5561 unittest.expect(o[0], unittest.equals('foo')); |
5488 unittest.expect(o[1], unittest.equals('foo')); | 5562 unittest.expect(o[1], unittest.equals('foo')); |
5489 } | 5563 } |
5490 | 5564 |
5491 core.int buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest = 0; | 5565 core.int buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest = 0; |
5492 buildRegionInstanceGroupManagersSetTargetPoolsRequest() { | 5566 buildRegionInstanceGroupManagersSetTargetPoolsRequest() { |
5493 var o = new api.RegionInstanceGroupManagersSetTargetPoolsRequest(); | 5567 var o = new api.RegionInstanceGroupManagersSetTargetPoolsRequest(); |
5494 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; | 5568 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; |
5495 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { | 5569 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { |
5496 o.fingerprint = "foo"; | 5570 o.fingerprint = "foo"; |
5497 o.targetPools = buildUnnamed2117(); | 5571 o.targetPools = buildUnnamed2131(); |
5498 } | 5572 } |
5499 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; | 5573 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; |
5500 return o; | 5574 return o; |
5501 } | 5575 } |
5502 | 5576 |
5503 checkRegionInstanceGroupManagersSetTargetPoolsRequest(api.RegionInstanceGroupMan
agersSetTargetPoolsRequest o) { | 5577 checkRegionInstanceGroupManagersSetTargetPoolsRequest(api.RegionInstanceGroupMan
agersSetTargetPoolsRequest o) { |
5504 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; | 5578 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++; |
5505 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { | 5579 if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) { |
5506 unittest.expect(o.fingerprint, unittest.equals('foo')); | 5580 unittest.expect(o.fingerprint, unittest.equals('foo')); |
5507 checkUnnamed2117(o.targetPools); | 5581 checkUnnamed2131(o.targetPools); |
5508 } | 5582 } |
5509 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; | 5583 buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--; |
5510 } | 5584 } |
5511 | 5585 |
5512 core.int buildCounterRegionInstanceGroupManagersSetTemplateRequest = 0; | 5586 core.int buildCounterRegionInstanceGroupManagersSetTemplateRequest = 0; |
5513 buildRegionInstanceGroupManagersSetTemplateRequest() { | 5587 buildRegionInstanceGroupManagersSetTemplateRequest() { |
5514 var o = new api.RegionInstanceGroupManagersSetTemplateRequest(); | 5588 var o = new api.RegionInstanceGroupManagersSetTemplateRequest(); |
5515 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; | 5589 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; |
5516 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { | 5590 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { |
5517 o.instanceTemplate = "foo"; | 5591 o.instanceTemplate = "foo"; |
5518 } | 5592 } |
5519 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; | 5593 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; |
5520 return o; | 5594 return o; |
5521 } | 5595 } |
5522 | 5596 |
5523 checkRegionInstanceGroupManagersSetTemplateRequest(api.RegionInstanceGroupManage
rsSetTemplateRequest o) { | 5597 checkRegionInstanceGroupManagersSetTemplateRequest(api.RegionInstanceGroupManage
rsSetTemplateRequest o) { |
5524 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; | 5598 buildCounterRegionInstanceGroupManagersSetTemplateRequest++; |
5525 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { | 5599 if (buildCounterRegionInstanceGroupManagersSetTemplateRequest < 3) { |
5526 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 5600 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
5527 } | 5601 } |
5528 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; | 5602 buildCounterRegionInstanceGroupManagersSetTemplateRequest--; |
5529 } | 5603 } |
5530 | 5604 |
5531 buildUnnamed2118() { | 5605 buildUnnamed2132() { |
5532 var o = new core.List<api.InstanceWithNamedPorts>(); | 5606 var o = new core.List<api.InstanceWithNamedPorts>(); |
5533 o.add(buildInstanceWithNamedPorts()); | 5607 o.add(buildInstanceWithNamedPorts()); |
5534 o.add(buildInstanceWithNamedPorts()); | 5608 o.add(buildInstanceWithNamedPorts()); |
5535 return o; | 5609 return o; |
5536 } | 5610 } |
5537 | 5611 |
5538 checkUnnamed2118(core.List<api.InstanceWithNamedPorts> o) { | 5612 checkUnnamed2132(core.List<api.InstanceWithNamedPorts> o) { |
5539 unittest.expect(o, unittest.hasLength(2)); | 5613 unittest.expect(o, unittest.hasLength(2)); |
5540 checkInstanceWithNamedPorts(o[0]); | 5614 checkInstanceWithNamedPorts(o[0]); |
5541 checkInstanceWithNamedPorts(o[1]); | 5615 checkInstanceWithNamedPorts(o[1]); |
5542 } | 5616 } |
5543 | 5617 |
5544 core.int buildCounterRegionInstanceGroupsListInstances = 0; | 5618 core.int buildCounterRegionInstanceGroupsListInstances = 0; |
5545 buildRegionInstanceGroupsListInstances() { | 5619 buildRegionInstanceGroupsListInstances() { |
5546 var o = new api.RegionInstanceGroupsListInstances(); | 5620 var o = new api.RegionInstanceGroupsListInstances(); |
5547 buildCounterRegionInstanceGroupsListInstances++; | 5621 buildCounterRegionInstanceGroupsListInstances++; |
5548 if (buildCounterRegionInstanceGroupsListInstances < 3) { | 5622 if (buildCounterRegionInstanceGroupsListInstances < 3) { |
5549 o.id = "foo"; | 5623 o.id = "foo"; |
5550 o.items = buildUnnamed2118(); | 5624 o.items = buildUnnamed2132(); |
5551 o.kind = "foo"; | 5625 o.kind = "foo"; |
5552 o.nextPageToken = "foo"; | 5626 o.nextPageToken = "foo"; |
5553 o.selfLink = "foo"; | 5627 o.selfLink = "foo"; |
5554 } | 5628 } |
5555 buildCounterRegionInstanceGroupsListInstances--; | 5629 buildCounterRegionInstanceGroupsListInstances--; |
5556 return o; | 5630 return o; |
5557 } | 5631 } |
5558 | 5632 |
5559 checkRegionInstanceGroupsListInstances(api.RegionInstanceGroupsListInstances o)
{ | 5633 checkRegionInstanceGroupsListInstances(api.RegionInstanceGroupsListInstances o)
{ |
5560 buildCounterRegionInstanceGroupsListInstances++; | 5634 buildCounterRegionInstanceGroupsListInstances++; |
5561 if (buildCounterRegionInstanceGroupsListInstances < 3) { | 5635 if (buildCounterRegionInstanceGroupsListInstances < 3) { |
5562 unittest.expect(o.id, unittest.equals('foo')); | 5636 unittest.expect(o.id, unittest.equals('foo')); |
5563 checkUnnamed2118(o.items); | 5637 checkUnnamed2132(o.items); |
5564 unittest.expect(o.kind, unittest.equals('foo')); | 5638 unittest.expect(o.kind, unittest.equals('foo')); |
5565 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5639 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5566 unittest.expect(o.selfLink, unittest.equals('foo')); | 5640 unittest.expect(o.selfLink, unittest.equals('foo')); |
5567 } | 5641 } |
5568 buildCounterRegionInstanceGroupsListInstances--; | 5642 buildCounterRegionInstanceGroupsListInstances--; |
5569 } | 5643 } |
5570 | 5644 |
5571 core.int buildCounterRegionInstanceGroupsListInstancesRequest = 0; | 5645 core.int buildCounterRegionInstanceGroupsListInstancesRequest = 0; |
5572 buildRegionInstanceGroupsListInstancesRequest() { | 5646 buildRegionInstanceGroupsListInstancesRequest() { |
5573 var o = new api.RegionInstanceGroupsListInstancesRequest(); | 5647 var o = new api.RegionInstanceGroupsListInstancesRequest(); |
5574 buildCounterRegionInstanceGroupsListInstancesRequest++; | 5648 buildCounterRegionInstanceGroupsListInstancesRequest++; |
5575 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { | 5649 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { |
5576 o.instanceState = "foo"; | 5650 o.instanceState = "foo"; |
5577 o.portName = "foo"; | 5651 o.portName = "foo"; |
5578 } | 5652 } |
5579 buildCounterRegionInstanceGroupsListInstancesRequest--; | 5653 buildCounterRegionInstanceGroupsListInstancesRequest--; |
5580 return o; | 5654 return o; |
5581 } | 5655 } |
5582 | 5656 |
5583 checkRegionInstanceGroupsListInstancesRequest(api.RegionInstanceGroupsListInstan
cesRequest o) { | 5657 checkRegionInstanceGroupsListInstancesRequest(api.RegionInstanceGroupsListInstan
cesRequest o) { |
5584 buildCounterRegionInstanceGroupsListInstancesRequest++; | 5658 buildCounterRegionInstanceGroupsListInstancesRequest++; |
5585 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { | 5659 if (buildCounterRegionInstanceGroupsListInstancesRequest < 3) { |
5586 unittest.expect(o.instanceState, unittest.equals('foo')); | 5660 unittest.expect(o.instanceState, unittest.equals('foo')); |
5587 unittest.expect(o.portName, unittest.equals('foo')); | 5661 unittest.expect(o.portName, unittest.equals('foo')); |
5588 } | 5662 } |
5589 buildCounterRegionInstanceGroupsListInstancesRequest--; | 5663 buildCounterRegionInstanceGroupsListInstancesRequest--; |
5590 } | 5664 } |
5591 | 5665 |
5592 buildUnnamed2119() { | 5666 buildUnnamed2133() { |
5593 var o = new core.List<api.NamedPort>(); | 5667 var o = new core.List<api.NamedPort>(); |
5594 o.add(buildNamedPort()); | 5668 o.add(buildNamedPort()); |
5595 o.add(buildNamedPort()); | 5669 o.add(buildNamedPort()); |
5596 return o; | 5670 return o; |
5597 } | 5671 } |
5598 | 5672 |
5599 checkUnnamed2119(core.List<api.NamedPort> o) { | 5673 checkUnnamed2133(core.List<api.NamedPort> o) { |
5600 unittest.expect(o, unittest.hasLength(2)); | 5674 unittest.expect(o, unittest.hasLength(2)); |
5601 checkNamedPort(o[0]); | 5675 checkNamedPort(o[0]); |
5602 checkNamedPort(o[1]); | 5676 checkNamedPort(o[1]); |
5603 } | 5677 } |
5604 | 5678 |
5605 core.int buildCounterRegionInstanceGroupsSetNamedPortsRequest = 0; | 5679 core.int buildCounterRegionInstanceGroupsSetNamedPortsRequest = 0; |
5606 buildRegionInstanceGroupsSetNamedPortsRequest() { | 5680 buildRegionInstanceGroupsSetNamedPortsRequest() { |
5607 var o = new api.RegionInstanceGroupsSetNamedPortsRequest(); | 5681 var o = new api.RegionInstanceGroupsSetNamedPortsRequest(); |
5608 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; | 5682 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; |
5609 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { | 5683 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { |
5610 o.fingerprint = "foo"; | 5684 o.fingerprint = "foo"; |
5611 o.namedPorts = buildUnnamed2119(); | 5685 o.namedPorts = buildUnnamed2133(); |
5612 } | 5686 } |
5613 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; | 5687 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; |
5614 return o; | 5688 return o; |
5615 } | 5689 } |
5616 | 5690 |
5617 checkRegionInstanceGroupsSetNamedPortsRequest(api.RegionInstanceGroupsSetNamedPo
rtsRequest o) { | 5691 checkRegionInstanceGroupsSetNamedPortsRequest(api.RegionInstanceGroupsSetNamedPo
rtsRequest o) { |
5618 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; | 5692 buildCounterRegionInstanceGroupsSetNamedPortsRequest++; |
5619 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { | 5693 if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) { |
5620 unittest.expect(o.fingerprint, unittest.equals('foo')); | 5694 unittest.expect(o.fingerprint, unittest.equals('foo')); |
5621 checkUnnamed2119(o.namedPorts); | 5695 checkUnnamed2133(o.namedPorts); |
5622 } | 5696 } |
5623 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; | 5697 buildCounterRegionInstanceGroupsSetNamedPortsRequest--; |
5624 } | 5698 } |
5625 | 5699 |
5626 buildUnnamed2120() { | 5700 buildUnnamed2134() { |
5627 var o = new core.List<api.Region>(); | 5701 var o = new core.List<api.Region>(); |
5628 o.add(buildRegion()); | 5702 o.add(buildRegion()); |
5629 o.add(buildRegion()); | 5703 o.add(buildRegion()); |
5630 return o; | 5704 return o; |
5631 } | 5705 } |
5632 | 5706 |
5633 checkUnnamed2120(core.List<api.Region> o) { | 5707 checkUnnamed2134(core.List<api.Region> o) { |
5634 unittest.expect(o, unittest.hasLength(2)); | 5708 unittest.expect(o, unittest.hasLength(2)); |
5635 checkRegion(o[0]); | 5709 checkRegion(o[0]); |
5636 checkRegion(o[1]); | 5710 checkRegion(o[1]); |
5637 } | 5711 } |
5638 | 5712 |
5639 core.int buildCounterRegionList = 0; | 5713 core.int buildCounterRegionList = 0; |
5640 buildRegionList() { | 5714 buildRegionList() { |
5641 var o = new api.RegionList(); | 5715 var o = new api.RegionList(); |
5642 buildCounterRegionList++; | 5716 buildCounterRegionList++; |
5643 if (buildCounterRegionList < 3) { | 5717 if (buildCounterRegionList < 3) { |
5644 o.id = "foo"; | 5718 o.id = "foo"; |
5645 o.items = buildUnnamed2120(); | 5719 o.items = buildUnnamed2134(); |
5646 o.kind = "foo"; | 5720 o.kind = "foo"; |
5647 o.nextPageToken = "foo"; | 5721 o.nextPageToken = "foo"; |
5648 o.selfLink = "foo"; | 5722 o.selfLink = "foo"; |
5649 } | 5723 } |
5650 buildCounterRegionList--; | 5724 buildCounterRegionList--; |
5651 return o; | 5725 return o; |
5652 } | 5726 } |
5653 | 5727 |
5654 checkRegionList(api.RegionList o) { | 5728 checkRegionList(api.RegionList o) { |
5655 buildCounterRegionList++; | 5729 buildCounterRegionList++; |
5656 if (buildCounterRegionList < 3) { | 5730 if (buildCounterRegionList < 3) { |
5657 unittest.expect(o.id, unittest.equals('foo')); | 5731 unittest.expect(o.id, unittest.equals('foo')); |
5658 checkUnnamed2120(o.items); | 5732 checkUnnamed2134(o.items); |
5659 unittest.expect(o.kind, unittest.equals('foo')); | 5733 unittest.expect(o.kind, unittest.equals('foo')); |
5660 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5734 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5661 unittest.expect(o.selfLink, unittest.equals('foo')); | 5735 unittest.expect(o.selfLink, unittest.equals('foo')); |
5662 } | 5736 } |
5663 buildCounterRegionList--; | 5737 buildCounterRegionList--; |
5664 } | 5738 } |
5665 | 5739 |
5666 core.int buildCounterResourceGroupReference = 0; | 5740 core.int buildCounterResourceGroupReference = 0; |
5667 buildResourceGroupReference() { | 5741 buildResourceGroupReference() { |
5668 var o = new api.ResourceGroupReference(); | 5742 var o = new api.ResourceGroupReference(); |
5669 buildCounterResourceGroupReference++; | 5743 buildCounterResourceGroupReference++; |
5670 if (buildCounterResourceGroupReference < 3) { | 5744 if (buildCounterResourceGroupReference < 3) { |
5671 o.group = "foo"; | 5745 o.group = "foo"; |
5672 } | 5746 } |
5673 buildCounterResourceGroupReference--; | 5747 buildCounterResourceGroupReference--; |
5674 return o; | 5748 return o; |
5675 } | 5749 } |
5676 | 5750 |
5677 checkResourceGroupReference(api.ResourceGroupReference o) { | 5751 checkResourceGroupReference(api.ResourceGroupReference o) { |
5678 buildCounterResourceGroupReference++; | 5752 buildCounterResourceGroupReference++; |
5679 if (buildCounterResourceGroupReference < 3) { | 5753 if (buildCounterResourceGroupReference < 3) { |
5680 unittest.expect(o.group, unittest.equals('foo')); | 5754 unittest.expect(o.group, unittest.equals('foo')); |
5681 } | 5755 } |
5682 buildCounterResourceGroupReference--; | 5756 buildCounterResourceGroupReference--; |
5683 } | 5757 } |
5684 | 5758 |
5685 buildUnnamed2121() { | 5759 buildUnnamed2135() { |
5686 var o = new core.List<core.String>(); | 5760 var o = new core.List<core.String>(); |
5687 o.add("foo"); | 5761 o.add("foo"); |
5688 o.add("foo"); | 5762 o.add("foo"); |
5689 return o; | 5763 return o; |
5690 } | 5764 } |
5691 | 5765 |
5692 checkUnnamed2121(core.List<core.String> o) { | 5766 checkUnnamed2135(core.List<core.String> o) { |
5693 unittest.expect(o, unittest.hasLength(2)); | 5767 unittest.expect(o, unittest.hasLength(2)); |
5694 unittest.expect(o[0], unittest.equals('foo')); | 5768 unittest.expect(o[0], unittest.equals('foo')); |
5695 unittest.expect(o[1], unittest.equals('foo')); | 5769 unittest.expect(o[1], unittest.equals('foo')); |
5696 } | 5770 } |
5697 | 5771 |
5698 core.int buildCounterRouteWarningsData = 0; | 5772 core.int buildCounterRouteWarningsData = 0; |
5699 buildRouteWarningsData() { | 5773 buildRouteWarningsData() { |
5700 var o = new api.RouteWarningsData(); | 5774 var o = new api.RouteWarningsData(); |
5701 buildCounterRouteWarningsData++; | 5775 buildCounterRouteWarningsData++; |
5702 if (buildCounterRouteWarningsData < 3) { | 5776 if (buildCounterRouteWarningsData < 3) { |
5703 o.key = "foo"; | 5777 o.key = "foo"; |
5704 o.value = "foo"; | 5778 o.value = "foo"; |
5705 } | 5779 } |
5706 buildCounterRouteWarningsData--; | 5780 buildCounterRouteWarningsData--; |
5707 return o; | 5781 return o; |
5708 } | 5782 } |
5709 | 5783 |
5710 checkRouteWarningsData(api.RouteWarningsData o) { | 5784 checkRouteWarningsData(api.RouteWarningsData o) { |
5711 buildCounterRouteWarningsData++; | 5785 buildCounterRouteWarningsData++; |
5712 if (buildCounterRouteWarningsData < 3) { | 5786 if (buildCounterRouteWarningsData < 3) { |
5713 unittest.expect(o.key, unittest.equals('foo')); | 5787 unittest.expect(o.key, unittest.equals('foo')); |
5714 unittest.expect(o.value, unittest.equals('foo')); | 5788 unittest.expect(o.value, unittest.equals('foo')); |
5715 } | 5789 } |
5716 buildCounterRouteWarningsData--; | 5790 buildCounterRouteWarningsData--; |
5717 } | 5791 } |
5718 | 5792 |
5719 buildUnnamed2122() { | 5793 buildUnnamed2136() { |
5720 var o = new core.List<api.RouteWarningsData>(); | 5794 var o = new core.List<api.RouteWarningsData>(); |
5721 o.add(buildRouteWarningsData()); | 5795 o.add(buildRouteWarningsData()); |
5722 o.add(buildRouteWarningsData()); | 5796 o.add(buildRouteWarningsData()); |
5723 return o; | 5797 return o; |
5724 } | 5798 } |
5725 | 5799 |
5726 checkUnnamed2122(core.List<api.RouteWarningsData> o) { | 5800 checkUnnamed2136(core.List<api.RouteWarningsData> o) { |
5727 unittest.expect(o, unittest.hasLength(2)); | 5801 unittest.expect(o, unittest.hasLength(2)); |
5728 checkRouteWarningsData(o[0]); | 5802 checkRouteWarningsData(o[0]); |
5729 checkRouteWarningsData(o[1]); | 5803 checkRouteWarningsData(o[1]); |
5730 } | 5804 } |
5731 | 5805 |
5732 core.int buildCounterRouteWarnings = 0; | 5806 core.int buildCounterRouteWarnings = 0; |
5733 buildRouteWarnings() { | 5807 buildRouteWarnings() { |
5734 var o = new api.RouteWarnings(); | 5808 var o = new api.RouteWarnings(); |
5735 buildCounterRouteWarnings++; | 5809 buildCounterRouteWarnings++; |
5736 if (buildCounterRouteWarnings < 3) { | 5810 if (buildCounterRouteWarnings < 3) { |
5737 o.code = "foo"; | 5811 o.code = "foo"; |
5738 o.data = buildUnnamed2122(); | 5812 o.data = buildUnnamed2136(); |
5739 o.message = "foo"; | 5813 o.message = "foo"; |
5740 } | 5814 } |
5741 buildCounterRouteWarnings--; | 5815 buildCounterRouteWarnings--; |
5742 return o; | 5816 return o; |
5743 } | 5817 } |
5744 | 5818 |
5745 checkRouteWarnings(api.RouteWarnings o) { | 5819 checkRouteWarnings(api.RouteWarnings o) { |
5746 buildCounterRouteWarnings++; | 5820 buildCounterRouteWarnings++; |
5747 if (buildCounterRouteWarnings < 3) { | 5821 if (buildCounterRouteWarnings < 3) { |
5748 unittest.expect(o.code, unittest.equals('foo')); | 5822 unittest.expect(o.code, unittest.equals('foo')); |
5749 checkUnnamed2122(o.data); | 5823 checkUnnamed2136(o.data); |
5750 unittest.expect(o.message, unittest.equals('foo')); | 5824 unittest.expect(o.message, unittest.equals('foo')); |
5751 } | 5825 } |
5752 buildCounterRouteWarnings--; | 5826 buildCounterRouteWarnings--; |
5753 } | 5827 } |
5754 | 5828 |
5755 buildUnnamed2123() { | 5829 buildUnnamed2137() { |
5756 var o = new core.List<api.RouteWarnings>(); | 5830 var o = new core.List<api.RouteWarnings>(); |
5757 o.add(buildRouteWarnings()); | 5831 o.add(buildRouteWarnings()); |
5758 o.add(buildRouteWarnings()); | 5832 o.add(buildRouteWarnings()); |
5759 return o; | 5833 return o; |
5760 } | 5834 } |
5761 | 5835 |
5762 checkUnnamed2123(core.List<api.RouteWarnings> o) { | 5836 checkUnnamed2137(core.List<api.RouteWarnings> o) { |
5763 unittest.expect(o, unittest.hasLength(2)); | 5837 unittest.expect(o, unittest.hasLength(2)); |
5764 checkRouteWarnings(o[0]); | 5838 checkRouteWarnings(o[0]); |
5765 checkRouteWarnings(o[1]); | 5839 checkRouteWarnings(o[1]); |
5766 } | 5840 } |
5767 | 5841 |
5768 core.int buildCounterRoute = 0; | 5842 core.int buildCounterRoute = 0; |
5769 buildRoute() { | 5843 buildRoute() { |
5770 var o = new api.Route(); | 5844 var o = new api.Route(); |
5771 buildCounterRoute++; | 5845 buildCounterRoute++; |
5772 if (buildCounterRoute < 3) { | 5846 if (buildCounterRoute < 3) { |
5773 o.creationTimestamp = "foo"; | 5847 o.creationTimestamp = "foo"; |
5774 o.description = "foo"; | 5848 o.description = "foo"; |
5775 o.destRange = "foo"; | 5849 o.destRange = "foo"; |
5776 o.id = "foo"; | 5850 o.id = "foo"; |
5777 o.kind = "foo"; | 5851 o.kind = "foo"; |
5778 o.name = "foo"; | 5852 o.name = "foo"; |
5779 o.network = "foo"; | 5853 o.network = "foo"; |
5780 o.nextHopGateway = "foo"; | 5854 o.nextHopGateway = "foo"; |
5781 o.nextHopInstance = "foo"; | 5855 o.nextHopInstance = "foo"; |
5782 o.nextHopIp = "foo"; | 5856 o.nextHopIp = "foo"; |
5783 o.nextHopNetwork = "foo"; | 5857 o.nextHopNetwork = "foo"; |
5784 o.nextHopVpnTunnel = "foo"; | 5858 o.nextHopVpnTunnel = "foo"; |
5785 o.priority = 42; | 5859 o.priority = 42; |
5786 o.selfLink = "foo"; | 5860 o.selfLink = "foo"; |
5787 o.tags = buildUnnamed2121(); | 5861 o.tags = buildUnnamed2135(); |
5788 o.warnings = buildUnnamed2123(); | 5862 o.warnings = buildUnnamed2137(); |
5789 } | 5863 } |
5790 buildCounterRoute--; | 5864 buildCounterRoute--; |
5791 return o; | 5865 return o; |
5792 } | 5866 } |
5793 | 5867 |
5794 checkRoute(api.Route o) { | 5868 checkRoute(api.Route o) { |
5795 buildCounterRoute++; | 5869 buildCounterRoute++; |
5796 if (buildCounterRoute < 3) { | 5870 if (buildCounterRoute < 3) { |
5797 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5871 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5798 unittest.expect(o.description, unittest.equals('foo')); | 5872 unittest.expect(o.description, unittest.equals('foo')); |
5799 unittest.expect(o.destRange, unittest.equals('foo')); | 5873 unittest.expect(o.destRange, unittest.equals('foo')); |
5800 unittest.expect(o.id, unittest.equals('foo')); | 5874 unittest.expect(o.id, unittest.equals('foo')); |
5801 unittest.expect(o.kind, unittest.equals('foo')); | 5875 unittest.expect(o.kind, unittest.equals('foo')); |
5802 unittest.expect(o.name, unittest.equals('foo')); | 5876 unittest.expect(o.name, unittest.equals('foo')); |
5803 unittest.expect(o.network, unittest.equals('foo')); | 5877 unittest.expect(o.network, unittest.equals('foo')); |
5804 unittest.expect(o.nextHopGateway, unittest.equals('foo')); | 5878 unittest.expect(o.nextHopGateway, unittest.equals('foo')); |
5805 unittest.expect(o.nextHopInstance, unittest.equals('foo')); | 5879 unittest.expect(o.nextHopInstance, unittest.equals('foo')); |
5806 unittest.expect(o.nextHopIp, unittest.equals('foo')); | 5880 unittest.expect(o.nextHopIp, unittest.equals('foo')); |
5807 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); | 5881 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); |
5808 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); | 5882 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); |
5809 unittest.expect(o.priority, unittest.equals(42)); | 5883 unittest.expect(o.priority, unittest.equals(42)); |
5810 unittest.expect(o.selfLink, unittest.equals('foo')); | 5884 unittest.expect(o.selfLink, unittest.equals('foo')); |
5811 checkUnnamed2121(o.tags); | 5885 checkUnnamed2135(o.tags); |
5812 checkUnnamed2123(o.warnings); | 5886 checkUnnamed2137(o.warnings); |
5813 } | 5887 } |
5814 buildCounterRoute--; | 5888 buildCounterRoute--; |
5815 } | 5889 } |
5816 | 5890 |
5817 buildUnnamed2124() { | 5891 buildUnnamed2138() { |
5818 var o = new core.List<api.Route>(); | 5892 var o = new core.List<api.Route>(); |
5819 o.add(buildRoute()); | 5893 o.add(buildRoute()); |
5820 o.add(buildRoute()); | 5894 o.add(buildRoute()); |
5821 return o; | 5895 return o; |
5822 } | 5896 } |
5823 | 5897 |
5824 checkUnnamed2124(core.List<api.Route> o) { | 5898 checkUnnamed2138(core.List<api.Route> o) { |
5825 unittest.expect(o, unittest.hasLength(2)); | 5899 unittest.expect(o, unittest.hasLength(2)); |
5826 checkRoute(o[0]); | 5900 checkRoute(o[0]); |
5827 checkRoute(o[1]); | 5901 checkRoute(o[1]); |
5828 } | 5902 } |
5829 | 5903 |
5830 core.int buildCounterRouteList = 0; | 5904 core.int buildCounterRouteList = 0; |
5831 buildRouteList() { | 5905 buildRouteList() { |
5832 var o = new api.RouteList(); | 5906 var o = new api.RouteList(); |
5833 buildCounterRouteList++; | 5907 buildCounterRouteList++; |
5834 if (buildCounterRouteList < 3) { | 5908 if (buildCounterRouteList < 3) { |
5835 o.id = "foo"; | 5909 o.id = "foo"; |
5836 o.items = buildUnnamed2124(); | 5910 o.items = buildUnnamed2138(); |
5837 o.kind = "foo"; | 5911 o.kind = "foo"; |
5838 o.nextPageToken = "foo"; | 5912 o.nextPageToken = "foo"; |
5839 o.selfLink = "foo"; | 5913 o.selfLink = "foo"; |
5840 } | 5914 } |
5841 buildCounterRouteList--; | 5915 buildCounterRouteList--; |
5842 return o; | 5916 return o; |
5843 } | 5917 } |
5844 | 5918 |
5845 checkRouteList(api.RouteList o) { | 5919 checkRouteList(api.RouteList o) { |
5846 buildCounterRouteList++; | 5920 buildCounterRouteList++; |
5847 if (buildCounterRouteList < 3) { | 5921 if (buildCounterRouteList < 3) { |
5848 unittest.expect(o.id, unittest.equals('foo')); | 5922 unittest.expect(o.id, unittest.equals('foo')); |
5849 checkUnnamed2124(o.items); | 5923 checkUnnamed2138(o.items); |
5850 unittest.expect(o.kind, unittest.equals('foo')); | 5924 unittest.expect(o.kind, unittest.equals('foo')); |
5851 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5925 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5852 unittest.expect(o.selfLink, unittest.equals('foo')); | 5926 unittest.expect(o.selfLink, unittest.equals('foo')); |
5853 } | 5927 } |
5854 buildCounterRouteList--; | 5928 buildCounterRouteList--; |
5855 } | 5929 } |
5856 | 5930 |
5857 buildUnnamed2125() { | 5931 buildUnnamed2139() { |
5858 var o = new core.List<api.RouterBgpPeer>(); | 5932 var o = new core.List<api.RouterBgpPeer>(); |
5859 o.add(buildRouterBgpPeer()); | 5933 o.add(buildRouterBgpPeer()); |
5860 o.add(buildRouterBgpPeer()); | 5934 o.add(buildRouterBgpPeer()); |
5861 return o; | 5935 return o; |
5862 } | 5936 } |
5863 | 5937 |
5864 checkUnnamed2125(core.List<api.RouterBgpPeer> o) { | 5938 checkUnnamed2139(core.List<api.RouterBgpPeer> o) { |
5865 unittest.expect(o, unittest.hasLength(2)); | 5939 unittest.expect(o, unittest.hasLength(2)); |
5866 checkRouterBgpPeer(o[0]); | 5940 checkRouterBgpPeer(o[0]); |
5867 checkRouterBgpPeer(o[1]); | 5941 checkRouterBgpPeer(o[1]); |
5868 } | 5942 } |
5869 | 5943 |
5870 buildUnnamed2126() { | 5944 buildUnnamed2140() { |
5871 var o = new core.List<api.RouterInterface>(); | 5945 var o = new core.List<api.RouterInterface>(); |
5872 o.add(buildRouterInterface()); | 5946 o.add(buildRouterInterface()); |
5873 o.add(buildRouterInterface()); | 5947 o.add(buildRouterInterface()); |
5874 return o; | 5948 return o; |
5875 } | 5949 } |
5876 | 5950 |
5877 checkUnnamed2126(core.List<api.RouterInterface> o) { | 5951 checkUnnamed2140(core.List<api.RouterInterface> o) { |
5878 unittest.expect(o, unittest.hasLength(2)); | 5952 unittest.expect(o, unittest.hasLength(2)); |
5879 checkRouterInterface(o[0]); | 5953 checkRouterInterface(o[0]); |
5880 checkRouterInterface(o[1]); | 5954 checkRouterInterface(o[1]); |
5881 } | 5955 } |
5882 | 5956 |
5883 core.int buildCounterRouter = 0; | 5957 core.int buildCounterRouter = 0; |
5884 buildRouter() { | 5958 buildRouter() { |
5885 var o = new api.Router(); | 5959 var o = new api.Router(); |
5886 buildCounterRouter++; | 5960 buildCounterRouter++; |
5887 if (buildCounterRouter < 3) { | 5961 if (buildCounterRouter < 3) { |
5888 o.bgp = buildRouterBgp(); | 5962 o.bgp = buildRouterBgp(); |
5889 o.bgpPeers = buildUnnamed2125(); | 5963 o.bgpPeers = buildUnnamed2139(); |
5890 o.creationTimestamp = "foo"; | 5964 o.creationTimestamp = "foo"; |
5891 o.description = "foo"; | 5965 o.description = "foo"; |
5892 o.id = "foo"; | 5966 o.id = "foo"; |
5893 o.interfaces = buildUnnamed2126(); | 5967 o.interfaces = buildUnnamed2140(); |
5894 o.kind = "foo"; | 5968 o.kind = "foo"; |
5895 o.name = "foo"; | 5969 o.name = "foo"; |
5896 o.network = "foo"; | 5970 o.network = "foo"; |
5897 o.region = "foo"; | 5971 o.region = "foo"; |
5898 o.selfLink = "foo"; | 5972 o.selfLink = "foo"; |
5899 } | 5973 } |
5900 buildCounterRouter--; | 5974 buildCounterRouter--; |
5901 return o; | 5975 return o; |
5902 } | 5976 } |
5903 | 5977 |
5904 checkRouter(api.Router o) { | 5978 checkRouter(api.Router o) { |
5905 buildCounterRouter++; | 5979 buildCounterRouter++; |
5906 if (buildCounterRouter < 3) { | 5980 if (buildCounterRouter < 3) { |
5907 checkRouterBgp(o.bgp); | 5981 checkRouterBgp(o.bgp); |
5908 checkUnnamed2125(o.bgpPeers); | 5982 checkUnnamed2139(o.bgpPeers); |
5909 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5983 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5910 unittest.expect(o.description, unittest.equals('foo')); | 5984 unittest.expect(o.description, unittest.equals('foo')); |
5911 unittest.expect(o.id, unittest.equals('foo')); | 5985 unittest.expect(o.id, unittest.equals('foo')); |
5912 checkUnnamed2126(o.interfaces); | 5986 checkUnnamed2140(o.interfaces); |
5913 unittest.expect(o.kind, unittest.equals('foo')); | 5987 unittest.expect(o.kind, unittest.equals('foo')); |
5914 unittest.expect(o.name, unittest.equals('foo')); | 5988 unittest.expect(o.name, unittest.equals('foo')); |
5915 unittest.expect(o.network, unittest.equals('foo')); | 5989 unittest.expect(o.network, unittest.equals('foo')); |
5916 unittest.expect(o.region, unittest.equals('foo')); | 5990 unittest.expect(o.region, unittest.equals('foo')); |
5917 unittest.expect(o.selfLink, unittest.equals('foo')); | 5991 unittest.expect(o.selfLink, unittest.equals('foo')); |
5918 } | 5992 } |
5919 buildCounterRouter--; | 5993 buildCounterRouter--; |
5920 } | 5994 } |
5921 | 5995 |
5922 buildUnnamed2127() { | 5996 buildUnnamed2141() { |
5923 var o = new core.Map<core.String, api.RoutersScopedList>(); | 5997 var o = new core.Map<core.String, api.RoutersScopedList>(); |
5924 o["x"] = buildRoutersScopedList(); | 5998 o["x"] = buildRoutersScopedList(); |
5925 o["y"] = buildRoutersScopedList(); | 5999 o["y"] = buildRoutersScopedList(); |
5926 return o; | 6000 return o; |
5927 } | 6001 } |
5928 | 6002 |
5929 checkUnnamed2127(core.Map<core.String, api.RoutersScopedList> o) { | 6003 checkUnnamed2141(core.Map<core.String, api.RoutersScopedList> o) { |
5930 unittest.expect(o, unittest.hasLength(2)); | 6004 unittest.expect(o, unittest.hasLength(2)); |
5931 checkRoutersScopedList(o["x"]); | 6005 checkRoutersScopedList(o["x"]); |
5932 checkRoutersScopedList(o["y"]); | 6006 checkRoutersScopedList(o["y"]); |
5933 } | 6007 } |
5934 | 6008 |
5935 core.int buildCounterRouterAggregatedList = 0; | 6009 core.int buildCounterRouterAggregatedList = 0; |
5936 buildRouterAggregatedList() { | 6010 buildRouterAggregatedList() { |
5937 var o = new api.RouterAggregatedList(); | 6011 var o = new api.RouterAggregatedList(); |
5938 buildCounterRouterAggregatedList++; | 6012 buildCounterRouterAggregatedList++; |
5939 if (buildCounterRouterAggregatedList < 3) { | 6013 if (buildCounterRouterAggregatedList < 3) { |
5940 o.id = "foo"; | 6014 o.id = "foo"; |
5941 o.items = buildUnnamed2127(); | 6015 o.items = buildUnnamed2141(); |
5942 o.kind = "foo"; | 6016 o.kind = "foo"; |
5943 o.nextPageToken = "foo"; | 6017 o.nextPageToken = "foo"; |
5944 o.selfLink = "foo"; | 6018 o.selfLink = "foo"; |
5945 } | 6019 } |
5946 buildCounterRouterAggregatedList--; | 6020 buildCounterRouterAggregatedList--; |
5947 return o; | 6021 return o; |
5948 } | 6022 } |
5949 | 6023 |
5950 checkRouterAggregatedList(api.RouterAggregatedList o) { | 6024 checkRouterAggregatedList(api.RouterAggregatedList o) { |
5951 buildCounterRouterAggregatedList++; | 6025 buildCounterRouterAggregatedList++; |
5952 if (buildCounterRouterAggregatedList < 3) { | 6026 if (buildCounterRouterAggregatedList < 3) { |
5953 unittest.expect(o.id, unittest.equals('foo')); | 6027 unittest.expect(o.id, unittest.equals('foo')); |
5954 checkUnnamed2127(o.items); | 6028 checkUnnamed2141(o.items); |
5955 unittest.expect(o.kind, unittest.equals('foo')); | 6029 unittest.expect(o.kind, unittest.equals('foo')); |
5956 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6030 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5957 unittest.expect(o.selfLink, unittest.equals('foo')); | 6031 unittest.expect(o.selfLink, unittest.equals('foo')); |
5958 } | 6032 } |
5959 buildCounterRouterAggregatedList--; | 6033 buildCounterRouterAggregatedList--; |
5960 } | 6034 } |
5961 | 6035 |
5962 core.int buildCounterRouterBgp = 0; | 6036 core.int buildCounterRouterBgp = 0; |
5963 buildRouterBgp() { | 6037 buildRouterBgp() { |
5964 var o = new api.RouterBgp(); | 6038 var o = new api.RouterBgp(); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6023 checkRouterInterface(api.RouterInterface o) { | 6097 checkRouterInterface(api.RouterInterface o) { |
6024 buildCounterRouterInterface++; | 6098 buildCounterRouterInterface++; |
6025 if (buildCounterRouterInterface < 3) { | 6099 if (buildCounterRouterInterface < 3) { |
6026 unittest.expect(o.ipRange, unittest.equals('foo')); | 6100 unittest.expect(o.ipRange, unittest.equals('foo')); |
6027 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); | 6101 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
6028 unittest.expect(o.name, unittest.equals('foo')); | 6102 unittest.expect(o.name, unittest.equals('foo')); |
6029 } | 6103 } |
6030 buildCounterRouterInterface--; | 6104 buildCounterRouterInterface--; |
6031 } | 6105 } |
6032 | 6106 |
6033 buildUnnamed2128() { | 6107 buildUnnamed2142() { |
6034 var o = new core.List<api.Router>(); | 6108 var o = new core.List<api.Router>(); |
6035 o.add(buildRouter()); | 6109 o.add(buildRouter()); |
6036 o.add(buildRouter()); | 6110 o.add(buildRouter()); |
6037 return o; | 6111 return o; |
6038 } | 6112 } |
6039 | 6113 |
6040 checkUnnamed2128(core.List<api.Router> o) { | 6114 checkUnnamed2142(core.List<api.Router> o) { |
6041 unittest.expect(o, unittest.hasLength(2)); | 6115 unittest.expect(o, unittest.hasLength(2)); |
6042 checkRouter(o[0]); | 6116 checkRouter(o[0]); |
6043 checkRouter(o[1]); | 6117 checkRouter(o[1]); |
6044 } | 6118 } |
6045 | 6119 |
6046 core.int buildCounterRouterList = 0; | 6120 core.int buildCounterRouterList = 0; |
6047 buildRouterList() { | 6121 buildRouterList() { |
6048 var o = new api.RouterList(); | 6122 var o = new api.RouterList(); |
6049 buildCounterRouterList++; | 6123 buildCounterRouterList++; |
6050 if (buildCounterRouterList < 3) { | 6124 if (buildCounterRouterList < 3) { |
6051 o.id = "foo"; | 6125 o.id = "foo"; |
6052 o.items = buildUnnamed2128(); | 6126 o.items = buildUnnamed2142(); |
6053 o.kind = "foo"; | 6127 o.kind = "foo"; |
6054 o.nextPageToken = "foo"; | 6128 o.nextPageToken = "foo"; |
6055 o.selfLink = "foo"; | 6129 o.selfLink = "foo"; |
6056 } | 6130 } |
6057 buildCounterRouterList--; | 6131 buildCounterRouterList--; |
6058 return o; | 6132 return o; |
6059 } | 6133 } |
6060 | 6134 |
6061 checkRouterList(api.RouterList o) { | 6135 checkRouterList(api.RouterList o) { |
6062 buildCounterRouterList++; | 6136 buildCounterRouterList++; |
6063 if (buildCounterRouterList < 3) { | 6137 if (buildCounterRouterList < 3) { |
6064 unittest.expect(o.id, unittest.equals('foo')); | 6138 unittest.expect(o.id, unittest.equals('foo')); |
6065 checkUnnamed2128(o.items); | 6139 checkUnnamed2142(o.items); |
6066 unittest.expect(o.kind, unittest.equals('foo')); | 6140 unittest.expect(o.kind, unittest.equals('foo')); |
6067 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6141 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6068 unittest.expect(o.selfLink, unittest.equals('foo')); | 6142 unittest.expect(o.selfLink, unittest.equals('foo')); |
6069 } | 6143 } |
6070 buildCounterRouterList--; | 6144 buildCounterRouterList--; |
6071 } | 6145 } |
6072 | 6146 |
6073 buildUnnamed2129() { | 6147 buildUnnamed2143() { |
6074 var o = new core.List<api.Route>(); | 6148 var o = new core.List<api.Route>(); |
6075 o.add(buildRoute()); | 6149 o.add(buildRoute()); |
6076 o.add(buildRoute()); | 6150 o.add(buildRoute()); |
6077 return o; | 6151 return o; |
6078 } | 6152 } |
6079 | 6153 |
6080 checkUnnamed2129(core.List<api.Route> o) { | 6154 checkUnnamed2143(core.List<api.Route> o) { |
6081 unittest.expect(o, unittest.hasLength(2)); | 6155 unittest.expect(o, unittest.hasLength(2)); |
6082 checkRoute(o[0]); | 6156 checkRoute(o[0]); |
6083 checkRoute(o[1]); | 6157 checkRoute(o[1]); |
6084 } | 6158 } |
6085 | 6159 |
6086 buildUnnamed2130() { | 6160 buildUnnamed2144() { |
6087 var o = new core.List<api.RouterStatusBgpPeerStatus>(); | 6161 var o = new core.List<api.RouterStatusBgpPeerStatus>(); |
6088 o.add(buildRouterStatusBgpPeerStatus()); | 6162 o.add(buildRouterStatusBgpPeerStatus()); |
6089 o.add(buildRouterStatusBgpPeerStatus()); | 6163 o.add(buildRouterStatusBgpPeerStatus()); |
6090 return o; | 6164 return o; |
6091 } | 6165 } |
6092 | 6166 |
6093 checkUnnamed2130(core.List<api.RouterStatusBgpPeerStatus> o) { | 6167 checkUnnamed2144(core.List<api.RouterStatusBgpPeerStatus> o) { |
6094 unittest.expect(o, unittest.hasLength(2)); | 6168 unittest.expect(o, unittest.hasLength(2)); |
6095 checkRouterStatusBgpPeerStatus(o[0]); | 6169 checkRouterStatusBgpPeerStatus(o[0]); |
6096 checkRouterStatusBgpPeerStatus(o[1]); | 6170 checkRouterStatusBgpPeerStatus(o[1]); |
6097 } | 6171 } |
6098 | 6172 |
6099 core.int buildCounterRouterStatus = 0; | 6173 core.int buildCounterRouterStatus = 0; |
6100 buildRouterStatus() { | 6174 buildRouterStatus() { |
6101 var o = new api.RouterStatus(); | 6175 var o = new api.RouterStatus(); |
6102 buildCounterRouterStatus++; | 6176 buildCounterRouterStatus++; |
6103 if (buildCounterRouterStatus < 3) { | 6177 if (buildCounterRouterStatus < 3) { |
6104 o.bestRoutes = buildUnnamed2129(); | 6178 o.bestRoutes = buildUnnamed2143(); |
6105 o.bgpPeerStatus = buildUnnamed2130(); | 6179 o.bgpPeerStatus = buildUnnamed2144(); |
6106 o.network = "foo"; | 6180 o.network = "foo"; |
6107 } | 6181 } |
6108 buildCounterRouterStatus--; | 6182 buildCounterRouterStatus--; |
6109 return o; | 6183 return o; |
6110 } | 6184 } |
6111 | 6185 |
6112 checkRouterStatus(api.RouterStatus o) { | 6186 checkRouterStatus(api.RouterStatus o) { |
6113 buildCounterRouterStatus++; | 6187 buildCounterRouterStatus++; |
6114 if (buildCounterRouterStatus < 3) { | 6188 if (buildCounterRouterStatus < 3) { |
6115 checkUnnamed2129(o.bestRoutes); | 6189 checkUnnamed2143(o.bestRoutes); |
6116 checkUnnamed2130(o.bgpPeerStatus); | 6190 checkUnnamed2144(o.bgpPeerStatus); |
6117 unittest.expect(o.network, unittest.equals('foo')); | 6191 unittest.expect(o.network, unittest.equals('foo')); |
6118 } | 6192 } |
6119 buildCounterRouterStatus--; | 6193 buildCounterRouterStatus--; |
6120 } | 6194 } |
6121 | 6195 |
6122 buildUnnamed2131() { | 6196 buildUnnamed2145() { |
6123 var o = new core.List<api.Route>(); | 6197 var o = new core.List<api.Route>(); |
6124 o.add(buildRoute()); | 6198 o.add(buildRoute()); |
6125 o.add(buildRoute()); | 6199 o.add(buildRoute()); |
6126 return o; | 6200 return o; |
6127 } | 6201 } |
6128 | 6202 |
6129 checkUnnamed2131(core.List<api.Route> o) { | 6203 checkUnnamed2145(core.List<api.Route> o) { |
6130 unittest.expect(o, unittest.hasLength(2)); | 6204 unittest.expect(o, unittest.hasLength(2)); |
6131 checkRoute(o[0]); | 6205 checkRoute(o[0]); |
6132 checkRoute(o[1]); | 6206 checkRoute(o[1]); |
6133 } | 6207 } |
6134 | 6208 |
6135 core.int buildCounterRouterStatusBgpPeerStatus = 0; | 6209 core.int buildCounterRouterStatusBgpPeerStatus = 0; |
6136 buildRouterStatusBgpPeerStatus() { | 6210 buildRouterStatusBgpPeerStatus() { |
6137 var o = new api.RouterStatusBgpPeerStatus(); | 6211 var o = new api.RouterStatusBgpPeerStatus(); |
6138 buildCounterRouterStatusBgpPeerStatus++; | 6212 buildCounterRouterStatusBgpPeerStatus++; |
6139 if (buildCounterRouterStatusBgpPeerStatus < 3) { | 6213 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
6140 o.advertisedRoutes = buildUnnamed2131(); | 6214 o.advertisedRoutes = buildUnnamed2145(); |
6141 o.ipAddress = "foo"; | 6215 o.ipAddress = "foo"; |
6142 o.linkedVpnTunnel = "foo"; | 6216 o.linkedVpnTunnel = "foo"; |
6143 o.name = "foo"; | 6217 o.name = "foo"; |
6144 o.numLearnedRoutes = 42; | 6218 o.numLearnedRoutes = 42; |
6145 o.peerIpAddress = "foo"; | 6219 o.peerIpAddress = "foo"; |
6146 o.state = "foo"; | 6220 o.state = "foo"; |
6147 o.status = "foo"; | 6221 o.status = "foo"; |
6148 o.uptime = "foo"; | 6222 o.uptime = "foo"; |
6149 o.uptimeSeconds = "foo"; | 6223 o.uptimeSeconds = "foo"; |
6150 } | 6224 } |
6151 buildCounterRouterStatusBgpPeerStatus--; | 6225 buildCounterRouterStatusBgpPeerStatus--; |
6152 return o; | 6226 return o; |
6153 } | 6227 } |
6154 | 6228 |
6155 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { | 6229 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { |
6156 buildCounterRouterStatusBgpPeerStatus++; | 6230 buildCounterRouterStatusBgpPeerStatus++; |
6157 if (buildCounterRouterStatusBgpPeerStatus < 3) { | 6231 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
6158 checkUnnamed2131(o.advertisedRoutes); | 6232 checkUnnamed2145(o.advertisedRoutes); |
6159 unittest.expect(o.ipAddress, unittest.equals('foo')); | 6233 unittest.expect(o.ipAddress, unittest.equals('foo')); |
6160 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); | 6234 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
6161 unittest.expect(o.name, unittest.equals('foo')); | 6235 unittest.expect(o.name, unittest.equals('foo')); |
6162 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); | 6236 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); |
6163 unittest.expect(o.peerIpAddress, unittest.equals('foo')); | 6237 unittest.expect(o.peerIpAddress, unittest.equals('foo')); |
6164 unittest.expect(o.state, unittest.equals('foo')); | 6238 unittest.expect(o.state, unittest.equals('foo')); |
6165 unittest.expect(o.status, unittest.equals('foo')); | 6239 unittest.expect(o.status, unittest.equals('foo')); |
6166 unittest.expect(o.uptime, unittest.equals('foo')); | 6240 unittest.expect(o.uptime, unittest.equals('foo')); |
6167 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); | 6241 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); |
6168 } | 6242 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6202 } | 6276 } |
6203 | 6277 |
6204 checkRoutersPreviewResponse(api.RoutersPreviewResponse o) { | 6278 checkRoutersPreviewResponse(api.RoutersPreviewResponse o) { |
6205 buildCounterRoutersPreviewResponse++; | 6279 buildCounterRoutersPreviewResponse++; |
6206 if (buildCounterRoutersPreviewResponse < 3) { | 6280 if (buildCounterRoutersPreviewResponse < 3) { |
6207 checkRouter(o.resource); | 6281 checkRouter(o.resource); |
6208 } | 6282 } |
6209 buildCounterRoutersPreviewResponse--; | 6283 buildCounterRoutersPreviewResponse--; |
6210 } | 6284 } |
6211 | 6285 |
6212 buildUnnamed2132() { | 6286 buildUnnamed2146() { |
6213 var o = new core.List<api.Router>(); | 6287 var o = new core.List<api.Router>(); |
6214 o.add(buildRouter()); | 6288 o.add(buildRouter()); |
6215 o.add(buildRouter()); | 6289 o.add(buildRouter()); |
6216 return o; | 6290 return o; |
6217 } | 6291 } |
6218 | 6292 |
6219 checkUnnamed2132(core.List<api.Router> o) { | 6293 checkUnnamed2146(core.List<api.Router> o) { |
6220 unittest.expect(o, unittest.hasLength(2)); | 6294 unittest.expect(o, unittest.hasLength(2)); |
6221 checkRouter(o[0]); | 6295 checkRouter(o[0]); |
6222 checkRouter(o[1]); | 6296 checkRouter(o[1]); |
6223 } | 6297 } |
6224 | 6298 |
6225 core.int buildCounterRoutersScopedListWarningData = 0; | 6299 core.int buildCounterRoutersScopedListWarningData = 0; |
6226 buildRoutersScopedListWarningData() { | 6300 buildRoutersScopedListWarningData() { |
6227 var o = new api.RoutersScopedListWarningData(); | 6301 var o = new api.RoutersScopedListWarningData(); |
6228 buildCounterRoutersScopedListWarningData++; | 6302 buildCounterRoutersScopedListWarningData++; |
6229 if (buildCounterRoutersScopedListWarningData < 3) { | 6303 if (buildCounterRoutersScopedListWarningData < 3) { |
6230 o.key = "foo"; | 6304 o.key = "foo"; |
6231 o.value = "foo"; | 6305 o.value = "foo"; |
6232 } | 6306 } |
6233 buildCounterRoutersScopedListWarningData--; | 6307 buildCounterRoutersScopedListWarningData--; |
6234 return o; | 6308 return o; |
6235 } | 6309 } |
6236 | 6310 |
6237 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { | 6311 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { |
6238 buildCounterRoutersScopedListWarningData++; | 6312 buildCounterRoutersScopedListWarningData++; |
6239 if (buildCounterRoutersScopedListWarningData < 3) { | 6313 if (buildCounterRoutersScopedListWarningData < 3) { |
6240 unittest.expect(o.key, unittest.equals('foo')); | 6314 unittest.expect(o.key, unittest.equals('foo')); |
6241 unittest.expect(o.value, unittest.equals('foo')); | 6315 unittest.expect(o.value, unittest.equals('foo')); |
6242 } | 6316 } |
6243 buildCounterRoutersScopedListWarningData--; | 6317 buildCounterRoutersScopedListWarningData--; |
6244 } | 6318 } |
6245 | 6319 |
6246 buildUnnamed2133() { | 6320 buildUnnamed2147() { |
6247 var o = new core.List<api.RoutersScopedListWarningData>(); | 6321 var o = new core.List<api.RoutersScopedListWarningData>(); |
6248 o.add(buildRoutersScopedListWarningData()); | 6322 o.add(buildRoutersScopedListWarningData()); |
6249 o.add(buildRoutersScopedListWarningData()); | 6323 o.add(buildRoutersScopedListWarningData()); |
6250 return o; | 6324 return o; |
6251 } | 6325 } |
6252 | 6326 |
6253 checkUnnamed2133(core.List<api.RoutersScopedListWarningData> o) { | 6327 checkUnnamed2147(core.List<api.RoutersScopedListWarningData> o) { |
6254 unittest.expect(o, unittest.hasLength(2)); | 6328 unittest.expect(o, unittest.hasLength(2)); |
6255 checkRoutersScopedListWarningData(o[0]); | 6329 checkRoutersScopedListWarningData(o[0]); |
6256 checkRoutersScopedListWarningData(o[1]); | 6330 checkRoutersScopedListWarningData(o[1]); |
6257 } | 6331 } |
6258 | 6332 |
6259 core.int buildCounterRoutersScopedListWarning = 0; | 6333 core.int buildCounterRoutersScopedListWarning = 0; |
6260 buildRoutersScopedListWarning() { | 6334 buildRoutersScopedListWarning() { |
6261 var o = new api.RoutersScopedListWarning(); | 6335 var o = new api.RoutersScopedListWarning(); |
6262 buildCounterRoutersScopedListWarning++; | 6336 buildCounterRoutersScopedListWarning++; |
6263 if (buildCounterRoutersScopedListWarning < 3) { | 6337 if (buildCounterRoutersScopedListWarning < 3) { |
6264 o.code = "foo"; | 6338 o.code = "foo"; |
6265 o.data = buildUnnamed2133(); | 6339 o.data = buildUnnamed2147(); |
6266 o.message = "foo"; | 6340 o.message = "foo"; |
6267 } | 6341 } |
6268 buildCounterRoutersScopedListWarning--; | 6342 buildCounterRoutersScopedListWarning--; |
6269 return o; | 6343 return o; |
6270 } | 6344 } |
6271 | 6345 |
6272 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { | 6346 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { |
6273 buildCounterRoutersScopedListWarning++; | 6347 buildCounterRoutersScopedListWarning++; |
6274 if (buildCounterRoutersScopedListWarning < 3) { | 6348 if (buildCounterRoutersScopedListWarning < 3) { |
6275 unittest.expect(o.code, unittest.equals('foo')); | 6349 unittest.expect(o.code, unittest.equals('foo')); |
6276 checkUnnamed2133(o.data); | 6350 checkUnnamed2147(o.data); |
6277 unittest.expect(o.message, unittest.equals('foo')); | 6351 unittest.expect(o.message, unittest.equals('foo')); |
6278 } | 6352 } |
6279 buildCounterRoutersScopedListWarning--; | 6353 buildCounterRoutersScopedListWarning--; |
6280 } | 6354 } |
6281 | 6355 |
6282 core.int buildCounterRoutersScopedList = 0; | 6356 core.int buildCounterRoutersScopedList = 0; |
6283 buildRoutersScopedList() { | 6357 buildRoutersScopedList() { |
6284 var o = new api.RoutersScopedList(); | 6358 var o = new api.RoutersScopedList(); |
6285 buildCounterRoutersScopedList++; | 6359 buildCounterRoutersScopedList++; |
6286 if (buildCounterRoutersScopedList < 3) { | 6360 if (buildCounterRoutersScopedList < 3) { |
6287 o.routers = buildUnnamed2132(); | 6361 o.routers = buildUnnamed2146(); |
6288 o.warning = buildRoutersScopedListWarning(); | 6362 o.warning = buildRoutersScopedListWarning(); |
6289 } | 6363 } |
6290 buildCounterRoutersScopedList--; | 6364 buildCounterRoutersScopedList--; |
6291 return o; | 6365 return o; |
6292 } | 6366 } |
6293 | 6367 |
6294 checkRoutersScopedList(api.RoutersScopedList o) { | 6368 checkRoutersScopedList(api.RoutersScopedList o) { |
6295 buildCounterRoutersScopedList++; | 6369 buildCounterRoutersScopedList++; |
6296 if (buildCounterRoutersScopedList < 3) { | 6370 if (buildCounterRoutersScopedList < 3) { |
6297 checkUnnamed2132(o.routers); | 6371 checkUnnamed2146(o.routers); |
6298 checkRoutersScopedListWarning(o.warning); | 6372 checkRoutersScopedListWarning(o.warning); |
6299 } | 6373 } |
6300 buildCounterRoutersScopedList--; | 6374 buildCounterRoutersScopedList--; |
6301 } | 6375 } |
6302 | 6376 |
6303 core.int buildCounterSSLHealthCheck = 0; | 6377 core.int buildCounterSSLHealthCheck = 0; |
6304 buildSSLHealthCheck() { | 6378 buildSSLHealthCheck() { |
6305 var o = new api.SSLHealthCheck(); | 6379 var o = new api.SSLHealthCheck(); |
6306 buildCounterSSLHealthCheck++; | 6380 buildCounterSSLHealthCheck++; |
6307 if (buildCounterSSLHealthCheck < 3) { | 6381 if (buildCounterSSLHealthCheck < 3) { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6370 if (buildCounterSerialPortOutput < 3) { | 6444 if (buildCounterSerialPortOutput < 3) { |
6371 unittest.expect(o.contents, unittest.equals('foo')); | 6445 unittest.expect(o.contents, unittest.equals('foo')); |
6372 unittest.expect(o.kind, unittest.equals('foo')); | 6446 unittest.expect(o.kind, unittest.equals('foo')); |
6373 unittest.expect(o.next, unittest.equals('foo')); | 6447 unittest.expect(o.next, unittest.equals('foo')); |
6374 unittest.expect(o.selfLink, unittest.equals('foo')); | 6448 unittest.expect(o.selfLink, unittest.equals('foo')); |
6375 unittest.expect(o.start, unittest.equals('foo')); | 6449 unittest.expect(o.start, unittest.equals('foo')); |
6376 } | 6450 } |
6377 buildCounterSerialPortOutput--; | 6451 buildCounterSerialPortOutput--; |
6378 } | 6452 } |
6379 | 6453 |
6380 buildUnnamed2134() { | 6454 buildUnnamed2148() { |
6381 var o = new core.List<core.String>(); | 6455 var o = new core.List<core.String>(); |
6382 o.add("foo"); | 6456 o.add("foo"); |
6383 o.add("foo"); | 6457 o.add("foo"); |
6384 return o; | 6458 return o; |
6385 } | 6459 } |
6386 | 6460 |
6387 checkUnnamed2134(core.List<core.String> o) { | 6461 checkUnnamed2148(core.List<core.String> o) { |
6388 unittest.expect(o, unittest.hasLength(2)); | 6462 unittest.expect(o, unittest.hasLength(2)); |
6389 unittest.expect(o[0], unittest.equals('foo')); | 6463 unittest.expect(o[0], unittest.equals('foo')); |
6390 unittest.expect(o[1], unittest.equals('foo')); | 6464 unittest.expect(o[1], unittest.equals('foo')); |
6391 } | 6465 } |
6392 | 6466 |
6393 core.int buildCounterServiceAccount = 0; | 6467 core.int buildCounterServiceAccount = 0; |
6394 buildServiceAccount() { | 6468 buildServiceAccount() { |
6395 var o = new api.ServiceAccount(); | 6469 var o = new api.ServiceAccount(); |
6396 buildCounterServiceAccount++; | 6470 buildCounterServiceAccount++; |
6397 if (buildCounterServiceAccount < 3) { | 6471 if (buildCounterServiceAccount < 3) { |
6398 o.email = "foo"; | 6472 o.email = "foo"; |
6399 o.scopes = buildUnnamed2134(); | 6473 o.scopes = buildUnnamed2148(); |
6400 } | 6474 } |
6401 buildCounterServiceAccount--; | 6475 buildCounterServiceAccount--; |
6402 return o; | 6476 return o; |
6403 } | 6477 } |
6404 | 6478 |
6405 checkServiceAccount(api.ServiceAccount o) { | 6479 checkServiceAccount(api.ServiceAccount o) { |
6406 buildCounterServiceAccount++; | 6480 buildCounterServiceAccount++; |
6407 if (buildCounterServiceAccount < 3) { | 6481 if (buildCounterServiceAccount < 3) { |
6408 unittest.expect(o.email, unittest.equals('foo')); | 6482 unittest.expect(o.email, unittest.equals('foo')); |
6409 checkUnnamed2134(o.scopes); | 6483 checkUnnamed2148(o.scopes); |
6410 } | 6484 } |
6411 buildCounterServiceAccount--; | 6485 buildCounterServiceAccount--; |
6412 } | 6486 } |
6413 | 6487 |
6414 buildUnnamed2135() { | 6488 buildUnnamed2149() { |
6415 var o = new core.List<core.String>(); | 6489 var o = new core.List<core.String>(); |
6416 o.add("foo"); | 6490 o.add("foo"); |
6417 o.add("foo"); | 6491 o.add("foo"); |
6418 return o; | 6492 return o; |
6419 } | 6493 } |
6420 | 6494 |
6421 checkUnnamed2135(core.List<core.String> o) { | 6495 checkUnnamed2149(core.List<core.String> o) { |
6422 unittest.expect(o, unittest.hasLength(2)); | 6496 unittest.expect(o, unittest.hasLength(2)); |
6423 unittest.expect(o[0], unittest.equals('foo')); | 6497 unittest.expect(o[0], unittest.equals('foo')); |
6424 unittest.expect(o[1], unittest.equals('foo')); | 6498 unittest.expect(o[1], unittest.equals('foo')); |
6425 } | 6499 } |
6426 | 6500 |
6427 core.int buildCounterSnapshot = 0; | 6501 core.int buildCounterSnapshot = 0; |
6428 buildSnapshot() { | 6502 buildSnapshot() { |
6429 var o = new api.Snapshot(); | 6503 var o = new api.Snapshot(); |
6430 buildCounterSnapshot++; | 6504 buildCounterSnapshot++; |
6431 if (buildCounterSnapshot < 3) { | 6505 if (buildCounterSnapshot < 3) { |
6432 o.creationTimestamp = "foo"; | 6506 o.creationTimestamp = "foo"; |
6433 o.description = "foo"; | 6507 o.description = "foo"; |
6434 o.diskSizeGb = "foo"; | 6508 o.diskSizeGb = "foo"; |
6435 o.id = "foo"; | 6509 o.id = "foo"; |
6436 o.kind = "foo"; | 6510 o.kind = "foo"; |
6437 o.licenses = buildUnnamed2135(); | 6511 o.licenses = buildUnnamed2149(); |
6438 o.name = "foo"; | 6512 o.name = "foo"; |
6439 o.selfLink = "foo"; | 6513 o.selfLink = "foo"; |
6440 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); | 6514 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); |
6441 o.sourceDisk = "foo"; | 6515 o.sourceDisk = "foo"; |
6442 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); | 6516 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
6443 o.sourceDiskId = "foo"; | 6517 o.sourceDiskId = "foo"; |
6444 o.status = "foo"; | 6518 o.status = "foo"; |
6445 o.storageBytes = "foo"; | 6519 o.storageBytes = "foo"; |
6446 o.storageBytesStatus = "foo"; | 6520 o.storageBytesStatus = "foo"; |
6447 } | 6521 } |
6448 buildCounterSnapshot--; | 6522 buildCounterSnapshot--; |
6449 return o; | 6523 return o; |
6450 } | 6524 } |
6451 | 6525 |
6452 checkSnapshot(api.Snapshot o) { | 6526 checkSnapshot(api.Snapshot o) { |
6453 buildCounterSnapshot++; | 6527 buildCounterSnapshot++; |
6454 if (buildCounterSnapshot < 3) { | 6528 if (buildCounterSnapshot < 3) { |
6455 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6529 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6456 unittest.expect(o.description, unittest.equals('foo')); | 6530 unittest.expect(o.description, unittest.equals('foo')); |
6457 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 6531 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
6458 unittest.expect(o.id, unittest.equals('foo')); | 6532 unittest.expect(o.id, unittest.equals('foo')); |
6459 unittest.expect(o.kind, unittest.equals('foo')); | 6533 unittest.expect(o.kind, unittest.equals('foo')); |
6460 checkUnnamed2135(o.licenses); | 6534 checkUnnamed2149(o.licenses); |
6461 unittest.expect(o.name, unittest.equals('foo')); | 6535 unittest.expect(o.name, unittest.equals('foo')); |
6462 unittest.expect(o.selfLink, unittest.equals('foo')); | 6536 unittest.expect(o.selfLink, unittest.equals('foo')); |
6463 checkCustomerEncryptionKey(o.snapshotEncryptionKey); | 6537 checkCustomerEncryptionKey(o.snapshotEncryptionKey); |
6464 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 6538 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
6465 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); | 6539 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
6466 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 6540 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
6467 unittest.expect(o.status, unittest.equals('foo')); | 6541 unittest.expect(o.status, unittest.equals('foo')); |
6468 unittest.expect(o.storageBytes, unittest.equals('foo')); | 6542 unittest.expect(o.storageBytes, unittest.equals('foo')); |
6469 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); | 6543 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); |
6470 } | 6544 } |
6471 buildCounterSnapshot--; | 6545 buildCounterSnapshot--; |
6472 } | 6546 } |
6473 | 6547 |
6474 buildUnnamed2136() { | 6548 buildUnnamed2150() { |
6475 var o = new core.List<api.Snapshot>(); | 6549 var o = new core.List<api.Snapshot>(); |
6476 o.add(buildSnapshot()); | 6550 o.add(buildSnapshot()); |
6477 o.add(buildSnapshot()); | 6551 o.add(buildSnapshot()); |
6478 return o; | 6552 return o; |
6479 } | 6553 } |
6480 | 6554 |
6481 checkUnnamed2136(core.List<api.Snapshot> o) { | 6555 checkUnnamed2150(core.List<api.Snapshot> o) { |
6482 unittest.expect(o, unittest.hasLength(2)); | 6556 unittest.expect(o, unittest.hasLength(2)); |
6483 checkSnapshot(o[0]); | 6557 checkSnapshot(o[0]); |
6484 checkSnapshot(o[1]); | 6558 checkSnapshot(o[1]); |
6485 } | 6559 } |
6486 | 6560 |
6487 core.int buildCounterSnapshotList = 0; | 6561 core.int buildCounterSnapshotList = 0; |
6488 buildSnapshotList() { | 6562 buildSnapshotList() { |
6489 var o = new api.SnapshotList(); | 6563 var o = new api.SnapshotList(); |
6490 buildCounterSnapshotList++; | 6564 buildCounterSnapshotList++; |
6491 if (buildCounterSnapshotList < 3) { | 6565 if (buildCounterSnapshotList < 3) { |
6492 o.id = "foo"; | 6566 o.id = "foo"; |
6493 o.items = buildUnnamed2136(); | 6567 o.items = buildUnnamed2150(); |
6494 o.kind = "foo"; | 6568 o.kind = "foo"; |
6495 o.nextPageToken = "foo"; | 6569 o.nextPageToken = "foo"; |
6496 o.selfLink = "foo"; | 6570 o.selfLink = "foo"; |
6497 } | 6571 } |
6498 buildCounterSnapshotList--; | 6572 buildCounterSnapshotList--; |
6499 return o; | 6573 return o; |
6500 } | 6574 } |
6501 | 6575 |
6502 checkSnapshotList(api.SnapshotList o) { | 6576 checkSnapshotList(api.SnapshotList o) { |
6503 buildCounterSnapshotList++; | 6577 buildCounterSnapshotList++; |
6504 if (buildCounterSnapshotList < 3) { | 6578 if (buildCounterSnapshotList < 3) { |
6505 unittest.expect(o.id, unittest.equals('foo')); | 6579 unittest.expect(o.id, unittest.equals('foo')); |
6506 checkUnnamed2136(o.items); | 6580 checkUnnamed2150(o.items); |
6507 unittest.expect(o.kind, unittest.equals('foo')); | 6581 unittest.expect(o.kind, unittest.equals('foo')); |
6508 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6582 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6509 unittest.expect(o.selfLink, unittest.equals('foo')); | 6583 unittest.expect(o.selfLink, unittest.equals('foo')); |
6510 } | 6584 } |
6511 buildCounterSnapshotList--; | 6585 buildCounterSnapshotList--; |
6512 } | 6586 } |
6513 | 6587 |
6514 core.int buildCounterSslCertificate = 0; | 6588 core.int buildCounterSslCertificate = 0; |
6515 buildSslCertificate() { | 6589 buildSslCertificate() { |
6516 var o = new api.SslCertificate(); | 6590 var o = new api.SslCertificate(); |
(...skipping 20 matching lines...) Expand all Loading... |
6537 unittest.expect(o.description, unittest.equals('foo')); | 6611 unittest.expect(o.description, unittest.equals('foo')); |
6538 unittest.expect(o.id, unittest.equals('foo')); | 6612 unittest.expect(o.id, unittest.equals('foo')); |
6539 unittest.expect(o.kind, unittest.equals('foo')); | 6613 unittest.expect(o.kind, unittest.equals('foo')); |
6540 unittest.expect(o.name, unittest.equals('foo')); | 6614 unittest.expect(o.name, unittest.equals('foo')); |
6541 unittest.expect(o.privateKey, unittest.equals('foo')); | 6615 unittest.expect(o.privateKey, unittest.equals('foo')); |
6542 unittest.expect(o.selfLink, unittest.equals('foo')); | 6616 unittest.expect(o.selfLink, unittest.equals('foo')); |
6543 } | 6617 } |
6544 buildCounterSslCertificate--; | 6618 buildCounterSslCertificate--; |
6545 } | 6619 } |
6546 | 6620 |
6547 buildUnnamed2137() { | 6621 buildUnnamed2151() { |
6548 var o = new core.List<api.SslCertificate>(); | 6622 var o = new core.List<api.SslCertificate>(); |
6549 o.add(buildSslCertificate()); | 6623 o.add(buildSslCertificate()); |
6550 o.add(buildSslCertificate()); | 6624 o.add(buildSslCertificate()); |
6551 return o; | 6625 return o; |
6552 } | 6626 } |
6553 | 6627 |
6554 checkUnnamed2137(core.List<api.SslCertificate> o) { | 6628 checkUnnamed2151(core.List<api.SslCertificate> o) { |
6555 unittest.expect(o, unittest.hasLength(2)); | 6629 unittest.expect(o, unittest.hasLength(2)); |
6556 checkSslCertificate(o[0]); | 6630 checkSslCertificate(o[0]); |
6557 checkSslCertificate(o[1]); | 6631 checkSslCertificate(o[1]); |
6558 } | 6632 } |
6559 | 6633 |
6560 core.int buildCounterSslCertificateList = 0; | 6634 core.int buildCounterSslCertificateList = 0; |
6561 buildSslCertificateList() { | 6635 buildSslCertificateList() { |
6562 var o = new api.SslCertificateList(); | 6636 var o = new api.SslCertificateList(); |
6563 buildCounterSslCertificateList++; | 6637 buildCounterSslCertificateList++; |
6564 if (buildCounterSslCertificateList < 3) { | 6638 if (buildCounterSslCertificateList < 3) { |
6565 o.id = "foo"; | 6639 o.id = "foo"; |
6566 o.items = buildUnnamed2137(); | 6640 o.items = buildUnnamed2151(); |
6567 o.kind = "foo"; | 6641 o.kind = "foo"; |
6568 o.nextPageToken = "foo"; | 6642 o.nextPageToken = "foo"; |
6569 o.selfLink = "foo"; | 6643 o.selfLink = "foo"; |
6570 } | 6644 } |
6571 buildCounterSslCertificateList--; | 6645 buildCounterSslCertificateList--; |
6572 return o; | 6646 return o; |
6573 } | 6647 } |
6574 | 6648 |
6575 checkSslCertificateList(api.SslCertificateList o) { | 6649 checkSslCertificateList(api.SslCertificateList o) { |
6576 buildCounterSslCertificateList++; | 6650 buildCounterSslCertificateList++; |
6577 if (buildCounterSslCertificateList < 3) { | 6651 if (buildCounterSslCertificateList < 3) { |
6578 unittest.expect(o.id, unittest.equals('foo')); | 6652 unittest.expect(o.id, unittest.equals('foo')); |
6579 checkUnnamed2137(o.items); | 6653 checkUnnamed2151(o.items); |
6580 unittest.expect(o.kind, unittest.equals('foo')); | 6654 unittest.expect(o.kind, unittest.equals('foo')); |
6581 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6655 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6582 unittest.expect(o.selfLink, unittest.equals('foo')); | 6656 unittest.expect(o.selfLink, unittest.equals('foo')); |
6583 } | 6657 } |
6584 buildCounterSslCertificateList--; | 6658 buildCounterSslCertificateList--; |
6585 } | 6659 } |
6586 | 6660 |
6587 core.int buildCounterSubnetwork = 0; | 6661 core.int buildCounterSubnetwork = 0; |
6588 buildSubnetwork() { | 6662 buildSubnetwork() { |
6589 var o = new api.Subnetwork(); | 6663 var o = new api.Subnetwork(); |
6590 buildCounterSubnetwork++; | 6664 buildCounterSubnetwork++; |
6591 if (buildCounterSubnetwork < 3) { | 6665 if (buildCounterSubnetwork < 3) { |
6592 o.creationTimestamp = "foo"; | 6666 o.creationTimestamp = "foo"; |
6593 o.description = "foo"; | 6667 o.description = "foo"; |
6594 o.gatewayAddress = "foo"; | 6668 o.gatewayAddress = "foo"; |
6595 o.id = "foo"; | 6669 o.id = "foo"; |
6596 o.ipCidrRange = "foo"; | 6670 o.ipCidrRange = "foo"; |
6597 o.kind = "foo"; | 6671 o.kind = "foo"; |
6598 o.name = "foo"; | 6672 o.name = "foo"; |
6599 o.network = "foo"; | 6673 o.network = "foo"; |
| 6674 o.privateIpGoogleAccess = true; |
6600 o.region = "foo"; | 6675 o.region = "foo"; |
6601 o.selfLink = "foo"; | 6676 o.selfLink = "foo"; |
6602 } | 6677 } |
6603 buildCounterSubnetwork--; | 6678 buildCounterSubnetwork--; |
6604 return o; | 6679 return o; |
6605 } | 6680 } |
6606 | 6681 |
6607 checkSubnetwork(api.Subnetwork o) { | 6682 checkSubnetwork(api.Subnetwork o) { |
6608 buildCounterSubnetwork++; | 6683 buildCounterSubnetwork++; |
6609 if (buildCounterSubnetwork < 3) { | 6684 if (buildCounterSubnetwork < 3) { |
6610 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6685 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6611 unittest.expect(o.description, unittest.equals('foo')); | 6686 unittest.expect(o.description, unittest.equals('foo')); |
6612 unittest.expect(o.gatewayAddress, unittest.equals('foo')); | 6687 unittest.expect(o.gatewayAddress, unittest.equals('foo')); |
6613 unittest.expect(o.id, unittest.equals('foo')); | 6688 unittest.expect(o.id, unittest.equals('foo')); |
6614 unittest.expect(o.ipCidrRange, unittest.equals('foo')); | 6689 unittest.expect(o.ipCidrRange, unittest.equals('foo')); |
6615 unittest.expect(o.kind, unittest.equals('foo')); | 6690 unittest.expect(o.kind, unittest.equals('foo')); |
6616 unittest.expect(o.name, unittest.equals('foo')); | 6691 unittest.expect(o.name, unittest.equals('foo')); |
6617 unittest.expect(o.network, unittest.equals('foo')); | 6692 unittest.expect(o.network, unittest.equals('foo')); |
| 6693 unittest.expect(o.privateIpGoogleAccess, unittest.isTrue); |
6618 unittest.expect(o.region, unittest.equals('foo')); | 6694 unittest.expect(o.region, unittest.equals('foo')); |
6619 unittest.expect(o.selfLink, unittest.equals('foo')); | 6695 unittest.expect(o.selfLink, unittest.equals('foo')); |
6620 } | 6696 } |
6621 buildCounterSubnetwork--; | 6697 buildCounterSubnetwork--; |
6622 } | 6698 } |
6623 | 6699 |
6624 buildUnnamed2138() { | 6700 buildUnnamed2152() { |
6625 var o = new core.Map<core.String, api.SubnetworksScopedList>(); | 6701 var o = new core.Map<core.String, api.SubnetworksScopedList>(); |
6626 o["x"] = buildSubnetworksScopedList(); | 6702 o["x"] = buildSubnetworksScopedList(); |
6627 o["y"] = buildSubnetworksScopedList(); | 6703 o["y"] = buildSubnetworksScopedList(); |
6628 return o; | 6704 return o; |
6629 } | 6705 } |
6630 | 6706 |
6631 checkUnnamed2138(core.Map<core.String, api.SubnetworksScopedList> o) { | 6707 checkUnnamed2152(core.Map<core.String, api.SubnetworksScopedList> o) { |
6632 unittest.expect(o, unittest.hasLength(2)); | 6708 unittest.expect(o, unittest.hasLength(2)); |
6633 checkSubnetworksScopedList(o["x"]); | 6709 checkSubnetworksScopedList(o["x"]); |
6634 checkSubnetworksScopedList(o["y"]); | 6710 checkSubnetworksScopedList(o["y"]); |
6635 } | 6711 } |
6636 | 6712 |
6637 core.int buildCounterSubnetworkAggregatedList = 0; | 6713 core.int buildCounterSubnetworkAggregatedList = 0; |
6638 buildSubnetworkAggregatedList() { | 6714 buildSubnetworkAggregatedList() { |
6639 var o = new api.SubnetworkAggregatedList(); | 6715 var o = new api.SubnetworkAggregatedList(); |
6640 buildCounterSubnetworkAggregatedList++; | 6716 buildCounterSubnetworkAggregatedList++; |
6641 if (buildCounterSubnetworkAggregatedList < 3) { | 6717 if (buildCounterSubnetworkAggregatedList < 3) { |
6642 o.id = "foo"; | 6718 o.id = "foo"; |
6643 o.items = buildUnnamed2138(); | 6719 o.items = buildUnnamed2152(); |
6644 o.kind = "foo"; | 6720 o.kind = "foo"; |
6645 o.nextPageToken = "foo"; | 6721 o.nextPageToken = "foo"; |
6646 o.selfLink = "foo"; | 6722 o.selfLink = "foo"; |
6647 } | 6723 } |
6648 buildCounterSubnetworkAggregatedList--; | 6724 buildCounterSubnetworkAggregatedList--; |
6649 return o; | 6725 return o; |
6650 } | 6726 } |
6651 | 6727 |
6652 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { | 6728 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { |
6653 buildCounterSubnetworkAggregatedList++; | 6729 buildCounterSubnetworkAggregatedList++; |
6654 if (buildCounterSubnetworkAggregatedList < 3) { | 6730 if (buildCounterSubnetworkAggregatedList < 3) { |
6655 unittest.expect(o.id, unittest.equals('foo')); | 6731 unittest.expect(o.id, unittest.equals('foo')); |
6656 checkUnnamed2138(o.items); | 6732 checkUnnamed2152(o.items); |
6657 unittest.expect(o.kind, unittest.equals('foo')); | 6733 unittest.expect(o.kind, unittest.equals('foo')); |
6658 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6734 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6659 unittest.expect(o.selfLink, unittest.equals('foo')); | 6735 unittest.expect(o.selfLink, unittest.equals('foo')); |
6660 } | 6736 } |
6661 buildCounterSubnetworkAggregatedList--; | 6737 buildCounterSubnetworkAggregatedList--; |
6662 } | 6738 } |
6663 | 6739 |
6664 buildUnnamed2139() { | 6740 buildUnnamed2153() { |
6665 var o = new core.List<api.Subnetwork>(); | 6741 var o = new core.List<api.Subnetwork>(); |
6666 o.add(buildSubnetwork()); | 6742 o.add(buildSubnetwork()); |
6667 o.add(buildSubnetwork()); | 6743 o.add(buildSubnetwork()); |
6668 return o; | 6744 return o; |
6669 } | 6745 } |
6670 | 6746 |
6671 checkUnnamed2139(core.List<api.Subnetwork> o) { | 6747 checkUnnamed2153(core.List<api.Subnetwork> o) { |
6672 unittest.expect(o, unittest.hasLength(2)); | 6748 unittest.expect(o, unittest.hasLength(2)); |
6673 checkSubnetwork(o[0]); | 6749 checkSubnetwork(o[0]); |
6674 checkSubnetwork(o[1]); | 6750 checkSubnetwork(o[1]); |
6675 } | 6751 } |
6676 | 6752 |
6677 core.int buildCounterSubnetworkList = 0; | 6753 core.int buildCounterSubnetworkList = 0; |
6678 buildSubnetworkList() { | 6754 buildSubnetworkList() { |
6679 var o = new api.SubnetworkList(); | 6755 var o = new api.SubnetworkList(); |
6680 buildCounterSubnetworkList++; | 6756 buildCounterSubnetworkList++; |
6681 if (buildCounterSubnetworkList < 3) { | 6757 if (buildCounterSubnetworkList < 3) { |
6682 o.id = "foo"; | 6758 o.id = "foo"; |
6683 o.items = buildUnnamed2139(); | 6759 o.items = buildUnnamed2153(); |
6684 o.kind = "foo"; | 6760 o.kind = "foo"; |
6685 o.nextPageToken = "foo"; | 6761 o.nextPageToken = "foo"; |
6686 o.selfLink = "foo"; | 6762 o.selfLink = "foo"; |
6687 } | 6763 } |
6688 buildCounterSubnetworkList--; | 6764 buildCounterSubnetworkList--; |
6689 return o; | 6765 return o; |
6690 } | 6766 } |
6691 | 6767 |
6692 checkSubnetworkList(api.SubnetworkList o) { | 6768 checkSubnetworkList(api.SubnetworkList o) { |
6693 buildCounterSubnetworkList++; | 6769 buildCounterSubnetworkList++; |
6694 if (buildCounterSubnetworkList < 3) { | 6770 if (buildCounterSubnetworkList < 3) { |
6695 unittest.expect(o.id, unittest.equals('foo')); | 6771 unittest.expect(o.id, unittest.equals('foo')); |
6696 checkUnnamed2139(o.items); | 6772 checkUnnamed2153(o.items); |
6697 unittest.expect(o.kind, unittest.equals('foo')); | 6773 unittest.expect(o.kind, unittest.equals('foo')); |
6698 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6774 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6699 unittest.expect(o.selfLink, unittest.equals('foo')); | 6775 unittest.expect(o.selfLink, unittest.equals('foo')); |
6700 } | 6776 } |
6701 buildCounterSubnetworkList--; | 6777 buildCounterSubnetworkList--; |
6702 } | 6778 } |
6703 | 6779 |
6704 core.int buildCounterSubnetworksExpandIpCidrRangeRequest = 0; | 6780 core.int buildCounterSubnetworksExpandIpCidrRangeRequest = 0; |
6705 buildSubnetworksExpandIpCidrRangeRequest() { | 6781 buildSubnetworksExpandIpCidrRangeRequest() { |
6706 var o = new api.SubnetworksExpandIpCidrRangeRequest(); | 6782 var o = new api.SubnetworksExpandIpCidrRangeRequest(); |
6707 buildCounterSubnetworksExpandIpCidrRangeRequest++; | 6783 buildCounterSubnetworksExpandIpCidrRangeRequest++; |
6708 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { | 6784 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { |
6709 o.ipCidrRange = "foo"; | 6785 o.ipCidrRange = "foo"; |
6710 } | 6786 } |
6711 buildCounterSubnetworksExpandIpCidrRangeRequest--; | 6787 buildCounterSubnetworksExpandIpCidrRangeRequest--; |
6712 return o; | 6788 return o; |
6713 } | 6789 } |
6714 | 6790 |
6715 checkSubnetworksExpandIpCidrRangeRequest(api.SubnetworksExpandIpCidrRangeRequest
o) { | 6791 checkSubnetworksExpandIpCidrRangeRequest(api.SubnetworksExpandIpCidrRangeRequest
o) { |
6716 buildCounterSubnetworksExpandIpCidrRangeRequest++; | 6792 buildCounterSubnetworksExpandIpCidrRangeRequest++; |
6717 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { | 6793 if (buildCounterSubnetworksExpandIpCidrRangeRequest < 3) { |
6718 unittest.expect(o.ipCidrRange, unittest.equals('foo')); | 6794 unittest.expect(o.ipCidrRange, unittest.equals('foo')); |
6719 } | 6795 } |
6720 buildCounterSubnetworksExpandIpCidrRangeRequest--; | 6796 buildCounterSubnetworksExpandIpCidrRangeRequest--; |
6721 } | 6797 } |
6722 | 6798 |
6723 buildUnnamed2140() { | 6799 buildUnnamed2154() { |
6724 var o = new core.List<api.Subnetwork>(); | 6800 var o = new core.List<api.Subnetwork>(); |
6725 o.add(buildSubnetwork()); | 6801 o.add(buildSubnetwork()); |
6726 o.add(buildSubnetwork()); | 6802 o.add(buildSubnetwork()); |
6727 return o; | 6803 return o; |
6728 } | 6804 } |
6729 | 6805 |
6730 checkUnnamed2140(core.List<api.Subnetwork> o) { | 6806 checkUnnamed2154(core.List<api.Subnetwork> o) { |
6731 unittest.expect(o, unittest.hasLength(2)); | 6807 unittest.expect(o, unittest.hasLength(2)); |
6732 checkSubnetwork(o[0]); | 6808 checkSubnetwork(o[0]); |
6733 checkSubnetwork(o[1]); | 6809 checkSubnetwork(o[1]); |
6734 } | 6810 } |
6735 | 6811 |
6736 core.int buildCounterSubnetworksScopedListWarningData = 0; | 6812 core.int buildCounterSubnetworksScopedListWarningData = 0; |
6737 buildSubnetworksScopedListWarningData() { | 6813 buildSubnetworksScopedListWarningData() { |
6738 var o = new api.SubnetworksScopedListWarningData(); | 6814 var o = new api.SubnetworksScopedListWarningData(); |
6739 buildCounterSubnetworksScopedListWarningData++; | 6815 buildCounterSubnetworksScopedListWarningData++; |
6740 if (buildCounterSubnetworksScopedListWarningData < 3) { | 6816 if (buildCounterSubnetworksScopedListWarningData < 3) { |
6741 o.key = "foo"; | 6817 o.key = "foo"; |
6742 o.value = "foo"; | 6818 o.value = "foo"; |
6743 } | 6819 } |
6744 buildCounterSubnetworksScopedListWarningData--; | 6820 buildCounterSubnetworksScopedListWarningData--; |
6745 return o; | 6821 return o; |
6746 } | 6822 } |
6747 | 6823 |
6748 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { | 6824 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { |
6749 buildCounterSubnetworksScopedListWarningData++; | 6825 buildCounterSubnetworksScopedListWarningData++; |
6750 if (buildCounterSubnetworksScopedListWarningData < 3) { | 6826 if (buildCounterSubnetworksScopedListWarningData < 3) { |
6751 unittest.expect(o.key, unittest.equals('foo')); | 6827 unittest.expect(o.key, unittest.equals('foo')); |
6752 unittest.expect(o.value, unittest.equals('foo')); | 6828 unittest.expect(o.value, unittest.equals('foo')); |
6753 } | 6829 } |
6754 buildCounterSubnetworksScopedListWarningData--; | 6830 buildCounterSubnetworksScopedListWarningData--; |
6755 } | 6831 } |
6756 | 6832 |
6757 buildUnnamed2141() { | 6833 buildUnnamed2155() { |
6758 var o = new core.List<api.SubnetworksScopedListWarningData>(); | 6834 var o = new core.List<api.SubnetworksScopedListWarningData>(); |
6759 o.add(buildSubnetworksScopedListWarningData()); | 6835 o.add(buildSubnetworksScopedListWarningData()); |
6760 o.add(buildSubnetworksScopedListWarningData()); | 6836 o.add(buildSubnetworksScopedListWarningData()); |
6761 return o; | 6837 return o; |
6762 } | 6838 } |
6763 | 6839 |
6764 checkUnnamed2141(core.List<api.SubnetworksScopedListWarningData> o) { | 6840 checkUnnamed2155(core.List<api.SubnetworksScopedListWarningData> o) { |
6765 unittest.expect(o, unittest.hasLength(2)); | 6841 unittest.expect(o, unittest.hasLength(2)); |
6766 checkSubnetworksScopedListWarningData(o[0]); | 6842 checkSubnetworksScopedListWarningData(o[0]); |
6767 checkSubnetworksScopedListWarningData(o[1]); | 6843 checkSubnetworksScopedListWarningData(o[1]); |
6768 } | 6844 } |
6769 | 6845 |
6770 core.int buildCounterSubnetworksScopedListWarning = 0; | 6846 core.int buildCounterSubnetworksScopedListWarning = 0; |
6771 buildSubnetworksScopedListWarning() { | 6847 buildSubnetworksScopedListWarning() { |
6772 var o = new api.SubnetworksScopedListWarning(); | 6848 var o = new api.SubnetworksScopedListWarning(); |
6773 buildCounterSubnetworksScopedListWarning++; | 6849 buildCounterSubnetworksScopedListWarning++; |
6774 if (buildCounterSubnetworksScopedListWarning < 3) { | 6850 if (buildCounterSubnetworksScopedListWarning < 3) { |
6775 o.code = "foo"; | 6851 o.code = "foo"; |
6776 o.data = buildUnnamed2141(); | 6852 o.data = buildUnnamed2155(); |
6777 o.message = "foo"; | 6853 o.message = "foo"; |
6778 } | 6854 } |
6779 buildCounterSubnetworksScopedListWarning--; | 6855 buildCounterSubnetworksScopedListWarning--; |
6780 return o; | 6856 return o; |
6781 } | 6857 } |
6782 | 6858 |
6783 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { | 6859 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { |
6784 buildCounterSubnetworksScopedListWarning++; | 6860 buildCounterSubnetworksScopedListWarning++; |
6785 if (buildCounterSubnetworksScopedListWarning < 3) { | 6861 if (buildCounterSubnetworksScopedListWarning < 3) { |
6786 unittest.expect(o.code, unittest.equals('foo')); | 6862 unittest.expect(o.code, unittest.equals('foo')); |
6787 checkUnnamed2141(o.data); | 6863 checkUnnamed2155(o.data); |
6788 unittest.expect(o.message, unittest.equals('foo')); | 6864 unittest.expect(o.message, unittest.equals('foo')); |
6789 } | 6865 } |
6790 buildCounterSubnetworksScopedListWarning--; | 6866 buildCounterSubnetworksScopedListWarning--; |
6791 } | 6867 } |
6792 | 6868 |
6793 core.int buildCounterSubnetworksScopedList = 0; | 6869 core.int buildCounterSubnetworksScopedList = 0; |
6794 buildSubnetworksScopedList() { | 6870 buildSubnetworksScopedList() { |
6795 var o = new api.SubnetworksScopedList(); | 6871 var o = new api.SubnetworksScopedList(); |
6796 buildCounterSubnetworksScopedList++; | 6872 buildCounterSubnetworksScopedList++; |
6797 if (buildCounterSubnetworksScopedList < 3) { | 6873 if (buildCounterSubnetworksScopedList < 3) { |
6798 o.subnetworks = buildUnnamed2140(); | 6874 o.subnetworks = buildUnnamed2154(); |
6799 o.warning = buildSubnetworksScopedListWarning(); | 6875 o.warning = buildSubnetworksScopedListWarning(); |
6800 } | 6876 } |
6801 buildCounterSubnetworksScopedList--; | 6877 buildCounterSubnetworksScopedList--; |
6802 return o; | 6878 return o; |
6803 } | 6879 } |
6804 | 6880 |
6805 checkSubnetworksScopedList(api.SubnetworksScopedList o) { | 6881 checkSubnetworksScopedList(api.SubnetworksScopedList o) { |
6806 buildCounterSubnetworksScopedList++; | 6882 buildCounterSubnetworksScopedList++; |
6807 if (buildCounterSubnetworksScopedList < 3) { | 6883 if (buildCounterSubnetworksScopedList < 3) { |
6808 checkUnnamed2140(o.subnetworks); | 6884 checkUnnamed2154(o.subnetworks); |
6809 checkSubnetworksScopedListWarning(o.warning); | 6885 checkSubnetworksScopedListWarning(o.warning); |
6810 } | 6886 } |
6811 buildCounterSubnetworksScopedList--; | 6887 buildCounterSubnetworksScopedList--; |
6812 } | 6888 } |
6813 | 6889 |
| 6890 core.int buildCounterSubnetworksSetPrivateIpGoogleAccessRequest = 0; |
| 6891 buildSubnetworksSetPrivateIpGoogleAccessRequest() { |
| 6892 var o = new api.SubnetworksSetPrivateIpGoogleAccessRequest(); |
| 6893 buildCounterSubnetworksSetPrivateIpGoogleAccessRequest++; |
| 6894 if (buildCounterSubnetworksSetPrivateIpGoogleAccessRequest < 3) { |
| 6895 o.privateIpGoogleAccess = true; |
| 6896 } |
| 6897 buildCounterSubnetworksSetPrivateIpGoogleAccessRequest--; |
| 6898 return o; |
| 6899 } |
| 6900 |
| 6901 checkSubnetworksSetPrivateIpGoogleAccessRequest(api.SubnetworksSetPrivateIpGoogl
eAccessRequest o) { |
| 6902 buildCounterSubnetworksSetPrivateIpGoogleAccessRequest++; |
| 6903 if (buildCounterSubnetworksSetPrivateIpGoogleAccessRequest < 3) { |
| 6904 unittest.expect(o.privateIpGoogleAccess, unittest.isTrue); |
| 6905 } |
| 6906 buildCounterSubnetworksSetPrivateIpGoogleAccessRequest--; |
| 6907 } |
| 6908 |
6814 core.int buildCounterTCPHealthCheck = 0; | 6909 core.int buildCounterTCPHealthCheck = 0; |
6815 buildTCPHealthCheck() { | 6910 buildTCPHealthCheck() { |
6816 var o = new api.TCPHealthCheck(); | 6911 var o = new api.TCPHealthCheck(); |
6817 buildCounterTCPHealthCheck++; | 6912 buildCounterTCPHealthCheck++; |
6818 if (buildCounterTCPHealthCheck < 3) { | 6913 if (buildCounterTCPHealthCheck < 3) { |
6819 o.port = 42; | 6914 o.port = 42; |
6820 o.portName = "foo"; | 6915 o.portName = "foo"; |
6821 o.proxyHeader = "foo"; | 6916 o.proxyHeader = "foo"; |
6822 o.request = "foo"; | 6917 o.request = "foo"; |
6823 o.response = "foo"; | 6918 o.response = "foo"; |
6824 } | 6919 } |
6825 buildCounterTCPHealthCheck--; | 6920 buildCounterTCPHealthCheck--; |
6826 return o; | 6921 return o; |
6827 } | 6922 } |
6828 | 6923 |
6829 checkTCPHealthCheck(api.TCPHealthCheck o) { | 6924 checkTCPHealthCheck(api.TCPHealthCheck o) { |
6830 buildCounterTCPHealthCheck++; | 6925 buildCounterTCPHealthCheck++; |
6831 if (buildCounterTCPHealthCheck < 3) { | 6926 if (buildCounterTCPHealthCheck < 3) { |
6832 unittest.expect(o.port, unittest.equals(42)); | 6927 unittest.expect(o.port, unittest.equals(42)); |
6833 unittest.expect(o.portName, unittest.equals('foo')); | 6928 unittest.expect(o.portName, unittest.equals('foo')); |
6834 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 6929 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
6835 unittest.expect(o.request, unittest.equals('foo')); | 6930 unittest.expect(o.request, unittest.equals('foo')); |
6836 unittest.expect(o.response, unittest.equals('foo')); | 6931 unittest.expect(o.response, unittest.equals('foo')); |
6837 } | 6932 } |
6838 buildCounterTCPHealthCheck--; | 6933 buildCounterTCPHealthCheck--; |
6839 } | 6934 } |
6840 | 6935 |
6841 buildUnnamed2142() { | 6936 buildUnnamed2156() { |
6842 var o = new core.List<core.String>(); | 6937 var o = new core.List<core.String>(); |
6843 o.add("foo"); | 6938 o.add("foo"); |
6844 o.add("foo"); | 6939 o.add("foo"); |
6845 return o; | 6940 return o; |
6846 } | 6941 } |
6847 | 6942 |
6848 checkUnnamed2142(core.List<core.String> o) { | 6943 checkUnnamed2156(core.List<core.String> o) { |
6849 unittest.expect(o, unittest.hasLength(2)); | 6944 unittest.expect(o, unittest.hasLength(2)); |
6850 unittest.expect(o[0], unittest.equals('foo')); | 6945 unittest.expect(o[0], unittest.equals('foo')); |
6851 unittest.expect(o[1], unittest.equals('foo')); | 6946 unittest.expect(o[1], unittest.equals('foo')); |
6852 } | 6947 } |
6853 | 6948 |
6854 core.int buildCounterTags = 0; | 6949 core.int buildCounterTags = 0; |
6855 buildTags() { | 6950 buildTags() { |
6856 var o = new api.Tags(); | 6951 var o = new api.Tags(); |
6857 buildCounterTags++; | 6952 buildCounterTags++; |
6858 if (buildCounterTags < 3) { | 6953 if (buildCounterTags < 3) { |
6859 o.fingerprint = "foo"; | 6954 o.fingerprint = "foo"; |
6860 o.items = buildUnnamed2142(); | 6955 o.items = buildUnnamed2156(); |
6861 } | 6956 } |
6862 buildCounterTags--; | 6957 buildCounterTags--; |
6863 return o; | 6958 return o; |
6864 } | 6959 } |
6865 | 6960 |
6866 checkTags(api.Tags o) { | 6961 checkTags(api.Tags o) { |
6867 buildCounterTags++; | 6962 buildCounterTags++; |
6868 if (buildCounterTags < 3) { | 6963 if (buildCounterTags < 3) { |
6869 unittest.expect(o.fingerprint, unittest.equals('foo')); | 6964 unittest.expect(o.fingerprint, unittest.equals('foo')); |
6870 checkUnnamed2142(o.items); | 6965 checkUnnamed2156(o.items); |
6871 } | 6966 } |
6872 buildCounterTags--; | 6967 buildCounterTags--; |
6873 } | 6968 } |
6874 | 6969 |
6875 core.int buildCounterTargetHttpProxy = 0; | 6970 core.int buildCounterTargetHttpProxy = 0; |
6876 buildTargetHttpProxy() { | 6971 buildTargetHttpProxy() { |
6877 var o = new api.TargetHttpProxy(); | 6972 var o = new api.TargetHttpProxy(); |
6878 buildCounterTargetHttpProxy++; | 6973 buildCounterTargetHttpProxy++; |
6879 if (buildCounterTargetHttpProxy < 3) { | 6974 if (buildCounterTargetHttpProxy < 3) { |
6880 o.creationTimestamp = "foo"; | 6975 o.creationTimestamp = "foo"; |
(...skipping 15 matching lines...) Expand all Loading... |
6896 unittest.expect(o.description, unittest.equals('foo')); | 6991 unittest.expect(o.description, unittest.equals('foo')); |
6897 unittest.expect(o.id, unittest.equals('foo')); | 6992 unittest.expect(o.id, unittest.equals('foo')); |
6898 unittest.expect(o.kind, unittest.equals('foo')); | 6993 unittest.expect(o.kind, unittest.equals('foo')); |
6899 unittest.expect(o.name, unittest.equals('foo')); | 6994 unittest.expect(o.name, unittest.equals('foo')); |
6900 unittest.expect(o.selfLink, unittest.equals('foo')); | 6995 unittest.expect(o.selfLink, unittest.equals('foo')); |
6901 unittest.expect(o.urlMap, unittest.equals('foo')); | 6996 unittest.expect(o.urlMap, unittest.equals('foo')); |
6902 } | 6997 } |
6903 buildCounterTargetHttpProxy--; | 6998 buildCounterTargetHttpProxy--; |
6904 } | 6999 } |
6905 | 7000 |
6906 buildUnnamed2143() { | 7001 buildUnnamed2157() { |
6907 var o = new core.List<api.TargetHttpProxy>(); | 7002 var o = new core.List<api.TargetHttpProxy>(); |
6908 o.add(buildTargetHttpProxy()); | 7003 o.add(buildTargetHttpProxy()); |
6909 o.add(buildTargetHttpProxy()); | 7004 o.add(buildTargetHttpProxy()); |
6910 return o; | 7005 return o; |
6911 } | 7006 } |
6912 | 7007 |
6913 checkUnnamed2143(core.List<api.TargetHttpProxy> o) { | 7008 checkUnnamed2157(core.List<api.TargetHttpProxy> o) { |
6914 unittest.expect(o, unittest.hasLength(2)); | 7009 unittest.expect(o, unittest.hasLength(2)); |
6915 checkTargetHttpProxy(o[0]); | 7010 checkTargetHttpProxy(o[0]); |
6916 checkTargetHttpProxy(o[1]); | 7011 checkTargetHttpProxy(o[1]); |
6917 } | 7012 } |
6918 | 7013 |
6919 core.int buildCounterTargetHttpProxyList = 0; | 7014 core.int buildCounterTargetHttpProxyList = 0; |
6920 buildTargetHttpProxyList() { | 7015 buildTargetHttpProxyList() { |
6921 var o = new api.TargetHttpProxyList(); | 7016 var o = new api.TargetHttpProxyList(); |
6922 buildCounterTargetHttpProxyList++; | 7017 buildCounterTargetHttpProxyList++; |
6923 if (buildCounterTargetHttpProxyList < 3) { | 7018 if (buildCounterTargetHttpProxyList < 3) { |
6924 o.id = "foo"; | 7019 o.id = "foo"; |
6925 o.items = buildUnnamed2143(); | 7020 o.items = buildUnnamed2157(); |
6926 o.kind = "foo"; | 7021 o.kind = "foo"; |
6927 o.nextPageToken = "foo"; | 7022 o.nextPageToken = "foo"; |
6928 o.selfLink = "foo"; | 7023 o.selfLink = "foo"; |
6929 } | 7024 } |
6930 buildCounterTargetHttpProxyList--; | 7025 buildCounterTargetHttpProxyList--; |
6931 return o; | 7026 return o; |
6932 } | 7027 } |
6933 | 7028 |
6934 checkTargetHttpProxyList(api.TargetHttpProxyList o) { | 7029 checkTargetHttpProxyList(api.TargetHttpProxyList o) { |
6935 buildCounterTargetHttpProxyList++; | 7030 buildCounterTargetHttpProxyList++; |
6936 if (buildCounterTargetHttpProxyList < 3) { | 7031 if (buildCounterTargetHttpProxyList < 3) { |
6937 unittest.expect(o.id, unittest.equals('foo')); | 7032 unittest.expect(o.id, unittest.equals('foo')); |
6938 checkUnnamed2143(o.items); | 7033 checkUnnamed2157(o.items); |
6939 unittest.expect(o.kind, unittest.equals('foo')); | 7034 unittest.expect(o.kind, unittest.equals('foo')); |
6940 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7035 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6941 unittest.expect(o.selfLink, unittest.equals('foo')); | 7036 unittest.expect(o.selfLink, unittest.equals('foo')); |
6942 } | 7037 } |
6943 buildCounterTargetHttpProxyList--; | 7038 buildCounterTargetHttpProxyList--; |
6944 } | 7039 } |
6945 | 7040 |
6946 buildUnnamed2144() { | 7041 buildUnnamed2158() { |
6947 var o = new core.List<core.String>(); | 7042 var o = new core.List<core.String>(); |
6948 o.add("foo"); | 7043 o.add("foo"); |
6949 o.add("foo"); | 7044 o.add("foo"); |
6950 return o; | 7045 return o; |
6951 } | 7046 } |
6952 | 7047 |
6953 checkUnnamed2144(core.List<core.String> o) { | 7048 checkUnnamed2158(core.List<core.String> o) { |
6954 unittest.expect(o, unittest.hasLength(2)); | 7049 unittest.expect(o, unittest.hasLength(2)); |
6955 unittest.expect(o[0], unittest.equals('foo')); | 7050 unittest.expect(o[0], unittest.equals('foo')); |
6956 unittest.expect(o[1], unittest.equals('foo')); | 7051 unittest.expect(o[1], unittest.equals('foo')); |
6957 } | 7052 } |
6958 | 7053 |
6959 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; | 7054 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; |
6960 buildTargetHttpsProxiesSetSslCertificatesRequest() { | 7055 buildTargetHttpsProxiesSetSslCertificatesRequest() { |
6961 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); | 7056 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); |
6962 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 7057 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
6963 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 7058 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
6964 o.sslCertificates = buildUnnamed2144(); | 7059 o.sslCertificates = buildUnnamed2158(); |
6965 } | 7060 } |
6966 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 7061 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
6967 return o; | 7062 return o; |
6968 } | 7063 } |
6969 | 7064 |
6970 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { | 7065 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { |
6971 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 7066 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
6972 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 7067 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
6973 checkUnnamed2144(o.sslCertificates); | 7068 checkUnnamed2158(o.sslCertificates); |
6974 } | 7069 } |
6975 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 7070 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
6976 } | 7071 } |
6977 | 7072 |
6978 buildUnnamed2145() { | 7073 buildUnnamed2159() { |
6979 var o = new core.List<core.String>(); | 7074 var o = new core.List<core.String>(); |
6980 o.add("foo"); | 7075 o.add("foo"); |
6981 o.add("foo"); | 7076 o.add("foo"); |
6982 return o; | 7077 return o; |
6983 } | 7078 } |
6984 | 7079 |
6985 checkUnnamed2145(core.List<core.String> o) { | 7080 checkUnnamed2159(core.List<core.String> o) { |
6986 unittest.expect(o, unittest.hasLength(2)); | 7081 unittest.expect(o, unittest.hasLength(2)); |
6987 unittest.expect(o[0], unittest.equals('foo')); | 7082 unittest.expect(o[0], unittest.equals('foo')); |
6988 unittest.expect(o[1], unittest.equals('foo')); | 7083 unittest.expect(o[1], unittest.equals('foo')); |
6989 } | 7084 } |
6990 | 7085 |
6991 core.int buildCounterTargetHttpsProxy = 0; | 7086 core.int buildCounterTargetHttpsProxy = 0; |
6992 buildTargetHttpsProxy() { | 7087 buildTargetHttpsProxy() { |
6993 var o = new api.TargetHttpsProxy(); | 7088 var o = new api.TargetHttpsProxy(); |
6994 buildCounterTargetHttpsProxy++; | 7089 buildCounterTargetHttpsProxy++; |
6995 if (buildCounterTargetHttpsProxy < 3) { | 7090 if (buildCounterTargetHttpsProxy < 3) { |
6996 o.creationTimestamp = "foo"; | 7091 o.creationTimestamp = "foo"; |
6997 o.description = "foo"; | 7092 o.description = "foo"; |
6998 o.id = "foo"; | 7093 o.id = "foo"; |
6999 o.kind = "foo"; | 7094 o.kind = "foo"; |
7000 o.name = "foo"; | 7095 o.name = "foo"; |
7001 o.selfLink = "foo"; | 7096 o.selfLink = "foo"; |
7002 o.sslCertificates = buildUnnamed2145(); | 7097 o.sslCertificates = buildUnnamed2159(); |
7003 o.urlMap = "foo"; | 7098 o.urlMap = "foo"; |
7004 } | 7099 } |
7005 buildCounterTargetHttpsProxy--; | 7100 buildCounterTargetHttpsProxy--; |
7006 return o; | 7101 return o; |
7007 } | 7102 } |
7008 | 7103 |
7009 checkTargetHttpsProxy(api.TargetHttpsProxy o) { | 7104 checkTargetHttpsProxy(api.TargetHttpsProxy o) { |
7010 buildCounterTargetHttpsProxy++; | 7105 buildCounterTargetHttpsProxy++; |
7011 if (buildCounterTargetHttpsProxy < 3) { | 7106 if (buildCounterTargetHttpsProxy < 3) { |
7012 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7107 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
7013 unittest.expect(o.description, unittest.equals('foo')); | 7108 unittest.expect(o.description, unittest.equals('foo')); |
7014 unittest.expect(o.id, unittest.equals('foo')); | 7109 unittest.expect(o.id, unittest.equals('foo')); |
7015 unittest.expect(o.kind, unittest.equals('foo')); | 7110 unittest.expect(o.kind, unittest.equals('foo')); |
7016 unittest.expect(o.name, unittest.equals('foo')); | 7111 unittest.expect(o.name, unittest.equals('foo')); |
7017 unittest.expect(o.selfLink, unittest.equals('foo')); | 7112 unittest.expect(o.selfLink, unittest.equals('foo')); |
7018 checkUnnamed2145(o.sslCertificates); | 7113 checkUnnamed2159(o.sslCertificates); |
7019 unittest.expect(o.urlMap, unittest.equals('foo')); | 7114 unittest.expect(o.urlMap, unittest.equals('foo')); |
7020 } | 7115 } |
7021 buildCounterTargetHttpsProxy--; | 7116 buildCounterTargetHttpsProxy--; |
7022 } | 7117 } |
7023 | 7118 |
7024 buildUnnamed2146() { | 7119 buildUnnamed2160() { |
7025 var o = new core.List<api.TargetHttpsProxy>(); | 7120 var o = new core.List<api.TargetHttpsProxy>(); |
7026 o.add(buildTargetHttpsProxy()); | 7121 o.add(buildTargetHttpsProxy()); |
7027 o.add(buildTargetHttpsProxy()); | 7122 o.add(buildTargetHttpsProxy()); |
7028 return o; | 7123 return o; |
7029 } | 7124 } |
7030 | 7125 |
7031 checkUnnamed2146(core.List<api.TargetHttpsProxy> o) { | 7126 checkUnnamed2160(core.List<api.TargetHttpsProxy> o) { |
7032 unittest.expect(o, unittest.hasLength(2)); | 7127 unittest.expect(o, unittest.hasLength(2)); |
7033 checkTargetHttpsProxy(o[0]); | 7128 checkTargetHttpsProxy(o[0]); |
7034 checkTargetHttpsProxy(o[1]); | 7129 checkTargetHttpsProxy(o[1]); |
7035 } | 7130 } |
7036 | 7131 |
7037 core.int buildCounterTargetHttpsProxyList = 0; | 7132 core.int buildCounterTargetHttpsProxyList = 0; |
7038 buildTargetHttpsProxyList() { | 7133 buildTargetHttpsProxyList() { |
7039 var o = new api.TargetHttpsProxyList(); | 7134 var o = new api.TargetHttpsProxyList(); |
7040 buildCounterTargetHttpsProxyList++; | 7135 buildCounterTargetHttpsProxyList++; |
7041 if (buildCounterTargetHttpsProxyList < 3) { | 7136 if (buildCounterTargetHttpsProxyList < 3) { |
7042 o.id = "foo"; | 7137 o.id = "foo"; |
7043 o.items = buildUnnamed2146(); | 7138 o.items = buildUnnamed2160(); |
7044 o.kind = "foo"; | 7139 o.kind = "foo"; |
7045 o.nextPageToken = "foo"; | 7140 o.nextPageToken = "foo"; |
7046 o.selfLink = "foo"; | 7141 o.selfLink = "foo"; |
7047 } | 7142 } |
7048 buildCounterTargetHttpsProxyList--; | 7143 buildCounterTargetHttpsProxyList--; |
7049 return o; | 7144 return o; |
7050 } | 7145 } |
7051 | 7146 |
7052 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { | 7147 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { |
7053 buildCounterTargetHttpsProxyList++; | 7148 buildCounterTargetHttpsProxyList++; |
7054 if (buildCounterTargetHttpsProxyList < 3) { | 7149 if (buildCounterTargetHttpsProxyList < 3) { |
7055 unittest.expect(o.id, unittest.equals('foo')); | 7150 unittest.expect(o.id, unittest.equals('foo')); |
7056 checkUnnamed2146(o.items); | 7151 checkUnnamed2160(o.items); |
7057 unittest.expect(o.kind, unittest.equals('foo')); | 7152 unittest.expect(o.kind, unittest.equals('foo')); |
7058 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7153 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7059 unittest.expect(o.selfLink, unittest.equals('foo')); | 7154 unittest.expect(o.selfLink, unittest.equals('foo')); |
7060 } | 7155 } |
7061 buildCounterTargetHttpsProxyList--; | 7156 buildCounterTargetHttpsProxyList--; |
7062 } | 7157 } |
7063 | 7158 |
7064 core.int buildCounterTargetInstance = 0; | 7159 core.int buildCounterTargetInstance = 0; |
7065 buildTargetInstance() { | 7160 buildTargetInstance() { |
7066 var o = new api.TargetInstance(); | 7161 var o = new api.TargetInstance(); |
(...skipping 22 matching lines...) Expand all Loading... |
7089 unittest.expect(o.instance, unittest.equals('foo')); | 7184 unittest.expect(o.instance, unittest.equals('foo')); |
7090 unittest.expect(o.kind, unittest.equals('foo')); | 7185 unittest.expect(o.kind, unittest.equals('foo')); |
7091 unittest.expect(o.name, unittest.equals('foo')); | 7186 unittest.expect(o.name, unittest.equals('foo')); |
7092 unittest.expect(o.natPolicy, unittest.equals('foo')); | 7187 unittest.expect(o.natPolicy, unittest.equals('foo')); |
7093 unittest.expect(o.selfLink, unittest.equals('foo')); | 7188 unittest.expect(o.selfLink, unittest.equals('foo')); |
7094 unittest.expect(o.zone, unittest.equals('foo')); | 7189 unittest.expect(o.zone, unittest.equals('foo')); |
7095 } | 7190 } |
7096 buildCounterTargetInstance--; | 7191 buildCounterTargetInstance--; |
7097 } | 7192 } |
7098 | 7193 |
7099 buildUnnamed2147() { | 7194 buildUnnamed2161() { |
7100 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); | 7195 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); |
7101 o["x"] = buildTargetInstancesScopedList(); | 7196 o["x"] = buildTargetInstancesScopedList(); |
7102 o["y"] = buildTargetInstancesScopedList(); | 7197 o["y"] = buildTargetInstancesScopedList(); |
7103 return o; | 7198 return o; |
7104 } | 7199 } |
7105 | 7200 |
7106 checkUnnamed2147(core.Map<core.String, api.TargetInstancesScopedList> o) { | 7201 checkUnnamed2161(core.Map<core.String, api.TargetInstancesScopedList> o) { |
7107 unittest.expect(o, unittest.hasLength(2)); | 7202 unittest.expect(o, unittest.hasLength(2)); |
7108 checkTargetInstancesScopedList(o["x"]); | 7203 checkTargetInstancesScopedList(o["x"]); |
7109 checkTargetInstancesScopedList(o["y"]); | 7204 checkTargetInstancesScopedList(o["y"]); |
7110 } | 7205 } |
7111 | 7206 |
7112 core.int buildCounterTargetInstanceAggregatedList = 0; | 7207 core.int buildCounterTargetInstanceAggregatedList = 0; |
7113 buildTargetInstanceAggregatedList() { | 7208 buildTargetInstanceAggregatedList() { |
7114 var o = new api.TargetInstanceAggregatedList(); | 7209 var o = new api.TargetInstanceAggregatedList(); |
7115 buildCounterTargetInstanceAggregatedList++; | 7210 buildCounterTargetInstanceAggregatedList++; |
7116 if (buildCounterTargetInstanceAggregatedList < 3) { | 7211 if (buildCounterTargetInstanceAggregatedList < 3) { |
7117 o.id = "foo"; | 7212 o.id = "foo"; |
7118 o.items = buildUnnamed2147(); | 7213 o.items = buildUnnamed2161(); |
7119 o.kind = "foo"; | 7214 o.kind = "foo"; |
7120 o.nextPageToken = "foo"; | 7215 o.nextPageToken = "foo"; |
7121 o.selfLink = "foo"; | 7216 o.selfLink = "foo"; |
7122 } | 7217 } |
7123 buildCounterTargetInstanceAggregatedList--; | 7218 buildCounterTargetInstanceAggregatedList--; |
7124 return o; | 7219 return o; |
7125 } | 7220 } |
7126 | 7221 |
7127 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { | 7222 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { |
7128 buildCounterTargetInstanceAggregatedList++; | 7223 buildCounterTargetInstanceAggregatedList++; |
7129 if (buildCounterTargetInstanceAggregatedList < 3) { | 7224 if (buildCounterTargetInstanceAggregatedList < 3) { |
7130 unittest.expect(o.id, unittest.equals('foo')); | 7225 unittest.expect(o.id, unittest.equals('foo')); |
7131 checkUnnamed2147(o.items); | 7226 checkUnnamed2161(o.items); |
7132 unittest.expect(o.kind, unittest.equals('foo')); | 7227 unittest.expect(o.kind, unittest.equals('foo')); |
7133 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7228 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7134 unittest.expect(o.selfLink, unittest.equals('foo')); | 7229 unittest.expect(o.selfLink, unittest.equals('foo')); |
7135 } | 7230 } |
7136 buildCounterTargetInstanceAggregatedList--; | 7231 buildCounterTargetInstanceAggregatedList--; |
7137 } | 7232 } |
7138 | 7233 |
7139 buildUnnamed2148() { | 7234 buildUnnamed2162() { |
7140 var o = new core.List<api.TargetInstance>(); | 7235 var o = new core.List<api.TargetInstance>(); |
7141 o.add(buildTargetInstance()); | 7236 o.add(buildTargetInstance()); |
7142 o.add(buildTargetInstance()); | 7237 o.add(buildTargetInstance()); |
7143 return o; | 7238 return o; |
7144 } | 7239 } |
7145 | 7240 |
7146 checkUnnamed2148(core.List<api.TargetInstance> o) { | 7241 checkUnnamed2162(core.List<api.TargetInstance> o) { |
7147 unittest.expect(o, unittest.hasLength(2)); | 7242 unittest.expect(o, unittest.hasLength(2)); |
7148 checkTargetInstance(o[0]); | 7243 checkTargetInstance(o[0]); |
7149 checkTargetInstance(o[1]); | 7244 checkTargetInstance(o[1]); |
7150 } | 7245 } |
7151 | 7246 |
7152 core.int buildCounterTargetInstanceList = 0; | 7247 core.int buildCounterTargetInstanceList = 0; |
7153 buildTargetInstanceList() { | 7248 buildTargetInstanceList() { |
7154 var o = new api.TargetInstanceList(); | 7249 var o = new api.TargetInstanceList(); |
7155 buildCounterTargetInstanceList++; | 7250 buildCounterTargetInstanceList++; |
7156 if (buildCounterTargetInstanceList < 3) { | 7251 if (buildCounterTargetInstanceList < 3) { |
7157 o.id = "foo"; | 7252 o.id = "foo"; |
7158 o.items = buildUnnamed2148(); | 7253 o.items = buildUnnamed2162(); |
7159 o.kind = "foo"; | 7254 o.kind = "foo"; |
7160 o.nextPageToken = "foo"; | 7255 o.nextPageToken = "foo"; |
7161 o.selfLink = "foo"; | 7256 o.selfLink = "foo"; |
7162 } | 7257 } |
7163 buildCounterTargetInstanceList--; | 7258 buildCounterTargetInstanceList--; |
7164 return o; | 7259 return o; |
7165 } | 7260 } |
7166 | 7261 |
7167 checkTargetInstanceList(api.TargetInstanceList o) { | 7262 checkTargetInstanceList(api.TargetInstanceList o) { |
7168 buildCounterTargetInstanceList++; | 7263 buildCounterTargetInstanceList++; |
7169 if (buildCounterTargetInstanceList < 3) { | 7264 if (buildCounterTargetInstanceList < 3) { |
7170 unittest.expect(o.id, unittest.equals('foo')); | 7265 unittest.expect(o.id, unittest.equals('foo')); |
7171 checkUnnamed2148(o.items); | 7266 checkUnnamed2162(o.items); |
7172 unittest.expect(o.kind, unittest.equals('foo')); | 7267 unittest.expect(o.kind, unittest.equals('foo')); |
7173 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7268 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7174 unittest.expect(o.selfLink, unittest.equals('foo')); | 7269 unittest.expect(o.selfLink, unittest.equals('foo')); |
7175 } | 7270 } |
7176 buildCounterTargetInstanceList--; | 7271 buildCounterTargetInstanceList--; |
7177 } | 7272 } |
7178 | 7273 |
7179 buildUnnamed2149() { | 7274 buildUnnamed2163() { |
7180 var o = new core.List<api.TargetInstance>(); | 7275 var o = new core.List<api.TargetInstance>(); |
7181 o.add(buildTargetInstance()); | 7276 o.add(buildTargetInstance()); |
7182 o.add(buildTargetInstance()); | 7277 o.add(buildTargetInstance()); |
7183 return o; | 7278 return o; |
7184 } | 7279 } |
7185 | 7280 |
7186 checkUnnamed2149(core.List<api.TargetInstance> o) { | 7281 checkUnnamed2163(core.List<api.TargetInstance> o) { |
7187 unittest.expect(o, unittest.hasLength(2)); | 7282 unittest.expect(o, unittest.hasLength(2)); |
7188 checkTargetInstance(o[0]); | 7283 checkTargetInstance(o[0]); |
7189 checkTargetInstance(o[1]); | 7284 checkTargetInstance(o[1]); |
7190 } | 7285 } |
7191 | 7286 |
7192 core.int buildCounterTargetInstancesScopedListWarningData = 0; | 7287 core.int buildCounterTargetInstancesScopedListWarningData = 0; |
7193 buildTargetInstancesScopedListWarningData() { | 7288 buildTargetInstancesScopedListWarningData() { |
7194 var o = new api.TargetInstancesScopedListWarningData(); | 7289 var o = new api.TargetInstancesScopedListWarningData(); |
7195 buildCounterTargetInstancesScopedListWarningData++; | 7290 buildCounterTargetInstancesScopedListWarningData++; |
7196 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 7291 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
7197 o.key = "foo"; | 7292 o.key = "foo"; |
7198 o.value = "foo"; | 7293 o.value = "foo"; |
7199 } | 7294 } |
7200 buildCounterTargetInstancesScopedListWarningData--; | 7295 buildCounterTargetInstancesScopedListWarningData--; |
7201 return o; | 7296 return o; |
7202 } | 7297 } |
7203 | 7298 |
7204 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { | 7299 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { |
7205 buildCounterTargetInstancesScopedListWarningData++; | 7300 buildCounterTargetInstancesScopedListWarningData++; |
7206 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 7301 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
7207 unittest.expect(o.key, unittest.equals('foo')); | 7302 unittest.expect(o.key, unittest.equals('foo')); |
7208 unittest.expect(o.value, unittest.equals('foo')); | 7303 unittest.expect(o.value, unittest.equals('foo')); |
7209 } | 7304 } |
7210 buildCounterTargetInstancesScopedListWarningData--; | 7305 buildCounterTargetInstancesScopedListWarningData--; |
7211 } | 7306 } |
7212 | 7307 |
7213 buildUnnamed2150() { | 7308 buildUnnamed2164() { |
7214 var o = new core.List<api.TargetInstancesScopedListWarningData>(); | 7309 var o = new core.List<api.TargetInstancesScopedListWarningData>(); |
7215 o.add(buildTargetInstancesScopedListWarningData()); | 7310 o.add(buildTargetInstancesScopedListWarningData()); |
7216 o.add(buildTargetInstancesScopedListWarningData()); | 7311 o.add(buildTargetInstancesScopedListWarningData()); |
7217 return o; | 7312 return o; |
7218 } | 7313 } |
7219 | 7314 |
7220 checkUnnamed2150(core.List<api.TargetInstancesScopedListWarningData> o) { | 7315 checkUnnamed2164(core.List<api.TargetInstancesScopedListWarningData> o) { |
7221 unittest.expect(o, unittest.hasLength(2)); | 7316 unittest.expect(o, unittest.hasLength(2)); |
7222 checkTargetInstancesScopedListWarningData(o[0]); | 7317 checkTargetInstancesScopedListWarningData(o[0]); |
7223 checkTargetInstancesScopedListWarningData(o[1]); | 7318 checkTargetInstancesScopedListWarningData(o[1]); |
7224 } | 7319 } |
7225 | 7320 |
7226 core.int buildCounterTargetInstancesScopedListWarning = 0; | 7321 core.int buildCounterTargetInstancesScopedListWarning = 0; |
7227 buildTargetInstancesScopedListWarning() { | 7322 buildTargetInstancesScopedListWarning() { |
7228 var o = new api.TargetInstancesScopedListWarning(); | 7323 var o = new api.TargetInstancesScopedListWarning(); |
7229 buildCounterTargetInstancesScopedListWarning++; | 7324 buildCounterTargetInstancesScopedListWarning++; |
7230 if (buildCounterTargetInstancesScopedListWarning < 3) { | 7325 if (buildCounterTargetInstancesScopedListWarning < 3) { |
7231 o.code = "foo"; | 7326 o.code = "foo"; |
7232 o.data = buildUnnamed2150(); | 7327 o.data = buildUnnamed2164(); |
7233 o.message = "foo"; | 7328 o.message = "foo"; |
7234 } | 7329 } |
7235 buildCounterTargetInstancesScopedListWarning--; | 7330 buildCounterTargetInstancesScopedListWarning--; |
7236 return o; | 7331 return o; |
7237 } | 7332 } |
7238 | 7333 |
7239 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { | 7334 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { |
7240 buildCounterTargetInstancesScopedListWarning++; | 7335 buildCounterTargetInstancesScopedListWarning++; |
7241 if (buildCounterTargetInstancesScopedListWarning < 3) { | 7336 if (buildCounterTargetInstancesScopedListWarning < 3) { |
7242 unittest.expect(o.code, unittest.equals('foo')); | 7337 unittest.expect(o.code, unittest.equals('foo')); |
7243 checkUnnamed2150(o.data); | 7338 checkUnnamed2164(o.data); |
7244 unittest.expect(o.message, unittest.equals('foo')); | 7339 unittest.expect(o.message, unittest.equals('foo')); |
7245 } | 7340 } |
7246 buildCounterTargetInstancesScopedListWarning--; | 7341 buildCounterTargetInstancesScopedListWarning--; |
7247 } | 7342 } |
7248 | 7343 |
7249 core.int buildCounterTargetInstancesScopedList = 0; | 7344 core.int buildCounterTargetInstancesScopedList = 0; |
7250 buildTargetInstancesScopedList() { | 7345 buildTargetInstancesScopedList() { |
7251 var o = new api.TargetInstancesScopedList(); | 7346 var o = new api.TargetInstancesScopedList(); |
7252 buildCounterTargetInstancesScopedList++; | 7347 buildCounterTargetInstancesScopedList++; |
7253 if (buildCounterTargetInstancesScopedList < 3) { | 7348 if (buildCounterTargetInstancesScopedList < 3) { |
7254 o.targetInstances = buildUnnamed2149(); | 7349 o.targetInstances = buildUnnamed2163(); |
7255 o.warning = buildTargetInstancesScopedListWarning(); | 7350 o.warning = buildTargetInstancesScopedListWarning(); |
7256 } | 7351 } |
7257 buildCounterTargetInstancesScopedList--; | 7352 buildCounterTargetInstancesScopedList--; |
7258 return o; | 7353 return o; |
7259 } | 7354 } |
7260 | 7355 |
7261 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { | 7356 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { |
7262 buildCounterTargetInstancesScopedList++; | 7357 buildCounterTargetInstancesScopedList++; |
7263 if (buildCounterTargetInstancesScopedList < 3) { | 7358 if (buildCounterTargetInstancesScopedList < 3) { |
7264 checkUnnamed2149(o.targetInstances); | 7359 checkUnnamed2163(o.targetInstances); |
7265 checkTargetInstancesScopedListWarning(o.warning); | 7360 checkTargetInstancesScopedListWarning(o.warning); |
7266 } | 7361 } |
7267 buildCounterTargetInstancesScopedList--; | 7362 buildCounterTargetInstancesScopedList--; |
7268 } | 7363 } |
7269 | 7364 |
7270 buildUnnamed2151() { | 7365 buildUnnamed2165() { |
7271 var o = new core.List<core.String>(); | 7366 var o = new core.List<core.String>(); |
7272 o.add("foo"); | 7367 o.add("foo"); |
7273 o.add("foo"); | 7368 o.add("foo"); |
7274 return o; | 7369 return o; |
7275 } | 7370 } |
7276 | 7371 |
7277 checkUnnamed2151(core.List<core.String> o) { | 7372 checkUnnamed2165(core.List<core.String> o) { |
7278 unittest.expect(o, unittest.hasLength(2)); | 7373 unittest.expect(o, unittest.hasLength(2)); |
7279 unittest.expect(o[0], unittest.equals('foo')); | 7374 unittest.expect(o[0], unittest.equals('foo')); |
7280 unittest.expect(o[1], unittest.equals('foo')); | 7375 unittest.expect(o[1], unittest.equals('foo')); |
7281 } | 7376 } |
7282 | 7377 |
7283 buildUnnamed2152() { | 7378 buildUnnamed2166() { |
7284 var o = new core.List<core.String>(); | 7379 var o = new core.List<core.String>(); |
7285 o.add("foo"); | 7380 o.add("foo"); |
7286 o.add("foo"); | 7381 o.add("foo"); |
7287 return o; | 7382 return o; |
7288 } | 7383 } |
7289 | 7384 |
7290 checkUnnamed2152(core.List<core.String> o) { | 7385 checkUnnamed2166(core.List<core.String> o) { |
7291 unittest.expect(o, unittest.hasLength(2)); | 7386 unittest.expect(o, unittest.hasLength(2)); |
7292 unittest.expect(o[0], unittest.equals('foo')); | 7387 unittest.expect(o[0], unittest.equals('foo')); |
7293 unittest.expect(o[1], unittest.equals('foo')); | 7388 unittest.expect(o[1], unittest.equals('foo')); |
7294 } | 7389 } |
7295 | 7390 |
7296 core.int buildCounterTargetPool = 0; | 7391 core.int buildCounterTargetPool = 0; |
7297 buildTargetPool() { | 7392 buildTargetPool() { |
7298 var o = new api.TargetPool(); | 7393 var o = new api.TargetPool(); |
7299 buildCounterTargetPool++; | 7394 buildCounterTargetPool++; |
7300 if (buildCounterTargetPool < 3) { | 7395 if (buildCounterTargetPool < 3) { |
7301 o.backupPool = "foo"; | 7396 o.backupPool = "foo"; |
7302 o.creationTimestamp = "foo"; | 7397 o.creationTimestamp = "foo"; |
7303 o.description = "foo"; | 7398 o.description = "foo"; |
7304 o.failoverRatio = 42.0; | 7399 o.failoverRatio = 42.0; |
7305 o.healthChecks = buildUnnamed2151(); | 7400 o.healthChecks = buildUnnamed2165(); |
7306 o.id = "foo"; | 7401 o.id = "foo"; |
7307 o.instances = buildUnnamed2152(); | 7402 o.instances = buildUnnamed2166(); |
7308 o.kind = "foo"; | 7403 o.kind = "foo"; |
7309 o.name = "foo"; | 7404 o.name = "foo"; |
7310 o.region = "foo"; | 7405 o.region = "foo"; |
7311 o.selfLink = "foo"; | 7406 o.selfLink = "foo"; |
7312 o.sessionAffinity = "foo"; | 7407 o.sessionAffinity = "foo"; |
7313 } | 7408 } |
7314 buildCounterTargetPool--; | 7409 buildCounterTargetPool--; |
7315 return o; | 7410 return o; |
7316 } | 7411 } |
7317 | 7412 |
7318 checkTargetPool(api.TargetPool o) { | 7413 checkTargetPool(api.TargetPool o) { |
7319 buildCounterTargetPool++; | 7414 buildCounterTargetPool++; |
7320 if (buildCounterTargetPool < 3) { | 7415 if (buildCounterTargetPool < 3) { |
7321 unittest.expect(o.backupPool, unittest.equals('foo')); | 7416 unittest.expect(o.backupPool, unittest.equals('foo')); |
7322 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7417 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
7323 unittest.expect(o.description, unittest.equals('foo')); | 7418 unittest.expect(o.description, unittest.equals('foo')); |
7324 unittest.expect(o.failoverRatio, unittest.equals(42.0)); | 7419 unittest.expect(o.failoverRatio, unittest.equals(42.0)); |
7325 checkUnnamed2151(o.healthChecks); | 7420 checkUnnamed2165(o.healthChecks); |
7326 unittest.expect(o.id, unittest.equals('foo')); | 7421 unittest.expect(o.id, unittest.equals('foo')); |
7327 checkUnnamed2152(o.instances); | 7422 checkUnnamed2166(o.instances); |
7328 unittest.expect(o.kind, unittest.equals('foo')); | 7423 unittest.expect(o.kind, unittest.equals('foo')); |
7329 unittest.expect(o.name, unittest.equals('foo')); | 7424 unittest.expect(o.name, unittest.equals('foo')); |
7330 unittest.expect(o.region, unittest.equals('foo')); | 7425 unittest.expect(o.region, unittest.equals('foo')); |
7331 unittest.expect(o.selfLink, unittest.equals('foo')); | 7426 unittest.expect(o.selfLink, unittest.equals('foo')); |
7332 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 7427 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
7333 } | 7428 } |
7334 buildCounterTargetPool--; | 7429 buildCounterTargetPool--; |
7335 } | 7430 } |
7336 | 7431 |
7337 buildUnnamed2153() { | 7432 buildUnnamed2167() { |
7338 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); | 7433 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); |
7339 o["x"] = buildTargetPoolsScopedList(); | 7434 o["x"] = buildTargetPoolsScopedList(); |
7340 o["y"] = buildTargetPoolsScopedList(); | 7435 o["y"] = buildTargetPoolsScopedList(); |
7341 return o; | 7436 return o; |
7342 } | 7437 } |
7343 | 7438 |
7344 checkUnnamed2153(core.Map<core.String, api.TargetPoolsScopedList> o) { | 7439 checkUnnamed2167(core.Map<core.String, api.TargetPoolsScopedList> o) { |
7345 unittest.expect(o, unittest.hasLength(2)); | 7440 unittest.expect(o, unittest.hasLength(2)); |
7346 checkTargetPoolsScopedList(o["x"]); | 7441 checkTargetPoolsScopedList(o["x"]); |
7347 checkTargetPoolsScopedList(o["y"]); | 7442 checkTargetPoolsScopedList(o["y"]); |
7348 } | 7443 } |
7349 | 7444 |
7350 core.int buildCounterTargetPoolAggregatedList = 0; | 7445 core.int buildCounterTargetPoolAggregatedList = 0; |
7351 buildTargetPoolAggregatedList() { | 7446 buildTargetPoolAggregatedList() { |
7352 var o = new api.TargetPoolAggregatedList(); | 7447 var o = new api.TargetPoolAggregatedList(); |
7353 buildCounterTargetPoolAggregatedList++; | 7448 buildCounterTargetPoolAggregatedList++; |
7354 if (buildCounterTargetPoolAggregatedList < 3) { | 7449 if (buildCounterTargetPoolAggregatedList < 3) { |
7355 o.id = "foo"; | 7450 o.id = "foo"; |
7356 o.items = buildUnnamed2153(); | 7451 o.items = buildUnnamed2167(); |
7357 o.kind = "foo"; | 7452 o.kind = "foo"; |
7358 o.nextPageToken = "foo"; | 7453 o.nextPageToken = "foo"; |
7359 o.selfLink = "foo"; | 7454 o.selfLink = "foo"; |
7360 } | 7455 } |
7361 buildCounterTargetPoolAggregatedList--; | 7456 buildCounterTargetPoolAggregatedList--; |
7362 return o; | 7457 return o; |
7363 } | 7458 } |
7364 | 7459 |
7365 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { | 7460 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { |
7366 buildCounterTargetPoolAggregatedList++; | 7461 buildCounterTargetPoolAggregatedList++; |
7367 if (buildCounterTargetPoolAggregatedList < 3) { | 7462 if (buildCounterTargetPoolAggregatedList < 3) { |
7368 unittest.expect(o.id, unittest.equals('foo')); | 7463 unittest.expect(o.id, unittest.equals('foo')); |
7369 checkUnnamed2153(o.items); | 7464 checkUnnamed2167(o.items); |
7370 unittest.expect(o.kind, unittest.equals('foo')); | 7465 unittest.expect(o.kind, unittest.equals('foo')); |
7371 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7466 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7372 unittest.expect(o.selfLink, unittest.equals('foo')); | 7467 unittest.expect(o.selfLink, unittest.equals('foo')); |
7373 } | 7468 } |
7374 buildCounterTargetPoolAggregatedList--; | 7469 buildCounterTargetPoolAggregatedList--; |
7375 } | 7470 } |
7376 | 7471 |
7377 buildUnnamed2154() { | 7472 buildUnnamed2168() { |
7378 var o = new core.List<api.HealthStatus>(); | 7473 var o = new core.List<api.HealthStatus>(); |
7379 o.add(buildHealthStatus()); | 7474 o.add(buildHealthStatus()); |
7380 o.add(buildHealthStatus()); | 7475 o.add(buildHealthStatus()); |
7381 return o; | 7476 return o; |
7382 } | 7477 } |
7383 | 7478 |
7384 checkUnnamed2154(core.List<api.HealthStatus> o) { | 7479 checkUnnamed2168(core.List<api.HealthStatus> o) { |
7385 unittest.expect(o, unittest.hasLength(2)); | 7480 unittest.expect(o, unittest.hasLength(2)); |
7386 checkHealthStatus(o[0]); | 7481 checkHealthStatus(o[0]); |
7387 checkHealthStatus(o[1]); | 7482 checkHealthStatus(o[1]); |
7388 } | 7483 } |
7389 | 7484 |
7390 core.int buildCounterTargetPoolInstanceHealth = 0; | 7485 core.int buildCounterTargetPoolInstanceHealth = 0; |
7391 buildTargetPoolInstanceHealth() { | 7486 buildTargetPoolInstanceHealth() { |
7392 var o = new api.TargetPoolInstanceHealth(); | 7487 var o = new api.TargetPoolInstanceHealth(); |
7393 buildCounterTargetPoolInstanceHealth++; | 7488 buildCounterTargetPoolInstanceHealth++; |
7394 if (buildCounterTargetPoolInstanceHealth < 3) { | 7489 if (buildCounterTargetPoolInstanceHealth < 3) { |
7395 o.healthStatus = buildUnnamed2154(); | 7490 o.healthStatus = buildUnnamed2168(); |
7396 o.kind = "foo"; | 7491 o.kind = "foo"; |
7397 } | 7492 } |
7398 buildCounterTargetPoolInstanceHealth--; | 7493 buildCounterTargetPoolInstanceHealth--; |
7399 return o; | 7494 return o; |
7400 } | 7495 } |
7401 | 7496 |
7402 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { | 7497 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { |
7403 buildCounterTargetPoolInstanceHealth++; | 7498 buildCounterTargetPoolInstanceHealth++; |
7404 if (buildCounterTargetPoolInstanceHealth < 3) { | 7499 if (buildCounterTargetPoolInstanceHealth < 3) { |
7405 checkUnnamed2154(o.healthStatus); | 7500 checkUnnamed2168(o.healthStatus); |
7406 unittest.expect(o.kind, unittest.equals('foo')); | 7501 unittest.expect(o.kind, unittest.equals('foo')); |
7407 } | 7502 } |
7408 buildCounterTargetPoolInstanceHealth--; | 7503 buildCounterTargetPoolInstanceHealth--; |
7409 } | 7504 } |
7410 | 7505 |
7411 buildUnnamed2155() { | 7506 buildUnnamed2169() { |
7412 var o = new core.List<api.TargetPool>(); | 7507 var o = new core.List<api.TargetPool>(); |
7413 o.add(buildTargetPool()); | 7508 o.add(buildTargetPool()); |
7414 o.add(buildTargetPool()); | 7509 o.add(buildTargetPool()); |
7415 return o; | 7510 return o; |
7416 } | 7511 } |
7417 | 7512 |
7418 checkUnnamed2155(core.List<api.TargetPool> o) { | 7513 checkUnnamed2169(core.List<api.TargetPool> o) { |
7419 unittest.expect(o, unittest.hasLength(2)); | 7514 unittest.expect(o, unittest.hasLength(2)); |
7420 checkTargetPool(o[0]); | 7515 checkTargetPool(o[0]); |
7421 checkTargetPool(o[1]); | 7516 checkTargetPool(o[1]); |
7422 } | 7517 } |
7423 | 7518 |
7424 core.int buildCounterTargetPoolList = 0; | 7519 core.int buildCounterTargetPoolList = 0; |
7425 buildTargetPoolList() { | 7520 buildTargetPoolList() { |
7426 var o = new api.TargetPoolList(); | 7521 var o = new api.TargetPoolList(); |
7427 buildCounterTargetPoolList++; | 7522 buildCounterTargetPoolList++; |
7428 if (buildCounterTargetPoolList < 3) { | 7523 if (buildCounterTargetPoolList < 3) { |
7429 o.id = "foo"; | 7524 o.id = "foo"; |
7430 o.items = buildUnnamed2155(); | 7525 o.items = buildUnnamed2169(); |
7431 o.kind = "foo"; | 7526 o.kind = "foo"; |
7432 o.nextPageToken = "foo"; | 7527 o.nextPageToken = "foo"; |
7433 o.selfLink = "foo"; | 7528 o.selfLink = "foo"; |
7434 } | 7529 } |
7435 buildCounterTargetPoolList--; | 7530 buildCounterTargetPoolList--; |
7436 return o; | 7531 return o; |
7437 } | 7532 } |
7438 | 7533 |
7439 checkTargetPoolList(api.TargetPoolList o) { | 7534 checkTargetPoolList(api.TargetPoolList o) { |
7440 buildCounterTargetPoolList++; | 7535 buildCounterTargetPoolList++; |
7441 if (buildCounterTargetPoolList < 3) { | 7536 if (buildCounterTargetPoolList < 3) { |
7442 unittest.expect(o.id, unittest.equals('foo')); | 7537 unittest.expect(o.id, unittest.equals('foo')); |
7443 checkUnnamed2155(o.items); | 7538 checkUnnamed2169(o.items); |
7444 unittest.expect(o.kind, unittest.equals('foo')); | 7539 unittest.expect(o.kind, unittest.equals('foo')); |
7445 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7540 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7446 unittest.expect(o.selfLink, unittest.equals('foo')); | 7541 unittest.expect(o.selfLink, unittest.equals('foo')); |
7447 } | 7542 } |
7448 buildCounterTargetPoolList--; | 7543 buildCounterTargetPoolList--; |
7449 } | 7544 } |
7450 | 7545 |
7451 buildUnnamed2156() { | 7546 buildUnnamed2170() { |
7452 var o = new core.List<api.HealthCheckReference>(); | 7547 var o = new core.List<api.HealthCheckReference>(); |
7453 o.add(buildHealthCheckReference()); | 7548 o.add(buildHealthCheckReference()); |
7454 o.add(buildHealthCheckReference()); | 7549 o.add(buildHealthCheckReference()); |
7455 return o; | 7550 return o; |
7456 } | 7551 } |
7457 | 7552 |
7458 checkUnnamed2156(core.List<api.HealthCheckReference> o) { | 7553 checkUnnamed2170(core.List<api.HealthCheckReference> o) { |
7459 unittest.expect(o, unittest.hasLength(2)); | 7554 unittest.expect(o, unittest.hasLength(2)); |
7460 checkHealthCheckReference(o[0]); | 7555 checkHealthCheckReference(o[0]); |
7461 checkHealthCheckReference(o[1]); | 7556 checkHealthCheckReference(o[1]); |
7462 } | 7557 } |
7463 | 7558 |
7464 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; | 7559 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; |
7465 buildTargetPoolsAddHealthCheckRequest() { | 7560 buildTargetPoolsAddHealthCheckRequest() { |
7466 var o = new api.TargetPoolsAddHealthCheckRequest(); | 7561 var o = new api.TargetPoolsAddHealthCheckRequest(); |
7467 buildCounterTargetPoolsAddHealthCheckRequest++; | 7562 buildCounterTargetPoolsAddHealthCheckRequest++; |
7468 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 7563 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
7469 o.healthChecks = buildUnnamed2156(); | 7564 o.healthChecks = buildUnnamed2170(); |
7470 } | 7565 } |
7471 buildCounterTargetPoolsAddHealthCheckRequest--; | 7566 buildCounterTargetPoolsAddHealthCheckRequest--; |
7472 return o; | 7567 return o; |
7473 } | 7568 } |
7474 | 7569 |
7475 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { | 7570 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { |
7476 buildCounterTargetPoolsAddHealthCheckRequest++; | 7571 buildCounterTargetPoolsAddHealthCheckRequest++; |
7477 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 7572 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
7478 checkUnnamed2156(o.healthChecks); | 7573 checkUnnamed2170(o.healthChecks); |
7479 } | 7574 } |
7480 buildCounterTargetPoolsAddHealthCheckRequest--; | 7575 buildCounterTargetPoolsAddHealthCheckRequest--; |
7481 } | 7576 } |
7482 | 7577 |
7483 buildUnnamed2157() { | 7578 buildUnnamed2171() { |
7484 var o = new core.List<api.InstanceReference>(); | 7579 var o = new core.List<api.InstanceReference>(); |
7485 o.add(buildInstanceReference()); | 7580 o.add(buildInstanceReference()); |
7486 o.add(buildInstanceReference()); | 7581 o.add(buildInstanceReference()); |
7487 return o; | 7582 return o; |
7488 } | 7583 } |
7489 | 7584 |
7490 checkUnnamed2157(core.List<api.InstanceReference> o) { | 7585 checkUnnamed2171(core.List<api.InstanceReference> o) { |
7491 unittest.expect(o, unittest.hasLength(2)); | 7586 unittest.expect(o, unittest.hasLength(2)); |
7492 checkInstanceReference(o[0]); | 7587 checkInstanceReference(o[0]); |
7493 checkInstanceReference(o[1]); | 7588 checkInstanceReference(o[1]); |
7494 } | 7589 } |
7495 | 7590 |
7496 core.int buildCounterTargetPoolsAddInstanceRequest = 0; | 7591 core.int buildCounterTargetPoolsAddInstanceRequest = 0; |
7497 buildTargetPoolsAddInstanceRequest() { | 7592 buildTargetPoolsAddInstanceRequest() { |
7498 var o = new api.TargetPoolsAddInstanceRequest(); | 7593 var o = new api.TargetPoolsAddInstanceRequest(); |
7499 buildCounterTargetPoolsAddInstanceRequest++; | 7594 buildCounterTargetPoolsAddInstanceRequest++; |
7500 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 7595 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
7501 o.instances = buildUnnamed2157(); | 7596 o.instances = buildUnnamed2171(); |
7502 } | 7597 } |
7503 buildCounterTargetPoolsAddInstanceRequest--; | 7598 buildCounterTargetPoolsAddInstanceRequest--; |
7504 return o; | 7599 return o; |
7505 } | 7600 } |
7506 | 7601 |
7507 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { | 7602 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { |
7508 buildCounterTargetPoolsAddInstanceRequest++; | 7603 buildCounterTargetPoolsAddInstanceRequest++; |
7509 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 7604 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
7510 checkUnnamed2157(o.instances); | 7605 checkUnnamed2171(o.instances); |
7511 } | 7606 } |
7512 buildCounterTargetPoolsAddInstanceRequest--; | 7607 buildCounterTargetPoolsAddInstanceRequest--; |
7513 } | 7608 } |
7514 | 7609 |
7515 buildUnnamed2158() { | 7610 buildUnnamed2172() { |
7516 var o = new core.List<api.HealthCheckReference>(); | 7611 var o = new core.List<api.HealthCheckReference>(); |
7517 o.add(buildHealthCheckReference()); | 7612 o.add(buildHealthCheckReference()); |
7518 o.add(buildHealthCheckReference()); | 7613 o.add(buildHealthCheckReference()); |
7519 return o; | 7614 return o; |
7520 } | 7615 } |
7521 | 7616 |
7522 checkUnnamed2158(core.List<api.HealthCheckReference> o) { | 7617 checkUnnamed2172(core.List<api.HealthCheckReference> o) { |
7523 unittest.expect(o, unittest.hasLength(2)); | 7618 unittest.expect(o, unittest.hasLength(2)); |
7524 checkHealthCheckReference(o[0]); | 7619 checkHealthCheckReference(o[0]); |
7525 checkHealthCheckReference(o[1]); | 7620 checkHealthCheckReference(o[1]); |
7526 } | 7621 } |
7527 | 7622 |
7528 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; | 7623 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; |
7529 buildTargetPoolsRemoveHealthCheckRequest() { | 7624 buildTargetPoolsRemoveHealthCheckRequest() { |
7530 var o = new api.TargetPoolsRemoveHealthCheckRequest(); | 7625 var o = new api.TargetPoolsRemoveHealthCheckRequest(); |
7531 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 7626 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
7532 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 7627 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
7533 o.healthChecks = buildUnnamed2158(); | 7628 o.healthChecks = buildUnnamed2172(); |
7534 } | 7629 } |
7535 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 7630 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
7536 return o; | 7631 return o; |
7537 } | 7632 } |
7538 | 7633 |
7539 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { | 7634 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { |
7540 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 7635 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
7541 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 7636 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
7542 checkUnnamed2158(o.healthChecks); | 7637 checkUnnamed2172(o.healthChecks); |
7543 } | 7638 } |
7544 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 7639 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
7545 } | 7640 } |
7546 | 7641 |
7547 buildUnnamed2159() { | 7642 buildUnnamed2173() { |
7548 var o = new core.List<api.InstanceReference>(); | 7643 var o = new core.List<api.InstanceReference>(); |
7549 o.add(buildInstanceReference()); | 7644 o.add(buildInstanceReference()); |
7550 o.add(buildInstanceReference()); | 7645 o.add(buildInstanceReference()); |
7551 return o; | 7646 return o; |
7552 } | 7647 } |
7553 | 7648 |
7554 checkUnnamed2159(core.List<api.InstanceReference> o) { | 7649 checkUnnamed2173(core.List<api.InstanceReference> o) { |
7555 unittest.expect(o, unittest.hasLength(2)); | 7650 unittest.expect(o, unittest.hasLength(2)); |
7556 checkInstanceReference(o[0]); | 7651 checkInstanceReference(o[0]); |
7557 checkInstanceReference(o[1]); | 7652 checkInstanceReference(o[1]); |
7558 } | 7653 } |
7559 | 7654 |
7560 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; | 7655 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; |
7561 buildTargetPoolsRemoveInstanceRequest() { | 7656 buildTargetPoolsRemoveInstanceRequest() { |
7562 var o = new api.TargetPoolsRemoveInstanceRequest(); | 7657 var o = new api.TargetPoolsRemoveInstanceRequest(); |
7563 buildCounterTargetPoolsRemoveInstanceRequest++; | 7658 buildCounterTargetPoolsRemoveInstanceRequest++; |
7564 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 7659 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
7565 o.instances = buildUnnamed2159(); | 7660 o.instances = buildUnnamed2173(); |
7566 } | 7661 } |
7567 buildCounterTargetPoolsRemoveInstanceRequest--; | 7662 buildCounterTargetPoolsRemoveInstanceRequest--; |
7568 return o; | 7663 return o; |
7569 } | 7664 } |
7570 | 7665 |
7571 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { | 7666 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { |
7572 buildCounterTargetPoolsRemoveInstanceRequest++; | 7667 buildCounterTargetPoolsRemoveInstanceRequest++; |
7573 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 7668 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
7574 checkUnnamed2159(o.instances); | 7669 checkUnnamed2173(o.instances); |
7575 } | 7670 } |
7576 buildCounterTargetPoolsRemoveInstanceRequest--; | 7671 buildCounterTargetPoolsRemoveInstanceRequest--; |
7577 } | 7672 } |
7578 | 7673 |
7579 buildUnnamed2160() { | 7674 buildUnnamed2174() { |
7580 var o = new core.List<api.TargetPool>(); | 7675 var o = new core.List<api.TargetPool>(); |
7581 o.add(buildTargetPool()); | 7676 o.add(buildTargetPool()); |
7582 o.add(buildTargetPool()); | 7677 o.add(buildTargetPool()); |
7583 return o; | 7678 return o; |
7584 } | 7679 } |
7585 | 7680 |
7586 checkUnnamed2160(core.List<api.TargetPool> o) { | 7681 checkUnnamed2174(core.List<api.TargetPool> o) { |
7587 unittest.expect(o, unittest.hasLength(2)); | 7682 unittest.expect(o, unittest.hasLength(2)); |
7588 checkTargetPool(o[0]); | 7683 checkTargetPool(o[0]); |
7589 checkTargetPool(o[1]); | 7684 checkTargetPool(o[1]); |
7590 } | 7685 } |
7591 | 7686 |
7592 core.int buildCounterTargetPoolsScopedListWarningData = 0; | 7687 core.int buildCounterTargetPoolsScopedListWarningData = 0; |
7593 buildTargetPoolsScopedListWarningData() { | 7688 buildTargetPoolsScopedListWarningData() { |
7594 var o = new api.TargetPoolsScopedListWarningData(); | 7689 var o = new api.TargetPoolsScopedListWarningData(); |
7595 buildCounterTargetPoolsScopedListWarningData++; | 7690 buildCounterTargetPoolsScopedListWarningData++; |
7596 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 7691 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
7597 o.key = "foo"; | 7692 o.key = "foo"; |
7598 o.value = "foo"; | 7693 o.value = "foo"; |
7599 } | 7694 } |
7600 buildCounterTargetPoolsScopedListWarningData--; | 7695 buildCounterTargetPoolsScopedListWarningData--; |
7601 return o; | 7696 return o; |
7602 } | 7697 } |
7603 | 7698 |
7604 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { | 7699 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { |
7605 buildCounterTargetPoolsScopedListWarningData++; | 7700 buildCounterTargetPoolsScopedListWarningData++; |
7606 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 7701 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
7607 unittest.expect(o.key, unittest.equals('foo')); | 7702 unittest.expect(o.key, unittest.equals('foo')); |
7608 unittest.expect(o.value, unittest.equals('foo')); | 7703 unittest.expect(o.value, unittest.equals('foo')); |
7609 } | 7704 } |
7610 buildCounterTargetPoolsScopedListWarningData--; | 7705 buildCounterTargetPoolsScopedListWarningData--; |
7611 } | 7706 } |
7612 | 7707 |
7613 buildUnnamed2161() { | 7708 buildUnnamed2175() { |
7614 var o = new core.List<api.TargetPoolsScopedListWarningData>(); | 7709 var o = new core.List<api.TargetPoolsScopedListWarningData>(); |
7615 o.add(buildTargetPoolsScopedListWarningData()); | 7710 o.add(buildTargetPoolsScopedListWarningData()); |
7616 o.add(buildTargetPoolsScopedListWarningData()); | 7711 o.add(buildTargetPoolsScopedListWarningData()); |
7617 return o; | 7712 return o; |
7618 } | 7713 } |
7619 | 7714 |
7620 checkUnnamed2161(core.List<api.TargetPoolsScopedListWarningData> o) { | 7715 checkUnnamed2175(core.List<api.TargetPoolsScopedListWarningData> o) { |
7621 unittest.expect(o, unittest.hasLength(2)); | 7716 unittest.expect(o, unittest.hasLength(2)); |
7622 checkTargetPoolsScopedListWarningData(o[0]); | 7717 checkTargetPoolsScopedListWarningData(o[0]); |
7623 checkTargetPoolsScopedListWarningData(o[1]); | 7718 checkTargetPoolsScopedListWarningData(o[1]); |
7624 } | 7719 } |
7625 | 7720 |
7626 core.int buildCounterTargetPoolsScopedListWarning = 0; | 7721 core.int buildCounterTargetPoolsScopedListWarning = 0; |
7627 buildTargetPoolsScopedListWarning() { | 7722 buildTargetPoolsScopedListWarning() { |
7628 var o = new api.TargetPoolsScopedListWarning(); | 7723 var o = new api.TargetPoolsScopedListWarning(); |
7629 buildCounterTargetPoolsScopedListWarning++; | 7724 buildCounterTargetPoolsScopedListWarning++; |
7630 if (buildCounterTargetPoolsScopedListWarning < 3) { | 7725 if (buildCounterTargetPoolsScopedListWarning < 3) { |
7631 o.code = "foo"; | 7726 o.code = "foo"; |
7632 o.data = buildUnnamed2161(); | 7727 o.data = buildUnnamed2175(); |
7633 o.message = "foo"; | 7728 o.message = "foo"; |
7634 } | 7729 } |
7635 buildCounterTargetPoolsScopedListWarning--; | 7730 buildCounterTargetPoolsScopedListWarning--; |
7636 return o; | 7731 return o; |
7637 } | 7732 } |
7638 | 7733 |
7639 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { | 7734 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { |
7640 buildCounterTargetPoolsScopedListWarning++; | 7735 buildCounterTargetPoolsScopedListWarning++; |
7641 if (buildCounterTargetPoolsScopedListWarning < 3) { | 7736 if (buildCounterTargetPoolsScopedListWarning < 3) { |
7642 unittest.expect(o.code, unittest.equals('foo')); | 7737 unittest.expect(o.code, unittest.equals('foo')); |
7643 checkUnnamed2161(o.data); | 7738 checkUnnamed2175(o.data); |
7644 unittest.expect(o.message, unittest.equals('foo')); | 7739 unittest.expect(o.message, unittest.equals('foo')); |
7645 } | 7740 } |
7646 buildCounterTargetPoolsScopedListWarning--; | 7741 buildCounterTargetPoolsScopedListWarning--; |
7647 } | 7742 } |
7648 | 7743 |
7649 core.int buildCounterTargetPoolsScopedList = 0; | 7744 core.int buildCounterTargetPoolsScopedList = 0; |
7650 buildTargetPoolsScopedList() { | 7745 buildTargetPoolsScopedList() { |
7651 var o = new api.TargetPoolsScopedList(); | 7746 var o = new api.TargetPoolsScopedList(); |
7652 buildCounterTargetPoolsScopedList++; | 7747 buildCounterTargetPoolsScopedList++; |
7653 if (buildCounterTargetPoolsScopedList < 3) { | 7748 if (buildCounterTargetPoolsScopedList < 3) { |
7654 o.targetPools = buildUnnamed2160(); | 7749 o.targetPools = buildUnnamed2174(); |
7655 o.warning = buildTargetPoolsScopedListWarning(); | 7750 o.warning = buildTargetPoolsScopedListWarning(); |
7656 } | 7751 } |
7657 buildCounterTargetPoolsScopedList--; | 7752 buildCounterTargetPoolsScopedList--; |
7658 return o; | 7753 return o; |
7659 } | 7754 } |
7660 | 7755 |
7661 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { | 7756 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { |
7662 buildCounterTargetPoolsScopedList++; | 7757 buildCounterTargetPoolsScopedList++; |
7663 if (buildCounterTargetPoolsScopedList < 3) { | 7758 if (buildCounterTargetPoolsScopedList < 3) { |
7664 checkUnnamed2160(o.targetPools); | 7759 checkUnnamed2174(o.targetPools); |
7665 checkTargetPoolsScopedListWarning(o.warning); | 7760 checkTargetPoolsScopedListWarning(o.warning); |
7666 } | 7761 } |
7667 buildCounterTargetPoolsScopedList--; | 7762 buildCounterTargetPoolsScopedList--; |
7668 } | 7763 } |
7669 | 7764 |
7670 core.int buildCounterTargetReference = 0; | 7765 core.int buildCounterTargetReference = 0; |
7671 buildTargetReference() { | 7766 buildTargetReference() { |
7672 var o = new api.TargetReference(); | 7767 var o = new api.TargetReference(); |
7673 buildCounterTargetReference++; | 7768 buildCounterTargetReference++; |
7674 if (buildCounterTargetReference < 3) { | 7769 if (buildCounterTargetReference < 3) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7717 } | 7812 } |
7718 | 7813 |
7719 checkTargetSslProxiesSetProxyHeaderRequest(api.TargetSslProxiesSetProxyHeaderReq
uest o) { | 7814 checkTargetSslProxiesSetProxyHeaderRequest(api.TargetSslProxiesSetProxyHeaderReq
uest o) { |
7720 buildCounterTargetSslProxiesSetProxyHeaderRequest++; | 7815 buildCounterTargetSslProxiesSetProxyHeaderRequest++; |
7721 if (buildCounterTargetSslProxiesSetProxyHeaderRequest < 3) { | 7816 if (buildCounterTargetSslProxiesSetProxyHeaderRequest < 3) { |
7722 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 7817 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
7723 } | 7818 } |
7724 buildCounterTargetSslProxiesSetProxyHeaderRequest--; | 7819 buildCounterTargetSslProxiesSetProxyHeaderRequest--; |
7725 } | 7820 } |
7726 | 7821 |
7727 buildUnnamed2162() { | 7822 buildUnnamed2176() { |
7728 var o = new core.List<core.String>(); | 7823 var o = new core.List<core.String>(); |
7729 o.add("foo"); | 7824 o.add("foo"); |
7730 o.add("foo"); | 7825 o.add("foo"); |
7731 return o; | 7826 return o; |
7732 } | 7827 } |
7733 | 7828 |
7734 checkUnnamed2162(core.List<core.String> o) { | 7829 checkUnnamed2176(core.List<core.String> o) { |
7735 unittest.expect(o, unittest.hasLength(2)); | 7830 unittest.expect(o, unittest.hasLength(2)); |
7736 unittest.expect(o[0], unittest.equals('foo')); | 7831 unittest.expect(o[0], unittest.equals('foo')); |
7737 unittest.expect(o[1], unittest.equals('foo')); | 7832 unittest.expect(o[1], unittest.equals('foo')); |
7738 } | 7833 } |
7739 | 7834 |
7740 core.int buildCounterTargetSslProxiesSetSslCertificatesRequest = 0; | 7835 core.int buildCounterTargetSslProxiesSetSslCertificatesRequest = 0; |
7741 buildTargetSslProxiesSetSslCertificatesRequest() { | 7836 buildTargetSslProxiesSetSslCertificatesRequest() { |
7742 var o = new api.TargetSslProxiesSetSslCertificatesRequest(); | 7837 var o = new api.TargetSslProxiesSetSslCertificatesRequest(); |
7743 buildCounterTargetSslProxiesSetSslCertificatesRequest++; | 7838 buildCounterTargetSslProxiesSetSslCertificatesRequest++; |
7744 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { | 7839 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { |
7745 o.sslCertificates = buildUnnamed2162(); | 7840 o.sslCertificates = buildUnnamed2176(); |
7746 } | 7841 } |
7747 buildCounterTargetSslProxiesSetSslCertificatesRequest--; | 7842 buildCounterTargetSslProxiesSetSslCertificatesRequest--; |
7748 return o; | 7843 return o; |
7749 } | 7844 } |
7750 | 7845 |
7751 checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertifi
catesRequest o) { | 7846 checkTargetSslProxiesSetSslCertificatesRequest(api.TargetSslProxiesSetSslCertifi
catesRequest o) { |
7752 buildCounterTargetSslProxiesSetSslCertificatesRequest++; | 7847 buildCounterTargetSslProxiesSetSslCertificatesRequest++; |
7753 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { | 7848 if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) { |
7754 checkUnnamed2162(o.sslCertificates); | 7849 checkUnnamed2176(o.sslCertificates); |
7755 } | 7850 } |
7756 buildCounterTargetSslProxiesSetSslCertificatesRequest--; | 7851 buildCounterTargetSslProxiesSetSslCertificatesRequest--; |
7757 } | 7852 } |
7758 | 7853 |
7759 buildUnnamed2163() { | 7854 buildUnnamed2177() { |
7760 var o = new core.List<core.String>(); | 7855 var o = new core.List<core.String>(); |
7761 o.add("foo"); | 7856 o.add("foo"); |
7762 o.add("foo"); | 7857 o.add("foo"); |
7763 return o; | 7858 return o; |
7764 } | 7859 } |
7765 | 7860 |
7766 checkUnnamed2163(core.List<core.String> o) { | 7861 checkUnnamed2177(core.List<core.String> o) { |
7767 unittest.expect(o, unittest.hasLength(2)); | 7862 unittest.expect(o, unittest.hasLength(2)); |
7768 unittest.expect(o[0], unittest.equals('foo')); | 7863 unittest.expect(o[0], unittest.equals('foo')); |
7769 unittest.expect(o[1], unittest.equals('foo')); | 7864 unittest.expect(o[1], unittest.equals('foo')); |
7770 } | 7865 } |
7771 | 7866 |
7772 core.int buildCounterTargetSslProxy = 0; | 7867 core.int buildCounterTargetSslProxy = 0; |
7773 buildTargetSslProxy() { | 7868 buildTargetSslProxy() { |
7774 var o = new api.TargetSslProxy(); | 7869 var o = new api.TargetSslProxy(); |
7775 buildCounterTargetSslProxy++; | 7870 buildCounterTargetSslProxy++; |
7776 if (buildCounterTargetSslProxy < 3) { | 7871 if (buildCounterTargetSslProxy < 3) { |
7777 o.creationTimestamp = "foo"; | 7872 o.creationTimestamp = "foo"; |
7778 o.description = "foo"; | 7873 o.description = "foo"; |
7779 o.id = "foo"; | 7874 o.id = "foo"; |
7780 o.kind = "foo"; | 7875 o.kind = "foo"; |
7781 o.name = "foo"; | 7876 o.name = "foo"; |
7782 o.proxyHeader = "foo"; | 7877 o.proxyHeader = "foo"; |
7783 o.selfLink = "foo"; | 7878 o.selfLink = "foo"; |
7784 o.service = "foo"; | 7879 o.service = "foo"; |
7785 o.sslCertificates = buildUnnamed2163(); | 7880 o.sslCertificates = buildUnnamed2177(); |
7786 } | 7881 } |
7787 buildCounterTargetSslProxy--; | 7882 buildCounterTargetSslProxy--; |
7788 return o; | 7883 return o; |
7789 } | 7884 } |
7790 | 7885 |
7791 checkTargetSslProxy(api.TargetSslProxy o) { | 7886 checkTargetSslProxy(api.TargetSslProxy o) { |
7792 buildCounterTargetSslProxy++; | 7887 buildCounterTargetSslProxy++; |
7793 if (buildCounterTargetSslProxy < 3) { | 7888 if (buildCounterTargetSslProxy < 3) { |
7794 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7889 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
7795 unittest.expect(o.description, unittest.equals('foo')); | 7890 unittest.expect(o.description, unittest.equals('foo')); |
7796 unittest.expect(o.id, unittest.equals('foo')); | 7891 unittest.expect(o.id, unittest.equals('foo')); |
7797 unittest.expect(o.kind, unittest.equals('foo')); | 7892 unittest.expect(o.kind, unittest.equals('foo')); |
7798 unittest.expect(o.name, unittest.equals('foo')); | 7893 unittest.expect(o.name, unittest.equals('foo')); |
7799 unittest.expect(o.proxyHeader, unittest.equals('foo')); | 7894 unittest.expect(o.proxyHeader, unittest.equals('foo')); |
7800 unittest.expect(o.selfLink, unittest.equals('foo')); | 7895 unittest.expect(o.selfLink, unittest.equals('foo')); |
7801 unittest.expect(o.service, unittest.equals('foo')); | 7896 unittest.expect(o.service, unittest.equals('foo')); |
7802 checkUnnamed2163(o.sslCertificates); | 7897 checkUnnamed2177(o.sslCertificates); |
7803 } | 7898 } |
7804 buildCounterTargetSslProxy--; | 7899 buildCounterTargetSslProxy--; |
7805 } | 7900 } |
7806 | 7901 |
7807 buildUnnamed2164() { | 7902 buildUnnamed2178() { |
7808 var o = new core.List<api.TargetSslProxy>(); | 7903 var o = new core.List<api.TargetSslProxy>(); |
7809 o.add(buildTargetSslProxy()); | 7904 o.add(buildTargetSslProxy()); |
7810 o.add(buildTargetSslProxy()); | 7905 o.add(buildTargetSslProxy()); |
7811 return o; | 7906 return o; |
7812 } | 7907 } |
7813 | 7908 |
7814 checkUnnamed2164(core.List<api.TargetSslProxy> o) { | 7909 checkUnnamed2178(core.List<api.TargetSslProxy> o) { |
7815 unittest.expect(o, unittest.hasLength(2)); | 7910 unittest.expect(o, unittest.hasLength(2)); |
7816 checkTargetSslProxy(o[0]); | 7911 checkTargetSslProxy(o[0]); |
7817 checkTargetSslProxy(o[1]); | 7912 checkTargetSslProxy(o[1]); |
7818 } | 7913 } |
7819 | 7914 |
7820 core.int buildCounterTargetSslProxyList = 0; | 7915 core.int buildCounterTargetSslProxyList = 0; |
7821 buildTargetSslProxyList() { | 7916 buildTargetSslProxyList() { |
7822 var o = new api.TargetSslProxyList(); | 7917 var o = new api.TargetSslProxyList(); |
7823 buildCounterTargetSslProxyList++; | 7918 buildCounterTargetSslProxyList++; |
7824 if (buildCounterTargetSslProxyList < 3) { | 7919 if (buildCounterTargetSslProxyList < 3) { |
7825 o.id = "foo"; | 7920 o.id = "foo"; |
7826 o.items = buildUnnamed2164(); | 7921 o.items = buildUnnamed2178(); |
7827 o.kind = "foo"; | 7922 o.kind = "foo"; |
7828 o.nextPageToken = "foo"; | 7923 o.nextPageToken = "foo"; |
7829 o.selfLink = "foo"; | 7924 o.selfLink = "foo"; |
7830 } | 7925 } |
7831 buildCounterTargetSslProxyList--; | 7926 buildCounterTargetSslProxyList--; |
7832 return o; | 7927 return o; |
7833 } | 7928 } |
7834 | 7929 |
7835 checkTargetSslProxyList(api.TargetSslProxyList o) { | 7930 checkTargetSslProxyList(api.TargetSslProxyList o) { |
7836 buildCounterTargetSslProxyList++; | 7931 buildCounterTargetSslProxyList++; |
7837 if (buildCounterTargetSslProxyList < 3) { | 7932 if (buildCounterTargetSslProxyList < 3) { |
7838 unittest.expect(o.id, unittest.equals('foo')); | 7933 unittest.expect(o.id, unittest.equals('foo')); |
7839 checkUnnamed2164(o.items); | 7934 checkUnnamed2178(o.items); |
7840 unittest.expect(o.kind, unittest.equals('foo')); | 7935 unittest.expect(o.kind, unittest.equals('foo')); |
7841 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7936 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7842 unittest.expect(o.selfLink, unittest.equals('foo')); | 7937 unittest.expect(o.selfLink, unittest.equals('foo')); |
7843 } | 7938 } |
7844 buildCounterTargetSslProxyList--; | 7939 buildCounterTargetSslProxyList--; |
7845 } | 7940 } |
7846 | 7941 |
7847 buildUnnamed2165() { | 7942 buildUnnamed2179() { |
7848 var o = new core.List<core.String>(); | 7943 var o = new core.List<core.String>(); |
7849 o.add("foo"); | 7944 o.add("foo"); |
7850 o.add("foo"); | 7945 o.add("foo"); |
7851 return o; | 7946 return o; |
7852 } | 7947 } |
7853 | 7948 |
7854 checkUnnamed2165(core.List<core.String> o) { | 7949 checkUnnamed2179(core.List<core.String> o) { |
7855 unittest.expect(o, unittest.hasLength(2)); | 7950 unittest.expect(o, unittest.hasLength(2)); |
7856 unittest.expect(o[0], unittest.equals('foo')); | 7951 unittest.expect(o[0], unittest.equals('foo')); |
7857 unittest.expect(o[1], unittest.equals('foo')); | 7952 unittest.expect(o[1], unittest.equals('foo')); |
7858 } | 7953 } |
7859 | 7954 |
7860 buildUnnamed2166() { | 7955 buildUnnamed2180() { |
7861 var o = new core.List<core.String>(); | 7956 var o = new core.List<core.String>(); |
7862 o.add("foo"); | 7957 o.add("foo"); |
7863 o.add("foo"); | 7958 o.add("foo"); |
7864 return o; | 7959 return o; |
7865 } | 7960 } |
7866 | 7961 |
7867 checkUnnamed2166(core.List<core.String> o) { | 7962 checkUnnamed2180(core.List<core.String> o) { |
7868 unittest.expect(o, unittest.hasLength(2)); | 7963 unittest.expect(o, unittest.hasLength(2)); |
7869 unittest.expect(o[0], unittest.equals('foo')); | 7964 unittest.expect(o[0], unittest.equals('foo')); |
7870 unittest.expect(o[1], unittest.equals('foo')); | 7965 unittest.expect(o[1], unittest.equals('foo')); |
7871 } | 7966 } |
7872 | 7967 |
7873 core.int buildCounterTargetVpnGateway = 0; | 7968 core.int buildCounterTargetVpnGateway = 0; |
7874 buildTargetVpnGateway() { | 7969 buildTargetVpnGateway() { |
7875 var o = new api.TargetVpnGateway(); | 7970 var o = new api.TargetVpnGateway(); |
7876 buildCounterTargetVpnGateway++; | 7971 buildCounterTargetVpnGateway++; |
7877 if (buildCounterTargetVpnGateway < 3) { | 7972 if (buildCounterTargetVpnGateway < 3) { |
7878 o.creationTimestamp = "foo"; | 7973 o.creationTimestamp = "foo"; |
7879 o.description = "foo"; | 7974 o.description = "foo"; |
7880 o.forwardingRules = buildUnnamed2165(); | 7975 o.forwardingRules = buildUnnamed2179(); |
7881 o.id = "foo"; | 7976 o.id = "foo"; |
7882 o.kind = "foo"; | 7977 o.kind = "foo"; |
7883 o.name = "foo"; | 7978 o.name = "foo"; |
7884 o.network = "foo"; | 7979 o.network = "foo"; |
7885 o.region = "foo"; | 7980 o.region = "foo"; |
7886 o.selfLink = "foo"; | 7981 o.selfLink = "foo"; |
7887 o.status = "foo"; | 7982 o.status = "foo"; |
7888 o.tunnels = buildUnnamed2166(); | 7983 o.tunnels = buildUnnamed2180(); |
7889 } | 7984 } |
7890 buildCounterTargetVpnGateway--; | 7985 buildCounterTargetVpnGateway--; |
7891 return o; | 7986 return o; |
7892 } | 7987 } |
7893 | 7988 |
7894 checkTargetVpnGateway(api.TargetVpnGateway o) { | 7989 checkTargetVpnGateway(api.TargetVpnGateway o) { |
7895 buildCounterTargetVpnGateway++; | 7990 buildCounterTargetVpnGateway++; |
7896 if (buildCounterTargetVpnGateway < 3) { | 7991 if (buildCounterTargetVpnGateway < 3) { |
7897 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7992 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
7898 unittest.expect(o.description, unittest.equals('foo')); | 7993 unittest.expect(o.description, unittest.equals('foo')); |
7899 checkUnnamed2165(o.forwardingRules); | 7994 checkUnnamed2179(o.forwardingRules); |
7900 unittest.expect(o.id, unittest.equals('foo')); | 7995 unittest.expect(o.id, unittest.equals('foo')); |
7901 unittest.expect(o.kind, unittest.equals('foo')); | 7996 unittest.expect(o.kind, unittest.equals('foo')); |
7902 unittest.expect(o.name, unittest.equals('foo')); | 7997 unittest.expect(o.name, unittest.equals('foo')); |
7903 unittest.expect(o.network, unittest.equals('foo')); | 7998 unittest.expect(o.network, unittest.equals('foo')); |
7904 unittest.expect(o.region, unittest.equals('foo')); | 7999 unittest.expect(o.region, unittest.equals('foo')); |
7905 unittest.expect(o.selfLink, unittest.equals('foo')); | 8000 unittest.expect(o.selfLink, unittest.equals('foo')); |
7906 unittest.expect(o.status, unittest.equals('foo')); | 8001 unittest.expect(o.status, unittest.equals('foo')); |
7907 checkUnnamed2166(o.tunnels); | 8002 checkUnnamed2180(o.tunnels); |
7908 } | 8003 } |
7909 buildCounterTargetVpnGateway--; | 8004 buildCounterTargetVpnGateway--; |
7910 } | 8005 } |
7911 | 8006 |
7912 buildUnnamed2167() { | 8007 buildUnnamed2181() { |
7913 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); | 8008 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); |
7914 o["x"] = buildTargetVpnGatewaysScopedList(); | 8009 o["x"] = buildTargetVpnGatewaysScopedList(); |
7915 o["y"] = buildTargetVpnGatewaysScopedList(); | 8010 o["y"] = buildTargetVpnGatewaysScopedList(); |
7916 return o; | 8011 return o; |
7917 } | 8012 } |
7918 | 8013 |
7919 checkUnnamed2167(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { | 8014 checkUnnamed2181(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { |
7920 unittest.expect(o, unittest.hasLength(2)); | 8015 unittest.expect(o, unittest.hasLength(2)); |
7921 checkTargetVpnGatewaysScopedList(o["x"]); | 8016 checkTargetVpnGatewaysScopedList(o["x"]); |
7922 checkTargetVpnGatewaysScopedList(o["y"]); | 8017 checkTargetVpnGatewaysScopedList(o["y"]); |
7923 } | 8018 } |
7924 | 8019 |
7925 core.int buildCounterTargetVpnGatewayAggregatedList = 0; | 8020 core.int buildCounterTargetVpnGatewayAggregatedList = 0; |
7926 buildTargetVpnGatewayAggregatedList() { | 8021 buildTargetVpnGatewayAggregatedList() { |
7927 var o = new api.TargetVpnGatewayAggregatedList(); | 8022 var o = new api.TargetVpnGatewayAggregatedList(); |
7928 buildCounterTargetVpnGatewayAggregatedList++; | 8023 buildCounterTargetVpnGatewayAggregatedList++; |
7929 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 8024 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
7930 o.id = "foo"; | 8025 o.id = "foo"; |
7931 o.items = buildUnnamed2167(); | 8026 o.items = buildUnnamed2181(); |
7932 o.kind = "foo"; | 8027 o.kind = "foo"; |
7933 o.nextPageToken = "foo"; | 8028 o.nextPageToken = "foo"; |
7934 o.selfLink = "foo"; | 8029 o.selfLink = "foo"; |
7935 } | 8030 } |
7936 buildCounterTargetVpnGatewayAggregatedList--; | 8031 buildCounterTargetVpnGatewayAggregatedList--; |
7937 return o; | 8032 return o; |
7938 } | 8033 } |
7939 | 8034 |
7940 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { | 8035 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { |
7941 buildCounterTargetVpnGatewayAggregatedList++; | 8036 buildCounterTargetVpnGatewayAggregatedList++; |
7942 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 8037 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
7943 unittest.expect(o.id, unittest.equals('foo')); | 8038 unittest.expect(o.id, unittest.equals('foo')); |
7944 checkUnnamed2167(o.items); | 8039 checkUnnamed2181(o.items); |
7945 unittest.expect(o.kind, unittest.equals('foo')); | 8040 unittest.expect(o.kind, unittest.equals('foo')); |
7946 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8041 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7947 unittest.expect(o.selfLink, unittest.equals('foo')); | 8042 unittest.expect(o.selfLink, unittest.equals('foo')); |
7948 } | 8043 } |
7949 buildCounterTargetVpnGatewayAggregatedList--; | 8044 buildCounterTargetVpnGatewayAggregatedList--; |
7950 } | 8045 } |
7951 | 8046 |
7952 buildUnnamed2168() { | 8047 buildUnnamed2182() { |
7953 var o = new core.List<api.TargetVpnGateway>(); | 8048 var o = new core.List<api.TargetVpnGateway>(); |
7954 o.add(buildTargetVpnGateway()); | 8049 o.add(buildTargetVpnGateway()); |
7955 o.add(buildTargetVpnGateway()); | 8050 o.add(buildTargetVpnGateway()); |
7956 return o; | 8051 return o; |
7957 } | 8052 } |
7958 | 8053 |
7959 checkUnnamed2168(core.List<api.TargetVpnGateway> o) { | 8054 checkUnnamed2182(core.List<api.TargetVpnGateway> o) { |
7960 unittest.expect(o, unittest.hasLength(2)); | 8055 unittest.expect(o, unittest.hasLength(2)); |
7961 checkTargetVpnGateway(o[0]); | 8056 checkTargetVpnGateway(o[0]); |
7962 checkTargetVpnGateway(o[1]); | 8057 checkTargetVpnGateway(o[1]); |
7963 } | 8058 } |
7964 | 8059 |
7965 core.int buildCounterTargetVpnGatewayList = 0; | 8060 core.int buildCounterTargetVpnGatewayList = 0; |
7966 buildTargetVpnGatewayList() { | 8061 buildTargetVpnGatewayList() { |
7967 var o = new api.TargetVpnGatewayList(); | 8062 var o = new api.TargetVpnGatewayList(); |
7968 buildCounterTargetVpnGatewayList++; | 8063 buildCounterTargetVpnGatewayList++; |
7969 if (buildCounterTargetVpnGatewayList < 3) { | 8064 if (buildCounterTargetVpnGatewayList < 3) { |
7970 o.id = "foo"; | 8065 o.id = "foo"; |
7971 o.items = buildUnnamed2168(); | 8066 o.items = buildUnnamed2182(); |
7972 o.kind = "foo"; | 8067 o.kind = "foo"; |
7973 o.nextPageToken = "foo"; | 8068 o.nextPageToken = "foo"; |
7974 o.selfLink = "foo"; | 8069 o.selfLink = "foo"; |
7975 } | 8070 } |
7976 buildCounterTargetVpnGatewayList--; | 8071 buildCounterTargetVpnGatewayList--; |
7977 return o; | 8072 return o; |
7978 } | 8073 } |
7979 | 8074 |
7980 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { | 8075 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { |
7981 buildCounterTargetVpnGatewayList++; | 8076 buildCounterTargetVpnGatewayList++; |
7982 if (buildCounterTargetVpnGatewayList < 3) { | 8077 if (buildCounterTargetVpnGatewayList < 3) { |
7983 unittest.expect(o.id, unittest.equals('foo')); | 8078 unittest.expect(o.id, unittest.equals('foo')); |
7984 checkUnnamed2168(o.items); | 8079 checkUnnamed2182(o.items); |
7985 unittest.expect(o.kind, unittest.equals('foo')); | 8080 unittest.expect(o.kind, unittest.equals('foo')); |
7986 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8081 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7987 unittest.expect(o.selfLink, unittest.equals('foo')); | 8082 unittest.expect(o.selfLink, unittest.equals('foo')); |
7988 } | 8083 } |
7989 buildCounterTargetVpnGatewayList--; | 8084 buildCounterTargetVpnGatewayList--; |
7990 } | 8085 } |
7991 | 8086 |
7992 buildUnnamed2169() { | 8087 buildUnnamed2183() { |
7993 var o = new core.List<api.TargetVpnGateway>(); | 8088 var o = new core.List<api.TargetVpnGateway>(); |
7994 o.add(buildTargetVpnGateway()); | 8089 o.add(buildTargetVpnGateway()); |
7995 o.add(buildTargetVpnGateway()); | 8090 o.add(buildTargetVpnGateway()); |
7996 return o; | 8091 return o; |
7997 } | 8092 } |
7998 | 8093 |
7999 checkUnnamed2169(core.List<api.TargetVpnGateway> o) { | 8094 checkUnnamed2183(core.List<api.TargetVpnGateway> o) { |
8000 unittest.expect(o, unittest.hasLength(2)); | 8095 unittest.expect(o, unittest.hasLength(2)); |
8001 checkTargetVpnGateway(o[0]); | 8096 checkTargetVpnGateway(o[0]); |
8002 checkTargetVpnGateway(o[1]); | 8097 checkTargetVpnGateway(o[1]); |
8003 } | 8098 } |
8004 | 8099 |
8005 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; | 8100 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; |
8006 buildTargetVpnGatewaysScopedListWarningData() { | 8101 buildTargetVpnGatewaysScopedListWarningData() { |
8007 var o = new api.TargetVpnGatewaysScopedListWarningData(); | 8102 var o = new api.TargetVpnGatewaysScopedListWarningData(); |
8008 buildCounterTargetVpnGatewaysScopedListWarningData++; | 8103 buildCounterTargetVpnGatewaysScopedListWarningData++; |
8009 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 8104 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
8010 o.key = "foo"; | 8105 o.key = "foo"; |
8011 o.value = "foo"; | 8106 o.value = "foo"; |
8012 } | 8107 } |
8013 buildCounterTargetVpnGatewaysScopedListWarningData--; | 8108 buildCounterTargetVpnGatewaysScopedListWarningData--; |
8014 return o; | 8109 return o; |
8015 } | 8110 } |
8016 | 8111 |
8017 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { | 8112 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { |
8018 buildCounterTargetVpnGatewaysScopedListWarningData++; | 8113 buildCounterTargetVpnGatewaysScopedListWarningData++; |
8019 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 8114 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
8020 unittest.expect(o.key, unittest.equals('foo')); | 8115 unittest.expect(o.key, unittest.equals('foo')); |
8021 unittest.expect(o.value, unittest.equals('foo')); | 8116 unittest.expect(o.value, unittest.equals('foo')); |
8022 } | 8117 } |
8023 buildCounterTargetVpnGatewaysScopedListWarningData--; | 8118 buildCounterTargetVpnGatewaysScopedListWarningData--; |
8024 } | 8119 } |
8025 | 8120 |
8026 buildUnnamed2170() { | 8121 buildUnnamed2184() { |
8027 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); | 8122 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); |
8028 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 8123 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
8029 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 8124 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
8030 return o; | 8125 return o; |
8031 } | 8126 } |
8032 | 8127 |
8033 checkUnnamed2170(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { | 8128 checkUnnamed2184(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { |
8034 unittest.expect(o, unittest.hasLength(2)); | 8129 unittest.expect(o, unittest.hasLength(2)); |
8035 checkTargetVpnGatewaysScopedListWarningData(o[0]); | 8130 checkTargetVpnGatewaysScopedListWarningData(o[0]); |
8036 checkTargetVpnGatewaysScopedListWarningData(o[1]); | 8131 checkTargetVpnGatewaysScopedListWarningData(o[1]); |
8037 } | 8132 } |
8038 | 8133 |
8039 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; | 8134 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; |
8040 buildTargetVpnGatewaysScopedListWarning() { | 8135 buildTargetVpnGatewaysScopedListWarning() { |
8041 var o = new api.TargetVpnGatewaysScopedListWarning(); | 8136 var o = new api.TargetVpnGatewaysScopedListWarning(); |
8042 buildCounterTargetVpnGatewaysScopedListWarning++; | 8137 buildCounterTargetVpnGatewaysScopedListWarning++; |
8043 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 8138 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
8044 o.code = "foo"; | 8139 o.code = "foo"; |
8045 o.data = buildUnnamed2170(); | 8140 o.data = buildUnnamed2184(); |
8046 o.message = "foo"; | 8141 o.message = "foo"; |
8047 } | 8142 } |
8048 buildCounterTargetVpnGatewaysScopedListWarning--; | 8143 buildCounterTargetVpnGatewaysScopedListWarning--; |
8049 return o; | 8144 return o; |
8050 } | 8145 } |
8051 | 8146 |
8052 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { | 8147 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { |
8053 buildCounterTargetVpnGatewaysScopedListWarning++; | 8148 buildCounterTargetVpnGatewaysScopedListWarning++; |
8054 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 8149 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
8055 unittest.expect(o.code, unittest.equals('foo')); | 8150 unittest.expect(o.code, unittest.equals('foo')); |
8056 checkUnnamed2170(o.data); | 8151 checkUnnamed2184(o.data); |
8057 unittest.expect(o.message, unittest.equals('foo')); | 8152 unittest.expect(o.message, unittest.equals('foo')); |
8058 } | 8153 } |
8059 buildCounterTargetVpnGatewaysScopedListWarning--; | 8154 buildCounterTargetVpnGatewaysScopedListWarning--; |
8060 } | 8155 } |
8061 | 8156 |
8062 core.int buildCounterTargetVpnGatewaysScopedList = 0; | 8157 core.int buildCounterTargetVpnGatewaysScopedList = 0; |
8063 buildTargetVpnGatewaysScopedList() { | 8158 buildTargetVpnGatewaysScopedList() { |
8064 var o = new api.TargetVpnGatewaysScopedList(); | 8159 var o = new api.TargetVpnGatewaysScopedList(); |
8065 buildCounterTargetVpnGatewaysScopedList++; | 8160 buildCounterTargetVpnGatewaysScopedList++; |
8066 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 8161 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
8067 o.targetVpnGateways = buildUnnamed2169(); | 8162 o.targetVpnGateways = buildUnnamed2183(); |
8068 o.warning = buildTargetVpnGatewaysScopedListWarning(); | 8163 o.warning = buildTargetVpnGatewaysScopedListWarning(); |
8069 } | 8164 } |
8070 buildCounterTargetVpnGatewaysScopedList--; | 8165 buildCounterTargetVpnGatewaysScopedList--; |
8071 return o; | 8166 return o; |
8072 } | 8167 } |
8073 | 8168 |
8074 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { | 8169 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { |
8075 buildCounterTargetVpnGatewaysScopedList++; | 8170 buildCounterTargetVpnGatewaysScopedList++; |
8076 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 8171 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
8077 checkUnnamed2169(o.targetVpnGateways); | 8172 checkUnnamed2183(o.targetVpnGateways); |
8078 checkTargetVpnGatewaysScopedListWarning(o.warning); | 8173 checkTargetVpnGatewaysScopedListWarning(o.warning); |
8079 } | 8174 } |
8080 buildCounterTargetVpnGatewaysScopedList--; | 8175 buildCounterTargetVpnGatewaysScopedList--; |
8081 } | 8176 } |
8082 | 8177 |
8083 core.int buildCounterTestFailure = 0; | 8178 core.int buildCounterTestFailure = 0; |
8084 buildTestFailure() { | 8179 buildTestFailure() { |
8085 var o = new api.TestFailure(); | 8180 var o = new api.TestFailure(); |
8086 buildCounterTestFailure++; | 8181 buildCounterTestFailure++; |
8087 if (buildCounterTestFailure < 3) { | 8182 if (buildCounterTestFailure < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
8098 buildCounterTestFailure++; | 8193 buildCounterTestFailure++; |
8099 if (buildCounterTestFailure < 3) { | 8194 if (buildCounterTestFailure < 3) { |
8100 unittest.expect(o.actualService, unittest.equals('foo')); | 8195 unittest.expect(o.actualService, unittest.equals('foo')); |
8101 unittest.expect(o.expectedService, unittest.equals('foo')); | 8196 unittest.expect(o.expectedService, unittest.equals('foo')); |
8102 unittest.expect(o.host, unittest.equals('foo')); | 8197 unittest.expect(o.host, unittest.equals('foo')); |
8103 unittest.expect(o.path, unittest.equals('foo')); | 8198 unittest.expect(o.path, unittest.equals('foo')); |
8104 } | 8199 } |
8105 buildCounterTestFailure--; | 8200 buildCounterTestFailure--; |
8106 } | 8201 } |
8107 | 8202 |
8108 buildUnnamed2171() { | 8203 buildUnnamed2185() { |
8109 var o = new core.List<api.HostRule>(); | 8204 var o = new core.List<api.HostRule>(); |
8110 o.add(buildHostRule()); | 8205 o.add(buildHostRule()); |
8111 o.add(buildHostRule()); | 8206 o.add(buildHostRule()); |
8112 return o; | 8207 return o; |
8113 } | 8208 } |
8114 | 8209 |
8115 checkUnnamed2171(core.List<api.HostRule> o) { | 8210 checkUnnamed2185(core.List<api.HostRule> o) { |
8116 unittest.expect(o, unittest.hasLength(2)); | 8211 unittest.expect(o, unittest.hasLength(2)); |
8117 checkHostRule(o[0]); | 8212 checkHostRule(o[0]); |
8118 checkHostRule(o[1]); | 8213 checkHostRule(o[1]); |
8119 } | 8214 } |
8120 | 8215 |
8121 buildUnnamed2172() { | 8216 buildUnnamed2186() { |
8122 var o = new core.List<api.PathMatcher>(); | 8217 var o = new core.List<api.PathMatcher>(); |
8123 o.add(buildPathMatcher()); | 8218 o.add(buildPathMatcher()); |
8124 o.add(buildPathMatcher()); | 8219 o.add(buildPathMatcher()); |
8125 return o; | 8220 return o; |
8126 } | 8221 } |
8127 | 8222 |
8128 checkUnnamed2172(core.List<api.PathMatcher> o) { | 8223 checkUnnamed2186(core.List<api.PathMatcher> o) { |
8129 unittest.expect(o, unittest.hasLength(2)); | 8224 unittest.expect(o, unittest.hasLength(2)); |
8130 checkPathMatcher(o[0]); | 8225 checkPathMatcher(o[0]); |
8131 checkPathMatcher(o[1]); | 8226 checkPathMatcher(o[1]); |
8132 } | 8227 } |
8133 | 8228 |
8134 buildUnnamed2173() { | 8229 buildUnnamed2187() { |
8135 var o = new core.List<api.UrlMapTest>(); | 8230 var o = new core.List<api.UrlMapTest>(); |
8136 o.add(buildUrlMapTest()); | 8231 o.add(buildUrlMapTest()); |
8137 o.add(buildUrlMapTest()); | 8232 o.add(buildUrlMapTest()); |
8138 return o; | 8233 return o; |
8139 } | 8234 } |
8140 | 8235 |
8141 checkUnnamed2173(core.List<api.UrlMapTest> o) { | 8236 checkUnnamed2187(core.List<api.UrlMapTest> o) { |
8142 unittest.expect(o, unittest.hasLength(2)); | 8237 unittest.expect(o, unittest.hasLength(2)); |
8143 checkUrlMapTest(o[0]); | 8238 checkUrlMapTest(o[0]); |
8144 checkUrlMapTest(o[1]); | 8239 checkUrlMapTest(o[1]); |
8145 } | 8240 } |
8146 | 8241 |
8147 core.int buildCounterUrlMap = 0; | 8242 core.int buildCounterUrlMap = 0; |
8148 buildUrlMap() { | 8243 buildUrlMap() { |
8149 var o = new api.UrlMap(); | 8244 var o = new api.UrlMap(); |
8150 buildCounterUrlMap++; | 8245 buildCounterUrlMap++; |
8151 if (buildCounterUrlMap < 3) { | 8246 if (buildCounterUrlMap < 3) { |
8152 o.creationTimestamp = "foo"; | 8247 o.creationTimestamp = "foo"; |
8153 o.defaultService = "foo"; | 8248 o.defaultService = "foo"; |
8154 o.description = "foo"; | 8249 o.description = "foo"; |
8155 o.fingerprint = "foo"; | 8250 o.fingerprint = "foo"; |
8156 o.hostRules = buildUnnamed2171(); | 8251 o.hostRules = buildUnnamed2185(); |
8157 o.id = "foo"; | 8252 o.id = "foo"; |
8158 o.kind = "foo"; | 8253 o.kind = "foo"; |
8159 o.name = "foo"; | 8254 o.name = "foo"; |
8160 o.pathMatchers = buildUnnamed2172(); | 8255 o.pathMatchers = buildUnnamed2186(); |
8161 o.selfLink = "foo"; | 8256 o.selfLink = "foo"; |
8162 o.tests = buildUnnamed2173(); | 8257 o.tests = buildUnnamed2187(); |
8163 } | 8258 } |
8164 buildCounterUrlMap--; | 8259 buildCounterUrlMap--; |
8165 return o; | 8260 return o; |
8166 } | 8261 } |
8167 | 8262 |
8168 checkUrlMap(api.UrlMap o) { | 8263 checkUrlMap(api.UrlMap o) { |
8169 buildCounterUrlMap++; | 8264 buildCounterUrlMap++; |
8170 if (buildCounterUrlMap < 3) { | 8265 if (buildCounterUrlMap < 3) { |
8171 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 8266 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
8172 unittest.expect(o.defaultService, unittest.equals('foo')); | 8267 unittest.expect(o.defaultService, unittest.equals('foo')); |
8173 unittest.expect(o.description, unittest.equals('foo')); | 8268 unittest.expect(o.description, unittest.equals('foo')); |
8174 unittest.expect(o.fingerprint, unittest.equals('foo')); | 8269 unittest.expect(o.fingerprint, unittest.equals('foo')); |
8175 checkUnnamed2171(o.hostRules); | 8270 checkUnnamed2185(o.hostRules); |
8176 unittest.expect(o.id, unittest.equals('foo')); | 8271 unittest.expect(o.id, unittest.equals('foo')); |
8177 unittest.expect(o.kind, unittest.equals('foo')); | 8272 unittest.expect(o.kind, unittest.equals('foo')); |
8178 unittest.expect(o.name, unittest.equals('foo')); | 8273 unittest.expect(o.name, unittest.equals('foo')); |
8179 checkUnnamed2172(o.pathMatchers); | 8274 checkUnnamed2186(o.pathMatchers); |
8180 unittest.expect(o.selfLink, unittest.equals('foo')); | 8275 unittest.expect(o.selfLink, unittest.equals('foo')); |
8181 checkUnnamed2173(o.tests); | 8276 checkUnnamed2187(o.tests); |
8182 } | 8277 } |
8183 buildCounterUrlMap--; | 8278 buildCounterUrlMap--; |
8184 } | 8279 } |
8185 | 8280 |
8186 buildUnnamed2174() { | 8281 buildUnnamed2188() { |
8187 var o = new core.List<api.UrlMap>(); | 8282 var o = new core.List<api.UrlMap>(); |
8188 o.add(buildUrlMap()); | 8283 o.add(buildUrlMap()); |
8189 o.add(buildUrlMap()); | 8284 o.add(buildUrlMap()); |
8190 return o; | 8285 return o; |
8191 } | 8286 } |
8192 | 8287 |
8193 checkUnnamed2174(core.List<api.UrlMap> o) { | 8288 checkUnnamed2188(core.List<api.UrlMap> o) { |
8194 unittest.expect(o, unittest.hasLength(2)); | 8289 unittest.expect(o, unittest.hasLength(2)); |
8195 checkUrlMap(o[0]); | 8290 checkUrlMap(o[0]); |
8196 checkUrlMap(o[1]); | 8291 checkUrlMap(o[1]); |
8197 } | 8292 } |
8198 | 8293 |
8199 core.int buildCounterUrlMapList = 0; | 8294 core.int buildCounterUrlMapList = 0; |
8200 buildUrlMapList() { | 8295 buildUrlMapList() { |
8201 var o = new api.UrlMapList(); | 8296 var o = new api.UrlMapList(); |
8202 buildCounterUrlMapList++; | 8297 buildCounterUrlMapList++; |
8203 if (buildCounterUrlMapList < 3) { | 8298 if (buildCounterUrlMapList < 3) { |
8204 o.id = "foo"; | 8299 o.id = "foo"; |
8205 o.items = buildUnnamed2174(); | 8300 o.items = buildUnnamed2188(); |
8206 o.kind = "foo"; | 8301 o.kind = "foo"; |
8207 o.nextPageToken = "foo"; | 8302 o.nextPageToken = "foo"; |
8208 o.selfLink = "foo"; | 8303 o.selfLink = "foo"; |
8209 } | 8304 } |
8210 buildCounterUrlMapList--; | 8305 buildCounterUrlMapList--; |
8211 return o; | 8306 return o; |
8212 } | 8307 } |
8213 | 8308 |
8214 checkUrlMapList(api.UrlMapList o) { | 8309 checkUrlMapList(api.UrlMapList o) { |
8215 buildCounterUrlMapList++; | 8310 buildCounterUrlMapList++; |
8216 if (buildCounterUrlMapList < 3) { | 8311 if (buildCounterUrlMapList < 3) { |
8217 unittest.expect(o.id, unittest.equals('foo')); | 8312 unittest.expect(o.id, unittest.equals('foo')); |
8218 checkUnnamed2174(o.items); | 8313 checkUnnamed2188(o.items); |
8219 unittest.expect(o.kind, unittest.equals('foo')); | 8314 unittest.expect(o.kind, unittest.equals('foo')); |
8220 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8315 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8221 unittest.expect(o.selfLink, unittest.equals('foo')); | 8316 unittest.expect(o.selfLink, unittest.equals('foo')); |
8222 } | 8317 } |
8223 buildCounterUrlMapList--; | 8318 buildCounterUrlMapList--; |
8224 } | 8319 } |
8225 | 8320 |
8226 core.int buildCounterUrlMapReference = 0; | 8321 core.int buildCounterUrlMapReference = 0; |
8227 buildUrlMapReference() { | 8322 buildUrlMapReference() { |
8228 var o = new api.UrlMapReference(); | 8323 var o = new api.UrlMapReference(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8260 buildCounterUrlMapTest++; | 8355 buildCounterUrlMapTest++; |
8261 if (buildCounterUrlMapTest < 3) { | 8356 if (buildCounterUrlMapTest < 3) { |
8262 unittest.expect(o.description, unittest.equals('foo')); | 8357 unittest.expect(o.description, unittest.equals('foo')); |
8263 unittest.expect(o.host, unittest.equals('foo')); | 8358 unittest.expect(o.host, unittest.equals('foo')); |
8264 unittest.expect(o.path, unittest.equals('foo')); | 8359 unittest.expect(o.path, unittest.equals('foo')); |
8265 unittest.expect(o.service, unittest.equals('foo')); | 8360 unittest.expect(o.service, unittest.equals('foo')); |
8266 } | 8361 } |
8267 buildCounterUrlMapTest--; | 8362 buildCounterUrlMapTest--; |
8268 } | 8363 } |
8269 | 8364 |
8270 buildUnnamed2175() { | 8365 buildUnnamed2189() { |
8271 var o = new core.List<core.String>(); | 8366 var o = new core.List<core.String>(); |
8272 o.add("foo"); | 8367 o.add("foo"); |
8273 o.add("foo"); | 8368 o.add("foo"); |
8274 return o; | 8369 return o; |
8275 } | 8370 } |
8276 | 8371 |
8277 checkUnnamed2175(core.List<core.String> o) { | 8372 checkUnnamed2189(core.List<core.String> o) { |
8278 unittest.expect(o, unittest.hasLength(2)); | 8373 unittest.expect(o, unittest.hasLength(2)); |
8279 unittest.expect(o[0], unittest.equals('foo')); | 8374 unittest.expect(o[0], unittest.equals('foo')); |
8280 unittest.expect(o[1], unittest.equals('foo')); | 8375 unittest.expect(o[1], unittest.equals('foo')); |
8281 } | 8376 } |
8282 | 8377 |
8283 buildUnnamed2176() { | 8378 buildUnnamed2190() { |
8284 var o = new core.List<api.TestFailure>(); | 8379 var o = new core.List<api.TestFailure>(); |
8285 o.add(buildTestFailure()); | 8380 o.add(buildTestFailure()); |
8286 o.add(buildTestFailure()); | 8381 o.add(buildTestFailure()); |
8287 return o; | 8382 return o; |
8288 } | 8383 } |
8289 | 8384 |
8290 checkUnnamed2176(core.List<api.TestFailure> o) { | 8385 checkUnnamed2190(core.List<api.TestFailure> o) { |
8291 unittest.expect(o, unittest.hasLength(2)); | 8386 unittest.expect(o, unittest.hasLength(2)); |
8292 checkTestFailure(o[0]); | 8387 checkTestFailure(o[0]); |
8293 checkTestFailure(o[1]); | 8388 checkTestFailure(o[1]); |
8294 } | 8389 } |
8295 | 8390 |
8296 core.int buildCounterUrlMapValidationResult = 0; | 8391 core.int buildCounterUrlMapValidationResult = 0; |
8297 buildUrlMapValidationResult() { | 8392 buildUrlMapValidationResult() { |
8298 var o = new api.UrlMapValidationResult(); | 8393 var o = new api.UrlMapValidationResult(); |
8299 buildCounterUrlMapValidationResult++; | 8394 buildCounterUrlMapValidationResult++; |
8300 if (buildCounterUrlMapValidationResult < 3) { | 8395 if (buildCounterUrlMapValidationResult < 3) { |
8301 o.loadErrors = buildUnnamed2175(); | 8396 o.loadErrors = buildUnnamed2189(); |
8302 o.loadSucceeded = true; | 8397 o.loadSucceeded = true; |
8303 o.testFailures = buildUnnamed2176(); | 8398 o.testFailures = buildUnnamed2190(); |
8304 o.testPassed = true; | 8399 o.testPassed = true; |
8305 } | 8400 } |
8306 buildCounterUrlMapValidationResult--; | 8401 buildCounterUrlMapValidationResult--; |
8307 return o; | 8402 return o; |
8308 } | 8403 } |
8309 | 8404 |
8310 checkUrlMapValidationResult(api.UrlMapValidationResult o) { | 8405 checkUrlMapValidationResult(api.UrlMapValidationResult o) { |
8311 buildCounterUrlMapValidationResult++; | 8406 buildCounterUrlMapValidationResult++; |
8312 if (buildCounterUrlMapValidationResult < 3) { | 8407 if (buildCounterUrlMapValidationResult < 3) { |
8313 checkUnnamed2175(o.loadErrors); | 8408 checkUnnamed2189(o.loadErrors); |
8314 unittest.expect(o.loadSucceeded, unittest.isTrue); | 8409 unittest.expect(o.loadSucceeded, unittest.isTrue); |
8315 checkUnnamed2176(o.testFailures); | 8410 checkUnnamed2190(o.testFailures); |
8316 unittest.expect(o.testPassed, unittest.isTrue); | 8411 unittest.expect(o.testPassed, unittest.isTrue); |
8317 } | 8412 } |
8318 buildCounterUrlMapValidationResult--; | 8413 buildCounterUrlMapValidationResult--; |
8319 } | 8414 } |
8320 | 8415 |
8321 core.int buildCounterUrlMapsValidateRequest = 0; | 8416 core.int buildCounterUrlMapsValidateRequest = 0; |
8322 buildUrlMapsValidateRequest() { | 8417 buildUrlMapsValidateRequest() { |
8323 var o = new api.UrlMapsValidateRequest(); | 8418 var o = new api.UrlMapsValidateRequest(); |
8324 buildCounterUrlMapsValidateRequest++; | 8419 buildCounterUrlMapsValidateRequest++; |
8325 if (buildCounterUrlMapsValidateRequest < 3) { | 8420 if (buildCounterUrlMapsValidateRequest < 3) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8370 | 8465 |
8371 checkUsageExportLocation(api.UsageExportLocation o) { | 8466 checkUsageExportLocation(api.UsageExportLocation o) { |
8372 buildCounterUsageExportLocation++; | 8467 buildCounterUsageExportLocation++; |
8373 if (buildCounterUsageExportLocation < 3) { | 8468 if (buildCounterUsageExportLocation < 3) { |
8374 unittest.expect(o.bucketName, unittest.equals('foo')); | 8469 unittest.expect(o.bucketName, unittest.equals('foo')); |
8375 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); | 8470 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); |
8376 } | 8471 } |
8377 buildCounterUsageExportLocation--; | 8472 buildCounterUsageExportLocation--; |
8378 } | 8473 } |
8379 | 8474 |
8380 buildUnnamed2177() { | 8475 buildUnnamed2191() { |
8381 var o = new core.List<core.String>(); | 8476 var o = new core.List<core.String>(); |
8382 o.add("foo"); | 8477 o.add("foo"); |
8383 o.add("foo"); | 8478 o.add("foo"); |
8384 return o; | 8479 return o; |
8385 } | 8480 } |
8386 | 8481 |
8387 checkUnnamed2177(core.List<core.String> o) { | 8482 checkUnnamed2191(core.List<core.String> o) { |
8388 unittest.expect(o, unittest.hasLength(2)); | 8483 unittest.expect(o, unittest.hasLength(2)); |
8389 unittest.expect(o[0], unittest.equals('foo')); | 8484 unittest.expect(o[0], unittest.equals('foo')); |
8390 unittest.expect(o[1], unittest.equals('foo')); | 8485 unittest.expect(o[1], unittest.equals('foo')); |
8391 } | 8486 } |
8392 | 8487 |
8393 buildUnnamed2178() { | 8488 buildUnnamed2192() { |
8394 var o = new core.List<core.String>(); | 8489 var o = new core.List<core.String>(); |
8395 o.add("foo"); | 8490 o.add("foo"); |
8396 o.add("foo"); | 8491 o.add("foo"); |
8397 return o; | 8492 return o; |
8398 } | 8493 } |
8399 | 8494 |
8400 checkUnnamed2178(core.List<core.String> o) { | 8495 checkUnnamed2192(core.List<core.String> o) { |
8401 unittest.expect(o, unittest.hasLength(2)); | 8496 unittest.expect(o, unittest.hasLength(2)); |
8402 unittest.expect(o[0], unittest.equals('foo')); | 8497 unittest.expect(o[0], unittest.equals('foo')); |
8403 unittest.expect(o[1], unittest.equals('foo')); | 8498 unittest.expect(o[1], unittest.equals('foo')); |
8404 } | 8499 } |
8405 | 8500 |
8406 core.int buildCounterVpnTunnel = 0; | 8501 core.int buildCounterVpnTunnel = 0; |
8407 buildVpnTunnel() { | 8502 buildVpnTunnel() { |
8408 var o = new api.VpnTunnel(); | 8503 var o = new api.VpnTunnel(); |
8409 buildCounterVpnTunnel++; | 8504 buildCounterVpnTunnel++; |
8410 if (buildCounterVpnTunnel < 3) { | 8505 if (buildCounterVpnTunnel < 3) { |
8411 o.creationTimestamp = "foo"; | 8506 o.creationTimestamp = "foo"; |
8412 o.description = "foo"; | 8507 o.description = "foo"; |
8413 o.detailedStatus = "foo"; | 8508 o.detailedStatus = "foo"; |
8414 o.id = "foo"; | 8509 o.id = "foo"; |
8415 o.ikeVersion = 42; | 8510 o.ikeVersion = 42; |
8416 o.kind = "foo"; | 8511 o.kind = "foo"; |
8417 o.localTrafficSelector = buildUnnamed2177(); | 8512 o.localTrafficSelector = buildUnnamed2191(); |
8418 o.name = "foo"; | 8513 o.name = "foo"; |
8419 o.peerIp = "foo"; | 8514 o.peerIp = "foo"; |
8420 o.region = "foo"; | 8515 o.region = "foo"; |
8421 o.remoteTrafficSelector = buildUnnamed2178(); | 8516 o.remoteTrafficSelector = buildUnnamed2192(); |
8422 o.router = "foo"; | 8517 o.router = "foo"; |
8423 o.selfLink = "foo"; | 8518 o.selfLink = "foo"; |
8424 o.sharedSecret = "foo"; | 8519 o.sharedSecret = "foo"; |
8425 o.sharedSecretHash = "foo"; | 8520 o.sharedSecretHash = "foo"; |
8426 o.status = "foo"; | 8521 o.status = "foo"; |
8427 o.targetVpnGateway = "foo"; | 8522 o.targetVpnGateway = "foo"; |
8428 } | 8523 } |
8429 buildCounterVpnTunnel--; | 8524 buildCounterVpnTunnel--; |
8430 return o; | 8525 return o; |
8431 } | 8526 } |
8432 | 8527 |
8433 checkVpnTunnel(api.VpnTunnel o) { | 8528 checkVpnTunnel(api.VpnTunnel o) { |
8434 buildCounterVpnTunnel++; | 8529 buildCounterVpnTunnel++; |
8435 if (buildCounterVpnTunnel < 3) { | 8530 if (buildCounterVpnTunnel < 3) { |
8436 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 8531 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
8437 unittest.expect(o.description, unittest.equals('foo')); | 8532 unittest.expect(o.description, unittest.equals('foo')); |
8438 unittest.expect(o.detailedStatus, unittest.equals('foo')); | 8533 unittest.expect(o.detailedStatus, unittest.equals('foo')); |
8439 unittest.expect(o.id, unittest.equals('foo')); | 8534 unittest.expect(o.id, unittest.equals('foo')); |
8440 unittest.expect(o.ikeVersion, unittest.equals(42)); | 8535 unittest.expect(o.ikeVersion, unittest.equals(42)); |
8441 unittest.expect(o.kind, unittest.equals('foo')); | 8536 unittest.expect(o.kind, unittest.equals('foo')); |
8442 checkUnnamed2177(o.localTrafficSelector); | 8537 checkUnnamed2191(o.localTrafficSelector); |
8443 unittest.expect(o.name, unittest.equals('foo')); | 8538 unittest.expect(o.name, unittest.equals('foo')); |
8444 unittest.expect(o.peerIp, unittest.equals('foo')); | 8539 unittest.expect(o.peerIp, unittest.equals('foo')); |
8445 unittest.expect(o.region, unittest.equals('foo')); | 8540 unittest.expect(o.region, unittest.equals('foo')); |
8446 checkUnnamed2178(o.remoteTrafficSelector); | 8541 checkUnnamed2192(o.remoteTrafficSelector); |
8447 unittest.expect(o.router, unittest.equals('foo')); | 8542 unittest.expect(o.router, unittest.equals('foo')); |
8448 unittest.expect(o.selfLink, unittest.equals('foo')); | 8543 unittest.expect(o.selfLink, unittest.equals('foo')); |
8449 unittest.expect(o.sharedSecret, unittest.equals('foo')); | 8544 unittest.expect(o.sharedSecret, unittest.equals('foo')); |
8450 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); | 8545 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); |
8451 unittest.expect(o.status, unittest.equals('foo')); | 8546 unittest.expect(o.status, unittest.equals('foo')); |
8452 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); | 8547 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); |
8453 } | 8548 } |
8454 buildCounterVpnTunnel--; | 8549 buildCounterVpnTunnel--; |
8455 } | 8550 } |
8456 | 8551 |
8457 buildUnnamed2179() { | 8552 buildUnnamed2193() { |
8458 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); | 8553 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); |
8459 o["x"] = buildVpnTunnelsScopedList(); | 8554 o["x"] = buildVpnTunnelsScopedList(); |
8460 o["y"] = buildVpnTunnelsScopedList(); | 8555 o["y"] = buildVpnTunnelsScopedList(); |
8461 return o; | 8556 return o; |
8462 } | 8557 } |
8463 | 8558 |
8464 checkUnnamed2179(core.Map<core.String, api.VpnTunnelsScopedList> o) { | 8559 checkUnnamed2193(core.Map<core.String, api.VpnTunnelsScopedList> o) { |
8465 unittest.expect(o, unittest.hasLength(2)); | 8560 unittest.expect(o, unittest.hasLength(2)); |
8466 checkVpnTunnelsScopedList(o["x"]); | 8561 checkVpnTunnelsScopedList(o["x"]); |
8467 checkVpnTunnelsScopedList(o["y"]); | 8562 checkVpnTunnelsScopedList(o["y"]); |
8468 } | 8563 } |
8469 | 8564 |
8470 core.int buildCounterVpnTunnelAggregatedList = 0; | 8565 core.int buildCounterVpnTunnelAggregatedList = 0; |
8471 buildVpnTunnelAggregatedList() { | 8566 buildVpnTunnelAggregatedList() { |
8472 var o = new api.VpnTunnelAggregatedList(); | 8567 var o = new api.VpnTunnelAggregatedList(); |
8473 buildCounterVpnTunnelAggregatedList++; | 8568 buildCounterVpnTunnelAggregatedList++; |
8474 if (buildCounterVpnTunnelAggregatedList < 3) { | 8569 if (buildCounterVpnTunnelAggregatedList < 3) { |
8475 o.id = "foo"; | 8570 o.id = "foo"; |
8476 o.items = buildUnnamed2179(); | 8571 o.items = buildUnnamed2193(); |
8477 o.kind = "foo"; | 8572 o.kind = "foo"; |
8478 o.nextPageToken = "foo"; | 8573 o.nextPageToken = "foo"; |
8479 o.selfLink = "foo"; | 8574 o.selfLink = "foo"; |
8480 } | 8575 } |
8481 buildCounterVpnTunnelAggregatedList--; | 8576 buildCounterVpnTunnelAggregatedList--; |
8482 return o; | 8577 return o; |
8483 } | 8578 } |
8484 | 8579 |
8485 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { | 8580 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { |
8486 buildCounterVpnTunnelAggregatedList++; | 8581 buildCounterVpnTunnelAggregatedList++; |
8487 if (buildCounterVpnTunnelAggregatedList < 3) { | 8582 if (buildCounterVpnTunnelAggregatedList < 3) { |
8488 unittest.expect(o.id, unittest.equals('foo')); | 8583 unittest.expect(o.id, unittest.equals('foo')); |
8489 checkUnnamed2179(o.items); | 8584 checkUnnamed2193(o.items); |
8490 unittest.expect(o.kind, unittest.equals('foo')); | 8585 unittest.expect(o.kind, unittest.equals('foo')); |
8491 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8586 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8492 unittest.expect(o.selfLink, unittest.equals('foo')); | 8587 unittest.expect(o.selfLink, unittest.equals('foo')); |
8493 } | 8588 } |
8494 buildCounterVpnTunnelAggregatedList--; | 8589 buildCounterVpnTunnelAggregatedList--; |
8495 } | 8590 } |
8496 | 8591 |
8497 buildUnnamed2180() { | 8592 buildUnnamed2194() { |
8498 var o = new core.List<api.VpnTunnel>(); | 8593 var o = new core.List<api.VpnTunnel>(); |
8499 o.add(buildVpnTunnel()); | 8594 o.add(buildVpnTunnel()); |
8500 o.add(buildVpnTunnel()); | 8595 o.add(buildVpnTunnel()); |
8501 return o; | 8596 return o; |
8502 } | 8597 } |
8503 | 8598 |
8504 checkUnnamed2180(core.List<api.VpnTunnel> o) { | 8599 checkUnnamed2194(core.List<api.VpnTunnel> o) { |
8505 unittest.expect(o, unittest.hasLength(2)); | 8600 unittest.expect(o, unittest.hasLength(2)); |
8506 checkVpnTunnel(o[0]); | 8601 checkVpnTunnel(o[0]); |
8507 checkVpnTunnel(o[1]); | 8602 checkVpnTunnel(o[1]); |
8508 } | 8603 } |
8509 | 8604 |
8510 core.int buildCounterVpnTunnelList = 0; | 8605 core.int buildCounterVpnTunnelList = 0; |
8511 buildVpnTunnelList() { | 8606 buildVpnTunnelList() { |
8512 var o = new api.VpnTunnelList(); | 8607 var o = new api.VpnTunnelList(); |
8513 buildCounterVpnTunnelList++; | 8608 buildCounterVpnTunnelList++; |
8514 if (buildCounterVpnTunnelList < 3) { | 8609 if (buildCounterVpnTunnelList < 3) { |
8515 o.id = "foo"; | 8610 o.id = "foo"; |
8516 o.items = buildUnnamed2180(); | 8611 o.items = buildUnnamed2194(); |
8517 o.kind = "foo"; | 8612 o.kind = "foo"; |
8518 o.nextPageToken = "foo"; | 8613 o.nextPageToken = "foo"; |
8519 o.selfLink = "foo"; | 8614 o.selfLink = "foo"; |
8520 } | 8615 } |
8521 buildCounterVpnTunnelList--; | 8616 buildCounterVpnTunnelList--; |
8522 return o; | 8617 return o; |
8523 } | 8618 } |
8524 | 8619 |
8525 checkVpnTunnelList(api.VpnTunnelList o) { | 8620 checkVpnTunnelList(api.VpnTunnelList o) { |
8526 buildCounterVpnTunnelList++; | 8621 buildCounterVpnTunnelList++; |
8527 if (buildCounterVpnTunnelList < 3) { | 8622 if (buildCounterVpnTunnelList < 3) { |
8528 unittest.expect(o.id, unittest.equals('foo')); | 8623 unittest.expect(o.id, unittest.equals('foo')); |
8529 checkUnnamed2180(o.items); | 8624 checkUnnamed2194(o.items); |
8530 unittest.expect(o.kind, unittest.equals('foo')); | 8625 unittest.expect(o.kind, unittest.equals('foo')); |
8531 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8626 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8532 unittest.expect(o.selfLink, unittest.equals('foo')); | 8627 unittest.expect(o.selfLink, unittest.equals('foo')); |
8533 } | 8628 } |
8534 buildCounterVpnTunnelList--; | 8629 buildCounterVpnTunnelList--; |
8535 } | 8630 } |
8536 | 8631 |
8537 buildUnnamed2181() { | 8632 buildUnnamed2195() { |
8538 var o = new core.List<api.VpnTunnel>(); | 8633 var o = new core.List<api.VpnTunnel>(); |
8539 o.add(buildVpnTunnel()); | 8634 o.add(buildVpnTunnel()); |
8540 o.add(buildVpnTunnel()); | 8635 o.add(buildVpnTunnel()); |
8541 return o; | 8636 return o; |
8542 } | 8637 } |
8543 | 8638 |
8544 checkUnnamed2181(core.List<api.VpnTunnel> o) { | 8639 checkUnnamed2195(core.List<api.VpnTunnel> o) { |
8545 unittest.expect(o, unittest.hasLength(2)); | 8640 unittest.expect(o, unittest.hasLength(2)); |
8546 checkVpnTunnel(o[0]); | 8641 checkVpnTunnel(o[0]); |
8547 checkVpnTunnel(o[1]); | 8642 checkVpnTunnel(o[1]); |
8548 } | 8643 } |
8549 | 8644 |
8550 core.int buildCounterVpnTunnelsScopedListWarningData = 0; | 8645 core.int buildCounterVpnTunnelsScopedListWarningData = 0; |
8551 buildVpnTunnelsScopedListWarningData() { | 8646 buildVpnTunnelsScopedListWarningData() { |
8552 var o = new api.VpnTunnelsScopedListWarningData(); | 8647 var o = new api.VpnTunnelsScopedListWarningData(); |
8553 buildCounterVpnTunnelsScopedListWarningData++; | 8648 buildCounterVpnTunnelsScopedListWarningData++; |
8554 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 8649 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
8555 o.key = "foo"; | 8650 o.key = "foo"; |
8556 o.value = "foo"; | 8651 o.value = "foo"; |
8557 } | 8652 } |
8558 buildCounterVpnTunnelsScopedListWarningData--; | 8653 buildCounterVpnTunnelsScopedListWarningData--; |
8559 return o; | 8654 return o; |
8560 } | 8655 } |
8561 | 8656 |
8562 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { | 8657 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { |
8563 buildCounterVpnTunnelsScopedListWarningData++; | 8658 buildCounterVpnTunnelsScopedListWarningData++; |
8564 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 8659 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
8565 unittest.expect(o.key, unittest.equals('foo')); | 8660 unittest.expect(o.key, unittest.equals('foo')); |
8566 unittest.expect(o.value, unittest.equals('foo')); | 8661 unittest.expect(o.value, unittest.equals('foo')); |
8567 } | 8662 } |
8568 buildCounterVpnTunnelsScopedListWarningData--; | 8663 buildCounterVpnTunnelsScopedListWarningData--; |
8569 } | 8664 } |
8570 | 8665 |
8571 buildUnnamed2182() { | 8666 buildUnnamed2196() { |
8572 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); | 8667 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); |
8573 o.add(buildVpnTunnelsScopedListWarningData()); | 8668 o.add(buildVpnTunnelsScopedListWarningData()); |
8574 o.add(buildVpnTunnelsScopedListWarningData()); | 8669 o.add(buildVpnTunnelsScopedListWarningData()); |
8575 return o; | 8670 return o; |
8576 } | 8671 } |
8577 | 8672 |
8578 checkUnnamed2182(core.List<api.VpnTunnelsScopedListWarningData> o) { | 8673 checkUnnamed2196(core.List<api.VpnTunnelsScopedListWarningData> o) { |
8579 unittest.expect(o, unittest.hasLength(2)); | 8674 unittest.expect(o, unittest.hasLength(2)); |
8580 checkVpnTunnelsScopedListWarningData(o[0]); | 8675 checkVpnTunnelsScopedListWarningData(o[0]); |
8581 checkVpnTunnelsScopedListWarningData(o[1]); | 8676 checkVpnTunnelsScopedListWarningData(o[1]); |
8582 } | 8677 } |
8583 | 8678 |
8584 core.int buildCounterVpnTunnelsScopedListWarning = 0; | 8679 core.int buildCounterVpnTunnelsScopedListWarning = 0; |
8585 buildVpnTunnelsScopedListWarning() { | 8680 buildVpnTunnelsScopedListWarning() { |
8586 var o = new api.VpnTunnelsScopedListWarning(); | 8681 var o = new api.VpnTunnelsScopedListWarning(); |
8587 buildCounterVpnTunnelsScopedListWarning++; | 8682 buildCounterVpnTunnelsScopedListWarning++; |
8588 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 8683 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
8589 o.code = "foo"; | 8684 o.code = "foo"; |
8590 o.data = buildUnnamed2182(); | 8685 o.data = buildUnnamed2196(); |
8591 o.message = "foo"; | 8686 o.message = "foo"; |
8592 } | 8687 } |
8593 buildCounterVpnTunnelsScopedListWarning--; | 8688 buildCounterVpnTunnelsScopedListWarning--; |
8594 return o; | 8689 return o; |
8595 } | 8690 } |
8596 | 8691 |
8597 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { | 8692 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { |
8598 buildCounterVpnTunnelsScopedListWarning++; | 8693 buildCounterVpnTunnelsScopedListWarning++; |
8599 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 8694 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
8600 unittest.expect(o.code, unittest.equals('foo')); | 8695 unittest.expect(o.code, unittest.equals('foo')); |
8601 checkUnnamed2182(o.data); | 8696 checkUnnamed2196(o.data); |
8602 unittest.expect(o.message, unittest.equals('foo')); | 8697 unittest.expect(o.message, unittest.equals('foo')); |
8603 } | 8698 } |
8604 buildCounterVpnTunnelsScopedListWarning--; | 8699 buildCounterVpnTunnelsScopedListWarning--; |
8605 } | 8700 } |
8606 | 8701 |
8607 core.int buildCounterVpnTunnelsScopedList = 0; | 8702 core.int buildCounterVpnTunnelsScopedList = 0; |
8608 buildVpnTunnelsScopedList() { | 8703 buildVpnTunnelsScopedList() { |
8609 var o = new api.VpnTunnelsScopedList(); | 8704 var o = new api.VpnTunnelsScopedList(); |
8610 buildCounterVpnTunnelsScopedList++; | 8705 buildCounterVpnTunnelsScopedList++; |
8611 if (buildCounterVpnTunnelsScopedList < 3) { | 8706 if (buildCounterVpnTunnelsScopedList < 3) { |
8612 o.vpnTunnels = buildUnnamed2181(); | 8707 o.vpnTunnels = buildUnnamed2195(); |
8613 o.warning = buildVpnTunnelsScopedListWarning(); | 8708 o.warning = buildVpnTunnelsScopedListWarning(); |
8614 } | 8709 } |
8615 buildCounterVpnTunnelsScopedList--; | 8710 buildCounterVpnTunnelsScopedList--; |
8616 return o; | 8711 return o; |
8617 } | 8712 } |
8618 | 8713 |
8619 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { | 8714 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { |
8620 buildCounterVpnTunnelsScopedList++; | 8715 buildCounterVpnTunnelsScopedList++; |
8621 if (buildCounterVpnTunnelsScopedList < 3) { | 8716 if (buildCounterVpnTunnelsScopedList < 3) { |
8622 checkUnnamed2181(o.vpnTunnels); | 8717 checkUnnamed2195(o.vpnTunnels); |
8623 checkVpnTunnelsScopedListWarning(o.warning); | 8718 checkVpnTunnelsScopedListWarning(o.warning); |
8624 } | 8719 } |
8625 buildCounterVpnTunnelsScopedList--; | 8720 buildCounterVpnTunnelsScopedList--; |
8626 } | 8721 } |
8627 | 8722 |
8628 core.int buildCounterZone = 0; | 8723 core.int buildCounterZone = 0; |
8629 buildZone() { | 8724 buildZone() { |
8630 var o = new api.Zone(); | 8725 var o = new api.Zone(); |
8631 buildCounterZone++; | 8726 buildCounterZone++; |
8632 if (buildCounterZone < 3) { | 8727 if (buildCounterZone < 3) { |
(...skipping 20 matching lines...) Expand all Loading... |
8653 unittest.expect(o.id, unittest.equals('foo')); | 8748 unittest.expect(o.id, unittest.equals('foo')); |
8654 unittest.expect(o.kind, unittest.equals('foo')); | 8749 unittest.expect(o.kind, unittest.equals('foo')); |
8655 unittest.expect(o.name, unittest.equals('foo')); | 8750 unittest.expect(o.name, unittest.equals('foo')); |
8656 unittest.expect(o.region, unittest.equals('foo')); | 8751 unittest.expect(o.region, unittest.equals('foo')); |
8657 unittest.expect(o.selfLink, unittest.equals('foo')); | 8752 unittest.expect(o.selfLink, unittest.equals('foo')); |
8658 unittest.expect(o.status, unittest.equals('foo')); | 8753 unittest.expect(o.status, unittest.equals('foo')); |
8659 } | 8754 } |
8660 buildCounterZone--; | 8755 buildCounterZone--; |
8661 } | 8756 } |
8662 | 8757 |
8663 buildUnnamed2183() { | 8758 buildUnnamed2197() { |
8664 var o = new core.List<api.Zone>(); | 8759 var o = new core.List<api.Zone>(); |
8665 o.add(buildZone()); | 8760 o.add(buildZone()); |
8666 o.add(buildZone()); | 8761 o.add(buildZone()); |
8667 return o; | 8762 return o; |
8668 } | 8763 } |
8669 | 8764 |
8670 checkUnnamed2183(core.List<api.Zone> o) { | 8765 checkUnnamed2197(core.List<api.Zone> o) { |
8671 unittest.expect(o, unittest.hasLength(2)); | 8766 unittest.expect(o, unittest.hasLength(2)); |
8672 checkZone(o[0]); | 8767 checkZone(o[0]); |
8673 checkZone(o[1]); | 8768 checkZone(o[1]); |
8674 } | 8769 } |
8675 | 8770 |
8676 core.int buildCounterZoneList = 0; | 8771 core.int buildCounterZoneList = 0; |
8677 buildZoneList() { | 8772 buildZoneList() { |
8678 var o = new api.ZoneList(); | 8773 var o = new api.ZoneList(); |
8679 buildCounterZoneList++; | 8774 buildCounterZoneList++; |
8680 if (buildCounterZoneList < 3) { | 8775 if (buildCounterZoneList < 3) { |
8681 o.id = "foo"; | 8776 o.id = "foo"; |
8682 o.items = buildUnnamed2183(); | 8777 o.items = buildUnnamed2197(); |
8683 o.kind = "foo"; | 8778 o.kind = "foo"; |
8684 o.nextPageToken = "foo"; | 8779 o.nextPageToken = "foo"; |
8685 o.selfLink = "foo"; | 8780 o.selfLink = "foo"; |
8686 } | 8781 } |
8687 buildCounterZoneList--; | 8782 buildCounterZoneList--; |
8688 return o; | 8783 return o; |
8689 } | 8784 } |
8690 | 8785 |
8691 checkZoneList(api.ZoneList o) { | 8786 checkZoneList(api.ZoneList o) { |
8692 buildCounterZoneList++; | 8787 buildCounterZoneList++; |
8693 if (buildCounterZoneList < 3) { | 8788 if (buildCounterZoneList < 3) { |
8694 unittest.expect(o.id, unittest.equals('foo')); | 8789 unittest.expect(o.id, unittest.equals('foo')); |
8695 checkUnnamed2183(o.items); | 8790 checkUnnamed2197(o.items); |
8696 unittest.expect(o.kind, unittest.equals('foo')); | 8791 unittest.expect(o.kind, unittest.equals('foo')); |
8697 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8792 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8698 unittest.expect(o.selfLink, unittest.equals('foo')); | 8793 unittest.expect(o.selfLink, unittest.equals('foo')); |
8699 } | 8794 } |
8700 buildCounterZoneList--; | 8795 buildCounterZoneList--; |
8701 } | 8796 } |
8702 | 8797 |
8703 | 8798 |
8704 main() { | 8799 main() { |
8705 unittest.group("obj-schema-AccessConfig", () { | 8800 unittest.group("obj-schema-AccessConfig", () { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8911 | 9006 |
8912 unittest.group("obj-schema-BackendServiceAggregatedList", () { | 9007 unittest.group("obj-schema-BackendServiceAggregatedList", () { |
8913 unittest.test("to-json--from-json", () { | 9008 unittest.test("to-json--from-json", () { |
8914 var o = buildBackendServiceAggregatedList(); | 9009 var o = buildBackendServiceAggregatedList(); |
8915 var od = new api.BackendServiceAggregatedList.fromJson(o.toJson()); | 9010 var od = new api.BackendServiceAggregatedList.fromJson(o.toJson()); |
8916 checkBackendServiceAggregatedList(od); | 9011 checkBackendServiceAggregatedList(od); |
8917 }); | 9012 }); |
8918 }); | 9013 }); |
8919 | 9014 |
8920 | 9015 |
| 9016 unittest.group("obj-schema-BackendServiceCdnPolicy", () { |
| 9017 unittest.test("to-json--from-json", () { |
| 9018 var o = buildBackendServiceCdnPolicy(); |
| 9019 var od = new api.BackendServiceCdnPolicy.fromJson(o.toJson()); |
| 9020 checkBackendServiceCdnPolicy(od); |
| 9021 }); |
| 9022 }); |
| 9023 |
| 9024 |
8921 unittest.group("obj-schema-BackendServiceGroupHealth", () { | 9025 unittest.group("obj-schema-BackendServiceGroupHealth", () { |
8922 unittest.test("to-json--from-json", () { | 9026 unittest.test("to-json--from-json", () { |
8923 var o = buildBackendServiceGroupHealth(); | 9027 var o = buildBackendServiceGroupHealth(); |
8924 var od = new api.BackendServiceGroupHealth.fromJson(o.toJson()); | 9028 var od = new api.BackendServiceGroupHealth.fromJson(o.toJson()); |
8925 checkBackendServiceGroupHealth(od); | 9029 checkBackendServiceGroupHealth(od); |
8926 }); | 9030 }); |
8927 }); | 9031 }); |
8928 | 9032 |
8929 | 9033 |
8930 unittest.group("obj-schema-BackendServiceList", () { | 9034 unittest.group("obj-schema-BackendServiceList", () { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8965 | 9069 |
8966 unittest.group("obj-schema-CacheInvalidationRule", () { | 9070 unittest.group("obj-schema-CacheInvalidationRule", () { |
8967 unittest.test("to-json--from-json", () { | 9071 unittest.test("to-json--from-json", () { |
8968 var o = buildCacheInvalidationRule(); | 9072 var o = buildCacheInvalidationRule(); |
8969 var od = new api.CacheInvalidationRule.fromJson(o.toJson()); | 9073 var od = new api.CacheInvalidationRule.fromJson(o.toJson()); |
8970 checkCacheInvalidationRule(od); | 9074 checkCacheInvalidationRule(od); |
8971 }); | 9075 }); |
8972 }); | 9076 }); |
8973 | 9077 |
8974 | 9078 |
| 9079 unittest.group("obj-schema-CacheKeyPolicy", () { |
| 9080 unittest.test("to-json--from-json", () { |
| 9081 var o = buildCacheKeyPolicy(); |
| 9082 var od = new api.CacheKeyPolicy.fromJson(o.toJson()); |
| 9083 checkCacheKeyPolicy(od); |
| 9084 }); |
| 9085 }); |
| 9086 |
| 9087 |
8975 unittest.group("obj-schema-ConnectionDraining", () { | 9088 unittest.group("obj-schema-ConnectionDraining", () { |
8976 unittest.test("to-json--from-json", () { | 9089 unittest.test("to-json--from-json", () { |
8977 var o = buildConnectionDraining(); | 9090 var o = buildConnectionDraining(); |
8978 var od = new api.ConnectionDraining.fromJson(o.toJson()); | 9091 var od = new api.ConnectionDraining.fromJson(o.toJson()); |
8979 checkConnectionDraining(od); | 9092 checkConnectionDraining(od); |
8980 }); | 9093 }); |
8981 }); | 9094 }); |
8982 | 9095 |
8983 | 9096 |
8984 unittest.group("obj-schema-CustomerEncryptionKey", () { | 9097 unittest.group("obj-schema-CustomerEncryptionKey", () { |
(...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10405 | 10518 |
10406 unittest.group("obj-schema-SubnetworksScopedList", () { | 10519 unittest.group("obj-schema-SubnetworksScopedList", () { |
10407 unittest.test("to-json--from-json", () { | 10520 unittest.test("to-json--from-json", () { |
10408 var o = buildSubnetworksScopedList(); | 10521 var o = buildSubnetworksScopedList(); |
10409 var od = new api.SubnetworksScopedList.fromJson(o.toJson()); | 10522 var od = new api.SubnetworksScopedList.fromJson(o.toJson()); |
10410 checkSubnetworksScopedList(od); | 10523 checkSubnetworksScopedList(od); |
10411 }); | 10524 }); |
10412 }); | 10525 }); |
10413 | 10526 |
10414 | 10527 |
| 10528 unittest.group("obj-schema-SubnetworksSetPrivateIpGoogleAccessRequest", () { |
| 10529 unittest.test("to-json--from-json", () { |
| 10530 var o = buildSubnetworksSetPrivateIpGoogleAccessRequest(); |
| 10531 var od = new api.SubnetworksSetPrivateIpGoogleAccessRequest.fromJson(o.toJ
son()); |
| 10532 checkSubnetworksSetPrivateIpGoogleAccessRequest(od); |
| 10533 }); |
| 10534 }); |
| 10535 |
| 10536 |
10415 unittest.group("obj-schema-TCPHealthCheck", () { | 10537 unittest.group("obj-schema-TCPHealthCheck", () { |
10416 unittest.test("to-json--from-json", () { | 10538 unittest.test("to-json--from-json", () { |
10417 var o = buildTCPHealthCheck(); | 10539 var o = buildTCPHealthCheck(); |
10418 var od = new api.TCPHealthCheck.fromJson(o.toJson()); | 10540 var od = new api.TCPHealthCheck.fromJson(o.toJson()); |
10419 checkTCPHealthCheck(od); | 10541 checkTCPHealthCheck(od); |
10420 }); | 10542 }); |
10421 }); | 10543 }); |
10422 | 10544 |
10423 | 10545 |
10424 unittest.group("obj-schema-Tags", () { | 10546 unittest.group("obj-schema-Tags", () { |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11403 } | 11525 } |
11404 unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autosc
aler)); | 11526 unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autosc
aler)); |
11405 | 11527 |
11406 | 11528 |
11407 var h = { | 11529 var h = { |
11408 "content-type" : "application/json; charset=utf-8", | 11530 "content-type" : "application/json; charset=utf-8", |
11409 }; | 11531 }; |
11410 var resp = convert.JSON.encode(buildOperation()); | 11532 var resp = convert.JSON.encode(buildOperation()); |
11411 return new async.Future.value(stringResponse(200, h, resp)); | 11533 return new async.Future.value(stringResponse(200, h, resp)); |
11412 }), true); | 11534 }), true); |
11413 res.patch(arg_request, arg_project, arg_zone, arg_autoscaler).then(unittes
t.expectAsync(((api.Operation response) { | 11535 res.patch(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler).
then(unittest.expectAsync(((api.Operation response) { |
11414 checkOperation(response); | 11536 checkOperation(response); |
11415 }))); | 11537 }))); |
11416 }); | 11538 }); |
11417 | 11539 |
11418 unittest.test("method--update", () { | 11540 unittest.test("method--update", () { |
11419 | 11541 |
11420 var mock = new HttpServerMock(); | 11542 var mock = new HttpServerMock(); |
11421 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; | 11543 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; |
11422 var arg_request = buildAutoscaler(); | 11544 var arg_request = buildAutoscaler(); |
11423 var arg_project = "foo"; | 11545 var arg_project = "foo"; |
(...skipping 6511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17935 } | 18057 } |
17936 unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autosc
aler)); | 18058 unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autosc
aler)); |
17937 | 18059 |
17938 | 18060 |
17939 var h = { | 18061 var h = { |
17940 "content-type" : "application/json; charset=utf-8", | 18062 "content-type" : "application/json; charset=utf-8", |
17941 }; | 18063 }; |
17942 var resp = convert.JSON.encode(buildOperation()); | 18064 var resp = convert.JSON.encode(buildOperation()); |
17943 return new async.Future.value(stringResponse(200, h, resp)); | 18065 return new async.Future.value(stringResponse(200, h, resp)); |
17944 }), true); | 18066 }), true); |
17945 res.patch(arg_request, arg_project, arg_region, arg_autoscaler).then(unitt
est.expectAsync(((api.Operation response) { | 18067 res.patch(arg_request, arg_project, arg_region, autoscaler: arg_autoscaler
).then(unittest.expectAsync(((api.Operation response) { |
17946 checkOperation(response); | 18068 checkOperation(response); |
17947 }))); | 18069 }))); |
17948 }); | 18070 }); |
17949 | 18071 |
17950 unittest.test("method--update", () { | 18072 unittest.test("method--update", () { |
17951 | 18073 |
17952 var mock = new HttpServerMock(); | 18074 var mock = new HttpServerMock(); |
17953 api.RegionAutoscalersResourceApi res = new api.ComputeApi(mock).regionAuto
scalers; | 18075 api.RegionAutoscalersResourceApi res = new api.ComputeApi(mock).regionAuto
scalers; |
17954 var arg_request = buildAutoscaler(); | 18076 var arg_request = buildAutoscaler(); |
17955 var arg_project = "foo"; | 18077 var arg_project = "foo"; |
(...skipping 2564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20520 "content-type" : "application/json; charset=utf-8", | 20642 "content-type" : "application/json; charset=utf-8", |
20521 }; | 20643 }; |
20522 var resp = convert.JSON.encode(buildSubnetworkList()); | 20644 var resp = convert.JSON.encode(buildSubnetworkList()); |
20523 return new async.Future.value(stringResponse(200, h, resp)); | 20645 return new async.Future.value(stringResponse(200, h, resp)); |
20524 }), true); | 20646 }), true); |
20525 res.list(arg_project, arg_region, filter: arg_filter, maxResults: arg_maxR
esults, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsyn
c(((api.SubnetworkList response) { | 20647 res.list(arg_project, arg_region, filter: arg_filter, maxResults: arg_maxR
esults, orderBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsyn
c(((api.SubnetworkList response) { |
20526 checkSubnetworkList(response); | 20648 checkSubnetworkList(response); |
20527 }))); | 20649 }))); |
20528 }); | 20650 }); |
20529 | 20651 |
| 20652 unittest.test("method--setPrivateIpGoogleAccess", () { |
| 20653 |
| 20654 var mock = new HttpServerMock(); |
| 20655 api.SubnetworksResourceApi res = new api.ComputeApi(mock).subnetworks; |
| 20656 var arg_request = buildSubnetworksSetPrivateIpGoogleAccessRequest(); |
| 20657 var arg_project = "foo"; |
| 20658 var arg_region = "foo"; |
| 20659 var arg_subnetwork = "foo"; |
| 20660 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 20661 var obj = new api.SubnetworksSetPrivateIpGoogleAccessRequest.fromJson(js
on); |
| 20662 checkSubnetworksSetPrivateIpGoogleAccessRequest(obj); |
| 20663 |
| 20664 var path = (req.url).path; |
| 20665 var pathOffset = 0; |
| 20666 var index; |
| 20667 var subPart; |
| 20668 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 20669 pathOffset += 1; |
| 20670 |
| 20671 var query = (req.url).query; |
| 20672 var queryOffset = 0; |
| 20673 var queryMap = {}; |
| 20674 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 20675 parseBool(n) { |
| 20676 if (n == "true") return true; |
| 20677 if (n == "false") return false; |
| 20678 if (n == null) return null; |
| 20679 throw new core.ArgumentError("Invalid boolean: $n"); |
| 20680 } |
| 20681 if (query.length > 0) { |
| 20682 for (var part in query.split("&")) { |
| 20683 var keyvalue = part.split("="); |
| 20684 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 20685 } |
| 20686 } |
| 20687 |
| 20688 |
| 20689 var h = { |
| 20690 "content-type" : "application/json; charset=utf-8", |
| 20691 }; |
| 20692 var resp = convert.JSON.encode(buildOperation()); |
| 20693 return new async.Future.value(stringResponse(200, h, resp)); |
| 20694 }), true); |
| 20695 res.setPrivateIpGoogleAccess(arg_request, arg_project, arg_region, arg_sub
network).then(unittest.expectAsync(((api.Operation response) { |
| 20696 checkOperation(response); |
| 20697 }))); |
| 20698 }); |
| 20699 |
20530 }); | 20700 }); |
20531 | 20701 |
20532 | 20702 |
20533 unittest.group("resource-TargetHttpProxiesResourceApi", () { | 20703 unittest.group("resource-TargetHttpProxiesResourceApi", () { |
20534 unittest.test("method--delete", () { | 20704 unittest.test("method--delete", () { |
20535 | 20705 |
20536 var mock = new HttpServerMock(); | 20706 var mock = new HttpServerMock(); |
20537 api.TargetHttpProxiesResourceApi res = new api.ComputeApi(mock).targetHttp
Proxies; | 20707 api.TargetHttpProxiesResourceApi res = new api.ComputeApi(mock).targetHttp
Proxies; |
20538 var arg_project = "foo"; | 20708 var arg_project = "foo"; |
20539 var arg_targetHttpProxy = "foo"; | 20709 var arg_targetHttpProxy = "foo"; |
(...skipping 2687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23227 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Zone
List response) { | 23397 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Zone
List response) { |
23228 checkZoneList(response); | 23398 checkZoneList(response); |
23229 }))); | 23399 }))); |
23230 }); | 23400 }); |
23231 | 23401 |
23232 }); | 23402 }); |
23233 | 23403 |
23234 | 23404 |
23235 } | 23405 } |
23236 | 23406 |
OLD | NEW |