Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: generated/googleapis/test/servicemanagement/v1_test.dart

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.servicemanagement.v1.test; 1 library googleapis.servicemanagement.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:test/test.dart' as unittest; 10 import 'package:test/test.dart' as unittest;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 checkAdvice(api.Advice o) { 65 checkAdvice(api.Advice o) {
66 buildCounterAdvice++; 66 buildCounterAdvice++;
67 if (buildCounterAdvice < 3) { 67 if (buildCounterAdvice < 3) {
68 unittest.expect(o.description, unittest.equals('foo')); 68 unittest.expect(o.description, unittest.equals('foo'));
69 } 69 }
70 buildCounterAdvice--; 70 buildCounterAdvice--;
71 } 71 }
72 72
73 buildUnnamed1065() { 73 buildUnnamed1149() {
74 var o = new core.List<api.Method>(); 74 var o = new core.List<api.Method>();
75 o.add(buildMethod()); 75 o.add(buildMethod());
76 o.add(buildMethod()); 76 o.add(buildMethod());
77 return o; 77 return o;
78 } 78 }
79 79
80 checkUnnamed1065(core.List<api.Method> o) { 80 checkUnnamed1149(core.List<api.Method> o) {
81 unittest.expect(o, unittest.hasLength(2)); 81 unittest.expect(o, unittest.hasLength(2));
82 checkMethod(o[0]); 82 checkMethod(o[0]);
83 checkMethod(o[1]); 83 checkMethod(o[1]);
84 } 84 }
85 85
86 buildUnnamed1066() { 86 buildUnnamed1150() {
87 var o = new core.List<api.Mixin>(); 87 var o = new core.List<api.Mixin>();
88 o.add(buildMixin()); 88 o.add(buildMixin());
89 o.add(buildMixin()); 89 o.add(buildMixin());
90 return o; 90 return o;
91 } 91 }
92 92
93 checkUnnamed1066(core.List<api.Mixin> o) { 93 checkUnnamed1150(core.List<api.Mixin> o) {
94 unittest.expect(o, unittest.hasLength(2)); 94 unittest.expect(o, unittest.hasLength(2));
95 checkMixin(o[0]); 95 checkMixin(o[0]);
96 checkMixin(o[1]); 96 checkMixin(o[1]);
97 } 97 }
98 98
99 buildUnnamed1067() { 99 buildUnnamed1151() {
100 var o = new core.List<api.Option>(); 100 var o = new core.List<api.Option>();
101 o.add(buildOption()); 101 o.add(buildOption());
102 o.add(buildOption()); 102 o.add(buildOption());
103 return o; 103 return o;
104 } 104 }
105 105
106 checkUnnamed1067(core.List<api.Option> o) { 106 checkUnnamed1151(core.List<api.Option> o) {
107 unittest.expect(o, unittest.hasLength(2)); 107 unittest.expect(o, unittest.hasLength(2));
108 checkOption(o[0]); 108 checkOption(o[0]);
109 checkOption(o[1]); 109 checkOption(o[1]);
110 } 110 }
111 111
112 core.int buildCounterApi = 0; 112 core.int buildCounterApi = 0;
113 buildApi() { 113 buildApi() {
114 var o = new api.Api(); 114 var o = new api.Api();
115 buildCounterApi++; 115 buildCounterApi++;
116 if (buildCounterApi < 3) { 116 if (buildCounterApi < 3) {
117 o.methods = buildUnnamed1065(); 117 o.methods = buildUnnamed1149();
118 o.mixins = buildUnnamed1066(); 118 o.mixins = buildUnnamed1150();
119 o.name = "foo"; 119 o.name = "foo";
120 o.options = buildUnnamed1067(); 120 o.options = buildUnnamed1151();
121 o.sourceContext = buildSourceContext(); 121 o.sourceContext = buildSourceContext();
122 o.syntax = "foo"; 122 o.syntax = "foo";
123 o.version = "foo"; 123 o.version = "foo";
124 } 124 }
125 buildCounterApi--; 125 buildCounterApi--;
126 return o; 126 return o;
127 } 127 }
128 128
129 checkApi(api.Api o) { 129 checkApi(api.Api o) {
130 buildCounterApi++; 130 buildCounterApi++;
131 if (buildCounterApi < 3) { 131 if (buildCounterApi < 3) {
132 checkUnnamed1065(o.methods); 132 checkUnnamed1149(o.methods);
133 checkUnnamed1066(o.mixins); 133 checkUnnamed1150(o.mixins);
134 unittest.expect(o.name, unittest.equals('foo')); 134 unittest.expect(o.name, unittest.equals('foo'));
135 checkUnnamed1067(o.options); 135 checkUnnamed1151(o.options);
136 checkSourceContext(o.sourceContext); 136 checkSourceContext(o.sourceContext);
137 unittest.expect(o.syntax, unittest.equals('foo')); 137 unittest.expect(o.syntax, unittest.equals('foo'));
138 unittest.expect(o.version, unittest.equals('foo')); 138 unittest.expect(o.version, unittest.equals('foo'));
139 } 139 }
140 buildCounterApi--; 140 buildCounterApi--;
141 } 141 }
142 142
143 buildUnnamed1068() { 143 buildUnnamed1152() {
144 var o = new core.List<api.AuditLogConfig>(); 144 var o = new core.List<api.AuditLogConfig>();
145 o.add(buildAuditLogConfig()); 145 o.add(buildAuditLogConfig());
146 o.add(buildAuditLogConfig()); 146 o.add(buildAuditLogConfig());
147 return o; 147 return o;
148 } 148 }
149 149
150 checkUnnamed1068(core.List<api.AuditLogConfig> o) { 150 checkUnnamed1152(core.List<api.AuditLogConfig> o) {
151 unittest.expect(o, unittest.hasLength(2)); 151 unittest.expect(o, unittest.hasLength(2));
152 checkAuditLogConfig(o[0]); 152 checkAuditLogConfig(o[0]);
153 checkAuditLogConfig(o[1]); 153 checkAuditLogConfig(o[1]);
154 } 154 }
155 155
156 buildUnnamed1069() { 156 buildUnnamed1153() {
157 var o = new core.List<core.String>(); 157 var o = new core.List<core.String>();
158 o.add("foo"); 158 o.add("foo");
159 o.add("foo"); 159 o.add("foo");
160 return o; 160 return o;
161 } 161 }
162 162
163 checkUnnamed1069(core.List<core.String> o) { 163 checkUnnamed1153(core.List<core.String> o) {
164 unittest.expect(o, unittest.hasLength(2)); 164 unittest.expect(o, unittest.hasLength(2));
165 unittest.expect(o[0], unittest.equals('foo')); 165 unittest.expect(o[0], unittest.equals('foo'));
166 unittest.expect(o[1], unittest.equals('foo')); 166 unittest.expect(o[1], unittest.equals('foo'));
167 } 167 }
168 168
169 core.int buildCounterAuditConfig = 0; 169 core.int buildCounterAuditConfig = 0;
170 buildAuditConfig() { 170 buildAuditConfig() {
171 var o = new api.AuditConfig(); 171 var o = new api.AuditConfig();
172 buildCounterAuditConfig++; 172 buildCounterAuditConfig++;
173 if (buildCounterAuditConfig < 3) { 173 if (buildCounterAuditConfig < 3) {
174 o.auditLogConfigs = buildUnnamed1068(); 174 o.auditLogConfigs = buildUnnamed1152();
175 o.exemptedMembers = buildUnnamed1069(); 175 o.exemptedMembers = buildUnnamed1153();
176 o.service = "foo"; 176 o.service = "foo";
177 } 177 }
178 buildCounterAuditConfig--; 178 buildCounterAuditConfig--;
179 return o; 179 return o;
180 } 180 }
181 181
182 checkAuditConfig(api.AuditConfig o) { 182 checkAuditConfig(api.AuditConfig o) {
183 buildCounterAuditConfig++; 183 buildCounterAuditConfig++;
184 if (buildCounterAuditConfig < 3) { 184 if (buildCounterAuditConfig < 3) {
185 checkUnnamed1068(o.auditLogConfigs); 185 checkUnnamed1152(o.auditLogConfigs);
186 checkUnnamed1069(o.exemptedMembers); 186 checkUnnamed1153(o.exemptedMembers);
187 unittest.expect(o.service, unittest.equals('foo')); 187 unittest.expect(o.service, unittest.equals('foo'));
188 } 188 }
189 buildCounterAuditConfig--; 189 buildCounterAuditConfig--;
190 } 190 }
191 191
192 buildUnnamed1070() { 192 buildUnnamed1154() {
193 var o = new core.List<core.String>(); 193 var o = new core.List<core.String>();
194 o.add("foo"); 194 o.add("foo");
195 o.add("foo"); 195 o.add("foo");
196 return o; 196 return o;
197 } 197 }
198 198
199 checkUnnamed1070(core.List<core.String> o) { 199 checkUnnamed1154(core.List<core.String> o) {
200 unittest.expect(o, unittest.hasLength(2)); 200 unittest.expect(o, unittest.hasLength(2));
201 unittest.expect(o[0], unittest.equals('foo')); 201 unittest.expect(o[0], unittest.equals('foo'));
202 unittest.expect(o[1], unittest.equals('foo')); 202 unittest.expect(o[1], unittest.equals('foo'));
203 } 203 }
204 204
205 core.int buildCounterAuditLogConfig = 0; 205 core.int buildCounterAuditLogConfig = 0;
206 buildAuditLogConfig() { 206 buildAuditLogConfig() {
207 var o = new api.AuditLogConfig(); 207 var o = new api.AuditLogConfig();
208 buildCounterAuditLogConfig++; 208 buildCounterAuditLogConfig++;
209 if (buildCounterAuditLogConfig < 3) { 209 if (buildCounterAuditLogConfig < 3) {
210 o.exemptedMembers = buildUnnamed1070(); 210 o.exemptedMembers = buildUnnamed1154();
211 o.logType = "foo"; 211 o.logType = "foo";
212 } 212 }
213 buildCounterAuditLogConfig--; 213 buildCounterAuditLogConfig--;
214 return o; 214 return o;
215 } 215 }
216 216
217 checkAuditLogConfig(api.AuditLogConfig o) { 217 checkAuditLogConfig(api.AuditLogConfig o) {
218 buildCounterAuditLogConfig++; 218 buildCounterAuditLogConfig++;
219 if (buildCounterAuditLogConfig < 3) { 219 if (buildCounterAuditLogConfig < 3) {
220 checkUnnamed1070(o.exemptedMembers); 220 checkUnnamed1154(o.exemptedMembers);
221 unittest.expect(o.logType, unittest.equals('foo')); 221 unittest.expect(o.logType, unittest.equals('foo'));
222 } 222 }
223 buildCounterAuditLogConfig--; 223 buildCounterAuditLogConfig--;
224 } 224 }
225 225
226 core.int buildCounterAuthProvider = 0; 226 core.int buildCounterAuthProvider = 0;
227 buildAuthProvider() { 227 buildAuthProvider() {
228 var o = new api.AuthProvider(); 228 var o = new api.AuthProvider();
229 buildCounterAuthProvider++; 229 buildCounterAuthProvider++;
230 if (buildCounterAuthProvider < 3) { 230 if (buildCounterAuthProvider < 3) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 checkAuthRequirement(api.AuthRequirement o) { 263 checkAuthRequirement(api.AuthRequirement o) {
264 buildCounterAuthRequirement++; 264 buildCounterAuthRequirement++;
265 if (buildCounterAuthRequirement < 3) { 265 if (buildCounterAuthRequirement < 3) {
266 unittest.expect(o.audiences, unittest.equals('foo')); 266 unittest.expect(o.audiences, unittest.equals('foo'));
267 unittest.expect(o.providerId, unittest.equals('foo')); 267 unittest.expect(o.providerId, unittest.equals('foo'));
268 } 268 }
269 buildCounterAuthRequirement--; 269 buildCounterAuthRequirement--;
270 } 270 }
271 271
272 buildUnnamed1071() { 272 buildUnnamed1155() {
273 var o = new core.List<api.AuthProvider>(); 273 var o = new core.List<api.AuthProvider>();
274 o.add(buildAuthProvider()); 274 o.add(buildAuthProvider());
275 o.add(buildAuthProvider()); 275 o.add(buildAuthProvider());
276 return o; 276 return o;
277 } 277 }
278 278
279 checkUnnamed1071(core.List<api.AuthProvider> o) { 279 checkUnnamed1155(core.List<api.AuthProvider> o) {
280 unittest.expect(o, unittest.hasLength(2)); 280 unittest.expect(o, unittest.hasLength(2));
281 checkAuthProvider(o[0]); 281 checkAuthProvider(o[0]);
282 checkAuthProvider(o[1]); 282 checkAuthProvider(o[1]);
283 } 283 }
284 284
285 buildUnnamed1072() { 285 buildUnnamed1156() {
286 var o = new core.List<api.AuthenticationRule>(); 286 var o = new core.List<api.AuthenticationRule>();
287 o.add(buildAuthenticationRule()); 287 o.add(buildAuthenticationRule());
288 o.add(buildAuthenticationRule()); 288 o.add(buildAuthenticationRule());
289 return o; 289 return o;
290 } 290 }
291 291
292 checkUnnamed1072(core.List<api.AuthenticationRule> o) { 292 checkUnnamed1156(core.List<api.AuthenticationRule> o) {
293 unittest.expect(o, unittest.hasLength(2)); 293 unittest.expect(o, unittest.hasLength(2));
294 checkAuthenticationRule(o[0]); 294 checkAuthenticationRule(o[0]);
295 checkAuthenticationRule(o[1]); 295 checkAuthenticationRule(o[1]);
296 } 296 }
297 297
298 core.int buildCounterAuthentication = 0; 298 core.int buildCounterAuthentication = 0;
299 buildAuthentication() { 299 buildAuthentication() {
300 var o = new api.Authentication(); 300 var o = new api.Authentication();
301 buildCounterAuthentication++; 301 buildCounterAuthentication++;
302 if (buildCounterAuthentication < 3) { 302 if (buildCounterAuthentication < 3) {
303 o.providers = buildUnnamed1071(); 303 o.providers = buildUnnamed1155();
304 o.rules = buildUnnamed1072(); 304 o.rules = buildUnnamed1156();
305 } 305 }
306 buildCounterAuthentication--; 306 buildCounterAuthentication--;
307 return o; 307 return o;
308 } 308 }
309 309
310 checkAuthentication(api.Authentication o) { 310 checkAuthentication(api.Authentication o) {
311 buildCounterAuthentication++; 311 buildCounterAuthentication++;
312 if (buildCounterAuthentication < 3) { 312 if (buildCounterAuthentication < 3) {
313 checkUnnamed1071(o.providers); 313 checkUnnamed1155(o.providers);
314 checkUnnamed1072(o.rules); 314 checkUnnamed1156(o.rules);
315 } 315 }
316 buildCounterAuthentication--; 316 buildCounterAuthentication--;
317 } 317 }
318 318
319 buildUnnamed1073() { 319 buildUnnamed1157() {
320 var o = new core.List<api.AuthRequirement>(); 320 var o = new core.List<api.AuthRequirement>();
321 o.add(buildAuthRequirement()); 321 o.add(buildAuthRequirement());
322 o.add(buildAuthRequirement()); 322 o.add(buildAuthRequirement());
323 return o; 323 return o;
324 } 324 }
325 325
326 checkUnnamed1073(core.List<api.AuthRequirement> o) { 326 checkUnnamed1157(core.List<api.AuthRequirement> o) {
327 unittest.expect(o, unittest.hasLength(2)); 327 unittest.expect(o, unittest.hasLength(2));
328 checkAuthRequirement(o[0]); 328 checkAuthRequirement(o[0]);
329 checkAuthRequirement(o[1]); 329 checkAuthRequirement(o[1]);
330 } 330 }
331 331
332 core.int buildCounterAuthenticationRule = 0; 332 core.int buildCounterAuthenticationRule = 0;
333 buildAuthenticationRule() { 333 buildAuthenticationRule() {
334 var o = new api.AuthenticationRule(); 334 var o = new api.AuthenticationRule();
335 buildCounterAuthenticationRule++; 335 buildCounterAuthenticationRule++;
336 if (buildCounterAuthenticationRule < 3) { 336 if (buildCounterAuthenticationRule < 3) {
337 o.allowWithoutCredential = true; 337 o.allowWithoutCredential = true;
338 o.customAuth = buildCustomAuthRequirements(); 338 o.customAuth = buildCustomAuthRequirements();
339 o.oauth = buildOAuthRequirements(); 339 o.oauth = buildOAuthRequirements();
340 o.requirements = buildUnnamed1073(); 340 o.requirements = buildUnnamed1157();
341 o.selector = "foo"; 341 o.selector = "foo";
342 } 342 }
343 buildCounterAuthenticationRule--; 343 buildCounterAuthenticationRule--;
344 return o; 344 return o;
345 } 345 }
346 346
347 checkAuthenticationRule(api.AuthenticationRule o) { 347 checkAuthenticationRule(api.AuthenticationRule o) {
348 buildCounterAuthenticationRule++; 348 buildCounterAuthenticationRule++;
349 if (buildCounterAuthenticationRule < 3) { 349 if (buildCounterAuthenticationRule < 3) {
350 unittest.expect(o.allowWithoutCredential, unittest.isTrue); 350 unittest.expect(o.allowWithoutCredential, unittest.isTrue);
351 checkCustomAuthRequirements(o.customAuth); 351 checkCustomAuthRequirements(o.customAuth);
352 checkOAuthRequirements(o.oauth); 352 checkOAuthRequirements(o.oauth);
353 checkUnnamed1073(o.requirements); 353 checkUnnamed1157(o.requirements);
354 unittest.expect(o.selector, unittest.equals('foo')); 354 unittest.expect(o.selector, unittest.equals('foo'));
355 } 355 }
356 buildCounterAuthenticationRule--; 356 buildCounterAuthenticationRule--;
357 } 357 }
358 358
359 core.int buildCounterAuthorizationConfig = 0; 359 core.int buildCounterAuthorizationConfig = 0;
360 buildAuthorizationConfig() { 360 buildAuthorizationConfig() {
361 var o = new api.AuthorizationConfig(); 361 var o = new api.AuthorizationConfig();
362 buildCounterAuthorizationConfig++; 362 buildCounterAuthorizationConfig++;
363 if (buildCounterAuthorizationConfig < 3) { 363 if (buildCounterAuthorizationConfig < 3) {
364 o.provider = "foo"; 364 o.provider = "foo";
365 } 365 }
366 buildCounterAuthorizationConfig--; 366 buildCounterAuthorizationConfig--;
367 return o; 367 return o;
368 } 368 }
369 369
370 checkAuthorizationConfig(api.AuthorizationConfig o) { 370 checkAuthorizationConfig(api.AuthorizationConfig o) {
371 buildCounterAuthorizationConfig++; 371 buildCounterAuthorizationConfig++;
372 if (buildCounterAuthorizationConfig < 3) { 372 if (buildCounterAuthorizationConfig < 3) {
373 unittest.expect(o.provider, unittest.equals('foo')); 373 unittest.expect(o.provider, unittest.equals('foo'));
374 } 374 }
375 buildCounterAuthorizationConfig--; 375 buildCounterAuthorizationConfig--;
376 } 376 }
377 377
378 buildUnnamed1074() { 378 buildUnnamed1158() {
379 var o = new core.List<api.BackendRule>(); 379 var o = new core.List<api.BackendRule>();
380 o.add(buildBackendRule()); 380 o.add(buildBackendRule());
381 o.add(buildBackendRule()); 381 o.add(buildBackendRule());
382 return o; 382 return o;
383 } 383 }
384 384
385 checkUnnamed1074(core.List<api.BackendRule> o) { 385 checkUnnamed1158(core.List<api.BackendRule> o) {
386 unittest.expect(o, unittest.hasLength(2)); 386 unittest.expect(o, unittest.hasLength(2));
387 checkBackendRule(o[0]); 387 checkBackendRule(o[0]);
388 checkBackendRule(o[1]); 388 checkBackendRule(o[1]);
389 } 389 }
390 390
391 core.int buildCounterBackend = 0; 391 core.int buildCounterBackend = 0;
392 buildBackend() { 392 buildBackend() {
393 var o = new api.Backend(); 393 var o = new api.Backend();
394 buildCounterBackend++; 394 buildCounterBackend++;
395 if (buildCounterBackend < 3) { 395 if (buildCounterBackend < 3) {
396 o.rules = buildUnnamed1074(); 396 o.rules = buildUnnamed1158();
397 } 397 }
398 buildCounterBackend--; 398 buildCounterBackend--;
399 return o; 399 return o;
400 } 400 }
401 401
402 checkBackend(api.Backend o) { 402 checkBackend(api.Backend o) {
403 buildCounterBackend++; 403 buildCounterBackend++;
404 if (buildCounterBackend < 3) { 404 if (buildCounterBackend < 3) {
405 checkUnnamed1074(o.rules); 405 checkUnnamed1158(o.rules);
406 } 406 }
407 buildCounterBackend--; 407 buildCounterBackend--;
408 } 408 }
409 409
410 core.int buildCounterBackendRule = 0; 410 core.int buildCounterBackendRule = 0;
411 buildBackendRule() { 411 buildBackendRule() {
412 var o = new api.BackendRule(); 412 var o = new api.BackendRule();
413 buildCounterBackendRule++; 413 buildCounterBackendRule++;
414 if (buildCounterBackendRule < 3) { 414 if (buildCounterBackendRule < 3) {
415 o.address = "foo"; 415 o.address = "foo";
416 o.deadline = 42.0; 416 o.deadline = 42.0;
417 o.minDeadline = 42.0; 417 o.minDeadline = 42.0;
418 o.selector = "foo"; 418 o.selector = "foo";
419 } 419 }
420 buildCounterBackendRule--; 420 buildCounterBackendRule--;
421 return o; 421 return o;
422 } 422 }
423 423
424 checkBackendRule(api.BackendRule o) { 424 checkBackendRule(api.BackendRule o) {
425 buildCounterBackendRule++; 425 buildCounterBackendRule++;
426 if (buildCounterBackendRule < 3) { 426 if (buildCounterBackendRule < 3) {
427 unittest.expect(o.address, unittest.equals('foo')); 427 unittest.expect(o.address, unittest.equals('foo'));
428 unittest.expect(o.deadline, unittest.equals(42.0)); 428 unittest.expect(o.deadline, unittest.equals(42.0));
429 unittest.expect(o.minDeadline, unittest.equals(42.0)); 429 unittest.expect(o.minDeadline, unittest.equals(42.0));
430 unittest.expect(o.selector, unittest.equals('foo')); 430 unittest.expect(o.selector, unittest.equals('foo'));
431 } 431 }
432 buildCounterBackendRule--; 432 buildCounterBackendRule--;
433 } 433 }
434 434
435 buildUnnamed1075() { 435 buildUnnamed1159() {
436 var o = new core.List<core.String>(); 436 var o = new core.List<core.String>();
437 o.add("foo"); 437 o.add("foo");
438 o.add("foo"); 438 o.add("foo");
439 return o; 439 return o;
440 } 440 }
441 441
442 checkUnnamed1075(core.List<core.String> o) { 442 checkUnnamed1159(core.List<core.String> o) {
443 unittest.expect(o, unittest.hasLength(2)); 443 unittest.expect(o, unittest.hasLength(2));
444 unittest.expect(o[0], unittest.equals('foo')); 444 unittest.expect(o[0], unittest.equals('foo'));
445 unittest.expect(o[1], unittest.equals('foo')); 445 unittest.expect(o[1], unittest.equals('foo'));
446 } 446 }
447 447
448 core.int buildCounterBinding = 0; 448 core.int buildCounterBinding = 0;
449 buildBinding() { 449 buildBinding() {
450 var o = new api.Binding(); 450 var o = new api.Binding();
451 buildCounterBinding++; 451 buildCounterBinding++;
452 if (buildCounterBinding < 3) { 452 if (buildCounterBinding < 3) {
453 o.condition = buildExpr(); 453 o.condition = buildExpr();
454 o.members = buildUnnamed1075(); 454 o.members = buildUnnamed1159();
455 o.role = "foo"; 455 o.role = "foo";
456 } 456 }
457 buildCounterBinding--; 457 buildCounterBinding--;
458 return o; 458 return o;
459 } 459 }
460 460
461 checkBinding(api.Binding o) { 461 checkBinding(api.Binding o) {
462 buildCounterBinding++; 462 buildCounterBinding++;
463 if (buildCounterBinding < 3) { 463 if (buildCounterBinding < 3) {
464 checkExpr(o.condition); 464 checkExpr(o.condition);
465 checkUnnamed1075(o.members); 465 checkUnnamed1159(o.members);
466 unittest.expect(o.role, unittest.equals('foo')); 466 unittest.expect(o.role, unittest.equals('foo'));
467 } 467 }
468 buildCounterBinding--; 468 buildCounterBinding--;
469 } 469 }
470 470
471 buildUnnamed1076() { 471 buildUnnamed1160() {
472 var o = new core.List<api.ConfigChange>(); 472 var o = new core.List<api.ConfigChange>();
473 o.add(buildConfigChange()); 473 o.add(buildConfigChange());
474 o.add(buildConfigChange()); 474 o.add(buildConfigChange());
475 return o; 475 return o;
476 } 476 }
477 477
478 checkUnnamed1076(core.List<api.ConfigChange> o) { 478 checkUnnamed1160(core.List<api.ConfigChange> o) {
479 unittest.expect(o, unittest.hasLength(2)); 479 unittest.expect(o, unittest.hasLength(2));
480 checkConfigChange(o[0]); 480 checkConfigChange(o[0]);
481 checkConfigChange(o[1]); 481 checkConfigChange(o[1]);
482 } 482 }
483 483
484 core.int buildCounterChangeReport = 0; 484 core.int buildCounterChangeReport = 0;
485 buildChangeReport() { 485 buildChangeReport() {
486 var o = new api.ChangeReport(); 486 var o = new api.ChangeReport();
487 buildCounterChangeReport++; 487 buildCounterChangeReport++;
488 if (buildCounterChangeReport < 3) { 488 if (buildCounterChangeReport < 3) {
489 o.configChanges = buildUnnamed1076(); 489 o.configChanges = buildUnnamed1160();
490 } 490 }
491 buildCounterChangeReport--; 491 buildCounterChangeReport--;
492 return o; 492 return o;
493 } 493 }
494 494
495 checkChangeReport(api.ChangeReport o) { 495 checkChangeReport(api.ChangeReport o) {
496 buildCounterChangeReport++; 496 buildCounterChangeReport++;
497 if (buildCounterChangeReport < 3) { 497 if (buildCounterChangeReport < 3) {
498 checkUnnamed1076(o.configChanges); 498 checkUnnamed1160(o.configChanges);
499 } 499 }
500 buildCounterChangeReport--; 500 buildCounterChangeReport--;
501 } 501 }
502 502
503 core.int buildCounterCloudAuditOptions = 0; 503 core.int buildCounterCloudAuditOptions = 0;
504 buildCloudAuditOptions() { 504 buildCloudAuditOptions() {
505 var o = new api.CloudAuditOptions(); 505 var o = new api.CloudAuditOptions();
506 buildCounterCloudAuditOptions++; 506 buildCounterCloudAuditOptions++;
507 if (buildCounterCloudAuditOptions < 3) { 507 if (buildCounterCloudAuditOptions < 3) {
508 o.logName = "foo"; 508 o.logName = "foo";
509 } 509 }
510 buildCounterCloudAuditOptions--; 510 buildCounterCloudAuditOptions--;
511 return o; 511 return o;
512 } 512 }
513 513
514 checkCloudAuditOptions(api.CloudAuditOptions o) { 514 checkCloudAuditOptions(api.CloudAuditOptions o) {
515 buildCounterCloudAuditOptions++; 515 buildCounterCloudAuditOptions++;
516 if (buildCounterCloudAuditOptions < 3) { 516 if (buildCounterCloudAuditOptions < 3) {
517 unittest.expect(o.logName, unittest.equals('foo')); 517 unittest.expect(o.logName, unittest.equals('foo'));
518 } 518 }
519 buildCounterCloudAuditOptions--; 519 buildCounterCloudAuditOptions--;
520 } 520 }
521 521
522 buildUnnamed1077() { 522 buildUnnamed1161() {
523 var o = new core.List<core.String>(); 523 var o = new core.List<core.String>();
524 o.add("foo"); 524 o.add("foo");
525 o.add("foo"); 525 o.add("foo");
526 return o; 526 return o;
527 } 527 }
528 528
529 checkUnnamed1077(core.List<core.String> o) { 529 checkUnnamed1161(core.List<core.String> o) {
530 unittest.expect(o, unittest.hasLength(2)); 530 unittest.expect(o, unittest.hasLength(2));
531 unittest.expect(o[0], unittest.equals('foo')); 531 unittest.expect(o[0], unittest.equals('foo'));
532 unittest.expect(o[1], unittest.equals('foo')); 532 unittest.expect(o[1], unittest.equals('foo'));
533 } 533 }
534 534
535 core.int buildCounterCondition = 0; 535 core.int buildCounterCondition = 0;
536 buildCondition() { 536 buildCondition() {
537 var o = new api.Condition(); 537 var o = new api.Condition();
538 buildCounterCondition++; 538 buildCounterCondition++;
539 if (buildCounterCondition < 3) { 539 if (buildCounterCondition < 3) {
540 o.iam = "foo"; 540 o.iam = "foo";
541 o.op = "foo"; 541 o.op = "foo";
542 o.svc = "foo"; 542 o.svc = "foo";
543 o.sys = "foo"; 543 o.sys = "foo";
544 o.value = "foo"; 544 o.value = "foo";
545 o.values = buildUnnamed1077(); 545 o.values = buildUnnamed1161();
546 } 546 }
547 buildCounterCondition--; 547 buildCounterCondition--;
548 return o; 548 return o;
549 } 549 }
550 550
551 checkCondition(api.Condition o) { 551 checkCondition(api.Condition o) {
552 buildCounterCondition++; 552 buildCounterCondition++;
553 if (buildCounterCondition < 3) { 553 if (buildCounterCondition < 3) {
554 unittest.expect(o.iam, unittest.equals('foo')); 554 unittest.expect(o.iam, unittest.equals('foo'));
555 unittest.expect(o.op, unittest.equals('foo')); 555 unittest.expect(o.op, unittest.equals('foo'));
556 unittest.expect(o.svc, unittest.equals('foo')); 556 unittest.expect(o.svc, unittest.equals('foo'));
557 unittest.expect(o.sys, unittest.equals('foo')); 557 unittest.expect(o.sys, unittest.equals('foo'));
558 unittest.expect(o.value, unittest.equals('foo')); 558 unittest.expect(o.value, unittest.equals('foo'));
559 checkUnnamed1077(o.values); 559 checkUnnamed1161(o.values);
560 } 560 }
561 buildCounterCondition--; 561 buildCounterCondition--;
562 } 562 }
563 563
564 buildUnnamed1078() { 564 buildUnnamed1162() {
565 var o = new core.List<api.Advice>(); 565 var o = new core.List<api.Advice>();
566 o.add(buildAdvice()); 566 o.add(buildAdvice());
567 o.add(buildAdvice()); 567 o.add(buildAdvice());
568 return o; 568 return o;
569 } 569 }
570 570
571 checkUnnamed1078(core.List<api.Advice> o) { 571 checkUnnamed1162(core.List<api.Advice> o) {
572 unittest.expect(o, unittest.hasLength(2)); 572 unittest.expect(o, unittest.hasLength(2));
573 checkAdvice(o[0]); 573 checkAdvice(o[0]);
574 checkAdvice(o[1]); 574 checkAdvice(o[1]);
575 } 575 }
576 576
577 core.int buildCounterConfigChange = 0; 577 core.int buildCounterConfigChange = 0;
578 buildConfigChange() { 578 buildConfigChange() {
579 var o = new api.ConfigChange(); 579 var o = new api.ConfigChange();
580 buildCounterConfigChange++; 580 buildCounterConfigChange++;
581 if (buildCounterConfigChange < 3) { 581 if (buildCounterConfigChange < 3) {
582 o.advices = buildUnnamed1078(); 582 o.advices = buildUnnamed1162();
583 o.changeType = "foo"; 583 o.changeType = "foo";
584 o.element = "foo"; 584 o.element = "foo";
585 o.newValue = "foo"; 585 o.newValue = "foo";
586 o.oldValue = "foo"; 586 o.oldValue = "foo";
587 } 587 }
588 buildCounterConfigChange--; 588 buildCounterConfigChange--;
589 return o; 589 return o;
590 } 590 }
591 591
592 checkConfigChange(api.ConfigChange o) { 592 checkConfigChange(api.ConfigChange o) {
593 buildCounterConfigChange++; 593 buildCounterConfigChange++;
594 if (buildCounterConfigChange < 3) { 594 if (buildCounterConfigChange < 3) {
595 checkUnnamed1078(o.advices); 595 checkUnnamed1162(o.advices);
596 unittest.expect(o.changeType, unittest.equals('foo')); 596 unittest.expect(o.changeType, unittest.equals('foo'));
597 unittest.expect(o.element, unittest.equals('foo')); 597 unittest.expect(o.element, unittest.equals('foo'));
598 unittest.expect(o.newValue, unittest.equals('foo')); 598 unittest.expect(o.newValue, unittest.equals('foo'));
599 unittest.expect(o.oldValue, unittest.equals('foo')); 599 unittest.expect(o.oldValue, unittest.equals('foo'));
600 } 600 }
601 buildCounterConfigChange--; 601 buildCounterConfigChange--;
602 } 602 }
603 603
604 core.int buildCounterConfigFile = 0; 604 core.int buildCounterConfigFile = 0;
605 buildConfigFile() { 605 buildConfigFile() {
(...skipping 30 matching lines...) Expand all
636 } 636 }
637 637
638 checkConfigRef(api.ConfigRef o) { 638 checkConfigRef(api.ConfigRef o) {
639 buildCounterConfigRef++; 639 buildCounterConfigRef++;
640 if (buildCounterConfigRef < 3) { 640 if (buildCounterConfigRef < 3) {
641 unittest.expect(o.name, unittest.equals('foo')); 641 unittest.expect(o.name, unittest.equals('foo'));
642 } 642 }
643 buildCounterConfigRef--; 643 buildCounterConfigRef--;
644 } 644 }
645 645
646 buildUnnamed1079() { 646 buildUnnamed1163() {
647 var o = new core.List<api.ConfigFile>(); 647 var o = new core.List<api.ConfigFile>();
648 o.add(buildConfigFile()); 648 o.add(buildConfigFile());
649 o.add(buildConfigFile()); 649 o.add(buildConfigFile());
650 return o; 650 return o;
651 } 651 }
652 652
653 checkUnnamed1079(core.List<api.ConfigFile> o) { 653 checkUnnamed1163(core.List<api.ConfigFile> o) {
654 unittest.expect(o, unittest.hasLength(2)); 654 unittest.expect(o, unittest.hasLength(2));
655 checkConfigFile(o[0]); 655 checkConfigFile(o[0]);
656 checkConfigFile(o[1]); 656 checkConfigFile(o[1]);
657 } 657 }
658 658
659 core.int buildCounterConfigSource = 0; 659 core.int buildCounterConfigSource = 0;
660 buildConfigSource() { 660 buildConfigSource() {
661 var o = new api.ConfigSource(); 661 var o = new api.ConfigSource();
662 buildCounterConfigSource++; 662 buildCounterConfigSource++;
663 if (buildCounterConfigSource < 3) { 663 if (buildCounterConfigSource < 3) {
664 o.files = buildUnnamed1079(); 664 o.files = buildUnnamed1163();
665 o.id = "foo"; 665 o.id = "foo";
666 } 666 }
667 buildCounterConfigSource--; 667 buildCounterConfigSource--;
668 return o; 668 return o;
669 } 669 }
670 670
671 checkConfigSource(api.ConfigSource o) { 671 checkConfigSource(api.ConfigSource o) {
672 buildCounterConfigSource++; 672 buildCounterConfigSource++;
673 if (buildCounterConfigSource < 3) { 673 if (buildCounterConfigSource < 3) {
674 checkUnnamed1079(o.files); 674 checkUnnamed1163(o.files);
675 unittest.expect(o.id, unittest.equals('foo')); 675 unittest.expect(o.id, unittest.equals('foo'));
676 } 676 }
677 buildCounterConfigSource--; 677 buildCounterConfigSource--;
678 } 678 }
679 679
680 buildUnnamed1080() { 680 buildUnnamed1164() {
681 var o = new core.List<api.ContextRule>(); 681 var o = new core.List<api.ContextRule>();
682 o.add(buildContextRule()); 682 o.add(buildContextRule());
683 o.add(buildContextRule()); 683 o.add(buildContextRule());
684 return o; 684 return o;
685 } 685 }
686 686
687 checkUnnamed1080(core.List<api.ContextRule> o) { 687 checkUnnamed1164(core.List<api.ContextRule> o) {
688 unittest.expect(o, unittest.hasLength(2)); 688 unittest.expect(o, unittest.hasLength(2));
689 checkContextRule(o[0]); 689 checkContextRule(o[0]);
690 checkContextRule(o[1]); 690 checkContextRule(o[1]);
691 } 691 }
692 692
693 core.int buildCounterContext = 0; 693 core.int buildCounterContext = 0;
694 buildContext() { 694 buildContext() {
695 var o = new api.Context(); 695 var o = new api.Context();
696 buildCounterContext++; 696 buildCounterContext++;
697 if (buildCounterContext < 3) { 697 if (buildCounterContext < 3) {
698 o.rules = buildUnnamed1080(); 698 o.rules = buildUnnamed1164();
699 } 699 }
700 buildCounterContext--; 700 buildCounterContext--;
701 return o; 701 return o;
702 } 702 }
703 703
704 checkContext(api.Context o) { 704 checkContext(api.Context o) {
705 buildCounterContext++; 705 buildCounterContext++;
706 if (buildCounterContext < 3) { 706 if (buildCounterContext < 3) {
707 checkUnnamed1080(o.rules); 707 checkUnnamed1164(o.rules);
708 } 708 }
709 buildCounterContext--; 709 buildCounterContext--;
710 } 710 }
711 711
712 buildUnnamed1081() { 712 buildUnnamed1165() {
713 var o = new core.List<core.String>(); 713 var o = new core.List<core.String>();
714 o.add("foo"); 714 o.add("foo");
715 o.add("foo"); 715 o.add("foo");
716 return o; 716 return o;
717 } 717 }
718 718
719 checkUnnamed1081(core.List<core.String> o) { 719 checkUnnamed1165(core.List<core.String> o) {
720 unittest.expect(o, unittest.hasLength(2)); 720 unittest.expect(o, unittest.hasLength(2));
721 unittest.expect(o[0], unittest.equals('foo')); 721 unittest.expect(o[0], unittest.equals('foo'));
722 unittest.expect(o[1], unittest.equals('foo')); 722 unittest.expect(o[1], unittest.equals('foo'));
723 } 723 }
724 724
725 buildUnnamed1082() { 725 buildUnnamed1166() {
726 var o = new core.List<core.String>(); 726 var o = new core.List<core.String>();
727 o.add("foo"); 727 o.add("foo");
728 o.add("foo"); 728 o.add("foo");
729 return o; 729 return o;
730 } 730 }
731 731
732 checkUnnamed1082(core.List<core.String> o) { 732 checkUnnamed1166(core.List<core.String> o) {
733 unittest.expect(o, unittest.hasLength(2)); 733 unittest.expect(o, unittest.hasLength(2));
734 unittest.expect(o[0], unittest.equals('foo')); 734 unittest.expect(o[0], unittest.equals('foo'));
735 unittest.expect(o[1], unittest.equals('foo')); 735 unittest.expect(o[1], unittest.equals('foo'));
736 } 736 }
737 737
738 core.int buildCounterContextRule = 0; 738 core.int buildCounterContextRule = 0;
739 buildContextRule() { 739 buildContextRule() {
740 var o = new api.ContextRule(); 740 var o = new api.ContextRule();
741 buildCounterContextRule++; 741 buildCounterContextRule++;
742 if (buildCounterContextRule < 3) { 742 if (buildCounterContextRule < 3) {
743 o.provided = buildUnnamed1081(); 743 o.provided = buildUnnamed1165();
744 o.requested = buildUnnamed1082(); 744 o.requested = buildUnnamed1166();
745 o.selector = "foo"; 745 o.selector = "foo";
746 } 746 }
747 buildCounterContextRule--; 747 buildCounterContextRule--;
748 return o; 748 return o;
749 } 749 }
750 750
751 checkContextRule(api.ContextRule o) { 751 checkContextRule(api.ContextRule o) {
752 buildCounterContextRule++; 752 buildCounterContextRule++;
753 if (buildCounterContextRule < 3) { 753 if (buildCounterContextRule < 3) {
754 checkUnnamed1081(o.provided); 754 checkUnnamed1165(o.provided);
755 checkUnnamed1082(o.requested); 755 checkUnnamed1166(o.requested);
756 unittest.expect(o.selector, unittest.equals('foo')); 756 unittest.expect(o.selector, unittest.equals('foo'));
757 } 757 }
758 buildCounterContextRule--; 758 buildCounterContextRule--;
759 } 759 }
760 760
761 core.int buildCounterControl = 0; 761 core.int buildCounterControl = 0;
762 buildControl() { 762 buildControl() {
763 var o = new api.Control(); 763 var o = new api.Control();
764 buildCounterControl++; 764 buildCounterControl++;
765 if (buildCounterControl < 3) { 765 if (buildCounterControl < 3) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 } 810 }
811 811
812 checkCustomAuthRequirements(api.CustomAuthRequirements o) { 812 checkCustomAuthRequirements(api.CustomAuthRequirements o) {
813 buildCounterCustomAuthRequirements++; 813 buildCounterCustomAuthRequirements++;
814 if (buildCounterCustomAuthRequirements < 3) { 814 if (buildCounterCustomAuthRequirements < 3) {
815 unittest.expect(o.provider, unittest.equals('foo')); 815 unittest.expect(o.provider, unittest.equals('foo'));
816 } 816 }
817 buildCounterCustomAuthRequirements--; 817 buildCounterCustomAuthRequirements--;
818 } 818 }
819 819
820 buildUnnamed1083() { 820 buildUnnamed1167() {
821 var o = new core.List<api.CustomErrorRule>(); 821 var o = new core.List<api.CustomErrorRule>();
822 o.add(buildCustomErrorRule()); 822 o.add(buildCustomErrorRule());
823 o.add(buildCustomErrorRule()); 823 o.add(buildCustomErrorRule());
824 return o; 824 return o;
825 } 825 }
826 826
827 checkUnnamed1083(core.List<api.CustomErrorRule> o) { 827 checkUnnamed1167(core.List<api.CustomErrorRule> o) {
828 unittest.expect(o, unittest.hasLength(2)); 828 unittest.expect(o, unittest.hasLength(2));
829 checkCustomErrorRule(o[0]); 829 checkCustomErrorRule(o[0]);
830 checkCustomErrorRule(o[1]); 830 checkCustomErrorRule(o[1]);
831 } 831 }
832 832
833 buildUnnamed1084() { 833 buildUnnamed1168() {
834 var o = new core.List<core.String>(); 834 var o = new core.List<core.String>();
835 o.add("foo"); 835 o.add("foo");
836 o.add("foo"); 836 o.add("foo");
837 return o; 837 return o;
838 } 838 }
839 839
840 checkUnnamed1084(core.List<core.String> o) { 840 checkUnnamed1168(core.List<core.String> o) {
841 unittest.expect(o, unittest.hasLength(2)); 841 unittest.expect(o, unittest.hasLength(2));
842 unittest.expect(o[0], unittest.equals('foo')); 842 unittest.expect(o[0], unittest.equals('foo'));
843 unittest.expect(o[1], unittest.equals('foo')); 843 unittest.expect(o[1], unittest.equals('foo'));
844 } 844 }
845 845
846 core.int buildCounterCustomError = 0; 846 core.int buildCounterCustomError = 0;
847 buildCustomError() { 847 buildCustomError() {
848 var o = new api.CustomError(); 848 var o = new api.CustomError();
849 buildCounterCustomError++; 849 buildCounterCustomError++;
850 if (buildCounterCustomError < 3) { 850 if (buildCounterCustomError < 3) {
851 o.rules = buildUnnamed1083(); 851 o.rules = buildUnnamed1167();
852 o.types = buildUnnamed1084(); 852 o.types = buildUnnamed1168();
853 } 853 }
854 buildCounterCustomError--; 854 buildCounterCustomError--;
855 return o; 855 return o;
856 } 856 }
857 857
858 checkCustomError(api.CustomError o) { 858 checkCustomError(api.CustomError o) {
859 buildCounterCustomError++; 859 buildCounterCustomError++;
860 if (buildCounterCustomError < 3) { 860 if (buildCounterCustomError < 3) {
861 checkUnnamed1083(o.rules); 861 checkUnnamed1167(o.rules);
862 checkUnnamed1084(o.types); 862 checkUnnamed1168(o.types);
863 } 863 }
864 buildCounterCustomError--; 864 buildCounterCustomError--;
865 } 865 }
866 866
867 core.int buildCounterCustomErrorRule = 0; 867 core.int buildCounterCustomErrorRule = 0;
868 buildCustomErrorRule() { 868 buildCustomErrorRule() {
869 var o = new api.CustomErrorRule(); 869 var o = new api.CustomErrorRule();
870 buildCounterCustomErrorRule++; 870 buildCounterCustomErrorRule++;
871 if (buildCounterCustomErrorRule < 3) { 871 if (buildCounterCustomErrorRule < 3) {
872 o.isErrorType = true; 872 o.isErrorType = true;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 } 975 }
976 976
977 checkDisableServiceRequest(api.DisableServiceRequest o) { 977 checkDisableServiceRequest(api.DisableServiceRequest o) {
978 buildCounterDisableServiceRequest++; 978 buildCounterDisableServiceRequest++;
979 if (buildCounterDisableServiceRequest < 3) { 979 if (buildCounterDisableServiceRequest < 3) {
980 unittest.expect(o.consumerId, unittest.equals('foo')); 980 unittest.expect(o.consumerId, unittest.equals('foo'));
981 } 981 }
982 buildCounterDisableServiceRequest--; 982 buildCounterDisableServiceRequest--;
983 } 983 }
984 984
985 buildUnnamed1085() { 985 buildUnnamed1169() {
986 var o = new core.List<api.Page>(); 986 var o = new core.List<api.Page>();
987 o.add(buildPage()); 987 o.add(buildPage());
988 o.add(buildPage()); 988 o.add(buildPage());
989 return o; 989 return o;
990 } 990 }
991 991
992 checkUnnamed1085(core.List<api.Page> o) { 992 checkUnnamed1169(core.List<api.Page> o) {
993 unittest.expect(o, unittest.hasLength(2)); 993 unittest.expect(o, unittest.hasLength(2));
994 checkPage(o[0]); 994 checkPage(o[0]);
995 checkPage(o[1]); 995 checkPage(o[1]);
996 } 996 }
997 997
998 buildUnnamed1086() { 998 buildUnnamed1170() {
999 var o = new core.List<api.DocumentationRule>(); 999 var o = new core.List<api.DocumentationRule>();
1000 o.add(buildDocumentationRule()); 1000 o.add(buildDocumentationRule());
1001 o.add(buildDocumentationRule()); 1001 o.add(buildDocumentationRule());
1002 return o; 1002 return o;
1003 } 1003 }
1004 1004
1005 checkUnnamed1086(core.List<api.DocumentationRule> o) { 1005 checkUnnamed1170(core.List<api.DocumentationRule> o) {
1006 unittest.expect(o, unittest.hasLength(2)); 1006 unittest.expect(o, unittest.hasLength(2));
1007 checkDocumentationRule(o[0]); 1007 checkDocumentationRule(o[0]);
1008 checkDocumentationRule(o[1]); 1008 checkDocumentationRule(o[1]);
1009 } 1009 }
1010 1010
1011 core.int buildCounterDocumentation = 0; 1011 core.int buildCounterDocumentation = 0;
1012 buildDocumentation() { 1012 buildDocumentation() {
1013 var o = new api.Documentation(); 1013 var o = new api.Documentation();
1014 buildCounterDocumentation++; 1014 buildCounterDocumentation++;
1015 if (buildCounterDocumentation < 3) { 1015 if (buildCounterDocumentation < 3) {
1016 o.documentationRootUrl = "foo"; 1016 o.documentationRootUrl = "foo";
1017 o.overview = "foo"; 1017 o.overview = "foo";
1018 o.pages = buildUnnamed1085(); 1018 o.pages = buildUnnamed1169();
1019 o.rules = buildUnnamed1086(); 1019 o.rules = buildUnnamed1170();
1020 o.summary = "foo"; 1020 o.summary = "foo";
1021 } 1021 }
1022 buildCounterDocumentation--; 1022 buildCounterDocumentation--;
1023 return o; 1023 return o;
1024 } 1024 }
1025 1025
1026 checkDocumentation(api.Documentation o) { 1026 checkDocumentation(api.Documentation o) {
1027 buildCounterDocumentation++; 1027 buildCounterDocumentation++;
1028 if (buildCounterDocumentation < 3) { 1028 if (buildCounterDocumentation < 3) {
1029 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); 1029 unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
1030 unittest.expect(o.overview, unittest.equals('foo')); 1030 unittest.expect(o.overview, unittest.equals('foo'));
1031 checkUnnamed1085(o.pages); 1031 checkUnnamed1169(o.pages);
1032 checkUnnamed1086(o.rules); 1032 checkUnnamed1170(o.rules);
1033 unittest.expect(o.summary, unittest.equals('foo')); 1033 unittest.expect(o.summary, unittest.equals('foo'));
1034 } 1034 }
1035 buildCounterDocumentation--; 1035 buildCounterDocumentation--;
1036 } 1036 }
1037 1037
1038 core.int buildCounterDocumentationRule = 0; 1038 core.int buildCounterDocumentationRule = 0;
1039 buildDocumentationRule() { 1039 buildDocumentationRule() {
1040 var o = new api.DocumentationRule(); 1040 var o = new api.DocumentationRule();
1041 buildCounterDocumentationRule++; 1041 buildCounterDocumentationRule++;
1042 if (buildCounterDocumentationRule < 3) { 1042 if (buildCounterDocumentationRule < 3) {
(...skipping 27 matching lines...) Expand all
1070 } 1070 }
1071 1071
1072 checkEnableServiceRequest(api.EnableServiceRequest o) { 1072 checkEnableServiceRequest(api.EnableServiceRequest o) {
1073 buildCounterEnableServiceRequest++; 1073 buildCounterEnableServiceRequest++;
1074 if (buildCounterEnableServiceRequest < 3) { 1074 if (buildCounterEnableServiceRequest < 3) {
1075 unittest.expect(o.consumerId, unittest.equals('foo')); 1075 unittest.expect(o.consumerId, unittest.equals('foo'));
1076 } 1076 }
1077 buildCounterEnableServiceRequest--; 1077 buildCounterEnableServiceRequest--;
1078 } 1078 }
1079 1079
1080 buildUnnamed1087() { 1080 buildUnnamed1171() {
1081 var o = new core.List<core.String>(); 1081 var o = new core.List<core.String>();
1082 o.add("foo"); 1082 o.add("foo");
1083 o.add("foo"); 1083 o.add("foo");
1084 return o; 1084 return o;
1085 } 1085 }
1086 1086
1087 checkUnnamed1087(core.List<core.String> o) { 1087 checkUnnamed1171(core.List<core.String> o) {
1088 unittest.expect(o, unittest.hasLength(2)); 1088 unittest.expect(o, unittest.hasLength(2));
1089 unittest.expect(o[0], unittest.equals('foo')); 1089 unittest.expect(o[0], unittest.equals('foo'));
1090 unittest.expect(o[1], unittest.equals('foo')); 1090 unittest.expect(o[1], unittest.equals('foo'));
1091 } 1091 }
1092 1092
1093 buildUnnamed1088() { 1093 buildUnnamed1172() {
1094 var o = new core.List<core.String>(); 1094 var o = new core.List<core.String>();
1095 o.add("foo"); 1095 o.add("foo");
1096 o.add("foo"); 1096 o.add("foo");
1097 return o; 1097 return o;
1098 } 1098 }
1099 1099
1100 checkUnnamed1088(core.List<core.String> o) { 1100 checkUnnamed1172(core.List<core.String> o) {
1101 unittest.expect(o, unittest.hasLength(2)); 1101 unittest.expect(o, unittest.hasLength(2));
1102 unittest.expect(o[0], unittest.equals('foo')); 1102 unittest.expect(o[0], unittest.equals('foo'));
1103 unittest.expect(o[1], unittest.equals('foo')); 1103 unittest.expect(o[1], unittest.equals('foo'));
1104 } 1104 }
1105 1105
1106 buildUnnamed1089() { 1106 buildUnnamed1173() {
1107 var o = new core.List<core.String>(); 1107 var o = new core.List<core.String>();
1108 o.add("foo"); 1108 o.add("foo");
1109 o.add("foo"); 1109 o.add("foo");
1110 return o; 1110 return o;
1111 } 1111 }
1112 1112
1113 checkUnnamed1089(core.List<core.String> o) { 1113 checkUnnamed1173(core.List<core.String> o) {
1114 unittest.expect(o, unittest.hasLength(2)); 1114 unittest.expect(o, unittest.hasLength(2));
1115 unittest.expect(o[0], unittest.equals('foo')); 1115 unittest.expect(o[0], unittest.equals('foo'));
1116 unittest.expect(o[1], unittest.equals('foo')); 1116 unittest.expect(o[1], unittest.equals('foo'));
1117 } 1117 }
1118 1118
1119 core.int buildCounterEndpoint = 0; 1119 core.int buildCounterEndpoint = 0;
1120 buildEndpoint() { 1120 buildEndpoint() {
1121 var o = new api.Endpoint(); 1121 var o = new api.Endpoint();
1122 buildCounterEndpoint++; 1122 buildCounterEndpoint++;
1123 if (buildCounterEndpoint < 3) { 1123 if (buildCounterEndpoint < 3) {
1124 o.aliases = buildUnnamed1087(); 1124 o.aliases = buildUnnamed1171();
1125 o.allowCors = true; 1125 o.allowCors = true;
1126 o.apis = buildUnnamed1088(); 1126 o.apis = buildUnnamed1172();
1127 o.features = buildUnnamed1089(); 1127 o.features = buildUnnamed1173();
1128 o.name = "foo"; 1128 o.name = "foo";
1129 o.target = "foo"; 1129 o.target = "foo";
1130 } 1130 }
1131 buildCounterEndpoint--; 1131 buildCounterEndpoint--;
1132 return o; 1132 return o;
1133 } 1133 }
1134 1134
1135 checkEndpoint(api.Endpoint o) { 1135 checkEndpoint(api.Endpoint o) {
1136 buildCounterEndpoint++; 1136 buildCounterEndpoint++;
1137 if (buildCounterEndpoint < 3) { 1137 if (buildCounterEndpoint < 3) {
1138 checkUnnamed1087(o.aliases); 1138 checkUnnamed1171(o.aliases);
1139 unittest.expect(o.allowCors, unittest.isTrue); 1139 unittest.expect(o.allowCors, unittest.isTrue);
1140 checkUnnamed1088(o.apis); 1140 checkUnnamed1172(o.apis);
1141 checkUnnamed1089(o.features); 1141 checkUnnamed1173(o.features);
1142 unittest.expect(o.name, unittest.equals('foo')); 1142 unittest.expect(o.name, unittest.equals('foo'));
1143 unittest.expect(o.target, unittest.equals('foo')); 1143 unittest.expect(o.target, unittest.equals('foo'));
1144 } 1144 }
1145 buildCounterEndpoint--; 1145 buildCounterEndpoint--;
1146 } 1146 }
1147 1147
1148 buildUnnamed1090() { 1148 buildUnnamed1174() {
1149 var o = new core.List<api.EnumValue>(); 1149 var o = new core.List<api.EnumValue>();
1150 o.add(buildEnumValue()); 1150 o.add(buildEnumValue());
1151 o.add(buildEnumValue()); 1151 o.add(buildEnumValue());
1152 return o; 1152 return o;
1153 } 1153 }
1154 1154
1155 checkUnnamed1090(core.List<api.EnumValue> o) { 1155 checkUnnamed1174(core.List<api.EnumValue> o) {
1156 unittest.expect(o, unittest.hasLength(2)); 1156 unittest.expect(o, unittest.hasLength(2));
1157 checkEnumValue(o[0]); 1157 checkEnumValue(o[0]);
1158 checkEnumValue(o[1]); 1158 checkEnumValue(o[1]);
1159 } 1159 }
1160 1160
1161 buildUnnamed1091() { 1161 buildUnnamed1175() {
1162 var o = new core.List<api.Option>(); 1162 var o = new core.List<api.Option>();
1163 o.add(buildOption()); 1163 o.add(buildOption());
1164 o.add(buildOption()); 1164 o.add(buildOption());
1165 return o; 1165 return o;
1166 } 1166 }
1167 1167
1168 checkUnnamed1091(core.List<api.Option> o) { 1168 checkUnnamed1175(core.List<api.Option> o) {
1169 unittest.expect(o, unittest.hasLength(2)); 1169 unittest.expect(o, unittest.hasLength(2));
1170 checkOption(o[0]); 1170 checkOption(o[0]);
1171 checkOption(o[1]); 1171 checkOption(o[1]);
1172 } 1172 }
1173 1173
1174 core.int buildCounterEnum = 0; 1174 core.int buildCounterEnum = 0;
1175 buildEnum() { 1175 buildEnum() {
1176 var o = new api.Enum(); 1176 var o = new api.Enum();
1177 buildCounterEnum++; 1177 buildCounterEnum++;
1178 if (buildCounterEnum < 3) { 1178 if (buildCounterEnum < 3) {
1179 o.enumvalue = buildUnnamed1090(); 1179 o.enumvalue = buildUnnamed1174();
1180 o.name = "foo"; 1180 o.name = "foo";
1181 o.options = buildUnnamed1091(); 1181 o.options = buildUnnamed1175();
1182 o.sourceContext = buildSourceContext(); 1182 o.sourceContext = buildSourceContext();
1183 o.syntax = "foo"; 1183 o.syntax = "foo";
1184 } 1184 }
1185 buildCounterEnum--; 1185 buildCounterEnum--;
1186 return o; 1186 return o;
1187 } 1187 }
1188 1188
1189 checkEnum(api.Enum o) { 1189 checkEnum(api.Enum o) {
1190 buildCounterEnum++; 1190 buildCounterEnum++;
1191 if (buildCounterEnum < 3) { 1191 if (buildCounterEnum < 3) {
1192 checkUnnamed1090(o.enumvalue); 1192 checkUnnamed1174(o.enumvalue);
1193 unittest.expect(o.name, unittest.equals('foo')); 1193 unittest.expect(o.name, unittest.equals('foo'));
1194 checkUnnamed1091(o.options); 1194 checkUnnamed1175(o.options);
1195 checkSourceContext(o.sourceContext); 1195 checkSourceContext(o.sourceContext);
1196 unittest.expect(o.syntax, unittest.equals('foo')); 1196 unittest.expect(o.syntax, unittest.equals('foo'));
1197 } 1197 }
1198 buildCounterEnum--; 1198 buildCounterEnum--;
1199 } 1199 }
1200 1200
1201 buildUnnamed1092() { 1201 buildUnnamed1176() {
1202 var o = new core.List<api.Option>(); 1202 var o = new core.List<api.Option>();
1203 o.add(buildOption()); 1203 o.add(buildOption());
1204 o.add(buildOption()); 1204 o.add(buildOption());
1205 return o; 1205 return o;
1206 } 1206 }
1207 1207
1208 checkUnnamed1092(core.List<api.Option> o) { 1208 checkUnnamed1176(core.List<api.Option> o) {
1209 unittest.expect(o, unittest.hasLength(2)); 1209 unittest.expect(o, unittest.hasLength(2));
1210 checkOption(o[0]); 1210 checkOption(o[0]);
1211 checkOption(o[1]); 1211 checkOption(o[1]);
1212 } 1212 }
1213 1213
1214 core.int buildCounterEnumValue = 0; 1214 core.int buildCounterEnumValue = 0;
1215 buildEnumValue() { 1215 buildEnumValue() {
1216 var o = new api.EnumValue(); 1216 var o = new api.EnumValue();
1217 buildCounterEnumValue++; 1217 buildCounterEnumValue++;
1218 if (buildCounterEnumValue < 3) { 1218 if (buildCounterEnumValue < 3) {
1219 o.name = "foo"; 1219 o.name = "foo";
1220 o.number = 42; 1220 o.number = 42;
1221 o.options = buildUnnamed1092(); 1221 o.options = buildUnnamed1176();
1222 } 1222 }
1223 buildCounterEnumValue--; 1223 buildCounterEnumValue--;
1224 return o; 1224 return o;
1225 } 1225 }
1226 1226
1227 checkEnumValue(api.EnumValue o) { 1227 checkEnumValue(api.EnumValue o) {
1228 buildCounterEnumValue++; 1228 buildCounterEnumValue++;
1229 if (buildCounterEnumValue < 3) { 1229 if (buildCounterEnumValue < 3) {
1230 unittest.expect(o.name, unittest.equals('foo')); 1230 unittest.expect(o.name, unittest.equals('foo'));
1231 unittest.expect(o.number, unittest.equals(42)); 1231 unittest.expect(o.number, unittest.equals(42));
1232 checkUnnamed1092(o.options); 1232 checkUnnamed1176(o.options);
1233 } 1233 }
1234 buildCounterEnumValue--; 1234 buildCounterEnumValue--;
1235 } 1235 }
1236 1236
1237 core.int buildCounterExperimental = 0; 1237 core.int buildCounterExperimental = 0;
1238 buildExperimental() { 1238 buildExperimental() {
1239 var o = new api.Experimental(); 1239 var o = new api.Experimental();
1240 buildCounterExperimental++; 1240 buildCounterExperimental++;
1241 if (buildCounterExperimental < 3) { 1241 if (buildCounterExperimental < 3) {
1242 o.authorization = buildAuthorizationConfig(); 1242 o.authorization = buildAuthorizationConfig();
(...skipping 28 matching lines...) Expand all
1271 buildCounterExpr++; 1271 buildCounterExpr++;
1272 if (buildCounterExpr < 3) { 1272 if (buildCounterExpr < 3) {
1273 unittest.expect(o.description, unittest.equals('foo')); 1273 unittest.expect(o.description, unittest.equals('foo'));
1274 unittest.expect(o.expression, unittest.equals('foo')); 1274 unittest.expect(o.expression, unittest.equals('foo'));
1275 unittest.expect(o.location, unittest.equals('foo')); 1275 unittest.expect(o.location, unittest.equals('foo'));
1276 unittest.expect(o.title, unittest.equals('foo')); 1276 unittest.expect(o.title, unittest.equals('foo'));
1277 } 1277 }
1278 buildCounterExpr--; 1278 buildCounterExpr--;
1279 } 1279 }
1280 1280
1281 buildUnnamed1093() { 1281 buildUnnamed1177() {
1282 var o = new core.List<api.Option>(); 1282 var o = new core.List<api.Option>();
1283 o.add(buildOption()); 1283 o.add(buildOption());
1284 o.add(buildOption()); 1284 o.add(buildOption());
1285 return o; 1285 return o;
1286 } 1286 }
1287 1287
1288 checkUnnamed1093(core.List<api.Option> o) { 1288 checkUnnamed1177(core.List<api.Option> o) {
1289 unittest.expect(o, unittest.hasLength(2)); 1289 unittest.expect(o, unittest.hasLength(2));
1290 checkOption(o[0]); 1290 checkOption(o[0]);
1291 checkOption(o[1]); 1291 checkOption(o[1]);
1292 } 1292 }
1293 1293
1294 core.int buildCounterField = 0; 1294 core.int buildCounterField = 0;
1295 buildField() { 1295 buildField() {
1296 var o = new api.Field(); 1296 var o = new api.Field();
1297 buildCounterField++; 1297 buildCounterField++;
1298 if (buildCounterField < 3) { 1298 if (buildCounterField < 3) {
1299 o.cardinality = "foo"; 1299 o.cardinality = "foo";
1300 o.defaultValue = "foo"; 1300 o.defaultValue = "foo";
1301 o.jsonName = "foo"; 1301 o.jsonName = "foo";
1302 o.kind = "foo"; 1302 o.kind = "foo";
1303 o.name = "foo"; 1303 o.name = "foo";
1304 o.number = 42; 1304 o.number = 42;
1305 o.oneofIndex = 42; 1305 o.oneofIndex = 42;
1306 o.options = buildUnnamed1093(); 1306 o.options = buildUnnamed1177();
1307 o.packed = true; 1307 o.packed = true;
1308 o.typeUrl = "foo"; 1308 o.typeUrl = "foo";
1309 } 1309 }
1310 buildCounterField--; 1310 buildCounterField--;
1311 return o; 1311 return o;
1312 } 1312 }
1313 1313
1314 checkField(api.Field o) { 1314 checkField(api.Field o) {
1315 buildCounterField++; 1315 buildCounterField++;
1316 if (buildCounterField < 3) { 1316 if (buildCounterField < 3) {
1317 unittest.expect(o.cardinality, unittest.equals('foo')); 1317 unittest.expect(o.cardinality, unittest.equals('foo'));
1318 unittest.expect(o.defaultValue, unittest.equals('foo')); 1318 unittest.expect(o.defaultValue, unittest.equals('foo'));
1319 unittest.expect(o.jsonName, unittest.equals('foo')); 1319 unittest.expect(o.jsonName, unittest.equals('foo'));
1320 unittest.expect(o.kind, unittest.equals('foo')); 1320 unittest.expect(o.kind, unittest.equals('foo'));
1321 unittest.expect(o.name, unittest.equals('foo')); 1321 unittest.expect(o.name, unittest.equals('foo'));
1322 unittest.expect(o.number, unittest.equals(42)); 1322 unittest.expect(o.number, unittest.equals(42));
1323 unittest.expect(o.oneofIndex, unittest.equals(42)); 1323 unittest.expect(o.oneofIndex, unittest.equals(42));
1324 checkUnnamed1093(o.options); 1324 checkUnnamed1177(o.options);
1325 unittest.expect(o.packed, unittest.isTrue); 1325 unittest.expect(o.packed, unittest.isTrue);
1326 unittest.expect(o.typeUrl, unittest.equals('foo')); 1326 unittest.expect(o.typeUrl, unittest.equals('foo'));
1327 } 1327 }
1328 buildCounterField--; 1328 buildCounterField--;
1329 } 1329 }
1330 1330
1331 buildUnnamed1094() { 1331 buildUnnamed1178() {
1332 var o = new core.List<core.String>(); 1332 var o = new core.List<core.String>();
1333 o.add("foo"); 1333 o.add("foo");
1334 o.add("foo"); 1334 o.add("foo");
1335 return o; 1335 return o;
1336 } 1336 }
1337 1337
1338 checkUnnamed1094(core.List<core.String> o) { 1338 checkUnnamed1178(core.List<core.String> o) {
1339 unittest.expect(o, unittest.hasLength(2)); 1339 unittest.expect(o, unittest.hasLength(2));
1340 unittest.expect(o[0], unittest.equals('foo')); 1340 unittest.expect(o[0], unittest.equals('foo'));
1341 unittest.expect(o[1], unittest.equals('foo')); 1341 unittest.expect(o[1], unittest.equals('foo'));
1342 } 1342 }
1343 1343
1344 core.int buildCounterFlowOperationMetadata = 0; 1344 core.int buildCounterFlowOperationMetadata = 0;
1345 buildFlowOperationMetadata() { 1345 buildFlowOperationMetadata() {
1346 var o = new api.FlowOperationMetadata(); 1346 var o = new api.FlowOperationMetadata();
1347 buildCounterFlowOperationMetadata++; 1347 buildCounterFlowOperationMetadata++;
1348 if (buildCounterFlowOperationMetadata < 3) { 1348 if (buildCounterFlowOperationMetadata < 3) {
1349 o.cancelState = "foo"; 1349 o.cancelState = "foo";
1350 o.deadline = "foo"; 1350 o.deadline = "foo";
1351 o.flowName = "foo"; 1351 o.flowName = "foo";
1352 o.resourceNames = buildUnnamed1094(); 1352 o.resourceNames = buildUnnamed1178();
1353 o.startTime = "foo"; 1353 o.startTime = "foo";
1354 } 1354 }
1355 buildCounterFlowOperationMetadata--; 1355 buildCounterFlowOperationMetadata--;
1356 return o; 1356 return o;
1357 } 1357 }
1358 1358
1359 checkFlowOperationMetadata(api.FlowOperationMetadata o) { 1359 checkFlowOperationMetadata(api.FlowOperationMetadata o) {
1360 buildCounterFlowOperationMetadata++; 1360 buildCounterFlowOperationMetadata++;
1361 if (buildCounterFlowOperationMetadata < 3) { 1361 if (buildCounterFlowOperationMetadata < 3) {
1362 unittest.expect(o.cancelState, unittest.equals('foo')); 1362 unittest.expect(o.cancelState, unittest.equals('foo'));
1363 unittest.expect(o.deadline, unittest.equals('foo')); 1363 unittest.expect(o.deadline, unittest.equals('foo'));
1364 unittest.expect(o.flowName, unittest.equals('foo')); 1364 unittest.expect(o.flowName, unittest.equals('foo'));
1365 checkUnnamed1094(o.resourceNames); 1365 checkUnnamed1178(o.resourceNames);
1366 unittest.expect(o.startTime, unittest.equals('foo')); 1366 unittest.expect(o.startTime, unittest.equals('foo'));
1367 } 1367 }
1368 buildCounterFlowOperationMetadata--; 1368 buildCounterFlowOperationMetadata--;
1369 } 1369 }
1370 1370
1371 buildUnnamed1095() { 1371 buildUnnamed1179() {
1372 var o = new core.Map<core.String, core.Object>(); 1372 var o = new core.Map<core.String, core.Object>();
1373 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1373 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1374 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1374 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1375 return o; 1375 return o;
1376 } 1376 }
1377 1377
1378 checkUnnamed1095(core.Map<core.String, core.Object> o) { 1378 checkUnnamed1179(core.Map<core.String, core.Object> o) {
1379 unittest.expect(o, unittest.hasLength(2)); 1379 unittest.expect(o, unittest.hasLength(2));
1380 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); 1380 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
1381 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); 1381 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
1382 } 1382 }
1383 1383
1384 buildUnnamed1096() { 1384 buildUnnamed1180() {
1385 var o = new core.Map<core.String, core.Object>(); 1385 var o = new core.Map<core.String, core.Object>();
1386 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1386 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1387 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1387 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1388 return o; 1388 return o;
1389 } 1389 }
1390 1390
1391 checkUnnamed1096(core.Map<core.String, core.Object> o) { 1391 checkUnnamed1180(core.Map<core.String, core.Object> o) {
1392 unittest.expect(o, unittest.hasLength(2)); 1392 unittest.expect(o, unittest.hasLength(2));
1393 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); 1393 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
1394 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); 1394 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
1395 } 1395 }
1396 1396
1397 core.int buildCounterGenerateConfigReportRequest = 0; 1397 core.int buildCounterGenerateConfigReportRequest = 0;
1398 buildGenerateConfigReportRequest() { 1398 buildGenerateConfigReportRequest() {
1399 var o = new api.GenerateConfigReportRequest(); 1399 var o = new api.GenerateConfigReportRequest();
1400 buildCounterGenerateConfigReportRequest++; 1400 buildCounterGenerateConfigReportRequest++;
1401 if (buildCounterGenerateConfigReportRequest < 3) { 1401 if (buildCounterGenerateConfigReportRequest < 3) {
1402 o.newConfig = buildUnnamed1095(); 1402 o.newConfig = buildUnnamed1179();
1403 o.oldConfig = buildUnnamed1096(); 1403 o.oldConfig = buildUnnamed1180();
1404 } 1404 }
1405 buildCounterGenerateConfigReportRequest--; 1405 buildCounterGenerateConfigReportRequest--;
1406 return o; 1406 return o;
1407 } 1407 }
1408 1408
1409 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { 1409 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
1410 buildCounterGenerateConfigReportRequest++; 1410 buildCounterGenerateConfigReportRequest++;
1411 if (buildCounterGenerateConfigReportRequest < 3) { 1411 if (buildCounterGenerateConfigReportRequest < 3) {
1412 checkUnnamed1095(o.newConfig); 1412 checkUnnamed1179(o.newConfig);
1413 checkUnnamed1096(o.oldConfig); 1413 checkUnnamed1180(o.oldConfig);
1414 } 1414 }
1415 buildCounterGenerateConfigReportRequest--; 1415 buildCounterGenerateConfigReportRequest--;
1416 } 1416 }
1417 1417
1418 buildUnnamed1097() { 1418 buildUnnamed1181() {
1419 var o = new core.List<api.ChangeReport>(); 1419 var o = new core.List<api.ChangeReport>();
1420 o.add(buildChangeReport()); 1420 o.add(buildChangeReport());
1421 o.add(buildChangeReport()); 1421 o.add(buildChangeReport());
1422 return o; 1422 return o;
1423 } 1423 }
1424 1424
1425 checkUnnamed1097(core.List<api.ChangeReport> o) { 1425 checkUnnamed1181(core.List<api.ChangeReport> o) {
1426 unittest.expect(o, unittest.hasLength(2)); 1426 unittest.expect(o, unittest.hasLength(2));
1427 checkChangeReport(o[0]); 1427 checkChangeReport(o[0]);
1428 checkChangeReport(o[1]); 1428 checkChangeReport(o[1]);
1429 } 1429 }
1430 1430
1431 buildUnnamed1098() { 1431 buildUnnamed1182() {
1432 var o = new core.List<api.Diagnostic>(); 1432 var o = new core.List<api.Diagnostic>();
1433 o.add(buildDiagnostic()); 1433 o.add(buildDiagnostic());
1434 o.add(buildDiagnostic()); 1434 o.add(buildDiagnostic());
1435 return o; 1435 return o;
1436 } 1436 }
1437 1437
1438 checkUnnamed1098(core.List<api.Diagnostic> o) { 1438 checkUnnamed1182(core.List<api.Diagnostic> o) {
1439 unittest.expect(o, unittest.hasLength(2)); 1439 unittest.expect(o, unittest.hasLength(2));
1440 checkDiagnostic(o[0]); 1440 checkDiagnostic(o[0]);
1441 checkDiagnostic(o[1]); 1441 checkDiagnostic(o[1]);
1442 } 1442 }
1443 1443
1444 core.int buildCounterGenerateConfigReportResponse = 0; 1444 core.int buildCounterGenerateConfigReportResponse = 0;
1445 buildGenerateConfigReportResponse() { 1445 buildGenerateConfigReportResponse() {
1446 var o = new api.GenerateConfigReportResponse(); 1446 var o = new api.GenerateConfigReportResponse();
1447 buildCounterGenerateConfigReportResponse++; 1447 buildCounterGenerateConfigReportResponse++;
1448 if (buildCounterGenerateConfigReportResponse < 3) { 1448 if (buildCounterGenerateConfigReportResponse < 3) {
1449 o.changeReports = buildUnnamed1097(); 1449 o.changeReports = buildUnnamed1181();
1450 o.diagnostics = buildUnnamed1098(); 1450 o.diagnostics = buildUnnamed1182();
1451 o.id = "foo"; 1451 o.id = "foo";
1452 o.serviceName = "foo"; 1452 o.serviceName = "foo";
1453 } 1453 }
1454 buildCounterGenerateConfigReportResponse--; 1454 buildCounterGenerateConfigReportResponse--;
1455 return o; 1455 return o;
1456 } 1456 }
1457 1457
1458 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { 1458 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
1459 buildCounterGenerateConfigReportResponse++; 1459 buildCounterGenerateConfigReportResponse++;
1460 if (buildCounterGenerateConfigReportResponse < 3) { 1460 if (buildCounterGenerateConfigReportResponse < 3) {
1461 checkUnnamed1097(o.changeReports); 1461 checkUnnamed1181(o.changeReports);
1462 checkUnnamed1098(o.diagnostics); 1462 checkUnnamed1182(o.diagnostics);
1463 unittest.expect(o.id, unittest.equals('foo')); 1463 unittest.expect(o.id, unittest.equals('foo'));
1464 unittest.expect(o.serviceName, unittest.equals('foo')); 1464 unittest.expect(o.serviceName, unittest.equals('foo'));
1465 } 1465 }
1466 buildCounterGenerateConfigReportResponse--; 1466 buildCounterGenerateConfigReportResponse--;
1467 } 1467 }
1468 1468
1469 core.int buildCounterGetIamPolicyRequest = 0; 1469 core.int buildCounterGetIamPolicyRequest = 0;
1470 buildGetIamPolicyRequest() { 1470 buildGetIamPolicyRequest() {
1471 var o = new api.GetIamPolicyRequest(); 1471 var o = new api.GetIamPolicyRequest();
1472 buildCounterGetIamPolicyRequest++; 1472 buildCounterGetIamPolicyRequest++;
1473 if (buildCounterGetIamPolicyRequest < 3) { 1473 if (buildCounterGetIamPolicyRequest < 3) {
1474 } 1474 }
1475 buildCounterGetIamPolicyRequest--; 1475 buildCounterGetIamPolicyRequest--;
1476 return o; 1476 return o;
1477 } 1477 }
1478 1478
1479 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { 1479 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
1480 buildCounterGetIamPolicyRequest++; 1480 buildCounterGetIamPolicyRequest++;
1481 if (buildCounterGetIamPolicyRequest < 3) { 1481 if (buildCounterGetIamPolicyRequest < 3) {
1482 } 1482 }
1483 buildCounterGetIamPolicyRequest--; 1483 buildCounterGetIamPolicyRequest--;
1484 } 1484 }
1485 1485
1486 buildUnnamed1099() { 1486 buildUnnamed1183() {
1487 var o = new core.List<api.HttpRule>(); 1487 var o = new core.List<api.HttpRule>();
1488 o.add(buildHttpRule()); 1488 o.add(buildHttpRule());
1489 o.add(buildHttpRule()); 1489 o.add(buildHttpRule());
1490 return o; 1490 return o;
1491 } 1491 }
1492 1492
1493 checkUnnamed1099(core.List<api.HttpRule> o) { 1493 checkUnnamed1183(core.List<api.HttpRule> o) {
1494 unittest.expect(o, unittest.hasLength(2)); 1494 unittest.expect(o, unittest.hasLength(2));
1495 checkHttpRule(o[0]); 1495 checkHttpRule(o[0]);
1496 checkHttpRule(o[1]); 1496 checkHttpRule(o[1]);
1497 } 1497 }
1498 1498
1499 core.int buildCounterHttp = 0; 1499 core.int buildCounterHttp = 0;
1500 buildHttp() { 1500 buildHttp() {
1501 var o = new api.Http(); 1501 var o = new api.Http();
1502 buildCounterHttp++; 1502 buildCounterHttp++;
1503 if (buildCounterHttp < 3) { 1503 if (buildCounterHttp < 3) {
1504 o.fullyDecodeReservedExpansion = true; 1504 o.fullyDecodeReservedExpansion = true;
1505 o.rules = buildUnnamed1099(); 1505 o.rules = buildUnnamed1183();
1506 } 1506 }
1507 buildCounterHttp--; 1507 buildCounterHttp--;
1508 return o; 1508 return o;
1509 } 1509 }
1510 1510
1511 checkHttp(api.Http o) { 1511 checkHttp(api.Http o) {
1512 buildCounterHttp++; 1512 buildCounterHttp++;
1513 if (buildCounterHttp < 3) { 1513 if (buildCounterHttp < 3) {
1514 unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue); 1514 unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
1515 checkUnnamed1099(o.rules); 1515 checkUnnamed1183(o.rules);
1516 } 1516 }
1517 buildCounterHttp--; 1517 buildCounterHttp--;
1518 } 1518 }
1519 1519
1520 buildUnnamed1100() { 1520 buildUnnamed1184() {
1521 var o = new core.List<api.HttpRule>(); 1521 var o = new core.List<api.HttpRule>();
1522 o.add(buildHttpRule()); 1522 o.add(buildHttpRule());
1523 o.add(buildHttpRule()); 1523 o.add(buildHttpRule());
1524 return o; 1524 return o;
1525 } 1525 }
1526 1526
1527 checkUnnamed1100(core.List<api.HttpRule> o) { 1527 checkUnnamed1184(core.List<api.HttpRule> o) {
1528 unittest.expect(o, unittest.hasLength(2)); 1528 unittest.expect(o, unittest.hasLength(2));
1529 checkHttpRule(o[0]); 1529 checkHttpRule(o[0]);
1530 checkHttpRule(o[1]); 1530 checkHttpRule(o[1]);
1531 } 1531 }
1532 1532
1533 core.int buildCounterHttpRule = 0; 1533 core.int buildCounterHttpRule = 0;
1534 buildHttpRule() { 1534 buildHttpRule() {
1535 var o = new api.HttpRule(); 1535 var o = new api.HttpRule();
1536 buildCounterHttpRule++; 1536 buildCounterHttpRule++;
1537 if (buildCounterHttpRule < 3) { 1537 if (buildCounterHttpRule < 3) {
1538 o.additionalBindings = buildUnnamed1100(); 1538 o.additionalBindings = buildUnnamed1184();
1539 o.body = "foo"; 1539 o.body = "foo";
1540 o.custom = buildCustomHttpPattern(); 1540 o.custom = buildCustomHttpPattern();
1541 o.delete = "foo"; 1541 o.delete = "foo";
1542 o.get = "foo"; 1542 o.get = "foo";
1543 o.mediaDownload = buildMediaDownload(); 1543 o.mediaDownload = buildMediaDownload();
1544 o.mediaUpload = buildMediaUpload(); 1544 o.mediaUpload = buildMediaUpload();
1545 o.patch = "foo"; 1545 o.patch = "foo";
1546 o.post = "foo"; 1546 o.post = "foo";
1547 o.put = "foo"; 1547 o.put = "foo";
1548 o.responseBody = "foo"; 1548 o.responseBody = "foo";
1549 o.restCollection = "foo"; 1549 o.restCollection = "foo";
1550 o.restMethodName = "foo"; 1550 o.restMethodName = "foo";
1551 o.selector = "foo"; 1551 o.selector = "foo";
1552 } 1552 }
1553 buildCounterHttpRule--; 1553 buildCounterHttpRule--;
1554 return o; 1554 return o;
1555 } 1555 }
1556 1556
1557 checkHttpRule(api.HttpRule o) { 1557 checkHttpRule(api.HttpRule o) {
1558 buildCounterHttpRule++; 1558 buildCounterHttpRule++;
1559 if (buildCounterHttpRule < 3) { 1559 if (buildCounterHttpRule < 3) {
1560 checkUnnamed1100(o.additionalBindings); 1560 checkUnnamed1184(o.additionalBindings);
1561 unittest.expect(o.body, unittest.equals('foo')); 1561 unittest.expect(o.body, unittest.equals('foo'));
1562 checkCustomHttpPattern(o.custom); 1562 checkCustomHttpPattern(o.custom);
1563 unittest.expect(o.delete, unittest.equals('foo')); 1563 unittest.expect(o.delete, unittest.equals('foo'));
1564 unittest.expect(o.get, unittest.equals('foo')); 1564 unittest.expect(o.get, unittest.equals('foo'));
1565 checkMediaDownload(o.mediaDownload); 1565 checkMediaDownload(o.mediaDownload);
1566 checkMediaUpload(o.mediaUpload); 1566 checkMediaUpload(o.mediaUpload);
1567 unittest.expect(o.patch, unittest.equals('foo')); 1567 unittest.expect(o.patch, unittest.equals('foo'));
1568 unittest.expect(o.post, unittest.equals('foo')); 1568 unittest.expect(o.post, unittest.equals('foo'));
1569 unittest.expect(o.put, unittest.equals('foo')); 1569 unittest.expect(o.put, unittest.equals('foo'));
1570 unittest.expect(o.responseBody, unittest.equals('foo')); 1570 unittest.expect(o.responseBody, unittest.equals('foo'));
(...skipping 20 matching lines...) Expand all
1591 checkLabelDescriptor(api.LabelDescriptor o) { 1591 checkLabelDescriptor(api.LabelDescriptor o) {
1592 buildCounterLabelDescriptor++; 1592 buildCounterLabelDescriptor++;
1593 if (buildCounterLabelDescriptor < 3) { 1593 if (buildCounterLabelDescriptor < 3) {
1594 unittest.expect(o.description, unittest.equals('foo')); 1594 unittest.expect(o.description, unittest.equals('foo'));
1595 unittest.expect(o.key, unittest.equals('foo')); 1595 unittest.expect(o.key, unittest.equals('foo'));
1596 unittest.expect(o.valueType, unittest.equals('foo')); 1596 unittest.expect(o.valueType, unittest.equals('foo'));
1597 } 1597 }
1598 buildCounterLabelDescriptor--; 1598 buildCounterLabelDescriptor--;
1599 } 1599 }
1600 1600
1601 buildUnnamed1101() { 1601 buildUnnamed1185() {
1602 var o = new core.List<api.Operation>(); 1602 var o = new core.List<api.Operation>();
1603 o.add(buildOperation()); 1603 o.add(buildOperation());
1604 o.add(buildOperation()); 1604 o.add(buildOperation());
1605 return o; 1605 return o;
1606 } 1606 }
1607 1607
1608 checkUnnamed1101(core.List<api.Operation> o) { 1608 checkUnnamed1185(core.List<api.Operation> o) {
1609 unittest.expect(o, unittest.hasLength(2)); 1609 unittest.expect(o, unittest.hasLength(2));
1610 checkOperation(o[0]); 1610 checkOperation(o[0]);
1611 checkOperation(o[1]); 1611 checkOperation(o[1]);
1612 } 1612 }
1613 1613
1614 core.int buildCounterListOperationsResponse = 0; 1614 core.int buildCounterListOperationsResponse = 0;
1615 buildListOperationsResponse() { 1615 buildListOperationsResponse() {
1616 var o = new api.ListOperationsResponse(); 1616 var o = new api.ListOperationsResponse();
1617 buildCounterListOperationsResponse++; 1617 buildCounterListOperationsResponse++;
1618 if (buildCounterListOperationsResponse < 3) { 1618 if (buildCounterListOperationsResponse < 3) {
1619 o.nextPageToken = "foo"; 1619 o.nextPageToken = "foo";
1620 o.operations = buildUnnamed1101(); 1620 o.operations = buildUnnamed1185();
1621 } 1621 }
1622 buildCounterListOperationsResponse--; 1622 buildCounterListOperationsResponse--;
1623 return o; 1623 return o;
1624 } 1624 }
1625 1625
1626 checkListOperationsResponse(api.ListOperationsResponse o) { 1626 checkListOperationsResponse(api.ListOperationsResponse o) {
1627 buildCounterListOperationsResponse++; 1627 buildCounterListOperationsResponse++;
1628 if (buildCounterListOperationsResponse < 3) { 1628 if (buildCounterListOperationsResponse < 3) {
1629 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1629 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1630 checkUnnamed1101(o.operations); 1630 checkUnnamed1185(o.operations);
1631 } 1631 }
1632 buildCounterListOperationsResponse--; 1632 buildCounterListOperationsResponse--;
1633 } 1633 }
1634 1634
1635 buildUnnamed1102() { 1635 buildUnnamed1186() {
1636 var o = new core.List<api.Service>(); 1636 var o = new core.List<api.Service>();
1637 o.add(buildService()); 1637 o.add(buildService());
1638 o.add(buildService()); 1638 o.add(buildService());
1639 return o; 1639 return o;
1640 } 1640 }
1641 1641
1642 checkUnnamed1102(core.List<api.Service> o) { 1642 checkUnnamed1186(core.List<api.Service> o) {
1643 unittest.expect(o, unittest.hasLength(2)); 1643 unittest.expect(o, unittest.hasLength(2));
1644 checkService(o[0]); 1644 checkService(o[0]);
1645 checkService(o[1]); 1645 checkService(o[1]);
1646 } 1646 }
1647 1647
1648 core.int buildCounterListServiceConfigsResponse = 0; 1648 core.int buildCounterListServiceConfigsResponse = 0;
1649 buildListServiceConfigsResponse() { 1649 buildListServiceConfigsResponse() {
1650 var o = new api.ListServiceConfigsResponse(); 1650 var o = new api.ListServiceConfigsResponse();
1651 buildCounterListServiceConfigsResponse++; 1651 buildCounterListServiceConfigsResponse++;
1652 if (buildCounterListServiceConfigsResponse < 3) { 1652 if (buildCounterListServiceConfigsResponse < 3) {
1653 o.nextPageToken = "foo"; 1653 o.nextPageToken = "foo";
1654 o.serviceConfigs = buildUnnamed1102(); 1654 o.serviceConfigs = buildUnnamed1186();
1655 } 1655 }
1656 buildCounterListServiceConfigsResponse--; 1656 buildCounterListServiceConfigsResponse--;
1657 return o; 1657 return o;
1658 } 1658 }
1659 1659
1660 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { 1660 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) {
1661 buildCounterListServiceConfigsResponse++; 1661 buildCounterListServiceConfigsResponse++;
1662 if (buildCounterListServiceConfigsResponse < 3) { 1662 if (buildCounterListServiceConfigsResponse < 3) {
1663 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1663 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1664 checkUnnamed1102(o.serviceConfigs); 1664 checkUnnamed1186(o.serviceConfigs);
1665 } 1665 }
1666 buildCounterListServiceConfigsResponse--; 1666 buildCounterListServiceConfigsResponse--;
1667 } 1667 }
1668 1668
1669 buildUnnamed1103() { 1669 buildUnnamed1187() {
1670 var o = new core.List<api.Rollout>(); 1670 var o = new core.List<api.Rollout>();
1671 o.add(buildRollout()); 1671 o.add(buildRollout());
1672 o.add(buildRollout()); 1672 o.add(buildRollout());
1673 return o; 1673 return o;
1674 } 1674 }
1675 1675
1676 checkUnnamed1103(core.List<api.Rollout> o) { 1676 checkUnnamed1187(core.List<api.Rollout> o) {
1677 unittest.expect(o, unittest.hasLength(2)); 1677 unittest.expect(o, unittest.hasLength(2));
1678 checkRollout(o[0]); 1678 checkRollout(o[0]);
1679 checkRollout(o[1]); 1679 checkRollout(o[1]);
1680 } 1680 }
1681 1681
1682 core.int buildCounterListServiceRolloutsResponse = 0; 1682 core.int buildCounterListServiceRolloutsResponse = 0;
1683 buildListServiceRolloutsResponse() { 1683 buildListServiceRolloutsResponse() {
1684 var o = new api.ListServiceRolloutsResponse(); 1684 var o = new api.ListServiceRolloutsResponse();
1685 buildCounterListServiceRolloutsResponse++; 1685 buildCounterListServiceRolloutsResponse++;
1686 if (buildCounterListServiceRolloutsResponse < 3) { 1686 if (buildCounterListServiceRolloutsResponse < 3) {
1687 o.nextPageToken = "foo"; 1687 o.nextPageToken = "foo";
1688 o.rollouts = buildUnnamed1103(); 1688 o.rollouts = buildUnnamed1187();
1689 } 1689 }
1690 buildCounterListServiceRolloutsResponse--; 1690 buildCounterListServiceRolloutsResponse--;
1691 return o; 1691 return o;
1692 } 1692 }
1693 1693
1694 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { 1694 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) {
1695 buildCounterListServiceRolloutsResponse++; 1695 buildCounterListServiceRolloutsResponse++;
1696 if (buildCounterListServiceRolloutsResponse < 3) { 1696 if (buildCounterListServiceRolloutsResponse < 3) {
1697 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1697 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1698 checkUnnamed1103(o.rollouts); 1698 checkUnnamed1187(o.rollouts);
1699 } 1699 }
1700 buildCounterListServiceRolloutsResponse--; 1700 buildCounterListServiceRolloutsResponse--;
1701 } 1701 }
1702 1702
1703 buildUnnamed1104() { 1703 buildUnnamed1188() {
1704 var o = new core.List<api.ManagedService>(); 1704 var o = new core.List<api.ManagedService>();
1705 o.add(buildManagedService()); 1705 o.add(buildManagedService());
1706 o.add(buildManagedService()); 1706 o.add(buildManagedService());
1707 return o; 1707 return o;
1708 } 1708 }
1709 1709
1710 checkUnnamed1104(core.List<api.ManagedService> o) { 1710 checkUnnamed1188(core.List<api.ManagedService> o) {
1711 unittest.expect(o, unittest.hasLength(2)); 1711 unittest.expect(o, unittest.hasLength(2));
1712 checkManagedService(o[0]); 1712 checkManagedService(o[0]);
1713 checkManagedService(o[1]); 1713 checkManagedService(o[1]);
1714 } 1714 }
1715 1715
1716 core.int buildCounterListServicesResponse = 0; 1716 core.int buildCounterListServicesResponse = 0;
1717 buildListServicesResponse() { 1717 buildListServicesResponse() {
1718 var o = new api.ListServicesResponse(); 1718 var o = new api.ListServicesResponse();
1719 buildCounterListServicesResponse++; 1719 buildCounterListServicesResponse++;
1720 if (buildCounterListServicesResponse < 3) { 1720 if (buildCounterListServicesResponse < 3) {
1721 o.nextPageToken = "foo"; 1721 o.nextPageToken = "foo";
1722 o.services = buildUnnamed1104(); 1722 o.services = buildUnnamed1188();
1723 } 1723 }
1724 buildCounterListServicesResponse--; 1724 buildCounterListServicesResponse--;
1725 return o; 1725 return o;
1726 } 1726 }
1727 1727
1728 checkListServicesResponse(api.ListServicesResponse o) { 1728 checkListServicesResponse(api.ListServicesResponse o) {
1729 buildCounterListServicesResponse++; 1729 buildCounterListServicesResponse++;
1730 if (buildCounterListServicesResponse < 3) { 1730 if (buildCounterListServicesResponse < 3) {
1731 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1731 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1732 checkUnnamed1104(o.services); 1732 checkUnnamed1188(o.services);
1733 } 1733 }
1734 buildCounterListServicesResponse--; 1734 buildCounterListServicesResponse--;
1735 } 1735 }
1736 1736
1737 core.int buildCounterLogConfig = 0; 1737 core.int buildCounterLogConfig = 0;
1738 buildLogConfig() { 1738 buildLogConfig() {
1739 var o = new api.LogConfig(); 1739 var o = new api.LogConfig();
1740 buildCounterLogConfig++; 1740 buildCounterLogConfig++;
1741 if (buildCounterLogConfig < 3) { 1741 if (buildCounterLogConfig < 3) {
1742 o.cloudAudit = buildCloudAuditOptions(); 1742 o.cloudAudit = buildCloudAuditOptions();
1743 o.counter = buildCounterOptions(); 1743 o.counter = buildCounterOptions();
1744 o.dataAccess = buildDataAccessOptions(); 1744 o.dataAccess = buildDataAccessOptions();
1745 } 1745 }
1746 buildCounterLogConfig--; 1746 buildCounterLogConfig--;
1747 return o; 1747 return o;
1748 } 1748 }
1749 1749
1750 checkLogConfig(api.LogConfig o) { 1750 checkLogConfig(api.LogConfig o) {
1751 buildCounterLogConfig++; 1751 buildCounterLogConfig++;
1752 if (buildCounterLogConfig < 3) { 1752 if (buildCounterLogConfig < 3) {
1753 checkCloudAuditOptions(o.cloudAudit); 1753 checkCloudAuditOptions(o.cloudAudit);
1754 checkCounterOptions(o.counter); 1754 checkCounterOptions(o.counter);
1755 checkDataAccessOptions(o.dataAccess); 1755 checkDataAccessOptions(o.dataAccess);
1756 } 1756 }
1757 buildCounterLogConfig--; 1757 buildCounterLogConfig--;
1758 } 1758 }
1759 1759
1760 buildUnnamed1105() { 1760 buildUnnamed1189() {
1761 var o = new core.List<api.LabelDescriptor>(); 1761 var o = new core.List<api.LabelDescriptor>();
1762 o.add(buildLabelDescriptor()); 1762 o.add(buildLabelDescriptor());
1763 o.add(buildLabelDescriptor()); 1763 o.add(buildLabelDescriptor());
1764 return o; 1764 return o;
1765 } 1765 }
1766 1766
1767 checkUnnamed1105(core.List<api.LabelDescriptor> o) { 1767 checkUnnamed1189(core.List<api.LabelDescriptor> o) {
1768 unittest.expect(o, unittest.hasLength(2)); 1768 unittest.expect(o, unittest.hasLength(2));
1769 checkLabelDescriptor(o[0]); 1769 checkLabelDescriptor(o[0]);
1770 checkLabelDescriptor(o[1]); 1770 checkLabelDescriptor(o[1]);
1771 } 1771 }
1772 1772
1773 core.int buildCounterLogDescriptor = 0; 1773 core.int buildCounterLogDescriptor = 0;
1774 buildLogDescriptor() { 1774 buildLogDescriptor() {
1775 var o = new api.LogDescriptor(); 1775 var o = new api.LogDescriptor();
1776 buildCounterLogDescriptor++; 1776 buildCounterLogDescriptor++;
1777 if (buildCounterLogDescriptor < 3) { 1777 if (buildCounterLogDescriptor < 3) {
1778 o.description = "foo"; 1778 o.description = "foo";
1779 o.displayName = "foo"; 1779 o.displayName = "foo";
1780 o.labels = buildUnnamed1105(); 1780 o.labels = buildUnnamed1189();
1781 o.name = "foo"; 1781 o.name = "foo";
1782 } 1782 }
1783 buildCounterLogDescriptor--; 1783 buildCounterLogDescriptor--;
1784 return o; 1784 return o;
1785 } 1785 }
1786 1786
1787 checkLogDescriptor(api.LogDescriptor o) { 1787 checkLogDescriptor(api.LogDescriptor o) {
1788 buildCounterLogDescriptor++; 1788 buildCounterLogDescriptor++;
1789 if (buildCounterLogDescriptor < 3) { 1789 if (buildCounterLogDescriptor < 3) {
1790 unittest.expect(o.description, unittest.equals('foo')); 1790 unittest.expect(o.description, unittest.equals('foo'));
1791 unittest.expect(o.displayName, unittest.equals('foo')); 1791 unittest.expect(o.displayName, unittest.equals('foo'));
1792 checkUnnamed1105(o.labels); 1792 checkUnnamed1189(o.labels);
1793 unittest.expect(o.name, unittest.equals('foo')); 1793 unittest.expect(o.name, unittest.equals('foo'));
1794 } 1794 }
1795 buildCounterLogDescriptor--; 1795 buildCounterLogDescriptor--;
1796 } 1796 }
1797 1797
1798 buildUnnamed1106() { 1798 buildUnnamed1190() {
1799 var o = new core.List<api.LoggingDestination>(); 1799 var o = new core.List<api.LoggingDestination>();
1800 o.add(buildLoggingDestination()); 1800 o.add(buildLoggingDestination());
1801 o.add(buildLoggingDestination()); 1801 o.add(buildLoggingDestination());
1802 return o; 1802 return o;
1803 } 1803 }
1804 1804
1805 checkUnnamed1106(core.List<api.LoggingDestination> o) { 1805 checkUnnamed1190(core.List<api.LoggingDestination> o) {
1806 unittest.expect(o, unittest.hasLength(2)); 1806 unittest.expect(o, unittest.hasLength(2));
1807 checkLoggingDestination(o[0]); 1807 checkLoggingDestination(o[0]);
1808 checkLoggingDestination(o[1]); 1808 checkLoggingDestination(o[1]);
1809 } 1809 }
1810 1810
1811 buildUnnamed1107() { 1811 buildUnnamed1191() {
1812 var o = new core.List<api.LoggingDestination>(); 1812 var o = new core.List<api.LoggingDestination>();
1813 o.add(buildLoggingDestination()); 1813 o.add(buildLoggingDestination());
1814 o.add(buildLoggingDestination()); 1814 o.add(buildLoggingDestination());
1815 return o; 1815 return o;
1816 } 1816 }
1817 1817
1818 checkUnnamed1107(core.List<api.LoggingDestination> o) { 1818 checkUnnamed1191(core.List<api.LoggingDestination> o) {
1819 unittest.expect(o, unittest.hasLength(2)); 1819 unittest.expect(o, unittest.hasLength(2));
1820 checkLoggingDestination(o[0]); 1820 checkLoggingDestination(o[0]);
1821 checkLoggingDestination(o[1]); 1821 checkLoggingDestination(o[1]);
1822 } 1822 }
1823 1823
1824 core.int buildCounterLogging = 0; 1824 core.int buildCounterLogging = 0;
1825 buildLogging() { 1825 buildLogging() {
1826 var o = new api.Logging(); 1826 var o = new api.Logging();
1827 buildCounterLogging++; 1827 buildCounterLogging++;
1828 if (buildCounterLogging < 3) { 1828 if (buildCounterLogging < 3) {
1829 o.consumerDestinations = buildUnnamed1106(); 1829 o.consumerDestinations = buildUnnamed1190();
1830 o.producerDestinations = buildUnnamed1107(); 1830 o.producerDestinations = buildUnnamed1191();
1831 } 1831 }
1832 buildCounterLogging--; 1832 buildCounterLogging--;
1833 return o; 1833 return o;
1834 } 1834 }
1835 1835
1836 checkLogging(api.Logging o) { 1836 checkLogging(api.Logging o) {
1837 buildCounterLogging++; 1837 buildCounterLogging++;
1838 if (buildCounterLogging < 3) { 1838 if (buildCounterLogging < 3) {
1839 checkUnnamed1106(o.consumerDestinations); 1839 checkUnnamed1190(o.consumerDestinations);
1840 checkUnnamed1107(o.producerDestinations); 1840 checkUnnamed1191(o.producerDestinations);
1841 } 1841 }
1842 buildCounterLogging--; 1842 buildCounterLogging--;
1843 } 1843 }
1844 1844
1845 buildUnnamed1108() { 1845 buildUnnamed1192() {
1846 var o = new core.List<core.String>(); 1846 var o = new core.List<core.String>();
1847 o.add("foo"); 1847 o.add("foo");
1848 o.add("foo"); 1848 o.add("foo");
1849 return o; 1849 return o;
1850 } 1850 }
1851 1851
1852 checkUnnamed1108(core.List<core.String> o) { 1852 checkUnnamed1192(core.List<core.String> o) {
1853 unittest.expect(o, unittest.hasLength(2)); 1853 unittest.expect(o, unittest.hasLength(2));
1854 unittest.expect(o[0], unittest.equals('foo')); 1854 unittest.expect(o[0], unittest.equals('foo'));
1855 unittest.expect(o[1], unittest.equals('foo')); 1855 unittest.expect(o[1], unittest.equals('foo'));
1856 } 1856 }
1857 1857
1858 core.int buildCounterLoggingDestination = 0; 1858 core.int buildCounterLoggingDestination = 0;
1859 buildLoggingDestination() { 1859 buildLoggingDestination() {
1860 var o = new api.LoggingDestination(); 1860 var o = new api.LoggingDestination();
1861 buildCounterLoggingDestination++; 1861 buildCounterLoggingDestination++;
1862 if (buildCounterLoggingDestination < 3) { 1862 if (buildCounterLoggingDestination < 3) {
1863 o.logs = buildUnnamed1108(); 1863 o.logs = buildUnnamed1192();
1864 o.monitoredResource = "foo"; 1864 o.monitoredResource = "foo";
1865 } 1865 }
1866 buildCounterLoggingDestination--; 1866 buildCounterLoggingDestination--;
1867 return o; 1867 return o;
1868 } 1868 }
1869 1869
1870 checkLoggingDestination(api.LoggingDestination o) { 1870 checkLoggingDestination(api.LoggingDestination o) {
1871 buildCounterLoggingDestination++; 1871 buildCounterLoggingDestination++;
1872 if (buildCounterLoggingDestination < 3) { 1872 if (buildCounterLoggingDestination < 3) {
1873 checkUnnamed1108(o.logs); 1873 checkUnnamed1192(o.logs);
1874 unittest.expect(o.monitoredResource, unittest.equals('foo')); 1874 unittest.expect(o.monitoredResource, unittest.equals('foo'));
1875 } 1875 }
1876 buildCounterLoggingDestination--; 1876 buildCounterLoggingDestination--;
1877 } 1877 }
1878 1878
1879 core.int buildCounterManagedService = 0; 1879 core.int buildCounterManagedService = 0;
1880 buildManagedService() { 1880 buildManagedService() {
1881 var o = new api.ManagedService(); 1881 var o = new api.ManagedService();
1882 buildCounterManagedService++; 1882 buildCounterManagedService++;
1883 if (buildCounterManagedService < 3) { 1883 if (buildCounterManagedService < 3) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1919 unittest.expect(o.completeNotification, unittest.isTrue); 1919 unittest.expect(o.completeNotification, unittest.isTrue);
1920 unittest.expect(o.downloadService, unittest.equals('foo')); 1920 unittest.expect(o.downloadService, unittest.equals('foo'));
1921 unittest.expect(o.dropzone, unittest.equals('foo')); 1921 unittest.expect(o.dropzone, unittest.equals('foo'));
1922 unittest.expect(o.enabled, unittest.isTrue); 1922 unittest.expect(o.enabled, unittest.isTrue);
1923 unittest.expect(o.maxDirectDownloadSize, unittest.equals('foo')); 1923 unittest.expect(o.maxDirectDownloadSize, unittest.equals('foo'));
1924 unittest.expect(o.useDirectDownload, unittest.isTrue); 1924 unittest.expect(o.useDirectDownload, unittest.isTrue);
1925 } 1925 }
1926 buildCounterMediaDownload--; 1926 buildCounterMediaDownload--;
1927 } 1927 }
1928 1928
1929 buildUnnamed1109() { 1929 buildUnnamed1193() {
1930 var o = new core.List<core.String>(); 1930 var o = new core.List<core.String>();
1931 o.add("foo"); 1931 o.add("foo");
1932 o.add("foo"); 1932 o.add("foo");
1933 return o; 1933 return o;
1934 } 1934 }
1935 1935
1936 checkUnnamed1109(core.List<core.String> o) { 1936 checkUnnamed1193(core.List<core.String> o) {
1937 unittest.expect(o, unittest.hasLength(2)); 1937 unittest.expect(o, unittest.hasLength(2));
1938 unittest.expect(o[0], unittest.equals('foo')); 1938 unittest.expect(o[0], unittest.equals('foo'));
1939 unittest.expect(o[1], unittest.equals('foo')); 1939 unittest.expect(o[1], unittest.equals('foo'));
1940 } 1940 }
1941 1941
1942 core.int buildCounterMediaUpload = 0; 1942 core.int buildCounterMediaUpload = 0;
1943 buildMediaUpload() { 1943 buildMediaUpload() {
1944 var o = new api.MediaUpload(); 1944 var o = new api.MediaUpload();
1945 buildCounterMediaUpload++; 1945 buildCounterMediaUpload++;
1946 if (buildCounterMediaUpload < 3) { 1946 if (buildCounterMediaUpload < 3) {
1947 o.completeNotification = true; 1947 o.completeNotification = true;
1948 o.dropzone = "foo"; 1948 o.dropzone = "foo";
1949 o.enabled = true; 1949 o.enabled = true;
1950 o.maxSize = "foo"; 1950 o.maxSize = "foo";
1951 o.mimeTypes = buildUnnamed1109(); 1951 o.mimeTypes = buildUnnamed1193();
1952 o.progressNotification = true; 1952 o.progressNotification = true;
1953 o.startNotification = true; 1953 o.startNotification = true;
1954 o.uploadService = "foo"; 1954 o.uploadService = "foo";
1955 } 1955 }
1956 buildCounterMediaUpload--; 1956 buildCounterMediaUpload--;
1957 return o; 1957 return o;
1958 } 1958 }
1959 1959
1960 checkMediaUpload(api.MediaUpload o) { 1960 checkMediaUpload(api.MediaUpload o) {
1961 buildCounterMediaUpload++; 1961 buildCounterMediaUpload++;
1962 if (buildCounterMediaUpload < 3) { 1962 if (buildCounterMediaUpload < 3) {
1963 unittest.expect(o.completeNotification, unittest.isTrue); 1963 unittest.expect(o.completeNotification, unittest.isTrue);
1964 unittest.expect(o.dropzone, unittest.equals('foo')); 1964 unittest.expect(o.dropzone, unittest.equals('foo'));
1965 unittest.expect(o.enabled, unittest.isTrue); 1965 unittest.expect(o.enabled, unittest.isTrue);
1966 unittest.expect(o.maxSize, unittest.equals('foo')); 1966 unittest.expect(o.maxSize, unittest.equals('foo'));
1967 checkUnnamed1109(o.mimeTypes); 1967 checkUnnamed1193(o.mimeTypes);
1968 unittest.expect(o.progressNotification, unittest.isTrue); 1968 unittest.expect(o.progressNotification, unittest.isTrue);
1969 unittest.expect(o.startNotification, unittest.isTrue); 1969 unittest.expect(o.startNotification, unittest.isTrue);
1970 unittest.expect(o.uploadService, unittest.equals('foo')); 1970 unittest.expect(o.uploadService, unittest.equals('foo'));
1971 } 1971 }
1972 buildCounterMediaUpload--; 1972 buildCounterMediaUpload--;
1973 } 1973 }
1974 1974
1975 buildUnnamed1110() { 1975 buildUnnamed1194() {
1976 var o = new core.List<api.Option>(); 1976 var o = new core.List<api.Option>();
1977 o.add(buildOption()); 1977 o.add(buildOption());
1978 o.add(buildOption()); 1978 o.add(buildOption());
1979 return o; 1979 return o;
1980 } 1980 }
1981 1981
1982 checkUnnamed1110(core.List<api.Option> o) { 1982 checkUnnamed1194(core.List<api.Option> o) {
1983 unittest.expect(o, unittest.hasLength(2)); 1983 unittest.expect(o, unittest.hasLength(2));
1984 checkOption(o[0]); 1984 checkOption(o[0]);
1985 checkOption(o[1]); 1985 checkOption(o[1]);
1986 } 1986 }
1987 1987
1988 core.int buildCounterMethod = 0; 1988 core.int buildCounterMethod = 0;
1989 buildMethod() { 1989 buildMethod() {
1990 var o = new api.Method(); 1990 var o = new api.Method();
1991 buildCounterMethod++; 1991 buildCounterMethod++;
1992 if (buildCounterMethod < 3) { 1992 if (buildCounterMethod < 3) {
1993 o.name = "foo"; 1993 o.name = "foo";
1994 o.options = buildUnnamed1110(); 1994 o.options = buildUnnamed1194();
1995 o.requestStreaming = true; 1995 o.requestStreaming = true;
1996 o.requestTypeUrl = "foo"; 1996 o.requestTypeUrl = "foo";
1997 o.responseStreaming = true; 1997 o.responseStreaming = true;
1998 o.responseTypeUrl = "foo"; 1998 o.responseTypeUrl = "foo";
1999 o.syntax = "foo"; 1999 o.syntax = "foo";
2000 } 2000 }
2001 buildCounterMethod--; 2001 buildCounterMethod--;
2002 return o; 2002 return o;
2003 } 2003 }
2004 2004
2005 checkMethod(api.Method o) { 2005 checkMethod(api.Method o) {
2006 buildCounterMethod++; 2006 buildCounterMethod++;
2007 if (buildCounterMethod < 3) { 2007 if (buildCounterMethod < 3) {
2008 unittest.expect(o.name, unittest.equals('foo')); 2008 unittest.expect(o.name, unittest.equals('foo'));
2009 checkUnnamed1110(o.options); 2009 checkUnnamed1194(o.options);
2010 unittest.expect(o.requestStreaming, unittest.isTrue); 2010 unittest.expect(o.requestStreaming, unittest.isTrue);
2011 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); 2011 unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
2012 unittest.expect(o.responseStreaming, unittest.isTrue); 2012 unittest.expect(o.responseStreaming, unittest.isTrue);
2013 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); 2013 unittest.expect(o.responseTypeUrl, unittest.equals('foo'));
2014 unittest.expect(o.syntax, unittest.equals('foo')); 2014 unittest.expect(o.syntax, unittest.equals('foo'));
2015 } 2015 }
2016 buildCounterMethod--; 2016 buildCounterMethod--;
2017 } 2017 }
2018 2018
2019 buildUnnamed1111() { 2019 buildUnnamed1195() {
2020 var o = new core.List<api.LabelDescriptor>(); 2020 var o = new core.List<api.LabelDescriptor>();
2021 o.add(buildLabelDescriptor()); 2021 o.add(buildLabelDescriptor());
2022 o.add(buildLabelDescriptor()); 2022 o.add(buildLabelDescriptor());
2023 return o; 2023 return o;
2024 } 2024 }
2025 2025
2026 checkUnnamed1111(core.List<api.LabelDescriptor> o) { 2026 checkUnnamed1195(core.List<api.LabelDescriptor> o) {
2027 unittest.expect(o, unittest.hasLength(2)); 2027 unittest.expect(o, unittest.hasLength(2));
2028 checkLabelDescriptor(o[0]); 2028 checkLabelDescriptor(o[0]);
2029 checkLabelDescriptor(o[1]); 2029 checkLabelDescriptor(o[1]);
2030 } 2030 }
2031 2031
2032 core.int buildCounterMetricDescriptor = 0; 2032 core.int buildCounterMetricDescriptor = 0;
2033 buildMetricDescriptor() { 2033 buildMetricDescriptor() {
2034 var o = new api.MetricDescriptor(); 2034 var o = new api.MetricDescriptor();
2035 buildCounterMetricDescriptor++; 2035 buildCounterMetricDescriptor++;
2036 if (buildCounterMetricDescriptor < 3) { 2036 if (buildCounterMetricDescriptor < 3) {
2037 o.description = "foo"; 2037 o.description = "foo";
2038 o.displayName = "foo"; 2038 o.displayName = "foo";
2039 o.labels = buildUnnamed1111(); 2039 o.labels = buildUnnamed1195();
2040 o.metricKind = "foo"; 2040 o.metricKind = "foo";
2041 o.name = "foo"; 2041 o.name = "foo";
2042 o.type = "foo"; 2042 o.type = "foo";
2043 o.unit = "foo"; 2043 o.unit = "foo";
2044 o.valueType = "foo"; 2044 o.valueType = "foo";
2045 } 2045 }
2046 buildCounterMetricDescriptor--; 2046 buildCounterMetricDescriptor--;
2047 return o; 2047 return o;
2048 } 2048 }
2049 2049
2050 checkMetricDescriptor(api.MetricDescriptor o) { 2050 checkMetricDescriptor(api.MetricDescriptor o) {
2051 buildCounterMetricDescriptor++; 2051 buildCounterMetricDescriptor++;
2052 if (buildCounterMetricDescriptor < 3) { 2052 if (buildCounterMetricDescriptor < 3) {
2053 unittest.expect(o.description, unittest.equals('foo')); 2053 unittest.expect(o.description, unittest.equals('foo'));
2054 unittest.expect(o.displayName, unittest.equals('foo')); 2054 unittest.expect(o.displayName, unittest.equals('foo'));
2055 checkUnnamed1111(o.labels); 2055 checkUnnamed1195(o.labels);
2056 unittest.expect(o.metricKind, unittest.equals('foo')); 2056 unittest.expect(o.metricKind, unittest.equals('foo'));
2057 unittest.expect(o.name, unittest.equals('foo')); 2057 unittest.expect(o.name, unittest.equals('foo'));
2058 unittest.expect(o.type, unittest.equals('foo')); 2058 unittest.expect(o.type, unittest.equals('foo'));
2059 unittest.expect(o.unit, unittest.equals('foo')); 2059 unittest.expect(o.unit, unittest.equals('foo'));
2060 unittest.expect(o.valueType, unittest.equals('foo')); 2060 unittest.expect(o.valueType, unittest.equals('foo'));
2061 } 2061 }
2062 buildCounterMetricDescriptor--; 2062 buildCounterMetricDescriptor--;
2063 } 2063 }
2064 2064
2065 buildUnnamed1112() { 2065 buildUnnamed1196() {
2066 var o = new core.Map<core.String, core.String>(); 2066 var o = new core.Map<core.String, core.String>();
2067 o["x"] = "foo"; 2067 o["x"] = "foo";
2068 o["y"] = "foo"; 2068 o["y"] = "foo";
2069 return o; 2069 return o;
2070 } 2070 }
2071 2071
2072 checkUnnamed1112(core.Map<core.String, core.String> o) { 2072 checkUnnamed1196(core.Map<core.String, core.String> o) {
2073 unittest.expect(o, unittest.hasLength(2)); 2073 unittest.expect(o, unittest.hasLength(2));
2074 unittest.expect(o["x"], unittest.equals('foo')); 2074 unittest.expect(o["x"], unittest.equals('foo'));
2075 unittest.expect(o["y"], unittest.equals('foo')); 2075 unittest.expect(o["y"], unittest.equals('foo'));
2076 } 2076 }
2077 2077
2078 core.int buildCounterMetricRule = 0; 2078 core.int buildCounterMetricRule = 0;
2079 buildMetricRule() { 2079 buildMetricRule() {
2080 var o = new api.MetricRule(); 2080 var o = new api.MetricRule();
2081 buildCounterMetricRule++; 2081 buildCounterMetricRule++;
2082 if (buildCounterMetricRule < 3) { 2082 if (buildCounterMetricRule < 3) {
2083 o.metricCosts = buildUnnamed1112(); 2083 o.metricCosts = buildUnnamed1196();
2084 o.selector = "foo"; 2084 o.selector = "foo";
2085 } 2085 }
2086 buildCounterMetricRule--; 2086 buildCounterMetricRule--;
2087 return o; 2087 return o;
2088 } 2088 }
2089 2089
2090 checkMetricRule(api.MetricRule o) { 2090 checkMetricRule(api.MetricRule o) {
2091 buildCounterMetricRule++; 2091 buildCounterMetricRule++;
2092 if (buildCounterMetricRule < 3) { 2092 if (buildCounterMetricRule < 3) {
2093 checkUnnamed1112(o.metricCosts); 2093 checkUnnamed1196(o.metricCosts);
2094 unittest.expect(o.selector, unittest.equals('foo')); 2094 unittest.expect(o.selector, unittest.equals('foo'));
2095 } 2095 }
2096 buildCounterMetricRule--; 2096 buildCounterMetricRule--;
2097 } 2097 }
2098 2098
2099 core.int buildCounterMixin = 0; 2099 core.int buildCounterMixin = 0;
2100 buildMixin() { 2100 buildMixin() {
2101 var o = new api.Mixin(); 2101 var o = new api.Mixin();
2102 buildCounterMixin++; 2102 buildCounterMixin++;
2103 if (buildCounterMixin < 3) { 2103 if (buildCounterMixin < 3) {
2104 o.name = "foo"; 2104 o.name = "foo";
2105 o.root = "foo"; 2105 o.root = "foo";
2106 } 2106 }
2107 buildCounterMixin--; 2107 buildCounterMixin--;
2108 return o; 2108 return o;
2109 } 2109 }
2110 2110
2111 checkMixin(api.Mixin o) { 2111 checkMixin(api.Mixin o) {
2112 buildCounterMixin++; 2112 buildCounterMixin++;
2113 if (buildCounterMixin < 3) { 2113 if (buildCounterMixin < 3) {
2114 unittest.expect(o.name, unittest.equals('foo')); 2114 unittest.expect(o.name, unittest.equals('foo'));
2115 unittest.expect(o.root, unittest.equals('foo')); 2115 unittest.expect(o.root, unittest.equals('foo'));
2116 } 2116 }
2117 buildCounterMixin--; 2117 buildCounterMixin--;
2118 } 2118 }
2119 2119
2120 buildUnnamed1113() { 2120 buildUnnamed1197() {
2121 var o = new core.List<api.LabelDescriptor>(); 2121 var o = new core.List<api.LabelDescriptor>();
2122 o.add(buildLabelDescriptor()); 2122 o.add(buildLabelDescriptor());
2123 o.add(buildLabelDescriptor()); 2123 o.add(buildLabelDescriptor());
2124 return o; 2124 return o;
2125 } 2125 }
2126 2126
2127 checkUnnamed1113(core.List<api.LabelDescriptor> o) { 2127 checkUnnamed1197(core.List<api.LabelDescriptor> o) {
2128 unittest.expect(o, unittest.hasLength(2)); 2128 unittest.expect(o, unittest.hasLength(2));
2129 checkLabelDescriptor(o[0]); 2129 checkLabelDescriptor(o[0]);
2130 checkLabelDescriptor(o[1]); 2130 checkLabelDescriptor(o[1]);
2131 } 2131 }
2132 2132
2133 core.int buildCounterMonitoredResourceDescriptor = 0; 2133 core.int buildCounterMonitoredResourceDescriptor = 0;
2134 buildMonitoredResourceDescriptor() { 2134 buildMonitoredResourceDescriptor() {
2135 var o = new api.MonitoredResourceDescriptor(); 2135 var o = new api.MonitoredResourceDescriptor();
2136 buildCounterMonitoredResourceDescriptor++; 2136 buildCounterMonitoredResourceDescriptor++;
2137 if (buildCounterMonitoredResourceDescriptor < 3) { 2137 if (buildCounterMonitoredResourceDescriptor < 3) {
2138 o.description = "foo"; 2138 o.description = "foo";
2139 o.displayName = "foo"; 2139 o.displayName = "foo";
2140 o.labels = buildUnnamed1113(); 2140 o.labels = buildUnnamed1197();
2141 o.name = "foo"; 2141 o.name = "foo";
2142 o.type = "foo"; 2142 o.type = "foo";
2143 } 2143 }
2144 buildCounterMonitoredResourceDescriptor--; 2144 buildCounterMonitoredResourceDescriptor--;
2145 return o; 2145 return o;
2146 } 2146 }
2147 2147
2148 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { 2148 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
2149 buildCounterMonitoredResourceDescriptor++; 2149 buildCounterMonitoredResourceDescriptor++;
2150 if (buildCounterMonitoredResourceDescriptor < 3) { 2150 if (buildCounterMonitoredResourceDescriptor < 3) {
2151 unittest.expect(o.description, unittest.equals('foo')); 2151 unittest.expect(o.description, unittest.equals('foo'));
2152 unittest.expect(o.displayName, unittest.equals('foo')); 2152 unittest.expect(o.displayName, unittest.equals('foo'));
2153 checkUnnamed1113(o.labels); 2153 checkUnnamed1197(o.labels);
2154 unittest.expect(o.name, unittest.equals('foo')); 2154 unittest.expect(o.name, unittest.equals('foo'));
2155 unittest.expect(o.type, unittest.equals('foo')); 2155 unittest.expect(o.type, unittest.equals('foo'));
2156 } 2156 }
2157 buildCounterMonitoredResourceDescriptor--; 2157 buildCounterMonitoredResourceDescriptor--;
2158 } 2158 }
2159 2159
2160 buildUnnamed1114() { 2160 buildUnnamed1198() {
2161 var o = new core.List<api.MonitoringDestination>(); 2161 var o = new core.List<api.MonitoringDestination>();
2162 o.add(buildMonitoringDestination()); 2162 o.add(buildMonitoringDestination());
2163 o.add(buildMonitoringDestination()); 2163 o.add(buildMonitoringDestination());
2164 return o; 2164 return o;
2165 } 2165 }
2166 2166
2167 checkUnnamed1114(core.List<api.MonitoringDestination> o) { 2167 checkUnnamed1198(core.List<api.MonitoringDestination> o) {
2168 unittest.expect(o, unittest.hasLength(2)); 2168 unittest.expect(o, unittest.hasLength(2));
2169 checkMonitoringDestination(o[0]); 2169 checkMonitoringDestination(o[0]);
2170 checkMonitoringDestination(o[1]); 2170 checkMonitoringDestination(o[1]);
2171 } 2171 }
2172 2172
2173 buildUnnamed1115() { 2173 buildUnnamed1199() {
2174 var o = new core.List<api.MonitoringDestination>(); 2174 var o = new core.List<api.MonitoringDestination>();
2175 o.add(buildMonitoringDestination()); 2175 o.add(buildMonitoringDestination());
2176 o.add(buildMonitoringDestination()); 2176 o.add(buildMonitoringDestination());
2177 return o; 2177 return o;
2178 } 2178 }
2179 2179
2180 checkUnnamed1115(core.List<api.MonitoringDestination> o) { 2180 checkUnnamed1199(core.List<api.MonitoringDestination> o) {
2181 unittest.expect(o, unittest.hasLength(2)); 2181 unittest.expect(o, unittest.hasLength(2));
2182 checkMonitoringDestination(o[0]); 2182 checkMonitoringDestination(o[0]);
2183 checkMonitoringDestination(o[1]); 2183 checkMonitoringDestination(o[1]);
2184 } 2184 }
2185 2185
2186 core.int buildCounterMonitoring = 0; 2186 core.int buildCounterMonitoring = 0;
2187 buildMonitoring() { 2187 buildMonitoring() {
2188 var o = new api.Monitoring(); 2188 var o = new api.Monitoring();
2189 buildCounterMonitoring++; 2189 buildCounterMonitoring++;
2190 if (buildCounterMonitoring < 3) { 2190 if (buildCounterMonitoring < 3) {
2191 o.consumerDestinations = buildUnnamed1114(); 2191 o.consumerDestinations = buildUnnamed1198();
2192 o.producerDestinations = buildUnnamed1115(); 2192 o.producerDestinations = buildUnnamed1199();
2193 } 2193 }
2194 buildCounterMonitoring--; 2194 buildCounterMonitoring--;
2195 return o; 2195 return o;
2196 } 2196 }
2197 2197
2198 checkMonitoring(api.Monitoring o) { 2198 checkMonitoring(api.Monitoring o) {
2199 buildCounterMonitoring++; 2199 buildCounterMonitoring++;
2200 if (buildCounterMonitoring < 3) { 2200 if (buildCounterMonitoring < 3) {
2201 checkUnnamed1114(o.consumerDestinations); 2201 checkUnnamed1198(o.consumerDestinations);
2202 checkUnnamed1115(o.producerDestinations); 2202 checkUnnamed1199(o.producerDestinations);
2203 } 2203 }
2204 buildCounterMonitoring--; 2204 buildCounterMonitoring--;
2205 } 2205 }
2206 2206
2207 buildUnnamed1116() { 2207 buildUnnamed1200() {
2208 var o = new core.List<core.String>(); 2208 var o = new core.List<core.String>();
2209 o.add("foo"); 2209 o.add("foo");
2210 o.add("foo"); 2210 o.add("foo");
2211 return o; 2211 return o;
2212 } 2212 }
2213 2213
2214 checkUnnamed1116(core.List<core.String> o) { 2214 checkUnnamed1200(core.List<core.String> o) {
2215 unittest.expect(o, unittest.hasLength(2)); 2215 unittest.expect(o, unittest.hasLength(2));
2216 unittest.expect(o[0], unittest.equals('foo')); 2216 unittest.expect(o[0], unittest.equals('foo'));
2217 unittest.expect(o[1], unittest.equals('foo')); 2217 unittest.expect(o[1], unittest.equals('foo'));
2218 } 2218 }
2219 2219
2220 core.int buildCounterMonitoringDestination = 0; 2220 core.int buildCounterMonitoringDestination = 0;
2221 buildMonitoringDestination() { 2221 buildMonitoringDestination() {
2222 var o = new api.MonitoringDestination(); 2222 var o = new api.MonitoringDestination();
2223 buildCounterMonitoringDestination++; 2223 buildCounterMonitoringDestination++;
2224 if (buildCounterMonitoringDestination < 3) { 2224 if (buildCounterMonitoringDestination < 3) {
2225 o.metrics = buildUnnamed1116(); 2225 o.metrics = buildUnnamed1200();
2226 o.monitoredResource = "foo"; 2226 o.monitoredResource = "foo";
2227 } 2227 }
2228 buildCounterMonitoringDestination--; 2228 buildCounterMonitoringDestination--;
2229 return o; 2229 return o;
2230 } 2230 }
2231 2231
2232 checkMonitoringDestination(api.MonitoringDestination o) { 2232 checkMonitoringDestination(api.MonitoringDestination o) {
2233 buildCounterMonitoringDestination++; 2233 buildCounterMonitoringDestination++;
2234 if (buildCounterMonitoringDestination < 3) { 2234 if (buildCounterMonitoringDestination < 3) {
2235 checkUnnamed1116(o.metrics); 2235 checkUnnamed1200(o.metrics);
2236 unittest.expect(o.monitoredResource, unittest.equals('foo')); 2236 unittest.expect(o.monitoredResource, unittest.equals('foo'));
2237 } 2237 }
2238 buildCounterMonitoringDestination--; 2238 buildCounterMonitoringDestination--;
2239 } 2239 }
2240 2240
2241 core.int buildCounterOAuthRequirements = 0; 2241 core.int buildCounterOAuthRequirements = 0;
2242 buildOAuthRequirements() { 2242 buildOAuthRequirements() {
2243 var o = new api.OAuthRequirements(); 2243 var o = new api.OAuthRequirements();
2244 buildCounterOAuthRequirements++; 2244 buildCounterOAuthRequirements++;
2245 if (buildCounterOAuthRequirements < 3) { 2245 if (buildCounterOAuthRequirements < 3) {
2246 o.canonicalScopes = "foo"; 2246 o.canonicalScopes = "foo";
2247 } 2247 }
2248 buildCounterOAuthRequirements--; 2248 buildCounterOAuthRequirements--;
2249 return o; 2249 return o;
2250 } 2250 }
2251 2251
2252 checkOAuthRequirements(api.OAuthRequirements o) { 2252 checkOAuthRequirements(api.OAuthRequirements o) {
2253 buildCounterOAuthRequirements++; 2253 buildCounterOAuthRequirements++;
2254 if (buildCounterOAuthRequirements < 3) { 2254 if (buildCounterOAuthRequirements < 3) {
2255 unittest.expect(o.canonicalScopes, unittest.equals('foo')); 2255 unittest.expect(o.canonicalScopes, unittest.equals('foo'));
2256 } 2256 }
2257 buildCounterOAuthRequirements--; 2257 buildCounterOAuthRequirements--;
2258 } 2258 }
2259 2259
2260 buildUnnamed1117() { 2260 buildUnnamed1201() {
2261 var o = new core.Map<core.String, core.Object>(); 2261 var o = new core.Map<core.String, core.Object>();
2262 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2262 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2263 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2263 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2264 return o; 2264 return o;
2265 } 2265 }
2266 2266
2267 checkUnnamed1117(core.Map<core.String, core.Object> o) { 2267 checkUnnamed1201(core.Map<core.String, core.Object> o) {
2268 unittest.expect(o, unittest.hasLength(2)); 2268 unittest.expect(o, unittest.hasLength(2));
2269 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); 2269 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
2270 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); 2270 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
2271 } 2271 }
2272 2272
2273 buildUnnamed1118() { 2273 buildUnnamed1202() {
2274 var o = new core.Map<core.String, core.Object>(); 2274 var o = new core.Map<core.String, core.Object>();
2275 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2275 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2276 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2276 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2277 return o; 2277 return o;
2278 } 2278 }
2279 2279
2280 checkUnnamed1118(core.Map<core.String, core.Object> o) { 2280 checkUnnamed1202(core.Map<core.String, core.Object> o) {
2281 unittest.expect(o, unittest.hasLength(2)); 2281 unittest.expect(o, unittest.hasLength(2));
2282 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo')); 2282 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
2283 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo')); 2283 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
2284 } 2284 }
2285 2285
2286 core.int buildCounterOperation = 0; 2286 core.int buildCounterOperation = 0;
2287 buildOperation() { 2287 buildOperation() {
2288 var o = new api.Operation(); 2288 var o = new api.Operation();
2289 buildCounterOperation++; 2289 buildCounterOperation++;
2290 if (buildCounterOperation < 3) { 2290 if (buildCounterOperation < 3) {
2291 o.done = true; 2291 o.done = true;
2292 o.error = buildStatus(); 2292 o.error = buildStatus();
2293 o.metadata = buildUnnamed1117(); 2293 o.metadata = buildUnnamed1201();
2294 o.name = "foo"; 2294 o.name = "foo";
2295 o.response = buildUnnamed1118(); 2295 o.response = buildUnnamed1202();
2296 } 2296 }
2297 buildCounterOperation--; 2297 buildCounterOperation--;
2298 return o; 2298 return o;
2299 } 2299 }
2300 2300
2301 checkOperation(api.Operation o) { 2301 checkOperation(api.Operation o) {
2302 buildCounterOperation++; 2302 buildCounterOperation++;
2303 if (buildCounterOperation < 3) { 2303 if (buildCounterOperation < 3) {
2304 unittest.expect(o.done, unittest.isTrue); 2304 unittest.expect(o.done, unittest.isTrue);
2305 checkStatus(o.error); 2305 checkStatus(o.error);
2306 checkUnnamed1117(o.metadata); 2306 checkUnnamed1201(o.metadata);
2307 unittest.expect(o.name, unittest.equals('foo')); 2307 unittest.expect(o.name, unittest.equals('foo'));
2308 checkUnnamed1118(o.response); 2308 checkUnnamed1202(o.response);
2309 } 2309 }
2310 buildCounterOperation--; 2310 buildCounterOperation--;
2311 } 2311 }
2312 2312
2313 buildUnnamed1119() { 2313 buildUnnamed1203() {
2314 var o = new core.List<core.String>(); 2314 var o = new core.List<core.String>();
2315 o.add("foo"); 2315 o.add("foo");
2316 o.add("foo"); 2316 o.add("foo");
2317 return o; 2317 return o;
2318 } 2318 }
2319 2319
2320 checkUnnamed1119(core.List<core.String> o) { 2320 checkUnnamed1203(core.List<core.String> o) {
2321 unittest.expect(o, unittest.hasLength(2)); 2321 unittest.expect(o, unittest.hasLength(2));
2322 unittest.expect(o[0], unittest.equals('foo')); 2322 unittest.expect(o[0], unittest.equals('foo'));
2323 unittest.expect(o[1], unittest.equals('foo')); 2323 unittest.expect(o[1], unittest.equals('foo'));
2324 } 2324 }
2325 2325
2326 buildUnnamed1120() { 2326 buildUnnamed1204() {
2327 var o = new core.List<api.Step>(); 2327 var o = new core.List<api.Step>();
2328 o.add(buildStep()); 2328 o.add(buildStep());
2329 o.add(buildStep()); 2329 o.add(buildStep());
2330 return o; 2330 return o;
2331 } 2331 }
2332 2332
2333 checkUnnamed1120(core.List<api.Step> o) { 2333 checkUnnamed1204(core.List<api.Step> o) {
2334 unittest.expect(o, unittest.hasLength(2)); 2334 unittest.expect(o, unittest.hasLength(2));
2335 checkStep(o[0]); 2335 checkStep(o[0]);
2336 checkStep(o[1]); 2336 checkStep(o[1]);
2337 } 2337 }
2338 2338
2339 core.int buildCounterOperationMetadata = 0; 2339 core.int buildCounterOperationMetadata = 0;
2340 buildOperationMetadata() { 2340 buildOperationMetadata() {
2341 var o = new api.OperationMetadata(); 2341 var o = new api.OperationMetadata();
2342 buildCounterOperationMetadata++; 2342 buildCounterOperationMetadata++;
2343 if (buildCounterOperationMetadata < 3) { 2343 if (buildCounterOperationMetadata < 3) {
2344 o.progressPercentage = 42; 2344 o.progressPercentage = 42;
2345 o.resourceNames = buildUnnamed1119(); 2345 o.resourceNames = buildUnnamed1203();
2346 o.startTime = "foo"; 2346 o.startTime = "foo";
2347 o.steps = buildUnnamed1120(); 2347 o.steps = buildUnnamed1204();
2348 } 2348 }
2349 buildCounterOperationMetadata--; 2349 buildCounterOperationMetadata--;
2350 return o; 2350 return o;
2351 } 2351 }
2352 2352
2353 checkOperationMetadata(api.OperationMetadata o) { 2353 checkOperationMetadata(api.OperationMetadata o) {
2354 buildCounterOperationMetadata++; 2354 buildCounterOperationMetadata++;
2355 if (buildCounterOperationMetadata < 3) { 2355 if (buildCounterOperationMetadata < 3) {
2356 unittest.expect(o.progressPercentage, unittest.equals(42)); 2356 unittest.expect(o.progressPercentage, unittest.equals(42));
2357 checkUnnamed1119(o.resourceNames); 2357 checkUnnamed1203(o.resourceNames);
2358 unittest.expect(o.startTime, unittest.equals('foo')); 2358 unittest.expect(o.startTime, unittest.equals('foo'));
2359 checkUnnamed1120(o.steps); 2359 checkUnnamed1204(o.steps);
2360 } 2360 }
2361 buildCounterOperationMetadata--; 2361 buildCounterOperationMetadata--;
2362 } 2362 }
2363 2363
2364 buildUnnamed1121() { 2364 buildUnnamed1205() {
2365 var o = new core.Map<core.String, core.Object>(); 2365 var o = new core.Map<core.String, core.Object>();
2366 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2366 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2367 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2367 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2368 return o; 2368 return o;
2369 } 2369 }
2370 2370
2371 checkUnnamed1121(core.Map<core.String, core.Object> o) { 2371 checkUnnamed1205(core.Map<core.String, core.Object> o) {
2372 unittest.expect(o, unittest.hasLength(2)); 2372 unittest.expect(o, unittest.hasLength(2));
2373 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo')); 2373 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
2374 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest .expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri ng"], unittest.equals('foo')); 2374 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest .expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri ng"], unittest.equals('foo'));
2375 } 2375 }
2376 2376
2377 core.int buildCounterOption = 0; 2377 core.int buildCounterOption = 0;
2378 buildOption() { 2378 buildOption() {
2379 var o = new api.Option(); 2379 var o = new api.Option();
2380 buildCounterOption++; 2380 buildCounterOption++;
2381 if (buildCounterOption < 3) { 2381 if (buildCounterOption < 3) {
2382 o.name = "foo"; 2382 o.name = "foo";
2383 o.value = buildUnnamed1121(); 2383 o.value = buildUnnamed1205();
2384 } 2384 }
2385 buildCounterOption--; 2385 buildCounterOption--;
2386 return o; 2386 return o;
2387 } 2387 }
2388 2388
2389 checkOption(api.Option o) { 2389 checkOption(api.Option o) {
2390 buildCounterOption++; 2390 buildCounterOption++;
2391 if (buildCounterOption < 3) { 2391 if (buildCounterOption < 3) {
2392 unittest.expect(o.name, unittest.equals('foo')); 2392 unittest.expect(o.name, unittest.equals('foo'));
2393 checkUnnamed1121(o.value); 2393 checkUnnamed1205(o.value);
2394 } 2394 }
2395 buildCounterOption--; 2395 buildCounterOption--;
2396 } 2396 }
2397 2397
2398 buildUnnamed1122() { 2398 buildUnnamed1206() {
2399 var o = new core.List<api.Page>(); 2399 var o = new core.List<api.Page>();
2400 o.add(buildPage()); 2400 o.add(buildPage());
2401 o.add(buildPage()); 2401 o.add(buildPage());
2402 return o; 2402 return o;
2403 } 2403 }
2404 2404
2405 checkUnnamed1122(core.List<api.Page> o) { 2405 checkUnnamed1206(core.List<api.Page> o) {
2406 unittest.expect(o, unittest.hasLength(2)); 2406 unittest.expect(o, unittest.hasLength(2));
2407 checkPage(o[0]); 2407 checkPage(o[0]);
2408 checkPage(o[1]); 2408 checkPage(o[1]);
2409 } 2409 }
2410 2410
2411 core.int buildCounterPage = 0; 2411 core.int buildCounterPage = 0;
2412 buildPage() { 2412 buildPage() {
2413 var o = new api.Page(); 2413 var o = new api.Page();
2414 buildCounterPage++; 2414 buildCounterPage++;
2415 if (buildCounterPage < 3) { 2415 if (buildCounterPage < 3) {
2416 o.content = "foo"; 2416 o.content = "foo";
2417 o.name = "foo"; 2417 o.name = "foo";
2418 o.subpages = buildUnnamed1122(); 2418 o.subpages = buildUnnamed1206();
2419 } 2419 }
2420 buildCounterPage--; 2420 buildCounterPage--;
2421 return o; 2421 return o;
2422 } 2422 }
2423 2423
2424 checkPage(api.Page o) { 2424 checkPage(api.Page o) {
2425 buildCounterPage++; 2425 buildCounterPage++;
2426 if (buildCounterPage < 3) { 2426 if (buildCounterPage < 3) {
2427 unittest.expect(o.content, unittest.equals('foo')); 2427 unittest.expect(o.content, unittest.equals('foo'));
2428 unittest.expect(o.name, unittest.equals('foo')); 2428 unittest.expect(o.name, unittest.equals('foo'));
2429 checkUnnamed1122(o.subpages); 2429 checkUnnamed1206(o.subpages);
2430 } 2430 }
2431 buildCounterPage--; 2431 buildCounterPage--;
2432 } 2432 }
2433 2433
2434 buildUnnamed1123() { 2434 buildUnnamed1207() {
2435 var o = new core.List<api.AuditConfig>(); 2435 var o = new core.List<api.AuditConfig>();
2436 o.add(buildAuditConfig()); 2436 o.add(buildAuditConfig());
2437 o.add(buildAuditConfig()); 2437 o.add(buildAuditConfig());
2438 return o; 2438 return o;
2439 } 2439 }
2440 2440
2441 checkUnnamed1123(core.List<api.AuditConfig> o) { 2441 checkUnnamed1207(core.List<api.AuditConfig> o) {
2442 unittest.expect(o, unittest.hasLength(2)); 2442 unittest.expect(o, unittest.hasLength(2));
2443 checkAuditConfig(o[0]); 2443 checkAuditConfig(o[0]);
2444 checkAuditConfig(o[1]); 2444 checkAuditConfig(o[1]);
2445 } 2445 }
2446 2446
2447 buildUnnamed1124() { 2447 buildUnnamed1208() {
2448 var o = new core.List<api.Binding>(); 2448 var o = new core.List<api.Binding>();
2449 o.add(buildBinding()); 2449 o.add(buildBinding());
2450 o.add(buildBinding()); 2450 o.add(buildBinding());
2451 return o; 2451 return o;
2452 } 2452 }
2453 2453
2454 checkUnnamed1124(core.List<api.Binding> o) { 2454 checkUnnamed1208(core.List<api.Binding> o) {
2455 unittest.expect(o, unittest.hasLength(2)); 2455 unittest.expect(o, unittest.hasLength(2));
2456 checkBinding(o[0]); 2456 checkBinding(o[0]);
2457 checkBinding(o[1]); 2457 checkBinding(o[1]);
2458 } 2458 }
2459 2459
2460 buildUnnamed1125() { 2460 buildUnnamed1209() {
2461 var o = new core.List<api.Rule>(); 2461 var o = new core.List<api.Rule>();
2462 o.add(buildRule()); 2462 o.add(buildRule());
2463 o.add(buildRule()); 2463 o.add(buildRule());
2464 return o; 2464 return o;
2465 } 2465 }
2466 2466
2467 checkUnnamed1125(core.List<api.Rule> o) { 2467 checkUnnamed1209(core.List<api.Rule> o) {
2468 unittest.expect(o, unittest.hasLength(2)); 2468 unittest.expect(o, unittest.hasLength(2));
2469 checkRule(o[0]); 2469 checkRule(o[0]);
2470 checkRule(o[1]); 2470 checkRule(o[1]);
2471 } 2471 }
2472 2472
2473 core.int buildCounterPolicy = 0; 2473 core.int buildCounterPolicy = 0;
2474 buildPolicy() { 2474 buildPolicy() {
2475 var o = new api.Policy(); 2475 var o = new api.Policy();
2476 buildCounterPolicy++; 2476 buildCounterPolicy++;
2477 if (buildCounterPolicy < 3) { 2477 if (buildCounterPolicy < 3) {
2478 o.auditConfigs = buildUnnamed1123(); 2478 o.auditConfigs = buildUnnamed1207();
2479 o.bindings = buildUnnamed1124(); 2479 o.bindings = buildUnnamed1208();
2480 o.etag = "foo"; 2480 o.etag = "foo";
2481 o.iamOwned = true; 2481 o.iamOwned = true;
2482 o.rules = buildUnnamed1125(); 2482 o.rules = buildUnnamed1209();
2483 o.version = 42; 2483 o.version = 42;
2484 } 2484 }
2485 buildCounterPolicy--; 2485 buildCounterPolicy--;
2486 return o; 2486 return o;
2487 } 2487 }
2488 2488
2489 checkPolicy(api.Policy o) { 2489 checkPolicy(api.Policy o) {
2490 buildCounterPolicy++; 2490 buildCounterPolicy++;
2491 if (buildCounterPolicy < 3) { 2491 if (buildCounterPolicy < 3) {
2492 checkUnnamed1123(o.auditConfigs); 2492 checkUnnamed1207(o.auditConfigs);
2493 checkUnnamed1124(o.bindings); 2493 checkUnnamed1208(o.bindings);
2494 unittest.expect(o.etag, unittest.equals('foo')); 2494 unittest.expect(o.etag, unittest.equals('foo'));
2495 unittest.expect(o.iamOwned, unittest.isTrue); 2495 unittest.expect(o.iamOwned, unittest.isTrue);
2496 checkUnnamed1125(o.rules); 2496 checkUnnamed1209(o.rules);
2497 unittest.expect(o.version, unittest.equals(42)); 2497 unittest.expect(o.version, unittest.equals(42));
2498 } 2498 }
2499 buildCounterPolicy--; 2499 buildCounterPolicy--;
2500 } 2500 }
2501 2501
2502 buildUnnamed1126() { 2502 buildUnnamed1210() {
2503 var o = new core.List<api.QuotaLimit>(); 2503 var o = new core.List<api.QuotaLimit>();
2504 o.add(buildQuotaLimit()); 2504 o.add(buildQuotaLimit());
2505 o.add(buildQuotaLimit()); 2505 o.add(buildQuotaLimit());
2506 return o; 2506 return o;
2507 } 2507 }
2508 2508
2509 checkUnnamed1126(core.List<api.QuotaLimit> o) { 2509 checkUnnamed1210(core.List<api.QuotaLimit> o) {
2510 unittest.expect(o, unittest.hasLength(2)); 2510 unittest.expect(o, unittest.hasLength(2));
2511 checkQuotaLimit(o[0]); 2511 checkQuotaLimit(o[0]);
2512 checkQuotaLimit(o[1]); 2512 checkQuotaLimit(o[1]);
2513 } 2513 }
2514 2514
2515 buildUnnamed1127() { 2515 buildUnnamed1211() {
2516 var o = new core.List<api.MetricRule>(); 2516 var o = new core.List<api.MetricRule>();
2517 o.add(buildMetricRule()); 2517 o.add(buildMetricRule());
2518 o.add(buildMetricRule()); 2518 o.add(buildMetricRule());
2519 return o; 2519 return o;
2520 } 2520 }
2521 2521
2522 checkUnnamed1127(core.List<api.MetricRule> o) { 2522 checkUnnamed1211(core.List<api.MetricRule> o) {
2523 unittest.expect(o, unittest.hasLength(2)); 2523 unittest.expect(o, unittest.hasLength(2));
2524 checkMetricRule(o[0]); 2524 checkMetricRule(o[0]);
2525 checkMetricRule(o[1]); 2525 checkMetricRule(o[1]);
2526 } 2526 }
2527 2527
2528 core.int buildCounterQuota = 0; 2528 core.int buildCounterQuota = 0;
2529 buildQuota() { 2529 buildQuota() {
2530 var o = new api.Quota(); 2530 var o = new api.Quota();
2531 buildCounterQuota++; 2531 buildCounterQuota++;
2532 if (buildCounterQuota < 3) { 2532 if (buildCounterQuota < 3) {
2533 o.limits = buildUnnamed1126(); 2533 o.limits = buildUnnamed1210();
2534 o.metricRules = buildUnnamed1127(); 2534 o.metricRules = buildUnnamed1211();
2535 } 2535 }
2536 buildCounterQuota--; 2536 buildCounterQuota--;
2537 return o; 2537 return o;
2538 } 2538 }
2539 2539
2540 checkQuota(api.Quota o) { 2540 checkQuota(api.Quota o) {
2541 buildCounterQuota++; 2541 buildCounterQuota++;
2542 if (buildCounterQuota < 3) { 2542 if (buildCounterQuota < 3) {
2543 checkUnnamed1126(o.limits); 2543 checkUnnamed1210(o.limits);
2544 checkUnnamed1127(o.metricRules); 2544 checkUnnamed1211(o.metricRules);
2545 } 2545 }
2546 buildCounterQuota--; 2546 buildCounterQuota--;
2547 } 2547 }
2548 2548
2549 buildUnnamed1128() { 2549 buildUnnamed1212() {
2550 var o = new core.Map<core.String, core.String>(); 2550 var o = new core.Map<core.String, core.String>();
2551 o["x"] = "foo"; 2551 o["x"] = "foo";
2552 o["y"] = "foo"; 2552 o["y"] = "foo";
2553 return o; 2553 return o;
2554 } 2554 }
2555 2555
2556 checkUnnamed1128(core.Map<core.String, core.String> o) { 2556 checkUnnamed1212(core.Map<core.String, core.String> o) {
2557 unittest.expect(o, unittest.hasLength(2)); 2557 unittest.expect(o, unittest.hasLength(2));
2558 unittest.expect(o["x"], unittest.equals('foo')); 2558 unittest.expect(o["x"], unittest.equals('foo'));
2559 unittest.expect(o["y"], unittest.equals('foo')); 2559 unittest.expect(o["y"], unittest.equals('foo'));
2560 } 2560 }
2561 2561
2562 core.int buildCounterQuotaLimit = 0; 2562 core.int buildCounterQuotaLimit = 0;
2563 buildQuotaLimit() { 2563 buildQuotaLimit() {
2564 var o = new api.QuotaLimit(); 2564 var o = new api.QuotaLimit();
2565 buildCounterQuotaLimit++; 2565 buildCounterQuotaLimit++;
2566 if (buildCounterQuotaLimit < 3) { 2566 if (buildCounterQuotaLimit < 3) {
2567 o.defaultLimit = "foo"; 2567 o.defaultLimit = "foo";
2568 o.description = "foo"; 2568 o.description = "foo";
2569 o.displayName = "foo"; 2569 o.displayName = "foo";
2570 o.duration = "foo"; 2570 o.duration = "foo";
2571 o.freeTier = "foo"; 2571 o.freeTier = "foo";
2572 o.maxLimit = "foo"; 2572 o.maxLimit = "foo";
2573 o.metric = "foo"; 2573 o.metric = "foo";
2574 o.name = "foo"; 2574 o.name = "foo";
2575 o.unit = "foo"; 2575 o.unit = "foo";
2576 o.values = buildUnnamed1128(); 2576 o.values = buildUnnamed1212();
2577 } 2577 }
2578 buildCounterQuotaLimit--; 2578 buildCounterQuotaLimit--;
2579 return o; 2579 return o;
2580 } 2580 }
2581 2581
2582 checkQuotaLimit(api.QuotaLimit o) { 2582 checkQuotaLimit(api.QuotaLimit o) {
2583 buildCounterQuotaLimit++; 2583 buildCounterQuotaLimit++;
2584 if (buildCounterQuotaLimit < 3) { 2584 if (buildCounterQuotaLimit < 3) {
2585 unittest.expect(o.defaultLimit, unittest.equals('foo')); 2585 unittest.expect(o.defaultLimit, unittest.equals('foo'));
2586 unittest.expect(o.description, unittest.equals('foo')); 2586 unittest.expect(o.description, unittest.equals('foo'));
2587 unittest.expect(o.displayName, unittest.equals('foo')); 2587 unittest.expect(o.displayName, unittest.equals('foo'));
2588 unittest.expect(o.duration, unittest.equals('foo')); 2588 unittest.expect(o.duration, unittest.equals('foo'));
2589 unittest.expect(o.freeTier, unittest.equals('foo')); 2589 unittest.expect(o.freeTier, unittest.equals('foo'));
2590 unittest.expect(o.maxLimit, unittest.equals('foo')); 2590 unittest.expect(o.maxLimit, unittest.equals('foo'));
2591 unittest.expect(o.metric, unittest.equals('foo')); 2591 unittest.expect(o.metric, unittest.equals('foo'));
2592 unittest.expect(o.name, unittest.equals('foo')); 2592 unittest.expect(o.name, unittest.equals('foo'));
2593 unittest.expect(o.unit, unittest.equals('foo')); 2593 unittest.expect(o.unit, unittest.equals('foo'));
2594 checkUnnamed1128(o.values); 2594 checkUnnamed1212(o.values);
2595 } 2595 }
2596 buildCounterQuotaLimit--; 2596 buildCounterQuotaLimit--;
2597 } 2597 }
2598 2598
2599 core.int buildCounterRollout = 0; 2599 core.int buildCounterRollout = 0;
2600 buildRollout() { 2600 buildRollout() {
2601 var o = new api.Rollout(); 2601 var o = new api.Rollout();
2602 buildCounterRollout++; 2602 buildCounterRollout++;
2603 if (buildCounterRollout < 3) { 2603 if (buildCounterRollout < 3) {
2604 o.createTime = "foo"; 2604 o.createTime = "foo";
(...skipping 15 matching lines...) Expand all
2620 unittest.expect(o.createdBy, unittest.equals('foo')); 2620 unittest.expect(o.createdBy, unittest.equals('foo'));
2621 checkDeleteServiceStrategy(o.deleteServiceStrategy); 2621 checkDeleteServiceStrategy(o.deleteServiceStrategy);
2622 unittest.expect(o.rolloutId, unittest.equals('foo')); 2622 unittest.expect(o.rolloutId, unittest.equals('foo'));
2623 unittest.expect(o.serviceName, unittest.equals('foo')); 2623 unittest.expect(o.serviceName, unittest.equals('foo'));
2624 unittest.expect(o.status, unittest.equals('foo')); 2624 unittest.expect(o.status, unittest.equals('foo'));
2625 checkTrafficPercentStrategy(o.trafficPercentStrategy); 2625 checkTrafficPercentStrategy(o.trafficPercentStrategy);
2626 } 2626 }
2627 buildCounterRollout--; 2627 buildCounterRollout--;
2628 } 2628 }
2629 2629
2630 buildUnnamed1129() { 2630 buildUnnamed1213() {
2631 var o = new core.List<api.Condition>(); 2631 var o = new core.List<api.Condition>();
2632 o.add(buildCondition()); 2632 o.add(buildCondition());
2633 o.add(buildCondition()); 2633 o.add(buildCondition());
2634 return o; 2634 return o;
2635 } 2635 }
2636 2636
2637 checkUnnamed1129(core.List<api.Condition> o) { 2637 checkUnnamed1213(core.List<api.Condition> o) {
2638 unittest.expect(o, unittest.hasLength(2)); 2638 unittest.expect(o, unittest.hasLength(2));
2639 checkCondition(o[0]); 2639 checkCondition(o[0]);
2640 checkCondition(o[1]); 2640 checkCondition(o[1]);
2641 } 2641 }
2642 2642
2643 buildUnnamed1130() { 2643 buildUnnamed1214() {
2644 var o = new core.List<core.String>(); 2644 var o = new core.List<core.String>();
2645 o.add("foo"); 2645 o.add("foo");
2646 o.add("foo"); 2646 o.add("foo");
2647 return o; 2647 return o;
2648 } 2648 }
2649 2649
2650 checkUnnamed1130(core.List<core.String> o) { 2650 checkUnnamed1214(core.List<core.String> o) {
2651 unittest.expect(o, unittest.hasLength(2)); 2651 unittest.expect(o, unittest.hasLength(2));
2652 unittest.expect(o[0], unittest.equals('foo')); 2652 unittest.expect(o[0], unittest.equals('foo'));
2653 unittest.expect(o[1], unittest.equals('foo')); 2653 unittest.expect(o[1], unittest.equals('foo'));
2654 } 2654 }
2655 2655
2656 buildUnnamed1131() { 2656 buildUnnamed1215() {
2657 var o = new core.List<api.LogConfig>(); 2657 var o = new core.List<api.LogConfig>();
2658 o.add(buildLogConfig()); 2658 o.add(buildLogConfig());
2659 o.add(buildLogConfig()); 2659 o.add(buildLogConfig());
2660 return o; 2660 return o;
2661 } 2661 }
2662 2662
2663 checkUnnamed1131(core.List<api.LogConfig> o) { 2663 checkUnnamed1215(core.List<api.LogConfig> o) {
2664 unittest.expect(o, unittest.hasLength(2)); 2664 unittest.expect(o, unittest.hasLength(2));
2665 checkLogConfig(o[0]); 2665 checkLogConfig(o[0]);
2666 checkLogConfig(o[1]); 2666 checkLogConfig(o[1]);
2667 } 2667 }
2668 2668
2669 buildUnnamed1132() { 2669 buildUnnamed1216() {
2670 var o = new core.List<core.String>(); 2670 var o = new core.List<core.String>();
2671 o.add("foo"); 2671 o.add("foo");
2672 o.add("foo"); 2672 o.add("foo");
2673 return o; 2673 return o;
2674 } 2674 }
2675 2675
2676 checkUnnamed1132(core.List<core.String> o) { 2676 checkUnnamed1216(core.List<core.String> o) {
2677 unittest.expect(o, unittest.hasLength(2)); 2677 unittest.expect(o, unittest.hasLength(2));
2678 unittest.expect(o[0], unittest.equals('foo')); 2678 unittest.expect(o[0], unittest.equals('foo'));
2679 unittest.expect(o[1], unittest.equals('foo')); 2679 unittest.expect(o[1], unittest.equals('foo'));
2680 } 2680 }
2681 2681
2682 buildUnnamed1133() { 2682 buildUnnamed1217() {
2683 var o = new core.List<core.String>(); 2683 var o = new core.List<core.String>();
2684 o.add("foo"); 2684 o.add("foo");
2685 o.add("foo"); 2685 o.add("foo");
2686 return o; 2686 return o;
2687 } 2687 }
2688 2688
2689 checkUnnamed1133(core.List<core.String> o) { 2689 checkUnnamed1217(core.List<core.String> o) {
2690 unittest.expect(o, unittest.hasLength(2)); 2690 unittest.expect(o, unittest.hasLength(2));
2691 unittest.expect(o[0], unittest.equals('foo')); 2691 unittest.expect(o[0], unittest.equals('foo'));
2692 unittest.expect(o[1], unittest.equals('foo')); 2692 unittest.expect(o[1], unittest.equals('foo'));
2693 } 2693 }
2694 2694
2695 core.int buildCounterRule = 0; 2695 core.int buildCounterRule = 0;
2696 buildRule() { 2696 buildRule() {
2697 var o = new api.Rule(); 2697 var o = new api.Rule();
2698 buildCounterRule++; 2698 buildCounterRule++;
2699 if (buildCounterRule < 3) { 2699 if (buildCounterRule < 3) {
2700 o.action = "foo"; 2700 o.action = "foo";
2701 o.conditions = buildUnnamed1129(); 2701 o.conditions = buildUnnamed1213();
2702 o.description = "foo"; 2702 o.description = "foo";
2703 o.in_ = buildUnnamed1130(); 2703 o.in_ = buildUnnamed1214();
2704 o.logConfig = buildUnnamed1131(); 2704 o.logConfig = buildUnnamed1215();
2705 o.notIn = buildUnnamed1132(); 2705 o.notIn = buildUnnamed1216();
2706 o.permissions = buildUnnamed1133(); 2706 o.permissions = buildUnnamed1217();
2707 } 2707 }
2708 buildCounterRule--; 2708 buildCounterRule--;
2709 return o; 2709 return o;
2710 } 2710 }
2711 2711
2712 checkRule(api.Rule o) { 2712 checkRule(api.Rule o) {
2713 buildCounterRule++; 2713 buildCounterRule++;
2714 if (buildCounterRule < 3) { 2714 if (buildCounterRule < 3) {
2715 unittest.expect(o.action, unittest.equals('foo')); 2715 unittest.expect(o.action, unittest.equals('foo'));
2716 checkUnnamed1129(o.conditions); 2716 checkUnnamed1213(o.conditions);
2717 unittest.expect(o.description, unittest.equals('foo')); 2717 unittest.expect(o.description, unittest.equals('foo'));
2718 checkUnnamed1130(o.in_); 2718 checkUnnamed1214(o.in_);
2719 checkUnnamed1131(o.logConfig); 2719 checkUnnamed1215(o.logConfig);
2720 checkUnnamed1132(o.notIn); 2720 checkUnnamed1216(o.notIn);
2721 checkUnnamed1133(o.permissions); 2721 checkUnnamed1217(o.permissions);
2722 } 2722 }
2723 buildCounterRule--; 2723 buildCounterRule--;
2724 } 2724 }
2725 2725
2726 buildUnnamed1134() { 2726 buildUnnamed1218() {
2727 var o = new core.List<api.Api>(); 2727 var o = new core.List<api.Api>();
2728 o.add(buildApi()); 2728 o.add(buildApi());
2729 o.add(buildApi()); 2729 o.add(buildApi());
2730 return o; 2730 return o;
2731 } 2731 }
2732 2732
2733 checkUnnamed1134(core.List<api.Api> o) { 2733 checkUnnamed1218(core.List<api.Api> o) {
2734 unittest.expect(o, unittest.hasLength(2)); 2734 unittest.expect(o, unittest.hasLength(2));
2735 checkApi(o[0]); 2735 checkApi(o[0]);
2736 checkApi(o[1]); 2736 checkApi(o[1]);
2737 } 2737 }
2738 2738
2739 buildUnnamed1135() { 2739 buildUnnamed1219() {
2740 var o = new core.List<api.Endpoint>(); 2740 var o = new core.List<api.Endpoint>();
2741 o.add(buildEndpoint()); 2741 o.add(buildEndpoint());
2742 o.add(buildEndpoint()); 2742 o.add(buildEndpoint());
2743 return o; 2743 return o;
2744 } 2744 }
2745 2745
2746 checkUnnamed1135(core.List<api.Endpoint> o) { 2746 checkUnnamed1219(core.List<api.Endpoint> o) {
2747 unittest.expect(o, unittest.hasLength(2)); 2747 unittest.expect(o, unittest.hasLength(2));
2748 checkEndpoint(o[0]); 2748 checkEndpoint(o[0]);
2749 checkEndpoint(o[1]); 2749 checkEndpoint(o[1]);
2750 } 2750 }
2751 2751
2752 buildUnnamed1136() { 2752 buildUnnamed1220() {
2753 var o = new core.List<api.Enum>(); 2753 var o = new core.List<api.Enum>();
2754 o.add(buildEnum()); 2754 o.add(buildEnum());
2755 o.add(buildEnum()); 2755 o.add(buildEnum());
2756 return o; 2756 return o;
2757 } 2757 }
2758 2758
2759 checkUnnamed1136(core.List<api.Enum> o) { 2759 checkUnnamed1220(core.List<api.Enum> o) {
2760 unittest.expect(o, unittest.hasLength(2)); 2760 unittest.expect(o, unittest.hasLength(2));
2761 checkEnum(o[0]); 2761 checkEnum(o[0]);
2762 checkEnum(o[1]); 2762 checkEnum(o[1]);
2763 } 2763 }
2764 2764
2765 buildUnnamed1137() { 2765 buildUnnamed1221() {
2766 var o = new core.List<api.LogDescriptor>(); 2766 var o = new core.List<api.LogDescriptor>();
2767 o.add(buildLogDescriptor()); 2767 o.add(buildLogDescriptor());
2768 o.add(buildLogDescriptor()); 2768 o.add(buildLogDescriptor());
2769 return o; 2769 return o;
2770 } 2770 }
2771 2771
2772 checkUnnamed1137(core.List<api.LogDescriptor> o) { 2772 checkUnnamed1221(core.List<api.LogDescriptor> o) {
2773 unittest.expect(o, unittest.hasLength(2)); 2773 unittest.expect(o, unittest.hasLength(2));
2774 checkLogDescriptor(o[0]); 2774 checkLogDescriptor(o[0]);
2775 checkLogDescriptor(o[1]); 2775 checkLogDescriptor(o[1]);
2776 } 2776 }
2777 2777
2778 buildUnnamed1138() { 2778 buildUnnamed1222() {
2779 var o = new core.List<api.MetricDescriptor>(); 2779 var o = new core.List<api.MetricDescriptor>();
2780 o.add(buildMetricDescriptor()); 2780 o.add(buildMetricDescriptor());
2781 o.add(buildMetricDescriptor()); 2781 o.add(buildMetricDescriptor());
2782 return o; 2782 return o;
2783 } 2783 }
2784 2784
2785 checkUnnamed1138(core.List<api.MetricDescriptor> o) { 2785 checkUnnamed1222(core.List<api.MetricDescriptor> o) {
2786 unittest.expect(o, unittest.hasLength(2)); 2786 unittest.expect(o, unittest.hasLength(2));
2787 checkMetricDescriptor(o[0]); 2787 checkMetricDescriptor(o[0]);
2788 checkMetricDescriptor(o[1]); 2788 checkMetricDescriptor(o[1]);
2789 } 2789 }
2790 2790
2791 buildUnnamed1139() { 2791 buildUnnamed1223() {
2792 var o = new core.List<api.MonitoredResourceDescriptor>(); 2792 var o = new core.List<api.MonitoredResourceDescriptor>();
2793 o.add(buildMonitoredResourceDescriptor()); 2793 o.add(buildMonitoredResourceDescriptor());
2794 o.add(buildMonitoredResourceDescriptor()); 2794 o.add(buildMonitoredResourceDescriptor());
2795 return o; 2795 return o;
2796 } 2796 }
2797 2797
2798 checkUnnamed1139(core.List<api.MonitoredResourceDescriptor> o) { 2798 checkUnnamed1223(core.List<api.MonitoredResourceDescriptor> o) {
2799 unittest.expect(o, unittest.hasLength(2)); 2799 unittest.expect(o, unittest.hasLength(2));
2800 checkMonitoredResourceDescriptor(o[0]); 2800 checkMonitoredResourceDescriptor(o[0]);
2801 checkMonitoredResourceDescriptor(o[1]); 2801 checkMonitoredResourceDescriptor(o[1]);
2802 } 2802 }
2803 2803
2804 buildUnnamed1140() { 2804 buildUnnamed1224() {
2805 var o = new core.List<api.Type>(); 2805 var o = new core.List<api.Type>();
2806 o.add(buildType()); 2806 o.add(buildType());
2807 o.add(buildType()); 2807 o.add(buildType());
2808 return o; 2808 return o;
2809 } 2809 }
2810 2810
2811 checkUnnamed1140(core.List<api.Type> o) { 2811 checkUnnamed1224(core.List<api.Type> o) {
2812 unittest.expect(o, unittest.hasLength(2)); 2812 unittest.expect(o, unittest.hasLength(2));
2813 checkType(o[0]); 2813 checkType(o[0]);
2814 checkType(o[1]); 2814 checkType(o[1]);
2815 } 2815 }
2816 2816
2817 buildUnnamed1141() { 2817 buildUnnamed1225() {
2818 var o = new core.List<api.Type>(); 2818 var o = new core.List<api.Type>();
2819 o.add(buildType()); 2819 o.add(buildType());
2820 o.add(buildType()); 2820 o.add(buildType());
2821 return o; 2821 return o;
2822 } 2822 }
2823 2823
2824 checkUnnamed1141(core.List<api.Type> o) { 2824 checkUnnamed1225(core.List<api.Type> o) {
2825 unittest.expect(o, unittest.hasLength(2)); 2825 unittest.expect(o, unittest.hasLength(2));
2826 checkType(o[0]); 2826 checkType(o[0]);
2827 checkType(o[1]); 2827 checkType(o[1]);
2828 } 2828 }
2829 2829
2830 core.int buildCounterService = 0; 2830 core.int buildCounterService = 0;
2831 buildService() { 2831 buildService() {
2832 var o = new api.Service(); 2832 var o = new api.Service();
2833 buildCounterService++; 2833 buildCounterService++;
2834 if (buildCounterService < 3) { 2834 if (buildCounterService < 3) {
2835 o.apis = buildUnnamed1134(); 2835 o.apis = buildUnnamed1218();
2836 o.authentication = buildAuthentication(); 2836 o.authentication = buildAuthentication();
2837 o.backend = buildBackend(); 2837 o.backend = buildBackend();
2838 o.configVersion = 42; 2838 o.configVersion = 42;
2839 o.context = buildContext(); 2839 o.context = buildContext();
2840 o.control = buildControl(); 2840 o.control = buildControl();
2841 o.customError = buildCustomError(); 2841 o.customError = buildCustomError();
2842 o.documentation = buildDocumentation(); 2842 o.documentation = buildDocumentation();
2843 o.endpoints = buildUnnamed1135(); 2843 o.endpoints = buildUnnamed1219();
2844 o.enums = buildUnnamed1136(); 2844 o.enums = buildUnnamed1220();
2845 o.experimental = buildExperimental(); 2845 o.experimental = buildExperimental();
2846 o.http = buildHttp(); 2846 o.http = buildHttp();
2847 o.id = "foo"; 2847 o.id = "foo";
2848 o.logging = buildLogging(); 2848 o.logging = buildLogging();
2849 o.logs = buildUnnamed1137(); 2849 o.logs = buildUnnamed1221();
2850 o.metrics = buildUnnamed1138(); 2850 o.metrics = buildUnnamed1222();
2851 o.monitoredResources = buildUnnamed1139(); 2851 o.monitoredResources = buildUnnamed1223();
2852 o.monitoring = buildMonitoring(); 2852 o.monitoring = buildMonitoring();
2853 o.name = "foo"; 2853 o.name = "foo";
2854 o.producerProjectId = "foo"; 2854 o.producerProjectId = "foo";
2855 o.quota = buildQuota(); 2855 o.quota = buildQuota();
2856 o.sourceInfo = buildSourceInfo(); 2856 o.sourceInfo = buildSourceInfo();
2857 o.systemParameters = buildSystemParameters(); 2857 o.systemParameters = buildSystemParameters();
2858 o.systemTypes = buildUnnamed1140(); 2858 o.systemTypes = buildUnnamed1224();
2859 o.title = "foo"; 2859 o.title = "foo";
2860 o.types = buildUnnamed1141(); 2860 o.types = buildUnnamed1225();
2861 o.usage = buildUsage(); 2861 o.usage = buildUsage();
2862 o.visibility = buildVisibility(); 2862 o.visibility = buildVisibility();
2863 } 2863 }
2864 buildCounterService--; 2864 buildCounterService--;
2865 return o; 2865 return o;
2866 } 2866 }
2867 2867
2868 checkService(api.Service o) { 2868 checkService(api.Service o) {
2869 buildCounterService++; 2869 buildCounterService++;
2870 if (buildCounterService < 3) { 2870 if (buildCounterService < 3) {
2871 checkUnnamed1134(o.apis); 2871 checkUnnamed1218(o.apis);
2872 checkAuthentication(o.authentication); 2872 checkAuthentication(o.authentication);
2873 checkBackend(o.backend); 2873 checkBackend(o.backend);
2874 unittest.expect(o.configVersion, unittest.equals(42)); 2874 unittest.expect(o.configVersion, unittest.equals(42));
2875 checkContext(o.context); 2875 checkContext(o.context);
2876 checkControl(o.control); 2876 checkControl(o.control);
2877 checkCustomError(o.customError); 2877 checkCustomError(o.customError);
2878 checkDocumentation(o.documentation); 2878 checkDocumentation(o.documentation);
2879 checkUnnamed1135(o.endpoints); 2879 checkUnnamed1219(o.endpoints);
2880 checkUnnamed1136(o.enums); 2880 checkUnnamed1220(o.enums);
2881 checkExperimental(o.experimental); 2881 checkExperimental(o.experimental);
2882 checkHttp(o.http); 2882 checkHttp(o.http);
2883 unittest.expect(o.id, unittest.equals('foo')); 2883 unittest.expect(o.id, unittest.equals('foo'));
2884 checkLogging(o.logging); 2884 checkLogging(o.logging);
2885 checkUnnamed1137(o.logs); 2885 checkUnnamed1221(o.logs);
2886 checkUnnamed1138(o.metrics); 2886 checkUnnamed1222(o.metrics);
2887 checkUnnamed1139(o.monitoredResources); 2887 checkUnnamed1223(o.monitoredResources);
2888 checkMonitoring(o.monitoring); 2888 checkMonitoring(o.monitoring);
2889 unittest.expect(o.name, unittest.equals('foo')); 2889 unittest.expect(o.name, unittest.equals('foo'));
2890 unittest.expect(o.producerProjectId, unittest.equals('foo')); 2890 unittest.expect(o.producerProjectId, unittest.equals('foo'));
2891 checkQuota(o.quota); 2891 checkQuota(o.quota);
2892 checkSourceInfo(o.sourceInfo); 2892 checkSourceInfo(o.sourceInfo);
2893 checkSystemParameters(o.systemParameters); 2893 checkSystemParameters(o.systemParameters);
2894 checkUnnamed1140(o.systemTypes); 2894 checkUnnamed1224(o.systemTypes);
2895 unittest.expect(o.title, unittest.equals('foo')); 2895 unittest.expect(o.title, unittest.equals('foo'));
2896 checkUnnamed1141(o.types); 2896 checkUnnamed1225(o.types);
2897 checkUsage(o.usage); 2897 checkUsage(o.usage);
2898 checkVisibility(o.visibility); 2898 checkVisibility(o.visibility);
2899 } 2899 }
2900 buildCounterService--; 2900 buildCounterService--;
2901 } 2901 }
2902 2902
2903 core.int buildCounterSetIamPolicyRequest = 0; 2903 core.int buildCounterSetIamPolicyRequest = 0;
2904 buildSetIamPolicyRequest() { 2904 buildSetIamPolicyRequest() {
2905 var o = new api.SetIamPolicyRequest(); 2905 var o = new api.SetIamPolicyRequest();
2906 buildCounterSetIamPolicyRequest++; 2906 buildCounterSetIamPolicyRequest++;
(...skipping 26 matching lines...) Expand all
2933 } 2933 }
2934 2934
2935 checkSourceContext(api.SourceContext o) { 2935 checkSourceContext(api.SourceContext o) {
2936 buildCounterSourceContext++; 2936 buildCounterSourceContext++;
2937 if (buildCounterSourceContext < 3) { 2937 if (buildCounterSourceContext < 3) {
2938 unittest.expect(o.fileName, unittest.equals('foo')); 2938 unittest.expect(o.fileName, unittest.equals('foo'));
2939 } 2939 }
2940 buildCounterSourceContext--; 2940 buildCounterSourceContext--;
2941 } 2941 }
2942 2942
2943 buildUnnamed1142() { 2943 buildUnnamed1226() {
2944 var o = new core.Map<core.String, core.Object>(); 2944 var o = new core.Map<core.String, core.Object>();
2945 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2945 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2946 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2946 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2947 return o; 2947 return o;
2948 } 2948 }
2949 2949
2950 checkUnnamed1142(core.Map<core.String, core.Object> o) { 2950 checkUnnamed1226(core.Map<core.String, core.Object> o) {
2951 unittest.expect(o, unittest.hasLength(2)); 2951 unittest.expect(o, unittest.hasLength(2));
2952 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest .expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri ng"], unittest.equals('foo')); 2952 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest .expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri ng"], unittest.equals('foo'));
2953 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest .expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri ng"], unittest.equals('foo')); 2953 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest .expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri ng"], unittest.equals('foo'));
2954 } 2954 }
2955 2955
2956 buildUnnamed1143() { 2956 buildUnnamed1227() {
2957 var o = new core.List<core.Map<core.String, core.Object>>(); 2957 var o = new core.List<core.Map<core.String, core.Object>>();
2958 o.add(buildUnnamed1142()); 2958 o.add(buildUnnamed1226());
2959 o.add(buildUnnamed1142()); 2959 o.add(buildUnnamed1226());
2960 return o; 2960 return o;
2961 } 2961 }
2962 2962
2963 checkUnnamed1143(core.List<core.Map<core.String, core.Object>> o) { 2963 checkUnnamed1227(core.List<core.Map<core.String, core.Object>> o) {
2964 unittest.expect(o, unittest.hasLength(2)); 2964 unittest.expect(o, unittest.hasLength(2));
2965 checkUnnamed1142(o[0]); 2965 checkUnnamed1226(o[0]);
2966 checkUnnamed1142(o[1]); 2966 checkUnnamed1226(o[1]);
2967 } 2967 }
2968 2968
2969 core.int buildCounterSourceInfo = 0; 2969 core.int buildCounterSourceInfo = 0;
2970 buildSourceInfo() { 2970 buildSourceInfo() {
2971 var o = new api.SourceInfo(); 2971 var o = new api.SourceInfo();
2972 buildCounterSourceInfo++; 2972 buildCounterSourceInfo++;
2973 if (buildCounterSourceInfo < 3) { 2973 if (buildCounterSourceInfo < 3) {
2974 o.sourceFiles = buildUnnamed1143(); 2974 o.sourceFiles = buildUnnamed1227();
2975 } 2975 }
2976 buildCounterSourceInfo--; 2976 buildCounterSourceInfo--;
2977 return o; 2977 return o;
2978 } 2978 }
2979 2979
2980 checkSourceInfo(api.SourceInfo o) { 2980 checkSourceInfo(api.SourceInfo o) {
2981 buildCounterSourceInfo++; 2981 buildCounterSourceInfo++;
2982 if (buildCounterSourceInfo < 3) { 2982 if (buildCounterSourceInfo < 3) {
2983 checkUnnamed1143(o.sourceFiles); 2983 checkUnnamed1227(o.sourceFiles);
2984 } 2984 }
2985 buildCounterSourceInfo--; 2985 buildCounterSourceInfo--;
2986 } 2986 }
2987 2987
2988 buildUnnamed1144() { 2988 buildUnnamed1228() {
2989 var o = new core.Map<core.String, core.Object>(); 2989 var o = new core.Map<core.String, core.Object>();
2990 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2990 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2991 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2991 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2992 return o; 2992 return o;
2993 } 2993 }
2994 2994
2995 checkUnnamed1144(core.Map<core.String, core.Object> o) { 2995 checkUnnamed1228(core.Map<core.String, core.Object> o) {
2996 unittest.expect(o, unittest.hasLength(2)); 2996 unittest.expect(o, unittest.hasLength(2));
2997 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest .expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri ng"], unittest.equals('foo')); 2997 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest .expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri ng"], unittest.equals('foo'));
2998 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest .expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri ng"], unittest.equals('foo')); 2998 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest .expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri ng"], unittest.equals('foo'));
2999 } 2999 }
3000 3000
3001 buildUnnamed1145() { 3001 buildUnnamed1229() {
3002 var o = new core.List<core.Map<core.String, core.Object>>(); 3002 var o = new core.List<core.Map<core.String, core.Object>>();
3003 o.add(buildUnnamed1144()); 3003 o.add(buildUnnamed1228());
3004 o.add(buildUnnamed1144()); 3004 o.add(buildUnnamed1228());
3005 return o; 3005 return o;
3006 } 3006 }
3007 3007
3008 checkUnnamed1145(core.List<core.Map<core.String, core.Object>> o) { 3008 checkUnnamed1229(core.List<core.Map<core.String, core.Object>> o) {
3009 unittest.expect(o, unittest.hasLength(2)); 3009 unittest.expect(o, unittest.hasLength(2));
3010 checkUnnamed1144(o[0]); 3010 checkUnnamed1228(o[0]);
3011 checkUnnamed1144(o[1]); 3011 checkUnnamed1228(o[1]);
3012 } 3012 }
3013 3013
3014 core.int buildCounterStatus = 0; 3014 core.int buildCounterStatus = 0;
3015 buildStatus() { 3015 buildStatus() {
3016 var o = new api.Status(); 3016 var o = new api.Status();
3017 buildCounterStatus++; 3017 buildCounterStatus++;
3018 if (buildCounterStatus < 3) { 3018 if (buildCounterStatus < 3) {
3019 o.code = 42; 3019 o.code = 42;
3020 o.details = buildUnnamed1145(); 3020 o.details = buildUnnamed1229();
3021 o.message = "foo"; 3021 o.message = "foo";
3022 } 3022 }
3023 buildCounterStatus--; 3023 buildCounterStatus--;
3024 return o; 3024 return o;
3025 } 3025 }
3026 3026
3027 checkStatus(api.Status o) { 3027 checkStatus(api.Status o) {
3028 buildCounterStatus++; 3028 buildCounterStatus++;
3029 if (buildCounterStatus < 3) { 3029 if (buildCounterStatus < 3) {
3030 unittest.expect(o.code, unittest.equals(42)); 3030 unittest.expect(o.code, unittest.equals(42));
3031 checkUnnamed1145(o.details); 3031 checkUnnamed1229(o.details);
3032 unittest.expect(o.message, unittest.equals('foo')); 3032 unittest.expect(o.message, unittest.equals('foo'));
3033 } 3033 }
3034 buildCounterStatus--; 3034 buildCounterStatus--;
3035 } 3035 }
3036 3036
3037 core.int buildCounterStep = 0; 3037 core.int buildCounterStep = 0;
3038 buildStep() { 3038 buildStep() {
3039 var o = new api.Step(); 3039 var o = new api.Step();
3040 buildCounterStep++; 3040 buildCounterStep++;
3041 if (buildCounterStep < 3) { 3041 if (buildCounterStep < 3) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
3111 checkSystemParameter(api.SystemParameter o) { 3111 checkSystemParameter(api.SystemParameter o) {
3112 buildCounterSystemParameter++; 3112 buildCounterSystemParameter++;
3113 if (buildCounterSystemParameter < 3) { 3113 if (buildCounterSystemParameter < 3) {
3114 unittest.expect(o.httpHeader, unittest.equals('foo')); 3114 unittest.expect(o.httpHeader, unittest.equals('foo'));
3115 unittest.expect(o.name, unittest.equals('foo')); 3115 unittest.expect(o.name, unittest.equals('foo'));
3116 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); 3116 unittest.expect(o.urlQueryParameter, unittest.equals('foo'));
3117 } 3117 }
3118 buildCounterSystemParameter--; 3118 buildCounterSystemParameter--;
3119 } 3119 }
3120 3120
3121 buildUnnamed1146() { 3121 buildUnnamed1230() {
3122 var o = new core.List<api.SystemParameter>(); 3122 var o = new core.List<api.SystemParameter>();
3123 o.add(buildSystemParameter()); 3123 o.add(buildSystemParameter());
3124 o.add(buildSystemParameter()); 3124 o.add(buildSystemParameter());
3125 return o; 3125 return o;
3126 } 3126 }
3127 3127
3128 checkUnnamed1146(core.List<api.SystemParameter> o) { 3128 checkUnnamed1230(core.List<api.SystemParameter> o) {
3129 unittest.expect(o, unittest.hasLength(2)); 3129 unittest.expect(o, unittest.hasLength(2));
3130 checkSystemParameter(o[0]); 3130 checkSystemParameter(o[0]);
3131 checkSystemParameter(o[1]); 3131 checkSystemParameter(o[1]);
3132 } 3132 }
3133 3133
3134 core.int buildCounterSystemParameterRule = 0; 3134 core.int buildCounterSystemParameterRule = 0;
3135 buildSystemParameterRule() { 3135 buildSystemParameterRule() {
3136 var o = new api.SystemParameterRule(); 3136 var o = new api.SystemParameterRule();
3137 buildCounterSystemParameterRule++; 3137 buildCounterSystemParameterRule++;
3138 if (buildCounterSystemParameterRule < 3) { 3138 if (buildCounterSystemParameterRule < 3) {
3139 o.parameters = buildUnnamed1146(); 3139 o.parameters = buildUnnamed1230();
3140 o.selector = "foo"; 3140 o.selector = "foo";
3141 } 3141 }
3142 buildCounterSystemParameterRule--; 3142 buildCounterSystemParameterRule--;
3143 return o; 3143 return o;
3144 } 3144 }
3145 3145
3146 checkSystemParameterRule(api.SystemParameterRule o) { 3146 checkSystemParameterRule(api.SystemParameterRule o) {
3147 buildCounterSystemParameterRule++; 3147 buildCounterSystemParameterRule++;
3148 if (buildCounterSystemParameterRule < 3) { 3148 if (buildCounterSystemParameterRule < 3) {
3149 checkUnnamed1146(o.parameters); 3149 checkUnnamed1230(o.parameters);
3150 unittest.expect(o.selector, unittest.equals('foo')); 3150 unittest.expect(o.selector, unittest.equals('foo'));
3151 } 3151 }
3152 buildCounterSystemParameterRule--; 3152 buildCounterSystemParameterRule--;
3153 } 3153 }
3154 3154
3155 buildUnnamed1147() { 3155 buildUnnamed1231() {
3156 var o = new core.List<api.SystemParameterRule>(); 3156 var o = new core.List<api.SystemParameterRule>();
3157 o.add(buildSystemParameterRule()); 3157 o.add(buildSystemParameterRule());
3158 o.add(buildSystemParameterRule()); 3158 o.add(buildSystemParameterRule());
3159 return o; 3159 return o;
3160 } 3160 }
3161 3161
3162 checkUnnamed1147(core.List<api.SystemParameterRule> o) { 3162 checkUnnamed1231(core.List<api.SystemParameterRule> o) {
3163 unittest.expect(o, unittest.hasLength(2)); 3163 unittest.expect(o, unittest.hasLength(2));
3164 checkSystemParameterRule(o[0]); 3164 checkSystemParameterRule(o[0]);
3165 checkSystemParameterRule(o[1]); 3165 checkSystemParameterRule(o[1]);
3166 } 3166 }
3167 3167
3168 core.int buildCounterSystemParameters = 0; 3168 core.int buildCounterSystemParameters = 0;
3169 buildSystemParameters() { 3169 buildSystemParameters() {
3170 var o = new api.SystemParameters(); 3170 var o = new api.SystemParameters();
3171 buildCounterSystemParameters++; 3171 buildCounterSystemParameters++;
3172 if (buildCounterSystemParameters < 3) { 3172 if (buildCounterSystemParameters < 3) {
3173 o.rules = buildUnnamed1147(); 3173 o.rules = buildUnnamed1231();
3174 } 3174 }
3175 buildCounterSystemParameters--; 3175 buildCounterSystemParameters--;
3176 return o; 3176 return o;
3177 } 3177 }
3178 3178
3179 checkSystemParameters(api.SystemParameters o) { 3179 checkSystemParameters(api.SystemParameters o) {
3180 buildCounterSystemParameters++; 3180 buildCounterSystemParameters++;
3181 if (buildCounterSystemParameters < 3) { 3181 if (buildCounterSystemParameters < 3) {
3182 checkUnnamed1147(o.rules); 3182 checkUnnamed1231(o.rules);
3183 } 3183 }
3184 buildCounterSystemParameters--; 3184 buildCounterSystemParameters--;
3185 } 3185 }
3186 3186
3187 buildUnnamed1148() { 3187 buildUnnamed1232() {
3188 var o = new core.List<core.String>(); 3188 var o = new core.List<core.String>();
3189 o.add("foo"); 3189 o.add("foo");
3190 o.add("foo"); 3190 o.add("foo");
3191 return o; 3191 return o;
3192 } 3192 }
3193 3193
3194 checkUnnamed1148(core.List<core.String> o) { 3194 checkUnnamed1232(core.List<core.String> o) {
3195 unittest.expect(o, unittest.hasLength(2)); 3195 unittest.expect(o, unittest.hasLength(2));
3196 unittest.expect(o[0], unittest.equals('foo')); 3196 unittest.expect(o[0], unittest.equals('foo'));
3197 unittest.expect(o[1], unittest.equals('foo')); 3197 unittest.expect(o[1], unittest.equals('foo'));
3198 } 3198 }
3199 3199
3200 core.int buildCounterTestIamPermissionsRequest = 0; 3200 core.int buildCounterTestIamPermissionsRequest = 0;
3201 buildTestIamPermissionsRequest() { 3201 buildTestIamPermissionsRequest() {
3202 var o = new api.TestIamPermissionsRequest(); 3202 var o = new api.TestIamPermissionsRequest();
3203 buildCounterTestIamPermissionsRequest++; 3203 buildCounterTestIamPermissionsRequest++;
3204 if (buildCounterTestIamPermissionsRequest < 3) { 3204 if (buildCounterTestIamPermissionsRequest < 3) {
3205 o.permissions = buildUnnamed1148(); 3205 o.permissions = buildUnnamed1232();
3206 } 3206 }
3207 buildCounterTestIamPermissionsRequest--; 3207 buildCounterTestIamPermissionsRequest--;
3208 return o; 3208 return o;
3209 } 3209 }
3210 3210
3211 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { 3211 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
3212 buildCounterTestIamPermissionsRequest++; 3212 buildCounterTestIamPermissionsRequest++;
3213 if (buildCounterTestIamPermissionsRequest < 3) { 3213 if (buildCounterTestIamPermissionsRequest < 3) {
3214 checkUnnamed1148(o.permissions); 3214 checkUnnamed1232(o.permissions);
3215 } 3215 }
3216 buildCounterTestIamPermissionsRequest--; 3216 buildCounterTestIamPermissionsRequest--;
3217 } 3217 }
3218 3218
3219 buildUnnamed1149() { 3219 buildUnnamed1233() {
3220 var o = new core.List<core.String>(); 3220 var o = new core.List<core.String>();
3221 o.add("foo"); 3221 o.add("foo");
3222 o.add("foo"); 3222 o.add("foo");
3223 return o; 3223 return o;
3224 } 3224 }
3225 3225
3226 checkUnnamed1149(core.List<core.String> o) { 3226 checkUnnamed1233(core.List<core.String> o) {
3227 unittest.expect(o, unittest.hasLength(2)); 3227 unittest.expect(o, unittest.hasLength(2));
3228 unittest.expect(o[0], unittest.equals('foo')); 3228 unittest.expect(o[0], unittest.equals('foo'));
3229 unittest.expect(o[1], unittest.equals('foo')); 3229 unittest.expect(o[1], unittest.equals('foo'));
3230 } 3230 }
3231 3231
3232 core.int buildCounterTestIamPermissionsResponse = 0; 3232 core.int buildCounterTestIamPermissionsResponse = 0;
3233 buildTestIamPermissionsResponse() { 3233 buildTestIamPermissionsResponse() {
3234 var o = new api.TestIamPermissionsResponse(); 3234 var o = new api.TestIamPermissionsResponse();
3235 buildCounterTestIamPermissionsResponse++; 3235 buildCounterTestIamPermissionsResponse++;
3236 if (buildCounterTestIamPermissionsResponse < 3) { 3236 if (buildCounterTestIamPermissionsResponse < 3) {
3237 o.permissions = buildUnnamed1149(); 3237 o.permissions = buildUnnamed1233();
3238 } 3238 }
3239 buildCounterTestIamPermissionsResponse--; 3239 buildCounterTestIamPermissionsResponse--;
3240 return o; 3240 return o;
3241 } 3241 }
3242 3242
3243 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { 3243 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
3244 buildCounterTestIamPermissionsResponse++; 3244 buildCounterTestIamPermissionsResponse++;
3245 if (buildCounterTestIamPermissionsResponse < 3) { 3245 if (buildCounterTestIamPermissionsResponse < 3) {
3246 checkUnnamed1149(o.permissions); 3246 checkUnnamed1233(o.permissions);
3247 } 3247 }
3248 buildCounterTestIamPermissionsResponse--; 3248 buildCounterTestIamPermissionsResponse--;
3249 } 3249 }
3250 3250
3251 buildUnnamed1150() { 3251 buildUnnamed1234() {
3252 var o = new core.Map<core.String, core.double>(); 3252 var o = new core.Map<core.String, core.double>();
3253 o["x"] = 42.0; 3253 o["x"] = 42.0;
3254 o["y"] = 42.0; 3254 o["y"] = 42.0;
3255 return o; 3255 return o;
3256 } 3256 }
3257 3257
3258 checkUnnamed1150(core.Map<core.String, core.double> o) { 3258 checkUnnamed1234(core.Map<core.String, core.double> o) {
3259 unittest.expect(o, unittest.hasLength(2)); 3259 unittest.expect(o, unittest.hasLength(2));
3260 unittest.expect(o["x"], unittest.equals(42.0)); 3260 unittest.expect(o["x"], unittest.equals(42.0));
3261 unittest.expect(o["y"], unittest.equals(42.0)); 3261 unittest.expect(o["y"], unittest.equals(42.0));
3262 } 3262 }
3263 3263
3264 core.int buildCounterTrafficPercentStrategy = 0; 3264 core.int buildCounterTrafficPercentStrategy = 0;
3265 buildTrafficPercentStrategy() { 3265 buildTrafficPercentStrategy() {
3266 var o = new api.TrafficPercentStrategy(); 3266 var o = new api.TrafficPercentStrategy();
3267 buildCounterTrafficPercentStrategy++; 3267 buildCounterTrafficPercentStrategy++;
3268 if (buildCounterTrafficPercentStrategy < 3) { 3268 if (buildCounterTrafficPercentStrategy < 3) {
3269 o.percentages = buildUnnamed1150(); 3269 o.percentages = buildUnnamed1234();
3270 } 3270 }
3271 buildCounterTrafficPercentStrategy--; 3271 buildCounterTrafficPercentStrategy--;
3272 return o; 3272 return o;
3273 } 3273 }
3274 3274
3275 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { 3275 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
3276 buildCounterTrafficPercentStrategy++; 3276 buildCounterTrafficPercentStrategy++;
3277 if (buildCounterTrafficPercentStrategy < 3) { 3277 if (buildCounterTrafficPercentStrategy < 3) {
3278 checkUnnamed1150(o.percentages); 3278 checkUnnamed1234(o.percentages);
3279 } 3279 }
3280 buildCounterTrafficPercentStrategy--; 3280 buildCounterTrafficPercentStrategy--;
3281 } 3281 }
3282 3282
3283 buildUnnamed1151() { 3283 buildUnnamed1235() {
3284 var o = new core.List<api.Field>(); 3284 var o = new core.List<api.Field>();
3285 o.add(buildField()); 3285 o.add(buildField());
3286 o.add(buildField()); 3286 o.add(buildField());
3287 return o; 3287 return o;
3288 } 3288 }
3289 3289
3290 checkUnnamed1151(core.List<api.Field> o) { 3290 checkUnnamed1235(core.List<api.Field> o) {
3291 unittest.expect(o, unittest.hasLength(2)); 3291 unittest.expect(o, unittest.hasLength(2));
3292 checkField(o[0]); 3292 checkField(o[0]);
3293 checkField(o[1]); 3293 checkField(o[1]);
3294 } 3294 }
3295 3295
3296 buildUnnamed1152() { 3296 buildUnnamed1236() {
3297 var o = new core.List<core.String>(); 3297 var o = new core.List<core.String>();
3298 o.add("foo"); 3298 o.add("foo");
3299 o.add("foo"); 3299 o.add("foo");
3300 return o; 3300 return o;
3301 } 3301 }
3302 3302
3303 checkUnnamed1152(core.List<core.String> o) { 3303 checkUnnamed1236(core.List<core.String> o) {
3304 unittest.expect(o, unittest.hasLength(2)); 3304 unittest.expect(o, unittest.hasLength(2));
3305 unittest.expect(o[0], unittest.equals('foo')); 3305 unittest.expect(o[0], unittest.equals('foo'));
3306 unittest.expect(o[1], unittest.equals('foo')); 3306 unittest.expect(o[1], unittest.equals('foo'));
3307 } 3307 }
3308 3308
3309 buildUnnamed1153() { 3309 buildUnnamed1237() {
3310 var o = new core.List<api.Option>(); 3310 var o = new core.List<api.Option>();
3311 o.add(buildOption()); 3311 o.add(buildOption());
3312 o.add(buildOption()); 3312 o.add(buildOption());
3313 return o; 3313 return o;
3314 } 3314 }
3315 3315
3316 checkUnnamed1153(core.List<api.Option> o) { 3316 checkUnnamed1237(core.List<api.Option> o) {
3317 unittest.expect(o, unittest.hasLength(2)); 3317 unittest.expect(o, unittest.hasLength(2));
3318 checkOption(o[0]); 3318 checkOption(o[0]);
3319 checkOption(o[1]); 3319 checkOption(o[1]);
3320 } 3320 }
3321 3321
3322 core.int buildCounterType = 0; 3322 core.int buildCounterType = 0;
3323 buildType() { 3323 buildType() {
3324 var o = new api.Type(); 3324 var o = new api.Type();
3325 buildCounterType++; 3325 buildCounterType++;
3326 if (buildCounterType < 3) { 3326 if (buildCounterType < 3) {
3327 o.fields = buildUnnamed1151(); 3327 o.fields = buildUnnamed1235();
3328 o.name = "foo"; 3328 o.name = "foo";
3329 o.oneofs = buildUnnamed1152(); 3329 o.oneofs = buildUnnamed1236();
3330 o.options = buildUnnamed1153(); 3330 o.options = buildUnnamed1237();
3331 o.sourceContext = buildSourceContext(); 3331 o.sourceContext = buildSourceContext();
3332 o.syntax = "foo"; 3332 o.syntax = "foo";
3333 } 3333 }
3334 buildCounterType--; 3334 buildCounterType--;
3335 return o; 3335 return o;
3336 } 3336 }
3337 3337
3338 checkType(api.Type o) { 3338 checkType(api.Type o) {
3339 buildCounterType++; 3339 buildCounterType++;
3340 if (buildCounterType < 3) { 3340 if (buildCounterType < 3) {
3341 checkUnnamed1151(o.fields); 3341 checkUnnamed1235(o.fields);
3342 unittest.expect(o.name, unittest.equals('foo')); 3342 unittest.expect(o.name, unittest.equals('foo'));
3343 checkUnnamed1152(o.oneofs); 3343 checkUnnamed1236(o.oneofs);
3344 checkUnnamed1153(o.options); 3344 checkUnnamed1237(o.options);
3345 checkSourceContext(o.sourceContext); 3345 checkSourceContext(o.sourceContext);
3346 unittest.expect(o.syntax, unittest.equals('foo')); 3346 unittest.expect(o.syntax, unittest.equals('foo'));
3347 } 3347 }
3348 buildCounterType--; 3348 buildCounterType--;
3349 } 3349 }
3350 3350
3351 core.int buildCounterUndeleteServiceResponse = 0; 3351 core.int buildCounterUndeleteServiceResponse = 0;
3352 buildUndeleteServiceResponse() { 3352 buildUndeleteServiceResponse() {
3353 var o = new api.UndeleteServiceResponse(); 3353 var o = new api.UndeleteServiceResponse();
3354 buildCounterUndeleteServiceResponse++; 3354 buildCounterUndeleteServiceResponse++;
3355 if (buildCounterUndeleteServiceResponse < 3) { 3355 if (buildCounterUndeleteServiceResponse < 3) {
3356 o.service = buildManagedService(); 3356 o.service = buildManagedService();
3357 } 3357 }
3358 buildCounterUndeleteServiceResponse--; 3358 buildCounterUndeleteServiceResponse--;
3359 return o; 3359 return o;
3360 } 3360 }
3361 3361
3362 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { 3362 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) {
3363 buildCounterUndeleteServiceResponse++; 3363 buildCounterUndeleteServiceResponse++;
3364 if (buildCounterUndeleteServiceResponse < 3) { 3364 if (buildCounterUndeleteServiceResponse < 3) {
3365 checkManagedService(o.service); 3365 checkManagedService(o.service);
3366 } 3366 }
3367 buildCounterUndeleteServiceResponse--; 3367 buildCounterUndeleteServiceResponse--;
3368 } 3368 }
3369 3369
3370 buildUnnamed1154() { 3370 buildUnnamed1238() {
3371 var o = new core.List<core.String>(); 3371 var o = new core.List<core.String>();
3372 o.add("foo"); 3372 o.add("foo");
3373 o.add("foo"); 3373 o.add("foo");
3374 return o; 3374 return o;
3375 } 3375 }
3376 3376
3377 checkUnnamed1154(core.List<core.String> o) { 3377 checkUnnamed1238(core.List<core.String> o) {
3378 unittest.expect(o, unittest.hasLength(2)); 3378 unittest.expect(o, unittest.hasLength(2));
3379 unittest.expect(o[0], unittest.equals('foo')); 3379 unittest.expect(o[0], unittest.equals('foo'));
3380 unittest.expect(o[1], unittest.equals('foo')); 3380 unittest.expect(o[1], unittest.equals('foo'));
3381 } 3381 }
3382 3382
3383 buildUnnamed1155() { 3383 buildUnnamed1239() {
3384 var o = new core.List<api.UsageRule>(); 3384 var o = new core.List<api.UsageRule>();
3385 o.add(buildUsageRule()); 3385 o.add(buildUsageRule());
3386 o.add(buildUsageRule()); 3386 o.add(buildUsageRule());
3387 return o; 3387 return o;
3388 } 3388 }
3389 3389
3390 checkUnnamed1155(core.List<api.UsageRule> o) { 3390 checkUnnamed1239(core.List<api.UsageRule> o) {
3391 unittest.expect(o, unittest.hasLength(2)); 3391 unittest.expect(o, unittest.hasLength(2));
3392 checkUsageRule(o[0]); 3392 checkUsageRule(o[0]);
3393 checkUsageRule(o[1]); 3393 checkUsageRule(o[1]);
3394 } 3394 }
3395 3395
3396 core.int buildCounterUsage = 0; 3396 core.int buildCounterUsage = 0;
3397 buildUsage() { 3397 buildUsage() {
3398 var o = new api.Usage(); 3398 var o = new api.Usage();
3399 buildCounterUsage++; 3399 buildCounterUsage++;
3400 if (buildCounterUsage < 3) { 3400 if (buildCounterUsage < 3) {
3401 o.producerNotificationChannel = "foo"; 3401 o.producerNotificationChannel = "foo";
3402 o.requirements = buildUnnamed1154(); 3402 o.requirements = buildUnnamed1238();
3403 o.rules = buildUnnamed1155(); 3403 o.rules = buildUnnamed1239();
3404 } 3404 }
3405 buildCounterUsage--; 3405 buildCounterUsage--;
3406 return o; 3406 return o;
3407 } 3407 }
3408 3408
3409 checkUsage(api.Usage o) { 3409 checkUsage(api.Usage o) {
3410 buildCounterUsage++; 3410 buildCounterUsage++;
3411 if (buildCounterUsage < 3) { 3411 if (buildCounterUsage < 3) {
3412 unittest.expect(o.producerNotificationChannel, unittest.equals('foo')); 3412 unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
3413 checkUnnamed1154(o.requirements); 3413 checkUnnamed1238(o.requirements);
3414 checkUnnamed1155(o.rules); 3414 checkUnnamed1239(o.rules);
3415 } 3415 }
3416 buildCounterUsage--; 3416 buildCounterUsage--;
3417 } 3417 }
3418 3418
3419 core.int buildCounterUsageRule = 0; 3419 core.int buildCounterUsageRule = 0;
3420 buildUsageRule() { 3420 buildUsageRule() {
3421 var o = new api.UsageRule(); 3421 var o = new api.UsageRule();
3422 buildCounterUsageRule++; 3422 buildCounterUsageRule++;
3423 if (buildCounterUsageRule < 3) { 3423 if (buildCounterUsageRule < 3) {
3424 o.allowUnregisteredCalls = true; 3424 o.allowUnregisteredCalls = true;
3425 o.selector = "foo"; 3425 o.selector = "foo";
3426 o.skipServiceControl = true;
3426 } 3427 }
3427 buildCounterUsageRule--; 3428 buildCounterUsageRule--;
3428 return o; 3429 return o;
3429 } 3430 }
3430 3431
3431 checkUsageRule(api.UsageRule o) { 3432 checkUsageRule(api.UsageRule o) {
3432 buildCounterUsageRule++; 3433 buildCounterUsageRule++;
3433 if (buildCounterUsageRule < 3) { 3434 if (buildCounterUsageRule < 3) {
3434 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); 3435 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue);
3435 unittest.expect(o.selector, unittest.equals('foo')); 3436 unittest.expect(o.selector, unittest.equals('foo'));
3437 unittest.expect(o.skipServiceControl, unittest.isTrue);
3436 } 3438 }
3437 buildCounterUsageRule--; 3439 buildCounterUsageRule--;
3438 } 3440 }
3439 3441
3440 buildUnnamed1156() { 3442 buildUnnamed1240() {
3441 var o = new core.List<api.VisibilityRule>(); 3443 var o = new core.List<api.VisibilityRule>();
3442 o.add(buildVisibilityRule()); 3444 o.add(buildVisibilityRule());
3443 o.add(buildVisibilityRule()); 3445 o.add(buildVisibilityRule());
3444 return o; 3446 return o;
3445 } 3447 }
3446 3448
3447 checkUnnamed1156(core.List<api.VisibilityRule> o) { 3449 checkUnnamed1240(core.List<api.VisibilityRule> o) {
3448 unittest.expect(o, unittest.hasLength(2)); 3450 unittest.expect(o, unittest.hasLength(2));
3449 checkVisibilityRule(o[0]); 3451 checkVisibilityRule(o[0]);
3450 checkVisibilityRule(o[1]); 3452 checkVisibilityRule(o[1]);
3451 } 3453 }
3452 3454
3453 core.int buildCounterVisibility = 0; 3455 core.int buildCounterVisibility = 0;
3454 buildVisibility() { 3456 buildVisibility() {
3455 var o = new api.Visibility(); 3457 var o = new api.Visibility();
3456 buildCounterVisibility++; 3458 buildCounterVisibility++;
3457 if (buildCounterVisibility < 3) { 3459 if (buildCounterVisibility < 3) {
3458 o.rules = buildUnnamed1156(); 3460 o.rules = buildUnnamed1240();
3459 } 3461 }
3460 buildCounterVisibility--; 3462 buildCounterVisibility--;
3461 return o; 3463 return o;
3462 } 3464 }
3463 3465
3464 checkVisibility(api.Visibility o) { 3466 checkVisibility(api.Visibility o) {
3465 buildCounterVisibility++; 3467 buildCounterVisibility++;
3466 if (buildCounterVisibility < 3) { 3468 if (buildCounterVisibility < 3) {
3467 checkUnnamed1156(o.rules); 3469 checkUnnamed1240(o.rules);
3468 } 3470 }
3469 buildCounterVisibility--; 3471 buildCounterVisibility--;
3470 } 3472 }
3471 3473
3472 core.int buildCounterVisibilityRule = 0; 3474 core.int buildCounterVisibilityRule = 0;
3473 buildVisibilityRule() { 3475 buildVisibilityRule() {
3474 var o = new api.VisibilityRule(); 3476 var o = new api.VisibilityRule();
3475 buildCounterVisibilityRule++; 3477 buildCounterVisibilityRule++;
3476 if (buildCounterVisibilityRule < 3) { 3478 if (buildCounterVisibilityRule < 3) {
3477 o.restriction = "foo"; 3479 o.restriction = "foo";
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
4390 }), true); 4392 }), true);
4391 res.get(arg_name).then(unittest.expectAsync1(((api.Operation response) { 4393 res.get(arg_name).then(unittest.expectAsync1(((api.Operation response) {
4392 checkOperation(response); 4394 checkOperation(response);
4393 }))); 4395 })));
4394 }); 4396 });
4395 4397
4396 unittest.test("method--list", () { 4398 unittest.test("method--list", () {
4397 4399
4398 var mock = new HttpServerMock(); 4400 var mock = new HttpServerMock();
4399 api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operati ons; 4401 api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operati ons;
4402 var arg_pageToken = "foo";
4400 var arg_name = "foo"; 4403 var arg_name = "foo";
4401 var arg_pageToken = "foo";
4402 var arg_pageSize = 42; 4404 var arg_pageSize = 42;
4403 var arg_filter = "foo"; 4405 var arg_filter = "foo";
4404 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 4406 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
4405 var path = (req.url).path; 4407 var path = (req.url).path;
4406 var pathOffset = 0; 4408 var pathOffset = 0;
4407 var index; 4409 var index;
4408 var subPart; 4410 var subPart;
4409 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4411 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4410 pathOffset += 1; 4412 pathOffset += 1;
4411 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq uals("v1/operations")); 4413 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq uals("v1/operations"));
4412 pathOffset += 13; 4414 pathOffset += 13;
4413 4415
4414 var query = (req.url).query; 4416 var query = (req.url).query;
4415 var queryOffset = 0; 4417 var queryOffset = 0;
4416 var queryMap = {}; 4418 var queryMap = {};
4417 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 4419 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
4418 parseBool(n) { 4420 parseBool(n) {
4419 if (n == "true") return true; 4421 if (n == "true") return true;
4420 if (n == "false") return false; 4422 if (n == "false") return false;
4421 if (n == null) return null; 4423 if (n == null) return null;
4422 throw new core.ArgumentError("Invalid boolean: $n"); 4424 throw new core.ArgumentError("Invalid boolean: $n");
4423 } 4425 }
4424 if (query.length > 0) { 4426 if (query.length > 0) {
4425 for (var part in query.split("&")) { 4427 for (var part in query.split("&")) {
4426 var keyvalue = part.split("="); 4428 var keyvalue = part.split("=");
4427 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4429 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4428 } 4430 }
4429 } 4431 }
4432 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
4430 unittest.expect(queryMap["name"].first, unittest.equals(arg_name)); 4433 unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
4431 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
4432 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 4434 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
4433 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); 4435 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
4434 4436
4435 4437
4436 var h = { 4438 var h = {
4437 "content-type" : "application/json; charset=utf-8", 4439 "content-type" : "application/json; charset=utf-8",
4438 }; 4440 };
4439 var resp = convert.JSON.encode(buildListOperationsResponse()); 4441 var resp = convert.JSON.encode(buildListOperationsResponse());
4440 return new async.Future.value(stringResponse(200, h, resp)); 4442 return new async.Future.value(stringResponse(200, h, resp));
4441 }), true); 4443 }), true);
4442 res.list(name: arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse res ponse) { 4444 res.list(pageToken: arg_pageToken, name: arg_name, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse res ponse) {
4443 checkListOperationsResponse(response); 4445 checkListOperationsResponse(response);
4444 }))); 4446 })));
4445 }); 4447 });
4446 4448
4447 }); 4449 });
4448 4450
4449 4451
4450 unittest.group("resource-ServicesResourceApi", () { 4452 unittest.group("resource-ServicesResourceApi", () {
4451 unittest.test("method--create", () { 4453 unittest.test("method--create", () {
4452 4454
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
4744 res.get(arg_serviceName).then(unittest.expectAsync1(((api.ManagedService r esponse) { 4746 res.get(arg_serviceName).then(unittest.expectAsync1(((api.ManagedService r esponse) {
4745 checkManagedService(response); 4747 checkManagedService(response);
4746 }))); 4748 })));
4747 }); 4749 });
4748 4750
4749 unittest.test("method--getConfig", () { 4751 unittest.test("method--getConfig", () {
4750 4752
4751 var mock = new HttpServerMock(); 4753 var mock = new HttpServerMock();
4752 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services; 4754 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
4753 var arg_serviceName = "foo"; 4755 var arg_serviceName = "foo";
4756 var arg_view = "foo";
4754 var arg_configId = "foo"; 4757 var arg_configId = "foo";
4755 var arg_view = "foo";
4756 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 4758 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
4757 var path = (req.url).path; 4759 var path = (req.url).path;
4758 var pathOffset = 0; 4760 var pathOffset = 0;
4759 var index; 4761 var index;
4760 var subPart; 4762 var subPart;
4761 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4763 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4762 pathOffset += 1; 4764 pathOffset += 1;
4763 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/services/")); 4765 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1/services/"));
4764 pathOffset += 12; 4766 pathOffset += 12;
4765 index = path.indexOf("/config", pathOffset); 4767 index = path.indexOf("/config", pathOffset);
(...skipping 13 matching lines...) Expand all
4779 if (n == "false") return false; 4781 if (n == "false") return false;
4780 if (n == null) return null; 4782 if (n == null) return null;
4781 throw new core.ArgumentError("Invalid boolean: $n"); 4783 throw new core.ArgumentError("Invalid boolean: $n");
4782 } 4784 }
4783 if (query.length > 0) { 4785 if (query.length > 0) {
4784 for (var part in query.split("&")) { 4786 for (var part in query.split("&")) {
4785 var keyvalue = part.split("="); 4787 var keyvalue = part.split("=");
4786 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4788 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4787 } 4789 }
4788 } 4790 }
4791 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
4789 unittest.expect(queryMap["configId"].first, unittest.equals(arg_configId )); 4792 unittest.expect(queryMap["configId"].first, unittest.equals(arg_configId ));
4790 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
4791 4793
4792 4794
4793 var h = { 4795 var h = {
4794 "content-type" : "application/json; charset=utf-8", 4796 "content-type" : "application/json; charset=utf-8",
4795 }; 4797 };
4796 var resp = convert.JSON.encode(buildService()); 4798 var resp = convert.JSON.encode(buildService());
4797 return new async.Future.value(stringResponse(200, h, resp)); 4799 return new async.Future.value(stringResponse(200, h, resp));
4798 }), true); 4800 }), true);
4799 res.getConfig(arg_serviceName, configId: arg_configId, view: arg_view).the n(unittest.expectAsync1(((api.Service response) { 4801 res.getConfig(arg_serviceName, view: arg_view, configId: arg_configId).the n(unittest.expectAsync1(((api.Service response) {
4800 checkService(response); 4802 checkService(response);
4801 }))); 4803 })));
4802 }); 4804 });
4803 4805
4804 unittest.test("method--getIamPolicy", () { 4806 unittest.test("method--getIamPolicy", () {
4805 4807
4806 var mock = new HttpServerMock(); 4808 var mock = new HttpServerMock();
4807 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services; 4809 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
4808 var arg_request = buildGetIamPolicyRequest(); 4810 var arg_request = buildGetIamPolicyRequest();
4809 var arg_resource = "foo"; 4811 var arg_resource = "foo";
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
5596 res.list(arg_serviceName, pageToken: arg_pageToken, pageSize: arg_pageSize , filter: arg_filter).then(unittest.expectAsync1(((api.ListServiceRolloutsRespon se response) { 5598 res.list(arg_serviceName, pageToken: arg_pageToken, pageSize: arg_pageSize , filter: arg_filter).then(unittest.expectAsync1(((api.ListServiceRolloutsRespon se response) {
5597 checkListServiceRolloutsResponse(response); 5599 checkListServiceRolloutsResponse(response);
5598 }))); 5600 })));
5599 }); 5601 });
5600 5602
5601 }); 5603 });
5602 5604
5603 5605
5604 } 5606 }
5605 5607
OLDNEW
« no previous file with comments | « generated/googleapis/test/servicecontrol/v1_test.dart ('k') | generated/googleapis/test/serviceuser/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698