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 buildUnnamed1218() { | 79 buildUnnamed514() { |
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 checkUnnamed1218(core.List<core.String> o) { | 86 checkUnnamed514(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 = buildUnnamed1218(); | 106 o.users = buildUnnamed514(); |
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 checkUnnamed1218(o.users); | 124 checkUnnamed514(o.users); |
125 } | 125 } |
126 buildCounterAddress--; | 126 buildCounterAddress--; |
127 } | 127 } |
128 | 128 |
129 buildUnnamed1219() { | 129 buildUnnamed515() { |
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 checkUnnamed1219(core.Map<core.String, api.AddressesScopedList> o) { | 136 checkUnnamed515(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 = buildUnnamed1219(); | 148 o.items = buildUnnamed515(); |
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 checkUnnamed1219(o.items); | 161 checkUnnamed515(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 buildUnnamed1220() { | 169 buildUnnamed516() { |
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 checkUnnamed1220(core.List<api.Address> o) { | 176 checkUnnamed516(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 = buildUnnamed1220(); | 188 o.items = buildUnnamed516(); |
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 checkUnnamed1220(o.items); | 201 checkUnnamed516(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 buildUnnamed1221() { | 209 buildUnnamed517() { |
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 checkUnnamed1221(core.List<api.Address> o) { | 216 checkUnnamed517(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 buildUnnamed1222() { | 243 buildUnnamed518() { |
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 checkUnnamed1222(core.List<api.AddressesScopedListWarningData> o) { | 250 checkUnnamed518(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 = buildUnnamed1222(); | 262 o.data = buildUnnamed518(); |
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 checkUnnamed1222(o.data); | 273 checkUnnamed518(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 = buildUnnamed1221(); | 284 o.addresses = buildUnnamed517(); |
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 checkUnnamed1221(o.addresses); | 294 checkUnnamed517(o.addresses); |
295 checkAddressesScopedListWarning(o.warning); | 295 checkAddressesScopedListWarning(o.warning); |
296 } | 296 } |
297 buildCounterAddressesScopedList--; | 297 buildCounterAddressesScopedList--; |
298 } | 298 } |
299 | 299 |
300 buildUnnamed1223() { | 300 buildUnnamed519() { |
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 checkUnnamed1223(core.List<core.String> o) { | 307 checkUnnamed519(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.index = 42; | 321 o.index = 42; |
322 o.initializeParams = buildAttachedDiskInitializeParams(); | 322 o.initializeParams = buildAttachedDiskInitializeParams(); |
323 o.interface = "foo"; | 323 o.interface = "foo"; |
324 o.kind = "foo"; | 324 o.kind = "foo"; |
325 o.licenses = buildUnnamed1223(); | 325 o.licenses = buildUnnamed519(); |
326 o.mode = "foo"; | 326 o.mode = "foo"; |
327 o.source = "foo"; | 327 o.source = "foo"; |
328 o.type = "foo"; | 328 o.type = "foo"; |
329 } | 329 } |
330 buildCounterAttachedDisk--; | 330 buildCounterAttachedDisk--; |
331 return o; | 331 return o; |
332 } | 332 } |
333 | 333 |
334 checkAttachedDisk(api.AttachedDisk o) { | 334 checkAttachedDisk(api.AttachedDisk o) { |
335 buildCounterAttachedDisk++; | 335 buildCounterAttachedDisk++; |
336 if (buildCounterAttachedDisk < 3) { | 336 if (buildCounterAttachedDisk < 3) { |
337 unittest.expect(o.autoDelete, unittest.isTrue); | 337 unittest.expect(o.autoDelete, unittest.isTrue); |
338 unittest.expect(o.boot, unittest.isTrue); | 338 unittest.expect(o.boot, unittest.isTrue); |
339 unittest.expect(o.deviceName, unittest.equals('foo')); | 339 unittest.expect(o.deviceName, unittest.equals('foo')); |
340 unittest.expect(o.index, unittest.equals(42)); | 340 unittest.expect(o.index, unittest.equals(42)); |
341 checkAttachedDiskInitializeParams(o.initializeParams); | 341 checkAttachedDiskInitializeParams(o.initializeParams); |
342 unittest.expect(o.interface, unittest.equals('foo')); | 342 unittest.expect(o.interface, unittest.equals('foo')); |
343 unittest.expect(o.kind, unittest.equals('foo')); | 343 unittest.expect(o.kind, unittest.equals('foo')); |
344 checkUnnamed1223(o.licenses); | 344 checkUnnamed519(o.licenses); |
345 unittest.expect(o.mode, unittest.equals('foo')); | 345 unittest.expect(o.mode, unittest.equals('foo')); |
346 unittest.expect(o.source, unittest.equals('foo')); | 346 unittest.expect(o.source, unittest.equals('foo')); |
347 unittest.expect(o.type, unittest.equals('foo')); | 347 unittest.expect(o.type, unittest.equals('foo')); |
348 } | 348 } |
349 buildCounterAttachedDisk--; | 349 buildCounterAttachedDisk--; |
350 } | 350 } |
351 | 351 |
352 core.int buildCounterAttachedDiskInitializeParams = 0; | 352 core.int buildCounterAttachedDiskInitializeParams = 0; |
353 buildAttachedDiskInitializeParams() { | 353 buildAttachedDiskInitializeParams() { |
354 var o = new api.AttachedDiskInitializeParams(); | 354 var o = new api.AttachedDiskInitializeParams(); |
(...skipping 12 matching lines...) Expand all Loading... |
367 buildCounterAttachedDiskInitializeParams++; | 367 buildCounterAttachedDiskInitializeParams++; |
368 if (buildCounterAttachedDiskInitializeParams < 3) { | 368 if (buildCounterAttachedDiskInitializeParams < 3) { |
369 unittest.expect(o.diskName, unittest.equals('foo')); | 369 unittest.expect(o.diskName, unittest.equals('foo')); |
370 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 370 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
371 unittest.expect(o.diskType, unittest.equals('foo')); | 371 unittest.expect(o.diskType, unittest.equals('foo')); |
372 unittest.expect(o.sourceImage, unittest.equals('foo')); | 372 unittest.expect(o.sourceImage, unittest.equals('foo')); |
373 } | 373 } |
374 buildCounterAttachedDiskInitializeParams--; | 374 buildCounterAttachedDiskInitializeParams--; |
375 } | 375 } |
376 | 376 |
| 377 core.int buildCounterAutoscaler = 0; |
| 378 buildAutoscaler() { |
| 379 var o = new api.Autoscaler(); |
| 380 buildCounterAutoscaler++; |
| 381 if (buildCounterAutoscaler < 3) { |
| 382 o.autoscalingPolicy = buildAutoscalingPolicy(); |
| 383 o.creationTimestamp = "foo"; |
| 384 o.description = "foo"; |
| 385 o.id = "foo"; |
| 386 o.kind = "foo"; |
| 387 o.name = "foo"; |
| 388 o.selfLink = "foo"; |
| 389 o.target = "foo"; |
| 390 o.zone = "foo"; |
| 391 } |
| 392 buildCounterAutoscaler--; |
| 393 return o; |
| 394 } |
| 395 |
| 396 checkAutoscaler(api.Autoscaler o) { |
| 397 buildCounterAutoscaler++; |
| 398 if (buildCounterAutoscaler < 3) { |
| 399 checkAutoscalingPolicy(o.autoscalingPolicy); |
| 400 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 401 unittest.expect(o.description, unittest.equals('foo')); |
| 402 unittest.expect(o.id, unittest.equals('foo')); |
| 403 unittest.expect(o.kind, unittest.equals('foo')); |
| 404 unittest.expect(o.name, unittest.equals('foo')); |
| 405 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 406 unittest.expect(o.target, unittest.equals('foo')); |
| 407 unittest.expect(o.zone, unittest.equals('foo')); |
| 408 } |
| 409 buildCounterAutoscaler--; |
| 410 } |
| 411 |
| 412 buildUnnamed520() { |
| 413 var o = new core.Map<core.String, api.AutoscalersScopedList>(); |
| 414 o["x"] = buildAutoscalersScopedList(); |
| 415 o["y"] = buildAutoscalersScopedList(); |
| 416 return o; |
| 417 } |
| 418 |
| 419 checkUnnamed520(core.Map<core.String, api.AutoscalersScopedList> o) { |
| 420 unittest.expect(o, unittest.hasLength(2)); |
| 421 checkAutoscalersScopedList(o["x"]); |
| 422 checkAutoscalersScopedList(o["y"]); |
| 423 } |
| 424 |
| 425 core.int buildCounterAutoscalerAggregatedList = 0; |
| 426 buildAutoscalerAggregatedList() { |
| 427 var o = new api.AutoscalerAggregatedList(); |
| 428 buildCounterAutoscalerAggregatedList++; |
| 429 if (buildCounterAutoscalerAggregatedList < 3) { |
| 430 o.id = "foo"; |
| 431 o.items = buildUnnamed520(); |
| 432 o.kind = "foo"; |
| 433 o.nextPageToken = "foo"; |
| 434 o.selfLink = "foo"; |
| 435 } |
| 436 buildCounterAutoscalerAggregatedList--; |
| 437 return o; |
| 438 } |
| 439 |
| 440 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { |
| 441 buildCounterAutoscalerAggregatedList++; |
| 442 if (buildCounterAutoscalerAggregatedList < 3) { |
| 443 unittest.expect(o.id, unittest.equals('foo')); |
| 444 checkUnnamed520(o.items); |
| 445 unittest.expect(o.kind, unittest.equals('foo')); |
| 446 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 447 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 448 } |
| 449 buildCounterAutoscalerAggregatedList--; |
| 450 } |
| 451 |
| 452 buildUnnamed521() { |
| 453 var o = new core.List<api.Autoscaler>(); |
| 454 o.add(buildAutoscaler()); |
| 455 o.add(buildAutoscaler()); |
| 456 return o; |
| 457 } |
| 458 |
| 459 checkUnnamed521(core.List<api.Autoscaler> o) { |
| 460 unittest.expect(o, unittest.hasLength(2)); |
| 461 checkAutoscaler(o[0]); |
| 462 checkAutoscaler(o[1]); |
| 463 } |
| 464 |
| 465 core.int buildCounterAutoscalerList = 0; |
| 466 buildAutoscalerList() { |
| 467 var o = new api.AutoscalerList(); |
| 468 buildCounterAutoscalerList++; |
| 469 if (buildCounterAutoscalerList < 3) { |
| 470 o.id = "foo"; |
| 471 o.items = buildUnnamed521(); |
| 472 o.kind = "foo"; |
| 473 o.nextPageToken = "foo"; |
| 474 o.selfLink = "foo"; |
| 475 } |
| 476 buildCounterAutoscalerList--; |
| 477 return o; |
| 478 } |
| 479 |
| 480 checkAutoscalerList(api.AutoscalerList o) { |
| 481 buildCounterAutoscalerList++; |
| 482 if (buildCounterAutoscalerList < 3) { |
| 483 unittest.expect(o.id, unittest.equals('foo')); |
| 484 checkUnnamed521(o.items); |
| 485 unittest.expect(o.kind, unittest.equals('foo')); |
| 486 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 487 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 488 } |
| 489 buildCounterAutoscalerList--; |
| 490 } |
| 491 |
| 492 buildUnnamed522() { |
| 493 var o = new core.List<api.Autoscaler>(); |
| 494 o.add(buildAutoscaler()); |
| 495 o.add(buildAutoscaler()); |
| 496 return o; |
| 497 } |
| 498 |
| 499 checkUnnamed522(core.List<api.Autoscaler> o) { |
| 500 unittest.expect(o, unittest.hasLength(2)); |
| 501 checkAutoscaler(o[0]); |
| 502 checkAutoscaler(o[1]); |
| 503 } |
| 504 |
| 505 core.int buildCounterAutoscalersScopedListWarningData = 0; |
| 506 buildAutoscalersScopedListWarningData() { |
| 507 var o = new api.AutoscalersScopedListWarningData(); |
| 508 buildCounterAutoscalersScopedListWarningData++; |
| 509 if (buildCounterAutoscalersScopedListWarningData < 3) { |
| 510 o.key = "foo"; |
| 511 o.value = "foo"; |
| 512 } |
| 513 buildCounterAutoscalersScopedListWarningData--; |
| 514 return o; |
| 515 } |
| 516 |
| 517 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { |
| 518 buildCounterAutoscalersScopedListWarningData++; |
| 519 if (buildCounterAutoscalersScopedListWarningData < 3) { |
| 520 unittest.expect(o.key, unittest.equals('foo')); |
| 521 unittest.expect(o.value, unittest.equals('foo')); |
| 522 } |
| 523 buildCounterAutoscalersScopedListWarningData--; |
| 524 } |
| 525 |
| 526 buildUnnamed523() { |
| 527 var o = new core.List<api.AutoscalersScopedListWarningData>(); |
| 528 o.add(buildAutoscalersScopedListWarningData()); |
| 529 o.add(buildAutoscalersScopedListWarningData()); |
| 530 return o; |
| 531 } |
| 532 |
| 533 checkUnnamed523(core.List<api.AutoscalersScopedListWarningData> o) { |
| 534 unittest.expect(o, unittest.hasLength(2)); |
| 535 checkAutoscalersScopedListWarningData(o[0]); |
| 536 checkAutoscalersScopedListWarningData(o[1]); |
| 537 } |
| 538 |
| 539 core.int buildCounterAutoscalersScopedListWarning = 0; |
| 540 buildAutoscalersScopedListWarning() { |
| 541 var o = new api.AutoscalersScopedListWarning(); |
| 542 buildCounterAutoscalersScopedListWarning++; |
| 543 if (buildCounterAutoscalersScopedListWarning < 3) { |
| 544 o.code = "foo"; |
| 545 o.data = buildUnnamed523(); |
| 546 o.message = "foo"; |
| 547 } |
| 548 buildCounterAutoscalersScopedListWarning--; |
| 549 return o; |
| 550 } |
| 551 |
| 552 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { |
| 553 buildCounterAutoscalersScopedListWarning++; |
| 554 if (buildCounterAutoscalersScopedListWarning < 3) { |
| 555 unittest.expect(o.code, unittest.equals('foo')); |
| 556 checkUnnamed523(o.data); |
| 557 unittest.expect(o.message, unittest.equals('foo')); |
| 558 } |
| 559 buildCounterAutoscalersScopedListWarning--; |
| 560 } |
| 561 |
| 562 core.int buildCounterAutoscalersScopedList = 0; |
| 563 buildAutoscalersScopedList() { |
| 564 var o = new api.AutoscalersScopedList(); |
| 565 buildCounterAutoscalersScopedList++; |
| 566 if (buildCounterAutoscalersScopedList < 3) { |
| 567 o.autoscalers = buildUnnamed522(); |
| 568 o.warning = buildAutoscalersScopedListWarning(); |
| 569 } |
| 570 buildCounterAutoscalersScopedList--; |
| 571 return o; |
| 572 } |
| 573 |
| 574 checkAutoscalersScopedList(api.AutoscalersScopedList o) { |
| 575 buildCounterAutoscalersScopedList++; |
| 576 if (buildCounterAutoscalersScopedList < 3) { |
| 577 checkUnnamed522(o.autoscalers); |
| 578 checkAutoscalersScopedListWarning(o.warning); |
| 579 } |
| 580 buildCounterAutoscalersScopedList--; |
| 581 } |
| 582 |
| 583 buildUnnamed524() { |
| 584 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); |
| 585 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
| 586 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
| 587 return o; |
| 588 } |
| 589 |
| 590 checkUnnamed524(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { |
| 591 unittest.expect(o, unittest.hasLength(2)); |
| 592 checkAutoscalingPolicyCustomMetricUtilization(o[0]); |
| 593 checkAutoscalingPolicyCustomMetricUtilization(o[1]); |
| 594 } |
| 595 |
| 596 core.int buildCounterAutoscalingPolicy = 0; |
| 597 buildAutoscalingPolicy() { |
| 598 var o = new api.AutoscalingPolicy(); |
| 599 buildCounterAutoscalingPolicy++; |
| 600 if (buildCounterAutoscalingPolicy < 3) { |
| 601 o.coolDownPeriodSec = 42; |
| 602 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); |
| 603 o.customMetricUtilizations = buildUnnamed524(); |
| 604 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); |
| 605 o.maxNumReplicas = 42; |
| 606 o.minNumReplicas = 42; |
| 607 } |
| 608 buildCounterAutoscalingPolicy--; |
| 609 return o; |
| 610 } |
| 611 |
| 612 checkAutoscalingPolicy(api.AutoscalingPolicy o) { |
| 613 buildCounterAutoscalingPolicy++; |
| 614 if (buildCounterAutoscalingPolicy < 3) { |
| 615 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); |
| 616 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); |
| 617 checkUnnamed524(o.customMetricUtilizations); |
| 618 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); |
| 619 unittest.expect(o.maxNumReplicas, unittest.equals(42)); |
| 620 unittest.expect(o.minNumReplicas, unittest.equals(42)); |
| 621 } |
| 622 buildCounterAutoscalingPolicy--; |
| 623 } |
| 624 |
| 625 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; |
| 626 buildAutoscalingPolicyCpuUtilization() { |
| 627 var o = new api.AutoscalingPolicyCpuUtilization(); |
| 628 buildCounterAutoscalingPolicyCpuUtilization++; |
| 629 if (buildCounterAutoscalingPolicyCpuUtilization < 3) { |
| 630 o.utilizationTarget = 42.0; |
| 631 } |
| 632 buildCounterAutoscalingPolicyCpuUtilization--; |
| 633 return o; |
| 634 } |
| 635 |
| 636 checkAutoscalingPolicyCpuUtilization(api.AutoscalingPolicyCpuUtilization o) { |
| 637 buildCounterAutoscalingPolicyCpuUtilization++; |
| 638 if (buildCounterAutoscalingPolicyCpuUtilization < 3) { |
| 639 unittest.expect(o.utilizationTarget, unittest.equals(42.0)); |
| 640 } |
| 641 buildCounterAutoscalingPolicyCpuUtilization--; |
| 642 } |
| 643 |
| 644 core.int buildCounterAutoscalingPolicyCustomMetricUtilization = 0; |
| 645 buildAutoscalingPolicyCustomMetricUtilization() { |
| 646 var o = new api.AutoscalingPolicyCustomMetricUtilization(); |
| 647 buildCounterAutoscalingPolicyCustomMetricUtilization++; |
| 648 if (buildCounterAutoscalingPolicyCustomMetricUtilization < 3) { |
| 649 o.metric = "foo"; |
| 650 o.utilizationTarget = 42.0; |
| 651 o.utilizationTargetType = "foo"; |
| 652 } |
| 653 buildCounterAutoscalingPolicyCustomMetricUtilization--; |
| 654 return o; |
| 655 } |
| 656 |
| 657 checkAutoscalingPolicyCustomMetricUtilization(api.AutoscalingPolicyCustomMetricU
tilization o) { |
| 658 buildCounterAutoscalingPolicyCustomMetricUtilization++; |
| 659 if (buildCounterAutoscalingPolicyCustomMetricUtilization < 3) { |
| 660 unittest.expect(o.metric, unittest.equals('foo')); |
| 661 unittest.expect(o.utilizationTarget, unittest.equals(42.0)); |
| 662 unittest.expect(o.utilizationTargetType, unittest.equals('foo')); |
| 663 } |
| 664 buildCounterAutoscalingPolicyCustomMetricUtilization--; |
| 665 } |
| 666 |
| 667 core.int buildCounterAutoscalingPolicyLoadBalancingUtilization = 0; |
| 668 buildAutoscalingPolicyLoadBalancingUtilization() { |
| 669 var o = new api.AutoscalingPolicyLoadBalancingUtilization(); |
| 670 buildCounterAutoscalingPolicyLoadBalancingUtilization++; |
| 671 if (buildCounterAutoscalingPolicyLoadBalancingUtilization < 3) { |
| 672 o.utilizationTarget = 42.0; |
| 673 } |
| 674 buildCounterAutoscalingPolicyLoadBalancingUtilization--; |
| 675 return o; |
| 676 } |
| 677 |
| 678 checkAutoscalingPolicyLoadBalancingUtilization(api.AutoscalingPolicyLoadBalancin
gUtilization o) { |
| 679 buildCounterAutoscalingPolicyLoadBalancingUtilization++; |
| 680 if (buildCounterAutoscalingPolicyLoadBalancingUtilization < 3) { |
| 681 unittest.expect(o.utilizationTarget, unittest.equals(42.0)); |
| 682 } |
| 683 buildCounterAutoscalingPolicyLoadBalancingUtilization--; |
| 684 } |
| 685 |
377 core.int buildCounterBackend = 0; | 686 core.int buildCounterBackend = 0; |
378 buildBackend() { | 687 buildBackend() { |
379 var o = new api.Backend(); | 688 var o = new api.Backend(); |
380 buildCounterBackend++; | 689 buildCounterBackend++; |
381 if (buildCounterBackend < 3) { | 690 if (buildCounterBackend < 3) { |
382 o.balancingMode = "foo"; | 691 o.balancingMode = "foo"; |
383 o.capacityScaler = 42.0; | 692 o.capacityScaler = 42.0; |
384 o.description = "foo"; | 693 o.description = "foo"; |
385 o.group = "foo"; | 694 o.group = "foo"; |
386 o.maxRate = 42; | 695 o.maxRate = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
398 unittest.expect(o.capacityScaler, unittest.equals(42.0)); | 707 unittest.expect(o.capacityScaler, unittest.equals(42.0)); |
399 unittest.expect(o.description, unittest.equals('foo')); | 708 unittest.expect(o.description, unittest.equals('foo')); |
400 unittest.expect(o.group, unittest.equals('foo')); | 709 unittest.expect(o.group, unittest.equals('foo')); |
401 unittest.expect(o.maxRate, unittest.equals(42)); | 710 unittest.expect(o.maxRate, unittest.equals(42)); |
402 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); | 711 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); |
403 unittest.expect(o.maxUtilization, unittest.equals(42.0)); | 712 unittest.expect(o.maxUtilization, unittest.equals(42.0)); |
404 } | 713 } |
405 buildCounterBackend--; | 714 buildCounterBackend--; |
406 } | 715 } |
407 | 716 |
408 buildUnnamed1224() { | 717 buildUnnamed525() { |
409 var o = new core.List<api.Backend>(); | 718 var o = new core.List<api.Backend>(); |
410 o.add(buildBackend()); | 719 o.add(buildBackend()); |
411 o.add(buildBackend()); | 720 o.add(buildBackend()); |
412 return o; | 721 return o; |
413 } | 722 } |
414 | 723 |
415 checkUnnamed1224(core.List<api.Backend> o) { | 724 checkUnnamed525(core.List<api.Backend> o) { |
416 unittest.expect(o, unittest.hasLength(2)); | 725 unittest.expect(o, unittest.hasLength(2)); |
417 checkBackend(o[0]); | 726 checkBackend(o[0]); |
418 checkBackend(o[1]); | 727 checkBackend(o[1]); |
419 } | 728 } |
420 | 729 |
421 buildUnnamed1225() { | 730 buildUnnamed526() { |
422 var o = new core.List<core.String>(); | 731 var o = new core.List<core.String>(); |
423 o.add("foo"); | 732 o.add("foo"); |
424 o.add("foo"); | 733 o.add("foo"); |
425 return o; | 734 return o; |
426 } | 735 } |
427 | 736 |
428 checkUnnamed1225(core.List<core.String> o) { | 737 checkUnnamed526(core.List<core.String> o) { |
429 unittest.expect(o, unittest.hasLength(2)); | 738 unittest.expect(o, unittest.hasLength(2)); |
430 unittest.expect(o[0], unittest.equals('foo')); | 739 unittest.expect(o[0], unittest.equals('foo')); |
431 unittest.expect(o[1], unittest.equals('foo')); | 740 unittest.expect(o[1], unittest.equals('foo')); |
432 } | 741 } |
433 | 742 |
434 core.int buildCounterBackendService = 0; | 743 core.int buildCounterBackendService = 0; |
435 buildBackendService() { | 744 buildBackendService() { |
436 var o = new api.BackendService(); | 745 var o = new api.BackendService(); |
437 buildCounterBackendService++; | 746 buildCounterBackendService++; |
438 if (buildCounterBackendService < 3) { | 747 if (buildCounterBackendService < 3) { |
439 o.backends = buildUnnamed1224(); | 748 o.backends = buildUnnamed525(); |
440 o.creationTimestamp = "foo"; | 749 o.creationTimestamp = "foo"; |
441 o.description = "foo"; | 750 o.description = "foo"; |
442 o.fingerprint = "foo"; | 751 o.fingerprint = "foo"; |
443 o.healthChecks = buildUnnamed1225(); | 752 o.healthChecks = buildUnnamed526(); |
444 o.id = "foo"; | 753 o.id = "foo"; |
445 o.kind = "foo"; | 754 o.kind = "foo"; |
446 o.name = "foo"; | 755 o.name = "foo"; |
447 o.port = 42; | 756 o.port = 42; |
448 o.portName = "foo"; | 757 o.portName = "foo"; |
449 o.protocol = "foo"; | 758 o.protocol = "foo"; |
450 o.selfLink = "foo"; | 759 o.selfLink = "foo"; |
451 o.timeoutSec = 42; | 760 o.timeoutSec = 42; |
452 } | 761 } |
453 buildCounterBackendService--; | 762 buildCounterBackendService--; |
454 return o; | 763 return o; |
455 } | 764 } |
456 | 765 |
457 checkBackendService(api.BackendService o) { | 766 checkBackendService(api.BackendService o) { |
458 buildCounterBackendService++; | 767 buildCounterBackendService++; |
459 if (buildCounterBackendService < 3) { | 768 if (buildCounterBackendService < 3) { |
460 checkUnnamed1224(o.backends); | 769 checkUnnamed525(o.backends); |
461 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 770 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
462 unittest.expect(o.description, unittest.equals('foo')); | 771 unittest.expect(o.description, unittest.equals('foo')); |
463 unittest.expect(o.fingerprint, unittest.equals('foo')); | 772 unittest.expect(o.fingerprint, unittest.equals('foo')); |
464 checkUnnamed1225(o.healthChecks); | 773 checkUnnamed526(o.healthChecks); |
465 unittest.expect(o.id, unittest.equals('foo')); | 774 unittest.expect(o.id, unittest.equals('foo')); |
466 unittest.expect(o.kind, unittest.equals('foo')); | 775 unittest.expect(o.kind, unittest.equals('foo')); |
467 unittest.expect(o.name, unittest.equals('foo')); | 776 unittest.expect(o.name, unittest.equals('foo')); |
468 unittest.expect(o.port, unittest.equals(42)); | 777 unittest.expect(o.port, unittest.equals(42)); |
469 unittest.expect(o.portName, unittest.equals('foo')); | 778 unittest.expect(o.portName, unittest.equals('foo')); |
470 unittest.expect(o.protocol, unittest.equals('foo')); | 779 unittest.expect(o.protocol, unittest.equals('foo')); |
471 unittest.expect(o.selfLink, unittest.equals('foo')); | 780 unittest.expect(o.selfLink, unittest.equals('foo')); |
472 unittest.expect(o.timeoutSec, unittest.equals(42)); | 781 unittest.expect(o.timeoutSec, unittest.equals(42)); |
473 } | 782 } |
474 buildCounterBackendService--; | 783 buildCounterBackendService--; |
475 } | 784 } |
476 | 785 |
477 buildUnnamed1226() { | 786 buildUnnamed527() { |
478 var o = new core.List<api.HealthStatus>(); | 787 var o = new core.List<api.HealthStatus>(); |
479 o.add(buildHealthStatus()); | 788 o.add(buildHealthStatus()); |
480 o.add(buildHealthStatus()); | 789 o.add(buildHealthStatus()); |
481 return o; | 790 return o; |
482 } | 791 } |
483 | 792 |
484 checkUnnamed1226(core.List<api.HealthStatus> o) { | 793 checkUnnamed527(core.List<api.HealthStatus> o) { |
485 unittest.expect(o, unittest.hasLength(2)); | 794 unittest.expect(o, unittest.hasLength(2)); |
486 checkHealthStatus(o[0]); | 795 checkHealthStatus(o[0]); |
487 checkHealthStatus(o[1]); | 796 checkHealthStatus(o[1]); |
488 } | 797 } |
489 | 798 |
490 core.int buildCounterBackendServiceGroupHealth = 0; | 799 core.int buildCounterBackendServiceGroupHealth = 0; |
491 buildBackendServiceGroupHealth() { | 800 buildBackendServiceGroupHealth() { |
492 var o = new api.BackendServiceGroupHealth(); | 801 var o = new api.BackendServiceGroupHealth(); |
493 buildCounterBackendServiceGroupHealth++; | 802 buildCounterBackendServiceGroupHealth++; |
494 if (buildCounterBackendServiceGroupHealth < 3) { | 803 if (buildCounterBackendServiceGroupHealth < 3) { |
495 o.healthStatus = buildUnnamed1226(); | 804 o.healthStatus = buildUnnamed527(); |
496 o.kind = "foo"; | 805 o.kind = "foo"; |
497 } | 806 } |
498 buildCounterBackendServiceGroupHealth--; | 807 buildCounterBackendServiceGroupHealth--; |
499 return o; | 808 return o; |
500 } | 809 } |
501 | 810 |
502 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { | 811 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { |
503 buildCounterBackendServiceGroupHealth++; | 812 buildCounterBackendServiceGroupHealth++; |
504 if (buildCounterBackendServiceGroupHealth < 3) { | 813 if (buildCounterBackendServiceGroupHealth < 3) { |
505 checkUnnamed1226(o.healthStatus); | 814 checkUnnamed527(o.healthStatus); |
506 unittest.expect(o.kind, unittest.equals('foo')); | 815 unittest.expect(o.kind, unittest.equals('foo')); |
507 } | 816 } |
508 buildCounterBackendServiceGroupHealth--; | 817 buildCounterBackendServiceGroupHealth--; |
509 } | 818 } |
510 | 819 |
511 buildUnnamed1227() { | 820 buildUnnamed528() { |
512 var o = new core.List<api.BackendService>(); | 821 var o = new core.List<api.BackendService>(); |
513 o.add(buildBackendService()); | 822 o.add(buildBackendService()); |
514 o.add(buildBackendService()); | 823 o.add(buildBackendService()); |
515 return o; | 824 return o; |
516 } | 825 } |
517 | 826 |
518 checkUnnamed1227(core.List<api.BackendService> o) { | 827 checkUnnamed528(core.List<api.BackendService> o) { |
519 unittest.expect(o, unittest.hasLength(2)); | 828 unittest.expect(o, unittest.hasLength(2)); |
520 checkBackendService(o[0]); | 829 checkBackendService(o[0]); |
521 checkBackendService(o[1]); | 830 checkBackendService(o[1]); |
522 } | 831 } |
523 | 832 |
524 core.int buildCounterBackendServiceList = 0; | 833 core.int buildCounterBackendServiceList = 0; |
525 buildBackendServiceList() { | 834 buildBackendServiceList() { |
526 var o = new api.BackendServiceList(); | 835 var o = new api.BackendServiceList(); |
527 buildCounterBackendServiceList++; | 836 buildCounterBackendServiceList++; |
528 if (buildCounterBackendServiceList < 3) { | 837 if (buildCounterBackendServiceList < 3) { |
529 o.id = "foo"; | 838 o.id = "foo"; |
530 o.items = buildUnnamed1227(); | 839 o.items = buildUnnamed528(); |
531 o.kind = "foo"; | 840 o.kind = "foo"; |
532 o.nextPageToken = "foo"; | 841 o.nextPageToken = "foo"; |
533 o.selfLink = "foo"; | 842 o.selfLink = "foo"; |
534 } | 843 } |
535 buildCounterBackendServiceList--; | 844 buildCounterBackendServiceList--; |
536 return o; | 845 return o; |
537 } | 846 } |
538 | 847 |
539 checkBackendServiceList(api.BackendServiceList o) { | 848 checkBackendServiceList(api.BackendServiceList o) { |
540 buildCounterBackendServiceList++; | 849 buildCounterBackendServiceList++; |
541 if (buildCounterBackendServiceList < 3) { | 850 if (buildCounterBackendServiceList < 3) { |
542 unittest.expect(o.id, unittest.equals('foo')); | 851 unittest.expect(o.id, unittest.equals('foo')); |
543 checkUnnamed1227(o.items); | 852 checkUnnamed528(o.items); |
544 unittest.expect(o.kind, unittest.equals('foo')); | 853 unittest.expect(o.kind, unittest.equals('foo')); |
545 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 854 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
546 unittest.expect(o.selfLink, unittest.equals('foo')); | 855 unittest.expect(o.selfLink, unittest.equals('foo')); |
547 } | 856 } |
548 buildCounterBackendServiceList--; | 857 buildCounterBackendServiceList--; |
549 } | 858 } |
550 | 859 |
551 core.int buildCounterDeprecationStatus = 0; | 860 core.int buildCounterDeprecationStatus = 0; |
552 buildDeprecationStatus() { | 861 buildDeprecationStatus() { |
553 var o = new api.DeprecationStatus(); | 862 var o = new api.DeprecationStatus(); |
(...skipping 14 matching lines...) Expand all Loading... |
568 if (buildCounterDeprecationStatus < 3) { | 877 if (buildCounterDeprecationStatus < 3) { |
569 unittest.expect(o.deleted, unittest.equals('foo')); | 878 unittest.expect(o.deleted, unittest.equals('foo')); |
570 unittest.expect(o.deprecated, unittest.equals('foo')); | 879 unittest.expect(o.deprecated, unittest.equals('foo')); |
571 unittest.expect(o.obsolete, unittest.equals('foo')); | 880 unittest.expect(o.obsolete, unittest.equals('foo')); |
572 unittest.expect(o.replacement, unittest.equals('foo')); | 881 unittest.expect(o.replacement, unittest.equals('foo')); |
573 unittest.expect(o.state, unittest.equals('foo')); | 882 unittest.expect(o.state, unittest.equals('foo')); |
574 } | 883 } |
575 buildCounterDeprecationStatus--; | 884 buildCounterDeprecationStatus--; |
576 } | 885 } |
577 | 886 |
578 buildUnnamed1228() { | 887 buildUnnamed529() { |
579 var o = new core.List<core.String>(); | 888 var o = new core.List<core.String>(); |
580 o.add("foo"); | 889 o.add("foo"); |
581 o.add("foo"); | 890 o.add("foo"); |
582 return o; | 891 return o; |
583 } | 892 } |
584 | 893 |
585 checkUnnamed1228(core.List<core.String> o) { | 894 checkUnnamed529(core.List<core.String> o) { |
586 unittest.expect(o, unittest.hasLength(2)); | 895 unittest.expect(o, unittest.hasLength(2)); |
587 unittest.expect(o[0], unittest.equals('foo')); | 896 unittest.expect(o[0], unittest.equals('foo')); |
588 unittest.expect(o[1], unittest.equals('foo')); | 897 unittest.expect(o[1], unittest.equals('foo')); |
589 } | 898 } |
590 | 899 |
591 buildUnnamed1229() { | 900 buildUnnamed530() { |
592 var o = new core.List<core.String>(); | 901 var o = new core.List<core.String>(); |
593 o.add("foo"); | 902 o.add("foo"); |
594 o.add("foo"); | 903 o.add("foo"); |
595 return o; | 904 return o; |
596 } | 905 } |
597 | 906 |
598 checkUnnamed1229(core.List<core.String> o) { | 907 checkUnnamed530(core.List<core.String> o) { |
599 unittest.expect(o, unittest.hasLength(2)); | 908 unittest.expect(o, unittest.hasLength(2)); |
600 unittest.expect(o[0], unittest.equals('foo')); | 909 unittest.expect(o[0], unittest.equals('foo')); |
601 unittest.expect(o[1], unittest.equals('foo')); | 910 unittest.expect(o[1], unittest.equals('foo')); |
602 } | 911 } |
603 | 912 |
604 core.int buildCounterDisk = 0; | 913 core.int buildCounterDisk = 0; |
605 buildDisk() { | 914 buildDisk() { |
606 var o = new api.Disk(); | 915 var o = new api.Disk(); |
607 buildCounterDisk++; | 916 buildCounterDisk++; |
608 if (buildCounterDisk < 3) { | 917 if (buildCounterDisk < 3) { |
609 o.creationTimestamp = "foo"; | 918 o.creationTimestamp = "foo"; |
610 o.description = "foo"; | 919 o.description = "foo"; |
611 o.id = "foo"; | 920 o.id = "foo"; |
612 o.kind = "foo"; | 921 o.kind = "foo"; |
613 o.lastAttachTimestamp = "foo"; | 922 o.lastAttachTimestamp = "foo"; |
614 o.lastDetachTimestamp = "foo"; | 923 o.lastDetachTimestamp = "foo"; |
615 o.licenses = buildUnnamed1228(); | 924 o.licenses = buildUnnamed529(); |
616 o.name = "foo"; | 925 o.name = "foo"; |
617 o.options = "foo"; | 926 o.options = "foo"; |
618 o.selfLink = "foo"; | 927 o.selfLink = "foo"; |
619 o.sizeGb = "foo"; | 928 o.sizeGb = "foo"; |
620 o.sourceImage = "foo"; | 929 o.sourceImage = "foo"; |
621 o.sourceImageId = "foo"; | 930 o.sourceImageId = "foo"; |
622 o.sourceSnapshot = "foo"; | 931 o.sourceSnapshot = "foo"; |
623 o.sourceSnapshotId = "foo"; | 932 o.sourceSnapshotId = "foo"; |
624 o.status = "foo"; | 933 o.status = "foo"; |
625 o.type = "foo"; | 934 o.type = "foo"; |
626 o.users = buildUnnamed1229(); | 935 o.users = buildUnnamed530(); |
627 o.zone = "foo"; | 936 o.zone = "foo"; |
628 } | 937 } |
629 buildCounterDisk--; | 938 buildCounterDisk--; |
630 return o; | 939 return o; |
631 } | 940 } |
632 | 941 |
633 checkDisk(api.Disk o) { | 942 checkDisk(api.Disk o) { |
634 buildCounterDisk++; | 943 buildCounterDisk++; |
635 if (buildCounterDisk < 3) { | 944 if (buildCounterDisk < 3) { |
636 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 945 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
637 unittest.expect(o.description, unittest.equals('foo')); | 946 unittest.expect(o.description, unittest.equals('foo')); |
638 unittest.expect(o.id, unittest.equals('foo')); | 947 unittest.expect(o.id, unittest.equals('foo')); |
639 unittest.expect(o.kind, unittest.equals('foo')); | 948 unittest.expect(o.kind, unittest.equals('foo')); |
640 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); | 949 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); |
641 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); | 950 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); |
642 checkUnnamed1228(o.licenses); | 951 checkUnnamed529(o.licenses); |
643 unittest.expect(o.name, unittest.equals('foo')); | 952 unittest.expect(o.name, unittest.equals('foo')); |
644 unittest.expect(o.options, unittest.equals('foo')); | 953 unittest.expect(o.options, unittest.equals('foo')); |
645 unittest.expect(o.selfLink, unittest.equals('foo')); | 954 unittest.expect(o.selfLink, unittest.equals('foo')); |
646 unittest.expect(o.sizeGb, unittest.equals('foo')); | 955 unittest.expect(o.sizeGb, unittest.equals('foo')); |
647 unittest.expect(o.sourceImage, unittest.equals('foo')); | 956 unittest.expect(o.sourceImage, unittest.equals('foo')); |
648 unittest.expect(o.sourceImageId, unittest.equals('foo')); | 957 unittest.expect(o.sourceImageId, unittest.equals('foo')); |
649 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); | 958 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); |
650 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); | 959 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); |
651 unittest.expect(o.status, unittest.equals('foo')); | 960 unittest.expect(o.status, unittest.equals('foo')); |
652 unittest.expect(o.type, unittest.equals('foo')); | 961 unittest.expect(o.type, unittest.equals('foo')); |
653 checkUnnamed1229(o.users); | 962 checkUnnamed530(o.users); |
654 unittest.expect(o.zone, unittest.equals('foo')); | 963 unittest.expect(o.zone, unittest.equals('foo')); |
655 } | 964 } |
656 buildCounterDisk--; | 965 buildCounterDisk--; |
657 } | 966 } |
658 | 967 |
659 buildUnnamed1230() { | 968 buildUnnamed531() { |
660 var o = new core.Map<core.String, api.DisksScopedList>(); | 969 var o = new core.Map<core.String, api.DisksScopedList>(); |
661 o["x"] = buildDisksScopedList(); | 970 o["x"] = buildDisksScopedList(); |
662 o["y"] = buildDisksScopedList(); | 971 o["y"] = buildDisksScopedList(); |
663 return o; | 972 return o; |
664 } | 973 } |
665 | 974 |
666 checkUnnamed1230(core.Map<core.String, api.DisksScopedList> o) { | 975 checkUnnamed531(core.Map<core.String, api.DisksScopedList> o) { |
667 unittest.expect(o, unittest.hasLength(2)); | 976 unittest.expect(o, unittest.hasLength(2)); |
668 checkDisksScopedList(o["x"]); | 977 checkDisksScopedList(o["x"]); |
669 checkDisksScopedList(o["y"]); | 978 checkDisksScopedList(o["y"]); |
670 } | 979 } |
671 | 980 |
672 core.int buildCounterDiskAggregatedList = 0; | 981 core.int buildCounterDiskAggregatedList = 0; |
673 buildDiskAggregatedList() { | 982 buildDiskAggregatedList() { |
674 var o = new api.DiskAggregatedList(); | 983 var o = new api.DiskAggregatedList(); |
675 buildCounterDiskAggregatedList++; | 984 buildCounterDiskAggregatedList++; |
676 if (buildCounterDiskAggregatedList < 3) { | 985 if (buildCounterDiskAggregatedList < 3) { |
677 o.id = "foo"; | 986 o.id = "foo"; |
678 o.items = buildUnnamed1230(); | 987 o.items = buildUnnamed531(); |
679 o.kind = "foo"; | 988 o.kind = "foo"; |
680 o.nextPageToken = "foo"; | 989 o.nextPageToken = "foo"; |
681 o.selfLink = "foo"; | 990 o.selfLink = "foo"; |
682 } | 991 } |
683 buildCounterDiskAggregatedList--; | 992 buildCounterDiskAggregatedList--; |
684 return o; | 993 return o; |
685 } | 994 } |
686 | 995 |
687 checkDiskAggregatedList(api.DiskAggregatedList o) { | 996 checkDiskAggregatedList(api.DiskAggregatedList o) { |
688 buildCounterDiskAggregatedList++; | 997 buildCounterDiskAggregatedList++; |
689 if (buildCounterDiskAggregatedList < 3) { | 998 if (buildCounterDiskAggregatedList < 3) { |
690 unittest.expect(o.id, unittest.equals('foo')); | 999 unittest.expect(o.id, unittest.equals('foo')); |
691 checkUnnamed1230(o.items); | 1000 checkUnnamed531(o.items); |
692 unittest.expect(o.kind, unittest.equals('foo')); | 1001 unittest.expect(o.kind, unittest.equals('foo')); |
693 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1002 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
694 unittest.expect(o.selfLink, unittest.equals('foo')); | 1003 unittest.expect(o.selfLink, unittest.equals('foo')); |
695 } | 1004 } |
696 buildCounterDiskAggregatedList--; | 1005 buildCounterDiskAggregatedList--; |
697 } | 1006 } |
698 | 1007 |
699 buildUnnamed1231() { | 1008 buildUnnamed532() { |
700 var o = new core.List<api.Disk>(); | 1009 var o = new core.List<api.Disk>(); |
701 o.add(buildDisk()); | 1010 o.add(buildDisk()); |
702 o.add(buildDisk()); | 1011 o.add(buildDisk()); |
703 return o; | 1012 return o; |
704 } | 1013 } |
705 | 1014 |
706 checkUnnamed1231(core.List<api.Disk> o) { | 1015 checkUnnamed532(core.List<api.Disk> o) { |
707 unittest.expect(o, unittest.hasLength(2)); | 1016 unittest.expect(o, unittest.hasLength(2)); |
708 checkDisk(o[0]); | 1017 checkDisk(o[0]); |
709 checkDisk(o[1]); | 1018 checkDisk(o[1]); |
710 } | 1019 } |
711 | 1020 |
712 core.int buildCounterDiskList = 0; | 1021 core.int buildCounterDiskList = 0; |
713 buildDiskList() { | 1022 buildDiskList() { |
714 var o = new api.DiskList(); | 1023 var o = new api.DiskList(); |
715 buildCounterDiskList++; | 1024 buildCounterDiskList++; |
716 if (buildCounterDiskList < 3) { | 1025 if (buildCounterDiskList < 3) { |
717 o.id = "foo"; | 1026 o.id = "foo"; |
718 o.items = buildUnnamed1231(); | 1027 o.items = buildUnnamed532(); |
719 o.kind = "foo"; | 1028 o.kind = "foo"; |
720 o.nextPageToken = "foo"; | 1029 o.nextPageToken = "foo"; |
721 o.selfLink = "foo"; | 1030 o.selfLink = "foo"; |
722 } | 1031 } |
723 buildCounterDiskList--; | 1032 buildCounterDiskList--; |
724 return o; | 1033 return o; |
725 } | 1034 } |
726 | 1035 |
727 checkDiskList(api.DiskList o) { | 1036 checkDiskList(api.DiskList o) { |
728 buildCounterDiskList++; | 1037 buildCounterDiskList++; |
729 if (buildCounterDiskList < 3) { | 1038 if (buildCounterDiskList < 3) { |
730 unittest.expect(o.id, unittest.equals('foo')); | 1039 unittest.expect(o.id, unittest.equals('foo')); |
731 checkUnnamed1231(o.items); | 1040 checkUnnamed532(o.items); |
732 unittest.expect(o.kind, unittest.equals('foo')); | 1041 unittest.expect(o.kind, unittest.equals('foo')); |
733 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1042 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
734 unittest.expect(o.selfLink, unittest.equals('foo')); | 1043 unittest.expect(o.selfLink, unittest.equals('foo')); |
735 } | 1044 } |
736 buildCounterDiskList--; | 1045 buildCounterDiskList--; |
737 } | 1046 } |
738 | 1047 |
739 core.int buildCounterDiskMoveRequest = 0; | 1048 core.int buildCounterDiskMoveRequest = 0; |
740 buildDiskMoveRequest() { | 1049 buildDiskMoveRequest() { |
741 var o = new api.DiskMoveRequest(); | 1050 var o = new api.DiskMoveRequest(); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 unittest.expect(o.id, unittest.equals('foo')); | 1096 unittest.expect(o.id, unittest.equals('foo')); |
788 unittest.expect(o.kind, unittest.equals('foo')); | 1097 unittest.expect(o.kind, unittest.equals('foo')); |
789 unittest.expect(o.name, unittest.equals('foo')); | 1098 unittest.expect(o.name, unittest.equals('foo')); |
790 unittest.expect(o.selfLink, unittest.equals('foo')); | 1099 unittest.expect(o.selfLink, unittest.equals('foo')); |
791 unittest.expect(o.validDiskSize, unittest.equals('foo')); | 1100 unittest.expect(o.validDiskSize, unittest.equals('foo')); |
792 unittest.expect(o.zone, unittest.equals('foo')); | 1101 unittest.expect(o.zone, unittest.equals('foo')); |
793 } | 1102 } |
794 buildCounterDiskType--; | 1103 buildCounterDiskType--; |
795 } | 1104 } |
796 | 1105 |
797 buildUnnamed1232() { | 1106 buildUnnamed533() { |
798 var o = new core.Map<core.String, api.DiskTypesScopedList>(); | 1107 var o = new core.Map<core.String, api.DiskTypesScopedList>(); |
799 o["x"] = buildDiskTypesScopedList(); | 1108 o["x"] = buildDiskTypesScopedList(); |
800 o["y"] = buildDiskTypesScopedList(); | 1109 o["y"] = buildDiskTypesScopedList(); |
801 return o; | 1110 return o; |
802 } | 1111 } |
803 | 1112 |
804 checkUnnamed1232(core.Map<core.String, api.DiskTypesScopedList> o) { | 1113 checkUnnamed533(core.Map<core.String, api.DiskTypesScopedList> o) { |
805 unittest.expect(o, unittest.hasLength(2)); | 1114 unittest.expect(o, unittest.hasLength(2)); |
806 checkDiskTypesScopedList(o["x"]); | 1115 checkDiskTypesScopedList(o["x"]); |
807 checkDiskTypesScopedList(o["y"]); | 1116 checkDiskTypesScopedList(o["y"]); |
808 } | 1117 } |
809 | 1118 |
810 core.int buildCounterDiskTypeAggregatedList = 0; | 1119 core.int buildCounterDiskTypeAggregatedList = 0; |
811 buildDiskTypeAggregatedList() { | 1120 buildDiskTypeAggregatedList() { |
812 var o = new api.DiskTypeAggregatedList(); | 1121 var o = new api.DiskTypeAggregatedList(); |
813 buildCounterDiskTypeAggregatedList++; | 1122 buildCounterDiskTypeAggregatedList++; |
814 if (buildCounterDiskTypeAggregatedList < 3) { | 1123 if (buildCounterDiskTypeAggregatedList < 3) { |
815 o.id = "foo"; | 1124 o.id = "foo"; |
816 o.items = buildUnnamed1232(); | 1125 o.items = buildUnnamed533(); |
817 o.kind = "foo"; | 1126 o.kind = "foo"; |
818 o.nextPageToken = "foo"; | 1127 o.nextPageToken = "foo"; |
819 o.selfLink = "foo"; | 1128 o.selfLink = "foo"; |
820 } | 1129 } |
821 buildCounterDiskTypeAggregatedList--; | 1130 buildCounterDiskTypeAggregatedList--; |
822 return o; | 1131 return o; |
823 } | 1132 } |
824 | 1133 |
825 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { | 1134 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { |
826 buildCounterDiskTypeAggregatedList++; | 1135 buildCounterDiskTypeAggregatedList++; |
827 if (buildCounterDiskTypeAggregatedList < 3) { | 1136 if (buildCounterDiskTypeAggregatedList < 3) { |
828 unittest.expect(o.id, unittest.equals('foo')); | 1137 unittest.expect(o.id, unittest.equals('foo')); |
829 checkUnnamed1232(o.items); | 1138 checkUnnamed533(o.items); |
830 unittest.expect(o.kind, unittest.equals('foo')); | 1139 unittest.expect(o.kind, unittest.equals('foo')); |
831 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1140 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
832 unittest.expect(o.selfLink, unittest.equals('foo')); | 1141 unittest.expect(o.selfLink, unittest.equals('foo')); |
833 } | 1142 } |
834 buildCounterDiskTypeAggregatedList--; | 1143 buildCounterDiskTypeAggregatedList--; |
835 } | 1144 } |
836 | 1145 |
837 buildUnnamed1233() { | 1146 buildUnnamed534() { |
838 var o = new core.List<api.DiskType>(); | 1147 var o = new core.List<api.DiskType>(); |
839 o.add(buildDiskType()); | 1148 o.add(buildDiskType()); |
840 o.add(buildDiskType()); | 1149 o.add(buildDiskType()); |
841 return o; | 1150 return o; |
842 } | 1151 } |
843 | 1152 |
844 checkUnnamed1233(core.List<api.DiskType> o) { | 1153 checkUnnamed534(core.List<api.DiskType> o) { |
845 unittest.expect(o, unittest.hasLength(2)); | 1154 unittest.expect(o, unittest.hasLength(2)); |
846 checkDiskType(o[0]); | 1155 checkDiskType(o[0]); |
847 checkDiskType(o[1]); | 1156 checkDiskType(o[1]); |
848 } | 1157 } |
849 | 1158 |
850 core.int buildCounterDiskTypeList = 0; | 1159 core.int buildCounterDiskTypeList = 0; |
851 buildDiskTypeList() { | 1160 buildDiskTypeList() { |
852 var o = new api.DiskTypeList(); | 1161 var o = new api.DiskTypeList(); |
853 buildCounterDiskTypeList++; | 1162 buildCounterDiskTypeList++; |
854 if (buildCounterDiskTypeList < 3) { | 1163 if (buildCounterDiskTypeList < 3) { |
855 o.id = "foo"; | 1164 o.id = "foo"; |
856 o.items = buildUnnamed1233(); | 1165 o.items = buildUnnamed534(); |
857 o.kind = "foo"; | 1166 o.kind = "foo"; |
858 o.nextPageToken = "foo"; | 1167 o.nextPageToken = "foo"; |
859 o.selfLink = "foo"; | 1168 o.selfLink = "foo"; |
860 } | 1169 } |
861 buildCounterDiskTypeList--; | 1170 buildCounterDiskTypeList--; |
862 return o; | 1171 return o; |
863 } | 1172 } |
864 | 1173 |
865 checkDiskTypeList(api.DiskTypeList o) { | 1174 checkDiskTypeList(api.DiskTypeList o) { |
866 buildCounterDiskTypeList++; | 1175 buildCounterDiskTypeList++; |
867 if (buildCounterDiskTypeList < 3) { | 1176 if (buildCounterDiskTypeList < 3) { |
868 unittest.expect(o.id, unittest.equals('foo')); | 1177 unittest.expect(o.id, unittest.equals('foo')); |
869 checkUnnamed1233(o.items); | 1178 checkUnnamed534(o.items); |
870 unittest.expect(o.kind, unittest.equals('foo')); | 1179 unittest.expect(o.kind, unittest.equals('foo')); |
871 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1180 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
872 unittest.expect(o.selfLink, unittest.equals('foo')); | 1181 unittest.expect(o.selfLink, unittest.equals('foo')); |
873 } | 1182 } |
874 buildCounterDiskTypeList--; | 1183 buildCounterDiskTypeList--; |
875 } | 1184 } |
876 | 1185 |
877 buildUnnamed1234() { | 1186 buildUnnamed535() { |
878 var o = new core.List<api.DiskType>(); | 1187 var o = new core.List<api.DiskType>(); |
879 o.add(buildDiskType()); | 1188 o.add(buildDiskType()); |
880 o.add(buildDiskType()); | 1189 o.add(buildDiskType()); |
881 return o; | 1190 return o; |
882 } | 1191 } |
883 | 1192 |
884 checkUnnamed1234(core.List<api.DiskType> o) { | 1193 checkUnnamed535(core.List<api.DiskType> o) { |
885 unittest.expect(o, unittest.hasLength(2)); | 1194 unittest.expect(o, unittest.hasLength(2)); |
886 checkDiskType(o[0]); | 1195 checkDiskType(o[0]); |
887 checkDiskType(o[1]); | 1196 checkDiskType(o[1]); |
888 } | 1197 } |
889 | 1198 |
890 core.int buildCounterDiskTypesScopedListWarningData = 0; | 1199 core.int buildCounterDiskTypesScopedListWarningData = 0; |
891 buildDiskTypesScopedListWarningData() { | 1200 buildDiskTypesScopedListWarningData() { |
892 var o = new api.DiskTypesScopedListWarningData(); | 1201 var o = new api.DiskTypesScopedListWarningData(); |
893 buildCounterDiskTypesScopedListWarningData++; | 1202 buildCounterDiskTypesScopedListWarningData++; |
894 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1203 if (buildCounterDiskTypesScopedListWarningData < 3) { |
895 o.key = "foo"; | 1204 o.key = "foo"; |
896 o.value = "foo"; | 1205 o.value = "foo"; |
897 } | 1206 } |
898 buildCounterDiskTypesScopedListWarningData--; | 1207 buildCounterDiskTypesScopedListWarningData--; |
899 return o; | 1208 return o; |
900 } | 1209 } |
901 | 1210 |
902 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { | 1211 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { |
903 buildCounterDiskTypesScopedListWarningData++; | 1212 buildCounterDiskTypesScopedListWarningData++; |
904 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1213 if (buildCounterDiskTypesScopedListWarningData < 3) { |
905 unittest.expect(o.key, unittest.equals('foo')); | 1214 unittest.expect(o.key, unittest.equals('foo')); |
906 unittest.expect(o.value, unittest.equals('foo')); | 1215 unittest.expect(o.value, unittest.equals('foo')); |
907 } | 1216 } |
908 buildCounterDiskTypesScopedListWarningData--; | 1217 buildCounterDiskTypesScopedListWarningData--; |
909 } | 1218 } |
910 | 1219 |
911 buildUnnamed1235() { | 1220 buildUnnamed536() { |
912 var o = new core.List<api.DiskTypesScopedListWarningData>(); | 1221 var o = new core.List<api.DiskTypesScopedListWarningData>(); |
913 o.add(buildDiskTypesScopedListWarningData()); | 1222 o.add(buildDiskTypesScopedListWarningData()); |
914 o.add(buildDiskTypesScopedListWarningData()); | 1223 o.add(buildDiskTypesScopedListWarningData()); |
915 return o; | 1224 return o; |
916 } | 1225 } |
917 | 1226 |
918 checkUnnamed1235(core.List<api.DiskTypesScopedListWarningData> o) { | 1227 checkUnnamed536(core.List<api.DiskTypesScopedListWarningData> o) { |
919 unittest.expect(o, unittest.hasLength(2)); | 1228 unittest.expect(o, unittest.hasLength(2)); |
920 checkDiskTypesScopedListWarningData(o[0]); | 1229 checkDiskTypesScopedListWarningData(o[0]); |
921 checkDiskTypesScopedListWarningData(o[1]); | 1230 checkDiskTypesScopedListWarningData(o[1]); |
922 } | 1231 } |
923 | 1232 |
924 core.int buildCounterDiskTypesScopedListWarning = 0; | 1233 core.int buildCounterDiskTypesScopedListWarning = 0; |
925 buildDiskTypesScopedListWarning() { | 1234 buildDiskTypesScopedListWarning() { |
926 var o = new api.DiskTypesScopedListWarning(); | 1235 var o = new api.DiskTypesScopedListWarning(); |
927 buildCounterDiskTypesScopedListWarning++; | 1236 buildCounterDiskTypesScopedListWarning++; |
928 if (buildCounterDiskTypesScopedListWarning < 3) { | 1237 if (buildCounterDiskTypesScopedListWarning < 3) { |
929 o.code = "foo"; | 1238 o.code = "foo"; |
930 o.data = buildUnnamed1235(); | 1239 o.data = buildUnnamed536(); |
931 o.message = "foo"; | 1240 o.message = "foo"; |
932 } | 1241 } |
933 buildCounterDiskTypesScopedListWarning--; | 1242 buildCounterDiskTypesScopedListWarning--; |
934 return o; | 1243 return o; |
935 } | 1244 } |
936 | 1245 |
937 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { | 1246 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { |
938 buildCounterDiskTypesScopedListWarning++; | 1247 buildCounterDiskTypesScopedListWarning++; |
939 if (buildCounterDiskTypesScopedListWarning < 3) { | 1248 if (buildCounterDiskTypesScopedListWarning < 3) { |
940 unittest.expect(o.code, unittest.equals('foo')); | 1249 unittest.expect(o.code, unittest.equals('foo')); |
941 checkUnnamed1235(o.data); | 1250 checkUnnamed536(o.data); |
942 unittest.expect(o.message, unittest.equals('foo')); | 1251 unittest.expect(o.message, unittest.equals('foo')); |
943 } | 1252 } |
944 buildCounterDiskTypesScopedListWarning--; | 1253 buildCounterDiskTypesScopedListWarning--; |
945 } | 1254 } |
946 | 1255 |
947 core.int buildCounterDiskTypesScopedList = 0; | 1256 core.int buildCounterDiskTypesScopedList = 0; |
948 buildDiskTypesScopedList() { | 1257 buildDiskTypesScopedList() { |
949 var o = new api.DiskTypesScopedList(); | 1258 var o = new api.DiskTypesScopedList(); |
950 buildCounterDiskTypesScopedList++; | 1259 buildCounterDiskTypesScopedList++; |
951 if (buildCounterDiskTypesScopedList < 3) { | 1260 if (buildCounterDiskTypesScopedList < 3) { |
952 o.diskTypes = buildUnnamed1234(); | 1261 o.diskTypes = buildUnnamed535(); |
953 o.warning = buildDiskTypesScopedListWarning(); | 1262 o.warning = buildDiskTypesScopedListWarning(); |
954 } | 1263 } |
955 buildCounterDiskTypesScopedList--; | 1264 buildCounterDiskTypesScopedList--; |
956 return o; | 1265 return o; |
957 } | 1266 } |
958 | 1267 |
959 checkDiskTypesScopedList(api.DiskTypesScopedList o) { | 1268 checkDiskTypesScopedList(api.DiskTypesScopedList o) { |
960 buildCounterDiskTypesScopedList++; | 1269 buildCounterDiskTypesScopedList++; |
961 if (buildCounterDiskTypesScopedList < 3) { | 1270 if (buildCounterDiskTypesScopedList < 3) { |
962 checkUnnamed1234(o.diskTypes); | 1271 checkUnnamed535(o.diskTypes); |
963 checkDiskTypesScopedListWarning(o.warning); | 1272 checkDiskTypesScopedListWarning(o.warning); |
964 } | 1273 } |
965 buildCounterDiskTypesScopedList--; | 1274 buildCounterDiskTypesScopedList--; |
966 } | 1275 } |
967 | 1276 |
968 buildUnnamed1236() { | 1277 buildUnnamed537() { |
969 var o = new core.List<api.Disk>(); | 1278 var o = new core.List<api.Disk>(); |
970 o.add(buildDisk()); | 1279 o.add(buildDisk()); |
971 o.add(buildDisk()); | 1280 o.add(buildDisk()); |
972 return o; | 1281 return o; |
973 } | 1282 } |
974 | 1283 |
975 checkUnnamed1236(core.List<api.Disk> o) { | 1284 checkUnnamed537(core.List<api.Disk> o) { |
976 unittest.expect(o, unittest.hasLength(2)); | 1285 unittest.expect(o, unittest.hasLength(2)); |
977 checkDisk(o[0]); | 1286 checkDisk(o[0]); |
978 checkDisk(o[1]); | 1287 checkDisk(o[1]); |
979 } | 1288 } |
980 | 1289 |
981 core.int buildCounterDisksScopedListWarningData = 0; | 1290 core.int buildCounterDisksScopedListWarningData = 0; |
982 buildDisksScopedListWarningData() { | 1291 buildDisksScopedListWarningData() { |
983 var o = new api.DisksScopedListWarningData(); | 1292 var o = new api.DisksScopedListWarningData(); |
984 buildCounterDisksScopedListWarningData++; | 1293 buildCounterDisksScopedListWarningData++; |
985 if (buildCounterDisksScopedListWarningData < 3) { | 1294 if (buildCounterDisksScopedListWarningData < 3) { |
986 o.key = "foo"; | 1295 o.key = "foo"; |
987 o.value = "foo"; | 1296 o.value = "foo"; |
988 } | 1297 } |
989 buildCounterDisksScopedListWarningData--; | 1298 buildCounterDisksScopedListWarningData--; |
990 return o; | 1299 return o; |
991 } | 1300 } |
992 | 1301 |
993 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { | 1302 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { |
994 buildCounterDisksScopedListWarningData++; | 1303 buildCounterDisksScopedListWarningData++; |
995 if (buildCounterDisksScopedListWarningData < 3) { | 1304 if (buildCounterDisksScopedListWarningData < 3) { |
996 unittest.expect(o.key, unittest.equals('foo')); | 1305 unittest.expect(o.key, unittest.equals('foo')); |
997 unittest.expect(o.value, unittest.equals('foo')); | 1306 unittest.expect(o.value, unittest.equals('foo')); |
998 } | 1307 } |
999 buildCounterDisksScopedListWarningData--; | 1308 buildCounterDisksScopedListWarningData--; |
1000 } | 1309 } |
1001 | 1310 |
1002 buildUnnamed1237() { | 1311 buildUnnamed538() { |
1003 var o = new core.List<api.DisksScopedListWarningData>(); | 1312 var o = new core.List<api.DisksScopedListWarningData>(); |
1004 o.add(buildDisksScopedListWarningData()); | 1313 o.add(buildDisksScopedListWarningData()); |
1005 o.add(buildDisksScopedListWarningData()); | 1314 o.add(buildDisksScopedListWarningData()); |
1006 return o; | 1315 return o; |
1007 } | 1316 } |
1008 | 1317 |
1009 checkUnnamed1237(core.List<api.DisksScopedListWarningData> o) { | 1318 checkUnnamed538(core.List<api.DisksScopedListWarningData> o) { |
1010 unittest.expect(o, unittest.hasLength(2)); | 1319 unittest.expect(o, unittest.hasLength(2)); |
1011 checkDisksScopedListWarningData(o[0]); | 1320 checkDisksScopedListWarningData(o[0]); |
1012 checkDisksScopedListWarningData(o[1]); | 1321 checkDisksScopedListWarningData(o[1]); |
1013 } | 1322 } |
1014 | 1323 |
1015 core.int buildCounterDisksScopedListWarning = 0; | 1324 core.int buildCounterDisksScopedListWarning = 0; |
1016 buildDisksScopedListWarning() { | 1325 buildDisksScopedListWarning() { |
1017 var o = new api.DisksScopedListWarning(); | 1326 var o = new api.DisksScopedListWarning(); |
1018 buildCounterDisksScopedListWarning++; | 1327 buildCounterDisksScopedListWarning++; |
1019 if (buildCounterDisksScopedListWarning < 3) { | 1328 if (buildCounterDisksScopedListWarning < 3) { |
1020 o.code = "foo"; | 1329 o.code = "foo"; |
1021 o.data = buildUnnamed1237(); | 1330 o.data = buildUnnamed538(); |
1022 o.message = "foo"; | 1331 o.message = "foo"; |
1023 } | 1332 } |
1024 buildCounterDisksScopedListWarning--; | 1333 buildCounterDisksScopedListWarning--; |
1025 return o; | 1334 return o; |
1026 } | 1335 } |
1027 | 1336 |
1028 checkDisksScopedListWarning(api.DisksScopedListWarning o) { | 1337 checkDisksScopedListWarning(api.DisksScopedListWarning o) { |
1029 buildCounterDisksScopedListWarning++; | 1338 buildCounterDisksScopedListWarning++; |
1030 if (buildCounterDisksScopedListWarning < 3) { | 1339 if (buildCounterDisksScopedListWarning < 3) { |
1031 unittest.expect(o.code, unittest.equals('foo')); | 1340 unittest.expect(o.code, unittest.equals('foo')); |
1032 checkUnnamed1237(o.data); | 1341 checkUnnamed538(o.data); |
1033 unittest.expect(o.message, unittest.equals('foo')); | 1342 unittest.expect(o.message, unittest.equals('foo')); |
1034 } | 1343 } |
1035 buildCounterDisksScopedListWarning--; | 1344 buildCounterDisksScopedListWarning--; |
1036 } | 1345 } |
1037 | 1346 |
1038 core.int buildCounterDisksScopedList = 0; | 1347 core.int buildCounterDisksScopedList = 0; |
1039 buildDisksScopedList() { | 1348 buildDisksScopedList() { |
1040 var o = new api.DisksScopedList(); | 1349 var o = new api.DisksScopedList(); |
1041 buildCounterDisksScopedList++; | 1350 buildCounterDisksScopedList++; |
1042 if (buildCounterDisksScopedList < 3) { | 1351 if (buildCounterDisksScopedList < 3) { |
1043 o.disks = buildUnnamed1236(); | 1352 o.disks = buildUnnamed537(); |
1044 o.warning = buildDisksScopedListWarning(); | 1353 o.warning = buildDisksScopedListWarning(); |
1045 } | 1354 } |
1046 buildCounterDisksScopedList--; | 1355 buildCounterDisksScopedList--; |
1047 return o; | 1356 return o; |
1048 } | 1357 } |
1049 | 1358 |
1050 checkDisksScopedList(api.DisksScopedList o) { | 1359 checkDisksScopedList(api.DisksScopedList o) { |
1051 buildCounterDisksScopedList++; | 1360 buildCounterDisksScopedList++; |
1052 if (buildCounterDisksScopedList < 3) { | 1361 if (buildCounterDisksScopedList < 3) { |
1053 checkUnnamed1236(o.disks); | 1362 checkUnnamed537(o.disks); |
1054 checkDisksScopedListWarning(o.warning); | 1363 checkDisksScopedListWarning(o.warning); |
1055 } | 1364 } |
1056 buildCounterDisksScopedList--; | 1365 buildCounterDisksScopedList--; |
1057 } | 1366 } |
1058 | 1367 |
1059 buildUnnamed1238() { | 1368 buildUnnamed539() { |
1060 var o = new core.List<core.String>(); | 1369 var o = new core.List<core.String>(); |
1061 o.add("foo"); | 1370 o.add("foo"); |
1062 o.add("foo"); | 1371 o.add("foo"); |
1063 return o; | 1372 return o; |
1064 } | 1373 } |
1065 | 1374 |
1066 checkUnnamed1238(core.List<core.String> o) { | 1375 checkUnnamed539(core.List<core.String> o) { |
1067 unittest.expect(o, unittest.hasLength(2)); | 1376 unittest.expect(o, unittest.hasLength(2)); |
1068 unittest.expect(o[0], unittest.equals('foo')); | 1377 unittest.expect(o[0], unittest.equals('foo')); |
1069 unittest.expect(o[1], unittest.equals('foo')); | 1378 unittest.expect(o[1], unittest.equals('foo')); |
1070 } | 1379 } |
1071 | 1380 |
1072 core.int buildCounterFirewallAllowed = 0; | 1381 core.int buildCounterFirewallAllowed = 0; |
1073 buildFirewallAllowed() { | 1382 buildFirewallAllowed() { |
1074 var o = new api.FirewallAllowed(); | 1383 var o = new api.FirewallAllowed(); |
1075 buildCounterFirewallAllowed++; | 1384 buildCounterFirewallAllowed++; |
1076 if (buildCounterFirewallAllowed < 3) { | 1385 if (buildCounterFirewallAllowed < 3) { |
1077 o.IPProtocol = "foo"; | 1386 o.IPProtocol = "foo"; |
1078 o.ports = buildUnnamed1238(); | 1387 o.ports = buildUnnamed539(); |
1079 } | 1388 } |
1080 buildCounterFirewallAllowed--; | 1389 buildCounterFirewallAllowed--; |
1081 return o; | 1390 return o; |
1082 } | 1391 } |
1083 | 1392 |
1084 checkFirewallAllowed(api.FirewallAllowed o) { | 1393 checkFirewallAllowed(api.FirewallAllowed o) { |
1085 buildCounterFirewallAllowed++; | 1394 buildCounterFirewallAllowed++; |
1086 if (buildCounterFirewallAllowed < 3) { | 1395 if (buildCounterFirewallAllowed < 3) { |
1087 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 1396 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
1088 checkUnnamed1238(o.ports); | 1397 checkUnnamed539(o.ports); |
1089 } | 1398 } |
1090 buildCounterFirewallAllowed--; | 1399 buildCounterFirewallAllowed--; |
1091 } | 1400 } |
1092 | 1401 |
1093 buildUnnamed1239() { | 1402 buildUnnamed540() { |
1094 var o = new core.List<api.FirewallAllowed>(); | 1403 var o = new core.List<api.FirewallAllowed>(); |
1095 o.add(buildFirewallAllowed()); | 1404 o.add(buildFirewallAllowed()); |
1096 o.add(buildFirewallAllowed()); | 1405 o.add(buildFirewallAllowed()); |
1097 return o; | 1406 return o; |
1098 } | 1407 } |
1099 | 1408 |
1100 checkUnnamed1239(core.List<api.FirewallAllowed> o) { | 1409 checkUnnamed540(core.List<api.FirewallAllowed> o) { |
1101 unittest.expect(o, unittest.hasLength(2)); | 1410 unittest.expect(o, unittest.hasLength(2)); |
1102 checkFirewallAllowed(o[0]); | 1411 checkFirewallAllowed(o[0]); |
1103 checkFirewallAllowed(o[1]); | 1412 checkFirewallAllowed(o[1]); |
1104 } | 1413 } |
1105 | 1414 |
1106 buildUnnamed1240() { | 1415 buildUnnamed541() { |
1107 var o = new core.List<core.String>(); | 1416 var o = new core.List<core.String>(); |
1108 o.add("foo"); | 1417 o.add("foo"); |
1109 o.add("foo"); | 1418 o.add("foo"); |
1110 return o; | 1419 return o; |
1111 } | 1420 } |
1112 | 1421 |
1113 checkUnnamed1240(core.List<core.String> o) { | 1422 checkUnnamed541(core.List<core.String> o) { |
1114 unittest.expect(o, unittest.hasLength(2)); | 1423 unittest.expect(o, unittest.hasLength(2)); |
1115 unittest.expect(o[0], unittest.equals('foo')); | 1424 unittest.expect(o[0], unittest.equals('foo')); |
1116 unittest.expect(o[1], unittest.equals('foo')); | 1425 unittest.expect(o[1], unittest.equals('foo')); |
1117 } | 1426 } |
1118 | 1427 |
1119 buildUnnamed1241() { | 1428 buildUnnamed542() { |
1120 var o = new core.List<core.String>(); | 1429 var o = new core.List<core.String>(); |
1121 o.add("foo"); | 1430 o.add("foo"); |
1122 o.add("foo"); | 1431 o.add("foo"); |
1123 return o; | 1432 return o; |
1124 } | 1433 } |
1125 | 1434 |
1126 checkUnnamed1241(core.List<core.String> o) { | 1435 checkUnnamed542(core.List<core.String> o) { |
1127 unittest.expect(o, unittest.hasLength(2)); | 1436 unittest.expect(o, unittest.hasLength(2)); |
1128 unittest.expect(o[0], unittest.equals('foo')); | 1437 unittest.expect(o[0], unittest.equals('foo')); |
1129 unittest.expect(o[1], unittest.equals('foo')); | 1438 unittest.expect(o[1], unittest.equals('foo')); |
1130 } | 1439 } |
1131 | 1440 |
1132 buildUnnamed1242() { | 1441 buildUnnamed543() { |
1133 var o = new core.List<core.String>(); | 1442 var o = new core.List<core.String>(); |
1134 o.add("foo"); | 1443 o.add("foo"); |
1135 o.add("foo"); | 1444 o.add("foo"); |
1136 return o; | 1445 return o; |
1137 } | 1446 } |
1138 | 1447 |
1139 checkUnnamed1242(core.List<core.String> o) { | 1448 checkUnnamed543(core.List<core.String> o) { |
1140 unittest.expect(o, unittest.hasLength(2)); | 1449 unittest.expect(o, unittest.hasLength(2)); |
1141 unittest.expect(o[0], unittest.equals('foo')); | 1450 unittest.expect(o[0], unittest.equals('foo')); |
1142 unittest.expect(o[1], unittest.equals('foo')); | 1451 unittest.expect(o[1], unittest.equals('foo')); |
1143 } | 1452 } |
1144 | 1453 |
1145 core.int buildCounterFirewall = 0; | 1454 core.int buildCounterFirewall = 0; |
1146 buildFirewall() { | 1455 buildFirewall() { |
1147 var o = new api.Firewall(); | 1456 var o = new api.Firewall(); |
1148 buildCounterFirewall++; | 1457 buildCounterFirewall++; |
1149 if (buildCounterFirewall < 3) { | 1458 if (buildCounterFirewall < 3) { |
1150 o.allowed = buildUnnamed1239(); | 1459 o.allowed = buildUnnamed540(); |
1151 o.creationTimestamp = "foo"; | 1460 o.creationTimestamp = "foo"; |
1152 o.description = "foo"; | 1461 o.description = "foo"; |
1153 o.id = "foo"; | 1462 o.id = "foo"; |
1154 o.kind = "foo"; | 1463 o.kind = "foo"; |
1155 o.name = "foo"; | 1464 o.name = "foo"; |
1156 o.network = "foo"; | 1465 o.network = "foo"; |
1157 o.selfLink = "foo"; | 1466 o.selfLink = "foo"; |
1158 o.sourceRanges = buildUnnamed1240(); | 1467 o.sourceRanges = buildUnnamed541(); |
1159 o.sourceTags = buildUnnamed1241(); | 1468 o.sourceTags = buildUnnamed542(); |
1160 o.targetTags = buildUnnamed1242(); | 1469 o.targetTags = buildUnnamed543(); |
1161 } | 1470 } |
1162 buildCounterFirewall--; | 1471 buildCounterFirewall--; |
1163 return o; | 1472 return o; |
1164 } | 1473 } |
1165 | 1474 |
1166 checkFirewall(api.Firewall o) { | 1475 checkFirewall(api.Firewall o) { |
1167 buildCounterFirewall++; | 1476 buildCounterFirewall++; |
1168 if (buildCounterFirewall < 3) { | 1477 if (buildCounterFirewall < 3) { |
1169 checkUnnamed1239(o.allowed); | 1478 checkUnnamed540(o.allowed); |
1170 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1479 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1171 unittest.expect(o.description, unittest.equals('foo')); | 1480 unittest.expect(o.description, unittest.equals('foo')); |
1172 unittest.expect(o.id, unittest.equals('foo')); | 1481 unittest.expect(o.id, unittest.equals('foo')); |
1173 unittest.expect(o.kind, unittest.equals('foo')); | 1482 unittest.expect(o.kind, unittest.equals('foo')); |
1174 unittest.expect(o.name, unittest.equals('foo')); | 1483 unittest.expect(o.name, unittest.equals('foo')); |
1175 unittest.expect(o.network, unittest.equals('foo')); | 1484 unittest.expect(o.network, unittest.equals('foo')); |
1176 unittest.expect(o.selfLink, unittest.equals('foo')); | 1485 unittest.expect(o.selfLink, unittest.equals('foo')); |
1177 checkUnnamed1240(o.sourceRanges); | 1486 checkUnnamed541(o.sourceRanges); |
1178 checkUnnamed1241(o.sourceTags); | 1487 checkUnnamed542(o.sourceTags); |
1179 checkUnnamed1242(o.targetTags); | 1488 checkUnnamed543(o.targetTags); |
1180 } | 1489 } |
1181 buildCounterFirewall--; | 1490 buildCounterFirewall--; |
1182 } | 1491 } |
1183 | 1492 |
1184 buildUnnamed1243() { | 1493 buildUnnamed544() { |
1185 var o = new core.List<api.Firewall>(); | 1494 var o = new core.List<api.Firewall>(); |
1186 o.add(buildFirewall()); | 1495 o.add(buildFirewall()); |
1187 o.add(buildFirewall()); | 1496 o.add(buildFirewall()); |
1188 return o; | 1497 return o; |
1189 } | 1498 } |
1190 | 1499 |
1191 checkUnnamed1243(core.List<api.Firewall> o) { | 1500 checkUnnamed544(core.List<api.Firewall> o) { |
1192 unittest.expect(o, unittest.hasLength(2)); | 1501 unittest.expect(o, unittest.hasLength(2)); |
1193 checkFirewall(o[0]); | 1502 checkFirewall(o[0]); |
1194 checkFirewall(o[1]); | 1503 checkFirewall(o[1]); |
1195 } | 1504 } |
1196 | 1505 |
1197 core.int buildCounterFirewallList = 0; | 1506 core.int buildCounterFirewallList = 0; |
1198 buildFirewallList() { | 1507 buildFirewallList() { |
1199 var o = new api.FirewallList(); | 1508 var o = new api.FirewallList(); |
1200 buildCounterFirewallList++; | 1509 buildCounterFirewallList++; |
1201 if (buildCounterFirewallList < 3) { | 1510 if (buildCounterFirewallList < 3) { |
1202 o.id = "foo"; | 1511 o.id = "foo"; |
1203 o.items = buildUnnamed1243(); | 1512 o.items = buildUnnamed544(); |
1204 o.kind = "foo"; | 1513 o.kind = "foo"; |
1205 o.nextPageToken = "foo"; | 1514 o.nextPageToken = "foo"; |
1206 o.selfLink = "foo"; | 1515 o.selfLink = "foo"; |
1207 } | 1516 } |
1208 buildCounterFirewallList--; | 1517 buildCounterFirewallList--; |
1209 return o; | 1518 return o; |
1210 } | 1519 } |
1211 | 1520 |
1212 checkFirewallList(api.FirewallList o) { | 1521 checkFirewallList(api.FirewallList o) { |
1213 buildCounterFirewallList++; | 1522 buildCounterFirewallList++; |
1214 if (buildCounterFirewallList < 3) { | 1523 if (buildCounterFirewallList < 3) { |
1215 unittest.expect(o.id, unittest.equals('foo')); | 1524 unittest.expect(o.id, unittest.equals('foo')); |
1216 checkUnnamed1243(o.items); | 1525 checkUnnamed544(o.items); |
1217 unittest.expect(o.kind, unittest.equals('foo')); | 1526 unittest.expect(o.kind, unittest.equals('foo')); |
1218 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1527 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1219 unittest.expect(o.selfLink, unittest.equals('foo')); | 1528 unittest.expect(o.selfLink, unittest.equals('foo')); |
1220 } | 1529 } |
1221 buildCounterFirewallList--; | 1530 buildCounterFirewallList--; |
1222 } | 1531 } |
1223 | 1532 |
1224 core.int buildCounterForwardingRule = 0; | 1533 core.int buildCounterForwardingRule = 0; |
1225 buildForwardingRule() { | 1534 buildForwardingRule() { |
1226 var o = new api.ForwardingRule(); | 1535 var o = new api.ForwardingRule(); |
(...skipping 26 matching lines...) Expand all Loading... |
1253 unittest.expect(o.kind, unittest.equals('foo')); | 1562 unittest.expect(o.kind, unittest.equals('foo')); |
1254 unittest.expect(o.name, unittest.equals('foo')); | 1563 unittest.expect(o.name, unittest.equals('foo')); |
1255 unittest.expect(o.portRange, unittest.equals('foo')); | 1564 unittest.expect(o.portRange, unittest.equals('foo')); |
1256 unittest.expect(o.region, unittest.equals('foo')); | 1565 unittest.expect(o.region, unittest.equals('foo')); |
1257 unittest.expect(o.selfLink, unittest.equals('foo')); | 1566 unittest.expect(o.selfLink, unittest.equals('foo')); |
1258 unittest.expect(o.target, unittest.equals('foo')); | 1567 unittest.expect(o.target, unittest.equals('foo')); |
1259 } | 1568 } |
1260 buildCounterForwardingRule--; | 1569 buildCounterForwardingRule--; |
1261 } | 1570 } |
1262 | 1571 |
1263 buildUnnamed1244() { | 1572 buildUnnamed545() { |
1264 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); | 1573 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); |
1265 o["x"] = buildForwardingRulesScopedList(); | 1574 o["x"] = buildForwardingRulesScopedList(); |
1266 o["y"] = buildForwardingRulesScopedList(); | 1575 o["y"] = buildForwardingRulesScopedList(); |
1267 return o; | 1576 return o; |
1268 } | 1577 } |
1269 | 1578 |
1270 checkUnnamed1244(core.Map<core.String, api.ForwardingRulesScopedList> o) { | 1579 checkUnnamed545(core.Map<core.String, api.ForwardingRulesScopedList> o) { |
1271 unittest.expect(o, unittest.hasLength(2)); | 1580 unittest.expect(o, unittest.hasLength(2)); |
1272 checkForwardingRulesScopedList(o["x"]); | 1581 checkForwardingRulesScopedList(o["x"]); |
1273 checkForwardingRulesScopedList(o["y"]); | 1582 checkForwardingRulesScopedList(o["y"]); |
1274 } | 1583 } |
1275 | 1584 |
1276 core.int buildCounterForwardingRuleAggregatedList = 0; | 1585 core.int buildCounterForwardingRuleAggregatedList = 0; |
1277 buildForwardingRuleAggregatedList() { | 1586 buildForwardingRuleAggregatedList() { |
1278 var o = new api.ForwardingRuleAggregatedList(); | 1587 var o = new api.ForwardingRuleAggregatedList(); |
1279 buildCounterForwardingRuleAggregatedList++; | 1588 buildCounterForwardingRuleAggregatedList++; |
1280 if (buildCounterForwardingRuleAggregatedList < 3) { | 1589 if (buildCounterForwardingRuleAggregatedList < 3) { |
1281 o.id = "foo"; | 1590 o.id = "foo"; |
1282 o.items = buildUnnamed1244(); | 1591 o.items = buildUnnamed545(); |
1283 o.kind = "foo"; | 1592 o.kind = "foo"; |
1284 o.nextPageToken = "foo"; | 1593 o.nextPageToken = "foo"; |
1285 o.selfLink = "foo"; | 1594 o.selfLink = "foo"; |
1286 } | 1595 } |
1287 buildCounterForwardingRuleAggregatedList--; | 1596 buildCounterForwardingRuleAggregatedList--; |
1288 return o; | 1597 return o; |
1289 } | 1598 } |
1290 | 1599 |
1291 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { | 1600 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { |
1292 buildCounterForwardingRuleAggregatedList++; | 1601 buildCounterForwardingRuleAggregatedList++; |
1293 if (buildCounterForwardingRuleAggregatedList < 3) { | 1602 if (buildCounterForwardingRuleAggregatedList < 3) { |
1294 unittest.expect(o.id, unittest.equals('foo')); | 1603 unittest.expect(o.id, unittest.equals('foo')); |
1295 checkUnnamed1244(o.items); | 1604 checkUnnamed545(o.items); |
1296 unittest.expect(o.kind, unittest.equals('foo')); | 1605 unittest.expect(o.kind, unittest.equals('foo')); |
1297 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1606 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1298 unittest.expect(o.selfLink, unittest.equals('foo')); | 1607 unittest.expect(o.selfLink, unittest.equals('foo')); |
1299 } | 1608 } |
1300 buildCounterForwardingRuleAggregatedList--; | 1609 buildCounterForwardingRuleAggregatedList--; |
1301 } | 1610 } |
1302 | 1611 |
1303 buildUnnamed1245() { | 1612 buildUnnamed546() { |
1304 var o = new core.List<api.ForwardingRule>(); | 1613 var o = new core.List<api.ForwardingRule>(); |
1305 o.add(buildForwardingRule()); | 1614 o.add(buildForwardingRule()); |
1306 o.add(buildForwardingRule()); | 1615 o.add(buildForwardingRule()); |
1307 return o; | 1616 return o; |
1308 } | 1617 } |
1309 | 1618 |
1310 checkUnnamed1245(core.List<api.ForwardingRule> o) { | 1619 checkUnnamed546(core.List<api.ForwardingRule> o) { |
1311 unittest.expect(o, unittest.hasLength(2)); | 1620 unittest.expect(o, unittest.hasLength(2)); |
1312 checkForwardingRule(o[0]); | 1621 checkForwardingRule(o[0]); |
1313 checkForwardingRule(o[1]); | 1622 checkForwardingRule(o[1]); |
1314 } | 1623 } |
1315 | 1624 |
1316 core.int buildCounterForwardingRuleList = 0; | 1625 core.int buildCounterForwardingRuleList = 0; |
1317 buildForwardingRuleList() { | 1626 buildForwardingRuleList() { |
1318 var o = new api.ForwardingRuleList(); | 1627 var o = new api.ForwardingRuleList(); |
1319 buildCounterForwardingRuleList++; | 1628 buildCounterForwardingRuleList++; |
1320 if (buildCounterForwardingRuleList < 3) { | 1629 if (buildCounterForwardingRuleList < 3) { |
1321 o.id = "foo"; | 1630 o.id = "foo"; |
1322 o.items = buildUnnamed1245(); | 1631 o.items = buildUnnamed546(); |
1323 o.kind = "foo"; | 1632 o.kind = "foo"; |
1324 o.nextPageToken = "foo"; | 1633 o.nextPageToken = "foo"; |
1325 o.selfLink = "foo"; | 1634 o.selfLink = "foo"; |
1326 } | 1635 } |
1327 buildCounterForwardingRuleList--; | 1636 buildCounterForwardingRuleList--; |
1328 return o; | 1637 return o; |
1329 } | 1638 } |
1330 | 1639 |
1331 checkForwardingRuleList(api.ForwardingRuleList o) { | 1640 checkForwardingRuleList(api.ForwardingRuleList o) { |
1332 buildCounterForwardingRuleList++; | 1641 buildCounterForwardingRuleList++; |
1333 if (buildCounterForwardingRuleList < 3) { | 1642 if (buildCounterForwardingRuleList < 3) { |
1334 unittest.expect(o.id, unittest.equals('foo')); | 1643 unittest.expect(o.id, unittest.equals('foo')); |
1335 checkUnnamed1245(o.items); | 1644 checkUnnamed546(o.items); |
1336 unittest.expect(o.kind, unittest.equals('foo')); | 1645 unittest.expect(o.kind, unittest.equals('foo')); |
1337 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1646 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1338 unittest.expect(o.selfLink, unittest.equals('foo')); | 1647 unittest.expect(o.selfLink, unittest.equals('foo')); |
1339 } | 1648 } |
1340 buildCounterForwardingRuleList--; | 1649 buildCounterForwardingRuleList--; |
1341 } | 1650 } |
1342 | 1651 |
1343 buildUnnamed1246() { | 1652 buildUnnamed547() { |
1344 var o = new core.List<api.ForwardingRule>(); | 1653 var o = new core.List<api.ForwardingRule>(); |
1345 o.add(buildForwardingRule()); | 1654 o.add(buildForwardingRule()); |
1346 o.add(buildForwardingRule()); | 1655 o.add(buildForwardingRule()); |
1347 return o; | 1656 return o; |
1348 } | 1657 } |
1349 | 1658 |
1350 checkUnnamed1246(core.List<api.ForwardingRule> o) { | 1659 checkUnnamed547(core.List<api.ForwardingRule> o) { |
1351 unittest.expect(o, unittest.hasLength(2)); | 1660 unittest.expect(o, unittest.hasLength(2)); |
1352 checkForwardingRule(o[0]); | 1661 checkForwardingRule(o[0]); |
1353 checkForwardingRule(o[1]); | 1662 checkForwardingRule(o[1]); |
1354 } | 1663 } |
1355 | 1664 |
1356 core.int buildCounterForwardingRulesScopedListWarningData = 0; | 1665 core.int buildCounterForwardingRulesScopedListWarningData = 0; |
1357 buildForwardingRulesScopedListWarningData() { | 1666 buildForwardingRulesScopedListWarningData() { |
1358 var o = new api.ForwardingRulesScopedListWarningData(); | 1667 var o = new api.ForwardingRulesScopedListWarningData(); |
1359 buildCounterForwardingRulesScopedListWarningData++; | 1668 buildCounterForwardingRulesScopedListWarningData++; |
1360 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 1669 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
1361 o.key = "foo"; | 1670 o.key = "foo"; |
1362 o.value = "foo"; | 1671 o.value = "foo"; |
1363 } | 1672 } |
1364 buildCounterForwardingRulesScopedListWarningData--; | 1673 buildCounterForwardingRulesScopedListWarningData--; |
1365 return o; | 1674 return o; |
1366 } | 1675 } |
1367 | 1676 |
1368 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { | 1677 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { |
1369 buildCounterForwardingRulesScopedListWarningData++; | 1678 buildCounterForwardingRulesScopedListWarningData++; |
1370 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 1679 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
1371 unittest.expect(o.key, unittest.equals('foo')); | 1680 unittest.expect(o.key, unittest.equals('foo')); |
1372 unittest.expect(o.value, unittest.equals('foo')); | 1681 unittest.expect(o.value, unittest.equals('foo')); |
1373 } | 1682 } |
1374 buildCounterForwardingRulesScopedListWarningData--; | 1683 buildCounterForwardingRulesScopedListWarningData--; |
1375 } | 1684 } |
1376 | 1685 |
1377 buildUnnamed1247() { | 1686 buildUnnamed548() { |
1378 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); | 1687 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); |
1379 o.add(buildForwardingRulesScopedListWarningData()); | 1688 o.add(buildForwardingRulesScopedListWarningData()); |
1380 o.add(buildForwardingRulesScopedListWarningData()); | 1689 o.add(buildForwardingRulesScopedListWarningData()); |
1381 return o; | 1690 return o; |
1382 } | 1691 } |
1383 | 1692 |
1384 checkUnnamed1247(core.List<api.ForwardingRulesScopedListWarningData> o) { | 1693 checkUnnamed548(core.List<api.ForwardingRulesScopedListWarningData> o) { |
1385 unittest.expect(o, unittest.hasLength(2)); | 1694 unittest.expect(o, unittest.hasLength(2)); |
1386 checkForwardingRulesScopedListWarningData(o[0]); | 1695 checkForwardingRulesScopedListWarningData(o[0]); |
1387 checkForwardingRulesScopedListWarningData(o[1]); | 1696 checkForwardingRulesScopedListWarningData(o[1]); |
1388 } | 1697 } |
1389 | 1698 |
1390 core.int buildCounterForwardingRulesScopedListWarning = 0; | 1699 core.int buildCounterForwardingRulesScopedListWarning = 0; |
1391 buildForwardingRulesScopedListWarning() { | 1700 buildForwardingRulesScopedListWarning() { |
1392 var o = new api.ForwardingRulesScopedListWarning(); | 1701 var o = new api.ForwardingRulesScopedListWarning(); |
1393 buildCounterForwardingRulesScopedListWarning++; | 1702 buildCounterForwardingRulesScopedListWarning++; |
1394 if (buildCounterForwardingRulesScopedListWarning < 3) { | 1703 if (buildCounterForwardingRulesScopedListWarning < 3) { |
1395 o.code = "foo"; | 1704 o.code = "foo"; |
1396 o.data = buildUnnamed1247(); | 1705 o.data = buildUnnamed548(); |
1397 o.message = "foo"; | 1706 o.message = "foo"; |
1398 } | 1707 } |
1399 buildCounterForwardingRulesScopedListWarning--; | 1708 buildCounterForwardingRulesScopedListWarning--; |
1400 return o; | 1709 return o; |
1401 } | 1710 } |
1402 | 1711 |
1403 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { | 1712 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { |
1404 buildCounterForwardingRulesScopedListWarning++; | 1713 buildCounterForwardingRulesScopedListWarning++; |
1405 if (buildCounterForwardingRulesScopedListWarning < 3) { | 1714 if (buildCounterForwardingRulesScopedListWarning < 3) { |
1406 unittest.expect(o.code, unittest.equals('foo')); | 1715 unittest.expect(o.code, unittest.equals('foo')); |
1407 checkUnnamed1247(o.data); | 1716 checkUnnamed548(o.data); |
1408 unittest.expect(o.message, unittest.equals('foo')); | 1717 unittest.expect(o.message, unittest.equals('foo')); |
1409 } | 1718 } |
1410 buildCounterForwardingRulesScopedListWarning--; | 1719 buildCounterForwardingRulesScopedListWarning--; |
1411 } | 1720 } |
1412 | 1721 |
1413 core.int buildCounterForwardingRulesScopedList = 0; | 1722 core.int buildCounterForwardingRulesScopedList = 0; |
1414 buildForwardingRulesScopedList() { | 1723 buildForwardingRulesScopedList() { |
1415 var o = new api.ForwardingRulesScopedList(); | 1724 var o = new api.ForwardingRulesScopedList(); |
1416 buildCounterForwardingRulesScopedList++; | 1725 buildCounterForwardingRulesScopedList++; |
1417 if (buildCounterForwardingRulesScopedList < 3) { | 1726 if (buildCounterForwardingRulesScopedList < 3) { |
1418 o.forwardingRules = buildUnnamed1246(); | 1727 o.forwardingRules = buildUnnamed547(); |
1419 o.warning = buildForwardingRulesScopedListWarning(); | 1728 o.warning = buildForwardingRulesScopedListWarning(); |
1420 } | 1729 } |
1421 buildCounterForwardingRulesScopedList--; | 1730 buildCounterForwardingRulesScopedList--; |
1422 return o; | 1731 return o; |
1423 } | 1732 } |
1424 | 1733 |
1425 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { | 1734 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { |
1426 buildCounterForwardingRulesScopedList++; | 1735 buildCounterForwardingRulesScopedList++; |
1427 if (buildCounterForwardingRulesScopedList < 3) { | 1736 if (buildCounterForwardingRulesScopedList < 3) { |
1428 checkUnnamed1246(o.forwardingRules); | 1737 checkUnnamed547(o.forwardingRules); |
1429 checkForwardingRulesScopedListWarning(o.warning); | 1738 checkForwardingRulesScopedListWarning(o.warning); |
1430 } | 1739 } |
1431 buildCounterForwardingRulesScopedList--; | 1740 buildCounterForwardingRulesScopedList--; |
1432 } | 1741 } |
1433 | 1742 |
1434 core.int buildCounterHealthCheckReference = 0; | 1743 core.int buildCounterHealthCheckReference = 0; |
1435 buildHealthCheckReference() { | 1744 buildHealthCheckReference() { |
1436 var o = new api.HealthCheckReference(); | 1745 var o = new api.HealthCheckReference(); |
1437 buildCounterHealthCheckReference++; | 1746 buildCounterHealthCheckReference++; |
1438 if (buildCounterHealthCheckReference < 3) { | 1747 if (buildCounterHealthCheckReference < 3) { |
(...skipping 29 matching lines...) Expand all Loading... |
1468 buildCounterHealthStatus++; | 1777 buildCounterHealthStatus++; |
1469 if (buildCounterHealthStatus < 3) { | 1778 if (buildCounterHealthStatus < 3) { |
1470 unittest.expect(o.healthState, unittest.equals('foo')); | 1779 unittest.expect(o.healthState, unittest.equals('foo')); |
1471 unittest.expect(o.instance, unittest.equals('foo')); | 1780 unittest.expect(o.instance, unittest.equals('foo')); |
1472 unittest.expect(o.ipAddress, unittest.equals('foo')); | 1781 unittest.expect(o.ipAddress, unittest.equals('foo')); |
1473 unittest.expect(o.port, unittest.equals(42)); | 1782 unittest.expect(o.port, unittest.equals(42)); |
1474 } | 1783 } |
1475 buildCounterHealthStatus--; | 1784 buildCounterHealthStatus--; |
1476 } | 1785 } |
1477 | 1786 |
1478 buildUnnamed1248() { | 1787 buildUnnamed549() { |
1479 var o = new core.List<core.String>(); | 1788 var o = new core.List<core.String>(); |
1480 o.add("foo"); | 1789 o.add("foo"); |
1481 o.add("foo"); | 1790 o.add("foo"); |
1482 return o; | 1791 return o; |
1483 } | 1792 } |
1484 | 1793 |
1485 checkUnnamed1248(core.List<core.String> o) { | 1794 checkUnnamed549(core.List<core.String> o) { |
1486 unittest.expect(o, unittest.hasLength(2)); | 1795 unittest.expect(o, unittest.hasLength(2)); |
1487 unittest.expect(o[0], unittest.equals('foo')); | 1796 unittest.expect(o[0], unittest.equals('foo')); |
1488 unittest.expect(o[1], unittest.equals('foo')); | 1797 unittest.expect(o[1], unittest.equals('foo')); |
1489 } | 1798 } |
1490 | 1799 |
1491 core.int buildCounterHostRule = 0; | 1800 core.int buildCounterHostRule = 0; |
1492 buildHostRule() { | 1801 buildHostRule() { |
1493 var o = new api.HostRule(); | 1802 var o = new api.HostRule(); |
1494 buildCounterHostRule++; | 1803 buildCounterHostRule++; |
1495 if (buildCounterHostRule < 3) { | 1804 if (buildCounterHostRule < 3) { |
1496 o.description = "foo"; | 1805 o.description = "foo"; |
1497 o.hosts = buildUnnamed1248(); | 1806 o.hosts = buildUnnamed549(); |
1498 o.pathMatcher = "foo"; | 1807 o.pathMatcher = "foo"; |
1499 } | 1808 } |
1500 buildCounterHostRule--; | 1809 buildCounterHostRule--; |
1501 return o; | 1810 return o; |
1502 } | 1811 } |
1503 | 1812 |
1504 checkHostRule(api.HostRule o) { | 1813 checkHostRule(api.HostRule o) { |
1505 buildCounterHostRule++; | 1814 buildCounterHostRule++; |
1506 if (buildCounterHostRule < 3) { | 1815 if (buildCounterHostRule < 3) { |
1507 unittest.expect(o.description, unittest.equals('foo')); | 1816 unittest.expect(o.description, unittest.equals('foo')); |
1508 checkUnnamed1248(o.hosts); | 1817 checkUnnamed549(o.hosts); |
1509 unittest.expect(o.pathMatcher, unittest.equals('foo')); | 1818 unittest.expect(o.pathMatcher, unittest.equals('foo')); |
1510 } | 1819 } |
1511 buildCounterHostRule--; | 1820 buildCounterHostRule--; |
1512 } | 1821 } |
1513 | 1822 |
1514 core.int buildCounterHttpHealthCheck = 0; | 1823 core.int buildCounterHttpHealthCheck = 0; |
1515 buildHttpHealthCheck() { | 1824 buildHttpHealthCheck() { |
1516 var o = new api.HttpHealthCheck(); | 1825 var o = new api.HttpHealthCheck(); |
1517 buildCounterHttpHealthCheck++; | 1826 buildCounterHttpHealthCheck++; |
1518 if (buildCounterHttpHealthCheck < 3) { | 1827 if (buildCounterHttpHealthCheck < 3) { |
(...skipping 28 matching lines...) Expand all Loading... |
1547 unittest.expect(o.name, unittest.equals('foo')); | 1856 unittest.expect(o.name, unittest.equals('foo')); |
1548 unittest.expect(o.port, unittest.equals(42)); | 1857 unittest.expect(o.port, unittest.equals(42)); |
1549 unittest.expect(o.requestPath, unittest.equals('foo')); | 1858 unittest.expect(o.requestPath, unittest.equals('foo')); |
1550 unittest.expect(o.selfLink, unittest.equals('foo')); | 1859 unittest.expect(o.selfLink, unittest.equals('foo')); |
1551 unittest.expect(o.timeoutSec, unittest.equals(42)); | 1860 unittest.expect(o.timeoutSec, unittest.equals(42)); |
1552 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 1861 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
1553 } | 1862 } |
1554 buildCounterHttpHealthCheck--; | 1863 buildCounterHttpHealthCheck--; |
1555 } | 1864 } |
1556 | 1865 |
1557 buildUnnamed1249() { | 1866 buildUnnamed550() { |
1558 var o = new core.List<api.HttpHealthCheck>(); | 1867 var o = new core.List<api.HttpHealthCheck>(); |
1559 o.add(buildHttpHealthCheck()); | 1868 o.add(buildHttpHealthCheck()); |
1560 o.add(buildHttpHealthCheck()); | 1869 o.add(buildHttpHealthCheck()); |
1561 return o; | 1870 return o; |
1562 } | 1871 } |
1563 | 1872 |
1564 checkUnnamed1249(core.List<api.HttpHealthCheck> o) { | 1873 checkUnnamed550(core.List<api.HttpHealthCheck> o) { |
1565 unittest.expect(o, unittest.hasLength(2)); | 1874 unittest.expect(o, unittest.hasLength(2)); |
1566 checkHttpHealthCheck(o[0]); | 1875 checkHttpHealthCheck(o[0]); |
1567 checkHttpHealthCheck(o[1]); | 1876 checkHttpHealthCheck(o[1]); |
1568 } | 1877 } |
1569 | 1878 |
1570 core.int buildCounterHttpHealthCheckList = 0; | 1879 core.int buildCounterHttpHealthCheckList = 0; |
1571 buildHttpHealthCheckList() { | 1880 buildHttpHealthCheckList() { |
1572 var o = new api.HttpHealthCheckList(); | 1881 var o = new api.HttpHealthCheckList(); |
1573 buildCounterHttpHealthCheckList++; | 1882 buildCounterHttpHealthCheckList++; |
1574 if (buildCounterHttpHealthCheckList < 3) { | 1883 if (buildCounterHttpHealthCheckList < 3) { |
1575 o.id = "foo"; | 1884 o.id = "foo"; |
1576 o.items = buildUnnamed1249(); | 1885 o.items = buildUnnamed550(); |
1577 o.kind = "foo"; | 1886 o.kind = "foo"; |
1578 o.nextPageToken = "foo"; | 1887 o.nextPageToken = "foo"; |
1579 o.selfLink = "foo"; | 1888 o.selfLink = "foo"; |
1580 } | 1889 } |
1581 buildCounterHttpHealthCheckList--; | 1890 buildCounterHttpHealthCheckList--; |
1582 return o; | 1891 return o; |
1583 } | 1892 } |
1584 | 1893 |
1585 checkHttpHealthCheckList(api.HttpHealthCheckList o) { | 1894 checkHttpHealthCheckList(api.HttpHealthCheckList o) { |
1586 buildCounterHttpHealthCheckList++; | 1895 buildCounterHttpHealthCheckList++; |
1587 if (buildCounterHttpHealthCheckList < 3) { | 1896 if (buildCounterHttpHealthCheckList < 3) { |
1588 unittest.expect(o.id, unittest.equals('foo')); | 1897 unittest.expect(o.id, unittest.equals('foo')); |
1589 checkUnnamed1249(o.items); | 1898 checkUnnamed550(o.items); |
1590 unittest.expect(o.kind, unittest.equals('foo')); | 1899 unittest.expect(o.kind, unittest.equals('foo')); |
1591 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1900 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1592 unittest.expect(o.selfLink, unittest.equals('foo')); | 1901 unittest.expect(o.selfLink, unittest.equals('foo')); |
1593 } | 1902 } |
1594 buildCounterHttpHealthCheckList--; | 1903 buildCounterHttpHealthCheckList--; |
1595 } | 1904 } |
1596 | 1905 |
1597 buildUnnamed1250() { | 1906 buildUnnamed551() { |
1598 var o = new core.List<core.String>(); | 1907 var o = new core.List<core.String>(); |
1599 o.add("foo"); | 1908 o.add("foo"); |
1600 o.add("foo"); | 1909 o.add("foo"); |
1601 return o; | 1910 return o; |
1602 } | 1911 } |
1603 | 1912 |
1604 checkUnnamed1250(core.List<core.String> o) { | 1913 checkUnnamed551(core.List<core.String> o) { |
1605 unittest.expect(o, unittest.hasLength(2)); | 1914 unittest.expect(o, unittest.hasLength(2)); |
1606 unittest.expect(o[0], unittest.equals('foo')); | 1915 unittest.expect(o[0], unittest.equals('foo')); |
1607 unittest.expect(o[1], unittest.equals('foo')); | 1916 unittest.expect(o[1], unittest.equals('foo')); |
1608 } | 1917 } |
1609 | 1918 |
1610 core.int buildCounterImageRawDisk = 0; | 1919 core.int buildCounterImageRawDisk = 0; |
1611 buildImageRawDisk() { | 1920 buildImageRawDisk() { |
1612 var o = new api.ImageRawDisk(); | 1921 var o = new api.ImageRawDisk(); |
1613 buildCounterImageRawDisk++; | 1922 buildCounterImageRawDisk++; |
1614 if (buildCounterImageRawDisk < 3) { | 1923 if (buildCounterImageRawDisk < 3) { |
(...skipping 20 matching lines...) Expand all Loading... |
1635 var o = new api.Image(); | 1944 var o = new api.Image(); |
1636 buildCounterImage++; | 1945 buildCounterImage++; |
1637 if (buildCounterImage < 3) { | 1946 if (buildCounterImage < 3) { |
1638 o.archiveSizeBytes = "foo"; | 1947 o.archiveSizeBytes = "foo"; |
1639 o.creationTimestamp = "foo"; | 1948 o.creationTimestamp = "foo"; |
1640 o.deprecated = buildDeprecationStatus(); | 1949 o.deprecated = buildDeprecationStatus(); |
1641 o.description = "foo"; | 1950 o.description = "foo"; |
1642 o.diskSizeGb = "foo"; | 1951 o.diskSizeGb = "foo"; |
1643 o.id = "foo"; | 1952 o.id = "foo"; |
1644 o.kind = "foo"; | 1953 o.kind = "foo"; |
1645 o.licenses = buildUnnamed1250(); | 1954 o.licenses = buildUnnamed551(); |
1646 o.name = "foo"; | 1955 o.name = "foo"; |
1647 o.rawDisk = buildImageRawDisk(); | 1956 o.rawDisk = buildImageRawDisk(); |
1648 o.selfLink = "foo"; | 1957 o.selfLink = "foo"; |
1649 o.sourceDisk = "foo"; | 1958 o.sourceDisk = "foo"; |
1650 o.sourceDiskId = "foo"; | 1959 o.sourceDiskId = "foo"; |
1651 o.sourceType = "foo"; | 1960 o.sourceType = "foo"; |
1652 o.status = "foo"; | 1961 o.status = "foo"; |
1653 } | 1962 } |
1654 buildCounterImage--; | 1963 buildCounterImage--; |
1655 return o; | 1964 return o; |
1656 } | 1965 } |
1657 | 1966 |
1658 checkImage(api.Image o) { | 1967 checkImage(api.Image o) { |
1659 buildCounterImage++; | 1968 buildCounterImage++; |
1660 if (buildCounterImage < 3) { | 1969 if (buildCounterImage < 3) { |
1661 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); | 1970 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); |
1662 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1971 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1663 checkDeprecationStatus(o.deprecated); | 1972 checkDeprecationStatus(o.deprecated); |
1664 unittest.expect(o.description, unittest.equals('foo')); | 1973 unittest.expect(o.description, unittest.equals('foo')); |
1665 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 1974 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
1666 unittest.expect(o.id, unittest.equals('foo')); | 1975 unittest.expect(o.id, unittest.equals('foo')); |
1667 unittest.expect(o.kind, unittest.equals('foo')); | 1976 unittest.expect(o.kind, unittest.equals('foo')); |
1668 checkUnnamed1250(o.licenses); | 1977 checkUnnamed551(o.licenses); |
1669 unittest.expect(o.name, unittest.equals('foo')); | 1978 unittest.expect(o.name, unittest.equals('foo')); |
1670 checkImageRawDisk(o.rawDisk); | 1979 checkImageRawDisk(o.rawDisk); |
1671 unittest.expect(o.selfLink, unittest.equals('foo')); | 1980 unittest.expect(o.selfLink, unittest.equals('foo')); |
1672 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 1981 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
1673 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 1982 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
1674 unittest.expect(o.sourceType, unittest.equals('foo')); | 1983 unittest.expect(o.sourceType, unittest.equals('foo')); |
1675 unittest.expect(o.status, unittest.equals('foo')); | 1984 unittest.expect(o.status, unittest.equals('foo')); |
1676 } | 1985 } |
1677 buildCounterImage--; | 1986 buildCounterImage--; |
1678 } | 1987 } |
1679 | 1988 |
1680 buildUnnamed1251() { | 1989 buildUnnamed552() { |
1681 var o = new core.List<api.Image>(); | 1990 var o = new core.List<api.Image>(); |
1682 o.add(buildImage()); | 1991 o.add(buildImage()); |
1683 o.add(buildImage()); | 1992 o.add(buildImage()); |
1684 return o; | 1993 return o; |
1685 } | 1994 } |
1686 | 1995 |
1687 checkUnnamed1251(core.List<api.Image> o) { | 1996 checkUnnamed552(core.List<api.Image> o) { |
1688 unittest.expect(o, unittest.hasLength(2)); | 1997 unittest.expect(o, unittest.hasLength(2)); |
1689 checkImage(o[0]); | 1998 checkImage(o[0]); |
1690 checkImage(o[1]); | 1999 checkImage(o[1]); |
1691 } | 2000 } |
1692 | 2001 |
1693 core.int buildCounterImageList = 0; | 2002 core.int buildCounterImageList = 0; |
1694 buildImageList() { | 2003 buildImageList() { |
1695 var o = new api.ImageList(); | 2004 var o = new api.ImageList(); |
1696 buildCounterImageList++; | 2005 buildCounterImageList++; |
1697 if (buildCounterImageList < 3) { | 2006 if (buildCounterImageList < 3) { |
1698 o.id = "foo"; | 2007 o.id = "foo"; |
1699 o.items = buildUnnamed1251(); | 2008 o.items = buildUnnamed552(); |
1700 o.kind = "foo"; | 2009 o.kind = "foo"; |
1701 o.nextPageToken = "foo"; | 2010 o.nextPageToken = "foo"; |
1702 o.selfLink = "foo"; | 2011 o.selfLink = "foo"; |
1703 } | 2012 } |
1704 buildCounterImageList--; | 2013 buildCounterImageList--; |
1705 return o; | 2014 return o; |
1706 } | 2015 } |
1707 | 2016 |
1708 checkImageList(api.ImageList o) { | 2017 checkImageList(api.ImageList o) { |
1709 buildCounterImageList++; | 2018 buildCounterImageList++; |
1710 if (buildCounterImageList < 3) { | 2019 if (buildCounterImageList < 3) { |
1711 unittest.expect(o.id, unittest.equals('foo')); | 2020 unittest.expect(o.id, unittest.equals('foo')); |
1712 checkUnnamed1251(o.items); | 2021 checkUnnamed552(o.items); |
1713 unittest.expect(o.kind, unittest.equals('foo')); | 2022 unittest.expect(o.kind, unittest.equals('foo')); |
1714 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2023 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1715 unittest.expect(o.selfLink, unittest.equals('foo')); | 2024 unittest.expect(o.selfLink, unittest.equals('foo')); |
1716 } | 2025 } |
1717 buildCounterImageList--; | 2026 buildCounterImageList--; |
1718 } | 2027 } |
1719 | 2028 |
1720 buildUnnamed1252() { | 2029 buildUnnamed553() { |
1721 var o = new core.List<api.AttachedDisk>(); | 2030 var o = new core.List<api.AttachedDisk>(); |
1722 o.add(buildAttachedDisk()); | 2031 o.add(buildAttachedDisk()); |
1723 o.add(buildAttachedDisk()); | 2032 o.add(buildAttachedDisk()); |
1724 return o; | 2033 return o; |
1725 } | 2034 } |
1726 | 2035 |
1727 checkUnnamed1252(core.List<api.AttachedDisk> o) { | 2036 checkUnnamed553(core.List<api.AttachedDisk> o) { |
1728 unittest.expect(o, unittest.hasLength(2)); | 2037 unittest.expect(o, unittest.hasLength(2)); |
1729 checkAttachedDisk(o[0]); | 2038 checkAttachedDisk(o[0]); |
1730 checkAttachedDisk(o[1]); | 2039 checkAttachedDisk(o[1]); |
1731 } | 2040 } |
1732 | 2041 |
1733 buildUnnamed1253() { | 2042 buildUnnamed554() { |
1734 var o = new core.List<api.NetworkInterface>(); | 2043 var o = new core.List<api.NetworkInterface>(); |
1735 o.add(buildNetworkInterface()); | 2044 o.add(buildNetworkInterface()); |
1736 o.add(buildNetworkInterface()); | 2045 o.add(buildNetworkInterface()); |
1737 return o; | 2046 return o; |
1738 } | 2047 } |
1739 | 2048 |
1740 checkUnnamed1253(core.List<api.NetworkInterface> o) { | 2049 checkUnnamed554(core.List<api.NetworkInterface> o) { |
1741 unittest.expect(o, unittest.hasLength(2)); | 2050 unittest.expect(o, unittest.hasLength(2)); |
1742 checkNetworkInterface(o[0]); | 2051 checkNetworkInterface(o[0]); |
1743 checkNetworkInterface(o[1]); | 2052 checkNetworkInterface(o[1]); |
1744 } | 2053 } |
1745 | 2054 |
1746 buildUnnamed1254() { | 2055 buildUnnamed555() { |
1747 var o = new core.List<api.ServiceAccount>(); | 2056 var o = new core.List<api.ServiceAccount>(); |
1748 o.add(buildServiceAccount()); | 2057 o.add(buildServiceAccount()); |
1749 o.add(buildServiceAccount()); | 2058 o.add(buildServiceAccount()); |
1750 return o; | 2059 return o; |
1751 } | 2060 } |
1752 | 2061 |
1753 checkUnnamed1254(core.List<api.ServiceAccount> o) { | 2062 checkUnnamed555(core.List<api.ServiceAccount> o) { |
1754 unittest.expect(o, unittest.hasLength(2)); | 2063 unittest.expect(o, unittest.hasLength(2)); |
1755 checkServiceAccount(o[0]); | 2064 checkServiceAccount(o[0]); |
1756 checkServiceAccount(o[1]); | 2065 checkServiceAccount(o[1]); |
1757 } | 2066 } |
1758 | 2067 |
1759 core.int buildCounterInstance = 0; | 2068 core.int buildCounterInstance = 0; |
1760 buildInstance() { | 2069 buildInstance() { |
1761 var o = new api.Instance(); | 2070 var o = new api.Instance(); |
1762 buildCounterInstance++; | 2071 buildCounterInstance++; |
1763 if (buildCounterInstance < 3) { | 2072 if (buildCounterInstance < 3) { |
1764 o.canIpForward = true; | 2073 o.canIpForward = true; |
1765 o.cpuPlatform = "foo"; | 2074 o.cpuPlatform = "foo"; |
1766 o.creationTimestamp = "foo"; | 2075 o.creationTimestamp = "foo"; |
1767 o.description = "foo"; | 2076 o.description = "foo"; |
1768 o.disks = buildUnnamed1252(); | 2077 o.disks = buildUnnamed553(); |
1769 o.id = "foo"; | 2078 o.id = "foo"; |
1770 o.kind = "foo"; | 2079 o.kind = "foo"; |
1771 o.machineType = "foo"; | 2080 o.machineType = "foo"; |
1772 o.metadata = buildMetadata(); | 2081 o.metadata = buildMetadata(); |
1773 o.name = "foo"; | 2082 o.name = "foo"; |
1774 o.networkInterfaces = buildUnnamed1253(); | 2083 o.networkInterfaces = buildUnnamed554(); |
1775 o.scheduling = buildScheduling(); | 2084 o.scheduling = buildScheduling(); |
1776 o.selfLink = "foo"; | 2085 o.selfLink = "foo"; |
1777 o.serviceAccounts = buildUnnamed1254(); | 2086 o.serviceAccounts = buildUnnamed555(); |
1778 o.status = "foo"; | 2087 o.status = "foo"; |
1779 o.statusMessage = "foo"; | 2088 o.statusMessage = "foo"; |
1780 o.tags = buildTags(); | 2089 o.tags = buildTags(); |
1781 o.zone = "foo"; | 2090 o.zone = "foo"; |
1782 } | 2091 } |
1783 buildCounterInstance--; | 2092 buildCounterInstance--; |
1784 return o; | 2093 return o; |
1785 } | 2094 } |
1786 | 2095 |
1787 checkInstance(api.Instance o) { | 2096 checkInstance(api.Instance o) { |
1788 buildCounterInstance++; | 2097 buildCounterInstance++; |
1789 if (buildCounterInstance < 3) { | 2098 if (buildCounterInstance < 3) { |
1790 unittest.expect(o.canIpForward, unittest.isTrue); | 2099 unittest.expect(o.canIpForward, unittest.isTrue); |
1791 unittest.expect(o.cpuPlatform, unittest.equals('foo')); | 2100 unittest.expect(o.cpuPlatform, unittest.equals('foo')); |
1792 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2101 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1793 unittest.expect(o.description, unittest.equals('foo')); | 2102 unittest.expect(o.description, unittest.equals('foo')); |
1794 checkUnnamed1252(o.disks); | 2103 checkUnnamed553(o.disks); |
1795 unittest.expect(o.id, unittest.equals('foo')); | 2104 unittest.expect(o.id, unittest.equals('foo')); |
1796 unittest.expect(o.kind, unittest.equals('foo')); | 2105 unittest.expect(o.kind, unittest.equals('foo')); |
1797 unittest.expect(o.machineType, unittest.equals('foo')); | 2106 unittest.expect(o.machineType, unittest.equals('foo')); |
1798 checkMetadata(o.metadata); | 2107 checkMetadata(o.metadata); |
1799 unittest.expect(o.name, unittest.equals('foo')); | 2108 unittest.expect(o.name, unittest.equals('foo')); |
1800 checkUnnamed1253(o.networkInterfaces); | 2109 checkUnnamed554(o.networkInterfaces); |
1801 checkScheduling(o.scheduling); | 2110 checkScheduling(o.scheduling); |
1802 unittest.expect(o.selfLink, unittest.equals('foo')); | 2111 unittest.expect(o.selfLink, unittest.equals('foo')); |
1803 checkUnnamed1254(o.serviceAccounts); | 2112 checkUnnamed555(o.serviceAccounts); |
1804 unittest.expect(o.status, unittest.equals('foo')); | 2113 unittest.expect(o.status, unittest.equals('foo')); |
1805 unittest.expect(o.statusMessage, unittest.equals('foo')); | 2114 unittest.expect(o.statusMessage, unittest.equals('foo')); |
1806 checkTags(o.tags); | 2115 checkTags(o.tags); |
1807 unittest.expect(o.zone, unittest.equals('foo')); | 2116 unittest.expect(o.zone, unittest.equals('foo')); |
1808 } | 2117 } |
1809 buildCounterInstance--; | 2118 buildCounterInstance--; |
1810 } | 2119 } |
1811 | 2120 |
1812 buildUnnamed1255() { | 2121 buildUnnamed556() { |
1813 var o = new core.Map<core.String, api.InstancesScopedList>(); | 2122 var o = new core.Map<core.String, api.InstancesScopedList>(); |
1814 o["x"] = buildInstancesScopedList(); | 2123 o["x"] = buildInstancesScopedList(); |
1815 o["y"] = buildInstancesScopedList(); | 2124 o["y"] = buildInstancesScopedList(); |
1816 return o; | 2125 return o; |
1817 } | 2126 } |
1818 | 2127 |
1819 checkUnnamed1255(core.Map<core.String, api.InstancesScopedList> o) { | 2128 checkUnnamed556(core.Map<core.String, api.InstancesScopedList> o) { |
1820 unittest.expect(o, unittest.hasLength(2)); | 2129 unittest.expect(o, unittest.hasLength(2)); |
1821 checkInstancesScopedList(o["x"]); | 2130 checkInstancesScopedList(o["x"]); |
1822 checkInstancesScopedList(o["y"]); | 2131 checkInstancesScopedList(o["y"]); |
1823 } | 2132 } |
1824 | 2133 |
1825 core.int buildCounterInstanceAggregatedList = 0; | 2134 core.int buildCounterInstanceAggregatedList = 0; |
1826 buildInstanceAggregatedList() { | 2135 buildInstanceAggregatedList() { |
1827 var o = new api.InstanceAggregatedList(); | 2136 var o = new api.InstanceAggregatedList(); |
1828 buildCounterInstanceAggregatedList++; | 2137 buildCounterInstanceAggregatedList++; |
1829 if (buildCounterInstanceAggregatedList < 3) { | 2138 if (buildCounterInstanceAggregatedList < 3) { |
1830 o.id = "foo"; | 2139 o.id = "foo"; |
1831 o.items = buildUnnamed1255(); | 2140 o.items = buildUnnamed556(); |
1832 o.kind = "foo"; | 2141 o.kind = "foo"; |
1833 o.nextPageToken = "foo"; | 2142 o.nextPageToken = "foo"; |
1834 o.selfLink = "foo"; | 2143 o.selfLink = "foo"; |
1835 } | 2144 } |
1836 buildCounterInstanceAggregatedList--; | 2145 buildCounterInstanceAggregatedList--; |
1837 return o; | 2146 return o; |
1838 } | 2147 } |
1839 | 2148 |
1840 checkInstanceAggregatedList(api.InstanceAggregatedList o) { | 2149 checkInstanceAggregatedList(api.InstanceAggregatedList o) { |
1841 buildCounterInstanceAggregatedList++; | 2150 buildCounterInstanceAggregatedList++; |
1842 if (buildCounterInstanceAggregatedList < 3) { | 2151 if (buildCounterInstanceAggregatedList < 3) { |
1843 unittest.expect(o.id, unittest.equals('foo')); | 2152 unittest.expect(o.id, unittest.equals('foo')); |
1844 checkUnnamed1255(o.items); | 2153 checkUnnamed556(o.items); |
1845 unittest.expect(o.kind, unittest.equals('foo')); | 2154 unittest.expect(o.kind, unittest.equals('foo')); |
1846 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2155 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1847 unittest.expect(o.selfLink, unittest.equals('foo')); | 2156 unittest.expect(o.selfLink, unittest.equals('foo')); |
1848 } | 2157 } |
1849 buildCounterInstanceAggregatedList--; | 2158 buildCounterInstanceAggregatedList--; |
1850 } | 2159 } |
1851 | 2160 |
1852 buildUnnamed1256() { | 2161 buildUnnamed557() { |
1853 var o = new core.List<api.NamedPort>(); | 2162 var o = new core.List<api.NamedPort>(); |
1854 o.add(buildNamedPort()); | 2163 o.add(buildNamedPort()); |
1855 o.add(buildNamedPort()); | 2164 o.add(buildNamedPort()); |
1856 return o; | 2165 return o; |
1857 } | 2166 } |
1858 | 2167 |
1859 checkUnnamed1256(core.List<api.NamedPort> o) { | 2168 checkUnnamed557(core.List<api.NamedPort> o) { |
1860 unittest.expect(o, unittest.hasLength(2)); | 2169 unittest.expect(o, unittest.hasLength(2)); |
1861 checkNamedPort(o[0]); | 2170 checkNamedPort(o[0]); |
1862 checkNamedPort(o[1]); | 2171 checkNamedPort(o[1]); |
1863 } | 2172 } |
1864 | 2173 |
1865 core.int buildCounterInstanceGroup = 0; | 2174 core.int buildCounterInstanceGroup = 0; |
1866 buildInstanceGroup() { | 2175 buildInstanceGroup() { |
1867 var o = new api.InstanceGroup(); | 2176 var o = new api.InstanceGroup(); |
1868 buildCounterInstanceGroup++; | 2177 buildCounterInstanceGroup++; |
1869 if (buildCounterInstanceGroup < 3) { | 2178 if (buildCounterInstanceGroup < 3) { |
1870 o.creationTimestamp = "foo"; | 2179 o.creationTimestamp = "foo"; |
1871 o.description = "foo"; | 2180 o.description = "foo"; |
1872 o.fingerprint = "foo"; | 2181 o.fingerprint = "foo"; |
1873 o.id = "foo"; | 2182 o.id = "foo"; |
1874 o.kind = "foo"; | 2183 o.kind = "foo"; |
1875 o.name = "foo"; | 2184 o.name = "foo"; |
1876 o.namedPorts = buildUnnamed1256(); | 2185 o.namedPorts = buildUnnamed557(); |
1877 o.network = "foo"; | 2186 o.network = "foo"; |
1878 o.selfLink = "foo"; | 2187 o.selfLink = "foo"; |
1879 o.size = 42; | 2188 o.size = 42; |
1880 o.zone = "foo"; | 2189 o.zone = "foo"; |
1881 } | 2190 } |
1882 buildCounterInstanceGroup--; | 2191 buildCounterInstanceGroup--; |
1883 return o; | 2192 return o; |
1884 } | 2193 } |
1885 | 2194 |
1886 checkInstanceGroup(api.InstanceGroup o) { | 2195 checkInstanceGroup(api.InstanceGroup o) { |
1887 buildCounterInstanceGroup++; | 2196 buildCounterInstanceGroup++; |
1888 if (buildCounterInstanceGroup < 3) { | 2197 if (buildCounterInstanceGroup < 3) { |
1889 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2198 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1890 unittest.expect(o.description, unittest.equals('foo')); | 2199 unittest.expect(o.description, unittest.equals('foo')); |
1891 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2200 unittest.expect(o.fingerprint, unittest.equals('foo')); |
1892 unittest.expect(o.id, unittest.equals('foo')); | 2201 unittest.expect(o.id, unittest.equals('foo')); |
1893 unittest.expect(o.kind, unittest.equals('foo')); | 2202 unittest.expect(o.kind, unittest.equals('foo')); |
1894 unittest.expect(o.name, unittest.equals('foo')); | 2203 unittest.expect(o.name, unittest.equals('foo')); |
1895 checkUnnamed1256(o.namedPorts); | 2204 checkUnnamed557(o.namedPorts); |
1896 unittest.expect(o.network, unittest.equals('foo')); | 2205 unittest.expect(o.network, unittest.equals('foo')); |
1897 unittest.expect(o.selfLink, unittest.equals('foo')); | 2206 unittest.expect(o.selfLink, unittest.equals('foo')); |
1898 unittest.expect(o.size, unittest.equals(42)); | 2207 unittest.expect(o.size, unittest.equals(42)); |
1899 unittest.expect(o.zone, unittest.equals('foo')); | 2208 unittest.expect(o.zone, unittest.equals('foo')); |
1900 } | 2209 } |
1901 buildCounterInstanceGroup--; | 2210 buildCounterInstanceGroup--; |
1902 } | 2211 } |
1903 | 2212 |
1904 buildUnnamed1257() { | 2213 buildUnnamed558() { |
1905 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); | 2214 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); |
1906 o["x"] = buildInstanceGroupsScopedList(); | 2215 o["x"] = buildInstanceGroupsScopedList(); |
1907 o["y"] = buildInstanceGroupsScopedList(); | 2216 o["y"] = buildInstanceGroupsScopedList(); |
1908 return o; | 2217 return o; |
1909 } | 2218 } |
1910 | 2219 |
1911 checkUnnamed1257(core.Map<core.String, api.InstanceGroupsScopedList> o) { | 2220 checkUnnamed558(core.Map<core.String, api.InstanceGroupsScopedList> o) { |
1912 unittest.expect(o, unittest.hasLength(2)); | 2221 unittest.expect(o, unittest.hasLength(2)); |
1913 checkInstanceGroupsScopedList(o["x"]); | 2222 checkInstanceGroupsScopedList(o["x"]); |
1914 checkInstanceGroupsScopedList(o["y"]); | 2223 checkInstanceGroupsScopedList(o["y"]); |
1915 } | 2224 } |
1916 | 2225 |
1917 core.int buildCounterInstanceGroupAggregatedList = 0; | 2226 core.int buildCounterInstanceGroupAggregatedList = 0; |
1918 buildInstanceGroupAggregatedList() { | 2227 buildInstanceGroupAggregatedList() { |
1919 var o = new api.InstanceGroupAggregatedList(); | 2228 var o = new api.InstanceGroupAggregatedList(); |
1920 buildCounterInstanceGroupAggregatedList++; | 2229 buildCounterInstanceGroupAggregatedList++; |
1921 if (buildCounterInstanceGroupAggregatedList < 3) { | 2230 if (buildCounterInstanceGroupAggregatedList < 3) { |
1922 o.id = "foo"; | 2231 o.id = "foo"; |
1923 o.items = buildUnnamed1257(); | 2232 o.items = buildUnnamed558(); |
1924 o.kind = "foo"; | 2233 o.kind = "foo"; |
1925 o.nextPageToken = "foo"; | 2234 o.nextPageToken = "foo"; |
1926 o.selfLink = "foo"; | 2235 o.selfLink = "foo"; |
1927 } | 2236 } |
1928 buildCounterInstanceGroupAggregatedList--; | 2237 buildCounterInstanceGroupAggregatedList--; |
1929 return o; | 2238 return o; |
1930 } | 2239 } |
1931 | 2240 |
1932 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { | 2241 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { |
1933 buildCounterInstanceGroupAggregatedList++; | 2242 buildCounterInstanceGroupAggregatedList++; |
1934 if (buildCounterInstanceGroupAggregatedList < 3) { | 2243 if (buildCounterInstanceGroupAggregatedList < 3) { |
1935 unittest.expect(o.id, unittest.equals('foo')); | 2244 unittest.expect(o.id, unittest.equals('foo')); |
1936 checkUnnamed1257(o.items); | 2245 checkUnnamed558(o.items); |
1937 unittest.expect(o.kind, unittest.equals('foo')); | 2246 unittest.expect(o.kind, unittest.equals('foo')); |
1938 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2247 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1939 unittest.expect(o.selfLink, unittest.equals('foo')); | 2248 unittest.expect(o.selfLink, unittest.equals('foo')); |
1940 } | 2249 } |
1941 buildCounterInstanceGroupAggregatedList--; | 2250 buildCounterInstanceGroupAggregatedList--; |
1942 } | 2251 } |
1943 | 2252 |
1944 buildUnnamed1258() { | 2253 buildUnnamed559() { |
1945 var o = new core.List<api.InstanceGroup>(); | 2254 var o = new core.List<api.InstanceGroup>(); |
1946 o.add(buildInstanceGroup()); | 2255 o.add(buildInstanceGroup()); |
1947 o.add(buildInstanceGroup()); | 2256 o.add(buildInstanceGroup()); |
1948 return o; | 2257 return o; |
1949 } | 2258 } |
1950 | 2259 |
1951 checkUnnamed1258(core.List<api.InstanceGroup> o) { | 2260 checkUnnamed559(core.List<api.InstanceGroup> o) { |
1952 unittest.expect(o, unittest.hasLength(2)); | 2261 unittest.expect(o, unittest.hasLength(2)); |
1953 checkInstanceGroup(o[0]); | 2262 checkInstanceGroup(o[0]); |
1954 checkInstanceGroup(o[1]); | 2263 checkInstanceGroup(o[1]); |
1955 } | 2264 } |
1956 | 2265 |
1957 core.int buildCounterInstanceGroupList = 0; | 2266 core.int buildCounterInstanceGroupList = 0; |
1958 buildInstanceGroupList() { | 2267 buildInstanceGroupList() { |
1959 var o = new api.InstanceGroupList(); | 2268 var o = new api.InstanceGroupList(); |
1960 buildCounterInstanceGroupList++; | 2269 buildCounterInstanceGroupList++; |
1961 if (buildCounterInstanceGroupList < 3) { | 2270 if (buildCounterInstanceGroupList < 3) { |
1962 o.id = "foo"; | 2271 o.id = "foo"; |
1963 o.items = buildUnnamed1258(); | 2272 o.items = buildUnnamed559(); |
1964 o.kind = "foo"; | 2273 o.kind = "foo"; |
1965 o.nextPageToken = "foo"; | 2274 o.nextPageToken = "foo"; |
1966 o.selfLink = "foo"; | 2275 o.selfLink = "foo"; |
1967 } | 2276 } |
1968 buildCounterInstanceGroupList--; | 2277 buildCounterInstanceGroupList--; |
1969 return o; | 2278 return o; |
1970 } | 2279 } |
1971 | 2280 |
1972 checkInstanceGroupList(api.InstanceGroupList o) { | 2281 checkInstanceGroupList(api.InstanceGroupList o) { |
1973 buildCounterInstanceGroupList++; | 2282 buildCounterInstanceGroupList++; |
1974 if (buildCounterInstanceGroupList < 3) { | 2283 if (buildCounterInstanceGroupList < 3) { |
1975 unittest.expect(o.id, unittest.equals('foo')); | 2284 unittest.expect(o.id, unittest.equals('foo')); |
1976 checkUnnamed1258(o.items); | 2285 checkUnnamed559(o.items); |
1977 unittest.expect(o.kind, unittest.equals('foo')); | 2286 unittest.expect(o.kind, unittest.equals('foo')); |
1978 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2287 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1979 unittest.expect(o.selfLink, unittest.equals('foo')); | 2288 unittest.expect(o.selfLink, unittest.equals('foo')); |
1980 } | 2289 } |
1981 buildCounterInstanceGroupList--; | 2290 buildCounterInstanceGroupList--; |
1982 } | 2291 } |
1983 | 2292 |
1984 buildUnnamed1259() { | 2293 buildUnnamed560() { |
1985 var o = new core.List<api.InstanceGroupManagerAutoHealingPolicy>(); | 2294 var o = new core.List<api.InstanceGroupManagerAutoHealingPolicy>(); |
1986 o.add(buildInstanceGroupManagerAutoHealingPolicy()); | 2295 o.add(buildInstanceGroupManagerAutoHealingPolicy()); |
1987 o.add(buildInstanceGroupManagerAutoHealingPolicy()); | 2296 o.add(buildInstanceGroupManagerAutoHealingPolicy()); |
1988 return o; | 2297 return o; |
1989 } | 2298 } |
1990 | 2299 |
1991 checkUnnamed1259(core.List<api.InstanceGroupManagerAutoHealingPolicy> o) { | 2300 checkUnnamed560(core.List<api.InstanceGroupManagerAutoHealingPolicy> o) { |
1992 unittest.expect(o, unittest.hasLength(2)); | 2301 unittest.expect(o, unittest.hasLength(2)); |
1993 checkInstanceGroupManagerAutoHealingPolicy(o[0]); | 2302 checkInstanceGroupManagerAutoHealingPolicy(o[0]); |
1994 checkInstanceGroupManagerAutoHealingPolicy(o[1]); | 2303 checkInstanceGroupManagerAutoHealingPolicy(o[1]); |
1995 } | 2304 } |
1996 | 2305 |
1997 buildUnnamed1260() { | 2306 buildUnnamed561() { |
1998 var o = new core.List<core.String>(); | 2307 var o = new core.List<core.String>(); |
1999 o.add("foo"); | 2308 o.add("foo"); |
2000 o.add("foo"); | 2309 o.add("foo"); |
2001 return o; | 2310 return o; |
2002 } | 2311 } |
2003 | 2312 |
2004 checkUnnamed1260(core.List<core.String> o) { | 2313 checkUnnamed561(core.List<core.String> o) { |
2005 unittest.expect(o, unittest.hasLength(2)); | 2314 unittest.expect(o, unittest.hasLength(2)); |
2006 unittest.expect(o[0], unittest.equals('foo')); | 2315 unittest.expect(o[0], unittest.equals('foo')); |
2007 unittest.expect(o[1], unittest.equals('foo')); | 2316 unittest.expect(o[1], unittest.equals('foo')); |
2008 } | 2317 } |
2009 | 2318 |
2010 core.int buildCounterInstanceGroupManager = 0; | 2319 core.int buildCounterInstanceGroupManager = 0; |
2011 buildInstanceGroupManager() { | 2320 buildInstanceGroupManager() { |
2012 var o = new api.InstanceGroupManager(); | 2321 var o = new api.InstanceGroupManager(); |
2013 buildCounterInstanceGroupManager++; | 2322 buildCounterInstanceGroupManager++; |
2014 if (buildCounterInstanceGroupManager < 3) { | 2323 if (buildCounterInstanceGroupManager < 3) { |
2015 o.autoHealingPolicies = buildUnnamed1259(); | 2324 o.autoHealingPolicies = buildUnnamed560(); |
2016 o.baseInstanceName = "foo"; | 2325 o.baseInstanceName = "foo"; |
2017 o.creationTimestamp = "foo"; | 2326 o.creationTimestamp = "foo"; |
2018 o.currentActions = buildInstanceGroupManagerActionsSummary(); | 2327 o.currentActions = buildInstanceGroupManagerActionsSummary(); |
2019 o.currentSize = 42; | |
2020 o.description = "foo"; | 2328 o.description = "foo"; |
2021 o.fingerprint = "foo"; | 2329 o.fingerprint = "foo"; |
2022 o.id = "foo"; | 2330 o.id = "foo"; |
2023 o.instanceGroup = "foo"; | 2331 o.instanceGroup = "foo"; |
2024 o.instanceTemplate = "foo"; | 2332 o.instanceTemplate = "foo"; |
2025 o.kind = "foo"; | 2333 o.kind = "foo"; |
2026 o.name = "foo"; | 2334 o.name = "foo"; |
2027 o.selfLink = "foo"; | 2335 o.selfLink = "foo"; |
2028 o.targetPools = buildUnnamed1260(); | 2336 o.targetPools = buildUnnamed561(); |
2029 o.targetSize = 42; | 2337 o.targetSize = 42; |
2030 o.zone = "foo"; | 2338 o.zone = "foo"; |
2031 } | 2339 } |
2032 buildCounterInstanceGroupManager--; | 2340 buildCounterInstanceGroupManager--; |
2033 return o; | 2341 return o; |
2034 } | 2342 } |
2035 | 2343 |
2036 checkInstanceGroupManager(api.InstanceGroupManager o) { | 2344 checkInstanceGroupManager(api.InstanceGroupManager o) { |
2037 buildCounterInstanceGroupManager++; | 2345 buildCounterInstanceGroupManager++; |
2038 if (buildCounterInstanceGroupManager < 3) { | 2346 if (buildCounterInstanceGroupManager < 3) { |
2039 checkUnnamed1259(o.autoHealingPolicies); | 2347 checkUnnamed560(o.autoHealingPolicies); |
2040 unittest.expect(o.baseInstanceName, unittest.equals('foo')); | 2348 unittest.expect(o.baseInstanceName, unittest.equals('foo')); |
2041 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2349 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2042 checkInstanceGroupManagerActionsSummary(o.currentActions); | 2350 checkInstanceGroupManagerActionsSummary(o.currentActions); |
2043 unittest.expect(o.currentSize, unittest.equals(42)); | |
2044 unittest.expect(o.description, unittest.equals('foo')); | 2351 unittest.expect(o.description, unittest.equals('foo')); |
2045 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2352 unittest.expect(o.fingerprint, unittest.equals('foo')); |
2046 unittest.expect(o.id, unittest.equals('foo')); | 2353 unittest.expect(o.id, unittest.equals('foo')); |
2047 unittest.expect(o.instanceGroup, unittest.equals('foo')); | 2354 unittest.expect(o.instanceGroup, unittest.equals('foo')); |
2048 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 2355 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
2049 unittest.expect(o.kind, unittest.equals('foo')); | 2356 unittest.expect(o.kind, unittest.equals('foo')); |
2050 unittest.expect(o.name, unittest.equals('foo')); | 2357 unittest.expect(o.name, unittest.equals('foo')); |
2051 unittest.expect(o.selfLink, unittest.equals('foo')); | 2358 unittest.expect(o.selfLink, unittest.equals('foo')); |
2052 checkUnnamed1260(o.targetPools); | 2359 checkUnnamed561(o.targetPools); |
2053 unittest.expect(o.targetSize, unittest.equals(42)); | 2360 unittest.expect(o.targetSize, unittest.equals(42)); |
2054 unittest.expect(o.zone, unittest.equals('foo')); | 2361 unittest.expect(o.zone, unittest.equals('foo')); |
2055 } | 2362 } |
2056 buildCounterInstanceGroupManager--; | 2363 buildCounterInstanceGroupManager--; |
2057 } | 2364 } |
2058 | 2365 |
2059 core.int buildCounterInstanceGroupManagerActionsSummary = 0; | 2366 core.int buildCounterInstanceGroupManagerActionsSummary = 0; |
2060 buildInstanceGroupManagerActionsSummary() { | 2367 buildInstanceGroupManagerActionsSummary() { |
2061 var o = new api.InstanceGroupManagerActionsSummary(); | 2368 var o = new api.InstanceGroupManagerActionsSummary(); |
2062 buildCounterInstanceGroupManagerActionsSummary++; | 2369 buildCounterInstanceGroupManagerActionsSummary++; |
2063 if (buildCounterInstanceGroupManagerActionsSummary < 3) { | 2370 if (buildCounterInstanceGroupManagerActionsSummary < 3) { |
2064 o.abandoning = 42; | 2371 o.abandoning = 42; |
2065 o.creating = 42; | 2372 o.creating = 42; |
2066 o.deleting = 42; | 2373 o.deleting = 42; |
2067 o.none = 42; | 2374 o.none = 42; |
2068 o.rebooting = 42; | |
2069 o.recreating = 42; | 2375 o.recreating = 42; |
2070 o.refreshing = 42; | 2376 o.refreshing = 42; |
| 2377 o.restarting = 42; |
2071 } | 2378 } |
2072 buildCounterInstanceGroupManagerActionsSummary--; | 2379 buildCounterInstanceGroupManagerActionsSummary--; |
2073 return o; | 2380 return o; |
2074 } | 2381 } |
2075 | 2382 |
2076 checkInstanceGroupManagerActionsSummary(api.InstanceGroupManagerActionsSummary o
) { | 2383 checkInstanceGroupManagerActionsSummary(api.InstanceGroupManagerActionsSummary o
) { |
2077 buildCounterInstanceGroupManagerActionsSummary++; | 2384 buildCounterInstanceGroupManagerActionsSummary++; |
2078 if (buildCounterInstanceGroupManagerActionsSummary < 3) { | 2385 if (buildCounterInstanceGroupManagerActionsSummary < 3) { |
2079 unittest.expect(o.abandoning, unittest.equals(42)); | 2386 unittest.expect(o.abandoning, unittest.equals(42)); |
2080 unittest.expect(o.creating, unittest.equals(42)); | 2387 unittest.expect(o.creating, unittest.equals(42)); |
2081 unittest.expect(o.deleting, unittest.equals(42)); | 2388 unittest.expect(o.deleting, unittest.equals(42)); |
2082 unittest.expect(o.none, unittest.equals(42)); | 2389 unittest.expect(o.none, unittest.equals(42)); |
2083 unittest.expect(o.rebooting, unittest.equals(42)); | |
2084 unittest.expect(o.recreating, unittest.equals(42)); | 2390 unittest.expect(o.recreating, unittest.equals(42)); |
2085 unittest.expect(o.refreshing, unittest.equals(42)); | 2391 unittest.expect(o.refreshing, unittest.equals(42)); |
| 2392 unittest.expect(o.restarting, unittest.equals(42)); |
2086 } | 2393 } |
2087 buildCounterInstanceGroupManagerActionsSummary--; | 2394 buildCounterInstanceGroupManagerActionsSummary--; |
2088 } | 2395 } |
2089 | 2396 |
2090 buildUnnamed1261() { | 2397 buildUnnamed562() { |
2091 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); | 2398 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); |
2092 o["x"] = buildInstanceGroupManagersScopedList(); | 2399 o["x"] = buildInstanceGroupManagersScopedList(); |
2093 o["y"] = buildInstanceGroupManagersScopedList(); | 2400 o["y"] = buildInstanceGroupManagersScopedList(); |
2094 return o; | 2401 return o; |
2095 } | 2402 } |
2096 | 2403 |
2097 checkUnnamed1261(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { | 2404 checkUnnamed562(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { |
2098 unittest.expect(o, unittest.hasLength(2)); | 2405 unittest.expect(o, unittest.hasLength(2)); |
2099 checkInstanceGroupManagersScopedList(o["x"]); | 2406 checkInstanceGroupManagersScopedList(o["x"]); |
2100 checkInstanceGroupManagersScopedList(o["y"]); | 2407 checkInstanceGroupManagersScopedList(o["y"]); |
2101 } | 2408 } |
2102 | 2409 |
2103 core.int buildCounterInstanceGroupManagerAggregatedList = 0; | 2410 core.int buildCounterInstanceGroupManagerAggregatedList = 0; |
2104 buildInstanceGroupManagerAggregatedList() { | 2411 buildInstanceGroupManagerAggregatedList() { |
2105 var o = new api.InstanceGroupManagerAggregatedList(); | 2412 var o = new api.InstanceGroupManagerAggregatedList(); |
2106 buildCounterInstanceGroupManagerAggregatedList++; | 2413 buildCounterInstanceGroupManagerAggregatedList++; |
2107 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 2414 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
2108 o.id = "foo"; | 2415 o.id = "foo"; |
2109 o.items = buildUnnamed1261(); | 2416 o.items = buildUnnamed562(); |
2110 o.kind = "foo"; | 2417 o.kind = "foo"; |
2111 o.nextPageToken = "foo"; | 2418 o.nextPageToken = "foo"; |
2112 o.selfLink = "foo"; | 2419 o.selfLink = "foo"; |
2113 } | 2420 } |
2114 buildCounterInstanceGroupManagerAggregatedList--; | 2421 buildCounterInstanceGroupManagerAggregatedList--; |
2115 return o; | 2422 return o; |
2116 } | 2423 } |
2117 | 2424 |
2118 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { | 2425 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { |
2119 buildCounterInstanceGroupManagerAggregatedList++; | 2426 buildCounterInstanceGroupManagerAggregatedList++; |
2120 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 2427 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
2121 unittest.expect(o.id, unittest.equals('foo')); | 2428 unittest.expect(o.id, unittest.equals('foo')); |
2122 checkUnnamed1261(o.items); | 2429 checkUnnamed562(o.items); |
2123 unittest.expect(o.kind, unittest.equals('foo')); | 2430 unittest.expect(o.kind, unittest.equals('foo')); |
2124 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2431 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2125 unittest.expect(o.selfLink, unittest.equals('foo')); | 2432 unittest.expect(o.selfLink, unittest.equals('foo')); |
2126 } | 2433 } |
2127 buildCounterInstanceGroupManagerAggregatedList--; | 2434 buildCounterInstanceGroupManagerAggregatedList--; |
2128 } | 2435 } |
2129 | 2436 |
2130 core.int buildCounterInstanceGroupManagerAutoHealingPolicy = 0; | 2437 core.int buildCounterInstanceGroupManagerAutoHealingPolicy = 0; |
2131 buildInstanceGroupManagerAutoHealingPolicy() { | 2438 buildInstanceGroupManagerAutoHealingPolicy() { |
2132 var o = new api.InstanceGroupManagerAutoHealingPolicy(); | 2439 var o = new api.InstanceGroupManagerAutoHealingPolicy(); |
2133 buildCounterInstanceGroupManagerAutoHealingPolicy++; | 2440 buildCounterInstanceGroupManagerAutoHealingPolicy++; |
2134 if (buildCounterInstanceGroupManagerAutoHealingPolicy < 3) { | 2441 if (buildCounterInstanceGroupManagerAutoHealingPolicy < 3) { |
2135 o.actionType = "foo"; | 2442 o.actionType = "foo"; |
2136 o.healthCheck = "foo"; | 2443 o.healthCheck = "foo"; |
2137 } | 2444 } |
2138 buildCounterInstanceGroupManagerAutoHealingPolicy--; | 2445 buildCounterInstanceGroupManagerAutoHealingPolicy--; |
2139 return o; | 2446 return o; |
2140 } | 2447 } |
2141 | 2448 |
2142 checkInstanceGroupManagerAutoHealingPolicy(api.InstanceGroupManagerAutoHealingPo
licy o) { | 2449 checkInstanceGroupManagerAutoHealingPolicy(api.InstanceGroupManagerAutoHealingPo
licy o) { |
2143 buildCounterInstanceGroupManagerAutoHealingPolicy++; | 2450 buildCounterInstanceGroupManagerAutoHealingPolicy++; |
2144 if (buildCounterInstanceGroupManagerAutoHealingPolicy < 3) { | 2451 if (buildCounterInstanceGroupManagerAutoHealingPolicy < 3) { |
2145 unittest.expect(o.actionType, unittest.equals('foo')); | 2452 unittest.expect(o.actionType, unittest.equals('foo')); |
2146 unittest.expect(o.healthCheck, unittest.equals('foo')); | 2453 unittest.expect(o.healthCheck, unittest.equals('foo')); |
2147 } | 2454 } |
2148 buildCounterInstanceGroupManagerAutoHealingPolicy--; | 2455 buildCounterInstanceGroupManagerAutoHealingPolicy--; |
2149 } | 2456 } |
2150 | 2457 |
2151 buildUnnamed1262() { | 2458 buildUnnamed563() { |
2152 var o = new core.List<api.InstanceGroupManager>(); | 2459 var o = new core.List<api.InstanceGroupManager>(); |
2153 o.add(buildInstanceGroupManager()); | 2460 o.add(buildInstanceGroupManager()); |
2154 o.add(buildInstanceGroupManager()); | 2461 o.add(buildInstanceGroupManager()); |
2155 return o; | 2462 return o; |
2156 } | 2463 } |
2157 | 2464 |
2158 checkUnnamed1262(core.List<api.InstanceGroupManager> o) { | 2465 checkUnnamed563(core.List<api.InstanceGroupManager> o) { |
2159 unittest.expect(o, unittest.hasLength(2)); | 2466 unittest.expect(o, unittest.hasLength(2)); |
2160 checkInstanceGroupManager(o[0]); | 2467 checkInstanceGroupManager(o[0]); |
2161 checkInstanceGroupManager(o[1]); | 2468 checkInstanceGroupManager(o[1]); |
2162 } | 2469 } |
2163 | 2470 |
2164 core.int buildCounterInstanceGroupManagerList = 0; | 2471 core.int buildCounterInstanceGroupManagerList = 0; |
2165 buildInstanceGroupManagerList() { | 2472 buildInstanceGroupManagerList() { |
2166 var o = new api.InstanceGroupManagerList(); | 2473 var o = new api.InstanceGroupManagerList(); |
2167 buildCounterInstanceGroupManagerList++; | 2474 buildCounterInstanceGroupManagerList++; |
2168 if (buildCounterInstanceGroupManagerList < 3) { | 2475 if (buildCounterInstanceGroupManagerList < 3) { |
2169 o.id = "foo"; | 2476 o.id = "foo"; |
2170 o.items = buildUnnamed1262(); | 2477 o.items = buildUnnamed563(); |
2171 o.kind = "foo"; | 2478 o.kind = "foo"; |
2172 o.nextPageToken = "foo"; | 2479 o.nextPageToken = "foo"; |
2173 o.selfLink = "foo"; | 2480 o.selfLink = "foo"; |
2174 } | 2481 } |
2175 buildCounterInstanceGroupManagerList--; | 2482 buildCounterInstanceGroupManagerList--; |
2176 return o; | 2483 return o; |
2177 } | 2484 } |
2178 | 2485 |
2179 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { | 2486 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { |
2180 buildCounterInstanceGroupManagerList++; | 2487 buildCounterInstanceGroupManagerList++; |
2181 if (buildCounterInstanceGroupManagerList < 3) { | 2488 if (buildCounterInstanceGroupManagerList < 3) { |
2182 unittest.expect(o.id, unittest.equals('foo')); | 2489 unittest.expect(o.id, unittest.equals('foo')); |
2183 checkUnnamed1262(o.items); | 2490 checkUnnamed563(o.items); |
2184 unittest.expect(o.kind, unittest.equals('foo')); | 2491 unittest.expect(o.kind, unittest.equals('foo')); |
2185 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2492 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2186 unittest.expect(o.selfLink, unittest.equals('foo')); | 2493 unittest.expect(o.selfLink, unittest.equals('foo')); |
2187 } | 2494 } |
2188 buildCounterInstanceGroupManagerList--; | 2495 buildCounterInstanceGroupManagerList--; |
2189 } | 2496 } |
2190 | 2497 |
2191 buildUnnamed1263() { | 2498 buildUnnamed564() { |
2192 var o = new core.List<core.String>(); | 2499 var o = new core.List<core.String>(); |
2193 o.add("foo"); | 2500 o.add("foo"); |
2194 o.add("foo"); | 2501 o.add("foo"); |
2195 return o; | 2502 return o; |
2196 } | 2503 } |
2197 | 2504 |
2198 checkUnnamed1263(core.List<core.String> o) { | 2505 checkUnnamed564(core.List<core.String> o) { |
2199 unittest.expect(o, unittest.hasLength(2)); | 2506 unittest.expect(o, unittest.hasLength(2)); |
2200 unittest.expect(o[0], unittest.equals('foo')); | 2507 unittest.expect(o[0], unittest.equals('foo')); |
2201 unittest.expect(o[1], unittest.equals('foo')); | 2508 unittest.expect(o[1], unittest.equals('foo')); |
2202 } | 2509 } |
2203 | 2510 |
2204 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; | 2511 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; |
2205 buildInstanceGroupManagersAbandonInstancesRequest() { | 2512 buildInstanceGroupManagersAbandonInstancesRequest() { |
2206 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); | 2513 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); |
2207 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 2514 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
2208 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 2515 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
2209 o.instances = buildUnnamed1263(); | 2516 o.instances = buildUnnamed564(); |
2210 } | 2517 } |
2211 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 2518 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
2212 return o; | 2519 return o; |
2213 } | 2520 } |
2214 | 2521 |
2215 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { | 2522 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { |
2216 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 2523 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
2217 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 2524 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
2218 checkUnnamed1263(o.instances); | 2525 checkUnnamed564(o.instances); |
2219 } | 2526 } |
2220 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 2527 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
2221 } | 2528 } |
2222 | 2529 |
2223 buildUnnamed1264() { | 2530 buildUnnamed565() { |
2224 var o = new core.List<core.String>(); | 2531 var o = new core.List<core.String>(); |
2225 o.add("foo"); | 2532 o.add("foo"); |
2226 o.add("foo"); | 2533 o.add("foo"); |
2227 return o; | 2534 return o; |
2228 } | 2535 } |
2229 | 2536 |
2230 checkUnnamed1264(core.List<core.String> o) { | 2537 checkUnnamed565(core.List<core.String> o) { |
2231 unittest.expect(o, unittest.hasLength(2)); | 2538 unittest.expect(o, unittest.hasLength(2)); |
2232 unittest.expect(o[0], unittest.equals('foo')); | 2539 unittest.expect(o[0], unittest.equals('foo')); |
2233 unittest.expect(o[1], unittest.equals('foo')); | 2540 unittest.expect(o[1], unittest.equals('foo')); |
2234 } | 2541 } |
2235 | 2542 |
2236 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; | 2543 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; |
2237 buildInstanceGroupManagersDeleteInstancesRequest() { | 2544 buildInstanceGroupManagersDeleteInstancesRequest() { |
2238 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); | 2545 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); |
2239 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 2546 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
2240 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 2547 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
2241 o.instances = buildUnnamed1264(); | 2548 o.instances = buildUnnamed565(); |
2242 } | 2549 } |
2243 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 2550 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
2244 return o; | 2551 return o; |
2245 } | 2552 } |
2246 | 2553 |
2247 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { | 2554 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { |
2248 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 2555 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
2249 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 2556 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
2250 checkUnnamed1264(o.instances); | 2557 checkUnnamed565(o.instances); |
2251 } | 2558 } |
2252 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 2559 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
2253 } | 2560 } |
2254 | 2561 |
2255 buildUnnamed1265() { | 2562 buildUnnamed566() { |
2256 var o = new core.List<api.ManagedInstance>(); | 2563 var o = new core.List<api.ManagedInstance>(); |
2257 o.add(buildManagedInstance()); | 2564 o.add(buildManagedInstance()); |
2258 o.add(buildManagedInstance()); | 2565 o.add(buildManagedInstance()); |
2259 return o; | 2566 return o; |
2260 } | 2567 } |
2261 | 2568 |
2262 checkUnnamed1265(core.List<api.ManagedInstance> o) { | 2569 checkUnnamed566(core.List<api.ManagedInstance> o) { |
2263 unittest.expect(o, unittest.hasLength(2)); | 2570 unittest.expect(o, unittest.hasLength(2)); |
2264 checkManagedInstance(o[0]); | 2571 checkManagedInstance(o[0]); |
2265 checkManagedInstance(o[1]); | 2572 checkManagedInstance(o[1]); |
2266 } | 2573 } |
2267 | 2574 |
2268 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; | 2575 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; |
2269 buildInstanceGroupManagersListManagedInstancesResponse() { | 2576 buildInstanceGroupManagersListManagedInstancesResponse() { |
2270 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); | 2577 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); |
2271 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 2578 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
2272 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 2579 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
2273 o.managedInstances = buildUnnamed1265(); | 2580 o.managedInstances = buildUnnamed566(); |
2274 } | 2581 } |
2275 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 2582 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
2276 return o; | 2583 return o; |
2277 } | 2584 } |
2278 | 2585 |
2279 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { | 2586 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { |
2280 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 2587 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
2281 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 2588 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
2282 checkUnnamed1265(o.managedInstances); | 2589 checkUnnamed566(o.managedInstances); |
2283 } | 2590 } |
2284 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 2591 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
2285 } | 2592 } |
2286 | 2593 |
2287 buildUnnamed1266() { | 2594 buildUnnamed567() { |
2288 var o = new core.List<core.String>(); | 2595 var o = new core.List<core.String>(); |
2289 o.add("foo"); | 2596 o.add("foo"); |
2290 o.add("foo"); | 2597 o.add("foo"); |
2291 return o; | 2598 return o; |
2292 } | 2599 } |
2293 | 2600 |
2294 checkUnnamed1266(core.List<core.String> o) { | 2601 checkUnnamed567(core.List<core.String> o) { |
2295 unittest.expect(o, unittest.hasLength(2)); | 2602 unittest.expect(o, unittest.hasLength(2)); |
2296 unittest.expect(o[0], unittest.equals('foo')); | 2603 unittest.expect(o[0], unittest.equals('foo')); |
2297 unittest.expect(o[1], unittest.equals('foo')); | 2604 unittest.expect(o[1], unittest.equals('foo')); |
2298 } | 2605 } |
2299 | 2606 |
2300 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; | 2607 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; |
2301 buildInstanceGroupManagersRecreateInstancesRequest() { | 2608 buildInstanceGroupManagersRecreateInstancesRequest() { |
2302 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); | 2609 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); |
2303 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 2610 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
2304 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 2611 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
2305 o.instances = buildUnnamed1266(); | 2612 o.instances = buildUnnamed567(); |
2306 } | 2613 } |
2307 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 2614 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
2308 return o; | 2615 return o; |
2309 } | 2616 } |
2310 | 2617 |
2311 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { | 2618 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { |
2312 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 2619 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
2313 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 2620 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
2314 checkUnnamed1266(o.instances); | 2621 checkUnnamed567(o.instances); |
2315 } | 2622 } |
2316 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 2623 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
2317 } | 2624 } |
2318 | 2625 |
2319 buildUnnamed1267() { | 2626 buildUnnamed568() { |
2320 var o = new core.List<api.InstanceGroupManager>(); | 2627 var o = new core.List<api.InstanceGroupManager>(); |
2321 o.add(buildInstanceGroupManager()); | 2628 o.add(buildInstanceGroupManager()); |
2322 o.add(buildInstanceGroupManager()); | 2629 o.add(buildInstanceGroupManager()); |
2323 return o; | 2630 return o; |
2324 } | 2631 } |
2325 | 2632 |
2326 checkUnnamed1267(core.List<api.InstanceGroupManager> o) { | 2633 checkUnnamed568(core.List<api.InstanceGroupManager> o) { |
2327 unittest.expect(o, unittest.hasLength(2)); | 2634 unittest.expect(o, unittest.hasLength(2)); |
2328 checkInstanceGroupManager(o[0]); | 2635 checkInstanceGroupManager(o[0]); |
2329 checkInstanceGroupManager(o[1]); | 2636 checkInstanceGroupManager(o[1]); |
2330 } | 2637 } |
2331 | 2638 |
2332 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; | 2639 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; |
2333 buildInstanceGroupManagersScopedListWarningData() { | 2640 buildInstanceGroupManagersScopedListWarningData() { |
2334 var o = new api.InstanceGroupManagersScopedListWarningData(); | 2641 var o = new api.InstanceGroupManagersScopedListWarningData(); |
2335 buildCounterInstanceGroupManagersScopedListWarningData++; | 2642 buildCounterInstanceGroupManagersScopedListWarningData++; |
2336 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 2643 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
2337 o.key = "foo"; | 2644 o.key = "foo"; |
2338 o.value = "foo"; | 2645 o.value = "foo"; |
2339 } | 2646 } |
2340 buildCounterInstanceGroupManagersScopedListWarningData--; | 2647 buildCounterInstanceGroupManagersScopedListWarningData--; |
2341 return o; | 2648 return o; |
2342 } | 2649 } |
2343 | 2650 |
2344 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { | 2651 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { |
2345 buildCounterInstanceGroupManagersScopedListWarningData++; | 2652 buildCounterInstanceGroupManagersScopedListWarningData++; |
2346 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 2653 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
2347 unittest.expect(o.key, unittest.equals('foo')); | 2654 unittest.expect(o.key, unittest.equals('foo')); |
2348 unittest.expect(o.value, unittest.equals('foo')); | 2655 unittest.expect(o.value, unittest.equals('foo')); |
2349 } | 2656 } |
2350 buildCounterInstanceGroupManagersScopedListWarningData--; | 2657 buildCounterInstanceGroupManagersScopedListWarningData--; |
2351 } | 2658 } |
2352 | 2659 |
2353 buildUnnamed1268() { | 2660 buildUnnamed569() { |
2354 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); | 2661 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); |
2355 o.add(buildInstanceGroupManagersScopedListWarningData()); | 2662 o.add(buildInstanceGroupManagersScopedListWarningData()); |
2356 o.add(buildInstanceGroupManagersScopedListWarningData()); | 2663 o.add(buildInstanceGroupManagersScopedListWarningData()); |
2357 return o; | 2664 return o; |
2358 } | 2665 } |
2359 | 2666 |
2360 checkUnnamed1268(core.List<api.InstanceGroupManagersScopedListWarningData> o) { | 2667 checkUnnamed569(core.List<api.InstanceGroupManagersScopedListWarningData> o) { |
2361 unittest.expect(o, unittest.hasLength(2)); | 2668 unittest.expect(o, unittest.hasLength(2)); |
2362 checkInstanceGroupManagersScopedListWarningData(o[0]); | 2669 checkInstanceGroupManagersScopedListWarningData(o[0]); |
2363 checkInstanceGroupManagersScopedListWarningData(o[1]); | 2670 checkInstanceGroupManagersScopedListWarningData(o[1]); |
2364 } | 2671 } |
2365 | 2672 |
2366 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; | 2673 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; |
2367 buildInstanceGroupManagersScopedListWarning() { | 2674 buildInstanceGroupManagersScopedListWarning() { |
2368 var o = new api.InstanceGroupManagersScopedListWarning(); | 2675 var o = new api.InstanceGroupManagersScopedListWarning(); |
2369 buildCounterInstanceGroupManagersScopedListWarning++; | 2676 buildCounterInstanceGroupManagersScopedListWarning++; |
2370 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 2677 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
2371 o.code = "foo"; | 2678 o.code = "foo"; |
2372 o.data = buildUnnamed1268(); | 2679 o.data = buildUnnamed569(); |
2373 o.message = "foo"; | 2680 o.message = "foo"; |
2374 } | 2681 } |
2375 buildCounterInstanceGroupManagersScopedListWarning--; | 2682 buildCounterInstanceGroupManagersScopedListWarning--; |
2376 return o; | 2683 return o; |
2377 } | 2684 } |
2378 | 2685 |
2379 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { | 2686 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { |
2380 buildCounterInstanceGroupManagersScopedListWarning++; | 2687 buildCounterInstanceGroupManagersScopedListWarning++; |
2381 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 2688 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
2382 unittest.expect(o.code, unittest.equals('foo')); | 2689 unittest.expect(o.code, unittest.equals('foo')); |
2383 checkUnnamed1268(o.data); | 2690 checkUnnamed569(o.data); |
2384 unittest.expect(o.message, unittest.equals('foo')); | 2691 unittest.expect(o.message, unittest.equals('foo')); |
2385 } | 2692 } |
2386 buildCounterInstanceGroupManagersScopedListWarning--; | 2693 buildCounterInstanceGroupManagersScopedListWarning--; |
2387 } | 2694 } |
2388 | 2695 |
2389 core.int buildCounterInstanceGroupManagersScopedList = 0; | 2696 core.int buildCounterInstanceGroupManagersScopedList = 0; |
2390 buildInstanceGroupManagersScopedList() { | 2697 buildInstanceGroupManagersScopedList() { |
2391 var o = new api.InstanceGroupManagersScopedList(); | 2698 var o = new api.InstanceGroupManagersScopedList(); |
2392 buildCounterInstanceGroupManagersScopedList++; | 2699 buildCounterInstanceGroupManagersScopedList++; |
2393 if (buildCounterInstanceGroupManagersScopedList < 3) { | 2700 if (buildCounterInstanceGroupManagersScopedList < 3) { |
2394 o.instanceGroupManagers = buildUnnamed1267(); | 2701 o.instanceGroupManagers = buildUnnamed568(); |
2395 o.warning = buildInstanceGroupManagersScopedListWarning(); | 2702 o.warning = buildInstanceGroupManagersScopedListWarning(); |
2396 } | 2703 } |
2397 buildCounterInstanceGroupManagersScopedList--; | 2704 buildCounterInstanceGroupManagersScopedList--; |
2398 return o; | 2705 return o; |
2399 } | 2706 } |
2400 | 2707 |
2401 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { | 2708 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { |
2402 buildCounterInstanceGroupManagersScopedList++; | 2709 buildCounterInstanceGroupManagersScopedList++; |
2403 if (buildCounterInstanceGroupManagersScopedList < 3) { | 2710 if (buildCounterInstanceGroupManagersScopedList < 3) { |
2404 checkUnnamed1267(o.instanceGroupManagers); | 2711 checkUnnamed568(o.instanceGroupManagers); |
2405 checkInstanceGroupManagersScopedListWarning(o.warning); | 2712 checkInstanceGroupManagersScopedListWarning(o.warning); |
2406 } | 2713 } |
2407 buildCounterInstanceGroupManagersScopedList--; | 2714 buildCounterInstanceGroupManagersScopedList--; |
2408 } | 2715 } |
2409 | 2716 |
2410 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; | 2717 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; |
2411 buildInstanceGroupManagersSetInstanceTemplateRequest() { | 2718 buildInstanceGroupManagersSetInstanceTemplateRequest() { |
2412 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); | 2719 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); |
2413 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 2720 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
2414 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 2721 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
2415 o.instanceTemplate = "foo"; | 2722 o.instanceTemplate = "foo"; |
2416 } | 2723 } |
2417 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 2724 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
2418 return o; | 2725 return o; |
2419 } | 2726 } |
2420 | 2727 |
2421 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { | 2728 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { |
2422 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 2729 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
2423 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 2730 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
2424 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 2731 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
2425 } | 2732 } |
2426 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 2733 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
2427 } | 2734 } |
2428 | 2735 |
2429 buildUnnamed1269() { | 2736 buildUnnamed570() { |
2430 var o = new core.List<core.String>(); | 2737 var o = new core.List<core.String>(); |
2431 o.add("foo"); | 2738 o.add("foo"); |
2432 o.add("foo"); | 2739 o.add("foo"); |
2433 return o; | 2740 return o; |
2434 } | 2741 } |
2435 | 2742 |
2436 checkUnnamed1269(core.List<core.String> o) { | 2743 checkUnnamed570(core.List<core.String> o) { |
2437 unittest.expect(o, unittest.hasLength(2)); | 2744 unittest.expect(o, unittest.hasLength(2)); |
2438 unittest.expect(o[0], unittest.equals('foo')); | 2745 unittest.expect(o[0], unittest.equals('foo')); |
2439 unittest.expect(o[1], unittest.equals('foo')); | 2746 unittest.expect(o[1], unittest.equals('foo')); |
2440 } | 2747 } |
2441 | 2748 |
2442 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; | 2749 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; |
2443 buildInstanceGroupManagersSetTargetPoolsRequest() { | 2750 buildInstanceGroupManagersSetTargetPoolsRequest() { |
2444 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); | 2751 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); |
2445 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 2752 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
2446 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 2753 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
2447 o.fingerprint = "foo"; | 2754 o.fingerprint = "foo"; |
2448 o.targetPools = buildUnnamed1269(); | 2755 o.targetPools = buildUnnamed570(); |
2449 } | 2756 } |
2450 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 2757 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
2451 return o; | 2758 return o; |
2452 } | 2759 } |
2453 | 2760 |
2454 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { | 2761 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { |
2455 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 2762 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
2456 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 2763 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
2457 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2764 unittest.expect(o.fingerprint, unittest.equals('foo')); |
2458 checkUnnamed1269(o.targetPools); | 2765 checkUnnamed570(o.targetPools); |
2459 } | 2766 } |
2460 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 2767 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
2461 } | 2768 } |
2462 | 2769 |
2463 buildUnnamed1270() { | 2770 buildUnnamed571() { |
2464 var o = new core.List<api.InstanceReference>(); | 2771 var o = new core.List<api.InstanceReference>(); |
2465 o.add(buildInstanceReference()); | 2772 o.add(buildInstanceReference()); |
2466 o.add(buildInstanceReference()); | 2773 o.add(buildInstanceReference()); |
2467 return o; | 2774 return o; |
2468 } | 2775 } |
2469 | 2776 |
2470 checkUnnamed1270(core.List<api.InstanceReference> o) { | 2777 checkUnnamed571(core.List<api.InstanceReference> o) { |
2471 unittest.expect(o, unittest.hasLength(2)); | 2778 unittest.expect(o, unittest.hasLength(2)); |
2472 checkInstanceReference(o[0]); | 2779 checkInstanceReference(o[0]); |
2473 checkInstanceReference(o[1]); | 2780 checkInstanceReference(o[1]); |
2474 } | 2781 } |
2475 | 2782 |
2476 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; | 2783 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; |
2477 buildInstanceGroupsAddInstancesRequest() { | 2784 buildInstanceGroupsAddInstancesRequest() { |
2478 var o = new api.InstanceGroupsAddInstancesRequest(); | 2785 var o = new api.InstanceGroupsAddInstancesRequest(); |
2479 buildCounterInstanceGroupsAddInstancesRequest++; | 2786 buildCounterInstanceGroupsAddInstancesRequest++; |
2480 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 2787 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
2481 o.instances = buildUnnamed1270(); | 2788 o.instances = buildUnnamed571(); |
2482 } | 2789 } |
2483 buildCounterInstanceGroupsAddInstancesRequest--; | 2790 buildCounterInstanceGroupsAddInstancesRequest--; |
2484 return o; | 2791 return o; |
2485 } | 2792 } |
2486 | 2793 |
2487 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ | 2794 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ |
2488 buildCounterInstanceGroupsAddInstancesRequest++; | 2795 buildCounterInstanceGroupsAddInstancesRequest++; |
2489 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 2796 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
2490 checkUnnamed1270(o.instances); | 2797 checkUnnamed571(o.instances); |
2491 } | 2798 } |
2492 buildCounterInstanceGroupsAddInstancesRequest--; | 2799 buildCounterInstanceGroupsAddInstancesRequest--; |
2493 } | 2800 } |
2494 | 2801 |
2495 buildUnnamed1271() { | 2802 buildUnnamed572() { |
2496 var o = new core.List<api.InstanceWithNamedPorts>(); | 2803 var o = new core.List<api.InstanceWithNamedPorts>(); |
2497 o.add(buildInstanceWithNamedPorts()); | 2804 o.add(buildInstanceWithNamedPorts()); |
2498 o.add(buildInstanceWithNamedPorts()); | 2805 o.add(buildInstanceWithNamedPorts()); |
2499 return o; | 2806 return o; |
2500 } | 2807 } |
2501 | 2808 |
2502 checkUnnamed1271(core.List<api.InstanceWithNamedPorts> o) { | 2809 checkUnnamed572(core.List<api.InstanceWithNamedPorts> o) { |
2503 unittest.expect(o, unittest.hasLength(2)); | 2810 unittest.expect(o, unittest.hasLength(2)); |
2504 checkInstanceWithNamedPorts(o[0]); | 2811 checkInstanceWithNamedPorts(o[0]); |
2505 checkInstanceWithNamedPorts(o[1]); | 2812 checkInstanceWithNamedPorts(o[1]); |
2506 } | 2813 } |
2507 | 2814 |
2508 core.int buildCounterInstanceGroupsListInstances = 0; | 2815 core.int buildCounterInstanceGroupsListInstances = 0; |
2509 buildInstanceGroupsListInstances() { | 2816 buildInstanceGroupsListInstances() { |
2510 var o = new api.InstanceGroupsListInstances(); | 2817 var o = new api.InstanceGroupsListInstances(); |
2511 buildCounterInstanceGroupsListInstances++; | 2818 buildCounterInstanceGroupsListInstances++; |
2512 if (buildCounterInstanceGroupsListInstances < 3) { | 2819 if (buildCounterInstanceGroupsListInstances < 3) { |
2513 o.id = "foo"; | 2820 o.id = "foo"; |
2514 o.items = buildUnnamed1271(); | 2821 o.items = buildUnnamed572(); |
2515 o.kind = "foo"; | 2822 o.kind = "foo"; |
2516 o.nextPageToken = "foo"; | 2823 o.nextPageToken = "foo"; |
2517 o.selfLink = "foo"; | 2824 o.selfLink = "foo"; |
2518 } | 2825 } |
2519 buildCounterInstanceGroupsListInstances--; | 2826 buildCounterInstanceGroupsListInstances--; |
2520 return o; | 2827 return o; |
2521 } | 2828 } |
2522 | 2829 |
2523 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { | 2830 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { |
2524 buildCounterInstanceGroupsListInstances++; | 2831 buildCounterInstanceGroupsListInstances++; |
2525 if (buildCounterInstanceGroupsListInstances < 3) { | 2832 if (buildCounterInstanceGroupsListInstances < 3) { |
2526 unittest.expect(o.id, unittest.equals('foo')); | 2833 unittest.expect(o.id, unittest.equals('foo')); |
2527 checkUnnamed1271(o.items); | 2834 checkUnnamed572(o.items); |
2528 unittest.expect(o.kind, unittest.equals('foo')); | 2835 unittest.expect(o.kind, unittest.equals('foo')); |
2529 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2836 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2530 unittest.expect(o.selfLink, unittest.equals('foo')); | 2837 unittest.expect(o.selfLink, unittest.equals('foo')); |
2531 } | 2838 } |
2532 buildCounterInstanceGroupsListInstances--; | 2839 buildCounterInstanceGroupsListInstances--; |
2533 } | 2840 } |
2534 | 2841 |
2535 core.int buildCounterInstanceGroupsListInstancesRequest = 0; | 2842 core.int buildCounterInstanceGroupsListInstancesRequest = 0; |
2536 buildInstanceGroupsListInstancesRequest() { | 2843 buildInstanceGroupsListInstancesRequest() { |
2537 var o = new api.InstanceGroupsListInstancesRequest(); | 2844 var o = new api.InstanceGroupsListInstancesRequest(); |
2538 buildCounterInstanceGroupsListInstancesRequest++; | 2845 buildCounterInstanceGroupsListInstancesRequest++; |
2539 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 2846 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
2540 o.instanceState = "foo"; | 2847 o.instanceState = "foo"; |
2541 o.portName = "foo"; | 2848 o.portName = "foo"; |
2542 } | 2849 } |
2543 buildCounterInstanceGroupsListInstancesRequest--; | 2850 buildCounterInstanceGroupsListInstancesRequest--; |
2544 return o; | 2851 return o; |
2545 } | 2852 } |
2546 | 2853 |
2547 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { | 2854 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { |
2548 buildCounterInstanceGroupsListInstancesRequest++; | 2855 buildCounterInstanceGroupsListInstancesRequest++; |
2549 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 2856 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
2550 unittest.expect(o.instanceState, unittest.equals('foo')); | 2857 unittest.expect(o.instanceState, unittest.equals('foo')); |
2551 unittest.expect(o.portName, unittest.equals('foo')); | 2858 unittest.expect(o.portName, unittest.equals('foo')); |
2552 } | 2859 } |
2553 buildCounterInstanceGroupsListInstancesRequest--; | 2860 buildCounterInstanceGroupsListInstancesRequest--; |
2554 } | 2861 } |
2555 | 2862 |
2556 buildUnnamed1272() { | 2863 buildUnnamed573() { |
2557 var o = new core.List<api.InstanceReference>(); | 2864 var o = new core.List<api.InstanceReference>(); |
2558 o.add(buildInstanceReference()); | 2865 o.add(buildInstanceReference()); |
2559 o.add(buildInstanceReference()); | 2866 o.add(buildInstanceReference()); |
2560 return o; | 2867 return o; |
2561 } | 2868 } |
2562 | 2869 |
2563 checkUnnamed1272(core.List<api.InstanceReference> o) { | 2870 checkUnnamed573(core.List<api.InstanceReference> o) { |
2564 unittest.expect(o, unittest.hasLength(2)); | 2871 unittest.expect(o, unittest.hasLength(2)); |
2565 checkInstanceReference(o[0]); | 2872 checkInstanceReference(o[0]); |
2566 checkInstanceReference(o[1]); | 2873 checkInstanceReference(o[1]); |
2567 } | 2874 } |
2568 | 2875 |
2569 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; | 2876 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; |
2570 buildInstanceGroupsRemoveInstancesRequest() { | 2877 buildInstanceGroupsRemoveInstancesRequest() { |
2571 var o = new api.InstanceGroupsRemoveInstancesRequest(); | 2878 var o = new api.InstanceGroupsRemoveInstancesRequest(); |
2572 buildCounterInstanceGroupsRemoveInstancesRequest++; | 2879 buildCounterInstanceGroupsRemoveInstancesRequest++; |
2573 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 2880 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
2574 o.instances = buildUnnamed1272(); | 2881 o.instances = buildUnnamed573(); |
2575 } | 2882 } |
2576 buildCounterInstanceGroupsRemoveInstancesRequest--; | 2883 buildCounterInstanceGroupsRemoveInstancesRequest--; |
2577 return o; | 2884 return o; |
2578 } | 2885 } |
2579 | 2886 |
2580 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { | 2887 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { |
2581 buildCounterInstanceGroupsRemoveInstancesRequest++; | 2888 buildCounterInstanceGroupsRemoveInstancesRequest++; |
2582 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 2889 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
2583 checkUnnamed1272(o.instances); | 2890 checkUnnamed573(o.instances); |
2584 } | 2891 } |
2585 buildCounterInstanceGroupsRemoveInstancesRequest--; | 2892 buildCounterInstanceGroupsRemoveInstancesRequest--; |
2586 } | 2893 } |
2587 | 2894 |
2588 buildUnnamed1273() { | 2895 buildUnnamed574() { |
2589 var o = new core.List<api.InstanceGroup>(); | 2896 var o = new core.List<api.InstanceGroup>(); |
2590 o.add(buildInstanceGroup()); | 2897 o.add(buildInstanceGroup()); |
2591 o.add(buildInstanceGroup()); | 2898 o.add(buildInstanceGroup()); |
2592 return o; | 2899 return o; |
2593 } | 2900 } |
2594 | 2901 |
2595 checkUnnamed1273(core.List<api.InstanceGroup> o) { | 2902 checkUnnamed574(core.List<api.InstanceGroup> o) { |
2596 unittest.expect(o, unittest.hasLength(2)); | 2903 unittest.expect(o, unittest.hasLength(2)); |
2597 checkInstanceGroup(o[0]); | 2904 checkInstanceGroup(o[0]); |
2598 checkInstanceGroup(o[1]); | 2905 checkInstanceGroup(o[1]); |
2599 } | 2906 } |
2600 | 2907 |
2601 core.int buildCounterInstanceGroupsScopedListWarningData = 0; | 2908 core.int buildCounterInstanceGroupsScopedListWarningData = 0; |
2602 buildInstanceGroupsScopedListWarningData() { | 2909 buildInstanceGroupsScopedListWarningData() { |
2603 var o = new api.InstanceGroupsScopedListWarningData(); | 2910 var o = new api.InstanceGroupsScopedListWarningData(); |
2604 buildCounterInstanceGroupsScopedListWarningData++; | 2911 buildCounterInstanceGroupsScopedListWarningData++; |
2605 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 2912 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
2606 o.key = "foo"; | 2913 o.key = "foo"; |
2607 o.value = "foo"; | 2914 o.value = "foo"; |
2608 } | 2915 } |
2609 buildCounterInstanceGroupsScopedListWarningData--; | 2916 buildCounterInstanceGroupsScopedListWarningData--; |
2610 return o; | 2917 return o; |
2611 } | 2918 } |
2612 | 2919 |
2613 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { | 2920 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { |
2614 buildCounterInstanceGroupsScopedListWarningData++; | 2921 buildCounterInstanceGroupsScopedListWarningData++; |
2615 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 2922 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
2616 unittest.expect(o.key, unittest.equals('foo')); | 2923 unittest.expect(o.key, unittest.equals('foo')); |
2617 unittest.expect(o.value, unittest.equals('foo')); | 2924 unittest.expect(o.value, unittest.equals('foo')); |
2618 } | 2925 } |
2619 buildCounterInstanceGroupsScopedListWarningData--; | 2926 buildCounterInstanceGroupsScopedListWarningData--; |
2620 } | 2927 } |
2621 | 2928 |
2622 buildUnnamed1274() { | 2929 buildUnnamed575() { |
2623 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); | 2930 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); |
2624 o.add(buildInstanceGroupsScopedListWarningData()); | 2931 o.add(buildInstanceGroupsScopedListWarningData()); |
2625 o.add(buildInstanceGroupsScopedListWarningData()); | 2932 o.add(buildInstanceGroupsScopedListWarningData()); |
2626 return o; | 2933 return o; |
2627 } | 2934 } |
2628 | 2935 |
2629 checkUnnamed1274(core.List<api.InstanceGroupsScopedListWarningData> o) { | 2936 checkUnnamed575(core.List<api.InstanceGroupsScopedListWarningData> o) { |
2630 unittest.expect(o, unittest.hasLength(2)); | 2937 unittest.expect(o, unittest.hasLength(2)); |
2631 checkInstanceGroupsScopedListWarningData(o[0]); | 2938 checkInstanceGroupsScopedListWarningData(o[0]); |
2632 checkInstanceGroupsScopedListWarningData(o[1]); | 2939 checkInstanceGroupsScopedListWarningData(o[1]); |
2633 } | 2940 } |
2634 | 2941 |
2635 core.int buildCounterInstanceGroupsScopedListWarning = 0; | 2942 core.int buildCounterInstanceGroupsScopedListWarning = 0; |
2636 buildInstanceGroupsScopedListWarning() { | 2943 buildInstanceGroupsScopedListWarning() { |
2637 var o = new api.InstanceGroupsScopedListWarning(); | 2944 var o = new api.InstanceGroupsScopedListWarning(); |
2638 buildCounterInstanceGroupsScopedListWarning++; | 2945 buildCounterInstanceGroupsScopedListWarning++; |
2639 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 2946 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
2640 o.code = "foo"; | 2947 o.code = "foo"; |
2641 o.data = buildUnnamed1274(); | 2948 o.data = buildUnnamed575(); |
2642 o.message = "foo"; | 2949 o.message = "foo"; |
2643 } | 2950 } |
2644 buildCounterInstanceGroupsScopedListWarning--; | 2951 buildCounterInstanceGroupsScopedListWarning--; |
2645 return o; | 2952 return o; |
2646 } | 2953 } |
2647 | 2954 |
2648 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { | 2955 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { |
2649 buildCounterInstanceGroupsScopedListWarning++; | 2956 buildCounterInstanceGroupsScopedListWarning++; |
2650 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 2957 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
2651 unittest.expect(o.code, unittest.equals('foo')); | 2958 unittest.expect(o.code, unittest.equals('foo')); |
2652 checkUnnamed1274(o.data); | 2959 checkUnnamed575(o.data); |
2653 unittest.expect(o.message, unittest.equals('foo')); | 2960 unittest.expect(o.message, unittest.equals('foo')); |
2654 } | 2961 } |
2655 buildCounterInstanceGroupsScopedListWarning--; | 2962 buildCounterInstanceGroupsScopedListWarning--; |
2656 } | 2963 } |
2657 | 2964 |
2658 core.int buildCounterInstanceGroupsScopedList = 0; | 2965 core.int buildCounterInstanceGroupsScopedList = 0; |
2659 buildInstanceGroupsScopedList() { | 2966 buildInstanceGroupsScopedList() { |
2660 var o = new api.InstanceGroupsScopedList(); | 2967 var o = new api.InstanceGroupsScopedList(); |
2661 buildCounterInstanceGroupsScopedList++; | 2968 buildCounterInstanceGroupsScopedList++; |
2662 if (buildCounterInstanceGroupsScopedList < 3) { | 2969 if (buildCounterInstanceGroupsScopedList < 3) { |
2663 o.instanceGroups = buildUnnamed1273(); | 2970 o.instanceGroups = buildUnnamed574(); |
2664 o.warning = buildInstanceGroupsScopedListWarning(); | 2971 o.warning = buildInstanceGroupsScopedListWarning(); |
2665 } | 2972 } |
2666 buildCounterInstanceGroupsScopedList--; | 2973 buildCounterInstanceGroupsScopedList--; |
2667 return o; | 2974 return o; |
2668 } | 2975 } |
2669 | 2976 |
2670 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { | 2977 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { |
2671 buildCounterInstanceGroupsScopedList++; | 2978 buildCounterInstanceGroupsScopedList++; |
2672 if (buildCounterInstanceGroupsScopedList < 3) { | 2979 if (buildCounterInstanceGroupsScopedList < 3) { |
2673 checkUnnamed1273(o.instanceGroups); | 2980 checkUnnamed574(o.instanceGroups); |
2674 checkInstanceGroupsScopedListWarning(o.warning); | 2981 checkInstanceGroupsScopedListWarning(o.warning); |
2675 } | 2982 } |
2676 buildCounterInstanceGroupsScopedList--; | 2983 buildCounterInstanceGroupsScopedList--; |
2677 } | 2984 } |
2678 | 2985 |
2679 buildUnnamed1275() { | 2986 buildUnnamed576() { |
2680 var o = new core.List<api.NamedPort>(); | 2987 var o = new core.List<api.NamedPort>(); |
2681 o.add(buildNamedPort()); | 2988 o.add(buildNamedPort()); |
2682 o.add(buildNamedPort()); | 2989 o.add(buildNamedPort()); |
2683 return o; | 2990 return o; |
2684 } | 2991 } |
2685 | 2992 |
2686 checkUnnamed1275(core.List<api.NamedPort> o) { | 2993 checkUnnamed576(core.List<api.NamedPort> o) { |
2687 unittest.expect(o, unittest.hasLength(2)); | 2994 unittest.expect(o, unittest.hasLength(2)); |
2688 checkNamedPort(o[0]); | 2995 checkNamedPort(o[0]); |
2689 checkNamedPort(o[1]); | 2996 checkNamedPort(o[1]); |
2690 } | 2997 } |
2691 | 2998 |
2692 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; | 2999 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; |
2693 buildInstanceGroupsSetNamedPortsRequest() { | 3000 buildInstanceGroupsSetNamedPortsRequest() { |
2694 var o = new api.InstanceGroupsSetNamedPortsRequest(); | 3001 var o = new api.InstanceGroupsSetNamedPortsRequest(); |
2695 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3002 buildCounterInstanceGroupsSetNamedPortsRequest++; |
2696 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3003 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
2697 o.fingerprint = "foo"; | 3004 o.fingerprint = "foo"; |
2698 o.namedPorts = buildUnnamed1275(); | 3005 o.namedPorts = buildUnnamed576(); |
2699 } | 3006 } |
2700 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3007 buildCounterInstanceGroupsSetNamedPortsRequest--; |
2701 return o; | 3008 return o; |
2702 } | 3009 } |
2703 | 3010 |
2704 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { | 3011 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { |
2705 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3012 buildCounterInstanceGroupsSetNamedPortsRequest++; |
2706 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3013 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
2707 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3014 unittest.expect(o.fingerprint, unittest.equals('foo')); |
2708 checkUnnamed1275(o.namedPorts); | 3015 checkUnnamed576(o.namedPorts); |
2709 } | 3016 } |
2710 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3017 buildCounterInstanceGroupsSetNamedPortsRequest--; |
2711 } | 3018 } |
2712 | 3019 |
2713 buildUnnamed1276() { | 3020 buildUnnamed577() { |
2714 var o = new core.List<api.Instance>(); | 3021 var o = new core.List<api.Instance>(); |
2715 o.add(buildInstance()); | 3022 o.add(buildInstance()); |
2716 o.add(buildInstance()); | 3023 o.add(buildInstance()); |
2717 return o; | 3024 return o; |
2718 } | 3025 } |
2719 | 3026 |
2720 checkUnnamed1276(core.List<api.Instance> o) { | 3027 checkUnnamed577(core.List<api.Instance> o) { |
2721 unittest.expect(o, unittest.hasLength(2)); | 3028 unittest.expect(o, unittest.hasLength(2)); |
2722 checkInstance(o[0]); | 3029 checkInstance(o[0]); |
2723 checkInstance(o[1]); | 3030 checkInstance(o[1]); |
2724 } | 3031 } |
2725 | 3032 |
2726 core.int buildCounterInstanceList = 0; | 3033 core.int buildCounterInstanceList = 0; |
2727 buildInstanceList() { | 3034 buildInstanceList() { |
2728 var o = new api.InstanceList(); | 3035 var o = new api.InstanceList(); |
2729 buildCounterInstanceList++; | 3036 buildCounterInstanceList++; |
2730 if (buildCounterInstanceList < 3) { | 3037 if (buildCounterInstanceList < 3) { |
2731 o.id = "foo"; | 3038 o.id = "foo"; |
2732 o.items = buildUnnamed1276(); | 3039 o.items = buildUnnamed577(); |
2733 o.kind = "foo"; | 3040 o.kind = "foo"; |
2734 o.nextPageToken = "foo"; | 3041 o.nextPageToken = "foo"; |
2735 o.selfLink = "foo"; | 3042 o.selfLink = "foo"; |
2736 } | 3043 } |
2737 buildCounterInstanceList--; | 3044 buildCounterInstanceList--; |
2738 return o; | 3045 return o; |
2739 } | 3046 } |
2740 | 3047 |
2741 checkInstanceList(api.InstanceList o) { | 3048 checkInstanceList(api.InstanceList o) { |
2742 buildCounterInstanceList++; | 3049 buildCounterInstanceList++; |
2743 if (buildCounterInstanceList < 3) { | 3050 if (buildCounterInstanceList < 3) { |
2744 unittest.expect(o.id, unittest.equals('foo')); | 3051 unittest.expect(o.id, unittest.equals('foo')); |
2745 checkUnnamed1276(o.items); | 3052 checkUnnamed577(o.items); |
2746 unittest.expect(o.kind, unittest.equals('foo')); | 3053 unittest.expect(o.kind, unittest.equals('foo')); |
2747 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3054 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2748 unittest.expect(o.selfLink, unittest.equals('foo')); | 3055 unittest.expect(o.selfLink, unittest.equals('foo')); |
2749 } | 3056 } |
2750 buildCounterInstanceList--; | 3057 buildCounterInstanceList--; |
2751 } | 3058 } |
2752 | 3059 |
2753 core.int buildCounterInstanceMoveRequest = 0; | 3060 core.int buildCounterInstanceMoveRequest = 0; |
2754 buildInstanceMoveRequest() { | 3061 buildInstanceMoveRequest() { |
2755 var o = new api.InstanceMoveRequest(); | 3062 var o = new api.InstanceMoveRequest(); |
2756 buildCounterInstanceMoveRequest++; | 3063 buildCounterInstanceMoveRequest++; |
2757 if (buildCounterInstanceMoveRequest < 3) { | 3064 if (buildCounterInstanceMoveRequest < 3) { |
2758 o.destinationZone = "foo"; | 3065 o.destinationZone = "foo"; |
2759 o.targetInstance = "foo"; | 3066 o.targetInstance = "foo"; |
2760 } | 3067 } |
2761 buildCounterInstanceMoveRequest--; | 3068 buildCounterInstanceMoveRequest--; |
2762 return o; | 3069 return o; |
2763 } | 3070 } |
2764 | 3071 |
2765 checkInstanceMoveRequest(api.InstanceMoveRequest o) { | 3072 checkInstanceMoveRequest(api.InstanceMoveRequest o) { |
2766 buildCounterInstanceMoveRequest++; | 3073 buildCounterInstanceMoveRequest++; |
2767 if (buildCounterInstanceMoveRequest < 3) { | 3074 if (buildCounterInstanceMoveRequest < 3) { |
2768 unittest.expect(o.destinationZone, unittest.equals('foo')); | 3075 unittest.expect(o.destinationZone, unittest.equals('foo')); |
2769 unittest.expect(o.targetInstance, unittest.equals('foo')); | 3076 unittest.expect(o.targetInstance, unittest.equals('foo')); |
2770 } | 3077 } |
2771 buildCounterInstanceMoveRequest--; | 3078 buildCounterInstanceMoveRequest--; |
2772 } | 3079 } |
2773 | 3080 |
2774 buildUnnamed1277() { | 3081 buildUnnamed578() { |
2775 var o = new core.List<api.AttachedDisk>(); | 3082 var o = new core.List<api.AttachedDisk>(); |
2776 o.add(buildAttachedDisk()); | 3083 o.add(buildAttachedDisk()); |
2777 o.add(buildAttachedDisk()); | 3084 o.add(buildAttachedDisk()); |
2778 return o; | 3085 return o; |
2779 } | 3086 } |
2780 | 3087 |
2781 checkUnnamed1277(core.List<api.AttachedDisk> o) { | 3088 checkUnnamed578(core.List<api.AttachedDisk> o) { |
2782 unittest.expect(o, unittest.hasLength(2)); | 3089 unittest.expect(o, unittest.hasLength(2)); |
2783 checkAttachedDisk(o[0]); | 3090 checkAttachedDisk(o[0]); |
2784 checkAttachedDisk(o[1]); | 3091 checkAttachedDisk(o[1]); |
2785 } | 3092 } |
2786 | 3093 |
2787 buildUnnamed1278() { | 3094 buildUnnamed579() { |
2788 var o = new core.List<api.NetworkInterface>(); | 3095 var o = new core.List<api.NetworkInterface>(); |
2789 o.add(buildNetworkInterface()); | 3096 o.add(buildNetworkInterface()); |
2790 o.add(buildNetworkInterface()); | 3097 o.add(buildNetworkInterface()); |
2791 return o; | 3098 return o; |
2792 } | 3099 } |
2793 | 3100 |
2794 checkUnnamed1278(core.List<api.NetworkInterface> o) { | 3101 checkUnnamed579(core.List<api.NetworkInterface> o) { |
2795 unittest.expect(o, unittest.hasLength(2)); | 3102 unittest.expect(o, unittest.hasLength(2)); |
2796 checkNetworkInterface(o[0]); | 3103 checkNetworkInterface(o[0]); |
2797 checkNetworkInterface(o[1]); | 3104 checkNetworkInterface(o[1]); |
2798 } | 3105 } |
2799 | 3106 |
2800 buildUnnamed1279() { | 3107 buildUnnamed580() { |
2801 var o = new core.List<api.ServiceAccount>(); | 3108 var o = new core.List<api.ServiceAccount>(); |
2802 o.add(buildServiceAccount()); | 3109 o.add(buildServiceAccount()); |
2803 o.add(buildServiceAccount()); | 3110 o.add(buildServiceAccount()); |
2804 return o; | 3111 return o; |
2805 } | 3112 } |
2806 | 3113 |
2807 checkUnnamed1279(core.List<api.ServiceAccount> o) { | 3114 checkUnnamed580(core.List<api.ServiceAccount> o) { |
2808 unittest.expect(o, unittest.hasLength(2)); | 3115 unittest.expect(o, unittest.hasLength(2)); |
2809 checkServiceAccount(o[0]); | 3116 checkServiceAccount(o[0]); |
2810 checkServiceAccount(o[1]); | 3117 checkServiceAccount(o[1]); |
2811 } | 3118 } |
2812 | 3119 |
2813 core.int buildCounterInstanceProperties = 0; | 3120 core.int buildCounterInstanceProperties = 0; |
2814 buildInstanceProperties() { | 3121 buildInstanceProperties() { |
2815 var o = new api.InstanceProperties(); | 3122 var o = new api.InstanceProperties(); |
2816 buildCounterInstanceProperties++; | 3123 buildCounterInstanceProperties++; |
2817 if (buildCounterInstanceProperties < 3) { | 3124 if (buildCounterInstanceProperties < 3) { |
2818 o.canIpForward = true; | 3125 o.canIpForward = true; |
2819 o.description = "foo"; | 3126 o.description = "foo"; |
2820 o.disks = buildUnnamed1277(); | 3127 o.disks = buildUnnamed578(); |
2821 o.machineType = "foo"; | 3128 o.machineType = "foo"; |
2822 o.metadata = buildMetadata(); | 3129 o.metadata = buildMetadata(); |
2823 o.networkInterfaces = buildUnnamed1278(); | 3130 o.networkInterfaces = buildUnnamed579(); |
2824 o.scheduling = buildScheduling(); | 3131 o.scheduling = buildScheduling(); |
2825 o.serviceAccounts = buildUnnamed1279(); | 3132 o.serviceAccounts = buildUnnamed580(); |
2826 o.tags = buildTags(); | 3133 o.tags = buildTags(); |
2827 } | 3134 } |
2828 buildCounterInstanceProperties--; | 3135 buildCounterInstanceProperties--; |
2829 return o; | 3136 return o; |
2830 } | 3137 } |
2831 | 3138 |
2832 checkInstanceProperties(api.InstanceProperties o) { | 3139 checkInstanceProperties(api.InstanceProperties o) { |
2833 buildCounterInstanceProperties++; | 3140 buildCounterInstanceProperties++; |
2834 if (buildCounterInstanceProperties < 3) { | 3141 if (buildCounterInstanceProperties < 3) { |
2835 unittest.expect(o.canIpForward, unittest.isTrue); | 3142 unittest.expect(o.canIpForward, unittest.isTrue); |
2836 unittest.expect(o.description, unittest.equals('foo')); | 3143 unittest.expect(o.description, unittest.equals('foo')); |
2837 checkUnnamed1277(o.disks); | 3144 checkUnnamed578(o.disks); |
2838 unittest.expect(o.machineType, unittest.equals('foo')); | 3145 unittest.expect(o.machineType, unittest.equals('foo')); |
2839 checkMetadata(o.metadata); | 3146 checkMetadata(o.metadata); |
2840 checkUnnamed1278(o.networkInterfaces); | 3147 checkUnnamed579(o.networkInterfaces); |
2841 checkScheduling(o.scheduling); | 3148 checkScheduling(o.scheduling); |
2842 checkUnnamed1279(o.serviceAccounts); | 3149 checkUnnamed580(o.serviceAccounts); |
2843 checkTags(o.tags); | 3150 checkTags(o.tags); |
2844 } | 3151 } |
2845 buildCounterInstanceProperties--; | 3152 buildCounterInstanceProperties--; |
2846 } | 3153 } |
2847 | 3154 |
2848 core.int buildCounterInstanceReference = 0; | 3155 core.int buildCounterInstanceReference = 0; |
2849 buildInstanceReference() { | 3156 buildInstanceReference() { |
2850 var o = new api.InstanceReference(); | 3157 var o = new api.InstanceReference(); |
2851 buildCounterInstanceReference++; | 3158 buildCounterInstanceReference++; |
2852 if (buildCounterInstanceReference < 3) { | 3159 if (buildCounterInstanceReference < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2888 unittest.expect(o.description, unittest.equals('foo')); | 3195 unittest.expect(o.description, unittest.equals('foo')); |
2889 unittest.expect(o.id, unittest.equals('foo')); | 3196 unittest.expect(o.id, unittest.equals('foo')); |
2890 unittest.expect(o.kind, unittest.equals('foo')); | 3197 unittest.expect(o.kind, unittest.equals('foo')); |
2891 unittest.expect(o.name, unittest.equals('foo')); | 3198 unittest.expect(o.name, unittest.equals('foo')); |
2892 checkInstanceProperties(o.properties); | 3199 checkInstanceProperties(o.properties); |
2893 unittest.expect(o.selfLink, unittest.equals('foo')); | 3200 unittest.expect(o.selfLink, unittest.equals('foo')); |
2894 } | 3201 } |
2895 buildCounterInstanceTemplate--; | 3202 buildCounterInstanceTemplate--; |
2896 } | 3203 } |
2897 | 3204 |
2898 buildUnnamed1280() { | 3205 buildUnnamed581() { |
2899 var o = new core.List<api.InstanceTemplate>(); | 3206 var o = new core.List<api.InstanceTemplate>(); |
2900 o.add(buildInstanceTemplate()); | 3207 o.add(buildInstanceTemplate()); |
2901 o.add(buildInstanceTemplate()); | 3208 o.add(buildInstanceTemplate()); |
2902 return o; | 3209 return o; |
2903 } | 3210 } |
2904 | 3211 |
2905 checkUnnamed1280(core.List<api.InstanceTemplate> o) { | 3212 checkUnnamed581(core.List<api.InstanceTemplate> o) { |
2906 unittest.expect(o, unittest.hasLength(2)); | 3213 unittest.expect(o, unittest.hasLength(2)); |
2907 checkInstanceTemplate(o[0]); | 3214 checkInstanceTemplate(o[0]); |
2908 checkInstanceTemplate(o[1]); | 3215 checkInstanceTemplate(o[1]); |
2909 } | 3216 } |
2910 | 3217 |
2911 core.int buildCounterInstanceTemplateList = 0; | 3218 core.int buildCounterInstanceTemplateList = 0; |
2912 buildInstanceTemplateList() { | 3219 buildInstanceTemplateList() { |
2913 var o = new api.InstanceTemplateList(); | 3220 var o = new api.InstanceTemplateList(); |
2914 buildCounterInstanceTemplateList++; | 3221 buildCounterInstanceTemplateList++; |
2915 if (buildCounterInstanceTemplateList < 3) { | 3222 if (buildCounterInstanceTemplateList < 3) { |
2916 o.id = "foo"; | 3223 o.id = "foo"; |
2917 o.items = buildUnnamed1280(); | 3224 o.items = buildUnnamed581(); |
2918 o.kind = "foo"; | 3225 o.kind = "foo"; |
2919 o.nextPageToken = "foo"; | 3226 o.nextPageToken = "foo"; |
2920 o.selfLink = "foo"; | 3227 o.selfLink = "foo"; |
2921 } | 3228 } |
2922 buildCounterInstanceTemplateList--; | 3229 buildCounterInstanceTemplateList--; |
2923 return o; | 3230 return o; |
2924 } | 3231 } |
2925 | 3232 |
2926 checkInstanceTemplateList(api.InstanceTemplateList o) { | 3233 checkInstanceTemplateList(api.InstanceTemplateList o) { |
2927 buildCounterInstanceTemplateList++; | 3234 buildCounterInstanceTemplateList++; |
2928 if (buildCounterInstanceTemplateList < 3) { | 3235 if (buildCounterInstanceTemplateList < 3) { |
2929 unittest.expect(o.id, unittest.equals('foo')); | 3236 unittest.expect(o.id, unittest.equals('foo')); |
2930 checkUnnamed1280(o.items); | 3237 checkUnnamed581(o.items); |
2931 unittest.expect(o.kind, unittest.equals('foo')); | 3238 unittest.expect(o.kind, unittest.equals('foo')); |
2932 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3239 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2933 unittest.expect(o.selfLink, unittest.equals('foo')); | 3240 unittest.expect(o.selfLink, unittest.equals('foo')); |
2934 } | 3241 } |
2935 buildCounterInstanceTemplateList--; | 3242 buildCounterInstanceTemplateList--; |
2936 } | 3243 } |
2937 | 3244 |
2938 buildUnnamed1281() { | 3245 buildUnnamed582() { |
2939 var o = new core.List<api.NamedPort>(); | 3246 var o = new core.List<api.NamedPort>(); |
2940 o.add(buildNamedPort()); | 3247 o.add(buildNamedPort()); |
2941 o.add(buildNamedPort()); | 3248 o.add(buildNamedPort()); |
2942 return o; | 3249 return o; |
2943 } | 3250 } |
2944 | 3251 |
2945 checkUnnamed1281(core.List<api.NamedPort> o) { | 3252 checkUnnamed582(core.List<api.NamedPort> o) { |
2946 unittest.expect(o, unittest.hasLength(2)); | 3253 unittest.expect(o, unittest.hasLength(2)); |
2947 checkNamedPort(o[0]); | 3254 checkNamedPort(o[0]); |
2948 checkNamedPort(o[1]); | 3255 checkNamedPort(o[1]); |
2949 } | 3256 } |
2950 | 3257 |
2951 core.int buildCounterInstanceWithNamedPorts = 0; | 3258 core.int buildCounterInstanceWithNamedPorts = 0; |
2952 buildInstanceWithNamedPorts() { | 3259 buildInstanceWithNamedPorts() { |
2953 var o = new api.InstanceWithNamedPorts(); | 3260 var o = new api.InstanceWithNamedPorts(); |
2954 buildCounterInstanceWithNamedPorts++; | 3261 buildCounterInstanceWithNamedPorts++; |
2955 if (buildCounterInstanceWithNamedPorts < 3) { | 3262 if (buildCounterInstanceWithNamedPorts < 3) { |
2956 o.instance = "foo"; | 3263 o.instance = "foo"; |
2957 o.namedPorts = buildUnnamed1281(); | 3264 o.namedPorts = buildUnnamed582(); |
2958 o.status = "foo"; | 3265 o.status = "foo"; |
2959 } | 3266 } |
2960 buildCounterInstanceWithNamedPorts--; | 3267 buildCounterInstanceWithNamedPorts--; |
2961 return o; | 3268 return o; |
2962 } | 3269 } |
2963 | 3270 |
2964 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { | 3271 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { |
2965 buildCounterInstanceWithNamedPorts++; | 3272 buildCounterInstanceWithNamedPorts++; |
2966 if (buildCounterInstanceWithNamedPorts < 3) { | 3273 if (buildCounterInstanceWithNamedPorts < 3) { |
2967 unittest.expect(o.instance, unittest.equals('foo')); | 3274 unittest.expect(o.instance, unittest.equals('foo')); |
2968 checkUnnamed1281(o.namedPorts); | 3275 checkUnnamed582(o.namedPorts); |
2969 unittest.expect(o.status, unittest.equals('foo')); | 3276 unittest.expect(o.status, unittest.equals('foo')); |
2970 } | 3277 } |
2971 buildCounterInstanceWithNamedPorts--; | 3278 buildCounterInstanceWithNamedPorts--; |
2972 } | 3279 } |
2973 | 3280 |
2974 buildUnnamed1282() { | 3281 buildUnnamed583() { |
2975 var o = new core.List<api.Instance>(); | 3282 var o = new core.List<api.Instance>(); |
2976 o.add(buildInstance()); | 3283 o.add(buildInstance()); |
2977 o.add(buildInstance()); | 3284 o.add(buildInstance()); |
2978 return o; | 3285 return o; |
2979 } | 3286 } |
2980 | 3287 |
2981 checkUnnamed1282(core.List<api.Instance> o) { | 3288 checkUnnamed583(core.List<api.Instance> o) { |
2982 unittest.expect(o, unittest.hasLength(2)); | 3289 unittest.expect(o, unittest.hasLength(2)); |
2983 checkInstance(o[0]); | 3290 checkInstance(o[0]); |
2984 checkInstance(o[1]); | 3291 checkInstance(o[1]); |
2985 } | 3292 } |
2986 | 3293 |
2987 core.int buildCounterInstancesScopedListWarningData = 0; | 3294 core.int buildCounterInstancesScopedListWarningData = 0; |
2988 buildInstancesScopedListWarningData() { | 3295 buildInstancesScopedListWarningData() { |
2989 var o = new api.InstancesScopedListWarningData(); | 3296 var o = new api.InstancesScopedListWarningData(); |
2990 buildCounterInstancesScopedListWarningData++; | 3297 buildCounterInstancesScopedListWarningData++; |
2991 if (buildCounterInstancesScopedListWarningData < 3) { | 3298 if (buildCounterInstancesScopedListWarningData < 3) { |
2992 o.key = "foo"; | 3299 o.key = "foo"; |
2993 o.value = "foo"; | 3300 o.value = "foo"; |
2994 } | 3301 } |
2995 buildCounterInstancesScopedListWarningData--; | 3302 buildCounterInstancesScopedListWarningData--; |
2996 return o; | 3303 return o; |
2997 } | 3304 } |
2998 | 3305 |
2999 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { | 3306 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { |
3000 buildCounterInstancesScopedListWarningData++; | 3307 buildCounterInstancesScopedListWarningData++; |
3001 if (buildCounterInstancesScopedListWarningData < 3) { | 3308 if (buildCounterInstancesScopedListWarningData < 3) { |
3002 unittest.expect(o.key, unittest.equals('foo')); | 3309 unittest.expect(o.key, unittest.equals('foo')); |
3003 unittest.expect(o.value, unittest.equals('foo')); | 3310 unittest.expect(o.value, unittest.equals('foo')); |
3004 } | 3311 } |
3005 buildCounterInstancesScopedListWarningData--; | 3312 buildCounterInstancesScopedListWarningData--; |
3006 } | 3313 } |
3007 | 3314 |
3008 buildUnnamed1283() { | 3315 buildUnnamed584() { |
3009 var o = new core.List<api.InstancesScopedListWarningData>(); | 3316 var o = new core.List<api.InstancesScopedListWarningData>(); |
3010 o.add(buildInstancesScopedListWarningData()); | 3317 o.add(buildInstancesScopedListWarningData()); |
3011 o.add(buildInstancesScopedListWarningData()); | 3318 o.add(buildInstancesScopedListWarningData()); |
3012 return o; | 3319 return o; |
3013 } | 3320 } |
3014 | 3321 |
3015 checkUnnamed1283(core.List<api.InstancesScopedListWarningData> o) { | 3322 checkUnnamed584(core.List<api.InstancesScopedListWarningData> o) { |
3016 unittest.expect(o, unittest.hasLength(2)); | 3323 unittest.expect(o, unittest.hasLength(2)); |
3017 checkInstancesScopedListWarningData(o[0]); | 3324 checkInstancesScopedListWarningData(o[0]); |
3018 checkInstancesScopedListWarningData(o[1]); | 3325 checkInstancesScopedListWarningData(o[1]); |
3019 } | 3326 } |
3020 | 3327 |
3021 core.int buildCounterInstancesScopedListWarning = 0; | 3328 core.int buildCounterInstancesScopedListWarning = 0; |
3022 buildInstancesScopedListWarning() { | 3329 buildInstancesScopedListWarning() { |
3023 var o = new api.InstancesScopedListWarning(); | 3330 var o = new api.InstancesScopedListWarning(); |
3024 buildCounterInstancesScopedListWarning++; | 3331 buildCounterInstancesScopedListWarning++; |
3025 if (buildCounterInstancesScopedListWarning < 3) { | 3332 if (buildCounterInstancesScopedListWarning < 3) { |
3026 o.code = "foo"; | 3333 o.code = "foo"; |
3027 o.data = buildUnnamed1283(); | 3334 o.data = buildUnnamed584(); |
3028 o.message = "foo"; | 3335 o.message = "foo"; |
3029 } | 3336 } |
3030 buildCounterInstancesScopedListWarning--; | 3337 buildCounterInstancesScopedListWarning--; |
3031 return o; | 3338 return o; |
3032 } | 3339 } |
3033 | 3340 |
3034 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { | 3341 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { |
3035 buildCounterInstancesScopedListWarning++; | 3342 buildCounterInstancesScopedListWarning++; |
3036 if (buildCounterInstancesScopedListWarning < 3) { | 3343 if (buildCounterInstancesScopedListWarning < 3) { |
3037 unittest.expect(o.code, unittest.equals('foo')); | 3344 unittest.expect(o.code, unittest.equals('foo')); |
3038 checkUnnamed1283(o.data); | 3345 checkUnnamed584(o.data); |
3039 unittest.expect(o.message, unittest.equals('foo')); | 3346 unittest.expect(o.message, unittest.equals('foo')); |
3040 } | 3347 } |
3041 buildCounterInstancesScopedListWarning--; | 3348 buildCounterInstancesScopedListWarning--; |
3042 } | 3349 } |
3043 | 3350 |
3044 core.int buildCounterInstancesScopedList = 0; | 3351 core.int buildCounterInstancesScopedList = 0; |
3045 buildInstancesScopedList() { | 3352 buildInstancesScopedList() { |
3046 var o = new api.InstancesScopedList(); | 3353 var o = new api.InstancesScopedList(); |
3047 buildCounterInstancesScopedList++; | 3354 buildCounterInstancesScopedList++; |
3048 if (buildCounterInstancesScopedList < 3) { | 3355 if (buildCounterInstancesScopedList < 3) { |
3049 o.instances = buildUnnamed1282(); | 3356 o.instances = buildUnnamed583(); |
3050 o.warning = buildInstancesScopedListWarning(); | 3357 o.warning = buildInstancesScopedListWarning(); |
3051 } | 3358 } |
3052 buildCounterInstancesScopedList--; | 3359 buildCounterInstancesScopedList--; |
3053 return o; | 3360 return o; |
3054 } | 3361 } |
3055 | 3362 |
3056 checkInstancesScopedList(api.InstancesScopedList o) { | 3363 checkInstancesScopedList(api.InstancesScopedList o) { |
3057 buildCounterInstancesScopedList++; | 3364 buildCounterInstancesScopedList++; |
3058 if (buildCounterInstancesScopedList < 3) { | 3365 if (buildCounterInstancesScopedList < 3) { |
3059 checkUnnamed1282(o.instances); | 3366 checkUnnamed583(o.instances); |
3060 checkInstancesScopedListWarning(o.warning); | 3367 checkInstancesScopedListWarning(o.warning); |
3061 } | 3368 } |
3062 buildCounterInstancesScopedList--; | 3369 buildCounterInstancesScopedList--; |
3063 } | 3370 } |
3064 | 3371 |
3065 core.int buildCounterLicense = 0; | 3372 core.int buildCounterLicense = 0; |
3066 buildLicense() { | 3373 buildLicense() { |
3067 var o = new api.License(); | 3374 var o = new api.License(); |
3068 buildCounterLicense++; | 3375 buildCounterLicense++; |
3069 if (buildCounterLicense < 3) { | 3376 if (buildCounterLicense < 3) { |
(...skipping 29 matching lines...) Expand all Loading... |
3099 } | 3406 } |
3100 | 3407 |
3101 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { | 3408 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { |
3102 buildCounterMachineTypeScratchDisks++; | 3409 buildCounterMachineTypeScratchDisks++; |
3103 if (buildCounterMachineTypeScratchDisks < 3) { | 3410 if (buildCounterMachineTypeScratchDisks < 3) { |
3104 unittest.expect(o.diskGb, unittest.equals(42)); | 3411 unittest.expect(o.diskGb, unittest.equals(42)); |
3105 } | 3412 } |
3106 buildCounterMachineTypeScratchDisks--; | 3413 buildCounterMachineTypeScratchDisks--; |
3107 } | 3414 } |
3108 | 3415 |
3109 buildUnnamed1284() { | 3416 buildUnnamed585() { |
3110 var o = new core.List<api.MachineTypeScratchDisks>(); | 3417 var o = new core.List<api.MachineTypeScratchDisks>(); |
3111 o.add(buildMachineTypeScratchDisks()); | 3418 o.add(buildMachineTypeScratchDisks()); |
3112 o.add(buildMachineTypeScratchDisks()); | 3419 o.add(buildMachineTypeScratchDisks()); |
3113 return o; | 3420 return o; |
3114 } | 3421 } |
3115 | 3422 |
3116 checkUnnamed1284(core.List<api.MachineTypeScratchDisks> o) { | 3423 checkUnnamed585(core.List<api.MachineTypeScratchDisks> o) { |
3117 unittest.expect(o, unittest.hasLength(2)); | 3424 unittest.expect(o, unittest.hasLength(2)); |
3118 checkMachineTypeScratchDisks(o[0]); | 3425 checkMachineTypeScratchDisks(o[0]); |
3119 checkMachineTypeScratchDisks(o[1]); | 3426 checkMachineTypeScratchDisks(o[1]); |
3120 } | 3427 } |
3121 | 3428 |
3122 core.int buildCounterMachineType = 0; | 3429 core.int buildCounterMachineType = 0; |
3123 buildMachineType() { | 3430 buildMachineType() { |
3124 var o = new api.MachineType(); | 3431 var o = new api.MachineType(); |
3125 buildCounterMachineType++; | 3432 buildCounterMachineType++; |
3126 if (buildCounterMachineType < 3) { | 3433 if (buildCounterMachineType < 3) { |
3127 o.creationTimestamp = "foo"; | 3434 o.creationTimestamp = "foo"; |
3128 o.deprecated = buildDeprecationStatus(); | 3435 o.deprecated = buildDeprecationStatus(); |
3129 o.description = "foo"; | 3436 o.description = "foo"; |
3130 o.guestCpus = 42; | 3437 o.guestCpus = 42; |
3131 o.id = "foo"; | 3438 o.id = "foo"; |
3132 o.imageSpaceGb = 42; | 3439 o.imageSpaceGb = 42; |
3133 o.kind = "foo"; | 3440 o.kind = "foo"; |
3134 o.maximumPersistentDisks = 42; | 3441 o.maximumPersistentDisks = 42; |
3135 o.maximumPersistentDisksSizeGb = "foo"; | 3442 o.maximumPersistentDisksSizeGb = "foo"; |
3136 o.memoryMb = 42; | 3443 o.memoryMb = 42; |
3137 o.name = "foo"; | 3444 o.name = "foo"; |
3138 o.scratchDisks = buildUnnamed1284(); | 3445 o.scratchDisks = buildUnnamed585(); |
3139 o.selfLink = "foo"; | 3446 o.selfLink = "foo"; |
3140 o.zone = "foo"; | 3447 o.zone = "foo"; |
3141 } | 3448 } |
3142 buildCounterMachineType--; | 3449 buildCounterMachineType--; |
3143 return o; | 3450 return o; |
3144 } | 3451 } |
3145 | 3452 |
3146 checkMachineType(api.MachineType o) { | 3453 checkMachineType(api.MachineType o) { |
3147 buildCounterMachineType++; | 3454 buildCounterMachineType++; |
3148 if (buildCounterMachineType < 3) { | 3455 if (buildCounterMachineType < 3) { |
3149 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3456 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
3150 checkDeprecationStatus(o.deprecated); | 3457 checkDeprecationStatus(o.deprecated); |
3151 unittest.expect(o.description, unittest.equals('foo')); | 3458 unittest.expect(o.description, unittest.equals('foo')); |
3152 unittest.expect(o.guestCpus, unittest.equals(42)); | 3459 unittest.expect(o.guestCpus, unittest.equals(42)); |
3153 unittest.expect(o.id, unittest.equals('foo')); | 3460 unittest.expect(o.id, unittest.equals('foo')); |
3154 unittest.expect(o.imageSpaceGb, unittest.equals(42)); | 3461 unittest.expect(o.imageSpaceGb, unittest.equals(42)); |
3155 unittest.expect(o.kind, unittest.equals('foo')); | 3462 unittest.expect(o.kind, unittest.equals('foo')); |
3156 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); | 3463 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); |
3157 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); | 3464 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); |
3158 unittest.expect(o.memoryMb, unittest.equals(42)); | 3465 unittest.expect(o.memoryMb, unittest.equals(42)); |
3159 unittest.expect(o.name, unittest.equals('foo')); | 3466 unittest.expect(o.name, unittest.equals('foo')); |
3160 checkUnnamed1284(o.scratchDisks); | 3467 checkUnnamed585(o.scratchDisks); |
3161 unittest.expect(o.selfLink, unittest.equals('foo')); | 3468 unittest.expect(o.selfLink, unittest.equals('foo')); |
3162 unittest.expect(o.zone, unittest.equals('foo')); | 3469 unittest.expect(o.zone, unittest.equals('foo')); |
3163 } | 3470 } |
3164 buildCounterMachineType--; | 3471 buildCounterMachineType--; |
3165 } | 3472 } |
3166 | 3473 |
3167 buildUnnamed1285() { | 3474 buildUnnamed586() { |
3168 var o = new core.Map<core.String, api.MachineTypesScopedList>(); | 3475 var o = new core.Map<core.String, api.MachineTypesScopedList>(); |
3169 o["x"] = buildMachineTypesScopedList(); | 3476 o["x"] = buildMachineTypesScopedList(); |
3170 o["y"] = buildMachineTypesScopedList(); | 3477 o["y"] = buildMachineTypesScopedList(); |
3171 return o; | 3478 return o; |
3172 } | 3479 } |
3173 | 3480 |
3174 checkUnnamed1285(core.Map<core.String, api.MachineTypesScopedList> o) { | 3481 checkUnnamed586(core.Map<core.String, api.MachineTypesScopedList> o) { |
3175 unittest.expect(o, unittest.hasLength(2)); | 3482 unittest.expect(o, unittest.hasLength(2)); |
3176 checkMachineTypesScopedList(o["x"]); | 3483 checkMachineTypesScopedList(o["x"]); |
3177 checkMachineTypesScopedList(o["y"]); | 3484 checkMachineTypesScopedList(o["y"]); |
3178 } | 3485 } |
3179 | 3486 |
3180 core.int buildCounterMachineTypeAggregatedList = 0; | 3487 core.int buildCounterMachineTypeAggregatedList = 0; |
3181 buildMachineTypeAggregatedList() { | 3488 buildMachineTypeAggregatedList() { |
3182 var o = new api.MachineTypeAggregatedList(); | 3489 var o = new api.MachineTypeAggregatedList(); |
3183 buildCounterMachineTypeAggregatedList++; | 3490 buildCounterMachineTypeAggregatedList++; |
3184 if (buildCounterMachineTypeAggregatedList < 3) { | 3491 if (buildCounterMachineTypeAggregatedList < 3) { |
3185 o.id = "foo"; | 3492 o.id = "foo"; |
3186 o.items = buildUnnamed1285(); | 3493 o.items = buildUnnamed586(); |
3187 o.kind = "foo"; | 3494 o.kind = "foo"; |
3188 o.nextPageToken = "foo"; | 3495 o.nextPageToken = "foo"; |
3189 o.selfLink = "foo"; | 3496 o.selfLink = "foo"; |
3190 } | 3497 } |
3191 buildCounterMachineTypeAggregatedList--; | 3498 buildCounterMachineTypeAggregatedList--; |
3192 return o; | 3499 return o; |
3193 } | 3500 } |
3194 | 3501 |
3195 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { | 3502 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { |
3196 buildCounterMachineTypeAggregatedList++; | 3503 buildCounterMachineTypeAggregatedList++; |
3197 if (buildCounterMachineTypeAggregatedList < 3) { | 3504 if (buildCounterMachineTypeAggregatedList < 3) { |
3198 unittest.expect(o.id, unittest.equals('foo')); | 3505 unittest.expect(o.id, unittest.equals('foo')); |
3199 checkUnnamed1285(o.items); | 3506 checkUnnamed586(o.items); |
3200 unittest.expect(o.kind, unittest.equals('foo')); | 3507 unittest.expect(o.kind, unittest.equals('foo')); |
3201 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3508 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3202 unittest.expect(o.selfLink, unittest.equals('foo')); | 3509 unittest.expect(o.selfLink, unittest.equals('foo')); |
3203 } | 3510 } |
3204 buildCounterMachineTypeAggregatedList--; | 3511 buildCounterMachineTypeAggregatedList--; |
3205 } | 3512 } |
3206 | 3513 |
3207 buildUnnamed1286() { | 3514 buildUnnamed587() { |
3208 var o = new core.List<api.MachineType>(); | 3515 var o = new core.List<api.MachineType>(); |
3209 o.add(buildMachineType()); | 3516 o.add(buildMachineType()); |
3210 o.add(buildMachineType()); | 3517 o.add(buildMachineType()); |
3211 return o; | 3518 return o; |
3212 } | 3519 } |
3213 | 3520 |
3214 checkUnnamed1286(core.List<api.MachineType> o) { | 3521 checkUnnamed587(core.List<api.MachineType> o) { |
3215 unittest.expect(o, unittest.hasLength(2)); | 3522 unittest.expect(o, unittest.hasLength(2)); |
3216 checkMachineType(o[0]); | 3523 checkMachineType(o[0]); |
3217 checkMachineType(o[1]); | 3524 checkMachineType(o[1]); |
3218 } | 3525 } |
3219 | 3526 |
3220 core.int buildCounterMachineTypeList = 0; | 3527 core.int buildCounterMachineTypeList = 0; |
3221 buildMachineTypeList() { | 3528 buildMachineTypeList() { |
3222 var o = new api.MachineTypeList(); | 3529 var o = new api.MachineTypeList(); |
3223 buildCounterMachineTypeList++; | 3530 buildCounterMachineTypeList++; |
3224 if (buildCounterMachineTypeList < 3) { | 3531 if (buildCounterMachineTypeList < 3) { |
3225 o.id = "foo"; | 3532 o.id = "foo"; |
3226 o.items = buildUnnamed1286(); | 3533 o.items = buildUnnamed587(); |
3227 o.kind = "foo"; | 3534 o.kind = "foo"; |
3228 o.nextPageToken = "foo"; | 3535 o.nextPageToken = "foo"; |
3229 o.selfLink = "foo"; | 3536 o.selfLink = "foo"; |
3230 } | 3537 } |
3231 buildCounterMachineTypeList--; | 3538 buildCounterMachineTypeList--; |
3232 return o; | 3539 return o; |
3233 } | 3540 } |
3234 | 3541 |
3235 checkMachineTypeList(api.MachineTypeList o) { | 3542 checkMachineTypeList(api.MachineTypeList o) { |
3236 buildCounterMachineTypeList++; | 3543 buildCounterMachineTypeList++; |
3237 if (buildCounterMachineTypeList < 3) { | 3544 if (buildCounterMachineTypeList < 3) { |
3238 unittest.expect(o.id, unittest.equals('foo')); | 3545 unittest.expect(o.id, unittest.equals('foo')); |
3239 checkUnnamed1286(o.items); | 3546 checkUnnamed587(o.items); |
3240 unittest.expect(o.kind, unittest.equals('foo')); | 3547 unittest.expect(o.kind, unittest.equals('foo')); |
3241 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3548 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3242 unittest.expect(o.selfLink, unittest.equals('foo')); | 3549 unittest.expect(o.selfLink, unittest.equals('foo')); |
3243 } | 3550 } |
3244 buildCounterMachineTypeList--; | 3551 buildCounterMachineTypeList--; |
3245 } | 3552 } |
3246 | 3553 |
3247 buildUnnamed1287() { | 3554 buildUnnamed588() { |
3248 var o = new core.List<api.MachineType>(); | 3555 var o = new core.List<api.MachineType>(); |
3249 o.add(buildMachineType()); | 3556 o.add(buildMachineType()); |
3250 o.add(buildMachineType()); | 3557 o.add(buildMachineType()); |
3251 return o; | 3558 return o; |
3252 } | 3559 } |
3253 | 3560 |
3254 checkUnnamed1287(core.List<api.MachineType> o) { | 3561 checkUnnamed588(core.List<api.MachineType> o) { |
3255 unittest.expect(o, unittest.hasLength(2)); | 3562 unittest.expect(o, unittest.hasLength(2)); |
3256 checkMachineType(o[0]); | 3563 checkMachineType(o[0]); |
3257 checkMachineType(o[1]); | 3564 checkMachineType(o[1]); |
3258 } | 3565 } |
3259 | 3566 |
3260 core.int buildCounterMachineTypesScopedListWarningData = 0; | 3567 core.int buildCounterMachineTypesScopedListWarningData = 0; |
3261 buildMachineTypesScopedListWarningData() { | 3568 buildMachineTypesScopedListWarningData() { |
3262 var o = new api.MachineTypesScopedListWarningData(); | 3569 var o = new api.MachineTypesScopedListWarningData(); |
3263 buildCounterMachineTypesScopedListWarningData++; | 3570 buildCounterMachineTypesScopedListWarningData++; |
3264 if (buildCounterMachineTypesScopedListWarningData < 3) { | 3571 if (buildCounterMachineTypesScopedListWarningData < 3) { |
3265 o.key = "foo"; | 3572 o.key = "foo"; |
3266 o.value = "foo"; | 3573 o.value = "foo"; |
3267 } | 3574 } |
3268 buildCounterMachineTypesScopedListWarningData--; | 3575 buildCounterMachineTypesScopedListWarningData--; |
3269 return o; | 3576 return o; |
3270 } | 3577 } |
3271 | 3578 |
3272 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ | 3579 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ |
3273 buildCounterMachineTypesScopedListWarningData++; | 3580 buildCounterMachineTypesScopedListWarningData++; |
3274 if (buildCounterMachineTypesScopedListWarningData < 3) { | 3581 if (buildCounterMachineTypesScopedListWarningData < 3) { |
3275 unittest.expect(o.key, unittest.equals('foo')); | 3582 unittest.expect(o.key, unittest.equals('foo')); |
3276 unittest.expect(o.value, unittest.equals('foo')); | 3583 unittest.expect(o.value, unittest.equals('foo')); |
3277 } | 3584 } |
3278 buildCounterMachineTypesScopedListWarningData--; | 3585 buildCounterMachineTypesScopedListWarningData--; |
3279 } | 3586 } |
3280 | 3587 |
3281 buildUnnamed1288() { | 3588 buildUnnamed589() { |
3282 var o = new core.List<api.MachineTypesScopedListWarningData>(); | 3589 var o = new core.List<api.MachineTypesScopedListWarningData>(); |
3283 o.add(buildMachineTypesScopedListWarningData()); | 3590 o.add(buildMachineTypesScopedListWarningData()); |
3284 o.add(buildMachineTypesScopedListWarningData()); | 3591 o.add(buildMachineTypesScopedListWarningData()); |
3285 return o; | 3592 return o; |
3286 } | 3593 } |
3287 | 3594 |
3288 checkUnnamed1288(core.List<api.MachineTypesScopedListWarningData> o) { | 3595 checkUnnamed589(core.List<api.MachineTypesScopedListWarningData> o) { |
3289 unittest.expect(o, unittest.hasLength(2)); | 3596 unittest.expect(o, unittest.hasLength(2)); |
3290 checkMachineTypesScopedListWarningData(o[0]); | 3597 checkMachineTypesScopedListWarningData(o[0]); |
3291 checkMachineTypesScopedListWarningData(o[1]); | 3598 checkMachineTypesScopedListWarningData(o[1]); |
3292 } | 3599 } |
3293 | 3600 |
3294 core.int buildCounterMachineTypesScopedListWarning = 0; | 3601 core.int buildCounterMachineTypesScopedListWarning = 0; |
3295 buildMachineTypesScopedListWarning() { | 3602 buildMachineTypesScopedListWarning() { |
3296 var o = new api.MachineTypesScopedListWarning(); | 3603 var o = new api.MachineTypesScopedListWarning(); |
3297 buildCounterMachineTypesScopedListWarning++; | 3604 buildCounterMachineTypesScopedListWarning++; |
3298 if (buildCounterMachineTypesScopedListWarning < 3) { | 3605 if (buildCounterMachineTypesScopedListWarning < 3) { |
3299 o.code = "foo"; | 3606 o.code = "foo"; |
3300 o.data = buildUnnamed1288(); | 3607 o.data = buildUnnamed589(); |
3301 o.message = "foo"; | 3608 o.message = "foo"; |
3302 } | 3609 } |
3303 buildCounterMachineTypesScopedListWarning--; | 3610 buildCounterMachineTypesScopedListWarning--; |
3304 return o; | 3611 return o; |
3305 } | 3612 } |
3306 | 3613 |
3307 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { | 3614 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { |
3308 buildCounterMachineTypesScopedListWarning++; | 3615 buildCounterMachineTypesScopedListWarning++; |
3309 if (buildCounterMachineTypesScopedListWarning < 3) { | 3616 if (buildCounterMachineTypesScopedListWarning < 3) { |
3310 unittest.expect(o.code, unittest.equals('foo')); | 3617 unittest.expect(o.code, unittest.equals('foo')); |
3311 checkUnnamed1288(o.data); | 3618 checkUnnamed589(o.data); |
3312 unittest.expect(o.message, unittest.equals('foo')); | 3619 unittest.expect(o.message, unittest.equals('foo')); |
3313 } | 3620 } |
3314 buildCounterMachineTypesScopedListWarning--; | 3621 buildCounterMachineTypesScopedListWarning--; |
3315 } | 3622 } |
3316 | 3623 |
3317 core.int buildCounterMachineTypesScopedList = 0; | 3624 core.int buildCounterMachineTypesScopedList = 0; |
3318 buildMachineTypesScopedList() { | 3625 buildMachineTypesScopedList() { |
3319 var o = new api.MachineTypesScopedList(); | 3626 var o = new api.MachineTypesScopedList(); |
3320 buildCounterMachineTypesScopedList++; | 3627 buildCounterMachineTypesScopedList++; |
3321 if (buildCounterMachineTypesScopedList < 3) { | 3628 if (buildCounterMachineTypesScopedList < 3) { |
3322 o.machineTypes = buildUnnamed1287(); | 3629 o.machineTypes = buildUnnamed588(); |
3323 o.warning = buildMachineTypesScopedListWarning(); | 3630 o.warning = buildMachineTypesScopedListWarning(); |
3324 } | 3631 } |
3325 buildCounterMachineTypesScopedList--; | 3632 buildCounterMachineTypesScopedList--; |
3326 return o; | 3633 return o; |
3327 } | 3634 } |
3328 | 3635 |
3329 checkMachineTypesScopedList(api.MachineTypesScopedList o) { | 3636 checkMachineTypesScopedList(api.MachineTypesScopedList o) { |
3330 buildCounterMachineTypesScopedList++; | 3637 buildCounterMachineTypesScopedList++; |
3331 if (buildCounterMachineTypesScopedList < 3) { | 3638 if (buildCounterMachineTypesScopedList < 3) { |
3332 checkUnnamed1287(o.machineTypes); | 3639 checkUnnamed588(o.machineTypes); |
3333 checkMachineTypesScopedListWarning(o.warning); | 3640 checkMachineTypesScopedListWarning(o.warning); |
3334 } | 3641 } |
3335 buildCounterMachineTypesScopedList--; | 3642 buildCounterMachineTypesScopedList--; |
3336 } | 3643 } |
3337 | 3644 |
3338 core.int buildCounterManagedInstance = 0; | 3645 core.int buildCounterManagedInstance = 0; |
3339 buildManagedInstance() { | 3646 buildManagedInstance() { |
3340 var o = new api.ManagedInstance(); | 3647 var o = new api.ManagedInstance(); |
3341 buildCounterManagedInstance++; | 3648 buildCounterManagedInstance++; |
3342 if (buildCounterManagedInstance < 3) { | 3649 if (buildCounterManagedInstance < 3) { |
3343 o.currentAction = "foo"; | 3650 o.currentAction = "foo"; |
3344 o.incarnationId = "foo"; | 3651 o.id = "foo"; |
3345 o.instance = "foo"; | 3652 o.instance = "foo"; |
3346 o.instanceStatus = "foo"; | 3653 o.instanceStatus = "foo"; |
3347 o.lastAttempt = buildManagedInstanceLastAttempt(); | 3654 o.lastAttempt = buildManagedInstanceLastAttempt(); |
3348 } | 3655 } |
3349 buildCounterManagedInstance--; | 3656 buildCounterManagedInstance--; |
3350 return o; | 3657 return o; |
3351 } | 3658 } |
3352 | 3659 |
3353 checkManagedInstance(api.ManagedInstance o) { | 3660 checkManagedInstance(api.ManagedInstance o) { |
3354 buildCounterManagedInstance++; | 3661 buildCounterManagedInstance++; |
3355 if (buildCounterManagedInstance < 3) { | 3662 if (buildCounterManagedInstance < 3) { |
3356 unittest.expect(o.currentAction, unittest.equals('foo')); | 3663 unittest.expect(o.currentAction, unittest.equals('foo')); |
3357 unittest.expect(o.incarnationId, unittest.equals('foo')); | 3664 unittest.expect(o.id, unittest.equals('foo')); |
3358 unittest.expect(o.instance, unittest.equals('foo')); | 3665 unittest.expect(o.instance, unittest.equals('foo')); |
3359 unittest.expect(o.instanceStatus, unittest.equals('foo')); | 3666 unittest.expect(o.instanceStatus, unittest.equals('foo')); |
3360 checkManagedInstanceLastAttempt(o.lastAttempt); | 3667 checkManagedInstanceLastAttempt(o.lastAttempt); |
3361 } | 3668 } |
3362 buildCounterManagedInstance--; | 3669 buildCounterManagedInstance--; |
3363 } | 3670 } |
3364 | 3671 |
3365 core.int buildCounterManagedInstanceLastAttemptErrorsErrors = 0; | 3672 core.int buildCounterManagedInstanceLastAttemptErrorsErrors = 0; |
3366 buildManagedInstanceLastAttemptErrorsErrors() { | 3673 buildManagedInstanceLastAttemptErrorsErrors() { |
3367 var o = new api.ManagedInstanceLastAttemptErrorsErrors(); | 3674 var o = new api.ManagedInstanceLastAttemptErrorsErrors(); |
(...skipping 10 matching lines...) Expand all Loading... |
3378 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { | 3685 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { |
3379 buildCounterManagedInstanceLastAttemptErrorsErrors++; | 3686 buildCounterManagedInstanceLastAttemptErrorsErrors++; |
3380 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { | 3687 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { |
3381 unittest.expect(o.code, unittest.equals('foo')); | 3688 unittest.expect(o.code, unittest.equals('foo')); |
3382 unittest.expect(o.location, unittest.equals('foo')); | 3689 unittest.expect(o.location, unittest.equals('foo')); |
3383 unittest.expect(o.message, unittest.equals('foo')); | 3690 unittest.expect(o.message, unittest.equals('foo')); |
3384 } | 3691 } |
3385 buildCounterManagedInstanceLastAttemptErrorsErrors--; | 3692 buildCounterManagedInstanceLastAttemptErrorsErrors--; |
3386 } | 3693 } |
3387 | 3694 |
3388 buildUnnamed1289() { | 3695 buildUnnamed590() { |
3389 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); | 3696 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); |
3390 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 3697 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
3391 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 3698 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
3392 return o; | 3699 return o; |
3393 } | 3700 } |
3394 | 3701 |
3395 checkUnnamed1289(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { | 3702 checkUnnamed590(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { |
3396 unittest.expect(o, unittest.hasLength(2)); | 3703 unittest.expect(o, unittest.hasLength(2)); |
3397 checkManagedInstanceLastAttemptErrorsErrors(o[0]); | 3704 checkManagedInstanceLastAttemptErrorsErrors(o[0]); |
3398 checkManagedInstanceLastAttemptErrorsErrors(o[1]); | 3705 checkManagedInstanceLastAttemptErrorsErrors(o[1]); |
3399 } | 3706 } |
3400 | 3707 |
3401 core.int buildCounterManagedInstanceLastAttemptErrors = 0; | 3708 core.int buildCounterManagedInstanceLastAttemptErrors = 0; |
3402 buildManagedInstanceLastAttemptErrors() { | 3709 buildManagedInstanceLastAttemptErrors() { |
3403 var o = new api.ManagedInstanceLastAttemptErrors(); | 3710 var o = new api.ManagedInstanceLastAttemptErrors(); |
3404 buildCounterManagedInstanceLastAttemptErrors++; | 3711 buildCounterManagedInstanceLastAttemptErrors++; |
3405 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 3712 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
3406 o.errors = buildUnnamed1289(); | 3713 o.errors = buildUnnamed590(); |
3407 } | 3714 } |
3408 buildCounterManagedInstanceLastAttemptErrors--; | 3715 buildCounterManagedInstanceLastAttemptErrors--; |
3409 return o; | 3716 return o; |
3410 } | 3717 } |
3411 | 3718 |
3412 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { | 3719 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { |
3413 buildCounterManagedInstanceLastAttemptErrors++; | 3720 buildCounterManagedInstanceLastAttemptErrors++; |
3414 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 3721 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
3415 checkUnnamed1289(o.errors); | 3722 checkUnnamed590(o.errors); |
3416 } | 3723 } |
3417 buildCounterManagedInstanceLastAttemptErrors--; | 3724 buildCounterManagedInstanceLastAttemptErrors--; |
3418 } | 3725 } |
3419 | 3726 |
3420 core.int buildCounterManagedInstanceLastAttempt = 0; | 3727 core.int buildCounterManagedInstanceLastAttempt = 0; |
3421 buildManagedInstanceLastAttempt() { | 3728 buildManagedInstanceLastAttempt() { |
3422 var o = new api.ManagedInstanceLastAttempt(); | 3729 var o = new api.ManagedInstanceLastAttempt(); |
3423 buildCounterManagedInstanceLastAttempt++; | 3730 buildCounterManagedInstanceLastAttempt++; |
3424 if (buildCounterManagedInstanceLastAttempt < 3) { | 3731 if (buildCounterManagedInstanceLastAttempt < 3) { |
3425 o.errors = buildManagedInstanceLastAttemptErrors(); | 3732 o.errors = buildManagedInstanceLastAttemptErrors(); |
(...skipping 24 matching lines...) Expand all Loading... |
3450 | 3757 |
3451 checkMetadataItems(api.MetadataItems o) { | 3758 checkMetadataItems(api.MetadataItems o) { |
3452 buildCounterMetadataItems++; | 3759 buildCounterMetadataItems++; |
3453 if (buildCounterMetadataItems < 3) { | 3760 if (buildCounterMetadataItems < 3) { |
3454 unittest.expect(o.key, unittest.equals('foo')); | 3761 unittest.expect(o.key, unittest.equals('foo')); |
3455 unittest.expect(o.value, unittest.equals('foo')); | 3762 unittest.expect(o.value, unittest.equals('foo')); |
3456 } | 3763 } |
3457 buildCounterMetadataItems--; | 3764 buildCounterMetadataItems--; |
3458 } | 3765 } |
3459 | 3766 |
3460 buildUnnamed1290() { | 3767 buildUnnamed591() { |
3461 var o = new core.List<api.MetadataItems>(); | 3768 var o = new core.List<api.MetadataItems>(); |
3462 o.add(buildMetadataItems()); | 3769 o.add(buildMetadataItems()); |
3463 o.add(buildMetadataItems()); | 3770 o.add(buildMetadataItems()); |
3464 return o; | 3771 return o; |
3465 } | 3772 } |
3466 | 3773 |
3467 checkUnnamed1290(core.List<api.MetadataItems> o) { | 3774 checkUnnamed591(core.List<api.MetadataItems> o) { |
3468 unittest.expect(o, unittest.hasLength(2)); | 3775 unittest.expect(o, unittest.hasLength(2)); |
3469 checkMetadataItems(o[0]); | 3776 checkMetadataItems(o[0]); |
3470 checkMetadataItems(o[1]); | 3777 checkMetadataItems(o[1]); |
3471 } | 3778 } |
3472 | 3779 |
3473 core.int buildCounterMetadata = 0; | 3780 core.int buildCounterMetadata = 0; |
3474 buildMetadata() { | 3781 buildMetadata() { |
3475 var o = new api.Metadata(); | 3782 var o = new api.Metadata(); |
3476 buildCounterMetadata++; | 3783 buildCounterMetadata++; |
3477 if (buildCounterMetadata < 3) { | 3784 if (buildCounterMetadata < 3) { |
3478 o.fingerprint = "foo"; | 3785 o.fingerprint = "foo"; |
3479 o.items = buildUnnamed1290(); | 3786 o.items = buildUnnamed591(); |
3480 o.kind = "foo"; | 3787 o.kind = "foo"; |
3481 } | 3788 } |
3482 buildCounterMetadata--; | 3789 buildCounterMetadata--; |
3483 return o; | 3790 return o; |
3484 } | 3791 } |
3485 | 3792 |
3486 checkMetadata(api.Metadata o) { | 3793 checkMetadata(api.Metadata o) { |
3487 buildCounterMetadata++; | 3794 buildCounterMetadata++; |
3488 if (buildCounterMetadata < 3) { | 3795 if (buildCounterMetadata < 3) { |
3489 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3796 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3490 checkUnnamed1290(o.items); | 3797 checkUnnamed591(o.items); |
3491 unittest.expect(o.kind, unittest.equals('foo')); | 3798 unittest.expect(o.kind, unittest.equals('foo')); |
3492 } | 3799 } |
3493 buildCounterMetadata--; | 3800 buildCounterMetadata--; |
3494 } | 3801 } |
3495 | 3802 |
3496 core.int buildCounterNamedPort = 0; | 3803 core.int buildCounterNamedPort = 0; |
3497 buildNamedPort() { | 3804 buildNamedPort() { |
3498 var o = new api.NamedPort(); | 3805 var o = new api.NamedPort(); |
3499 buildCounterNamedPort++; | 3806 buildCounterNamedPort++; |
3500 if (buildCounterNamedPort < 3) { | 3807 if (buildCounterNamedPort < 3) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3540 unittest.expect(o.description, unittest.equals('foo')); | 3847 unittest.expect(o.description, unittest.equals('foo')); |
3541 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); | 3848 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); |
3542 unittest.expect(o.id, unittest.equals('foo')); | 3849 unittest.expect(o.id, unittest.equals('foo')); |
3543 unittest.expect(o.kind, unittest.equals('foo')); | 3850 unittest.expect(o.kind, unittest.equals('foo')); |
3544 unittest.expect(o.name, unittest.equals('foo')); | 3851 unittest.expect(o.name, unittest.equals('foo')); |
3545 unittest.expect(o.selfLink, unittest.equals('foo')); | 3852 unittest.expect(o.selfLink, unittest.equals('foo')); |
3546 } | 3853 } |
3547 buildCounterNetwork--; | 3854 buildCounterNetwork--; |
3548 } | 3855 } |
3549 | 3856 |
3550 buildUnnamed1291() { | 3857 buildUnnamed592() { |
3551 var o = new core.List<api.AccessConfig>(); | 3858 var o = new core.List<api.AccessConfig>(); |
3552 o.add(buildAccessConfig()); | 3859 o.add(buildAccessConfig()); |
3553 o.add(buildAccessConfig()); | 3860 o.add(buildAccessConfig()); |
3554 return o; | 3861 return o; |
3555 } | 3862 } |
3556 | 3863 |
3557 checkUnnamed1291(core.List<api.AccessConfig> o) { | 3864 checkUnnamed592(core.List<api.AccessConfig> o) { |
3558 unittest.expect(o, unittest.hasLength(2)); | 3865 unittest.expect(o, unittest.hasLength(2)); |
3559 checkAccessConfig(o[0]); | 3866 checkAccessConfig(o[0]); |
3560 checkAccessConfig(o[1]); | 3867 checkAccessConfig(o[1]); |
3561 } | 3868 } |
3562 | 3869 |
3563 core.int buildCounterNetworkInterface = 0; | 3870 core.int buildCounterNetworkInterface = 0; |
3564 buildNetworkInterface() { | 3871 buildNetworkInterface() { |
3565 var o = new api.NetworkInterface(); | 3872 var o = new api.NetworkInterface(); |
3566 buildCounterNetworkInterface++; | 3873 buildCounterNetworkInterface++; |
3567 if (buildCounterNetworkInterface < 3) { | 3874 if (buildCounterNetworkInterface < 3) { |
3568 o.accessConfigs = buildUnnamed1291(); | 3875 o.accessConfigs = buildUnnamed592(); |
3569 o.name = "foo"; | 3876 o.name = "foo"; |
3570 o.network = "foo"; | 3877 o.network = "foo"; |
3571 o.networkIP = "foo"; | 3878 o.networkIP = "foo"; |
3572 } | 3879 } |
3573 buildCounterNetworkInterface--; | 3880 buildCounterNetworkInterface--; |
3574 return o; | 3881 return o; |
3575 } | 3882 } |
3576 | 3883 |
3577 checkNetworkInterface(api.NetworkInterface o) { | 3884 checkNetworkInterface(api.NetworkInterface o) { |
3578 buildCounterNetworkInterface++; | 3885 buildCounterNetworkInterface++; |
3579 if (buildCounterNetworkInterface < 3) { | 3886 if (buildCounterNetworkInterface < 3) { |
3580 checkUnnamed1291(o.accessConfigs); | 3887 checkUnnamed592(o.accessConfigs); |
3581 unittest.expect(o.name, unittest.equals('foo')); | 3888 unittest.expect(o.name, unittest.equals('foo')); |
3582 unittest.expect(o.network, unittest.equals('foo')); | 3889 unittest.expect(o.network, unittest.equals('foo')); |
3583 unittest.expect(o.networkIP, unittest.equals('foo')); | 3890 unittest.expect(o.networkIP, unittest.equals('foo')); |
3584 } | 3891 } |
3585 buildCounterNetworkInterface--; | 3892 buildCounterNetworkInterface--; |
3586 } | 3893 } |
3587 | 3894 |
3588 buildUnnamed1292() { | 3895 buildUnnamed593() { |
3589 var o = new core.List<api.Network>(); | 3896 var o = new core.List<api.Network>(); |
3590 o.add(buildNetwork()); | 3897 o.add(buildNetwork()); |
3591 o.add(buildNetwork()); | 3898 o.add(buildNetwork()); |
3592 return o; | 3899 return o; |
3593 } | 3900 } |
3594 | 3901 |
3595 checkUnnamed1292(core.List<api.Network> o) { | 3902 checkUnnamed593(core.List<api.Network> o) { |
3596 unittest.expect(o, unittest.hasLength(2)); | 3903 unittest.expect(o, unittest.hasLength(2)); |
3597 checkNetwork(o[0]); | 3904 checkNetwork(o[0]); |
3598 checkNetwork(o[1]); | 3905 checkNetwork(o[1]); |
3599 } | 3906 } |
3600 | 3907 |
3601 core.int buildCounterNetworkList = 0; | 3908 core.int buildCounterNetworkList = 0; |
3602 buildNetworkList() { | 3909 buildNetworkList() { |
3603 var o = new api.NetworkList(); | 3910 var o = new api.NetworkList(); |
3604 buildCounterNetworkList++; | 3911 buildCounterNetworkList++; |
3605 if (buildCounterNetworkList < 3) { | 3912 if (buildCounterNetworkList < 3) { |
3606 o.id = "foo"; | 3913 o.id = "foo"; |
3607 o.items = buildUnnamed1292(); | 3914 o.items = buildUnnamed593(); |
3608 o.kind = "foo"; | 3915 o.kind = "foo"; |
3609 o.nextPageToken = "foo"; | 3916 o.nextPageToken = "foo"; |
3610 o.selfLink = "foo"; | 3917 o.selfLink = "foo"; |
3611 } | 3918 } |
3612 buildCounterNetworkList--; | 3919 buildCounterNetworkList--; |
3613 return o; | 3920 return o; |
3614 } | 3921 } |
3615 | 3922 |
3616 checkNetworkList(api.NetworkList o) { | 3923 checkNetworkList(api.NetworkList o) { |
3617 buildCounterNetworkList++; | 3924 buildCounterNetworkList++; |
3618 if (buildCounterNetworkList < 3) { | 3925 if (buildCounterNetworkList < 3) { |
3619 unittest.expect(o.id, unittest.equals('foo')); | 3926 unittest.expect(o.id, unittest.equals('foo')); |
3620 checkUnnamed1292(o.items); | 3927 checkUnnamed593(o.items); |
3621 unittest.expect(o.kind, unittest.equals('foo')); | 3928 unittest.expect(o.kind, unittest.equals('foo')); |
3622 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3929 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3623 unittest.expect(o.selfLink, unittest.equals('foo')); | 3930 unittest.expect(o.selfLink, unittest.equals('foo')); |
3624 } | 3931 } |
3625 buildCounterNetworkList--; | 3932 buildCounterNetworkList--; |
3626 } | 3933 } |
3627 | 3934 |
3628 core.int buildCounterOperationErrorErrors = 0; | 3935 core.int buildCounterOperationErrorErrors = 0; |
3629 buildOperationErrorErrors() { | 3936 buildOperationErrorErrors() { |
3630 var o = new api.OperationErrorErrors(); | 3937 var o = new api.OperationErrorErrors(); |
(...skipping 10 matching lines...) Expand all Loading... |
3641 checkOperationErrorErrors(api.OperationErrorErrors o) { | 3948 checkOperationErrorErrors(api.OperationErrorErrors o) { |
3642 buildCounterOperationErrorErrors++; | 3949 buildCounterOperationErrorErrors++; |
3643 if (buildCounterOperationErrorErrors < 3) { | 3950 if (buildCounterOperationErrorErrors < 3) { |
3644 unittest.expect(o.code, unittest.equals('foo')); | 3951 unittest.expect(o.code, unittest.equals('foo')); |
3645 unittest.expect(o.location, unittest.equals('foo')); | 3952 unittest.expect(o.location, unittest.equals('foo')); |
3646 unittest.expect(o.message, unittest.equals('foo')); | 3953 unittest.expect(o.message, unittest.equals('foo')); |
3647 } | 3954 } |
3648 buildCounterOperationErrorErrors--; | 3955 buildCounterOperationErrorErrors--; |
3649 } | 3956 } |
3650 | 3957 |
3651 buildUnnamed1293() { | 3958 buildUnnamed594() { |
3652 var o = new core.List<api.OperationErrorErrors>(); | 3959 var o = new core.List<api.OperationErrorErrors>(); |
3653 o.add(buildOperationErrorErrors()); | 3960 o.add(buildOperationErrorErrors()); |
3654 o.add(buildOperationErrorErrors()); | 3961 o.add(buildOperationErrorErrors()); |
3655 return o; | 3962 return o; |
3656 } | 3963 } |
3657 | 3964 |
3658 checkUnnamed1293(core.List<api.OperationErrorErrors> o) { | 3965 checkUnnamed594(core.List<api.OperationErrorErrors> o) { |
3659 unittest.expect(o, unittest.hasLength(2)); | 3966 unittest.expect(o, unittest.hasLength(2)); |
3660 checkOperationErrorErrors(o[0]); | 3967 checkOperationErrorErrors(o[0]); |
3661 checkOperationErrorErrors(o[1]); | 3968 checkOperationErrorErrors(o[1]); |
3662 } | 3969 } |
3663 | 3970 |
3664 core.int buildCounterOperationError = 0; | 3971 core.int buildCounterOperationError = 0; |
3665 buildOperationError() { | 3972 buildOperationError() { |
3666 var o = new api.OperationError(); | 3973 var o = new api.OperationError(); |
3667 buildCounterOperationError++; | 3974 buildCounterOperationError++; |
3668 if (buildCounterOperationError < 3) { | 3975 if (buildCounterOperationError < 3) { |
3669 o.errors = buildUnnamed1293(); | 3976 o.errors = buildUnnamed594(); |
3670 } | 3977 } |
3671 buildCounterOperationError--; | 3978 buildCounterOperationError--; |
3672 return o; | 3979 return o; |
3673 } | 3980 } |
3674 | 3981 |
3675 checkOperationError(api.OperationError o) { | 3982 checkOperationError(api.OperationError o) { |
3676 buildCounterOperationError++; | 3983 buildCounterOperationError++; |
3677 if (buildCounterOperationError < 3) { | 3984 if (buildCounterOperationError < 3) { |
3678 checkUnnamed1293(o.errors); | 3985 checkUnnamed594(o.errors); |
3679 } | 3986 } |
3680 buildCounterOperationError--; | 3987 buildCounterOperationError--; |
3681 } | 3988 } |
3682 | 3989 |
3683 core.int buildCounterOperationWarningsData = 0; | 3990 core.int buildCounterOperationWarningsData = 0; |
3684 buildOperationWarningsData() { | 3991 buildOperationWarningsData() { |
3685 var o = new api.OperationWarningsData(); | 3992 var o = new api.OperationWarningsData(); |
3686 buildCounterOperationWarningsData++; | 3993 buildCounterOperationWarningsData++; |
3687 if (buildCounterOperationWarningsData < 3) { | 3994 if (buildCounterOperationWarningsData < 3) { |
3688 o.key = "foo"; | 3995 o.key = "foo"; |
3689 o.value = "foo"; | 3996 o.value = "foo"; |
3690 } | 3997 } |
3691 buildCounterOperationWarningsData--; | 3998 buildCounterOperationWarningsData--; |
3692 return o; | 3999 return o; |
3693 } | 4000 } |
3694 | 4001 |
3695 checkOperationWarningsData(api.OperationWarningsData o) { | 4002 checkOperationWarningsData(api.OperationWarningsData o) { |
3696 buildCounterOperationWarningsData++; | 4003 buildCounterOperationWarningsData++; |
3697 if (buildCounterOperationWarningsData < 3) { | 4004 if (buildCounterOperationWarningsData < 3) { |
3698 unittest.expect(o.key, unittest.equals('foo')); | 4005 unittest.expect(o.key, unittest.equals('foo')); |
3699 unittest.expect(o.value, unittest.equals('foo')); | 4006 unittest.expect(o.value, unittest.equals('foo')); |
3700 } | 4007 } |
3701 buildCounterOperationWarningsData--; | 4008 buildCounterOperationWarningsData--; |
3702 } | 4009 } |
3703 | 4010 |
3704 buildUnnamed1294() { | 4011 buildUnnamed595() { |
3705 var o = new core.List<api.OperationWarningsData>(); | 4012 var o = new core.List<api.OperationWarningsData>(); |
3706 o.add(buildOperationWarningsData()); | 4013 o.add(buildOperationWarningsData()); |
3707 o.add(buildOperationWarningsData()); | 4014 o.add(buildOperationWarningsData()); |
3708 return o; | 4015 return o; |
3709 } | 4016 } |
3710 | 4017 |
3711 checkUnnamed1294(core.List<api.OperationWarningsData> o) { | 4018 checkUnnamed595(core.List<api.OperationWarningsData> o) { |
3712 unittest.expect(o, unittest.hasLength(2)); | 4019 unittest.expect(o, unittest.hasLength(2)); |
3713 checkOperationWarningsData(o[0]); | 4020 checkOperationWarningsData(o[0]); |
3714 checkOperationWarningsData(o[1]); | 4021 checkOperationWarningsData(o[1]); |
3715 } | 4022 } |
3716 | 4023 |
3717 core.int buildCounterOperationWarnings = 0; | 4024 core.int buildCounterOperationWarnings = 0; |
3718 buildOperationWarnings() { | 4025 buildOperationWarnings() { |
3719 var o = new api.OperationWarnings(); | 4026 var o = new api.OperationWarnings(); |
3720 buildCounterOperationWarnings++; | 4027 buildCounterOperationWarnings++; |
3721 if (buildCounterOperationWarnings < 3) { | 4028 if (buildCounterOperationWarnings < 3) { |
3722 o.code = "foo"; | 4029 o.code = "foo"; |
3723 o.data = buildUnnamed1294(); | 4030 o.data = buildUnnamed595(); |
3724 o.message = "foo"; | 4031 o.message = "foo"; |
3725 } | 4032 } |
3726 buildCounterOperationWarnings--; | 4033 buildCounterOperationWarnings--; |
3727 return o; | 4034 return o; |
3728 } | 4035 } |
3729 | 4036 |
3730 checkOperationWarnings(api.OperationWarnings o) { | 4037 checkOperationWarnings(api.OperationWarnings o) { |
3731 buildCounterOperationWarnings++; | 4038 buildCounterOperationWarnings++; |
3732 if (buildCounterOperationWarnings < 3) { | 4039 if (buildCounterOperationWarnings < 3) { |
3733 unittest.expect(o.code, unittest.equals('foo')); | 4040 unittest.expect(o.code, unittest.equals('foo')); |
3734 checkUnnamed1294(o.data); | 4041 checkUnnamed595(o.data); |
3735 unittest.expect(o.message, unittest.equals('foo')); | 4042 unittest.expect(o.message, unittest.equals('foo')); |
3736 } | 4043 } |
3737 buildCounterOperationWarnings--; | 4044 buildCounterOperationWarnings--; |
3738 } | 4045 } |
3739 | 4046 |
3740 buildUnnamed1295() { | 4047 buildUnnamed596() { |
3741 var o = new core.List<api.OperationWarnings>(); | 4048 var o = new core.List<api.OperationWarnings>(); |
3742 o.add(buildOperationWarnings()); | 4049 o.add(buildOperationWarnings()); |
3743 o.add(buildOperationWarnings()); | 4050 o.add(buildOperationWarnings()); |
3744 return o; | 4051 return o; |
3745 } | 4052 } |
3746 | 4053 |
3747 checkUnnamed1295(core.List<api.OperationWarnings> o) { | 4054 checkUnnamed596(core.List<api.OperationWarnings> o) { |
3748 unittest.expect(o, unittest.hasLength(2)); | 4055 unittest.expect(o, unittest.hasLength(2)); |
3749 checkOperationWarnings(o[0]); | 4056 checkOperationWarnings(o[0]); |
3750 checkOperationWarnings(o[1]); | 4057 checkOperationWarnings(o[1]); |
3751 } | 4058 } |
3752 | 4059 |
3753 core.int buildCounterOperation = 0; | 4060 core.int buildCounterOperation = 0; |
3754 buildOperation() { | 4061 buildOperation() { |
3755 var o = new api.Operation(); | 4062 var o = new api.Operation(); |
3756 buildCounterOperation++; | 4063 buildCounterOperation++; |
3757 if (buildCounterOperation < 3) { | 4064 if (buildCounterOperation < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
3768 o.operationType = "foo"; | 4075 o.operationType = "foo"; |
3769 o.progress = 42; | 4076 o.progress = 42; |
3770 o.region = "foo"; | 4077 o.region = "foo"; |
3771 o.selfLink = "foo"; | 4078 o.selfLink = "foo"; |
3772 o.startTime = "foo"; | 4079 o.startTime = "foo"; |
3773 o.status = "foo"; | 4080 o.status = "foo"; |
3774 o.statusMessage = "foo"; | 4081 o.statusMessage = "foo"; |
3775 o.targetId = "foo"; | 4082 o.targetId = "foo"; |
3776 o.targetLink = "foo"; | 4083 o.targetLink = "foo"; |
3777 o.user = "foo"; | 4084 o.user = "foo"; |
3778 o.warnings = buildUnnamed1295(); | 4085 o.warnings = buildUnnamed596(); |
3779 o.zone = "foo"; | 4086 o.zone = "foo"; |
3780 } | 4087 } |
3781 buildCounterOperation--; | 4088 buildCounterOperation--; |
3782 return o; | 4089 return o; |
3783 } | 4090 } |
3784 | 4091 |
3785 checkOperation(api.Operation o) { | 4092 checkOperation(api.Operation o) { |
3786 buildCounterOperation++; | 4093 buildCounterOperation++; |
3787 if (buildCounterOperation < 3) { | 4094 if (buildCounterOperation < 3) { |
3788 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 4095 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
3789 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4096 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
3790 unittest.expect(o.endTime, unittest.equals('foo')); | 4097 unittest.expect(o.endTime, unittest.equals('foo')); |
3791 checkOperationError(o.error); | 4098 checkOperationError(o.error); |
3792 unittest.expect(o.httpErrorMessage, unittest.equals('foo')); | 4099 unittest.expect(o.httpErrorMessage, unittest.equals('foo')); |
3793 unittest.expect(o.httpErrorStatusCode, unittest.equals(42)); | 4100 unittest.expect(o.httpErrorStatusCode, unittest.equals(42)); |
3794 unittest.expect(o.id, unittest.equals('foo')); | 4101 unittest.expect(o.id, unittest.equals('foo')); |
3795 unittest.expect(o.insertTime, unittest.equals('foo')); | 4102 unittest.expect(o.insertTime, unittest.equals('foo')); |
3796 unittest.expect(o.kind, unittest.equals('foo')); | 4103 unittest.expect(o.kind, unittest.equals('foo')); |
3797 unittest.expect(o.name, unittest.equals('foo')); | 4104 unittest.expect(o.name, unittest.equals('foo')); |
3798 unittest.expect(o.operationType, unittest.equals('foo')); | 4105 unittest.expect(o.operationType, unittest.equals('foo')); |
3799 unittest.expect(o.progress, unittest.equals(42)); | 4106 unittest.expect(o.progress, unittest.equals(42)); |
3800 unittest.expect(o.region, unittest.equals('foo')); | 4107 unittest.expect(o.region, unittest.equals('foo')); |
3801 unittest.expect(o.selfLink, unittest.equals('foo')); | 4108 unittest.expect(o.selfLink, unittest.equals('foo')); |
3802 unittest.expect(o.startTime, unittest.equals('foo')); | 4109 unittest.expect(o.startTime, unittest.equals('foo')); |
3803 unittest.expect(o.status, unittest.equals('foo')); | 4110 unittest.expect(o.status, unittest.equals('foo')); |
3804 unittest.expect(o.statusMessage, unittest.equals('foo')); | 4111 unittest.expect(o.statusMessage, unittest.equals('foo')); |
3805 unittest.expect(o.targetId, unittest.equals('foo')); | 4112 unittest.expect(o.targetId, unittest.equals('foo')); |
3806 unittest.expect(o.targetLink, unittest.equals('foo')); | 4113 unittest.expect(o.targetLink, unittest.equals('foo')); |
3807 unittest.expect(o.user, unittest.equals('foo')); | 4114 unittest.expect(o.user, unittest.equals('foo')); |
3808 checkUnnamed1295(o.warnings); | 4115 checkUnnamed596(o.warnings); |
3809 unittest.expect(o.zone, unittest.equals('foo')); | 4116 unittest.expect(o.zone, unittest.equals('foo')); |
3810 } | 4117 } |
3811 buildCounterOperation--; | 4118 buildCounterOperation--; |
3812 } | 4119 } |
3813 | 4120 |
3814 buildUnnamed1296() { | 4121 buildUnnamed597() { |
3815 var o = new core.Map<core.String, api.OperationsScopedList>(); | 4122 var o = new core.Map<core.String, api.OperationsScopedList>(); |
3816 o["x"] = buildOperationsScopedList(); | 4123 o["x"] = buildOperationsScopedList(); |
3817 o["y"] = buildOperationsScopedList(); | 4124 o["y"] = buildOperationsScopedList(); |
3818 return o; | 4125 return o; |
3819 } | 4126 } |
3820 | 4127 |
3821 checkUnnamed1296(core.Map<core.String, api.OperationsScopedList> o) { | 4128 checkUnnamed597(core.Map<core.String, api.OperationsScopedList> o) { |
3822 unittest.expect(o, unittest.hasLength(2)); | 4129 unittest.expect(o, unittest.hasLength(2)); |
3823 checkOperationsScopedList(o["x"]); | 4130 checkOperationsScopedList(o["x"]); |
3824 checkOperationsScopedList(o["y"]); | 4131 checkOperationsScopedList(o["y"]); |
3825 } | 4132 } |
3826 | 4133 |
3827 core.int buildCounterOperationAggregatedList = 0; | 4134 core.int buildCounterOperationAggregatedList = 0; |
3828 buildOperationAggregatedList() { | 4135 buildOperationAggregatedList() { |
3829 var o = new api.OperationAggregatedList(); | 4136 var o = new api.OperationAggregatedList(); |
3830 buildCounterOperationAggregatedList++; | 4137 buildCounterOperationAggregatedList++; |
3831 if (buildCounterOperationAggregatedList < 3) { | 4138 if (buildCounterOperationAggregatedList < 3) { |
3832 o.id = "foo"; | 4139 o.id = "foo"; |
3833 o.items = buildUnnamed1296(); | 4140 o.items = buildUnnamed597(); |
3834 o.kind = "foo"; | 4141 o.kind = "foo"; |
3835 o.nextPageToken = "foo"; | 4142 o.nextPageToken = "foo"; |
3836 o.selfLink = "foo"; | 4143 o.selfLink = "foo"; |
3837 } | 4144 } |
3838 buildCounterOperationAggregatedList--; | 4145 buildCounterOperationAggregatedList--; |
3839 return o; | 4146 return o; |
3840 } | 4147 } |
3841 | 4148 |
3842 checkOperationAggregatedList(api.OperationAggregatedList o) { | 4149 checkOperationAggregatedList(api.OperationAggregatedList o) { |
3843 buildCounterOperationAggregatedList++; | 4150 buildCounterOperationAggregatedList++; |
3844 if (buildCounterOperationAggregatedList < 3) { | 4151 if (buildCounterOperationAggregatedList < 3) { |
3845 unittest.expect(o.id, unittest.equals('foo')); | 4152 unittest.expect(o.id, unittest.equals('foo')); |
3846 checkUnnamed1296(o.items); | 4153 checkUnnamed597(o.items); |
3847 unittest.expect(o.kind, unittest.equals('foo')); | 4154 unittest.expect(o.kind, unittest.equals('foo')); |
3848 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4155 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3849 unittest.expect(o.selfLink, unittest.equals('foo')); | 4156 unittest.expect(o.selfLink, unittest.equals('foo')); |
3850 } | 4157 } |
3851 buildCounterOperationAggregatedList--; | 4158 buildCounterOperationAggregatedList--; |
3852 } | 4159 } |
3853 | 4160 |
3854 buildUnnamed1297() { | 4161 buildUnnamed598() { |
3855 var o = new core.List<api.Operation>(); | 4162 var o = new core.List<api.Operation>(); |
3856 o.add(buildOperation()); | 4163 o.add(buildOperation()); |
3857 o.add(buildOperation()); | 4164 o.add(buildOperation()); |
3858 return o; | 4165 return o; |
3859 } | 4166 } |
3860 | 4167 |
3861 checkUnnamed1297(core.List<api.Operation> o) { | 4168 checkUnnamed598(core.List<api.Operation> o) { |
3862 unittest.expect(o, unittest.hasLength(2)); | 4169 unittest.expect(o, unittest.hasLength(2)); |
3863 checkOperation(o[0]); | 4170 checkOperation(o[0]); |
3864 checkOperation(o[1]); | 4171 checkOperation(o[1]); |
3865 } | 4172 } |
3866 | 4173 |
3867 core.int buildCounterOperationList = 0; | 4174 core.int buildCounterOperationList = 0; |
3868 buildOperationList() { | 4175 buildOperationList() { |
3869 var o = new api.OperationList(); | 4176 var o = new api.OperationList(); |
3870 buildCounterOperationList++; | 4177 buildCounterOperationList++; |
3871 if (buildCounterOperationList < 3) { | 4178 if (buildCounterOperationList < 3) { |
3872 o.id = "foo"; | 4179 o.id = "foo"; |
3873 o.items = buildUnnamed1297(); | 4180 o.items = buildUnnamed598(); |
3874 o.kind = "foo"; | 4181 o.kind = "foo"; |
3875 o.nextPageToken = "foo"; | 4182 o.nextPageToken = "foo"; |
3876 o.selfLink = "foo"; | 4183 o.selfLink = "foo"; |
3877 } | 4184 } |
3878 buildCounterOperationList--; | 4185 buildCounterOperationList--; |
3879 return o; | 4186 return o; |
3880 } | 4187 } |
3881 | 4188 |
3882 checkOperationList(api.OperationList o) { | 4189 checkOperationList(api.OperationList o) { |
3883 buildCounterOperationList++; | 4190 buildCounterOperationList++; |
3884 if (buildCounterOperationList < 3) { | 4191 if (buildCounterOperationList < 3) { |
3885 unittest.expect(o.id, unittest.equals('foo')); | 4192 unittest.expect(o.id, unittest.equals('foo')); |
3886 checkUnnamed1297(o.items); | 4193 checkUnnamed598(o.items); |
3887 unittest.expect(o.kind, unittest.equals('foo')); | 4194 unittest.expect(o.kind, unittest.equals('foo')); |
3888 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4195 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3889 unittest.expect(o.selfLink, unittest.equals('foo')); | 4196 unittest.expect(o.selfLink, unittest.equals('foo')); |
3890 } | 4197 } |
3891 buildCounterOperationList--; | 4198 buildCounterOperationList--; |
3892 } | 4199 } |
3893 | 4200 |
3894 buildUnnamed1298() { | 4201 buildUnnamed599() { |
3895 var o = new core.List<api.Operation>(); | 4202 var o = new core.List<api.Operation>(); |
3896 o.add(buildOperation()); | 4203 o.add(buildOperation()); |
3897 o.add(buildOperation()); | 4204 o.add(buildOperation()); |
3898 return o; | 4205 return o; |
3899 } | 4206 } |
3900 | 4207 |
3901 checkUnnamed1298(core.List<api.Operation> o) { | 4208 checkUnnamed599(core.List<api.Operation> o) { |
3902 unittest.expect(o, unittest.hasLength(2)); | 4209 unittest.expect(o, unittest.hasLength(2)); |
3903 checkOperation(o[0]); | 4210 checkOperation(o[0]); |
3904 checkOperation(o[1]); | 4211 checkOperation(o[1]); |
3905 } | 4212 } |
3906 | 4213 |
3907 core.int buildCounterOperationsScopedListWarningData = 0; | 4214 core.int buildCounterOperationsScopedListWarningData = 0; |
3908 buildOperationsScopedListWarningData() { | 4215 buildOperationsScopedListWarningData() { |
3909 var o = new api.OperationsScopedListWarningData(); | 4216 var o = new api.OperationsScopedListWarningData(); |
3910 buildCounterOperationsScopedListWarningData++; | 4217 buildCounterOperationsScopedListWarningData++; |
3911 if (buildCounterOperationsScopedListWarningData < 3) { | 4218 if (buildCounterOperationsScopedListWarningData < 3) { |
3912 o.key = "foo"; | 4219 o.key = "foo"; |
3913 o.value = "foo"; | 4220 o.value = "foo"; |
3914 } | 4221 } |
3915 buildCounterOperationsScopedListWarningData--; | 4222 buildCounterOperationsScopedListWarningData--; |
3916 return o; | 4223 return o; |
3917 } | 4224 } |
3918 | 4225 |
3919 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { | 4226 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { |
3920 buildCounterOperationsScopedListWarningData++; | 4227 buildCounterOperationsScopedListWarningData++; |
3921 if (buildCounterOperationsScopedListWarningData < 3) { | 4228 if (buildCounterOperationsScopedListWarningData < 3) { |
3922 unittest.expect(o.key, unittest.equals('foo')); | 4229 unittest.expect(o.key, unittest.equals('foo')); |
3923 unittest.expect(o.value, unittest.equals('foo')); | 4230 unittest.expect(o.value, unittest.equals('foo')); |
3924 } | 4231 } |
3925 buildCounterOperationsScopedListWarningData--; | 4232 buildCounterOperationsScopedListWarningData--; |
3926 } | 4233 } |
3927 | 4234 |
3928 buildUnnamed1299() { | 4235 buildUnnamed600() { |
3929 var o = new core.List<api.OperationsScopedListWarningData>(); | 4236 var o = new core.List<api.OperationsScopedListWarningData>(); |
3930 o.add(buildOperationsScopedListWarningData()); | 4237 o.add(buildOperationsScopedListWarningData()); |
3931 o.add(buildOperationsScopedListWarningData()); | 4238 o.add(buildOperationsScopedListWarningData()); |
3932 return o; | 4239 return o; |
3933 } | 4240 } |
3934 | 4241 |
3935 checkUnnamed1299(core.List<api.OperationsScopedListWarningData> o) { | 4242 checkUnnamed600(core.List<api.OperationsScopedListWarningData> o) { |
3936 unittest.expect(o, unittest.hasLength(2)); | 4243 unittest.expect(o, unittest.hasLength(2)); |
3937 checkOperationsScopedListWarningData(o[0]); | 4244 checkOperationsScopedListWarningData(o[0]); |
3938 checkOperationsScopedListWarningData(o[1]); | 4245 checkOperationsScopedListWarningData(o[1]); |
3939 } | 4246 } |
3940 | 4247 |
3941 core.int buildCounterOperationsScopedListWarning = 0; | 4248 core.int buildCounterOperationsScopedListWarning = 0; |
3942 buildOperationsScopedListWarning() { | 4249 buildOperationsScopedListWarning() { |
3943 var o = new api.OperationsScopedListWarning(); | 4250 var o = new api.OperationsScopedListWarning(); |
3944 buildCounterOperationsScopedListWarning++; | 4251 buildCounterOperationsScopedListWarning++; |
3945 if (buildCounterOperationsScopedListWarning < 3) { | 4252 if (buildCounterOperationsScopedListWarning < 3) { |
3946 o.code = "foo"; | 4253 o.code = "foo"; |
3947 o.data = buildUnnamed1299(); | 4254 o.data = buildUnnamed600(); |
3948 o.message = "foo"; | 4255 o.message = "foo"; |
3949 } | 4256 } |
3950 buildCounterOperationsScopedListWarning--; | 4257 buildCounterOperationsScopedListWarning--; |
3951 return o; | 4258 return o; |
3952 } | 4259 } |
3953 | 4260 |
3954 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { | 4261 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { |
3955 buildCounterOperationsScopedListWarning++; | 4262 buildCounterOperationsScopedListWarning++; |
3956 if (buildCounterOperationsScopedListWarning < 3) { | 4263 if (buildCounterOperationsScopedListWarning < 3) { |
3957 unittest.expect(o.code, unittest.equals('foo')); | 4264 unittest.expect(o.code, unittest.equals('foo')); |
3958 checkUnnamed1299(o.data); | 4265 checkUnnamed600(o.data); |
3959 unittest.expect(o.message, unittest.equals('foo')); | 4266 unittest.expect(o.message, unittest.equals('foo')); |
3960 } | 4267 } |
3961 buildCounterOperationsScopedListWarning--; | 4268 buildCounterOperationsScopedListWarning--; |
3962 } | 4269 } |
3963 | 4270 |
3964 core.int buildCounterOperationsScopedList = 0; | 4271 core.int buildCounterOperationsScopedList = 0; |
3965 buildOperationsScopedList() { | 4272 buildOperationsScopedList() { |
3966 var o = new api.OperationsScopedList(); | 4273 var o = new api.OperationsScopedList(); |
3967 buildCounterOperationsScopedList++; | 4274 buildCounterOperationsScopedList++; |
3968 if (buildCounterOperationsScopedList < 3) { | 4275 if (buildCounterOperationsScopedList < 3) { |
3969 o.operations = buildUnnamed1298(); | 4276 o.operations = buildUnnamed599(); |
3970 o.warning = buildOperationsScopedListWarning(); | 4277 o.warning = buildOperationsScopedListWarning(); |
3971 } | 4278 } |
3972 buildCounterOperationsScopedList--; | 4279 buildCounterOperationsScopedList--; |
3973 return o; | 4280 return o; |
3974 } | 4281 } |
3975 | 4282 |
3976 checkOperationsScopedList(api.OperationsScopedList o) { | 4283 checkOperationsScopedList(api.OperationsScopedList o) { |
3977 buildCounterOperationsScopedList++; | 4284 buildCounterOperationsScopedList++; |
3978 if (buildCounterOperationsScopedList < 3) { | 4285 if (buildCounterOperationsScopedList < 3) { |
3979 checkUnnamed1298(o.operations); | 4286 checkUnnamed599(o.operations); |
3980 checkOperationsScopedListWarning(o.warning); | 4287 checkOperationsScopedListWarning(o.warning); |
3981 } | 4288 } |
3982 buildCounterOperationsScopedList--; | 4289 buildCounterOperationsScopedList--; |
3983 } | 4290 } |
3984 | 4291 |
3985 buildUnnamed1300() { | 4292 buildUnnamed601() { |
3986 var o = new core.List<api.PathRule>(); | 4293 var o = new core.List<api.PathRule>(); |
3987 o.add(buildPathRule()); | 4294 o.add(buildPathRule()); |
3988 o.add(buildPathRule()); | 4295 o.add(buildPathRule()); |
3989 return o; | 4296 return o; |
3990 } | 4297 } |
3991 | 4298 |
3992 checkUnnamed1300(core.List<api.PathRule> o) { | 4299 checkUnnamed601(core.List<api.PathRule> o) { |
3993 unittest.expect(o, unittest.hasLength(2)); | 4300 unittest.expect(o, unittest.hasLength(2)); |
3994 checkPathRule(o[0]); | 4301 checkPathRule(o[0]); |
3995 checkPathRule(o[1]); | 4302 checkPathRule(o[1]); |
3996 } | 4303 } |
3997 | 4304 |
3998 core.int buildCounterPathMatcher = 0; | 4305 core.int buildCounterPathMatcher = 0; |
3999 buildPathMatcher() { | 4306 buildPathMatcher() { |
4000 var o = new api.PathMatcher(); | 4307 var o = new api.PathMatcher(); |
4001 buildCounterPathMatcher++; | 4308 buildCounterPathMatcher++; |
4002 if (buildCounterPathMatcher < 3) { | 4309 if (buildCounterPathMatcher < 3) { |
4003 o.defaultService = "foo"; | 4310 o.defaultService = "foo"; |
4004 o.description = "foo"; | 4311 o.description = "foo"; |
4005 o.name = "foo"; | 4312 o.name = "foo"; |
4006 o.pathRules = buildUnnamed1300(); | 4313 o.pathRules = buildUnnamed601(); |
4007 } | 4314 } |
4008 buildCounterPathMatcher--; | 4315 buildCounterPathMatcher--; |
4009 return o; | 4316 return o; |
4010 } | 4317 } |
4011 | 4318 |
4012 checkPathMatcher(api.PathMatcher o) { | 4319 checkPathMatcher(api.PathMatcher o) { |
4013 buildCounterPathMatcher++; | 4320 buildCounterPathMatcher++; |
4014 if (buildCounterPathMatcher < 3) { | 4321 if (buildCounterPathMatcher < 3) { |
4015 unittest.expect(o.defaultService, unittest.equals('foo')); | 4322 unittest.expect(o.defaultService, unittest.equals('foo')); |
4016 unittest.expect(o.description, unittest.equals('foo')); | 4323 unittest.expect(o.description, unittest.equals('foo')); |
4017 unittest.expect(o.name, unittest.equals('foo')); | 4324 unittest.expect(o.name, unittest.equals('foo')); |
4018 checkUnnamed1300(o.pathRules); | 4325 checkUnnamed601(o.pathRules); |
4019 } | 4326 } |
4020 buildCounterPathMatcher--; | 4327 buildCounterPathMatcher--; |
4021 } | 4328 } |
4022 | 4329 |
4023 buildUnnamed1301() { | 4330 buildUnnamed602() { |
4024 var o = new core.List<core.String>(); | 4331 var o = new core.List<core.String>(); |
4025 o.add("foo"); | 4332 o.add("foo"); |
4026 o.add("foo"); | 4333 o.add("foo"); |
4027 return o; | 4334 return o; |
4028 } | 4335 } |
4029 | 4336 |
4030 checkUnnamed1301(core.List<core.String> o) { | 4337 checkUnnamed602(core.List<core.String> o) { |
4031 unittest.expect(o, unittest.hasLength(2)); | 4338 unittest.expect(o, unittest.hasLength(2)); |
4032 unittest.expect(o[0], unittest.equals('foo')); | 4339 unittest.expect(o[0], unittest.equals('foo')); |
4033 unittest.expect(o[1], unittest.equals('foo')); | 4340 unittest.expect(o[1], unittest.equals('foo')); |
4034 } | 4341 } |
4035 | 4342 |
4036 core.int buildCounterPathRule = 0; | 4343 core.int buildCounterPathRule = 0; |
4037 buildPathRule() { | 4344 buildPathRule() { |
4038 var o = new api.PathRule(); | 4345 var o = new api.PathRule(); |
4039 buildCounterPathRule++; | 4346 buildCounterPathRule++; |
4040 if (buildCounterPathRule < 3) { | 4347 if (buildCounterPathRule < 3) { |
4041 o.paths = buildUnnamed1301(); | 4348 o.paths = buildUnnamed602(); |
4042 o.service = "foo"; | 4349 o.service = "foo"; |
4043 } | 4350 } |
4044 buildCounterPathRule--; | 4351 buildCounterPathRule--; |
4045 return o; | 4352 return o; |
4046 } | 4353 } |
4047 | 4354 |
4048 checkPathRule(api.PathRule o) { | 4355 checkPathRule(api.PathRule o) { |
4049 buildCounterPathRule++; | 4356 buildCounterPathRule++; |
4050 if (buildCounterPathRule < 3) { | 4357 if (buildCounterPathRule < 3) { |
4051 checkUnnamed1301(o.paths); | 4358 checkUnnamed602(o.paths); |
4052 unittest.expect(o.service, unittest.equals('foo')); | 4359 unittest.expect(o.service, unittest.equals('foo')); |
4053 } | 4360 } |
4054 buildCounterPathRule--; | 4361 buildCounterPathRule--; |
4055 } | 4362 } |
4056 | 4363 |
4057 buildUnnamed1302() { | 4364 buildUnnamed603() { |
4058 var o = new core.List<api.Quota>(); | 4365 var o = new core.List<api.Quota>(); |
4059 o.add(buildQuota()); | 4366 o.add(buildQuota()); |
4060 o.add(buildQuota()); | 4367 o.add(buildQuota()); |
4061 return o; | 4368 return o; |
4062 } | 4369 } |
4063 | 4370 |
4064 checkUnnamed1302(core.List<api.Quota> o) { | 4371 checkUnnamed603(core.List<api.Quota> o) { |
4065 unittest.expect(o, unittest.hasLength(2)); | 4372 unittest.expect(o, unittest.hasLength(2)); |
4066 checkQuota(o[0]); | 4373 checkQuota(o[0]); |
4067 checkQuota(o[1]); | 4374 checkQuota(o[1]); |
4068 } | 4375 } |
4069 | 4376 |
4070 core.int buildCounterProject = 0; | 4377 core.int buildCounterProject = 0; |
4071 buildProject() { | 4378 buildProject() { |
4072 var o = new api.Project(); | 4379 var o = new api.Project(); |
4073 buildCounterProject++; | 4380 buildCounterProject++; |
4074 if (buildCounterProject < 3) { | 4381 if (buildCounterProject < 3) { |
4075 o.commonInstanceMetadata = buildMetadata(); | 4382 o.commonInstanceMetadata = buildMetadata(); |
4076 o.creationTimestamp = "foo"; | 4383 o.creationTimestamp = "foo"; |
4077 o.description = "foo"; | 4384 o.description = "foo"; |
4078 o.id = "foo"; | 4385 o.id = "foo"; |
4079 o.kind = "foo"; | 4386 o.kind = "foo"; |
4080 o.name = "foo"; | 4387 o.name = "foo"; |
4081 o.quotas = buildUnnamed1302(); | 4388 o.quotas = buildUnnamed603(); |
4082 o.selfLink = "foo"; | 4389 o.selfLink = "foo"; |
4083 o.usageExportLocation = buildUsageExportLocation(); | 4390 o.usageExportLocation = buildUsageExportLocation(); |
4084 } | 4391 } |
4085 buildCounterProject--; | 4392 buildCounterProject--; |
4086 return o; | 4393 return o; |
4087 } | 4394 } |
4088 | 4395 |
4089 checkProject(api.Project o) { | 4396 checkProject(api.Project o) { |
4090 buildCounterProject++; | 4397 buildCounterProject++; |
4091 if (buildCounterProject < 3) { | 4398 if (buildCounterProject < 3) { |
4092 checkMetadata(o.commonInstanceMetadata); | 4399 checkMetadata(o.commonInstanceMetadata); |
4093 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4400 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4094 unittest.expect(o.description, unittest.equals('foo')); | 4401 unittest.expect(o.description, unittest.equals('foo')); |
4095 unittest.expect(o.id, unittest.equals('foo')); | 4402 unittest.expect(o.id, unittest.equals('foo')); |
4096 unittest.expect(o.kind, unittest.equals('foo')); | 4403 unittest.expect(o.kind, unittest.equals('foo')); |
4097 unittest.expect(o.name, unittest.equals('foo')); | 4404 unittest.expect(o.name, unittest.equals('foo')); |
4098 checkUnnamed1302(o.quotas); | 4405 checkUnnamed603(o.quotas); |
4099 unittest.expect(o.selfLink, unittest.equals('foo')); | 4406 unittest.expect(o.selfLink, unittest.equals('foo')); |
4100 checkUsageExportLocation(o.usageExportLocation); | 4407 checkUsageExportLocation(o.usageExportLocation); |
4101 } | 4408 } |
4102 buildCounterProject--; | 4409 buildCounterProject--; |
4103 } | 4410 } |
4104 | 4411 |
4105 core.int buildCounterQuota = 0; | 4412 core.int buildCounterQuota = 0; |
4106 buildQuota() { | 4413 buildQuota() { |
4107 var o = new api.Quota(); | 4414 var o = new api.Quota(); |
4108 buildCounterQuota++; | 4415 buildCounterQuota++; |
4109 if (buildCounterQuota < 3) { | 4416 if (buildCounterQuota < 3) { |
4110 o.limit = 42.0; | 4417 o.limit = 42.0; |
4111 o.metric = "foo"; | 4418 o.metric = "foo"; |
4112 o.usage = 42.0; | 4419 o.usage = 42.0; |
4113 } | 4420 } |
4114 buildCounterQuota--; | 4421 buildCounterQuota--; |
4115 return o; | 4422 return o; |
4116 } | 4423 } |
4117 | 4424 |
4118 checkQuota(api.Quota o) { | 4425 checkQuota(api.Quota o) { |
4119 buildCounterQuota++; | 4426 buildCounterQuota++; |
4120 if (buildCounterQuota < 3) { | 4427 if (buildCounterQuota < 3) { |
4121 unittest.expect(o.limit, unittest.equals(42.0)); | 4428 unittest.expect(o.limit, unittest.equals(42.0)); |
4122 unittest.expect(o.metric, unittest.equals('foo')); | 4429 unittest.expect(o.metric, unittest.equals('foo')); |
4123 unittest.expect(o.usage, unittest.equals(42.0)); | 4430 unittest.expect(o.usage, unittest.equals(42.0)); |
4124 } | 4431 } |
4125 buildCounterQuota--; | 4432 buildCounterQuota--; |
4126 } | 4433 } |
4127 | 4434 |
4128 buildUnnamed1303() { | 4435 buildUnnamed604() { |
4129 var o = new core.List<api.Quota>(); | 4436 var o = new core.List<api.Quota>(); |
4130 o.add(buildQuota()); | 4437 o.add(buildQuota()); |
4131 o.add(buildQuota()); | 4438 o.add(buildQuota()); |
4132 return o; | 4439 return o; |
4133 } | 4440 } |
4134 | 4441 |
4135 checkUnnamed1303(core.List<api.Quota> o) { | 4442 checkUnnamed604(core.List<api.Quota> o) { |
4136 unittest.expect(o, unittest.hasLength(2)); | 4443 unittest.expect(o, unittest.hasLength(2)); |
4137 checkQuota(o[0]); | 4444 checkQuota(o[0]); |
4138 checkQuota(o[1]); | 4445 checkQuota(o[1]); |
4139 } | 4446 } |
4140 | 4447 |
4141 buildUnnamed1304() { | 4448 buildUnnamed605() { |
4142 var o = new core.List<core.String>(); | 4449 var o = new core.List<core.String>(); |
4143 o.add("foo"); | 4450 o.add("foo"); |
4144 o.add("foo"); | 4451 o.add("foo"); |
4145 return o; | 4452 return o; |
4146 } | 4453 } |
4147 | 4454 |
4148 checkUnnamed1304(core.List<core.String> o) { | 4455 checkUnnamed605(core.List<core.String> o) { |
4149 unittest.expect(o, unittest.hasLength(2)); | 4456 unittest.expect(o, unittest.hasLength(2)); |
4150 unittest.expect(o[0], unittest.equals('foo')); | 4457 unittest.expect(o[0], unittest.equals('foo')); |
4151 unittest.expect(o[1], unittest.equals('foo')); | 4458 unittest.expect(o[1], unittest.equals('foo')); |
4152 } | 4459 } |
4153 | 4460 |
4154 core.int buildCounterRegion = 0; | 4461 core.int buildCounterRegion = 0; |
4155 buildRegion() { | 4462 buildRegion() { |
4156 var o = new api.Region(); | 4463 var o = new api.Region(); |
4157 buildCounterRegion++; | 4464 buildCounterRegion++; |
4158 if (buildCounterRegion < 3) { | 4465 if (buildCounterRegion < 3) { |
4159 o.creationTimestamp = "foo"; | 4466 o.creationTimestamp = "foo"; |
4160 o.deprecated = buildDeprecationStatus(); | 4467 o.deprecated = buildDeprecationStatus(); |
4161 o.description = "foo"; | 4468 o.description = "foo"; |
4162 o.id = "foo"; | 4469 o.id = "foo"; |
4163 o.kind = "foo"; | 4470 o.kind = "foo"; |
4164 o.name = "foo"; | 4471 o.name = "foo"; |
4165 o.quotas = buildUnnamed1303(); | 4472 o.quotas = buildUnnamed604(); |
4166 o.selfLink = "foo"; | 4473 o.selfLink = "foo"; |
4167 o.status = "foo"; | 4474 o.status = "foo"; |
4168 o.zones = buildUnnamed1304(); | 4475 o.zones = buildUnnamed605(); |
4169 } | 4476 } |
4170 buildCounterRegion--; | 4477 buildCounterRegion--; |
4171 return o; | 4478 return o; |
4172 } | 4479 } |
4173 | 4480 |
4174 checkRegion(api.Region o) { | 4481 checkRegion(api.Region o) { |
4175 buildCounterRegion++; | 4482 buildCounterRegion++; |
4176 if (buildCounterRegion < 3) { | 4483 if (buildCounterRegion < 3) { |
4177 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4484 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4178 checkDeprecationStatus(o.deprecated); | 4485 checkDeprecationStatus(o.deprecated); |
4179 unittest.expect(o.description, unittest.equals('foo')); | 4486 unittest.expect(o.description, unittest.equals('foo')); |
4180 unittest.expect(o.id, unittest.equals('foo')); | 4487 unittest.expect(o.id, unittest.equals('foo')); |
4181 unittest.expect(o.kind, unittest.equals('foo')); | 4488 unittest.expect(o.kind, unittest.equals('foo')); |
4182 unittest.expect(o.name, unittest.equals('foo')); | 4489 unittest.expect(o.name, unittest.equals('foo')); |
4183 checkUnnamed1303(o.quotas); | 4490 checkUnnamed604(o.quotas); |
4184 unittest.expect(o.selfLink, unittest.equals('foo')); | 4491 unittest.expect(o.selfLink, unittest.equals('foo')); |
4185 unittest.expect(o.status, unittest.equals('foo')); | 4492 unittest.expect(o.status, unittest.equals('foo')); |
4186 checkUnnamed1304(o.zones); | 4493 checkUnnamed605(o.zones); |
4187 } | 4494 } |
4188 buildCounterRegion--; | 4495 buildCounterRegion--; |
4189 } | 4496 } |
4190 | 4497 |
4191 buildUnnamed1305() { | 4498 buildUnnamed606() { |
4192 var o = new core.List<api.Region>(); | 4499 var o = new core.List<api.Region>(); |
4193 o.add(buildRegion()); | 4500 o.add(buildRegion()); |
4194 o.add(buildRegion()); | 4501 o.add(buildRegion()); |
4195 return o; | 4502 return o; |
4196 } | 4503 } |
4197 | 4504 |
4198 checkUnnamed1305(core.List<api.Region> o) { | 4505 checkUnnamed606(core.List<api.Region> o) { |
4199 unittest.expect(o, unittest.hasLength(2)); | 4506 unittest.expect(o, unittest.hasLength(2)); |
4200 checkRegion(o[0]); | 4507 checkRegion(o[0]); |
4201 checkRegion(o[1]); | 4508 checkRegion(o[1]); |
4202 } | 4509 } |
4203 | 4510 |
4204 core.int buildCounterRegionList = 0; | 4511 core.int buildCounterRegionList = 0; |
4205 buildRegionList() { | 4512 buildRegionList() { |
4206 var o = new api.RegionList(); | 4513 var o = new api.RegionList(); |
4207 buildCounterRegionList++; | 4514 buildCounterRegionList++; |
4208 if (buildCounterRegionList < 3) { | 4515 if (buildCounterRegionList < 3) { |
4209 o.id = "foo"; | 4516 o.id = "foo"; |
4210 o.items = buildUnnamed1305(); | 4517 o.items = buildUnnamed606(); |
4211 o.kind = "foo"; | 4518 o.kind = "foo"; |
4212 o.nextPageToken = "foo"; | 4519 o.nextPageToken = "foo"; |
4213 o.selfLink = "foo"; | 4520 o.selfLink = "foo"; |
4214 } | 4521 } |
4215 buildCounterRegionList--; | 4522 buildCounterRegionList--; |
4216 return o; | 4523 return o; |
4217 } | 4524 } |
4218 | 4525 |
4219 checkRegionList(api.RegionList o) { | 4526 checkRegionList(api.RegionList o) { |
4220 buildCounterRegionList++; | 4527 buildCounterRegionList++; |
4221 if (buildCounterRegionList < 3) { | 4528 if (buildCounterRegionList < 3) { |
4222 unittest.expect(o.id, unittest.equals('foo')); | 4529 unittest.expect(o.id, unittest.equals('foo')); |
4223 checkUnnamed1305(o.items); | 4530 checkUnnamed606(o.items); |
4224 unittest.expect(o.kind, unittest.equals('foo')); | 4531 unittest.expect(o.kind, unittest.equals('foo')); |
4225 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4532 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4226 unittest.expect(o.selfLink, unittest.equals('foo')); | 4533 unittest.expect(o.selfLink, unittest.equals('foo')); |
4227 } | 4534 } |
4228 buildCounterRegionList--; | 4535 buildCounterRegionList--; |
4229 } | 4536 } |
4230 | 4537 |
4231 core.int buildCounterResourceGroupReference = 0; | 4538 core.int buildCounterResourceGroupReference = 0; |
4232 buildResourceGroupReference() { | 4539 buildResourceGroupReference() { |
4233 var o = new api.ResourceGroupReference(); | 4540 var o = new api.ResourceGroupReference(); |
4234 buildCounterResourceGroupReference++; | 4541 buildCounterResourceGroupReference++; |
4235 if (buildCounterResourceGroupReference < 3) { | 4542 if (buildCounterResourceGroupReference < 3) { |
4236 o.group = "foo"; | 4543 o.group = "foo"; |
4237 } | 4544 } |
4238 buildCounterResourceGroupReference--; | 4545 buildCounterResourceGroupReference--; |
4239 return o; | 4546 return o; |
4240 } | 4547 } |
4241 | 4548 |
4242 checkResourceGroupReference(api.ResourceGroupReference o) { | 4549 checkResourceGroupReference(api.ResourceGroupReference o) { |
4243 buildCounterResourceGroupReference++; | 4550 buildCounterResourceGroupReference++; |
4244 if (buildCounterResourceGroupReference < 3) { | 4551 if (buildCounterResourceGroupReference < 3) { |
4245 unittest.expect(o.group, unittest.equals('foo')); | 4552 unittest.expect(o.group, unittest.equals('foo')); |
4246 } | 4553 } |
4247 buildCounterResourceGroupReference--; | 4554 buildCounterResourceGroupReference--; |
4248 } | 4555 } |
4249 | 4556 |
4250 buildUnnamed1306() { | 4557 buildUnnamed607() { |
4251 var o = new core.List<core.String>(); | 4558 var o = new core.List<core.String>(); |
4252 o.add("foo"); | 4559 o.add("foo"); |
4253 o.add("foo"); | 4560 o.add("foo"); |
4254 return o; | 4561 return o; |
4255 } | 4562 } |
4256 | 4563 |
4257 checkUnnamed1306(core.List<core.String> o) { | 4564 checkUnnamed607(core.List<core.String> o) { |
4258 unittest.expect(o, unittest.hasLength(2)); | 4565 unittest.expect(o, unittest.hasLength(2)); |
4259 unittest.expect(o[0], unittest.equals('foo')); | 4566 unittest.expect(o[0], unittest.equals('foo')); |
4260 unittest.expect(o[1], unittest.equals('foo')); | 4567 unittest.expect(o[1], unittest.equals('foo')); |
4261 } | 4568 } |
4262 | 4569 |
4263 core.int buildCounterRouteWarningsData = 0; | 4570 core.int buildCounterRouteWarningsData = 0; |
4264 buildRouteWarningsData() { | 4571 buildRouteWarningsData() { |
4265 var o = new api.RouteWarningsData(); | 4572 var o = new api.RouteWarningsData(); |
4266 buildCounterRouteWarningsData++; | 4573 buildCounterRouteWarningsData++; |
4267 if (buildCounterRouteWarningsData < 3) { | 4574 if (buildCounterRouteWarningsData < 3) { |
4268 o.key = "foo"; | 4575 o.key = "foo"; |
4269 o.value = "foo"; | 4576 o.value = "foo"; |
4270 } | 4577 } |
4271 buildCounterRouteWarningsData--; | 4578 buildCounterRouteWarningsData--; |
4272 return o; | 4579 return o; |
4273 } | 4580 } |
4274 | 4581 |
4275 checkRouteWarningsData(api.RouteWarningsData o) { | 4582 checkRouteWarningsData(api.RouteWarningsData o) { |
4276 buildCounterRouteWarningsData++; | 4583 buildCounterRouteWarningsData++; |
4277 if (buildCounterRouteWarningsData < 3) { | 4584 if (buildCounterRouteWarningsData < 3) { |
4278 unittest.expect(o.key, unittest.equals('foo')); | 4585 unittest.expect(o.key, unittest.equals('foo')); |
4279 unittest.expect(o.value, unittest.equals('foo')); | 4586 unittest.expect(o.value, unittest.equals('foo')); |
4280 } | 4587 } |
4281 buildCounterRouteWarningsData--; | 4588 buildCounterRouteWarningsData--; |
4282 } | 4589 } |
4283 | 4590 |
4284 buildUnnamed1307() { | 4591 buildUnnamed608() { |
4285 var o = new core.List<api.RouteWarningsData>(); | 4592 var o = new core.List<api.RouteWarningsData>(); |
4286 o.add(buildRouteWarningsData()); | 4593 o.add(buildRouteWarningsData()); |
4287 o.add(buildRouteWarningsData()); | 4594 o.add(buildRouteWarningsData()); |
4288 return o; | 4595 return o; |
4289 } | 4596 } |
4290 | 4597 |
4291 checkUnnamed1307(core.List<api.RouteWarningsData> o) { | 4598 checkUnnamed608(core.List<api.RouteWarningsData> o) { |
4292 unittest.expect(o, unittest.hasLength(2)); | 4599 unittest.expect(o, unittest.hasLength(2)); |
4293 checkRouteWarningsData(o[0]); | 4600 checkRouteWarningsData(o[0]); |
4294 checkRouteWarningsData(o[1]); | 4601 checkRouteWarningsData(o[1]); |
4295 } | 4602 } |
4296 | 4603 |
4297 core.int buildCounterRouteWarnings = 0; | 4604 core.int buildCounterRouteWarnings = 0; |
4298 buildRouteWarnings() { | 4605 buildRouteWarnings() { |
4299 var o = new api.RouteWarnings(); | 4606 var o = new api.RouteWarnings(); |
4300 buildCounterRouteWarnings++; | 4607 buildCounterRouteWarnings++; |
4301 if (buildCounterRouteWarnings < 3) { | 4608 if (buildCounterRouteWarnings < 3) { |
4302 o.code = "foo"; | 4609 o.code = "foo"; |
4303 o.data = buildUnnamed1307(); | 4610 o.data = buildUnnamed608(); |
4304 o.message = "foo"; | 4611 o.message = "foo"; |
4305 } | 4612 } |
4306 buildCounterRouteWarnings--; | 4613 buildCounterRouteWarnings--; |
4307 return o; | 4614 return o; |
4308 } | 4615 } |
4309 | 4616 |
4310 checkRouteWarnings(api.RouteWarnings o) { | 4617 checkRouteWarnings(api.RouteWarnings o) { |
4311 buildCounterRouteWarnings++; | 4618 buildCounterRouteWarnings++; |
4312 if (buildCounterRouteWarnings < 3) { | 4619 if (buildCounterRouteWarnings < 3) { |
4313 unittest.expect(o.code, unittest.equals('foo')); | 4620 unittest.expect(o.code, unittest.equals('foo')); |
4314 checkUnnamed1307(o.data); | 4621 checkUnnamed608(o.data); |
4315 unittest.expect(o.message, unittest.equals('foo')); | 4622 unittest.expect(o.message, unittest.equals('foo')); |
4316 } | 4623 } |
4317 buildCounterRouteWarnings--; | 4624 buildCounterRouteWarnings--; |
4318 } | 4625 } |
4319 | 4626 |
4320 buildUnnamed1308() { | 4627 buildUnnamed609() { |
4321 var o = new core.List<api.RouteWarnings>(); | 4628 var o = new core.List<api.RouteWarnings>(); |
4322 o.add(buildRouteWarnings()); | 4629 o.add(buildRouteWarnings()); |
4323 o.add(buildRouteWarnings()); | 4630 o.add(buildRouteWarnings()); |
4324 return o; | 4631 return o; |
4325 } | 4632 } |
4326 | 4633 |
4327 checkUnnamed1308(core.List<api.RouteWarnings> o) { | 4634 checkUnnamed609(core.List<api.RouteWarnings> o) { |
4328 unittest.expect(o, unittest.hasLength(2)); | 4635 unittest.expect(o, unittest.hasLength(2)); |
4329 checkRouteWarnings(o[0]); | 4636 checkRouteWarnings(o[0]); |
4330 checkRouteWarnings(o[1]); | 4637 checkRouteWarnings(o[1]); |
4331 } | 4638 } |
4332 | 4639 |
4333 core.int buildCounterRoute = 0; | 4640 core.int buildCounterRoute = 0; |
4334 buildRoute() { | 4641 buildRoute() { |
4335 var o = new api.Route(); | 4642 var o = new api.Route(); |
4336 buildCounterRoute++; | 4643 buildCounterRoute++; |
4337 if (buildCounterRoute < 3) { | 4644 if (buildCounterRoute < 3) { |
4338 o.creationTimestamp = "foo"; | 4645 o.creationTimestamp = "foo"; |
4339 o.description = "foo"; | 4646 o.description = "foo"; |
4340 o.destRange = "foo"; | 4647 o.destRange = "foo"; |
4341 o.id = "foo"; | 4648 o.id = "foo"; |
4342 o.kind = "foo"; | 4649 o.kind = "foo"; |
4343 o.name = "foo"; | 4650 o.name = "foo"; |
4344 o.network = "foo"; | 4651 o.network = "foo"; |
4345 o.nextHopGateway = "foo"; | 4652 o.nextHopGateway = "foo"; |
4346 o.nextHopInstance = "foo"; | 4653 o.nextHopInstance = "foo"; |
4347 o.nextHopIp = "foo"; | 4654 o.nextHopIp = "foo"; |
4348 o.nextHopNetwork = "foo"; | 4655 o.nextHopNetwork = "foo"; |
4349 o.nextHopVpnTunnel = "foo"; | 4656 o.nextHopVpnTunnel = "foo"; |
4350 o.priority = 42; | 4657 o.priority = 42; |
4351 o.selfLink = "foo"; | 4658 o.selfLink = "foo"; |
4352 o.tags = buildUnnamed1306(); | 4659 o.tags = buildUnnamed607(); |
4353 o.warnings = buildUnnamed1308(); | 4660 o.warnings = buildUnnamed609(); |
4354 } | 4661 } |
4355 buildCounterRoute--; | 4662 buildCounterRoute--; |
4356 return o; | 4663 return o; |
4357 } | 4664 } |
4358 | 4665 |
4359 checkRoute(api.Route o) { | 4666 checkRoute(api.Route o) { |
4360 buildCounterRoute++; | 4667 buildCounterRoute++; |
4361 if (buildCounterRoute < 3) { | 4668 if (buildCounterRoute < 3) { |
4362 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4669 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4363 unittest.expect(o.description, unittest.equals('foo')); | 4670 unittest.expect(o.description, unittest.equals('foo')); |
4364 unittest.expect(o.destRange, unittest.equals('foo')); | 4671 unittest.expect(o.destRange, unittest.equals('foo')); |
4365 unittest.expect(o.id, unittest.equals('foo')); | 4672 unittest.expect(o.id, unittest.equals('foo')); |
4366 unittest.expect(o.kind, unittest.equals('foo')); | 4673 unittest.expect(o.kind, unittest.equals('foo')); |
4367 unittest.expect(o.name, unittest.equals('foo')); | 4674 unittest.expect(o.name, unittest.equals('foo')); |
4368 unittest.expect(o.network, unittest.equals('foo')); | 4675 unittest.expect(o.network, unittest.equals('foo')); |
4369 unittest.expect(o.nextHopGateway, unittest.equals('foo')); | 4676 unittest.expect(o.nextHopGateway, unittest.equals('foo')); |
4370 unittest.expect(o.nextHopInstance, unittest.equals('foo')); | 4677 unittest.expect(o.nextHopInstance, unittest.equals('foo')); |
4371 unittest.expect(o.nextHopIp, unittest.equals('foo')); | 4678 unittest.expect(o.nextHopIp, unittest.equals('foo')); |
4372 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); | 4679 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); |
4373 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); | 4680 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); |
4374 unittest.expect(o.priority, unittest.equals(42)); | 4681 unittest.expect(o.priority, unittest.equals(42)); |
4375 unittest.expect(o.selfLink, unittest.equals('foo')); | 4682 unittest.expect(o.selfLink, unittest.equals('foo')); |
4376 checkUnnamed1306(o.tags); | 4683 checkUnnamed607(o.tags); |
4377 checkUnnamed1308(o.warnings); | 4684 checkUnnamed609(o.warnings); |
4378 } | 4685 } |
4379 buildCounterRoute--; | 4686 buildCounterRoute--; |
4380 } | 4687 } |
4381 | 4688 |
4382 buildUnnamed1309() { | 4689 buildUnnamed610() { |
4383 var o = new core.List<api.Route>(); | 4690 var o = new core.List<api.Route>(); |
4384 o.add(buildRoute()); | 4691 o.add(buildRoute()); |
4385 o.add(buildRoute()); | 4692 o.add(buildRoute()); |
4386 return o; | 4693 return o; |
4387 } | 4694 } |
4388 | 4695 |
4389 checkUnnamed1309(core.List<api.Route> o) { | 4696 checkUnnamed610(core.List<api.Route> o) { |
4390 unittest.expect(o, unittest.hasLength(2)); | 4697 unittest.expect(o, unittest.hasLength(2)); |
4391 checkRoute(o[0]); | 4698 checkRoute(o[0]); |
4392 checkRoute(o[1]); | 4699 checkRoute(o[1]); |
4393 } | 4700 } |
4394 | 4701 |
4395 core.int buildCounterRouteList = 0; | 4702 core.int buildCounterRouteList = 0; |
4396 buildRouteList() { | 4703 buildRouteList() { |
4397 var o = new api.RouteList(); | 4704 var o = new api.RouteList(); |
4398 buildCounterRouteList++; | 4705 buildCounterRouteList++; |
4399 if (buildCounterRouteList < 3) { | 4706 if (buildCounterRouteList < 3) { |
4400 o.id = "foo"; | 4707 o.id = "foo"; |
4401 o.items = buildUnnamed1309(); | 4708 o.items = buildUnnamed610(); |
4402 o.kind = "foo"; | 4709 o.kind = "foo"; |
4403 o.nextPageToken = "foo"; | 4710 o.nextPageToken = "foo"; |
4404 o.selfLink = "foo"; | 4711 o.selfLink = "foo"; |
4405 } | 4712 } |
4406 buildCounterRouteList--; | 4713 buildCounterRouteList--; |
4407 return o; | 4714 return o; |
4408 } | 4715 } |
4409 | 4716 |
4410 checkRouteList(api.RouteList o) { | 4717 checkRouteList(api.RouteList o) { |
4411 buildCounterRouteList++; | 4718 buildCounterRouteList++; |
4412 if (buildCounterRouteList < 3) { | 4719 if (buildCounterRouteList < 3) { |
4413 unittest.expect(o.id, unittest.equals('foo')); | 4720 unittest.expect(o.id, unittest.equals('foo')); |
4414 checkUnnamed1309(o.items); | 4721 checkUnnamed610(o.items); |
4415 unittest.expect(o.kind, unittest.equals('foo')); | 4722 unittest.expect(o.kind, unittest.equals('foo')); |
4416 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4723 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4417 unittest.expect(o.selfLink, unittest.equals('foo')); | 4724 unittest.expect(o.selfLink, unittest.equals('foo')); |
4418 } | 4725 } |
4419 buildCounterRouteList--; | 4726 buildCounterRouteList--; |
4420 } | 4727 } |
4421 | 4728 |
4422 core.int buildCounterScheduling = 0; | 4729 core.int buildCounterScheduling = 0; |
4423 buildScheduling() { | 4730 buildScheduling() { |
4424 var o = new api.Scheduling(); | 4731 var o = new api.Scheduling(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4458 checkSerialPortOutput(api.SerialPortOutput o) { | 4765 checkSerialPortOutput(api.SerialPortOutput o) { |
4459 buildCounterSerialPortOutput++; | 4766 buildCounterSerialPortOutput++; |
4460 if (buildCounterSerialPortOutput < 3) { | 4767 if (buildCounterSerialPortOutput < 3) { |
4461 unittest.expect(o.contents, unittest.equals('foo')); | 4768 unittest.expect(o.contents, unittest.equals('foo')); |
4462 unittest.expect(o.kind, unittest.equals('foo')); | 4769 unittest.expect(o.kind, unittest.equals('foo')); |
4463 unittest.expect(o.selfLink, unittest.equals('foo')); | 4770 unittest.expect(o.selfLink, unittest.equals('foo')); |
4464 } | 4771 } |
4465 buildCounterSerialPortOutput--; | 4772 buildCounterSerialPortOutput--; |
4466 } | 4773 } |
4467 | 4774 |
4468 buildUnnamed1310() { | 4775 buildUnnamed611() { |
4469 var o = new core.List<core.String>(); | 4776 var o = new core.List<core.String>(); |
4470 o.add("foo"); | 4777 o.add("foo"); |
4471 o.add("foo"); | 4778 o.add("foo"); |
4472 return o; | 4779 return o; |
4473 } | 4780 } |
4474 | 4781 |
4475 checkUnnamed1310(core.List<core.String> o) { | 4782 checkUnnamed611(core.List<core.String> o) { |
4476 unittest.expect(o, unittest.hasLength(2)); | 4783 unittest.expect(o, unittest.hasLength(2)); |
4477 unittest.expect(o[0], unittest.equals('foo')); | 4784 unittest.expect(o[0], unittest.equals('foo')); |
4478 unittest.expect(o[1], unittest.equals('foo')); | 4785 unittest.expect(o[1], unittest.equals('foo')); |
4479 } | 4786 } |
4480 | 4787 |
4481 core.int buildCounterServiceAccount = 0; | 4788 core.int buildCounterServiceAccount = 0; |
4482 buildServiceAccount() { | 4789 buildServiceAccount() { |
4483 var o = new api.ServiceAccount(); | 4790 var o = new api.ServiceAccount(); |
4484 buildCounterServiceAccount++; | 4791 buildCounterServiceAccount++; |
4485 if (buildCounterServiceAccount < 3) { | 4792 if (buildCounterServiceAccount < 3) { |
4486 o.email = "foo"; | 4793 o.email = "foo"; |
4487 o.scopes = buildUnnamed1310(); | 4794 o.scopes = buildUnnamed611(); |
4488 } | 4795 } |
4489 buildCounterServiceAccount--; | 4796 buildCounterServiceAccount--; |
4490 return o; | 4797 return o; |
4491 } | 4798 } |
4492 | 4799 |
4493 checkServiceAccount(api.ServiceAccount o) { | 4800 checkServiceAccount(api.ServiceAccount o) { |
4494 buildCounterServiceAccount++; | 4801 buildCounterServiceAccount++; |
4495 if (buildCounterServiceAccount < 3) { | 4802 if (buildCounterServiceAccount < 3) { |
4496 unittest.expect(o.email, unittest.equals('foo')); | 4803 unittest.expect(o.email, unittest.equals('foo')); |
4497 checkUnnamed1310(o.scopes); | 4804 checkUnnamed611(o.scopes); |
4498 } | 4805 } |
4499 buildCounterServiceAccount--; | 4806 buildCounterServiceAccount--; |
4500 } | 4807 } |
4501 | 4808 |
4502 buildUnnamed1311() { | 4809 buildUnnamed612() { |
4503 var o = new core.List<core.String>(); | 4810 var o = new core.List<core.String>(); |
4504 o.add("foo"); | 4811 o.add("foo"); |
4505 o.add("foo"); | 4812 o.add("foo"); |
4506 return o; | 4813 return o; |
4507 } | 4814 } |
4508 | 4815 |
4509 checkUnnamed1311(core.List<core.String> o) { | 4816 checkUnnamed612(core.List<core.String> o) { |
4510 unittest.expect(o, unittest.hasLength(2)); | 4817 unittest.expect(o, unittest.hasLength(2)); |
4511 unittest.expect(o[0], unittest.equals('foo')); | 4818 unittest.expect(o[0], unittest.equals('foo')); |
4512 unittest.expect(o[1], unittest.equals('foo')); | 4819 unittest.expect(o[1], unittest.equals('foo')); |
4513 } | 4820 } |
4514 | 4821 |
4515 core.int buildCounterSnapshot = 0; | 4822 core.int buildCounterSnapshot = 0; |
4516 buildSnapshot() { | 4823 buildSnapshot() { |
4517 var o = new api.Snapshot(); | 4824 var o = new api.Snapshot(); |
4518 buildCounterSnapshot++; | 4825 buildCounterSnapshot++; |
4519 if (buildCounterSnapshot < 3) { | 4826 if (buildCounterSnapshot < 3) { |
4520 o.creationTimestamp = "foo"; | 4827 o.creationTimestamp = "foo"; |
4521 o.description = "foo"; | 4828 o.description = "foo"; |
4522 o.diskSizeGb = "foo"; | 4829 o.diskSizeGb = "foo"; |
4523 o.id = "foo"; | 4830 o.id = "foo"; |
4524 o.kind = "foo"; | 4831 o.kind = "foo"; |
4525 o.licenses = buildUnnamed1311(); | 4832 o.licenses = buildUnnamed612(); |
4526 o.name = "foo"; | 4833 o.name = "foo"; |
4527 o.selfLink = "foo"; | 4834 o.selfLink = "foo"; |
4528 o.sourceDisk = "foo"; | 4835 o.sourceDisk = "foo"; |
4529 o.sourceDiskId = "foo"; | 4836 o.sourceDiskId = "foo"; |
4530 o.status = "foo"; | 4837 o.status = "foo"; |
4531 o.storageBytes = "foo"; | 4838 o.storageBytes = "foo"; |
4532 o.storageBytesStatus = "foo"; | 4839 o.storageBytesStatus = "foo"; |
4533 } | 4840 } |
4534 buildCounterSnapshot--; | 4841 buildCounterSnapshot--; |
4535 return o; | 4842 return o; |
4536 } | 4843 } |
4537 | 4844 |
4538 checkSnapshot(api.Snapshot o) { | 4845 checkSnapshot(api.Snapshot o) { |
4539 buildCounterSnapshot++; | 4846 buildCounterSnapshot++; |
4540 if (buildCounterSnapshot < 3) { | 4847 if (buildCounterSnapshot < 3) { |
4541 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4848 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4542 unittest.expect(o.description, unittest.equals('foo')); | 4849 unittest.expect(o.description, unittest.equals('foo')); |
4543 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 4850 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
4544 unittest.expect(o.id, unittest.equals('foo')); | 4851 unittest.expect(o.id, unittest.equals('foo')); |
4545 unittest.expect(o.kind, unittest.equals('foo')); | 4852 unittest.expect(o.kind, unittest.equals('foo')); |
4546 checkUnnamed1311(o.licenses); | 4853 checkUnnamed612(o.licenses); |
4547 unittest.expect(o.name, unittest.equals('foo')); | 4854 unittest.expect(o.name, unittest.equals('foo')); |
4548 unittest.expect(o.selfLink, unittest.equals('foo')); | 4855 unittest.expect(o.selfLink, unittest.equals('foo')); |
4549 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 4856 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
4550 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 4857 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
4551 unittest.expect(o.status, unittest.equals('foo')); | 4858 unittest.expect(o.status, unittest.equals('foo')); |
4552 unittest.expect(o.storageBytes, unittest.equals('foo')); | 4859 unittest.expect(o.storageBytes, unittest.equals('foo')); |
4553 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); | 4860 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); |
4554 } | 4861 } |
4555 buildCounterSnapshot--; | 4862 buildCounterSnapshot--; |
4556 } | 4863 } |
4557 | 4864 |
4558 buildUnnamed1312() { | 4865 buildUnnamed613() { |
4559 var o = new core.List<api.Snapshot>(); | 4866 var o = new core.List<api.Snapshot>(); |
4560 o.add(buildSnapshot()); | 4867 o.add(buildSnapshot()); |
4561 o.add(buildSnapshot()); | 4868 o.add(buildSnapshot()); |
4562 return o; | 4869 return o; |
4563 } | 4870 } |
4564 | 4871 |
4565 checkUnnamed1312(core.List<api.Snapshot> o) { | 4872 checkUnnamed613(core.List<api.Snapshot> o) { |
4566 unittest.expect(o, unittest.hasLength(2)); | 4873 unittest.expect(o, unittest.hasLength(2)); |
4567 checkSnapshot(o[0]); | 4874 checkSnapshot(o[0]); |
4568 checkSnapshot(o[1]); | 4875 checkSnapshot(o[1]); |
4569 } | 4876 } |
4570 | 4877 |
4571 core.int buildCounterSnapshotList = 0; | 4878 core.int buildCounterSnapshotList = 0; |
4572 buildSnapshotList() { | 4879 buildSnapshotList() { |
4573 var o = new api.SnapshotList(); | 4880 var o = new api.SnapshotList(); |
4574 buildCounterSnapshotList++; | 4881 buildCounterSnapshotList++; |
4575 if (buildCounterSnapshotList < 3) { | 4882 if (buildCounterSnapshotList < 3) { |
4576 o.id = "foo"; | 4883 o.id = "foo"; |
4577 o.items = buildUnnamed1312(); | 4884 o.items = buildUnnamed613(); |
4578 o.kind = "foo"; | 4885 o.kind = "foo"; |
4579 o.nextPageToken = "foo"; | 4886 o.nextPageToken = "foo"; |
4580 o.selfLink = "foo"; | 4887 o.selfLink = "foo"; |
4581 } | 4888 } |
4582 buildCounterSnapshotList--; | 4889 buildCounterSnapshotList--; |
4583 return o; | 4890 return o; |
4584 } | 4891 } |
4585 | 4892 |
4586 checkSnapshotList(api.SnapshotList o) { | 4893 checkSnapshotList(api.SnapshotList o) { |
4587 buildCounterSnapshotList++; | 4894 buildCounterSnapshotList++; |
4588 if (buildCounterSnapshotList < 3) { | 4895 if (buildCounterSnapshotList < 3) { |
4589 unittest.expect(o.id, unittest.equals('foo')); | 4896 unittest.expect(o.id, unittest.equals('foo')); |
4590 checkUnnamed1312(o.items); | 4897 checkUnnamed613(o.items); |
4591 unittest.expect(o.kind, unittest.equals('foo')); | 4898 unittest.expect(o.kind, unittest.equals('foo')); |
4592 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4899 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4593 unittest.expect(o.selfLink, unittest.equals('foo')); | 4900 unittest.expect(o.selfLink, unittest.equals('foo')); |
4594 } | 4901 } |
4595 buildCounterSnapshotList--; | 4902 buildCounterSnapshotList--; |
4596 } | 4903 } |
4597 | 4904 |
4598 buildUnnamed1313() { | 4905 buildUnnamed614() { |
4599 var o = new core.List<core.String>(); | 4906 var o = new core.List<core.String>(); |
4600 o.add("foo"); | 4907 o.add("foo"); |
4601 o.add("foo"); | 4908 o.add("foo"); |
4602 return o; | 4909 return o; |
4603 } | 4910 } |
4604 | 4911 |
4605 checkUnnamed1313(core.List<core.String> o) { | 4912 checkUnnamed614(core.List<core.String> o) { |
4606 unittest.expect(o, unittest.hasLength(2)); | 4913 unittest.expect(o, unittest.hasLength(2)); |
4607 unittest.expect(o[0], unittest.equals('foo')); | 4914 unittest.expect(o[0], unittest.equals('foo')); |
4608 unittest.expect(o[1], unittest.equals('foo')); | 4915 unittest.expect(o[1], unittest.equals('foo')); |
4609 } | 4916 } |
4610 | 4917 |
4611 core.int buildCounterTags = 0; | 4918 core.int buildCounterTags = 0; |
4612 buildTags() { | 4919 buildTags() { |
4613 var o = new api.Tags(); | 4920 var o = new api.Tags(); |
4614 buildCounterTags++; | 4921 buildCounterTags++; |
4615 if (buildCounterTags < 3) { | 4922 if (buildCounterTags < 3) { |
4616 o.fingerprint = "foo"; | 4923 o.fingerprint = "foo"; |
4617 o.items = buildUnnamed1313(); | 4924 o.items = buildUnnamed614(); |
4618 } | 4925 } |
4619 buildCounterTags--; | 4926 buildCounterTags--; |
4620 return o; | 4927 return o; |
4621 } | 4928 } |
4622 | 4929 |
4623 checkTags(api.Tags o) { | 4930 checkTags(api.Tags o) { |
4624 buildCounterTags++; | 4931 buildCounterTags++; |
4625 if (buildCounterTags < 3) { | 4932 if (buildCounterTags < 3) { |
4626 unittest.expect(o.fingerprint, unittest.equals('foo')); | 4933 unittest.expect(o.fingerprint, unittest.equals('foo')); |
4627 checkUnnamed1313(o.items); | 4934 checkUnnamed614(o.items); |
4628 } | 4935 } |
4629 buildCounterTags--; | 4936 buildCounterTags--; |
4630 } | 4937 } |
4631 | 4938 |
4632 core.int buildCounterTargetHttpProxy = 0; | 4939 core.int buildCounterTargetHttpProxy = 0; |
4633 buildTargetHttpProxy() { | 4940 buildTargetHttpProxy() { |
4634 var o = new api.TargetHttpProxy(); | 4941 var o = new api.TargetHttpProxy(); |
4635 buildCounterTargetHttpProxy++; | 4942 buildCounterTargetHttpProxy++; |
4636 if (buildCounterTargetHttpProxy < 3) { | 4943 if (buildCounterTargetHttpProxy < 3) { |
4637 o.creationTimestamp = "foo"; | 4944 o.creationTimestamp = "foo"; |
(...skipping 15 matching lines...) Expand all Loading... |
4653 unittest.expect(o.description, unittest.equals('foo')); | 4960 unittest.expect(o.description, unittest.equals('foo')); |
4654 unittest.expect(o.id, unittest.equals('foo')); | 4961 unittest.expect(o.id, unittest.equals('foo')); |
4655 unittest.expect(o.kind, unittest.equals('foo')); | 4962 unittest.expect(o.kind, unittest.equals('foo')); |
4656 unittest.expect(o.name, unittest.equals('foo')); | 4963 unittest.expect(o.name, unittest.equals('foo')); |
4657 unittest.expect(o.selfLink, unittest.equals('foo')); | 4964 unittest.expect(o.selfLink, unittest.equals('foo')); |
4658 unittest.expect(o.urlMap, unittest.equals('foo')); | 4965 unittest.expect(o.urlMap, unittest.equals('foo')); |
4659 } | 4966 } |
4660 buildCounterTargetHttpProxy--; | 4967 buildCounterTargetHttpProxy--; |
4661 } | 4968 } |
4662 | 4969 |
4663 buildUnnamed1314() { | 4970 buildUnnamed615() { |
4664 var o = new core.List<api.TargetHttpProxy>(); | 4971 var o = new core.List<api.TargetHttpProxy>(); |
4665 o.add(buildTargetHttpProxy()); | 4972 o.add(buildTargetHttpProxy()); |
4666 o.add(buildTargetHttpProxy()); | 4973 o.add(buildTargetHttpProxy()); |
4667 return o; | 4974 return o; |
4668 } | 4975 } |
4669 | 4976 |
4670 checkUnnamed1314(core.List<api.TargetHttpProxy> o) { | 4977 checkUnnamed615(core.List<api.TargetHttpProxy> o) { |
4671 unittest.expect(o, unittest.hasLength(2)); | 4978 unittest.expect(o, unittest.hasLength(2)); |
4672 checkTargetHttpProxy(o[0]); | 4979 checkTargetHttpProxy(o[0]); |
4673 checkTargetHttpProxy(o[1]); | 4980 checkTargetHttpProxy(o[1]); |
4674 } | 4981 } |
4675 | 4982 |
4676 core.int buildCounterTargetHttpProxyList = 0; | 4983 core.int buildCounterTargetHttpProxyList = 0; |
4677 buildTargetHttpProxyList() { | 4984 buildTargetHttpProxyList() { |
4678 var o = new api.TargetHttpProxyList(); | 4985 var o = new api.TargetHttpProxyList(); |
4679 buildCounterTargetHttpProxyList++; | 4986 buildCounterTargetHttpProxyList++; |
4680 if (buildCounterTargetHttpProxyList < 3) { | 4987 if (buildCounterTargetHttpProxyList < 3) { |
4681 o.id = "foo"; | 4988 o.id = "foo"; |
4682 o.items = buildUnnamed1314(); | 4989 o.items = buildUnnamed615(); |
4683 o.kind = "foo"; | 4990 o.kind = "foo"; |
4684 o.nextPageToken = "foo"; | 4991 o.nextPageToken = "foo"; |
4685 o.selfLink = "foo"; | 4992 o.selfLink = "foo"; |
4686 } | 4993 } |
4687 buildCounterTargetHttpProxyList--; | 4994 buildCounterTargetHttpProxyList--; |
4688 return o; | 4995 return o; |
4689 } | 4996 } |
4690 | 4997 |
4691 checkTargetHttpProxyList(api.TargetHttpProxyList o) { | 4998 checkTargetHttpProxyList(api.TargetHttpProxyList o) { |
4692 buildCounterTargetHttpProxyList++; | 4999 buildCounterTargetHttpProxyList++; |
4693 if (buildCounterTargetHttpProxyList < 3) { | 5000 if (buildCounterTargetHttpProxyList < 3) { |
4694 unittest.expect(o.id, unittest.equals('foo')); | 5001 unittest.expect(o.id, unittest.equals('foo')); |
4695 checkUnnamed1314(o.items); | 5002 checkUnnamed615(o.items); |
4696 unittest.expect(o.kind, unittest.equals('foo')); | 5003 unittest.expect(o.kind, unittest.equals('foo')); |
4697 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5004 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4698 unittest.expect(o.selfLink, unittest.equals('foo')); | 5005 unittest.expect(o.selfLink, unittest.equals('foo')); |
4699 } | 5006 } |
4700 buildCounterTargetHttpProxyList--; | 5007 buildCounterTargetHttpProxyList--; |
4701 } | 5008 } |
4702 | 5009 |
4703 core.int buildCounterTargetInstance = 0; | 5010 core.int buildCounterTargetInstance = 0; |
4704 buildTargetInstance() { | 5011 buildTargetInstance() { |
4705 var o = new api.TargetInstance(); | 5012 var o = new api.TargetInstance(); |
(...skipping 22 matching lines...) Expand all Loading... |
4728 unittest.expect(o.instance, unittest.equals('foo')); | 5035 unittest.expect(o.instance, unittest.equals('foo')); |
4729 unittest.expect(o.kind, unittest.equals('foo')); | 5036 unittest.expect(o.kind, unittest.equals('foo')); |
4730 unittest.expect(o.name, unittest.equals('foo')); | 5037 unittest.expect(o.name, unittest.equals('foo')); |
4731 unittest.expect(o.natPolicy, unittest.equals('foo')); | 5038 unittest.expect(o.natPolicy, unittest.equals('foo')); |
4732 unittest.expect(o.selfLink, unittest.equals('foo')); | 5039 unittest.expect(o.selfLink, unittest.equals('foo')); |
4733 unittest.expect(o.zone, unittest.equals('foo')); | 5040 unittest.expect(o.zone, unittest.equals('foo')); |
4734 } | 5041 } |
4735 buildCounterTargetInstance--; | 5042 buildCounterTargetInstance--; |
4736 } | 5043 } |
4737 | 5044 |
4738 buildUnnamed1315() { | 5045 buildUnnamed616() { |
4739 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); | 5046 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); |
4740 o["x"] = buildTargetInstancesScopedList(); | 5047 o["x"] = buildTargetInstancesScopedList(); |
4741 o["y"] = buildTargetInstancesScopedList(); | 5048 o["y"] = buildTargetInstancesScopedList(); |
4742 return o; | 5049 return o; |
4743 } | 5050 } |
4744 | 5051 |
4745 checkUnnamed1315(core.Map<core.String, api.TargetInstancesScopedList> o) { | 5052 checkUnnamed616(core.Map<core.String, api.TargetInstancesScopedList> o) { |
4746 unittest.expect(o, unittest.hasLength(2)); | 5053 unittest.expect(o, unittest.hasLength(2)); |
4747 checkTargetInstancesScopedList(o["x"]); | 5054 checkTargetInstancesScopedList(o["x"]); |
4748 checkTargetInstancesScopedList(o["y"]); | 5055 checkTargetInstancesScopedList(o["y"]); |
4749 } | 5056 } |
4750 | 5057 |
4751 core.int buildCounterTargetInstanceAggregatedList = 0; | 5058 core.int buildCounterTargetInstanceAggregatedList = 0; |
4752 buildTargetInstanceAggregatedList() { | 5059 buildTargetInstanceAggregatedList() { |
4753 var o = new api.TargetInstanceAggregatedList(); | 5060 var o = new api.TargetInstanceAggregatedList(); |
4754 buildCounterTargetInstanceAggregatedList++; | 5061 buildCounterTargetInstanceAggregatedList++; |
4755 if (buildCounterTargetInstanceAggregatedList < 3) { | 5062 if (buildCounterTargetInstanceAggregatedList < 3) { |
4756 o.id = "foo"; | 5063 o.id = "foo"; |
4757 o.items = buildUnnamed1315(); | 5064 o.items = buildUnnamed616(); |
4758 o.kind = "foo"; | 5065 o.kind = "foo"; |
4759 o.nextPageToken = "foo"; | 5066 o.nextPageToken = "foo"; |
4760 o.selfLink = "foo"; | 5067 o.selfLink = "foo"; |
4761 } | 5068 } |
4762 buildCounterTargetInstanceAggregatedList--; | 5069 buildCounterTargetInstanceAggregatedList--; |
4763 return o; | 5070 return o; |
4764 } | 5071 } |
4765 | 5072 |
4766 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { | 5073 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { |
4767 buildCounterTargetInstanceAggregatedList++; | 5074 buildCounterTargetInstanceAggregatedList++; |
4768 if (buildCounterTargetInstanceAggregatedList < 3) { | 5075 if (buildCounterTargetInstanceAggregatedList < 3) { |
4769 unittest.expect(o.id, unittest.equals('foo')); | 5076 unittest.expect(o.id, unittest.equals('foo')); |
4770 checkUnnamed1315(o.items); | 5077 checkUnnamed616(o.items); |
4771 unittest.expect(o.kind, unittest.equals('foo')); | 5078 unittest.expect(o.kind, unittest.equals('foo')); |
4772 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5079 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4773 unittest.expect(o.selfLink, unittest.equals('foo')); | 5080 unittest.expect(o.selfLink, unittest.equals('foo')); |
4774 } | 5081 } |
4775 buildCounterTargetInstanceAggregatedList--; | 5082 buildCounterTargetInstanceAggregatedList--; |
4776 } | 5083 } |
4777 | 5084 |
4778 buildUnnamed1316() { | 5085 buildUnnamed617() { |
4779 var o = new core.List<api.TargetInstance>(); | 5086 var o = new core.List<api.TargetInstance>(); |
4780 o.add(buildTargetInstance()); | 5087 o.add(buildTargetInstance()); |
4781 o.add(buildTargetInstance()); | 5088 o.add(buildTargetInstance()); |
4782 return o; | 5089 return o; |
4783 } | 5090 } |
4784 | 5091 |
4785 checkUnnamed1316(core.List<api.TargetInstance> o) { | 5092 checkUnnamed617(core.List<api.TargetInstance> o) { |
4786 unittest.expect(o, unittest.hasLength(2)); | 5093 unittest.expect(o, unittest.hasLength(2)); |
4787 checkTargetInstance(o[0]); | 5094 checkTargetInstance(o[0]); |
4788 checkTargetInstance(o[1]); | 5095 checkTargetInstance(o[1]); |
4789 } | 5096 } |
4790 | 5097 |
4791 core.int buildCounterTargetInstanceList = 0; | 5098 core.int buildCounterTargetInstanceList = 0; |
4792 buildTargetInstanceList() { | 5099 buildTargetInstanceList() { |
4793 var o = new api.TargetInstanceList(); | 5100 var o = new api.TargetInstanceList(); |
4794 buildCounterTargetInstanceList++; | 5101 buildCounterTargetInstanceList++; |
4795 if (buildCounterTargetInstanceList < 3) { | 5102 if (buildCounterTargetInstanceList < 3) { |
4796 o.id = "foo"; | 5103 o.id = "foo"; |
4797 o.items = buildUnnamed1316(); | 5104 o.items = buildUnnamed617(); |
4798 o.kind = "foo"; | 5105 o.kind = "foo"; |
4799 o.nextPageToken = "foo"; | 5106 o.nextPageToken = "foo"; |
4800 o.selfLink = "foo"; | 5107 o.selfLink = "foo"; |
4801 } | 5108 } |
4802 buildCounterTargetInstanceList--; | 5109 buildCounterTargetInstanceList--; |
4803 return o; | 5110 return o; |
4804 } | 5111 } |
4805 | 5112 |
4806 checkTargetInstanceList(api.TargetInstanceList o) { | 5113 checkTargetInstanceList(api.TargetInstanceList o) { |
4807 buildCounterTargetInstanceList++; | 5114 buildCounterTargetInstanceList++; |
4808 if (buildCounterTargetInstanceList < 3) { | 5115 if (buildCounterTargetInstanceList < 3) { |
4809 unittest.expect(o.id, unittest.equals('foo')); | 5116 unittest.expect(o.id, unittest.equals('foo')); |
4810 checkUnnamed1316(o.items); | 5117 checkUnnamed617(o.items); |
4811 unittest.expect(o.kind, unittest.equals('foo')); | 5118 unittest.expect(o.kind, unittest.equals('foo')); |
4812 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5119 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4813 unittest.expect(o.selfLink, unittest.equals('foo')); | 5120 unittest.expect(o.selfLink, unittest.equals('foo')); |
4814 } | 5121 } |
4815 buildCounterTargetInstanceList--; | 5122 buildCounterTargetInstanceList--; |
4816 } | 5123 } |
4817 | 5124 |
4818 buildUnnamed1317() { | 5125 buildUnnamed618() { |
4819 var o = new core.List<api.TargetInstance>(); | 5126 var o = new core.List<api.TargetInstance>(); |
4820 o.add(buildTargetInstance()); | 5127 o.add(buildTargetInstance()); |
4821 o.add(buildTargetInstance()); | 5128 o.add(buildTargetInstance()); |
4822 return o; | 5129 return o; |
4823 } | 5130 } |
4824 | 5131 |
4825 checkUnnamed1317(core.List<api.TargetInstance> o) { | 5132 checkUnnamed618(core.List<api.TargetInstance> o) { |
4826 unittest.expect(o, unittest.hasLength(2)); | 5133 unittest.expect(o, unittest.hasLength(2)); |
4827 checkTargetInstance(o[0]); | 5134 checkTargetInstance(o[0]); |
4828 checkTargetInstance(o[1]); | 5135 checkTargetInstance(o[1]); |
4829 } | 5136 } |
4830 | 5137 |
4831 core.int buildCounterTargetInstancesScopedListWarningData = 0; | 5138 core.int buildCounterTargetInstancesScopedListWarningData = 0; |
4832 buildTargetInstancesScopedListWarningData() { | 5139 buildTargetInstancesScopedListWarningData() { |
4833 var o = new api.TargetInstancesScopedListWarningData(); | 5140 var o = new api.TargetInstancesScopedListWarningData(); |
4834 buildCounterTargetInstancesScopedListWarningData++; | 5141 buildCounterTargetInstancesScopedListWarningData++; |
4835 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 5142 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
4836 o.key = "foo"; | 5143 o.key = "foo"; |
4837 o.value = "foo"; | 5144 o.value = "foo"; |
4838 } | 5145 } |
4839 buildCounterTargetInstancesScopedListWarningData--; | 5146 buildCounterTargetInstancesScopedListWarningData--; |
4840 return o; | 5147 return o; |
4841 } | 5148 } |
4842 | 5149 |
4843 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { | 5150 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { |
4844 buildCounterTargetInstancesScopedListWarningData++; | 5151 buildCounterTargetInstancesScopedListWarningData++; |
4845 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 5152 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
4846 unittest.expect(o.key, unittest.equals('foo')); | 5153 unittest.expect(o.key, unittest.equals('foo')); |
4847 unittest.expect(o.value, unittest.equals('foo')); | 5154 unittest.expect(o.value, unittest.equals('foo')); |
4848 } | 5155 } |
4849 buildCounterTargetInstancesScopedListWarningData--; | 5156 buildCounterTargetInstancesScopedListWarningData--; |
4850 } | 5157 } |
4851 | 5158 |
4852 buildUnnamed1318() { | 5159 buildUnnamed619() { |
4853 var o = new core.List<api.TargetInstancesScopedListWarningData>(); | 5160 var o = new core.List<api.TargetInstancesScopedListWarningData>(); |
4854 o.add(buildTargetInstancesScopedListWarningData()); | 5161 o.add(buildTargetInstancesScopedListWarningData()); |
4855 o.add(buildTargetInstancesScopedListWarningData()); | 5162 o.add(buildTargetInstancesScopedListWarningData()); |
4856 return o; | 5163 return o; |
4857 } | 5164 } |
4858 | 5165 |
4859 checkUnnamed1318(core.List<api.TargetInstancesScopedListWarningData> o) { | 5166 checkUnnamed619(core.List<api.TargetInstancesScopedListWarningData> o) { |
4860 unittest.expect(o, unittest.hasLength(2)); | 5167 unittest.expect(o, unittest.hasLength(2)); |
4861 checkTargetInstancesScopedListWarningData(o[0]); | 5168 checkTargetInstancesScopedListWarningData(o[0]); |
4862 checkTargetInstancesScopedListWarningData(o[1]); | 5169 checkTargetInstancesScopedListWarningData(o[1]); |
4863 } | 5170 } |
4864 | 5171 |
4865 core.int buildCounterTargetInstancesScopedListWarning = 0; | 5172 core.int buildCounterTargetInstancesScopedListWarning = 0; |
4866 buildTargetInstancesScopedListWarning() { | 5173 buildTargetInstancesScopedListWarning() { |
4867 var o = new api.TargetInstancesScopedListWarning(); | 5174 var o = new api.TargetInstancesScopedListWarning(); |
4868 buildCounterTargetInstancesScopedListWarning++; | 5175 buildCounterTargetInstancesScopedListWarning++; |
4869 if (buildCounterTargetInstancesScopedListWarning < 3) { | 5176 if (buildCounterTargetInstancesScopedListWarning < 3) { |
4870 o.code = "foo"; | 5177 o.code = "foo"; |
4871 o.data = buildUnnamed1318(); | 5178 o.data = buildUnnamed619(); |
4872 o.message = "foo"; | 5179 o.message = "foo"; |
4873 } | 5180 } |
4874 buildCounterTargetInstancesScopedListWarning--; | 5181 buildCounterTargetInstancesScopedListWarning--; |
4875 return o; | 5182 return o; |
4876 } | 5183 } |
4877 | 5184 |
4878 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { | 5185 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { |
4879 buildCounterTargetInstancesScopedListWarning++; | 5186 buildCounterTargetInstancesScopedListWarning++; |
4880 if (buildCounterTargetInstancesScopedListWarning < 3) { | 5187 if (buildCounterTargetInstancesScopedListWarning < 3) { |
4881 unittest.expect(o.code, unittest.equals('foo')); | 5188 unittest.expect(o.code, unittest.equals('foo')); |
4882 checkUnnamed1318(o.data); | 5189 checkUnnamed619(o.data); |
4883 unittest.expect(o.message, unittest.equals('foo')); | 5190 unittest.expect(o.message, unittest.equals('foo')); |
4884 } | 5191 } |
4885 buildCounterTargetInstancesScopedListWarning--; | 5192 buildCounterTargetInstancesScopedListWarning--; |
4886 } | 5193 } |
4887 | 5194 |
4888 core.int buildCounterTargetInstancesScopedList = 0; | 5195 core.int buildCounterTargetInstancesScopedList = 0; |
4889 buildTargetInstancesScopedList() { | 5196 buildTargetInstancesScopedList() { |
4890 var o = new api.TargetInstancesScopedList(); | 5197 var o = new api.TargetInstancesScopedList(); |
4891 buildCounterTargetInstancesScopedList++; | 5198 buildCounterTargetInstancesScopedList++; |
4892 if (buildCounterTargetInstancesScopedList < 3) { | 5199 if (buildCounterTargetInstancesScopedList < 3) { |
4893 o.targetInstances = buildUnnamed1317(); | 5200 o.targetInstances = buildUnnamed618(); |
4894 o.warning = buildTargetInstancesScopedListWarning(); | 5201 o.warning = buildTargetInstancesScopedListWarning(); |
4895 } | 5202 } |
4896 buildCounterTargetInstancesScopedList--; | 5203 buildCounterTargetInstancesScopedList--; |
4897 return o; | 5204 return o; |
4898 } | 5205 } |
4899 | 5206 |
4900 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { | 5207 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { |
4901 buildCounterTargetInstancesScopedList++; | 5208 buildCounterTargetInstancesScopedList++; |
4902 if (buildCounterTargetInstancesScopedList < 3) { | 5209 if (buildCounterTargetInstancesScopedList < 3) { |
4903 checkUnnamed1317(o.targetInstances); | 5210 checkUnnamed618(o.targetInstances); |
4904 checkTargetInstancesScopedListWarning(o.warning); | 5211 checkTargetInstancesScopedListWarning(o.warning); |
4905 } | 5212 } |
4906 buildCounterTargetInstancesScopedList--; | 5213 buildCounterTargetInstancesScopedList--; |
4907 } | 5214 } |
4908 | 5215 |
4909 buildUnnamed1319() { | 5216 buildUnnamed620() { |
4910 var o = new core.List<core.String>(); | 5217 var o = new core.List<core.String>(); |
4911 o.add("foo"); | 5218 o.add("foo"); |
4912 o.add("foo"); | 5219 o.add("foo"); |
4913 return o; | 5220 return o; |
4914 } | 5221 } |
4915 | 5222 |
4916 checkUnnamed1319(core.List<core.String> o) { | 5223 checkUnnamed620(core.List<core.String> o) { |
4917 unittest.expect(o, unittest.hasLength(2)); | 5224 unittest.expect(o, unittest.hasLength(2)); |
4918 unittest.expect(o[0], unittest.equals('foo')); | 5225 unittest.expect(o[0], unittest.equals('foo')); |
4919 unittest.expect(o[1], unittest.equals('foo')); | 5226 unittest.expect(o[1], unittest.equals('foo')); |
4920 } | 5227 } |
4921 | 5228 |
4922 buildUnnamed1320() { | 5229 buildUnnamed621() { |
4923 var o = new core.List<core.String>(); | 5230 var o = new core.List<core.String>(); |
4924 o.add("foo"); | 5231 o.add("foo"); |
4925 o.add("foo"); | 5232 o.add("foo"); |
4926 return o; | 5233 return o; |
4927 } | 5234 } |
4928 | 5235 |
4929 checkUnnamed1320(core.List<core.String> o) { | 5236 checkUnnamed621(core.List<core.String> o) { |
4930 unittest.expect(o, unittest.hasLength(2)); | 5237 unittest.expect(o, unittest.hasLength(2)); |
4931 unittest.expect(o[0], unittest.equals('foo')); | 5238 unittest.expect(o[0], unittest.equals('foo')); |
4932 unittest.expect(o[1], unittest.equals('foo')); | 5239 unittest.expect(o[1], unittest.equals('foo')); |
4933 } | 5240 } |
4934 | 5241 |
4935 core.int buildCounterTargetPool = 0; | 5242 core.int buildCounterTargetPool = 0; |
4936 buildTargetPool() { | 5243 buildTargetPool() { |
4937 var o = new api.TargetPool(); | 5244 var o = new api.TargetPool(); |
4938 buildCounterTargetPool++; | 5245 buildCounterTargetPool++; |
4939 if (buildCounterTargetPool < 3) { | 5246 if (buildCounterTargetPool < 3) { |
4940 o.backupPool = "foo"; | 5247 o.backupPool = "foo"; |
4941 o.creationTimestamp = "foo"; | 5248 o.creationTimestamp = "foo"; |
4942 o.description = "foo"; | 5249 o.description = "foo"; |
4943 o.failoverRatio = 42.0; | 5250 o.failoverRatio = 42.0; |
4944 o.healthChecks = buildUnnamed1319(); | 5251 o.healthChecks = buildUnnamed620(); |
4945 o.id = "foo"; | 5252 o.id = "foo"; |
4946 o.instances = buildUnnamed1320(); | 5253 o.instances = buildUnnamed621(); |
4947 o.kind = "foo"; | 5254 o.kind = "foo"; |
4948 o.name = "foo"; | 5255 o.name = "foo"; |
4949 o.region = "foo"; | 5256 o.region = "foo"; |
4950 o.selfLink = "foo"; | 5257 o.selfLink = "foo"; |
4951 o.sessionAffinity = "foo"; | 5258 o.sessionAffinity = "foo"; |
4952 } | 5259 } |
4953 buildCounterTargetPool--; | 5260 buildCounterTargetPool--; |
4954 return o; | 5261 return o; |
4955 } | 5262 } |
4956 | 5263 |
4957 checkTargetPool(api.TargetPool o) { | 5264 checkTargetPool(api.TargetPool o) { |
4958 buildCounterTargetPool++; | 5265 buildCounterTargetPool++; |
4959 if (buildCounterTargetPool < 3) { | 5266 if (buildCounterTargetPool < 3) { |
4960 unittest.expect(o.backupPool, unittest.equals('foo')); | 5267 unittest.expect(o.backupPool, unittest.equals('foo')); |
4961 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5268 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4962 unittest.expect(o.description, unittest.equals('foo')); | 5269 unittest.expect(o.description, unittest.equals('foo')); |
4963 unittest.expect(o.failoverRatio, unittest.equals(42.0)); | 5270 unittest.expect(o.failoverRatio, unittest.equals(42.0)); |
4964 checkUnnamed1319(o.healthChecks); | 5271 checkUnnamed620(o.healthChecks); |
4965 unittest.expect(o.id, unittest.equals('foo')); | 5272 unittest.expect(o.id, unittest.equals('foo')); |
4966 checkUnnamed1320(o.instances); | 5273 checkUnnamed621(o.instances); |
4967 unittest.expect(o.kind, unittest.equals('foo')); | 5274 unittest.expect(o.kind, unittest.equals('foo')); |
4968 unittest.expect(o.name, unittest.equals('foo')); | 5275 unittest.expect(o.name, unittest.equals('foo')); |
4969 unittest.expect(o.region, unittest.equals('foo')); | 5276 unittest.expect(o.region, unittest.equals('foo')); |
4970 unittest.expect(o.selfLink, unittest.equals('foo')); | 5277 unittest.expect(o.selfLink, unittest.equals('foo')); |
4971 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 5278 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
4972 } | 5279 } |
4973 buildCounterTargetPool--; | 5280 buildCounterTargetPool--; |
4974 } | 5281 } |
4975 | 5282 |
4976 buildUnnamed1321() { | 5283 buildUnnamed622() { |
4977 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); | 5284 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); |
4978 o["x"] = buildTargetPoolsScopedList(); | 5285 o["x"] = buildTargetPoolsScopedList(); |
4979 o["y"] = buildTargetPoolsScopedList(); | 5286 o["y"] = buildTargetPoolsScopedList(); |
4980 return o; | 5287 return o; |
4981 } | 5288 } |
4982 | 5289 |
4983 checkUnnamed1321(core.Map<core.String, api.TargetPoolsScopedList> o) { | 5290 checkUnnamed622(core.Map<core.String, api.TargetPoolsScopedList> o) { |
4984 unittest.expect(o, unittest.hasLength(2)); | 5291 unittest.expect(o, unittest.hasLength(2)); |
4985 checkTargetPoolsScopedList(o["x"]); | 5292 checkTargetPoolsScopedList(o["x"]); |
4986 checkTargetPoolsScopedList(o["y"]); | 5293 checkTargetPoolsScopedList(o["y"]); |
4987 } | 5294 } |
4988 | 5295 |
4989 core.int buildCounterTargetPoolAggregatedList = 0; | 5296 core.int buildCounterTargetPoolAggregatedList = 0; |
4990 buildTargetPoolAggregatedList() { | 5297 buildTargetPoolAggregatedList() { |
4991 var o = new api.TargetPoolAggregatedList(); | 5298 var o = new api.TargetPoolAggregatedList(); |
4992 buildCounterTargetPoolAggregatedList++; | 5299 buildCounterTargetPoolAggregatedList++; |
4993 if (buildCounterTargetPoolAggregatedList < 3) { | 5300 if (buildCounterTargetPoolAggregatedList < 3) { |
4994 o.id = "foo"; | 5301 o.id = "foo"; |
4995 o.items = buildUnnamed1321(); | 5302 o.items = buildUnnamed622(); |
4996 o.kind = "foo"; | 5303 o.kind = "foo"; |
4997 o.nextPageToken = "foo"; | 5304 o.nextPageToken = "foo"; |
4998 o.selfLink = "foo"; | 5305 o.selfLink = "foo"; |
4999 } | 5306 } |
5000 buildCounterTargetPoolAggregatedList--; | 5307 buildCounterTargetPoolAggregatedList--; |
5001 return o; | 5308 return o; |
5002 } | 5309 } |
5003 | 5310 |
5004 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { | 5311 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { |
5005 buildCounterTargetPoolAggregatedList++; | 5312 buildCounterTargetPoolAggregatedList++; |
5006 if (buildCounterTargetPoolAggregatedList < 3) { | 5313 if (buildCounterTargetPoolAggregatedList < 3) { |
5007 unittest.expect(o.id, unittest.equals('foo')); | 5314 unittest.expect(o.id, unittest.equals('foo')); |
5008 checkUnnamed1321(o.items); | 5315 checkUnnamed622(o.items); |
5009 unittest.expect(o.kind, unittest.equals('foo')); | 5316 unittest.expect(o.kind, unittest.equals('foo')); |
5010 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5317 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5011 unittest.expect(o.selfLink, unittest.equals('foo')); | 5318 unittest.expect(o.selfLink, unittest.equals('foo')); |
5012 } | 5319 } |
5013 buildCounterTargetPoolAggregatedList--; | 5320 buildCounterTargetPoolAggregatedList--; |
5014 } | 5321 } |
5015 | 5322 |
5016 buildUnnamed1322() { | 5323 buildUnnamed623() { |
5017 var o = new core.List<api.HealthStatus>(); | 5324 var o = new core.List<api.HealthStatus>(); |
5018 o.add(buildHealthStatus()); | 5325 o.add(buildHealthStatus()); |
5019 o.add(buildHealthStatus()); | 5326 o.add(buildHealthStatus()); |
5020 return o; | 5327 return o; |
5021 } | 5328 } |
5022 | 5329 |
5023 checkUnnamed1322(core.List<api.HealthStatus> o) { | 5330 checkUnnamed623(core.List<api.HealthStatus> o) { |
5024 unittest.expect(o, unittest.hasLength(2)); | 5331 unittest.expect(o, unittest.hasLength(2)); |
5025 checkHealthStatus(o[0]); | 5332 checkHealthStatus(o[0]); |
5026 checkHealthStatus(o[1]); | 5333 checkHealthStatus(o[1]); |
5027 } | 5334 } |
5028 | 5335 |
5029 core.int buildCounterTargetPoolInstanceHealth = 0; | 5336 core.int buildCounterTargetPoolInstanceHealth = 0; |
5030 buildTargetPoolInstanceHealth() { | 5337 buildTargetPoolInstanceHealth() { |
5031 var o = new api.TargetPoolInstanceHealth(); | 5338 var o = new api.TargetPoolInstanceHealth(); |
5032 buildCounterTargetPoolInstanceHealth++; | 5339 buildCounterTargetPoolInstanceHealth++; |
5033 if (buildCounterTargetPoolInstanceHealth < 3) { | 5340 if (buildCounterTargetPoolInstanceHealth < 3) { |
5034 o.healthStatus = buildUnnamed1322(); | 5341 o.healthStatus = buildUnnamed623(); |
5035 o.kind = "foo"; | 5342 o.kind = "foo"; |
5036 } | 5343 } |
5037 buildCounterTargetPoolInstanceHealth--; | 5344 buildCounterTargetPoolInstanceHealth--; |
5038 return o; | 5345 return o; |
5039 } | 5346 } |
5040 | 5347 |
5041 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { | 5348 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { |
5042 buildCounterTargetPoolInstanceHealth++; | 5349 buildCounterTargetPoolInstanceHealth++; |
5043 if (buildCounterTargetPoolInstanceHealth < 3) { | 5350 if (buildCounterTargetPoolInstanceHealth < 3) { |
5044 checkUnnamed1322(o.healthStatus); | 5351 checkUnnamed623(o.healthStatus); |
5045 unittest.expect(o.kind, unittest.equals('foo')); | 5352 unittest.expect(o.kind, unittest.equals('foo')); |
5046 } | 5353 } |
5047 buildCounterTargetPoolInstanceHealth--; | 5354 buildCounterTargetPoolInstanceHealth--; |
5048 } | 5355 } |
5049 | 5356 |
5050 buildUnnamed1323() { | 5357 buildUnnamed624() { |
5051 var o = new core.List<api.TargetPool>(); | 5358 var o = new core.List<api.TargetPool>(); |
5052 o.add(buildTargetPool()); | 5359 o.add(buildTargetPool()); |
5053 o.add(buildTargetPool()); | 5360 o.add(buildTargetPool()); |
5054 return o; | 5361 return o; |
5055 } | 5362 } |
5056 | 5363 |
5057 checkUnnamed1323(core.List<api.TargetPool> o) { | 5364 checkUnnamed624(core.List<api.TargetPool> o) { |
5058 unittest.expect(o, unittest.hasLength(2)); | 5365 unittest.expect(o, unittest.hasLength(2)); |
5059 checkTargetPool(o[0]); | 5366 checkTargetPool(o[0]); |
5060 checkTargetPool(o[1]); | 5367 checkTargetPool(o[1]); |
5061 } | 5368 } |
5062 | 5369 |
5063 core.int buildCounterTargetPoolList = 0; | 5370 core.int buildCounterTargetPoolList = 0; |
5064 buildTargetPoolList() { | 5371 buildTargetPoolList() { |
5065 var o = new api.TargetPoolList(); | 5372 var o = new api.TargetPoolList(); |
5066 buildCounterTargetPoolList++; | 5373 buildCounterTargetPoolList++; |
5067 if (buildCounterTargetPoolList < 3) { | 5374 if (buildCounterTargetPoolList < 3) { |
5068 o.id = "foo"; | 5375 o.id = "foo"; |
5069 o.items = buildUnnamed1323(); | 5376 o.items = buildUnnamed624(); |
5070 o.kind = "foo"; | 5377 o.kind = "foo"; |
5071 o.nextPageToken = "foo"; | 5378 o.nextPageToken = "foo"; |
5072 o.selfLink = "foo"; | 5379 o.selfLink = "foo"; |
5073 } | 5380 } |
5074 buildCounterTargetPoolList--; | 5381 buildCounterTargetPoolList--; |
5075 return o; | 5382 return o; |
5076 } | 5383 } |
5077 | 5384 |
5078 checkTargetPoolList(api.TargetPoolList o) { | 5385 checkTargetPoolList(api.TargetPoolList o) { |
5079 buildCounterTargetPoolList++; | 5386 buildCounterTargetPoolList++; |
5080 if (buildCounterTargetPoolList < 3) { | 5387 if (buildCounterTargetPoolList < 3) { |
5081 unittest.expect(o.id, unittest.equals('foo')); | 5388 unittest.expect(o.id, unittest.equals('foo')); |
5082 checkUnnamed1323(o.items); | 5389 checkUnnamed624(o.items); |
5083 unittest.expect(o.kind, unittest.equals('foo')); | 5390 unittest.expect(o.kind, unittest.equals('foo')); |
5084 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5391 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5085 unittest.expect(o.selfLink, unittest.equals('foo')); | 5392 unittest.expect(o.selfLink, unittest.equals('foo')); |
5086 } | 5393 } |
5087 buildCounterTargetPoolList--; | 5394 buildCounterTargetPoolList--; |
5088 } | 5395 } |
5089 | 5396 |
5090 buildUnnamed1324() { | 5397 buildUnnamed625() { |
5091 var o = new core.List<api.HealthCheckReference>(); | 5398 var o = new core.List<api.HealthCheckReference>(); |
5092 o.add(buildHealthCheckReference()); | 5399 o.add(buildHealthCheckReference()); |
5093 o.add(buildHealthCheckReference()); | 5400 o.add(buildHealthCheckReference()); |
5094 return o; | 5401 return o; |
5095 } | 5402 } |
5096 | 5403 |
5097 checkUnnamed1324(core.List<api.HealthCheckReference> o) { | 5404 checkUnnamed625(core.List<api.HealthCheckReference> o) { |
5098 unittest.expect(o, unittest.hasLength(2)); | 5405 unittest.expect(o, unittest.hasLength(2)); |
5099 checkHealthCheckReference(o[0]); | 5406 checkHealthCheckReference(o[0]); |
5100 checkHealthCheckReference(o[1]); | 5407 checkHealthCheckReference(o[1]); |
5101 } | 5408 } |
5102 | 5409 |
5103 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; | 5410 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; |
5104 buildTargetPoolsAddHealthCheckRequest() { | 5411 buildTargetPoolsAddHealthCheckRequest() { |
5105 var o = new api.TargetPoolsAddHealthCheckRequest(); | 5412 var o = new api.TargetPoolsAddHealthCheckRequest(); |
5106 buildCounterTargetPoolsAddHealthCheckRequest++; | 5413 buildCounterTargetPoolsAddHealthCheckRequest++; |
5107 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 5414 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
5108 o.healthChecks = buildUnnamed1324(); | 5415 o.healthChecks = buildUnnamed625(); |
5109 } | 5416 } |
5110 buildCounterTargetPoolsAddHealthCheckRequest--; | 5417 buildCounterTargetPoolsAddHealthCheckRequest--; |
5111 return o; | 5418 return o; |
5112 } | 5419 } |
5113 | 5420 |
5114 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { | 5421 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { |
5115 buildCounterTargetPoolsAddHealthCheckRequest++; | 5422 buildCounterTargetPoolsAddHealthCheckRequest++; |
5116 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 5423 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
5117 checkUnnamed1324(o.healthChecks); | 5424 checkUnnamed625(o.healthChecks); |
5118 } | 5425 } |
5119 buildCounterTargetPoolsAddHealthCheckRequest--; | 5426 buildCounterTargetPoolsAddHealthCheckRequest--; |
5120 } | 5427 } |
5121 | 5428 |
5122 buildUnnamed1325() { | 5429 buildUnnamed626() { |
5123 var o = new core.List<api.InstanceReference>(); | 5430 var o = new core.List<api.InstanceReference>(); |
5124 o.add(buildInstanceReference()); | 5431 o.add(buildInstanceReference()); |
5125 o.add(buildInstanceReference()); | 5432 o.add(buildInstanceReference()); |
5126 return o; | 5433 return o; |
5127 } | 5434 } |
5128 | 5435 |
5129 checkUnnamed1325(core.List<api.InstanceReference> o) { | 5436 checkUnnamed626(core.List<api.InstanceReference> o) { |
5130 unittest.expect(o, unittest.hasLength(2)); | 5437 unittest.expect(o, unittest.hasLength(2)); |
5131 checkInstanceReference(o[0]); | 5438 checkInstanceReference(o[0]); |
5132 checkInstanceReference(o[1]); | 5439 checkInstanceReference(o[1]); |
5133 } | 5440 } |
5134 | 5441 |
5135 core.int buildCounterTargetPoolsAddInstanceRequest = 0; | 5442 core.int buildCounterTargetPoolsAddInstanceRequest = 0; |
5136 buildTargetPoolsAddInstanceRequest() { | 5443 buildTargetPoolsAddInstanceRequest() { |
5137 var o = new api.TargetPoolsAddInstanceRequest(); | 5444 var o = new api.TargetPoolsAddInstanceRequest(); |
5138 buildCounterTargetPoolsAddInstanceRequest++; | 5445 buildCounterTargetPoolsAddInstanceRequest++; |
5139 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 5446 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
5140 o.instances = buildUnnamed1325(); | 5447 o.instances = buildUnnamed626(); |
5141 } | 5448 } |
5142 buildCounterTargetPoolsAddInstanceRequest--; | 5449 buildCounterTargetPoolsAddInstanceRequest--; |
5143 return o; | 5450 return o; |
5144 } | 5451 } |
5145 | 5452 |
5146 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { | 5453 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { |
5147 buildCounterTargetPoolsAddInstanceRequest++; | 5454 buildCounterTargetPoolsAddInstanceRequest++; |
5148 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 5455 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
5149 checkUnnamed1325(o.instances); | 5456 checkUnnamed626(o.instances); |
5150 } | 5457 } |
5151 buildCounterTargetPoolsAddInstanceRequest--; | 5458 buildCounterTargetPoolsAddInstanceRequest--; |
5152 } | 5459 } |
5153 | 5460 |
5154 buildUnnamed1326() { | 5461 buildUnnamed627() { |
5155 var o = new core.List<api.HealthCheckReference>(); | 5462 var o = new core.List<api.HealthCheckReference>(); |
5156 o.add(buildHealthCheckReference()); | 5463 o.add(buildHealthCheckReference()); |
5157 o.add(buildHealthCheckReference()); | 5464 o.add(buildHealthCheckReference()); |
5158 return o; | 5465 return o; |
5159 } | 5466 } |
5160 | 5467 |
5161 checkUnnamed1326(core.List<api.HealthCheckReference> o) { | 5468 checkUnnamed627(core.List<api.HealthCheckReference> o) { |
5162 unittest.expect(o, unittest.hasLength(2)); | 5469 unittest.expect(o, unittest.hasLength(2)); |
5163 checkHealthCheckReference(o[0]); | 5470 checkHealthCheckReference(o[0]); |
5164 checkHealthCheckReference(o[1]); | 5471 checkHealthCheckReference(o[1]); |
5165 } | 5472 } |
5166 | 5473 |
5167 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; | 5474 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; |
5168 buildTargetPoolsRemoveHealthCheckRequest() { | 5475 buildTargetPoolsRemoveHealthCheckRequest() { |
5169 var o = new api.TargetPoolsRemoveHealthCheckRequest(); | 5476 var o = new api.TargetPoolsRemoveHealthCheckRequest(); |
5170 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 5477 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
5171 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 5478 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
5172 o.healthChecks = buildUnnamed1326(); | 5479 o.healthChecks = buildUnnamed627(); |
5173 } | 5480 } |
5174 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 5481 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
5175 return o; | 5482 return o; |
5176 } | 5483 } |
5177 | 5484 |
5178 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { | 5485 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { |
5179 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 5486 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
5180 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 5487 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
5181 checkUnnamed1326(o.healthChecks); | 5488 checkUnnamed627(o.healthChecks); |
5182 } | 5489 } |
5183 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 5490 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
5184 } | 5491 } |
5185 | 5492 |
5186 buildUnnamed1327() { | 5493 buildUnnamed628() { |
5187 var o = new core.List<api.InstanceReference>(); | 5494 var o = new core.List<api.InstanceReference>(); |
5188 o.add(buildInstanceReference()); | 5495 o.add(buildInstanceReference()); |
5189 o.add(buildInstanceReference()); | 5496 o.add(buildInstanceReference()); |
5190 return o; | 5497 return o; |
5191 } | 5498 } |
5192 | 5499 |
5193 checkUnnamed1327(core.List<api.InstanceReference> o) { | 5500 checkUnnamed628(core.List<api.InstanceReference> o) { |
5194 unittest.expect(o, unittest.hasLength(2)); | 5501 unittest.expect(o, unittest.hasLength(2)); |
5195 checkInstanceReference(o[0]); | 5502 checkInstanceReference(o[0]); |
5196 checkInstanceReference(o[1]); | 5503 checkInstanceReference(o[1]); |
5197 } | 5504 } |
5198 | 5505 |
5199 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; | 5506 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; |
5200 buildTargetPoolsRemoveInstanceRequest() { | 5507 buildTargetPoolsRemoveInstanceRequest() { |
5201 var o = new api.TargetPoolsRemoveInstanceRequest(); | 5508 var o = new api.TargetPoolsRemoveInstanceRequest(); |
5202 buildCounterTargetPoolsRemoveInstanceRequest++; | 5509 buildCounterTargetPoolsRemoveInstanceRequest++; |
5203 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 5510 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
5204 o.instances = buildUnnamed1327(); | 5511 o.instances = buildUnnamed628(); |
5205 } | 5512 } |
5206 buildCounterTargetPoolsRemoveInstanceRequest--; | 5513 buildCounterTargetPoolsRemoveInstanceRequest--; |
5207 return o; | 5514 return o; |
5208 } | 5515 } |
5209 | 5516 |
5210 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { | 5517 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { |
5211 buildCounterTargetPoolsRemoveInstanceRequest++; | 5518 buildCounterTargetPoolsRemoveInstanceRequest++; |
5212 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 5519 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
5213 checkUnnamed1327(o.instances); | 5520 checkUnnamed628(o.instances); |
5214 } | 5521 } |
5215 buildCounterTargetPoolsRemoveInstanceRequest--; | 5522 buildCounterTargetPoolsRemoveInstanceRequest--; |
5216 } | 5523 } |
5217 | 5524 |
5218 buildUnnamed1328() { | 5525 buildUnnamed629() { |
5219 var o = new core.List<api.TargetPool>(); | 5526 var o = new core.List<api.TargetPool>(); |
5220 o.add(buildTargetPool()); | 5527 o.add(buildTargetPool()); |
5221 o.add(buildTargetPool()); | 5528 o.add(buildTargetPool()); |
5222 return o; | 5529 return o; |
5223 } | 5530 } |
5224 | 5531 |
5225 checkUnnamed1328(core.List<api.TargetPool> o) { | 5532 checkUnnamed629(core.List<api.TargetPool> o) { |
5226 unittest.expect(o, unittest.hasLength(2)); | 5533 unittest.expect(o, unittest.hasLength(2)); |
5227 checkTargetPool(o[0]); | 5534 checkTargetPool(o[0]); |
5228 checkTargetPool(o[1]); | 5535 checkTargetPool(o[1]); |
5229 } | 5536 } |
5230 | 5537 |
5231 core.int buildCounterTargetPoolsScopedListWarningData = 0; | 5538 core.int buildCounterTargetPoolsScopedListWarningData = 0; |
5232 buildTargetPoolsScopedListWarningData() { | 5539 buildTargetPoolsScopedListWarningData() { |
5233 var o = new api.TargetPoolsScopedListWarningData(); | 5540 var o = new api.TargetPoolsScopedListWarningData(); |
5234 buildCounterTargetPoolsScopedListWarningData++; | 5541 buildCounterTargetPoolsScopedListWarningData++; |
5235 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 5542 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
5236 o.key = "foo"; | 5543 o.key = "foo"; |
5237 o.value = "foo"; | 5544 o.value = "foo"; |
5238 } | 5545 } |
5239 buildCounterTargetPoolsScopedListWarningData--; | 5546 buildCounterTargetPoolsScopedListWarningData--; |
5240 return o; | 5547 return o; |
5241 } | 5548 } |
5242 | 5549 |
5243 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { | 5550 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { |
5244 buildCounterTargetPoolsScopedListWarningData++; | 5551 buildCounterTargetPoolsScopedListWarningData++; |
5245 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 5552 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
5246 unittest.expect(o.key, unittest.equals('foo')); | 5553 unittest.expect(o.key, unittest.equals('foo')); |
5247 unittest.expect(o.value, unittest.equals('foo')); | 5554 unittest.expect(o.value, unittest.equals('foo')); |
5248 } | 5555 } |
5249 buildCounterTargetPoolsScopedListWarningData--; | 5556 buildCounterTargetPoolsScopedListWarningData--; |
5250 } | 5557 } |
5251 | 5558 |
5252 buildUnnamed1329() { | 5559 buildUnnamed630() { |
5253 var o = new core.List<api.TargetPoolsScopedListWarningData>(); | 5560 var o = new core.List<api.TargetPoolsScopedListWarningData>(); |
5254 o.add(buildTargetPoolsScopedListWarningData()); | 5561 o.add(buildTargetPoolsScopedListWarningData()); |
5255 o.add(buildTargetPoolsScopedListWarningData()); | 5562 o.add(buildTargetPoolsScopedListWarningData()); |
5256 return o; | 5563 return o; |
5257 } | 5564 } |
5258 | 5565 |
5259 checkUnnamed1329(core.List<api.TargetPoolsScopedListWarningData> o) { | 5566 checkUnnamed630(core.List<api.TargetPoolsScopedListWarningData> o) { |
5260 unittest.expect(o, unittest.hasLength(2)); | 5567 unittest.expect(o, unittest.hasLength(2)); |
5261 checkTargetPoolsScopedListWarningData(o[0]); | 5568 checkTargetPoolsScopedListWarningData(o[0]); |
5262 checkTargetPoolsScopedListWarningData(o[1]); | 5569 checkTargetPoolsScopedListWarningData(o[1]); |
5263 } | 5570 } |
5264 | 5571 |
5265 core.int buildCounterTargetPoolsScopedListWarning = 0; | 5572 core.int buildCounterTargetPoolsScopedListWarning = 0; |
5266 buildTargetPoolsScopedListWarning() { | 5573 buildTargetPoolsScopedListWarning() { |
5267 var o = new api.TargetPoolsScopedListWarning(); | 5574 var o = new api.TargetPoolsScopedListWarning(); |
5268 buildCounterTargetPoolsScopedListWarning++; | 5575 buildCounterTargetPoolsScopedListWarning++; |
5269 if (buildCounterTargetPoolsScopedListWarning < 3) { | 5576 if (buildCounterTargetPoolsScopedListWarning < 3) { |
5270 o.code = "foo"; | 5577 o.code = "foo"; |
5271 o.data = buildUnnamed1329(); | 5578 o.data = buildUnnamed630(); |
5272 o.message = "foo"; | 5579 o.message = "foo"; |
5273 } | 5580 } |
5274 buildCounterTargetPoolsScopedListWarning--; | 5581 buildCounterTargetPoolsScopedListWarning--; |
5275 return o; | 5582 return o; |
5276 } | 5583 } |
5277 | 5584 |
5278 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { | 5585 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { |
5279 buildCounterTargetPoolsScopedListWarning++; | 5586 buildCounterTargetPoolsScopedListWarning++; |
5280 if (buildCounterTargetPoolsScopedListWarning < 3) { | 5587 if (buildCounterTargetPoolsScopedListWarning < 3) { |
5281 unittest.expect(o.code, unittest.equals('foo')); | 5588 unittest.expect(o.code, unittest.equals('foo')); |
5282 checkUnnamed1329(o.data); | 5589 checkUnnamed630(o.data); |
5283 unittest.expect(o.message, unittest.equals('foo')); | 5590 unittest.expect(o.message, unittest.equals('foo')); |
5284 } | 5591 } |
5285 buildCounterTargetPoolsScopedListWarning--; | 5592 buildCounterTargetPoolsScopedListWarning--; |
5286 } | 5593 } |
5287 | 5594 |
5288 core.int buildCounterTargetPoolsScopedList = 0; | 5595 core.int buildCounterTargetPoolsScopedList = 0; |
5289 buildTargetPoolsScopedList() { | 5596 buildTargetPoolsScopedList() { |
5290 var o = new api.TargetPoolsScopedList(); | 5597 var o = new api.TargetPoolsScopedList(); |
5291 buildCounterTargetPoolsScopedList++; | 5598 buildCounterTargetPoolsScopedList++; |
5292 if (buildCounterTargetPoolsScopedList < 3) { | 5599 if (buildCounterTargetPoolsScopedList < 3) { |
5293 o.targetPools = buildUnnamed1328(); | 5600 o.targetPools = buildUnnamed629(); |
5294 o.warning = buildTargetPoolsScopedListWarning(); | 5601 o.warning = buildTargetPoolsScopedListWarning(); |
5295 } | 5602 } |
5296 buildCounterTargetPoolsScopedList--; | 5603 buildCounterTargetPoolsScopedList--; |
5297 return o; | 5604 return o; |
5298 } | 5605 } |
5299 | 5606 |
5300 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { | 5607 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { |
5301 buildCounterTargetPoolsScopedList++; | 5608 buildCounterTargetPoolsScopedList++; |
5302 if (buildCounterTargetPoolsScopedList < 3) { | 5609 if (buildCounterTargetPoolsScopedList < 3) { |
5303 checkUnnamed1328(o.targetPools); | 5610 checkUnnamed629(o.targetPools); |
5304 checkTargetPoolsScopedListWarning(o.warning); | 5611 checkTargetPoolsScopedListWarning(o.warning); |
5305 } | 5612 } |
5306 buildCounterTargetPoolsScopedList--; | 5613 buildCounterTargetPoolsScopedList--; |
5307 } | 5614 } |
5308 | 5615 |
5309 core.int buildCounterTargetReference = 0; | 5616 core.int buildCounterTargetReference = 0; |
5310 buildTargetReference() { | 5617 buildTargetReference() { |
5311 var o = new api.TargetReference(); | 5618 var o = new api.TargetReference(); |
5312 buildCounterTargetReference++; | 5619 buildCounterTargetReference++; |
5313 if (buildCounterTargetReference < 3) { | 5620 if (buildCounterTargetReference < 3) { |
5314 o.target = "foo"; | 5621 o.target = "foo"; |
5315 } | 5622 } |
5316 buildCounterTargetReference--; | 5623 buildCounterTargetReference--; |
5317 return o; | 5624 return o; |
5318 } | 5625 } |
5319 | 5626 |
5320 checkTargetReference(api.TargetReference o) { | 5627 checkTargetReference(api.TargetReference o) { |
5321 buildCounterTargetReference++; | 5628 buildCounterTargetReference++; |
5322 if (buildCounterTargetReference < 3) { | 5629 if (buildCounterTargetReference < 3) { |
5323 unittest.expect(o.target, unittest.equals('foo')); | 5630 unittest.expect(o.target, unittest.equals('foo')); |
5324 } | 5631 } |
5325 buildCounterTargetReference--; | 5632 buildCounterTargetReference--; |
5326 } | 5633 } |
5327 | 5634 |
5328 buildUnnamed1330() { | 5635 buildUnnamed631() { |
5329 var o = new core.List<core.String>(); | 5636 var o = new core.List<core.String>(); |
5330 o.add("foo"); | 5637 o.add("foo"); |
5331 o.add("foo"); | 5638 o.add("foo"); |
5332 return o; | 5639 return o; |
5333 } | 5640 } |
5334 | 5641 |
5335 checkUnnamed1330(core.List<core.String> o) { | 5642 checkUnnamed631(core.List<core.String> o) { |
5336 unittest.expect(o, unittest.hasLength(2)); | 5643 unittest.expect(o, unittest.hasLength(2)); |
5337 unittest.expect(o[0], unittest.equals('foo')); | 5644 unittest.expect(o[0], unittest.equals('foo')); |
5338 unittest.expect(o[1], unittest.equals('foo')); | 5645 unittest.expect(o[1], unittest.equals('foo')); |
5339 } | 5646 } |
5340 | 5647 |
5341 buildUnnamed1331() { | 5648 buildUnnamed632() { |
5342 var o = new core.List<core.String>(); | 5649 var o = new core.List<core.String>(); |
5343 o.add("foo"); | 5650 o.add("foo"); |
5344 o.add("foo"); | 5651 o.add("foo"); |
5345 return o; | 5652 return o; |
5346 } | 5653 } |
5347 | 5654 |
5348 checkUnnamed1331(core.List<core.String> o) { | 5655 checkUnnamed632(core.List<core.String> o) { |
5349 unittest.expect(o, unittest.hasLength(2)); | 5656 unittest.expect(o, unittest.hasLength(2)); |
5350 unittest.expect(o[0], unittest.equals('foo')); | 5657 unittest.expect(o[0], unittest.equals('foo')); |
5351 unittest.expect(o[1], unittest.equals('foo')); | 5658 unittest.expect(o[1], unittest.equals('foo')); |
5352 } | 5659 } |
5353 | 5660 |
5354 core.int buildCounterTargetVpnGateway = 0; | 5661 core.int buildCounterTargetVpnGateway = 0; |
5355 buildTargetVpnGateway() { | 5662 buildTargetVpnGateway() { |
5356 var o = new api.TargetVpnGateway(); | 5663 var o = new api.TargetVpnGateway(); |
5357 buildCounterTargetVpnGateway++; | 5664 buildCounterTargetVpnGateway++; |
5358 if (buildCounterTargetVpnGateway < 3) { | 5665 if (buildCounterTargetVpnGateway < 3) { |
5359 o.creationTimestamp = "foo"; | 5666 o.creationTimestamp = "foo"; |
5360 o.description = "foo"; | 5667 o.description = "foo"; |
5361 o.forwardingRules = buildUnnamed1330(); | 5668 o.forwardingRules = buildUnnamed631(); |
5362 o.id = "foo"; | 5669 o.id = "foo"; |
5363 o.kind = "foo"; | 5670 o.kind = "foo"; |
5364 o.name = "foo"; | 5671 o.name = "foo"; |
5365 o.network = "foo"; | 5672 o.network = "foo"; |
5366 o.region = "foo"; | 5673 o.region = "foo"; |
5367 o.selfLink = "foo"; | 5674 o.selfLink = "foo"; |
5368 o.status = "foo"; | 5675 o.status = "foo"; |
5369 o.tunnels = buildUnnamed1331(); | 5676 o.tunnels = buildUnnamed632(); |
5370 } | 5677 } |
5371 buildCounterTargetVpnGateway--; | 5678 buildCounterTargetVpnGateway--; |
5372 return o; | 5679 return o; |
5373 } | 5680 } |
5374 | 5681 |
5375 checkTargetVpnGateway(api.TargetVpnGateway o) { | 5682 checkTargetVpnGateway(api.TargetVpnGateway o) { |
5376 buildCounterTargetVpnGateway++; | 5683 buildCounterTargetVpnGateway++; |
5377 if (buildCounterTargetVpnGateway < 3) { | 5684 if (buildCounterTargetVpnGateway < 3) { |
5378 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5685 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5379 unittest.expect(o.description, unittest.equals('foo')); | 5686 unittest.expect(o.description, unittest.equals('foo')); |
5380 checkUnnamed1330(o.forwardingRules); | 5687 checkUnnamed631(o.forwardingRules); |
5381 unittest.expect(o.id, unittest.equals('foo')); | 5688 unittest.expect(o.id, unittest.equals('foo')); |
5382 unittest.expect(o.kind, unittest.equals('foo')); | 5689 unittest.expect(o.kind, unittest.equals('foo')); |
5383 unittest.expect(o.name, unittest.equals('foo')); | 5690 unittest.expect(o.name, unittest.equals('foo')); |
5384 unittest.expect(o.network, unittest.equals('foo')); | 5691 unittest.expect(o.network, unittest.equals('foo')); |
5385 unittest.expect(o.region, unittest.equals('foo')); | 5692 unittest.expect(o.region, unittest.equals('foo')); |
5386 unittest.expect(o.selfLink, unittest.equals('foo')); | 5693 unittest.expect(o.selfLink, unittest.equals('foo')); |
5387 unittest.expect(o.status, unittest.equals('foo')); | 5694 unittest.expect(o.status, unittest.equals('foo')); |
5388 checkUnnamed1331(o.tunnels); | 5695 checkUnnamed632(o.tunnels); |
5389 } | 5696 } |
5390 buildCounterTargetVpnGateway--; | 5697 buildCounterTargetVpnGateway--; |
5391 } | 5698 } |
5392 | 5699 |
5393 buildUnnamed1332() { | 5700 buildUnnamed633() { |
5394 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); | 5701 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); |
5395 o["x"] = buildTargetVpnGatewaysScopedList(); | 5702 o["x"] = buildTargetVpnGatewaysScopedList(); |
5396 o["y"] = buildTargetVpnGatewaysScopedList(); | 5703 o["y"] = buildTargetVpnGatewaysScopedList(); |
5397 return o; | 5704 return o; |
5398 } | 5705 } |
5399 | 5706 |
5400 checkUnnamed1332(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { | 5707 checkUnnamed633(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { |
5401 unittest.expect(o, unittest.hasLength(2)); | 5708 unittest.expect(o, unittest.hasLength(2)); |
5402 checkTargetVpnGatewaysScopedList(o["x"]); | 5709 checkTargetVpnGatewaysScopedList(o["x"]); |
5403 checkTargetVpnGatewaysScopedList(o["y"]); | 5710 checkTargetVpnGatewaysScopedList(o["y"]); |
5404 } | 5711 } |
5405 | 5712 |
5406 core.int buildCounterTargetVpnGatewayAggregatedList = 0; | 5713 core.int buildCounterTargetVpnGatewayAggregatedList = 0; |
5407 buildTargetVpnGatewayAggregatedList() { | 5714 buildTargetVpnGatewayAggregatedList() { |
5408 var o = new api.TargetVpnGatewayAggregatedList(); | 5715 var o = new api.TargetVpnGatewayAggregatedList(); |
5409 buildCounterTargetVpnGatewayAggregatedList++; | 5716 buildCounterTargetVpnGatewayAggregatedList++; |
5410 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 5717 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
5411 o.id = "foo"; | 5718 o.id = "foo"; |
5412 o.items = buildUnnamed1332(); | 5719 o.items = buildUnnamed633(); |
5413 o.kind = "foo"; | 5720 o.kind = "foo"; |
5414 o.nextPageToken = "foo"; | 5721 o.nextPageToken = "foo"; |
5415 o.selfLink = "foo"; | 5722 o.selfLink = "foo"; |
5416 } | 5723 } |
5417 buildCounterTargetVpnGatewayAggregatedList--; | 5724 buildCounterTargetVpnGatewayAggregatedList--; |
5418 return o; | 5725 return o; |
5419 } | 5726 } |
5420 | 5727 |
5421 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { | 5728 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { |
5422 buildCounterTargetVpnGatewayAggregatedList++; | 5729 buildCounterTargetVpnGatewayAggregatedList++; |
5423 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 5730 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
5424 unittest.expect(o.id, unittest.equals('foo')); | 5731 unittest.expect(o.id, unittest.equals('foo')); |
5425 checkUnnamed1332(o.items); | 5732 checkUnnamed633(o.items); |
5426 unittest.expect(o.kind, unittest.equals('foo')); | 5733 unittest.expect(o.kind, unittest.equals('foo')); |
5427 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5734 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5428 unittest.expect(o.selfLink, unittest.equals('foo')); | 5735 unittest.expect(o.selfLink, unittest.equals('foo')); |
5429 } | 5736 } |
5430 buildCounterTargetVpnGatewayAggregatedList--; | 5737 buildCounterTargetVpnGatewayAggregatedList--; |
5431 } | 5738 } |
5432 | 5739 |
5433 buildUnnamed1333() { | 5740 buildUnnamed634() { |
5434 var o = new core.List<api.TargetVpnGateway>(); | 5741 var o = new core.List<api.TargetVpnGateway>(); |
5435 o.add(buildTargetVpnGateway()); | 5742 o.add(buildTargetVpnGateway()); |
5436 o.add(buildTargetVpnGateway()); | 5743 o.add(buildTargetVpnGateway()); |
5437 return o; | 5744 return o; |
5438 } | 5745 } |
5439 | 5746 |
5440 checkUnnamed1333(core.List<api.TargetVpnGateway> o) { | 5747 checkUnnamed634(core.List<api.TargetVpnGateway> o) { |
5441 unittest.expect(o, unittest.hasLength(2)); | 5748 unittest.expect(o, unittest.hasLength(2)); |
5442 checkTargetVpnGateway(o[0]); | 5749 checkTargetVpnGateway(o[0]); |
5443 checkTargetVpnGateway(o[1]); | 5750 checkTargetVpnGateway(o[1]); |
5444 } | 5751 } |
5445 | 5752 |
5446 core.int buildCounterTargetVpnGatewayList = 0; | 5753 core.int buildCounterTargetVpnGatewayList = 0; |
5447 buildTargetVpnGatewayList() { | 5754 buildTargetVpnGatewayList() { |
5448 var o = new api.TargetVpnGatewayList(); | 5755 var o = new api.TargetVpnGatewayList(); |
5449 buildCounterTargetVpnGatewayList++; | 5756 buildCounterTargetVpnGatewayList++; |
5450 if (buildCounterTargetVpnGatewayList < 3) { | 5757 if (buildCounterTargetVpnGatewayList < 3) { |
5451 o.id = "foo"; | 5758 o.id = "foo"; |
5452 o.items = buildUnnamed1333(); | 5759 o.items = buildUnnamed634(); |
5453 o.kind = "foo"; | 5760 o.kind = "foo"; |
5454 o.nextPageToken = "foo"; | 5761 o.nextPageToken = "foo"; |
5455 o.selfLink = "foo"; | 5762 o.selfLink = "foo"; |
5456 } | 5763 } |
5457 buildCounterTargetVpnGatewayList--; | 5764 buildCounterTargetVpnGatewayList--; |
5458 return o; | 5765 return o; |
5459 } | 5766 } |
5460 | 5767 |
5461 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { | 5768 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { |
5462 buildCounterTargetVpnGatewayList++; | 5769 buildCounterTargetVpnGatewayList++; |
5463 if (buildCounterTargetVpnGatewayList < 3) { | 5770 if (buildCounterTargetVpnGatewayList < 3) { |
5464 unittest.expect(o.id, unittest.equals('foo')); | 5771 unittest.expect(o.id, unittest.equals('foo')); |
5465 checkUnnamed1333(o.items); | 5772 checkUnnamed634(o.items); |
5466 unittest.expect(o.kind, unittest.equals('foo')); | 5773 unittest.expect(o.kind, unittest.equals('foo')); |
5467 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5774 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5468 unittest.expect(o.selfLink, unittest.equals('foo')); | 5775 unittest.expect(o.selfLink, unittest.equals('foo')); |
5469 } | 5776 } |
5470 buildCounterTargetVpnGatewayList--; | 5777 buildCounterTargetVpnGatewayList--; |
5471 } | 5778 } |
5472 | 5779 |
5473 buildUnnamed1334() { | 5780 buildUnnamed635() { |
5474 var o = new core.List<api.TargetVpnGateway>(); | 5781 var o = new core.List<api.TargetVpnGateway>(); |
5475 o.add(buildTargetVpnGateway()); | 5782 o.add(buildTargetVpnGateway()); |
5476 o.add(buildTargetVpnGateway()); | 5783 o.add(buildTargetVpnGateway()); |
5477 return o; | 5784 return o; |
5478 } | 5785 } |
5479 | 5786 |
5480 checkUnnamed1334(core.List<api.TargetVpnGateway> o) { | 5787 checkUnnamed635(core.List<api.TargetVpnGateway> o) { |
5481 unittest.expect(o, unittest.hasLength(2)); | 5788 unittest.expect(o, unittest.hasLength(2)); |
5482 checkTargetVpnGateway(o[0]); | 5789 checkTargetVpnGateway(o[0]); |
5483 checkTargetVpnGateway(o[1]); | 5790 checkTargetVpnGateway(o[1]); |
5484 } | 5791 } |
5485 | 5792 |
5486 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; | 5793 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; |
5487 buildTargetVpnGatewaysScopedListWarningData() { | 5794 buildTargetVpnGatewaysScopedListWarningData() { |
5488 var o = new api.TargetVpnGatewaysScopedListWarningData(); | 5795 var o = new api.TargetVpnGatewaysScopedListWarningData(); |
5489 buildCounterTargetVpnGatewaysScopedListWarningData++; | 5796 buildCounterTargetVpnGatewaysScopedListWarningData++; |
5490 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 5797 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
5491 o.key = "foo"; | 5798 o.key = "foo"; |
5492 o.value = "foo"; | 5799 o.value = "foo"; |
5493 } | 5800 } |
5494 buildCounterTargetVpnGatewaysScopedListWarningData--; | 5801 buildCounterTargetVpnGatewaysScopedListWarningData--; |
5495 return o; | 5802 return o; |
5496 } | 5803 } |
5497 | 5804 |
5498 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { | 5805 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { |
5499 buildCounterTargetVpnGatewaysScopedListWarningData++; | 5806 buildCounterTargetVpnGatewaysScopedListWarningData++; |
5500 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 5807 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
5501 unittest.expect(o.key, unittest.equals('foo')); | 5808 unittest.expect(o.key, unittest.equals('foo')); |
5502 unittest.expect(o.value, unittest.equals('foo')); | 5809 unittest.expect(o.value, unittest.equals('foo')); |
5503 } | 5810 } |
5504 buildCounterTargetVpnGatewaysScopedListWarningData--; | 5811 buildCounterTargetVpnGatewaysScopedListWarningData--; |
5505 } | 5812 } |
5506 | 5813 |
5507 buildUnnamed1335() { | 5814 buildUnnamed636() { |
5508 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); | 5815 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); |
5509 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 5816 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
5510 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 5817 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
5511 return o; | 5818 return o; |
5512 } | 5819 } |
5513 | 5820 |
5514 checkUnnamed1335(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { | 5821 checkUnnamed636(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { |
5515 unittest.expect(o, unittest.hasLength(2)); | 5822 unittest.expect(o, unittest.hasLength(2)); |
5516 checkTargetVpnGatewaysScopedListWarningData(o[0]); | 5823 checkTargetVpnGatewaysScopedListWarningData(o[0]); |
5517 checkTargetVpnGatewaysScopedListWarningData(o[1]); | 5824 checkTargetVpnGatewaysScopedListWarningData(o[1]); |
5518 } | 5825 } |
5519 | 5826 |
5520 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; | 5827 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; |
5521 buildTargetVpnGatewaysScopedListWarning() { | 5828 buildTargetVpnGatewaysScopedListWarning() { |
5522 var o = new api.TargetVpnGatewaysScopedListWarning(); | 5829 var o = new api.TargetVpnGatewaysScopedListWarning(); |
5523 buildCounterTargetVpnGatewaysScopedListWarning++; | 5830 buildCounterTargetVpnGatewaysScopedListWarning++; |
5524 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 5831 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
5525 o.code = "foo"; | 5832 o.code = "foo"; |
5526 o.data = buildUnnamed1335(); | 5833 o.data = buildUnnamed636(); |
5527 o.message = "foo"; | 5834 o.message = "foo"; |
5528 } | 5835 } |
5529 buildCounterTargetVpnGatewaysScopedListWarning--; | 5836 buildCounterTargetVpnGatewaysScopedListWarning--; |
5530 return o; | 5837 return o; |
5531 } | 5838 } |
5532 | 5839 |
5533 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { | 5840 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { |
5534 buildCounterTargetVpnGatewaysScopedListWarning++; | 5841 buildCounterTargetVpnGatewaysScopedListWarning++; |
5535 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 5842 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
5536 unittest.expect(o.code, unittest.equals('foo')); | 5843 unittest.expect(o.code, unittest.equals('foo')); |
5537 checkUnnamed1335(o.data); | 5844 checkUnnamed636(o.data); |
5538 unittest.expect(o.message, unittest.equals('foo')); | 5845 unittest.expect(o.message, unittest.equals('foo')); |
5539 } | 5846 } |
5540 buildCounterTargetVpnGatewaysScopedListWarning--; | 5847 buildCounterTargetVpnGatewaysScopedListWarning--; |
5541 } | 5848 } |
5542 | 5849 |
5543 core.int buildCounterTargetVpnGatewaysScopedList = 0; | 5850 core.int buildCounterTargetVpnGatewaysScopedList = 0; |
5544 buildTargetVpnGatewaysScopedList() { | 5851 buildTargetVpnGatewaysScopedList() { |
5545 var o = new api.TargetVpnGatewaysScopedList(); | 5852 var o = new api.TargetVpnGatewaysScopedList(); |
5546 buildCounterTargetVpnGatewaysScopedList++; | 5853 buildCounterTargetVpnGatewaysScopedList++; |
5547 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 5854 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
5548 o.targetVpnGateways = buildUnnamed1334(); | 5855 o.targetVpnGateways = buildUnnamed635(); |
5549 o.warning = buildTargetVpnGatewaysScopedListWarning(); | 5856 o.warning = buildTargetVpnGatewaysScopedListWarning(); |
5550 } | 5857 } |
5551 buildCounterTargetVpnGatewaysScopedList--; | 5858 buildCounterTargetVpnGatewaysScopedList--; |
5552 return o; | 5859 return o; |
5553 } | 5860 } |
5554 | 5861 |
5555 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { | 5862 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { |
5556 buildCounterTargetVpnGatewaysScopedList++; | 5863 buildCounterTargetVpnGatewaysScopedList++; |
5557 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 5864 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
5558 checkUnnamed1334(o.targetVpnGateways); | 5865 checkUnnamed635(o.targetVpnGateways); |
5559 checkTargetVpnGatewaysScopedListWarning(o.warning); | 5866 checkTargetVpnGatewaysScopedListWarning(o.warning); |
5560 } | 5867 } |
5561 buildCounterTargetVpnGatewaysScopedList--; | 5868 buildCounterTargetVpnGatewaysScopedList--; |
5562 } | 5869 } |
5563 | 5870 |
5564 core.int buildCounterTestFailure = 0; | 5871 core.int buildCounterTestFailure = 0; |
5565 buildTestFailure() { | 5872 buildTestFailure() { |
5566 var o = new api.TestFailure(); | 5873 var o = new api.TestFailure(); |
5567 buildCounterTestFailure++; | 5874 buildCounterTestFailure++; |
5568 if (buildCounterTestFailure < 3) { | 5875 if (buildCounterTestFailure < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
5579 buildCounterTestFailure++; | 5886 buildCounterTestFailure++; |
5580 if (buildCounterTestFailure < 3) { | 5887 if (buildCounterTestFailure < 3) { |
5581 unittest.expect(o.actualService, unittest.equals('foo')); | 5888 unittest.expect(o.actualService, unittest.equals('foo')); |
5582 unittest.expect(o.expectedService, unittest.equals('foo')); | 5889 unittest.expect(o.expectedService, unittest.equals('foo')); |
5583 unittest.expect(o.host, unittest.equals('foo')); | 5890 unittest.expect(o.host, unittest.equals('foo')); |
5584 unittest.expect(o.path, unittest.equals('foo')); | 5891 unittest.expect(o.path, unittest.equals('foo')); |
5585 } | 5892 } |
5586 buildCounterTestFailure--; | 5893 buildCounterTestFailure--; |
5587 } | 5894 } |
5588 | 5895 |
5589 buildUnnamed1336() { | 5896 buildUnnamed637() { |
5590 var o = new core.List<api.HostRule>(); | 5897 var o = new core.List<api.HostRule>(); |
5591 o.add(buildHostRule()); | 5898 o.add(buildHostRule()); |
5592 o.add(buildHostRule()); | 5899 o.add(buildHostRule()); |
5593 return o; | 5900 return o; |
5594 } | 5901 } |
5595 | 5902 |
5596 checkUnnamed1336(core.List<api.HostRule> o) { | 5903 checkUnnamed637(core.List<api.HostRule> o) { |
5597 unittest.expect(o, unittest.hasLength(2)); | 5904 unittest.expect(o, unittest.hasLength(2)); |
5598 checkHostRule(o[0]); | 5905 checkHostRule(o[0]); |
5599 checkHostRule(o[1]); | 5906 checkHostRule(o[1]); |
5600 } | 5907 } |
5601 | 5908 |
5602 buildUnnamed1337() { | 5909 buildUnnamed638() { |
5603 var o = new core.List<api.PathMatcher>(); | 5910 var o = new core.List<api.PathMatcher>(); |
5604 o.add(buildPathMatcher()); | 5911 o.add(buildPathMatcher()); |
5605 o.add(buildPathMatcher()); | 5912 o.add(buildPathMatcher()); |
5606 return o; | 5913 return o; |
5607 } | 5914 } |
5608 | 5915 |
5609 checkUnnamed1337(core.List<api.PathMatcher> o) { | 5916 checkUnnamed638(core.List<api.PathMatcher> o) { |
5610 unittest.expect(o, unittest.hasLength(2)); | 5917 unittest.expect(o, unittest.hasLength(2)); |
5611 checkPathMatcher(o[0]); | 5918 checkPathMatcher(o[0]); |
5612 checkPathMatcher(o[1]); | 5919 checkPathMatcher(o[1]); |
5613 } | 5920 } |
5614 | 5921 |
5615 buildUnnamed1338() { | 5922 buildUnnamed639() { |
5616 var o = new core.List<api.UrlMapTest>(); | 5923 var o = new core.List<api.UrlMapTest>(); |
5617 o.add(buildUrlMapTest()); | 5924 o.add(buildUrlMapTest()); |
5618 o.add(buildUrlMapTest()); | 5925 o.add(buildUrlMapTest()); |
5619 return o; | 5926 return o; |
5620 } | 5927 } |
5621 | 5928 |
5622 checkUnnamed1338(core.List<api.UrlMapTest> o) { | 5929 checkUnnamed639(core.List<api.UrlMapTest> o) { |
5623 unittest.expect(o, unittest.hasLength(2)); | 5930 unittest.expect(o, unittest.hasLength(2)); |
5624 checkUrlMapTest(o[0]); | 5931 checkUrlMapTest(o[0]); |
5625 checkUrlMapTest(o[1]); | 5932 checkUrlMapTest(o[1]); |
5626 } | 5933 } |
5627 | 5934 |
5628 core.int buildCounterUrlMap = 0; | 5935 core.int buildCounterUrlMap = 0; |
5629 buildUrlMap() { | 5936 buildUrlMap() { |
5630 var o = new api.UrlMap(); | 5937 var o = new api.UrlMap(); |
5631 buildCounterUrlMap++; | 5938 buildCounterUrlMap++; |
5632 if (buildCounterUrlMap < 3) { | 5939 if (buildCounterUrlMap < 3) { |
5633 o.creationTimestamp = "foo"; | 5940 o.creationTimestamp = "foo"; |
5634 o.defaultService = "foo"; | 5941 o.defaultService = "foo"; |
5635 o.description = "foo"; | 5942 o.description = "foo"; |
5636 o.fingerprint = "foo"; | 5943 o.fingerprint = "foo"; |
5637 o.hostRules = buildUnnamed1336(); | 5944 o.hostRules = buildUnnamed637(); |
5638 o.id = "foo"; | 5945 o.id = "foo"; |
5639 o.kind = "foo"; | 5946 o.kind = "foo"; |
5640 o.name = "foo"; | 5947 o.name = "foo"; |
5641 o.pathMatchers = buildUnnamed1337(); | 5948 o.pathMatchers = buildUnnamed638(); |
5642 o.selfLink = "foo"; | 5949 o.selfLink = "foo"; |
5643 o.tests = buildUnnamed1338(); | 5950 o.tests = buildUnnamed639(); |
5644 } | 5951 } |
5645 buildCounterUrlMap--; | 5952 buildCounterUrlMap--; |
5646 return o; | 5953 return o; |
5647 } | 5954 } |
5648 | 5955 |
5649 checkUrlMap(api.UrlMap o) { | 5956 checkUrlMap(api.UrlMap o) { |
5650 buildCounterUrlMap++; | 5957 buildCounterUrlMap++; |
5651 if (buildCounterUrlMap < 3) { | 5958 if (buildCounterUrlMap < 3) { |
5652 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5959 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5653 unittest.expect(o.defaultService, unittest.equals('foo')); | 5960 unittest.expect(o.defaultService, unittest.equals('foo')); |
5654 unittest.expect(o.description, unittest.equals('foo')); | 5961 unittest.expect(o.description, unittest.equals('foo')); |
5655 unittest.expect(o.fingerprint, unittest.equals('foo')); | 5962 unittest.expect(o.fingerprint, unittest.equals('foo')); |
5656 checkUnnamed1336(o.hostRules); | 5963 checkUnnamed637(o.hostRules); |
5657 unittest.expect(o.id, unittest.equals('foo')); | 5964 unittest.expect(o.id, unittest.equals('foo')); |
5658 unittest.expect(o.kind, unittest.equals('foo')); | 5965 unittest.expect(o.kind, unittest.equals('foo')); |
5659 unittest.expect(o.name, unittest.equals('foo')); | 5966 unittest.expect(o.name, unittest.equals('foo')); |
5660 checkUnnamed1337(o.pathMatchers); | 5967 checkUnnamed638(o.pathMatchers); |
5661 unittest.expect(o.selfLink, unittest.equals('foo')); | 5968 unittest.expect(o.selfLink, unittest.equals('foo')); |
5662 checkUnnamed1338(o.tests); | 5969 checkUnnamed639(o.tests); |
5663 } | 5970 } |
5664 buildCounterUrlMap--; | 5971 buildCounterUrlMap--; |
5665 } | 5972 } |
5666 | 5973 |
5667 buildUnnamed1339() { | 5974 buildUnnamed640() { |
5668 var o = new core.List<api.UrlMap>(); | 5975 var o = new core.List<api.UrlMap>(); |
5669 o.add(buildUrlMap()); | 5976 o.add(buildUrlMap()); |
5670 o.add(buildUrlMap()); | 5977 o.add(buildUrlMap()); |
5671 return o; | 5978 return o; |
5672 } | 5979 } |
5673 | 5980 |
5674 checkUnnamed1339(core.List<api.UrlMap> o) { | 5981 checkUnnamed640(core.List<api.UrlMap> o) { |
5675 unittest.expect(o, unittest.hasLength(2)); | 5982 unittest.expect(o, unittest.hasLength(2)); |
5676 checkUrlMap(o[0]); | 5983 checkUrlMap(o[0]); |
5677 checkUrlMap(o[1]); | 5984 checkUrlMap(o[1]); |
5678 } | 5985 } |
5679 | 5986 |
5680 core.int buildCounterUrlMapList = 0; | 5987 core.int buildCounterUrlMapList = 0; |
5681 buildUrlMapList() { | 5988 buildUrlMapList() { |
5682 var o = new api.UrlMapList(); | 5989 var o = new api.UrlMapList(); |
5683 buildCounterUrlMapList++; | 5990 buildCounterUrlMapList++; |
5684 if (buildCounterUrlMapList < 3) { | 5991 if (buildCounterUrlMapList < 3) { |
5685 o.id = "foo"; | 5992 o.id = "foo"; |
5686 o.items = buildUnnamed1339(); | 5993 o.items = buildUnnamed640(); |
5687 o.kind = "foo"; | 5994 o.kind = "foo"; |
5688 o.nextPageToken = "foo"; | 5995 o.nextPageToken = "foo"; |
5689 o.selfLink = "foo"; | 5996 o.selfLink = "foo"; |
5690 } | 5997 } |
5691 buildCounterUrlMapList--; | 5998 buildCounterUrlMapList--; |
5692 return o; | 5999 return o; |
5693 } | 6000 } |
5694 | 6001 |
5695 checkUrlMapList(api.UrlMapList o) { | 6002 checkUrlMapList(api.UrlMapList o) { |
5696 buildCounterUrlMapList++; | 6003 buildCounterUrlMapList++; |
5697 if (buildCounterUrlMapList < 3) { | 6004 if (buildCounterUrlMapList < 3) { |
5698 unittest.expect(o.id, unittest.equals('foo')); | 6005 unittest.expect(o.id, unittest.equals('foo')); |
5699 checkUnnamed1339(o.items); | 6006 checkUnnamed640(o.items); |
5700 unittest.expect(o.kind, unittest.equals('foo')); | 6007 unittest.expect(o.kind, unittest.equals('foo')); |
5701 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6008 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5702 unittest.expect(o.selfLink, unittest.equals('foo')); | 6009 unittest.expect(o.selfLink, unittest.equals('foo')); |
5703 } | 6010 } |
5704 buildCounterUrlMapList--; | 6011 buildCounterUrlMapList--; |
5705 } | 6012 } |
5706 | 6013 |
5707 core.int buildCounterUrlMapReference = 0; | 6014 core.int buildCounterUrlMapReference = 0; |
5708 buildUrlMapReference() { | 6015 buildUrlMapReference() { |
5709 var o = new api.UrlMapReference(); | 6016 var o = new api.UrlMapReference(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5741 buildCounterUrlMapTest++; | 6048 buildCounterUrlMapTest++; |
5742 if (buildCounterUrlMapTest < 3) { | 6049 if (buildCounterUrlMapTest < 3) { |
5743 unittest.expect(o.description, unittest.equals('foo')); | 6050 unittest.expect(o.description, unittest.equals('foo')); |
5744 unittest.expect(o.host, unittest.equals('foo')); | 6051 unittest.expect(o.host, unittest.equals('foo')); |
5745 unittest.expect(o.path, unittest.equals('foo')); | 6052 unittest.expect(o.path, unittest.equals('foo')); |
5746 unittest.expect(o.service, unittest.equals('foo')); | 6053 unittest.expect(o.service, unittest.equals('foo')); |
5747 } | 6054 } |
5748 buildCounterUrlMapTest--; | 6055 buildCounterUrlMapTest--; |
5749 } | 6056 } |
5750 | 6057 |
5751 buildUnnamed1340() { | 6058 buildUnnamed641() { |
5752 var o = new core.List<core.String>(); | 6059 var o = new core.List<core.String>(); |
5753 o.add("foo"); | 6060 o.add("foo"); |
5754 o.add("foo"); | 6061 o.add("foo"); |
5755 return o; | 6062 return o; |
5756 } | 6063 } |
5757 | 6064 |
5758 checkUnnamed1340(core.List<core.String> o) { | 6065 checkUnnamed641(core.List<core.String> o) { |
5759 unittest.expect(o, unittest.hasLength(2)); | 6066 unittest.expect(o, unittest.hasLength(2)); |
5760 unittest.expect(o[0], unittest.equals('foo')); | 6067 unittest.expect(o[0], unittest.equals('foo')); |
5761 unittest.expect(o[1], unittest.equals('foo')); | 6068 unittest.expect(o[1], unittest.equals('foo')); |
5762 } | 6069 } |
5763 | 6070 |
5764 buildUnnamed1341() { | 6071 buildUnnamed642() { |
5765 var o = new core.List<api.TestFailure>(); | 6072 var o = new core.List<api.TestFailure>(); |
5766 o.add(buildTestFailure()); | 6073 o.add(buildTestFailure()); |
5767 o.add(buildTestFailure()); | 6074 o.add(buildTestFailure()); |
5768 return o; | 6075 return o; |
5769 } | 6076 } |
5770 | 6077 |
5771 checkUnnamed1341(core.List<api.TestFailure> o) { | 6078 checkUnnamed642(core.List<api.TestFailure> o) { |
5772 unittest.expect(o, unittest.hasLength(2)); | 6079 unittest.expect(o, unittest.hasLength(2)); |
5773 checkTestFailure(o[0]); | 6080 checkTestFailure(o[0]); |
5774 checkTestFailure(o[1]); | 6081 checkTestFailure(o[1]); |
5775 } | 6082 } |
5776 | 6083 |
5777 core.int buildCounterUrlMapValidationResult = 0; | 6084 core.int buildCounterUrlMapValidationResult = 0; |
5778 buildUrlMapValidationResult() { | 6085 buildUrlMapValidationResult() { |
5779 var o = new api.UrlMapValidationResult(); | 6086 var o = new api.UrlMapValidationResult(); |
5780 buildCounterUrlMapValidationResult++; | 6087 buildCounterUrlMapValidationResult++; |
5781 if (buildCounterUrlMapValidationResult < 3) { | 6088 if (buildCounterUrlMapValidationResult < 3) { |
5782 o.loadErrors = buildUnnamed1340(); | 6089 o.loadErrors = buildUnnamed641(); |
5783 o.loadSucceeded = true; | 6090 o.loadSucceeded = true; |
5784 o.testFailures = buildUnnamed1341(); | 6091 o.testFailures = buildUnnamed642(); |
5785 o.testPassed = true; | 6092 o.testPassed = true; |
5786 } | 6093 } |
5787 buildCounterUrlMapValidationResult--; | 6094 buildCounterUrlMapValidationResult--; |
5788 return o; | 6095 return o; |
5789 } | 6096 } |
5790 | 6097 |
5791 checkUrlMapValidationResult(api.UrlMapValidationResult o) { | 6098 checkUrlMapValidationResult(api.UrlMapValidationResult o) { |
5792 buildCounterUrlMapValidationResult++; | 6099 buildCounterUrlMapValidationResult++; |
5793 if (buildCounterUrlMapValidationResult < 3) { | 6100 if (buildCounterUrlMapValidationResult < 3) { |
5794 checkUnnamed1340(o.loadErrors); | 6101 checkUnnamed641(o.loadErrors); |
5795 unittest.expect(o.loadSucceeded, unittest.isTrue); | 6102 unittest.expect(o.loadSucceeded, unittest.isTrue); |
5796 checkUnnamed1341(o.testFailures); | 6103 checkUnnamed642(o.testFailures); |
5797 unittest.expect(o.testPassed, unittest.isTrue); | 6104 unittest.expect(o.testPassed, unittest.isTrue); |
5798 } | 6105 } |
5799 buildCounterUrlMapValidationResult--; | 6106 buildCounterUrlMapValidationResult--; |
5800 } | 6107 } |
5801 | 6108 |
5802 core.int buildCounterUrlMapsValidateRequest = 0; | 6109 core.int buildCounterUrlMapsValidateRequest = 0; |
5803 buildUrlMapsValidateRequest() { | 6110 buildUrlMapsValidateRequest() { |
5804 var o = new api.UrlMapsValidateRequest(); | 6111 var o = new api.UrlMapsValidateRequest(); |
5805 buildCounterUrlMapsValidateRequest++; | 6112 buildCounterUrlMapsValidateRequest++; |
5806 if (buildCounterUrlMapsValidateRequest < 3) { | 6113 if (buildCounterUrlMapsValidateRequest < 3) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5851 | 6158 |
5852 checkUsageExportLocation(api.UsageExportLocation o) { | 6159 checkUsageExportLocation(api.UsageExportLocation o) { |
5853 buildCounterUsageExportLocation++; | 6160 buildCounterUsageExportLocation++; |
5854 if (buildCounterUsageExportLocation < 3) { | 6161 if (buildCounterUsageExportLocation < 3) { |
5855 unittest.expect(o.bucketName, unittest.equals('foo')); | 6162 unittest.expect(o.bucketName, unittest.equals('foo')); |
5856 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); | 6163 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); |
5857 } | 6164 } |
5858 buildCounterUsageExportLocation--; | 6165 buildCounterUsageExportLocation--; |
5859 } | 6166 } |
5860 | 6167 |
5861 buildUnnamed1342() { | |
5862 var o = new core.List<core.String>(); | |
5863 o.add("foo"); | |
5864 o.add("foo"); | |
5865 return o; | |
5866 } | |
5867 | |
5868 checkUnnamed1342(core.List<core.String> o) { | |
5869 unittest.expect(o, unittest.hasLength(2)); | |
5870 unittest.expect(o[0], unittest.equals('foo')); | |
5871 unittest.expect(o[1], unittest.equals('foo')); | |
5872 } | |
5873 | |
5874 core.int buildCounterVpnTunnel = 0; | 6168 core.int buildCounterVpnTunnel = 0; |
5875 buildVpnTunnel() { | 6169 buildVpnTunnel() { |
5876 var o = new api.VpnTunnel(); | 6170 var o = new api.VpnTunnel(); |
5877 buildCounterVpnTunnel++; | 6171 buildCounterVpnTunnel++; |
5878 if (buildCounterVpnTunnel < 3) { | 6172 if (buildCounterVpnTunnel < 3) { |
5879 o.creationTimestamp = "foo"; | 6173 o.creationTimestamp = "foo"; |
5880 o.description = "foo"; | 6174 o.description = "foo"; |
5881 o.detailedStatus = "foo"; | 6175 o.detailedStatus = "foo"; |
5882 o.id = "foo"; | 6176 o.id = "foo"; |
5883 o.ikeNetworks = buildUnnamed1342(); | |
5884 o.ikeVersion = 42; | 6177 o.ikeVersion = 42; |
5885 o.kind = "foo"; | 6178 o.kind = "foo"; |
5886 o.name = "foo"; | 6179 o.name = "foo"; |
5887 o.peerIp = "foo"; | 6180 o.peerIp = "foo"; |
5888 o.region = "foo"; | 6181 o.region = "foo"; |
5889 o.selfLink = "foo"; | 6182 o.selfLink = "foo"; |
5890 o.sharedSecret = "foo"; | 6183 o.sharedSecret = "foo"; |
5891 o.sharedSecretHash = "foo"; | 6184 o.sharedSecretHash = "foo"; |
5892 o.status = "foo"; | 6185 o.status = "foo"; |
5893 o.targetVpnGateway = "foo"; | 6186 o.targetVpnGateway = "foo"; |
5894 } | 6187 } |
5895 buildCounterVpnTunnel--; | 6188 buildCounterVpnTunnel--; |
5896 return o; | 6189 return o; |
5897 } | 6190 } |
5898 | 6191 |
5899 checkVpnTunnel(api.VpnTunnel o) { | 6192 checkVpnTunnel(api.VpnTunnel o) { |
5900 buildCounterVpnTunnel++; | 6193 buildCounterVpnTunnel++; |
5901 if (buildCounterVpnTunnel < 3) { | 6194 if (buildCounterVpnTunnel < 3) { |
5902 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6195 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5903 unittest.expect(o.description, unittest.equals('foo')); | 6196 unittest.expect(o.description, unittest.equals('foo')); |
5904 unittest.expect(o.detailedStatus, unittest.equals('foo')); | 6197 unittest.expect(o.detailedStatus, unittest.equals('foo')); |
5905 unittest.expect(o.id, unittest.equals('foo')); | 6198 unittest.expect(o.id, unittest.equals('foo')); |
5906 checkUnnamed1342(o.ikeNetworks); | |
5907 unittest.expect(o.ikeVersion, unittest.equals(42)); | 6199 unittest.expect(o.ikeVersion, unittest.equals(42)); |
5908 unittest.expect(o.kind, unittest.equals('foo')); | 6200 unittest.expect(o.kind, unittest.equals('foo')); |
5909 unittest.expect(o.name, unittest.equals('foo')); | 6201 unittest.expect(o.name, unittest.equals('foo')); |
5910 unittest.expect(o.peerIp, unittest.equals('foo')); | 6202 unittest.expect(o.peerIp, unittest.equals('foo')); |
5911 unittest.expect(o.region, unittest.equals('foo')); | 6203 unittest.expect(o.region, unittest.equals('foo')); |
5912 unittest.expect(o.selfLink, unittest.equals('foo')); | 6204 unittest.expect(o.selfLink, unittest.equals('foo')); |
5913 unittest.expect(o.sharedSecret, unittest.equals('foo')); | 6205 unittest.expect(o.sharedSecret, unittest.equals('foo')); |
5914 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); | 6206 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); |
5915 unittest.expect(o.status, unittest.equals('foo')); | 6207 unittest.expect(o.status, unittest.equals('foo')); |
5916 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); | 6208 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); |
5917 } | 6209 } |
5918 buildCounterVpnTunnel--; | 6210 buildCounterVpnTunnel--; |
5919 } | 6211 } |
5920 | 6212 |
5921 buildUnnamed1343() { | 6213 buildUnnamed643() { |
5922 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); | 6214 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); |
5923 o["x"] = buildVpnTunnelsScopedList(); | 6215 o["x"] = buildVpnTunnelsScopedList(); |
5924 o["y"] = buildVpnTunnelsScopedList(); | 6216 o["y"] = buildVpnTunnelsScopedList(); |
5925 return o; | 6217 return o; |
5926 } | 6218 } |
5927 | 6219 |
5928 checkUnnamed1343(core.Map<core.String, api.VpnTunnelsScopedList> o) { | 6220 checkUnnamed643(core.Map<core.String, api.VpnTunnelsScopedList> o) { |
5929 unittest.expect(o, unittest.hasLength(2)); | 6221 unittest.expect(o, unittest.hasLength(2)); |
5930 checkVpnTunnelsScopedList(o["x"]); | 6222 checkVpnTunnelsScopedList(o["x"]); |
5931 checkVpnTunnelsScopedList(o["y"]); | 6223 checkVpnTunnelsScopedList(o["y"]); |
5932 } | 6224 } |
5933 | 6225 |
5934 core.int buildCounterVpnTunnelAggregatedList = 0; | 6226 core.int buildCounterVpnTunnelAggregatedList = 0; |
5935 buildVpnTunnelAggregatedList() { | 6227 buildVpnTunnelAggregatedList() { |
5936 var o = new api.VpnTunnelAggregatedList(); | 6228 var o = new api.VpnTunnelAggregatedList(); |
5937 buildCounterVpnTunnelAggregatedList++; | 6229 buildCounterVpnTunnelAggregatedList++; |
5938 if (buildCounterVpnTunnelAggregatedList < 3) { | 6230 if (buildCounterVpnTunnelAggregatedList < 3) { |
5939 o.id = "foo"; | 6231 o.id = "foo"; |
5940 o.items = buildUnnamed1343(); | 6232 o.items = buildUnnamed643(); |
5941 o.kind = "foo"; | 6233 o.kind = "foo"; |
5942 o.nextPageToken = "foo"; | 6234 o.nextPageToken = "foo"; |
5943 o.selfLink = "foo"; | 6235 o.selfLink = "foo"; |
5944 } | 6236 } |
5945 buildCounterVpnTunnelAggregatedList--; | 6237 buildCounterVpnTunnelAggregatedList--; |
5946 return o; | 6238 return o; |
5947 } | 6239 } |
5948 | 6240 |
5949 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { | 6241 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { |
5950 buildCounterVpnTunnelAggregatedList++; | 6242 buildCounterVpnTunnelAggregatedList++; |
5951 if (buildCounterVpnTunnelAggregatedList < 3) { | 6243 if (buildCounterVpnTunnelAggregatedList < 3) { |
5952 unittest.expect(o.id, unittest.equals('foo')); | 6244 unittest.expect(o.id, unittest.equals('foo')); |
5953 checkUnnamed1343(o.items); | 6245 checkUnnamed643(o.items); |
5954 unittest.expect(o.kind, unittest.equals('foo')); | 6246 unittest.expect(o.kind, unittest.equals('foo')); |
5955 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6247 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5956 unittest.expect(o.selfLink, unittest.equals('foo')); | 6248 unittest.expect(o.selfLink, unittest.equals('foo')); |
5957 } | 6249 } |
5958 buildCounterVpnTunnelAggregatedList--; | 6250 buildCounterVpnTunnelAggregatedList--; |
5959 } | 6251 } |
5960 | 6252 |
5961 buildUnnamed1344() { | 6253 buildUnnamed644() { |
5962 var o = new core.List<api.VpnTunnel>(); | 6254 var o = new core.List<api.VpnTunnel>(); |
5963 o.add(buildVpnTunnel()); | 6255 o.add(buildVpnTunnel()); |
5964 o.add(buildVpnTunnel()); | 6256 o.add(buildVpnTunnel()); |
5965 return o; | 6257 return o; |
5966 } | 6258 } |
5967 | 6259 |
5968 checkUnnamed1344(core.List<api.VpnTunnel> o) { | 6260 checkUnnamed644(core.List<api.VpnTunnel> o) { |
5969 unittest.expect(o, unittest.hasLength(2)); | 6261 unittest.expect(o, unittest.hasLength(2)); |
5970 checkVpnTunnel(o[0]); | 6262 checkVpnTunnel(o[0]); |
5971 checkVpnTunnel(o[1]); | 6263 checkVpnTunnel(o[1]); |
5972 } | 6264 } |
5973 | 6265 |
5974 core.int buildCounterVpnTunnelList = 0; | 6266 core.int buildCounterVpnTunnelList = 0; |
5975 buildVpnTunnelList() { | 6267 buildVpnTunnelList() { |
5976 var o = new api.VpnTunnelList(); | 6268 var o = new api.VpnTunnelList(); |
5977 buildCounterVpnTunnelList++; | 6269 buildCounterVpnTunnelList++; |
5978 if (buildCounterVpnTunnelList < 3) { | 6270 if (buildCounterVpnTunnelList < 3) { |
5979 o.id = "foo"; | 6271 o.id = "foo"; |
5980 o.items = buildUnnamed1344(); | 6272 o.items = buildUnnamed644(); |
5981 o.kind = "foo"; | 6273 o.kind = "foo"; |
5982 o.nextPageToken = "foo"; | 6274 o.nextPageToken = "foo"; |
5983 o.selfLink = "foo"; | 6275 o.selfLink = "foo"; |
5984 } | 6276 } |
5985 buildCounterVpnTunnelList--; | 6277 buildCounterVpnTunnelList--; |
5986 return o; | 6278 return o; |
5987 } | 6279 } |
5988 | 6280 |
5989 checkVpnTunnelList(api.VpnTunnelList o) { | 6281 checkVpnTunnelList(api.VpnTunnelList o) { |
5990 buildCounterVpnTunnelList++; | 6282 buildCounterVpnTunnelList++; |
5991 if (buildCounterVpnTunnelList < 3) { | 6283 if (buildCounterVpnTunnelList < 3) { |
5992 unittest.expect(o.id, unittest.equals('foo')); | 6284 unittest.expect(o.id, unittest.equals('foo')); |
5993 checkUnnamed1344(o.items); | 6285 checkUnnamed644(o.items); |
5994 unittest.expect(o.kind, unittest.equals('foo')); | 6286 unittest.expect(o.kind, unittest.equals('foo')); |
5995 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6287 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5996 unittest.expect(o.selfLink, unittest.equals('foo')); | 6288 unittest.expect(o.selfLink, unittest.equals('foo')); |
5997 } | 6289 } |
5998 buildCounterVpnTunnelList--; | 6290 buildCounterVpnTunnelList--; |
5999 } | 6291 } |
6000 | 6292 |
6001 buildUnnamed1345() { | 6293 buildUnnamed645() { |
6002 var o = new core.List<api.VpnTunnel>(); | 6294 var o = new core.List<api.VpnTunnel>(); |
6003 o.add(buildVpnTunnel()); | 6295 o.add(buildVpnTunnel()); |
6004 o.add(buildVpnTunnel()); | 6296 o.add(buildVpnTunnel()); |
6005 return o; | 6297 return o; |
6006 } | 6298 } |
6007 | 6299 |
6008 checkUnnamed1345(core.List<api.VpnTunnel> o) { | 6300 checkUnnamed645(core.List<api.VpnTunnel> o) { |
6009 unittest.expect(o, unittest.hasLength(2)); | 6301 unittest.expect(o, unittest.hasLength(2)); |
6010 checkVpnTunnel(o[0]); | 6302 checkVpnTunnel(o[0]); |
6011 checkVpnTunnel(o[1]); | 6303 checkVpnTunnel(o[1]); |
6012 } | 6304 } |
6013 | 6305 |
6014 core.int buildCounterVpnTunnelsScopedListWarningData = 0; | 6306 core.int buildCounterVpnTunnelsScopedListWarningData = 0; |
6015 buildVpnTunnelsScopedListWarningData() { | 6307 buildVpnTunnelsScopedListWarningData() { |
6016 var o = new api.VpnTunnelsScopedListWarningData(); | 6308 var o = new api.VpnTunnelsScopedListWarningData(); |
6017 buildCounterVpnTunnelsScopedListWarningData++; | 6309 buildCounterVpnTunnelsScopedListWarningData++; |
6018 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 6310 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
6019 o.key = "foo"; | 6311 o.key = "foo"; |
6020 o.value = "foo"; | 6312 o.value = "foo"; |
6021 } | 6313 } |
6022 buildCounterVpnTunnelsScopedListWarningData--; | 6314 buildCounterVpnTunnelsScopedListWarningData--; |
6023 return o; | 6315 return o; |
6024 } | 6316 } |
6025 | 6317 |
6026 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { | 6318 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { |
6027 buildCounterVpnTunnelsScopedListWarningData++; | 6319 buildCounterVpnTunnelsScopedListWarningData++; |
6028 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 6320 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
6029 unittest.expect(o.key, unittest.equals('foo')); | 6321 unittest.expect(o.key, unittest.equals('foo')); |
6030 unittest.expect(o.value, unittest.equals('foo')); | 6322 unittest.expect(o.value, unittest.equals('foo')); |
6031 } | 6323 } |
6032 buildCounterVpnTunnelsScopedListWarningData--; | 6324 buildCounterVpnTunnelsScopedListWarningData--; |
6033 } | 6325 } |
6034 | 6326 |
6035 buildUnnamed1346() { | 6327 buildUnnamed646() { |
6036 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); | 6328 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); |
6037 o.add(buildVpnTunnelsScopedListWarningData()); | 6329 o.add(buildVpnTunnelsScopedListWarningData()); |
6038 o.add(buildVpnTunnelsScopedListWarningData()); | 6330 o.add(buildVpnTunnelsScopedListWarningData()); |
6039 return o; | 6331 return o; |
6040 } | 6332 } |
6041 | 6333 |
6042 checkUnnamed1346(core.List<api.VpnTunnelsScopedListWarningData> o) { | 6334 checkUnnamed646(core.List<api.VpnTunnelsScopedListWarningData> o) { |
6043 unittest.expect(o, unittest.hasLength(2)); | 6335 unittest.expect(o, unittest.hasLength(2)); |
6044 checkVpnTunnelsScopedListWarningData(o[0]); | 6336 checkVpnTunnelsScopedListWarningData(o[0]); |
6045 checkVpnTunnelsScopedListWarningData(o[1]); | 6337 checkVpnTunnelsScopedListWarningData(o[1]); |
6046 } | 6338 } |
6047 | 6339 |
6048 core.int buildCounterVpnTunnelsScopedListWarning = 0; | 6340 core.int buildCounterVpnTunnelsScopedListWarning = 0; |
6049 buildVpnTunnelsScopedListWarning() { | 6341 buildVpnTunnelsScopedListWarning() { |
6050 var o = new api.VpnTunnelsScopedListWarning(); | 6342 var o = new api.VpnTunnelsScopedListWarning(); |
6051 buildCounterVpnTunnelsScopedListWarning++; | 6343 buildCounterVpnTunnelsScopedListWarning++; |
6052 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 6344 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
6053 o.code = "foo"; | 6345 o.code = "foo"; |
6054 o.data = buildUnnamed1346(); | 6346 o.data = buildUnnamed646(); |
6055 o.message = "foo"; | 6347 o.message = "foo"; |
6056 } | 6348 } |
6057 buildCounterVpnTunnelsScopedListWarning--; | 6349 buildCounterVpnTunnelsScopedListWarning--; |
6058 return o; | 6350 return o; |
6059 } | 6351 } |
6060 | 6352 |
6061 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { | 6353 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { |
6062 buildCounterVpnTunnelsScopedListWarning++; | 6354 buildCounterVpnTunnelsScopedListWarning++; |
6063 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 6355 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
6064 unittest.expect(o.code, unittest.equals('foo')); | 6356 unittest.expect(o.code, unittest.equals('foo')); |
6065 checkUnnamed1346(o.data); | 6357 checkUnnamed646(o.data); |
6066 unittest.expect(o.message, unittest.equals('foo')); | 6358 unittest.expect(o.message, unittest.equals('foo')); |
6067 } | 6359 } |
6068 buildCounterVpnTunnelsScopedListWarning--; | 6360 buildCounterVpnTunnelsScopedListWarning--; |
6069 } | 6361 } |
6070 | 6362 |
6071 core.int buildCounterVpnTunnelsScopedList = 0; | 6363 core.int buildCounterVpnTunnelsScopedList = 0; |
6072 buildVpnTunnelsScopedList() { | 6364 buildVpnTunnelsScopedList() { |
6073 var o = new api.VpnTunnelsScopedList(); | 6365 var o = new api.VpnTunnelsScopedList(); |
6074 buildCounterVpnTunnelsScopedList++; | 6366 buildCounterVpnTunnelsScopedList++; |
6075 if (buildCounterVpnTunnelsScopedList < 3) { | 6367 if (buildCounterVpnTunnelsScopedList < 3) { |
6076 o.vpnTunnels = buildUnnamed1345(); | 6368 o.vpnTunnels = buildUnnamed645(); |
6077 o.warning = buildVpnTunnelsScopedListWarning(); | 6369 o.warning = buildVpnTunnelsScopedListWarning(); |
6078 } | 6370 } |
6079 buildCounterVpnTunnelsScopedList--; | 6371 buildCounterVpnTunnelsScopedList--; |
6080 return o; | 6372 return o; |
6081 } | 6373 } |
6082 | 6374 |
6083 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { | 6375 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { |
6084 buildCounterVpnTunnelsScopedList++; | 6376 buildCounterVpnTunnelsScopedList++; |
6085 if (buildCounterVpnTunnelsScopedList < 3) { | 6377 if (buildCounterVpnTunnelsScopedList < 3) { |
6086 checkUnnamed1345(o.vpnTunnels); | 6378 checkUnnamed645(o.vpnTunnels); |
6087 checkVpnTunnelsScopedListWarning(o.warning); | 6379 checkVpnTunnelsScopedListWarning(o.warning); |
6088 } | 6380 } |
6089 buildCounterVpnTunnelsScopedList--; | 6381 buildCounterVpnTunnelsScopedList--; |
6090 } | 6382 } |
6091 | 6383 |
6092 core.int buildCounterZoneMaintenanceWindows = 0; | 6384 core.int buildCounterZoneMaintenanceWindows = 0; |
6093 buildZoneMaintenanceWindows() { | 6385 buildZoneMaintenanceWindows() { |
6094 var o = new api.ZoneMaintenanceWindows(); | 6386 var o = new api.ZoneMaintenanceWindows(); |
6095 buildCounterZoneMaintenanceWindows++; | 6387 buildCounterZoneMaintenanceWindows++; |
6096 if (buildCounterZoneMaintenanceWindows < 3) { | 6388 if (buildCounterZoneMaintenanceWindows < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
6107 buildCounterZoneMaintenanceWindows++; | 6399 buildCounterZoneMaintenanceWindows++; |
6108 if (buildCounterZoneMaintenanceWindows < 3) { | 6400 if (buildCounterZoneMaintenanceWindows < 3) { |
6109 unittest.expect(o.beginTime, unittest.equals('foo')); | 6401 unittest.expect(o.beginTime, unittest.equals('foo')); |
6110 unittest.expect(o.description, unittest.equals('foo')); | 6402 unittest.expect(o.description, unittest.equals('foo')); |
6111 unittest.expect(o.endTime, unittest.equals('foo')); | 6403 unittest.expect(o.endTime, unittest.equals('foo')); |
6112 unittest.expect(o.name, unittest.equals('foo')); | 6404 unittest.expect(o.name, unittest.equals('foo')); |
6113 } | 6405 } |
6114 buildCounterZoneMaintenanceWindows--; | 6406 buildCounterZoneMaintenanceWindows--; |
6115 } | 6407 } |
6116 | 6408 |
6117 buildUnnamed1347() { | 6409 buildUnnamed647() { |
6118 var o = new core.List<api.ZoneMaintenanceWindows>(); | 6410 var o = new core.List<api.ZoneMaintenanceWindows>(); |
6119 o.add(buildZoneMaintenanceWindows()); | 6411 o.add(buildZoneMaintenanceWindows()); |
6120 o.add(buildZoneMaintenanceWindows()); | 6412 o.add(buildZoneMaintenanceWindows()); |
6121 return o; | 6413 return o; |
6122 } | 6414 } |
6123 | 6415 |
6124 checkUnnamed1347(core.List<api.ZoneMaintenanceWindows> o) { | 6416 checkUnnamed647(core.List<api.ZoneMaintenanceWindows> o) { |
6125 unittest.expect(o, unittest.hasLength(2)); | 6417 unittest.expect(o, unittest.hasLength(2)); |
6126 checkZoneMaintenanceWindows(o[0]); | 6418 checkZoneMaintenanceWindows(o[0]); |
6127 checkZoneMaintenanceWindows(o[1]); | 6419 checkZoneMaintenanceWindows(o[1]); |
6128 } | 6420 } |
6129 | 6421 |
6130 core.int buildCounterZone = 0; | 6422 core.int buildCounterZone = 0; |
6131 buildZone() { | 6423 buildZone() { |
6132 var o = new api.Zone(); | 6424 var o = new api.Zone(); |
6133 buildCounterZone++; | 6425 buildCounterZone++; |
6134 if (buildCounterZone < 3) { | 6426 if (buildCounterZone < 3) { |
6135 o.creationTimestamp = "foo"; | 6427 o.creationTimestamp = "foo"; |
6136 o.deprecated = buildDeprecationStatus(); | 6428 o.deprecated = buildDeprecationStatus(); |
6137 o.description = "foo"; | 6429 o.description = "foo"; |
6138 o.id = "foo"; | 6430 o.id = "foo"; |
6139 o.kind = "foo"; | 6431 o.kind = "foo"; |
6140 o.maintenanceWindows = buildUnnamed1347(); | 6432 o.maintenanceWindows = buildUnnamed647(); |
6141 o.name = "foo"; | 6433 o.name = "foo"; |
6142 o.region = "foo"; | 6434 o.region = "foo"; |
6143 o.selfLink = "foo"; | 6435 o.selfLink = "foo"; |
6144 o.status = "foo"; | 6436 o.status = "foo"; |
6145 } | 6437 } |
6146 buildCounterZone--; | 6438 buildCounterZone--; |
6147 return o; | 6439 return o; |
6148 } | 6440 } |
6149 | 6441 |
6150 checkZone(api.Zone o) { | 6442 checkZone(api.Zone o) { |
6151 buildCounterZone++; | 6443 buildCounterZone++; |
6152 if (buildCounterZone < 3) { | 6444 if (buildCounterZone < 3) { |
6153 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6445 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6154 checkDeprecationStatus(o.deprecated); | 6446 checkDeprecationStatus(o.deprecated); |
6155 unittest.expect(o.description, unittest.equals('foo')); | 6447 unittest.expect(o.description, unittest.equals('foo')); |
6156 unittest.expect(o.id, unittest.equals('foo')); | 6448 unittest.expect(o.id, unittest.equals('foo')); |
6157 unittest.expect(o.kind, unittest.equals('foo')); | 6449 unittest.expect(o.kind, unittest.equals('foo')); |
6158 checkUnnamed1347(o.maintenanceWindows); | 6450 checkUnnamed647(o.maintenanceWindows); |
6159 unittest.expect(o.name, unittest.equals('foo')); | 6451 unittest.expect(o.name, unittest.equals('foo')); |
6160 unittest.expect(o.region, unittest.equals('foo')); | 6452 unittest.expect(o.region, unittest.equals('foo')); |
6161 unittest.expect(o.selfLink, unittest.equals('foo')); | 6453 unittest.expect(o.selfLink, unittest.equals('foo')); |
6162 unittest.expect(o.status, unittest.equals('foo')); | 6454 unittest.expect(o.status, unittest.equals('foo')); |
6163 } | 6455 } |
6164 buildCounterZone--; | 6456 buildCounterZone--; |
6165 } | 6457 } |
6166 | 6458 |
6167 buildUnnamed1348() { | 6459 buildUnnamed648() { |
6168 var o = new core.List<api.Zone>(); | 6460 var o = new core.List<api.Zone>(); |
6169 o.add(buildZone()); | 6461 o.add(buildZone()); |
6170 o.add(buildZone()); | 6462 o.add(buildZone()); |
6171 return o; | 6463 return o; |
6172 } | 6464 } |
6173 | 6465 |
6174 checkUnnamed1348(core.List<api.Zone> o) { | 6466 checkUnnamed648(core.List<api.Zone> o) { |
6175 unittest.expect(o, unittest.hasLength(2)); | 6467 unittest.expect(o, unittest.hasLength(2)); |
6176 checkZone(o[0]); | 6468 checkZone(o[0]); |
6177 checkZone(o[1]); | 6469 checkZone(o[1]); |
6178 } | 6470 } |
6179 | 6471 |
6180 core.int buildCounterZoneList = 0; | 6472 core.int buildCounterZoneList = 0; |
6181 buildZoneList() { | 6473 buildZoneList() { |
6182 var o = new api.ZoneList(); | 6474 var o = new api.ZoneList(); |
6183 buildCounterZoneList++; | 6475 buildCounterZoneList++; |
6184 if (buildCounterZoneList < 3) { | 6476 if (buildCounterZoneList < 3) { |
6185 o.id = "foo"; | 6477 o.id = "foo"; |
6186 o.items = buildUnnamed1348(); | 6478 o.items = buildUnnamed648(); |
6187 o.kind = "foo"; | 6479 o.kind = "foo"; |
6188 o.nextPageToken = "foo"; | 6480 o.nextPageToken = "foo"; |
6189 o.selfLink = "foo"; | 6481 o.selfLink = "foo"; |
6190 } | 6482 } |
6191 buildCounterZoneList--; | 6483 buildCounterZoneList--; |
6192 return o; | 6484 return o; |
6193 } | 6485 } |
6194 | 6486 |
6195 checkZoneList(api.ZoneList o) { | 6487 checkZoneList(api.ZoneList o) { |
6196 buildCounterZoneList++; | 6488 buildCounterZoneList++; |
6197 if (buildCounterZoneList < 3) { | 6489 if (buildCounterZoneList < 3) { |
6198 unittest.expect(o.id, unittest.equals('foo')); | 6490 unittest.expect(o.id, unittest.equals('foo')); |
6199 checkUnnamed1348(o.items); | 6491 checkUnnamed648(o.items); |
6200 unittest.expect(o.kind, unittest.equals('foo')); | 6492 unittest.expect(o.kind, unittest.equals('foo')); |
6201 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6493 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6202 unittest.expect(o.selfLink, unittest.equals('foo')); | 6494 unittest.expect(o.selfLink, unittest.equals('foo')); |
6203 } | 6495 } |
6204 buildCounterZoneList--; | 6496 buildCounterZoneList--; |
6205 } | 6497 } |
6206 | 6498 |
6207 | 6499 |
6208 main() { | 6500 main() { |
6209 unittest.group("obj-schema-AccessConfig", () { | 6501 unittest.group("obj-schema-AccessConfig", () { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6280 | 6572 |
6281 unittest.group("obj-schema-AttachedDiskInitializeParams", () { | 6573 unittest.group("obj-schema-AttachedDiskInitializeParams", () { |
6282 unittest.test("to-json--from-json", () { | 6574 unittest.test("to-json--from-json", () { |
6283 var o = buildAttachedDiskInitializeParams(); | 6575 var o = buildAttachedDiskInitializeParams(); |
6284 var od = new api.AttachedDiskInitializeParams.fromJson(o.toJson()); | 6576 var od = new api.AttachedDiskInitializeParams.fromJson(o.toJson()); |
6285 checkAttachedDiskInitializeParams(od); | 6577 checkAttachedDiskInitializeParams(od); |
6286 }); | 6578 }); |
6287 }); | 6579 }); |
6288 | 6580 |
6289 | 6581 |
| 6582 unittest.group("obj-schema-Autoscaler", () { |
| 6583 unittest.test("to-json--from-json", () { |
| 6584 var o = buildAutoscaler(); |
| 6585 var od = new api.Autoscaler.fromJson(o.toJson()); |
| 6586 checkAutoscaler(od); |
| 6587 }); |
| 6588 }); |
| 6589 |
| 6590 |
| 6591 unittest.group("obj-schema-AutoscalerAggregatedList", () { |
| 6592 unittest.test("to-json--from-json", () { |
| 6593 var o = buildAutoscalerAggregatedList(); |
| 6594 var od = new api.AutoscalerAggregatedList.fromJson(o.toJson()); |
| 6595 checkAutoscalerAggregatedList(od); |
| 6596 }); |
| 6597 }); |
| 6598 |
| 6599 |
| 6600 unittest.group("obj-schema-AutoscalerList", () { |
| 6601 unittest.test("to-json--from-json", () { |
| 6602 var o = buildAutoscalerList(); |
| 6603 var od = new api.AutoscalerList.fromJson(o.toJson()); |
| 6604 checkAutoscalerList(od); |
| 6605 }); |
| 6606 }); |
| 6607 |
| 6608 |
| 6609 unittest.group("obj-schema-AutoscalersScopedListWarningData", () { |
| 6610 unittest.test("to-json--from-json", () { |
| 6611 var o = buildAutoscalersScopedListWarningData(); |
| 6612 var od = new api.AutoscalersScopedListWarningData.fromJson(o.toJson()); |
| 6613 checkAutoscalersScopedListWarningData(od); |
| 6614 }); |
| 6615 }); |
| 6616 |
| 6617 |
| 6618 unittest.group("obj-schema-AutoscalersScopedListWarning", () { |
| 6619 unittest.test("to-json--from-json", () { |
| 6620 var o = buildAutoscalersScopedListWarning(); |
| 6621 var od = new api.AutoscalersScopedListWarning.fromJson(o.toJson()); |
| 6622 checkAutoscalersScopedListWarning(od); |
| 6623 }); |
| 6624 }); |
| 6625 |
| 6626 |
| 6627 unittest.group("obj-schema-AutoscalersScopedList", () { |
| 6628 unittest.test("to-json--from-json", () { |
| 6629 var o = buildAutoscalersScopedList(); |
| 6630 var od = new api.AutoscalersScopedList.fromJson(o.toJson()); |
| 6631 checkAutoscalersScopedList(od); |
| 6632 }); |
| 6633 }); |
| 6634 |
| 6635 |
| 6636 unittest.group("obj-schema-AutoscalingPolicy", () { |
| 6637 unittest.test("to-json--from-json", () { |
| 6638 var o = buildAutoscalingPolicy(); |
| 6639 var od = new api.AutoscalingPolicy.fromJson(o.toJson()); |
| 6640 checkAutoscalingPolicy(od); |
| 6641 }); |
| 6642 }); |
| 6643 |
| 6644 |
| 6645 unittest.group("obj-schema-AutoscalingPolicyCpuUtilization", () { |
| 6646 unittest.test("to-json--from-json", () { |
| 6647 var o = buildAutoscalingPolicyCpuUtilization(); |
| 6648 var od = new api.AutoscalingPolicyCpuUtilization.fromJson(o.toJson()); |
| 6649 checkAutoscalingPolicyCpuUtilization(od); |
| 6650 }); |
| 6651 }); |
| 6652 |
| 6653 |
| 6654 unittest.group("obj-schema-AutoscalingPolicyCustomMetricUtilization", () { |
| 6655 unittest.test("to-json--from-json", () { |
| 6656 var o = buildAutoscalingPolicyCustomMetricUtilization(); |
| 6657 var od = new api.AutoscalingPolicyCustomMetricUtilization.fromJson(o.toJso
n()); |
| 6658 checkAutoscalingPolicyCustomMetricUtilization(od); |
| 6659 }); |
| 6660 }); |
| 6661 |
| 6662 |
| 6663 unittest.group("obj-schema-AutoscalingPolicyLoadBalancingUtilization", () { |
| 6664 unittest.test("to-json--from-json", () { |
| 6665 var o = buildAutoscalingPolicyLoadBalancingUtilization(); |
| 6666 var od = new api.AutoscalingPolicyLoadBalancingUtilization.fromJson(o.toJs
on()); |
| 6667 checkAutoscalingPolicyLoadBalancingUtilization(od); |
| 6668 }); |
| 6669 }); |
| 6670 |
| 6671 |
6290 unittest.group("obj-schema-Backend", () { | 6672 unittest.group("obj-schema-Backend", () { |
6291 unittest.test("to-json--from-json", () { | 6673 unittest.test("to-json--from-json", () { |
6292 var o = buildBackend(); | 6674 var o = buildBackend(); |
6293 var od = new api.Backend.fromJson(o.toJson()); | 6675 var od = new api.Backend.fromJson(o.toJson()); |
6294 checkBackend(od); | 6676 checkBackend(od); |
6295 }); | 6677 }); |
6296 }); | 6678 }); |
6297 | 6679 |
6298 | 6680 |
6299 unittest.group("obj-schema-BackendService", () { | 6681 unittest.group("obj-schema-BackendService", () { |
(...skipping 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7965 return new async.Future.value(stringResponse(200, h, resp)); | 8347 return new async.Future.value(stringResponse(200, h, resp)); |
7966 }), true); | 8348 }), true); |
7967 res.list(arg_project, arg_region, filter: arg_filter, maxResults: arg_maxR
esults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.AddressList re
sponse) { | 8349 res.list(arg_project, arg_region, filter: arg_filter, maxResults: arg_maxR
esults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.AddressList re
sponse) { |
7968 checkAddressList(response); | 8350 checkAddressList(response); |
7969 }))); | 8351 }))); |
7970 }); | 8352 }); |
7971 | 8353 |
7972 }); | 8354 }); |
7973 | 8355 |
7974 | 8356 |
| 8357 unittest.group("resource-AutoscalersResourceApi", () { |
| 8358 unittest.test("method--aggregatedList", () { |
| 8359 |
| 8360 var mock = new HttpServerMock(); |
| 8361 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; |
| 8362 var arg_project = "foo"; |
| 8363 var arg_filter = "foo"; |
| 8364 var arg_maxResults = 42; |
| 8365 var arg_pageToken = "foo"; |
| 8366 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8367 var path = (req.url).path; |
| 8368 var pathOffset = 0; |
| 8369 var index; |
| 8370 var subPart; |
| 8371 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8372 pathOffset += 1; |
| 8373 |
| 8374 var query = (req.url).query; |
| 8375 var queryOffset = 0; |
| 8376 var queryMap = {}; |
| 8377 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8378 parseBool(n) { |
| 8379 if (n == "true") return true; |
| 8380 if (n == "false") return false; |
| 8381 if (n == null) return null; |
| 8382 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8383 } |
| 8384 if (query.length > 0) { |
| 8385 for (var part in query.split("&")) { |
| 8386 var keyvalue = part.split("="); |
| 8387 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8388 } |
| 8389 } |
| 8390 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 8391 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 8392 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 8393 |
| 8394 |
| 8395 var h = { |
| 8396 "content-type" : "application/json; charset=utf-8", |
| 8397 }; |
| 8398 var resp = convert.JSON.encode(buildAutoscalerAggregatedList()); |
| 8399 return new async.Future.value(stringResponse(200, h, resp)); |
| 8400 }), true); |
| 8401 res.aggregatedList(arg_project, filter: arg_filter, maxResults: arg_maxRes
ults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.AutoscalerAggreg
atedList response) { |
| 8402 checkAutoscalerAggregatedList(response); |
| 8403 }))); |
| 8404 }); |
| 8405 |
| 8406 unittest.test("method--delete", () { |
| 8407 |
| 8408 var mock = new HttpServerMock(); |
| 8409 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; |
| 8410 var arg_project = "foo"; |
| 8411 var arg_zone = "foo"; |
| 8412 var arg_autoscaler = "foo"; |
| 8413 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8414 var path = (req.url).path; |
| 8415 var pathOffset = 0; |
| 8416 var index; |
| 8417 var subPart; |
| 8418 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8419 pathOffset += 1; |
| 8420 |
| 8421 var query = (req.url).query; |
| 8422 var queryOffset = 0; |
| 8423 var queryMap = {}; |
| 8424 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8425 parseBool(n) { |
| 8426 if (n == "true") return true; |
| 8427 if (n == "false") return false; |
| 8428 if (n == null) return null; |
| 8429 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8430 } |
| 8431 if (query.length > 0) { |
| 8432 for (var part in query.split("&")) { |
| 8433 var keyvalue = part.split("="); |
| 8434 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8435 } |
| 8436 } |
| 8437 |
| 8438 |
| 8439 var h = { |
| 8440 "content-type" : "application/json; charset=utf-8", |
| 8441 }; |
| 8442 var resp = convert.JSON.encode(buildOperation()); |
| 8443 return new async.Future.value(stringResponse(200, h, resp)); |
| 8444 }), true); |
| 8445 res.delete(arg_project, arg_zone, arg_autoscaler).then(unittest.expectAsyn
c(((api.Operation response) { |
| 8446 checkOperation(response); |
| 8447 }))); |
| 8448 }); |
| 8449 |
| 8450 unittest.test("method--get", () { |
| 8451 |
| 8452 var mock = new HttpServerMock(); |
| 8453 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; |
| 8454 var arg_project = "foo"; |
| 8455 var arg_zone = "foo"; |
| 8456 var arg_autoscaler = "foo"; |
| 8457 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8458 var path = (req.url).path; |
| 8459 var pathOffset = 0; |
| 8460 var index; |
| 8461 var subPart; |
| 8462 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8463 pathOffset += 1; |
| 8464 |
| 8465 var query = (req.url).query; |
| 8466 var queryOffset = 0; |
| 8467 var queryMap = {}; |
| 8468 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8469 parseBool(n) { |
| 8470 if (n == "true") return true; |
| 8471 if (n == "false") return false; |
| 8472 if (n == null) return null; |
| 8473 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8474 } |
| 8475 if (query.length > 0) { |
| 8476 for (var part in query.split("&")) { |
| 8477 var keyvalue = part.split("="); |
| 8478 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8479 } |
| 8480 } |
| 8481 |
| 8482 |
| 8483 var h = { |
| 8484 "content-type" : "application/json; charset=utf-8", |
| 8485 }; |
| 8486 var resp = convert.JSON.encode(buildAutoscaler()); |
| 8487 return new async.Future.value(stringResponse(200, h, resp)); |
| 8488 }), true); |
| 8489 res.get(arg_project, arg_zone, arg_autoscaler).then(unittest.expectAsync((
(api.Autoscaler response) { |
| 8490 checkAutoscaler(response); |
| 8491 }))); |
| 8492 }); |
| 8493 |
| 8494 unittest.test("method--insert", () { |
| 8495 |
| 8496 var mock = new HttpServerMock(); |
| 8497 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; |
| 8498 var arg_request = buildAutoscaler(); |
| 8499 var arg_project = "foo"; |
| 8500 var arg_zone = "foo"; |
| 8501 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8502 var obj = new api.Autoscaler.fromJson(json); |
| 8503 checkAutoscaler(obj); |
| 8504 |
| 8505 var path = (req.url).path; |
| 8506 var pathOffset = 0; |
| 8507 var index; |
| 8508 var subPart; |
| 8509 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8510 pathOffset += 1; |
| 8511 |
| 8512 var query = (req.url).query; |
| 8513 var queryOffset = 0; |
| 8514 var queryMap = {}; |
| 8515 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8516 parseBool(n) { |
| 8517 if (n == "true") return true; |
| 8518 if (n == "false") return false; |
| 8519 if (n == null) return null; |
| 8520 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8521 } |
| 8522 if (query.length > 0) { |
| 8523 for (var part in query.split("&")) { |
| 8524 var keyvalue = part.split("="); |
| 8525 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8526 } |
| 8527 } |
| 8528 |
| 8529 |
| 8530 var h = { |
| 8531 "content-type" : "application/json; charset=utf-8", |
| 8532 }; |
| 8533 var resp = convert.JSON.encode(buildOperation()); |
| 8534 return new async.Future.value(stringResponse(200, h, resp)); |
| 8535 }), true); |
| 8536 res.insert(arg_request, arg_project, arg_zone).then(unittest.expectAsync((
(api.Operation response) { |
| 8537 checkOperation(response); |
| 8538 }))); |
| 8539 }); |
| 8540 |
| 8541 unittest.test("method--list", () { |
| 8542 |
| 8543 var mock = new HttpServerMock(); |
| 8544 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; |
| 8545 var arg_project = "foo"; |
| 8546 var arg_zone = "foo"; |
| 8547 var arg_filter = "foo"; |
| 8548 var arg_maxResults = 42; |
| 8549 var arg_pageToken = "foo"; |
| 8550 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8551 var path = (req.url).path; |
| 8552 var pathOffset = 0; |
| 8553 var index; |
| 8554 var subPart; |
| 8555 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8556 pathOffset += 1; |
| 8557 |
| 8558 var query = (req.url).query; |
| 8559 var queryOffset = 0; |
| 8560 var queryMap = {}; |
| 8561 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8562 parseBool(n) { |
| 8563 if (n == "true") return true; |
| 8564 if (n == "false") return false; |
| 8565 if (n == null) return null; |
| 8566 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8567 } |
| 8568 if (query.length > 0) { |
| 8569 for (var part in query.split("&")) { |
| 8570 var keyvalue = part.split("="); |
| 8571 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8572 } |
| 8573 } |
| 8574 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 8575 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 8576 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 8577 |
| 8578 |
| 8579 var h = { |
| 8580 "content-type" : "application/json; charset=utf-8", |
| 8581 }; |
| 8582 var resp = convert.JSON.encode(buildAutoscalerList()); |
| 8583 return new async.Future.value(stringResponse(200, h, resp)); |
| 8584 }), true); |
| 8585 res.list(arg_project, arg_zone, filter: arg_filter, maxResults: arg_maxRes
ults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.AutoscalerList r
esponse) { |
| 8586 checkAutoscalerList(response); |
| 8587 }))); |
| 8588 }); |
| 8589 |
| 8590 unittest.test("method--patch", () { |
| 8591 |
| 8592 var mock = new HttpServerMock(); |
| 8593 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; |
| 8594 var arg_request = buildAutoscaler(); |
| 8595 var arg_project = "foo"; |
| 8596 var arg_zone = "foo"; |
| 8597 var arg_autoscaler = "foo"; |
| 8598 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8599 var obj = new api.Autoscaler.fromJson(json); |
| 8600 checkAutoscaler(obj); |
| 8601 |
| 8602 var path = (req.url).path; |
| 8603 var pathOffset = 0; |
| 8604 var index; |
| 8605 var subPart; |
| 8606 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8607 pathOffset += 1; |
| 8608 |
| 8609 var query = (req.url).query; |
| 8610 var queryOffset = 0; |
| 8611 var queryMap = {}; |
| 8612 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8613 parseBool(n) { |
| 8614 if (n == "true") return true; |
| 8615 if (n == "false") return false; |
| 8616 if (n == null) return null; |
| 8617 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8618 } |
| 8619 if (query.length > 0) { |
| 8620 for (var part in query.split("&")) { |
| 8621 var keyvalue = part.split("="); |
| 8622 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8623 } |
| 8624 } |
| 8625 unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autosc
aler)); |
| 8626 |
| 8627 |
| 8628 var h = { |
| 8629 "content-type" : "application/json; charset=utf-8", |
| 8630 }; |
| 8631 var resp = convert.JSON.encode(buildOperation()); |
| 8632 return new async.Future.value(stringResponse(200, h, resp)); |
| 8633 }), true); |
| 8634 res.patch(arg_request, arg_project, arg_zone, arg_autoscaler).then(unittes
t.expectAsync(((api.Operation response) { |
| 8635 checkOperation(response); |
| 8636 }))); |
| 8637 }); |
| 8638 |
| 8639 unittest.test("method--update", () { |
| 8640 |
| 8641 var mock = new HttpServerMock(); |
| 8642 api.AutoscalersResourceApi res = new api.ComputeApi(mock).autoscalers; |
| 8643 var arg_request = buildAutoscaler(); |
| 8644 var arg_project = "foo"; |
| 8645 var arg_zone = "foo"; |
| 8646 var arg_autoscaler = "foo"; |
| 8647 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8648 var obj = new api.Autoscaler.fromJson(json); |
| 8649 checkAutoscaler(obj); |
| 8650 |
| 8651 var path = (req.url).path; |
| 8652 var pathOffset = 0; |
| 8653 var index; |
| 8654 var subPart; |
| 8655 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8656 pathOffset += 1; |
| 8657 |
| 8658 var query = (req.url).query; |
| 8659 var queryOffset = 0; |
| 8660 var queryMap = {}; |
| 8661 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 8662 parseBool(n) { |
| 8663 if (n == "true") return true; |
| 8664 if (n == "false") return false; |
| 8665 if (n == null) return null; |
| 8666 throw new core.ArgumentError("Invalid boolean: $n"); |
| 8667 } |
| 8668 if (query.length > 0) { |
| 8669 for (var part in query.split("&")) { |
| 8670 var keyvalue = part.split("="); |
| 8671 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 8672 } |
| 8673 } |
| 8674 unittest.expect(queryMap["autoscaler"].first, unittest.equals(arg_autosc
aler)); |
| 8675 |
| 8676 |
| 8677 var h = { |
| 8678 "content-type" : "application/json; charset=utf-8", |
| 8679 }; |
| 8680 var resp = convert.JSON.encode(buildOperation()); |
| 8681 return new async.Future.value(stringResponse(200, h, resp)); |
| 8682 }), true); |
| 8683 res.update(arg_request, arg_project, arg_zone, autoscaler: arg_autoscaler)
.then(unittest.expectAsync(((api.Operation response) { |
| 8684 checkOperation(response); |
| 8685 }))); |
| 8686 }); |
| 8687 |
| 8688 }); |
| 8689 |
| 8690 |
7975 unittest.group("resource-BackendServicesResourceApi", () { | 8691 unittest.group("resource-BackendServicesResourceApi", () { |
7976 unittest.test("method--delete", () { | 8692 unittest.test("method--delete", () { |
7977 | 8693 |
7978 var mock = new HttpServerMock(); | 8694 var mock = new HttpServerMock(); |
7979 api.BackendServicesResourceApi res = new api.ComputeApi(mock).backendServi
ces; | 8695 api.BackendServicesResourceApi res = new api.ComputeApi(mock).backendServi
ces; |
7980 var arg_project = "foo"; | 8696 var arg_project = "foo"; |
7981 var arg_backendService = "foo"; | 8697 var arg_backendService = "foo"; |
7982 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 8698 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
7983 var path = (req.url).path; | 8699 var path = (req.url).path; |
7984 var pathOffset = 0; | 8700 var pathOffset = 0; |
(...skipping 7576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15561 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ZoneList response) { | 16277 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ZoneList response) { |
15562 checkZoneList(response); | 16278 checkZoneList(response); |
15563 }))); | 16279 }))); |
15564 }); | 16280 }); |
15565 | 16281 |
15566 }); | 16282 }); |
15567 | 16283 |
15568 | 16284 |
15569 } | 16285 } |
15570 | 16286 |
OLD | NEW |