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 buildUnnamed671() { | 79 buildUnnamed2250() { |
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 checkUnnamed671(core.List<core.String> o) { | 86 checkUnnamed2250(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 = buildUnnamed671(); | 106 o.users = buildUnnamed2250(); |
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 checkUnnamed671(o.users); | 124 checkUnnamed2250(o.users); |
125 } | 125 } |
126 buildCounterAddress--; | 126 buildCounterAddress--; |
127 } | 127 } |
128 | 128 |
129 buildUnnamed672() { | 129 buildUnnamed2251() { |
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 checkUnnamed672(core.Map<core.String, api.AddressesScopedList> o) { | 136 checkUnnamed2251(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 = buildUnnamed672(); | 148 o.items = buildUnnamed2251(); |
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 checkUnnamed672(o.items); | 161 checkUnnamed2251(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 buildUnnamed673() { | 169 buildUnnamed2252() { |
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 checkUnnamed673(core.List<api.Address> o) { | 176 checkUnnamed2252(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 = buildUnnamed673(); | 188 o.items = buildUnnamed2252(); |
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 checkUnnamed673(o.items); | 201 checkUnnamed2252(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 buildUnnamed674() { | 209 buildUnnamed2253() { |
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 checkUnnamed674(core.List<api.Address> o) { | 216 checkUnnamed2253(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 buildUnnamed675() { | 243 buildUnnamed2254() { |
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 checkUnnamed675(core.List<api.AddressesScopedListWarningData> o) { | 250 checkUnnamed2254(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 = buildUnnamed675(); | 262 o.data = buildUnnamed2254(); |
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 checkUnnamed675(o.data); | 273 checkUnnamed2254(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 = buildUnnamed674(); | 284 o.addresses = buildUnnamed2253(); |
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 checkUnnamed674(o.addresses); | 294 checkUnnamed2253(o.addresses); |
295 checkAddressesScopedListWarning(o.warning); | 295 checkAddressesScopedListWarning(o.warning); |
296 } | 296 } |
297 buildCounterAddressesScopedList--; | 297 buildCounterAddressesScopedList--; |
298 } | 298 } |
299 | 299 |
300 buildUnnamed676() { | 300 buildUnnamed2255() { |
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 checkUnnamed676(core.List<core.String> o) { | 307 checkUnnamed2255(core.List<core.String> o) { |
308 unittest.expect(o, unittest.hasLength(2)); | 308 unittest.expect(o, unittest.hasLength(2)); |
309 unittest.expect(o[0], unittest.equals('foo')); | 309 unittest.expect(o[0], unittest.equals('foo')); |
310 unittest.expect(o[1], unittest.equals('foo')); | 310 unittest.expect(o[1], unittest.equals('foo')); |
311 } | 311 } |
312 | 312 |
313 core.int buildCounterAttachedDisk = 0; | 313 core.int buildCounterAttachedDisk = 0; |
314 buildAttachedDisk() { | 314 buildAttachedDisk() { |
315 var o = new api.AttachedDisk(); | 315 var o = new api.AttachedDisk(); |
316 buildCounterAttachedDisk++; | 316 buildCounterAttachedDisk++; |
317 if (buildCounterAttachedDisk < 3) { | 317 if (buildCounterAttachedDisk < 3) { |
318 o.autoDelete = true; | 318 o.autoDelete = true; |
319 o.boot = true; | 319 o.boot = true; |
320 o.deviceName = "foo"; | 320 o.deviceName = "foo"; |
| 321 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
321 o.index = 42; | 322 o.index = 42; |
322 o.initializeParams = buildAttachedDiskInitializeParams(); | 323 o.initializeParams = buildAttachedDiskInitializeParams(); |
323 o.interface = "foo"; | 324 o.interface = "foo"; |
324 o.kind = "foo"; | 325 o.kind = "foo"; |
325 o.licenses = buildUnnamed676(); | 326 o.licenses = buildUnnamed2255(); |
326 o.mode = "foo"; | 327 o.mode = "foo"; |
327 o.source = "foo"; | 328 o.source = "foo"; |
328 o.type = "foo"; | 329 o.type = "foo"; |
329 } | 330 } |
330 buildCounterAttachedDisk--; | 331 buildCounterAttachedDisk--; |
331 return o; | 332 return o; |
332 } | 333 } |
333 | 334 |
334 checkAttachedDisk(api.AttachedDisk o) { | 335 checkAttachedDisk(api.AttachedDisk o) { |
335 buildCounterAttachedDisk++; | 336 buildCounterAttachedDisk++; |
336 if (buildCounterAttachedDisk < 3) { | 337 if (buildCounterAttachedDisk < 3) { |
337 unittest.expect(o.autoDelete, unittest.isTrue); | 338 unittest.expect(o.autoDelete, unittest.isTrue); |
338 unittest.expect(o.boot, unittest.isTrue); | 339 unittest.expect(o.boot, unittest.isTrue); |
339 unittest.expect(o.deviceName, unittest.equals('foo')); | 340 unittest.expect(o.deviceName, unittest.equals('foo')); |
| 341 checkCustomerEncryptionKey(o.diskEncryptionKey); |
340 unittest.expect(o.index, unittest.equals(42)); | 342 unittest.expect(o.index, unittest.equals(42)); |
341 checkAttachedDiskInitializeParams(o.initializeParams); | 343 checkAttachedDiskInitializeParams(o.initializeParams); |
342 unittest.expect(o.interface, unittest.equals('foo')); | 344 unittest.expect(o.interface, unittest.equals('foo')); |
343 unittest.expect(o.kind, unittest.equals('foo')); | 345 unittest.expect(o.kind, unittest.equals('foo')); |
344 checkUnnamed676(o.licenses); | 346 checkUnnamed2255(o.licenses); |
345 unittest.expect(o.mode, unittest.equals('foo')); | 347 unittest.expect(o.mode, unittest.equals('foo')); |
346 unittest.expect(o.source, unittest.equals('foo')); | 348 unittest.expect(o.source, unittest.equals('foo')); |
347 unittest.expect(o.type, unittest.equals('foo')); | 349 unittest.expect(o.type, unittest.equals('foo')); |
348 } | 350 } |
349 buildCounterAttachedDisk--; | 351 buildCounterAttachedDisk--; |
350 } | 352 } |
351 | 353 |
352 core.int buildCounterAttachedDiskInitializeParams = 0; | 354 core.int buildCounterAttachedDiskInitializeParams = 0; |
353 buildAttachedDiskInitializeParams() { | 355 buildAttachedDiskInitializeParams() { |
354 var o = new api.AttachedDiskInitializeParams(); | 356 var o = new api.AttachedDiskInitializeParams(); |
355 buildCounterAttachedDiskInitializeParams++; | 357 buildCounterAttachedDiskInitializeParams++; |
356 if (buildCounterAttachedDiskInitializeParams < 3) { | 358 if (buildCounterAttachedDiskInitializeParams < 3) { |
357 o.diskName = "foo"; | 359 o.diskName = "foo"; |
358 o.diskSizeGb = "foo"; | 360 o.diskSizeGb = "foo"; |
359 o.diskType = "foo"; | 361 o.diskType = "foo"; |
360 o.sourceImage = "foo"; | 362 o.sourceImage = "foo"; |
| 363 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); |
361 } | 364 } |
362 buildCounterAttachedDiskInitializeParams--; | 365 buildCounterAttachedDiskInitializeParams--; |
363 return o; | 366 return o; |
364 } | 367 } |
365 | 368 |
366 checkAttachedDiskInitializeParams(api.AttachedDiskInitializeParams o) { | 369 checkAttachedDiskInitializeParams(api.AttachedDiskInitializeParams o) { |
367 buildCounterAttachedDiskInitializeParams++; | 370 buildCounterAttachedDiskInitializeParams++; |
368 if (buildCounterAttachedDiskInitializeParams < 3) { | 371 if (buildCounterAttachedDiskInitializeParams < 3) { |
369 unittest.expect(o.diskName, unittest.equals('foo')); | 372 unittest.expect(o.diskName, unittest.equals('foo')); |
370 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 373 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
371 unittest.expect(o.diskType, unittest.equals('foo')); | 374 unittest.expect(o.diskType, unittest.equals('foo')); |
372 unittest.expect(o.sourceImage, unittest.equals('foo')); | 375 unittest.expect(o.sourceImage, unittest.equals('foo')); |
| 376 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); |
373 } | 377 } |
374 buildCounterAttachedDiskInitializeParams--; | 378 buildCounterAttachedDiskInitializeParams--; |
375 } | 379 } |
376 | 380 |
377 core.int buildCounterAutoscaler = 0; | 381 core.int buildCounterAutoscaler = 0; |
378 buildAutoscaler() { | 382 buildAutoscaler() { |
379 var o = new api.Autoscaler(); | 383 var o = new api.Autoscaler(); |
380 buildCounterAutoscaler++; | 384 buildCounterAutoscaler++; |
381 if (buildCounterAutoscaler < 3) { | 385 if (buildCounterAutoscaler < 3) { |
382 o.autoscalingPolicy = buildAutoscalingPolicy(); | 386 o.autoscalingPolicy = buildAutoscalingPolicy(); |
(...skipping 19 matching lines...) Expand all Loading... |
402 unittest.expect(o.id, unittest.equals('foo')); | 406 unittest.expect(o.id, unittest.equals('foo')); |
403 unittest.expect(o.kind, unittest.equals('foo')); | 407 unittest.expect(o.kind, unittest.equals('foo')); |
404 unittest.expect(o.name, unittest.equals('foo')); | 408 unittest.expect(o.name, unittest.equals('foo')); |
405 unittest.expect(o.selfLink, unittest.equals('foo')); | 409 unittest.expect(o.selfLink, unittest.equals('foo')); |
406 unittest.expect(o.target, unittest.equals('foo')); | 410 unittest.expect(o.target, unittest.equals('foo')); |
407 unittest.expect(o.zone, unittest.equals('foo')); | 411 unittest.expect(o.zone, unittest.equals('foo')); |
408 } | 412 } |
409 buildCounterAutoscaler--; | 413 buildCounterAutoscaler--; |
410 } | 414 } |
411 | 415 |
412 buildUnnamed677() { | 416 buildUnnamed2256() { |
413 var o = new core.Map<core.String, api.AutoscalersScopedList>(); | 417 var o = new core.Map<core.String, api.AutoscalersScopedList>(); |
414 o["x"] = buildAutoscalersScopedList(); | 418 o["x"] = buildAutoscalersScopedList(); |
415 o["y"] = buildAutoscalersScopedList(); | 419 o["y"] = buildAutoscalersScopedList(); |
416 return o; | 420 return o; |
417 } | 421 } |
418 | 422 |
419 checkUnnamed677(core.Map<core.String, api.AutoscalersScopedList> o) { | 423 checkUnnamed2256(core.Map<core.String, api.AutoscalersScopedList> o) { |
420 unittest.expect(o, unittest.hasLength(2)); | 424 unittest.expect(o, unittest.hasLength(2)); |
421 checkAutoscalersScopedList(o["x"]); | 425 checkAutoscalersScopedList(o["x"]); |
422 checkAutoscalersScopedList(o["y"]); | 426 checkAutoscalersScopedList(o["y"]); |
423 } | 427 } |
424 | 428 |
425 core.int buildCounterAutoscalerAggregatedList = 0; | 429 core.int buildCounterAutoscalerAggregatedList = 0; |
426 buildAutoscalerAggregatedList() { | 430 buildAutoscalerAggregatedList() { |
427 var o = new api.AutoscalerAggregatedList(); | 431 var o = new api.AutoscalerAggregatedList(); |
428 buildCounterAutoscalerAggregatedList++; | 432 buildCounterAutoscalerAggregatedList++; |
429 if (buildCounterAutoscalerAggregatedList < 3) { | 433 if (buildCounterAutoscalerAggregatedList < 3) { |
430 o.id = "foo"; | 434 o.id = "foo"; |
431 o.items = buildUnnamed677(); | 435 o.items = buildUnnamed2256(); |
432 o.kind = "foo"; | 436 o.kind = "foo"; |
433 o.nextPageToken = "foo"; | 437 o.nextPageToken = "foo"; |
434 o.selfLink = "foo"; | 438 o.selfLink = "foo"; |
435 } | 439 } |
436 buildCounterAutoscalerAggregatedList--; | 440 buildCounterAutoscalerAggregatedList--; |
437 return o; | 441 return o; |
438 } | 442 } |
439 | 443 |
440 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { | 444 checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) { |
441 buildCounterAutoscalerAggregatedList++; | 445 buildCounterAutoscalerAggregatedList++; |
442 if (buildCounterAutoscalerAggregatedList < 3) { | 446 if (buildCounterAutoscalerAggregatedList < 3) { |
443 unittest.expect(o.id, unittest.equals('foo')); | 447 unittest.expect(o.id, unittest.equals('foo')); |
444 checkUnnamed677(o.items); | 448 checkUnnamed2256(o.items); |
445 unittest.expect(o.kind, unittest.equals('foo')); | 449 unittest.expect(o.kind, unittest.equals('foo')); |
446 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 450 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
447 unittest.expect(o.selfLink, unittest.equals('foo')); | 451 unittest.expect(o.selfLink, unittest.equals('foo')); |
448 } | 452 } |
449 buildCounterAutoscalerAggregatedList--; | 453 buildCounterAutoscalerAggregatedList--; |
450 } | 454 } |
451 | 455 |
452 buildUnnamed678() { | 456 buildUnnamed2257() { |
453 var o = new core.List<api.Autoscaler>(); | 457 var o = new core.List<api.Autoscaler>(); |
454 o.add(buildAutoscaler()); | 458 o.add(buildAutoscaler()); |
455 o.add(buildAutoscaler()); | 459 o.add(buildAutoscaler()); |
456 return o; | 460 return o; |
457 } | 461 } |
458 | 462 |
459 checkUnnamed678(core.List<api.Autoscaler> o) { | 463 checkUnnamed2257(core.List<api.Autoscaler> o) { |
460 unittest.expect(o, unittest.hasLength(2)); | 464 unittest.expect(o, unittest.hasLength(2)); |
461 checkAutoscaler(o[0]); | 465 checkAutoscaler(o[0]); |
462 checkAutoscaler(o[1]); | 466 checkAutoscaler(o[1]); |
463 } | 467 } |
464 | 468 |
465 core.int buildCounterAutoscalerList = 0; | 469 core.int buildCounterAutoscalerList = 0; |
466 buildAutoscalerList() { | 470 buildAutoscalerList() { |
467 var o = new api.AutoscalerList(); | 471 var o = new api.AutoscalerList(); |
468 buildCounterAutoscalerList++; | 472 buildCounterAutoscalerList++; |
469 if (buildCounterAutoscalerList < 3) { | 473 if (buildCounterAutoscalerList < 3) { |
470 o.id = "foo"; | 474 o.id = "foo"; |
471 o.items = buildUnnamed678(); | 475 o.items = buildUnnamed2257(); |
472 o.kind = "foo"; | 476 o.kind = "foo"; |
473 o.nextPageToken = "foo"; | 477 o.nextPageToken = "foo"; |
474 o.selfLink = "foo"; | 478 o.selfLink = "foo"; |
475 } | 479 } |
476 buildCounterAutoscalerList--; | 480 buildCounterAutoscalerList--; |
477 return o; | 481 return o; |
478 } | 482 } |
479 | 483 |
480 checkAutoscalerList(api.AutoscalerList o) { | 484 checkAutoscalerList(api.AutoscalerList o) { |
481 buildCounterAutoscalerList++; | 485 buildCounterAutoscalerList++; |
482 if (buildCounterAutoscalerList < 3) { | 486 if (buildCounterAutoscalerList < 3) { |
483 unittest.expect(o.id, unittest.equals('foo')); | 487 unittest.expect(o.id, unittest.equals('foo')); |
484 checkUnnamed678(o.items); | 488 checkUnnamed2257(o.items); |
485 unittest.expect(o.kind, unittest.equals('foo')); | 489 unittest.expect(o.kind, unittest.equals('foo')); |
486 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 490 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
487 unittest.expect(o.selfLink, unittest.equals('foo')); | 491 unittest.expect(o.selfLink, unittest.equals('foo')); |
488 } | 492 } |
489 buildCounterAutoscalerList--; | 493 buildCounterAutoscalerList--; |
490 } | 494 } |
491 | 495 |
492 buildUnnamed679() { | 496 buildUnnamed2258() { |
493 var o = new core.List<api.Autoscaler>(); | 497 var o = new core.List<api.Autoscaler>(); |
494 o.add(buildAutoscaler()); | 498 o.add(buildAutoscaler()); |
495 o.add(buildAutoscaler()); | 499 o.add(buildAutoscaler()); |
496 return o; | 500 return o; |
497 } | 501 } |
498 | 502 |
499 checkUnnamed679(core.List<api.Autoscaler> o) { | 503 checkUnnamed2258(core.List<api.Autoscaler> o) { |
500 unittest.expect(o, unittest.hasLength(2)); | 504 unittest.expect(o, unittest.hasLength(2)); |
501 checkAutoscaler(o[0]); | 505 checkAutoscaler(o[0]); |
502 checkAutoscaler(o[1]); | 506 checkAutoscaler(o[1]); |
503 } | 507 } |
504 | 508 |
505 core.int buildCounterAutoscalersScopedListWarningData = 0; | 509 core.int buildCounterAutoscalersScopedListWarningData = 0; |
506 buildAutoscalersScopedListWarningData() { | 510 buildAutoscalersScopedListWarningData() { |
507 var o = new api.AutoscalersScopedListWarningData(); | 511 var o = new api.AutoscalersScopedListWarningData(); |
508 buildCounterAutoscalersScopedListWarningData++; | 512 buildCounterAutoscalersScopedListWarningData++; |
509 if (buildCounterAutoscalersScopedListWarningData < 3) { | 513 if (buildCounterAutoscalersScopedListWarningData < 3) { |
510 o.key = "foo"; | 514 o.key = "foo"; |
511 o.value = "foo"; | 515 o.value = "foo"; |
512 } | 516 } |
513 buildCounterAutoscalersScopedListWarningData--; | 517 buildCounterAutoscalersScopedListWarningData--; |
514 return o; | 518 return o; |
515 } | 519 } |
516 | 520 |
517 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { | 521 checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) { |
518 buildCounterAutoscalersScopedListWarningData++; | 522 buildCounterAutoscalersScopedListWarningData++; |
519 if (buildCounterAutoscalersScopedListWarningData < 3) { | 523 if (buildCounterAutoscalersScopedListWarningData < 3) { |
520 unittest.expect(o.key, unittest.equals('foo')); | 524 unittest.expect(o.key, unittest.equals('foo')); |
521 unittest.expect(o.value, unittest.equals('foo')); | 525 unittest.expect(o.value, unittest.equals('foo')); |
522 } | 526 } |
523 buildCounterAutoscalersScopedListWarningData--; | 527 buildCounterAutoscalersScopedListWarningData--; |
524 } | 528 } |
525 | 529 |
526 buildUnnamed680() { | 530 buildUnnamed2259() { |
527 var o = new core.List<api.AutoscalersScopedListWarningData>(); | 531 var o = new core.List<api.AutoscalersScopedListWarningData>(); |
528 o.add(buildAutoscalersScopedListWarningData()); | 532 o.add(buildAutoscalersScopedListWarningData()); |
529 o.add(buildAutoscalersScopedListWarningData()); | 533 o.add(buildAutoscalersScopedListWarningData()); |
530 return o; | 534 return o; |
531 } | 535 } |
532 | 536 |
533 checkUnnamed680(core.List<api.AutoscalersScopedListWarningData> o) { | 537 checkUnnamed2259(core.List<api.AutoscalersScopedListWarningData> o) { |
534 unittest.expect(o, unittest.hasLength(2)); | 538 unittest.expect(o, unittest.hasLength(2)); |
535 checkAutoscalersScopedListWarningData(o[0]); | 539 checkAutoscalersScopedListWarningData(o[0]); |
536 checkAutoscalersScopedListWarningData(o[1]); | 540 checkAutoscalersScopedListWarningData(o[1]); |
537 } | 541 } |
538 | 542 |
539 core.int buildCounterAutoscalersScopedListWarning = 0; | 543 core.int buildCounterAutoscalersScopedListWarning = 0; |
540 buildAutoscalersScopedListWarning() { | 544 buildAutoscalersScopedListWarning() { |
541 var o = new api.AutoscalersScopedListWarning(); | 545 var o = new api.AutoscalersScopedListWarning(); |
542 buildCounterAutoscalersScopedListWarning++; | 546 buildCounterAutoscalersScopedListWarning++; |
543 if (buildCounterAutoscalersScopedListWarning < 3) { | 547 if (buildCounterAutoscalersScopedListWarning < 3) { |
544 o.code = "foo"; | 548 o.code = "foo"; |
545 o.data = buildUnnamed680(); | 549 o.data = buildUnnamed2259(); |
546 o.message = "foo"; | 550 o.message = "foo"; |
547 } | 551 } |
548 buildCounterAutoscalersScopedListWarning--; | 552 buildCounterAutoscalersScopedListWarning--; |
549 return o; | 553 return o; |
550 } | 554 } |
551 | 555 |
552 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { | 556 checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) { |
553 buildCounterAutoscalersScopedListWarning++; | 557 buildCounterAutoscalersScopedListWarning++; |
554 if (buildCounterAutoscalersScopedListWarning < 3) { | 558 if (buildCounterAutoscalersScopedListWarning < 3) { |
555 unittest.expect(o.code, unittest.equals('foo')); | 559 unittest.expect(o.code, unittest.equals('foo')); |
556 checkUnnamed680(o.data); | 560 checkUnnamed2259(o.data); |
557 unittest.expect(o.message, unittest.equals('foo')); | 561 unittest.expect(o.message, unittest.equals('foo')); |
558 } | 562 } |
559 buildCounterAutoscalersScopedListWarning--; | 563 buildCounterAutoscalersScopedListWarning--; |
560 } | 564 } |
561 | 565 |
562 core.int buildCounterAutoscalersScopedList = 0; | 566 core.int buildCounterAutoscalersScopedList = 0; |
563 buildAutoscalersScopedList() { | 567 buildAutoscalersScopedList() { |
564 var o = new api.AutoscalersScopedList(); | 568 var o = new api.AutoscalersScopedList(); |
565 buildCounterAutoscalersScopedList++; | 569 buildCounterAutoscalersScopedList++; |
566 if (buildCounterAutoscalersScopedList < 3) { | 570 if (buildCounterAutoscalersScopedList < 3) { |
567 o.autoscalers = buildUnnamed679(); | 571 o.autoscalers = buildUnnamed2258(); |
568 o.warning = buildAutoscalersScopedListWarning(); | 572 o.warning = buildAutoscalersScopedListWarning(); |
569 } | 573 } |
570 buildCounterAutoscalersScopedList--; | 574 buildCounterAutoscalersScopedList--; |
571 return o; | 575 return o; |
572 } | 576 } |
573 | 577 |
574 checkAutoscalersScopedList(api.AutoscalersScopedList o) { | 578 checkAutoscalersScopedList(api.AutoscalersScopedList o) { |
575 buildCounterAutoscalersScopedList++; | 579 buildCounterAutoscalersScopedList++; |
576 if (buildCounterAutoscalersScopedList < 3) { | 580 if (buildCounterAutoscalersScopedList < 3) { |
577 checkUnnamed679(o.autoscalers); | 581 checkUnnamed2258(o.autoscalers); |
578 checkAutoscalersScopedListWarning(o.warning); | 582 checkAutoscalersScopedListWarning(o.warning); |
579 } | 583 } |
580 buildCounterAutoscalersScopedList--; | 584 buildCounterAutoscalersScopedList--; |
581 } | 585 } |
582 | 586 |
583 buildUnnamed681() { | 587 buildUnnamed2260() { |
584 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); | 588 var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>(); |
585 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 589 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
586 o.add(buildAutoscalingPolicyCustomMetricUtilization()); | 590 o.add(buildAutoscalingPolicyCustomMetricUtilization()); |
587 return o; | 591 return o; |
588 } | 592 } |
589 | 593 |
590 checkUnnamed681(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { | 594 checkUnnamed2260(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) { |
591 unittest.expect(o, unittest.hasLength(2)); | 595 unittest.expect(o, unittest.hasLength(2)); |
592 checkAutoscalingPolicyCustomMetricUtilization(o[0]); | 596 checkAutoscalingPolicyCustomMetricUtilization(o[0]); |
593 checkAutoscalingPolicyCustomMetricUtilization(o[1]); | 597 checkAutoscalingPolicyCustomMetricUtilization(o[1]); |
594 } | 598 } |
595 | 599 |
596 core.int buildCounterAutoscalingPolicy = 0; | 600 core.int buildCounterAutoscalingPolicy = 0; |
597 buildAutoscalingPolicy() { | 601 buildAutoscalingPolicy() { |
598 var o = new api.AutoscalingPolicy(); | 602 var o = new api.AutoscalingPolicy(); |
599 buildCounterAutoscalingPolicy++; | 603 buildCounterAutoscalingPolicy++; |
600 if (buildCounterAutoscalingPolicy < 3) { | 604 if (buildCounterAutoscalingPolicy < 3) { |
601 o.coolDownPeriodSec = 42; | 605 o.coolDownPeriodSec = 42; |
602 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); | 606 o.cpuUtilization = buildAutoscalingPolicyCpuUtilization(); |
603 o.customMetricUtilizations = buildUnnamed681(); | 607 o.customMetricUtilizations = buildUnnamed2260(); |
604 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); | 608 o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization(
); |
605 o.maxNumReplicas = 42; | 609 o.maxNumReplicas = 42; |
606 o.minNumReplicas = 42; | 610 o.minNumReplicas = 42; |
607 } | 611 } |
608 buildCounterAutoscalingPolicy--; | 612 buildCounterAutoscalingPolicy--; |
609 return o; | 613 return o; |
610 } | 614 } |
611 | 615 |
612 checkAutoscalingPolicy(api.AutoscalingPolicy o) { | 616 checkAutoscalingPolicy(api.AutoscalingPolicy o) { |
613 buildCounterAutoscalingPolicy++; | 617 buildCounterAutoscalingPolicy++; |
614 if (buildCounterAutoscalingPolicy < 3) { | 618 if (buildCounterAutoscalingPolicy < 3) { |
615 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); | 619 unittest.expect(o.coolDownPeriodSec, unittest.equals(42)); |
616 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); | 620 checkAutoscalingPolicyCpuUtilization(o.cpuUtilization); |
617 checkUnnamed681(o.customMetricUtilizations); | 621 checkUnnamed2260(o.customMetricUtilizations); |
618 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); | 622 checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization); |
619 unittest.expect(o.maxNumReplicas, unittest.equals(42)); | 623 unittest.expect(o.maxNumReplicas, unittest.equals(42)); |
620 unittest.expect(o.minNumReplicas, unittest.equals(42)); | 624 unittest.expect(o.minNumReplicas, unittest.equals(42)); |
621 } | 625 } |
622 buildCounterAutoscalingPolicy--; | 626 buildCounterAutoscalingPolicy--; |
623 } | 627 } |
624 | 628 |
625 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; | 629 core.int buildCounterAutoscalingPolicyCpuUtilization = 0; |
626 buildAutoscalingPolicyCpuUtilization() { | 630 buildAutoscalingPolicyCpuUtilization() { |
627 var o = new api.AutoscalingPolicyCpuUtilization(); | 631 var o = new api.AutoscalingPolicyCpuUtilization(); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 unittest.expect(o.capacityScaler, unittest.equals(42.0)); | 711 unittest.expect(o.capacityScaler, unittest.equals(42.0)); |
708 unittest.expect(o.description, unittest.equals('foo')); | 712 unittest.expect(o.description, unittest.equals('foo')); |
709 unittest.expect(o.group, unittest.equals('foo')); | 713 unittest.expect(o.group, unittest.equals('foo')); |
710 unittest.expect(o.maxRate, unittest.equals(42)); | 714 unittest.expect(o.maxRate, unittest.equals(42)); |
711 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); | 715 unittest.expect(o.maxRatePerInstance, unittest.equals(42.0)); |
712 unittest.expect(o.maxUtilization, unittest.equals(42.0)); | 716 unittest.expect(o.maxUtilization, unittest.equals(42.0)); |
713 } | 717 } |
714 buildCounterBackend--; | 718 buildCounterBackend--; |
715 } | 719 } |
716 | 720 |
717 buildUnnamed682() { | 721 buildUnnamed2261() { |
718 var o = new core.List<api.Backend>(); | 722 var o = new core.List<api.Backend>(); |
719 o.add(buildBackend()); | 723 o.add(buildBackend()); |
720 o.add(buildBackend()); | 724 o.add(buildBackend()); |
721 return o; | 725 return o; |
722 } | 726 } |
723 | 727 |
724 checkUnnamed682(core.List<api.Backend> o) { | 728 checkUnnamed2261(core.List<api.Backend> o) { |
725 unittest.expect(o, unittest.hasLength(2)); | 729 unittest.expect(o, unittest.hasLength(2)); |
726 checkBackend(o[0]); | 730 checkBackend(o[0]); |
727 checkBackend(o[1]); | 731 checkBackend(o[1]); |
728 } | 732 } |
729 | 733 |
730 buildUnnamed683() { | 734 buildUnnamed2262() { |
731 var o = new core.List<core.String>(); | 735 var o = new core.List<core.String>(); |
732 o.add("foo"); | 736 o.add("foo"); |
733 o.add("foo"); | 737 o.add("foo"); |
734 return o; | 738 return o; |
735 } | 739 } |
736 | 740 |
737 checkUnnamed683(core.List<core.String> o) { | 741 checkUnnamed2262(core.List<core.String> o) { |
738 unittest.expect(o, unittest.hasLength(2)); | 742 unittest.expect(o, unittest.hasLength(2)); |
739 unittest.expect(o[0], unittest.equals('foo')); | 743 unittest.expect(o[0], unittest.equals('foo')); |
740 unittest.expect(o[1], unittest.equals('foo')); | 744 unittest.expect(o[1], unittest.equals('foo')); |
741 } | 745 } |
742 | 746 |
743 core.int buildCounterBackendService = 0; | 747 core.int buildCounterBackendService = 0; |
744 buildBackendService() { | 748 buildBackendService() { |
745 var o = new api.BackendService(); | 749 var o = new api.BackendService(); |
746 buildCounterBackendService++; | 750 buildCounterBackendService++; |
747 if (buildCounterBackendService < 3) { | 751 if (buildCounterBackendService < 3) { |
748 o.backends = buildUnnamed682(); | 752 o.backends = buildUnnamed2261(); |
749 o.creationTimestamp = "foo"; | 753 o.creationTimestamp = "foo"; |
750 o.description = "foo"; | 754 o.description = "foo"; |
751 o.fingerprint = "foo"; | 755 o.fingerprint = "foo"; |
752 o.healthChecks = buildUnnamed683(); | 756 o.healthChecks = buildUnnamed2262(); |
753 o.id = "foo"; | 757 o.id = "foo"; |
754 o.kind = "foo"; | 758 o.kind = "foo"; |
755 o.name = "foo"; | 759 o.name = "foo"; |
756 o.port = 42; | 760 o.port = 42; |
757 o.portName = "foo"; | 761 o.portName = "foo"; |
758 o.protocol = "foo"; | 762 o.protocol = "foo"; |
759 o.region = "foo"; | 763 o.region = "foo"; |
760 o.selfLink = "foo"; | 764 o.selfLink = "foo"; |
761 o.timeoutSec = 42; | 765 o.timeoutSec = 42; |
762 } | 766 } |
763 buildCounterBackendService--; | 767 buildCounterBackendService--; |
764 return o; | 768 return o; |
765 } | 769 } |
766 | 770 |
767 checkBackendService(api.BackendService o) { | 771 checkBackendService(api.BackendService o) { |
768 buildCounterBackendService++; | 772 buildCounterBackendService++; |
769 if (buildCounterBackendService < 3) { | 773 if (buildCounterBackendService < 3) { |
770 checkUnnamed682(o.backends); | 774 checkUnnamed2261(o.backends); |
771 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 775 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
772 unittest.expect(o.description, unittest.equals('foo')); | 776 unittest.expect(o.description, unittest.equals('foo')); |
773 unittest.expect(o.fingerprint, unittest.equals('foo')); | 777 unittest.expect(o.fingerprint, unittest.equals('foo')); |
774 checkUnnamed683(o.healthChecks); | 778 checkUnnamed2262(o.healthChecks); |
775 unittest.expect(o.id, unittest.equals('foo')); | 779 unittest.expect(o.id, unittest.equals('foo')); |
776 unittest.expect(o.kind, unittest.equals('foo')); | 780 unittest.expect(o.kind, unittest.equals('foo')); |
777 unittest.expect(o.name, unittest.equals('foo')); | 781 unittest.expect(o.name, unittest.equals('foo')); |
778 unittest.expect(o.port, unittest.equals(42)); | 782 unittest.expect(o.port, unittest.equals(42)); |
779 unittest.expect(o.portName, unittest.equals('foo')); | 783 unittest.expect(o.portName, unittest.equals('foo')); |
780 unittest.expect(o.protocol, unittest.equals('foo')); | 784 unittest.expect(o.protocol, unittest.equals('foo')); |
781 unittest.expect(o.region, unittest.equals('foo')); | 785 unittest.expect(o.region, unittest.equals('foo')); |
782 unittest.expect(o.selfLink, unittest.equals('foo')); | 786 unittest.expect(o.selfLink, unittest.equals('foo')); |
783 unittest.expect(o.timeoutSec, unittest.equals(42)); | 787 unittest.expect(o.timeoutSec, unittest.equals(42)); |
784 } | 788 } |
785 buildCounterBackendService--; | 789 buildCounterBackendService--; |
786 } | 790 } |
787 | 791 |
788 buildUnnamed684() { | 792 buildUnnamed2263() { |
789 var o = new core.List<api.HealthStatus>(); | 793 var o = new core.List<api.HealthStatus>(); |
790 o.add(buildHealthStatus()); | 794 o.add(buildHealthStatus()); |
791 o.add(buildHealthStatus()); | 795 o.add(buildHealthStatus()); |
792 return o; | 796 return o; |
793 } | 797 } |
794 | 798 |
795 checkUnnamed684(core.List<api.HealthStatus> o) { | 799 checkUnnamed2263(core.List<api.HealthStatus> o) { |
796 unittest.expect(o, unittest.hasLength(2)); | 800 unittest.expect(o, unittest.hasLength(2)); |
797 checkHealthStatus(o[0]); | 801 checkHealthStatus(o[0]); |
798 checkHealthStatus(o[1]); | 802 checkHealthStatus(o[1]); |
799 } | 803 } |
800 | 804 |
801 core.int buildCounterBackendServiceGroupHealth = 0; | 805 core.int buildCounterBackendServiceGroupHealth = 0; |
802 buildBackendServiceGroupHealth() { | 806 buildBackendServiceGroupHealth() { |
803 var o = new api.BackendServiceGroupHealth(); | 807 var o = new api.BackendServiceGroupHealth(); |
804 buildCounterBackendServiceGroupHealth++; | 808 buildCounterBackendServiceGroupHealth++; |
805 if (buildCounterBackendServiceGroupHealth < 3) { | 809 if (buildCounterBackendServiceGroupHealth < 3) { |
806 o.healthStatus = buildUnnamed684(); | 810 o.healthStatus = buildUnnamed2263(); |
807 o.kind = "foo"; | 811 o.kind = "foo"; |
808 } | 812 } |
809 buildCounterBackendServiceGroupHealth--; | 813 buildCounterBackendServiceGroupHealth--; |
810 return o; | 814 return o; |
811 } | 815 } |
812 | 816 |
813 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { | 817 checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) { |
814 buildCounterBackendServiceGroupHealth++; | 818 buildCounterBackendServiceGroupHealth++; |
815 if (buildCounterBackendServiceGroupHealth < 3) { | 819 if (buildCounterBackendServiceGroupHealth < 3) { |
816 checkUnnamed684(o.healthStatus); | 820 checkUnnamed2263(o.healthStatus); |
817 unittest.expect(o.kind, unittest.equals('foo')); | 821 unittest.expect(o.kind, unittest.equals('foo')); |
818 } | 822 } |
819 buildCounterBackendServiceGroupHealth--; | 823 buildCounterBackendServiceGroupHealth--; |
820 } | 824 } |
821 | 825 |
822 buildUnnamed685() { | 826 buildUnnamed2264() { |
823 var o = new core.List<api.BackendService>(); | 827 var o = new core.List<api.BackendService>(); |
824 o.add(buildBackendService()); | 828 o.add(buildBackendService()); |
825 o.add(buildBackendService()); | 829 o.add(buildBackendService()); |
826 return o; | 830 return o; |
827 } | 831 } |
828 | 832 |
829 checkUnnamed685(core.List<api.BackendService> o) { | 833 checkUnnamed2264(core.List<api.BackendService> o) { |
830 unittest.expect(o, unittest.hasLength(2)); | 834 unittest.expect(o, unittest.hasLength(2)); |
831 checkBackendService(o[0]); | 835 checkBackendService(o[0]); |
832 checkBackendService(o[1]); | 836 checkBackendService(o[1]); |
833 } | 837 } |
834 | 838 |
835 core.int buildCounterBackendServiceList = 0; | 839 core.int buildCounterBackendServiceList = 0; |
836 buildBackendServiceList() { | 840 buildBackendServiceList() { |
837 var o = new api.BackendServiceList(); | 841 var o = new api.BackendServiceList(); |
838 buildCounterBackendServiceList++; | 842 buildCounterBackendServiceList++; |
839 if (buildCounterBackendServiceList < 3) { | 843 if (buildCounterBackendServiceList < 3) { |
840 o.id = "foo"; | 844 o.id = "foo"; |
841 o.items = buildUnnamed685(); | 845 o.items = buildUnnamed2264(); |
842 o.kind = "foo"; | 846 o.kind = "foo"; |
843 o.nextPageToken = "foo"; | 847 o.nextPageToken = "foo"; |
844 o.selfLink = "foo"; | 848 o.selfLink = "foo"; |
845 } | 849 } |
846 buildCounterBackendServiceList--; | 850 buildCounterBackendServiceList--; |
847 return o; | 851 return o; |
848 } | 852 } |
849 | 853 |
850 checkBackendServiceList(api.BackendServiceList o) { | 854 checkBackendServiceList(api.BackendServiceList o) { |
851 buildCounterBackendServiceList++; | 855 buildCounterBackendServiceList++; |
852 if (buildCounterBackendServiceList < 3) { | 856 if (buildCounterBackendServiceList < 3) { |
853 unittest.expect(o.id, unittest.equals('foo')); | 857 unittest.expect(o.id, unittest.equals('foo')); |
854 checkUnnamed685(o.items); | 858 checkUnnamed2264(o.items); |
855 unittest.expect(o.kind, unittest.equals('foo')); | 859 unittest.expect(o.kind, unittest.equals('foo')); |
856 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 860 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
857 unittest.expect(o.selfLink, unittest.equals('foo')); | 861 unittest.expect(o.selfLink, unittest.equals('foo')); |
858 } | 862 } |
859 buildCounterBackendServiceList--; | 863 buildCounterBackendServiceList--; |
860 } | 864 } |
861 | 865 |
| 866 core.int buildCounterCustomerEncryptionKey = 0; |
| 867 buildCustomerEncryptionKey() { |
| 868 var o = new api.CustomerEncryptionKey(); |
| 869 buildCounterCustomerEncryptionKey++; |
| 870 if (buildCounterCustomerEncryptionKey < 3) { |
| 871 o.rawKey = "foo"; |
| 872 o.sha256 = "foo"; |
| 873 } |
| 874 buildCounterCustomerEncryptionKey--; |
| 875 return o; |
| 876 } |
| 877 |
| 878 checkCustomerEncryptionKey(api.CustomerEncryptionKey o) { |
| 879 buildCounterCustomerEncryptionKey++; |
| 880 if (buildCounterCustomerEncryptionKey < 3) { |
| 881 unittest.expect(o.rawKey, unittest.equals('foo')); |
| 882 unittest.expect(o.sha256, unittest.equals('foo')); |
| 883 } |
| 884 buildCounterCustomerEncryptionKey--; |
| 885 } |
| 886 |
| 887 core.int buildCounterCustomerEncryptionKeyProtectedDisk = 0; |
| 888 buildCustomerEncryptionKeyProtectedDisk() { |
| 889 var o = new api.CustomerEncryptionKeyProtectedDisk(); |
| 890 buildCounterCustomerEncryptionKeyProtectedDisk++; |
| 891 if (buildCounterCustomerEncryptionKeyProtectedDisk < 3) { |
| 892 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
| 893 o.source = "foo"; |
| 894 } |
| 895 buildCounterCustomerEncryptionKeyProtectedDisk--; |
| 896 return o; |
| 897 } |
| 898 |
| 899 checkCustomerEncryptionKeyProtectedDisk(api.CustomerEncryptionKeyProtectedDisk o
) { |
| 900 buildCounterCustomerEncryptionKeyProtectedDisk++; |
| 901 if (buildCounterCustomerEncryptionKeyProtectedDisk < 3) { |
| 902 checkCustomerEncryptionKey(o.diskEncryptionKey); |
| 903 unittest.expect(o.source, unittest.equals('foo')); |
| 904 } |
| 905 buildCounterCustomerEncryptionKeyProtectedDisk--; |
| 906 } |
| 907 |
862 core.int buildCounterDeprecationStatus = 0; | 908 core.int buildCounterDeprecationStatus = 0; |
863 buildDeprecationStatus() { | 909 buildDeprecationStatus() { |
864 var o = new api.DeprecationStatus(); | 910 var o = new api.DeprecationStatus(); |
865 buildCounterDeprecationStatus++; | 911 buildCounterDeprecationStatus++; |
866 if (buildCounterDeprecationStatus < 3) { | 912 if (buildCounterDeprecationStatus < 3) { |
867 o.deleted = "foo"; | 913 o.deleted = "foo"; |
868 o.deprecated = "foo"; | 914 o.deprecated = "foo"; |
869 o.obsolete = "foo"; | 915 o.obsolete = "foo"; |
870 o.replacement = "foo"; | 916 o.replacement = "foo"; |
871 o.state = "foo"; | 917 o.state = "foo"; |
872 } | 918 } |
873 buildCounterDeprecationStatus--; | 919 buildCounterDeprecationStatus--; |
874 return o; | 920 return o; |
875 } | 921 } |
876 | 922 |
877 checkDeprecationStatus(api.DeprecationStatus o) { | 923 checkDeprecationStatus(api.DeprecationStatus o) { |
878 buildCounterDeprecationStatus++; | 924 buildCounterDeprecationStatus++; |
879 if (buildCounterDeprecationStatus < 3) { | 925 if (buildCounterDeprecationStatus < 3) { |
880 unittest.expect(o.deleted, unittest.equals('foo')); | 926 unittest.expect(o.deleted, unittest.equals('foo')); |
881 unittest.expect(o.deprecated, unittest.equals('foo')); | 927 unittest.expect(o.deprecated, unittest.equals('foo')); |
882 unittest.expect(o.obsolete, unittest.equals('foo')); | 928 unittest.expect(o.obsolete, unittest.equals('foo')); |
883 unittest.expect(o.replacement, unittest.equals('foo')); | 929 unittest.expect(o.replacement, unittest.equals('foo')); |
884 unittest.expect(o.state, unittest.equals('foo')); | 930 unittest.expect(o.state, unittest.equals('foo')); |
885 } | 931 } |
886 buildCounterDeprecationStatus--; | 932 buildCounterDeprecationStatus--; |
887 } | 933 } |
888 | 934 |
889 buildUnnamed686() { | 935 buildUnnamed2265() { |
890 var o = new core.List<core.String>(); | 936 var o = new core.List<core.String>(); |
891 o.add("foo"); | 937 o.add("foo"); |
892 o.add("foo"); | 938 o.add("foo"); |
893 return o; | 939 return o; |
894 } | 940 } |
895 | 941 |
896 checkUnnamed686(core.List<core.String> o) { | 942 checkUnnamed2265(core.List<core.String> o) { |
897 unittest.expect(o, unittest.hasLength(2)); | 943 unittest.expect(o, unittest.hasLength(2)); |
898 unittest.expect(o[0], unittest.equals('foo')); | 944 unittest.expect(o[0], unittest.equals('foo')); |
899 unittest.expect(o[1], unittest.equals('foo')); | 945 unittest.expect(o[1], unittest.equals('foo')); |
900 } | 946 } |
901 | 947 |
902 buildUnnamed687() { | 948 buildUnnamed2266() { |
903 var o = new core.List<core.String>(); | 949 var o = new core.List<core.String>(); |
904 o.add("foo"); | 950 o.add("foo"); |
905 o.add("foo"); | 951 o.add("foo"); |
906 return o; | 952 return o; |
907 } | 953 } |
908 | 954 |
909 checkUnnamed687(core.List<core.String> o) { | 955 checkUnnamed2266(core.List<core.String> o) { |
910 unittest.expect(o, unittest.hasLength(2)); | 956 unittest.expect(o, unittest.hasLength(2)); |
911 unittest.expect(o[0], unittest.equals('foo')); | 957 unittest.expect(o[0], unittest.equals('foo')); |
912 unittest.expect(o[1], unittest.equals('foo')); | 958 unittest.expect(o[1], unittest.equals('foo')); |
913 } | 959 } |
914 | 960 |
915 core.int buildCounterDisk = 0; | 961 core.int buildCounterDisk = 0; |
916 buildDisk() { | 962 buildDisk() { |
917 var o = new api.Disk(); | 963 var o = new api.Disk(); |
918 buildCounterDisk++; | 964 buildCounterDisk++; |
919 if (buildCounterDisk < 3) { | 965 if (buildCounterDisk < 3) { |
920 o.creationTimestamp = "foo"; | 966 o.creationTimestamp = "foo"; |
921 o.description = "foo"; | 967 o.description = "foo"; |
| 968 o.diskEncryptionKey = buildCustomerEncryptionKey(); |
922 o.id = "foo"; | 969 o.id = "foo"; |
923 o.kind = "foo"; | 970 o.kind = "foo"; |
924 o.lastAttachTimestamp = "foo"; | 971 o.lastAttachTimestamp = "foo"; |
925 o.lastDetachTimestamp = "foo"; | 972 o.lastDetachTimestamp = "foo"; |
926 o.licenses = buildUnnamed686(); | 973 o.licenses = buildUnnamed2265(); |
927 o.name = "foo"; | 974 o.name = "foo"; |
928 o.options = "foo"; | 975 o.options = "foo"; |
929 o.selfLink = "foo"; | 976 o.selfLink = "foo"; |
930 o.sizeGb = "foo"; | 977 o.sizeGb = "foo"; |
931 o.sourceImage = "foo"; | 978 o.sourceImage = "foo"; |
| 979 o.sourceImageEncryptionKey = buildCustomerEncryptionKey(); |
932 o.sourceImageId = "foo"; | 980 o.sourceImageId = "foo"; |
933 o.sourceSnapshot = "foo"; | 981 o.sourceSnapshot = "foo"; |
| 982 o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey(); |
934 o.sourceSnapshotId = "foo"; | 983 o.sourceSnapshotId = "foo"; |
935 o.status = "foo"; | 984 o.status = "foo"; |
936 o.type = "foo"; | 985 o.type = "foo"; |
937 o.users = buildUnnamed687(); | 986 o.users = buildUnnamed2266(); |
938 o.zone = "foo"; | 987 o.zone = "foo"; |
939 } | 988 } |
940 buildCounterDisk--; | 989 buildCounterDisk--; |
941 return o; | 990 return o; |
942 } | 991 } |
943 | 992 |
944 checkDisk(api.Disk o) { | 993 checkDisk(api.Disk o) { |
945 buildCounterDisk++; | 994 buildCounterDisk++; |
946 if (buildCounterDisk < 3) { | 995 if (buildCounterDisk < 3) { |
947 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 996 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
948 unittest.expect(o.description, unittest.equals('foo')); | 997 unittest.expect(o.description, unittest.equals('foo')); |
| 998 checkCustomerEncryptionKey(o.diskEncryptionKey); |
949 unittest.expect(o.id, unittest.equals('foo')); | 999 unittest.expect(o.id, unittest.equals('foo')); |
950 unittest.expect(o.kind, unittest.equals('foo')); | 1000 unittest.expect(o.kind, unittest.equals('foo')); |
951 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); | 1001 unittest.expect(o.lastAttachTimestamp, unittest.equals('foo')); |
952 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); | 1002 unittest.expect(o.lastDetachTimestamp, unittest.equals('foo')); |
953 checkUnnamed686(o.licenses); | 1003 checkUnnamed2265(o.licenses); |
954 unittest.expect(o.name, unittest.equals('foo')); | 1004 unittest.expect(o.name, unittest.equals('foo')); |
955 unittest.expect(o.options, unittest.equals('foo')); | 1005 unittest.expect(o.options, unittest.equals('foo')); |
956 unittest.expect(o.selfLink, unittest.equals('foo')); | 1006 unittest.expect(o.selfLink, unittest.equals('foo')); |
957 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1007 unittest.expect(o.sizeGb, unittest.equals('foo')); |
958 unittest.expect(o.sourceImage, unittest.equals('foo')); | 1008 unittest.expect(o.sourceImage, unittest.equals('foo')); |
| 1009 checkCustomerEncryptionKey(o.sourceImageEncryptionKey); |
959 unittest.expect(o.sourceImageId, unittest.equals('foo')); | 1010 unittest.expect(o.sourceImageId, unittest.equals('foo')); |
960 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); | 1011 unittest.expect(o.sourceSnapshot, unittest.equals('foo')); |
| 1012 checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey); |
961 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); | 1013 unittest.expect(o.sourceSnapshotId, unittest.equals('foo')); |
962 unittest.expect(o.status, unittest.equals('foo')); | 1014 unittest.expect(o.status, unittest.equals('foo')); |
963 unittest.expect(o.type, unittest.equals('foo')); | 1015 unittest.expect(o.type, unittest.equals('foo')); |
964 checkUnnamed687(o.users); | 1016 checkUnnamed2266(o.users); |
965 unittest.expect(o.zone, unittest.equals('foo')); | 1017 unittest.expect(o.zone, unittest.equals('foo')); |
966 } | 1018 } |
967 buildCounterDisk--; | 1019 buildCounterDisk--; |
968 } | 1020 } |
969 | 1021 |
970 buildUnnamed688() { | 1022 buildUnnamed2267() { |
971 var o = new core.Map<core.String, api.DisksScopedList>(); | 1023 var o = new core.Map<core.String, api.DisksScopedList>(); |
972 o["x"] = buildDisksScopedList(); | 1024 o["x"] = buildDisksScopedList(); |
973 o["y"] = buildDisksScopedList(); | 1025 o["y"] = buildDisksScopedList(); |
974 return o; | 1026 return o; |
975 } | 1027 } |
976 | 1028 |
977 checkUnnamed688(core.Map<core.String, api.DisksScopedList> o) { | 1029 checkUnnamed2267(core.Map<core.String, api.DisksScopedList> o) { |
978 unittest.expect(o, unittest.hasLength(2)); | 1030 unittest.expect(o, unittest.hasLength(2)); |
979 checkDisksScopedList(o["x"]); | 1031 checkDisksScopedList(o["x"]); |
980 checkDisksScopedList(o["y"]); | 1032 checkDisksScopedList(o["y"]); |
981 } | 1033 } |
982 | 1034 |
983 core.int buildCounterDiskAggregatedList = 0; | 1035 core.int buildCounterDiskAggregatedList = 0; |
984 buildDiskAggregatedList() { | 1036 buildDiskAggregatedList() { |
985 var o = new api.DiskAggregatedList(); | 1037 var o = new api.DiskAggregatedList(); |
986 buildCounterDiskAggregatedList++; | 1038 buildCounterDiskAggregatedList++; |
987 if (buildCounterDiskAggregatedList < 3) { | 1039 if (buildCounterDiskAggregatedList < 3) { |
988 o.id = "foo"; | 1040 o.id = "foo"; |
989 o.items = buildUnnamed688(); | 1041 o.items = buildUnnamed2267(); |
990 o.kind = "foo"; | 1042 o.kind = "foo"; |
991 o.nextPageToken = "foo"; | 1043 o.nextPageToken = "foo"; |
992 o.selfLink = "foo"; | 1044 o.selfLink = "foo"; |
993 } | 1045 } |
994 buildCounterDiskAggregatedList--; | 1046 buildCounterDiskAggregatedList--; |
995 return o; | 1047 return o; |
996 } | 1048 } |
997 | 1049 |
998 checkDiskAggregatedList(api.DiskAggregatedList o) { | 1050 checkDiskAggregatedList(api.DiskAggregatedList o) { |
999 buildCounterDiskAggregatedList++; | 1051 buildCounterDiskAggregatedList++; |
1000 if (buildCounterDiskAggregatedList < 3) { | 1052 if (buildCounterDiskAggregatedList < 3) { |
1001 unittest.expect(o.id, unittest.equals('foo')); | 1053 unittest.expect(o.id, unittest.equals('foo')); |
1002 checkUnnamed688(o.items); | 1054 checkUnnamed2267(o.items); |
1003 unittest.expect(o.kind, unittest.equals('foo')); | 1055 unittest.expect(o.kind, unittest.equals('foo')); |
1004 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1056 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1005 unittest.expect(o.selfLink, unittest.equals('foo')); | 1057 unittest.expect(o.selfLink, unittest.equals('foo')); |
1006 } | 1058 } |
1007 buildCounterDiskAggregatedList--; | 1059 buildCounterDiskAggregatedList--; |
1008 } | 1060 } |
1009 | 1061 |
1010 buildUnnamed689() { | 1062 buildUnnamed2268() { |
1011 var o = new core.List<api.Disk>(); | 1063 var o = new core.List<api.Disk>(); |
1012 o.add(buildDisk()); | 1064 o.add(buildDisk()); |
1013 o.add(buildDisk()); | 1065 o.add(buildDisk()); |
1014 return o; | 1066 return o; |
1015 } | 1067 } |
1016 | 1068 |
1017 checkUnnamed689(core.List<api.Disk> o) { | 1069 checkUnnamed2268(core.List<api.Disk> o) { |
1018 unittest.expect(o, unittest.hasLength(2)); | 1070 unittest.expect(o, unittest.hasLength(2)); |
1019 checkDisk(o[0]); | 1071 checkDisk(o[0]); |
1020 checkDisk(o[1]); | 1072 checkDisk(o[1]); |
1021 } | 1073 } |
1022 | 1074 |
1023 core.int buildCounterDiskList = 0; | 1075 core.int buildCounterDiskList = 0; |
1024 buildDiskList() { | 1076 buildDiskList() { |
1025 var o = new api.DiskList(); | 1077 var o = new api.DiskList(); |
1026 buildCounterDiskList++; | 1078 buildCounterDiskList++; |
1027 if (buildCounterDiskList < 3) { | 1079 if (buildCounterDiskList < 3) { |
1028 o.id = "foo"; | 1080 o.id = "foo"; |
1029 o.items = buildUnnamed689(); | 1081 o.items = buildUnnamed2268(); |
1030 o.kind = "foo"; | 1082 o.kind = "foo"; |
1031 o.nextPageToken = "foo"; | 1083 o.nextPageToken = "foo"; |
1032 o.selfLink = "foo"; | 1084 o.selfLink = "foo"; |
1033 } | 1085 } |
1034 buildCounterDiskList--; | 1086 buildCounterDiskList--; |
1035 return o; | 1087 return o; |
1036 } | 1088 } |
1037 | 1089 |
1038 checkDiskList(api.DiskList o) { | 1090 checkDiskList(api.DiskList o) { |
1039 buildCounterDiskList++; | 1091 buildCounterDiskList++; |
1040 if (buildCounterDiskList < 3) { | 1092 if (buildCounterDiskList < 3) { |
1041 unittest.expect(o.id, unittest.equals('foo')); | 1093 unittest.expect(o.id, unittest.equals('foo')); |
1042 checkUnnamed689(o.items); | 1094 checkUnnamed2268(o.items); |
1043 unittest.expect(o.kind, unittest.equals('foo')); | 1095 unittest.expect(o.kind, unittest.equals('foo')); |
1044 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1096 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1045 unittest.expect(o.selfLink, unittest.equals('foo')); | 1097 unittest.expect(o.selfLink, unittest.equals('foo')); |
1046 } | 1098 } |
1047 buildCounterDiskList--; | 1099 buildCounterDiskList--; |
1048 } | 1100 } |
1049 | 1101 |
1050 core.int buildCounterDiskMoveRequest = 0; | 1102 core.int buildCounterDiskMoveRequest = 0; |
1051 buildDiskMoveRequest() { | 1103 buildDiskMoveRequest() { |
1052 var o = new api.DiskMoveRequest(); | 1104 var o = new api.DiskMoveRequest(); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 unittest.expect(o.id, unittest.equals('foo')); | 1150 unittest.expect(o.id, unittest.equals('foo')); |
1099 unittest.expect(o.kind, unittest.equals('foo')); | 1151 unittest.expect(o.kind, unittest.equals('foo')); |
1100 unittest.expect(o.name, unittest.equals('foo')); | 1152 unittest.expect(o.name, unittest.equals('foo')); |
1101 unittest.expect(o.selfLink, unittest.equals('foo')); | 1153 unittest.expect(o.selfLink, unittest.equals('foo')); |
1102 unittest.expect(o.validDiskSize, unittest.equals('foo')); | 1154 unittest.expect(o.validDiskSize, unittest.equals('foo')); |
1103 unittest.expect(o.zone, unittest.equals('foo')); | 1155 unittest.expect(o.zone, unittest.equals('foo')); |
1104 } | 1156 } |
1105 buildCounterDiskType--; | 1157 buildCounterDiskType--; |
1106 } | 1158 } |
1107 | 1159 |
1108 buildUnnamed690() { | 1160 buildUnnamed2269() { |
1109 var o = new core.Map<core.String, api.DiskTypesScopedList>(); | 1161 var o = new core.Map<core.String, api.DiskTypesScopedList>(); |
1110 o["x"] = buildDiskTypesScopedList(); | 1162 o["x"] = buildDiskTypesScopedList(); |
1111 o["y"] = buildDiskTypesScopedList(); | 1163 o["y"] = buildDiskTypesScopedList(); |
1112 return o; | 1164 return o; |
1113 } | 1165 } |
1114 | 1166 |
1115 checkUnnamed690(core.Map<core.String, api.DiskTypesScopedList> o) { | 1167 checkUnnamed2269(core.Map<core.String, api.DiskTypesScopedList> o) { |
1116 unittest.expect(o, unittest.hasLength(2)); | 1168 unittest.expect(o, unittest.hasLength(2)); |
1117 checkDiskTypesScopedList(o["x"]); | 1169 checkDiskTypesScopedList(o["x"]); |
1118 checkDiskTypesScopedList(o["y"]); | 1170 checkDiskTypesScopedList(o["y"]); |
1119 } | 1171 } |
1120 | 1172 |
1121 core.int buildCounterDiskTypeAggregatedList = 0; | 1173 core.int buildCounterDiskTypeAggregatedList = 0; |
1122 buildDiskTypeAggregatedList() { | 1174 buildDiskTypeAggregatedList() { |
1123 var o = new api.DiskTypeAggregatedList(); | 1175 var o = new api.DiskTypeAggregatedList(); |
1124 buildCounterDiskTypeAggregatedList++; | 1176 buildCounterDiskTypeAggregatedList++; |
1125 if (buildCounterDiskTypeAggregatedList < 3) { | 1177 if (buildCounterDiskTypeAggregatedList < 3) { |
1126 o.id = "foo"; | 1178 o.id = "foo"; |
1127 o.items = buildUnnamed690(); | 1179 o.items = buildUnnamed2269(); |
1128 o.kind = "foo"; | 1180 o.kind = "foo"; |
1129 o.nextPageToken = "foo"; | 1181 o.nextPageToken = "foo"; |
1130 o.selfLink = "foo"; | 1182 o.selfLink = "foo"; |
1131 } | 1183 } |
1132 buildCounterDiskTypeAggregatedList--; | 1184 buildCounterDiskTypeAggregatedList--; |
1133 return o; | 1185 return o; |
1134 } | 1186 } |
1135 | 1187 |
1136 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { | 1188 checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) { |
1137 buildCounterDiskTypeAggregatedList++; | 1189 buildCounterDiskTypeAggregatedList++; |
1138 if (buildCounterDiskTypeAggregatedList < 3) { | 1190 if (buildCounterDiskTypeAggregatedList < 3) { |
1139 unittest.expect(o.id, unittest.equals('foo')); | 1191 unittest.expect(o.id, unittest.equals('foo')); |
1140 checkUnnamed690(o.items); | 1192 checkUnnamed2269(o.items); |
1141 unittest.expect(o.kind, unittest.equals('foo')); | 1193 unittest.expect(o.kind, unittest.equals('foo')); |
1142 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1194 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1143 unittest.expect(o.selfLink, unittest.equals('foo')); | 1195 unittest.expect(o.selfLink, unittest.equals('foo')); |
1144 } | 1196 } |
1145 buildCounterDiskTypeAggregatedList--; | 1197 buildCounterDiskTypeAggregatedList--; |
1146 } | 1198 } |
1147 | 1199 |
1148 buildUnnamed691() { | 1200 buildUnnamed2270() { |
1149 var o = new core.List<api.DiskType>(); | 1201 var o = new core.List<api.DiskType>(); |
1150 o.add(buildDiskType()); | 1202 o.add(buildDiskType()); |
1151 o.add(buildDiskType()); | 1203 o.add(buildDiskType()); |
1152 return o; | 1204 return o; |
1153 } | 1205 } |
1154 | 1206 |
1155 checkUnnamed691(core.List<api.DiskType> o) { | 1207 checkUnnamed2270(core.List<api.DiskType> o) { |
1156 unittest.expect(o, unittest.hasLength(2)); | 1208 unittest.expect(o, unittest.hasLength(2)); |
1157 checkDiskType(o[0]); | 1209 checkDiskType(o[0]); |
1158 checkDiskType(o[1]); | 1210 checkDiskType(o[1]); |
1159 } | 1211 } |
1160 | 1212 |
1161 core.int buildCounterDiskTypeList = 0; | 1213 core.int buildCounterDiskTypeList = 0; |
1162 buildDiskTypeList() { | 1214 buildDiskTypeList() { |
1163 var o = new api.DiskTypeList(); | 1215 var o = new api.DiskTypeList(); |
1164 buildCounterDiskTypeList++; | 1216 buildCounterDiskTypeList++; |
1165 if (buildCounterDiskTypeList < 3) { | 1217 if (buildCounterDiskTypeList < 3) { |
1166 o.id = "foo"; | 1218 o.id = "foo"; |
1167 o.items = buildUnnamed691(); | 1219 o.items = buildUnnamed2270(); |
1168 o.kind = "foo"; | 1220 o.kind = "foo"; |
1169 o.nextPageToken = "foo"; | 1221 o.nextPageToken = "foo"; |
1170 o.selfLink = "foo"; | 1222 o.selfLink = "foo"; |
1171 } | 1223 } |
1172 buildCounterDiskTypeList--; | 1224 buildCounterDiskTypeList--; |
1173 return o; | 1225 return o; |
1174 } | 1226 } |
1175 | 1227 |
1176 checkDiskTypeList(api.DiskTypeList o) { | 1228 checkDiskTypeList(api.DiskTypeList o) { |
1177 buildCounterDiskTypeList++; | 1229 buildCounterDiskTypeList++; |
1178 if (buildCounterDiskTypeList < 3) { | 1230 if (buildCounterDiskTypeList < 3) { |
1179 unittest.expect(o.id, unittest.equals('foo')); | 1231 unittest.expect(o.id, unittest.equals('foo')); |
1180 checkUnnamed691(o.items); | 1232 checkUnnamed2270(o.items); |
1181 unittest.expect(o.kind, unittest.equals('foo')); | 1233 unittest.expect(o.kind, unittest.equals('foo')); |
1182 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1234 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1183 unittest.expect(o.selfLink, unittest.equals('foo')); | 1235 unittest.expect(o.selfLink, unittest.equals('foo')); |
1184 } | 1236 } |
1185 buildCounterDiskTypeList--; | 1237 buildCounterDiskTypeList--; |
1186 } | 1238 } |
1187 | 1239 |
1188 buildUnnamed692() { | 1240 buildUnnamed2271() { |
1189 var o = new core.List<api.DiskType>(); | 1241 var o = new core.List<api.DiskType>(); |
1190 o.add(buildDiskType()); | 1242 o.add(buildDiskType()); |
1191 o.add(buildDiskType()); | 1243 o.add(buildDiskType()); |
1192 return o; | 1244 return o; |
1193 } | 1245 } |
1194 | 1246 |
1195 checkUnnamed692(core.List<api.DiskType> o) { | 1247 checkUnnamed2271(core.List<api.DiskType> o) { |
1196 unittest.expect(o, unittest.hasLength(2)); | 1248 unittest.expect(o, unittest.hasLength(2)); |
1197 checkDiskType(o[0]); | 1249 checkDiskType(o[0]); |
1198 checkDiskType(o[1]); | 1250 checkDiskType(o[1]); |
1199 } | 1251 } |
1200 | 1252 |
1201 core.int buildCounterDiskTypesScopedListWarningData = 0; | 1253 core.int buildCounterDiskTypesScopedListWarningData = 0; |
1202 buildDiskTypesScopedListWarningData() { | 1254 buildDiskTypesScopedListWarningData() { |
1203 var o = new api.DiskTypesScopedListWarningData(); | 1255 var o = new api.DiskTypesScopedListWarningData(); |
1204 buildCounterDiskTypesScopedListWarningData++; | 1256 buildCounterDiskTypesScopedListWarningData++; |
1205 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1257 if (buildCounterDiskTypesScopedListWarningData < 3) { |
1206 o.key = "foo"; | 1258 o.key = "foo"; |
1207 o.value = "foo"; | 1259 o.value = "foo"; |
1208 } | 1260 } |
1209 buildCounterDiskTypesScopedListWarningData--; | 1261 buildCounterDiskTypesScopedListWarningData--; |
1210 return o; | 1262 return o; |
1211 } | 1263 } |
1212 | 1264 |
1213 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { | 1265 checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) { |
1214 buildCounterDiskTypesScopedListWarningData++; | 1266 buildCounterDiskTypesScopedListWarningData++; |
1215 if (buildCounterDiskTypesScopedListWarningData < 3) { | 1267 if (buildCounterDiskTypesScopedListWarningData < 3) { |
1216 unittest.expect(o.key, unittest.equals('foo')); | 1268 unittest.expect(o.key, unittest.equals('foo')); |
1217 unittest.expect(o.value, unittest.equals('foo')); | 1269 unittest.expect(o.value, unittest.equals('foo')); |
1218 } | 1270 } |
1219 buildCounterDiskTypesScopedListWarningData--; | 1271 buildCounterDiskTypesScopedListWarningData--; |
1220 } | 1272 } |
1221 | 1273 |
1222 buildUnnamed693() { | 1274 buildUnnamed2272() { |
1223 var o = new core.List<api.DiskTypesScopedListWarningData>(); | 1275 var o = new core.List<api.DiskTypesScopedListWarningData>(); |
1224 o.add(buildDiskTypesScopedListWarningData()); | 1276 o.add(buildDiskTypesScopedListWarningData()); |
1225 o.add(buildDiskTypesScopedListWarningData()); | 1277 o.add(buildDiskTypesScopedListWarningData()); |
1226 return o; | 1278 return o; |
1227 } | 1279 } |
1228 | 1280 |
1229 checkUnnamed693(core.List<api.DiskTypesScopedListWarningData> o) { | 1281 checkUnnamed2272(core.List<api.DiskTypesScopedListWarningData> o) { |
1230 unittest.expect(o, unittest.hasLength(2)); | 1282 unittest.expect(o, unittest.hasLength(2)); |
1231 checkDiskTypesScopedListWarningData(o[0]); | 1283 checkDiskTypesScopedListWarningData(o[0]); |
1232 checkDiskTypesScopedListWarningData(o[1]); | 1284 checkDiskTypesScopedListWarningData(o[1]); |
1233 } | 1285 } |
1234 | 1286 |
1235 core.int buildCounterDiskTypesScopedListWarning = 0; | 1287 core.int buildCounterDiskTypesScopedListWarning = 0; |
1236 buildDiskTypesScopedListWarning() { | 1288 buildDiskTypesScopedListWarning() { |
1237 var o = new api.DiskTypesScopedListWarning(); | 1289 var o = new api.DiskTypesScopedListWarning(); |
1238 buildCounterDiskTypesScopedListWarning++; | 1290 buildCounterDiskTypesScopedListWarning++; |
1239 if (buildCounterDiskTypesScopedListWarning < 3) { | 1291 if (buildCounterDiskTypesScopedListWarning < 3) { |
1240 o.code = "foo"; | 1292 o.code = "foo"; |
1241 o.data = buildUnnamed693(); | 1293 o.data = buildUnnamed2272(); |
1242 o.message = "foo"; | 1294 o.message = "foo"; |
1243 } | 1295 } |
1244 buildCounterDiskTypesScopedListWarning--; | 1296 buildCounterDiskTypesScopedListWarning--; |
1245 return o; | 1297 return o; |
1246 } | 1298 } |
1247 | 1299 |
1248 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { | 1300 checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) { |
1249 buildCounterDiskTypesScopedListWarning++; | 1301 buildCounterDiskTypesScopedListWarning++; |
1250 if (buildCounterDiskTypesScopedListWarning < 3) { | 1302 if (buildCounterDiskTypesScopedListWarning < 3) { |
1251 unittest.expect(o.code, unittest.equals('foo')); | 1303 unittest.expect(o.code, unittest.equals('foo')); |
1252 checkUnnamed693(o.data); | 1304 checkUnnamed2272(o.data); |
1253 unittest.expect(o.message, unittest.equals('foo')); | 1305 unittest.expect(o.message, unittest.equals('foo')); |
1254 } | 1306 } |
1255 buildCounterDiskTypesScopedListWarning--; | 1307 buildCounterDiskTypesScopedListWarning--; |
1256 } | 1308 } |
1257 | 1309 |
1258 core.int buildCounterDiskTypesScopedList = 0; | 1310 core.int buildCounterDiskTypesScopedList = 0; |
1259 buildDiskTypesScopedList() { | 1311 buildDiskTypesScopedList() { |
1260 var o = new api.DiskTypesScopedList(); | 1312 var o = new api.DiskTypesScopedList(); |
1261 buildCounterDiskTypesScopedList++; | 1313 buildCounterDiskTypesScopedList++; |
1262 if (buildCounterDiskTypesScopedList < 3) { | 1314 if (buildCounterDiskTypesScopedList < 3) { |
1263 o.diskTypes = buildUnnamed692(); | 1315 o.diskTypes = buildUnnamed2271(); |
1264 o.warning = buildDiskTypesScopedListWarning(); | 1316 o.warning = buildDiskTypesScopedListWarning(); |
1265 } | 1317 } |
1266 buildCounterDiskTypesScopedList--; | 1318 buildCounterDiskTypesScopedList--; |
1267 return o; | 1319 return o; |
1268 } | 1320 } |
1269 | 1321 |
1270 checkDiskTypesScopedList(api.DiskTypesScopedList o) { | 1322 checkDiskTypesScopedList(api.DiskTypesScopedList o) { |
1271 buildCounterDiskTypesScopedList++; | 1323 buildCounterDiskTypesScopedList++; |
1272 if (buildCounterDiskTypesScopedList < 3) { | 1324 if (buildCounterDiskTypesScopedList < 3) { |
1273 checkUnnamed692(o.diskTypes); | 1325 checkUnnamed2271(o.diskTypes); |
1274 checkDiskTypesScopedListWarning(o.warning); | 1326 checkDiskTypesScopedListWarning(o.warning); |
1275 } | 1327 } |
1276 buildCounterDiskTypesScopedList--; | 1328 buildCounterDiskTypesScopedList--; |
1277 } | 1329 } |
1278 | 1330 |
1279 core.int buildCounterDisksResizeRequest = 0; | 1331 core.int buildCounterDisksResizeRequest = 0; |
1280 buildDisksResizeRequest() { | 1332 buildDisksResizeRequest() { |
1281 var o = new api.DisksResizeRequest(); | 1333 var o = new api.DisksResizeRequest(); |
1282 buildCounterDisksResizeRequest++; | 1334 buildCounterDisksResizeRequest++; |
1283 if (buildCounterDisksResizeRequest < 3) { | 1335 if (buildCounterDisksResizeRequest < 3) { |
1284 o.sizeGb = "foo"; | 1336 o.sizeGb = "foo"; |
1285 } | 1337 } |
1286 buildCounterDisksResizeRequest--; | 1338 buildCounterDisksResizeRequest--; |
1287 return o; | 1339 return o; |
1288 } | 1340 } |
1289 | 1341 |
1290 checkDisksResizeRequest(api.DisksResizeRequest o) { | 1342 checkDisksResizeRequest(api.DisksResizeRequest o) { |
1291 buildCounterDisksResizeRequest++; | 1343 buildCounterDisksResizeRequest++; |
1292 if (buildCounterDisksResizeRequest < 3) { | 1344 if (buildCounterDisksResizeRequest < 3) { |
1293 unittest.expect(o.sizeGb, unittest.equals('foo')); | 1345 unittest.expect(o.sizeGb, unittest.equals('foo')); |
1294 } | 1346 } |
1295 buildCounterDisksResizeRequest--; | 1347 buildCounterDisksResizeRequest--; |
1296 } | 1348 } |
1297 | 1349 |
1298 buildUnnamed694() { | 1350 buildUnnamed2273() { |
1299 var o = new core.List<api.Disk>(); | 1351 var o = new core.List<api.Disk>(); |
1300 o.add(buildDisk()); | 1352 o.add(buildDisk()); |
1301 o.add(buildDisk()); | 1353 o.add(buildDisk()); |
1302 return o; | 1354 return o; |
1303 } | 1355 } |
1304 | 1356 |
1305 checkUnnamed694(core.List<api.Disk> o) { | 1357 checkUnnamed2273(core.List<api.Disk> o) { |
1306 unittest.expect(o, unittest.hasLength(2)); | 1358 unittest.expect(o, unittest.hasLength(2)); |
1307 checkDisk(o[0]); | 1359 checkDisk(o[0]); |
1308 checkDisk(o[1]); | 1360 checkDisk(o[1]); |
1309 } | 1361 } |
1310 | 1362 |
1311 core.int buildCounterDisksScopedListWarningData = 0; | 1363 core.int buildCounterDisksScopedListWarningData = 0; |
1312 buildDisksScopedListWarningData() { | 1364 buildDisksScopedListWarningData() { |
1313 var o = new api.DisksScopedListWarningData(); | 1365 var o = new api.DisksScopedListWarningData(); |
1314 buildCounterDisksScopedListWarningData++; | 1366 buildCounterDisksScopedListWarningData++; |
1315 if (buildCounterDisksScopedListWarningData < 3) { | 1367 if (buildCounterDisksScopedListWarningData < 3) { |
1316 o.key = "foo"; | 1368 o.key = "foo"; |
1317 o.value = "foo"; | 1369 o.value = "foo"; |
1318 } | 1370 } |
1319 buildCounterDisksScopedListWarningData--; | 1371 buildCounterDisksScopedListWarningData--; |
1320 return o; | 1372 return o; |
1321 } | 1373 } |
1322 | 1374 |
1323 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { | 1375 checkDisksScopedListWarningData(api.DisksScopedListWarningData o) { |
1324 buildCounterDisksScopedListWarningData++; | 1376 buildCounterDisksScopedListWarningData++; |
1325 if (buildCounterDisksScopedListWarningData < 3) { | 1377 if (buildCounterDisksScopedListWarningData < 3) { |
1326 unittest.expect(o.key, unittest.equals('foo')); | 1378 unittest.expect(o.key, unittest.equals('foo')); |
1327 unittest.expect(o.value, unittest.equals('foo')); | 1379 unittest.expect(o.value, unittest.equals('foo')); |
1328 } | 1380 } |
1329 buildCounterDisksScopedListWarningData--; | 1381 buildCounterDisksScopedListWarningData--; |
1330 } | 1382 } |
1331 | 1383 |
1332 buildUnnamed695() { | 1384 buildUnnamed2274() { |
1333 var o = new core.List<api.DisksScopedListWarningData>(); | 1385 var o = new core.List<api.DisksScopedListWarningData>(); |
1334 o.add(buildDisksScopedListWarningData()); | 1386 o.add(buildDisksScopedListWarningData()); |
1335 o.add(buildDisksScopedListWarningData()); | 1387 o.add(buildDisksScopedListWarningData()); |
1336 return o; | 1388 return o; |
1337 } | 1389 } |
1338 | 1390 |
1339 checkUnnamed695(core.List<api.DisksScopedListWarningData> o) { | 1391 checkUnnamed2274(core.List<api.DisksScopedListWarningData> o) { |
1340 unittest.expect(o, unittest.hasLength(2)); | 1392 unittest.expect(o, unittest.hasLength(2)); |
1341 checkDisksScopedListWarningData(o[0]); | 1393 checkDisksScopedListWarningData(o[0]); |
1342 checkDisksScopedListWarningData(o[1]); | 1394 checkDisksScopedListWarningData(o[1]); |
1343 } | 1395 } |
1344 | 1396 |
1345 core.int buildCounterDisksScopedListWarning = 0; | 1397 core.int buildCounterDisksScopedListWarning = 0; |
1346 buildDisksScopedListWarning() { | 1398 buildDisksScopedListWarning() { |
1347 var o = new api.DisksScopedListWarning(); | 1399 var o = new api.DisksScopedListWarning(); |
1348 buildCounterDisksScopedListWarning++; | 1400 buildCounterDisksScopedListWarning++; |
1349 if (buildCounterDisksScopedListWarning < 3) { | 1401 if (buildCounterDisksScopedListWarning < 3) { |
1350 o.code = "foo"; | 1402 o.code = "foo"; |
1351 o.data = buildUnnamed695(); | 1403 o.data = buildUnnamed2274(); |
1352 o.message = "foo"; | 1404 o.message = "foo"; |
1353 } | 1405 } |
1354 buildCounterDisksScopedListWarning--; | 1406 buildCounterDisksScopedListWarning--; |
1355 return o; | 1407 return o; |
1356 } | 1408 } |
1357 | 1409 |
1358 checkDisksScopedListWarning(api.DisksScopedListWarning o) { | 1410 checkDisksScopedListWarning(api.DisksScopedListWarning o) { |
1359 buildCounterDisksScopedListWarning++; | 1411 buildCounterDisksScopedListWarning++; |
1360 if (buildCounterDisksScopedListWarning < 3) { | 1412 if (buildCounterDisksScopedListWarning < 3) { |
1361 unittest.expect(o.code, unittest.equals('foo')); | 1413 unittest.expect(o.code, unittest.equals('foo')); |
1362 checkUnnamed695(o.data); | 1414 checkUnnamed2274(o.data); |
1363 unittest.expect(o.message, unittest.equals('foo')); | 1415 unittest.expect(o.message, unittest.equals('foo')); |
1364 } | 1416 } |
1365 buildCounterDisksScopedListWarning--; | 1417 buildCounterDisksScopedListWarning--; |
1366 } | 1418 } |
1367 | 1419 |
1368 core.int buildCounterDisksScopedList = 0; | 1420 core.int buildCounterDisksScopedList = 0; |
1369 buildDisksScopedList() { | 1421 buildDisksScopedList() { |
1370 var o = new api.DisksScopedList(); | 1422 var o = new api.DisksScopedList(); |
1371 buildCounterDisksScopedList++; | 1423 buildCounterDisksScopedList++; |
1372 if (buildCounterDisksScopedList < 3) { | 1424 if (buildCounterDisksScopedList < 3) { |
1373 o.disks = buildUnnamed694(); | 1425 o.disks = buildUnnamed2273(); |
1374 o.warning = buildDisksScopedListWarning(); | 1426 o.warning = buildDisksScopedListWarning(); |
1375 } | 1427 } |
1376 buildCounterDisksScopedList--; | 1428 buildCounterDisksScopedList--; |
1377 return o; | 1429 return o; |
1378 } | 1430 } |
1379 | 1431 |
1380 checkDisksScopedList(api.DisksScopedList o) { | 1432 checkDisksScopedList(api.DisksScopedList o) { |
1381 buildCounterDisksScopedList++; | 1433 buildCounterDisksScopedList++; |
1382 if (buildCounterDisksScopedList < 3) { | 1434 if (buildCounterDisksScopedList < 3) { |
1383 checkUnnamed694(o.disks); | 1435 checkUnnamed2273(o.disks); |
1384 checkDisksScopedListWarning(o.warning); | 1436 checkDisksScopedListWarning(o.warning); |
1385 } | 1437 } |
1386 buildCounterDisksScopedList--; | 1438 buildCounterDisksScopedList--; |
1387 } | 1439 } |
1388 | 1440 |
1389 buildUnnamed696() { | 1441 buildUnnamed2275() { |
1390 var o = new core.List<core.String>(); | 1442 var o = new core.List<core.String>(); |
1391 o.add("foo"); | 1443 o.add("foo"); |
1392 o.add("foo"); | 1444 o.add("foo"); |
1393 return o; | 1445 return o; |
1394 } | 1446 } |
1395 | 1447 |
1396 checkUnnamed696(core.List<core.String> o) { | 1448 checkUnnamed2275(core.List<core.String> o) { |
1397 unittest.expect(o, unittest.hasLength(2)); | 1449 unittest.expect(o, unittest.hasLength(2)); |
1398 unittest.expect(o[0], unittest.equals('foo')); | 1450 unittest.expect(o[0], unittest.equals('foo')); |
1399 unittest.expect(o[1], unittest.equals('foo')); | 1451 unittest.expect(o[1], unittest.equals('foo')); |
1400 } | 1452 } |
1401 | 1453 |
1402 core.int buildCounterFirewallAllowed = 0; | 1454 core.int buildCounterFirewallAllowed = 0; |
1403 buildFirewallAllowed() { | 1455 buildFirewallAllowed() { |
1404 var o = new api.FirewallAllowed(); | 1456 var o = new api.FirewallAllowed(); |
1405 buildCounterFirewallAllowed++; | 1457 buildCounterFirewallAllowed++; |
1406 if (buildCounterFirewallAllowed < 3) { | 1458 if (buildCounterFirewallAllowed < 3) { |
1407 o.IPProtocol = "foo"; | 1459 o.IPProtocol = "foo"; |
1408 o.ports = buildUnnamed696(); | 1460 o.ports = buildUnnamed2275(); |
1409 } | 1461 } |
1410 buildCounterFirewallAllowed--; | 1462 buildCounterFirewallAllowed--; |
1411 return o; | 1463 return o; |
1412 } | 1464 } |
1413 | 1465 |
1414 checkFirewallAllowed(api.FirewallAllowed o) { | 1466 checkFirewallAllowed(api.FirewallAllowed o) { |
1415 buildCounterFirewallAllowed++; | 1467 buildCounterFirewallAllowed++; |
1416 if (buildCounterFirewallAllowed < 3) { | 1468 if (buildCounterFirewallAllowed < 3) { |
1417 unittest.expect(o.IPProtocol, unittest.equals('foo')); | 1469 unittest.expect(o.IPProtocol, unittest.equals('foo')); |
1418 checkUnnamed696(o.ports); | 1470 checkUnnamed2275(o.ports); |
1419 } | 1471 } |
1420 buildCounterFirewallAllowed--; | 1472 buildCounterFirewallAllowed--; |
1421 } | 1473 } |
1422 | 1474 |
1423 buildUnnamed697() { | 1475 buildUnnamed2276() { |
1424 var o = new core.List<api.FirewallAllowed>(); | 1476 var o = new core.List<api.FirewallAllowed>(); |
1425 o.add(buildFirewallAllowed()); | 1477 o.add(buildFirewallAllowed()); |
1426 o.add(buildFirewallAllowed()); | 1478 o.add(buildFirewallAllowed()); |
1427 return o; | 1479 return o; |
1428 } | 1480 } |
1429 | 1481 |
1430 checkUnnamed697(core.List<api.FirewallAllowed> o) { | 1482 checkUnnamed2276(core.List<api.FirewallAllowed> o) { |
1431 unittest.expect(o, unittest.hasLength(2)); | 1483 unittest.expect(o, unittest.hasLength(2)); |
1432 checkFirewallAllowed(o[0]); | 1484 checkFirewallAllowed(o[0]); |
1433 checkFirewallAllowed(o[1]); | 1485 checkFirewallAllowed(o[1]); |
1434 } | 1486 } |
1435 | 1487 |
1436 buildUnnamed698() { | 1488 buildUnnamed2277() { |
1437 var o = new core.List<core.String>(); | 1489 var o = new core.List<core.String>(); |
1438 o.add("foo"); | 1490 o.add("foo"); |
1439 o.add("foo"); | 1491 o.add("foo"); |
1440 return o; | 1492 return o; |
1441 } | 1493 } |
1442 | 1494 |
1443 checkUnnamed698(core.List<core.String> o) { | 1495 checkUnnamed2277(core.List<core.String> o) { |
1444 unittest.expect(o, unittest.hasLength(2)); | 1496 unittest.expect(o, unittest.hasLength(2)); |
1445 unittest.expect(o[0], unittest.equals('foo')); | 1497 unittest.expect(o[0], unittest.equals('foo')); |
1446 unittest.expect(o[1], unittest.equals('foo')); | 1498 unittest.expect(o[1], unittest.equals('foo')); |
1447 } | 1499 } |
1448 | 1500 |
1449 buildUnnamed699() { | 1501 buildUnnamed2278() { |
1450 var o = new core.List<core.String>(); | 1502 var o = new core.List<core.String>(); |
1451 o.add("foo"); | 1503 o.add("foo"); |
1452 o.add("foo"); | 1504 o.add("foo"); |
1453 return o; | 1505 return o; |
1454 } | 1506 } |
1455 | 1507 |
1456 checkUnnamed699(core.List<core.String> o) { | 1508 checkUnnamed2278(core.List<core.String> o) { |
1457 unittest.expect(o, unittest.hasLength(2)); | 1509 unittest.expect(o, unittest.hasLength(2)); |
1458 unittest.expect(o[0], unittest.equals('foo')); | 1510 unittest.expect(o[0], unittest.equals('foo')); |
1459 unittest.expect(o[1], unittest.equals('foo')); | 1511 unittest.expect(o[1], unittest.equals('foo')); |
1460 } | 1512 } |
1461 | 1513 |
1462 buildUnnamed700() { | 1514 buildUnnamed2279() { |
1463 var o = new core.List<core.String>(); | 1515 var o = new core.List<core.String>(); |
1464 o.add("foo"); | 1516 o.add("foo"); |
1465 o.add("foo"); | 1517 o.add("foo"); |
1466 return o; | 1518 return o; |
1467 } | 1519 } |
1468 | 1520 |
1469 checkUnnamed700(core.List<core.String> o) { | 1521 checkUnnamed2279(core.List<core.String> o) { |
1470 unittest.expect(o, unittest.hasLength(2)); | 1522 unittest.expect(o, unittest.hasLength(2)); |
1471 unittest.expect(o[0], unittest.equals('foo')); | 1523 unittest.expect(o[0], unittest.equals('foo')); |
1472 unittest.expect(o[1], unittest.equals('foo')); | 1524 unittest.expect(o[1], unittest.equals('foo')); |
1473 } | 1525 } |
1474 | 1526 |
1475 core.int buildCounterFirewall = 0; | 1527 core.int buildCounterFirewall = 0; |
1476 buildFirewall() { | 1528 buildFirewall() { |
1477 var o = new api.Firewall(); | 1529 var o = new api.Firewall(); |
1478 buildCounterFirewall++; | 1530 buildCounterFirewall++; |
1479 if (buildCounterFirewall < 3) { | 1531 if (buildCounterFirewall < 3) { |
1480 o.allowed = buildUnnamed697(); | 1532 o.allowed = buildUnnamed2276(); |
1481 o.creationTimestamp = "foo"; | 1533 o.creationTimestamp = "foo"; |
1482 o.description = "foo"; | 1534 o.description = "foo"; |
1483 o.id = "foo"; | 1535 o.id = "foo"; |
1484 o.kind = "foo"; | 1536 o.kind = "foo"; |
1485 o.name = "foo"; | 1537 o.name = "foo"; |
1486 o.network = "foo"; | 1538 o.network = "foo"; |
1487 o.selfLink = "foo"; | 1539 o.selfLink = "foo"; |
1488 o.sourceRanges = buildUnnamed698(); | 1540 o.sourceRanges = buildUnnamed2277(); |
1489 o.sourceTags = buildUnnamed699(); | 1541 o.sourceTags = buildUnnamed2278(); |
1490 o.targetTags = buildUnnamed700(); | 1542 o.targetTags = buildUnnamed2279(); |
1491 } | 1543 } |
1492 buildCounterFirewall--; | 1544 buildCounterFirewall--; |
1493 return o; | 1545 return o; |
1494 } | 1546 } |
1495 | 1547 |
1496 checkFirewall(api.Firewall o) { | 1548 checkFirewall(api.Firewall o) { |
1497 buildCounterFirewall++; | 1549 buildCounterFirewall++; |
1498 if (buildCounterFirewall < 3) { | 1550 if (buildCounterFirewall < 3) { |
1499 checkUnnamed697(o.allowed); | 1551 checkUnnamed2276(o.allowed); |
1500 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 1552 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
1501 unittest.expect(o.description, unittest.equals('foo')); | 1553 unittest.expect(o.description, unittest.equals('foo')); |
1502 unittest.expect(o.id, unittest.equals('foo')); | 1554 unittest.expect(o.id, unittest.equals('foo')); |
1503 unittest.expect(o.kind, unittest.equals('foo')); | 1555 unittest.expect(o.kind, unittest.equals('foo')); |
1504 unittest.expect(o.name, unittest.equals('foo')); | 1556 unittest.expect(o.name, unittest.equals('foo')); |
1505 unittest.expect(o.network, unittest.equals('foo')); | 1557 unittest.expect(o.network, unittest.equals('foo')); |
1506 unittest.expect(o.selfLink, unittest.equals('foo')); | 1558 unittest.expect(o.selfLink, unittest.equals('foo')); |
1507 checkUnnamed698(o.sourceRanges); | 1559 checkUnnamed2277(o.sourceRanges); |
1508 checkUnnamed699(o.sourceTags); | 1560 checkUnnamed2278(o.sourceTags); |
1509 checkUnnamed700(o.targetTags); | 1561 checkUnnamed2279(o.targetTags); |
1510 } | 1562 } |
1511 buildCounterFirewall--; | 1563 buildCounterFirewall--; |
1512 } | 1564 } |
1513 | 1565 |
1514 buildUnnamed701() { | 1566 buildUnnamed2280() { |
1515 var o = new core.List<api.Firewall>(); | 1567 var o = new core.List<api.Firewall>(); |
1516 o.add(buildFirewall()); | 1568 o.add(buildFirewall()); |
1517 o.add(buildFirewall()); | 1569 o.add(buildFirewall()); |
1518 return o; | 1570 return o; |
1519 } | 1571 } |
1520 | 1572 |
1521 checkUnnamed701(core.List<api.Firewall> o) { | 1573 checkUnnamed2280(core.List<api.Firewall> o) { |
1522 unittest.expect(o, unittest.hasLength(2)); | 1574 unittest.expect(o, unittest.hasLength(2)); |
1523 checkFirewall(o[0]); | 1575 checkFirewall(o[0]); |
1524 checkFirewall(o[1]); | 1576 checkFirewall(o[1]); |
1525 } | 1577 } |
1526 | 1578 |
1527 core.int buildCounterFirewallList = 0; | 1579 core.int buildCounterFirewallList = 0; |
1528 buildFirewallList() { | 1580 buildFirewallList() { |
1529 var o = new api.FirewallList(); | 1581 var o = new api.FirewallList(); |
1530 buildCounterFirewallList++; | 1582 buildCounterFirewallList++; |
1531 if (buildCounterFirewallList < 3) { | 1583 if (buildCounterFirewallList < 3) { |
1532 o.id = "foo"; | 1584 o.id = "foo"; |
1533 o.items = buildUnnamed701(); | 1585 o.items = buildUnnamed2280(); |
1534 o.kind = "foo"; | 1586 o.kind = "foo"; |
1535 o.nextPageToken = "foo"; | 1587 o.nextPageToken = "foo"; |
1536 o.selfLink = "foo"; | 1588 o.selfLink = "foo"; |
1537 } | 1589 } |
1538 buildCounterFirewallList--; | 1590 buildCounterFirewallList--; |
1539 return o; | 1591 return o; |
1540 } | 1592 } |
1541 | 1593 |
1542 checkFirewallList(api.FirewallList o) { | 1594 checkFirewallList(api.FirewallList o) { |
1543 buildCounterFirewallList++; | 1595 buildCounterFirewallList++; |
1544 if (buildCounterFirewallList < 3) { | 1596 if (buildCounterFirewallList < 3) { |
1545 unittest.expect(o.id, unittest.equals('foo')); | 1597 unittest.expect(o.id, unittest.equals('foo')); |
1546 checkUnnamed701(o.items); | 1598 checkUnnamed2280(o.items); |
1547 unittest.expect(o.kind, unittest.equals('foo')); | 1599 unittest.expect(o.kind, unittest.equals('foo')); |
1548 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1600 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1549 unittest.expect(o.selfLink, unittest.equals('foo')); | 1601 unittest.expect(o.selfLink, unittest.equals('foo')); |
1550 } | 1602 } |
1551 buildCounterFirewallList--; | 1603 buildCounterFirewallList--; |
1552 } | 1604 } |
1553 | 1605 |
1554 core.int buildCounterForwardingRule = 0; | 1606 core.int buildCounterForwardingRule = 0; |
1555 buildForwardingRule() { | 1607 buildForwardingRule() { |
1556 var o = new api.ForwardingRule(); | 1608 var o = new api.ForwardingRule(); |
(...skipping 26 matching lines...) Expand all Loading... |
1583 unittest.expect(o.kind, unittest.equals('foo')); | 1635 unittest.expect(o.kind, unittest.equals('foo')); |
1584 unittest.expect(o.name, unittest.equals('foo')); | 1636 unittest.expect(o.name, unittest.equals('foo')); |
1585 unittest.expect(o.portRange, unittest.equals('foo')); | 1637 unittest.expect(o.portRange, unittest.equals('foo')); |
1586 unittest.expect(o.region, unittest.equals('foo')); | 1638 unittest.expect(o.region, unittest.equals('foo')); |
1587 unittest.expect(o.selfLink, unittest.equals('foo')); | 1639 unittest.expect(o.selfLink, unittest.equals('foo')); |
1588 unittest.expect(o.target, unittest.equals('foo')); | 1640 unittest.expect(o.target, unittest.equals('foo')); |
1589 } | 1641 } |
1590 buildCounterForwardingRule--; | 1642 buildCounterForwardingRule--; |
1591 } | 1643 } |
1592 | 1644 |
1593 buildUnnamed702() { | 1645 buildUnnamed2281() { |
1594 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); | 1646 var o = new core.Map<core.String, api.ForwardingRulesScopedList>(); |
1595 o["x"] = buildForwardingRulesScopedList(); | 1647 o["x"] = buildForwardingRulesScopedList(); |
1596 o["y"] = buildForwardingRulesScopedList(); | 1648 o["y"] = buildForwardingRulesScopedList(); |
1597 return o; | 1649 return o; |
1598 } | 1650 } |
1599 | 1651 |
1600 checkUnnamed702(core.Map<core.String, api.ForwardingRulesScopedList> o) { | 1652 checkUnnamed2281(core.Map<core.String, api.ForwardingRulesScopedList> o) { |
1601 unittest.expect(o, unittest.hasLength(2)); | 1653 unittest.expect(o, unittest.hasLength(2)); |
1602 checkForwardingRulesScopedList(o["x"]); | 1654 checkForwardingRulesScopedList(o["x"]); |
1603 checkForwardingRulesScopedList(o["y"]); | 1655 checkForwardingRulesScopedList(o["y"]); |
1604 } | 1656 } |
1605 | 1657 |
1606 core.int buildCounterForwardingRuleAggregatedList = 0; | 1658 core.int buildCounterForwardingRuleAggregatedList = 0; |
1607 buildForwardingRuleAggregatedList() { | 1659 buildForwardingRuleAggregatedList() { |
1608 var o = new api.ForwardingRuleAggregatedList(); | 1660 var o = new api.ForwardingRuleAggregatedList(); |
1609 buildCounterForwardingRuleAggregatedList++; | 1661 buildCounterForwardingRuleAggregatedList++; |
1610 if (buildCounterForwardingRuleAggregatedList < 3) { | 1662 if (buildCounterForwardingRuleAggregatedList < 3) { |
1611 o.id = "foo"; | 1663 o.id = "foo"; |
1612 o.items = buildUnnamed702(); | 1664 o.items = buildUnnamed2281(); |
1613 o.kind = "foo"; | 1665 o.kind = "foo"; |
1614 o.nextPageToken = "foo"; | 1666 o.nextPageToken = "foo"; |
1615 o.selfLink = "foo"; | 1667 o.selfLink = "foo"; |
1616 } | 1668 } |
1617 buildCounterForwardingRuleAggregatedList--; | 1669 buildCounterForwardingRuleAggregatedList--; |
1618 return o; | 1670 return o; |
1619 } | 1671 } |
1620 | 1672 |
1621 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { | 1673 checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) { |
1622 buildCounterForwardingRuleAggregatedList++; | 1674 buildCounterForwardingRuleAggregatedList++; |
1623 if (buildCounterForwardingRuleAggregatedList < 3) { | 1675 if (buildCounterForwardingRuleAggregatedList < 3) { |
1624 unittest.expect(o.id, unittest.equals('foo')); | 1676 unittest.expect(o.id, unittest.equals('foo')); |
1625 checkUnnamed702(o.items); | 1677 checkUnnamed2281(o.items); |
1626 unittest.expect(o.kind, unittest.equals('foo')); | 1678 unittest.expect(o.kind, unittest.equals('foo')); |
1627 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1679 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1628 unittest.expect(o.selfLink, unittest.equals('foo')); | 1680 unittest.expect(o.selfLink, unittest.equals('foo')); |
1629 } | 1681 } |
1630 buildCounterForwardingRuleAggregatedList--; | 1682 buildCounterForwardingRuleAggregatedList--; |
1631 } | 1683 } |
1632 | 1684 |
1633 buildUnnamed703() { | 1685 buildUnnamed2282() { |
1634 var o = new core.List<api.ForwardingRule>(); | 1686 var o = new core.List<api.ForwardingRule>(); |
1635 o.add(buildForwardingRule()); | 1687 o.add(buildForwardingRule()); |
1636 o.add(buildForwardingRule()); | 1688 o.add(buildForwardingRule()); |
1637 return o; | 1689 return o; |
1638 } | 1690 } |
1639 | 1691 |
1640 checkUnnamed703(core.List<api.ForwardingRule> o) { | 1692 checkUnnamed2282(core.List<api.ForwardingRule> o) { |
1641 unittest.expect(o, unittest.hasLength(2)); | 1693 unittest.expect(o, unittest.hasLength(2)); |
1642 checkForwardingRule(o[0]); | 1694 checkForwardingRule(o[0]); |
1643 checkForwardingRule(o[1]); | 1695 checkForwardingRule(o[1]); |
1644 } | 1696 } |
1645 | 1697 |
1646 core.int buildCounterForwardingRuleList = 0; | 1698 core.int buildCounterForwardingRuleList = 0; |
1647 buildForwardingRuleList() { | 1699 buildForwardingRuleList() { |
1648 var o = new api.ForwardingRuleList(); | 1700 var o = new api.ForwardingRuleList(); |
1649 buildCounterForwardingRuleList++; | 1701 buildCounterForwardingRuleList++; |
1650 if (buildCounterForwardingRuleList < 3) { | 1702 if (buildCounterForwardingRuleList < 3) { |
1651 o.id = "foo"; | 1703 o.id = "foo"; |
1652 o.items = buildUnnamed703(); | 1704 o.items = buildUnnamed2282(); |
1653 o.kind = "foo"; | 1705 o.kind = "foo"; |
1654 o.nextPageToken = "foo"; | 1706 o.nextPageToken = "foo"; |
1655 o.selfLink = "foo"; | 1707 o.selfLink = "foo"; |
1656 } | 1708 } |
1657 buildCounterForwardingRuleList--; | 1709 buildCounterForwardingRuleList--; |
1658 return o; | 1710 return o; |
1659 } | 1711 } |
1660 | 1712 |
1661 checkForwardingRuleList(api.ForwardingRuleList o) { | 1713 checkForwardingRuleList(api.ForwardingRuleList o) { |
1662 buildCounterForwardingRuleList++; | 1714 buildCounterForwardingRuleList++; |
1663 if (buildCounterForwardingRuleList < 3) { | 1715 if (buildCounterForwardingRuleList < 3) { |
1664 unittest.expect(o.id, unittest.equals('foo')); | 1716 unittest.expect(o.id, unittest.equals('foo')); |
1665 checkUnnamed703(o.items); | 1717 checkUnnamed2282(o.items); |
1666 unittest.expect(o.kind, unittest.equals('foo')); | 1718 unittest.expect(o.kind, unittest.equals('foo')); |
1667 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1719 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1668 unittest.expect(o.selfLink, unittest.equals('foo')); | 1720 unittest.expect(o.selfLink, unittest.equals('foo')); |
1669 } | 1721 } |
1670 buildCounterForwardingRuleList--; | 1722 buildCounterForwardingRuleList--; |
1671 } | 1723 } |
1672 | 1724 |
1673 buildUnnamed704() { | 1725 buildUnnamed2283() { |
1674 var o = new core.List<api.ForwardingRule>(); | 1726 var o = new core.List<api.ForwardingRule>(); |
1675 o.add(buildForwardingRule()); | 1727 o.add(buildForwardingRule()); |
1676 o.add(buildForwardingRule()); | 1728 o.add(buildForwardingRule()); |
1677 return o; | 1729 return o; |
1678 } | 1730 } |
1679 | 1731 |
1680 checkUnnamed704(core.List<api.ForwardingRule> o) { | 1732 checkUnnamed2283(core.List<api.ForwardingRule> o) { |
1681 unittest.expect(o, unittest.hasLength(2)); | 1733 unittest.expect(o, unittest.hasLength(2)); |
1682 checkForwardingRule(o[0]); | 1734 checkForwardingRule(o[0]); |
1683 checkForwardingRule(o[1]); | 1735 checkForwardingRule(o[1]); |
1684 } | 1736 } |
1685 | 1737 |
1686 core.int buildCounterForwardingRulesScopedListWarningData = 0; | 1738 core.int buildCounterForwardingRulesScopedListWarningData = 0; |
1687 buildForwardingRulesScopedListWarningData() { | 1739 buildForwardingRulesScopedListWarningData() { |
1688 var o = new api.ForwardingRulesScopedListWarningData(); | 1740 var o = new api.ForwardingRulesScopedListWarningData(); |
1689 buildCounterForwardingRulesScopedListWarningData++; | 1741 buildCounterForwardingRulesScopedListWarningData++; |
1690 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 1742 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
1691 o.key = "foo"; | 1743 o.key = "foo"; |
1692 o.value = "foo"; | 1744 o.value = "foo"; |
1693 } | 1745 } |
1694 buildCounterForwardingRulesScopedListWarningData--; | 1746 buildCounterForwardingRulesScopedListWarningData--; |
1695 return o; | 1747 return o; |
1696 } | 1748 } |
1697 | 1749 |
1698 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { | 1750 checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
ta o) { |
1699 buildCounterForwardingRulesScopedListWarningData++; | 1751 buildCounterForwardingRulesScopedListWarningData++; |
1700 if (buildCounterForwardingRulesScopedListWarningData < 3) { | 1752 if (buildCounterForwardingRulesScopedListWarningData < 3) { |
1701 unittest.expect(o.key, unittest.equals('foo')); | 1753 unittest.expect(o.key, unittest.equals('foo')); |
1702 unittest.expect(o.value, unittest.equals('foo')); | 1754 unittest.expect(o.value, unittest.equals('foo')); |
1703 } | 1755 } |
1704 buildCounterForwardingRulesScopedListWarningData--; | 1756 buildCounterForwardingRulesScopedListWarningData--; |
1705 } | 1757 } |
1706 | 1758 |
1707 buildUnnamed705() { | 1759 buildUnnamed2284() { |
1708 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); | 1760 var o = new core.List<api.ForwardingRulesScopedListWarningData>(); |
1709 o.add(buildForwardingRulesScopedListWarningData()); | 1761 o.add(buildForwardingRulesScopedListWarningData()); |
1710 o.add(buildForwardingRulesScopedListWarningData()); | 1762 o.add(buildForwardingRulesScopedListWarningData()); |
1711 return o; | 1763 return o; |
1712 } | 1764 } |
1713 | 1765 |
1714 checkUnnamed705(core.List<api.ForwardingRulesScopedListWarningData> o) { | 1766 checkUnnamed2284(core.List<api.ForwardingRulesScopedListWarningData> o) { |
1715 unittest.expect(o, unittest.hasLength(2)); | 1767 unittest.expect(o, unittest.hasLength(2)); |
1716 checkForwardingRulesScopedListWarningData(o[0]); | 1768 checkForwardingRulesScopedListWarningData(o[0]); |
1717 checkForwardingRulesScopedListWarningData(o[1]); | 1769 checkForwardingRulesScopedListWarningData(o[1]); |
1718 } | 1770 } |
1719 | 1771 |
1720 core.int buildCounterForwardingRulesScopedListWarning = 0; | 1772 core.int buildCounterForwardingRulesScopedListWarning = 0; |
1721 buildForwardingRulesScopedListWarning() { | 1773 buildForwardingRulesScopedListWarning() { |
1722 var o = new api.ForwardingRulesScopedListWarning(); | 1774 var o = new api.ForwardingRulesScopedListWarning(); |
1723 buildCounterForwardingRulesScopedListWarning++; | 1775 buildCounterForwardingRulesScopedListWarning++; |
1724 if (buildCounterForwardingRulesScopedListWarning < 3) { | 1776 if (buildCounterForwardingRulesScopedListWarning < 3) { |
1725 o.code = "foo"; | 1777 o.code = "foo"; |
1726 o.data = buildUnnamed705(); | 1778 o.data = buildUnnamed2284(); |
1727 o.message = "foo"; | 1779 o.message = "foo"; |
1728 } | 1780 } |
1729 buildCounterForwardingRulesScopedListWarning--; | 1781 buildCounterForwardingRulesScopedListWarning--; |
1730 return o; | 1782 return o; |
1731 } | 1783 } |
1732 | 1784 |
1733 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { | 1785 checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) { |
1734 buildCounterForwardingRulesScopedListWarning++; | 1786 buildCounterForwardingRulesScopedListWarning++; |
1735 if (buildCounterForwardingRulesScopedListWarning < 3) { | 1787 if (buildCounterForwardingRulesScopedListWarning < 3) { |
1736 unittest.expect(o.code, unittest.equals('foo')); | 1788 unittest.expect(o.code, unittest.equals('foo')); |
1737 checkUnnamed705(o.data); | 1789 checkUnnamed2284(o.data); |
1738 unittest.expect(o.message, unittest.equals('foo')); | 1790 unittest.expect(o.message, unittest.equals('foo')); |
1739 } | 1791 } |
1740 buildCounterForwardingRulesScopedListWarning--; | 1792 buildCounterForwardingRulesScopedListWarning--; |
1741 } | 1793 } |
1742 | 1794 |
1743 core.int buildCounterForwardingRulesScopedList = 0; | 1795 core.int buildCounterForwardingRulesScopedList = 0; |
1744 buildForwardingRulesScopedList() { | 1796 buildForwardingRulesScopedList() { |
1745 var o = new api.ForwardingRulesScopedList(); | 1797 var o = new api.ForwardingRulesScopedList(); |
1746 buildCounterForwardingRulesScopedList++; | 1798 buildCounterForwardingRulesScopedList++; |
1747 if (buildCounterForwardingRulesScopedList < 3) { | 1799 if (buildCounterForwardingRulesScopedList < 3) { |
1748 o.forwardingRules = buildUnnamed704(); | 1800 o.forwardingRules = buildUnnamed2283(); |
1749 o.warning = buildForwardingRulesScopedListWarning(); | 1801 o.warning = buildForwardingRulesScopedListWarning(); |
1750 } | 1802 } |
1751 buildCounterForwardingRulesScopedList--; | 1803 buildCounterForwardingRulesScopedList--; |
1752 return o; | 1804 return o; |
1753 } | 1805 } |
1754 | 1806 |
1755 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { | 1807 checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) { |
1756 buildCounterForwardingRulesScopedList++; | 1808 buildCounterForwardingRulesScopedList++; |
1757 if (buildCounterForwardingRulesScopedList < 3) { | 1809 if (buildCounterForwardingRulesScopedList < 3) { |
1758 checkUnnamed704(o.forwardingRules); | 1810 checkUnnamed2283(o.forwardingRules); |
1759 checkForwardingRulesScopedListWarning(o.warning); | 1811 checkForwardingRulesScopedListWarning(o.warning); |
1760 } | 1812 } |
1761 buildCounterForwardingRulesScopedList--; | 1813 buildCounterForwardingRulesScopedList--; |
1762 } | 1814 } |
1763 | 1815 |
1764 core.int buildCounterHealthCheckReference = 0; | 1816 core.int buildCounterHealthCheckReference = 0; |
1765 buildHealthCheckReference() { | 1817 buildHealthCheckReference() { |
1766 var o = new api.HealthCheckReference(); | 1818 var o = new api.HealthCheckReference(); |
1767 buildCounterHealthCheckReference++; | 1819 buildCounterHealthCheckReference++; |
1768 if (buildCounterHealthCheckReference < 3) { | 1820 if (buildCounterHealthCheckReference < 3) { |
(...skipping 29 matching lines...) Expand all Loading... |
1798 buildCounterHealthStatus++; | 1850 buildCounterHealthStatus++; |
1799 if (buildCounterHealthStatus < 3) { | 1851 if (buildCounterHealthStatus < 3) { |
1800 unittest.expect(o.healthState, unittest.equals('foo')); | 1852 unittest.expect(o.healthState, unittest.equals('foo')); |
1801 unittest.expect(o.instance, unittest.equals('foo')); | 1853 unittest.expect(o.instance, unittest.equals('foo')); |
1802 unittest.expect(o.ipAddress, unittest.equals('foo')); | 1854 unittest.expect(o.ipAddress, unittest.equals('foo')); |
1803 unittest.expect(o.port, unittest.equals(42)); | 1855 unittest.expect(o.port, unittest.equals(42)); |
1804 } | 1856 } |
1805 buildCounterHealthStatus--; | 1857 buildCounterHealthStatus--; |
1806 } | 1858 } |
1807 | 1859 |
1808 buildUnnamed706() { | 1860 buildUnnamed2285() { |
1809 var o = new core.List<core.String>(); | 1861 var o = new core.List<core.String>(); |
1810 o.add("foo"); | 1862 o.add("foo"); |
1811 o.add("foo"); | 1863 o.add("foo"); |
1812 return o; | 1864 return o; |
1813 } | 1865 } |
1814 | 1866 |
1815 checkUnnamed706(core.List<core.String> o) { | 1867 checkUnnamed2285(core.List<core.String> o) { |
1816 unittest.expect(o, unittest.hasLength(2)); | 1868 unittest.expect(o, unittest.hasLength(2)); |
1817 unittest.expect(o[0], unittest.equals('foo')); | 1869 unittest.expect(o[0], unittest.equals('foo')); |
1818 unittest.expect(o[1], unittest.equals('foo')); | 1870 unittest.expect(o[1], unittest.equals('foo')); |
1819 } | 1871 } |
1820 | 1872 |
1821 core.int buildCounterHostRule = 0; | 1873 core.int buildCounterHostRule = 0; |
1822 buildHostRule() { | 1874 buildHostRule() { |
1823 var o = new api.HostRule(); | 1875 var o = new api.HostRule(); |
1824 buildCounterHostRule++; | 1876 buildCounterHostRule++; |
1825 if (buildCounterHostRule < 3) { | 1877 if (buildCounterHostRule < 3) { |
1826 o.description = "foo"; | 1878 o.description = "foo"; |
1827 o.hosts = buildUnnamed706(); | 1879 o.hosts = buildUnnamed2285(); |
1828 o.pathMatcher = "foo"; | 1880 o.pathMatcher = "foo"; |
1829 } | 1881 } |
1830 buildCounterHostRule--; | 1882 buildCounterHostRule--; |
1831 return o; | 1883 return o; |
1832 } | 1884 } |
1833 | 1885 |
1834 checkHostRule(api.HostRule o) { | 1886 checkHostRule(api.HostRule o) { |
1835 buildCounterHostRule++; | 1887 buildCounterHostRule++; |
1836 if (buildCounterHostRule < 3) { | 1888 if (buildCounterHostRule < 3) { |
1837 unittest.expect(o.description, unittest.equals('foo')); | 1889 unittest.expect(o.description, unittest.equals('foo')); |
1838 checkUnnamed706(o.hosts); | 1890 checkUnnamed2285(o.hosts); |
1839 unittest.expect(o.pathMatcher, unittest.equals('foo')); | 1891 unittest.expect(o.pathMatcher, unittest.equals('foo')); |
1840 } | 1892 } |
1841 buildCounterHostRule--; | 1893 buildCounterHostRule--; |
1842 } | 1894 } |
1843 | 1895 |
1844 core.int buildCounterHttpHealthCheck = 0; | 1896 core.int buildCounterHttpHealthCheck = 0; |
1845 buildHttpHealthCheck() { | 1897 buildHttpHealthCheck() { |
1846 var o = new api.HttpHealthCheck(); | 1898 var o = new api.HttpHealthCheck(); |
1847 buildCounterHttpHealthCheck++; | 1899 buildCounterHttpHealthCheck++; |
1848 if (buildCounterHttpHealthCheck < 3) { | 1900 if (buildCounterHttpHealthCheck < 3) { |
(...skipping 28 matching lines...) Expand all Loading... |
1877 unittest.expect(o.name, unittest.equals('foo')); | 1929 unittest.expect(o.name, unittest.equals('foo')); |
1878 unittest.expect(o.port, unittest.equals(42)); | 1930 unittest.expect(o.port, unittest.equals(42)); |
1879 unittest.expect(o.requestPath, unittest.equals('foo')); | 1931 unittest.expect(o.requestPath, unittest.equals('foo')); |
1880 unittest.expect(o.selfLink, unittest.equals('foo')); | 1932 unittest.expect(o.selfLink, unittest.equals('foo')); |
1881 unittest.expect(o.timeoutSec, unittest.equals(42)); | 1933 unittest.expect(o.timeoutSec, unittest.equals(42)); |
1882 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 1934 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
1883 } | 1935 } |
1884 buildCounterHttpHealthCheck--; | 1936 buildCounterHttpHealthCheck--; |
1885 } | 1937 } |
1886 | 1938 |
1887 buildUnnamed707() { | 1939 buildUnnamed2286() { |
1888 var o = new core.List<api.HttpHealthCheck>(); | 1940 var o = new core.List<api.HttpHealthCheck>(); |
1889 o.add(buildHttpHealthCheck()); | 1941 o.add(buildHttpHealthCheck()); |
1890 o.add(buildHttpHealthCheck()); | 1942 o.add(buildHttpHealthCheck()); |
1891 return o; | 1943 return o; |
1892 } | 1944 } |
1893 | 1945 |
1894 checkUnnamed707(core.List<api.HttpHealthCheck> o) { | 1946 checkUnnamed2286(core.List<api.HttpHealthCheck> o) { |
1895 unittest.expect(o, unittest.hasLength(2)); | 1947 unittest.expect(o, unittest.hasLength(2)); |
1896 checkHttpHealthCheck(o[0]); | 1948 checkHttpHealthCheck(o[0]); |
1897 checkHttpHealthCheck(o[1]); | 1949 checkHttpHealthCheck(o[1]); |
1898 } | 1950 } |
1899 | 1951 |
1900 core.int buildCounterHttpHealthCheckList = 0; | 1952 core.int buildCounterHttpHealthCheckList = 0; |
1901 buildHttpHealthCheckList() { | 1953 buildHttpHealthCheckList() { |
1902 var o = new api.HttpHealthCheckList(); | 1954 var o = new api.HttpHealthCheckList(); |
1903 buildCounterHttpHealthCheckList++; | 1955 buildCounterHttpHealthCheckList++; |
1904 if (buildCounterHttpHealthCheckList < 3) { | 1956 if (buildCounterHttpHealthCheckList < 3) { |
1905 o.id = "foo"; | 1957 o.id = "foo"; |
1906 o.items = buildUnnamed707(); | 1958 o.items = buildUnnamed2286(); |
1907 o.kind = "foo"; | 1959 o.kind = "foo"; |
1908 o.nextPageToken = "foo"; | 1960 o.nextPageToken = "foo"; |
1909 o.selfLink = "foo"; | 1961 o.selfLink = "foo"; |
1910 } | 1962 } |
1911 buildCounterHttpHealthCheckList--; | 1963 buildCounterHttpHealthCheckList--; |
1912 return o; | 1964 return o; |
1913 } | 1965 } |
1914 | 1966 |
1915 checkHttpHealthCheckList(api.HttpHealthCheckList o) { | 1967 checkHttpHealthCheckList(api.HttpHealthCheckList o) { |
1916 buildCounterHttpHealthCheckList++; | 1968 buildCounterHttpHealthCheckList++; |
1917 if (buildCounterHttpHealthCheckList < 3) { | 1969 if (buildCounterHttpHealthCheckList < 3) { |
1918 unittest.expect(o.id, unittest.equals('foo')); | 1970 unittest.expect(o.id, unittest.equals('foo')); |
1919 checkUnnamed707(o.items); | 1971 checkUnnamed2286(o.items); |
1920 unittest.expect(o.kind, unittest.equals('foo')); | 1972 unittest.expect(o.kind, unittest.equals('foo')); |
1921 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1973 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1922 unittest.expect(o.selfLink, unittest.equals('foo')); | 1974 unittest.expect(o.selfLink, unittest.equals('foo')); |
1923 } | 1975 } |
1924 buildCounterHttpHealthCheckList--; | 1976 buildCounterHttpHealthCheckList--; |
1925 } | 1977 } |
1926 | 1978 |
1927 core.int buildCounterHttpsHealthCheck = 0; | 1979 core.int buildCounterHttpsHealthCheck = 0; |
1928 buildHttpsHealthCheck() { | 1980 buildHttpsHealthCheck() { |
1929 var o = new api.HttpsHealthCheck(); | 1981 var o = new api.HttpsHealthCheck(); |
(...skipping 30 matching lines...) Expand all Loading... |
1960 unittest.expect(o.name, unittest.equals('foo')); | 2012 unittest.expect(o.name, unittest.equals('foo')); |
1961 unittest.expect(o.port, unittest.equals(42)); | 2013 unittest.expect(o.port, unittest.equals(42)); |
1962 unittest.expect(o.requestPath, unittest.equals('foo')); | 2014 unittest.expect(o.requestPath, unittest.equals('foo')); |
1963 unittest.expect(o.selfLink, unittest.equals('foo')); | 2015 unittest.expect(o.selfLink, unittest.equals('foo')); |
1964 unittest.expect(o.timeoutSec, unittest.equals(42)); | 2016 unittest.expect(o.timeoutSec, unittest.equals(42)); |
1965 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); | 2017 unittest.expect(o.unhealthyThreshold, unittest.equals(42)); |
1966 } | 2018 } |
1967 buildCounterHttpsHealthCheck--; | 2019 buildCounterHttpsHealthCheck--; |
1968 } | 2020 } |
1969 | 2021 |
1970 buildUnnamed708() { | 2022 buildUnnamed2287() { |
1971 var o = new core.List<api.HttpsHealthCheck>(); | 2023 var o = new core.List<api.HttpsHealthCheck>(); |
1972 o.add(buildHttpsHealthCheck()); | 2024 o.add(buildHttpsHealthCheck()); |
1973 o.add(buildHttpsHealthCheck()); | 2025 o.add(buildHttpsHealthCheck()); |
1974 return o; | 2026 return o; |
1975 } | 2027 } |
1976 | 2028 |
1977 checkUnnamed708(core.List<api.HttpsHealthCheck> o) { | 2029 checkUnnamed2287(core.List<api.HttpsHealthCheck> o) { |
1978 unittest.expect(o, unittest.hasLength(2)); | 2030 unittest.expect(o, unittest.hasLength(2)); |
1979 checkHttpsHealthCheck(o[0]); | 2031 checkHttpsHealthCheck(o[0]); |
1980 checkHttpsHealthCheck(o[1]); | 2032 checkHttpsHealthCheck(o[1]); |
1981 } | 2033 } |
1982 | 2034 |
1983 core.int buildCounterHttpsHealthCheckList = 0; | 2035 core.int buildCounterHttpsHealthCheckList = 0; |
1984 buildHttpsHealthCheckList() { | 2036 buildHttpsHealthCheckList() { |
1985 var o = new api.HttpsHealthCheckList(); | 2037 var o = new api.HttpsHealthCheckList(); |
1986 buildCounterHttpsHealthCheckList++; | 2038 buildCounterHttpsHealthCheckList++; |
1987 if (buildCounterHttpsHealthCheckList < 3) { | 2039 if (buildCounterHttpsHealthCheckList < 3) { |
1988 o.id = "foo"; | 2040 o.id = "foo"; |
1989 o.items = buildUnnamed708(); | 2041 o.items = buildUnnamed2287(); |
1990 o.kind = "foo"; | 2042 o.kind = "foo"; |
1991 o.nextPageToken = "foo"; | 2043 o.nextPageToken = "foo"; |
1992 o.selfLink = "foo"; | 2044 o.selfLink = "foo"; |
1993 } | 2045 } |
1994 buildCounterHttpsHealthCheckList--; | 2046 buildCounterHttpsHealthCheckList--; |
1995 return o; | 2047 return o; |
1996 } | 2048 } |
1997 | 2049 |
1998 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { | 2050 checkHttpsHealthCheckList(api.HttpsHealthCheckList o) { |
1999 buildCounterHttpsHealthCheckList++; | 2051 buildCounterHttpsHealthCheckList++; |
2000 if (buildCounterHttpsHealthCheckList < 3) { | 2052 if (buildCounterHttpsHealthCheckList < 3) { |
2001 unittest.expect(o.id, unittest.equals('foo')); | 2053 unittest.expect(o.id, unittest.equals('foo')); |
2002 checkUnnamed708(o.items); | 2054 checkUnnamed2287(o.items); |
2003 unittest.expect(o.kind, unittest.equals('foo')); | 2055 unittest.expect(o.kind, unittest.equals('foo')); |
2004 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2056 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2005 unittest.expect(o.selfLink, unittest.equals('foo')); | 2057 unittest.expect(o.selfLink, unittest.equals('foo')); |
2006 } | 2058 } |
2007 buildCounterHttpsHealthCheckList--; | 2059 buildCounterHttpsHealthCheckList--; |
2008 } | 2060 } |
2009 | 2061 |
2010 buildUnnamed709() { | 2062 buildUnnamed2288() { |
2011 var o = new core.List<core.String>(); | 2063 var o = new core.List<core.String>(); |
2012 o.add("foo"); | 2064 o.add("foo"); |
2013 o.add("foo"); | 2065 o.add("foo"); |
2014 return o; | 2066 return o; |
2015 } | 2067 } |
2016 | 2068 |
2017 checkUnnamed709(core.List<core.String> o) { | 2069 checkUnnamed2288(core.List<core.String> o) { |
2018 unittest.expect(o, unittest.hasLength(2)); | 2070 unittest.expect(o, unittest.hasLength(2)); |
2019 unittest.expect(o[0], unittest.equals('foo')); | 2071 unittest.expect(o[0], unittest.equals('foo')); |
2020 unittest.expect(o[1], unittest.equals('foo')); | 2072 unittest.expect(o[1], unittest.equals('foo')); |
2021 } | 2073 } |
2022 | 2074 |
2023 core.int buildCounterImageRawDisk = 0; | 2075 core.int buildCounterImageRawDisk = 0; |
2024 buildImageRawDisk() { | 2076 buildImageRawDisk() { |
2025 var o = new api.ImageRawDisk(); | 2077 var o = new api.ImageRawDisk(); |
2026 buildCounterImageRawDisk++; | 2078 buildCounterImageRawDisk++; |
2027 if (buildCounterImageRawDisk < 3) { | 2079 if (buildCounterImageRawDisk < 3) { |
(...skipping 20 matching lines...) Expand all Loading... |
2048 var o = new api.Image(); | 2100 var o = new api.Image(); |
2049 buildCounterImage++; | 2101 buildCounterImage++; |
2050 if (buildCounterImage < 3) { | 2102 if (buildCounterImage < 3) { |
2051 o.archiveSizeBytes = "foo"; | 2103 o.archiveSizeBytes = "foo"; |
2052 o.creationTimestamp = "foo"; | 2104 o.creationTimestamp = "foo"; |
2053 o.deprecated = buildDeprecationStatus(); | 2105 o.deprecated = buildDeprecationStatus(); |
2054 o.description = "foo"; | 2106 o.description = "foo"; |
2055 o.diskSizeGb = "foo"; | 2107 o.diskSizeGb = "foo"; |
2056 o.family = "foo"; | 2108 o.family = "foo"; |
2057 o.id = "foo"; | 2109 o.id = "foo"; |
| 2110 o.imageEncryptionKey = buildCustomerEncryptionKey(); |
2058 o.kind = "foo"; | 2111 o.kind = "foo"; |
2059 o.licenses = buildUnnamed709(); | 2112 o.licenses = buildUnnamed2288(); |
2060 o.name = "foo"; | 2113 o.name = "foo"; |
2061 o.rawDisk = buildImageRawDisk(); | 2114 o.rawDisk = buildImageRawDisk(); |
2062 o.selfLink = "foo"; | 2115 o.selfLink = "foo"; |
2063 o.sourceDisk = "foo"; | 2116 o.sourceDisk = "foo"; |
| 2117 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
2064 o.sourceDiskId = "foo"; | 2118 o.sourceDiskId = "foo"; |
2065 o.sourceType = "foo"; | 2119 o.sourceType = "foo"; |
2066 o.status = "foo"; | 2120 o.status = "foo"; |
2067 } | 2121 } |
2068 buildCounterImage--; | 2122 buildCounterImage--; |
2069 return o; | 2123 return o; |
2070 } | 2124 } |
2071 | 2125 |
2072 checkImage(api.Image o) { | 2126 checkImage(api.Image o) { |
2073 buildCounterImage++; | 2127 buildCounterImage++; |
2074 if (buildCounterImage < 3) { | 2128 if (buildCounterImage < 3) { |
2075 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); | 2129 unittest.expect(o.archiveSizeBytes, unittest.equals('foo')); |
2076 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2130 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2077 checkDeprecationStatus(o.deprecated); | 2131 checkDeprecationStatus(o.deprecated); |
2078 unittest.expect(o.description, unittest.equals('foo')); | 2132 unittest.expect(o.description, unittest.equals('foo')); |
2079 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 2133 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
2080 unittest.expect(o.family, unittest.equals('foo')); | 2134 unittest.expect(o.family, unittest.equals('foo')); |
2081 unittest.expect(o.id, unittest.equals('foo')); | 2135 unittest.expect(o.id, unittest.equals('foo')); |
| 2136 checkCustomerEncryptionKey(o.imageEncryptionKey); |
2082 unittest.expect(o.kind, unittest.equals('foo')); | 2137 unittest.expect(o.kind, unittest.equals('foo')); |
2083 checkUnnamed709(o.licenses); | 2138 checkUnnamed2288(o.licenses); |
2084 unittest.expect(o.name, unittest.equals('foo')); | 2139 unittest.expect(o.name, unittest.equals('foo')); |
2085 checkImageRawDisk(o.rawDisk); | 2140 checkImageRawDisk(o.rawDisk); |
2086 unittest.expect(o.selfLink, unittest.equals('foo')); | 2141 unittest.expect(o.selfLink, unittest.equals('foo')); |
2087 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 2142 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
| 2143 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
2088 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 2144 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
2089 unittest.expect(o.sourceType, unittest.equals('foo')); | 2145 unittest.expect(o.sourceType, unittest.equals('foo')); |
2090 unittest.expect(o.status, unittest.equals('foo')); | 2146 unittest.expect(o.status, unittest.equals('foo')); |
2091 } | 2147 } |
2092 buildCounterImage--; | 2148 buildCounterImage--; |
2093 } | 2149 } |
2094 | 2150 |
2095 buildUnnamed710() { | 2151 buildUnnamed2289() { |
2096 var o = new core.List<api.Image>(); | 2152 var o = new core.List<api.Image>(); |
2097 o.add(buildImage()); | 2153 o.add(buildImage()); |
2098 o.add(buildImage()); | 2154 o.add(buildImage()); |
2099 return o; | 2155 return o; |
2100 } | 2156 } |
2101 | 2157 |
2102 checkUnnamed710(core.List<api.Image> o) { | 2158 checkUnnamed2289(core.List<api.Image> o) { |
2103 unittest.expect(o, unittest.hasLength(2)); | 2159 unittest.expect(o, unittest.hasLength(2)); |
2104 checkImage(o[0]); | 2160 checkImage(o[0]); |
2105 checkImage(o[1]); | 2161 checkImage(o[1]); |
2106 } | 2162 } |
2107 | 2163 |
2108 core.int buildCounterImageList = 0; | 2164 core.int buildCounterImageList = 0; |
2109 buildImageList() { | 2165 buildImageList() { |
2110 var o = new api.ImageList(); | 2166 var o = new api.ImageList(); |
2111 buildCounterImageList++; | 2167 buildCounterImageList++; |
2112 if (buildCounterImageList < 3) { | 2168 if (buildCounterImageList < 3) { |
2113 o.id = "foo"; | 2169 o.id = "foo"; |
2114 o.items = buildUnnamed710(); | 2170 o.items = buildUnnamed2289(); |
2115 o.kind = "foo"; | 2171 o.kind = "foo"; |
2116 o.nextPageToken = "foo"; | 2172 o.nextPageToken = "foo"; |
2117 o.selfLink = "foo"; | 2173 o.selfLink = "foo"; |
2118 } | 2174 } |
2119 buildCounterImageList--; | 2175 buildCounterImageList--; |
2120 return o; | 2176 return o; |
2121 } | 2177 } |
2122 | 2178 |
2123 checkImageList(api.ImageList o) { | 2179 checkImageList(api.ImageList o) { |
2124 buildCounterImageList++; | 2180 buildCounterImageList++; |
2125 if (buildCounterImageList < 3) { | 2181 if (buildCounterImageList < 3) { |
2126 unittest.expect(o.id, unittest.equals('foo')); | 2182 unittest.expect(o.id, unittest.equals('foo')); |
2127 checkUnnamed710(o.items); | 2183 checkUnnamed2289(o.items); |
2128 unittest.expect(o.kind, unittest.equals('foo')); | 2184 unittest.expect(o.kind, unittest.equals('foo')); |
2129 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2185 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2130 unittest.expect(o.selfLink, unittest.equals('foo')); | 2186 unittest.expect(o.selfLink, unittest.equals('foo')); |
2131 } | 2187 } |
2132 buildCounterImageList--; | 2188 buildCounterImageList--; |
2133 } | 2189 } |
2134 | 2190 |
2135 buildUnnamed711() { | 2191 buildUnnamed2290() { |
2136 var o = new core.List<api.AttachedDisk>(); | 2192 var o = new core.List<api.AttachedDisk>(); |
2137 o.add(buildAttachedDisk()); | 2193 o.add(buildAttachedDisk()); |
2138 o.add(buildAttachedDisk()); | 2194 o.add(buildAttachedDisk()); |
2139 return o; | 2195 return o; |
2140 } | 2196 } |
2141 | 2197 |
2142 checkUnnamed711(core.List<api.AttachedDisk> o) { | 2198 checkUnnamed2290(core.List<api.AttachedDisk> o) { |
2143 unittest.expect(o, unittest.hasLength(2)); | 2199 unittest.expect(o, unittest.hasLength(2)); |
2144 checkAttachedDisk(o[0]); | 2200 checkAttachedDisk(o[0]); |
2145 checkAttachedDisk(o[1]); | 2201 checkAttachedDisk(o[1]); |
2146 } | 2202 } |
2147 | 2203 |
2148 buildUnnamed712() { | 2204 buildUnnamed2291() { |
2149 var o = new core.List<api.NetworkInterface>(); | 2205 var o = new core.List<api.NetworkInterface>(); |
2150 o.add(buildNetworkInterface()); | 2206 o.add(buildNetworkInterface()); |
2151 o.add(buildNetworkInterface()); | 2207 o.add(buildNetworkInterface()); |
2152 return o; | 2208 return o; |
2153 } | 2209 } |
2154 | 2210 |
2155 checkUnnamed712(core.List<api.NetworkInterface> o) { | 2211 checkUnnamed2291(core.List<api.NetworkInterface> o) { |
2156 unittest.expect(o, unittest.hasLength(2)); | 2212 unittest.expect(o, unittest.hasLength(2)); |
2157 checkNetworkInterface(o[0]); | 2213 checkNetworkInterface(o[0]); |
2158 checkNetworkInterface(o[1]); | 2214 checkNetworkInterface(o[1]); |
2159 } | 2215 } |
2160 | 2216 |
2161 buildUnnamed713() { | 2217 buildUnnamed2292() { |
2162 var o = new core.List<api.ServiceAccount>(); | 2218 var o = new core.List<api.ServiceAccount>(); |
2163 o.add(buildServiceAccount()); | 2219 o.add(buildServiceAccount()); |
2164 o.add(buildServiceAccount()); | 2220 o.add(buildServiceAccount()); |
2165 return o; | 2221 return o; |
2166 } | 2222 } |
2167 | 2223 |
2168 checkUnnamed713(core.List<api.ServiceAccount> o) { | 2224 checkUnnamed2292(core.List<api.ServiceAccount> o) { |
2169 unittest.expect(o, unittest.hasLength(2)); | 2225 unittest.expect(o, unittest.hasLength(2)); |
2170 checkServiceAccount(o[0]); | 2226 checkServiceAccount(o[0]); |
2171 checkServiceAccount(o[1]); | 2227 checkServiceAccount(o[1]); |
2172 } | 2228 } |
2173 | 2229 |
2174 core.int buildCounterInstance = 0; | 2230 core.int buildCounterInstance = 0; |
2175 buildInstance() { | 2231 buildInstance() { |
2176 var o = new api.Instance(); | 2232 var o = new api.Instance(); |
2177 buildCounterInstance++; | 2233 buildCounterInstance++; |
2178 if (buildCounterInstance < 3) { | 2234 if (buildCounterInstance < 3) { |
2179 o.canIpForward = true; | 2235 o.canIpForward = true; |
2180 o.cpuPlatform = "foo"; | 2236 o.cpuPlatform = "foo"; |
2181 o.creationTimestamp = "foo"; | 2237 o.creationTimestamp = "foo"; |
2182 o.description = "foo"; | 2238 o.description = "foo"; |
2183 o.disks = buildUnnamed711(); | 2239 o.disks = buildUnnamed2290(); |
2184 o.id = "foo"; | 2240 o.id = "foo"; |
2185 o.kind = "foo"; | 2241 o.kind = "foo"; |
2186 o.machineType = "foo"; | 2242 o.machineType = "foo"; |
2187 o.metadata = buildMetadata(); | 2243 o.metadata = buildMetadata(); |
2188 o.name = "foo"; | 2244 o.name = "foo"; |
2189 o.networkInterfaces = buildUnnamed712(); | 2245 o.networkInterfaces = buildUnnamed2291(); |
2190 o.scheduling = buildScheduling(); | 2246 o.scheduling = buildScheduling(); |
2191 o.selfLink = "foo"; | 2247 o.selfLink = "foo"; |
2192 o.serviceAccounts = buildUnnamed713(); | 2248 o.serviceAccounts = buildUnnamed2292(); |
2193 o.status = "foo"; | 2249 o.status = "foo"; |
2194 o.statusMessage = "foo"; | 2250 o.statusMessage = "foo"; |
2195 o.tags = buildTags(); | 2251 o.tags = buildTags(); |
2196 o.zone = "foo"; | 2252 o.zone = "foo"; |
2197 } | 2253 } |
2198 buildCounterInstance--; | 2254 buildCounterInstance--; |
2199 return o; | 2255 return o; |
2200 } | 2256 } |
2201 | 2257 |
2202 checkInstance(api.Instance o) { | 2258 checkInstance(api.Instance o) { |
2203 buildCounterInstance++; | 2259 buildCounterInstance++; |
2204 if (buildCounterInstance < 3) { | 2260 if (buildCounterInstance < 3) { |
2205 unittest.expect(o.canIpForward, unittest.isTrue); | 2261 unittest.expect(o.canIpForward, unittest.isTrue); |
2206 unittest.expect(o.cpuPlatform, unittest.equals('foo')); | 2262 unittest.expect(o.cpuPlatform, unittest.equals('foo')); |
2207 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2263 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2208 unittest.expect(o.description, unittest.equals('foo')); | 2264 unittest.expect(o.description, unittest.equals('foo')); |
2209 checkUnnamed711(o.disks); | 2265 checkUnnamed2290(o.disks); |
2210 unittest.expect(o.id, unittest.equals('foo')); | 2266 unittest.expect(o.id, unittest.equals('foo')); |
2211 unittest.expect(o.kind, unittest.equals('foo')); | 2267 unittest.expect(o.kind, unittest.equals('foo')); |
2212 unittest.expect(o.machineType, unittest.equals('foo')); | 2268 unittest.expect(o.machineType, unittest.equals('foo')); |
2213 checkMetadata(o.metadata); | 2269 checkMetadata(o.metadata); |
2214 unittest.expect(o.name, unittest.equals('foo')); | 2270 unittest.expect(o.name, unittest.equals('foo')); |
2215 checkUnnamed712(o.networkInterfaces); | 2271 checkUnnamed2291(o.networkInterfaces); |
2216 checkScheduling(o.scheduling); | 2272 checkScheduling(o.scheduling); |
2217 unittest.expect(o.selfLink, unittest.equals('foo')); | 2273 unittest.expect(o.selfLink, unittest.equals('foo')); |
2218 checkUnnamed713(o.serviceAccounts); | 2274 checkUnnamed2292(o.serviceAccounts); |
2219 unittest.expect(o.status, unittest.equals('foo')); | 2275 unittest.expect(o.status, unittest.equals('foo')); |
2220 unittest.expect(o.statusMessage, unittest.equals('foo')); | 2276 unittest.expect(o.statusMessage, unittest.equals('foo')); |
2221 checkTags(o.tags); | 2277 checkTags(o.tags); |
2222 unittest.expect(o.zone, unittest.equals('foo')); | 2278 unittest.expect(o.zone, unittest.equals('foo')); |
2223 } | 2279 } |
2224 buildCounterInstance--; | 2280 buildCounterInstance--; |
2225 } | 2281 } |
2226 | 2282 |
2227 buildUnnamed714() { | 2283 buildUnnamed2293() { |
2228 var o = new core.Map<core.String, api.InstancesScopedList>(); | 2284 var o = new core.Map<core.String, api.InstancesScopedList>(); |
2229 o["x"] = buildInstancesScopedList(); | 2285 o["x"] = buildInstancesScopedList(); |
2230 o["y"] = buildInstancesScopedList(); | 2286 o["y"] = buildInstancesScopedList(); |
2231 return o; | 2287 return o; |
2232 } | 2288 } |
2233 | 2289 |
2234 checkUnnamed714(core.Map<core.String, api.InstancesScopedList> o) { | 2290 checkUnnamed2293(core.Map<core.String, api.InstancesScopedList> o) { |
2235 unittest.expect(o, unittest.hasLength(2)); | 2291 unittest.expect(o, unittest.hasLength(2)); |
2236 checkInstancesScopedList(o["x"]); | 2292 checkInstancesScopedList(o["x"]); |
2237 checkInstancesScopedList(o["y"]); | 2293 checkInstancesScopedList(o["y"]); |
2238 } | 2294 } |
2239 | 2295 |
2240 core.int buildCounterInstanceAggregatedList = 0; | 2296 core.int buildCounterInstanceAggregatedList = 0; |
2241 buildInstanceAggregatedList() { | 2297 buildInstanceAggregatedList() { |
2242 var o = new api.InstanceAggregatedList(); | 2298 var o = new api.InstanceAggregatedList(); |
2243 buildCounterInstanceAggregatedList++; | 2299 buildCounterInstanceAggregatedList++; |
2244 if (buildCounterInstanceAggregatedList < 3) { | 2300 if (buildCounterInstanceAggregatedList < 3) { |
2245 o.id = "foo"; | 2301 o.id = "foo"; |
2246 o.items = buildUnnamed714(); | 2302 o.items = buildUnnamed2293(); |
2247 o.kind = "foo"; | 2303 o.kind = "foo"; |
2248 o.nextPageToken = "foo"; | 2304 o.nextPageToken = "foo"; |
2249 o.selfLink = "foo"; | 2305 o.selfLink = "foo"; |
2250 } | 2306 } |
2251 buildCounterInstanceAggregatedList--; | 2307 buildCounterInstanceAggregatedList--; |
2252 return o; | 2308 return o; |
2253 } | 2309 } |
2254 | 2310 |
2255 checkInstanceAggregatedList(api.InstanceAggregatedList o) { | 2311 checkInstanceAggregatedList(api.InstanceAggregatedList o) { |
2256 buildCounterInstanceAggregatedList++; | 2312 buildCounterInstanceAggregatedList++; |
2257 if (buildCounterInstanceAggregatedList < 3) { | 2313 if (buildCounterInstanceAggregatedList < 3) { |
2258 unittest.expect(o.id, unittest.equals('foo')); | 2314 unittest.expect(o.id, unittest.equals('foo')); |
2259 checkUnnamed714(o.items); | 2315 checkUnnamed2293(o.items); |
2260 unittest.expect(o.kind, unittest.equals('foo')); | 2316 unittest.expect(o.kind, unittest.equals('foo')); |
2261 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2317 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2262 unittest.expect(o.selfLink, unittest.equals('foo')); | 2318 unittest.expect(o.selfLink, unittest.equals('foo')); |
2263 } | 2319 } |
2264 buildCounterInstanceAggregatedList--; | 2320 buildCounterInstanceAggregatedList--; |
2265 } | 2321 } |
2266 | 2322 |
2267 buildUnnamed715() { | 2323 buildUnnamed2294() { |
2268 var o = new core.List<api.NamedPort>(); | 2324 var o = new core.List<api.NamedPort>(); |
2269 o.add(buildNamedPort()); | 2325 o.add(buildNamedPort()); |
2270 o.add(buildNamedPort()); | 2326 o.add(buildNamedPort()); |
2271 return o; | 2327 return o; |
2272 } | 2328 } |
2273 | 2329 |
2274 checkUnnamed715(core.List<api.NamedPort> o) { | 2330 checkUnnamed2294(core.List<api.NamedPort> o) { |
2275 unittest.expect(o, unittest.hasLength(2)); | 2331 unittest.expect(o, unittest.hasLength(2)); |
2276 checkNamedPort(o[0]); | 2332 checkNamedPort(o[0]); |
2277 checkNamedPort(o[1]); | 2333 checkNamedPort(o[1]); |
2278 } | 2334 } |
2279 | 2335 |
2280 core.int buildCounterInstanceGroup = 0; | 2336 core.int buildCounterInstanceGroup = 0; |
2281 buildInstanceGroup() { | 2337 buildInstanceGroup() { |
2282 var o = new api.InstanceGroup(); | 2338 var o = new api.InstanceGroup(); |
2283 buildCounterInstanceGroup++; | 2339 buildCounterInstanceGroup++; |
2284 if (buildCounterInstanceGroup < 3) { | 2340 if (buildCounterInstanceGroup < 3) { |
2285 o.creationTimestamp = "foo"; | 2341 o.creationTimestamp = "foo"; |
2286 o.description = "foo"; | 2342 o.description = "foo"; |
2287 o.fingerprint = "foo"; | 2343 o.fingerprint = "foo"; |
2288 o.id = "foo"; | 2344 o.id = "foo"; |
2289 o.kind = "foo"; | 2345 o.kind = "foo"; |
2290 o.name = "foo"; | 2346 o.name = "foo"; |
2291 o.namedPorts = buildUnnamed715(); | 2347 o.namedPorts = buildUnnamed2294(); |
2292 o.network = "foo"; | 2348 o.network = "foo"; |
2293 o.selfLink = "foo"; | 2349 o.selfLink = "foo"; |
2294 o.size = 42; | 2350 o.size = 42; |
2295 o.subnetwork = "foo"; | 2351 o.subnetwork = "foo"; |
2296 o.zone = "foo"; | 2352 o.zone = "foo"; |
2297 } | 2353 } |
2298 buildCounterInstanceGroup--; | 2354 buildCounterInstanceGroup--; |
2299 return o; | 2355 return o; |
2300 } | 2356 } |
2301 | 2357 |
2302 checkInstanceGroup(api.InstanceGroup o) { | 2358 checkInstanceGroup(api.InstanceGroup o) { |
2303 buildCounterInstanceGroup++; | 2359 buildCounterInstanceGroup++; |
2304 if (buildCounterInstanceGroup < 3) { | 2360 if (buildCounterInstanceGroup < 3) { |
2305 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2361 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2306 unittest.expect(o.description, unittest.equals('foo')); | 2362 unittest.expect(o.description, unittest.equals('foo')); |
2307 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2363 unittest.expect(o.fingerprint, unittest.equals('foo')); |
2308 unittest.expect(o.id, unittest.equals('foo')); | 2364 unittest.expect(o.id, unittest.equals('foo')); |
2309 unittest.expect(o.kind, unittest.equals('foo')); | 2365 unittest.expect(o.kind, unittest.equals('foo')); |
2310 unittest.expect(o.name, unittest.equals('foo')); | 2366 unittest.expect(o.name, unittest.equals('foo')); |
2311 checkUnnamed715(o.namedPorts); | 2367 checkUnnamed2294(o.namedPorts); |
2312 unittest.expect(o.network, unittest.equals('foo')); | 2368 unittest.expect(o.network, unittest.equals('foo')); |
2313 unittest.expect(o.selfLink, unittest.equals('foo')); | 2369 unittest.expect(o.selfLink, unittest.equals('foo')); |
2314 unittest.expect(o.size, unittest.equals(42)); | 2370 unittest.expect(o.size, unittest.equals(42)); |
2315 unittest.expect(o.subnetwork, unittest.equals('foo')); | 2371 unittest.expect(o.subnetwork, unittest.equals('foo')); |
2316 unittest.expect(o.zone, unittest.equals('foo')); | 2372 unittest.expect(o.zone, unittest.equals('foo')); |
2317 } | 2373 } |
2318 buildCounterInstanceGroup--; | 2374 buildCounterInstanceGroup--; |
2319 } | 2375 } |
2320 | 2376 |
2321 buildUnnamed716() { | 2377 buildUnnamed2295() { |
2322 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); | 2378 var o = new core.Map<core.String, api.InstanceGroupsScopedList>(); |
2323 o["x"] = buildInstanceGroupsScopedList(); | 2379 o["x"] = buildInstanceGroupsScopedList(); |
2324 o["y"] = buildInstanceGroupsScopedList(); | 2380 o["y"] = buildInstanceGroupsScopedList(); |
2325 return o; | 2381 return o; |
2326 } | 2382 } |
2327 | 2383 |
2328 checkUnnamed716(core.Map<core.String, api.InstanceGroupsScopedList> o) { | 2384 checkUnnamed2295(core.Map<core.String, api.InstanceGroupsScopedList> o) { |
2329 unittest.expect(o, unittest.hasLength(2)); | 2385 unittest.expect(o, unittest.hasLength(2)); |
2330 checkInstanceGroupsScopedList(o["x"]); | 2386 checkInstanceGroupsScopedList(o["x"]); |
2331 checkInstanceGroupsScopedList(o["y"]); | 2387 checkInstanceGroupsScopedList(o["y"]); |
2332 } | 2388 } |
2333 | 2389 |
2334 core.int buildCounterInstanceGroupAggregatedList = 0; | 2390 core.int buildCounterInstanceGroupAggregatedList = 0; |
2335 buildInstanceGroupAggregatedList() { | 2391 buildInstanceGroupAggregatedList() { |
2336 var o = new api.InstanceGroupAggregatedList(); | 2392 var o = new api.InstanceGroupAggregatedList(); |
2337 buildCounterInstanceGroupAggregatedList++; | 2393 buildCounterInstanceGroupAggregatedList++; |
2338 if (buildCounterInstanceGroupAggregatedList < 3) { | 2394 if (buildCounterInstanceGroupAggregatedList < 3) { |
2339 o.id = "foo"; | 2395 o.id = "foo"; |
2340 o.items = buildUnnamed716(); | 2396 o.items = buildUnnamed2295(); |
2341 o.kind = "foo"; | 2397 o.kind = "foo"; |
2342 o.nextPageToken = "foo"; | 2398 o.nextPageToken = "foo"; |
2343 o.selfLink = "foo"; | 2399 o.selfLink = "foo"; |
2344 } | 2400 } |
2345 buildCounterInstanceGroupAggregatedList--; | 2401 buildCounterInstanceGroupAggregatedList--; |
2346 return o; | 2402 return o; |
2347 } | 2403 } |
2348 | 2404 |
2349 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { | 2405 checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) { |
2350 buildCounterInstanceGroupAggregatedList++; | 2406 buildCounterInstanceGroupAggregatedList++; |
2351 if (buildCounterInstanceGroupAggregatedList < 3) { | 2407 if (buildCounterInstanceGroupAggregatedList < 3) { |
2352 unittest.expect(o.id, unittest.equals('foo')); | 2408 unittest.expect(o.id, unittest.equals('foo')); |
2353 checkUnnamed716(o.items); | 2409 checkUnnamed2295(o.items); |
2354 unittest.expect(o.kind, unittest.equals('foo')); | 2410 unittest.expect(o.kind, unittest.equals('foo')); |
2355 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2411 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2356 unittest.expect(o.selfLink, unittest.equals('foo')); | 2412 unittest.expect(o.selfLink, unittest.equals('foo')); |
2357 } | 2413 } |
2358 buildCounterInstanceGroupAggregatedList--; | 2414 buildCounterInstanceGroupAggregatedList--; |
2359 } | 2415 } |
2360 | 2416 |
2361 buildUnnamed717() { | 2417 buildUnnamed2296() { |
2362 var o = new core.List<api.InstanceGroup>(); | 2418 var o = new core.List<api.InstanceGroup>(); |
2363 o.add(buildInstanceGroup()); | 2419 o.add(buildInstanceGroup()); |
2364 o.add(buildInstanceGroup()); | 2420 o.add(buildInstanceGroup()); |
2365 return o; | 2421 return o; |
2366 } | 2422 } |
2367 | 2423 |
2368 checkUnnamed717(core.List<api.InstanceGroup> o) { | 2424 checkUnnamed2296(core.List<api.InstanceGroup> o) { |
2369 unittest.expect(o, unittest.hasLength(2)); | 2425 unittest.expect(o, unittest.hasLength(2)); |
2370 checkInstanceGroup(o[0]); | 2426 checkInstanceGroup(o[0]); |
2371 checkInstanceGroup(o[1]); | 2427 checkInstanceGroup(o[1]); |
2372 } | 2428 } |
2373 | 2429 |
2374 core.int buildCounterInstanceGroupList = 0; | 2430 core.int buildCounterInstanceGroupList = 0; |
2375 buildInstanceGroupList() { | 2431 buildInstanceGroupList() { |
2376 var o = new api.InstanceGroupList(); | 2432 var o = new api.InstanceGroupList(); |
2377 buildCounterInstanceGroupList++; | 2433 buildCounterInstanceGroupList++; |
2378 if (buildCounterInstanceGroupList < 3) { | 2434 if (buildCounterInstanceGroupList < 3) { |
2379 o.id = "foo"; | 2435 o.id = "foo"; |
2380 o.items = buildUnnamed717(); | 2436 o.items = buildUnnamed2296(); |
2381 o.kind = "foo"; | 2437 o.kind = "foo"; |
2382 o.nextPageToken = "foo"; | 2438 o.nextPageToken = "foo"; |
2383 o.selfLink = "foo"; | 2439 o.selfLink = "foo"; |
2384 } | 2440 } |
2385 buildCounterInstanceGroupList--; | 2441 buildCounterInstanceGroupList--; |
2386 return o; | 2442 return o; |
2387 } | 2443 } |
2388 | 2444 |
2389 checkInstanceGroupList(api.InstanceGroupList o) { | 2445 checkInstanceGroupList(api.InstanceGroupList o) { |
2390 buildCounterInstanceGroupList++; | 2446 buildCounterInstanceGroupList++; |
2391 if (buildCounterInstanceGroupList < 3) { | 2447 if (buildCounterInstanceGroupList < 3) { |
2392 unittest.expect(o.id, unittest.equals('foo')); | 2448 unittest.expect(o.id, unittest.equals('foo')); |
2393 checkUnnamed717(o.items); | 2449 checkUnnamed2296(o.items); |
2394 unittest.expect(o.kind, unittest.equals('foo')); | 2450 unittest.expect(o.kind, unittest.equals('foo')); |
2395 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2451 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2396 unittest.expect(o.selfLink, unittest.equals('foo')); | 2452 unittest.expect(o.selfLink, unittest.equals('foo')); |
2397 } | 2453 } |
2398 buildCounterInstanceGroupList--; | 2454 buildCounterInstanceGroupList--; |
2399 } | 2455 } |
2400 | 2456 |
2401 buildUnnamed718() { | 2457 buildUnnamed2297() { |
2402 var o = new core.List<api.NamedPort>(); | 2458 var o = new core.List<api.NamedPort>(); |
2403 o.add(buildNamedPort()); | 2459 o.add(buildNamedPort()); |
2404 o.add(buildNamedPort()); | 2460 o.add(buildNamedPort()); |
2405 return o; | 2461 return o; |
2406 } | 2462 } |
2407 | 2463 |
2408 checkUnnamed718(core.List<api.NamedPort> o) { | 2464 checkUnnamed2297(core.List<api.NamedPort> o) { |
2409 unittest.expect(o, unittest.hasLength(2)); | 2465 unittest.expect(o, unittest.hasLength(2)); |
2410 checkNamedPort(o[0]); | 2466 checkNamedPort(o[0]); |
2411 checkNamedPort(o[1]); | 2467 checkNamedPort(o[1]); |
2412 } | 2468 } |
2413 | 2469 |
2414 buildUnnamed719() { | 2470 buildUnnamed2298() { |
2415 var o = new core.List<core.String>(); | 2471 var o = new core.List<core.String>(); |
2416 o.add("foo"); | 2472 o.add("foo"); |
2417 o.add("foo"); | 2473 o.add("foo"); |
2418 return o; | 2474 return o; |
2419 } | 2475 } |
2420 | 2476 |
2421 checkUnnamed719(core.List<core.String> o) { | 2477 checkUnnamed2298(core.List<core.String> o) { |
2422 unittest.expect(o, unittest.hasLength(2)); | 2478 unittest.expect(o, unittest.hasLength(2)); |
2423 unittest.expect(o[0], unittest.equals('foo')); | 2479 unittest.expect(o[0], unittest.equals('foo')); |
2424 unittest.expect(o[1], unittest.equals('foo')); | 2480 unittest.expect(o[1], unittest.equals('foo')); |
2425 } | 2481 } |
2426 | 2482 |
2427 core.int buildCounterInstanceGroupManager = 0; | 2483 core.int buildCounterInstanceGroupManager = 0; |
2428 buildInstanceGroupManager() { | 2484 buildInstanceGroupManager() { |
2429 var o = new api.InstanceGroupManager(); | 2485 var o = new api.InstanceGroupManager(); |
2430 buildCounterInstanceGroupManager++; | 2486 buildCounterInstanceGroupManager++; |
2431 if (buildCounterInstanceGroupManager < 3) { | 2487 if (buildCounterInstanceGroupManager < 3) { |
2432 o.baseInstanceName = "foo"; | 2488 o.baseInstanceName = "foo"; |
2433 o.creationTimestamp = "foo"; | 2489 o.creationTimestamp = "foo"; |
2434 o.currentActions = buildInstanceGroupManagerActionsSummary(); | 2490 o.currentActions = buildInstanceGroupManagerActionsSummary(); |
2435 o.description = "foo"; | 2491 o.description = "foo"; |
2436 o.fingerprint = "foo"; | 2492 o.fingerprint = "foo"; |
2437 o.id = "foo"; | 2493 o.id = "foo"; |
2438 o.instanceGroup = "foo"; | 2494 o.instanceGroup = "foo"; |
2439 o.instanceTemplate = "foo"; | 2495 o.instanceTemplate = "foo"; |
2440 o.kind = "foo"; | 2496 o.kind = "foo"; |
2441 o.name = "foo"; | 2497 o.name = "foo"; |
2442 o.namedPorts = buildUnnamed718(); | 2498 o.namedPorts = buildUnnamed2297(); |
2443 o.selfLink = "foo"; | 2499 o.selfLink = "foo"; |
2444 o.targetPools = buildUnnamed719(); | 2500 o.targetPools = buildUnnamed2298(); |
2445 o.targetSize = 42; | 2501 o.targetSize = 42; |
2446 o.zone = "foo"; | 2502 o.zone = "foo"; |
2447 } | 2503 } |
2448 buildCounterInstanceGroupManager--; | 2504 buildCounterInstanceGroupManager--; |
2449 return o; | 2505 return o; |
2450 } | 2506 } |
2451 | 2507 |
2452 checkInstanceGroupManager(api.InstanceGroupManager o) { | 2508 checkInstanceGroupManager(api.InstanceGroupManager o) { |
2453 buildCounterInstanceGroupManager++; | 2509 buildCounterInstanceGroupManager++; |
2454 if (buildCounterInstanceGroupManager < 3) { | 2510 if (buildCounterInstanceGroupManager < 3) { |
2455 unittest.expect(o.baseInstanceName, unittest.equals('foo')); | 2511 unittest.expect(o.baseInstanceName, unittest.equals('foo')); |
2456 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 2512 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
2457 checkInstanceGroupManagerActionsSummary(o.currentActions); | 2513 checkInstanceGroupManagerActionsSummary(o.currentActions); |
2458 unittest.expect(o.description, unittest.equals('foo')); | 2514 unittest.expect(o.description, unittest.equals('foo')); |
2459 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2515 unittest.expect(o.fingerprint, unittest.equals('foo')); |
2460 unittest.expect(o.id, unittest.equals('foo')); | 2516 unittest.expect(o.id, unittest.equals('foo')); |
2461 unittest.expect(o.instanceGroup, unittest.equals('foo')); | 2517 unittest.expect(o.instanceGroup, unittest.equals('foo')); |
2462 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 2518 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
2463 unittest.expect(o.kind, unittest.equals('foo')); | 2519 unittest.expect(o.kind, unittest.equals('foo')); |
2464 unittest.expect(o.name, unittest.equals('foo')); | 2520 unittest.expect(o.name, unittest.equals('foo')); |
2465 checkUnnamed718(o.namedPorts); | 2521 checkUnnamed2297(o.namedPorts); |
2466 unittest.expect(o.selfLink, unittest.equals('foo')); | 2522 unittest.expect(o.selfLink, unittest.equals('foo')); |
2467 checkUnnamed719(o.targetPools); | 2523 checkUnnamed2298(o.targetPools); |
2468 unittest.expect(o.targetSize, unittest.equals(42)); | 2524 unittest.expect(o.targetSize, unittest.equals(42)); |
2469 unittest.expect(o.zone, unittest.equals('foo')); | 2525 unittest.expect(o.zone, unittest.equals('foo')); |
2470 } | 2526 } |
2471 buildCounterInstanceGroupManager--; | 2527 buildCounterInstanceGroupManager--; |
2472 } | 2528 } |
2473 | 2529 |
2474 core.int buildCounterInstanceGroupManagerActionsSummary = 0; | 2530 core.int buildCounterInstanceGroupManagerActionsSummary = 0; |
2475 buildInstanceGroupManagerActionsSummary() { | 2531 buildInstanceGroupManagerActionsSummary() { |
2476 var o = new api.InstanceGroupManagerActionsSummary(); | 2532 var o = new api.InstanceGroupManagerActionsSummary(); |
2477 buildCounterInstanceGroupManagerActionsSummary++; | 2533 buildCounterInstanceGroupManagerActionsSummary++; |
(...skipping 17 matching lines...) Expand all Loading... |
2495 unittest.expect(o.creating, unittest.equals(42)); | 2551 unittest.expect(o.creating, unittest.equals(42)); |
2496 unittest.expect(o.deleting, unittest.equals(42)); | 2552 unittest.expect(o.deleting, unittest.equals(42)); |
2497 unittest.expect(o.none, unittest.equals(42)); | 2553 unittest.expect(o.none, unittest.equals(42)); |
2498 unittest.expect(o.recreating, unittest.equals(42)); | 2554 unittest.expect(o.recreating, unittest.equals(42)); |
2499 unittest.expect(o.refreshing, unittest.equals(42)); | 2555 unittest.expect(o.refreshing, unittest.equals(42)); |
2500 unittest.expect(o.restarting, unittest.equals(42)); | 2556 unittest.expect(o.restarting, unittest.equals(42)); |
2501 } | 2557 } |
2502 buildCounterInstanceGroupManagerActionsSummary--; | 2558 buildCounterInstanceGroupManagerActionsSummary--; |
2503 } | 2559 } |
2504 | 2560 |
2505 buildUnnamed720() { | 2561 buildUnnamed2299() { |
2506 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); | 2562 var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>(); |
2507 o["x"] = buildInstanceGroupManagersScopedList(); | 2563 o["x"] = buildInstanceGroupManagersScopedList(); |
2508 o["y"] = buildInstanceGroupManagersScopedList(); | 2564 o["y"] = buildInstanceGroupManagersScopedList(); |
2509 return o; | 2565 return o; |
2510 } | 2566 } |
2511 | 2567 |
2512 checkUnnamed720(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { | 2568 checkUnnamed2299(core.Map<core.String, api.InstanceGroupManagersScopedList> o) { |
2513 unittest.expect(o, unittest.hasLength(2)); | 2569 unittest.expect(o, unittest.hasLength(2)); |
2514 checkInstanceGroupManagersScopedList(o["x"]); | 2570 checkInstanceGroupManagersScopedList(o["x"]); |
2515 checkInstanceGroupManagersScopedList(o["y"]); | 2571 checkInstanceGroupManagersScopedList(o["y"]); |
2516 } | 2572 } |
2517 | 2573 |
2518 core.int buildCounterInstanceGroupManagerAggregatedList = 0; | 2574 core.int buildCounterInstanceGroupManagerAggregatedList = 0; |
2519 buildInstanceGroupManagerAggregatedList() { | 2575 buildInstanceGroupManagerAggregatedList() { |
2520 var o = new api.InstanceGroupManagerAggregatedList(); | 2576 var o = new api.InstanceGroupManagerAggregatedList(); |
2521 buildCounterInstanceGroupManagerAggregatedList++; | 2577 buildCounterInstanceGroupManagerAggregatedList++; |
2522 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 2578 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
2523 o.id = "foo"; | 2579 o.id = "foo"; |
2524 o.items = buildUnnamed720(); | 2580 o.items = buildUnnamed2299(); |
2525 o.kind = "foo"; | 2581 o.kind = "foo"; |
2526 o.nextPageToken = "foo"; | 2582 o.nextPageToken = "foo"; |
2527 o.selfLink = "foo"; | 2583 o.selfLink = "foo"; |
2528 } | 2584 } |
2529 buildCounterInstanceGroupManagerAggregatedList--; | 2585 buildCounterInstanceGroupManagerAggregatedList--; |
2530 return o; | 2586 return o; |
2531 } | 2587 } |
2532 | 2588 |
2533 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { | 2589 checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
) { |
2534 buildCounterInstanceGroupManagerAggregatedList++; | 2590 buildCounterInstanceGroupManagerAggregatedList++; |
2535 if (buildCounterInstanceGroupManagerAggregatedList < 3) { | 2591 if (buildCounterInstanceGroupManagerAggregatedList < 3) { |
2536 unittest.expect(o.id, unittest.equals('foo')); | 2592 unittest.expect(o.id, unittest.equals('foo')); |
2537 checkUnnamed720(o.items); | 2593 checkUnnamed2299(o.items); |
2538 unittest.expect(o.kind, unittest.equals('foo')); | 2594 unittest.expect(o.kind, unittest.equals('foo')); |
2539 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2595 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2540 unittest.expect(o.selfLink, unittest.equals('foo')); | 2596 unittest.expect(o.selfLink, unittest.equals('foo')); |
2541 } | 2597 } |
2542 buildCounterInstanceGroupManagerAggregatedList--; | 2598 buildCounterInstanceGroupManagerAggregatedList--; |
2543 } | 2599 } |
2544 | 2600 |
2545 buildUnnamed721() { | 2601 buildUnnamed2300() { |
2546 var o = new core.List<api.InstanceGroupManager>(); | 2602 var o = new core.List<api.InstanceGroupManager>(); |
2547 o.add(buildInstanceGroupManager()); | 2603 o.add(buildInstanceGroupManager()); |
2548 o.add(buildInstanceGroupManager()); | 2604 o.add(buildInstanceGroupManager()); |
2549 return o; | 2605 return o; |
2550 } | 2606 } |
2551 | 2607 |
2552 checkUnnamed721(core.List<api.InstanceGroupManager> o) { | 2608 checkUnnamed2300(core.List<api.InstanceGroupManager> o) { |
2553 unittest.expect(o, unittest.hasLength(2)); | 2609 unittest.expect(o, unittest.hasLength(2)); |
2554 checkInstanceGroupManager(o[0]); | 2610 checkInstanceGroupManager(o[0]); |
2555 checkInstanceGroupManager(o[1]); | 2611 checkInstanceGroupManager(o[1]); |
2556 } | 2612 } |
2557 | 2613 |
2558 core.int buildCounterInstanceGroupManagerList = 0; | 2614 core.int buildCounterInstanceGroupManagerList = 0; |
2559 buildInstanceGroupManagerList() { | 2615 buildInstanceGroupManagerList() { |
2560 var o = new api.InstanceGroupManagerList(); | 2616 var o = new api.InstanceGroupManagerList(); |
2561 buildCounterInstanceGroupManagerList++; | 2617 buildCounterInstanceGroupManagerList++; |
2562 if (buildCounterInstanceGroupManagerList < 3) { | 2618 if (buildCounterInstanceGroupManagerList < 3) { |
2563 o.id = "foo"; | 2619 o.id = "foo"; |
2564 o.items = buildUnnamed721(); | 2620 o.items = buildUnnamed2300(); |
2565 o.kind = "foo"; | 2621 o.kind = "foo"; |
2566 o.nextPageToken = "foo"; | 2622 o.nextPageToken = "foo"; |
2567 o.selfLink = "foo"; | 2623 o.selfLink = "foo"; |
2568 } | 2624 } |
2569 buildCounterInstanceGroupManagerList--; | 2625 buildCounterInstanceGroupManagerList--; |
2570 return o; | 2626 return o; |
2571 } | 2627 } |
2572 | 2628 |
2573 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { | 2629 checkInstanceGroupManagerList(api.InstanceGroupManagerList o) { |
2574 buildCounterInstanceGroupManagerList++; | 2630 buildCounterInstanceGroupManagerList++; |
2575 if (buildCounterInstanceGroupManagerList < 3) { | 2631 if (buildCounterInstanceGroupManagerList < 3) { |
2576 unittest.expect(o.id, unittest.equals('foo')); | 2632 unittest.expect(o.id, unittest.equals('foo')); |
2577 checkUnnamed721(o.items); | 2633 checkUnnamed2300(o.items); |
2578 unittest.expect(o.kind, unittest.equals('foo')); | 2634 unittest.expect(o.kind, unittest.equals('foo')); |
2579 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2635 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2580 unittest.expect(o.selfLink, unittest.equals('foo')); | 2636 unittest.expect(o.selfLink, unittest.equals('foo')); |
2581 } | 2637 } |
2582 buildCounterInstanceGroupManagerList--; | 2638 buildCounterInstanceGroupManagerList--; |
2583 } | 2639 } |
2584 | 2640 |
2585 buildUnnamed722() { | 2641 buildUnnamed2301() { |
2586 var o = new core.List<core.String>(); | 2642 var o = new core.List<core.String>(); |
2587 o.add("foo"); | 2643 o.add("foo"); |
2588 o.add("foo"); | 2644 o.add("foo"); |
2589 return o; | 2645 return o; |
2590 } | 2646 } |
2591 | 2647 |
2592 checkUnnamed722(core.List<core.String> o) { | 2648 checkUnnamed2301(core.List<core.String> o) { |
2593 unittest.expect(o, unittest.hasLength(2)); | 2649 unittest.expect(o, unittest.hasLength(2)); |
2594 unittest.expect(o[0], unittest.equals('foo')); | 2650 unittest.expect(o[0], unittest.equals('foo')); |
2595 unittest.expect(o[1], unittest.equals('foo')); | 2651 unittest.expect(o[1], unittest.equals('foo')); |
2596 } | 2652 } |
2597 | 2653 |
2598 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; | 2654 core.int buildCounterInstanceGroupManagersAbandonInstancesRequest = 0; |
2599 buildInstanceGroupManagersAbandonInstancesRequest() { | 2655 buildInstanceGroupManagersAbandonInstancesRequest() { |
2600 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); | 2656 var o = new api.InstanceGroupManagersAbandonInstancesRequest(); |
2601 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 2657 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
2602 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 2658 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
2603 o.instances = buildUnnamed722(); | 2659 o.instances = buildUnnamed2301(); |
2604 } | 2660 } |
2605 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 2661 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
2606 return o; | 2662 return o; |
2607 } | 2663 } |
2608 | 2664 |
2609 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { | 2665 checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAband
onInstancesRequest o) { |
2610 buildCounterInstanceGroupManagersAbandonInstancesRequest++; | 2666 buildCounterInstanceGroupManagersAbandonInstancesRequest++; |
2611 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { | 2667 if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) { |
2612 checkUnnamed722(o.instances); | 2668 checkUnnamed2301(o.instances); |
2613 } | 2669 } |
2614 buildCounterInstanceGroupManagersAbandonInstancesRequest--; | 2670 buildCounterInstanceGroupManagersAbandonInstancesRequest--; |
2615 } | 2671 } |
2616 | 2672 |
2617 buildUnnamed723() { | 2673 buildUnnamed2302() { |
2618 var o = new core.List<core.String>(); | 2674 var o = new core.List<core.String>(); |
2619 o.add("foo"); | 2675 o.add("foo"); |
2620 o.add("foo"); | 2676 o.add("foo"); |
2621 return o; | 2677 return o; |
2622 } | 2678 } |
2623 | 2679 |
2624 checkUnnamed723(core.List<core.String> o) { | 2680 checkUnnamed2302(core.List<core.String> o) { |
2625 unittest.expect(o, unittest.hasLength(2)); | 2681 unittest.expect(o, unittest.hasLength(2)); |
2626 unittest.expect(o[0], unittest.equals('foo')); | 2682 unittest.expect(o[0], unittest.equals('foo')); |
2627 unittest.expect(o[1], unittest.equals('foo')); | 2683 unittest.expect(o[1], unittest.equals('foo')); |
2628 } | 2684 } |
2629 | 2685 |
2630 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; | 2686 core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0; |
2631 buildInstanceGroupManagersDeleteInstancesRequest() { | 2687 buildInstanceGroupManagersDeleteInstancesRequest() { |
2632 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); | 2688 var o = new api.InstanceGroupManagersDeleteInstancesRequest(); |
2633 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 2689 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
2634 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 2690 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
2635 o.instances = buildUnnamed723(); | 2691 o.instances = buildUnnamed2302(); |
2636 } | 2692 } |
2637 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 2693 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
2638 return o; | 2694 return o; |
2639 } | 2695 } |
2640 | 2696 |
2641 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { | 2697 checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDelete
InstancesRequest o) { |
2642 buildCounterInstanceGroupManagersDeleteInstancesRequest++; | 2698 buildCounterInstanceGroupManagersDeleteInstancesRequest++; |
2643 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { | 2699 if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) { |
2644 checkUnnamed723(o.instances); | 2700 checkUnnamed2302(o.instances); |
2645 } | 2701 } |
2646 buildCounterInstanceGroupManagersDeleteInstancesRequest--; | 2702 buildCounterInstanceGroupManagersDeleteInstancesRequest--; |
2647 } | 2703 } |
2648 | 2704 |
2649 buildUnnamed724() { | 2705 buildUnnamed2303() { |
2650 var o = new core.List<api.ManagedInstance>(); | 2706 var o = new core.List<api.ManagedInstance>(); |
2651 o.add(buildManagedInstance()); | 2707 o.add(buildManagedInstance()); |
2652 o.add(buildManagedInstance()); | 2708 o.add(buildManagedInstance()); |
2653 return o; | 2709 return o; |
2654 } | 2710 } |
2655 | 2711 |
2656 checkUnnamed724(core.List<api.ManagedInstance> o) { | 2712 checkUnnamed2303(core.List<api.ManagedInstance> o) { |
2657 unittest.expect(o, unittest.hasLength(2)); | 2713 unittest.expect(o, unittest.hasLength(2)); |
2658 checkManagedInstance(o[0]); | 2714 checkManagedInstance(o[0]); |
2659 checkManagedInstance(o[1]); | 2715 checkManagedInstance(o[1]); |
2660 } | 2716 } |
2661 | 2717 |
2662 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; | 2718 core.int buildCounterInstanceGroupManagersListManagedInstancesResponse = 0; |
2663 buildInstanceGroupManagersListManagedInstancesResponse() { | 2719 buildInstanceGroupManagersListManagedInstancesResponse() { |
2664 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); | 2720 var o = new api.InstanceGroupManagersListManagedInstancesResponse(); |
2665 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 2721 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
2666 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 2722 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
2667 o.managedInstances = buildUnnamed724(); | 2723 o.managedInstances = buildUnnamed2303(); |
2668 } | 2724 } |
2669 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 2725 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
2670 return o; | 2726 return o; |
2671 } | 2727 } |
2672 | 2728 |
2673 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { | 2729 checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagers
ListManagedInstancesResponse o) { |
2674 buildCounterInstanceGroupManagersListManagedInstancesResponse++; | 2730 buildCounterInstanceGroupManagersListManagedInstancesResponse++; |
2675 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { | 2731 if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) { |
2676 checkUnnamed724(o.managedInstances); | 2732 checkUnnamed2303(o.managedInstances); |
2677 } | 2733 } |
2678 buildCounterInstanceGroupManagersListManagedInstancesResponse--; | 2734 buildCounterInstanceGroupManagersListManagedInstancesResponse--; |
2679 } | 2735 } |
2680 | 2736 |
2681 buildUnnamed725() { | 2737 buildUnnamed2304() { |
2682 var o = new core.List<core.String>(); | 2738 var o = new core.List<core.String>(); |
2683 o.add("foo"); | 2739 o.add("foo"); |
2684 o.add("foo"); | 2740 o.add("foo"); |
2685 return o; | 2741 return o; |
2686 } | 2742 } |
2687 | 2743 |
2688 checkUnnamed725(core.List<core.String> o) { | 2744 checkUnnamed2304(core.List<core.String> o) { |
2689 unittest.expect(o, unittest.hasLength(2)); | 2745 unittest.expect(o, unittest.hasLength(2)); |
2690 unittest.expect(o[0], unittest.equals('foo')); | 2746 unittest.expect(o[0], unittest.equals('foo')); |
2691 unittest.expect(o[1], unittest.equals('foo')); | 2747 unittest.expect(o[1], unittest.equals('foo')); |
2692 } | 2748 } |
2693 | 2749 |
2694 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; | 2750 core.int buildCounterInstanceGroupManagersRecreateInstancesRequest = 0; |
2695 buildInstanceGroupManagersRecreateInstancesRequest() { | 2751 buildInstanceGroupManagersRecreateInstancesRequest() { |
2696 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); | 2752 var o = new api.InstanceGroupManagersRecreateInstancesRequest(); |
2697 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 2753 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
2698 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 2754 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
2699 o.instances = buildUnnamed725(); | 2755 o.instances = buildUnnamed2304(); |
2700 } | 2756 } |
2701 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 2757 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
2702 return o; | 2758 return o; |
2703 } | 2759 } |
2704 | 2760 |
2705 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { | 2761 checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecr
eateInstancesRequest o) { |
2706 buildCounterInstanceGroupManagersRecreateInstancesRequest++; | 2762 buildCounterInstanceGroupManagersRecreateInstancesRequest++; |
2707 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { | 2763 if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) { |
2708 checkUnnamed725(o.instances); | 2764 checkUnnamed2304(o.instances); |
2709 } | 2765 } |
2710 buildCounterInstanceGroupManagersRecreateInstancesRequest--; | 2766 buildCounterInstanceGroupManagersRecreateInstancesRequest--; |
2711 } | 2767 } |
2712 | 2768 |
2713 buildUnnamed726() { | 2769 buildUnnamed2305() { |
2714 var o = new core.List<api.InstanceGroupManager>(); | 2770 var o = new core.List<api.InstanceGroupManager>(); |
2715 o.add(buildInstanceGroupManager()); | 2771 o.add(buildInstanceGroupManager()); |
2716 o.add(buildInstanceGroupManager()); | 2772 o.add(buildInstanceGroupManager()); |
2717 return o; | 2773 return o; |
2718 } | 2774 } |
2719 | 2775 |
2720 checkUnnamed726(core.List<api.InstanceGroupManager> o) { | 2776 checkUnnamed2305(core.List<api.InstanceGroupManager> o) { |
2721 unittest.expect(o, unittest.hasLength(2)); | 2777 unittest.expect(o, unittest.hasLength(2)); |
2722 checkInstanceGroupManager(o[0]); | 2778 checkInstanceGroupManager(o[0]); |
2723 checkInstanceGroupManager(o[1]); | 2779 checkInstanceGroupManager(o[1]); |
2724 } | 2780 } |
2725 | 2781 |
2726 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; | 2782 core.int buildCounterInstanceGroupManagersScopedListWarningData = 0; |
2727 buildInstanceGroupManagersScopedListWarningData() { | 2783 buildInstanceGroupManagersScopedListWarningData() { |
2728 var o = new api.InstanceGroupManagersScopedListWarningData(); | 2784 var o = new api.InstanceGroupManagersScopedListWarningData(); |
2729 buildCounterInstanceGroupManagersScopedListWarningData++; | 2785 buildCounterInstanceGroupManagersScopedListWarningData++; |
2730 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 2786 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
2731 o.key = "foo"; | 2787 o.key = "foo"; |
2732 o.value = "foo"; | 2788 o.value = "foo"; |
2733 } | 2789 } |
2734 buildCounterInstanceGroupManagersScopedListWarningData--; | 2790 buildCounterInstanceGroupManagersScopedListWarningData--; |
2735 return o; | 2791 return o; |
2736 } | 2792 } |
2737 | 2793 |
2738 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { | 2794 checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
istWarningData o) { |
2739 buildCounterInstanceGroupManagersScopedListWarningData++; | 2795 buildCounterInstanceGroupManagersScopedListWarningData++; |
2740 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { | 2796 if (buildCounterInstanceGroupManagersScopedListWarningData < 3) { |
2741 unittest.expect(o.key, unittest.equals('foo')); | 2797 unittest.expect(o.key, unittest.equals('foo')); |
2742 unittest.expect(o.value, unittest.equals('foo')); | 2798 unittest.expect(o.value, unittest.equals('foo')); |
2743 } | 2799 } |
2744 buildCounterInstanceGroupManagersScopedListWarningData--; | 2800 buildCounterInstanceGroupManagersScopedListWarningData--; |
2745 } | 2801 } |
2746 | 2802 |
2747 buildUnnamed727() { | 2803 buildUnnamed2306() { |
2748 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); | 2804 var o = new core.List<api.InstanceGroupManagersScopedListWarningData>(); |
2749 o.add(buildInstanceGroupManagersScopedListWarningData()); | 2805 o.add(buildInstanceGroupManagersScopedListWarningData()); |
2750 o.add(buildInstanceGroupManagersScopedListWarningData()); | 2806 o.add(buildInstanceGroupManagersScopedListWarningData()); |
2751 return o; | 2807 return o; |
2752 } | 2808 } |
2753 | 2809 |
2754 checkUnnamed727(core.List<api.InstanceGroupManagersScopedListWarningData> o) { | 2810 checkUnnamed2306(core.List<api.InstanceGroupManagersScopedListWarningData> o) { |
2755 unittest.expect(o, unittest.hasLength(2)); | 2811 unittest.expect(o, unittest.hasLength(2)); |
2756 checkInstanceGroupManagersScopedListWarningData(o[0]); | 2812 checkInstanceGroupManagersScopedListWarningData(o[0]); |
2757 checkInstanceGroupManagersScopedListWarningData(o[1]); | 2813 checkInstanceGroupManagersScopedListWarningData(o[1]); |
2758 } | 2814 } |
2759 | 2815 |
2760 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; | 2816 core.int buildCounterInstanceGroupManagersScopedListWarning = 0; |
2761 buildInstanceGroupManagersScopedListWarning() { | 2817 buildInstanceGroupManagersScopedListWarning() { |
2762 var o = new api.InstanceGroupManagersScopedListWarning(); | 2818 var o = new api.InstanceGroupManagersScopedListWarning(); |
2763 buildCounterInstanceGroupManagersScopedListWarning++; | 2819 buildCounterInstanceGroupManagersScopedListWarning++; |
2764 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 2820 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
2765 o.code = "foo"; | 2821 o.code = "foo"; |
2766 o.data = buildUnnamed727(); | 2822 o.data = buildUnnamed2306(); |
2767 o.message = "foo"; | 2823 o.message = "foo"; |
2768 } | 2824 } |
2769 buildCounterInstanceGroupManagersScopedListWarning--; | 2825 buildCounterInstanceGroupManagersScopedListWarning--; |
2770 return o; | 2826 return o; |
2771 } | 2827 } |
2772 | 2828 |
2773 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { | 2829 checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
arning o) { |
2774 buildCounterInstanceGroupManagersScopedListWarning++; | 2830 buildCounterInstanceGroupManagersScopedListWarning++; |
2775 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { | 2831 if (buildCounterInstanceGroupManagersScopedListWarning < 3) { |
2776 unittest.expect(o.code, unittest.equals('foo')); | 2832 unittest.expect(o.code, unittest.equals('foo')); |
2777 checkUnnamed727(o.data); | 2833 checkUnnamed2306(o.data); |
2778 unittest.expect(o.message, unittest.equals('foo')); | 2834 unittest.expect(o.message, unittest.equals('foo')); |
2779 } | 2835 } |
2780 buildCounterInstanceGroupManagersScopedListWarning--; | 2836 buildCounterInstanceGroupManagersScopedListWarning--; |
2781 } | 2837 } |
2782 | 2838 |
2783 core.int buildCounterInstanceGroupManagersScopedList = 0; | 2839 core.int buildCounterInstanceGroupManagersScopedList = 0; |
2784 buildInstanceGroupManagersScopedList() { | 2840 buildInstanceGroupManagersScopedList() { |
2785 var o = new api.InstanceGroupManagersScopedList(); | 2841 var o = new api.InstanceGroupManagersScopedList(); |
2786 buildCounterInstanceGroupManagersScopedList++; | 2842 buildCounterInstanceGroupManagersScopedList++; |
2787 if (buildCounterInstanceGroupManagersScopedList < 3) { | 2843 if (buildCounterInstanceGroupManagersScopedList < 3) { |
2788 o.instanceGroupManagers = buildUnnamed726(); | 2844 o.instanceGroupManagers = buildUnnamed2305(); |
2789 o.warning = buildInstanceGroupManagersScopedListWarning(); | 2845 o.warning = buildInstanceGroupManagersScopedListWarning(); |
2790 } | 2846 } |
2791 buildCounterInstanceGroupManagersScopedList--; | 2847 buildCounterInstanceGroupManagersScopedList--; |
2792 return o; | 2848 return o; |
2793 } | 2849 } |
2794 | 2850 |
2795 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { | 2851 checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) { |
2796 buildCounterInstanceGroupManagersScopedList++; | 2852 buildCounterInstanceGroupManagersScopedList++; |
2797 if (buildCounterInstanceGroupManagersScopedList < 3) { | 2853 if (buildCounterInstanceGroupManagersScopedList < 3) { |
2798 checkUnnamed726(o.instanceGroupManagers); | 2854 checkUnnamed2305(o.instanceGroupManagers); |
2799 checkInstanceGroupManagersScopedListWarning(o.warning); | 2855 checkInstanceGroupManagersScopedListWarning(o.warning); |
2800 } | 2856 } |
2801 buildCounterInstanceGroupManagersScopedList--; | 2857 buildCounterInstanceGroupManagersScopedList--; |
2802 } | 2858 } |
2803 | 2859 |
2804 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; | 2860 core.int buildCounterInstanceGroupManagersSetInstanceTemplateRequest = 0; |
2805 buildInstanceGroupManagersSetInstanceTemplateRequest() { | 2861 buildInstanceGroupManagersSetInstanceTemplateRequest() { |
2806 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); | 2862 var o = new api.InstanceGroupManagersSetInstanceTemplateRequest(); |
2807 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 2863 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
2808 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 2864 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
2809 o.instanceTemplate = "foo"; | 2865 o.instanceTemplate = "foo"; |
2810 } | 2866 } |
2811 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 2867 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
2812 return o; | 2868 return o; |
2813 } | 2869 } |
2814 | 2870 |
2815 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { | 2871 checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
tInstanceTemplateRequest o) { |
2816 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; | 2872 buildCounterInstanceGroupManagersSetInstanceTemplateRequest++; |
2817 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { | 2873 if (buildCounterInstanceGroupManagersSetInstanceTemplateRequest < 3) { |
2818 unittest.expect(o.instanceTemplate, unittest.equals('foo')); | 2874 unittest.expect(o.instanceTemplate, unittest.equals('foo')); |
2819 } | 2875 } |
2820 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; | 2876 buildCounterInstanceGroupManagersSetInstanceTemplateRequest--; |
2821 } | 2877 } |
2822 | 2878 |
2823 buildUnnamed728() { | 2879 buildUnnamed2307() { |
2824 var o = new core.List<core.String>(); | 2880 var o = new core.List<core.String>(); |
2825 o.add("foo"); | 2881 o.add("foo"); |
2826 o.add("foo"); | 2882 o.add("foo"); |
2827 return o; | 2883 return o; |
2828 } | 2884 } |
2829 | 2885 |
2830 checkUnnamed728(core.List<core.String> o) { | 2886 checkUnnamed2307(core.List<core.String> o) { |
2831 unittest.expect(o, unittest.hasLength(2)); | 2887 unittest.expect(o, unittest.hasLength(2)); |
2832 unittest.expect(o[0], unittest.equals('foo')); | 2888 unittest.expect(o[0], unittest.equals('foo')); |
2833 unittest.expect(o[1], unittest.equals('foo')); | 2889 unittest.expect(o[1], unittest.equals('foo')); |
2834 } | 2890 } |
2835 | 2891 |
2836 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; | 2892 core.int buildCounterInstanceGroupManagersSetTargetPoolsRequest = 0; |
2837 buildInstanceGroupManagersSetTargetPoolsRequest() { | 2893 buildInstanceGroupManagersSetTargetPoolsRequest() { |
2838 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); | 2894 var o = new api.InstanceGroupManagersSetTargetPoolsRequest(); |
2839 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 2895 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
2840 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 2896 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
2841 o.fingerprint = "foo"; | 2897 o.fingerprint = "foo"; |
2842 o.targetPools = buildUnnamed728(); | 2898 o.targetPools = buildUnnamed2307(); |
2843 } | 2899 } |
2844 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 2900 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
2845 return o; | 2901 return o; |
2846 } | 2902 } |
2847 | 2903 |
2848 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { | 2904 checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
etPoolsRequest o) { |
2849 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; | 2905 buildCounterInstanceGroupManagersSetTargetPoolsRequest++; |
2850 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { | 2906 if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) { |
2851 unittest.expect(o.fingerprint, unittest.equals('foo')); | 2907 unittest.expect(o.fingerprint, unittest.equals('foo')); |
2852 checkUnnamed728(o.targetPools); | 2908 checkUnnamed2307(o.targetPools); |
2853 } | 2909 } |
2854 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; | 2910 buildCounterInstanceGroupManagersSetTargetPoolsRequest--; |
2855 } | 2911 } |
2856 | 2912 |
2857 buildUnnamed729() { | 2913 buildUnnamed2308() { |
2858 var o = new core.List<api.InstanceReference>(); | 2914 var o = new core.List<api.InstanceReference>(); |
2859 o.add(buildInstanceReference()); | 2915 o.add(buildInstanceReference()); |
2860 o.add(buildInstanceReference()); | 2916 o.add(buildInstanceReference()); |
2861 return o; | 2917 return o; |
2862 } | 2918 } |
2863 | 2919 |
2864 checkUnnamed729(core.List<api.InstanceReference> o) { | 2920 checkUnnamed2308(core.List<api.InstanceReference> o) { |
2865 unittest.expect(o, unittest.hasLength(2)); | 2921 unittest.expect(o, unittest.hasLength(2)); |
2866 checkInstanceReference(o[0]); | 2922 checkInstanceReference(o[0]); |
2867 checkInstanceReference(o[1]); | 2923 checkInstanceReference(o[1]); |
2868 } | 2924 } |
2869 | 2925 |
2870 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; | 2926 core.int buildCounterInstanceGroupsAddInstancesRequest = 0; |
2871 buildInstanceGroupsAddInstancesRequest() { | 2927 buildInstanceGroupsAddInstancesRequest() { |
2872 var o = new api.InstanceGroupsAddInstancesRequest(); | 2928 var o = new api.InstanceGroupsAddInstancesRequest(); |
2873 buildCounterInstanceGroupsAddInstancesRequest++; | 2929 buildCounterInstanceGroupsAddInstancesRequest++; |
2874 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 2930 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
2875 o.instances = buildUnnamed729(); | 2931 o.instances = buildUnnamed2308(); |
2876 } | 2932 } |
2877 buildCounterInstanceGroupsAddInstancesRequest--; | 2933 buildCounterInstanceGroupsAddInstancesRequest--; |
2878 return o; | 2934 return o; |
2879 } | 2935 } |
2880 | 2936 |
2881 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ | 2937 checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o)
{ |
2882 buildCounterInstanceGroupsAddInstancesRequest++; | 2938 buildCounterInstanceGroupsAddInstancesRequest++; |
2883 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { | 2939 if (buildCounterInstanceGroupsAddInstancesRequest < 3) { |
2884 checkUnnamed729(o.instances); | 2940 checkUnnamed2308(o.instances); |
2885 } | 2941 } |
2886 buildCounterInstanceGroupsAddInstancesRequest--; | 2942 buildCounterInstanceGroupsAddInstancesRequest--; |
2887 } | 2943 } |
2888 | 2944 |
2889 buildUnnamed730() { | 2945 buildUnnamed2309() { |
2890 var o = new core.List<api.InstanceWithNamedPorts>(); | 2946 var o = new core.List<api.InstanceWithNamedPorts>(); |
2891 o.add(buildInstanceWithNamedPorts()); | 2947 o.add(buildInstanceWithNamedPorts()); |
2892 o.add(buildInstanceWithNamedPorts()); | 2948 o.add(buildInstanceWithNamedPorts()); |
2893 return o; | 2949 return o; |
2894 } | 2950 } |
2895 | 2951 |
2896 checkUnnamed730(core.List<api.InstanceWithNamedPorts> o) { | 2952 checkUnnamed2309(core.List<api.InstanceWithNamedPorts> o) { |
2897 unittest.expect(o, unittest.hasLength(2)); | 2953 unittest.expect(o, unittest.hasLength(2)); |
2898 checkInstanceWithNamedPorts(o[0]); | 2954 checkInstanceWithNamedPorts(o[0]); |
2899 checkInstanceWithNamedPorts(o[1]); | 2955 checkInstanceWithNamedPorts(o[1]); |
2900 } | 2956 } |
2901 | 2957 |
2902 core.int buildCounterInstanceGroupsListInstances = 0; | 2958 core.int buildCounterInstanceGroupsListInstances = 0; |
2903 buildInstanceGroupsListInstances() { | 2959 buildInstanceGroupsListInstances() { |
2904 var o = new api.InstanceGroupsListInstances(); | 2960 var o = new api.InstanceGroupsListInstances(); |
2905 buildCounterInstanceGroupsListInstances++; | 2961 buildCounterInstanceGroupsListInstances++; |
2906 if (buildCounterInstanceGroupsListInstances < 3) { | 2962 if (buildCounterInstanceGroupsListInstances < 3) { |
2907 o.id = "foo"; | 2963 o.id = "foo"; |
2908 o.items = buildUnnamed730(); | 2964 o.items = buildUnnamed2309(); |
2909 o.kind = "foo"; | 2965 o.kind = "foo"; |
2910 o.nextPageToken = "foo"; | 2966 o.nextPageToken = "foo"; |
2911 o.selfLink = "foo"; | 2967 o.selfLink = "foo"; |
2912 } | 2968 } |
2913 buildCounterInstanceGroupsListInstances--; | 2969 buildCounterInstanceGroupsListInstances--; |
2914 return o; | 2970 return o; |
2915 } | 2971 } |
2916 | 2972 |
2917 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { | 2973 checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) { |
2918 buildCounterInstanceGroupsListInstances++; | 2974 buildCounterInstanceGroupsListInstances++; |
2919 if (buildCounterInstanceGroupsListInstances < 3) { | 2975 if (buildCounterInstanceGroupsListInstances < 3) { |
2920 unittest.expect(o.id, unittest.equals('foo')); | 2976 unittest.expect(o.id, unittest.equals('foo')); |
2921 checkUnnamed730(o.items); | 2977 checkUnnamed2309(o.items); |
2922 unittest.expect(o.kind, unittest.equals('foo')); | 2978 unittest.expect(o.kind, unittest.equals('foo')); |
2923 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2979 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2924 unittest.expect(o.selfLink, unittest.equals('foo')); | 2980 unittest.expect(o.selfLink, unittest.equals('foo')); |
2925 } | 2981 } |
2926 buildCounterInstanceGroupsListInstances--; | 2982 buildCounterInstanceGroupsListInstances--; |
2927 } | 2983 } |
2928 | 2984 |
2929 core.int buildCounterInstanceGroupsListInstancesRequest = 0; | 2985 core.int buildCounterInstanceGroupsListInstancesRequest = 0; |
2930 buildInstanceGroupsListInstancesRequest() { | 2986 buildInstanceGroupsListInstancesRequest() { |
2931 var o = new api.InstanceGroupsListInstancesRequest(); | 2987 var o = new api.InstanceGroupsListInstancesRequest(); |
2932 buildCounterInstanceGroupsListInstancesRequest++; | 2988 buildCounterInstanceGroupsListInstancesRequest++; |
2933 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 2989 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
2934 o.instanceState = "foo"; | 2990 o.instanceState = "foo"; |
2935 } | 2991 } |
2936 buildCounterInstanceGroupsListInstancesRequest--; | 2992 buildCounterInstanceGroupsListInstancesRequest--; |
2937 return o; | 2993 return o; |
2938 } | 2994 } |
2939 | 2995 |
2940 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { | 2996 checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
) { |
2941 buildCounterInstanceGroupsListInstancesRequest++; | 2997 buildCounterInstanceGroupsListInstancesRequest++; |
2942 if (buildCounterInstanceGroupsListInstancesRequest < 3) { | 2998 if (buildCounterInstanceGroupsListInstancesRequest < 3) { |
2943 unittest.expect(o.instanceState, unittest.equals('foo')); | 2999 unittest.expect(o.instanceState, unittest.equals('foo')); |
2944 } | 3000 } |
2945 buildCounterInstanceGroupsListInstancesRequest--; | 3001 buildCounterInstanceGroupsListInstancesRequest--; |
2946 } | 3002 } |
2947 | 3003 |
2948 buildUnnamed731() { | 3004 buildUnnamed2310() { |
2949 var o = new core.List<api.InstanceReference>(); | 3005 var o = new core.List<api.InstanceReference>(); |
2950 o.add(buildInstanceReference()); | 3006 o.add(buildInstanceReference()); |
2951 o.add(buildInstanceReference()); | 3007 o.add(buildInstanceReference()); |
2952 return o; | 3008 return o; |
2953 } | 3009 } |
2954 | 3010 |
2955 checkUnnamed731(core.List<api.InstanceReference> o) { | 3011 checkUnnamed2310(core.List<api.InstanceReference> o) { |
2956 unittest.expect(o, unittest.hasLength(2)); | 3012 unittest.expect(o, unittest.hasLength(2)); |
2957 checkInstanceReference(o[0]); | 3013 checkInstanceReference(o[0]); |
2958 checkInstanceReference(o[1]); | 3014 checkInstanceReference(o[1]); |
2959 } | 3015 } |
2960 | 3016 |
2961 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; | 3017 core.int buildCounterInstanceGroupsRemoveInstancesRequest = 0; |
2962 buildInstanceGroupsRemoveInstancesRequest() { | 3018 buildInstanceGroupsRemoveInstancesRequest() { |
2963 var o = new api.InstanceGroupsRemoveInstancesRequest(); | 3019 var o = new api.InstanceGroupsRemoveInstancesRequest(); |
2964 buildCounterInstanceGroupsRemoveInstancesRequest++; | 3020 buildCounterInstanceGroupsRemoveInstancesRequest++; |
2965 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 3021 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
2966 o.instances = buildUnnamed731(); | 3022 o.instances = buildUnnamed2310(); |
2967 } | 3023 } |
2968 buildCounterInstanceGroupsRemoveInstancesRequest--; | 3024 buildCounterInstanceGroupsRemoveInstancesRequest--; |
2969 return o; | 3025 return o; |
2970 } | 3026 } |
2971 | 3027 |
2972 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { | 3028 checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesReque
st o) { |
2973 buildCounterInstanceGroupsRemoveInstancesRequest++; | 3029 buildCounterInstanceGroupsRemoveInstancesRequest++; |
2974 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { | 3030 if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) { |
2975 checkUnnamed731(o.instances); | 3031 checkUnnamed2310(o.instances); |
2976 } | 3032 } |
2977 buildCounterInstanceGroupsRemoveInstancesRequest--; | 3033 buildCounterInstanceGroupsRemoveInstancesRequest--; |
2978 } | 3034 } |
2979 | 3035 |
2980 buildUnnamed732() { | 3036 buildUnnamed2311() { |
2981 var o = new core.List<api.InstanceGroup>(); | 3037 var o = new core.List<api.InstanceGroup>(); |
2982 o.add(buildInstanceGroup()); | 3038 o.add(buildInstanceGroup()); |
2983 o.add(buildInstanceGroup()); | 3039 o.add(buildInstanceGroup()); |
2984 return o; | 3040 return o; |
2985 } | 3041 } |
2986 | 3042 |
2987 checkUnnamed732(core.List<api.InstanceGroup> o) { | 3043 checkUnnamed2311(core.List<api.InstanceGroup> o) { |
2988 unittest.expect(o, unittest.hasLength(2)); | 3044 unittest.expect(o, unittest.hasLength(2)); |
2989 checkInstanceGroup(o[0]); | 3045 checkInstanceGroup(o[0]); |
2990 checkInstanceGroup(o[1]); | 3046 checkInstanceGroup(o[1]); |
2991 } | 3047 } |
2992 | 3048 |
2993 core.int buildCounterInstanceGroupsScopedListWarningData = 0; | 3049 core.int buildCounterInstanceGroupsScopedListWarningData = 0; |
2994 buildInstanceGroupsScopedListWarningData() { | 3050 buildInstanceGroupsScopedListWarningData() { |
2995 var o = new api.InstanceGroupsScopedListWarningData(); | 3051 var o = new api.InstanceGroupsScopedListWarningData(); |
2996 buildCounterInstanceGroupsScopedListWarningData++; | 3052 buildCounterInstanceGroupsScopedListWarningData++; |
2997 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 3053 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
2998 o.key = "foo"; | 3054 o.key = "foo"; |
2999 o.value = "foo"; | 3055 o.value = "foo"; |
3000 } | 3056 } |
3001 buildCounterInstanceGroupsScopedListWarningData--; | 3057 buildCounterInstanceGroupsScopedListWarningData--; |
3002 return o; | 3058 return o; |
3003 } | 3059 } |
3004 | 3060 |
3005 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { | 3061 checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
o) { |
3006 buildCounterInstanceGroupsScopedListWarningData++; | 3062 buildCounterInstanceGroupsScopedListWarningData++; |
3007 if (buildCounterInstanceGroupsScopedListWarningData < 3) { | 3063 if (buildCounterInstanceGroupsScopedListWarningData < 3) { |
3008 unittest.expect(o.key, unittest.equals('foo')); | 3064 unittest.expect(o.key, unittest.equals('foo')); |
3009 unittest.expect(o.value, unittest.equals('foo')); | 3065 unittest.expect(o.value, unittest.equals('foo')); |
3010 } | 3066 } |
3011 buildCounterInstanceGroupsScopedListWarningData--; | 3067 buildCounterInstanceGroupsScopedListWarningData--; |
3012 } | 3068 } |
3013 | 3069 |
3014 buildUnnamed733() { | 3070 buildUnnamed2312() { |
3015 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); | 3071 var o = new core.List<api.InstanceGroupsScopedListWarningData>(); |
3016 o.add(buildInstanceGroupsScopedListWarningData()); | 3072 o.add(buildInstanceGroupsScopedListWarningData()); |
3017 o.add(buildInstanceGroupsScopedListWarningData()); | 3073 o.add(buildInstanceGroupsScopedListWarningData()); |
3018 return o; | 3074 return o; |
3019 } | 3075 } |
3020 | 3076 |
3021 checkUnnamed733(core.List<api.InstanceGroupsScopedListWarningData> o) { | 3077 checkUnnamed2312(core.List<api.InstanceGroupsScopedListWarningData> o) { |
3022 unittest.expect(o, unittest.hasLength(2)); | 3078 unittest.expect(o, unittest.hasLength(2)); |
3023 checkInstanceGroupsScopedListWarningData(o[0]); | 3079 checkInstanceGroupsScopedListWarningData(o[0]); |
3024 checkInstanceGroupsScopedListWarningData(o[1]); | 3080 checkInstanceGroupsScopedListWarningData(o[1]); |
3025 } | 3081 } |
3026 | 3082 |
3027 core.int buildCounterInstanceGroupsScopedListWarning = 0; | 3083 core.int buildCounterInstanceGroupsScopedListWarning = 0; |
3028 buildInstanceGroupsScopedListWarning() { | 3084 buildInstanceGroupsScopedListWarning() { |
3029 var o = new api.InstanceGroupsScopedListWarning(); | 3085 var o = new api.InstanceGroupsScopedListWarning(); |
3030 buildCounterInstanceGroupsScopedListWarning++; | 3086 buildCounterInstanceGroupsScopedListWarning++; |
3031 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 3087 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
3032 o.code = "foo"; | 3088 o.code = "foo"; |
3033 o.data = buildUnnamed733(); | 3089 o.data = buildUnnamed2312(); |
3034 o.message = "foo"; | 3090 o.message = "foo"; |
3035 } | 3091 } |
3036 buildCounterInstanceGroupsScopedListWarning--; | 3092 buildCounterInstanceGroupsScopedListWarning--; |
3037 return o; | 3093 return o; |
3038 } | 3094 } |
3039 | 3095 |
3040 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { | 3096 checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) { |
3041 buildCounterInstanceGroupsScopedListWarning++; | 3097 buildCounterInstanceGroupsScopedListWarning++; |
3042 if (buildCounterInstanceGroupsScopedListWarning < 3) { | 3098 if (buildCounterInstanceGroupsScopedListWarning < 3) { |
3043 unittest.expect(o.code, unittest.equals('foo')); | 3099 unittest.expect(o.code, unittest.equals('foo')); |
3044 checkUnnamed733(o.data); | 3100 checkUnnamed2312(o.data); |
3045 unittest.expect(o.message, unittest.equals('foo')); | 3101 unittest.expect(o.message, unittest.equals('foo')); |
3046 } | 3102 } |
3047 buildCounterInstanceGroupsScopedListWarning--; | 3103 buildCounterInstanceGroupsScopedListWarning--; |
3048 } | 3104 } |
3049 | 3105 |
3050 core.int buildCounterInstanceGroupsScopedList = 0; | 3106 core.int buildCounterInstanceGroupsScopedList = 0; |
3051 buildInstanceGroupsScopedList() { | 3107 buildInstanceGroupsScopedList() { |
3052 var o = new api.InstanceGroupsScopedList(); | 3108 var o = new api.InstanceGroupsScopedList(); |
3053 buildCounterInstanceGroupsScopedList++; | 3109 buildCounterInstanceGroupsScopedList++; |
3054 if (buildCounterInstanceGroupsScopedList < 3) { | 3110 if (buildCounterInstanceGroupsScopedList < 3) { |
3055 o.instanceGroups = buildUnnamed732(); | 3111 o.instanceGroups = buildUnnamed2311(); |
3056 o.warning = buildInstanceGroupsScopedListWarning(); | 3112 o.warning = buildInstanceGroupsScopedListWarning(); |
3057 } | 3113 } |
3058 buildCounterInstanceGroupsScopedList--; | 3114 buildCounterInstanceGroupsScopedList--; |
3059 return o; | 3115 return o; |
3060 } | 3116 } |
3061 | 3117 |
3062 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { | 3118 checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) { |
3063 buildCounterInstanceGroupsScopedList++; | 3119 buildCounterInstanceGroupsScopedList++; |
3064 if (buildCounterInstanceGroupsScopedList < 3) { | 3120 if (buildCounterInstanceGroupsScopedList < 3) { |
3065 checkUnnamed732(o.instanceGroups); | 3121 checkUnnamed2311(o.instanceGroups); |
3066 checkInstanceGroupsScopedListWarning(o.warning); | 3122 checkInstanceGroupsScopedListWarning(o.warning); |
3067 } | 3123 } |
3068 buildCounterInstanceGroupsScopedList--; | 3124 buildCounterInstanceGroupsScopedList--; |
3069 } | 3125 } |
3070 | 3126 |
3071 buildUnnamed734() { | 3127 buildUnnamed2313() { |
3072 var o = new core.List<api.NamedPort>(); | 3128 var o = new core.List<api.NamedPort>(); |
3073 o.add(buildNamedPort()); | 3129 o.add(buildNamedPort()); |
3074 o.add(buildNamedPort()); | 3130 o.add(buildNamedPort()); |
3075 return o; | 3131 return o; |
3076 } | 3132 } |
3077 | 3133 |
3078 checkUnnamed734(core.List<api.NamedPort> o) { | 3134 checkUnnamed2313(core.List<api.NamedPort> o) { |
3079 unittest.expect(o, unittest.hasLength(2)); | 3135 unittest.expect(o, unittest.hasLength(2)); |
3080 checkNamedPort(o[0]); | 3136 checkNamedPort(o[0]); |
3081 checkNamedPort(o[1]); | 3137 checkNamedPort(o[1]); |
3082 } | 3138 } |
3083 | 3139 |
3084 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; | 3140 core.int buildCounterInstanceGroupsSetNamedPortsRequest = 0; |
3085 buildInstanceGroupsSetNamedPortsRequest() { | 3141 buildInstanceGroupsSetNamedPortsRequest() { |
3086 var o = new api.InstanceGroupsSetNamedPortsRequest(); | 3142 var o = new api.InstanceGroupsSetNamedPortsRequest(); |
3087 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3143 buildCounterInstanceGroupsSetNamedPortsRequest++; |
3088 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3144 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
3089 o.fingerprint = "foo"; | 3145 o.fingerprint = "foo"; |
3090 o.namedPorts = buildUnnamed734(); | 3146 o.namedPorts = buildUnnamed2313(); |
3091 } | 3147 } |
3092 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3148 buildCounterInstanceGroupsSetNamedPortsRequest--; |
3093 return o; | 3149 return o; |
3094 } | 3150 } |
3095 | 3151 |
3096 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { | 3152 checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
) { |
3097 buildCounterInstanceGroupsSetNamedPortsRequest++; | 3153 buildCounterInstanceGroupsSetNamedPortsRequest++; |
3098 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { | 3154 if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) { |
3099 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3155 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3100 checkUnnamed734(o.namedPorts); | 3156 checkUnnamed2313(o.namedPorts); |
3101 } | 3157 } |
3102 buildCounterInstanceGroupsSetNamedPortsRequest--; | 3158 buildCounterInstanceGroupsSetNamedPortsRequest--; |
3103 } | 3159 } |
3104 | 3160 |
3105 buildUnnamed735() { | 3161 buildUnnamed2314() { |
3106 var o = new core.List<api.Instance>(); | 3162 var o = new core.List<api.Instance>(); |
3107 o.add(buildInstance()); | 3163 o.add(buildInstance()); |
3108 o.add(buildInstance()); | 3164 o.add(buildInstance()); |
3109 return o; | 3165 return o; |
3110 } | 3166 } |
3111 | 3167 |
3112 checkUnnamed735(core.List<api.Instance> o) { | 3168 checkUnnamed2314(core.List<api.Instance> o) { |
3113 unittest.expect(o, unittest.hasLength(2)); | 3169 unittest.expect(o, unittest.hasLength(2)); |
3114 checkInstance(o[0]); | 3170 checkInstance(o[0]); |
3115 checkInstance(o[1]); | 3171 checkInstance(o[1]); |
3116 } | 3172 } |
3117 | 3173 |
3118 core.int buildCounterInstanceList = 0; | 3174 core.int buildCounterInstanceList = 0; |
3119 buildInstanceList() { | 3175 buildInstanceList() { |
3120 var o = new api.InstanceList(); | 3176 var o = new api.InstanceList(); |
3121 buildCounterInstanceList++; | 3177 buildCounterInstanceList++; |
3122 if (buildCounterInstanceList < 3) { | 3178 if (buildCounterInstanceList < 3) { |
3123 o.id = "foo"; | 3179 o.id = "foo"; |
3124 o.items = buildUnnamed735(); | 3180 o.items = buildUnnamed2314(); |
3125 o.kind = "foo"; | 3181 o.kind = "foo"; |
3126 o.nextPageToken = "foo"; | 3182 o.nextPageToken = "foo"; |
3127 o.selfLink = "foo"; | 3183 o.selfLink = "foo"; |
3128 } | 3184 } |
3129 buildCounterInstanceList--; | 3185 buildCounterInstanceList--; |
3130 return o; | 3186 return o; |
3131 } | 3187 } |
3132 | 3188 |
3133 checkInstanceList(api.InstanceList o) { | 3189 checkInstanceList(api.InstanceList o) { |
3134 buildCounterInstanceList++; | 3190 buildCounterInstanceList++; |
3135 if (buildCounterInstanceList < 3) { | 3191 if (buildCounterInstanceList < 3) { |
3136 unittest.expect(o.id, unittest.equals('foo')); | 3192 unittest.expect(o.id, unittest.equals('foo')); |
3137 checkUnnamed735(o.items); | 3193 checkUnnamed2314(o.items); |
3138 unittest.expect(o.kind, unittest.equals('foo')); | 3194 unittest.expect(o.kind, unittest.equals('foo')); |
3139 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3195 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3140 unittest.expect(o.selfLink, unittest.equals('foo')); | 3196 unittest.expect(o.selfLink, unittest.equals('foo')); |
3141 } | 3197 } |
3142 buildCounterInstanceList--; | 3198 buildCounterInstanceList--; |
3143 } | 3199 } |
3144 | 3200 |
3145 core.int buildCounterInstanceMoveRequest = 0; | 3201 core.int buildCounterInstanceMoveRequest = 0; |
3146 buildInstanceMoveRequest() { | 3202 buildInstanceMoveRequest() { |
3147 var o = new api.InstanceMoveRequest(); | 3203 var o = new api.InstanceMoveRequest(); |
3148 buildCounterInstanceMoveRequest++; | 3204 buildCounterInstanceMoveRequest++; |
3149 if (buildCounterInstanceMoveRequest < 3) { | 3205 if (buildCounterInstanceMoveRequest < 3) { |
3150 o.destinationZone = "foo"; | 3206 o.destinationZone = "foo"; |
3151 o.targetInstance = "foo"; | 3207 o.targetInstance = "foo"; |
3152 } | 3208 } |
3153 buildCounterInstanceMoveRequest--; | 3209 buildCounterInstanceMoveRequest--; |
3154 return o; | 3210 return o; |
3155 } | 3211 } |
3156 | 3212 |
3157 checkInstanceMoveRequest(api.InstanceMoveRequest o) { | 3213 checkInstanceMoveRequest(api.InstanceMoveRequest o) { |
3158 buildCounterInstanceMoveRequest++; | 3214 buildCounterInstanceMoveRequest++; |
3159 if (buildCounterInstanceMoveRequest < 3) { | 3215 if (buildCounterInstanceMoveRequest < 3) { |
3160 unittest.expect(o.destinationZone, unittest.equals('foo')); | 3216 unittest.expect(o.destinationZone, unittest.equals('foo')); |
3161 unittest.expect(o.targetInstance, unittest.equals('foo')); | 3217 unittest.expect(o.targetInstance, unittest.equals('foo')); |
3162 } | 3218 } |
3163 buildCounterInstanceMoveRequest--; | 3219 buildCounterInstanceMoveRequest--; |
3164 } | 3220 } |
3165 | 3221 |
3166 buildUnnamed736() { | 3222 buildUnnamed2315() { |
3167 var o = new core.List<api.AttachedDisk>(); | 3223 var o = new core.List<api.AttachedDisk>(); |
3168 o.add(buildAttachedDisk()); | 3224 o.add(buildAttachedDisk()); |
3169 o.add(buildAttachedDisk()); | 3225 o.add(buildAttachedDisk()); |
3170 return o; | 3226 return o; |
3171 } | 3227 } |
3172 | 3228 |
3173 checkUnnamed736(core.List<api.AttachedDisk> o) { | 3229 checkUnnamed2315(core.List<api.AttachedDisk> o) { |
3174 unittest.expect(o, unittest.hasLength(2)); | 3230 unittest.expect(o, unittest.hasLength(2)); |
3175 checkAttachedDisk(o[0]); | 3231 checkAttachedDisk(o[0]); |
3176 checkAttachedDisk(o[1]); | 3232 checkAttachedDisk(o[1]); |
3177 } | 3233 } |
3178 | 3234 |
3179 buildUnnamed737() { | 3235 buildUnnamed2316() { |
3180 var o = new core.List<api.NetworkInterface>(); | 3236 var o = new core.List<api.NetworkInterface>(); |
3181 o.add(buildNetworkInterface()); | 3237 o.add(buildNetworkInterface()); |
3182 o.add(buildNetworkInterface()); | 3238 o.add(buildNetworkInterface()); |
3183 return o; | 3239 return o; |
3184 } | 3240 } |
3185 | 3241 |
3186 checkUnnamed737(core.List<api.NetworkInterface> o) { | 3242 checkUnnamed2316(core.List<api.NetworkInterface> o) { |
3187 unittest.expect(o, unittest.hasLength(2)); | 3243 unittest.expect(o, unittest.hasLength(2)); |
3188 checkNetworkInterface(o[0]); | 3244 checkNetworkInterface(o[0]); |
3189 checkNetworkInterface(o[1]); | 3245 checkNetworkInterface(o[1]); |
3190 } | 3246 } |
3191 | 3247 |
3192 buildUnnamed738() { | 3248 buildUnnamed2317() { |
3193 var o = new core.List<api.ServiceAccount>(); | 3249 var o = new core.List<api.ServiceAccount>(); |
3194 o.add(buildServiceAccount()); | 3250 o.add(buildServiceAccount()); |
3195 o.add(buildServiceAccount()); | 3251 o.add(buildServiceAccount()); |
3196 return o; | 3252 return o; |
3197 } | 3253 } |
3198 | 3254 |
3199 checkUnnamed738(core.List<api.ServiceAccount> o) { | 3255 checkUnnamed2317(core.List<api.ServiceAccount> o) { |
3200 unittest.expect(o, unittest.hasLength(2)); | 3256 unittest.expect(o, unittest.hasLength(2)); |
3201 checkServiceAccount(o[0]); | 3257 checkServiceAccount(o[0]); |
3202 checkServiceAccount(o[1]); | 3258 checkServiceAccount(o[1]); |
3203 } | 3259 } |
3204 | 3260 |
3205 core.int buildCounterInstanceProperties = 0; | 3261 core.int buildCounterInstanceProperties = 0; |
3206 buildInstanceProperties() { | 3262 buildInstanceProperties() { |
3207 var o = new api.InstanceProperties(); | 3263 var o = new api.InstanceProperties(); |
3208 buildCounterInstanceProperties++; | 3264 buildCounterInstanceProperties++; |
3209 if (buildCounterInstanceProperties < 3) { | 3265 if (buildCounterInstanceProperties < 3) { |
3210 o.canIpForward = true; | 3266 o.canIpForward = true; |
3211 o.description = "foo"; | 3267 o.description = "foo"; |
3212 o.disks = buildUnnamed736(); | 3268 o.disks = buildUnnamed2315(); |
3213 o.machineType = "foo"; | 3269 o.machineType = "foo"; |
3214 o.metadata = buildMetadata(); | 3270 o.metadata = buildMetadata(); |
3215 o.networkInterfaces = buildUnnamed737(); | 3271 o.networkInterfaces = buildUnnamed2316(); |
3216 o.scheduling = buildScheduling(); | 3272 o.scheduling = buildScheduling(); |
3217 o.serviceAccounts = buildUnnamed738(); | 3273 o.serviceAccounts = buildUnnamed2317(); |
3218 o.tags = buildTags(); | 3274 o.tags = buildTags(); |
3219 } | 3275 } |
3220 buildCounterInstanceProperties--; | 3276 buildCounterInstanceProperties--; |
3221 return o; | 3277 return o; |
3222 } | 3278 } |
3223 | 3279 |
3224 checkInstanceProperties(api.InstanceProperties o) { | 3280 checkInstanceProperties(api.InstanceProperties o) { |
3225 buildCounterInstanceProperties++; | 3281 buildCounterInstanceProperties++; |
3226 if (buildCounterInstanceProperties < 3) { | 3282 if (buildCounterInstanceProperties < 3) { |
3227 unittest.expect(o.canIpForward, unittest.isTrue); | 3283 unittest.expect(o.canIpForward, unittest.isTrue); |
3228 unittest.expect(o.description, unittest.equals('foo')); | 3284 unittest.expect(o.description, unittest.equals('foo')); |
3229 checkUnnamed736(o.disks); | 3285 checkUnnamed2315(o.disks); |
3230 unittest.expect(o.machineType, unittest.equals('foo')); | 3286 unittest.expect(o.machineType, unittest.equals('foo')); |
3231 checkMetadata(o.metadata); | 3287 checkMetadata(o.metadata); |
3232 checkUnnamed737(o.networkInterfaces); | 3288 checkUnnamed2316(o.networkInterfaces); |
3233 checkScheduling(o.scheduling); | 3289 checkScheduling(o.scheduling); |
3234 checkUnnamed738(o.serviceAccounts); | 3290 checkUnnamed2317(o.serviceAccounts); |
3235 checkTags(o.tags); | 3291 checkTags(o.tags); |
3236 } | 3292 } |
3237 buildCounterInstanceProperties--; | 3293 buildCounterInstanceProperties--; |
3238 } | 3294 } |
3239 | 3295 |
3240 core.int buildCounterInstanceReference = 0; | 3296 core.int buildCounterInstanceReference = 0; |
3241 buildInstanceReference() { | 3297 buildInstanceReference() { |
3242 var o = new api.InstanceReference(); | 3298 var o = new api.InstanceReference(); |
3243 buildCounterInstanceReference++; | 3299 buildCounterInstanceReference++; |
3244 if (buildCounterInstanceReference < 3) { | 3300 if (buildCounterInstanceReference < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3280 unittest.expect(o.description, unittest.equals('foo')); | 3336 unittest.expect(o.description, unittest.equals('foo')); |
3281 unittest.expect(o.id, unittest.equals('foo')); | 3337 unittest.expect(o.id, unittest.equals('foo')); |
3282 unittest.expect(o.kind, unittest.equals('foo')); | 3338 unittest.expect(o.kind, unittest.equals('foo')); |
3283 unittest.expect(o.name, unittest.equals('foo')); | 3339 unittest.expect(o.name, unittest.equals('foo')); |
3284 checkInstanceProperties(o.properties); | 3340 checkInstanceProperties(o.properties); |
3285 unittest.expect(o.selfLink, unittest.equals('foo')); | 3341 unittest.expect(o.selfLink, unittest.equals('foo')); |
3286 } | 3342 } |
3287 buildCounterInstanceTemplate--; | 3343 buildCounterInstanceTemplate--; |
3288 } | 3344 } |
3289 | 3345 |
3290 buildUnnamed739() { | 3346 buildUnnamed2318() { |
3291 var o = new core.List<api.InstanceTemplate>(); | 3347 var o = new core.List<api.InstanceTemplate>(); |
3292 o.add(buildInstanceTemplate()); | 3348 o.add(buildInstanceTemplate()); |
3293 o.add(buildInstanceTemplate()); | 3349 o.add(buildInstanceTemplate()); |
3294 return o; | 3350 return o; |
3295 } | 3351 } |
3296 | 3352 |
3297 checkUnnamed739(core.List<api.InstanceTemplate> o) { | 3353 checkUnnamed2318(core.List<api.InstanceTemplate> o) { |
3298 unittest.expect(o, unittest.hasLength(2)); | 3354 unittest.expect(o, unittest.hasLength(2)); |
3299 checkInstanceTemplate(o[0]); | 3355 checkInstanceTemplate(o[0]); |
3300 checkInstanceTemplate(o[1]); | 3356 checkInstanceTemplate(o[1]); |
3301 } | 3357 } |
3302 | 3358 |
3303 core.int buildCounterInstanceTemplateList = 0; | 3359 core.int buildCounterInstanceTemplateList = 0; |
3304 buildInstanceTemplateList() { | 3360 buildInstanceTemplateList() { |
3305 var o = new api.InstanceTemplateList(); | 3361 var o = new api.InstanceTemplateList(); |
3306 buildCounterInstanceTemplateList++; | 3362 buildCounterInstanceTemplateList++; |
3307 if (buildCounterInstanceTemplateList < 3) { | 3363 if (buildCounterInstanceTemplateList < 3) { |
3308 o.id = "foo"; | 3364 o.id = "foo"; |
3309 o.items = buildUnnamed739(); | 3365 o.items = buildUnnamed2318(); |
3310 o.kind = "foo"; | 3366 o.kind = "foo"; |
3311 o.nextPageToken = "foo"; | 3367 o.nextPageToken = "foo"; |
3312 o.selfLink = "foo"; | 3368 o.selfLink = "foo"; |
3313 } | 3369 } |
3314 buildCounterInstanceTemplateList--; | 3370 buildCounterInstanceTemplateList--; |
3315 return o; | 3371 return o; |
3316 } | 3372 } |
3317 | 3373 |
3318 checkInstanceTemplateList(api.InstanceTemplateList o) { | 3374 checkInstanceTemplateList(api.InstanceTemplateList o) { |
3319 buildCounterInstanceTemplateList++; | 3375 buildCounterInstanceTemplateList++; |
3320 if (buildCounterInstanceTemplateList < 3) { | 3376 if (buildCounterInstanceTemplateList < 3) { |
3321 unittest.expect(o.id, unittest.equals('foo')); | 3377 unittest.expect(o.id, unittest.equals('foo')); |
3322 checkUnnamed739(o.items); | 3378 checkUnnamed2318(o.items); |
3323 unittest.expect(o.kind, unittest.equals('foo')); | 3379 unittest.expect(o.kind, unittest.equals('foo')); |
3324 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3380 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3325 unittest.expect(o.selfLink, unittest.equals('foo')); | 3381 unittest.expect(o.selfLink, unittest.equals('foo')); |
3326 } | 3382 } |
3327 buildCounterInstanceTemplateList--; | 3383 buildCounterInstanceTemplateList--; |
3328 } | 3384 } |
3329 | 3385 |
3330 buildUnnamed740() { | 3386 buildUnnamed2319() { |
3331 var o = new core.List<api.NamedPort>(); | 3387 var o = new core.List<api.NamedPort>(); |
3332 o.add(buildNamedPort()); | 3388 o.add(buildNamedPort()); |
3333 o.add(buildNamedPort()); | 3389 o.add(buildNamedPort()); |
3334 return o; | 3390 return o; |
3335 } | 3391 } |
3336 | 3392 |
3337 checkUnnamed740(core.List<api.NamedPort> o) { | 3393 checkUnnamed2319(core.List<api.NamedPort> o) { |
3338 unittest.expect(o, unittest.hasLength(2)); | 3394 unittest.expect(o, unittest.hasLength(2)); |
3339 checkNamedPort(o[0]); | 3395 checkNamedPort(o[0]); |
3340 checkNamedPort(o[1]); | 3396 checkNamedPort(o[1]); |
3341 } | 3397 } |
3342 | 3398 |
3343 core.int buildCounterInstanceWithNamedPorts = 0; | 3399 core.int buildCounterInstanceWithNamedPorts = 0; |
3344 buildInstanceWithNamedPorts() { | 3400 buildInstanceWithNamedPorts() { |
3345 var o = new api.InstanceWithNamedPorts(); | 3401 var o = new api.InstanceWithNamedPorts(); |
3346 buildCounterInstanceWithNamedPorts++; | 3402 buildCounterInstanceWithNamedPorts++; |
3347 if (buildCounterInstanceWithNamedPorts < 3) { | 3403 if (buildCounterInstanceWithNamedPorts < 3) { |
3348 o.instance = "foo"; | 3404 o.instance = "foo"; |
3349 o.namedPorts = buildUnnamed740(); | 3405 o.namedPorts = buildUnnamed2319(); |
3350 o.status = "foo"; | 3406 o.status = "foo"; |
3351 } | 3407 } |
3352 buildCounterInstanceWithNamedPorts--; | 3408 buildCounterInstanceWithNamedPorts--; |
3353 return o; | 3409 return o; |
3354 } | 3410 } |
3355 | 3411 |
3356 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { | 3412 checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) { |
3357 buildCounterInstanceWithNamedPorts++; | 3413 buildCounterInstanceWithNamedPorts++; |
3358 if (buildCounterInstanceWithNamedPorts < 3) { | 3414 if (buildCounterInstanceWithNamedPorts < 3) { |
3359 unittest.expect(o.instance, unittest.equals('foo')); | 3415 unittest.expect(o.instance, unittest.equals('foo')); |
3360 checkUnnamed740(o.namedPorts); | 3416 checkUnnamed2319(o.namedPorts); |
3361 unittest.expect(o.status, unittest.equals('foo')); | 3417 unittest.expect(o.status, unittest.equals('foo')); |
3362 } | 3418 } |
3363 buildCounterInstanceWithNamedPorts--; | 3419 buildCounterInstanceWithNamedPorts--; |
3364 } | 3420 } |
3365 | 3421 |
3366 buildUnnamed741() { | 3422 buildUnnamed2320() { |
3367 var o = new core.List<api.Instance>(); | 3423 var o = new core.List<api.Instance>(); |
3368 o.add(buildInstance()); | 3424 o.add(buildInstance()); |
3369 o.add(buildInstance()); | 3425 o.add(buildInstance()); |
3370 return o; | 3426 return o; |
3371 } | 3427 } |
3372 | 3428 |
3373 checkUnnamed741(core.List<api.Instance> o) { | 3429 checkUnnamed2320(core.List<api.Instance> o) { |
3374 unittest.expect(o, unittest.hasLength(2)); | 3430 unittest.expect(o, unittest.hasLength(2)); |
3375 checkInstance(o[0]); | 3431 checkInstance(o[0]); |
3376 checkInstance(o[1]); | 3432 checkInstance(o[1]); |
3377 } | 3433 } |
3378 | 3434 |
3379 core.int buildCounterInstancesScopedListWarningData = 0; | 3435 core.int buildCounterInstancesScopedListWarningData = 0; |
3380 buildInstancesScopedListWarningData() { | 3436 buildInstancesScopedListWarningData() { |
3381 var o = new api.InstancesScopedListWarningData(); | 3437 var o = new api.InstancesScopedListWarningData(); |
3382 buildCounterInstancesScopedListWarningData++; | 3438 buildCounterInstancesScopedListWarningData++; |
3383 if (buildCounterInstancesScopedListWarningData < 3) { | 3439 if (buildCounterInstancesScopedListWarningData < 3) { |
3384 o.key = "foo"; | 3440 o.key = "foo"; |
3385 o.value = "foo"; | 3441 o.value = "foo"; |
3386 } | 3442 } |
3387 buildCounterInstancesScopedListWarningData--; | 3443 buildCounterInstancesScopedListWarningData--; |
3388 return o; | 3444 return o; |
3389 } | 3445 } |
3390 | 3446 |
3391 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { | 3447 checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) { |
3392 buildCounterInstancesScopedListWarningData++; | 3448 buildCounterInstancesScopedListWarningData++; |
3393 if (buildCounterInstancesScopedListWarningData < 3) { | 3449 if (buildCounterInstancesScopedListWarningData < 3) { |
3394 unittest.expect(o.key, unittest.equals('foo')); | 3450 unittest.expect(o.key, unittest.equals('foo')); |
3395 unittest.expect(o.value, unittest.equals('foo')); | 3451 unittest.expect(o.value, unittest.equals('foo')); |
3396 } | 3452 } |
3397 buildCounterInstancesScopedListWarningData--; | 3453 buildCounterInstancesScopedListWarningData--; |
3398 } | 3454 } |
3399 | 3455 |
3400 buildUnnamed742() { | 3456 buildUnnamed2321() { |
3401 var o = new core.List<api.InstancesScopedListWarningData>(); | 3457 var o = new core.List<api.InstancesScopedListWarningData>(); |
3402 o.add(buildInstancesScopedListWarningData()); | 3458 o.add(buildInstancesScopedListWarningData()); |
3403 o.add(buildInstancesScopedListWarningData()); | 3459 o.add(buildInstancesScopedListWarningData()); |
3404 return o; | 3460 return o; |
3405 } | 3461 } |
3406 | 3462 |
3407 checkUnnamed742(core.List<api.InstancesScopedListWarningData> o) { | 3463 checkUnnamed2321(core.List<api.InstancesScopedListWarningData> o) { |
3408 unittest.expect(o, unittest.hasLength(2)); | 3464 unittest.expect(o, unittest.hasLength(2)); |
3409 checkInstancesScopedListWarningData(o[0]); | 3465 checkInstancesScopedListWarningData(o[0]); |
3410 checkInstancesScopedListWarningData(o[1]); | 3466 checkInstancesScopedListWarningData(o[1]); |
3411 } | 3467 } |
3412 | 3468 |
3413 core.int buildCounterInstancesScopedListWarning = 0; | 3469 core.int buildCounterInstancesScopedListWarning = 0; |
3414 buildInstancesScopedListWarning() { | 3470 buildInstancesScopedListWarning() { |
3415 var o = new api.InstancesScopedListWarning(); | 3471 var o = new api.InstancesScopedListWarning(); |
3416 buildCounterInstancesScopedListWarning++; | 3472 buildCounterInstancesScopedListWarning++; |
3417 if (buildCounterInstancesScopedListWarning < 3) { | 3473 if (buildCounterInstancesScopedListWarning < 3) { |
3418 o.code = "foo"; | 3474 o.code = "foo"; |
3419 o.data = buildUnnamed742(); | 3475 o.data = buildUnnamed2321(); |
3420 o.message = "foo"; | 3476 o.message = "foo"; |
3421 } | 3477 } |
3422 buildCounterInstancesScopedListWarning--; | 3478 buildCounterInstancesScopedListWarning--; |
3423 return o; | 3479 return o; |
3424 } | 3480 } |
3425 | 3481 |
3426 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { | 3482 checkInstancesScopedListWarning(api.InstancesScopedListWarning o) { |
3427 buildCounterInstancesScopedListWarning++; | 3483 buildCounterInstancesScopedListWarning++; |
3428 if (buildCounterInstancesScopedListWarning < 3) { | 3484 if (buildCounterInstancesScopedListWarning < 3) { |
3429 unittest.expect(o.code, unittest.equals('foo')); | 3485 unittest.expect(o.code, unittest.equals('foo')); |
3430 checkUnnamed742(o.data); | 3486 checkUnnamed2321(o.data); |
3431 unittest.expect(o.message, unittest.equals('foo')); | 3487 unittest.expect(o.message, unittest.equals('foo')); |
3432 } | 3488 } |
3433 buildCounterInstancesScopedListWarning--; | 3489 buildCounterInstancesScopedListWarning--; |
3434 } | 3490 } |
3435 | 3491 |
3436 core.int buildCounterInstancesScopedList = 0; | 3492 core.int buildCounterInstancesScopedList = 0; |
3437 buildInstancesScopedList() { | 3493 buildInstancesScopedList() { |
3438 var o = new api.InstancesScopedList(); | 3494 var o = new api.InstancesScopedList(); |
3439 buildCounterInstancesScopedList++; | 3495 buildCounterInstancesScopedList++; |
3440 if (buildCounterInstancesScopedList < 3) { | 3496 if (buildCounterInstancesScopedList < 3) { |
3441 o.instances = buildUnnamed741(); | 3497 o.instances = buildUnnamed2320(); |
3442 o.warning = buildInstancesScopedListWarning(); | 3498 o.warning = buildInstancesScopedListWarning(); |
3443 } | 3499 } |
3444 buildCounterInstancesScopedList--; | 3500 buildCounterInstancesScopedList--; |
3445 return o; | 3501 return o; |
3446 } | 3502 } |
3447 | 3503 |
3448 checkInstancesScopedList(api.InstancesScopedList o) { | 3504 checkInstancesScopedList(api.InstancesScopedList o) { |
3449 buildCounterInstancesScopedList++; | 3505 buildCounterInstancesScopedList++; |
3450 if (buildCounterInstancesScopedList < 3) { | 3506 if (buildCounterInstancesScopedList < 3) { |
3451 checkUnnamed741(o.instances); | 3507 checkUnnamed2320(o.instances); |
3452 checkInstancesScopedListWarning(o.warning); | 3508 checkInstancesScopedListWarning(o.warning); |
3453 } | 3509 } |
3454 buildCounterInstancesScopedList--; | 3510 buildCounterInstancesScopedList--; |
3455 } | 3511 } |
3456 | 3512 |
3457 core.int buildCounterInstancesSetMachineTypeRequest = 0; | 3513 core.int buildCounterInstancesSetMachineTypeRequest = 0; |
3458 buildInstancesSetMachineTypeRequest() { | 3514 buildInstancesSetMachineTypeRequest() { |
3459 var o = new api.InstancesSetMachineTypeRequest(); | 3515 var o = new api.InstancesSetMachineTypeRequest(); |
3460 buildCounterInstancesSetMachineTypeRequest++; | 3516 buildCounterInstancesSetMachineTypeRequest++; |
3461 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 3517 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
3462 o.machineType = "foo"; | 3518 o.machineType = "foo"; |
3463 } | 3519 } |
3464 buildCounterInstancesSetMachineTypeRequest--; | 3520 buildCounterInstancesSetMachineTypeRequest--; |
3465 return o; | 3521 return o; |
3466 } | 3522 } |
3467 | 3523 |
3468 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { | 3524 checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) { |
3469 buildCounterInstancesSetMachineTypeRequest++; | 3525 buildCounterInstancesSetMachineTypeRequest++; |
3470 if (buildCounterInstancesSetMachineTypeRequest < 3) { | 3526 if (buildCounterInstancesSetMachineTypeRequest < 3) { |
3471 unittest.expect(o.machineType, unittest.equals('foo')); | 3527 unittest.expect(o.machineType, unittest.equals('foo')); |
3472 } | 3528 } |
3473 buildCounterInstancesSetMachineTypeRequest--; | 3529 buildCounterInstancesSetMachineTypeRequest--; |
3474 } | 3530 } |
3475 | 3531 |
| 3532 buildUnnamed2322() { |
| 3533 var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>(); |
| 3534 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
| 3535 o.add(buildCustomerEncryptionKeyProtectedDisk()); |
| 3536 return o; |
| 3537 } |
| 3538 |
| 3539 checkUnnamed2322(core.List<api.CustomerEncryptionKeyProtectedDisk> o) { |
| 3540 unittest.expect(o, unittest.hasLength(2)); |
| 3541 checkCustomerEncryptionKeyProtectedDisk(o[0]); |
| 3542 checkCustomerEncryptionKeyProtectedDisk(o[1]); |
| 3543 } |
| 3544 |
| 3545 core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0; |
| 3546 buildInstancesStartWithEncryptionKeyRequest() { |
| 3547 var o = new api.InstancesStartWithEncryptionKeyRequest(); |
| 3548 buildCounterInstancesStartWithEncryptionKeyRequest++; |
| 3549 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
| 3550 o.disks = buildUnnamed2322(); |
| 3551 } |
| 3552 buildCounterInstancesStartWithEncryptionKeyRequest--; |
| 3553 return o; |
| 3554 } |
| 3555 |
| 3556 checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyR
equest o) { |
| 3557 buildCounterInstancesStartWithEncryptionKeyRequest++; |
| 3558 if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) { |
| 3559 checkUnnamed2322(o.disks); |
| 3560 } |
| 3561 buildCounterInstancesStartWithEncryptionKeyRequest--; |
| 3562 } |
| 3563 |
3476 core.int buildCounterLicense = 0; | 3564 core.int buildCounterLicense = 0; |
3477 buildLicense() { | 3565 buildLicense() { |
3478 var o = new api.License(); | 3566 var o = new api.License(); |
3479 buildCounterLicense++; | 3567 buildCounterLicense++; |
3480 if (buildCounterLicense < 3) { | 3568 if (buildCounterLicense < 3) { |
3481 o.chargesUseFee = true; | 3569 o.chargesUseFee = true; |
3482 o.kind = "foo"; | 3570 o.kind = "foo"; |
3483 o.name = "foo"; | 3571 o.name = "foo"; |
3484 o.selfLink = "foo"; | 3572 o.selfLink = "foo"; |
3485 } | 3573 } |
(...skipping 24 matching lines...) Expand all Loading... |
3510 } | 3598 } |
3511 | 3599 |
3512 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { | 3600 checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) { |
3513 buildCounterMachineTypeScratchDisks++; | 3601 buildCounterMachineTypeScratchDisks++; |
3514 if (buildCounterMachineTypeScratchDisks < 3) { | 3602 if (buildCounterMachineTypeScratchDisks < 3) { |
3515 unittest.expect(o.diskGb, unittest.equals(42)); | 3603 unittest.expect(o.diskGb, unittest.equals(42)); |
3516 } | 3604 } |
3517 buildCounterMachineTypeScratchDisks--; | 3605 buildCounterMachineTypeScratchDisks--; |
3518 } | 3606 } |
3519 | 3607 |
3520 buildUnnamed743() { | 3608 buildUnnamed2323() { |
3521 var o = new core.List<api.MachineTypeScratchDisks>(); | 3609 var o = new core.List<api.MachineTypeScratchDisks>(); |
3522 o.add(buildMachineTypeScratchDisks()); | 3610 o.add(buildMachineTypeScratchDisks()); |
3523 o.add(buildMachineTypeScratchDisks()); | 3611 o.add(buildMachineTypeScratchDisks()); |
3524 return o; | 3612 return o; |
3525 } | 3613 } |
3526 | 3614 |
3527 checkUnnamed743(core.List<api.MachineTypeScratchDisks> o) { | 3615 checkUnnamed2323(core.List<api.MachineTypeScratchDisks> o) { |
3528 unittest.expect(o, unittest.hasLength(2)); | 3616 unittest.expect(o, unittest.hasLength(2)); |
3529 checkMachineTypeScratchDisks(o[0]); | 3617 checkMachineTypeScratchDisks(o[0]); |
3530 checkMachineTypeScratchDisks(o[1]); | 3618 checkMachineTypeScratchDisks(o[1]); |
3531 } | 3619 } |
3532 | 3620 |
3533 core.int buildCounterMachineType = 0; | 3621 core.int buildCounterMachineType = 0; |
3534 buildMachineType() { | 3622 buildMachineType() { |
3535 var o = new api.MachineType(); | 3623 var o = new api.MachineType(); |
3536 buildCounterMachineType++; | 3624 buildCounterMachineType++; |
3537 if (buildCounterMachineType < 3) { | 3625 if (buildCounterMachineType < 3) { |
3538 o.creationTimestamp = "foo"; | 3626 o.creationTimestamp = "foo"; |
3539 o.deprecated = buildDeprecationStatus(); | 3627 o.deprecated = buildDeprecationStatus(); |
3540 o.description = "foo"; | 3628 o.description = "foo"; |
3541 o.guestCpus = 42; | 3629 o.guestCpus = 42; |
3542 o.id = "foo"; | 3630 o.id = "foo"; |
3543 o.imageSpaceGb = 42; | 3631 o.imageSpaceGb = 42; |
| 3632 o.isSharedCpu = true; |
3544 o.kind = "foo"; | 3633 o.kind = "foo"; |
3545 o.maximumPersistentDisks = 42; | 3634 o.maximumPersistentDisks = 42; |
3546 o.maximumPersistentDisksSizeGb = "foo"; | 3635 o.maximumPersistentDisksSizeGb = "foo"; |
3547 o.memoryMb = 42; | 3636 o.memoryMb = 42; |
3548 o.name = "foo"; | 3637 o.name = "foo"; |
3549 o.scratchDisks = buildUnnamed743(); | 3638 o.scratchDisks = buildUnnamed2323(); |
3550 o.selfLink = "foo"; | 3639 o.selfLink = "foo"; |
3551 o.zone = "foo"; | 3640 o.zone = "foo"; |
3552 } | 3641 } |
3553 buildCounterMachineType--; | 3642 buildCounterMachineType--; |
3554 return o; | 3643 return o; |
3555 } | 3644 } |
3556 | 3645 |
3557 checkMachineType(api.MachineType o) { | 3646 checkMachineType(api.MachineType o) { |
3558 buildCounterMachineType++; | 3647 buildCounterMachineType++; |
3559 if (buildCounterMachineType < 3) { | 3648 if (buildCounterMachineType < 3) { |
3560 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 3649 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
3561 checkDeprecationStatus(o.deprecated); | 3650 checkDeprecationStatus(o.deprecated); |
3562 unittest.expect(o.description, unittest.equals('foo')); | 3651 unittest.expect(o.description, unittest.equals('foo')); |
3563 unittest.expect(o.guestCpus, unittest.equals(42)); | 3652 unittest.expect(o.guestCpus, unittest.equals(42)); |
3564 unittest.expect(o.id, unittest.equals('foo')); | 3653 unittest.expect(o.id, unittest.equals('foo')); |
3565 unittest.expect(o.imageSpaceGb, unittest.equals(42)); | 3654 unittest.expect(o.imageSpaceGb, unittest.equals(42)); |
| 3655 unittest.expect(o.isSharedCpu, unittest.isTrue); |
3566 unittest.expect(o.kind, unittest.equals('foo')); | 3656 unittest.expect(o.kind, unittest.equals('foo')); |
3567 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); | 3657 unittest.expect(o.maximumPersistentDisks, unittest.equals(42)); |
3568 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); | 3658 unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo')); |
3569 unittest.expect(o.memoryMb, unittest.equals(42)); | 3659 unittest.expect(o.memoryMb, unittest.equals(42)); |
3570 unittest.expect(o.name, unittest.equals('foo')); | 3660 unittest.expect(o.name, unittest.equals('foo')); |
3571 checkUnnamed743(o.scratchDisks); | 3661 checkUnnamed2323(o.scratchDisks); |
3572 unittest.expect(o.selfLink, unittest.equals('foo')); | 3662 unittest.expect(o.selfLink, unittest.equals('foo')); |
3573 unittest.expect(o.zone, unittest.equals('foo')); | 3663 unittest.expect(o.zone, unittest.equals('foo')); |
3574 } | 3664 } |
3575 buildCounterMachineType--; | 3665 buildCounterMachineType--; |
3576 } | 3666 } |
3577 | 3667 |
3578 buildUnnamed744() { | 3668 buildUnnamed2324() { |
3579 var o = new core.Map<core.String, api.MachineTypesScopedList>(); | 3669 var o = new core.Map<core.String, api.MachineTypesScopedList>(); |
3580 o["x"] = buildMachineTypesScopedList(); | 3670 o["x"] = buildMachineTypesScopedList(); |
3581 o["y"] = buildMachineTypesScopedList(); | 3671 o["y"] = buildMachineTypesScopedList(); |
3582 return o; | 3672 return o; |
3583 } | 3673 } |
3584 | 3674 |
3585 checkUnnamed744(core.Map<core.String, api.MachineTypesScopedList> o) { | 3675 checkUnnamed2324(core.Map<core.String, api.MachineTypesScopedList> o) { |
3586 unittest.expect(o, unittest.hasLength(2)); | 3676 unittest.expect(o, unittest.hasLength(2)); |
3587 checkMachineTypesScopedList(o["x"]); | 3677 checkMachineTypesScopedList(o["x"]); |
3588 checkMachineTypesScopedList(o["y"]); | 3678 checkMachineTypesScopedList(o["y"]); |
3589 } | 3679 } |
3590 | 3680 |
3591 core.int buildCounterMachineTypeAggregatedList = 0; | 3681 core.int buildCounterMachineTypeAggregatedList = 0; |
3592 buildMachineTypeAggregatedList() { | 3682 buildMachineTypeAggregatedList() { |
3593 var o = new api.MachineTypeAggregatedList(); | 3683 var o = new api.MachineTypeAggregatedList(); |
3594 buildCounterMachineTypeAggregatedList++; | 3684 buildCounterMachineTypeAggregatedList++; |
3595 if (buildCounterMachineTypeAggregatedList < 3) { | 3685 if (buildCounterMachineTypeAggregatedList < 3) { |
3596 o.id = "foo"; | 3686 o.id = "foo"; |
3597 o.items = buildUnnamed744(); | 3687 o.items = buildUnnamed2324(); |
3598 o.kind = "foo"; | 3688 o.kind = "foo"; |
3599 o.nextPageToken = "foo"; | 3689 o.nextPageToken = "foo"; |
3600 o.selfLink = "foo"; | 3690 o.selfLink = "foo"; |
3601 } | 3691 } |
3602 buildCounterMachineTypeAggregatedList--; | 3692 buildCounterMachineTypeAggregatedList--; |
3603 return o; | 3693 return o; |
3604 } | 3694 } |
3605 | 3695 |
3606 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { | 3696 checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) { |
3607 buildCounterMachineTypeAggregatedList++; | 3697 buildCounterMachineTypeAggregatedList++; |
3608 if (buildCounterMachineTypeAggregatedList < 3) { | 3698 if (buildCounterMachineTypeAggregatedList < 3) { |
3609 unittest.expect(o.id, unittest.equals('foo')); | 3699 unittest.expect(o.id, unittest.equals('foo')); |
3610 checkUnnamed744(o.items); | 3700 checkUnnamed2324(o.items); |
3611 unittest.expect(o.kind, unittest.equals('foo')); | 3701 unittest.expect(o.kind, unittest.equals('foo')); |
3612 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3702 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3613 unittest.expect(o.selfLink, unittest.equals('foo')); | 3703 unittest.expect(o.selfLink, unittest.equals('foo')); |
3614 } | 3704 } |
3615 buildCounterMachineTypeAggregatedList--; | 3705 buildCounterMachineTypeAggregatedList--; |
3616 } | 3706 } |
3617 | 3707 |
3618 buildUnnamed745() { | 3708 buildUnnamed2325() { |
3619 var o = new core.List<api.MachineType>(); | 3709 var o = new core.List<api.MachineType>(); |
3620 o.add(buildMachineType()); | 3710 o.add(buildMachineType()); |
3621 o.add(buildMachineType()); | 3711 o.add(buildMachineType()); |
3622 return o; | 3712 return o; |
3623 } | 3713 } |
3624 | 3714 |
3625 checkUnnamed745(core.List<api.MachineType> o) { | 3715 checkUnnamed2325(core.List<api.MachineType> o) { |
3626 unittest.expect(o, unittest.hasLength(2)); | 3716 unittest.expect(o, unittest.hasLength(2)); |
3627 checkMachineType(o[0]); | 3717 checkMachineType(o[0]); |
3628 checkMachineType(o[1]); | 3718 checkMachineType(o[1]); |
3629 } | 3719 } |
3630 | 3720 |
3631 core.int buildCounterMachineTypeList = 0; | 3721 core.int buildCounterMachineTypeList = 0; |
3632 buildMachineTypeList() { | 3722 buildMachineTypeList() { |
3633 var o = new api.MachineTypeList(); | 3723 var o = new api.MachineTypeList(); |
3634 buildCounterMachineTypeList++; | 3724 buildCounterMachineTypeList++; |
3635 if (buildCounterMachineTypeList < 3) { | 3725 if (buildCounterMachineTypeList < 3) { |
3636 o.id = "foo"; | 3726 o.id = "foo"; |
3637 o.items = buildUnnamed745(); | 3727 o.items = buildUnnamed2325(); |
3638 o.kind = "foo"; | 3728 o.kind = "foo"; |
3639 o.nextPageToken = "foo"; | 3729 o.nextPageToken = "foo"; |
3640 o.selfLink = "foo"; | 3730 o.selfLink = "foo"; |
3641 } | 3731 } |
3642 buildCounterMachineTypeList--; | 3732 buildCounterMachineTypeList--; |
3643 return o; | 3733 return o; |
3644 } | 3734 } |
3645 | 3735 |
3646 checkMachineTypeList(api.MachineTypeList o) { | 3736 checkMachineTypeList(api.MachineTypeList o) { |
3647 buildCounterMachineTypeList++; | 3737 buildCounterMachineTypeList++; |
3648 if (buildCounterMachineTypeList < 3) { | 3738 if (buildCounterMachineTypeList < 3) { |
3649 unittest.expect(o.id, unittest.equals('foo')); | 3739 unittest.expect(o.id, unittest.equals('foo')); |
3650 checkUnnamed745(o.items); | 3740 checkUnnamed2325(o.items); |
3651 unittest.expect(o.kind, unittest.equals('foo')); | 3741 unittest.expect(o.kind, unittest.equals('foo')); |
3652 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3742 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3653 unittest.expect(o.selfLink, unittest.equals('foo')); | 3743 unittest.expect(o.selfLink, unittest.equals('foo')); |
3654 } | 3744 } |
3655 buildCounterMachineTypeList--; | 3745 buildCounterMachineTypeList--; |
3656 } | 3746 } |
3657 | 3747 |
3658 buildUnnamed746() { | 3748 buildUnnamed2326() { |
3659 var o = new core.List<api.MachineType>(); | 3749 var o = new core.List<api.MachineType>(); |
3660 o.add(buildMachineType()); | 3750 o.add(buildMachineType()); |
3661 o.add(buildMachineType()); | 3751 o.add(buildMachineType()); |
3662 return o; | 3752 return o; |
3663 } | 3753 } |
3664 | 3754 |
3665 checkUnnamed746(core.List<api.MachineType> o) { | 3755 checkUnnamed2326(core.List<api.MachineType> o) { |
3666 unittest.expect(o, unittest.hasLength(2)); | 3756 unittest.expect(o, unittest.hasLength(2)); |
3667 checkMachineType(o[0]); | 3757 checkMachineType(o[0]); |
3668 checkMachineType(o[1]); | 3758 checkMachineType(o[1]); |
3669 } | 3759 } |
3670 | 3760 |
3671 core.int buildCounterMachineTypesScopedListWarningData = 0; | 3761 core.int buildCounterMachineTypesScopedListWarningData = 0; |
3672 buildMachineTypesScopedListWarningData() { | 3762 buildMachineTypesScopedListWarningData() { |
3673 var o = new api.MachineTypesScopedListWarningData(); | 3763 var o = new api.MachineTypesScopedListWarningData(); |
3674 buildCounterMachineTypesScopedListWarningData++; | 3764 buildCounterMachineTypesScopedListWarningData++; |
3675 if (buildCounterMachineTypesScopedListWarningData < 3) { | 3765 if (buildCounterMachineTypesScopedListWarningData < 3) { |
3676 o.key = "foo"; | 3766 o.key = "foo"; |
3677 o.value = "foo"; | 3767 o.value = "foo"; |
3678 } | 3768 } |
3679 buildCounterMachineTypesScopedListWarningData--; | 3769 buildCounterMachineTypesScopedListWarningData--; |
3680 return o; | 3770 return o; |
3681 } | 3771 } |
3682 | 3772 |
3683 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ | 3773 checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
{ |
3684 buildCounterMachineTypesScopedListWarningData++; | 3774 buildCounterMachineTypesScopedListWarningData++; |
3685 if (buildCounterMachineTypesScopedListWarningData < 3) { | 3775 if (buildCounterMachineTypesScopedListWarningData < 3) { |
3686 unittest.expect(o.key, unittest.equals('foo')); | 3776 unittest.expect(o.key, unittest.equals('foo')); |
3687 unittest.expect(o.value, unittest.equals('foo')); | 3777 unittest.expect(o.value, unittest.equals('foo')); |
3688 } | 3778 } |
3689 buildCounterMachineTypesScopedListWarningData--; | 3779 buildCounterMachineTypesScopedListWarningData--; |
3690 } | 3780 } |
3691 | 3781 |
3692 buildUnnamed747() { | 3782 buildUnnamed2327() { |
3693 var o = new core.List<api.MachineTypesScopedListWarningData>(); | 3783 var o = new core.List<api.MachineTypesScopedListWarningData>(); |
3694 o.add(buildMachineTypesScopedListWarningData()); | 3784 o.add(buildMachineTypesScopedListWarningData()); |
3695 o.add(buildMachineTypesScopedListWarningData()); | 3785 o.add(buildMachineTypesScopedListWarningData()); |
3696 return o; | 3786 return o; |
3697 } | 3787 } |
3698 | 3788 |
3699 checkUnnamed747(core.List<api.MachineTypesScopedListWarningData> o) { | 3789 checkUnnamed2327(core.List<api.MachineTypesScopedListWarningData> o) { |
3700 unittest.expect(o, unittest.hasLength(2)); | 3790 unittest.expect(o, unittest.hasLength(2)); |
3701 checkMachineTypesScopedListWarningData(o[0]); | 3791 checkMachineTypesScopedListWarningData(o[0]); |
3702 checkMachineTypesScopedListWarningData(o[1]); | 3792 checkMachineTypesScopedListWarningData(o[1]); |
3703 } | 3793 } |
3704 | 3794 |
3705 core.int buildCounterMachineTypesScopedListWarning = 0; | 3795 core.int buildCounterMachineTypesScopedListWarning = 0; |
3706 buildMachineTypesScopedListWarning() { | 3796 buildMachineTypesScopedListWarning() { |
3707 var o = new api.MachineTypesScopedListWarning(); | 3797 var o = new api.MachineTypesScopedListWarning(); |
3708 buildCounterMachineTypesScopedListWarning++; | 3798 buildCounterMachineTypesScopedListWarning++; |
3709 if (buildCounterMachineTypesScopedListWarning < 3) { | 3799 if (buildCounterMachineTypesScopedListWarning < 3) { |
3710 o.code = "foo"; | 3800 o.code = "foo"; |
3711 o.data = buildUnnamed747(); | 3801 o.data = buildUnnamed2327(); |
3712 o.message = "foo"; | 3802 o.message = "foo"; |
3713 } | 3803 } |
3714 buildCounterMachineTypesScopedListWarning--; | 3804 buildCounterMachineTypesScopedListWarning--; |
3715 return o; | 3805 return o; |
3716 } | 3806 } |
3717 | 3807 |
3718 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { | 3808 checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) { |
3719 buildCounterMachineTypesScopedListWarning++; | 3809 buildCounterMachineTypesScopedListWarning++; |
3720 if (buildCounterMachineTypesScopedListWarning < 3) { | 3810 if (buildCounterMachineTypesScopedListWarning < 3) { |
3721 unittest.expect(o.code, unittest.equals('foo')); | 3811 unittest.expect(o.code, unittest.equals('foo')); |
3722 checkUnnamed747(o.data); | 3812 checkUnnamed2327(o.data); |
3723 unittest.expect(o.message, unittest.equals('foo')); | 3813 unittest.expect(o.message, unittest.equals('foo')); |
3724 } | 3814 } |
3725 buildCounterMachineTypesScopedListWarning--; | 3815 buildCounterMachineTypesScopedListWarning--; |
3726 } | 3816 } |
3727 | 3817 |
3728 core.int buildCounterMachineTypesScopedList = 0; | 3818 core.int buildCounterMachineTypesScopedList = 0; |
3729 buildMachineTypesScopedList() { | 3819 buildMachineTypesScopedList() { |
3730 var o = new api.MachineTypesScopedList(); | 3820 var o = new api.MachineTypesScopedList(); |
3731 buildCounterMachineTypesScopedList++; | 3821 buildCounterMachineTypesScopedList++; |
3732 if (buildCounterMachineTypesScopedList < 3) { | 3822 if (buildCounterMachineTypesScopedList < 3) { |
3733 o.machineTypes = buildUnnamed746(); | 3823 o.machineTypes = buildUnnamed2326(); |
3734 o.warning = buildMachineTypesScopedListWarning(); | 3824 o.warning = buildMachineTypesScopedListWarning(); |
3735 } | 3825 } |
3736 buildCounterMachineTypesScopedList--; | 3826 buildCounterMachineTypesScopedList--; |
3737 return o; | 3827 return o; |
3738 } | 3828 } |
3739 | 3829 |
3740 checkMachineTypesScopedList(api.MachineTypesScopedList o) { | 3830 checkMachineTypesScopedList(api.MachineTypesScopedList o) { |
3741 buildCounterMachineTypesScopedList++; | 3831 buildCounterMachineTypesScopedList++; |
3742 if (buildCounterMachineTypesScopedList < 3) { | 3832 if (buildCounterMachineTypesScopedList < 3) { |
3743 checkUnnamed746(o.machineTypes); | 3833 checkUnnamed2326(o.machineTypes); |
3744 checkMachineTypesScopedListWarning(o.warning); | 3834 checkMachineTypesScopedListWarning(o.warning); |
3745 } | 3835 } |
3746 buildCounterMachineTypesScopedList--; | 3836 buildCounterMachineTypesScopedList--; |
3747 } | 3837 } |
3748 | 3838 |
3749 core.int buildCounterManagedInstance = 0; | 3839 core.int buildCounterManagedInstance = 0; |
3750 buildManagedInstance() { | 3840 buildManagedInstance() { |
3751 var o = new api.ManagedInstance(); | 3841 var o = new api.ManagedInstance(); |
3752 buildCounterManagedInstance++; | 3842 buildCounterManagedInstance++; |
3753 if (buildCounterManagedInstance < 3) { | 3843 if (buildCounterManagedInstance < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3789 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { | 3879 checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
Errors o) { |
3790 buildCounterManagedInstanceLastAttemptErrorsErrors++; | 3880 buildCounterManagedInstanceLastAttemptErrorsErrors++; |
3791 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { | 3881 if (buildCounterManagedInstanceLastAttemptErrorsErrors < 3) { |
3792 unittest.expect(o.code, unittest.equals('foo')); | 3882 unittest.expect(o.code, unittest.equals('foo')); |
3793 unittest.expect(o.location, unittest.equals('foo')); | 3883 unittest.expect(o.location, unittest.equals('foo')); |
3794 unittest.expect(o.message, unittest.equals('foo')); | 3884 unittest.expect(o.message, unittest.equals('foo')); |
3795 } | 3885 } |
3796 buildCounterManagedInstanceLastAttemptErrorsErrors--; | 3886 buildCounterManagedInstanceLastAttemptErrorsErrors--; |
3797 } | 3887 } |
3798 | 3888 |
3799 buildUnnamed748() { | 3889 buildUnnamed2328() { |
3800 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); | 3890 var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>(); |
3801 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 3891 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
3802 o.add(buildManagedInstanceLastAttemptErrorsErrors()); | 3892 o.add(buildManagedInstanceLastAttemptErrorsErrors()); |
3803 return o; | 3893 return o; |
3804 } | 3894 } |
3805 | 3895 |
3806 checkUnnamed748(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { | 3896 checkUnnamed2328(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) { |
3807 unittest.expect(o, unittest.hasLength(2)); | 3897 unittest.expect(o, unittest.hasLength(2)); |
3808 checkManagedInstanceLastAttemptErrorsErrors(o[0]); | 3898 checkManagedInstanceLastAttemptErrorsErrors(o[0]); |
3809 checkManagedInstanceLastAttemptErrorsErrors(o[1]); | 3899 checkManagedInstanceLastAttemptErrorsErrors(o[1]); |
3810 } | 3900 } |
3811 | 3901 |
3812 core.int buildCounterManagedInstanceLastAttemptErrors = 0; | 3902 core.int buildCounterManagedInstanceLastAttemptErrors = 0; |
3813 buildManagedInstanceLastAttemptErrors() { | 3903 buildManagedInstanceLastAttemptErrors() { |
3814 var o = new api.ManagedInstanceLastAttemptErrors(); | 3904 var o = new api.ManagedInstanceLastAttemptErrors(); |
3815 buildCounterManagedInstanceLastAttemptErrors++; | 3905 buildCounterManagedInstanceLastAttemptErrors++; |
3816 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 3906 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
3817 o.errors = buildUnnamed748(); | 3907 o.errors = buildUnnamed2328(); |
3818 } | 3908 } |
3819 buildCounterManagedInstanceLastAttemptErrors--; | 3909 buildCounterManagedInstanceLastAttemptErrors--; |
3820 return o; | 3910 return o; |
3821 } | 3911 } |
3822 | 3912 |
3823 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { | 3913 checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) { |
3824 buildCounterManagedInstanceLastAttemptErrors++; | 3914 buildCounterManagedInstanceLastAttemptErrors++; |
3825 if (buildCounterManagedInstanceLastAttemptErrors < 3) { | 3915 if (buildCounterManagedInstanceLastAttemptErrors < 3) { |
3826 checkUnnamed748(o.errors); | 3916 checkUnnamed2328(o.errors); |
3827 } | 3917 } |
3828 buildCounterManagedInstanceLastAttemptErrors--; | 3918 buildCounterManagedInstanceLastAttemptErrors--; |
3829 } | 3919 } |
3830 | 3920 |
3831 core.int buildCounterManagedInstanceLastAttempt = 0; | 3921 core.int buildCounterManagedInstanceLastAttempt = 0; |
3832 buildManagedInstanceLastAttempt() { | 3922 buildManagedInstanceLastAttempt() { |
3833 var o = new api.ManagedInstanceLastAttempt(); | 3923 var o = new api.ManagedInstanceLastAttempt(); |
3834 buildCounterManagedInstanceLastAttempt++; | 3924 buildCounterManagedInstanceLastAttempt++; |
3835 if (buildCounterManagedInstanceLastAttempt < 3) { | 3925 if (buildCounterManagedInstanceLastAttempt < 3) { |
3836 o.errors = buildManagedInstanceLastAttemptErrors(); | 3926 o.errors = buildManagedInstanceLastAttemptErrors(); |
(...skipping 24 matching lines...) Expand all Loading... |
3861 | 3951 |
3862 checkMetadataItems(api.MetadataItems o) { | 3952 checkMetadataItems(api.MetadataItems o) { |
3863 buildCounterMetadataItems++; | 3953 buildCounterMetadataItems++; |
3864 if (buildCounterMetadataItems < 3) { | 3954 if (buildCounterMetadataItems < 3) { |
3865 unittest.expect(o.key, unittest.equals('foo')); | 3955 unittest.expect(o.key, unittest.equals('foo')); |
3866 unittest.expect(o.value, unittest.equals('foo')); | 3956 unittest.expect(o.value, unittest.equals('foo')); |
3867 } | 3957 } |
3868 buildCounterMetadataItems--; | 3958 buildCounterMetadataItems--; |
3869 } | 3959 } |
3870 | 3960 |
3871 buildUnnamed749() { | 3961 buildUnnamed2329() { |
3872 var o = new core.List<api.MetadataItems>(); | 3962 var o = new core.List<api.MetadataItems>(); |
3873 o.add(buildMetadataItems()); | 3963 o.add(buildMetadataItems()); |
3874 o.add(buildMetadataItems()); | 3964 o.add(buildMetadataItems()); |
3875 return o; | 3965 return o; |
3876 } | 3966 } |
3877 | 3967 |
3878 checkUnnamed749(core.List<api.MetadataItems> o) { | 3968 checkUnnamed2329(core.List<api.MetadataItems> o) { |
3879 unittest.expect(o, unittest.hasLength(2)); | 3969 unittest.expect(o, unittest.hasLength(2)); |
3880 checkMetadataItems(o[0]); | 3970 checkMetadataItems(o[0]); |
3881 checkMetadataItems(o[1]); | 3971 checkMetadataItems(o[1]); |
3882 } | 3972 } |
3883 | 3973 |
3884 core.int buildCounterMetadata = 0; | 3974 core.int buildCounterMetadata = 0; |
3885 buildMetadata() { | 3975 buildMetadata() { |
3886 var o = new api.Metadata(); | 3976 var o = new api.Metadata(); |
3887 buildCounterMetadata++; | 3977 buildCounterMetadata++; |
3888 if (buildCounterMetadata < 3) { | 3978 if (buildCounterMetadata < 3) { |
3889 o.fingerprint = "foo"; | 3979 o.fingerprint = "foo"; |
3890 o.items = buildUnnamed749(); | 3980 o.items = buildUnnamed2329(); |
3891 o.kind = "foo"; | 3981 o.kind = "foo"; |
3892 } | 3982 } |
3893 buildCounterMetadata--; | 3983 buildCounterMetadata--; |
3894 return o; | 3984 return o; |
3895 } | 3985 } |
3896 | 3986 |
3897 checkMetadata(api.Metadata o) { | 3987 checkMetadata(api.Metadata o) { |
3898 buildCounterMetadata++; | 3988 buildCounterMetadata++; |
3899 if (buildCounterMetadata < 3) { | 3989 if (buildCounterMetadata < 3) { |
3900 unittest.expect(o.fingerprint, unittest.equals('foo')); | 3990 unittest.expect(o.fingerprint, unittest.equals('foo')); |
3901 checkUnnamed749(o.items); | 3991 checkUnnamed2329(o.items); |
3902 unittest.expect(o.kind, unittest.equals('foo')); | 3992 unittest.expect(o.kind, unittest.equals('foo')); |
3903 } | 3993 } |
3904 buildCounterMetadata--; | 3994 buildCounterMetadata--; |
3905 } | 3995 } |
3906 | 3996 |
3907 core.int buildCounterNamedPort = 0; | 3997 core.int buildCounterNamedPort = 0; |
3908 buildNamedPort() { | 3998 buildNamedPort() { |
3909 var o = new api.NamedPort(); | 3999 var o = new api.NamedPort(); |
3910 buildCounterNamedPort++; | 4000 buildCounterNamedPort++; |
3911 if (buildCounterNamedPort < 3) { | 4001 if (buildCounterNamedPort < 3) { |
3912 o.name = "foo"; | 4002 o.name = "foo"; |
3913 o.port = 42; | 4003 o.port = 42; |
3914 } | 4004 } |
3915 buildCounterNamedPort--; | 4005 buildCounterNamedPort--; |
3916 return o; | 4006 return o; |
3917 } | 4007 } |
3918 | 4008 |
3919 checkNamedPort(api.NamedPort o) { | 4009 checkNamedPort(api.NamedPort o) { |
3920 buildCounterNamedPort++; | 4010 buildCounterNamedPort++; |
3921 if (buildCounterNamedPort < 3) { | 4011 if (buildCounterNamedPort < 3) { |
3922 unittest.expect(o.name, unittest.equals('foo')); | 4012 unittest.expect(o.name, unittest.equals('foo')); |
3923 unittest.expect(o.port, unittest.equals(42)); | 4013 unittest.expect(o.port, unittest.equals(42)); |
3924 } | 4014 } |
3925 buildCounterNamedPort--; | 4015 buildCounterNamedPort--; |
3926 } | 4016 } |
3927 | 4017 |
3928 buildUnnamed750() { | 4018 buildUnnamed2330() { |
3929 var o = new core.List<core.String>(); | 4019 var o = new core.List<core.String>(); |
3930 o.add("foo"); | 4020 o.add("foo"); |
3931 o.add("foo"); | 4021 o.add("foo"); |
3932 return o; | 4022 return o; |
3933 } | 4023 } |
3934 | 4024 |
3935 checkUnnamed750(core.List<core.String> o) { | 4025 checkUnnamed2330(core.List<core.String> o) { |
3936 unittest.expect(o, unittest.hasLength(2)); | 4026 unittest.expect(o, unittest.hasLength(2)); |
3937 unittest.expect(o[0], unittest.equals('foo')); | 4027 unittest.expect(o[0], unittest.equals('foo')); |
3938 unittest.expect(o[1], unittest.equals('foo')); | 4028 unittest.expect(o[1], unittest.equals('foo')); |
3939 } | 4029 } |
3940 | 4030 |
3941 core.int buildCounterNetwork = 0; | 4031 core.int buildCounterNetwork = 0; |
3942 buildNetwork() { | 4032 buildNetwork() { |
3943 var o = new api.Network(); | 4033 var o = new api.Network(); |
3944 buildCounterNetwork++; | 4034 buildCounterNetwork++; |
3945 if (buildCounterNetwork < 3) { | 4035 if (buildCounterNetwork < 3) { |
3946 o.IPv4Range = "foo"; | 4036 o.IPv4Range = "foo"; |
3947 o.autoCreateSubnetworks = true; | 4037 o.autoCreateSubnetworks = true; |
3948 o.creationTimestamp = "foo"; | 4038 o.creationTimestamp = "foo"; |
3949 o.description = "foo"; | 4039 o.description = "foo"; |
3950 o.gatewayIPv4 = "foo"; | 4040 o.gatewayIPv4 = "foo"; |
3951 o.id = "foo"; | 4041 o.id = "foo"; |
3952 o.kind = "foo"; | 4042 o.kind = "foo"; |
3953 o.name = "foo"; | 4043 o.name = "foo"; |
3954 o.selfLink = "foo"; | 4044 o.selfLink = "foo"; |
3955 o.subnetworks = buildUnnamed750(); | 4045 o.subnetworks = buildUnnamed2330(); |
3956 } | 4046 } |
3957 buildCounterNetwork--; | 4047 buildCounterNetwork--; |
3958 return o; | 4048 return o; |
3959 } | 4049 } |
3960 | 4050 |
3961 checkNetwork(api.Network o) { | 4051 checkNetwork(api.Network o) { |
3962 buildCounterNetwork++; | 4052 buildCounterNetwork++; |
3963 if (buildCounterNetwork < 3) { | 4053 if (buildCounterNetwork < 3) { |
3964 unittest.expect(o.IPv4Range, unittest.equals('foo')); | 4054 unittest.expect(o.IPv4Range, unittest.equals('foo')); |
3965 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); | 4055 unittest.expect(o.autoCreateSubnetworks, unittest.isTrue); |
3966 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4056 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
3967 unittest.expect(o.description, unittest.equals('foo')); | 4057 unittest.expect(o.description, unittest.equals('foo')); |
3968 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); | 4058 unittest.expect(o.gatewayIPv4, unittest.equals('foo')); |
3969 unittest.expect(o.id, unittest.equals('foo')); | 4059 unittest.expect(o.id, unittest.equals('foo')); |
3970 unittest.expect(o.kind, unittest.equals('foo')); | 4060 unittest.expect(o.kind, unittest.equals('foo')); |
3971 unittest.expect(o.name, unittest.equals('foo')); | 4061 unittest.expect(o.name, unittest.equals('foo')); |
3972 unittest.expect(o.selfLink, unittest.equals('foo')); | 4062 unittest.expect(o.selfLink, unittest.equals('foo')); |
3973 checkUnnamed750(o.subnetworks); | 4063 checkUnnamed2330(o.subnetworks); |
3974 } | 4064 } |
3975 buildCounterNetwork--; | 4065 buildCounterNetwork--; |
3976 } | 4066 } |
3977 | 4067 |
3978 buildUnnamed751() { | 4068 buildUnnamed2331() { |
3979 var o = new core.List<api.AccessConfig>(); | 4069 var o = new core.List<api.AccessConfig>(); |
3980 o.add(buildAccessConfig()); | 4070 o.add(buildAccessConfig()); |
3981 o.add(buildAccessConfig()); | 4071 o.add(buildAccessConfig()); |
3982 return o; | 4072 return o; |
3983 } | 4073 } |
3984 | 4074 |
3985 checkUnnamed751(core.List<api.AccessConfig> o) { | 4075 checkUnnamed2331(core.List<api.AccessConfig> o) { |
3986 unittest.expect(o, unittest.hasLength(2)); | 4076 unittest.expect(o, unittest.hasLength(2)); |
3987 checkAccessConfig(o[0]); | 4077 checkAccessConfig(o[0]); |
3988 checkAccessConfig(o[1]); | 4078 checkAccessConfig(o[1]); |
3989 } | 4079 } |
3990 | 4080 |
3991 core.int buildCounterNetworkInterface = 0; | 4081 core.int buildCounterNetworkInterface = 0; |
3992 buildNetworkInterface() { | 4082 buildNetworkInterface() { |
3993 var o = new api.NetworkInterface(); | 4083 var o = new api.NetworkInterface(); |
3994 buildCounterNetworkInterface++; | 4084 buildCounterNetworkInterface++; |
3995 if (buildCounterNetworkInterface < 3) { | 4085 if (buildCounterNetworkInterface < 3) { |
3996 o.accessConfigs = buildUnnamed751(); | 4086 o.accessConfigs = buildUnnamed2331(); |
3997 o.name = "foo"; | 4087 o.name = "foo"; |
3998 o.network = "foo"; | 4088 o.network = "foo"; |
3999 o.networkIP = "foo"; | 4089 o.networkIP = "foo"; |
4000 o.subnetwork = "foo"; | 4090 o.subnetwork = "foo"; |
4001 } | 4091 } |
4002 buildCounterNetworkInterface--; | 4092 buildCounterNetworkInterface--; |
4003 return o; | 4093 return o; |
4004 } | 4094 } |
4005 | 4095 |
4006 checkNetworkInterface(api.NetworkInterface o) { | 4096 checkNetworkInterface(api.NetworkInterface o) { |
4007 buildCounterNetworkInterface++; | 4097 buildCounterNetworkInterface++; |
4008 if (buildCounterNetworkInterface < 3) { | 4098 if (buildCounterNetworkInterface < 3) { |
4009 checkUnnamed751(o.accessConfigs); | 4099 checkUnnamed2331(o.accessConfigs); |
4010 unittest.expect(o.name, unittest.equals('foo')); | 4100 unittest.expect(o.name, unittest.equals('foo')); |
4011 unittest.expect(o.network, unittest.equals('foo')); | 4101 unittest.expect(o.network, unittest.equals('foo')); |
4012 unittest.expect(o.networkIP, unittest.equals('foo')); | 4102 unittest.expect(o.networkIP, unittest.equals('foo')); |
4013 unittest.expect(o.subnetwork, unittest.equals('foo')); | 4103 unittest.expect(o.subnetwork, unittest.equals('foo')); |
4014 } | 4104 } |
4015 buildCounterNetworkInterface--; | 4105 buildCounterNetworkInterface--; |
4016 } | 4106 } |
4017 | 4107 |
4018 buildUnnamed752() { | 4108 buildUnnamed2332() { |
4019 var o = new core.List<api.Network>(); | 4109 var o = new core.List<api.Network>(); |
4020 o.add(buildNetwork()); | 4110 o.add(buildNetwork()); |
4021 o.add(buildNetwork()); | 4111 o.add(buildNetwork()); |
4022 return o; | 4112 return o; |
4023 } | 4113 } |
4024 | 4114 |
4025 checkUnnamed752(core.List<api.Network> o) { | 4115 checkUnnamed2332(core.List<api.Network> o) { |
4026 unittest.expect(o, unittest.hasLength(2)); | 4116 unittest.expect(o, unittest.hasLength(2)); |
4027 checkNetwork(o[0]); | 4117 checkNetwork(o[0]); |
4028 checkNetwork(o[1]); | 4118 checkNetwork(o[1]); |
4029 } | 4119 } |
4030 | 4120 |
4031 core.int buildCounterNetworkList = 0; | 4121 core.int buildCounterNetworkList = 0; |
4032 buildNetworkList() { | 4122 buildNetworkList() { |
4033 var o = new api.NetworkList(); | 4123 var o = new api.NetworkList(); |
4034 buildCounterNetworkList++; | 4124 buildCounterNetworkList++; |
4035 if (buildCounterNetworkList < 3) { | 4125 if (buildCounterNetworkList < 3) { |
4036 o.id = "foo"; | 4126 o.id = "foo"; |
4037 o.items = buildUnnamed752(); | 4127 o.items = buildUnnamed2332(); |
4038 o.kind = "foo"; | 4128 o.kind = "foo"; |
4039 o.nextPageToken = "foo"; | 4129 o.nextPageToken = "foo"; |
4040 o.selfLink = "foo"; | 4130 o.selfLink = "foo"; |
4041 } | 4131 } |
4042 buildCounterNetworkList--; | 4132 buildCounterNetworkList--; |
4043 return o; | 4133 return o; |
4044 } | 4134 } |
4045 | 4135 |
4046 checkNetworkList(api.NetworkList o) { | 4136 checkNetworkList(api.NetworkList o) { |
4047 buildCounterNetworkList++; | 4137 buildCounterNetworkList++; |
4048 if (buildCounterNetworkList < 3) { | 4138 if (buildCounterNetworkList < 3) { |
4049 unittest.expect(o.id, unittest.equals('foo')); | 4139 unittest.expect(o.id, unittest.equals('foo')); |
4050 checkUnnamed752(o.items); | 4140 checkUnnamed2332(o.items); |
4051 unittest.expect(o.kind, unittest.equals('foo')); | 4141 unittest.expect(o.kind, unittest.equals('foo')); |
4052 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4142 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4053 unittest.expect(o.selfLink, unittest.equals('foo')); | 4143 unittest.expect(o.selfLink, unittest.equals('foo')); |
4054 } | 4144 } |
4055 buildCounterNetworkList--; | 4145 buildCounterNetworkList--; |
4056 } | 4146 } |
4057 | 4147 |
4058 core.int buildCounterOperationErrorErrors = 0; | 4148 core.int buildCounterOperationErrorErrors = 0; |
4059 buildOperationErrorErrors() { | 4149 buildOperationErrorErrors() { |
4060 var o = new api.OperationErrorErrors(); | 4150 var o = new api.OperationErrorErrors(); |
(...skipping 10 matching lines...) Expand all Loading... |
4071 checkOperationErrorErrors(api.OperationErrorErrors o) { | 4161 checkOperationErrorErrors(api.OperationErrorErrors o) { |
4072 buildCounterOperationErrorErrors++; | 4162 buildCounterOperationErrorErrors++; |
4073 if (buildCounterOperationErrorErrors < 3) { | 4163 if (buildCounterOperationErrorErrors < 3) { |
4074 unittest.expect(o.code, unittest.equals('foo')); | 4164 unittest.expect(o.code, unittest.equals('foo')); |
4075 unittest.expect(o.location, unittest.equals('foo')); | 4165 unittest.expect(o.location, unittest.equals('foo')); |
4076 unittest.expect(o.message, unittest.equals('foo')); | 4166 unittest.expect(o.message, unittest.equals('foo')); |
4077 } | 4167 } |
4078 buildCounterOperationErrorErrors--; | 4168 buildCounterOperationErrorErrors--; |
4079 } | 4169 } |
4080 | 4170 |
4081 buildUnnamed753() { | 4171 buildUnnamed2333() { |
4082 var o = new core.List<api.OperationErrorErrors>(); | 4172 var o = new core.List<api.OperationErrorErrors>(); |
4083 o.add(buildOperationErrorErrors()); | 4173 o.add(buildOperationErrorErrors()); |
4084 o.add(buildOperationErrorErrors()); | 4174 o.add(buildOperationErrorErrors()); |
4085 return o; | 4175 return o; |
4086 } | 4176 } |
4087 | 4177 |
4088 checkUnnamed753(core.List<api.OperationErrorErrors> o) { | 4178 checkUnnamed2333(core.List<api.OperationErrorErrors> o) { |
4089 unittest.expect(o, unittest.hasLength(2)); | 4179 unittest.expect(o, unittest.hasLength(2)); |
4090 checkOperationErrorErrors(o[0]); | 4180 checkOperationErrorErrors(o[0]); |
4091 checkOperationErrorErrors(o[1]); | 4181 checkOperationErrorErrors(o[1]); |
4092 } | 4182 } |
4093 | 4183 |
4094 core.int buildCounterOperationError = 0; | 4184 core.int buildCounterOperationError = 0; |
4095 buildOperationError() { | 4185 buildOperationError() { |
4096 var o = new api.OperationError(); | 4186 var o = new api.OperationError(); |
4097 buildCounterOperationError++; | 4187 buildCounterOperationError++; |
4098 if (buildCounterOperationError < 3) { | 4188 if (buildCounterOperationError < 3) { |
4099 o.errors = buildUnnamed753(); | 4189 o.errors = buildUnnamed2333(); |
4100 } | 4190 } |
4101 buildCounterOperationError--; | 4191 buildCounterOperationError--; |
4102 return o; | 4192 return o; |
4103 } | 4193 } |
4104 | 4194 |
4105 checkOperationError(api.OperationError o) { | 4195 checkOperationError(api.OperationError o) { |
4106 buildCounterOperationError++; | 4196 buildCounterOperationError++; |
4107 if (buildCounterOperationError < 3) { | 4197 if (buildCounterOperationError < 3) { |
4108 checkUnnamed753(o.errors); | 4198 checkUnnamed2333(o.errors); |
4109 } | 4199 } |
4110 buildCounterOperationError--; | 4200 buildCounterOperationError--; |
4111 } | 4201 } |
4112 | 4202 |
4113 core.int buildCounterOperationWarningsData = 0; | 4203 core.int buildCounterOperationWarningsData = 0; |
4114 buildOperationWarningsData() { | 4204 buildOperationWarningsData() { |
4115 var o = new api.OperationWarningsData(); | 4205 var o = new api.OperationWarningsData(); |
4116 buildCounterOperationWarningsData++; | 4206 buildCounterOperationWarningsData++; |
4117 if (buildCounterOperationWarningsData < 3) { | 4207 if (buildCounterOperationWarningsData < 3) { |
4118 o.key = "foo"; | 4208 o.key = "foo"; |
4119 o.value = "foo"; | 4209 o.value = "foo"; |
4120 } | 4210 } |
4121 buildCounterOperationWarningsData--; | 4211 buildCounterOperationWarningsData--; |
4122 return o; | 4212 return o; |
4123 } | 4213 } |
4124 | 4214 |
4125 checkOperationWarningsData(api.OperationWarningsData o) { | 4215 checkOperationWarningsData(api.OperationWarningsData o) { |
4126 buildCounterOperationWarningsData++; | 4216 buildCounterOperationWarningsData++; |
4127 if (buildCounterOperationWarningsData < 3) { | 4217 if (buildCounterOperationWarningsData < 3) { |
4128 unittest.expect(o.key, unittest.equals('foo')); | 4218 unittest.expect(o.key, unittest.equals('foo')); |
4129 unittest.expect(o.value, unittest.equals('foo')); | 4219 unittest.expect(o.value, unittest.equals('foo')); |
4130 } | 4220 } |
4131 buildCounterOperationWarningsData--; | 4221 buildCounterOperationWarningsData--; |
4132 } | 4222 } |
4133 | 4223 |
4134 buildUnnamed754() { | 4224 buildUnnamed2334() { |
4135 var o = new core.List<api.OperationWarningsData>(); | 4225 var o = new core.List<api.OperationWarningsData>(); |
4136 o.add(buildOperationWarningsData()); | 4226 o.add(buildOperationWarningsData()); |
4137 o.add(buildOperationWarningsData()); | 4227 o.add(buildOperationWarningsData()); |
4138 return o; | 4228 return o; |
4139 } | 4229 } |
4140 | 4230 |
4141 checkUnnamed754(core.List<api.OperationWarningsData> o) { | 4231 checkUnnamed2334(core.List<api.OperationWarningsData> o) { |
4142 unittest.expect(o, unittest.hasLength(2)); | 4232 unittest.expect(o, unittest.hasLength(2)); |
4143 checkOperationWarningsData(o[0]); | 4233 checkOperationWarningsData(o[0]); |
4144 checkOperationWarningsData(o[1]); | 4234 checkOperationWarningsData(o[1]); |
4145 } | 4235 } |
4146 | 4236 |
4147 core.int buildCounterOperationWarnings = 0; | 4237 core.int buildCounterOperationWarnings = 0; |
4148 buildOperationWarnings() { | 4238 buildOperationWarnings() { |
4149 var o = new api.OperationWarnings(); | 4239 var o = new api.OperationWarnings(); |
4150 buildCounterOperationWarnings++; | 4240 buildCounterOperationWarnings++; |
4151 if (buildCounterOperationWarnings < 3) { | 4241 if (buildCounterOperationWarnings < 3) { |
4152 o.code = "foo"; | 4242 o.code = "foo"; |
4153 o.data = buildUnnamed754(); | 4243 o.data = buildUnnamed2334(); |
4154 o.message = "foo"; | 4244 o.message = "foo"; |
4155 } | 4245 } |
4156 buildCounterOperationWarnings--; | 4246 buildCounterOperationWarnings--; |
4157 return o; | 4247 return o; |
4158 } | 4248 } |
4159 | 4249 |
4160 checkOperationWarnings(api.OperationWarnings o) { | 4250 checkOperationWarnings(api.OperationWarnings o) { |
4161 buildCounterOperationWarnings++; | 4251 buildCounterOperationWarnings++; |
4162 if (buildCounterOperationWarnings < 3) { | 4252 if (buildCounterOperationWarnings < 3) { |
4163 unittest.expect(o.code, unittest.equals('foo')); | 4253 unittest.expect(o.code, unittest.equals('foo')); |
4164 checkUnnamed754(o.data); | 4254 checkUnnamed2334(o.data); |
4165 unittest.expect(o.message, unittest.equals('foo')); | 4255 unittest.expect(o.message, unittest.equals('foo')); |
4166 } | 4256 } |
4167 buildCounterOperationWarnings--; | 4257 buildCounterOperationWarnings--; |
4168 } | 4258 } |
4169 | 4259 |
4170 buildUnnamed755() { | 4260 buildUnnamed2335() { |
4171 var o = new core.List<api.OperationWarnings>(); | 4261 var o = new core.List<api.OperationWarnings>(); |
4172 o.add(buildOperationWarnings()); | 4262 o.add(buildOperationWarnings()); |
4173 o.add(buildOperationWarnings()); | 4263 o.add(buildOperationWarnings()); |
4174 return o; | 4264 return o; |
4175 } | 4265 } |
4176 | 4266 |
4177 checkUnnamed755(core.List<api.OperationWarnings> o) { | 4267 checkUnnamed2335(core.List<api.OperationWarnings> o) { |
4178 unittest.expect(o, unittest.hasLength(2)); | 4268 unittest.expect(o, unittest.hasLength(2)); |
4179 checkOperationWarnings(o[0]); | 4269 checkOperationWarnings(o[0]); |
4180 checkOperationWarnings(o[1]); | 4270 checkOperationWarnings(o[1]); |
4181 } | 4271 } |
4182 | 4272 |
4183 core.int buildCounterOperation = 0; | 4273 core.int buildCounterOperation = 0; |
4184 buildOperation() { | 4274 buildOperation() { |
4185 var o = new api.Operation(); | 4275 var o = new api.Operation(); |
4186 buildCounterOperation++; | 4276 buildCounterOperation++; |
4187 if (buildCounterOperation < 3) { | 4277 if (buildCounterOperation < 3) { |
(...skipping 11 matching lines...) Expand all Loading... |
4199 o.operationType = "foo"; | 4289 o.operationType = "foo"; |
4200 o.progress = 42; | 4290 o.progress = 42; |
4201 o.region = "foo"; | 4291 o.region = "foo"; |
4202 o.selfLink = "foo"; | 4292 o.selfLink = "foo"; |
4203 o.startTime = "foo"; | 4293 o.startTime = "foo"; |
4204 o.status = "foo"; | 4294 o.status = "foo"; |
4205 o.statusMessage = "foo"; | 4295 o.statusMessage = "foo"; |
4206 o.targetId = "foo"; | 4296 o.targetId = "foo"; |
4207 o.targetLink = "foo"; | 4297 o.targetLink = "foo"; |
4208 o.user = "foo"; | 4298 o.user = "foo"; |
4209 o.warnings = buildUnnamed755(); | 4299 o.warnings = buildUnnamed2335(); |
4210 o.zone = "foo"; | 4300 o.zone = "foo"; |
4211 } | 4301 } |
4212 buildCounterOperation--; | 4302 buildCounterOperation--; |
4213 return o; | 4303 return o; |
4214 } | 4304 } |
4215 | 4305 |
4216 checkOperation(api.Operation o) { | 4306 checkOperation(api.Operation o) { |
4217 buildCounterOperation++; | 4307 buildCounterOperation++; |
4218 if (buildCounterOperation < 3) { | 4308 if (buildCounterOperation < 3) { |
4219 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 4309 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
(...skipping 10 matching lines...) Expand all Loading... |
4230 unittest.expect(o.operationType, unittest.equals('foo')); | 4320 unittest.expect(o.operationType, unittest.equals('foo')); |
4231 unittest.expect(o.progress, unittest.equals(42)); | 4321 unittest.expect(o.progress, unittest.equals(42)); |
4232 unittest.expect(o.region, unittest.equals('foo')); | 4322 unittest.expect(o.region, unittest.equals('foo')); |
4233 unittest.expect(o.selfLink, unittest.equals('foo')); | 4323 unittest.expect(o.selfLink, unittest.equals('foo')); |
4234 unittest.expect(o.startTime, unittest.equals('foo')); | 4324 unittest.expect(o.startTime, unittest.equals('foo')); |
4235 unittest.expect(o.status, unittest.equals('foo')); | 4325 unittest.expect(o.status, unittest.equals('foo')); |
4236 unittest.expect(o.statusMessage, unittest.equals('foo')); | 4326 unittest.expect(o.statusMessage, unittest.equals('foo')); |
4237 unittest.expect(o.targetId, unittest.equals('foo')); | 4327 unittest.expect(o.targetId, unittest.equals('foo')); |
4238 unittest.expect(o.targetLink, unittest.equals('foo')); | 4328 unittest.expect(o.targetLink, unittest.equals('foo')); |
4239 unittest.expect(o.user, unittest.equals('foo')); | 4329 unittest.expect(o.user, unittest.equals('foo')); |
4240 checkUnnamed755(o.warnings); | 4330 checkUnnamed2335(o.warnings); |
4241 unittest.expect(o.zone, unittest.equals('foo')); | 4331 unittest.expect(o.zone, unittest.equals('foo')); |
4242 } | 4332 } |
4243 buildCounterOperation--; | 4333 buildCounterOperation--; |
4244 } | 4334 } |
4245 | 4335 |
4246 buildUnnamed756() { | 4336 buildUnnamed2336() { |
4247 var o = new core.Map<core.String, api.OperationsScopedList>(); | 4337 var o = new core.Map<core.String, api.OperationsScopedList>(); |
4248 o["x"] = buildOperationsScopedList(); | 4338 o["x"] = buildOperationsScopedList(); |
4249 o["y"] = buildOperationsScopedList(); | 4339 o["y"] = buildOperationsScopedList(); |
4250 return o; | 4340 return o; |
4251 } | 4341 } |
4252 | 4342 |
4253 checkUnnamed756(core.Map<core.String, api.OperationsScopedList> o) { | 4343 checkUnnamed2336(core.Map<core.String, api.OperationsScopedList> o) { |
4254 unittest.expect(o, unittest.hasLength(2)); | 4344 unittest.expect(o, unittest.hasLength(2)); |
4255 checkOperationsScopedList(o["x"]); | 4345 checkOperationsScopedList(o["x"]); |
4256 checkOperationsScopedList(o["y"]); | 4346 checkOperationsScopedList(o["y"]); |
4257 } | 4347 } |
4258 | 4348 |
4259 core.int buildCounterOperationAggregatedList = 0; | 4349 core.int buildCounterOperationAggregatedList = 0; |
4260 buildOperationAggregatedList() { | 4350 buildOperationAggregatedList() { |
4261 var o = new api.OperationAggregatedList(); | 4351 var o = new api.OperationAggregatedList(); |
4262 buildCounterOperationAggregatedList++; | 4352 buildCounterOperationAggregatedList++; |
4263 if (buildCounterOperationAggregatedList < 3) { | 4353 if (buildCounterOperationAggregatedList < 3) { |
4264 o.id = "foo"; | 4354 o.id = "foo"; |
4265 o.items = buildUnnamed756(); | 4355 o.items = buildUnnamed2336(); |
4266 o.kind = "foo"; | 4356 o.kind = "foo"; |
4267 o.nextPageToken = "foo"; | 4357 o.nextPageToken = "foo"; |
4268 o.selfLink = "foo"; | 4358 o.selfLink = "foo"; |
4269 } | 4359 } |
4270 buildCounterOperationAggregatedList--; | 4360 buildCounterOperationAggregatedList--; |
4271 return o; | 4361 return o; |
4272 } | 4362 } |
4273 | 4363 |
4274 checkOperationAggregatedList(api.OperationAggregatedList o) { | 4364 checkOperationAggregatedList(api.OperationAggregatedList o) { |
4275 buildCounterOperationAggregatedList++; | 4365 buildCounterOperationAggregatedList++; |
4276 if (buildCounterOperationAggregatedList < 3) { | 4366 if (buildCounterOperationAggregatedList < 3) { |
4277 unittest.expect(o.id, unittest.equals('foo')); | 4367 unittest.expect(o.id, unittest.equals('foo')); |
4278 checkUnnamed756(o.items); | 4368 checkUnnamed2336(o.items); |
4279 unittest.expect(o.kind, unittest.equals('foo')); | 4369 unittest.expect(o.kind, unittest.equals('foo')); |
4280 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4370 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4281 unittest.expect(o.selfLink, unittest.equals('foo')); | 4371 unittest.expect(o.selfLink, unittest.equals('foo')); |
4282 } | 4372 } |
4283 buildCounterOperationAggregatedList--; | 4373 buildCounterOperationAggregatedList--; |
4284 } | 4374 } |
4285 | 4375 |
4286 buildUnnamed757() { | 4376 buildUnnamed2337() { |
4287 var o = new core.List<api.Operation>(); | 4377 var o = new core.List<api.Operation>(); |
4288 o.add(buildOperation()); | 4378 o.add(buildOperation()); |
4289 o.add(buildOperation()); | 4379 o.add(buildOperation()); |
4290 return o; | 4380 return o; |
4291 } | 4381 } |
4292 | 4382 |
4293 checkUnnamed757(core.List<api.Operation> o) { | 4383 checkUnnamed2337(core.List<api.Operation> o) { |
4294 unittest.expect(o, unittest.hasLength(2)); | 4384 unittest.expect(o, unittest.hasLength(2)); |
4295 checkOperation(o[0]); | 4385 checkOperation(o[0]); |
4296 checkOperation(o[1]); | 4386 checkOperation(o[1]); |
4297 } | 4387 } |
4298 | 4388 |
4299 core.int buildCounterOperationList = 0; | 4389 core.int buildCounterOperationList = 0; |
4300 buildOperationList() { | 4390 buildOperationList() { |
4301 var o = new api.OperationList(); | 4391 var o = new api.OperationList(); |
4302 buildCounterOperationList++; | 4392 buildCounterOperationList++; |
4303 if (buildCounterOperationList < 3) { | 4393 if (buildCounterOperationList < 3) { |
4304 o.id = "foo"; | 4394 o.id = "foo"; |
4305 o.items = buildUnnamed757(); | 4395 o.items = buildUnnamed2337(); |
4306 o.kind = "foo"; | 4396 o.kind = "foo"; |
4307 o.nextPageToken = "foo"; | 4397 o.nextPageToken = "foo"; |
4308 o.selfLink = "foo"; | 4398 o.selfLink = "foo"; |
4309 } | 4399 } |
4310 buildCounterOperationList--; | 4400 buildCounterOperationList--; |
4311 return o; | 4401 return o; |
4312 } | 4402 } |
4313 | 4403 |
4314 checkOperationList(api.OperationList o) { | 4404 checkOperationList(api.OperationList o) { |
4315 buildCounterOperationList++; | 4405 buildCounterOperationList++; |
4316 if (buildCounterOperationList < 3) { | 4406 if (buildCounterOperationList < 3) { |
4317 unittest.expect(o.id, unittest.equals('foo')); | 4407 unittest.expect(o.id, unittest.equals('foo')); |
4318 checkUnnamed757(o.items); | 4408 checkUnnamed2337(o.items); |
4319 unittest.expect(o.kind, unittest.equals('foo')); | 4409 unittest.expect(o.kind, unittest.equals('foo')); |
4320 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4410 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4321 unittest.expect(o.selfLink, unittest.equals('foo')); | 4411 unittest.expect(o.selfLink, unittest.equals('foo')); |
4322 } | 4412 } |
4323 buildCounterOperationList--; | 4413 buildCounterOperationList--; |
4324 } | 4414 } |
4325 | 4415 |
4326 buildUnnamed758() { | 4416 buildUnnamed2338() { |
4327 var o = new core.List<api.Operation>(); | 4417 var o = new core.List<api.Operation>(); |
4328 o.add(buildOperation()); | 4418 o.add(buildOperation()); |
4329 o.add(buildOperation()); | 4419 o.add(buildOperation()); |
4330 return o; | 4420 return o; |
4331 } | 4421 } |
4332 | 4422 |
4333 checkUnnamed758(core.List<api.Operation> o) { | 4423 checkUnnamed2338(core.List<api.Operation> o) { |
4334 unittest.expect(o, unittest.hasLength(2)); | 4424 unittest.expect(o, unittest.hasLength(2)); |
4335 checkOperation(o[0]); | 4425 checkOperation(o[0]); |
4336 checkOperation(o[1]); | 4426 checkOperation(o[1]); |
4337 } | 4427 } |
4338 | 4428 |
4339 core.int buildCounterOperationsScopedListWarningData = 0; | 4429 core.int buildCounterOperationsScopedListWarningData = 0; |
4340 buildOperationsScopedListWarningData() { | 4430 buildOperationsScopedListWarningData() { |
4341 var o = new api.OperationsScopedListWarningData(); | 4431 var o = new api.OperationsScopedListWarningData(); |
4342 buildCounterOperationsScopedListWarningData++; | 4432 buildCounterOperationsScopedListWarningData++; |
4343 if (buildCounterOperationsScopedListWarningData < 3) { | 4433 if (buildCounterOperationsScopedListWarningData < 3) { |
4344 o.key = "foo"; | 4434 o.key = "foo"; |
4345 o.value = "foo"; | 4435 o.value = "foo"; |
4346 } | 4436 } |
4347 buildCounterOperationsScopedListWarningData--; | 4437 buildCounterOperationsScopedListWarningData--; |
4348 return o; | 4438 return o; |
4349 } | 4439 } |
4350 | 4440 |
4351 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { | 4441 checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) { |
4352 buildCounterOperationsScopedListWarningData++; | 4442 buildCounterOperationsScopedListWarningData++; |
4353 if (buildCounterOperationsScopedListWarningData < 3) { | 4443 if (buildCounterOperationsScopedListWarningData < 3) { |
4354 unittest.expect(o.key, unittest.equals('foo')); | 4444 unittest.expect(o.key, unittest.equals('foo')); |
4355 unittest.expect(o.value, unittest.equals('foo')); | 4445 unittest.expect(o.value, unittest.equals('foo')); |
4356 } | 4446 } |
4357 buildCounterOperationsScopedListWarningData--; | 4447 buildCounterOperationsScopedListWarningData--; |
4358 } | 4448 } |
4359 | 4449 |
4360 buildUnnamed759() { | 4450 buildUnnamed2339() { |
4361 var o = new core.List<api.OperationsScopedListWarningData>(); | 4451 var o = new core.List<api.OperationsScopedListWarningData>(); |
4362 o.add(buildOperationsScopedListWarningData()); | 4452 o.add(buildOperationsScopedListWarningData()); |
4363 o.add(buildOperationsScopedListWarningData()); | 4453 o.add(buildOperationsScopedListWarningData()); |
4364 return o; | 4454 return o; |
4365 } | 4455 } |
4366 | 4456 |
4367 checkUnnamed759(core.List<api.OperationsScopedListWarningData> o) { | 4457 checkUnnamed2339(core.List<api.OperationsScopedListWarningData> o) { |
4368 unittest.expect(o, unittest.hasLength(2)); | 4458 unittest.expect(o, unittest.hasLength(2)); |
4369 checkOperationsScopedListWarningData(o[0]); | 4459 checkOperationsScopedListWarningData(o[0]); |
4370 checkOperationsScopedListWarningData(o[1]); | 4460 checkOperationsScopedListWarningData(o[1]); |
4371 } | 4461 } |
4372 | 4462 |
4373 core.int buildCounterOperationsScopedListWarning = 0; | 4463 core.int buildCounterOperationsScopedListWarning = 0; |
4374 buildOperationsScopedListWarning() { | 4464 buildOperationsScopedListWarning() { |
4375 var o = new api.OperationsScopedListWarning(); | 4465 var o = new api.OperationsScopedListWarning(); |
4376 buildCounterOperationsScopedListWarning++; | 4466 buildCounterOperationsScopedListWarning++; |
4377 if (buildCounterOperationsScopedListWarning < 3) { | 4467 if (buildCounterOperationsScopedListWarning < 3) { |
4378 o.code = "foo"; | 4468 o.code = "foo"; |
4379 o.data = buildUnnamed759(); | 4469 o.data = buildUnnamed2339(); |
4380 o.message = "foo"; | 4470 o.message = "foo"; |
4381 } | 4471 } |
4382 buildCounterOperationsScopedListWarning--; | 4472 buildCounterOperationsScopedListWarning--; |
4383 return o; | 4473 return o; |
4384 } | 4474 } |
4385 | 4475 |
4386 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { | 4476 checkOperationsScopedListWarning(api.OperationsScopedListWarning o) { |
4387 buildCounterOperationsScopedListWarning++; | 4477 buildCounterOperationsScopedListWarning++; |
4388 if (buildCounterOperationsScopedListWarning < 3) { | 4478 if (buildCounterOperationsScopedListWarning < 3) { |
4389 unittest.expect(o.code, unittest.equals('foo')); | 4479 unittest.expect(o.code, unittest.equals('foo')); |
4390 checkUnnamed759(o.data); | 4480 checkUnnamed2339(o.data); |
4391 unittest.expect(o.message, unittest.equals('foo')); | 4481 unittest.expect(o.message, unittest.equals('foo')); |
4392 } | 4482 } |
4393 buildCounterOperationsScopedListWarning--; | 4483 buildCounterOperationsScopedListWarning--; |
4394 } | 4484 } |
4395 | 4485 |
4396 core.int buildCounterOperationsScopedList = 0; | 4486 core.int buildCounterOperationsScopedList = 0; |
4397 buildOperationsScopedList() { | 4487 buildOperationsScopedList() { |
4398 var o = new api.OperationsScopedList(); | 4488 var o = new api.OperationsScopedList(); |
4399 buildCounterOperationsScopedList++; | 4489 buildCounterOperationsScopedList++; |
4400 if (buildCounterOperationsScopedList < 3) { | 4490 if (buildCounterOperationsScopedList < 3) { |
4401 o.operations = buildUnnamed758(); | 4491 o.operations = buildUnnamed2338(); |
4402 o.warning = buildOperationsScopedListWarning(); | 4492 o.warning = buildOperationsScopedListWarning(); |
4403 } | 4493 } |
4404 buildCounterOperationsScopedList--; | 4494 buildCounterOperationsScopedList--; |
4405 return o; | 4495 return o; |
4406 } | 4496 } |
4407 | 4497 |
4408 checkOperationsScopedList(api.OperationsScopedList o) { | 4498 checkOperationsScopedList(api.OperationsScopedList o) { |
4409 buildCounterOperationsScopedList++; | 4499 buildCounterOperationsScopedList++; |
4410 if (buildCounterOperationsScopedList < 3) { | 4500 if (buildCounterOperationsScopedList < 3) { |
4411 checkUnnamed758(o.operations); | 4501 checkUnnamed2338(o.operations); |
4412 checkOperationsScopedListWarning(o.warning); | 4502 checkOperationsScopedListWarning(o.warning); |
4413 } | 4503 } |
4414 buildCounterOperationsScopedList--; | 4504 buildCounterOperationsScopedList--; |
4415 } | 4505 } |
4416 | 4506 |
4417 buildUnnamed760() { | 4507 buildUnnamed2340() { |
4418 var o = new core.List<api.PathRule>(); | 4508 var o = new core.List<api.PathRule>(); |
4419 o.add(buildPathRule()); | 4509 o.add(buildPathRule()); |
4420 o.add(buildPathRule()); | 4510 o.add(buildPathRule()); |
4421 return o; | 4511 return o; |
4422 } | 4512 } |
4423 | 4513 |
4424 checkUnnamed760(core.List<api.PathRule> o) { | 4514 checkUnnamed2340(core.List<api.PathRule> o) { |
4425 unittest.expect(o, unittest.hasLength(2)); | 4515 unittest.expect(o, unittest.hasLength(2)); |
4426 checkPathRule(o[0]); | 4516 checkPathRule(o[0]); |
4427 checkPathRule(o[1]); | 4517 checkPathRule(o[1]); |
4428 } | 4518 } |
4429 | 4519 |
4430 core.int buildCounterPathMatcher = 0; | 4520 core.int buildCounterPathMatcher = 0; |
4431 buildPathMatcher() { | 4521 buildPathMatcher() { |
4432 var o = new api.PathMatcher(); | 4522 var o = new api.PathMatcher(); |
4433 buildCounterPathMatcher++; | 4523 buildCounterPathMatcher++; |
4434 if (buildCounterPathMatcher < 3) { | 4524 if (buildCounterPathMatcher < 3) { |
4435 o.defaultService = "foo"; | 4525 o.defaultService = "foo"; |
4436 o.description = "foo"; | 4526 o.description = "foo"; |
4437 o.name = "foo"; | 4527 o.name = "foo"; |
4438 o.pathRules = buildUnnamed760(); | 4528 o.pathRules = buildUnnamed2340(); |
4439 } | 4529 } |
4440 buildCounterPathMatcher--; | 4530 buildCounterPathMatcher--; |
4441 return o; | 4531 return o; |
4442 } | 4532 } |
4443 | 4533 |
4444 checkPathMatcher(api.PathMatcher o) { | 4534 checkPathMatcher(api.PathMatcher o) { |
4445 buildCounterPathMatcher++; | 4535 buildCounterPathMatcher++; |
4446 if (buildCounterPathMatcher < 3) { | 4536 if (buildCounterPathMatcher < 3) { |
4447 unittest.expect(o.defaultService, unittest.equals('foo')); | 4537 unittest.expect(o.defaultService, unittest.equals('foo')); |
4448 unittest.expect(o.description, unittest.equals('foo')); | 4538 unittest.expect(o.description, unittest.equals('foo')); |
4449 unittest.expect(o.name, unittest.equals('foo')); | 4539 unittest.expect(o.name, unittest.equals('foo')); |
4450 checkUnnamed760(o.pathRules); | 4540 checkUnnamed2340(o.pathRules); |
4451 } | 4541 } |
4452 buildCounterPathMatcher--; | 4542 buildCounterPathMatcher--; |
4453 } | 4543 } |
4454 | 4544 |
4455 buildUnnamed761() { | 4545 buildUnnamed2341() { |
4456 var o = new core.List<core.String>(); | 4546 var o = new core.List<core.String>(); |
4457 o.add("foo"); | 4547 o.add("foo"); |
4458 o.add("foo"); | 4548 o.add("foo"); |
4459 return o; | 4549 return o; |
4460 } | 4550 } |
4461 | 4551 |
4462 checkUnnamed761(core.List<core.String> o) { | 4552 checkUnnamed2341(core.List<core.String> o) { |
4463 unittest.expect(o, unittest.hasLength(2)); | 4553 unittest.expect(o, unittest.hasLength(2)); |
4464 unittest.expect(o[0], unittest.equals('foo')); | 4554 unittest.expect(o[0], unittest.equals('foo')); |
4465 unittest.expect(o[1], unittest.equals('foo')); | 4555 unittest.expect(o[1], unittest.equals('foo')); |
4466 } | 4556 } |
4467 | 4557 |
4468 core.int buildCounterPathRule = 0; | 4558 core.int buildCounterPathRule = 0; |
4469 buildPathRule() { | 4559 buildPathRule() { |
4470 var o = new api.PathRule(); | 4560 var o = new api.PathRule(); |
4471 buildCounterPathRule++; | 4561 buildCounterPathRule++; |
4472 if (buildCounterPathRule < 3) { | 4562 if (buildCounterPathRule < 3) { |
4473 o.paths = buildUnnamed761(); | 4563 o.paths = buildUnnamed2341(); |
4474 o.service = "foo"; | 4564 o.service = "foo"; |
4475 } | 4565 } |
4476 buildCounterPathRule--; | 4566 buildCounterPathRule--; |
4477 return o; | 4567 return o; |
4478 } | 4568 } |
4479 | 4569 |
4480 checkPathRule(api.PathRule o) { | 4570 checkPathRule(api.PathRule o) { |
4481 buildCounterPathRule++; | 4571 buildCounterPathRule++; |
4482 if (buildCounterPathRule < 3) { | 4572 if (buildCounterPathRule < 3) { |
4483 checkUnnamed761(o.paths); | 4573 checkUnnamed2341(o.paths); |
4484 unittest.expect(o.service, unittest.equals('foo')); | 4574 unittest.expect(o.service, unittest.equals('foo')); |
4485 } | 4575 } |
4486 buildCounterPathRule--; | 4576 buildCounterPathRule--; |
4487 } | 4577 } |
4488 | 4578 |
4489 buildUnnamed762() { | 4579 buildUnnamed2342() { |
4490 var o = new core.List<core.String>(); | 4580 var o = new core.List<core.String>(); |
4491 o.add("foo"); | 4581 o.add("foo"); |
4492 o.add("foo"); | 4582 o.add("foo"); |
4493 return o; | 4583 return o; |
4494 } | 4584 } |
4495 | 4585 |
4496 checkUnnamed762(core.List<core.String> o) { | 4586 checkUnnamed2342(core.List<core.String> o) { |
4497 unittest.expect(o, unittest.hasLength(2)); | 4587 unittest.expect(o, unittest.hasLength(2)); |
4498 unittest.expect(o[0], unittest.equals('foo')); | 4588 unittest.expect(o[0], unittest.equals('foo')); |
4499 unittest.expect(o[1], unittest.equals('foo')); | 4589 unittest.expect(o[1], unittest.equals('foo')); |
4500 } | 4590 } |
4501 | 4591 |
4502 buildUnnamed763() { | 4592 buildUnnamed2343() { |
4503 var o = new core.List<api.Quota>(); | 4593 var o = new core.List<api.Quota>(); |
4504 o.add(buildQuota()); | 4594 o.add(buildQuota()); |
4505 o.add(buildQuota()); | 4595 o.add(buildQuota()); |
4506 return o; | 4596 return o; |
4507 } | 4597 } |
4508 | 4598 |
4509 checkUnnamed763(core.List<api.Quota> o) { | 4599 checkUnnamed2343(core.List<api.Quota> o) { |
4510 unittest.expect(o, unittest.hasLength(2)); | 4600 unittest.expect(o, unittest.hasLength(2)); |
4511 checkQuota(o[0]); | 4601 checkQuota(o[0]); |
4512 checkQuota(o[1]); | 4602 checkQuota(o[1]); |
4513 } | 4603 } |
4514 | 4604 |
4515 core.int buildCounterProject = 0; | 4605 core.int buildCounterProject = 0; |
4516 buildProject() { | 4606 buildProject() { |
4517 var o = new api.Project(); | 4607 var o = new api.Project(); |
4518 buildCounterProject++; | 4608 buildCounterProject++; |
4519 if (buildCounterProject < 3) { | 4609 if (buildCounterProject < 3) { |
4520 o.commonInstanceMetadata = buildMetadata(); | 4610 o.commonInstanceMetadata = buildMetadata(); |
4521 o.creationTimestamp = "foo"; | 4611 o.creationTimestamp = "foo"; |
| 4612 o.defaultServiceAccount = "foo"; |
4522 o.description = "foo"; | 4613 o.description = "foo"; |
4523 o.enabledFeatures = buildUnnamed762(); | 4614 o.enabledFeatures = buildUnnamed2342(); |
4524 o.id = "foo"; | 4615 o.id = "foo"; |
4525 o.kind = "foo"; | 4616 o.kind = "foo"; |
4526 o.name = "foo"; | 4617 o.name = "foo"; |
4527 o.quotas = buildUnnamed763(); | 4618 o.quotas = buildUnnamed2343(); |
4528 o.selfLink = "foo"; | 4619 o.selfLink = "foo"; |
4529 o.usageExportLocation = buildUsageExportLocation(); | 4620 o.usageExportLocation = buildUsageExportLocation(); |
4530 } | 4621 } |
4531 buildCounterProject--; | 4622 buildCounterProject--; |
4532 return o; | 4623 return o; |
4533 } | 4624 } |
4534 | 4625 |
4535 checkProject(api.Project o) { | 4626 checkProject(api.Project o) { |
4536 buildCounterProject++; | 4627 buildCounterProject++; |
4537 if (buildCounterProject < 3) { | 4628 if (buildCounterProject < 3) { |
4538 checkMetadata(o.commonInstanceMetadata); | 4629 checkMetadata(o.commonInstanceMetadata); |
4539 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4630 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 4631 unittest.expect(o.defaultServiceAccount, unittest.equals('foo')); |
4540 unittest.expect(o.description, unittest.equals('foo')); | 4632 unittest.expect(o.description, unittest.equals('foo')); |
4541 checkUnnamed762(o.enabledFeatures); | 4633 checkUnnamed2342(o.enabledFeatures); |
4542 unittest.expect(o.id, unittest.equals('foo')); | 4634 unittest.expect(o.id, unittest.equals('foo')); |
4543 unittest.expect(o.kind, unittest.equals('foo')); | 4635 unittest.expect(o.kind, unittest.equals('foo')); |
4544 unittest.expect(o.name, unittest.equals('foo')); | 4636 unittest.expect(o.name, unittest.equals('foo')); |
4545 checkUnnamed763(o.quotas); | 4637 checkUnnamed2343(o.quotas); |
4546 unittest.expect(o.selfLink, unittest.equals('foo')); | 4638 unittest.expect(o.selfLink, unittest.equals('foo')); |
4547 checkUsageExportLocation(o.usageExportLocation); | 4639 checkUsageExportLocation(o.usageExportLocation); |
4548 } | 4640 } |
4549 buildCounterProject--; | 4641 buildCounterProject--; |
4550 } | 4642 } |
4551 | 4643 |
4552 core.int buildCounterQuota = 0; | 4644 core.int buildCounterQuota = 0; |
4553 buildQuota() { | 4645 buildQuota() { |
4554 var o = new api.Quota(); | 4646 var o = new api.Quota(); |
4555 buildCounterQuota++; | 4647 buildCounterQuota++; |
4556 if (buildCounterQuota < 3) { | 4648 if (buildCounterQuota < 3) { |
4557 o.limit = 42.0; | 4649 o.limit = 42.0; |
4558 o.metric = "foo"; | 4650 o.metric = "foo"; |
4559 o.usage = 42.0; | 4651 o.usage = 42.0; |
4560 } | 4652 } |
4561 buildCounterQuota--; | 4653 buildCounterQuota--; |
4562 return o; | 4654 return o; |
4563 } | 4655 } |
4564 | 4656 |
4565 checkQuota(api.Quota o) { | 4657 checkQuota(api.Quota o) { |
4566 buildCounterQuota++; | 4658 buildCounterQuota++; |
4567 if (buildCounterQuota < 3) { | 4659 if (buildCounterQuota < 3) { |
4568 unittest.expect(o.limit, unittest.equals(42.0)); | 4660 unittest.expect(o.limit, unittest.equals(42.0)); |
4569 unittest.expect(o.metric, unittest.equals('foo')); | 4661 unittest.expect(o.metric, unittest.equals('foo')); |
4570 unittest.expect(o.usage, unittest.equals(42.0)); | 4662 unittest.expect(o.usage, unittest.equals(42.0)); |
4571 } | 4663 } |
4572 buildCounterQuota--; | 4664 buildCounterQuota--; |
4573 } | 4665 } |
4574 | 4666 |
4575 buildUnnamed764() { | 4667 buildUnnamed2344() { |
4576 var o = new core.List<api.Quota>(); | 4668 var o = new core.List<api.Quota>(); |
4577 o.add(buildQuota()); | 4669 o.add(buildQuota()); |
4578 o.add(buildQuota()); | 4670 o.add(buildQuota()); |
4579 return o; | 4671 return o; |
4580 } | 4672 } |
4581 | 4673 |
4582 checkUnnamed764(core.List<api.Quota> o) { | 4674 checkUnnamed2344(core.List<api.Quota> o) { |
4583 unittest.expect(o, unittest.hasLength(2)); | 4675 unittest.expect(o, unittest.hasLength(2)); |
4584 checkQuota(o[0]); | 4676 checkQuota(o[0]); |
4585 checkQuota(o[1]); | 4677 checkQuota(o[1]); |
4586 } | 4678 } |
4587 | 4679 |
4588 buildUnnamed765() { | 4680 buildUnnamed2345() { |
4589 var o = new core.List<core.String>(); | 4681 var o = new core.List<core.String>(); |
4590 o.add("foo"); | 4682 o.add("foo"); |
4591 o.add("foo"); | 4683 o.add("foo"); |
4592 return o; | 4684 return o; |
4593 } | 4685 } |
4594 | 4686 |
4595 checkUnnamed765(core.List<core.String> o) { | 4687 checkUnnamed2345(core.List<core.String> o) { |
4596 unittest.expect(o, unittest.hasLength(2)); | 4688 unittest.expect(o, unittest.hasLength(2)); |
4597 unittest.expect(o[0], unittest.equals('foo')); | 4689 unittest.expect(o[0], unittest.equals('foo')); |
4598 unittest.expect(o[1], unittest.equals('foo')); | 4690 unittest.expect(o[1], unittest.equals('foo')); |
4599 } | 4691 } |
4600 | 4692 |
4601 core.int buildCounterRegion = 0; | 4693 core.int buildCounterRegion = 0; |
4602 buildRegion() { | 4694 buildRegion() { |
4603 var o = new api.Region(); | 4695 var o = new api.Region(); |
4604 buildCounterRegion++; | 4696 buildCounterRegion++; |
4605 if (buildCounterRegion < 3) { | 4697 if (buildCounterRegion < 3) { |
4606 o.creationTimestamp = "foo"; | 4698 o.creationTimestamp = "foo"; |
4607 o.deprecated = buildDeprecationStatus(); | 4699 o.deprecated = buildDeprecationStatus(); |
4608 o.description = "foo"; | 4700 o.description = "foo"; |
4609 o.id = "foo"; | 4701 o.id = "foo"; |
4610 o.kind = "foo"; | 4702 o.kind = "foo"; |
4611 o.name = "foo"; | 4703 o.name = "foo"; |
4612 o.quotas = buildUnnamed764(); | 4704 o.quotas = buildUnnamed2344(); |
4613 o.selfLink = "foo"; | 4705 o.selfLink = "foo"; |
4614 o.status = "foo"; | 4706 o.status = "foo"; |
4615 o.zones = buildUnnamed765(); | 4707 o.zones = buildUnnamed2345(); |
4616 } | 4708 } |
4617 buildCounterRegion--; | 4709 buildCounterRegion--; |
4618 return o; | 4710 return o; |
4619 } | 4711 } |
4620 | 4712 |
4621 checkRegion(api.Region o) { | 4713 checkRegion(api.Region o) { |
4622 buildCounterRegion++; | 4714 buildCounterRegion++; |
4623 if (buildCounterRegion < 3) { | 4715 if (buildCounterRegion < 3) { |
4624 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4716 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4625 checkDeprecationStatus(o.deprecated); | 4717 checkDeprecationStatus(o.deprecated); |
4626 unittest.expect(o.description, unittest.equals('foo')); | 4718 unittest.expect(o.description, unittest.equals('foo')); |
4627 unittest.expect(o.id, unittest.equals('foo')); | 4719 unittest.expect(o.id, unittest.equals('foo')); |
4628 unittest.expect(o.kind, unittest.equals('foo')); | 4720 unittest.expect(o.kind, unittest.equals('foo')); |
4629 unittest.expect(o.name, unittest.equals('foo')); | 4721 unittest.expect(o.name, unittest.equals('foo')); |
4630 checkUnnamed764(o.quotas); | 4722 checkUnnamed2344(o.quotas); |
4631 unittest.expect(o.selfLink, unittest.equals('foo')); | 4723 unittest.expect(o.selfLink, unittest.equals('foo')); |
4632 unittest.expect(o.status, unittest.equals('foo')); | 4724 unittest.expect(o.status, unittest.equals('foo')); |
4633 checkUnnamed765(o.zones); | 4725 checkUnnamed2345(o.zones); |
4634 } | 4726 } |
4635 buildCounterRegion--; | 4727 buildCounterRegion--; |
4636 } | 4728 } |
4637 | 4729 |
4638 buildUnnamed766() { | 4730 buildUnnamed2346() { |
4639 var o = new core.List<api.Region>(); | 4731 var o = new core.List<api.Region>(); |
4640 o.add(buildRegion()); | 4732 o.add(buildRegion()); |
4641 o.add(buildRegion()); | 4733 o.add(buildRegion()); |
4642 return o; | 4734 return o; |
4643 } | 4735 } |
4644 | 4736 |
4645 checkUnnamed766(core.List<api.Region> o) { | 4737 checkUnnamed2346(core.List<api.Region> o) { |
4646 unittest.expect(o, unittest.hasLength(2)); | 4738 unittest.expect(o, unittest.hasLength(2)); |
4647 checkRegion(o[0]); | 4739 checkRegion(o[0]); |
4648 checkRegion(o[1]); | 4740 checkRegion(o[1]); |
4649 } | 4741 } |
4650 | 4742 |
4651 core.int buildCounterRegionList = 0; | 4743 core.int buildCounterRegionList = 0; |
4652 buildRegionList() { | 4744 buildRegionList() { |
4653 var o = new api.RegionList(); | 4745 var o = new api.RegionList(); |
4654 buildCounterRegionList++; | 4746 buildCounterRegionList++; |
4655 if (buildCounterRegionList < 3) { | 4747 if (buildCounterRegionList < 3) { |
4656 o.id = "foo"; | 4748 o.id = "foo"; |
4657 o.items = buildUnnamed766(); | 4749 o.items = buildUnnamed2346(); |
4658 o.kind = "foo"; | 4750 o.kind = "foo"; |
4659 o.nextPageToken = "foo"; | 4751 o.nextPageToken = "foo"; |
4660 o.selfLink = "foo"; | 4752 o.selfLink = "foo"; |
4661 } | 4753 } |
4662 buildCounterRegionList--; | 4754 buildCounterRegionList--; |
4663 return o; | 4755 return o; |
4664 } | 4756 } |
4665 | 4757 |
4666 checkRegionList(api.RegionList o) { | 4758 checkRegionList(api.RegionList o) { |
4667 buildCounterRegionList++; | 4759 buildCounterRegionList++; |
4668 if (buildCounterRegionList < 3) { | 4760 if (buildCounterRegionList < 3) { |
4669 unittest.expect(o.id, unittest.equals('foo')); | 4761 unittest.expect(o.id, unittest.equals('foo')); |
4670 checkUnnamed766(o.items); | 4762 checkUnnamed2346(o.items); |
4671 unittest.expect(o.kind, unittest.equals('foo')); | 4763 unittest.expect(o.kind, unittest.equals('foo')); |
4672 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4764 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4673 unittest.expect(o.selfLink, unittest.equals('foo')); | 4765 unittest.expect(o.selfLink, unittest.equals('foo')); |
4674 } | 4766 } |
4675 buildCounterRegionList--; | 4767 buildCounterRegionList--; |
4676 } | 4768 } |
4677 | 4769 |
4678 core.int buildCounterResourceGroupReference = 0; | 4770 core.int buildCounterResourceGroupReference = 0; |
4679 buildResourceGroupReference() { | 4771 buildResourceGroupReference() { |
4680 var o = new api.ResourceGroupReference(); | 4772 var o = new api.ResourceGroupReference(); |
4681 buildCounterResourceGroupReference++; | 4773 buildCounterResourceGroupReference++; |
4682 if (buildCounterResourceGroupReference < 3) { | 4774 if (buildCounterResourceGroupReference < 3) { |
4683 o.group = "foo"; | 4775 o.group = "foo"; |
4684 } | 4776 } |
4685 buildCounterResourceGroupReference--; | 4777 buildCounterResourceGroupReference--; |
4686 return o; | 4778 return o; |
4687 } | 4779 } |
4688 | 4780 |
4689 checkResourceGroupReference(api.ResourceGroupReference o) { | 4781 checkResourceGroupReference(api.ResourceGroupReference o) { |
4690 buildCounterResourceGroupReference++; | 4782 buildCounterResourceGroupReference++; |
4691 if (buildCounterResourceGroupReference < 3) { | 4783 if (buildCounterResourceGroupReference < 3) { |
4692 unittest.expect(o.group, unittest.equals('foo')); | 4784 unittest.expect(o.group, unittest.equals('foo')); |
4693 } | 4785 } |
4694 buildCounterResourceGroupReference--; | 4786 buildCounterResourceGroupReference--; |
4695 } | 4787 } |
4696 | 4788 |
4697 buildUnnamed767() { | 4789 buildUnnamed2347() { |
4698 var o = new core.List<core.String>(); | 4790 var o = new core.List<core.String>(); |
4699 o.add("foo"); | 4791 o.add("foo"); |
4700 o.add("foo"); | 4792 o.add("foo"); |
4701 return o; | 4793 return o; |
4702 } | 4794 } |
4703 | 4795 |
4704 checkUnnamed767(core.List<core.String> o) { | 4796 checkUnnamed2347(core.List<core.String> o) { |
4705 unittest.expect(o, unittest.hasLength(2)); | 4797 unittest.expect(o, unittest.hasLength(2)); |
4706 unittest.expect(o[0], unittest.equals('foo')); | 4798 unittest.expect(o[0], unittest.equals('foo')); |
4707 unittest.expect(o[1], unittest.equals('foo')); | 4799 unittest.expect(o[1], unittest.equals('foo')); |
4708 } | 4800 } |
4709 | 4801 |
4710 core.int buildCounterRouteWarningsData = 0; | 4802 core.int buildCounterRouteWarningsData = 0; |
4711 buildRouteWarningsData() { | 4803 buildRouteWarningsData() { |
4712 var o = new api.RouteWarningsData(); | 4804 var o = new api.RouteWarningsData(); |
4713 buildCounterRouteWarningsData++; | 4805 buildCounterRouteWarningsData++; |
4714 if (buildCounterRouteWarningsData < 3) { | 4806 if (buildCounterRouteWarningsData < 3) { |
4715 o.key = "foo"; | 4807 o.key = "foo"; |
4716 o.value = "foo"; | 4808 o.value = "foo"; |
4717 } | 4809 } |
4718 buildCounterRouteWarningsData--; | 4810 buildCounterRouteWarningsData--; |
4719 return o; | 4811 return o; |
4720 } | 4812 } |
4721 | 4813 |
4722 checkRouteWarningsData(api.RouteWarningsData o) { | 4814 checkRouteWarningsData(api.RouteWarningsData o) { |
4723 buildCounterRouteWarningsData++; | 4815 buildCounterRouteWarningsData++; |
4724 if (buildCounterRouteWarningsData < 3) { | 4816 if (buildCounterRouteWarningsData < 3) { |
4725 unittest.expect(o.key, unittest.equals('foo')); | 4817 unittest.expect(o.key, unittest.equals('foo')); |
4726 unittest.expect(o.value, unittest.equals('foo')); | 4818 unittest.expect(o.value, unittest.equals('foo')); |
4727 } | 4819 } |
4728 buildCounterRouteWarningsData--; | 4820 buildCounterRouteWarningsData--; |
4729 } | 4821 } |
4730 | 4822 |
4731 buildUnnamed768() { | 4823 buildUnnamed2348() { |
4732 var o = new core.List<api.RouteWarningsData>(); | 4824 var o = new core.List<api.RouteWarningsData>(); |
4733 o.add(buildRouteWarningsData()); | 4825 o.add(buildRouteWarningsData()); |
4734 o.add(buildRouteWarningsData()); | 4826 o.add(buildRouteWarningsData()); |
4735 return o; | 4827 return o; |
4736 } | 4828 } |
4737 | 4829 |
4738 checkUnnamed768(core.List<api.RouteWarningsData> o) { | 4830 checkUnnamed2348(core.List<api.RouteWarningsData> o) { |
4739 unittest.expect(o, unittest.hasLength(2)); | 4831 unittest.expect(o, unittest.hasLength(2)); |
4740 checkRouteWarningsData(o[0]); | 4832 checkRouteWarningsData(o[0]); |
4741 checkRouteWarningsData(o[1]); | 4833 checkRouteWarningsData(o[1]); |
4742 } | 4834 } |
4743 | 4835 |
4744 core.int buildCounterRouteWarnings = 0; | 4836 core.int buildCounterRouteWarnings = 0; |
4745 buildRouteWarnings() { | 4837 buildRouteWarnings() { |
4746 var o = new api.RouteWarnings(); | 4838 var o = new api.RouteWarnings(); |
4747 buildCounterRouteWarnings++; | 4839 buildCounterRouteWarnings++; |
4748 if (buildCounterRouteWarnings < 3) { | 4840 if (buildCounterRouteWarnings < 3) { |
4749 o.code = "foo"; | 4841 o.code = "foo"; |
4750 o.data = buildUnnamed768(); | 4842 o.data = buildUnnamed2348(); |
4751 o.message = "foo"; | 4843 o.message = "foo"; |
4752 } | 4844 } |
4753 buildCounterRouteWarnings--; | 4845 buildCounterRouteWarnings--; |
4754 return o; | 4846 return o; |
4755 } | 4847 } |
4756 | 4848 |
4757 checkRouteWarnings(api.RouteWarnings o) { | 4849 checkRouteWarnings(api.RouteWarnings o) { |
4758 buildCounterRouteWarnings++; | 4850 buildCounterRouteWarnings++; |
4759 if (buildCounterRouteWarnings < 3) { | 4851 if (buildCounterRouteWarnings < 3) { |
4760 unittest.expect(o.code, unittest.equals('foo')); | 4852 unittest.expect(o.code, unittest.equals('foo')); |
4761 checkUnnamed768(o.data); | 4853 checkUnnamed2348(o.data); |
4762 unittest.expect(o.message, unittest.equals('foo')); | 4854 unittest.expect(o.message, unittest.equals('foo')); |
4763 } | 4855 } |
4764 buildCounterRouteWarnings--; | 4856 buildCounterRouteWarnings--; |
4765 } | 4857 } |
4766 | 4858 |
4767 buildUnnamed769() { | 4859 buildUnnamed2349() { |
4768 var o = new core.List<api.RouteWarnings>(); | 4860 var o = new core.List<api.RouteWarnings>(); |
4769 o.add(buildRouteWarnings()); | 4861 o.add(buildRouteWarnings()); |
4770 o.add(buildRouteWarnings()); | 4862 o.add(buildRouteWarnings()); |
4771 return o; | 4863 return o; |
4772 } | 4864 } |
4773 | 4865 |
4774 checkUnnamed769(core.List<api.RouteWarnings> o) { | 4866 checkUnnamed2349(core.List<api.RouteWarnings> o) { |
4775 unittest.expect(o, unittest.hasLength(2)); | 4867 unittest.expect(o, unittest.hasLength(2)); |
4776 checkRouteWarnings(o[0]); | 4868 checkRouteWarnings(o[0]); |
4777 checkRouteWarnings(o[1]); | 4869 checkRouteWarnings(o[1]); |
4778 } | 4870 } |
4779 | 4871 |
4780 core.int buildCounterRoute = 0; | 4872 core.int buildCounterRoute = 0; |
4781 buildRoute() { | 4873 buildRoute() { |
4782 var o = new api.Route(); | 4874 var o = new api.Route(); |
4783 buildCounterRoute++; | 4875 buildCounterRoute++; |
4784 if (buildCounterRoute < 3) { | 4876 if (buildCounterRoute < 3) { |
4785 o.creationTimestamp = "foo"; | 4877 o.creationTimestamp = "foo"; |
4786 o.description = "foo"; | 4878 o.description = "foo"; |
4787 o.destRange = "foo"; | 4879 o.destRange = "foo"; |
4788 o.id = "foo"; | 4880 o.id = "foo"; |
4789 o.kind = "foo"; | 4881 o.kind = "foo"; |
4790 o.name = "foo"; | 4882 o.name = "foo"; |
4791 o.network = "foo"; | 4883 o.network = "foo"; |
4792 o.nextHopGateway = "foo"; | 4884 o.nextHopGateway = "foo"; |
4793 o.nextHopInstance = "foo"; | 4885 o.nextHopInstance = "foo"; |
4794 o.nextHopIp = "foo"; | 4886 o.nextHopIp = "foo"; |
4795 o.nextHopNetwork = "foo"; | 4887 o.nextHopNetwork = "foo"; |
4796 o.nextHopVpnTunnel = "foo"; | 4888 o.nextHopVpnTunnel = "foo"; |
4797 o.priority = 42; | 4889 o.priority = 42; |
4798 o.selfLink = "foo"; | 4890 o.selfLink = "foo"; |
4799 o.tags = buildUnnamed767(); | 4891 o.tags = buildUnnamed2347(); |
4800 o.warnings = buildUnnamed769(); | 4892 o.warnings = buildUnnamed2349(); |
4801 } | 4893 } |
4802 buildCounterRoute--; | 4894 buildCounterRoute--; |
4803 return o; | 4895 return o; |
4804 } | 4896 } |
4805 | 4897 |
4806 checkRoute(api.Route o) { | 4898 checkRoute(api.Route o) { |
4807 buildCounterRoute++; | 4899 buildCounterRoute++; |
4808 if (buildCounterRoute < 3) { | 4900 if (buildCounterRoute < 3) { |
4809 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 4901 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4810 unittest.expect(o.description, unittest.equals('foo')); | 4902 unittest.expect(o.description, unittest.equals('foo')); |
4811 unittest.expect(o.destRange, unittest.equals('foo')); | 4903 unittest.expect(o.destRange, unittest.equals('foo')); |
4812 unittest.expect(o.id, unittest.equals('foo')); | 4904 unittest.expect(o.id, unittest.equals('foo')); |
4813 unittest.expect(o.kind, unittest.equals('foo')); | 4905 unittest.expect(o.kind, unittest.equals('foo')); |
4814 unittest.expect(o.name, unittest.equals('foo')); | 4906 unittest.expect(o.name, unittest.equals('foo')); |
4815 unittest.expect(o.network, unittest.equals('foo')); | 4907 unittest.expect(o.network, unittest.equals('foo')); |
4816 unittest.expect(o.nextHopGateway, unittest.equals('foo')); | 4908 unittest.expect(o.nextHopGateway, unittest.equals('foo')); |
4817 unittest.expect(o.nextHopInstance, unittest.equals('foo')); | 4909 unittest.expect(o.nextHopInstance, unittest.equals('foo')); |
4818 unittest.expect(o.nextHopIp, unittest.equals('foo')); | 4910 unittest.expect(o.nextHopIp, unittest.equals('foo')); |
4819 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); | 4911 unittest.expect(o.nextHopNetwork, unittest.equals('foo')); |
4820 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); | 4912 unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo')); |
4821 unittest.expect(o.priority, unittest.equals(42)); | 4913 unittest.expect(o.priority, unittest.equals(42)); |
4822 unittest.expect(o.selfLink, unittest.equals('foo')); | 4914 unittest.expect(o.selfLink, unittest.equals('foo')); |
4823 checkUnnamed767(o.tags); | 4915 checkUnnamed2347(o.tags); |
4824 checkUnnamed769(o.warnings); | 4916 checkUnnamed2349(o.warnings); |
4825 } | 4917 } |
4826 buildCounterRoute--; | 4918 buildCounterRoute--; |
4827 } | 4919 } |
4828 | 4920 |
4829 buildUnnamed770() { | 4921 buildUnnamed2350() { |
4830 var o = new core.List<api.Route>(); | 4922 var o = new core.List<api.Route>(); |
4831 o.add(buildRoute()); | 4923 o.add(buildRoute()); |
4832 o.add(buildRoute()); | 4924 o.add(buildRoute()); |
4833 return o; | 4925 return o; |
4834 } | 4926 } |
4835 | 4927 |
4836 checkUnnamed770(core.List<api.Route> o) { | 4928 checkUnnamed2350(core.List<api.Route> o) { |
4837 unittest.expect(o, unittest.hasLength(2)); | 4929 unittest.expect(o, unittest.hasLength(2)); |
4838 checkRoute(o[0]); | 4930 checkRoute(o[0]); |
4839 checkRoute(o[1]); | 4931 checkRoute(o[1]); |
4840 } | 4932 } |
4841 | 4933 |
4842 core.int buildCounterRouteList = 0; | 4934 core.int buildCounterRouteList = 0; |
4843 buildRouteList() { | 4935 buildRouteList() { |
4844 var o = new api.RouteList(); | 4936 var o = new api.RouteList(); |
4845 buildCounterRouteList++; | 4937 buildCounterRouteList++; |
4846 if (buildCounterRouteList < 3) { | 4938 if (buildCounterRouteList < 3) { |
4847 o.id = "foo"; | 4939 o.id = "foo"; |
4848 o.items = buildUnnamed770(); | 4940 o.items = buildUnnamed2350(); |
4849 o.kind = "foo"; | 4941 o.kind = "foo"; |
4850 o.nextPageToken = "foo"; | 4942 o.nextPageToken = "foo"; |
4851 o.selfLink = "foo"; | 4943 o.selfLink = "foo"; |
4852 } | 4944 } |
4853 buildCounterRouteList--; | 4945 buildCounterRouteList--; |
4854 return o; | 4946 return o; |
4855 } | 4947 } |
4856 | 4948 |
4857 checkRouteList(api.RouteList o) { | 4949 checkRouteList(api.RouteList o) { |
4858 buildCounterRouteList++; | 4950 buildCounterRouteList++; |
4859 if (buildCounterRouteList < 3) { | 4951 if (buildCounterRouteList < 3) { |
4860 unittest.expect(o.id, unittest.equals('foo')); | 4952 unittest.expect(o.id, unittest.equals('foo')); |
4861 checkUnnamed770(o.items); | 4953 checkUnnamed2350(o.items); |
4862 unittest.expect(o.kind, unittest.equals('foo')); | 4954 unittest.expect(o.kind, unittest.equals('foo')); |
4863 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4955 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4864 unittest.expect(o.selfLink, unittest.equals('foo')); | 4956 unittest.expect(o.selfLink, unittest.equals('foo')); |
4865 } | 4957 } |
4866 buildCounterRouteList--; | 4958 buildCounterRouteList--; |
4867 } | 4959 } |
4868 | 4960 |
| 4961 buildUnnamed2351() { |
| 4962 var o = new core.List<api.RouterBgpPeer>(); |
| 4963 o.add(buildRouterBgpPeer()); |
| 4964 o.add(buildRouterBgpPeer()); |
| 4965 return o; |
| 4966 } |
| 4967 |
| 4968 checkUnnamed2351(core.List<api.RouterBgpPeer> o) { |
| 4969 unittest.expect(o, unittest.hasLength(2)); |
| 4970 checkRouterBgpPeer(o[0]); |
| 4971 checkRouterBgpPeer(o[1]); |
| 4972 } |
| 4973 |
| 4974 buildUnnamed2352() { |
| 4975 var o = new core.List<api.RouterInterface>(); |
| 4976 o.add(buildRouterInterface()); |
| 4977 o.add(buildRouterInterface()); |
| 4978 return o; |
| 4979 } |
| 4980 |
| 4981 checkUnnamed2352(core.List<api.RouterInterface> o) { |
| 4982 unittest.expect(o, unittest.hasLength(2)); |
| 4983 checkRouterInterface(o[0]); |
| 4984 checkRouterInterface(o[1]); |
| 4985 } |
| 4986 |
| 4987 core.int buildCounterRouter = 0; |
| 4988 buildRouter() { |
| 4989 var o = new api.Router(); |
| 4990 buildCounterRouter++; |
| 4991 if (buildCounterRouter < 3) { |
| 4992 o.bgp = buildRouterBgp(); |
| 4993 o.bgpPeers = buildUnnamed2351(); |
| 4994 o.creationTimestamp = "foo"; |
| 4995 o.description = "foo"; |
| 4996 o.id = "foo"; |
| 4997 o.interfaces = buildUnnamed2352(); |
| 4998 o.kind = "foo"; |
| 4999 o.name = "foo"; |
| 5000 o.network = "foo"; |
| 5001 o.region = "foo"; |
| 5002 o.selfLink = "foo"; |
| 5003 } |
| 5004 buildCounterRouter--; |
| 5005 return o; |
| 5006 } |
| 5007 |
| 5008 checkRouter(api.Router o) { |
| 5009 buildCounterRouter++; |
| 5010 if (buildCounterRouter < 3) { |
| 5011 checkRouterBgp(o.bgp); |
| 5012 checkUnnamed2351(o.bgpPeers); |
| 5013 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 5014 unittest.expect(o.description, unittest.equals('foo')); |
| 5015 unittest.expect(o.id, unittest.equals('foo')); |
| 5016 checkUnnamed2352(o.interfaces); |
| 5017 unittest.expect(o.kind, unittest.equals('foo')); |
| 5018 unittest.expect(o.name, unittest.equals('foo')); |
| 5019 unittest.expect(o.network, unittest.equals('foo')); |
| 5020 unittest.expect(o.region, unittest.equals('foo')); |
| 5021 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5022 } |
| 5023 buildCounterRouter--; |
| 5024 } |
| 5025 |
| 5026 buildUnnamed2353() { |
| 5027 var o = new core.Map<core.String, api.RoutersScopedList>(); |
| 5028 o["x"] = buildRoutersScopedList(); |
| 5029 o["y"] = buildRoutersScopedList(); |
| 5030 return o; |
| 5031 } |
| 5032 |
| 5033 checkUnnamed2353(core.Map<core.String, api.RoutersScopedList> o) { |
| 5034 unittest.expect(o, unittest.hasLength(2)); |
| 5035 checkRoutersScopedList(o["x"]); |
| 5036 checkRoutersScopedList(o["y"]); |
| 5037 } |
| 5038 |
| 5039 core.int buildCounterRouterAggregatedList = 0; |
| 5040 buildRouterAggregatedList() { |
| 5041 var o = new api.RouterAggregatedList(); |
| 5042 buildCounterRouterAggregatedList++; |
| 5043 if (buildCounterRouterAggregatedList < 3) { |
| 5044 o.id = "foo"; |
| 5045 o.items = buildUnnamed2353(); |
| 5046 o.kind = "foo"; |
| 5047 o.nextPageToken = "foo"; |
| 5048 o.selfLink = "foo"; |
| 5049 } |
| 5050 buildCounterRouterAggregatedList--; |
| 5051 return o; |
| 5052 } |
| 5053 |
| 5054 checkRouterAggregatedList(api.RouterAggregatedList o) { |
| 5055 buildCounterRouterAggregatedList++; |
| 5056 if (buildCounterRouterAggregatedList < 3) { |
| 5057 unittest.expect(o.id, unittest.equals('foo')); |
| 5058 checkUnnamed2353(o.items); |
| 5059 unittest.expect(o.kind, unittest.equals('foo')); |
| 5060 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5061 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5062 } |
| 5063 buildCounterRouterAggregatedList--; |
| 5064 } |
| 5065 |
| 5066 core.int buildCounterRouterBgp = 0; |
| 5067 buildRouterBgp() { |
| 5068 var o = new api.RouterBgp(); |
| 5069 buildCounterRouterBgp++; |
| 5070 if (buildCounterRouterBgp < 3) { |
| 5071 o.asn = 42; |
| 5072 } |
| 5073 buildCounterRouterBgp--; |
| 5074 return o; |
| 5075 } |
| 5076 |
| 5077 checkRouterBgp(api.RouterBgp o) { |
| 5078 buildCounterRouterBgp++; |
| 5079 if (buildCounterRouterBgp < 3) { |
| 5080 unittest.expect(o.asn, unittest.equals(42)); |
| 5081 } |
| 5082 buildCounterRouterBgp--; |
| 5083 } |
| 5084 |
| 5085 core.int buildCounterRouterBgpPeer = 0; |
| 5086 buildRouterBgpPeer() { |
| 5087 var o = new api.RouterBgpPeer(); |
| 5088 buildCounterRouterBgpPeer++; |
| 5089 if (buildCounterRouterBgpPeer < 3) { |
| 5090 o.advertisedRoutePriority = 42; |
| 5091 o.interfaceName = "foo"; |
| 5092 o.ipAddress = "foo"; |
| 5093 o.name = "foo"; |
| 5094 o.peerAsn = 42; |
| 5095 o.peerIpAddress = "foo"; |
| 5096 } |
| 5097 buildCounterRouterBgpPeer--; |
| 5098 return o; |
| 5099 } |
| 5100 |
| 5101 checkRouterBgpPeer(api.RouterBgpPeer o) { |
| 5102 buildCounterRouterBgpPeer++; |
| 5103 if (buildCounterRouterBgpPeer < 3) { |
| 5104 unittest.expect(o.advertisedRoutePriority, unittest.equals(42)); |
| 5105 unittest.expect(o.interfaceName, unittest.equals('foo')); |
| 5106 unittest.expect(o.ipAddress, unittest.equals('foo')); |
| 5107 unittest.expect(o.name, unittest.equals('foo')); |
| 5108 unittest.expect(o.peerAsn, unittest.equals(42)); |
| 5109 unittest.expect(o.peerIpAddress, unittest.equals('foo')); |
| 5110 } |
| 5111 buildCounterRouterBgpPeer--; |
| 5112 } |
| 5113 |
| 5114 core.int buildCounterRouterInterface = 0; |
| 5115 buildRouterInterface() { |
| 5116 var o = new api.RouterInterface(); |
| 5117 buildCounterRouterInterface++; |
| 5118 if (buildCounterRouterInterface < 3) { |
| 5119 o.ipRange = "foo"; |
| 5120 o.linkedVpnTunnel = "foo"; |
| 5121 o.name = "foo"; |
| 5122 } |
| 5123 buildCounterRouterInterface--; |
| 5124 return o; |
| 5125 } |
| 5126 |
| 5127 checkRouterInterface(api.RouterInterface o) { |
| 5128 buildCounterRouterInterface++; |
| 5129 if (buildCounterRouterInterface < 3) { |
| 5130 unittest.expect(o.ipRange, unittest.equals('foo')); |
| 5131 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
| 5132 unittest.expect(o.name, unittest.equals('foo')); |
| 5133 } |
| 5134 buildCounterRouterInterface--; |
| 5135 } |
| 5136 |
| 5137 buildUnnamed2354() { |
| 5138 var o = new core.List<api.Router>(); |
| 5139 o.add(buildRouter()); |
| 5140 o.add(buildRouter()); |
| 5141 return o; |
| 5142 } |
| 5143 |
| 5144 checkUnnamed2354(core.List<api.Router> o) { |
| 5145 unittest.expect(o, unittest.hasLength(2)); |
| 5146 checkRouter(o[0]); |
| 5147 checkRouter(o[1]); |
| 5148 } |
| 5149 |
| 5150 core.int buildCounterRouterList = 0; |
| 5151 buildRouterList() { |
| 5152 var o = new api.RouterList(); |
| 5153 buildCounterRouterList++; |
| 5154 if (buildCounterRouterList < 3) { |
| 5155 o.id = "foo"; |
| 5156 o.items = buildUnnamed2354(); |
| 5157 o.kind = "foo"; |
| 5158 o.nextPageToken = "foo"; |
| 5159 o.selfLink = "foo"; |
| 5160 } |
| 5161 buildCounterRouterList--; |
| 5162 return o; |
| 5163 } |
| 5164 |
| 5165 checkRouterList(api.RouterList o) { |
| 5166 buildCounterRouterList++; |
| 5167 if (buildCounterRouterList < 3) { |
| 5168 unittest.expect(o.id, unittest.equals('foo')); |
| 5169 checkUnnamed2354(o.items); |
| 5170 unittest.expect(o.kind, unittest.equals('foo')); |
| 5171 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5172 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5173 } |
| 5174 buildCounterRouterList--; |
| 5175 } |
| 5176 |
| 5177 buildUnnamed2355() { |
| 5178 var o = new core.List<api.Route>(); |
| 5179 o.add(buildRoute()); |
| 5180 o.add(buildRoute()); |
| 5181 return o; |
| 5182 } |
| 5183 |
| 5184 checkUnnamed2355(core.List<api.Route> o) { |
| 5185 unittest.expect(o, unittest.hasLength(2)); |
| 5186 checkRoute(o[0]); |
| 5187 checkRoute(o[1]); |
| 5188 } |
| 5189 |
| 5190 buildUnnamed2356() { |
| 5191 var o = new core.List<api.RouterStatusBgpPeerStatus>(); |
| 5192 o.add(buildRouterStatusBgpPeerStatus()); |
| 5193 o.add(buildRouterStatusBgpPeerStatus()); |
| 5194 return o; |
| 5195 } |
| 5196 |
| 5197 checkUnnamed2356(core.List<api.RouterStatusBgpPeerStatus> o) { |
| 5198 unittest.expect(o, unittest.hasLength(2)); |
| 5199 checkRouterStatusBgpPeerStatus(o[0]); |
| 5200 checkRouterStatusBgpPeerStatus(o[1]); |
| 5201 } |
| 5202 |
| 5203 core.int buildCounterRouterStatus = 0; |
| 5204 buildRouterStatus() { |
| 5205 var o = new api.RouterStatus(); |
| 5206 buildCounterRouterStatus++; |
| 5207 if (buildCounterRouterStatus < 3) { |
| 5208 o.bestRoutes = buildUnnamed2355(); |
| 5209 o.bgpPeerStatus = buildUnnamed2356(); |
| 5210 o.network = "foo"; |
| 5211 } |
| 5212 buildCounterRouterStatus--; |
| 5213 return o; |
| 5214 } |
| 5215 |
| 5216 checkRouterStatus(api.RouterStatus o) { |
| 5217 buildCounterRouterStatus++; |
| 5218 if (buildCounterRouterStatus < 3) { |
| 5219 checkUnnamed2355(o.bestRoutes); |
| 5220 checkUnnamed2356(o.bgpPeerStatus); |
| 5221 unittest.expect(o.network, unittest.equals('foo')); |
| 5222 } |
| 5223 buildCounterRouterStatus--; |
| 5224 } |
| 5225 |
| 5226 buildUnnamed2357() { |
| 5227 var o = new core.List<api.Route>(); |
| 5228 o.add(buildRoute()); |
| 5229 o.add(buildRoute()); |
| 5230 return o; |
| 5231 } |
| 5232 |
| 5233 checkUnnamed2357(core.List<api.Route> o) { |
| 5234 unittest.expect(o, unittest.hasLength(2)); |
| 5235 checkRoute(o[0]); |
| 5236 checkRoute(o[1]); |
| 5237 } |
| 5238 |
| 5239 core.int buildCounterRouterStatusBgpPeerStatus = 0; |
| 5240 buildRouterStatusBgpPeerStatus() { |
| 5241 var o = new api.RouterStatusBgpPeerStatus(); |
| 5242 buildCounterRouterStatusBgpPeerStatus++; |
| 5243 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
| 5244 o.advertisedRoutes = buildUnnamed2357(); |
| 5245 o.ipAddress = "foo"; |
| 5246 o.linkedVpnTunnel = "foo"; |
| 5247 o.name = "foo"; |
| 5248 o.numLearnedRoutes = 42; |
| 5249 o.peerIpAddress = "foo"; |
| 5250 o.state = "foo"; |
| 5251 o.status = "foo"; |
| 5252 o.uptime = "foo"; |
| 5253 o.uptimeSeconds = "foo"; |
| 5254 } |
| 5255 buildCounterRouterStatusBgpPeerStatus--; |
| 5256 return o; |
| 5257 } |
| 5258 |
| 5259 checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) { |
| 5260 buildCounterRouterStatusBgpPeerStatus++; |
| 5261 if (buildCounterRouterStatusBgpPeerStatus < 3) { |
| 5262 checkUnnamed2357(o.advertisedRoutes); |
| 5263 unittest.expect(o.ipAddress, unittest.equals('foo')); |
| 5264 unittest.expect(o.linkedVpnTunnel, unittest.equals('foo')); |
| 5265 unittest.expect(o.name, unittest.equals('foo')); |
| 5266 unittest.expect(o.numLearnedRoutes, unittest.equals(42)); |
| 5267 unittest.expect(o.peerIpAddress, unittest.equals('foo')); |
| 5268 unittest.expect(o.state, unittest.equals('foo')); |
| 5269 unittest.expect(o.status, unittest.equals('foo')); |
| 5270 unittest.expect(o.uptime, unittest.equals('foo')); |
| 5271 unittest.expect(o.uptimeSeconds, unittest.equals('foo')); |
| 5272 } |
| 5273 buildCounterRouterStatusBgpPeerStatus--; |
| 5274 } |
| 5275 |
| 5276 core.int buildCounterRouterStatusResponse = 0; |
| 5277 buildRouterStatusResponse() { |
| 5278 var o = new api.RouterStatusResponse(); |
| 5279 buildCounterRouterStatusResponse++; |
| 5280 if (buildCounterRouterStatusResponse < 3) { |
| 5281 o.kind = "foo"; |
| 5282 o.result = buildRouterStatus(); |
| 5283 } |
| 5284 buildCounterRouterStatusResponse--; |
| 5285 return o; |
| 5286 } |
| 5287 |
| 5288 checkRouterStatusResponse(api.RouterStatusResponse o) { |
| 5289 buildCounterRouterStatusResponse++; |
| 5290 if (buildCounterRouterStatusResponse < 3) { |
| 5291 unittest.expect(o.kind, unittest.equals('foo')); |
| 5292 checkRouterStatus(o.result); |
| 5293 } |
| 5294 buildCounterRouterStatusResponse--; |
| 5295 } |
| 5296 |
| 5297 buildUnnamed2358() { |
| 5298 var o = new core.List<api.Router>(); |
| 5299 o.add(buildRouter()); |
| 5300 o.add(buildRouter()); |
| 5301 return o; |
| 5302 } |
| 5303 |
| 5304 checkUnnamed2358(core.List<api.Router> o) { |
| 5305 unittest.expect(o, unittest.hasLength(2)); |
| 5306 checkRouter(o[0]); |
| 5307 checkRouter(o[1]); |
| 5308 } |
| 5309 |
| 5310 core.int buildCounterRoutersScopedListWarningData = 0; |
| 5311 buildRoutersScopedListWarningData() { |
| 5312 var o = new api.RoutersScopedListWarningData(); |
| 5313 buildCounterRoutersScopedListWarningData++; |
| 5314 if (buildCounterRoutersScopedListWarningData < 3) { |
| 5315 o.key = "foo"; |
| 5316 o.value = "foo"; |
| 5317 } |
| 5318 buildCounterRoutersScopedListWarningData--; |
| 5319 return o; |
| 5320 } |
| 5321 |
| 5322 checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) { |
| 5323 buildCounterRoutersScopedListWarningData++; |
| 5324 if (buildCounterRoutersScopedListWarningData < 3) { |
| 5325 unittest.expect(o.key, unittest.equals('foo')); |
| 5326 unittest.expect(o.value, unittest.equals('foo')); |
| 5327 } |
| 5328 buildCounterRoutersScopedListWarningData--; |
| 5329 } |
| 5330 |
| 5331 buildUnnamed2359() { |
| 5332 var o = new core.List<api.RoutersScopedListWarningData>(); |
| 5333 o.add(buildRoutersScopedListWarningData()); |
| 5334 o.add(buildRoutersScopedListWarningData()); |
| 5335 return o; |
| 5336 } |
| 5337 |
| 5338 checkUnnamed2359(core.List<api.RoutersScopedListWarningData> o) { |
| 5339 unittest.expect(o, unittest.hasLength(2)); |
| 5340 checkRoutersScopedListWarningData(o[0]); |
| 5341 checkRoutersScopedListWarningData(o[1]); |
| 5342 } |
| 5343 |
| 5344 core.int buildCounterRoutersScopedListWarning = 0; |
| 5345 buildRoutersScopedListWarning() { |
| 5346 var o = new api.RoutersScopedListWarning(); |
| 5347 buildCounterRoutersScopedListWarning++; |
| 5348 if (buildCounterRoutersScopedListWarning < 3) { |
| 5349 o.code = "foo"; |
| 5350 o.data = buildUnnamed2359(); |
| 5351 o.message = "foo"; |
| 5352 } |
| 5353 buildCounterRoutersScopedListWarning--; |
| 5354 return o; |
| 5355 } |
| 5356 |
| 5357 checkRoutersScopedListWarning(api.RoutersScopedListWarning o) { |
| 5358 buildCounterRoutersScopedListWarning++; |
| 5359 if (buildCounterRoutersScopedListWarning < 3) { |
| 5360 unittest.expect(o.code, unittest.equals('foo')); |
| 5361 checkUnnamed2359(o.data); |
| 5362 unittest.expect(o.message, unittest.equals('foo')); |
| 5363 } |
| 5364 buildCounterRoutersScopedListWarning--; |
| 5365 } |
| 5366 |
| 5367 core.int buildCounterRoutersScopedList = 0; |
| 5368 buildRoutersScopedList() { |
| 5369 var o = new api.RoutersScopedList(); |
| 5370 buildCounterRoutersScopedList++; |
| 5371 if (buildCounterRoutersScopedList < 3) { |
| 5372 o.routers = buildUnnamed2358(); |
| 5373 o.warning = buildRoutersScopedListWarning(); |
| 5374 } |
| 5375 buildCounterRoutersScopedList--; |
| 5376 return o; |
| 5377 } |
| 5378 |
| 5379 checkRoutersScopedList(api.RoutersScopedList o) { |
| 5380 buildCounterRoutersScopedList++; |
| 5381 if (buildCounterRoutersScopedList < 3) { |
| 5382 checkUnnamed2358(o.routers); |
| 5383 checkRoutersScopedListWarning(o.warning); |
| 5384 } |
| 5385 buildCounterRoutersScopedList--; |
| 5386 } |
| 5387 |
4869 core.int buildCounterScheduling = 0; | 5388 core.int buildCounterScheduling = 0; |
4870 buildScheduling() { | 5389 buildScheduling() { |
4871 var o = new api.Scheduling(); | 5390 var o = new api.Scheduling(); |
4872 buildCounterScheduling++; | 5391 buildCounterScheduling++; |
4873 if (buildCounterScheduling < 3) { | 5392 if (buildCounterScheduling < 3) { |
4874 o.automaticRestart = true; | 5393 o.automaticRestart = true; |
4875 o.onHostMaintenance = "foo"; | 5394 o.onHostMaintenance = "foo"; |
4876 o.preemptible = true; | 5395 o.preemptible = true; |
4877 } | 5396 } |
4878 buildCounterScheduling--; | 5397 buildCounterScheduling--; |
(...skipping 26 matching lines...) Expand all Loading... |
4905 checkSerialPortOutput(api.SerialPortOutput o) { | 5424 checkSerialPortOutput(api.SerialPortOutput o) { |
4906 buildCounterSerialPortOutput++; | 5425 buildCounterSerialPortOutput++; |
4907 if (buildCounterSerialPortOutput < 3) { | 5426 if (buildCounterSerialPortOutput < 3) { |
4908 unittest.expect(o.contents, unittest.equals('foo')); | 5427 unittest.expect(o.contents, unittest.equals('foo')); |
4909 unittest.expect(o.kind, unittest.equals('foo')); | 5428 unittest.expect(o.kind, unittest.equals('foo')); |
4910 unittest.expect(o.selfLink, unittest.equals('foo')); | 5429 unittest.expect(o.selfLink, unittest.equals('foo')); |
4911 } | 5430 } |
4912 buildCounterSerialPortOutput--; | 5431 buildCounterSerialPortOutput--; |
4913 } | 5432 } |
4914 | 5433 |
4915 buildUnnamed771() { | 5434 buildUnnamed2360() { |
4916 var o = new core.List<core.String>(); | 5435 var o = new core.List<core.String>(); |
4917 o.add("foo"); | 5436 o.add("foo"); |
4918 o.add("foo"); | 5437 o.add("foo"); |
4919 return o; | 5438 return o; |
4920 } | 5439 } |
4921 | 5440 |
4922 checkUnnamed771(core.List<core.String> o) { | 5441 checkUnnamed2360(core.List<core.String> o) { |
4923 unittest.expect(o, unittest.hasLength(2)); | 5442 unittest.expect(o, unittest.hasLength(2)); |
4924 unittest.expect(o[0], unittest.equals('foo')); | 5443 unittest.expect(o[0], unittest.equals('foo')); |
4925 unittest.expect(o[1], unittest.equals('foo')); | 5444 unittest.expect(o[1], unittest.equals('foo')); |
4926 } | 5445 } |
4927 | 5446 |
4928 core.int buildCounterServiceAccount = 0; | 5447 core.int buildCounterServiceAccount = 0; |
4929 buildServiceAccount() { | 5448 buildServiceAccount() { |
4930 var o = new api.ServiceAccount(); | 5449 var o = new api.ServiceAccount(); |
4931 buildCounterServiceAccount++; | 5450 buildCounterServiceAccount++; |
4932 if (buildCounterServiceAccount < 3) { | 5451 if (buildCounterServiceAccount < 3) { |
4933 o.email = "foo"; | 5452 o.email = "foo"; |
4934 o.scopes = buildUnnamed771(); | 5453 o.scopes = buildUnnamed2360(); |
4935 } | 5454 } |
4936 buildCounterServiceAccount--; | 5455 buildCounterServiceAccount--; |
4937 return o; | 5456 return o; |
4938 } | 5457 } |
4939 | 5458 |
4940 checkServiceAccount(api.ServiceAccount o) { | 5459 checkServiceAccount(api.ServiceAccount o) { |
4941 buildCounterServiceAccount++; | 5460 buildCounterServiceAccount++; |
4942 if (buildCounterServiceAccount < 3) { | 5461 if (buildCounterServiceAccount < 3) { |
4943 unittest.expect(o.email, unittest.equals('foo')); | 5462 unittest.expect(o.email, unittest.equals('foo')); |
4944 checkUnnamed771(o.scopes); | 5463 checkUnnamed2360(o.scopes); |
4945 } | 5464 } |
4946 buildCounterServiceAccount--; | 5465 buildCounterServiceAccount--; |
4947 } | 5466 } |
4948 | 5467 |
4949 buildUnnamed772() { | 5468 buildUnnamed2361() { |
4950 var o = new core.List<core.String>(); | 5469 var o = new core.List<core.String>(); |
4951 o.add("foo"); | 5470 o.add("foo"); |
4952 o.add("foo"); | 5471 o.add("foo"); |
4953 return o; | 5472 return o; |
4954 } | 5473 } |
4955 | 5474 |
4956 checkUnnamed772(core.List<core.String> o) { | 5475 checkUnnamed2361(core.List<core.String> o) { |
4957 unittest.expect(o, unittest.hasLength(2)); | 5476 unittest.expect(o, unittest.hasLength(2)); |
4958 unittest.expect(o[0], unittest.equals('foo')); | 5477 unittest.expect(o[0], unittest.equals('foo')); |
4959 unittest.expect(o[1], unittest.equals('foo')); | 5478 unittest.expect(o[1], unittest.equals('foo')); |
4960 } | 5479 } |
4961 | 5480 |
4962 core.int buildCounterSnapshot = 0; | 5481 core.int buildCounterSnapshot = 0; |
4963 buildSnapshot() { | 5482 buildSnapshot() { |
4964 var o = new api.Snapshot(); | 5483 var o = new api.Snapshot(); |
4965 buildCounterSnapshot++; | 5484 buildCounterSnapshot++; |
4966 if (buildCounterSnapshot < 3) { | 5485 if (buildCounterSnapshot < 3) { |
4967 o.creationTimestamp = "foo"; | 5486 o.creationTimestamp = "foo"; |
4968 o.description = "foo"; | 5487 o.description = "foo"; |
4969 o.diskSizeGb = "foo"; | 5488 o.diskSizeGb = "foo"; |
4970 o.id = "foo"; | 5489 o.id = "foo"; |
4971 o.kind = "foo"; | 5490 o.kind = "foo"; |
4972 o.licenses = buildUnnamed772(); | 5491 o.licenses = buildUnnamed2361(); |
4973 o.name = "foo"; | 5492 o.name = "foo"; |
4974 o.selfLink = "foo"; | 5493 o.selfLink = "foo"; |
| 5494 o.snapshotEncryptionKey = buildCustomerEncryptionKey(); |
4975 o.sourceDisk = "foo"; | 5495 o.sourceDisk = "foo"; |
| 5496 o.sourceDiskEncryptionKey = buildCustomerEncryptionKey(); |
4976 o.sourceDiskId = "foo"; | 5497 o.sourceDiskId = "foo"; |
4977 o.status = "foo"; | 5498 o.status = "foo"; |
4978 o.storageBytes = "foo"; | 5499 o.storageBytes = "foo"; |
4979 o.storageBytesStatus = "foo"; | 5500 o.storageBytesStatus = "foo"; |
4980 } | 5501 } |
4981 buildCounterSnapshot--; | 5502 buildCounterSnapshot--; |
4982 return o; | 5503 return o; |
4983 } | 5504 } |
4984 | 5505 |
4985 checkSnapshot(api.Snapshot o) { | 5506 checkSnapshot(api.Snapshot o) { |
4986 buildCounterSnapshot++; | 5507 buildCounterSnapshot++; |
4987 if (buildCounterSnapshot < 3) { | 5508 if (buildCounterSnapshot < 3) { |
4988 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 5509 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
4989 unittest.expect(o.description, unittest.equals('foo')); | 5510 unittest.expect(o.description, unittest.equals('foo')); |
4990 unittest.expect(o.diskSizeGb, unittest.equals('foo')); | 5511 unittest.expect(o.diskSizeGb, unittest.equals('foo')); |
4991 unittest.expect(o.id, unittest.equals('foo')); | 5512 unittest.expect(o.id, unittest.equals('foo')); |
4992 unittest.expect(o.kind, unittest.equals('foo')); | 5513 unittest.expect(o.kind, unittest.equals('foo')); |
4993 checkUnnamed772(o.licenses); | 5514 checkUnnamed2361(o.licenses); |
4994 unittest.expect(o.name, unittest.equals('foo')); | 5515 unittest.expect(o.name, unittest.equals('foo')); |
4995 unittest.expect(o.selfLink, unittest.equals('foo')); | 5516 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 5517 checkCustomerEncryptionKey(o.snapshotEncryptionKey); |
4996 unittest.expect(o.sourceDisk, unittest.equals('foo')); | 5518 unittest.expect(o.sourceDisk, unittest.equals('foo')); |
| 5519 checkCustomerEncryptionKey(o.sourceDiskEncryptionKey); |
4997 unittest.expect(o.sourceDiskId, unittest.equals('foo')); | 5520 unittest.expect(o.sourceDiskId, unittest.equals('foo')); |
4998 unittest.expect(o.status, unittest.equals('foo')); | 5521 unittest.expect(o.status, unittest.equals('foo')); |
4999 unittest.expect(o.storageBytes, unittest.equals('foo')); | 5522 unittest.expect(o.storageBytes, unittest.equals('foo')); |
5000 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); | 5523 unittest.expect(o.storageBytesStatus, unittest.equals('foo')); |
5001 } | 5524 } |
5002 buildCounterSnapshot--; | 5525 buildCounterSnapshot--; |
5003 } | 5526 } |
5004 | 5527 |
5005 buildUnnamed773() { | 5528 buildUnnamed2362() { |
5006 var o = new core.List<api.Snapshot>(); | 5529 var o = new core.List<api.Snapshot>(); |
5007 o.add(buildSnapshot()); | 5530 o.add(buildSnapshot()); |
5008 o.add(buildSnapshot()); | 5531 o.add(buildSnapshot()); |
5009 return o; | 5532 return o; |
5010 } | 5533 } |
5011 | 5534 |
5012 checkUnnamed773(core.List<api.Snapshot> o) { | 5535 checkUnnamed2362(core.List<api.Snapshot> o) { |
5013 unittest.expect(o, unittest.hasLength(2)); | 5536 unittest.expect(o, unittest.hasLength(2)); |
5014 checkSnapshot(o[0]); | 5537 checkSnapshot(o[0]); |
5015 checkSnapshot(o[1]); | 5538 checkSnapshot(o[1]); |
5016 } | 5539 } |
5017 | 5540 |
5018 core.int buildCounterSnapshotList = 0; | 5541 core.int buildCounterSnapshotList = 0; |
5019 buildSnapshotList() { | 5542 buildSnapshotList() { |
5020 var o = new api.SnapshotList(); | 5543 var o = new api.SnapshotList(); |
5021 buildCounterSnapshotList++; | 5544 buildCounterSnapshotList++; |
5022 if (buildCounterSnapshotList < 3) { | 5545 if (buildCounterSnapshotList < 3) { |
5023 o.id = "foo"; | 5546 o.id = "foo"; |
5024 o.items = buildUnnamed773(); | 5547 o.items = buildUnnamed2362(); |
5025 o.kind = "foo"; | 5548 o.kind = "foo"; |
5026 o.nextPageToken = "foo"; | 5549 o.nextPageToken = "foo"; |
5027 o.selfLink = "foo"; | 5550 o.selfLink = "foo"; |
5028 } | 5551 } |
5029 buildCounterSnapshotList--; | 5552 buildCounterSnapshotList--; |
5030 return o; | 5553 return o; |
5031 } | 5554 } |
5032 | 5555 |
5033 checkSnapshotList(api.SnapshotList o) { | 5556 checkSnapshotList(api.SnapshotList o) { |
5034 buildCounterSnapshotList++; | 5557 buildCounterSnapshotList++; |
5035 if (buildCounterSnapshotList < 3) { | 5558 if (buildCounterSnapshotList < 3) { |
5036 unittest.expect(o.id, unittest.equals('foo')); | 5559 unittest.expect(o.id, unittest.equals('foo')); |
5037 checkUnnamed773(o.items); | 5560 checkUnnamed2362(o.items); |
5038 unittest.expect(o.kind, unittest.equals('foo')); | 5561 unittest.expect(o.kind, unittest.equals('foo')); |
5039 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5562 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5040 unittest.expect(o.selfLink, unittest.equals('foo')); | 5563 unittest.expect(o.selfLink, unittest.equals('foo')); |
5041 } | 5564 } |
5042 buildCounterSnapshotList--; | 5565 buildCounterSnapshotList--; |
5043 } | 5566 } |
5044 | 5567 |
5045 core.int buildCounterSslCertificate = 0; | 5568 core.int buildCounterSslCertificate = 0; |
5046 buildSslCertificate() { | 5569 buildSslCertificate() { |
5047 var o = new api.SslCertificate(); | 5570 var o = new api.SslCertificate(); |
(...skipping 20 matching lines...) Expand all Loading... |
5068 unittest.expect(o.description, unittest.equals('foo')); | 5591 unittest.expect(o.description, unittest.equals('foo')); |
5069 unittest.expect(o.id, unittest.equals('foo')); | 5592 unittest.expect(o.id, unittest.equals('foo')); |
5070 unittest.expect(o.kind, unittest.equals('foo')); | 5593 unittest.expect(o.kind, unittest.equals('foo')); |
5071 unittest.expect(o.name, unittest.equals('foo')); | 5594 unittest.expect(o.name, unittest.equals('foo')); |
5072 unittest.expect(o.privateKey, unittest.equals('foo')); | 5595 unittest.expect(o.privateKey, unittest.equals('foo')); |
5073 unittest.expect(o.selfLink, unittest.equals('foo')); | 5596 unittest.expect(o.selfLink, unittest.equals('foo')); |
5074 } | 5597 } |
5075 buildCounterSslCertificate--; | 5598 buildCounterSslCertificate--; |
5076 } | 5599 } |
5077 | 5600 |
5078 buildUnnamed774() { | 5601 buildUnnamed2363() { |
5079 var o = new core.List<api.SslCertificate>(); | 5602 var o = new core.List<api.SslCertificate>(); |
5080 o.add(buildSslCertificate()); | 5603 o.add(buildSslCertificate()); |
5081 o.add(buildSslCertificate()); | 5604 o.add(buildSslCertificate()); |
5082 return o; | 5605 return o; |
5083 } | 5606 } |
5084 | 5607 |
5085 checkUnnamed774(core.List<api.SslCertificate> o) { | 5608 checkUnnamed2363(core.List<api.SslCertificate> o) { |
5086 unittest.expect(o, unittest.hasLength(2)); | 5609 unittest.expect(o, unittest.hasLength(2)); |
5087 checkSslCertificate(o[0]); | 5610 checkSslCertificate(o[0]); |
5088 checkSslCertificate(o[1]); | 5611 checkSslCertificate(o[1]); |
5089 } | 5612 } |
5090 | 5613 |
5091 core.int buildCounterSslCertificateList = 0; | 5614 core.int buildCounterSslCertificateList = 0; |
5092 buildSslCertificateList() { | 5615 buildSslCertificateList() { |
5093 var o = new api.SslCertificateList(); | 5616 var o = new api.SslCertificateList(); |
5094 buildCounterSslCertificateList++; | 5617 buildCounterSslCertificateList++; |
5095 if (buildCounterSslCertificateList < 3) { | 5618 if (buildCounterSslCertificateList < 3) { |
5096 o.id = "foo"; | 5619 o.id = "foo"; |
5097 o.items = buildUnnamed774(); | 5620 o.items = buildUnnamed2363(); |
5098 o.kind = "foo"; | 5621 o.kind = "foo"; |
5099 o.nextPageToken = "foo"; | 5622 o.nextPageToken = "foo"; |
5100 o.selfLink = "foo"; | 5623 o.selfLink = "foo"; |
5101 } | 5624 } |
5102 buildCounterSslCertificateList--; | 5625 buildCounterSslCertificateList--; |
5103 return o; | 5626 return o; |
5104 } | 5627 } |
5105 | 5628 |
5106 checkSslCertificateList(api.SslCertificateList o) { | 5629 checkSslCertificateList(api.SslCertificateList o) { |
5107 buildCounterSslCertificateList++; | 5630 buildCounterSslCertificateList++; |
5108 if (buildCounterSslCertificateList < 3) { | 5631 if (buildCounterSslCertificateList < 3) { |
5109 unittest.expect(o.id, unittest.equals('foo')); | 5632 unittest.expect(o.id, unittest.equals('foo')); |
5110 checkUnnamed774(o.items); | 5633 checkUnnamed2363(o.items); |
5111 unittest.expect(o.kind, unittest.equals('foo')); | 5634 unittest.expect(o.kind, unittest.equals('foo')); |
5112 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5635 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5113 unittest.expect(o.selfLink, unittest.equals('foo')); | 5636 unittest.expect(o.selfLink, unittest.equals('foo')); |
5114 } | 5637 } |
5115 buildCounterSslCertificateList--; | 5638 buildCounterSslCertificateList--; |
5116 } | 5639 } |
5117 | 5640 |
5118 core.int buildCounterSubnetwork = 0; | 5641 core.int buildCounterSubnetwork = 0; |
5119 buildSubnetwork() { | 5642 buildSubnetwork() { |
5120 var o = new api.Subnetwork(); | 5643 var o = new api.Subnetwork(); |
(...skipping 24 matching lines...) Expand all Loading... |
5145 unittest.expect(o.ipCidrRange, unittest.equals('foo')); | 5668 unittest.expect(o.ipCidrRange, unittest.equals('foo')); |
5146 unittest.expect(o.kind, unittest.equals('foo')); | 5669 unittest.expect(o.kind, unittest.equals('foo')); |
5147 unittest.expect(o.name, unittest.equals('foo')); | 5670 unittest.expect(o.name, unittest.equals('foo')); |
5148 unittest.expect(o.network, unittest.equals('foo')); | 5671 unittest.expect(o.network, unittest.equals('foo')); |
5149 unittest.expect(o.region, unittest.equals('foo')); | 5672 unittest.expect(o.region, unittest.equals('foo')); |
5150 unittest.expect(o.selfLink, unittest.equals('foo')); | 5673 unittest.expect(o.selfLink, unittest.equals('foo')); |
5151 } | 5674 } |
5152 buildCounterSubnetwork--; | 5675 buildCounterSubnetwork--; |
5153 } | 5676 } |
5154 | 5677 |
5155 buildUnnamed775() { | 5678 buildUnnamed2364() { |
5156 var o = new core.Map<core.String, api.SubnetworksScopedList>(); | 5679 var o = new core.Map<core.String, api.SubnetworksScopedList>(); |
5157 o["x"] = buildSubnetworksScopedList(); | 5680 o["x"] = buildSubnetworksScopedList(); |
5158 o["y"] = buildSubnetworksScopedList(); | 5681 o["y"] = buildSubnetworksScopedList(); |
5159 return o; | 5682 return o; |
5160 } | 5683 } |
5161 | 5684 |
5162 checkUnnamed775(core.Map<core.String, api.SubnetworksScopedList> o) { | 5685 checkUnnamed2364(core.Map<core.String, api.SubnetworksScopedList> o) { |
5163 unittest.expect(o, unittest.hasLength(2)); | 5686 unittest.expect(o, unittest.hasLength(2)); |
5164 checkSubnetworksScopedList(o["x"]); | 5687 checkSubnetworksScopedList(o["x"]); |
5165 checkSubnetworksScopedList(o["y"]); | 5688 checkSubnetworksScopedList(o["y"]); |
5166 } | 5689 } |
5167 | 5690 |
5168 core.int buildCounterSubnetworkAggregatedList = 0; | 5691 core.int buildCounterSubnetworkAggregatedList = 0; |
5169 buildSubnetworkAggregatedList() { | 5692 buildSubnetworkAggregatedList() { |
5170 var o = new api.SubnetworkAggregatedList(); | 5693 var o = new api.SubnetworkAggregatedList(); |
5171 buildCounterSubnetworkAggregatedList++; | 5694 buildCounterSubnetworkAggregatedList++; |
5172 if (buildCounterSubnetworkAggregatedList < 3) { | 5695 if (buildCounterSubnetworkAggregatedList < 3) { |
5173 o.id = "foo"; | 5696 o.id = "foo"; |
5174 o.items = buildUnnamed775(); | 5697 o.items = buildUnnamed2364(); |
5175 o.kind = "foo"; | 5698 o.kind = "foo"; |
5176 o.nextPageToken = "foo"; | 5699 o.nextPageToken = "foo"; |
5177 o.selfLink = "foo"; | 5700 o.selfLink = "foo"; |
5178 } | 5701 } |
5179 buildCounterSubnetworkAggregatedList--; | 5702 buildCounterSubnetworkAggregatedList--; |
5180 return o; | 5703 return o; |
5181 } | 5704 } |
5182 | 5705 |
5183 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { | 5706 checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) { |
5184 buildCounterSubnetworkAggregatedList++; | 5707 buildCounterSubnetworkAggregatedList++; |
5185 if (buildCounterSubnetworkAggregatedList < 3) { | 5708 if (buildCounterSubnetworkAggregatedList < 3) { |
5186 unittest.expect(o.id, unittest.equals('foo')); | 5709 unittest.expect(o.id, unittest.equals('foo')); |
5187 checkUnnamed775(o.items); | 5710 checkUnnamed2364(o.items); |
5188 unittest.expect(o.kind, unittest.equals('foo')); | 5711 unittest.expect(o.kind, unittest.equals('foo')); |
5189 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5712 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5190 unittest.expect(o.selfLink, unittest.equals('foo')); | 5713 unittest.expect(o.selfLink, unittest.equals('foo')); |
5191 } | 5714 } |
5192 buildCounterSubnetworkAggregatedList--; | 5715 buildCounterSubnetworkAggregatedList--; |
5193 } | 5716 } |
5194 | 5717 |
5195 buildUnnamed776() { | 5718 buildUnnamed2365() { |
5196 var o = new core.List<api.Subnetwork>(); | 5719 var o = new core.List<api.Subnetwork>(); |
5197 o.add(buildSubnetwork()); | 5720 o.add(buildSubnetwork()); |
5198 o.add(buildSubnetwork()); | 5721 o.add(buildSubnetwork()); |
5199 return o; | 5722 return o; |
5200 } | 5723 } |
5201 | 5724 |
5202 checkUnnamed776(core.List<api.Subnetwork> o) { | 5725 checkUnnamed2365(core.List<api.Subnetwork> o) { |
5203 unittest.expect(o, unittest.hasLength(2)); | 5726 unittest.expect(o, unittest.hasLength(2)); |
5204 checkSubnetwork(o[0]); | 5727 checkSubnetwork(o[0]); |
5205 checkSubnetwork(o[1]); | 5728 checkSubnetwork(o[1]); |
5206 } | 5729 } |
5207 | 5730 |
5208 core.int buildCounterSubnetworkList = 0; | 5731 core.int buildCounterSubnetworkList = 0; |
5209 buildSubnetworkList() { | 5732 buildSubnetworkList() { |
5210 var o = new api.SubnetworkList(); | 5733 var o = new api.SubnetworkList(); |
5211 buildCounterSubnetworkList++; | 5734 buildCounterSubnetworkList++; |
5212 if (buildCounterSubnetworkList < 3) { | 5735 if (buildCounterSubnetworkList < 3) { |
5213 o.id = "foo"; | 5736 o.id = "foo"; |
5214 o.items = buildUnnamed776(); | 5737 o.items = buildUnnamed2365(); |
5215 o.kind = "foo"; | 5738 o.kind = "foo"; |
5216 o.nextPageToken = "foo"; | 5739 o.nextPageToken = "foo"; |
5217 o.selfLink = "foo"; | 5740 o.selfLink = "foo"; |
5218 } | 5741 } |
5219 buildCounterSubnetworkList--; | 5742 buildCounterSubnetworkList--; |
5220 return o; | 5743 return o; |
5221 } | 5744 } |
5222 | 5745 |
5223 checkSubnetworkList(api.SubnetworkList o) { | 5746 checkSubnetworkList(api.SubnetworkList o) { |
5224 buildCounterSubnetworkList++; | 5747 buildCounterSubnetworkList++; |
5225 if (buildCounterSubnetworkList < 3) { | 5748 if (buildCounterSubnetworkList < 3) { |
5226 unittest.expect(o.id, unittest.equals('foo')); | 5749 unittest.expect(o.id, unittest.equals('foo')); |
5227 checkUnnamed776(o.items); | 5750 checkUnnamed2365(o.items); |
5228 unittest.expect(o.kind, unittest.equals('foo')); | 5751 unittest.expect(o.kind, unittest.equals('foo')); |
5229 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5752 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5230 unittest.expect(o.selfLink, unittest.equals('foo')); | 5753 unittest.expect(o.selfLink, unittest.equals('foo')); |
5231 } | 5754 } |
5232 buildCounterSubnetworkList--; | 5755 buildCounterSubnetworkList--; |
5233 } | 5756 } |
5234 | 5757 |
5235 buildUnnamed777() { | 5758 buildUnnamed2366() { |
5236 var o = new core.List<api.Subnetwork>(); | 5759 var o = new core.List<api.Subnetwork>(); |
5237 o.add(buildSubnetwork()); | 5760 o.add(buildSubnetwork()); |
5238 o.add(buildSubnetwork()); | 5761 o.add(buildSubnetwork()); |
5239 return o; | 5762 return o; |
5240 } | 5763 } |
5241 | 5764 |
5242 checkUnnamed777(core.List<api.Subnetwork> o) { | 5765 checkUnnamed2366(core.List<api.Subnetwork> o) { |
5243 unittest.expect(o, unittest.hasLength(2)); | 5766 unittest.expect(o, unittest.hasLength(2)); |
5244 checkSubnetwork(o[0]); | 5767 checkSubnetwork(o[0]); |
5245 checkSubnetwork(o[1]); | 5768 checkSubnetwork(o[1]); |
5246 } | 5769 } |
5247 | 5770 |
5248 core.int buildCounterSubnetworksScopedListWarningData = 0; | 5771 core.int buildCounterSubnetworksScopedListWarningData = 0; |
5249 buildSubnetworksScopedListWarningData() { | 5772 buildSubnetworksScopedListWarningData() { |
5250 var o = new api.SubnetworksScopedListWarningData(); | 5773 var o = new api.SubnetworksScopedListWarningData(); |
5251 buildCounterSubnetworksScopedListWarningData++; | 5774 buildCounterSubnetworksScopedListWarningData++; |
5252 if (buildCounterSubnetworksScopedListWarningData < 3) { | 5775 if (buildCounterSubnetworksScopedListWarningData < 3) { |
5253 o.key = "foo"; | 5776 o.key = "foo"; |
5254 o.value = "foo"; | 5777 o.value = "foo"; |
5255 } | 5778 } |
5256 buildCounterSubnetworksScopedListWarningData--; | 5779 buildCounterSubnetworksScopedListWarningData--; |
5257 return o; | 5780 return o; |
5258 } | 5781 } |
5259 | 5782 |
5260 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { | 5783 checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) { |
5261 buildCounterSubnetworksScopedListWarningData++; | 5784 buildCounterSubnetworksScopedListWarningData++; |
5262 if (buildCounterSubnetworksScopedListWarningData < 3) { | 5785 if (buildCounterSubnetworksScopedListWarningData < 3) { |
5263 unittest.expect(o.key, unittest.equals('foo')); | 5786 unittest.expect(o.key, unittest.equals('foo')); |
5264 unittest.expect(o.value, unittest.equals('foo')); | 5787 unittest.expect(o.value, unittest.equals('foo')); |
5265 } | 5788 } |
5266 buildCounterSubnetworksScopedListWarningData--; | 5789 buildCounterSubnetworksScopedListWarningData--; |
5267 } | 5790 } |
5268 | 5791 |
5269 buildUnnamed778() { | 5792 buildUnnamed2367() { |
5270 var o = new core.List<api.SubnetworksScopedListWarningData>(); | 5793 var o = new core.List<api.SubnetworksScopedListWarningData>(); |
5271 o.add(buildSubnetworksScopedListWarningData()); | 5794 o.add(buildSubnetworksScopedListWarningData()); |
5272 o.add(buildSubnetworksScopedListWarningData()); | 5795 o.add(buildSubnetworksScopedListWarningData()); |
5273 return o; | 5796 return o; |
5274 } | 5797 } |
5275 | 5798 |
5276 checkUnnamed778(core.List<api.SubnetworksScopedListWarningData> o) { | 5799 checkUnnamed2367(core.List<api.SubnetworksScopedListWarningData> o) { |
5277 unittest.expect(o, unittest.hasLength(2)); | 5800 unittest.expect(o, unittest.hasLength(2)); |
5278 checkSubnetworksScopedListWarningData(o[0]); | 5801 checkSubnetworksScopedListWarningData(o[0]); |
5279 checkSubnetworksScopedListWarningData(o[1]); | 5802 checkSubnetworksScopedListWarningData(o[1]); |
5280 } | 5803 } |
5281 | 5804 |
5282 core.int buildCounterSubnetworksScopedListWarning = 0; | 5805 core.int buildCounterSubnetworksScopedListWarning = 0; |
5283 buildSubnetworksScopedListWarning() { | 5806 buildSubnetworksScopedListWarning() { |
5284 var o = new api.SubnetworksScopedListWarning(); | 5807 var o = new api.SubnetworksScopedListWarning(); |
5285 buildCounterSubnetworksScopedListWarning++; | 5808 buildCounterSubnetworksScopedListWarning++; |
5286 if (buildCounterSubnetworksScopedListWarning < 3) { | 5809 if (buildCounterSubnetworksScopedListWarning < 3) { |
5287 o.code = "foo"; | 5810 o.code = "foo"; |
5288 o.data = buildUnnamed778(); | 5811 o.data = buildUnnamed2367(); |
5289 o.message = "foo"; | 5812 o.message = "foo"; |
5290 } | 5813 } |
5291 buildCounterSubnetworksScopedListWarning--; | 5814 buildCounterSubnetworksScopedListWarning--; |
5292 return o; | 5815 return o; |
5293 } | 5816 } |
5294 | 5817 |
5295 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { | 5818 checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) { |
5296 buildCounterSubnetworksScopedListWarning++; | 5819 buildCounterSubnetworksScopedListWarning++; |
5297 if (buildCounterSubnetworksScopedListWarning < 3) { | 5820 if (buildCounterSubnetworksScopedListWarning < 3) { |
5298 unittest.expect(o.code, unittest.equals('foo')); | 5821 unittest.expect(o.code, unittest.equals('foo')); |
5299 checkUnnamed778(o.data); | 5822 checkUnnamed2367(o.data); |
5300 unittest.expect(o.message, unittest.equals('foo')); | 5823 unittest.expect(o.message, unittest.equals('foo')); |
5301 } | 5824 } |
5302 buildCounterSubnetworksScopedListWarning--; | 5825 buildCounterSubnetworksScopedListWarning--; |
5303 } | 5826 } |
5304 | 5827 |
5305 core.int buildCounterSubnetworksScopedList = 0; | 5828 core.int buildCounterSubnetworksScopedList = 0; |
5306 buildSubnetworksScopedList() { | 5829 buildSubnetworksScopedList() { |
5307 var o = new api.SubnetworksScopedList(); | 5830 var o = new api.SubnetworksScopedList(); |
5308 buildCounterSubnetworksScopedList++; | 5831 buildCounterSubnetworksScopedList++; |
5309 if (buildCounterSubnetworksScopedList < 3) { | 5832 if (buildCounterSubnetworksScopedList < 3) { |
5310 o.subnetworks = buildUnnamed777(); | 5833 o.subnetworks = buildUnnamed2366(); |
5311 o.warning = buildSubnetworksScopedListWarning(); | 5834 o.warning = buildSubnetworksScopedListWarning(); |
5312 } | 5835 } |
5313 buildCounterSubnetworksScopedList--; | 5836 buildCounterSubnetworksScopedList--; |
5314 return o; | 5837 return o; |
5315 } | 5838 } |
5316 | 5839 |
5317 checkSubnetworksScopedList(api.SubnetworksScopedList o) { | 5840 checkSubnetworksScopedList(api.SubnetworksScopedList o) { |
5318 buildCounterSubnetworksScopedList++; | 5841 buildCounterSubnetworksScopedList++; |
5319 if (buildCounterSubnetworksScopedList < 3) { | 5842 if (buildCounterSubnetworksScopedList < 3) { |
5320 checkUnnamed777(o.subnetworks); | 5843 checkUnnamed2366(o.subnetworks); |
5321 checkSubnetworksScopedListWarning(o.warning); | 5844 checkSubnetworksScopedListWarning(o.warning); |
5322 } | 5845 } |
5323 buildCounterSubnetworksScopedList--; | 5846 buildCounterSubnetworksScopedList--; |
5324 } | 5847 } |
5325 | 5848 |
5326 buildUnnamed779() { | 5849 buildUnnamed2368() { |
5327 var o = new core.List<core.String>(); | 5850 var o = new core.List<core.String>(); |
5328 o.add("foo"); | 5851 o.add("foo"); |
5329 o.add("foo"); | 5852 o.add("foo"); |
5330 return o; | 5853 return o; |
5331 } | 5854 } |
5332 | 5855 |
5333 checkUnnamed779(core.List<core.String> o) { | 5856 checkUnnamed2368(core.List<core.String> o) { |
5334 unittest.expect(o, unittest.hasLength(2)); | 5857 unittest.expect(o, unittest.hasLength(2)); |
5335 unittest.expect(o[0], unittest.equals('foo')); | 5858 unittest.expect(o[0], unittest.equals('foo')); |
5336 unittest.expect(o[1], unittest.equals('foo')); | 5859 unittest.expect(o[1], unittest.equals('foo')); |
5337 } | 5860 } |
5338 | 5861 |
5339 core.int buildCounterTags = 0; | 5862 core.int buildCounterTags = 0; |
5340 buildTags() { | 5863 buildTags() { |
5341 var o = new api.Tags(); | 5864 var o = new api.Tags(); |
5342 buildCounterTags++; | 5865 buildCounterTags++; |
5343 if (buildCounterTags < 3) { | 5866 if (buildCounterTags < 3) { |
5344 o.fingerprint = "foo"; | 5867 o.fingerprint = "foo"; |
5345 o.items = buildUnnamed779(); | 5868 o.items = buildUnnamed2368(); |
5346 } | 5869 } |
5347 buildCounterTags--; | 5870 buildCounterTags--; |
5348 return o; | 5871 return o; |
5349 } | 5872 } |
5350 | 5873 |
5351 checkTags(api.Tags o) { | 5874 checkTags(api.Tags o) { |
5352 buildCounterTags++; | 5875 buildCounterTags++; |
5353 if (buildCounterTags < 3) { | 5876 if (buildCounterTags < 3) { |
5354 unittest.expect(o.fingerprint, unittest.equals('foo')); | 5877 unittest.expect(o.fingerprint, unittest.equals('foo')); |
5355 checkUnnamed779(o.items); | 5878 checkUnnamed2368(o.items); |
5356 } | 5879 } |
5357 buildCounterTags--; | 5880 buildCounterTags--; |
5358 } | 5881 } |
5359 | 5882 |
5360 core.int buildCounterTargetHttpProxy = 0; | 5883 core.int buildCounterTargetHttpProxy = 0; |
5361 buildTargetHttpProxy() { | 5884 buildTargetHttpProxy() { |
5362 var o = new api.TargetHttpProxy(); | 5885 var o = new api.TargetHttpProxy(); |
5363 buildCounterTargetHttpProxy++; | 5886 buildCounterTargetHttpProxy++; |
5364 if (buildCounterTargetHttpProxy < 3) { | 5887 if (buildCounterTargetHttpProxy < 3) { |
5365 o.creationTimestamp = "foo"; | 5888 o.creationTimestamp = "foo"; |
(...skipping 15 matching lines...) Expand all Loading... |
5381 unittest.expect(o.description, unittest.equals('foo')); | 5904 unittest.expect(o.description, unittest.equals('foo')); |
5382 unittest.expect(o.id, unittest.equals('foo')); | 5905 unittest.expect(o.id, unittest.equals('foo')); |
5383 unittest.expect(o.kind, unittest.equals('foo')); | 5906 unittest.expect(o.kind, unittest.equals('foo')); |
5384 unittest.expect(o.name, unittest.equals('foo')); | 5907 unittest.expect(o.name, unittest.equals('foo')); |
5385 unittest.expect(o.selfLink, unittest.equals('foo')); | 5908 unittest.expect(o.selfLink, unittest.equals('foo')); |
5386 unittest.expect(o.urlMap, unittest.equals('foo')); | 5909 unittest.expect(o.urlMap, unittest.equals('foo')); |
5387 } | 5910 } |
5388 buildCounterTargetHttpProxy--; | 5911 buildCounterTargetHttpProxy--; |
5389 } | 5912 } |
5390 | 5913 |
5391 buildUnnamed780() { | 5914 buildUnnamed2369() { |
5392 var o = new core.List<api.TargetHttpProxy>(); | 5915 var o = new core.List<api.TargetHttpProxy>(); |
5393 o.add(buildTargetHttpProxy()); | 5916 o.add(buildTargetHttpProxy()); |
5394 o.add(buildTargetHttpProxy()); | 5917 o.add(buildTargetHttpProxy()); |
5395 return o; | 5918 return o; |
5396 } | 5919 } |
5397 | 5920 |
5398 checkUnnamed780(core.List<api.TargetHttpProxy> o) { | 5921 checkUnnamed2369(core.List<api.TargetHttpProxy> o) { |
5399 unittest.expect(o, unittest.hasLength(2)); | 5922 unittest.expect(o, unittest.hasLength(2)); |
5400 checkTargetHttpProxy(o[0]); | 5923 checkTargetHttpProxy(o[0]); |
5401 checkTargetHttpProxy(o[1]); | 5924 checkTargetHttpProxy(o[1]); |
5402 } | 5925 } |
5403 | 5926 |
5404 core.int buildCounterTargetHttpProxyList = 0; | 5927 core.int buildCounterTargetHttpProxyList = 0; |
5405 buildTargetHttpProxyList() { | 5928 buildTargetHttpProxyList() { |
5406 var o = new api.TargetHttpProxyList(); | 5929 var o = new api.TargetHttpProxyList(); |
5407 buildCounterTargetHttpProxyList++; | 5930 buildCounterTargetHttpProxyList++; |
5408 if (buildCounterTargetHttpProxyList < 3) { | 5931 if (buildCounterTargetHttpProxyList < 3) { |
5409 o.id = "foo"; | 5932 o.id = "foo"; |
5410 o.items = buildUnnamed780(); | 5933 o.items = buildUnnamed2369(); |
5411 o.kind = "foo"; | 5934 o.kind = "foo"; |
5412 o.nextPageToken = "foo"; | 5935 o.nextPageToken = "foo"; |
5413 o.selfLink = "foo"; | 5936 o.selfLink = "foo"; |
5414 } | 5937 } |
5415 buildCounterTargetHttpProxyList--; | 5938 buildCounterTargetHttpProxyList--; |
5416 return o; | 5939 return o; |
5417 } | 5940 } |
5418 | 5941 |
5419 checkTargetHttpProxyList(api.TargetHttpProxyList o) { | 5942 checkTargetHttpProxyList(api.TargetHttpProxyList o) { |
5420 buildCounterTargetHttpProxyList++; | 5943 buildCounterTargetHttpProxyList++; |
5421 if (buildCounterTargetHttpProxyList < 3) { | 5944 if (buildCounterTargetHttpProxyList < 3) { |
5422 unittest.expect(o.id, unittest.equals('foo')); | 5945 unittest.expect(o.id, unittest.equals('foo')); |
5423 checkUnnamed780(o.items); | 5946 checkUnnamed2369(o.items); |
5424 unittest.expect(o.kind, unittest.equals('foo')); | 5947 unittest.expect(o.kind, unittest.equals('foo')); |
5425 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5948 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5426 unittest.expect(o.selfLink, unittest.equals('foo')); | 5949 unittest.expect(o.selfLink, unittest.equals('foo')); |
5427 } | 5950 } |
5428 buildCounterTargetHttpProxyList--; | 5951 buildCounterTargetHttpProxyList--; |
5429 } | 5952 } |
5430 | 5953 |
5431 buildUnnamed781() { | 5954 buildUnnamed2370() { |
5432 var o = new core.List<core.String>(); | 5955 var o = new core.List<core.String>(); |
5433 o.add("foo"); | 5956 o.add("foo"); |
5434 o.add("foo"); | 5957 o.add("foo"); |
5435 return o; | 5958 return o; |
5436 } | 5959 } |
5437 | 5960 |
5438 checkUnnamed781(core.List<core.String> o) { | 5961 checkUnnamed2370(core.List<core.String> o) { |
5439 unittest.expect(o, unittest.hasLength(2)); | 5962 unittest.expect(o, unittest.hasLength(2)); |
5440 unittest.expect(o[0], unittest.equals('foo')); | 5963 unittest.expect(o[0], unittest.equals('foo')); |
5441 unittest.expect(o[1], unittest.equals('foo')); | 5964 unittest.expect(o[1], unittest.equals('foo')); |
5442 } | 5965 } |
5443 | 5966 |
5444 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; | 5967 core.int buildCounterTargetHttpsProxiesSetSslCertificatesRequest = 0; |
5445 buildTargetHttpsProxiesSetSslCertificatesRequest() { | 5968 buildTargetHttpsProxiesSetSslCertificatesRequest() { |
5446 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); | 5969 var o = new api.TargetHttpsProxiesSetSslCertificatesRequest(); |
5447 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 5970 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
5448 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 5971 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
5449 o.sslCertificates = buildUnnamed781(); | 5972 o.sslCertificates = buildUnnamed2370(); |
5450 } | 5973 } |
5451 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 5974 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
5452 return o; | 5975 return o; |
5453 } | 5976 } |
5454 | 5977 |
5455 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { | 5978 checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCer
tificatesRequest o) { |
5456 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; | 5979 buildCounterTargetHttpsProxiesSetSslCertificatesRequest++; |
5457 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { | 5980 if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) { |
5458 checkUnnamed781(o.sslCertificates); | 5981 checkUnnamed2370(o.sslCertificates); |
5459 } | 5982 } |
5460 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; | 5983 buildCounterTargetHttpsProxiesSetSslCertificatesRequest--; |
5461 } | 5984 } |
5462 | 5985 |
5463 buildUnnamed782() { | 5986 buildUnnamed2371() { |
5464 var o = new core.List<core.String>(); | 5987 var o = new core.List<core.String>(); |
5465 o.add("foo"); | 5988 o.add("foo"); |
5466 o.add("foo"); | 5989 o.add("foo"); |
5467 return o; | 5990 return o; |
5468 } | 5991 } |
5469 | 5992 |
5470 checkUnnamed782(core.List<core.String> o) { | 5993 checkUnnamed2371(core.List<core.String> o) { |
5471 unittest.expect(o, unittest.hasLength(2)); | 5994 unittest.expect(o, unittest.hasLength(2)); |
5472 unittest.expect(o[0], unittest.equals('foo')); | 5995 unittest.expect(o[0], unittest.equals('foo')); |
5473 unittest.expect(o[1], unittest.equals('foo')); | 5996 unittest.expect(o[1], unittest.equals('foo')); |
5474 } | 5997 } |
5475 | 5998 |
5476 core.int buildCounterTargetHttpsProxy = 0; | 5999 core.int buildCounterTargetHttpsProxy = 0; |
5477 buildTargetHttpsProxy() { | 6000 buildTargetHttpsProxy() { |
5478 var o = new api.TargetHttpsProxy(); | 6001 var o = new api.TargetHttpsProxy(); |
5479 buildCounterTargetHttpsProxy++; | 6002 buildCounterTargetHttpsProxy++; |
5480 if (buildCounterTargetHttpsProxy < 3) { | 6003 if (buildCounterTargetHttpsProxy < 3) { |
5481 o.creationTimestamp = "foo"; | 6004 o.creationTimestamp = "foo"; |
5482 o.description = "foo"; | 6005 o.description = "foo"; |
5483 o.id = "foo"; | 6006 o.id = "foo"; |
5484 o.kind = "foo"; | 6007 o.kind = "foo"; |
5485 o.name = "foo"; | 6008 o.name = "foo"; |
5486 o.selfLink = "foo"; | 6009 o.selfLink = "foo"; |
5487 o.sslCertificates = buildUnnamed782(); | 6010 o.sslCertificates = buildUnnamed2371(); |
5488 o.urlMap = "foo"; | 6011 o.urlMap = "foo"; |
5489 } | 6012 } |
5490 buildCounterTargetHttpsProxy--; | 6013 buildCounterTargetHttpsProxy--; |
5491 return o; | 6014 return o; |
5492 } | 6015 } |
5493 | 6016 |
5494 checkTargetHttpsProxy(api.TargetHttpsProxy o) { | 6017 checkTargetHttpsProxy(api.TargetHttpsProxy o) { |
5495 buildCounterTargetHttpsProxy++; | 6018 buildCounterTargetHttpsProxy++; |
5496 if (buildCounterTargetHttpsProxy < 3) { | 6019 if (buildCounterTargetHttpsProxy < 3) { |
5497 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6020 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5498 unittest.expect(o.description, unittest.equals('foo')); | 6021 unittest.expect(o.description, unittest.equals('foo')); |
5499 unittest.expect(o.id, unittest.equals('foo')); | 6022 unittest.expect(o.id, unittest.equals('foo')); |
5500 unittest.expect(o.kind, unittest.equals('foo')); | 6023 unittest.expect(o.kind, unittest.equals('foo')); |
5501 unittest.expect(o.name, unittest.equals('foo')); | 6024 unittest.expect(o.name, unittest.equals('foo')); |
5502 unittest.expect(o.selfLink, unittest.equals('foo')); | 6025 unittest.expect(o.selfLink, unittest.equals('foo')); |
5503 checkUnnamed782(o.sslCertificates); | 6026 checkUnnamed2371(o.sslCertificates); |
5504 unittest.expect(o.urlMap, unittest.equals('foo')); | 6027 unittest.expect(o.urlMap, unittest.equals('foo')); |
5505 } | 6028 } |
5506 buildCounterTargetHttpsProxy--; | 6029 buildCounterTargetHttpsProxy--; |
5507 } | 6030 } |
5508 | 6031 |
5509 buildUnnamed783() { | 6032 buildUnnamed2372() { |
5510 var o = new core.List<api.TargetHttpsProxy>(); | 6033 var o = new core.List<api.TargetHttpsProxy>(); |
5511 o.add(buildTargetHttpsProxy()); | 6034 o.add(buildTargetHttpsProxy()); |
5512 o.add(buildTargetHttpsProxy()); | 6035 o.add(buildTargetHttpsProxy()); |
5513 return o; | 6036 return o; |
5514 } | 6037 } |
5515 | 6038 |
5516 checkUnnamed783(core.List<api.TargetHttpsProxy> o) { | 6039 checkUnnamed2372(core.List<api.TargetHttpsProxy> o) { |
5517 unittest.expect(o, unittest.hasLength(2)); | 6040 unittest.expect(o, unittest.hasLength(2)); |
5518 checkTargetHttpsProxy(o[0]); | 6041 checkTargetHttpsProxy(o[0]); |
5519 checkTargetHttpsProxy(o[1]); | 6042 checkTargetHttpsProxy(o[1]); |
5520 } | 6043 } |
5521 | 6044 |
5522 core.int buildCounterTargetHttpsProxyList = 0; | 6045 core.int buildCounterTargetHttpsProxyList = 0; |
5523 buildTargetHttpsProxyList() { | 6046 buildTargetHttpsProxyList() { |
5524 var o = new api.TargetHttpsProxyList(); | 6047 var o = new api.TargetHttpsProxyList(); |
5525 buildCounterTargetHttpsProxyList++; | 6048 buildCounterTargetHttpsProxyList++; |
5526 if (buildCounterTargetHttpsProxyList < 3) { | 6049 if (buildCounterTargetHttpsProxyList < 3) { |
5527 o.id = "foo"; | 6050 o.id = "foo"; |
5528 o.items = buildUnnamed783(); | 6051 o.items = buildUnnamed2372(); |
5529 o.kind = "foo"; | 6052 o.kind = "foo"; |
5530 o.nextPageToken = "foo"; | 6053 o.nextPageToken = "foo"; |
5531 o.selfLink = "foo"; | 6054 o.selfLink = "foo"; |
5532 } | 6055 } |
5533 buildCounterTargetHttpsProxyList--; | 6056 buildCounterTargetHttpsProxyList--; |
5534 return o; | 6057 return o; |
5535 } | 6058 } |
5536 | 6059 |
5537 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { | 6060 checkTargetHttpsProxyList(api.TargetHttpsProxyList o) { |
5538 buildCounterTargetHttpsProxyList++; | 6061 buildCounterTargetHttpsProxyList++; |
5539 if (buildCounterTargetHttpsProxyList < 3) { | 6062 if (buildCounterTargetHttpsProxyList < 3) { |
5540 unittest.expect(o.id, unittest.equals('foo')); | 6063 unittest.expect(o.id, unittest.equals('foo')); |
5541 checkUnnamed783(o.items); | 6064 checkUnnamed2372(o.items); |
5542 unittest.expect(o.kind, unittest.equals('foo')); | 6065 unittest.expect(o.kind, unittest.equals('foo')); |
5543 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6066 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5544 unittest.expect(o.selfLink, unittest.equals('foo')); | 6067 unittest.expect(o.selfLink, unittest.equals('foo')); |
5545 } | 6068 } |
5546 buildCounterTargetHttpsProxyList--; | 6069 buildCounterTargetHttpsProxyList--; |
5547 } | 6070 } |
5548 | 6071 |
5549 core.int buildCounterTargetInstance = 0; | 6072 core.int buildCounterTargetInstance = 0; |
5550 buildTargetInstance() { | 6073 buildTargetInstance() { |
5551 var o = new api.TargetInstance(); | 6074 var o = new api.TargetInstance(); |
(...skipping 22 matching lines...) Expand all Loading... |
5574 unittest.expect(o.instance, unittest.equals('foo')); | 6097 unittest.expect(o.instance, unittest.equals('foo')); |
5575 unittest.expect(o.kind, unittest.equals('foo')); | 6098 unittest.expect(o.kind, unittest.equals('foo')); |
5576 unittest.expect(o.name, unittest.equals('foo')); | 6099 unittest.expect(o.name, unittest.equals('foo')); |
5577 unittest.expect(o.natPolicy, unittest.equals('foo')); | 6100 unittest.expect(o.natPolicy, unittest.equals('foo')); |
5578 unittest.expect(o.selfLink, unittest.equals('foo')); | 6101 unittest.expect(o.selfLink, unittest.equals('foo')); |
5579 unittest.expect(o.zone, unittest.equals('foo')); | 6102 unittest.expect(o.zone, unittest.equals('foo')); |
5580 } | 6103 } |
5581 buildCounterTargetInstance--; | 6104 buildCounterTargetInstance--; |
5582 } | 6105 } |
5583 | 6106 |
5584 buildUnnamed784() { | 6107 buildUnnamed2373() { |
5585 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); | 6108 var o = new core.Map<core.String, api.TargetInstancesScopedList>(); |
5586 o["x"] = buildTargetInstancesScopedList(); | 6109 o["x"] = buildTargetInstancesScopedList(); |
5587 o["y"] = buildTargetInstancesScopedList(); | 6110 o["y"] = buildTargetInstancesScopedList(); |
5588 return o; | 6111 return o; |
5589 } | 6112 } |
5590 | 6113 |
5591 checkUnnamed784(core.Map<core.String, api.TargetInstancesScopedList> o) { | 6114 checkUnnamed2373(core.Map<core.String, api.TargetInstancesScopedList> o) { |
5592 unittest.expect(o, unittest.hasLength(2)); | 6115 unittest.expect(o, unittest.hasLength(2)); |
5593 checkTargetInstancesScopedList(o["x"]); | 6116 checkTargetInstancesScopedList(o["x"]); |
5594 checkTargetInstancesScopedList(o["y"]); | 6117 checkTargetInstancesScopedList(o["y"]); |
5595 } | 6118 } |
5596 | 6119 |
5597 core.int buildCounterTargetInstanceAggregatedList = 0; | 6120 core.int buildCounterTargetInstanceAggregatedList = 0; |
5598 buildTargetInstanceAggregatedList() { | 6121 buildTargetInstanceAggregatedList() { |
5599 var o = new api.TargetInstanceAggregatedList(); | 6122 var o = new api.TargetInstanceAggregatedList(); |
5600 buildCounterTargetInstanceAggregatedList++; | 6123 buildCounterTargetInstanceAggregatedList++; |
5601 if (buildCounterTargetInstanceAggregatedList < 3) { | 6124 if (buildCounterTargetInstanceAggregatedList < 3) { |
5602 o.id = "foo"; | 6125 o.id = "foo"; |
5603 o.items = buildUnnamed784(); | 6126 o.items = buildUnnamed2373(); |
5604 o.kind = "foo"; | 6127 o.kind = "foo"; |
5605 o.nextPageToken = "foo"; | 6128 o.nextPageToken = "foo"; |
5606 o.selfLink = "foo"; | 6129 o.selfLink = "foo"; |
5607 } | 6130 } |
5608 buildCounterTargetInstanceAggregatedList--; | 6131 buildCounterTargetInstanceAggregatedList--; |
5609 return o; | 6132 return o; |
5610 } | 6133 } |
5611 | 6134 |
5612 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { | 6135 checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) { |
5613 buildCounterTargetInstanceAggregatedList++; | 6136 buildCounterTargetInstanceAggregatedList++; |
5614 if (buildCounterTargetInstanceAggregatedList < 3) { | 6137 if (buildCounterTargetInstanceAggregatedList < 3) { |
5615 unittest.expect(o.id, unittest.equals('foo')); | 6138 unittest.expect(o.id, unittest.equals('foo')); |
5616 checkUnnamed784(o.items); | 6139 checkUnnamed2373(o.items); |
5617 unittest.expect(o.kind, unittest.equals('foo')); | 6140 unittest.expect(o.kind, unittest.equals('foo')); |
5618 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6141 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5619 unittest.expect(o.selfLink, unittest.equals('foo')); | 6142 unittest.expect(o.selfLink, unittest.equals('foo')); |
5620 } | 6143 } |
5621 buildCounterTargetInstanceAggregatedList--; | 6144 buildCounterTargetInstanceAggregatedList--; |
5622 } | 6145 } |
5623 | 6146 |
5624 buildUnnamed785() { | 6147 buildUnnamed2374() { |
5625 var o = new core.List<api.TargetInstance>(); | 6148 var o = new core.List<api.TargetInstance>(); |
5626 o.add(buildTargetInstance()); | 6149 o.add(buildTargetInstance()); |
5627 o.add(buildTargetInstance()); | 6150 o.add(buildTargetInstance()); |
5628 return o; | 6151 return o; |
5629 } | 6152 } |
5630 | 6153 |
5631 checkUnnamed785(core.List<api.TargetInstance> o) { | 6154 checkUnnamed2374(core.List<api.TargetInstance> o) { |
5632 unittest.expect(o, unittest.hasLength(2)); | 6155 unittest.expect(o, unittest.hasLength(2)); |
5633 checkTargetInstance(o[0]); | 6156 checkTargetInstance(o[0]); |
5634 checkTargetInstance(o[1]); | 6157 checkTargetInstance(o[1]); |
5635 } | 6158 } |
5636 | 6159 |
5637 core.int buildCounterTargetInstanceList = 0; | 6160 core.int buildCounterTargetInstanceList = 0; |
5638 buildTargetInstanceList() { | 6161 buildTargetInstanceList() { |
5639 var o = new api.TargetInstanceList(); | 6162 var o = new api.TargetInstanceList(); |
5640 buildCounterTargetInstanceList++; | 6163 buildCounterTargetInstanceList++; |
5641 if (buildCounterTargetInstanceList < 3) { | 6164 if (buildCounterTargetInstanceList < 3) { |
5642 o.id = "foo"; | 6165 o.id = "foo"; |
5643 o.items = buildUnnamed785(); | 6166 o.items = buildUnnamed2374(); |
5644 o.kind = "foo"; | 6167 o.kind = "foo"; |
5645 o.nextPageToken = "foo"; | 6168 o.nextPageToken = "foo"; |
5646 o.selfLink = "foo"; | 6169 o.selfLink = "foo"; |
5647 } | 6170 } |
5648 buildCounterTargetInstanceList--; | 6171 buildCounterTargetInstanceList--; |
5649 return o; | 6172 return o; |
5650 } | 6173 } |
5651 | 6174 |
5652 checkTargetInstanceList(api.TargetInstanceList o) { | 6175 checkTargetInstanceList(api.TargetInstanceList o) { |
5653 buildCounterTargetInstanceList++; | 6176 buildCounterTargetInstanceList++; |
5654 if (buildCounterTargetInstanceList < 3) { | 6177 if (buildCounterTargetInstanceList < 3) { |
5655 unittest.expect(o.id, unittest.equals('foo')); | 6178 unittest.expect(o.id, unittest.equals('foo')); |
5656 checkUnnamed785(o.items); | 6179 checkUnnamed2374(o.items); |
5657 unittest.expect(o.kind, unittest.equals('foo')); | 6180 unittest.expect(o.kind, unittest.equals('foo')); |
5658 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6181 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5659 unittest.expect(o.selfLink, unittest.equals('foo')); | 6182 unittest.expect(o.selfLink, unittest.equals('foo')); |
5660 } | 6183 } |
5661 buildCounterTargetInstanceList--; | 6184 buildCounterTargetInstanceList--; |
5662 } | 6185 } |
5663 | 6186 |
5664 buildUnnamed786() { | 6187 buildUnnamed2375() { |
5665 var o = new core.List<api.TargetInstance>(); | 6188 var o = new core.List<api.TargetInstance>(); |
5666 o.add(buildTargetInstance()); | 6189 o.add(buildTargetInstance()); |
5667 o.add(buildTargetInstance()); | 6190 o.add(buildTargetInstance()); |
5668 return o; | 6191 return o; |
5669 } | 6192 } |
5670 | 6193 |
5671 checkUnnamed786(core.List<api.TargetInstance> o) { | 6194 checkUnnamed2375(core.List<api.TargetInstance> o) { |
5672 unittest.expect(o, unittest.hasLength(2)); | 6195 unittest.expect(o, unittest.hasLength(2)); |
5673 checkTargetInstance(o[0]); | 6196 checkTargetInstance(o[0]); |
5674 checkTargetInstance(o[1]); | 6197 checkTargetInstance(o[1]); |
5675 } | 6198 } |
5676 | 6199 |
5677 core.int buildCounterTargetInstancesScopedListWarningData = 0; | 6200 core.int buildCounterTargetInstancesScopedListWarningData = 0; |
5678 buildTargetInstancesScopedListWarningData() { | 6201 buildTargetInstancesScopedListWarningData() { |
5679 var o = new api.TargetInstancesScopedListWarningData(); | 6202 var o = new api.TargetInstancesScopedListWarningData(); |
5680 buildCounterTargetInstancesScopedListWarningData++; | 6203 buildCounterTargetInstancesScopedListWarningData++; |
5681 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 6204 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
5682 o.key = "foo"; | 6205 o.key = "foo"; |
5683 o.value = "foo"; | 6206 o.value = "foo"; |
5684 } | 6207 } |
5685 buildCounterTargetInstancesScopedListWarningData--; | 6208 buildCounterTargetInstancesScopedListWarningData--; |
5686 return o; | 6209 return o; |
5687 } | 6210 } |
5688 | 6211 |
5689 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { | 6212 checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
ta o) { |
5690 buildCounterTargetInstancesScopedListWarningData++; | 6213 buildCounterTargetInstancesScopedListWarningData++; |
5691 if (buildCounterTargetInstancesScopedListWarningData < 3) { | 6214 if (buildCounterTargetInstancesScopedListWarningData < 3) { |
5692 unittest.expect(o.key, unittest.equals('foo')); | 6215 unittest.expect(o.key, unittest.equals('foo')); |
5693 unittest.expect(o.value, unittest.equals('foo')); | 6216 unittest.expect(o.value, unittest.equals('foo')); |
5694 } | 6217 } |
5695 buildCounterTargetInstancesScopedListWarningData--; | 6218 buildCounterTargetInstancesScopedListWarningData--; |
5696 } | 6219 } |
5697 | 6220 |
5698 buildUnnamed787() { | 6221 buildUnnamed2376() { |
5699 var o = new core.List<api.TargetInstancesScopedListWarningData>(); | 6222 var o = new core.List<api.TargetInstancesScopedListWarningData>(); |
5700 o.add(buildTargetInstancesScopedListWarningData()); | 6223 o.add(buildTargetInstancesScopedListWarningData()); |
5701 o.add(buildTargetInstancesScopedListWarningData()); | 6224 o.add(buildTargetInstancesScopedListWarningData()); |
5702 return o; | 6225 return o; |
5703 } | 6226 } |
5704 | 6227 |
5705 checkUnnamed787(core.List<api.TargetInstancesScopedListWarningData> o) { | 6228 checkUnnamed2376(core.List<api.TargetInstancesScopedListWarningData> o) { |
5706 unittest.expect(o, unittest.hasLength(2)); | 6229 unittest.expect(o, unittest.hasLength(2)); |
5707 checkTargetInstancesScopedListWarningData(o[0]); | 6230 checkTargetInstancesScopedListWarningData(o[0]); |
5708 checkTargetInstancesScopedListWarningData(o[1]); | 6231 checkTargetInstancesScopedListWarningData(o[1]); |
5709 } | 6232 } |
5710 | 6233 |
5711 core.int buildCounterTargetInstancesScopedListWarning = 0; | 6234 core.int buildCounterTargetInstancesScopedListWarning = 0; |
5712 buildTargetInstancesScopedListWarning() { | 6235 buildTargetInstancesScopedListWarning() { |
5713 var o = new api.TargetInstancesScopedListWarning(); | 6236 var o = new api.TargetInstancesScopedListWarning(); |
5714 buildCounterTargetInstancesScopedListWarning++; | 6237 buildCounterTargetInstancesScopedListWarning++; |
5715 if (buildCounterTargetInstancesScopedListWarning < 3) { | 6238 if (buildCounterTargetInstancesScopedListWarning < 3) { |
5716 o.code = "foo"; | 6239 o.code = "foo"; |
5717 o.data = buildUnnamed787(); | 6240 o.data = buildUnnamed2376(); |
5718 o.message = "foo"; | 6241 o.message = "foo"; |
5719 } | 6242 } |
5720 buildCounterTargetInstancesScopedListWarning--; | 6243 buildCounterTargetInstancesScopedListWarning--; |
5721 return o; | 6244 return o; |
5722 } | 6245 } |
5723 | 6246 |
5724 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { | 6247 checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) { |
5725 buildCounterTargetInstancesScopedListWarning++; | 6248 buildCounterTargetInstancesScopedListWarning++; |
5726 if (buildCounterTargetInstancesScopedListWarning < 3) { | 6249 if (buildCounterTargetInstancesScopedListWarning < 3) { |
5727 unittest.expect(o.code, unittest.equals('foo')); | 6250 unittest.expect(o.code, unittest.equals('foo')); |
5728 checkUnnamed787(o.data); | 6251 checkUnnamed2376(o.data); |
5729 unittest.expect(o.message, unittest.equals('foo')); | 6252 unittest.expect(o.message, unittest.equals('foo')); |
5730 } | 6253 } |
5731 buildCounterTargetInstancesScopedListWarning--; | 6254 buildCounterTargetInstancesScopedListWarning--; |
5732 } | 6255 } |
5733 | 6256 |
5734 core.int buildCounterTargetInstancesScopedList = 0; | 6257 core.int buildCounterTargetInstancesScopedList = 0; |
5735 buildTargetInstancesScopedList() { | 6258 buildTargetInstancesScopedList() { |
5736 var o = new api.TargetInstancesScopedList(); | 6259 var o = new api.TargetInstancesScopedList(); |
5737 buildCounterTargetInstancesScopedList++; | 6260 buildCounterTargetInstancesScopedList++; |
5738 if (buildCounterTargetInstancesScopedList < 3) { | 6261 if (buildCounterTargetInstancesScopedList < 3) { |
5739 o.targetInstances = buildUnnamed786(); | 6262 o.targetInstances = buildUnnamed2375(); |
5740 o.warning = buildTargetInstancesScopedListWarning(); | 6263 o.warning = buildTargetInstancesScopedListWarning(); |
5741 } | 6264 } |
5742 buildCounterTargetInstancesScopedList--; | 6265 buildCounterTargetInstancesScopedList--; |
5743 return o; | 6266 return o; |
5744 } | 6267 } |
5745 | 6268 |
5746 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { | 6269 checkTargetInstancesScopedList(api.TargetInstancesScopedList o) { |
5747 buildCounterTargetInstancesScopedList++; | 6270 buildCounterTargetInstancesScopedList++; |
5748 if (buildCounterTargetInstancesScopedList < 3) { | 6271 if (buildCounterTargetInstancesScopedList < 3) { |
5749 checkUnnamed786(o.targetInstances); | 6272 checkUnnamed2375(o.targetInstances); |
5750 checkTargetInstancesScopedListWarning(o.warning); | 6273 checkTargetInstancesScopedListWarning(o.warning); |
5751 } | 6274 } |
5752 buildCounterTargetInstancesScopedList--; | 6275 buildCounterTargetInstancesScopedList--; |
5753 } | 6276 } |
5754 | 6277 |
5755 buildUnnamed788() { | 6278 buildUnnamed2377() { |
5756 var o = new core.List<core.String>(); | 6279 var o = new core.List<core.String>(); |
5757 o.add("foo"); | 6280 o.add("foo"); |
5758 o.add("foo"); | 6281 o.add("foo"); |
5759 return o; | 6282 return o; |
5760 } | 6283 } |
5761 | 6284 |
5762 checkUnnamed788(core.List<core.String> o) { | 6285 checkUnnamed2377(core.List<core.String> o) { |
5763 unittest.expect(o, unittest.hasLength(2)); | 6286 unittest.expect(o, unittest.hasLength(2)); |
5764 unittest.expect(o[0], unittest.equals('foo')); | 6287 unittest.expect(o[0], unittest.equals('foo')); |
5765 unittest.expect(o[1], unittest.equals('foo')); | 6288 unittest.expect(o[1], unittest.equals('foo')); |
5766 } | 6289 } |
5767 | 6290 |
5768 buildUnnamed789() { | 6291 buildUnnamed2378() { |
5769 var o = new core.List<core.String>(); | 6292 var o = new core.List<core.String>(); |
5770 o.add("foo"); | 6293 o.add("foo"); |
5771 o.add("foo"); | 6294 o.add("foo"); |
5772 return o; | 6295 return o; |
5773 } | 6296 } |
5774 | 6297 |
5775 checkUnnamed789(core.List<core.String> o) { | 6298 checkUnnamed2378(core.List<core.String> o) { |
5776 unittest.expect(o, unittest.hasLength(2)); | 6299 unittest.expect(o, unittest.hasLength(2)); |
5777 unittest.expect(o[0], unittest.equals('foo')); | 6300 unittest.expect(o[0], unittest.equals('foo')); |
5778 unittest.expect(o[1], unittest.equals('foo')); | 6301 unittest.expect(o[1], unittest.equals('foo')); |
5779 } | 6302 } |
5780 | 6303 |
5781 core.int buildCounterTargetPool = 0; | 6304 core.int buildCounterTargetPool = 0; |
5782 buildTargetPool() { | 6305 buildTargetPool() { |
5783 var o = new api.TargetPool(); | 6306 var o = new api.TargetPool(); |
5784 buildCounterTargetPool++; | 6307 buildCounterTargetPool++; |
5785 if (buildCounterTargetPool < 3) { | 6308 if (buildCounterTargetPool < 3) { |
5786 o.backupPool = "foo"; | 6309 o.backupPool = "foo"; |
5787 o.creationTimestamp = "foo"; | 6310 o.creationTimestamp = "foo"; |
5788 o.description = "foo"; | 6311 o.description = "foo"; |
5789 o.failoverRatio = 42.0; | 6312 o.failoverRatio = 42.0; |
5790 o.healthChecks = buildUnnamed788(); | 6313 o.healthChecks = buildUnnamed2377(); |
5791 o.id = "foo"; | 6314 o.id = "foo"; |
5792 o.instances = buildUnnamed789(); | 6315 o.instances = buildUnnamed2378(); |
5793 o.kind = "foo"; | 6316 o.kind = "foo"; |
5794 o.name = "foo"; | 6317 o.name = "foo"; |
5795 o.region = "foo"; | 6318 o.region = "foo"; |
5796 o.selfLink = "foo"; | 6319 o.selfLink = "foo"; |
5797 o.sessionAffinity = "foo"; | 6320 o.sessionAffinity = "foo"; |
5798 } | 6321 } |
5799 buildCounterTargetPool--; | 6322 buildCounterTargetPool--; |
5800 return o; | 6323 return o; |
5801 } | 6324 } |
5802 | 6325 |
5803 checkTargetPool(api.TargetPool o) { | 6326 checkTargetPool(api.TargetPool o) { |
5804 buildCounterTargetPool++; | 6327 buildCounterTargetPool++; |
5805 if (buildCounterTargetPool < 3) { | 6328 if (buildCounterTargetPool < 3) { |
5806 unittest.expect(o.backupPool, unittest.equals('foo')); | 6329 unittest.expect(o.backupPool, unittest.equals('foo')); |
5807 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6330 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
5808 unittest.expect(o.description, unittest.equals('foo')); | 6331 unittest.expect(o.description, unittest.equals('foo')); |
5809 unittest.expect(o.failoverRatio, unittest.equals(42.0)); | 6332 unittest.expect(o.failoverRatio, unittest.equals(42.0)); |
5810 checkUnnamed788(o.healthChecks); | 6333 checkUnnamed2377(o.healthChecks); |
5811 unittest.expect(o.id, unittest.equals('foo')); | 6334 unittest.expect(o.id, unittest.equals('foo')); |
5812 checkUnnamed789(o.instances); | 6335 checkUnnamed2378(o.instances); |
5813 unittest.expect(o.kind, unittest.equals('foo')); | 6336 unittest.expect(o.kind, unittest.equals('foo')); |
5814 unittest.expect(o.name, unittest.equals('foo')); | 6337 unittest.expect(o.name, unittest.equals('foo')); |
5815 unittest.expect(o.region, unittest.equals('foo')); | 6338 unittest.expect(o.region, unittest.equals('foo')); |
5816 unittest.expect(o.selfLink, unittest.equals('foo')); | 6339 unittest.expect(o.selfLink, unittest.equals('foo')); |
5817 unittest.expect(o.sessionAffinity, unittest.equals('foo')); | 6340 unittest.expect(o.sessionAffinity, unittest.equals('foo')); |
5818 } | 6341 } |
5819 buildCounterTargetPool--; | 6342 buildCounterTargetPool--; |
5820 } | 6343 } |
5821 | 6344 |
5822 buildUnnamed790() { | 6345 buildUnnamed2379() { |
5823 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); | 6346 var o = new core.Map<core.String, api.TargetPoolsScopedList>(); |
5824 o["x"] = buildTargetPoolsScopedList(); | 6347 o["x"] = buildTargetPoolsScopedList(); |
5825 o["y"] = buildTargetPoolsScopedList(); | 6348 o["y"] = buildTargetPoolsScopedList(); |
5826 return o; | 6349 return o; |
5827 } | 6350 } |
5828 | 6351 |
5829 checkUnnamed790(core.Map<core.String, api.TargetPoolsScopedList> o) { | 6352 checkUnnamed2379(core.Map<core.String, api.TargetPoolsScopedList> o) { |
5830 unittest.expect(o, unittest.hasLength(2)); | 6353 unittest.expect(o, unittest.hasLength(2)); |
5831 checkTargetPoolsScopedList(o["x"]); | 6354 checkTargetPoolsScopedList(o["x"]); |
5832 checkTargetPoolsScopedList(o["y"]); | 6355 checkTargetPoolsScopedList(o["y"]); |
5833 } | 6356 } |
5834 | 6357 |
5835 core.int buildCounterTargetPoolAggregatedList = 0; | 6358 core.int buildCounterTargetPoolAggregatedList = 0; |
5836 buildTargetPoolAggregatedList() { | 6359 buildTargetPoolAggregatedList() { |
5837 var o = new api.TargetPoolAggregatedList(); | 6360 var o = new api.TargetPoolAggregatedList(); |
5838 buildCounterTargetPoolAggregatedList++; | 6361 buildCounterTargetPoolAggregatedList++; |
5839 if (buildCounterTargetPoolAggregatedList < 3) { | 6362 if (buildCounterTargetPoolAggregatedList < 3) { |
5840 o.id = "foo"; | 6363 o.id = "foo"; |
5841 o.items = buildUnnamed790(); | 6364 o.items = buildUnnamed2379(); |
5842 o.kind = "foo"; | 6365 o.kind = "foo"; |
5843 o.nextPageToken = "foo"; | 6366 o.nextPageToken = "foo"; |
5844 o.selfLink = "foo"; | 6367 o.selfLink = "foo"; |
5845 } | 6368 } |
5846 buildCounterTargetPoolAggregatedList--; | 6369 buildCounterTargetPoolAggregatedList--; |
5847 return o; | 6370 return o; |
5848 } | 6371 } |
5849 | 6372 |
5850 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { | 6373 checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) { |
5851 buildCounterTargetPoolAggregatedList++; | 6374 buildCounterTargetPoolAggregatedList++; |
5852 if (buildCounterTargetPoolAggregatedList < 3) { | 6375 if (buildCounterTargetPoolAggregatedList < 3) { |
5853 unittest.expect(o.id, unittest.equals('foo')); | 6376 unittest.expect(o.id, unittest.equals('foo')); |
5854 checkUnnamed790(o.items); | 6377 checkUnnamed2379(o.items); |
5855 unittest.expect(o.kind, unittest.equals('foo')); | 6378 unittest.expect(o.kind, unittest.equals('foo')); |
5856 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6379 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5857 unittest.expect(o.selfLink, unittest.equals('foo')); | 6380 unittest.expect(o.selfLink, unittest.equals('foo')); |
5858 } | 6381 } |
5859 buildCounterTargetPoolAggregatedList--; | 6382 buildCounterTargetPoolAggregatedList--; |
5860 } | 6383 } |
5861 | 6384 |
5862 buildUnnamed791() { | 6385 buildUnnamed2380() { |
5863 var o = new core.List<api.HealthStatus>(); | 6386 var o = new core.List<api.HealthStatus>(); |
5864 o.add(buildHealthStatus()); | 6387 o.add(buildHealthStatus()); |
5865 o.add(buildHealthStatus()); | 6388 o.add(buildHealthStatus()); |
5866 return o; | 6389 return o; |
5867 } | 6390 } |
5868 | 6391 |
5869 checkUnnamed791(core.List<api.HealthStatus> o) { | 6392 checkUnnamed2380(core.List<api.HealthStatus> o) { |
5870 unittest.expect(o, unittest.hasLength(2)); | 6393 unittest.expect(o, unittest.hasLength(2)); |
5871 checkHealthStatus(o[0]); | 6394 checkHealthStatus(o[0]); |
5872 checkHealthStatus(o[1]); | 6395 checkHealthStatus(o[1]); |
5873 } | 6396 } |
5874 | 6397 |
5875 core.int buildCounterTargetPoolInstanceHealth = 0; | 6398 core.int buildCounterTargetPoolInstanceHealth = 0; |
5876 buildTargetPoolInstanceHealth() { | 6399 buildTargetPoolInstanceHealth() { |
5877 var o = new api.TargetPoolInstanceHealth(); | 6400 var o = new api.TargetPoolInstanceHealth(); |
5878 buildCounterTargetPoolInstanceHealth++; | 6401 buildCounterTargetPoolInstanceHealth++; |
5879 if (buildCounterTargetPoolInstanceHealth < 3) { | 6402 if (buildCounterTargetPoolInstanceHealth < 3) { |
5880 o.healthStatus = buildUnnamed791(); | 6403 o.healthStatus = buildUnnamed2380(); |
5881 o.kind = "foo"; | 6404 o.kind = "foo"; |
5882 } | 6405 } |
5883 buildCounterTargetPoolInstanceHealth--; | 6406 buildCounterTargetPoolInstanceHealth--; |
5884 return o; | 6407 return o; |
5885 } | 6408 } |
5886 | 6409 |
5887 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { | 6410 checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) { |
5888 buildCounterTargetPoolInstanceHealth++; | 6411 buildCounterTargetPoolInstanceHealth++; |
5889 if (buildCounterTargetPoolInstanceHealth < 3) { | 6412 if (buildCounterTargetPoolInstanceHealth < 3) { |
5890 checkUnnamed791(o.healthStatus); | 6413 checkUnnamed2380(o.healthStatus); |
5891 unittest.expect(o.kind, unittest.equals('foo')); | 6414 unittest.expect(o.kind, unittest.equals('foo')); |
5892 } | 6415 } |
5893 buildCounterTargetPoolInstanceHealth--; | 6416 buildCounterTargetPoolInstanceHealth--; |
5894 } | 6417 } |
5895 | 6418 |
5896 buildUnnamed792() { | 6419 buildUnnamed2381() { |
5897 var o = new core.List<api.TargetPool>(); | 6420 var o = new core.List<api.TargetPool>(); |
5898 o.add(buildTargetPool()); | 6421 o.add(buildTargetPool()); |
5899 o.add(buildTargetPool()); | 6422 o.add(buildTargetPool()); |
5900 return o; | 6423 return o; |
5901 } | 6424 } |
5902 | 6425 |
5903 checkUnnamed792(core.List<api.TargetPool> o) { | 6426 checkUnnamed2381(core.List<api.TargetPool> o) { |
5904 unittest.expect(o, unittest.hasLength(2)); | 6427 unittest.expect(o, unittest.hasLength(2)); |
5905 checkTargetPool(o[0]); | 6428 checkTargetPool(o[0]); |
5906 checkTargetPool(o[1]); | 6429 checkTargetPool(o[1]); |
5907 } | 6430 } |
5908 | 6431 |
5909 core.int buildCounterTargetPoolList = 0; | 6432 core.int buildCounterTargetPoolList = 0; |
5910 buildTargetPoolList() { | 6433 buildTargetPoolList() { |
5911 var o = new api.TargetPoolList(); | 6434 var o = new api.TargetPoolList(); |
5912 buildCounterTargetPoolList++; | 6435 buildCounterTargetPoolList++; |
5913 if (buildCounterTargetPoolList < 3) { | 6436 if (buildCounterTargetPoolList < 3) { |
5914 o.id = "foo"; | 6437 o.id = "foo"; |
5915 o.items = buildUnnamed792(); | 6438 o.items = buildUnnamed2381(); |
5916 o.kind = "foo"; | 6439 o.kind = "foo"; |
5917 o.nextPageToken = "foo"; | 6440 o.nextPageToken = "foo"; |
5918 o.selfLink = "foo"; | 6441 o.selfLink = "foo"; |
5919 } | 6442 } |
5920 buildCounterTargetPoolList--; | 6443 buildCounterTargetPoolList--; |
5921 return o; | 6444 return o; |
5922 } | 6445 } |
5923 | 6446 |
5924 checkTargetPoolList(api.TargetPoolList o) { | 6447 checkTargetPoolList(api.TargetPoolList o) { |
5925 buildCounterTargetPoolList++; | 6448 buildCounterTargetPoolList++; |
5926 if (buildCounterTargetPoolList < 3) { | 6449 if (buildCounterTargetPoolList < 3) { |
5927 unittest.expect(o.id, unittest.equals('foo')); | 6450 unittest.expect(o.id, unittest.equals('foo')); |
5928 checkUnnamed792(o.items); | 6451 checkUnnamed2381(o.items); |
5929 unittest.expect(o.kind, unittest.equals('foo')); | 6452 unittest.expect(o.kind, unittest.equals('foo')); |
5930 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6453 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5931 unittest.expect(o.selfLink, unittest.equals('foo')); | 6454 unittest.expect(o.selfLink, unittest.equals('foo')); |
5932 } | 6455 } |
5933 buildCounterTargetPoolList--; | 6456 buildCounterTargetPoolList--; |
5934 } | 6457 } |
5935 | 6458 |
5936 buildUnnamed793() { | 6459 buildUnnamed2382() { |
5937 var o = new core.List<api.HealthCheckReference>(); | 6460 var o = new core.List<api.HealthCheckReference>(); |
5938 o.add(buildHealthCheckReference()); | 6461 o.add(buildHealthCheckReference()); |
5939 o.add(buildHealthCheckReference()); | 6462 o.add(buildHealthCheckReference()); |
5940 return o; | 6463 return o; |
5941 } | 6464 } |
5942 | 6465 |
5943 checkUnnamed793(core.List<api.HealthCheckReference> o) { | 6466 checkUnnamed2382(core.List<api.HealthCheckReference> o) { |
5944 unittest.expect(o, unittest.hasLength(2)); | 6467 unittest.expect(o, unittest.hasLength(2)); |
5945 checkHealthCheckReference(o[0]); | 6468 checkHealthCheckReference(o[0]); |
5946 checkHealthCheckReference(o[1]); | 6469 checkHealthCheckReference(o[1]); |
5947 } | 6470 } |
5948 | 6471 |
5949 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; | 6472 core.int buildCounterTargetPoolsAddHealthCheckRequest = 0; |
5950 buildTargetPoolsAddHealthCheckRequest() { | 6473 buildTargetPoolsAddHealthCheckRequest() { |
5951 var o = new api.TargetPoolsAddHealthCheckRequest(); | 6474 var o = new api.TargetPoolsAddHealthCheckRequest(); |
5952 buildCounterTargetPoolsAddHealthCheckRequest++; | 6475 buildCounterTargetPoolsAddHealthCheckRequest++; |
5953 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 6476 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
5954 o.healthChecks = buildUnnamed793(); | 6477 o.healthChecks = buildUnnamed2382(); |
5955 } | 6478 } |
5956 buildCounterTargetPoolsAddHealthCheckRequest--; | 6479 buildCounterTargetPoolsAddHealthCheckRequest--; |
5957 return o; | 6480 return o; |
5958 } | 6481 } |
5959 | 6482 |
5960 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { | 6483 checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) { |
5961 buildCounterTargetPoolsAddHealthCheckRequest++; | 6484 buildCounterTargetPoolsAddHealthCheckRequest++; |
5962 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { | 6485 if (buildCounterTargetPoolsAddHealthCheckRequest < 3) { |
5963 checkUnnamed793(o.healthChecks); | 6486 checkUnnamed2382(o.healthChecks); |
5964 } | 6487 } |
5965 buildCounterTargetPoolsAddHealthCheckRequest--; | 6488 buildCounterTargetPoolsAddHealthCheckRequest--; |
5966 } | 6489 } |
5967 | 6490 |
5968 buildUnnamed794() { | 6491 buildUnnamed2383() { |
5969 var o = new core.List<api.InstanceReference>(); | 6492 var o = new core.List<api.InstanceReference>(); |
5970 o.add(buildInstanceReference()); | 6493 o.add(buildInstanceReference()); |
5971 o.add(buildInstanceReference()); | 6494 o.add(buildInstanceReference()); |
5972 return o; | 6495 return o; |
5973 } | 6496 } |
5974 | 6497 |
5975 checkUnnamed794(core.List<api.InstanceReference> o) { | 6498 checkUnnamed2383(core.List<api.InstanceReference> o) { |
5976 unittest.expect(o, unittest.hasLength(2)); | 6499 unittest.expect(o, unittest.hasLength(2)); |
5977 checkInstanceReference(o[0]); | 6500 checkInstanceReference(o[0]); |
5978 checkInstanceReference(o[1]); | 6501 checkInstanceReference(o[1]); |
5979 } | 6502 } |
5980 | 6503 |
5981 core.int buildCounterTargetPoolsAddInstanceRequest = 0; | 6504 core.int buildCounterTargetPoolsAddInstanceRequest = 0; |
5982 buildTargetPoolsAddInstanceRequest() { | 6505 buildTargetPoolsAddInstanceRequest() { |
5983 var o = new api.TargetPoolsAddInstanceRequest(); | 6506 var o = new api.TargetPoolsAddInstanceRequest(); |
5984 buildCounterTargetPoolsAddInstanceRequest++; | 6507 buildCounterTargetPoolsAddInstanceRequest++; |
5985 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 6508 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
5986 o.instances = buildUnnamed794(); | 6509 o.instances = buildUnnamed2383(); |
5987 } | 6510 } |
5988 buildCounterTargetPoolsAddInstanceRequest--; | 6511 buildCounterTargetPoolsAddInstanceRequest--; |
5989 return o; | 6512 return o; |
5990 } | 6513 } |
5991 | 6514 |
5992 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { | 6515 checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) { |
5993 buildCounterTargetPoolsAddInstanceRequest++; | 6516 buildCounterTargetPoolsAddInstanceRequest++; |
5994 if (buildCounterTargetPoolsAddInstanceRequest < 3) { | 6517 if (buildCounterTargetPoolsAddInstanceRequest < 3) { |
5995 checkUnnamed794(o.instances); | 6518 checkUnnamed2383(o.instances); |
5996 } | 6519 } |
5997 buildCounterTargetPoolsAddInstanceRequest--; | 6520 buildCounterTargetPoolsAddInstanceRequest--; |
5998 } | 6521 } |
5999 | 6522 |
6000 buildUnnamed795() { | 6523 buildUnnamed2384() { |
6001 var o = new core.List<api.HealthCheckReference>(); | 6524 var o = new core.List<api.HealthCheckReference>(); |
6002 o.add(buildHealthCheckReference()); | 6525 o.add(buildHealthCheckReference()); |
6003 o.add(buildHealthCheckReference()); | 6526 o.add(buildHealthCheckReference()); |
6004 return o; | 6527 return o; |
6005 } | 6528 } |
6006 | 6529 |
6007 checkUnnamed795(core.List<api.HealthCheckReference> o) { | 6530 checkUnnamed2384(core.List<api.HealthCheckReference> o) { |
6008 unittest.expect(o, unittest.hasLength(2)); | 6531 unittest.expect(o, unittest.hasLength(2)); |
6009 checkHealthCheckReference(o[0]); | 6532 checkHealthCheckReference(o[0]); |
6010 checkHealthCheckReference(o[1]); | 6533 checkHealthCheckReference(o[1]); |
6011 } | 6534 } |
6012 | 6535 |
6013 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; | 6536 core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0; |
6014 buildTargetPoolsRemoveHealthCheckRequest() { | 6537 buildTargetPoolsRemoveHealthCheckRequest() { |
6015 var o = new api.TargetPoolsRemoveHealthCheckRequest(); | 6538 var o = new api.TargetPoolsRemoveHealthCheckRequest(); |
6016 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 6539 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
6017 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 6540 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
6018 o.healthChecks = buildUnnamed795(); | 6541 o.healthChecks = buildUnnamed2384(); |
6019 } | 6542 } |
6020 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 6543 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
6021 return o; | 6544 return o; |
6022 } | 6545 } |
6023 | 6546 |
6024 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { | 6547 checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest
o) { |
6025 buildCounterTargetPoolsRemoveHealthCheckRequest++; | 6548 buildCounterTargetPoolsRemoveHealthCheckRequest++; |
6026 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { | 6549 if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) { |
6027 checkUnnamed795(o.healthChecks); | 6550 checkUnnamed2384(o.healthChecks); |
6028 } | 6551 } |
6029 buildCounterTargetPoolsRemoveHealthCheckRequest--; | 6552 buildCounterTargetPoolsRemoveHealthCheckRequest--; |
6030 } | 6553 } |
6031 | 6554 |
6032 buildUnnamed796() { | 6555 buildUnnamed2385() { |
6033 var o = new core.List<api.InstanceReference>(); | 6556 var o = new core.List<api.InstanceReference>(); |
6034 o.add(buildInstanceReference()); | 6557 o.add(buildInstanceReference()); |
6035 o.add(buildInstanceReference()); | 6558 o.add(buildInstanceReference()); |
6036 return o; | 6559 return o; |
6037 } | 6560 } |
6038 | 6561 |
6039 checkUnnamed796(core.List<api.InstanceReference> o) { | 6562 checkUnnamed2385(core.List<api.InstanceReference> o) { |
6040 unittest.expect(o, unittest.hasLength(2)); | 6563 unittest.expect(o, unittest.hasLength(2)); |
6041 checkInstanceReference(o[0]); | 6564 checkInstanceReference(o[0]); |
6042 checkInstanceReference(o[1]); | 6565 checkInstanceReference(o[1]); |
6043 } | 6566 } |
6044 | 6567 |
6045 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; | 6568 core.int buildCounterTargetPoolsRemoveInstanceRequest = 0; |
6046 buildTargetPoolsRemoveInstanceRequest() { | 6569 buildTargetPoolsRemoveInstanceRequest() { |
6047 var o = new api.TargetPoolsRemoveInstanceRequest(); | 6570 var o = new api.TargetPoolsRemoveInstanceRequest(); |
6048 buildCounterTargetPoolsRemoveInstanceRequest++; | 6571 buildCounterTargetPoolsRemoveInstanceRequest++; |
6049 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 6572 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
6050 o.instances = buildUnnamed796(); | 6573 o.instances = buildUnnamed2385(); |
6051 } | 6574 } |
6052 buildCounterTargetPoolsRemoveInstanceRequest--; | 6575 buildCounterTargetPoolsRemoveInstanceRequest--; |
6053 return o; | 6576 return o; |
6054 } | 6577 } |
6055 | 6578 |
6056 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { | 6579 checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) { |
6057 buildCounterTargetPoolsRemoveInstanceRequest++; | 6580 buildCounterTargetPoolsRemoveInstanceRequest++; |
6058 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { | 6581 if (buildCounterTargetPoolsRemoveInstanceRequest < 3) { |
6059 checkUnnamed796(o.instances); | 6582 checkUnnamed2385(o.instances); |
6060 } | 6583 } |
6061 buildCounterTargetPoolsRemoveInstanceRequest--; | 6584 buildCounterTargetPoolsRemoveInstanceRequest--; |
6062 } | 6585 } |
6063 | 6586 |
6064 buildUnnamed797() { | 6587 buildUnnamed2386() { |
6065 var o = new core.List<api.TargetPool>(); | 6588 var o = new core.List<api.TargetPool>(); |
6066 o.add(buildTargetPool()); | 6589 o.add(buildTargetPool()); |
6067 o.add(buildTargetPool()); | 6590 o.add(buildTargetPool()); |
6068 return o; | 6591 return o; |
6069 } | 6592 } |
6070 | 6593 |
6071 checkUnnamed797(core.List<api.TargetPool> o) { | 6594 checkUnnamed2386(core.List<api.TargetPool> o) { |
6072 unittest.expect(o, unittest.hasLength(2)); | 6595 unittest.expect(o, unittest.hasLength(2)); |
6073 checkTargetPool(o[0]); | 6596 checkTargetPool(o[0]); |
6074 checkTargetPool(o[1]); | 6597 checkTargetPool(o[1]); |
6075 } | 6598 } |
6076 | 6599 |
6077 core.int buildCounterTargetPoolsScopedListWarningData = 0; | 6600 core.int buildCounterTargetPoolsScopedListWarningData = 0; |
6078 buildTargetPoolsScopedListWarningData() { | 6601 buildTargetPoolsScopedListWarningData() { |
6079 var o = new api.TargetPoolsScopedListWarningData(); | 6602 var o = new api.TargetPoolsScopedListWarningData(); |
6080 buildCounterTargetPoolsScopedListWarningData++; | 6603 buildCounterTargetPoolsScopedListWarningData++; |
6081 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 6604 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
6082 o.key = "foo"; | 6605 o.key = "foo"; |
6083 o.value = "foo"; | 6606 o.value = "foo"; |
6084 } | 6607 } |
6085 buildCounterTargetPoolsScopedListWarningData--; | 6608 buildCounterTargetPoolsScopedListWarningData--; |
6086 return o; | 6609 return o; |
6087 } | 6610 } |
6088 | 6611 |
6089 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { | 6612 checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) { |
6090 buildCounterTargetPoolsScopedListWarningData++; | 6613 buildCounterTargetPoolsScopedListWarningData++; |
6091 if (buildCounterTargetPoolsScopedListWarningData < 3) { | 6614 if (buildCounterTargetPoolsScopedListWarningData < 3) { |
6092 unittest.expect(o.key, unittest.equals('foo')); | 6615 unittest.expect(o.key, unittest.equals('foo')); |
6093 unittest.expect(o.value, unittest.equals('foo')); | 6616 unittest.expect(o.value, unittest.equals('foo')); |
6094 } | 6617 } |
6095 buildCounterTargetPoolsScopedListWarningData--; | 6618 buildCounterTargetPoolsScopedListWarningData--; |
6096 } | 6619 } |
6097 | 6620 |
6098 buildUnnamed798() { | 6621 buildUnnamed2387() { |
6099 var o = new core.List<api.TargetPoolsScopedListWarningData>(); | 6622 var o = new core.List<api.TargetPoolsScopedListWarningData>(); |
6100 o.add(buildTargetPoolsScopedListWarningData()); | 6623 o.add(buildTargetPoolsScopedListWarningData()); |
6101 o.add(buildTargetPoolsScopedListWarningData()); | 6624 o.add(buildTargetPoolsScopedListWarningData()); |
6102 return o; | 6625 return o; |
6103 } | 6626 } |
6104 | 6627 |
6105 checkUnnamed798(core.List<api.TargetPoolsScopedListWarningData> o) { | 6628 checkUnnamed2387(core.List<api.TargetPoolsScopedListWarningData> o) { |
6106 unittest.expect(o, unittest.hasLength(2)); | 6629 unittest.expect(o, unittest.hasLength(2)); |
6107 checkTargetPoolsScopedListWarningData(o[0]); | 6630 checkTargetPoolsScopedListWarningData(o[0]); |
6108 checkTargetPoolsScopedListWarningData(o[1]); | 6631 checkTargetPoolsScopedListWarningData(o[1]); |
6109 } | 6632 } |
6110 | 6633 |
6111 core.int buildCounterTargetPoolsScopedListWarning = 0; | 6634 core.int buildCounterTargetPoolsScopedListWarning = 0; |
6112 buildTargetPoolsScopedListWarning() { | 6635 buildTargetPoolsScopedListWarning() { |
6113 var o = new api.TargetPoolsScopedListWarning(); | 6636 var o = new api.TargetPoolsScopedListWarning(); |
6114 buildCounterTargetPoolsScopedListWarning++; | 6637 buildCounterTargetPoolsScopedListWarning++; |
6115 if (buildCounterTargetPoolsScopedListWarning < 3) { | 6638 if (buildCounterTargetPoolsScopedListWarning < 3) { |
6116 o.code = "foo"; | 6639 o.code = "foo"; |
6117 o.data = buildUnnamed798(); | 6640 o.data = buildUnnamed2387(); |
6118 o.message = "foo"; | 6641 o.message = "foo"; |
6119 } | 6642 } |
6120 buildCounterTargetPoolsScopedListWarning--; | 6643 buildCounterTargetPoolsScopedListWarning--; |
6121 return o; | 6644 return o; |
6122 } | 6645 } |
6123 | 6646 |
6124 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { | 6647 checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) { |
6125 buildCounterTargetPoolsScopedListWarning++; | 6648 buildCounterTargetPoolsScopedListWarning++; |
6126 if (buildCounterTargetPoolsScopedListWarning < 3) { | 6649 if (buildCounterTargetPoolsScopedListWarning < 3) { |
6127 unittest.expect(o.code, unittest.equals('foo')); | 6650 unittest.expect(o.code, unittest.equals('foo')); |
6128 checkUnnamed798(o.data); | 6651 checkUnnamed2387(o.data); |
6129 unittest.expect(o.message, unittest.equals('foo')); | 6652 unittest.expect(o.message, unittest.equals('foo')); |
6130 } | 6653 } |
6131 buildCounterTargetPoolsScopedListWarning--; | 6654 buildCounterTargetPoolsScopedListWarning--; |
6132 } | 6655 } |
6133 | 6656 |
6134 core.int buildCounterTargetPoolsScopedList = 0; | 6657 core.int buildCounterTargetPoolsScopedList = 0; |
6135 buildTargetPoolsScopedList() { | 6658 buildTargetPoolsScopedList() { |
6136 var o = new api.TargetPoolsScopedList(); | 6659 var o = new api.TargetPoolsScopedList(); |
6137 buildCounterTargetPoolsScopedList++; | 6660 buildCounterTargetPoolsScopedList++; |
6138 if (buildCounterTargetPoolsScopedList < 3) { | 6661 if (buildCounterTargetPoolsScopedList < 3) { |
6139 o.targetPools = buildUnnamed797(); | 6662 o.targetPools = buildUnnamed2386(); |
6140 o.warning = buildTargetPoolsScopedListWarning(); | 6663 o.warning = buildTargetPoolsScopedListWarning(); |
6141 } | 6664 } |
6142 buildCounterTargetPoolsScopedList--; | 6665 buildCounterTargetPoolsScopedList--; |
6143 return o; | 6666 return o; |
6144 } | 6667 } |
6145 | 6668 |
6146 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { | 6669 checkTargetPoolsScopedList(api.TargetPoolsScopedList o) { |
6147 buildCounterTargetPoolsScopedList++; | 6670 buildCounterTargetPoolsScopedList++; |
6148 if (buildCounterTargetPoolsScopedList < 3) { | 6671 if (buildCounterTargetPoolsScopedList < 3) { |
6149 checkUnnamed797(o.targetPools); | 6672 checkUnnamed2386(o.targetPools); |
6150 checkTargetPoolsScopedListWarning(o.warning); | 6673 checkTargetPoolsScopedListWarning(o.warning); |
6151 } | 6674 } |
6152 buildCounterTargetPoolsScopedList--; | 6675 buildCounterTargetPoolsScopedList--; |
6153 } | 6676 } |
6154 | 6677 |
6155 core.int buildCounterTargetReference = 0; | 6678 core.int buildCounterTargetReference = 0; |
6156 buildTargetReference() { | 6679 buildTargetReference() { |
6157 var o = new api.TargetReference(); | 6680 var o = new api.TargetReference(); |
6158 buildCounterTargetReference++; | 6681 buildCounterTargetReference++; |
6159 if (buildCounterTargetReference < 3) { | 6682 if (buildCounterTargetReference < 3) { |
6160 o.target = "foo"; | 6683 o.target = "foo"; |
6161 } | 6684 } |
6162 buildCounterTargetReference--; | 6685 buildCounterTargetReference--; |
6163 return o; | 6686 return o; |
6164 } | 6687 } |
6165 | 6688 |
6166 checkTargetReference(api.TargetReference o) { | 6689 checkTargetReference(api.TargetReference o) { |
6167 buildCounterTargetReference++; | 6690 buildCounterTargetReference++; |
6168 if (buildCounterTargetReference < 3) { | 6691 if (buildCounterTargetReference < 3) { |
6169 unittest.expect(o.target, unittest.equals('foo')); | 6692 unittest.expect(o.target, unittest.equals('foo')); |
6170 } | 6693 } |
6171 buildCounterTargetReference--; | 6694 buildCounterTargetReference--; |
6172 } | 6695 } |
6173 | 6696 |
6174 buildUnnamed799() { | 6697 buildUnnamed2388() { |
6175 var o = new core.List<core.String>(); | 6698 var o = new core.List<core.String>(); |
6176 o.add("foo"); | 6699 o.add("foo"); |
6177 o.add("foo"); | 6700 o.add("foo"); |
6178 return o; | 6701 return o; |
6179 } | 6702 } |
6180 | 6703 |
6181 checkUnnamed799(core.List<core.String> o) { | 6704 checkUnnamed2388(core.List<core.String> o) { |
6182 unittest.expect(o, unittest.hasLength(2)); | 6705 unittest.expect(o, unittest.hasLength(2)); |
6183 unittest.expect(o[0], unittest.equals('foo')); | 6706 unittest.expect(o[0], unittest.equals('foo')); |
6184 unittest.expect(o[1], unittest.equals('foo')); | 6707 unittest.expect(o[1], unittest.equals('foo')); |
6185 } | 6708 } |
6186 | 6709 |
6187 buildUnnamed800() { | 6710 buildUnnamed2389() { |
6188 var o = new core.List<core.String>(); | 6711 var o = new core.List<core.String>(); |
6189 o.add("foo"); | 6712 o.add("foo"); |
6190 o.add("foo"); | 6713 o.add("foo"); |
6191 return o; | 6714 return o; |
6192 } | 6715 } |
6193 | 6716 |
6194 checkUnnamed800(core.List<core.String> o) { | 6717 checkUnnamed2389(core.List<core.String> o) { |
6195 unittest.expect(o, unittest.hasLength(2)); | 6718 unittest.expect(o, unittest.hasLength(2)); |
6196 unittest.expect(o[0], unittest.equals('foo')); | 6719 unittest.expect(o[0], unittest.equals('foo')); |
6197 unittest.expect(o[1], unittest.equals('foo')); | 6720 unittest.expect(o[1], unittest.equals('foo')); |
6198 } | 6721 } |
6199 | 6722 |
6200 core.int buildCounterTargetVpnGateway = 0; | 6723 core.int buildCounterTargetVpnGateway = 0; |
6201 buildTargetVpnGateway() { | 6724 buildTargetVpnGateway() { |
6202 var o = new api.TargetVpnGateway(); | 6725 var o = new api.TargetVpnGateway(); |
6203 buildCounterTargetVpnGateway++; | 6726 buildCounterTargetVpnGateway++; |
6204 if (buildCounterTargetVpnGateway < 3) { | 6727 if (buildCounterTargetVpnGateway < 3) { |
6205 o.creationTimestamp = "foo"; | 6728 o.creationTimestamp = "foo"; |
6206 o.description = "foo"; | 6729 o.description = "foo"; |
6207 o.forwardingRules = buildUnnamed799(); | 6730 o.forwardingRules = buildUnnamed2388(); |
6208 o.id = "foo"; | 6731 o.id = "foo"; |
6209 o.kind = "foo"; | 6732 o.kind = "foo"; |
6210 o.name = "foo"; | 6733 o.name = "foo"; |
6211 o.network = "foo"; | 6734 o.network = "foo"; |
6212 o.region = "foo"; | 6735 o.region = "foo"; |
6213 o.selfLink = "foo"; | 6736 o.selfLink = "foo"; |
6214 o.status = "foo"; | 6737 o.status = "foo"; |
6215 o.tunnels = buildUnnamed800(); | 6738 o.tunnels = buildUnnamed2389(); |
6216 } | 6739 } |
6217 buildCounterTargetVpnGateway--; | 6740 buildCounterTargetVpnGateway--; |
6218 return o; | 6741 return o; |
6219 } | 6742 } |
6220 | 6743 |
6221 checkTargetVpnGateway(api.TargetVpnGateway o) { | 6744 checkTargetVpnGateway(api.TargetVpnGateway o) { |
6222 buildCounterTargetVpnGateway++; | 6745 buildCounterTargetVpnGateway++; |
6223 if (buildCounterTargetVpnGateway < 3) { | 6746 if (buildCounterTargetVpnGateway < 3) { |
6224 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 6747 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6225 unittest.expect(o.description, unittest.equals('foo')); | 6748 unittest.expect(o.description, unittest.equals('foo')); |
6226 checkUnnamed799(o.forwardingRules); | 6749 checkUnnamed2388(o.forwardingRules); |
6227 unittest.expect(o.id, unittest.equals('foo')); | 6750 unittest.expect(o.id, unittest.equals('foo')); |
6228 unittest.expect(o.kind, unittest.equals('foo')); | 6751 unittest.expect(o.kind, unittest.equals('foo')); |
6229 unittest.expect(o.name, unittest.equals('foo')); | 6752 unittest.expect(o.name, unittest.equals('foo')); |
6230 unittest.expect(o.network, unittest.equals('foo')); | 6753 unittest.expect(o.network, unittest.equals('foo')); |
6231 unittest.expect(o.region, unittest.equals('foo')); | 6754 unittest.expect(o.region, unittest.equals('foo')); |
6232 unittest.expect(o.selfLink, unittest.equals('foo')); | 6755 unittest.expect(o.selfLink, unittest.equals('foo')); |
6233 unittest.expect(o.status, unittest.equals('foo')); | 6756 unittest.expect(o.status, unittest.equals('foo')); |
6234 checkUnnamed800(o.tunnels); | 6757 checkUnnamed2389(o.tunnels); |
6235 } | 6758 } |
6236 buildCounterTargetVpnGateway--; | 6759 buildCounterTargetVpnGateway--; |
6237 } | 6760 } |
6238 | 6761 |
6239 buildUnnamed801() { | 6762 buildUnnamed2390() { |
6240 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); | 6763 var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>(); |
6241 o["x"] = buildTargetVpnGatewaysScopedList(); | 6764 o["x"] = buildTargetVpnGatewaysScopedList(); |
6242 o["y"] = buildTargetVpnGatewaysScopedList(); | 6765 o["y"] = buildTargetVpnGatewaysScopedList(); |
6243 return o; | 6766 return o; |
6244 } | 6767 } |
6245 | 6768 |
6246 checkUnnamed801(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { | 6769 checkUnnamed2390(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) { |
6247 unittest.expect(o, unittest.hasLength(2)); | 6770 unittest.expect(o, unittest.hasLength(2)); |
6248 checkTargetVpnGatewaysScopedList(o["x"]); | 6771 checkTargetVpnGatewaysScopedList(o["x"]); |
6249 checkTargetVpnGatewaysScopedList(o["y"]); | 6772 checkTargetVpnGatewaysScopedList(o["y"]); |
6250 } | 6773 } |
6251 | 6774 |
6252 core.int buildCounterTargetVpnGatewayAggregatedList = 0; | 6775 core.int buildCounterTargetVpnGatewayAggregatedList = 0; |
6253 buildTargetVpnGatewayAggregatedList() { | 6776 buildTargetVpnGatewayAggregatedList() { |
6254 var o = new api.TargetVpnGatewayAggregatedList(); | 6777 var o = new api.TargetVpnGatewayAggregatedList(); |
6255 buildCounterTargetVpnGatewayAggregatedList++; | 6778 buildCounterTargetVpnGatewayAggregatedList++; |
6256 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 6779 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
6257 o.id = "foo"; | 6780 o.id = "foo"; |
6258 o.items = buildUnnamed801(); | 6781 o.items = buildUnnamed2390(); |
6259 o.kind = "foo"; | 6782 o.kind = "foo"; |
6260 o.nextPageToken = "foo"; | 6783 o.nextPageToken = "foo"; |
6261 o.selfLink = "foo"; | 6784 o.selfLink = "foo"; |
6262 } | 6785 } |
6263 buildCounterTargetVpnGatewayAggregatedList--; | 6786 buildCounterTargetVpnGatewayAggregatedList--; |
6264 return o; | 6787 return o; |
6265 } | 6788 } |
6266 | 6789 |
6267 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { | 6790 checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) { |
6268 buildCounterTargetVpnGatewayAggregatedList++; | 6791 buildCounterTargetVpnGatewayAggregatedList++; |
6269 if (buildCounterTargetVpnGatewayAggregatedList < 3) { | 6792 if (buildCounterTargetVpnGatewayAggregatedList < 3) { |
6270 unittest.expect(o.id, unittest.equals('foo')); | 6793 unittest.expect(o.id, unittest.equals('foo')); |
6271 checkUnnamed801(o.items); | 6794 checkUnnamed2390(o.items); |
6272 unittest.expect(o.kind, unittest.equals('foo')); | 6795 unittest.expect(o.kind, unittest.equals('foo')); |
6273 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6796 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6274 unittest.expect(o.selfLink, unittest.equals('foo')); | 6797 unittest.expect(o.selfLink, unittest.equals('foo')); |
6275 } | 6798 } |
6276 buildCounterTargetVpnGatewayAggregatedList--; | 6799 buildCounterTargetVpnGatewayAggregatedList--; |
6277 } | 6800 } |
6278 | 6801 |
6279 buildUnnamed802() { | 6802 buildUnnamed2391() { |
6280 var o = new core.List<api.TargetVpnGateway>(); | 6803 var o = new core.List<api.TargetVpnGateway>(); |
6281 o.add(buildTargetVpnGateway()); | 6804 o.add(buildTargetVpnGateway()); |
6282 o.add(buildTargetVpnGateway()); | 6805 o.add(buildTargetVpnGateway()); |
6283 return o; | 6806 return o; |
6284 } | 6807 } |
6285 | 6808 |
6286 checkUnnamed802(core.List<api.TargetVpnGateway> o) { | 6809 checkUnnamed2391(core.List<api.TargetVpnGateway> o) { |
6287 unittest.expect(o, unittest.hasLength(2)); | 6810 unittest.expect(o, unittest.hasLength(2)); |
6288 checkTargetVpnGateway(o[0]); | 6811 checkTargetVpnGateway(o[0]); |
6289 checkTargetVpnGateway(o[1]); | 6812 checkTargetVpnGateway(o[1]); |
6290 } | 6813 } |
6291 | 6814 |
6292 core.int buildCounterTargetVpnGatewayList = 0; | 6815 core.int buildCounterTargetVpnGatewayList = 0; |
6293 buildTargetVpnGatewayList() { | 6816 buildTargetVpnGatewayList() { |
6294 var o = new api.TargetVpnGatewayList(); | 6817 var o = new api.TargetVpnGatewayList(); |
6295 buildCounterTargetVpnGatewayList++; | 6818 buildCounterTargetVpnGatewayList++; |
6296 if (buildCounterTargetVpnGatewayList < 3) { | 6819 if (buildCounterTargetVpnGatewayList < 3) { |
6297 o.id = "foo"; | 6820 o.id = "foo"; |
6298 o.items = buildUnnamed802(); | 6821 o.items = buildUnnamed2391(); |
6299 o.kind = "foo"; | 6822 o.kind = "foo"; |
6300 o.nextPageToken = "foo"; | 6823 o.nextPageToken = "foo"; |
6301 o.selfLink = "foo"; | 6824 o.selfLink = "foo"; |
6302 } | 6825 } |
6303 buildCounterTargetVpnGatewayList--; | 6826 buildCounterTargetVpnGatewayList--; |
6304 return o; | 6827 return o; |
6305 } | 6828 } |
6306 | 6829 |
6307 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { | 6830 checkTargetVpnGatewayList(api.TargetVpnGatewayList o) { |
6308 buildCounterTargetVpnGatewayList++; | 6831 buildCounterTargetVpnGatewayList++; |
6309 if (buildCounterTargetVpnGatewayList < 3) { | 6832 if (buildCounterTargetVpnGatewayList < 3) { |
6310 unittest.expect(o.id, unittest.equals('foo')); | 6833 unittest.expect(o.id, unittest.equals('foo')); |
6311 checkUnnamed802(o.items); | 6834 checkUnnamed2391(o.items); |
6312 unittest.expect(o.kind, unittest.equals('foo')); | 6835 unittest.expect(o.kind, unittest.equals('foo')); |
6313 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6836 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6314 unittest.expect(o.selfLink, unittest.equals('foo')); | 6837 unittest.expect(o.selfLink, unittest.equals('foo')); |
6315 } | 6838 } |
6316 buildCounterTargetVpnGatewayList--; | 6839 buildCounterTargetVpnGatewayList--; |
6317 } | 6840 } |
6318 | 6841 |
6319 buildUnnamed803() { | 6842 buildUnnamed2392() { |
6320 var o = new core.List<api.TargetVpnGateway>(); | 6843 var o = new core.List<api.TargetVpnGateway>(); |
6321 o.add(buildTargetVpnGateway()); | 6844 o.add(buildTargetVpnGateway()); |
6322 o.add(buildTargetVpnGateway()); | 6845 o.add(buildTargetVpnGateway()); |
6323 return o; | 6846 return o; |
6324 } | 6847 } |
6325 | 6848 |
6326 checkUnnamed803(core.List<api.TargetVpnGateway> o) { | 6849 checkUnnamed2392(core.List<api.TargetVpnGateway> o) { |
6327 unittest.expect(o, unittest.hasLength(2)); | 6850 unittest.expect(o, unittest.hasLength(2)); |
6328 checkTargetVpnGateway(o[0]); | 6851 checkTargetVpnGateway(o[0]); |
6329 checkTargetVpnGateway(o[1]); | 6852 checkTargetVpnGateway(o[1]); |
6330 } | 6853 } |
6331 | 6854 |
6332 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; | 6855 core.int buildCounterTargetVpnGatewaysScopedListWarningData = 0; |
6333 buildTargetVpnGatewaysScopedListWarningData() { | 6856 buildTargetVpnGatewaysScopedListWarningData() { |
6334 var o = new api.TargetVpnGatewaysScopedListWarningData(); | 6857 var o = new api.TargetVpnGatewaysScopedListWarningData(); |
6335 buildCounterTargetVpnGatewaysScopedListWarningData++; | 6858 buildCounterTargetVpnGatewaysScopedListWarningData++; |
6336 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 6859 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
6337 o.key = "foo"; | 6860 o.key = "foo"; |
6338 o.value = "foo"; | 6861 o.value = "foo"; |
6339 } | 6862 } |
6340 buildCounterTargetVpnGatewaysScopedListWarningData--; | 6863 buildCounterTargetVpnGatewaysScopedListWarningData--; |
6341 return o; | 6864 return o; |
6342 } | 6865 } |
6343 | 6866 |
6344 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { | 6867 checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
ngData o) { |
6345 buildCounterTargetVpnGatewaysScopedListWarningData++; | 6868 buildCounterTargetVpnGatewaysScopedListWarningData++; |
6346 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { | 6869 if (buildCounterTargetVpnGatewaysScopedListWarningData < 3) { |
6347 unittest.expect(o.key, unittest.equals('foo')); | 6870 unittest.expect(o.key, unittest.equals('foo')); |
6348 unittest.expect(o.value, unittest.equals('foo')); | 6871 unittest.expect(o.value, unittest.equals('foo')); |
6349 } | 6872 } |
6350 buildCounterTargetVpnGatewaysScopedListWarningData--; | 6873 buildCounterTargetVpnGatewaysScopedListWarningData--; |
6351 } | 6874 } |
6352 | 6875 |
6353 buildUnnamed804() { | 6876 buildUnnamed2393() { |
6354 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); | 6877 var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>(); |
6355 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 6878 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
6356 o.add(buildTargetVpnGatewaysScopedListWarningData()); | 6879 o.add(buildTargetVpnGatewaysScopedListWarningData()); |
6357 return o; | 6880 return o; |
6358 } | 6881 } |
6359 | 6882 |
6360 checkUnnamed804(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { | 6883 checkUnnamed2393(core.List<api.TargetVpnGatewaysScopedListWarningData> o) { |
6361 unittest.expect(o, unittest.hasLength(2)); | 6884 unittest.expect(o, unittest.hasLength(2)); |
6362 checkTargetVpnGatewaysScopedListWarningData(o[0]); | 6885 checkTargetVpnGatewaysScopedListWarningData(o[0]); |
6363 checkTargetVpnGatewaysScopedListWarningData(o[1]); | 6886 checkTargetVpnGatewaysScopedListWarningData(o[1]); |
6364 } | 6887 } |
6365 | 6888 |
6366 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; | 6889 core.int buildCounterTargetVpnGatewaysScopedListWarning = 0; |
6367 buildTargetVpnGatewaysScopedListWarning() { | 6890 buildTargetVpnGatewaysScopedListWarning() { |
6368 var o = new api.TargetVpnGatewaysScopedListWarning(); | 6891 var o = new api.TargetVpnGatewaysScopedListWarning(); |
6369 buildCounterTargetVpnGatewaysScopedListWarning++; | 6892 buildCounterTargetVpnGatewaysScopedListWarning++; |
6370 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 6893 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
6371 o.code = "foo"; | 6894 o.code = "foo"; |
6372 o.data = buildUnnamed804(); | 6895 o.data = buildUnnamed2393(); |
6373 o.message = "foo"; | 6896 o.message = "foo"; |
6374 } | 6897 } |
6375 buildCounterTargetVpnGatewaysScopedListWarning--; | 6898 buildCounterTargetVpnGatewaysScopedListWarning--; |
6376 return o; | 6899 return o; |
6377 } | 6900 } |
6378 | 6901 |
6379 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { | 6902 checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
) { |
6380 buildCounterTargetVpnGatewaysScopedListWarning++; | 6903 buildCounterTargetVpnGatewaysScopedListWarning++; |
6381 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { | 6904 if (buildCounterTargetVpnGatewaysScopedListWarning < 3) { |
6382 unittest.expect(o.code, unittest.equals('foo')); | 6905 unittest.expect(o.code, unittest.equals('foo')); |
6383 checkUnnamed804(o.data); | 6906 checkUnnamed2393(o.data); |
6384 unittest.expect(o.message, unittest.equals('foo')); | 6907 unittest.expect(o.message, unittest.equals('foo')); |
6385 } | 6908 } |
6386 buildCounterTargetVpnGatewaysScopedListWarning--; | 6909 buildCounterTargetVpnGatewaysScopedListWarning--; |
6387 } | 6910 } |
6388 | 6911 |
6389 core.int buildCounterTargetVpnGatewaysScopedList = 0; | 6912 core.int buildCounterTargetVpnGatewaysScopedList = 0; |
6390 buildTargetVpnGatewaysScopedList() { | 6913 buildTargetVpnGatewaysScopedList() { |
6391 var o = new api.TargetVpnGatewaysScopedList(); | 6914 var o = new api.TargetVpnGatewaysScopedList(); |
6392 buildCounterTargetVpnGatewaysScopedList++; | 6915 buildCounterTargetVpnGatewaysScopedList++; |
6393 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 6916 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
6394 o.targetVpnGateways = buildUnnamed803(); | 6917 o.targetVpnGateways = buildUnnamed2392(); |
6395 o.warning = buildTargetVpnGatewaysScopedListWarning(); | 6918 o.warning = buildTargetVpnGatewaysScopedListWarning(); |
6396 } | 6919 } |
6397 buildCounterTargetVpnGatewaysScopedList--; | 6920 buildCounterTargetVpnGatewaysScopedList--; |
6398 return o; | 6921 return o; |
6399 } | 6922 } |
6400 | 6923 |
6401 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { | 6924 checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) { |
6402 buildCounterTargetVpnGatewaysScopedList++; | 6925 buildCounterTargetVpnGatewaysScopedList++; |
6403 if (buildCounterTargetVpnGatewaysScopedList < 3) { | 6926 if (buildCounterTargetVpnGatewaysScopedList < 3) { |
6404 checkUnnamed803(o.targetVpnGateways); | 6927 checkUnnamed2392(o.targetVpnGateways); |
6405 checkTargetVpnGatewaysScopedListWarning(o.warning); | 6928 checkTargetVpnGatewaysScopedListWarning(o.warning); |
6406 } | 6929 } |
6407 buildCounterTargetVpnGatewaysScopedList--; | 6930 buildCounterTargetVpnGatewaysScopedList--; |
6408 } | 6931 } |
6409 | 6932 |
6410 core.int buildCounterTestFailure = 0; | 6933 core.int buildCounterTestFailure = 0; |
6411 buildTestFailure() { | 6934 buildTestFailure() { |
6412 var o = new api.TestFailure(); | 6935 var o = new api.TestFailure(); |
6413 buildCounterTestFailure++; | 6936 buildCounterTestFailure++; |
6414 if (buildCounterTestFailure < 3) { | 6937 if (buildCounterTestFailure < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
6425 buildCounterTestFailure++; | 6948 buildCounterTestFailure++; |
6426 if (buildCounterTestFailure < 3) { | 6949 if (buildCounterTestFailure < 3) { |
6427 unittest.expect(o.actualService, unittest.equals('foo')); | 6950 unittest.expect(o.actualService, unittest.equals('foo')); |
6428 unittest.expect(o.expectedService, unittest.equals('foo')); | 6951 unittest.expect(o.expectedService, unittest.equals('foo')); |
6429 unittest.expect(o.host, unittest.equals('foo')); | 6952 unittest.expect(o.host, unittest.equals('foo')); |
6430 unittest.expect(o.path, unittest.equals('foo')); | 6953 unittest.expect(o.path, unittest.equals('foo')); |
6431 } | 6954 } |
6432 buildCounterTestFailure--; | 6955 buildCounterTestFailure--; |
6433 } | 6956 } |
6434 | 6957 |
6435 buildUnnamed805() { | 6958 buildUnnamed2394() { |
6436 var o = new core.List<api.HostRule>(); | 6959 var o = new core.List<api.HostRule>(); |
6437 o.add(buildHostRule()); | 6960 o.add(buildHostRule()); |
6438 o.add(buildHostRule()); | 6961 o.add(buildHostRule()); |
6439 return o; | 6962 return o; |
6440 } | 6963 } |
6441 | 6964 |
6442 checkUnnamed805(core.List<api.HostRule> o) { | 6965 checkUnnamed2394(core.List<api.HostRule> o) { |
6443 unittest.expect(o, unittest.hasLength(2)); | 6966 unittest.expect(o, unittest.hasLength(2)); |
6444 checkHostRule(o[0]); | 6967 checkHostRule(o[0]); |
6445 checkHostRule(o[1]); | 6968 checkHostRule(o[1]); |
6446 } | 6969 } |
6447 | 6970 |
6448 buildUnnamed806() { | 6971 buildUnnamed2395() { |
6449 var o = new core.List<api.PathMatcher>(); | 6972 var o = new core.List<api.PathMatcher>(); |
6450 o.add(buildPathMatcher()); | 6973 o.add(buildPathMatcher()); |
6451 o.add(buildPathMatcher()); | 6974 o.add(buildPathMatcher()); |
6452 return o; | 6975 return o; |
6453 } | 6976 } |
6454 | 6977 |
6455 checkUnnamed806(core.List<api.PathMatcher> o) { | 6978 checkUnnamed2395(core.List<api.PathMatcher> o) { |
6456 unittest.expect(o, unittest.hasLength(2)); | 6979 unittest.expect(o, unittest.hasLength(2)); |
6457 checkPathMatcher(o[0]); | 6980 checkPathMatcher(o[0]); |
6458 checkPathMatcher(o[1]); | 6981 checkPathMatcher(o[1]); |
6459 } | 6982 } |
6460 | 6983 |
6461 buildUnnamed807() { | 6984 buildUnnamed2396() { |
6462 var o = new core.List<api.UrlMapTest>(); | 6985 var o = new core.List<api.UrlMapTest>(); |
6463 o.add(buildUrlMapTest()); | 6986 o.add(buildUrlMapTest()); |
6464 o.add(buildUrlMapTest()); | 6987 o.add(buildUrlMapTest()); |
6465 return o; | 6988 return o; |
6466 } | 6989 } |
6467 | 6990 |
6468 checkUnnamed807(core.List<api.UrlMapTest> o) { | 6991 checkUnnamed2396(core.List<api.UrlMapTest> o) { |
6469 unittest.expect(o, unittest.hasLength(2)); | 6992 unittest.expect(o, unittest.hasLength(2)); |
6470 checkUrlMapTest(o[0]); | 6993 checkUrlMapTest(o[0]); |
6471 checkUrlMapTest(o[1]); | 6994 checkUrlMapTest(o[1]); |
6472 } | 6995 } |
6473 | 6996 |
6474 core.int buildCounterUrlMap = 0; | 6997 core.int buildCounterUrlMap = 0; |
6475 buildUrlMap() { | 6998 buildUrlMap() { |
6476 var o = new api.UrlMap(); | 6999 var o = new api.UrlMap(); |
6477 buildCounterUrlMap++; | 7000 buildCounterUrlMap++; |
6478 if (buildCounterUrlMap < 3) { | 7001 if (buildCounterUrlMap < 3) { |
6479 o.creationTimestamp = "foo"; | 7002 o.creationTimestamp = "foo"; |
6480 o.defaultService = "foo"; | 7003 o.defaultService = "foo"; |
6481 o.description = "foo"; | 7004 o.description = "foo"; |
6482 o.fingerprint = "foo"; | 7005 o.fingerprint = "foo"; |
6483 o.hostRules = buildUnnamed805(); | 7006 o.hostRules = buildUnnamed2394(); |
6484 o.id = "foo"; | 7007 o.id = "foo"; |
6485 o.kind = "foo"; | 7008 o.kind = "foo"; |
6486 o.name = "foo"; | 7009 o.name = "foo"; |
6487 o.pathMatchers = buildUnnamed806(); | 7010 o.pathMatchers = buildUnnamed2395(); |
6488 o.selfLink = "foo"; | 7011 o.selfLink = "foo"; |
6489 o.tests = buildUnnamed807(); | 7012 o.tests = buildUnnamed2396(); |
6490 } | 7013 } |
6491 buildCounterUrlMap--; | 7014 buildCounterUrlMap--; |
6492 return o; | 7015 return o; |
6493 } | 7016 } |
6494 | 7017 |
6495 checkUrlMap(api.UrlMap o) { | 7018 checkUrlMap(api.UrlMap o) { |
6496 buildCounterUrlMap++; | 7019 buildCounterUrlMap++; |
6497 if (buildCounterUrlMap < 3) { | 7020 if (buildCounterUrlMap < 3) { |
6498 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7021 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6499 unittest.expect(o.defaultService, unittest.equals('foo')); | 7022 unittest.expect(o.defaultService, unittest.equals('foo')); |
6500 unittest.expect(o.description, unittest.equals('foo')); | 7023 unittest.expect(o.description, unittest.equals('foo')); |
6501 unittest.expect(o.fingerprint, unittest.equals('foo')); | 7024 unittest.expect(o.fingerprint, unittest.equals('foo')); |
6502 checkUnnamed805(o.hostRules); | 7025 checkUnnamed2394(o.hostRules); |
6503 unittest.expect(o.id, unittest.equals('foo')); | 7026 unittest.expect(o.id, unittest.equals('foo')); |
6504 unittest.expect(o.kind, unittest.equals('foo')); | 7027 unittest.expect(o.kind, unittest.equals('foo')); |
6505 unittest.expect(o.name, unittest.equals('foo')); | 7028 unittest.expect(o.name, unittest.equals('foo')); |
6506 checkUnnamed806(o.pathMatchers); | 7029 checkUnnamed2395(o.pathMatchers); |
6507 unittest.expect(o.selfLink, unittest.equals('foo')); | 7030 unittest.expect(o.selfLink, unittest.equals('foo')); |
6508 checkUnnamed807(o.tests); | 7031 checkUnnamed2396(o.tests); |
6509 } | 7032 } |
6510 buildCounterUrlMap--; | 7033 buildCounterUrlMap--; |
6511 } | 7034 } |
6512 | 7035 |
6513 buildUnnamed808() { | 7036 buildUnnamed2397() { |
6514 var o = new core.List<api.UrlMap>(); | 7037 var o = new core.List<api.UrlMap>(); |
6515 o.add(buildUrlMap()); | 7038 o.add(buildUrlMap()); |
6516 o.add(buildUrlMap()); | 7039 o.add(buildUrlMap()); |
6517 return o; | 7040 return o; |
6518 } | 7041 } |
6519 | 7042 |
6520 checkUnnamed808(core.List<api.UrlMap> o) { | 7043 checkUnnamed2397(core.List<api.UrlMap> o) { |
6521 unittest.expect(o, unittest.hasLength(2)); | 7044 unittest.expect(o, unittest.hasLength(2)); |
6522 checkUrlMap(o[0]); | 7045 checkUrlMap(o[0]); |
6523 checkUrlMap(o[1]); | 7046 checkUrlMap(o[1]); |
6524 } | 7047 } |
6525 | 7048 |
6526 core.int buildCounterUrlMapList = 0; | 7049 core.int buildCounterUrlMapList = 0; |
6527 buildUrlMapList() { | 7050 buildUrlMapList() { |
6528 var o = new api.UrlMapList(); | 7051 var o = new api.UrlMapList(); |
6529 buildCounterUrlMapList++; | 7052 buildCounterUrlMapList++; |
6530 if (buildCounterUrlMapList < 3) { | 7053 if (buildCounterUrlMapList < 3) { |
6531 o.id = "foo"; | 7054 o.id = "foo"; |
6532 o.items = buildUnnamed808(); | 7055 o.items = buildUnnamed2397(); |
6533 o.kind = "foo"; | 7056 o.kind = "foo"; |
6534 o.nextPageToken = "foo"; | 7057 o.nextPageToken = "foo"; |
6535 o.selfLink = "foo"; | 7058 o.selfLink = "foo"; |
6536 } | 7059 } |
6537 buildCounterUrlMapList--; | 7060 buildCounterUrlMapList--; |
6538 return o; | 7061 return o; |
6539 } | 7062 } |
6540 | 7063 |
6541 checkUrlMapList(api.UrlMapList o) { | 7064 checkUrlMapList(api.UrlMapList o) { |
6542 buildCounterUrlMapList++; | 7065 buildCounterUrlMapList++; |
6543 if (buildCounterUrlMapList < 3) { | 7066 if (buildCounterUrlMapList < 3) { |
6544 unittest.expect(o.id, unittest.equals('foo')); | 7067 unittest.expect(o.id, unittest.equals('foo')); |
6545 checkUnnamed808(o.items); | 7068 checkUnnamed2397(o.items); |
6546 unittest.expect(o.kind, unittest.equals('foo')); | 7069 unittest.expect(o.kind, unittest.equals('foo')); |
6547 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7070 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6548 unittest.expect(o.selfLink, unittest.equals('foo')); | 7071 unittest.expect(o.selfLink, unittest.equals('foo')); |
6549 } | 7072 } |
6550 buildCounterUrlMapList--; | 7073 buildCounterUrlMapList--; |
6551 } | 7074 } |
6552 | 7075 |
6553 core.int buildCounterUrlMapReference = 0; | 7076 core.int buildCounterUrlMapReference = 0; |
6554 buildUrlMapReference() { | 7077 buildUrlMapReference() { |
6555 var o = new api.UrlMapReference(); | 7078 var o = new api.UrlMapReference(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6587 buildCounterUrlMapTest++; | 7110 buildCounterUrlMapTest++; |
6588 if (buildCounterUrlMapTest < 3) { | 7111 if (buildCounterUrlMapTest < 3) { |
6589 unittest.expect(o.description, unittest.equals('foo')); | 7112 unittest.expect(o.description, unittest.equals('foo')); |
6590 unittest.expect(o.host, unittest.equals('foo')); | 7113 unittest.expect(o.host, unittest.equals('foo')); |
6591 unittest.expect(o.path, unittest.equals('foo')); | 7114 unittest.expect(o.path, unittest.equals('foo')); |
6592 unittest.expect(o.service, unittest.equals('foo')); | 7115 unittest.expect(o.service, unittest.equals('foo')); |
6593 } | 7116 } |
6594 buildCounterUrlMapTest--; | 7117 buildCounterUrlMapTest--; |
6595 } | 7118 } |
6596 | 7119 |
6597 buildUnnamed809() { | 7120 buildUnnamed2398() { |
6598 var o = new core.List<core.String>(); | 7121 var o = new core.List<core.String>(); |
6599 o.add("foo"); | 7122 o.add("foo"); |
6600 o.add("foo"); | 7123 o.add("foo"); |
6601 return o; | 7124 return o; |
6602 } | 7125 } |
6603 | 7126 |
6604 checkUnnamed809(core.List<core.String> o) { | 7127 checkUnnamed2398(core.List<core.String> o) { |
6605 unittest.expect(o, unittest.hasLength(2)); | 7128 unittest.expect(o, unittest.hasLength(2)); |
6606 unittest.expect(o[0], unittest.equals('foo')); | 7129 unittest.expect(o[0], unittest.equals('foo')); |
6607 unittest.expect(o[1], unittest.equals('foo')); | 7130 unittest.expect(o[1], unittest.equals('foo')); |
6608 } | 7131 } |
6609 | 7132 |
6610 buildUnnamed810() { | 7133 buildUnnamed2399() { |
6611 var o = new core.List<api.TestFailure>(); | 7134 var o = new core.List<api.TestFailure>(); |
6612 o.add(buildTestFailure()); | 7135 o.add(buildTestFailure()); |
6613 o.add(buildTestFailure()); | 7136 o.add(buildTestFailure()); |
6614 return o; | 7137 return o; |
6615 } | 7138 } |
6616 | 7139 |
6617 checkUnnamed810(core.List<api.TestFailure> o) { | 7140 checkUnnamed2399(core.List<api.TestFailure> o) { |
6618 unittest.expect(o, unittest.hasLength(2)); | 7141 unittest.expect(o, unittest.hasLength(2)); |
6619 checkTestFailure(o[0]); | 7142 checkTestFailure(o[0]); |
6620 checkTestFailure(o[1]); | 7143 checkTestFailure(o[1]); |
6621 } | 7144 } |
6622 | 7145 |
6623 core.int buildCounterUrlMapValidationResult = 0; | 7146 core.int buildCounterUrlMapValidationResult = 0; |
6624 buildUrlMapValidationResult() { | 7147 buildUrlMapValidationResult() { |
6625 var o = new api.UrlMapValidationResult(); | 7148 var o = new api.UrlMapValidationResult(); |
6626 buildCounterUrlMapValidationResult++; | 7149 buildCounterUrlMapValidationResult++; |
6627 if (buildCounterUrlMapValidationResult < 3) { | 7150 if (buildCounterUrlMapValidationResult < 3) { |
6628 o.loadErrors = buildUnnamed809(); | 7151 o.loadErrors = buildUnnamed2398(); |
6629 o.loadSucceeded = true; | 7152 o.loadSucceeded = true; |
6630 o.testFailures = buildUnnamed810(); | 7153 o.testFailures = buildUnnamed2399(); |
6631 o.testPassed = true; | 7154 o.testPassed = true; |
6632 } | 7155 } |
6633 buildCounterUrlMapValidationResult--; | 7156 buildCounterUrlMapValidationResult--; |
6634 return o; | 7157 return o; |
6635 } | 7158 } |
6636 | 7159 |
6637 checkUrlMapValidationResult(api.UrlMapValidationResult o) { | 7160 checkUrlMapValidationResult(api.UrlMapValidationResult o) { |
6638 buildCounterUrlMapValidationResult++; | 7161 buildCounterUrlMapValidationResult++; |
6639 if (buildCounterUrlMapValidationResult < 3) { | 7162 if (buildCounterUrlMapValidationResult < 3) { |
6640 checkUnnamed809(o.loadErrors); | 7163 checkUnnamed2398(o.loadErrors); |
6641 unittest.expect(o.loadSucceeded, unittest.isTrue); | 7164 unittest.expect(o.loadSucceeded, unittest.isTrue); |
6642 checkUnnamed810(o.testFailures); | 7165 checkUnnamed2399(o.testFailures); |
6643 unittest.expect(o.testPassed, unittest.isTrue); | 7166 unittest.expect(o.testPassed, unittest.isTrue); |
6644 } | 7167 } |
6645 buildCounterUrlMapValidationResult--; | 7168 buildCounterUrlMapValidationResult--; |
6646 } | 7169 } |
6647 | 7170 |
6648 core.int buildCounterUrlMapsValidateRequest = 0; | 7171 core.int buildCounterUrlMapsValidateRequest = 0; |
6649 buildUrlMapsValidateRequest() { | 7172 buildUrlMapsValidateRequest() { |
6650 var o = new api.UrlMapsValidateRequest(); | 7173 var o = new api.UrlMapsValidateRequest(); |
6651 buildCounterUrlMapsValidateRequest++; | 7174 buildCounterUrlMapsValidateRequest++; |
6652 if (buildCounterUrlMapsValidateRequest < 3) { | 7175 if (buildCounterUrlMapsValidateRequest < 3) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6697 | 7220 |
6698 checkUsageExportLocation(api.UsageExportLocation o) { | 7221 checkUsageExportLocation(api.UsageExportLocation o) { |
6699 buildCounterUsageExportLocation++; | 7222 buildCounterUsageExportLocation++; |
6700 if (buildCounterUsageExportLocation < 3) { | 7223 if (buildCounterUsageExportLocation < 3) { |
6701 unittest.expect(o.bucketName, unittest.equals('foo')); | 7224 unittest.expect(o.bucketName, unittest.equals('foo')); |
6702 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); | 7225 unittest.expect(o.reportNamePrefix, unittest.equals('foo')); |
6703 } | 7226 } |
6704 buildCounterUsageExportLocation--; | 7227 buildCounterUsageExportLocation--; |
6705 } | 7228 } |
6706 | 7229 |
6707 buildUnnamed811() { | 7230 buildUnnamed2400() { |
6708 var o = new core.List<core.String>(); | 7231 var o = new core.List<core.String>(); |
6709 o.add("foo"); | 7232 o.add("foo"); |
6710 o.add("foo"); | 7233 o.add("foo"); |
6711 return o; | 7234 return o; |
6712 } | 7235 } |
6713 | 7236 |
6714 checkUnnamed811(core.List<core.String> o) { | 7237 checkUnnamed2400(core.List<core.String> o) { |
6715 unittest.expect(o, unittest.hasLength(2)); | 7238 unittest.expect(o, unittest.hasLength(2)); |
6716 unittest.expect(o[0], unittest.equals('foo')); | 7239 unittest.expect(o[0], unittest.equals('foo')); |
6717 unittest.expect(o[1], unittest.equals('foo')); | 7240 unittest.expect(o[1], unittest.equals('foo')); |
| 7241 } |
| 7242 |
| 7243 buildUnnamed2401() { |
| 7244 var o = new core.List<core.String>(); |
| 7245 o.add("foo"); |
| 7246 o.add("foo"); |
| 7247 return o; |
| 7248 } |
| 7249 |
| 7250 checkUnnamed2401(core.List<core.String> o) { |
| 7251 unittest.expect(o, unittest.hasLength(2)); |
| 7252 unittest.expect(o[0], unittest.equals('foo')); |
| 7253 unittest.expect(o[1], unittest.equals('foo')); |
6718 } | 7254 } |
6719 | 7255 |
6720 core.int buildCounterVpnTunnel = 0; | 7256 core.int buildCounterVpnTunnel = 0; |
6721 buildVpnTunnel() { | 7257 buildVpnTunnel() { |
6722 var o = new api.VpnTunnel(); | 7258 var o = new api.VpnTunnel(); |
6723 buildCounterVpnTunnel++; | 7259 buildCounterVpnTunnel++; |
6724 if (buildCounterVpnTunnel < 3) { | 7260 if (buildCounterVpnTunnel < 3) { |
6725 o.creationTimestamp = "foo"; | 7261 o.creationTimestamp = "foo"; |
6726 o.description = "foo"; | 7262 o.description = "foo"; |
6727 o.detailedStatus = "foo"; | 7263 o.detailedStatus = "foo"; |
6728 o.id = "foo"; | 7264 o.id = "foo"; |
6729 o.ikeVersion = 42; | 7265 o.ikeVersion = 42; |
6730 o.kind = "foo"; | 7266 o.kind = "foo"; |
6731 o.localTrafficSelector = buildUnnamed811(); | 7267 o.localTrafficSelector = buildUnnamed2400(); |
6732 o.name = "foo"; | 7268 o.name = "foo"; |
6733 o.peerIp = "foo"; | 7269 o.peerIp = "foo"; |
6734 o.region = "foo"; | 7270 o.region = "foo"; |
| 7271 o.remoteTrafficSelector = buildUnnamed2401(); |
| 7272 o.router = "foo"; |
6735 o.selfLink = "foo"; | 7273 o.selfLink = "foo"; |
6736 o.sharedSecret = "foo"; | 7274 o.sharedSecret = "foo"; |
6737 o.sharedSecretHash = "foo"; | 7275 o.sharedSecretHash = "foo"; |
6738 o.status = "foo"; | 7276 o.status = "foo"; |
6739 o.targetVpnGateway = "foo"; | 7277 o.targetVpnGateway = "foo"; |
6740 } | 7278 } |
6741 buildCounterVpnTunnel--; | 7279 buildCounterVpnTunnel--; |
6742 return o; | 7280 return o; |
6743 } | 7281 } |
6744 | 7282 |
6745 checkVpnTunnel(api.VpnTunnel o) { | 7283 checkVpnTunnel(api.VpnTunnel o) { |
6746 buildCounterVpnTunnel++; | 7284 buildCounterVpnTunnel++; |
6747 if (buildCounterVpnTunnel < 3) { | 7285 if (buildCounterVpnTunnel < 3) { |
6748 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 7286 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
6749 unittest.expect(o.description, unittest.equals('foo')); | 7287 unittest.expect(o.description, unittest.equals('foo')); |
6750 unittest.expect(o.detailedStatus, unittest.equals('foo')); | 7288 unittest.expect(o.detailedStatus, unittest.equals('foo')); |
6751 unittest.expect(o.id, unittest.equals('foo')); | 7289 unittest.expect(o.id, unittest.equals('foo')); |
6752 unittest.expect(o.ikeVersion, unittest.equals(42)); | 7290 unittest.expect(o.ikeVersion, unittest.equals(42)); |
6753 unittest.expect(o.kind, unittest.equals('foo')); | 7291 unittest.expect(o.kind, unittest.equals('foo')); |
6754 checkUnnamed811(o.localTrafficSelector); | 7292 checkUnnamed2400(o.localTrafficSelector); |
6755 unittest.expect(o.name, unittest.equals('foo')); | 7293 unittest.expect(o.name, unittest.equals('foo')); |
6756 unittest.expect(o.peerIp, unittest.equals('foo')); | 7294 unittest.expect(o.peerIp, unittest.equals('foo')); |
6757 unittest.expect(o.region, unittest.equals('foo')); | 7295 unittest.expect(o.region, unittest.equals('foo')); |
| 7296 checkUnnamed2401(o.remoteTrafficSelector); |
| 7297 unittest.expect(o.router, unittest.equals('foo')); |
6758 unittest.expect(o.selfLink, unittest.equals('foo')); | 7298 unittest.expect(o.selfLink, unittest.equals('foo')); |
6759 unittest.expect(o.sharedSecret, unittest.equals('foo')); | 7299 unittest.expect(o.sharedSecret, unittest.equals('foo')); |
6760 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); | 7300 unittest.expect(o.sharedSecretHash, unittest.equals('foo')); |
6761 unittest.expect(o.status, unittest.equals('foo')); | 7301 unittest.expect(o.status, unittest.equals('foo')); |
6762 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); | 7302 unittest.expect(o.targetVpnGateway, unittest.equals('foo')); |
6763 } | 7303 } |
6764 buildCounterVpnTunnel--; | 7304 buildCounterVpnTunnel--; |
6765 } | 7305 } |
6766 | 7306 |
6767 buildUnnamed812() { | 7307 buildUnnamed2402() { |
6768 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); | 7308 var o = new core.Map<core.String, api.VpnTunnelsScopedList>(); |
6769 o["x"] = buildVpnTunnelsScopedList(); | 7309 o["x"] = buildVpnTunnelsScopedList(); |
6770 o["y"] = buildVpnTunnelsScopedList(); | 7310 o["y"] = buildVpnTunnelsScopedList(); |
6771 return o; | 7311 return o; |
6772 } | 7312 } |
6773 | 7313 |
6774 checkUnnamed812(core.Map<core.String, api.VpnTunnelsScopedList> o) { | 7314 checkUnnamed2402(core.Map<core.String, api.VpnTunnelsScopedList> o) { |
6775 unittest.expect(o, unittest.hasLength(2)); | 7315 unittest.expect(o, unittest.hasLength(2)); |
6776 checkVpnTunnelsScopedList(o["x"]); | 7316 checkVpnTunnelsScopedList(o["x"]); |
6777 checkVpnTunnelsScopedList(o["y"]); | 7317 checkVpnTunnelsScopedList(o["y"]); |
6778 } | 7318 } |
6779 | 7319 |
6780 core.int buildCounterVpnTunnelAggregatedList = 0; | 7320 core.int buildCounterVpnTunnelAggregatedList = 0; |
6781 buildVpnTunnelAggregatedList() { | 7321 buildVpnTunnelAggregatedList() { |
6782 var o = new api.VpnTunnelAggregatedList(); | 7322 var o = new api.VpnTunnelAggregatedList(); |
6783 buildCounterVpnTunnelAggregatedList++; | 7323 buildCounterVpnTunnelAggregatedList++; |
6784 if (buildCounterVpnTunnelAggregatedList < 3) { | 7324 if (buildCounterVpnTunnelAggregatedList < 3) { |
6785 o.id = "foo"; | 7325 o.id = "foo"; |
6786 o.items = buildUnnamed812(); | 7326 o.items = buildUnnamed2402(); |
6787 o.kind = "foo"; | 7327 o.kind = "foo"; |
6788 o.nextPageToken = "foo"; | 7328 o.nextPageToken = "foo"; |
6789 o.selfLink = "foo"; | 7329 o.selfLink = "foo"; |
6790 } | 7330 } |
6791 buildCounterVpnTunnelAggregatedList--; | 7331 buildCounterVpnTunnelAggregatedList--; |
6792 return o; | 7332 return o; |
6793 } | 7333 } |
6794 | 7334 |
6795 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { | 7335 checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) { |
6796 buildCounterVpnTunnelAggregatedList++; | 7336 buildCounterVpnTunnelAggregatedList++; |
6797 if (buildCounterVpnTunnelAggregatedList < 3) { | 7337 if (buildCounterVpnTunnelAggregatedList < 3) { |
6798 unittest.expect(o.id, unittest.equals('foo')); | 7338 unittest.expect(o.id, unittest.equals('foo')); |
6799 checkUnnamed812(o.items); | 7339 checkUnnamed2402(o.items); |
6800 unittest.expect(o.kind, unittest.equals('foo')); | 7340 unittest.expect(o.kind, unittest.equals('foo')); |
6801 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7341 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6802 unittest.expect(o.selfLink, unittest.equals('foo')); | 7342 unittest.expect(o.selfLink, unittest.equals('foo')); |
6803 } | 7343 } |
6804 buildCounterVpnTunnelAggregatedList--; | 7344 buildCounterVpnTunnelAggregatedList--; |
6805 } | 7345 } |
6806 | 7346 |
6807 buildUnnamed813() { | 7347 buildUnnamed2403() { |
6808 var o = new core.List<api.VpnTunnel>(); | 7348 var o = new core.List<api.VpnTunnel>(); |
6809 o.add(buildVpnTunnel()); | 7349 o.add(buildVpnTunnel()); |
6810 o.add(buildVpnTunnel()); | 7350 o.add(buildVpnTunnel()); |
6811 return o; | 7351 return o; |
6812 } | 7352 } |
6813 | 7353 |
6814 checkUnnamed813(core.List<api.VpnTunnel> o) { | 7354 checkUnnamed2403(core.List<api.VpnTunnel> o) { |
6815 unittest.expect(o, unittest.hasLength(2)); | 7355 unittest.expect(o, unittest.hasLength(2)); |
6816 checkVpnTunnel(o[0]); | 7356 checkVpnTunnel(o[0]); |
6817 checkVpnTunnel(o[1]); | 7357 checkVpnTunnel(o[1]); |
6818 } | 7358 } |
6819 | 7359 |
6820 core.int buildCounterVpnTunnelList = 0; | 7360 core.int buildCounterVpnTunnelList = 0; |
6821 buildVpnTunnelList() { | 7361 buildVpnTunnelList() { |
6822 var o = new api.VpnTunnelList(); | 7362 var o = new api.VpnTunnelList(); |
6823 buildCounterVpnTunnelList++; | 7363 buildCounterVpnTunnelList++; |
6824 if (buildCounterVpnTunnelList < 3) { | 7364 if (buildCounterVpnTunnelList < 3) { |
6825 o.id = "foo"; | 7365 o.id = "foo"; |
6826 o.items = buildUnnamed813(); | 7366 o.items = buildUnnamed2403(); |
6827 o.kind = "foo"; | 7367 o.kind = "foo"; |
6828 o.nextPageToken = "foo"; | 7368 o.nextPageToken = "foo"; |
6829 o.selfLink = "foo"; | 7369 o.selfLink = "foo"; |
6830 } | 7370 } |
6831 buildCounterVpnTunnelList--; | 7371 buildCounterVpnTunnelList--; |
6832 return o; | 7372 return o; |
6833 } | 7373 } |
6834 | 7374 |
6835 checkVpnTunnelList(api.VpnTunnelList o) { | 7375 checkVpnTunnelList(api.VpnTunnelList o) { |
6836 buildCounterVpnTunnelList++; | 7376 buildCounterVpnTunnelList++; |
6837 if (buildCounterVpnTunnelList < 3) { | 7377 if (buildCounterVpnTunnelList < 3) { |
6838 unittest.expect(o.id, unittest.equals('foo')); | 7378 unittest.expect(o.id, unittest.equals('foo')); |
6839 checkUnnamed813(o.items); | 7379 checkUnnamed2403(o.items); |
6840 unittest.expect(o.kind, unittest.equals('foo')); | 7380 unittest.expect(o.kind, unittest.equals('foo')); |
6841 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7381 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6842 unittest.expect(o.selfLink, unittest.equals('foo')); | 7382 unittest.expect(o.selfLink, unittest.equals('foo')); |
6843 } | 7383 } |
6844 buildCounterVpnTunnelList--; | 7384 buildCounterVpnTunnelList--; |
6845 } | 7385 } |
6846 | 7386 |
6847 buildUnnamed814() { | 7387 buildUnnamed2404() { |
6848 var o = new core.List<api.VpnTunnel>(); | 7388 var o = new core.List<api.VpnTunnel>(); |
6849 o.add(buildVpnTunnel()); | 7389 o.add(buildVpnTunnel()); |
6850 o.add(buildVpnTunnel()); | 7390 o.add(buildVpnTunnel()); |
6851 return o; | 7391 return o; |
6852 } | 7392 } |
6853 | 7393 |
6854 checkUnnamed814(core.List<api.VpnTunnel> o) { | 7394 checkUnnamed2404(core.List<api.VpnTunnel> o) { |
6855 unittest.expect(o, unittest.hasLength(2)); | 7395 unittest.expect(o, unittest.hasLength(2)); |
6856 checkVpnTunnel(o[0]); | 7396 checkVpnTunnel(o[0]); |
6857 checkVpnTunnel(o[1]); | 7397 checkVpnTunnel(o[1]); |
6858 } | 7398 } |
6859 | 7399 |
6860 core.int buildCounterVpnTunnelsScopedListWarningData = 0; | 7400 core.int buildCounterVpnTunnelsScopedListWarningData = 0; |
6861 buildVpnTunnelsScopedListWarningData() { | 7401 buildVpnTunnelsScopedListWarningData() { |
6862 var o = new api.VpnTunnelsScopedListWarningData(); | 7402 var o = new api.VpnTunnelsScopedListWarningData(); |
6863 buildCounterVpnTunnelsScopedListWarningData++; | 7403 buildCounterVpnTunnelsScopedListWarningData++; |
6864 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 7404 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
6865 o.key = "foo"; | 7405 o.key = "foo"; |
6866 o.value = "foo"; | 7406 o.value = "foo"; |
6867 } | 7407 } |
6868 buildCounterVpnTunnelsScopedListWarningData--; | 7408 buildCounterVpnTunnelsScopedListWarningData--; |
6869 return o; | 7409 return o; |
6870 } | 7410 } |
6871 | 7411 |
6872 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { | 7412 checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) { |
6873 buildCounterVpnTunnelsScopedListWarningData++; | 7413 buildCounterVpnTunnelsScopedListWarningData++; |
6874 if (buildCounterVpnTunnelsScopedListWarningData < 3) { | 7414 if (buildCounterVpnTunnelsScopedListWarningData < 3) { |
6875 unittest.expect(o.key, unittest.equals('foo')); | 7415 unittest.expect(o.key, unittest.equals('foo')); |
6876 unittest.expect(o.value, unittest.equals('foo')); | 7416 unittest.expect(o.value, unittest.equals('foo')); |
6877 } | 7417 } |
6878 buildCounterVpnTunnelsScopedListWarningData--; | 7418 buildCounterVpnTunnelsScopedListWarningData--; |
6879 } | 7419 } |
6880 | 7420 |
6881 buildUnnamed815() { | 7421 buildUnnamed2405() { |
6882 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); | 7422 var o = new core.List<api.VpnTunnelsScopedListWarningData>(); |
6883 o.add(buildVpnTunnelsScopedListWarningData()); | 7423 o.add(buildVpnTunnelsScopedListWarningData()); |
6884 o.add(buildVpnTunnelsScopedListWarningData()); | 7424 o.add(buildVpnTunnelsScopedListWarningData()); |
6885 return o; | 7425 return o; |
6886 } | 7426 } |
6887 | 7427 |
6888 checkUnnamed815(core.List<api.VpnTunnelsScopedListWarningData> o) { | 7428 checkUnnamed2405(core.List<api.VpnTunnelsScopedListWarningData> o) { |
6889 unittest.expect(o, unittest.hasLength(2)); | 7429 unittest.expect(o, unittest.hasLength(2)); |
6890 checkVpnTunnelsScopedListWarningData(o[0]); | 7430 checkVpnTunnelsScopedListWarningData(o[0]); |
6891 checkVpnTunnelsScopedListWarningData(o[1]); | 7431 checkVpnTunnelsScopedListWarningData(o[1]); |
6892 } | 7432 } |
6893 | 7433 |
6894 core.int buildCounterVpnTunnelsScopedListWarning = 0; | 7434 core.int buildCounterVpnTunnelsScopedListWarning = 0; |
6895 buildVpnTunnelsScopedListWarning() { | 7435 buildVpnTunnelsScopedListWarning() { |
6896 var o = new api.VpnTunnelsScopedListWarning(); | 7436 var o = new api.VpnTunnelsScopedListWarning(); |
6897 buildCounterVpnTunnelsScopedListWarning++; | 7437 buildCounterVpnTunnelsScopedListWarning++; |
6898 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 7438 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
6899 o.code = "foo"; | 7439 o.code = "foo"; |
6900 o.data = buildUnnamed815(); | 7440 o.data = buildUnnamed2405(); |
6901 o.message = "foo"; | 7441 o.message = "foo"; |
6902 } | 7442 } |
6903 buildCounterVpnTunnelsScopedListWarning--; | 7443 buildCounterVpnTunnelsScopedListWarning--; |
6904 return o; | 7444 return o; |
6905 } | 7445 } |
6906 | 7446 |
6907 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { | 7447 checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) { |
6908 buildCounterVpnTunnelsScopedListWarning++; | 7448 buildCounterVpnTunnelsScopedListWarning++; |
6909 if (buildCounterVpnTunnelsScopedListWarning < 3) { | 7449 if (buildCounterVpnTunnelsScopedListWarning < 3) { |
6910 unittest.expect(o.code, unittest.equals('foo')); | 7450 unittest.expect(o.code, unittest.equals('foo')); |
6911 checkUnnamed815(o.data); | 7451 checkUnnamed2405(o.data); |
6912 unittest.expect(o.message, unittest.equals('foo')); | 7452 unittest.expect(o.message, unittest.equals('foo')); |
6913 } | 7453 } |
6914 buildCounterVpnTunnelsScopedListWarning--; | 7454 buildCounterVpnTunnelsScopedListWarning--; |
6915 } | 7455 } |
6916 | 7456 |
6917 core.int buildCounterVpnTunnelsScopedList = 0; | 7457 core.int buildCounterVpnTunnelsScopedList = 0; |
6918 buildVpnTunnelsScopedList() { | 7458 buildVpnTunnelsScopedList() { |
6919 var o = new api.VpnTunnelsScopedList(); | 7459 var o = new api.VpnTunnelsScopedList(); |
6920 buildCounterVpnTunnelsScopedList++; | 7460 buildCounterVpnTunnelsScopedList++; |
6921 if (buildCounterVpnTunnelsScopedList < 3) { | 7461 if (buildCounterVpnTunnelsScopedList < 3) { |
6922 o.vpnTunnels = buildUnnamed814(); | 7462 o.vpnTunnels = buildUnnamed2404(); |
6923 o.warning = buildVpnTunnelsScopedListWarning(); | 7463 o.warning = buildVpnTunnelsScopedListWarning(); |
6924 } | 7464 } |
6925 buildCounterVpnTunnelsScopedList--; | 7465 buildCounterVpnTunnelsScopedList--; |
6926 return o; | 7466 return o; |
6927 } | 7467 } |
6928 | 7468 |
6929 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { | 7469 checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) { |
6930 buildCounterVpnTunnelsScopedList++; | 7470 buildCounterVpnTunnelsScopedList++; |
6931 if (buildCounterVpnTunnelsScopedList < 3) { | 7471 if (buildCounterVpnTunnelsScopedList < 3) { |
6932 checkUnnamed814(o.vpnTunnels); | 7472 checkUnnamed2404(o.vpnTunnels); |
6933 checkVpnTunnelsScopedListWarning(o.warning); | 7473 checkVpnTunnelsScopedListWarning(o.warning); |
6934 } | 7474 } |
6935 buildCounterVpnTunnelsScopedList--; | 7475 buildCounterVpnTunnelsScopedList--; |
6936 } | 7476 } |
6937 | 7477 |
6938 core.int buildCounterZone = 0; | 7478 core.int buildCounterZone = 0; |
6939 buildZone() { | 7479 buildZone() { |
6940 var o = new api.Zone(); | 7480 var o = new api.Zone(); |
6941 buildCounterZone++; | 7481 buildCounterZone++; |
6942 if (buildCounterZone < 3) { | 7482 if (buildCounterZone < 3) { |
(...skipping 20 matching lines...) Expand all Loading... |
6963 unittest.expect(o.id, unittest.equals('foo')); | 7503 unittest.expect(o.id, unittest.equals('foo')); |
6964 unittest.expect(o.kind, unittest.equals('foo')); | 7504 unittest.expect(o.kind, unittest.equals('foo')); |
6965 unittest.expect(o.name, unittest.equals('foo')); | 7505 unittest.expect(o.name, unittest.equals('foo')); |
6966 unittest.expect(o.region, unittest.equals('foo')); | 7506 unittest.expect(o.region, unittest.equals('foo')); |
6967 unittest.expect(o.selfLink, unittest.equals('foo')); | 7507 unittest.expect(o.selfLink, unittest.equals('foo')); |
6968 unittest.expect(o.status, unittest.equals('foo')); | 7508 unittest.expect(o.status, unittest.equals('foo')); |
6969 } | 7509 } |
6970 buildCounterZone--; | 7510 buildCounterZone--; |
6971 } | 7511 } |
6972 | 7512 |
6973 buildUnnamed816() { | 7513 buildUnnamed2406() { |
6974 var o = new core.List<api.Zone>(); | 7514 var o = new core.List<api.Zone>(); |
6975 o.add(buildZone()); | 7515 o.add(buildZone()); |
6976 o.add(buildZone()); | 7516 o.add(buildZone()); |
6977 return o; | 7517 return o; |
6978 } | 7518 } |
6979 | 7519 |
6980 checkUnnamed816(core.List<api.Zone> o) { | 7520 checkUnnamed2406(core.List<api.Zone> o) { |
6981 unittest.expect(o, unittest.hasLength(2)); | 7521 unittest.expect(o, unittest.hasLength(2)); |
6982 checkZone(o[0]); | 7522 checkZone(o[0]); |
6983 checkZone(o[1]); | 7523 checkZone(o[1]); |
6984 } | 7524 } |
6985 | 7525 |
6986 core.int buildCounterZoneList = 0; | 7526 core.int buildCounterZoneList = 0; |
6987 buildZoneList() { | 7527 buildZoneList() { |
6988 var o = new api.ZoneList(); | 7528 var o = new api.ZoneList(); |
6989 buildCounterZoneList++; | 7529 buildCounterZoneList++; |
6990 if (buildCounterZoneList < 3) { | 7530 if (buildCounterZoneList < 3) { |
6991 o.id = "foo"; | 7531 o.id = "foo"; |
6992 o.items = buildUnnamed816(); | 7532 o.items = buildUnnamed2406(); |
6993 o.kind = "foo"; | 7533 o.kind = "foo"; |
6994 o.nextPageToken = "foo"; | 7534 o.nextPageToken = "foo"; |
6995 o.selfLink = "foo"; | 7535 o.selfLink = "foo"; |
6996 } | 7536 } |
6997 buildCounterZoneList--; | 7537 buildCounterZoneList--; |
6998 return o; | 7538 return o; |
6999 } | 7539 } |
7000 | 7540 |
7001 checkZoneList(api.ZoneList o) { | 7541 checkZoneList(api.ZoneList o) { |
7002 buildCounterZoneList++; | 7542 buildCounterZoneList++; |
7003 if (buildCounterZoneList < 3) { | 7543 if (buildCounterZoneList < 3) { |
7004 unittest.expect(o.id, unittest.equals('foo')); | 7544 unittest.expect(o.id, unittest.equals('foo')); |
7005 checkUnnamed816(o.items); | 7545 checkUnnamed2406(o.items); |
7006 unittest.expect(o.kind, unittest.equals('foo')); | 7546 unittest.expect(o.kind, unittest.equals('foo')); |
7007 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7547 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7008 unittest.expect(o.selfLink, unittest.equals('foo')); | 7548 unittest.expect(o.selfLink, unittest.equals('foo')); |
7009 } | 7549 } |
7010 buildCounterZoneList--; | 7550 buildCounterZoneList--; |
7011 } | 7551 } |
7012 | 7552 |
7013 | 7553 |
7014 main() { | 7554 main() { |
7015 unittest.group("obj-schema-AccessConfig", () { | 7555 unittest.group("obj-schema-AccessConfig", () { |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7212 | 7752 |
7213 unittest.group("obj-schema-BackendServiceList", () { | 7753 unittest.group("obj-schema-BackendServiceList", () { |
7214 unittest.test("to-json--from-json", () { | 7754 unittest.test("to-json--from-json", () { |
7215 var o = buildBackendServiceList(); | 7755 var o = buildBackendServiceList(); |
7216 var od = new api.BackendServiceList.fromJson(o.toJson()); | 7756 var od = new api.BackendServiceList.fromJson(o.toJson()); |
7217 checkBackendServiceList(od); | 7757 checkBackendServiceList(od); |
7218 }); | 7758 }); |
7219 }); | 7759 }); |
7220 | 7760 |
7221 | 7761 |
| 7762 unittest.group("obj-schema-CustomerEncryptionKey", () { |
| 7763 unittest.test("to-json--from-json", () { |
| 7764 var o = buildCustomerEncryptionKey(); |
| 7765 var od = new api.CustomerEncryptionKey.fromJson(o.toJson()); |
| 7766 checkCustomerEncryptionKey(od); |
| 7767 }); |
| 7768 }); |
| 7769 |
| 7770 |
| 7771 unittest.group("obj-schema-CustomerEncryptionKeyProtectedDisk", () { |
| 7772 unittest.test("to-json--from-json", () { |
| 7773 var o = buildCustomerEncryptionKeyProtectedDisk(); |
| 7774 var od = new api.CustomerEncryptionKeyProtectedDisk.fromJson(o.toJson()); |
| 7775 checkCustomerEncryptionKeyProtectedDisk(od); |
| 7776 }); |
| 7777 }); |
| 7778 |
| 7779 |
7222 unittest.group("obj-schema-DeprecationStatus", () { | 7780 unittest.group("obj-schema-DeprecationStatus", () { |
7223 unittest.test("to-json--from-json", () { | 7781 unittest.test("to-json--from-json", () { |
7224 var o = buildDeprecationStatus(); | 7782 var o = buildDeprecationStatus(); |
7225 var od = new api.DeprecationStatus.fromJson(o.toJson()); | 7783 var od = new api.DeprecationStatus.fromJson(o.toJson()); |
7226 checkDeprecationStatus(od); | 7784 checkDeprecationStatus(od); |
7227 }); | 7785 }); |
7228 }); | 7786 }); |
7229 | 7787 |
7230 | 7788 |
7231 unittest.group("obj-schema-Disk", () { | 7789 unittest.group("obj-schema-Disk", () { |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7851 | 8409 |
7852 unittest.group("obj-schema-InstancesSetMachineTypeRequest", () { | 8410 unittest.group("obj-schema-InstancesSetMachineTypeRequest", () { |
7853 unittest.test("to-json--from-json", () { | 8411 unittest.test("to-json--from-json", () { |
7854 var o = buildInstancesSetMachineTypeRequest(); | 8412 var o = buildInstancesSetMachineTypeRequest(); |
7855 var od = new api.InstancesSetMachineTypeRequest.fromJson(o.toJson()); | 8413 var od = new api.InstancesSetMachineTypeRequest.fromJson(o.toJson()); |
7856 checkInstancesSetMachineTypeRequest(od); | 8414 checkInstancesSetMachineTypeRequest(od); |
7857 }); | 8415 }); |
7858 }); | 8416 }); |
7859 | 8417 |
7860 | 8418 |
| 8419 unittest.group("obj-schema-InstancesStartWithEncryptionKeyRequest", () { |
| 8420 unittest.test("to-json--from-json", () { |
| 8421 var o = buildInstancesStartWithEncryptionKeyRequest(); |
| 8422 var od = new api.InstancesStartWithEncryptionKeyRequest.fromJson(o.toJson(
)); |
| 8423 checkInstancesStartWithEncryptionKeyRequest(od); |
| 8424 }); |
| 8425 }); |
| 8426 |
| 8427 |
7861 unittest.group("obj-schema-License", () { | 8428 unittest.group("obj-schema-License", () { |
7862 unittest.test("to-json--from-json", () { | 8429 unittest.test("to-json--from-json", () { |
7863 var o = buildLicense(); | 8430 var o = buildLicense(); |
7864 var od = new api.License.fromJson(o.toJson()); | 8431 var od = new api.License.fromJson(o.toJson()); |
7865 checkLicense(od); | 8432 checkLicense(od); |
7866 }); | 8433 }); |
7867 }); | 8434 }); |
7868 | 8435 |
7869 | 8436 |
7870 unittest.group("obj-schema-MachineTypeScratchDisks", () { | 8437 unittest.group("obj-schema-MachineTypeScratchDisks", () { |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8202 | 8769 |
8203 unittest.group("obj-schema-RouteList", () { | 8770 unittest.group("obj-schema-RouteList", () { |
8204 unittest.test("to-json--from-json", () { | 8771 unittest.test("to-json--from-json", () { |
8205 var o = buildRouteList(); | 8772 var o = buildRouteList(); |
8206 var od = new api.RouteList.fromJson(o.toJson()); | 8773 var od = new api.RouteList.fromJson(o.toJson()); |
8207 checkRouteList(od); | 8774 checkRouteList(od); |
8208 }); | 8775 }); |
8209 }); | 8776 }); |
8210 | 8777 |
8211 | 8778 |
| 8779 unittest.group("obj-schema-Router", () { |
| 8780 unittest.test("to-json--from-json", () { |
| 8781 var o = buildRouter(); |
| 8782 var od = new api.Router.fromJson(o.toJson()); |
| 8783 checkRouter(od); |
| 8784 }); |
| 8785 }); |
| 8786 |
| 8787 |
| 8788 unittest.group("obj-schema-RouterAggregatedList", () { |
| 8789 unittest.test("to-json--from-json", () { |
| 8790 var o = buildRouterAggregatedList(); |
| 8791 var od = new api.RouterAggregatedList.fromJson(o.toJson()); |
| 8792 checkRouterAggregatedList(od); |
| 8793 }); |
| 8794 }); |
| 8795 |
| 8796 |
| 8797 unittest.group("obj-schema-RouterBgp", () { |
| 8798 unittest.test("to-json--from-json", () { |
| 8799 var o = buildRouterBgp(); |
| 8800 var od = new api.RouterBgp.fromJson(o.toJson()); |
| 8801 checkRouterBgp(od); |
| 8802 }); |
| 8803 }); |
| 8804 |
| 8805 |
| 8806 unittest.group("obj-schema-RouterBgpPeer", () { |
| 8807 unittest.test("to-json--from-json", () { |
| 8808 var o = buildRouterBgpPeer(); |
| 8809 var od = new api.RouterBgpPeer.fromJson(o.toJson()); |
| 8810 checkRouterBgpPeer(od); |
| 8811 }); |
| 8812 }); |
| 8813 |
| 8814 |
| 8815 unittest.group("obj-schema-RouterInterface", () { |
| 8816 unittest.test("to-json--from-json", () { |
| 8817 var o = buildRouterInterface(); |
| 8818 var od = new api.RouterInterface.fromJson(o.toJson()); |
| 8819 checkRouterInterface(od); |
| 8820 }); |
| 8821 }); |
| 8822 |
| 8823 |
| 8824 unittest.group("obj-schema-RouterList", () { |
| 8825 unittest.test("to-json--from-json", () { |
| 8826 var o = buildRouterList(); |
| 8827 var od = new api.RouterList.fromJson(o.toJson()); |
| 8828 checkRouterList(od); |
| 8829 }); |
| 8830 }); |
| 8831 |
| 8832 |
| 8833 unittest.group("obj-schema-RouterStatus", () { |
| 8834 unittest.test("to-json--from-json", () { |
| 8835 var o = buildRouterStatus(); |
| 8836 var od = new api.RouterStatus.fromJson(o.toJson()); |
| 8837 checkRouterStatus(od); |
| 8838 }); |
| 8839 }); |
| 8840 |
| 8841 |
| 8842 unittest.group("obj-schema-RouterStatusBgpPeerStatus", () { |
| 8843 unittest.test("to-json--from-json", () { |
| 8844 var o = buildRouterStatusBgpPeerStatus(); |
| 8845 var od = new api.RouterStatusBgpPeerStatus.fromJson(o.toJson()); |
| 8846 checkRouterStatusBgpPeerStatus(od); |
| 8847 }); |
| 8848 }); |
| 8849 |
| 8850 |
| 8851 unittest.group("obj-schema-RouterStatusResponse", () { |
| 8852 unittest.test("to-json--from-json", () { |
| 8853 var o = buildRouterStatusResponse(); |
| 8854 var od = new api.RouterStatusResponse.fromJson(o.toJson()); |
| 8855 checkRouterStatusResponse(od); |
| 8856 }); |
| 8857 }); |
| 8858 |
| 8859 |
| 8860 unittest.group("obj-schema-RoutersScopedListWarningData", () { |
| 8861 unittest.test("to-json--from-json", () { |
| 8862 var o = buildRoutersScopedListWarningData(); |
| 8863 var od = new api.RoutersScopedListWarningData.fromJson(o.toJson()); |
| 8864 checkRoutersScopedListWarningData(od); |
| 8865 }); |
| 8866 }); |
| 8867 |
| 8868 |
| 8869 unittest.group("obj-schema-RoutersScopedListWarning", () { |
| 8870 unittest.test("to-json--from-json", () { |
| 8871 var o = buildRoutersScopedListWarning(); |
| 8872 var od = new api.RoutersScopedListWarning.fromJson(o.toJson()); |
| 8873 checkRoutersScopedListWarning(od); |
| 8874 }); |
| 8875 }); |
| 8876 |
| 8877 |
| 8878 unittest.group("obj-schema-RoutersScopedList", () { |
| 8879 unittest.test("to-json--from-json", () { |
| 8880 var o = buildRoutersScopedList(); |
| 8881 var od = new api.RoutersScopedList.fromJson(o.toJson()); |
| 8882 checkRoutersScopedList(od); |
| 8883 }); |
| 8884 }); |
| 8885 |
| 8886 |
8212 unittest.group("obj-schema-Scheduling", () { | 8887 unittest.group("obj-schema-Scheduling", () { |
8213 unittest.test("to-json--from-json", () { | 8888 unittest.test("to-json--from-json", () { |
8214 var o = buildScheduling(); | 8889 var o = buildScheduling(); |
8215 var od = new api.Scheduling.fromJson(o.toJson()); | 8890 var od = new api.Scheduling.fromJson(o.toJson()); |
8216 checkScheduling(od); | 8891 checkScheduling(od); |
8217 }); | 8892 }); |
8218 }); | 8893 }); |
8219 | 8894 |
8220 | 8895 |
8221 unittest.group("obj-schema-SerialPortOutput", () { | 8896 unittest.group("obj-schema-SerialPortOutput", () { |
(...skipping 5868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14090 "content-type" : "application/json; charset=utf-8", | 14765 "content-type" : "application/json; charset=utf-8", |
14091 }; | 14766 }; |
14092 var resp = convert.JSON.encode(buildOperation()); | 14767 var resp = convert.JSON.encode(buildOperation()); |
14093 return new async.Future.value(stringResponse(200, h, resp)); | 14768 return new async.Future.value(stringResponse(200, h, resp)); |
14094 }), true); | 14769 }), true); |
14095 res.start(arg_project, arg_zone, arg_instance).then(unittest.expectAsync((
(api.Operation response) { | 14770 res.start(arg_project, arg_zone, arg_instance).then(unittest.expectAsync((
(api.Operation response) { |
14096 checkOperation(response); | 14771 checkOperation(response); |
14097 }))); | 14772 }))); |
14098 }); | 14773 }); |
14099 | 14774 |
| 14775 unittest.test("method--startWithEncryptionKey", () { |
| 14776 |
| 14777 var mock = new HttpServerMock(); |
| 14778 api.InstancesResourceApi res = new api.ComputeApi(mock).instances; |
| 14779 var arg_request = buildInstancesStartWithEncryptionKeyRequest(); |
| 14780 var arg_project = "foo"; |
| 14781 var arg_zone = "foo"; |
| 14782 var arg_instance = "foo"; |
| 14783 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 14784 var obj = new api.InstancesStartWithEncryptionKeyRequest.fromJson(json); |
| 14785 checkInstancesStartWithEncryptionKeyRequest(obj); |
| 14786 |
| 14787 var path = (req.url).path; |
| 14788 var pathOffset = 0; |
| 14789 var index; |
| 14790 var subPart; |
| 14791 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 14792 pathOffset += 1; |
| 14793 |
| 14794 var query = (req.url).query; |
| 14795 var queryOffset = 0; |
| 14796 var queryMap = {}; |
| 14797 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 14798 parseBool(n) { |
| 14799 if (n == "true") return true; |
| 14800 if (n == "false") return false; |
| 14801 if (n == null) return null; |
| 14802 throw new core.ArgumentError("Invalid boolean: $n"); |
| 14803 } |
| 14804 if (query.length > 0) { |
| 14805 for (var part in query.split("&")) { |
| 14806 var keyvalue = part.split("="); |
| 14807 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 14808 } |
| 14809 } |
| 14810 |
| 14811 |
| 14812 var h = { |
| 14813 "content-type" : "application/json; charset=utf-8", |
| 14814 }; |
| 14815 var resp = convert.JSON.encode(buildOperation()); |
| 14816 return new async.Future.value(stringResponse(200, h, resp)); |
| 14817 }), true); |
| 14818 res.startWithEncryptionKey(arg_request, arg_project, arg_zone, arg_instanc
e).then(unittest.expectAsync(((api.Operation response) { |
| 14819 checkOperation(response); |
| 14820 }))); |
| 14821 }); |
| 14822 |
14100 unittest.test("method--stop", () { | 14823 unittest.test("method--stop", () { |
14101 | 14824 |
14102 var mock = new HttpServerMock(); | 14825 var mock = new HttpServerMock(); |
14103 api.InstancesResourceApi res = new api.ComputeApi(mock).instances; | 14826 api.InstancesResourceApi res = new api.ComputeApi(mock).instances; |
14104 var arg_project = "foo"; | 14827 var arg_project = "foo"; |
14105 var arg_zone = "foo"; | 14828 var arg_zone = "foo"; |
14106 var arg_instance = "foo"; | 14829 var arg_instance = "foo"; |
14107 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14830 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14108 var path = (req.url).path; | 14831 var path = (req.url).path; |
14109 var pathOffset = 0; | 14832 var pathOffset = 0; |
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14977 return new async.Future.value(stringResponse(200, h, resp)); | 15700 return new async.Future.value(stringResponse(200, h, resp)); |
14978 }), true); | 15701 }), true); |
14979 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.RegionList response) { | 15702 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.RegionList response) { |
14980 checkRegionList(response); | 15703 checkRegionList(response); |
14981 }))); | 15704 }))); |
14982 }); | 15705 }); |
14983 | 15706 |
14984 }); | 15707 }); |
14985 | 15708 |
14986 | 15709 |
| 15710 unittest.group("resource-RoutersResourceApi", () { |
| 15711 unittest.test("method--aggregatedList", () { |
| 15712 |
| 15713 var mock = new HttpServerMock(); |
| 15714 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 15715 var arg_project = "foo"; |
| 15716 var arg_filter = "foo"; |
| 15717 var arg_maxResults = 42; |
| 15718 var arg_pageToken = "foo"; |
| 15719 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15720 var path = (req.url).path; |
| 15721 var pathOffset = 0; |
| 15722 var index; |
| 15723 var subPart; |
| 15724 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15725 pathOffset += 1; |
| 15726 |
| 15727 var query = (req.url).query; |
| 15728 var queryOffset = 0; |
| 15729 var queryMap = {}; |
| 15730 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 15731 parseBool(n) { |
| 15732 if (n == "true") return true; |
| 15733 if (n == "false") return false; |
| 15734 if (n == null) return null; |
| 15735 throw new core.ArgumentError("Invalid boolean: $n"); |
| 15736 } |
| 15737 if (query.length > 0) { |
| 15738 for (var part in query.split("&")) { |
| 15739 var keyvalue = part.split("="); |
| 15740 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 15741 } |
| 15742 } |
| 15743 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 15744 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 15745 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 15746 |
| 15747 |
| 15748 var h = { |
| 15749 "content-type" : "application/json; charset=utf-8", |
| 15750 }; |
| 15751 var resp = convert.JSON.encode(buildRouterAggregatedList()); |
| 15752 return new async.Future.value(stringResponse(200, h, resp)); |
| 15753 }), true); |
| 15754 res.aggregatedList(arg_project, filter: arg_filter, maxResults: arg_maxRes
ults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.RouterAggregated
List response) { |
| 15755 checkRouterAggregatedList(response); |
| 15756 }))); |
| 15757 }); |
| 15758 |
| 15759 unittest.test("method--delete", () { |
| 15760 |
| 15761 var mock = new HttpServerMock(); |
| 15762 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 15763 var arg_project = "foo"; |
| 15764 var arg_region = "foo"; |
| 15765 var arg_router = "foo"; |
| 15766 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15767 var path = (req.url).path; |
| 15768 var pathOffset = 0; |
| 15769 var index; |
| 15770 var subPart; |
| 15771 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15772 pathOffset += 1; |
| 15773 |
| 15774 var query = (req.url).query; |
| 15775 var queryOffset = 0; |
| 15776 var queryMap = {}; |
| 15777 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 15778 parseBool(n) { |
| 15779 if (n == "true") return true; |
| 15780 if (n == "false") return false; |
| 15781 if (n == null) return null; |
| 15782 throw new core.ArgumentError("Invalid boolean: $n"); |
| 15783 } |
| 15784 if (query.length > 0) { |
| 15785 for (var part in query.split("&")) { |
| 15786 var keyvalue = part.split("="); |
| 15787 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 15788 } |
| 15789 } |
| 15790 |
| 15791 |
| 15792 var h = { |
| 15793 "content-type" : "application/json; charset=utf-8", |
| 15794 }; |
| 15795 var resp = convert.JSON.encode(buildOperation()); |
| 15796 return new async.Future.value(stringResponse(200, h, resp)); |
| 15797 }), true); |
| 15798 res.delete(arg_project, arg_region, arg_router).then(unittest.expectAsync(
((api.Operation response) { |
| 15799 checkOperation(response); |
| 15800 }))); |
| 15801 }); |
| 15802 |
| 15803 unittest.test("method--get", () { |
| 15804 |
| 15805 var mock = new HttpServerMock(); |
| 15806 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 15807 var arg_project = "foo"; |
| 15808 var arg_region = "foo"; |
| 15809 var arg_router = "foo"; |
| 15810 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15811 var path = (req.url).path; |
| 15812 var pathOffset = 0; |
| 15813 var index; |
| 15814 var subPart; |
| 15815 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15816 pathOffset += 1; |
| 15817 |
| 15818 var query = (req.url).query; |
| 15819 var queryOffset = 0; |
| 15820 var queryMap = {}; |
| 15821 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 15822 parseBool(n) { |
| 15823 if (n == "true") return true; |
| 15824 if (n == "false") return false; |
| 15825 if (n == null) return null; |
| 15826 throw new core.ArgumentError("Invalid boolean: $n"); |
| 15827 } |
| 15828 if (query.length > 0) { |
| 15829 for (var part in query.split("&")) { |
| 15830 var keyvalue = part.split("="); |
| 15831 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 15832 } |
| 15833 } |
| 15834 |
| 15835 |
| 15836 var h = { |
| 15837 "content-type" : "application/json; charset=utf-8", |
| 15838 }; |
| 15839 var resp = convert.JSON.encode(buildRouter()); |
| 15840 return new async.Future.value(stringResponse(200, h, resp)); |
| 15841 }), true); |
| 15842 res.get(arg_project, arg_region, arg_router).then(unittest.expectAsync(((a
pi.Router response) { |
| 15843 checkRouter(response); |
| 15844 }))); |
| 15845 }); |
| 15846 |
| 15847 unittest.test("method--getRouterStatus", () { |
| 15848 |
| 15849 var mock = new HttpServerMock(); |
| 15850 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 15851 var arg_project = "foo"; |
| 15852 var arg_region = "foo"; |
| 15853 var arg_router = "foo"; |
| 15854 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15855 var path = (req.url).path; |
| 15856 var pathOffset = 0; |
| 15857 var index; |
| 15858 var subPart; |
| 15859 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15860 pathOffset += 1; |
| 15861 |
| 15862 var query = (req.url).query; |
| 15863 var queryOffset = 0; |
| 15864 var queryMap = {}; |
| 15865 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 15866 parseBool(n) { |
| 15867 if (n == "true") return true; |
| 15868 if (n == "false") return false; |
| 15869 if (n == null) return null; |
| 15870 throw new core.ArgumentError("Invalid boolean: $n"); |
| 15871 } |
| 15872 if (query.length > 0) { |
| 15873 for (var part in query.split("&")) { |
| 15874 var keyvalue = part.split("="); |
| 15875 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 15876 } |
| 15877 } |
| 15878 |
| 15879 |
| 15880 var h = { |
| 15881 "content-type" : "application/json; charset=utf-8", |
| 15882 }; |
| 15883 var resp = convert.JSON.encode(buildRouterStatusResponse()); |
| 15884 return new async.Future.value(stringResponse(200, h, resp)); |
| 15885 }), true); |
| 15886 res.getRouterStatus(arg_project, arg_region, arg_router).then(unittest.exp
ectAsync(((api.RouterStatusResponse response) { |
| 15887 checkRouterStatusResponse(response); |
| 15888 }))); |
| 15889 }); |
| 15890 |
| 15891 unittest.test("method--insert", () { |
| 15892 |
| 15893 var mock = new HttpServerMock(); |
| 15894 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 15895 var arg_request = buildRouter(); |
| 15896 var arg_project = "foo"; |
| 15897 var arg_region = "foo"; |
| 15898 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15899 var obj = new api.Router.fromJson(json); |
| 15900 checkRouter(obj); |
| 15901 |
| 15902 var path = (req.url).path; |
| 15903 var pathOffset = 0; |
| 15904 var index; |
| 15905 var subPart; |
| 15906 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15907 pathOffset += 1; |
| 15908 |
| 15909 var query = (req.url).query; |
| 15910 var queryOffset = 0; |
| 15911 var queryMap = {}; |
| 15912 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 15913 parseBool(n) { |
| 15914 if (n == "true") return true; |
| 15915 if (n == "false") return false; |
| 15916 if (n == null) return null; |
| 15917 throw new core.ArgumentError("Invalid boolean: $n"); |
| 15918 } |
| 15919 if (query.length > 0) { |
| 15920 for (var part in query.split("&")) { |
| 15921 var keyvalue = part.split("="); |
| 15922 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 15923 } |
| 15924 } |
| 15925 |
| 15926 |
| 15927 var h = { |
| 15928 "content-type" : "application/json; charset=utf-8", |
| 15929 }; |
| 15930 var resp = convert.JSON.encode(buildOperation()); |
| 15931 return new async.Future.value(stringResponse(200, h, resp)); |
| 15932 }), true); |
| 15933 res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync
(((api.Operation response) { |
| 15934 checkOperation(response); |
| 15935 }))); |
| 15936 }); |
| 15937 |
| 15938 unittest.test("method--list", () { |
| 15939 |
| 15940 var mock = new HttpServerMock(); |
| 15941 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 15942 var arg_project = "foo"; |
| 15943 var arg_region = "foo"; |
| 15944 var arg_filter = "foo"; |
| 15945 var arg_maxResults = 42; |
| 15946 var arg_pageToken = "foo"; |
| 15947 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15948 var path = (req.url).path; |
| 15949 var pathOffset = 0; |
| 15950 var index; |
| 15951 var subPart; |
| 15952 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 15953 pathOffset += 1; |
| 15954 |
| 15955 var query = (req.url).query; |
| 15956 var queryOffset = 0; |
| 15957 var queryMap = {}; |
| 15958 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 15959 parseBool(n) { |
| 15960 if (n == "true") return true; |
| 15961 if (n == "false") return false; |
| 15962 if (n == null) return null; |
| 15963 throw new core.ArgumentError("Invalid boolean: $n"); |
| 15964 } |
| 15965 if (query.length > 0) { |
| 15966 for (var part in query.split("&")) { |
| 15967 var keyvalue = part.split("="); |
| 15968 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 15969 } |
| 15970 } |
| 15971 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 15972 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 15973 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 15974 |
| 15975 |
| 15976 var h = { |
| 15977 "content-type" : "application/json; charset=utf-8", |
| 15978 }; |
| 15979 var resp = convert.JSON.encode(buildRouterList()); |
| 15980 return new async.Future.value(stringResponse(200, h, resp)); |
| 15981 }), true); |
| 15982 res.list(arg_project, arg_region, filter: arg_filter, maxResults: arg_maxR
esults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.RouterList res
ponse) { |
| 15983 checkRouterList(response); |
| 15984 }))); |
| 15985 }); |
| 15986 |
| 15987 unittest.test("method--patch", () { |
| 15988 |
| 15989 var mock = new HttpServerMock(); |
| 15990 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 15991 var arg_request = buildRouter(); |
| 15992 var arg_project = "foo"; |
| 15993 var arg_region = "foo"; |
| 15994 var arg_router = "foo"; |
| 15995 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 15996 var obj = new api.Router.fromJson(json); |
| 15997 checkRouter(obj); |
| 15998 |
| 15999 var path = (req.url).path; |
| 16000 var pathOffset = 0; |
| 16001 var index; |
| 16002 var subPart; |
| 16003 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16004 pathOffset += 1; |
| 16005 |
| 16006 var query = (req.url).query; |
| 16007 var queryOffset = 0; |
| 16008 var queryMap = {}; |
| 16009 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 16010 parseBool(n) { |
| 16011 if (n == "true") return true; |
| 16012 if (n == "false") return false; |
| 16013 if (n == null) return null; |
| 16014 throw new core.ArgumentError("Invalid boolean: $n"); |
| 16015 } |
| 16016 if (query.length > 0) { |
| 16017 for (var part in query.split("&")) { |
| 16018 var keyvalue = part.split("="); |
| 16019 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 16020 } |
| 16021 } |
| 16022 |
| 16023 |
| 16024 var h = { |
| 16025 "content-type" : "application/json; charset=utf-8", |
| 16026 }; |
| 16027 var resp = convert.JSON.encode(buildOperation()); |
| 16028 return new async.Future.value(stringResponse(200, h, resp)); |
| 16029 }), true); |
| 16030 res.patch(arg_request, arg_project, arg_region, arg_router).then(unittest.
expectAsync(((api.Operation response) { |
| 16031 checkOperation(response); |
| 16032 }))); |
| 16033 }); |
| 16034 |
| 16035 unittest.test("method--update", () { |
| 16036 |
| 16037 var mock = new HttpServerMock(); |
| 16038 api.RoutersResourceApi res = new api.ComputeApi(mock).routers; |
| 16039 var arg_request = buildRouter(); |
| 16040 var arg_project = "foo"; |
| 16041 var arg_region = "foo"; |
| 16042 var arg_router = "foo"; |
| 16043 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 16044 var obj = new api.Router.fromJson(json); |
| 16045 checkRouter(obj); |
| 16046 |
| 16047 var path = (req.url).path; |
| 16048 var pathOffset = 0; |
| 16049 var index; |
| 16050 var subPart; |
| 16051 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 16052 pathOffset += 1; |
| 16053 |
| 16054 var query = (req.url).query; |
| 16055 var queryOffset = 0; |
| 16056 var queryMap = {}; |
| 16057 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 16058 parseBool(n) { |
| 16059 if (n == "true") return true; |
| 16060 if (n == "false") return false; |
| 16061 if (n == null) return null; |
| 16062 throw new core.ArgumentError("Invalid boolean: $n"); |
| 16063 } |
| 16064 if (query.length > 0) { |
| 16065 for (var part in query.split("&")) { |
| 16066 var keyvalue = part.split("="); |
| 16067 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 16068 } |
| 16069 } |
| 16070 |
| 16071 |
| 16072 var h = { |
| 16073 "content-type" : "application/json; charset=utf-8", |
| 16074 }; |
| 16075 var resp = convert.JSON.encode(buildOperation()); |
| 16076 return new async.Future.value(stringResponse(200, h, resp)); |
| 16077 }), true); |
| 16078 res.update(arg_request, arg_project, arg_region, arg_router).then(unittest
.expectAsync(((api.Operation response) { |
| 16079 checkOperation(response); |
| 16080 }))); |
| 16081 }); |
| 16082 |
| 16083 }); |
| 16084 |
| 16085 |
14987 unittest.group("resource-RoutesResourceApi", () { | 16086 unittest.group("resource-RoutesResourceApi", () { |
14988 unittest.test("method--delete", () { | 16087 unittest.test("method--delete", () { |
14989 | 16088 |
14990 var mock = new HttpServerMock(); | 16089 var mock = new HttpServerMock(); |
14991 api.RoutesResourceApi res = new api.ComputeApi(mock).routes; | 16090 api.RoutesResourceApi res = new api.ComputeApi(mock).routes; |
14992 var arg_project = "foo"; | 16091 var arg_project = "foo"; |
14993 var arg_route = "foo"; | 16092 var arg_route = "foo"; |
14994 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16093 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14995 var path = (req.url).path; | 16094 var path = (req.url).path; |
14996 var pathOffset = 0; | 16095 var pathOffset = 0; |
(...skipping 3026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18023 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ZoneList response) { | 19122 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.ZoneList response) { |
18024 checkZoneList(response); | 19123 checkZoneList(response); |
18025 }))); | 19124 }))); |
18026 }); | 19125 }); |
18027 | 19126 |
18028 }); | 19127 }); |
18029 | 19128 |
18030 | 19129 |
18031 } | 19130 } |
18032 | 19131 |
OLD | NEW |