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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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.androidenterprise.v1.test; 1 library googleapis.androidenterprise.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 checkAdministratorWebToken(api.AdministratorWebToken o) { 85 checkAdministratorWebToken(api.AdministratorWebToken o) {
86 buildCounterAdministratorWebToken++; 86 buildCounterAdministratorWebToken++;
87 if (buildCounterAdministratorWebToken < 3) { 87 if (buildCounterAdministratorWebToken < 3) {
88 unittest.expect(o.kind, unittest.equals('foo')); 88 unittest.expect(o.kind, unittest.equals('foo'));
89 unittest.expect(o.token, unittest.equals('foo')); 89 unittest.expect(o.token, unittest.equals('foo'));
90 } 90 }
91 buildCounterAdministratorWebToken--; 91 buildCounterAdministratorWebToken--;
92 } 92 }
93 93
94 buildUnnamed2140() { 94 buildUnnamed2158() {
95 var o = new core.List<core.String>(); 95 var o = new core.List<core.String>();
96 o.add("foo"); 96 o.add("foo");
97 o.add("foo"); 97 o.add("foo");
98 return o; 98 return o;
99 } 99 }
100 100
101 checkUnnamed2140(core.List<core.String> o) { 101 checkUnnamed2158(core.List<core.String> o) {
102 unittest.expect(o, unittest.hasLength(2)); 102 unittest.expect(o, unittest.hasLength(2));
103 unittest.expect(o[0], unittest.equals('foo')); 103 unittest.expect(o[0], unittest.equals('foo'));
104 unittest.expect(o[1], unittest.equals('foo')); 104 unittest.expect(o[1], unittest.equals('foo'));
105 } 105 }
106 106
107 core.int buildCounterAdministratorWebTokenSpec = 0; 107 core.int buildCounterAdministratorWebTokenSpec = 0;
108 buildAdministratorWebTokenSpec() { 108 buildAdministratorWebTokenSpec() {
109 var o = new api.AdministratorWebTokenSpec(); 109 var o = new api.AdministratorWebTokenSpec();
110 buildCounterAdministratorWebTokenSpec++; 110 buildCounterAdministratorWebTokenSpec++;
111 if (buildCounterAdministratorWebTokenSpec < 3) { 111 if (buildCounterAdministratorWebTokenSpec < 3) {
112 o.kind = "foo"; 112 o.kind = "foo";
113 o.parent = "foo"; 113 o.parent = "foo";
114 o.permission = buildUnnamed2140(); 114 o.permission = buildUnnamed2158();
115 } 115 }
116 buildCounterAdministratorWebTokenSpec--; 116 buildCounterAdministratorWebTokenSpec--;
117 return o; 117 return o;
118 } 118 }
119 119
120 checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) { 120 checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) {
121 buildCounterAdministratorWebTokenSpec++; 121 buildCounterAdministratorWebTokenSpec++;
122 if (buildCounterAdministratorWebTokenSpec < 3) { 122 if (buildCounterAdministratorWebTokenSpec < 3) {
123 unittest.expect(o.kind, unittest.equals('foo')); 123 unittest.expect(o.kind, unittest.equals('foo'));
124 unittest.expect(o.parent, unittest.equals('foo')); 124 unittest.expect(o.parent, unittest.equals('foo'));
125 checkUnnamed2140(o.permission); 125 checkUnnamed2158(o.permission);
126 } 126 }
127 buildCounterAdministratorWebTokenSpec--; 127 buildCounterAdministratorWebTokenSpec--;
128 } 128 }
129 129
130 core.int buildCounterAndroidDevicePolicyConfig = 0; 130 core.int buildCounterAndroidDevicePolicyConfig = 0;
131 buildAndroidDevicePolicyConfig() { 131 buildAndroidDevicePolicyConfig() {
132 var o = new api.AndroidDevicePolicyConfig(); 132 var o = new api.AndroidDevicePolicyConfig();
133 buildCounterAndroidDevicePolicyConfig++; 133 buildCounterAndroidDevicePolicyConfig++;
134 if (buildCounterAndroidDevicePolicyConfig < 3) { 134 if (buildCounterAndroidDevicePolicyConfig < 3) {
135 o.kind = "foo"; 135 o.kind = "foo";
136 o.state = "foo"; 136 o.state = "foo";
137 } 137 }
138 buildCounterAndroidDevicePolicyConfig--; 138 buildCounterAndroidDevicePolicyConfig--;
139 return o; 139 return o;
140 } 140 }
141 141
142 checkAndroidDevicePolicyConfig(api.AndroidDevicePolicyConfig o) { 142 checkAndroidDevicePolicyConfig(api.AndroidDevicePolicyConfig o) {
143 buildCounterAndroidDevicePolicyConfig++; 143 buildCounterAndroidDevicePolicyConfig++;
144 if (buildCounterAndroidDevicePolicyConfig < 3) { 144 if (buildCounterAndroidDevicePolicyConfig < 3) {
145 unittest.expect(o.kind, unittest.equals('foo')); 145 unittest.expect(o.kind, unittest.equals('foo'));
146 unittest.expect(o.state, unittest.equals('foo')); 146 unittest.expect(o.state, unittest.equals('foo'));
147 } 147 }
148 buildCounterAndroidDevicePolicyConfig--; 148 buildCounterAndroidDevicePolicyConfig--;
149 } 149 }
150 150
151 buildUnnamed2141() { 151 buildUnnamed2159() {
152 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); 152 var o = new core.List<api.AppRestrictionsSchemaRestriction>();
153 o.add(buildAppRestrictionsSchemaRestriction()); 153 o.add(buildAppRestrictionsSchemaRestriction());
154 o.add(buildAppRestrictionsSchemaRestriction()); 154 o.add(buildAppRestrictionsSchemaRestriction());
155 return o; 155 return o;
156 } 156 }
157 157
158 checkUnnamed2141(core.List<api.AppRestrictionsSchemaRestriction> o) { 158 checkUnnamed2159(core.List<api.AppRestrictionsSchemaRestriction> o) {
159 unittest.expect(o, unittest.hasLength(2)); 159 unittest.expect(o, unittest.hasLength(2));
160 checkAppRestrictionsSchemaRestriction(o[0]); 160 checkAppRestrictionsSchemaRestriction(o[0]);
161 checkAppRestrictionsSchemaRestriction(o[1]); 161 checkAppRestrictionsSchemaRestriction(o[1]);
162 } 162 }
163 163
164 core.int buildCounterAppRestrictionsSchema = 0; 164 core.int buildCounterAppRestrictionsSchema = 0;
165 buildAppRestrictionsSchema() { 165 buildAppRestrictionsSchema() {
166 var o = new api.AppRestrictionsSchema(); 166 var o = new api.AppRestrictionsSchema();
167 buildCounterAppRestrictionsSchema++; 167 buildCounterAppRestrictionsSchema++;
168 if (buildCounterAppRestrictionsSchema < 3) { 168 if (buildCounterAppRestrictionsSchema < 3) {
169 o.kind = "foo"; 169 o.kind = "foo";
170 o.restrictions = buildUnnamed2141(); 170 o.restrictions = buildUnnamed2159();
171 } 171 }
172 buildCounterAppRestrictionsSchema--; 172 buildCounterAppRestrictionsSchema--;
173 return o; 173 return o;
174 } 174 }
175 175
176 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { 176 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) {
177 buildCounterAppRestrictionsSchema++; 177 buildCounterAppRestrictionsSchema++;
178 if (buildCounterAppRestrictionsSchema < 3) { 178 if (buildCounterAppRestrictionsSchema < 3) {
179 unittest.expect(o.kind, unittest.equals('foo')); 179 unittest.expect(o.kind, unittest.equals('foo'));
180 checkUnnamed2141(o.restrictions); 180 checkUnnamed2159(o.restrictions);
181 } 181 }
182 buildCounterAppRestrictionsSchema--; 182 buildCounterAppRestrictionsSchema--;
183 } 183 }
184 184
185 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0; 185 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0;
186 buildAppRestrictionsSchemaChangeEvent() { 186 buildAppRestrictionsSchemaChangeEvent() {
187 var o = new api.AppRestrictionsSchemaChangeEvent(); 187 var o = new api.AppRestrictionsSchemaChangeEvent();
188 buildCounterAppRestrictionsSchemaChangeEvent++; 188 buildCounterAppRestrictionsSchemaChangeEvent++;
189 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { 189 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) {
190 o.productId = "foo"; 190 o.productId = "foo";
191 } 191 }
192 buildCounterAppRestrictionsSchemaChangeEvent--; 192 buildCounterAppRestrictionsSchemaChangeEvent--;
193 return o; 193 return o;
194 } 194 }
195 195
196 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) { 196 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) {
197 buildCounterAppRestrictionsSchemaChangeEvent++; 197 buildCounterAppRestrictionsSchemaChangeEvent++;
198 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { 198 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) {
199 unittest.expect(o.productId, unittest.equals('foo')); 199 unittest.expect(o.productId, unittest.equals('foo'));
200 } 200 }
201 buildCounterAppRestrictionsSchemaChangeEvent--; 201 buildCounterAppRestrictionsSchemaChangeEvent--;
202 } 202 }
203 203
204 buildUnnamed2142() { 204 buildUnnamed2160() {
205 var o = new core.List<core.String>(); 205 var o = new core.List<core.String>();
206 o.add("foo"); 206 o.add("foo");
207 o.add("foo"); 207 o.add("foo");
208 return o; 208 return o;
209 } 209 }
210 210
211 checkUnnamed2142(core.List<core.String> o) { 211 checkUnnamed2160(core.List<core.String> o) {
212 unittest.expect(o, unittest.hasLength(2)); 212 unittest.expect(o, unittest.hasLength(2));
213 unittest.expect(o[0], unittest.equals('foo')); 213 unittest.expect(o[0], unittest.equals('foo'));
214 unittest.expect(o[1], unittest.equals('foo')); 214 unittest.expect(o[1], unittest.equals('foo'));
215 } 215 }
216 216
217 buildUnnamed2143() { 217 buildUnnamed2161() {
218 var o = new core.List<core.String>(); 218 var o = new core.List<core.String>();
219 o.add("foo"); 219 o.add("foo");
220 o.add("foo"); 220 o.add("foo");
221 return o; 221 return o;
222 } 222 }
223 223
224 checkUnnamed2143(core.List<core.String> o) { 224 checkUnnamed2161(core.List<core.String> o) {
225 unittest.expect(o, unittest.hasLength(2)); 225 unittest.expect(o, unittest.hasLength(2));
226 unittest.expect(o[0], unittest.equals('foo')); 226 unittest.expect(o[0], unittest.equals('foo'));
227 unittest.expect(o[1], unittest.equals('foo')); 227 unittest.expect(o[1], unittest.equals('foo'));
228 } 228 }
229 229
230 buildUnnamed2144() { 230 buildUnnamed2162() {
231 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); 231 var o = new core.List<api.AppRestrictionsSchemaRestriction>();
232 o.add(buildAppRestrictionsSchemaRestriction()); 232 o.add(buildAppRestrictionsSchemaRestriction());
233 o.add(buildAppRestrictionsSchemaRestriction()); 233 o.add(buildAppRestrictionsSchemaRestriction());
234 return o; 234 return o;
235 } 235 }
236 236
237 checkUnnamed2144(core.List<api.AppRestrictionsSchemaRestriction> o) { 237 checkUnnamed2162(core.List<api.AppRestrictionsSchemaRestriction> o) {
238 unittest.expect(o, unittest.hasLength(2)); 238 unittest.expect(o, unittest.hasLength(2));
239 checkAppRestrictionsSchemaRestriction(o[0]); 239 checkAppRestrictionsSchemaRestriction(o[0]);
240 checkAppRestrictionsSchemaRestriction(o[1]); 240 checkAppRestrictionsSchemaRestriction(o[1]);
241 } 241 }
242 242
243 core.int buildCounterAppRestrictionsSchemaRestriction = 0; 243 core.int buildCounterAppRestrictionsSchemaRestriction = 0;
244 buildAppRestrictionsSchemaRestriction() { 244 buildAppRestrictionsSchemaRestriction() {
245 var o = new api.AppRestrictionsSchemaRestriction(); 245 var o = new api.AppRestrictionsSchemaRestriction();
246 buildCounterAppRestrictionsSchemaRestriction++; 246 buildCounterAppRestrictionsSchemaRestriction++;
247 if (buildCounterAppRestrictionsSchemaRestriction < 3) { 247 if (buildCounterAppRestrictionsSchemaRestriction < 3) {
248 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); 248 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
249 o.description = "foo"; 249 o.description = "foo";
250 o.entry = buildUnnamed2142(); 250 o.entry = buildUnnamed2160();
251 o.entryValue = buildUnnamed2143(); 251 o.entryValue = buildUnnamed2161();
252 o.key = "foo"; 252 o.key = "foo";
253 o.nestedRestriction = buildUnnamed2144(); 253 o.nestedRestriction = buildUnnamed2162();
254 o.restrictionType = "foo"; 254 o.restrictionType = "foo";
255 o.title = "foo"; 255 o.title = "foo";
256 } 256 }
257 buildCounterAppRestrictionsSchemaRestriction--; 257 buildCounterAppRestrictionsSchemaRestriction--;
258 return o; 258 return o;
259 } 259 }
260 260
261 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) { 261 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) {
262 buildCounterAppRestrictionsSchemaRestriction++; 262 buildCounterAppRestrictionsSchemaRestriction++;
263 if (buildCounterAppRestrictionsSchemaRestriction < 3) { 263 if (buildCounterAppRestrictionsSchemaRestriction < 3) {
264 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue); 264 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
265 unittest.expect(o.description, unittest.equals('foo')); 265 unittest.expect(o.description, unittest.equals('foo'));
266 checkUnnamed2142(o.entry); 266 checkUnnamed2160(o.entry);
267 checkUnnamed2143(o.entryValue); 267 checkUnnamed2161(o.entryValue);
268 unittest.expect(o.key, unittest.equals('foo')); 268 unittest.expect(o.key, unittest.equals('foo'));
269 checkUnnamed2144(o.nestedRestriction); 269 checkUnnamed2162(o.nestedRestriction);
270 unittest.expect(o.restrictionType, unittest.equals('foo')); 270 unittest.expect(o.restrictionType, unittest.equals('foo'));
271 unittest.expect(o.title, unittest.equals('foo')); 271 unittest.expect(o.title, unittest.equals('foo'));
272 } 272 }
273 buildCounterAppRestrictionsSchemaRestriction--; 273 buildCounterAppRestrictionsSchemaRestriction--;
274 } 274 }
275 275
276 buildUnnamed2145() { 276 buildUnnamed2163() {
277 var o = new core.List<core.String>(); 277 var o = new core.List<core.String>();
278 o.add("foo"); 278 o.add("foo");
279 o.add("foo"); 279 o.add("foo");
280 return o; 280 return o;
281 } 281 }
282 282
283 checkUnnamed2145(core.List<core.String> o) { 283 checkUnnamed2163(core.List<core.String> o) {
284 unittest.expect(o, unittest.hasLength(2)); 284 unittest.expect(o, unittest.hasLength(2));
285 unittest.expect(o[0], unittest.equals('foo')); 285 unittest.expect(o[0], unittest.equals('foo'));
286 unittest.expect(o[1], unittest.equals('foo')); 286 unittest.expect(o[1], unittest.equals('foo'));
287 } 287 }
288 288
289 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0; 289 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0;
290 buildAppRestrictionsSchemaRestrictionRestrictionValue() { 290 buildAppRestrictionsSchemaRestrictionRestrictionValue() {
291 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue(); 291 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue();
292 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; 292 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++;
293 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { 293 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) {
294 o.type = "foo"; 294 o.type = "foo";
295 o.valueBool = true; 295 o.valueBool = true;
296 o.valueInteger = 42; 296 o.valueInteger = 42;
297 o.valueMultiselect = buildUnnamed2145(); 297 o.valueMultiselect = buildUnnamed2163();
298 o.valueString = "foo"; 298 o.valueString = "foo";
299 } 299 }
300 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; 300 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
301 return o; 301 return o;
302 } 302 }
303 303
304 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR estrictionRestrictionValue o) { 304 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR estrictionRestrictionValue o) {
305 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; 305 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++;
306 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { 306 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) {
307 unittest.expect(o.type, unittest.equals('foo')); 307 unittest.expect(o.type, unittest.equals('foo'));
308 unittest.expect(o.valueBool, unittest.isTrue); 308 unittest.expect(o.valueBool, unittest.isTrue);
309 unittest.expect(o.valueInteger, unittest.equals(42)); 309 unittest.expect(o.valueInteger, unittest.equals(42));
310 checkUnnamed2145(o.valueMultiselect); 310 checkUnnamed2163(o.valueMultiselect);
311 unittest.expect(o.valueString, unittest.equals('foo')); 311 unittest.expect(o.valueString, unittest.equals('foo'));
312 } 312 }
313 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; 313 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
314 } 314 }
315 315
316 core.int buildCounterAppUpdateEvent = 0; 316 core.int buildCounterAppUpdateEvent = 0;
317 buildAppUpdateEvent() { 317 buildAppUpdateEvent() {
318 var o = new api.AppUpdateEvent(); 318 var o = new api.AppUpdateEvent();
319 buildCounterAppUpdateEvent++; 319 buildCounterAppUpdateEvent++;
320 if (buildCounterAppUpdateEvent < 3) { 320 if (buildCounterAppUpdateEvent < 3) {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 432
433 checkDeviceState(api.DeviceState o) { 433 checkDeviceState(api.DeviceState o) {
434 buildCounterDeviceState++; 434 buildCounterDeviceState++;
435 if (buildCounterDeviceState < 3) { 435 if (buildCounterDeviceState < 3) {
436 unittest.expect(o.accountState, unittest.equals('foo')); 436 unittest.expect(o.accountState, unittest.equals('foo'));
437 unittest.expect(o.kind, unittest.equals('foo')); 437 unittest.expect(o.kind, unittest.equals('foo'));
438 } 438 }
439 buildCounterDeviceState--; 439 buildCounterDeviceState--;
440 } 440 }
441 441
442 buildUnnamed2146() { 442 buildUnnamed2164() {
443 var o = new core.List<api.Device>(); 443 var o = new core.List<api.Device>();
444 o.add(buildDevice()); 444 o.add(buildDevice());
445 o.add(buildDevice()); 445 o.add(buildDevice());
446 return o; 446 return o;
447 } 447 }
448 448
449 checkUnnamed2146(core.List<api.Device> o) { 449 checkUnnamed2164(core.List<api.Device> o) {
450 unittest.expect(o, unittest.hasLength(2)); 450 unittest.expect(o, unittest.hasLength(2));
451 checkDevice(o[0]); 451 checkDevice(o[0]);
452 checkDevice(o[1]); 452 checkDevice(o[1]);
453 } 453 }
454 454
455 core.int buildCounterDevicesListResponse = 0; 455 core.int buildCounterDevicesListResponse = 0;
456 buildDevicesListResponse() { 456 buildDevicesListResponse() {
457 var o = new api.DevicesListResponse(); 457 var o = new api.DevicesListResponse();
458 buildCounterDevicesListResponse++; 458 buildCounterDevicesListResponse++;
459 if (buildCounterDevicesListResponse < 3) { 459 if (buildCounterDevicesListResponse < 3) {
460 o.device = buildUnnamed2146(); 460 o.device = buildUnnamed2164();
461 o.kind = "foo"; 461 o.kind = "foo";
462 } 462 }
463 buildCounterDevicesListResponse--; 463 buildCounterDevicesListResponse--;
464 return o; 464 return o;
465 } 465 }
466 466
467 checkDevicesListResponse(api.DevicesListResponse o) { 467 checkDevicesListResponse(api.DevicesListResponse o) {
468 buildCounterDevicesListResponse++; 468 buildCounterDevicesListResponse++;
469 if (buildCounterDevicesListResponse < 3) { 469 if (buildCounterDevicesListResponse < 3) {
470 checkUnnamed2146(o.device); 470 checkUnnamed2164(o.device);
471 unittest.expect(o.kind, unittest.equals('foo')); 471 unittest.expect(o.kind, unittest.equals('foo'));
472 } 472 }
473 buildCounterDevicesListResponse--; 473 buildCounterDevicesListResponse--;
474 } 474 }
475 475
476 buildUnnamed2147() { 476 buildUnnamed2165() {
477 var o = new core.List<api.Administrator>(); 477 var o = new core.List<api.Administrator>();
478 o.add(buildAdministrator()); 478 o.add(buildAdministrator());
479 o.add(buildAdministrator()); 479 o.add(buildAdministrator());
480 return o; 480 return o;
481 } 481 }
482 482
483 checkUnnamed2147(core.List<api.Administrator> o) { 483 checkUnnamed2165(core.List<api.Administrator> o) {
484 unittest.expect(o, unittest.hasLength(2)); 484 unittest.expect(o, unittest.hasLength(2));
485 checkAdministrator(o[0]); 485 checkAdministrator(o[0]);
486 checkAdministrator(o[1]); 486 checkAdministrator(o[1]);
487 } 487 }
488 488
489 core.int buildCounterEnterprise = 0; 489 core.int buildCounterEnterprise = 0;
490 buildEnterprise() { 490 buildEnterprise() {
491 var o = new api.Enterprise(); 491 var o = new api.Enterprise();
492 buildCounterEnterprise++; 492 buildCounterEnterprise++;
493 if (buildCounterEnterprise < 3) { 493 if (buildCounterEnterprise < 3) {
494 o.administrator = buildUnnamed2147(); 494 o.administrator = buildUnnamed2165();
495 o.id = "foo"; 495 o.id = "foo";
496 o.kind = "foo"; 496 o.kind = "foo";
497 o.name = "foo"; 497 o.name = "foo";
498 o.primaryDomain = "foo"; 498 o.primaryDomain = "foo";
499 } 499 }
500 buildCounterEnterprise--; 500 buildCounterEnterprise--;
501 return o; 501 return o;
502 } 502 }
503 503
504 checkEnterprise(api.Enterprise o) { 504 checkEnterprise(api.Enterprise o) {
505 buildCounterEnterprise++; 505 buildCounterEnterprise++;
506 if (buildCounterEnterprise < 3) { 506 if (buildCounterEnterprise < 3) {
507 checkUnnamed2147(o.administrator); 507 checkUnnamed2165(o.administrator);
508 unittest.expect(o.id, unittest.equals('foo')); 508 unittest.expect(o.id, unittest.equals('foo'));
509 unittest.expect(o.kind, unittest.equals('foo')); 509 unittest.expect(o.kind, unittest.equals('foo'));
510 unittest.expect(o.name, unittest.equals('foo')); 510 unittest.expect(o.name, unittest.equals('foo'));
511 unittest.expect(o.primaryDomain, unittest.equals('foo')); 511 unittest.expect(o.primaryDomain, unittest.equals('foo'));
512 } 512 }
513 buildCounterEnterprise--; 513 buildCounterEnterprise--;
514 } 514 }
515 515
516 core.int buildCounterEnterpriseAccount = 0; 516 core.int buildCounterEnterpriseAccount = 0;
517 buildEnterpriseAccount() { 517 buildEnterpriseAccount() {
518 var o = new api.EnterpriseAccount(); 518 var o = new api.EnterpriseAccount();
519 buildCounterEnterpriseAccount++; 519 buildCounterEnterpriseAccount++;
520 if (buildCounterEnterpriseAccount < 3) { 520 if (buildCounterEnterpriseAccount < 3) {
521 o.accountEmail = "foo"; 521 o.accountEmail = "foo";
522 o.kind = "foo"; 522 o.kind = "foo";
523 } 523 }
524 buildCounterEnterpriseAccount--; 524 buildCounterEnterpriseAccount--;
525 return o; 525 return o;
526 } 526 }
527 527
528 checkEnterpriseAccount(api.EnterpriseAccount o) { 528 checkEnterpriseAccount(api.EnterpriseAccount o) {
529 buildCounterEnterpriseAccount++; 529 buildCounterEnterpriseAccount++;
530 if (buildCounterEnterpriseAccount < 3) { 530 if (buildCounterEnterpriseAccount < 3) {
531 unittest.expect(o.accountEmail, unittest.equals('foo')); 531 unittest.expect(o.accountEmail, unittest.equals('foo'));
532 unittest.expect(o.kind, unittest.equals('foo')); 532 unittest.expect(o.kind, unittest.equals('foo'));
533 } 533 }
534 buildCounterEnterpriseAccount--; 534 buildCounterEnterpriseAccount--;
535 } 535 }
536 536
537 buildUnnamed2148() { 537 buildUnnamed2166() {
538 var o = new core.List<api.Enterprise>(); 538 var o = new core.List<api.Enterprise>();
539 o.add(buildEnterprise()); 539 o.add(buildEnterprise());
540 o.add(buildEnterprise()); 540 o.add(buildEnterprise());
541 return o; 541 return o;
542 } 542 }
543 543
544 checkUnnamed2148(core.List<api.Enterprise> o) { 544 checkUnnamed2166(core.List<api.Enterprise> o) {
545 unittest.expect(o, unittest.hasLength(2)); 545 unittest.expect(o, unittest.hasLength(2));
546 checkEnterprise(o[0]); 546 checkEnterprise(o[0]);
547 checkEnterprise(o[1]); 547 checkEnterprise(o[1]);
548 } 548 }
549 549
550 core.int buildCounterEnterprisesListResponse = 0; 550 core.int buildCounterEnterprisesListResponse = 0;
551 buildEnterprisesListResponse() { 551 buildEnterprisesListResponse() {
552 var o = new api.EnterprisesListResponse(); 552 var o = new api.EnterprisesListResponse();
553 buildCounterEnterprisesListResponse++; 553 buildCounterEnterprisesListResponse++;
554 if (buildCounterEnterprisesListResponse < 3) { 554 if (buildCounterEnterprisesListResponse < 3) {
555 o.enterprise = buildUnnamed2148(); 555 o.enterprise = buildUnnamed2166();
556 o.kind = "foo"; 556 o.kind = "foo";
557 } 557 }
558 buildCounterEnterprisesListResponse--; 558 buildCounterEnterprisesListResponse--;
559 return o; 559 return o;
560 } 560 }
561 561
562 checkEnterprisesListResponse(api.EnterprisesListResponse o) { 562 checkEnterprisesListResponse(api.EnterprisesListResponse o) {
563 buildCounterEnterprisesListResponse++; 563 buildCounterEnterprisesListResponse++;
564 if (buildCounterEnterprisesListResponse < 3) { 564 if (buildCounterEnterprisesListResponse < 3) {
565 checkUnnamed2148(o.enterprise); 565 checkUnnamed2166(o.enterprise);
566 unittest.expect(o.kind, unittest.equals('foo')); 566 unittest.expect(o.kind, unittest.equals('foo'));
567 } 567 }
568 buildCounterEnterprisesListResponse--; 568 buildCounterEnterprisesListResponse--;
569 } 569 }
570 570
571 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0; 571 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0;
572 buildEnterprisesSendTestPushNotificationResponse() { 572 buildEnterprisesSendTestPushNotificationResponse() {
573 var o = new api.EnterprisesSendTestPushNotificationResponse(); 573 var o = new api.EnterprisesSendTestPushNotificationResponse();
574 buildCounterEnterprisesSendTestPushNotificationResponse++; 574 buildCounterEnterprisesSendTestPushNotificationResponse++;
575 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) { 575 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) {
(...skipping 29 matching lines...) Expand all
605 checkEntitlement(api.Entitlement o) { 605 checkEntitlement(api.Entitlement o) {
606 buildCounterEntitlement++; 606 buildCounterEntitlement++;
607 if (buildCounterEntitlement < 3) { 607 if (buildCounterEntitlement < 3) {
608 unittest.expect(o.kind, unittest.equals('foo')); 608 unittest.expect(o.kind, unittest.equals('foo'));
609 unittest.expect(o.productId, unittest.equals('foo')); 609 unittest.expect(o.productId, unittest.equals('foo'));
610 unittest.expect(o.reason, unittest.equals('foo')); 610 unittest.expect(o.reason, unittest.equals('foo'));
611 } 611 }
612 buildCounterEntitlement--; 612 buildCounterEntitlement--;
613 } 613 }
614 614
615 buildUnnamed2149() { 615 buildUnnamed2167() {
616 var o = new core.List<api.Entitlement>(); 616 var o = new core.List<api.Entitlement>();
617 o.add(buildEntitlement()); 617 o.add(buildEntitlement());
618 o.add(buildEntitlement()); 618 o.add(buildEntitlement());
619 return o; 619 return o;
620 } 620 }
621 621
622 checkUnnamed2149(core.List<api.Entitlement> o) { 622 checkUnnamed2167(core.List<api.Entitlement> o) {
623 unittest.expect(o, unittest.hasLength(2)); 623 unittest.expect(o, unittest.hasLength(2));
624 checkEntitlement(o[0]); 624 checkEntitlement(o[0]);
625 checkEntitlement(o[1]); 625 checkEntitlement(o[1]);
626 } 626 }
627 627
628 core.int buildCounterEntitlementsListResponse = 0; 628 core.int buildCounterEntitlementsListResponse = 0;
629 buildEntitlementsListResponse() { 629 buildEntitlementsListResponse() {
630 var o = new api.EntitlementsListResponse(); 630 var o = new api.EntitlementsListResponse();
631 buildCounterEntitlementsListResponse++; 631 buildCounterEntitlementsListResponse++;
632 if (buildCounterEntitlementsListResponse < 3) { 632 if (buildCounterEntitlementsListResponse < 3) {
633 o.entitlement = buildUnnamed2149(); 633 o.entitlement = buildUnnamed2167();
634 o.kind = "foo"; 634 o.kind = "foo";
635 } 635 }
636 buildCounterEntitlementsListResponse--; 636 buildCounterEntitlementsListResponse--;
637 return o; 637 return o;
638 } 638 }
639 639
640 checkEntitlementsListResponse(api.EntitlementsListResponse o) { 640 checkEntitlementsListResponse(api.EntitlementsListResponse o) {
641 buildCounterEntitlementsListResponse++; 641 buildCounterEntitlementsListResponse++;
642 if (buildCounterEntitlementsListResponse < 3) { 642 if (buildCounterEntitlementsListResponse < 3) {
643 checkUnnamed2149(o.entitlement); 643 checkUnnamed2167(o.entitlement);
644 unittest.expect(o.kind, unittest.equals('foo')); 644 unittest.expect(o.kind, unittest.equals('foo'));
645 } 645 }
646 buildCounterEntitlementsListResponse--; 646 buildCounterEntitlementsListResponse--;
647 } 647 }
648 648
649 core.int buildCounterGroupLicense = 0; 649 core.int buildCounterGroupLicense = 0;
650 buildGroupLicense() { 650 buildGroupLicense() {
651 var o = new api.GroupLicense(); 651 var o = new api.GroupLicense();
652 buildCounterGroupLicense++; 652 buildCounterGroupLicense++;
653 if (buildCounterGroupLicense < 3) { 653 if (buildCounterGroupLicense < 3) {
(...skipping 16 matching lines...) Expand all
670 unittest.expect(o.approval, unittest.equals('foo')); 670 unittest.expect(o.approval, unittest.equals('foo'));
671 unittest.expect(o.kind, unittest.equals('foo')); 671 unittest.expect(o.kind, unittest.equals('foo'));
672 unittest.expect(o.numProvisioned, unittest.equals(42)); 672 unittest.expect(o.numProvisioned, unittest.equals(42));
673 unittest.expect(o.numPurchased, unittest.equals(42)); 673 unittest.expect(o.numPurchased, unittest.equals(42));
674 unittest.expect(o.permissions, unittest.equals('foo')); 674 unittest.expect(o.permissions, unittest.equals('foo'));
675 unittest.expect(o.productId, unittest.equals('foo')); 675 unittest.expect(o.productId, unittest.equals('foo'));
676 } 676 }
677 buildCounterGroupLicense--; 677 buildCounterGroupLicense--;
678 } 678 }
679 679
680 buildUnnamed2150() { 680 buildUnnamed2168() {
681 var o = new core.List<api.User>(); 681 var o = new core.List<api.User>();
682 o.add(buildUser()); 682 o.add(buildUser());
683 o.add(buildUser()); 683 o.add(buildUser());
684 return o; 684 return o;
685 } 685 }
686 686
687 checkUnnamed2150(core.List<api.User> o) { 687 checkUnnamed2168(core.List<api.User> o) {
688 unittest.expect(o, unittest.hasLength(2)); 688 unittest.expect(o, unittest.hasLength(2));
689 checkUser(o[0]); 689 checkUser(o[0]);
690 checkUser(o[1]); 690 checkUser(o[1]);
691 } 691 }
692 692
693 core.int buildCounterGroupLicenseUsersListResponse = 0; 693 core.int buildCounterGroupLicenseUsersListResponse = 0;
694 buildGroupLicenseUsersListResponse() { 694 buildGroupLicenseUsersListResponse() {
695 var o = new api.GroupLicenseUsersListResponse(); 695 var o = new api.GroupLicenseUsersListResponse();
696 buildCounterGroupLicenseUsersListResponse++; 696 buildCounterGroupLicenseUsersListResponse++;
697 if (buildCounterGroupLicenseUsersListResponse < 3) { 697 if (buildCounterGroupLicenseUsersListResponse < 3) {
698 o.kind = "foo"; 698 o.kind = "foo";
699 o.user = buildUnnamed2150(); 699 o.user = buildUnnamed2168();
700 } 700 }
701 buildCounterGroupLicenseUsersListResponse--; 701 buildCounterGroupLicenseUsersListResponse--;
702 return o; 702 return o;
703 } 703 }
704 704
705 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { 705 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) {
706 buildCounterGroupLicenseUsersListResponse++; 706 buildCounterGroupLicenseUsersListResponse++;
707 if (buildCounterGroupLicenseUsersListResponse < 3) { 707 if (buildCounterGroupLicenseUsersListResponse < 3) {
708 unittest.expect(o.kind, unittest.equals('foo')); 708 unittest.expect(o.kind, unittest.equals('foo'));
709 checkUnnamed2150(o.user); 709 checkUnnamed2168(o.user);
710 } 710 }
711 buildCounterGroupLicenseUsersListResponse--; 711 buildCounterGroupLicenseUsersListResponse--;
712 } 712 }
713 713
714 buildUnnamed2151() { 714 buildUnnamed2169() {
715 var o = new core.List<api.GroupLicense>(); 715 var o = new core.List<api.GroupLicense>();
716 o.add(buildGroupLicense()); 716 o.add(buildGroupLicense());
717 o.add(buildGroupLicense()); 717 o.add(buildGroupLicense());
718 return o; 718 return o;
719 } 719 }
720 720
721 checkUnnamed2151(core.List<api.GroupLicense> o) { 721 checkUnnamed2169(core.List<api.GroupLicense> o) {
722 unittest.expect(o, unittest.hasLength(2)); 722 unittest.expect(o, unittest.hasLength(2));
723 checkGroupLicense(o[0]); 723 checkGroupLicense(o[0]);
724 checkGroupLicense(o[1]); 724 checkGroupLicense(o[1]);
725 } 725 }
726 726
727 core.int buildCounterGroupLicensesListResponse = 0; 727 core.int buildCounterGroupLicensesListResponse = 0;
728 buildGroupLicensesListResponse() { 728 buildGroupLicensesListResponse() {
729 var o = new api.GroupLicensesListResponse(); 729 var o = new api.GroupLicensesListResponse();
730 buildCounterGroupLicensesListResponse++; 730 buildCounterGroupLicensesListResponse++;
731 if (buildCounterGroupLicensesListResponse < 3) { 731 if (buildCounterGroupLicensesListResponse < 3) {
732 o.groupLicense = buildUnnamed2151(); 732 o.groupLicense = buildUnnamed2169();
733 o.kind = "foo"; 733 o.kind = "foo";
734 } 734 }
735 buildCounterGroupLicensesListResponse--; 735 buildCounterGroupLicensesListResponse--;
736 return o; 736 return o;
737 } 737 }
738 738
739 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { 739 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
740 buildCounterGroupLicensesListResponse++; 740 buildCounterGroupLicensesListResponse++;
741 if (buildCounterGroupLicensesListResponse < 3) { 741 if (buildCounterGroupLicensesListResponse < 3) {
742 checkUnnamed2151(o.groupLicense); 742 checkUnnamed2169(o.groupLicense);
743 unittest.expect(o.kind, unittest.equals('foo')); 743 unittest.expect(o.kind, unittest.equals('foo'));
744 } 744 }
745 buildCounterGroupLicensesListResponse--; 745 buildCounterGroupLicensesListResponse--;
746 } 746 }
747 747
748 core.int buildCounterInstall = 0; 748 core.int buildCounterInstall = 0;
749 buildInstall() { 749 buildInstall() {
750 var o = new api.Install(); 750 var o = new api.Install();
751 buildCounterInstall++; 751 buildCounterInstall++;
752 if (buildCounterInstall < 3) { 752 if (buildCounterInstall < 3) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 if (buildCounterInstallFailureEvent < 3) { 790 if (buildCounterInstallFailureEvent < 3) {
791 unittest.expect(o.deviceId, unittest.equals('foo')); 791 unittest.expect(o.deviceId, unittest.equals('foo'));
792 unittest.expect(o.failureDetails, unittest.equals('foo')); 792 unittest.expect(o.failureDetails, unittest.equals('foo'));
793 unittest.expect(o.failureReason, unittest.equals('foo')); 793 unittest.expect(o.failureReason, unittest.equals('foo'));
794 unittest.expect(o.productId, unittest.equals('foo')); 794 unittest.expect(o.productId, unittest.equals('foo'));
795 unittest.expect(o.userId, unittest.equals('foo')); 795 unittest.expect(o.userId, unittest.equals('foo'));
796 } 796 }
797 buildCounterInstallFailureEvent--; 797 buildCounterInstallFailureEvent--;
798 } 798 }
799 799
800 buildUnnamed2152() { 800 buildUnnamed2170() {
801 var o = new core.List<api.Install>(); 801 var o = new core.List<api.Install>();
802 o.add(buildInstall()); 802 o.add(buildInstall());
803 o.add(buildInstall()); 803 o.add(buildInstall());
804 return o; 804 return o;
805 } 805 }
806 806
807 checkUnnamed2152(core.List<api.Install> o) { 807 checkUnnamed2170(core.List<api.Install> o) {
808 unittest.expect(o, unittest.hasLength(2)); 808 unittest.expect(o, unittest.hasLength(2));
809 checkInstall(o[0]); 809 checkInstall(o[0]);
810 checkInstall(o[1]); 810 checkInstall(o[1]);
811 } 811 }
812 812
813 core.int buildCounterInstallsListResponse = 0; 813 core.int buildCounterInstallsListResponse = 0;
814 buildInstallsListResponse() { 814 buildInstallsListResponse() {
815 var o = new api.InstallsListResponse(); 815 var o = new api.InstallsListResponse();
816 buildCounterInstallsListResponse++; 816 buildCounterInstallsListResponse++;
817 if (buildCounterInstallsListResponse < 3) { 817 if (buildCounterInstallsListResponse < 3) {
818 o.install = buildUnnamed2152(); 818 o.install = buildUnnamed2170();
819 o.kind = "foo"; 819 o.kind = "foo";
820 } 820 }
821 buildCounterInstallsListResponse--; 821 buildCounterInstallsListResponse--;
822 return o; 822 return o;
823 } 823 }
824 824
825 checkInstallsListResponse(api.InstallsListResponse o) { 825 checkInstallsListResponse(api.InstallsListResponse o) {
826 buildCounterInstallsListResponse++; 826 buildCounterInstallsListResponse++;
827 if (buildCounterInstallsListResponse < 3) { 827 if (buildCounterInstallsListResponse < 3) {
828 checkUnnamed2152(o.install); 828 checkUnnamed2170(o.install);
829 unittest.expect(o.kind, unittest.equals('foo')); 829 unittest.expect(o.kind, unittest.equals('foo'));
830 } 830 }
831 buildCounterInstallsListResponse--; 831 buildCounterInstallsListResponse--;
832 } 832 }
833 833
834 core.int buildCounterLocalizedText = 0; 834 core.int buildCounterLocalizedText = 0;
835 buildLocalizedText() { 835 buildLocalizedText() {
836 var o = new api.LocalizedText(); 836 var o = new api.LocalizedText();
837 buildCounterLocalizedText++; 837 buildCounterLocalizedText++;
838 if (buildCounterLocalizedText < 3) { 838 if (buildCounterLocalizedText < 3) {
839 o.locale = "foo"; 839 o.locale = "foo";
840 o.text = "foo"; 840 o.text = "foo";
841 } 841 }
842 buildCounterLocalizedText--; 842 buildCounterLocalizedText--;
843 return o; 843 return o;
844 } 844 }
845 845
846 checkLocalizedText(api.LocalizedText o) { 846 checkLocalizedText(api.LocalizedText o) {
847 buildCounterLocalizedText++; 847 buildCounterLocalizedText++;
848 if (buildCounterLocalizedText < 3) { 848 if (buildCounterLocalizedText < 3) {
849 unittest.expect(o.locale, unittest.equals('foo')); 849 unittest.expect(o.locale, unittest.equals('foo'));
850 unittest.expect(o.text, unittest.equals('foo')); 850 unittest.expect(o.text, unittest.equals('foo'));
851 } 851 }
852 buildCounterLocalizedText--; 852 buildCounterLocalizedText--;
853 } 853 }
854 854
855 buildUnnamed2153() { 855 buildUnnamed2171() {
856 var o = new core.List<api.ManagedProperty>(); 856 var o = new core.List<api.ManagedProperty>();
857 o.add(buildManagedProperty()); 857 o.add(buildManagedProperty());
858 o.add(buildManagedProperty()); 858 o.add(buildManagedProperty());
859 return o; 859 return o;
860 } 860 }
861 861
862 checkUnnamed2153(core.List<api.ManagedProperty> o) { 862 checkUnnamed2171(core.List<api.ManagedProperty> o) {
863 unittest.expect(o, unittest.hasLength(2)); 863 unittest.expect(o, unittest.hasLength(2));
864 checkManagedProperty(o[0]); 864 checkManagedProperty(o[0]);
865 checkManagedProperty(o[1]); 865 checkManagedProperty(o[1]);
866 } 866 }
867 867
868 core.int buildCounterManagedConfiguration = 0; 868 core.int buildCounterManagedConfiguration = 0;
869 buildManagedConfiguration() { 869 buildManagedConfiguration() {
870 var o = new api.ManagedConfiguration(); 870 var o = new api.ManagedConfiguration();
871 buildCounterManagedConfiguration++; 871 buildCounterManagedConfiguration++;
872 if (buildCounterManagedConfiguration < 3) { 872 if (buildCounterManagedConfiguration < 3) {
873 o.kind = "foo"; 873 o.kind = "foo";
874 o.managedProperty = buildUnnamed2153(); 874 o.managedProperty = buildUnnamed2171();
875 o.productId = "foo"; 875 o.productId = "foo";
876 } 876 }
877 buildCounterManagedConfiguration--; 877 buildCounterManagedConfiguration--;
878 return o; 878 return o;
879 } 879 }
880 880
881 checkManagedConfiguration(api.ManagedConfiguration o) { 881 checkManagedConfiguration(api.ManagedConfiguration o) {
882 buildCounterManagedConfiguration++; 882 buildCounterManagedConfiguration++;
883 if (buildCounterManagedConfiguration < 3) { 883 if (buildCounterManagedConfiguration < 3) {
884 unittest.expect(o.kind, unittest.equals('foo')); 884 unittest.expect(o.kind, unittest.equals('foo'));
885 checkUnnamed2153(o.managedProperty); 885 checkUnnamed2171(o.managedProperty);
886 unittest.expect(o.productId, unittest.equals('foo')); 886 unittest.expect(o.productId, unittest.equals('foo'));
887 } 887 }
888 buildCounterManagedConfiguration--; 888 buildCounterManagedConfiguration--;
889 } 889 }
890 890
891 buildUnnamed2154() { 891 buildUnnamed2172() {
892 var o = new core.List<api.ManagedConfiguration>(); 892 var o = new core.List<api.ManagedConfiguration>();
893 o.add(buildManagedConfiguration()); 893 o.add(buildManagedConfiguration());
894 o.add(buildManagedConfiguration()); 894 o.add(buildManagedConfiguration());
895 return o; 895 return o;
896 } 896 }
897 897
898 checkUnnamed2154(core.List<api.ManagedConfiguration> o) { 898 checkUnnamed2172(core.List<api.ManagedConfiguration> o) {
899 unittest.expect(o, unittest.hasLength(2)); 899 unittest.expect(o, unittest.hasLength(2));
900 checkManagedConfiguration(o[0]); 900 checkManagedConfiguration(o[0]);
901 checkManagedConfiguration(o[1]); 901 checkManagedConfiguration(o[1]);
902 } 902 }
903 903
904 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0; 904 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0;
905 buildManagedConfigurationsForDeviceListResponse() { 905 buildManagedConfigurationsForDeviceListResponse() {
906 var o = new api.ManagedConfigurationsForDeviceListResponse(); 906 var o = new api.ManagedConfigurationsForDeviceListResponse();
907 buildCounterManagedConfigurationsForDeviceListResponse++; 907 buildCounterManagedConfigurationsForDeviceListResponse++;
908 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { 908 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
909 o.kind = "foo"; 909 o.kind = "foo";
910 o.managedConfigurationForDevice = buildUnnamed2154(); 910 o.managedConfigurationForDevice = buildUnnamed2172();
911 } 911 }
912 buildCounterManagedConfigurationsForDeviceListResponse--; 912 buildCounterManagedConfigurationsForDeviceListResponse--;
913 return o; 913 return o;
914 } 914 }
915 915
916 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi ceListResponse o) { 916 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi ceListResponse o) {
917 buildCounterManagedConfigurationsForDeviceListResponse++; 917 buildCounterManagedConfigurationsForDeviceListResponse++;
918 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { 918 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
919 unittest.expect(o.kind, unittest.equals('foo')); 919 unittest.expect(o.kind, unittest.equals('foo'));
920 checkUnnamed2154(o.managedConfigurationForDevice); 920 checkUnnamed2172(o.managedConfigurationForDevice);
921 } 921 }
922 buildCounterManagedConfigurationsForDeviceListResponse--; 922 buildCounterManagedConfigurationsForDeviceListResponse--;
923 } 923 }
924 924
925 buildUnnamed2155() { 925 buildUnnamed2173() {
926 var o = new core.List<api.ManagedConfiguration>(); 926 var o = new core.List<api.ManagedConfiguration>();
927 o.add(buildManagedConfiguration()); 927 o.add(buildManagedConfiguration());
928 o.add(buildManagedConfiguration()); 928 o.add(buildManagedConfiguration());
929 return o; 929 return o;
930 } 930 }
931 931
932 checkUnnamed2155(core.List<api.ManagedConfiguration> o) { 932 checkUnnamed2173(core.List<api.ManagedConfiguration> o) {
933 unittest.expect(o, unittest.hasLength(2)); 933 unittest.expect(o, unittest.hasLength(2));
934 checkManagedConfiguration(o[0]); 934 checkManagedConfiguration(o[0]);
935 checkManagedConfiguration(o[1]); 935 checkManagedConfiguration(o[1]);
936 } 936 }
937 937
938 core.int buildCounterManagedConfigurationsForUserListResponse = 0; 938 core.int buildCounterManagedConfigurationsForUserListResponse = 0;
939 buildManagedConfigurationsForUserListResponse() { 939 buildManagedConfigurationsForUserListResponse() {
940 var o = new api.ManagedConfigurationsForUserListResponse(); 940 var o = new api.ManagedConfigurationsForUserListResponse();
941 buildCounterManagedConfigurationsForUserListResponse++; 941 buildCounterManagedConfigurationsForUserListResponse++;
942 if (buildCounterManagedConfigurationsForUserListResponse < 3) { 942 if (buildCounterManagedConfigurationsForUserListResponse < 3) {
943 o.kind = "foo"; 943 o.kind = "foo";
944 o.managedConfigurationForUser = buildUnnamed2155(); 944 o.managedConfigurationForUser = buildUnnamed2173();
945 } 945 }
946 buildCounterManagedConfigurationsForUserListResponse--; 946 buildCounterManagedConfigurationsForUserListResponse--;
947 return o; 947 return o;
948 } 948 }
949 949
950 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi stResponse o) { 950 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi stResponse o) {
951 buildCounterManagedConfigurationsForUserListResponse++; 951 buildCounterManagedConfigurationsForUserListResponse++;
952 if (buildCounterManagedConfigurationsForUserListResponse < 3) { 952 if (buildCounterManagedConfigurationsForUserListResponse < 3) {
953 unittest.expect(o.kind, unittest.equals('foo')); 953 unittest.expect(o.kind, unittest.equals('foo'));
954 checkUnnamed2155(o.managedConfigurationForUser); 954 checkUnnamed2173(o.managedConfigurationForUser);
955 } 955 }
956 buildCounterManagedConfigurationsForUserListResponse--; 956 buildCounterManagedConfigurationsForUserListResponse--;
957 } 957 }
958 958
959 buildUnnamed2156() { 959 buildUnnamed2174() {
960 var o = new core.List<api.ManagedPropertyBundle>(); 960 var o = new core.List<api.ManagedPropertyBundle>();
961 o.add(buildManagedPropertyBundle()); 961 o.add(buildManagedPropertyBundle());
962 o.add(buildManagedPropertyBundle()); 962 o.add(buildManagedPropertyBundle());
963 return o; 963 return o;
964 } 964 }
965 965
966 checkUnnamed2156(core.List<api.ManagedPropertyBundle> o) { 966 checkUnnamed2174(core.List<api.ManagedPropertyBundle> o) {
967 unittest.expect(o, unittest.hasLength(2)); 967 unittest.expect(o, unittest.hasLength(2));
968 checkManagedPropertyBundle(o[0]); 968 checkManagedPropertyBundle(o[0]);
969 checkManagedPropertyBundle(o[1]); 969 checkManagedPropertyBundle(o[1]);
970 } 970 }
971 971
972 buildUnnamed2157() { 972 buildUnnamed2175() {
973 var o = new core.List<core.String>(); 973 var o = new core.List<core.String>();
974 o.add("foo"); 974 o.add("foo");
975 o.add("foo"); 975 o.add("foo");
976 return o; 976 return o;
977 } 977 }
978 978
979 checkUnnamed2157(core.List<core.String> o) { 979 checkUnnamed2175(core.List<core.String> o) {
980 unittest.expect(o, unittest.hasLength(2)); 980 unittest.expect(o, unittest.hasLength(2));
981 unittest.expect(o[0], unittest.equals('foo')); 981 unittest.expect(o[0], unittest.equals('foo'));
982 unittest.expect(o[1], unittest.equals('foo')); 982 unittest.expect(o[1], unittest.equals('foo'));
983 } 983 }
984 984
985 core.int buildCounterManagedProperty = 0; 985 core.int buildCounterManagedProperty = 0;
986 buildManagedProperty() { 986 buildManagedProperty() {
987 var o = new api.ManagedProperty(); 987 var o = new api.ManagedProperty();
988 buildCounterManagedProperty++; 988 buildCounterManagedProperty++;
989 if (buildCounterManagedProperty < 3) { 989 if (buildCounterManagedProperty < 3) {
990 o.key = "foo"; 990 o.key = "foo";
991 o.valueBool = true; 991 o.valueBool = true;
992 o.valueBundle = buildManagedPropertyBundle(); 992 o.valueBundle = buildManagedPropertyBundle();
993 o.valueBundleArray = buildUnnamed2156(); 993 o.valueBundleArray = buildUnnamed2174();
994 o.valueInteger = 42; 994 o.valueInteger = 42;
995 o.valueString = "foo"; 995 o.valueString = "foo";
996 o.valueStringArray = buildUnnamed2157(); 996 o.valueStringArray = buildUnnamed2175();
997 } 997 }
998 buildCounterManagedProperty--; 998 buildCounterManagedProperty--;
999 return o; 999 return o;
1000 } 1000 }
1001 1001
1002 checkManagedProperty(api.ManagedProperty o) { 1002 checkManagedProperty(api.ManagedProperty o) {
1003 buildCounterManagedProperty++; 1003 buildCounterManagedProperty++;
1004 if (buildCounterManagedProperty < 3) { 1004 if (buildCounterManagedProperty < 3) {
1005 unittest.expect(o.key, unittest.equals('foo')); 1005 unittest.expect(o.key, unittest.equals('foo'));
1006 unittest.expect(o.valueBool, unittest.isTrue); 1006 unittest.expect(o.valueBool, unittest.isTrue);
1007 checkManagedPropertyBundle(o.valueBundle); 1007 checkManagedPropertyBundle(o.valueBundle);
1008 checkUnnamed2156(o.valueBundleArray); 1008 checkUnnamed2174(o.valueBundleArray);
1009 unittest.expect(o.valueInteger, unittest.equals(42)); 1009 unittest.expect(o.valueInteger, unittest.equals(42));
1010 unittest.expect(o.valueString, unittest.equals('foo')); 1010 unittest.expect(o.valueString, unittest.equals('foo'));
1011 checkUnnamed2157(o.valueStringArray); 1011 checkUnnamed2175(o.valueStringArray);
1012 } 1012 }
1013 buildCounterManagedProperty--; 1013 buildCounterManagedProperty--;
1014 } 1014 }
1015 1015
1016 buildUnnamed2158() { 1016 buildUnnamed2176() {
1017 var o = new core.List<api.ManagedProperty>(); 1017 var o = new core.List<api.ManagedProperty>();
1018 o.add(buildManagedProperty()); 1018 o.add(buildManagedProperty());
1019 o.add(buildManagedProperty()); 1019 o.add(buildManagedProperty());
1020 return o; 1020 return o;
1021 } 1021 }
1022 1022
1023 checkUnnamed2158(core.List<api.ManagedProperty> o) { 1023 checkUnnamed2176(core.List<api.ManagedProperty> o) {
1024 unittest.expect(o, unittest.hasLength(2)); 1024 unittest.expect(o, unittest.hasLength(2));
1025 checkManagedProperty(o[0]); 1025 checkManagedProperty(o[0]);
1026 checkManagedProperty(o[1]); 1026 checkManagedProperty(o[1]);
1027 } 1027 }
1028 1028
1029 core.int buildCounterManagedPropertyBundle = 0; 1029 core.int buildCounterManagedPropertyBundle = 0;
1030 buildManagedPropertyBundle() { 1030 buildManagedPropertyBundle() {
1031 var o = new api.ManagedPropertyBundle(); 1031 var o = new api.ManagedPropertyBundle();
1032 buildCounterManagedPropertyBundle++; 1032 buildCounterManagedPropertyBundle++;
1033 if (buildCounterManagedPropertyBundle < 3) { 1033 if (buildCounterManagedPropertyBundle < 3) {
1034 o.managedProperty = buildUnnamed2158(); 1034 o.managedProperty = buildUnnamed2176();
1035 } 1035 }
1036 buildCounterManagedPropertyBundle--; 1036 buildCounterManagedPropertyBundle--;
1037 return o; 1037 return o;
1038 } 1038 }
1039 1039
1040 checkManagedPropertyBundle(api.ManagedPropertyBundle o) { 1040 checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
1041 buildCounterManagedPropertyBundle++; 1041 buildCounterManagedPropertyBundle++;
1042 if (buildCounterManagedPropertyBundle < 3) { 1042 if (buildCounterManagedPropertyBundle < 3) {
1043 checkUnnamed2158(o.managedProperty); 1043 checkUnnamed2176(o.managedProperty);
1044 } 1044 }
1045 buildCounterManagedPropertyBundle--; 1045 buildCounterManagedPropertyBundle--;
1046 } 1046 }
1047 1047
1048 core.int buildCounterNewDeviceEvent = 0; 1048 core.int buildCounterNewDeviceEvent = 0;
1049 buildNewDeviceEvent() { 1049 buildNewDeviceEvent() {
1050 var o = new api.NewDeviceEvent(); 1050 var o = new api.NewDeviceEvent();
1051 buildCounterNewDeviceEvent++; 1051 buildCounterNewDeviceEvent++;
1052 if (buildCounterNewDeviceEvent < 3) { 1052 if (buildCounterNewDeviceEvent < 3) {
1053 o.deviceId = "foo"; 1053 o.deviceId = "foo";
1054 o.managementType = "foo"; 1054 o.managementType = "foo";
1055 o.userId = "foo"; 1055 o.userId = "foo";
1056 } 1056 }
1057 buildCounterNewDeviceEvent--; 1057 buildCounterNewDeviceEvent--;
1058 return o; 1058 return o;
1059 } 1059 }
1060 1060
1061 checkNewDeviceEvent(api.NewDeviceEvent o) { 1061 checkNewDeviceEvent(api.NewDeviceEvent o) {
1062 buildCounterNewDeviceEvent++; 1062 buildCounterNewDeviceEvent++;
1063 if (buildCounterNewDeviceEvent < 3) { 1063 if (buildCounterNewDeviceEvent < 3) {
1064 unittest.expect(o.deviceId, unittest.equals('foo')); 1064 unittest.expect(o.deviceId, unittest.equals('foo'));
1065 unittest.expect(o.managementType, unittest.equals('foo')); 1065 unittest.expect(o.managementType, unittest.equals('foo'));
1066 unittest.expect(o.userId, unittest.equals('foo')); 1066 unittest.expect(o.userId, unittest.equals('foo'));
1067 } 1067 }
1068 buildCounterNewDeviceEvent--; 1068 buildCounterNewDeviceEvent--;
1069 } 1069 }
1070 1070
1071 buildUnnamed2159() { 1071 buildUnnamed2177() {
1072 var o = new core.List<core.String>(); 1072 var o = new core.List<core.String>();
1073 o.add("foo"); 1073 o.add("foo");
1074 o.add("foo"); 1074 o.add("foo");
1075 return o; 1075 return o;
1076 } 1076 }
1077 1077
1078 checkUnnamed2159(core.List<core.String> o) { 1078 checkUnnamed2177(core.List<core.String> o) {
1079 unittest.expect(o, unittest.hasLength(2)); 1079 unittest.expect(o, unittest.hasLength(2));
1080 unittest.expect(o[0], unittest.equals('foo')); 1080 unittest.expect(o[0], unittest.equals('foo'));
1081 unittest.expect(o[1], unittest.equals('foo')); 1081 unittest.expect(o[1], unittest.equals('foo'));
1082 } 1082 }
1083 1083
1084 buildUnnamed2160() { 1084 buildUnnamed2178() {
1085 var o = new core.List<core.String>(); 1085 var o = new core.List<core.String>();
1086 o.add("foo"); 1086 o.add("foo");
1087 o.add("foo"); 1087 o.add("foo");
1088 return o; 1088 return o;
1089 } 1089 }
1090 1090
1091 checkUnnamed2160(core.List<core.String> o) { 1091 checkUnnamed2178(core.List<core.String> o) {
1092 unittest.expect(o, unittest.hasLength(2)); 1092 unittest.expect(o, unittest.hasLength(2));
1093 unittest.expect(o[0], unittest.equals('foo')); 1093 unittest.expect(o[0], unittest.equals('foo'));
1094 unittest.expect(o[1], unittest.equals('foo')); 1094 unittest.expect(o[1], unittest.equals('foo'));
1095 } 1095 }
1096 1096
1097 core.int buildCounterNewPermissionsEvent = 0; 1097 core.int buildCounterNewPermissionsEvent = 0;
1098 buildNewPermissionsEvent() { 1098 buildNewPermissionsEvent() {
1099 var o = new api.NewPermissionsEvent(); 1099 var o = new api.NewPermissionsEvent();
1100 buildCounterNewPermissionsEvent++; 1100 buildCounterNewPermissionsEvent++;
1101 if (buildCounterNewPermissionsEvent < 3) { 1101 if (buildCounterNewPermissionsEvent < 3) {
1102 o.approvedPermissions = buildUnnamed2159(); 1102 o.approvedPermissions = buildUnnamed2177();
1103 o.productId = "foo"; 1103 o.productId = "foo";
1104 o.requestedPermissions = buildUnnamed2160(); 1104 o.requestedPermissions = buildUnnamed2178();
1105 } 1105 }
1106 buildCounterNewPermissionsEvent--; 1106 buildCounterNewPermissionsEvent--;
1107 return o; 1107 return o;
1108 } 1108 }
1109 1109
1110 checkNewPermissionsEvent(api.NewPermissionsEvent o) { 1110 checkNewPermissionsEvent(api.NewPermissionsEvent o) {
1111 buildCounterNewPermissionsEvent++; 1111 buildCounterNewPermissionsEvent++;
1112 if (buildCounterNewPermissionsEvent < 3) { 1112 if (buildCounterNewPermissionsEvent < 3) {
1113 checkUnnamed2159(o.approvedPermissions); 1113 checkUnnamed2177(o.approvedPermissions);
1114 unittest.expect(o.productId, unittest.equals('foo')); 1114 unittest.expect(o.productId, unittest.equals('foo'));
1115 checkUnnamed2160(o.requestedPermissions); 1115 checkUnnamed2178(o.requestedPermissions);
1116 } 1116 }
1117 buildCounterNewPermissionsEvent--; 1117 buildCounterNewPermissionsEvent--;
1118 } 1118 }
1119 1119
1120 core.int buildCounterNotification = 0; 1120 core.int buildCounterNotification = 0;
1121 buildNotification() { 1121 buildNotification() {
1122 var o = new api.Notification(); 1122 var o = new api.Notification();
1123 buildCounterNotification++; 1123 buildCounterNotification++;
1124 if (buildCounterNotification < 3) { 1124 if (buildCounterNotification < 3) {
1125 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent() ; 1125 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent() ;
(...skipping 21 matching lines...) Expand all
1147 checkNewDeviceEvent(o.newDeviceEvent); 1147 checkNewDeviceEvent(o.newDeviceEvent);
1148 checkNewPermissionsEvent(o.newPermissionsEvent); 1148 checkNewPermissionsEvent(o.newPermissionsEvent);
1149 unittest.expect(o.notificationType, unittest.equals('foo')); 1149 unittest.expect(o.notificationType, unittest.equals('foo'));
1150 checkProductApprovalEvent(o.productApprovalEvent); 1150 checkProductApprovalEvent(o.productApprovalEvent);
1151 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent); 1151 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent);
1152 unittest.expect(o.timestampMillis, unittest.equals('foo')); 1152 unittest.expect(o.timestampMillis, unittest.equals('foo'));
1153 } 1153 }
1154 buildCounterNotification--; 1154 buildCounterNotification--;
1155 } 1155 }
1156 1156
1157 buildUnnamed2161() { 1157 buildUnnamed2179() {
1158 var o = new core.List<api.Notification>(); 1158 var o = new core.List<api.Notification>();
1159 o.add(buildNotification()); 1159 o.add(buildNotification());
1160 o.add(buildNotification()); 1160 o.add(buildNotification());
1161 return o; 1161 return o;
1162 } 1162 }
1163 1163
1164 checkUnnamed2161(core.List<api.Notification> o) { 1164 checkUnnamed2179(core.List<api.Notification> o) {
1165 unittest.expect(o, unittest.hasLength(2)); 1165 unittest.expect(o, unittest.hasLength(2));
1166 checkNotification(o[0]); 1166 checkNotification(o[0]);
1167 checkNotification(o[1]); 1167 checkNotification(o[1]);
1168 } 1168 }
1169 1169
1170 core.int buildCounterNotificationSet = 0; 1170 core.int buildCounterNotificationSet = 0;
1171 buildNotificationSet() { 1171 buildNotificationSet() {
1172 var o = new api.NotificationSet(); 1172 var o = new api.NotificationSet();
1173 buildCounterNotificationSet++; 1173 buildCounterNotificationSet++;
1174 if (buildCounterNotificationSet < 3) { 1174 if (buildCounterNotificationSet < 3) {
1175 o.kind = "foo"; 1175 o.kind = "foo";
1176 o.notification = buildUnnamed2161(); 1176 o.notification = buildUnnamed2179();
1177 o.notificationSetId = "foo"; 1177 o.notificationSetId = "foo";
1178 } 1178 }
1179 buildCounterNotificationSet--; 1179 buildCounterNotificationSet--;
1180 return o; 1180 return o;
1181 } 1181 }
1182 1182
1183 checkNotificationSet(api.NotificationSet o) { 1183 checkNotificationSet(api.NotificationSet o) {
1184 buildCounterNotificationSet++; 1184 buildCounterNotificationSet++;
1185 if (buildCounterNotificationSet < 3) { 1185 if (buildCounterNotificationSet < 3) {
1186 unittest.expect(o.kind, unittest.equals('foo')); 1186 unittest.expect(o.kind, unittest.equals('foo'));
1187 checkUnnamed2161(o.notification); 1187 checkUnnamed2179(o.notification);
1188 unittest.expect(o.notificationSetId, unittest.equals('foo')); 1188 unittest.expect(o.notificationSetId, unittest.equals('foo'));
1189 } 1189 }
1190 buildCounterNotificationSet--; 1190 buildCounterNotificationSet--;
1191 } 1191 }
1192 1192
1193 core.int buildCounterPageInfo = 0; 1193 core.int buildCounterPageInfo = 0;
1194 buildPageInfo() { 1194 buildPageInfo() {
1195 var o = new api.PageInfo(); 1195 var o = new api.PageInfo();
1196 buildCounterPageInfo++; 1196 buildCounterPageInfo++;
1197 if (buildCounterPageInfo < 3) { 1197 if (buildCounterPageInfo < 3) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 buildCounterPermission++; 1231 buildCounterPermission++;
1232 if (buildCounterPermission < 3) { 1232 if (buildCounterPermission < 3) {
1233 unittest.expect(o.description, unittest.equals('foo')); 1233 unittest.expect(o.description, unittest.equals('foo'));
1234 unittest.expect(o.kind, unittest.equals('foo')); 1234 unittest.expect(o.kind, unittest.equals('foo'));
1235 unittest.expect(o.name, unittest.equals('foo')); 1235 unittest.expect(o.name, unittest.equals('foo'));
1236 unittest.expect(o.permissionId, unittest.equals('foo')); 1236 unittest.expect(o.permissionId, unittest.equals('foo'));
1237 } 1237 }
1238 buildCounterPermission--; 1238 buildCounterPermission--;
1239 } 1239 }
1240 1240
1241 buildUnnamed2162() { 1241 buildUnnamed2180() {
1242 var o = new core.List<api.AppVersion>(); 1242 var o = new core.List<api.AppVersion>();
1243 o.add(buildAppVersion()); 1243 o.add(buildAppVersion());
1244 o.add(buildAppVersion()); 1244 o.add(buildAppVersion());
1245 return o; 1245 return o;
1246 } 1246 }
1247 1247
1248 checkUnnamed2162(core.List<api.AppVersion> o) { 1248 checkUnnamed2180(core.List<api.AppVersion> o) {
1249 unittest.expect(o, unittest.hasLength(2)); 1249 unittest.expect(o, unittest.hasLength(2));
1250 checkAppVersion(o[0]); 1250 checkAppVersion(o[0]);
1251 checkAppVersion(o[1]); 1251 checkAppVersion(o[1]);
1252 } 1252 }
1253 1253
1254 core.int buildCounterProduct = 0; 1254 core.int buildCounterProduct = 0;
1255 buildProduct() { 1255 buildProduct() {
1256 var o = new api.Product(); 1256 var o = new api.Product();
1257 buildCounterProduct++; 1257 buildCounterProduct++;
1258 if (buildCounterProduct < 3) { 1258 if (buildCounterProduct < 3) {
1259 o.appVersion = buildUnnamed2162(); 1259 o.appVersion = buildUnnamed2180();
1260 o.authorName = "foo"; 1260 o.authorName = "foo";
1261 o.detailsUrl = "foo"; 1261 o.detailsUrl = "foo";
1262 o.distributionChannel = "foo"; 1262 o.distributionChannel = "foo";
1263 o.iconUrl = "foo"; 1263 o.iconUrl = "foo";
1264 o.kind = "foo"; 1264 o.kind = "foo";
1265 o.productId = "foo"; 1265 o.productId = "foo";
1266 o.productPricing = "foo"; 1266 o.productPricing = "foo";
1267 o.requiresContainerApp = true; 1267 o.requiresContainerApp = true;
1268 o.smallIconUrl = "foo"; 1268 o.smallIconUrl = "foo";
1269 o.title = "foo"; 1269 o.title = "foo";
1270 o.workDetailsUrl = "foo"; 1270 o.workDetailsUrl = "foo";
1271 } 1271 }
1272 buildCounterProduct--; 1272 buildCounterProduct--;
1273 return o; 1273 return o;
1274 } 1274 }
1275 1275
1276 checkProduct(api.Product o) { 1276 checkProduct(api.Product o) {
1277 buildCounterProduct++; 1277 buildCounterProduct++;
1278 if (buildCounterProduct < 3) { 1278 if (buildCounterProduct < 3) {
1279 checkUnnamed2162(o.appVersion); 1279 checkUnnamed2180(o.appVersion);
1280 unittest.expect(o.authorName, unittest.equals('foo')); 1280 unittest.expect(o.authorName, unittest.equals('foo'));
1281 unittest.expect(o.detailsUrl, unittest.equals('foo')); 1281 unittest.expect(o.detailsUrl, unittest.equals('foo'));
1282 unittest.expect(o.distributionChannel, unittest.equals('foo')); 1282 unittest.expect(o.distributionChannel, unittest.equals('foo'));
1283 unittest.expect(o.iconUrl, unittest.equals('foo')); 1283 unittest.expect(o.iconUrl, unittest.equals('foo'));
1284 unittest.expect(o.kind, unittest.equals('foo')); 1284 unittest.expect(o.kind, unittest.equals('foo'));
1285 unittest.expect(o.productId, unittest.equals('foo')); 1285 unittest.expect(o.productId, unittest.equals('foo'));
1286 unittest.expect(o.productPricing, unittest.equals('foo')); 1286 unittest.expect(o.productPricing, unittest.equals('foo'));
1287 unittest.expect(o.requiresContainerApp, unittest.isTrue); 1287 unittest.expect(o.requiresContainerApp, unittest.isTrue);
1288 unittest.expect(o.smallIconUrl, unittest.equals('foo')); 1288 unittest.expect(o.smallIconUrl, unittest.equals('foo'));
1289 unittest.expect(o.title, unittest.equals('foo')); 1289 unittest.expect(o.title, unittest.equals('foo'));
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1348 1348
1349 checkProductPermission(api.ProductPermission o) { 1349 checkProductPermission(api.ProductPermission o) {
1350 buildCounterProductPermission++; 1350 buildCounterProductPermission++;
1351 if (buildCounterProductPermission < 3) { 1351 if (buildCounterProductPermission < 3) {
1352 unittest.expect(o.permissionId, unittest.equals('foo')); 1352 unittest.expect(o.permissionId, unittest.equals('foo'));
1353 unittest.expect(o.state, unittest.equals('foo')); 1353 unittest.expect(o.state, unittest.equals('foo'));
1354 } 1354 }
1355 buildCounterProductPermission--; 1355 buildCounterProductPermission--;
1356 } 1356 }
1357 1357
1358 buildUnnamed2163() { 1358 buildUnnamed2181() {
1359 var o = new core.List<api.ProductPermission>(); 1359 var o = new core.List<api.ProductPermission>();
1360 o.add(buildProductPermission()); 1360 o.add(buildProductPermission());
1361 o.add(buildProductPermission()); 1361 o.add(buildProductPermission());
1362 return o; 1362 return o;
1363 } 1363 }
1364 1364
1365 checkUnnamed2163(core.List<api.ProductPermission> o) { 1365 checkUnnamed2181(core.List<api.ProductPermission> o) {
1366 unittest.expect(o, unittest.hasLength(2)); 1366 unittest.expect(o, unittest.hasLength(2));
1367 checkProductPermission(o[0]); 1367 checkProductPermission(o[0]);
1368 checkProductPermission(o[1]); 1368 checkProductPermission(o[1]);
1369 } 1369 }
1370 1370
1371 core.int buildCounterProductPermissions = 0; 1371 core.int buildCounterProductPermissions = 0;
1372 buildProductPermissions() { 1372 buildProductPermissions() {
1373 var o = new api.ProductPermissions(); 1373 var o = new api.ProductPermissions();
1374 buildCounterProductPermissions++; 1374 buildCounterProductPermissions++;
1375 if (buildCounterProductPermissions < 3) { 1375 if (buildCounterProductPermissions < 3) {
1376 o.kind = "foo"; 1376 o.kind = "foo";
1377 o.permission = buildUnnamed2163(); 1377 o.permission = buildUnnamed2181();
1378 o.productId = "foo"; 1378 o.productId = "foo";
1379 } 1379 }
1380 buildCounterProductPermissions--; 1380 buildCounterProductPermissions--;
1381 return o; 1381 return o;
1382 } 1382 }
1383 1383
1384 checkProductPermissions(api.ProductPermissions o) { 1384 checkProductPermissions(api.ProductPermissions o) {
1385 buildCounterProductPermissions++; 1385 buildCounterProductPermissions++;
1386 if (buildCounterProductPermissions < 3) { 1386 if (buildCounterProductPermissions < 3) {
1387 unittest.expect(o.kind, unittest.equals('foo')); 1387 unittest.expect(o.kind, unittest.equals('foo'));
1388 checkUnnamed2163(o.permission); 1388 checkUnnamed2181(o.permission);
1389 unittest.expect(o.productId, unittest.equals('foo')); 1389 unittest.expect(o.productId, unittest.equals('foo'));
1390 } 1390 }
1391 buildCounterProductPermissions--; 1391 buildCounterProductPermissions--;
1392 } 1392 }
1393 1393
1394 buildUnnamed2164() { 1394 buildUnnamed2182() {
1395 var o = new core.List<core.String>(); 1395 var o = new core.List<core.String>();
1396 o.add("foo"); 1396 o.add("foo");
1397 o.add("foo"); 1397 o.add("foo");
1398 return o; 1398 return o;
1399 } 1399 }
1400 1400
1401 checkUnnamed2164(core.List<core.String> o) { 1401 checkUnnamed2182(core.List<core.String> o) {
1402 unittest.expect(o, unittest.hasLength(2)); 1402 unittest.expect(o, unittest.hasLength(2));
1403 unittest.expect(o[0], unittest.equals('foo')); 1403 unittest.expect(o[0], unittest.equals('foo'));
1404 unittest.expect(o[1], unittest.equals('foo')); 1404 unittest.expect(o[1], unittest.equals('foo'));
1405 } 1405 }
1406 1406
1407 core.int buildCounterProductSet = 0; 1407 core.int buildCounterProductSet = 0;
1408 buildProductSet() { 1408 buildProductSet() {
1409 var o = new api.ProductSet(); 1409 var o = new api.ProductSet();
1410 buildCounterProductSet++; 1410 buildCounterProductSet++;
1411 if (buildCounterProductSet < 3) { 1411 if (buildCounterProductSet < 3) {
1412 o.kind = "foo"; 1412 o.kind = "foo";
1413 o.productId = buildUnnamed2164(); 1413 o.productId = buildUnnamed2182();
1414 o.productSetBehavior = "foo"; 1414 o.productSetBehavior = "foo";
1415 } 1415 }
1416 buildCounterProductSet--; 1416 buildCounterProductSet--;
1417 return o; 1417 return o;
1418 } 1418 }
1419 1419
1420 checkProductSet(api.ProductSet o) { 1420 checkProductSet(api.ProductSet o) {
1421 buildCounterProductSet++; 1421 buildCounterProductSet++;
1422 if (buildCounterProductSet < 3) { 1422 if (buildCounterProductSet < 3) {
1423 unittest.expect(o.kind, unittest.equals('foo')); 1423 unittest.expect(o.kind, unittest.equals('foo'));
1424 checkUnnamed2164(o.productId); 1424 checkUnnamed2182(o.productId);
1425 unittest.expect(o.productSetBehavior, unittest.equals('foo')); 1425 unittest.expect(o.productSetBehavior, unittest.equals('foo'));
1426 } 1426 }
1427 buildCounterProductSet--; 1427 buildCounterProductSet--;
1428 } 1428 }
1429 1429
1430 core.int buildCounterProductsApproveRequest = 0; 1430 core.int buildCounterProductsApproveRequest = 0;
1431 buildProductsApproveRequest() { 1431 buildProductsApproveRequest() {
1432 var o = new api.ProductsApproveRequest(); 1432 var o = new api.ProductsApproveRequest();
1433 buildCounterProductsApproveRequest++; 1433 buildCounterProductsApproveRequest++;
1434 if (buildCounterProductsApproveRequest < 3) { 1434 if (buildCounterProductsApproveRequest < 3) {
(...skipping 25 matching lines...) Expand all
1460 } 1460 }
1461 1461
1462 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse o) { 1462 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse o) {
1463 buildCounterProductsGenerateApprovalUrlResponse++; 1463 buildCounterProductsGenerateApprovalUrlResponse++;
1464 if (buildCounterProductsGenerateApprovalUrlResponse < 3) { 1464 if (buildCounterProductsGenerateApprovalUrlResponse < 3) {
1465 unittest.expect(o.url, unittest.equals('foo')); 1465 unittest.expect(o.url, unittest.equals('foo'));
1466 } 1466 }
1467 buildCounterProductsGenerateApprovalUrlResponse--; 1467 buildCounterProductsGenerateApprovalUrlResponse--;
1468 } 1468 }
1469 1469
1470 buildUnnamed2165() { 1470 buildUnnamed2183() {
1471 var o = new core.List<api.Product>(); 1471 var o = new core.List<api.Product>();
1472 o.add(buildProduct()); 1472 o.add(buildProduct());
1473 o.add(buildProduct()); 1473 o.add(buildProduct());
1474 return o; 1474 return o;
1475 } 1475 }
1476 1476
1477 checkUnnamed2165(core.List<api.Product> o) { 1477 checkUnnamed2183(core.List<api.Product> o) {
1478 unittest.expect(o, unittest.hasLength(2)); 1478 unittest.expect(o, unittest.hasLength(2));
1479 checkProduct(o[0]); 1479 checkProduct(o[0]);
1480 checkProduct(o[1]); 1480 checkProduct(o[1]);
1481 } 1481 }
1482 1482
1483 core.int buildCounterProductsListResponse = 0; 1483 core.int buildCounterProductsListResponse = 0;
1484 buildProductsListResponse() { 1484 buildProductsListResponse() {
1485 var o = new api.ProductsListResponse(); 1485 var o = new api.ProductsListResponse();
1486 buildCounterProductsListResponse++; 1486 buildCounterProductsListResponse++;
1487 if (buildCounterProductsListResponse < 3) { 1487 if (buildCounterProductsListResponse < 3) {
1488 o.kind = "foo"; 1488 o.kind = "foo";
1489 o.pageInfo = buildPageInfo(); 1489 o.pageInfo = buildPageInfo();
1490 o.product = buildUnnamed2165(); 1490 o.product = buildUnnamed2183();
1491 o.tokenPagination = buildTokenPagination(); 1491 o.tokenPagination = buildTokenPagination();
1492 } 1492 }
1493 buildCounterProductsListResponse--; 1493 buildCounterProductsListResponse--;
1494 return o; 1494 return o;
1495 } 1495 }
1496 1496
1497 checkProductsListResponse(api.ProductsListResponse o) { 1497 checkProductsListResponse(api.ProductsListResponse o) {
1498 buildCounterProductsListResponse++; 1498 buildCounterProductsListResponse++;
1499 if (buildCounterProductsListResponse < 3) { 1499 if (buildCounterProductsListResponse < 3) {
1500 unittest.expect(o.kind, unittest.equals('foo')); 1500 unittest.expect(o.kind, unittest.equals('foo'));
1501 checkPageInfo(o.pageInfo); 1501 checkPageInfo(o.pageInfo);
1502 checkUnnamed2165(o.product); 1502 checkUnnamed2183(o.product);
1503 checkTokenPagination(o.tokenPagination); 1503 checkTokenPagination(o.tokenPagination);
1504 } 1504 }
1505 buildCounterProductsListResponse--; 1505 buildCounterProductsListResponse--;
1506 } 1506 }
1507 1507
1508 core.int buildCounterServiceAccount = 0; 1508 core.int buildCounterServiceAccount = 0;
1509 buildServiceAccount() { 1509 buildServiceAccount() {
1510 var o = new api.ServiceAccount(); 1510 var o = new api.ServiceAccount();
1511 buildCounterServiceAccount++; 1511 buildCounterServiceAccount++;
1512 if (buildCounterServiceAccount < 3) { 1512 if (buildCounterServiceAccount < 3) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 if (buildCounterServiceAccountKey < 3) { 1548 if (buildCounterServiceAccountKey < 3) {
1549 unittest.expect(o.data, unittest.equals('foo')); 1549 unittest.expect(o.data, unittest.equals('foo'));
1550 unittest.expect(o.id, unittest.equals('foo')); 1550 unittest.expect(o.id, unittest.equals('foo'));
1551 unittest.expect(o.kind, unittest.equals('foo')); 1551 unittest.expect(o.kind, unittest.equals('foo'));
1552 unittest.expect(o.publicData, unittest.equals('foo')); 1552 unittest.expect(o.publicData, unittest.equals('foo'));
1553 unittest.expect(o.type, unittest.equals('foo')); 1553 unittest.expect(o.type, unittest.equals('foo'));
1554 } 1554 }
1555 buildCounterServiceAccountKey--; 1555 buildCounterServiceAccountKey--;
1556 } 1556 }
1557 1557
1558 buildUnnamed2166() { 1558 buildUnnamed2184() {
1559 var o = new core.List<api.ServiceAccountKey>(); 1559 var o = new core.List<api.ServiceAccountKey>();
1560 o.add(buildServiceAccountKey()); 1560 o.add(buildServiceAccountKey());
1561 o.add(buildServiceAccountKey()); 1561 o.add(buildServiceAccountKey());
1562 return o; 1562 return o;
1563 } 1563 }
1564 1564
1565 checkUnnamed2166(core.List<api.ServiceAccountKey> o) { 1565 checkUnnamed2184(core.List<api.ServiceAccountKey> o) {
1566 unittest.expect(o, unittest.hasLength(2)); 1566 unittest.expect(o, unittest.hasLength(2));
1567 checkServiceAccountKey(o[0]); 1567 checkServiceAccountKey(o[0]);
1568 checkServiceAccountKey(o[1]); 1568 checkServiceAccountKey(o[1]);
1569 } 1569 }
1570 1570
1571 core.int buildCounterServiceAccountKeysListResponse = 0; 1571 core.int buildCounterServiceAccountKeysListResponse = 0;
1572 buildServiceAccountKeysListResponse() { 1572 buildServiceAccountKeysListResponse() {
1573 var o = new api.ServiceAccountKeysListResponse(); 1573 var o = new api.ServiceAccountKeysListResponse();
1574 buildCounterServiceAccountKeysListResponse++; 1574 buildCounterServiceAccountKeysListResponse++;
1575 if (buildCounterServiceAccountKeysListResponse < 3) { 1575 if (buildCounterServiceAccountKeysListResponse < 3) {
1576 o.serviceAccountKey = buildUnnamed2166(); 1576 o.serviceAccountKey = buildUnnamed2184();
1577 } 1577 }
1578 buildCounterServiceAccountKeysListResponse--; 1578 buildCounterServiceAccountKeysListResponse--;
1579 return o; 1579 return o;
1580 } 1580 }
1581 1581
1582 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) { 1582 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
1583 buildCounterServiceAccountKeysListResponse++; 1583 buildCounterServiceAccountKeysListResponse++;
1584 if (buildCounterServiceAccountKeysListResponse < 3) { 1584 if (buildCounterServiceAccountKeysListResponse < 3) {
1585 checkUnnamed2166(o.serviceAccountKey); 1585 checkUnnamed2184(o.serviceAccountKey);
1586 } 1586 }
1587 buildCounterServiceAccountKeysListResponse--; 1587 buildCounterServiceAccountKeysListResponse--;
1588 } 1588 }
1589 1589
1590 core.int buildCounterSignupInfo = 0; 1590 core.int buildCounterSignupInfo = 0;
1591 buildSignupInfo() { 1591 buildSignupInfo() {
1592 var o = new api.SignupInfo(); 1592 var o = new api.SignupInfo();
1593 buildCounterSignupInfo++; 1593 buildCounterSignupInfo++;
1594 if (buildCounterSignupInfo < 3) { 1594 if (buildCounterSignupInfo < 3) {
1595 o.completionToken = "foo"; 1595 o.completionToken = "foo";
1596 o.kind = "foo"; 1596 o.kind = "foo";
1597 o.url = "foo"; 1597 o.url = "foo";
1598 } 1598 }
1599 buildCounterSignupInfo--; 1599 buildCounterSignupInfo--;
1600 return o; 1600 return o;
1601 } 1601 }
1602 1602
1603 checkSignupInfo(api.SignupInfo o) { 1603 checkSignupInfo(api.SignupInfo o) {
1604 buildCounterSignupInfo++; 1604 buildCounterSignupInfo++;
1605 if (buildCounterSignupInfo < 3) { 1605 if (buildCounterSignupInfo < 3) {
1606 unittest.expect(o.completionToken, unittest.equals('foo')); 1606 unittest.expect(o.completionToken, unittest.equals('foo'));
1607 unittest.expect(o.kind, unittest.equals('foo')); 1607 unittest.expect(o.kind, unittest.equals('foo'));
1608 unittest.expect(o.url, unittest.equals('foo')); 1608 unittest.expect(o.url, unittest.equals('foo'));
1609 } 1609 }
1610 buildCounterSignupInfo--; 1610 buildCounterSignupInfo--;
1611 } 1611 }
1612 1612
1613 buildUnnamed2167() { 1613 buildUnnamed2185() {
1614 var o = new core.List<api.LocalizedText>(); 1614 var o = new core.List<api.LocalizedText>();
1615 o.add(buildLocalizedText()); 1615 o.add(buildLocalizedText());
1616 o.add(buildLocalizedText()); 1616 o.add(buildLocalizedText());
1617 return o; 1617 return o;
1618 } 1618 }
1619 1619
1620 checkUnnamed2167(core.List<api.LocalizedText> o) { 1620 checkUnnamed2185(core.List<api.LocalizedText> o) {
1621 unittest.expect(o, unittest.hasLength(2)); 1621 unittest.expect(o, unittest.hasLength(2));
1622 checkLocalizedText(o[0]); 1622 checkLocalizedText(o[0]);
1623 checkLocalizedText(o[1]); 1623 checkLocalizedText(o[1]);
1624 } 1624 }
1625 1625
1626 buildUnnamed2168() { 1626 buildUnnamed2186() {
1627 var o = new core.List<core.String>(); 1627 var o = new core.List<core.String>();
1628 o.add("foo"); 1628 o.add("foo");
1629 o.add("foo"); 1629 o.add("foo");
1630 return o; 1630 return o;
1631 } 1631 }
1632 1632
1633 checkUnnamed2168(core.List<core.String> o) { 1633 checkUnnamed2186(core.List<core.String> o) {
1634 unittest.expect(o, unittest.hasLength(2)); 1634 unittest.expect(o, unittest.hasLength(2));
1635 unittest.expect(o[0], unittest.equals('foo')); 1635 unittest.expect(o[0], unittest.equals('foo'));
1636 unittest.expect(o[1], unittest.equals('foo')); 1636 unittest.expect(o[1], unittest.equals('foo'));
1637 } 1637 }
1638 1638
1639 core.int buildCounterStoreCluster = 0; 1639 core.int buildCounterStoreCluster = 0;
1640 buildStoreCluster() { 1640 buildStoreCluster() {
1641 var o = new api.StoreCluster(); 1641 var o = new api.StoreCluster();
1642 buildCounterStoreCluster++; 1642 buildCounterStoreCluster++;
1643 if (buildCounterStoreCluster < 3) { 1643 if (buildCounterStoreCluster < 3) {
1644 o.id = "foo"; 1644 o.id = "foo";
1645 o.kind = "foo"; 1645 o.kind = "foo";
1646 o.name = buildUnnamed2167(); 1646 o.name = buildUnnamed2185();
1647 o.orderInPage = "foo"; 1647 o.orderInPage = "foo";
1648 o.productId = buildUnnamed2168(); 1648 o.productId = buildUnnamed2186();
1649 } 1649 }
1650 buildCounterStoreCluster--; 1650 buildCounterStoreCluster--;
1651 return o; 1651 return o;
1652 } 1652 }
1653 1653
1654 checkStoreCluster(api.StoreCluster o) { 1654 checkStoreCluster(api.StoreCluster o) {
1655 buildCounterStoreCluster++; 1655 buildCounterStoreCluster++;
1656 if (buildCounterStoreCluster < 3) { 1656 if (buildCounterStoreCluster < 3) {
1657 unittest.expect(o.id, unittest.equals('foo')); 1657 unittest.expect(o.id, unittest.equals('foo'));
1658 unittest.expect(o.kind, unittest.equals('foo')); 1658 unittest.expect(o.kind, unittest.equals('foo'));
1659 checkUnnamed2167(o.name); 1659 checkUnnamed2185(o.name);
1660 unittest.expect(o.orderInPage, unittest.equals('foo')); 1660 unittest.expect(o.orderInPage, unittest.equals('foo'));
1661 checkUnnamed2168(o.productId); 1661 checkUnnamed2186(o.productId);
1662 } 1662 }
1663 buildCounterStoreCluster--; 1663 buildCounterStoreCluster--;
1664 } 1664 }
1665 1665
1666 core.int buildCounterStoreLayout = 0; 1666 core.int buildCounterStoreLayout = 0;
1667 buildStoreLayout() { 1667 buildStoreLayout() {
1668 var o = new api.StoreLayout(); 1668 var o = new api.StoreLayout();
1669 buildCounterStoreLayout++; 1669 buildCounterStoreLayout++;
1670 if (buildCounterStoreLayout < 3) { 1670 if (buildCounterStoreLayout < 3) {
1671 o.homepageId = "foo"; 1671 o.homepageId = "foo";
1672 o.kind = "foo"; 1672 o.kind = "foo";
1673 o.storeLayoutType = "foo"; 1673 o.storeLayoutType = "foo";
1674 } 1674 }
1675 buildCounterStoreLayout--; 1675 buildCounterStoreLayout--;
1676 return o; 1676 return o;
1677 } 1677 }
1678 1678
1679 checkStoreLayout(api.StoreLayout o) { 1679 checkStoreLayout(api.StoreLayout o) {
1680 buildCounterStoreLayout++; 1680 buildCounterStoreLayout++;
1681 if (buildCounterStoreLayout < 3) { 1681 if (buildCounterStoreLayout < 3) {
1682 unittest.expect(o.homepageId, unittest.equals('foo')); 1682 unittest.expect(o.homepageId, unittest.equals('foo'));
1683 unittest.expect(o.kind, unittest.equals('foo')); 1683 unittest.expect(o.kind, unittest.equals('foo'));
1684 unittest.expect(o.storeLayoutType, unittest.equals('foo')); 1684 unittest.expect(o.storeLayoutType, unittest.equals('foo'));
1685 } 1685 }
1686 buildCounterStoreLayout--; 1686 buildCounterStoreLayout--;
1687 } 1687 }
1688 1688
1689 buildUnnamed2169() { 1689 buildUnnamed2187() {
1690 var o = new core.List<api.StoreCluster>(); 1690 var o = new core.List<api.StoreCluster>();
1691 o.add(buildStoreCluster()); 1691 o.add(buildStoreCluster());
1692 o.add(buildStoreCluster()); 1692 o.add(buildStoreCluster());
1693 return o; 1693 return o;
1694 } 1694 }
1695 1695
1696 checkUnnamed2169(core.List<api.StoreCluster> o) { 1696 checkUnnamed2187(core.List<api.StoreCluster> o) {
1697 unittest.expect(o, unittest.hasLength(2)); 1697 unittest.expect(o, unittest.hasLength(2));
1698 checkStoreCluster(o[0]); 1698 checkStoreCluster(o[0]);
1699 checkStoreCluster(o[1]); 1699 checkStoreCluster(o[1]);
1700 } 1700 }
1701 1701
1702 core.int buildCounterStoreLayoutClustersListResponse = 0; 1702 core.int buildCounterStoreLayoutClustersListResponse = 0;
1703 buildStoreLayoutClustersListResponse() { 1703 buildStoreLayoutClustersListResponse() {
1704 var o = new api.StoreLayoutClustersListResponse(); 1704 var o = new api.StoreLayoutClustersListResponse();
1705 buildCounterStoreLayoutClustersListResponse++; 1705 buildCounterStoreLayoutClustersListResponse++;
1706 if (buildCounterStoreLayoutClustersListResponse < 3) { 1706 if (buildCounterStoreLayoutClustersListResponse < 3) {
1707 o.cluster = buildUnnamed2169(); 1707 o.cluster = buildUnnamed2187();
1708 o.kind = "foo"; 1708 o.kind = "foo";
1709 } 1709 }
1710 buildCounterStoreLayoutClustersListResponse--; 1710 buildCounterStoreLayoutClustersListResponse--;
1711 return o; 1711 return o;
1712 } 1712 }
1713 1713
1714 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) { 1714 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
1715 buildCounterStoreLayoutClustersListResponse++; 1715 buildCounterStoreLayoutClustersListResponse++;
1716 if (buildCounterStoreLayoutClustersListResponse < 3) { 1716 if (buildCounterStoreLayoutClustersListResponse < 3) {
1717 checkUnnamed2169(o.cluster); 1717 checkUnnamed2187(o.cluster);
1718 unittest.expect(o.kind, unittest.equals('foo')); 1718 unittest.expect(o.kind, unittest.equals('foo'));
1719 } 1719 }
1720 buildCounterStoreLayoutClustersListResponse--; 1720 buildCounterStoreLayoutClustersListResponse--;
1721 } 1721 }
1722 1722
1723 buildUnnamed2170() { 1723 buildUnnamed2188() {
1724 var o = new core.List<api.StorePage>(); 1724 var o = new core.List<api.StorePage>();
1725 o.add(buildStorePage()); 1725 o.add(buildStorePage());
1726 o.add(buildStorePage()); 1726 o.add(buildStorePage());
1727 return o; 1727 return o;
1728 } 1728 }
1729 1729
1730 checkUnnamed2170(core.List<api.StorePage> o) { 1730 checkUnnamed2188(core.List<api.StorePage> o) {
1731 unittest.expect(o, unittest.hasLength(2)); 1731 unittest.expect(o, unittest.hasLength(2));
1732 checkStorePage(o[0]); 1732 checkStorePage(o[0]);
1733 checkStorePage(o[1]); 1733 checkStorePage(o[1]);
1734 } 1734 }
1735 1735
1736 core.int buildCounterStoreLayoutPagesListResponse = 0; 1736 core.int buildCounterStoreLayoutPagesListResponse = 0;
1737 buildStoreLayoutPagesListResponse() { 1737 buildStoreLayoutPagesListResponse() {
1738 var o = new api.StoreLayoutPagesListResponse(); 1738 var o = new api.StoreLayoutPagesListResponse();
1739 buildCounterStoreLayoutPagesListResponse++; 1739 buildCounterStoreLayoutPagesListResponse++;
1740 if (buildCounterStoreLayoutPagesListResponse < 3) { 1740 if (buildCounterStoreLayoutPagesListResponse < 3) {
1741 o.kind = "foo"; 1741 o.kind = "foo";
1742 o.page = buildUnnamed2170(); 1742 o.page = buildUnnamed2188();
1743 } 1743 }
1744 buildCounterStoreLayoutPagesListResponse--; 1744 buildCounterStoreLayoutPagesListResponse--;
1745 return o; 1745 return o;
1746 } 1746 }
1747 1747
1748 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { 1748 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) {
1749 buildCounterStoreLayoutPagesListResponse++; 1749 buildCounterStoreLayoutPagesListResponse++;
1750 if (buildCounterStoreLayoutPagesListResponse < 3) { 1750 if (buildCounterStoreLayoutPagesListResponse < 3) {
1751 unittest.expect(o.kind, unittest.equals('foo')); 1751 unittest.expect(o.kind, unittest.equals('foo'));
1752 checkUnnamed2170(o.page); 1752 checkUnnamed2188(o.page);
1753 } 1753 }
1754 buildCounterStoreLayoutPagesListResponse--; 1754 buildCounterStoreLayoutPagesListResponse--;
1755 } 1755 }
1756 1756
1757 buildUnnamed2171() { 1757 buildUnnamed2189() {
1758 var o = new core.List<core.String>(); 1758 var o = new core.List<core.String>();
1759 o.add("foo"); 1759 o.add("foo");
1760 o.add("foo"); 1760 o.add("foo");
1761 return o; 1761 return o;
1762 } 1762 }
1763 1763
1764 checkUnnamed2171(core.List<core.String> o) { 1764 checkUnnamed2189(core.List<core.String> o) {
1765 unittest.expect(o, unittest.hasLength(2)); 1765 unittest.expect(o, unittest.hasLength(2));
1766 unittest.expect(o[0], unittest.equals('foo')); 1766 unittest.expect(o[0], unittest.equals('foo'));
1767 unittest.expect(o[1], unittest.equals('foo')); 1767 unittest.expect(o[1], unittest.equals('foo'));
1768 } 1768 }
1769 1769
1770 buildUnnamed2172() { 1770 buildUnnamed2190() {
1771 var o = new core.List<api.LocalizedText>(); 1771 var o = new core.List<api.LocalizedText>();
1772 o.add(buildLocalizedText()); 1772 o.add(buildLocalizedText());
1773 o.add(buildLocalizedText()); 1773 o.add(buildLocalizedText());
1774 return o; 1774 return o;
1775 } 1775 }
1776 1776
1777 checkUnnamed2172(core.List<api.LocalizedText> o) { 1777 checkUnnamed2190(core.List<api.LocalizedText> o) {
1778 unittest.expect(o, unittest.hasLength(2)); 1778 unittest.expect(o, unittest.hasLength(2));
1779 checkLocalizedText(o[0]); 1779 checkLocalizedText(o[0]);
1780 checkLocalizedText(o[1]); 1780 checkLocalizedText(o[1]);
1781 } 1781 }
1782 1782
1783 core.int buildCounterStorePage = 0; 1783 core.int buildCounterStorePage = 0;
1784 buildStorePage() { 1784 buildStorePage() {
1785 var o = new api.StorePage(); 1785 var o = new api.StorePage();
1786 buildCounterStorePage++; 1786 buildCounterStorePage++;
1787 if (buildCounterStorePage < 3) { 1787 if (buildCounterStorePage < 3) {
1788 o.id = "foo"; 1788 o.id = "foo";
1789 o.kind = "foo"; 1789 o.kind = "foo";
1790 o.link = buildUnnamed2171(); 1790 o.link = buildUnnamed2189();
1791 o.name = buildUnnamed2172(); 1791 o.name = buildUnnamed2190();
1792 } 1792 }
1793 buildCounterStorePage--; 1793 buildCounterStorePage--;
1794 return o; 1794 return o;
1795 } 1795 }
1796 1796
1797 checkStorePage(api.StorePage o) { 1797 checkStorePage(api.StorePage o) {
1798 buildCounterStorePage++; 1798 buildCounterStorePage++;
1799 if (buildCounterStorePage < 3) { 1799 if (buildCounterStorePage < 3) {
1800 unittest.expect(o.id, unittest.equals('foo')); 1800 unittest.expect(o.id, unittest.equals('foo'));
1801 unittest.expect(o.kind, unittest.equals('foo')); 1801 unittest.expect(o.kind, unittest.equals('foo'));
1802 checkUnnamed2171(o.link); 1802 checkUnnamed2189(o.link);
1803 checkUnnamed2172(o.name); 1803 checkUnnamed2190(o.name);
1804 } 1804 }
1805 buildCounterStorePage--; 1805 buildCounterStorePage--;
1806 } 1806 }
1807 1807
1808 core.int buildCounterTokenPagination = 0; 1808 core.int buildCounterTokenPagination = 0;
1809 buildTokenPagination() { 1809 buildTokenPagination() {
1810 var o = new api.TokenPagination(); 1810 var o = new api.TokenPagination();
1811 buildCounterTokenPagination++; 1811 buildCounterTokenPagination++;
1812 if (buildCounterTokenPagination < 3) { 1812 if (buildCounterTokenPagination < 3) {
1813 o.nextPageToken = "foo"; 1813 o.nextPageToken = "foo";
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1873 checkUserToken(api.UserToken o) { 1873 checkUserToken(api.UserToken o) {
1874 buildCounterUserToken++; 1874 buildCounterUserToken++;
1875 if (buildCounterUserToken < 3) { 1875 if (buildCounterUserToken < 3) {
1876 unittest.expect(o.kind, unittest.equals('foo')); 1876 unittest.expect(o.kind, unittest.equals('foo'));
1877 unittest.expect(o.token, unittest.equals('foo')); 1877 unittest.expect(o.token, unittest.equals('foo'));
1878 unittest.expect(o.userId, unittest.equals('foo')); 1878 unittest.expect(o.userId, unittest.equals('foo'));
1879 } 1879 }
1880 buildCounterUserToken--; 1880 buildCounterUserToken--;
1881 } 1881 }
1882 1882
1883 buildUnnamed2173() { 1883 buildUnnamed2191() {
1884 var o = new core.List<api.User>(); 1884 var o = new core.List<api.User>();
1885 o.add(buildUser()); 1885 o.add(buildUser());
1886 o.add(buildUser()); 1886 o.add(buildUser());
1887 return o; 1887 return o;
1888 } 1888 }
1889 1889
1890 checkUnnamed2173(core.List<api.User> o) { 1890 checkUnnamed2191(core.List<api.User> o) {
1891 unittest.expect(o, unittest.hasLength(2)); 1891 unittest.expect(o, unittest.hasLength(2));
1892 checkUser(o[0]); 1892 checkUser(o[0]);
1893 checkUser(o[1]); 1893 checkUser(o[1]);
1894 } 1894 }
1895 1895
1896 core.int buildCounterUsersListResponse = 0; 1896 core.int buildCounterUsersListResponse = 0;
1897 buildUsersListResponse() { 1897 buildUsersListResponse() {
1898 var o = new api.UsersListResponse(); 1898 var o = new api.UsersListResponse();
1899 buildCounterUsersListResponse++; 1899 buildCounterUsersListResponse++;
1900 if (buildCounterUsersListResponse < 3) { 1900 if (buildCounterUsersListResponse < 3) {
1901 o.kind = "foo"; 1901 o.kind = "foo";
1902 o.user = buildUnnamed2173(); 1902 o.user = buildUnnamed2191();
1903 } 1903 }
1904 buildCounterUsersListResponse--; 1904 buildCounterUsersListResponse--;
1905 return o; 1905 return o;
1906 } 1906 }
1907 1907
1908 checkUsersListResponse(api.UsersListResponse o) { 1908 checkUsersListResponse(api.UsersListResponse o) {
1909 buildCounterUsersListResponse++; 1909 buildCounterUsersListResponse++;
1910 if (buildCounterUsersListResponse < 3) { 1910 if (buildCounterUsersListResponse < 3) {
1911 unittest.expect(o.kind, unittest.equals('foo')); 1911 unittest.expect(o.kind, unittest.equals('foo'));
1912 checkUnnamed2173(o.user); 1912 checkUnnamed2191(o.user);
1913 } 1913 }
1914 buildCounterUsersListResponse--; 1914 buildCounterUsersListResponse--;
1915 } 1915 }
1916 1916
1917 1917
1918 main() { 1918 main() {
1919 unittest.group("obj-schema-Administrator", () { 1919 unittest.group("obj-schema-Administrator", () {
1920 unittest.test("to-json--from-json", () { 1920 unittest.test("to-json--from-json", () {
1921 var o = buildAdministrator(); 1921 var o = buildAdministrator();
1922 var od = new api.Administrator.fromJson(o.toJson()); 1922 var od = new api.Administrator.fromJson(o.toJson());
(...skipping 5386 matching lines...) Expand 10 before | Expand all | Expand 10 after
7309 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect Async1(((api.User response) { 7309 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect Async1(((api.User response) {
7310 checkUser(response); 7310 checkUser(response);
7311 }))); 7311 })));
7312 }); 7312 });
7313 7313
7314 }); 7314 });
7315 7315
7316 7316
7317 } 7317 }
7318 7318
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698