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

Side by Side Diff: generated/googleapis/test/content/v2_test.dart

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 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.content.v2.test; 1 library googleapis.content.v2.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 } 45 }
46 } 46 }
47 47
48 http.StreamedResponse stringResponse( 48 http.StreamedResponse stringResponse(
49 core.int status, core.Map headers, core.String body) { 49 core.int status, core.Map headers, core.String body) {
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
51 return new http.StreamedResponse(stream, status, headers: headers); 51 return new http.StreamedResponse(stream, status, headers: headers);
52 } 52 }
53 53
54 buildUnnamed513() { 54 buildUnnamed653() {
55 var o = new core.List<api.AccountAdwordsLink>(); 55 var o = new core.List<api.AccountAdwordsLink>();
56 o.add(buildAccountAdwordsLink()); 56 o.add(buildAccountAdwordsLink());
57 o.add(buildAccountAdwordsLink()); 57 o.add(buildAccountAdwordsLink());
58 return o; 58 return o;
59 } 59 }
60 60
61 checkUnnamed513(core.List<api.AccountAdwordsLink> o) { 61 checkUnnamed653(core.List<api.AccountAdwordsLink> o) {
62 unittest.expect(o, unittest.hasLength(2)); 62 unittest.expect(o, unittest.hasLength(2));
63 checkAccountAdwordsLink(o[0]); 63 checkAccountAdwordsLink(o[0]);
64 checkAccountAdwordsLink(o[1]); 64 checkAccountAdwordsLink(o[1]);
65 } 65 }
66 66
67 buildUnnamed514() { 67 buildUnnamed654() {
68 var o = new core.List<api.AccountUser>(); 68 var o = new core.List<api.AccountUser>();
69 o.add(buildAccountUser()); 69 o.add(buildAccountUser());
70 o.add(buildAccountUser()); 70 o.add(buildAccountUser());
71 return o; 71 return o;
72 } 72 }
73 73
74 checkUnnamed514(core.List<api.AccountUser> o) { 74 checkUnnamed654(core.List<api.AccountUser> o) {
75 unittest.expect(o, unittest.hasLength(2)); 75 unittest.expect(o, unittest.hasLength(2));
76 checkAccountUser(o[0]); 76 checkAccountUser(o[0]);
77 checkAccountUser(o[1]); 77 checkAccountUser(o[1]);
78 } 78 }
79 79
80 core.int buildCounterAccount = 0; 80 core.int buildCounterAccount = 0;
81 buildAccount() { 81 buildAccount() {
82 var o = new api.Account(); 82 var o = new api.Account();
83 buildCounterAccount++; 83 buildCounterAccount++;
84 if (buildCounterAccount < 3) { 84 if (buildCounterAccount < 3) {
85 o.adultContent = true; 85 o.adultContent = true;
86 o.adwordsLinks = buildUnnamed513(); 86 o.adwordsLinks = buildUnnamed653();
87 o.id = "foo"; 87 o.id = "foo";
88 o.kind = "foo"; 88 o.kind = "foo";
89 o.name = "foo"; 89 o.name = "foo";
90 o.reviewsUrl = "foo"; 90 o.reviewsUrl = "foo";
91 o.sellerId = "foo"; 91 o.sellerId = "foo";
92 o.users = buildUnnamed514(); 92 o.users = buildUnnamed654();
93 o.websiteUrl = "foo"; 93 o.websiteUrl = "foo";
94 } 94 }
95 buildCounterAccount--; 95 buildCounterAccount--;
96 return o; 96 return o;
97 } 97 }
98 98
99 checkAccount(api.Account o) { 99 checkAccount(api.Account o) {
100 buildCounterAccount++; 100 buildCounterAccount++;
101 if (buildCounterAccount < 3) { 101 if (buildCounterAccount < 3) {
102 unittest.expect(o.adultContent, unittest.isTrue); 102 unittest.expect(o.adultContent, unittest.isTrue);
103 checkUnnamed513(o.adwordsLinks); 103 checkUnnamed653(o.adwordsLinks);
104 unittest.expect(o.id, unittest.equals('foo')); 104 unittest.expect(o.id, unittest.equals('foo'));
105 unittest.expect(o.kind, unittest.equals('foo')); 105 unittest.expect(o.kind, unittest.equals('foo'));
106 unittest.expect(o.name, unittest.equals('foo')); 106 unittest.expect(o.name, unittest.equals('foo'));
107 unittest.expect(o.reviewsUrl, unittest.equals('foo')); 107 unittest.expect(o.reviewsUrl, unittest.equals('foo'));
108 unittest.expect(o.sellerId, unittest.equals('foo')); 108 unittest.expect(o.sellerId, unittest.equals('foo'));
109 checkUnnamed514(o.users); 109 checkUnnamed654(o.users);
110 unittest.expect(o.websiteUrl, unittest.equals('foo')); 110 unittest.expect(o.websiteUrl, unittest.equals('foo'));
111 } 111 }
112 buildCounterAccount--; 112 buildCounterAccount--;
113 } 113 }
114 114
115 core.int buildCounterAccountAdwordsLink = 0; 115 core.int buildCounterAccountAdwordsLink = 0;
116 buildAccountAdwordsLink() { 116 buildAccountAdwordsLink() {
117 var o = new api.AccountAdwordsLink(); 117 var o = new api.AccountAdwordsLink();
118 buildCounterAccountAdwordsLink++; 118 buildCounterAccountAdwordsLink++;
119 if (buildCounterAccountAdwordsLink < 3) { 119 if (buildCounterAccountAdwordsLink < 3) {
(...skipping 27 matching lines...) Expand all
147 147
148 checkAccountIdentifier(api.AccountIdentifier o) { 148 checkAccountIdentifier(api.AccountIdentifier o) {
149 buildCounterAccountIdentifier++; 149 buildCounterAccountIdentifier++;
150 if (buildCounterAccountIdentifier < 3) { 150 if (buildCounterAccountIdentifier < 3) {
151 unittest.expect(o.aggregatorId, unittest.equals('foo')); 151 unittest.expect(o.aggregatorId, unittest.equals('foo'));
152 unittest.expect(o.merchantId, unittest.equals('foo')); 152 unittest.expect(o.merchantId, unittest.equals('foo'));
153 } 153 }
154 buildCounterAccountIdentifier--; 154 buildCounterAccountIdentifier--;
155 } 155 }
156 156
157 buildUnnamed515() { 157 buildUnnamed655() {
158 var o = new core.List<api.AccountShippingCarrierRate>(); 158 var o = new core.List<api.AccountShippingCarrierRate>();
159 o.add(buildAccountShippingCarrierRate()); 159 o.add(buildAccountShippingCarrierRate());
160 o.add(buildAccountShippingCarrierRate()); 160 o.add(buildAccountShippingCarrierRate());
161 return o; 161 return o;
162 } 162 }
163 163
164 checkUnnamed515(core.List<api.AccountShippingCarrierRate> o) { 164 checkUnnamed655(core.List<api.AccountShippingCarrierRate> o) {
165 unittest.expect(o, unittest.hasLength(2)); 165 unittest.expect(o, unittest.hasLength(2));
166 checkAccountShippingCarrierRate(o[0]); 166 checkAccountShippingCarrierRate(o[0]);
167 checkAccountShippingCarrierRate(o[1]); 167 checkAccountShippingCarrierRate(o[1]);
168 } 168 }
169 169
170 buildUnnamed516() { 170 buildUnnamed656() {
171 var o = new core.List<api.AccountShippingLocationGroup>(); 171 var o = new core.List<api.AccountShippingLocationGroup>();
172 o.add(buildAccountShippingLocationGroup()); 172 o.add(buildAccountShippingLocationGroup());
173 o.add(buildAccountShippingLocationGroup()); 173 o.add(buildAccountShippingLocationGroup());
174 return o; 174 return o;
175 } 175 }
176 176
177 checkUnnamed516(core.List<api.AccountShippingLocationGroup> o) { 177 checkUnnamed656(core.List<api.AccountShippingLocationGroup> o) {
178 unittest.expect(o, unittest.hasLength(2)); 178 unittest.expect(o, unittest.hasLength(2));
179 checkAccountShippingLocationGroup(o[0]); 179 checkAccountShippingLocationGroup(o[0]);
180 checkAccountShippingLocationGroup(o[1]); 180 checkAccountShippingLocationGroup(o[1]);
181 } 181 }
182 182
183 buildUnnamed517() { 183 buildUnnamed657() {
184 var o = new core.List<api.AccountShippingRateTable>(); 184 var o = new core.List<api.AccountShippingRateTable>();
185 o.add(buildAccountShippingRateTable()); 185 o.add(buildAccountShippingRateTable());
186 o.add(buildAccountShippingRateTable()); 186 o.add(buildAccountShippingRateTable());
187 return o; 187 return o;
188 } 188 }
189 189
190 checkUnnamed517(core.List<api.AccountShippingRateTable> o) { 190 checkUnnamed657(core.List<api.AccountShippingRateTable> o) {
191 unittest.expect(o, unittest.hasLength(2)); 191 unittest.expect(o, unittest.hasLength(2));
192 checkAccountShippingRateTable(o[0]); 192 checkAccountShippingRateTable(o[0]);
193 checkAccountShippingRateTable(o[1]); 193 checkAccountShippingRateTable(o[1]);
194 } 194 }
195 195
196 buildUnnamed518() { 196 buildUnnamed658() {
197 var o = new core.List<api.AccountShippingShippingService>(); 197 var o = new core.List<api.AccountShippingShippingService>();
198 o.add(buildAccountShippingShippingService()); 198 o.add(buildAccountShippingShippingService());
199 o.add(buildAccountShippingShippingService()); 199 o.add(buildAccountShippingShippingService());
200 return o; 200 return o;
201 } 201 }
202 202
203 checkUnnamed518(core.List<api.AccountShippingShippingService> o) { 203 checkUnnamed658(core.List<api.AccountShippingShippingService> o) {
204 unittest.expect(o, unittest.hasLength(2)); 204 unittest.expect(o, unittest.hasLength(2));
205 checkAccountShippingShippingService(o[0]); 205 checkAccountShippingShippingService(o[0]);
206 checkAccountShippingShippingService(o[1]); 206 checkAccountShippingShippingService(o[1]);
207 } 207 }
208 208
209 core.int buildCounterAccountShipping = 0; 209 core.int buildCounterAccountShipping = 0;
210 buildAccountShipping() { 210 buildAccountShipping() {
211 var o = new api.AccountShipping(); 211 var o = new api.AccountShipping();
212 buildCounterAccountShipping++; 212 buildCounterAccountShipping++;
213 if (buildCounterAccountShipping < 3) { 213 if (buildCounterAccountShipping < 3) {
214 o.accountId = "foo"; 214 o.accountId = "foo";
215 o.carrierRates = buildUnnamed515(); 215 o.carrierRates = buildUnnamed655();
216 o.kind = "foo"; 216 o.kind = "foo";
217 o.locationGroups = buildUnnamed516(); 217 o.locationGroups = buildUnnamed656();
218 o.rateTables = buildUnnamed517(); 218 o.rateTables = buildUnnamed657();
219 o.services = buildUnnamed518(); 219 o.services = buildUnnamed658();
220 } 220 }
221 buildCounterAccountShipping--; 221 buildCounterAccountShipping--;
222 return o; 222 return o;
223 } 223 }
224 224
225 checkAccountShipping(api.AccountShipping o) { 225 checkAccountShipping(api.AccountShipping o) {
226 buildCounterAccountShipping++; 226 buildCounterAccountShipping++;
227 if (buildCounterAccountShipping < 3) { 227 if (buildCounterAccountShipping < 3) {
228 unittest.expect(o.accountId, unittest.equals('foo')); 228 unittest.expect(o.accountId, unittest.equals('foo'));
229 checkUnnamed515(o.carrierRates); 229 checkUnnamed655(o.carrierRates);
230 unittest.expect(o.kind, unittest.equals('foo')); 230 unittest.expect(o.kind, unittest.equals('foo'));
231 checkUnnamed516(o.locationGroups); 231 checkUnnamed656(o.locationGroups);
232 checkUnnamed517(o.rateTables); 232 checkUnnamed657(o.rateTables);
233 checkUnnamed518(o.services); 233 checkUnnamed658(o.services);
234 } 234 }
235 buildCounterAccountShipping--; 235 buildCounterAccountShipping--;
236 } 236 }
237 237
238 core.int buildCounterAccountShippingCarrierRate = 0; 238 core.int buildCounterAccountShippingCarrierRate = 0;
239 buildAccountShippingCarrierRate() { 239 buildAccountShippingCarrierRate() {
240 var o = new api.AccountShippingCarrierRate(); 240 var o = new api.AccountShippingCarrierRate();
241 buildCounterAccountShippingCarrierRate++; 241 buildCounterAccountShippingCarrierRate++;
242 if (buildCounterAccountShippingCarrierRate < 3) { 242 if (buildCounterAccountShippingCarrierRate < 3) {
243 o.carrier = "foo"; 243 o.carrier = "foo";
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 unittest.expect(o.deliveryLocationId, unittest.equals('foo')); 290 unittest.expect(o.deliveryLocationId, unittest.equals('foo'));
291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo')); 291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo'));
292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange); 292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange);
293 checkPrice(o.priceMax); 293 checkPrice(o.priceMax);
294 unittest.expect(o.shippingLabel, unittest.equals('foo')); 294 unittest.expect(o.shippingLabel, unittest.equals('foo'));
295 checkWeight(o.weightMax); 295 checkWeight(o.weightMax);
296 } 296 }
297 buildCounterAccountShippingCondition--; 297 buildCounterAccountShippingCondition--;
298 } 298 }
299 299
300 buildUnnamed519() { 300 buildUnnamed659() {
301 var o = new core.List<core.String>(); 301 var o = new core.List<core.String>();
302 o.add("foo"); 302 o.add("foo");
303 o.add("foo"); 303 o.add("foo");
304 return o; 304 return o;
305 } 305 }
306 306
307 checkUnnamed519(core.List<core.String> o) { 307 checkUnnamed659(core.List<core.String> o) {
308 unittest.expect(o, unittest.hasLength(2)); 308 unittest.expect(o, unittest.hasLength(2));
309 unittest.expect(o[0], unittest.equals('foo')); 309 unittest.expect(o[0], unittest.equals('foo'));
310 unittest.expect(o[1], unittest.equals('foo')); 310 unittest.expect(o[1], unittest.equals('foo'));
311 } 311 }
312 312
313 buildUnnamed520() { 313 buildUnnamed660() {
314 var o = new core.List<api.AccountShippingPostalCodeRange>(); 314 var o = new core.List<api.AccountShippingPostalCodeRange>();
315 o.add(buildAccountShippingPostalCodeRange()); 315 o.add(buildAccountShippingPostalCodeRange());
316 o.add(buildAccountShippingPostalCodeRange()); 316 o.add(buildAccountShippingPostalCodeRange());
317 return o; 317 return o;
318 } 318 }
319 319
320 checkUnnamed520(core.List<api.AccountShippingPostalCodeRange> o) { 320 checkUnnamed660(core.List<api.AccountShippingPostalCodeRange> o) {
321 unittest.expect(o, unittest.hasLength(2)); 321 unittest.expect(o, unittest.hasLength(2));
322 checkAccountShippingPostalCodeRange(o[0]); 322 checkAccountShippingPostalCodeRange(o[0]);
323 checkAccountShippingPostalCodeRange(o[1]); 323 checkAccountShippingPostalCodeRange(o[1]);
324 } 324 }
325 325
326 buildUnnamed521() { 326 buildUnnamed661() {
327 var o = new core.List<core.String>(); 327 var o = new core.List<core.String>();
328 o.add("foo"); 328 o.add("foo");
329 o.add("foo"); 329 o.add("foo");
330 return o; 330 return o;
331 } 331 }
332 332
333 checkUnnamed521(core.List<core.String> o) { 333 checkUnnamed661(core.List<core.String> o) {
334 unittest.expect(o, unittest.hasLength(2)); 334 unittest.expect(o, unittest.hasLength(2));
335 unittest.expect(o[0], unittest.equals('foo')); 335 unittest.expect(o[0], unittest.equals('foo'));
336 unittest.expect(o[1], unittest.equals('foo')); 336 unittest.expect(o[1], unittest.equals('foo'));
337 } 337 }
338 338
339 core.int buildCounterAccountShippingLocationGroup = 0; 339 core.int buildCounterAccountShippingLocationGroup = 0;
340 buildAccountShippingLocationGroup() { 340 buildAccountShippingLocationGroup() {
341 var o = new api.AccountShippingLocationGroup(); 341 var o = new api.AccountShippingLocationGroup();
342 buildCounterAccountShippingLocationGroup++; 342 buildCounterAccountShippingLocationGroup++;
343 if (buildCounterAccountShippingLocationGroup < 3) { 343 if (buildCounterAccountShippingLocationGroup < 3) {
344 o.country = "foo"; 344 o.country = "foo";
345 o.locationIds = buildUnnamed519(); 345 o.locationIds = buildUnnamed659();
346 o.name = "foo"; 346 o.name = "foo";
347 o.postalCodeRanges = buildUnnamed520(); 347 o.postalCodeRanges = buildUnnamed660();
348 o.postalCodes = buildUnnamed521(); 348 o.postalCodes = buildUnnamed661();
349 } 349 }
350 buildCounterAccountShippingLocationGroup--; 350 buildCounterAccountShippingLocationGroup--;
351 return o; 351 return o;
352 } 352 }
353 353
354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) { 354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) {
355 buildCounterAccountShippingLocationGroup++; 355 buildCounterAccountShippingLocationGroup++;
356 if (buildCounterAccountShippingLocationGroup < 3) { 356 if (buildCounterAccountShippingLocationGroup < 3) {
357 unittest.expect(o.country, unittest.equals('foo')); 357 unittest.expect(o.country, unittest.equals('foo'));
358 checkUnnamed519(o.locationIds); 358 checkUnnamed659(o.locationIds);
359 unittest.expect(o.name, unittest.equals('foo')); 359 unittest.expect(o.name, unittest.equals('foo'));
360 checkUnnamed520(o.postalCodeRanges); 360 checkUnnamed660(o.postalCodeRanges);
361 checkUnnamed521(o.postalCodes); 361 checkUnnamed661(o.postalCodes);
362 } 362 }
363 buildCounterAccountShippingLocationGroup--; 363 buildCounterAccountShippingLocationGroup--;
364 } 364 }
365 365
366 core.int buildCounterAccountShippingPostalCodeRange = 0; 366 core.int buildCounterAccountShippingPostalCodeRange = 0;
367 buildAccountShippingPostalCodeRange() { 367 buildAccountShippingPostalCodeRange() {
368 var o = new api.AccountShippingPostalCodeRange(); 368 var o = new api.AccountShippingPostalCodeRange();
369 buildCounterAccountShippingPostalCodeRange++; 369 buildCounterAccountShippingPostalCodeRange++;
370 if (buildCounterAccountShippingPostalCodeRange < 3) { 370 if (buildCounterAccountShippingPostalCodeRange < 3) {
371 o.end = "foo"; 371 o.end = "foo";
372 o.start = "foo"; 372 o.start = "foo";
373 } 373 }
374 buildCounterAccountShippingPostalCodeRange--; 374 buildCounterAccountShippingPostalCodeRange--;
375 return o; 375 return o;
376 } 376 }
377 377
378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) { 378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) {
379 buildCounterAccountShippingPostalCodeRange++; 379 buildCounterAccountShippingPostalCodeRange++;
380 if (buildCounterAccountShippingPostalCodeRange < 3) { 380 if (buildCounterAccountShippingPostalCodeRange < 3) {
381 unittest.expect(o.end, unittest.equals('foo')); 381 unittest.expect(o.end, unittest.equals('foo'));
382 unittest.expect(o.start, unittest.equals('foo')); 382 unittest.expect(o.start, unittest.equals('foo'));
383 } 383 }
384 buildCounterAccountShippingPostalCodeRange--; 384 buildCounterAccountShippingPostalCodeRange--;
385 } 385 }
386 386
387 buildUnnamed522() { 387 buildUnnamed662() {
388 var o = new core.List<api.AccountShippingRateTableCell>(); 388 var o = new core.List<api.AccountShippingRateTableCell>();
389 o.add(buildAccountShippingRateTableCell()); 389 o.add(buildAccountShippingRateTableCell());
390 o.add(buildAccountShippingRateTableCell()); 390 o.add(buildAccountShippingRateTableCell());
391 return o; 391 return o;
392 } 392 }
393 393
394 checkUnnamed522(core.List<api.AccountShippingRateTableCell> o) { 394 checkUnnamed662(core.List<api.AccountShippingRateTableCell> o) {
395 unittest.expect(o, unittest.hasLength(2)); 395 unittest.expect(o, unittest.hasLength(2));
396 checkAccountShippingRateTableCell(o[0]); 396 checkAccountShippingRateTableCell(o[0]);
397 checkAccountShippingRateTableCell(o[1]); 397 checkAccountShippingRateTableCell(o[1]);
398 } 398 }
399 399
400 core.int buildCounterAccountShippingRateTable = 0; 400 core.int buildCounterAccountShippingRateTable = 0;
401 buildAccountShippingRateTable() { 401 buildAccountShippingRateTable() {
402 var o = new api.AccountShippingRateTable(); 402 var o = new api.AccountShippingRateTable();
403 buildCounterAccountShippingRateTable++; 403 buildCounterAccountShippingRateTable++;
404 if (buildCounterAccountShippingRateTable < 3) { 404 if (buildCounterAccountShippingRateTable < 3) {
405 o.content = buildUnnamed522(); 405 o.content = buildUnnamed662();
406 o.name = "foo"; 406 o.name = "foo";
407 o.saleCountry = "foo"; 407 o.saleCountry = "foo";
408 } 408 }
409 buildCounterAccountShippingRateTable--; 409 buildCounterAccountShippingRateTable--;
410 return o; 410 return o;
411 } 411 }
412 412
413 checkAccountShippingRateTable(api.AccountShippingRateTable o) { 413 checkAccountShippingRateTable(api.AccountShippingRateTable o) {
414 buildCounterAccountShippingRateTable++; 414 buildCounterAccountShippingRateTable++;
415 if (buildCounterAccountShippingRateTable < 3) { 415 if (buildCounterAccountShippingRateTable < 3) {
416 checkUnnamed522(o.content); 416 checkUnnamed662(o.content);
417 unittest.expect(o.name, unittest.equals('foo')); 417 unittest.expect(o.name, unittest.equals('foo'));
418 unittest.expect(o.saleCountry, unittest.equals('foo')); 418 unittest.expect(o.saleCountry, unittest.equals('foo'));
419 } 419 }
420 buildCounterAccountShippingRateTable--; 420 buildCounterAccountShippingRateTable--;
421 } 421 }
422 422
423 core.int buildCounterAccountShippingRateTableCell = 0; 423 core.int buildCounterAccountShippingRateTableCell = 0;
424 buildAccountShippingRateTableCell() { 424 buildAccountShippingRateTableCell() {
425 var o = new api.AccountShippingRateTableCell(); 425 var o = new api.AccountShippingRateTableCell();
426 buildCounterAccountShippingRateTableCell++; 426 buildCounterAccountShippingRateTableCell++;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { 488 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) {
489 unittest.expect(o.carrierRate, unittest.equals('foo')); 489 unittest.expect(o.carrierRate, unittest.equals('foo'));
490 unittest.expect(o.excluded, unittest.isTrue); 490 unittest.expect(o.excluded, unittest.isTrue);
491 checkPrice(o.flatRate); 491 checkPrice(o.flatRate);
492 unittest.expect(o.percentageRate, unittest.equals('foo')); 492 unittest.expect(o.percentageRate, unittest.equals('foo'));
493 unittest.expect(o.rateTable, unittest.equals('foo')); 493 unittest.expect(o.rateTable, unittest.equals('foo'));
494 } 494 }
495 buildCounterAccountShippingShippingServiceCalculationMethod--; 495 buildCounterAccountShippingShippingServiceCalculationMethod--;
496 } 496 }
497 497
498 buildUnnamed523() { 498 buildUnnamed663() {
499 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); 499 var o = new core.List<api.AccountShippingShippingServiceCostRule>();
500 o.add(buildAccountShippingShippingServiceCostRule()); 500 o.add(buildAccountShippingShippingServiceCostRule());
501 o.add(buildAccountShippingShippingServiceCostRule()); 501 o.add(buildAccountShippingShippingServiceCostRule());
502 return o; 502 return o;
503 } 503 }
504 504
505 checkUnnamed523(core.List<api.AccountShippingShippingServiceCostRule> o) { 505 checkUnnamed663(core.List<api.AccountShippingShippingServiceCostRule> o) {
506 unittest.expect(o, unittest.hasLength(2)); 506 unittest.expect(o, unittest.hasLength(2));
507 checkAccountShippingShippingServiceCostRule(o[0]); 507 checkAccountShippingShippingServiceCostRule(o[0]);
508 checkAccountShippingShippingServiceCostRule(o[1]); 508 checkAccountShippingShippingServiceCostRule(o[1]);
509 } 509 }
510 510
511 core.int buildCounterAccountShippingShippingServiceCostRule = 0; 511 core.int buildCounterAccountShippingShippingServiceCostRule = 0;
512 buildAccountShippingShippingServiceCostRule() { 512 buildAccountShippingShippingServiceCostRule() {
513 var o = new api.AccountShippingShippingServiceCostRule(); 513 var o = new api.AccountShippingShippingServiceCostRule();
514 buildCounterAccountShippingShippingServiceCostRule++; 514 buildCounterAccountShippingShippingServiceCostRule++;
515 if (buildCounterAccountShippingShippingServiceCostRule < 3) { 515 if (buildCounterAccountShippingShippingServiceCostRule < 3) {
516 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod() ; 516 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod() ;
517 o.children = buildUnnamed523(); 517 o.children = buildUnnamed663();
518 o.condition = buildAccountShippingCondition(); 518 o.condition = buildAccountShippingCondition();
519 } 519 }
520 buildCounterAccountShippingShippingServiceCostRule--; 520 buildCounterAccountShippingShippingServiceCostRule--;
521 return o; 521 return o;
522 } 522 }
523 523
524 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo stRule o) { 524 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo stRule o) {
525 buildCounterAccountShippingShippingServiceCostRule++; 525 buildCounterAccountShippingShippingServiceCostRule++;
526 if (buildCounterAccountShippingShippingServiceCostRule < 3) { 526 if (buildCounterAccountShippingShippingServiceCostRule < 3) {
527 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); 527 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod);
528 checkUnnamed523(o.children); 528 checkUnnamed663(o.children);
529 checkAccountShippingCondition(o.condition); 529 checkAccountShippingCondition(o.condition);
530 } 530 }
531 buildCounterAccountShippingShippingServiceCostRule--; 531 buildCounterAccountShippingShippingServiceCostRule--;
532 } 532 }
533 533
534 buildUnnamed524() { 534 buildUnnamed664() {
535 var o = new core.List<api.AccountStatusDataQualityIssue>(); 535 var o = new core.List<api.AccountStatusDataQualityIssue>();
536 o.add(buildAccountStatusDataQualityIssue()); 536 o.add(buildAccountStatusDataQualityIssue());
537 o.add(buildAccountStatusDataQualityIssue()); 537 o.add(buildAccountStatusDataQualityIssue());
538 return o; 538 return o;
539 } 539 }
540 540
541 checkUnnamed524(core.List<api.AccountStatusDataQualityIssue> o) { 541 checkUnnamed664(core.List<api.AccountStatusDataQualityIssue> o) {
542 unittest.expect(o, unittest.hasLength(2)); 542 unittest.expect(o, unittest.hasLength(2));
543 checkAccountStatusDataQualityIssue(o[0]); 543 checkAccountStatusDataQualityIssue(o[0]);
544 checkAccountStatusDataQualityIssue(o[1]); 544 checkAccountStatusDataQualityIssue(o[1]);
545 } 545 }
546 546
547 core.int buildCounterAccountStatus = 0; 547 core.int buildCounterAccountStatus = 0;
548 buildAccountStatus() { 548 buildAccountStatus() {
549 var o = new api.AccountStatus(); 549 var o = new api.AccountStatus();
550 buildCounterAccountStatus++; 550 buildCounterAccountStatus++;
551 if (buildCounterAccountStatus < 3) { 551 if (buildCounterAccountStatus < 3) {
552 o.accountId = "foo"; 552 o.accountId = "foo";
553 o.dataQualityIssues = buildUnnamed524(); 553 o.dataQualityIssues = buildUnnamed664();
554 o.kind = "foo"; 554 o.kind = "foo";
555 } 555 }
556 buildCounterAccountStatus--; 556 buildCounterAccountStatus--;
557 return o; 557 return o;
558 } 558 }
559 559
560 checkAccountStatus(api.AccountStatus o) { 560 checkAccountStatus(api.AccountStatus o) {
561 buildCounterAccountStatus++; 561 buildCounterAccountStatus++;
562 if (buildCounterAccountStatus < 3) { 562 if (buildCounterAccountStatus < 3) {
563 unittest.expect(o.accountId, unittest.equals('foo')); 563 unittest.expect(o.accountId, unittest.equals('foo'));
564 checkUnnamed524(o.dataQualityIssues); 564 checkUnnamed664(o.dataQualityIssues);
565 unittest.expect(o.kind, unittest.equals('foo')); 565 unittest.expect(o.kind, unittest.equals('foo'));
566 } 566 }
567 buildCounterAccountStatus--; 567 buildCounterAccountStatus--;
568 } 568 }
569 569
570 buildUnnamed525() { 570 buildUnnamed665() {
571 var o = new core.List<api.AccountStatusExampleItem>(); 571 var o = new core.List<api.AccountStatusExampleItem>();
572 o.add(buildAccountStatusExampleItem()); 572 o.add(buildAccountStatusExampleItem());
573 o.add(buildAccountStatusExampleItem()); 573 o.add(buildAccountStatusExampleItem());
574 return o; 574 return o;
575 } 575 }
576 576
577 checkUnnamed525(core.List<api.AccountStatusExampleItem> o) { 577 checkUnnamed665(core.List<api.AccountStatusExampleItem> o) {
578 unittest.expect(o, unittest.hasLength(2)); 578 unittest.expect(o, unittest.hasLength(2));
579 checkAccountStatusExampleItem(o[0]); 579 checkAccountStatusExampleItem(o[0]);
580 checkAccountStatusExampleItem(o[1]); 580 checkAccountStatusExampleItem(o[1]);
581 } 581 }
582 582
583 core.int buildCounterAccountStatusDataQualityIssue = 0; 583 core.int buildCounterAccountStatusDataQualityIssue = 0;
584 buildAccountStatusDataQualityIssue() { 584 buildAccountStatusDataQualityIssue() {
585 var o = new api.AccountStatusDataQualityIssue(); 585 var o = new api.AccountStatusDataQualityIssue();
586 buildCounterAccountStatusDataQualityIssue++; 586 buildCounterAccountStatusDataQualityIssue++;
587 if (buildCounterAccountStatusDataQualityIssue < 3) { 587 if (buildCounterAccountStatusDataQualityIssue < 3) {
588 o.country = "foo"; 588 o.country = "foo";
589 o.displayedValue = "foo"; 589 o.displayedValue = "foo";
590 o.exampleItems = buildUnnamed525(); 590 o.exampleItems = buildUnnamed665();
591 o.id = "foo"; 591 o.id = "foo";
592 o.lastChecked = "foo"; 592 o.lastChecked = "foo";
593 o.numItems = 42; 593 o.numItems = 42;
594 o.severity = "foo"; 594 o.severity = "foo";
595 o.submittedValue = "foo"; 595 o.submittedValue = "foo";
596 } 596 }
597 buildCounterAccountStatusDataQualityIssue--; 597 buildCounterAccountStatusDataQualityIssue--;
598 return o; 598 return o;
599 } 599 }
600 600
601 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { 601 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) {
602 buildCounterAccountStatusDataQualityIssue++; 602 buildCounterAccountStatusDataQualityIssue++;
603 if (buildCounterAccountStatusDataQualityIssue < 3) { 603 if (buildCounterAccountStatusDataQualityIssue < 3) {
604 unittest.expect(o.country, unittest.equals('foo')); 604 unittest.expect(o.country, unittest.equals('foo'));
605 unittest.expect(o.displayedValue, unittest.equals('foo')); 605 unittest.expect(o.displayedValue, unittest.equals('foo'));
606 checkUnnamed525(o.exampleItems); 606 checkUnnamed665(o.exampleItems);
607 unittest.expect(o.id, unittest.equals('foo')); 607 unittest.expect(o.id, unittest.equals('foo'));
608 unittest.expect(o.lastChecked, unittest.equals('foo')); 608 unittest.expect(o.lastChecked, unittest.equals('foo'));
609 unittest.expect(o.numItems, unittest.equals(42)); 609 unittest.expect(o.numItems, unittest.equals(42));
610 unittest.expect(o.severity, unittest.equals('foo')); 610 unittest.expect(o.severity, unittest.equals('foo'));
611 unittest.expect(o.submittedValue, unittest.equals('foo')); 611 unittest.expect(o.submittedValue, unittest.equals('foo'));
612 } 612 }
613 buildCounterAccountStatusDataQualityIssue--; 613 buildCounterAccountStatusDataQualityIssue--;
614 } 614 }
615 615
616 core.int buildCounterAccountStatusExampleItem = 0; 616 core.int buildCounterAccountStatusExampleItem = 0;
(...skipping 16 matching lines...) Expand all
633 if (buildCounterAccountStatusExampleItem < 3) { 633 if (buildCounterAccountStatusExampleItem < 3) {
634 unittest.expect(o.itemId, unittest.equals('foo')); 634 unittest.expect(o.itemId, unittest.equals('foo'));
635 unittest.expect(o.link, unittest.equals('foo')); 635 unittest.expect(o.link, unittest.equals('foo'));
636 unittest.expect(o.submittedValue, unittest.equals('foo')); 636 unittest.expect(o.submittedValue, unittest.equals('foo'));
637 unittest.expect(o.title, unittest.equals('foo')); 637 unittest.expect(o.title, unittest.equals('foo'));
638 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); 638 unittest.expect(o.valueOnLandingPage, unittest.equals('foo'));
639 } 639 }
640 buildCounterAccountStatusExampleItem--; 640 buildCounterAccountStatusExampleItem--;
641 } 641 }
642 642
643 buildUnnamed526() { 643 buildUnnamed666() {
644 var o = new core.List<api.AccountTaxTaxRule>(); 644 var o = new core.List<api.AccountTaxTaxRule>();
645 o.add(buildAccountTaxTaxRule()); 645 o.add(buildAccountTaxTaxRule());
646 o.add(buildAccountTaxTaxRule()); 646 o.add(buildAccountTaxTaxRule());
647 return o; 647 return o;
648 } 648 }
649 649
650 checkUnnamed526(core.List<api.AccountTaxTaxRule> o) { 650 checkUnnamed666(core.List<api.AccountTaxTaxRule> o) {
651 unittest.expect(o, unittest.hasLength(2)); 651 unittest.expect(o, unittest.hasLength(2));
652 checkAccountTaxTaxRule(o[0]); 652 checkAccountTaxTaxRule(o[0]);
653 checkAccountTaxTaxRule(o[1]); 653 checkAccountTaxTaxRule(o[1]);
654 } 654 }
655 655
656 core.int buildCounterAccountTax = 0; 656 core.int buildCounterAccountTax = 0;
657 buildAccountTax() { 657 buildAccountTax() {
658 var o = new api.AccountTax(); 658 var o = new api.AccountTax();
659 buildCounterAccountTax++; 659 buildCounterAccountTax++;
660 if (buildCounterAccountTax < 3) { 660 if (buildCounterAccountTax < 3) {
661 o.accountId = "foo"; 661 o.accountId = "foo";
662 o.kind = "foo"; 662 o.kind = "foo";
663 o.rules = buildUnnamed526(); 663 o.rules = buildUnnamed666();
664 } 664 }
665 buildCounterAccountTax--; 665 buildCounterAccountTax--;
666 return o; 666 return o;
667 } 667 }
668 668
669 checkAccountTax(api.AccountTax o) { 669 checkAccountTax(api.AccountTax o) {
670 buildCounterAccountTax++; 670 buildCounterAccountTax++;
671 if (buildCounterAccountTax < 3) { 671 if (buildCounterAccountTax < 3) {
672 unittest.expect(o.accountId, unittest.equals('foo')); 672 unittest.expect(o.accountId, unittest.equals('foo'));
673 unittest.expect(o.kind, unittest.equals('foo')); 673 unittest.expect(o.kind, unittest.equals('foo'));
674 checkUnnamed526(o.rules); 674 checkUnnamed666(o.rules);
675 } 675 }
676 buildCounterAccountTax--; 676 buildCounterAccountTax--;
677 } 677 }
678 678
679 core.int buildCounterAccountTaxTaxRule = 0; 679 core.int buildCounterAccountTaxTaxRule = 0;
680 buildAccountTaxTaxRule() { 680 buildAccountTaxTaxRule() {
681 var o = new api.AccountTaxTaxRule(); 681 var o = new api.AccountTaxTaxRule();
682 buildCounterAccountTaxTaxRule++; 682 buildCounterAccountTaxTaxRule++;
683 if (buildCounterAccountTaxTaxRule < 3) { 683 if (buildCounterAccountTaxTaxRule < 3) {
684 o.country = "foo"; 684 o.country = "foo";
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 717
718 checkAccountUser(api.AccountUser o) { 718 checkAccountUser(api.AccountUser o) {
719 buildCounterAccountUser++; 719 buildCounterAccountUser++;
720 if (buildCounterAccountUser < 3) { 720 if (buildCounterAccountUser < 3) {
721 unittest.expect(o.admin, unittest.isTrue); 721 unittest.expect(o.admin, unittest.isTrue);
722 unittest.expect(o.emailAddress, unittest.equals('foo')); 722 unittest.expect(o.emailAddress, unittest.equals('foo'));
723 } 723 }
724 buildCounterAccountUser--; 724 buildCounterAccountUser--;
725 } 725 }
726 726
727 buildUnnamed527() { 727 buildUnnamed667() {
728 var o = new core.List<api.AccountIdentifier>(); 728 var o = new core.List<api.AccountIdentifier>();
729 o.add(buildAccountIdentifier()); 729 o.add(buildAccountIdentifier());
730 o.add(buildAccountIdentifier()); 730 o.add(buildAccountIdentifier());
731 return o; 731 return o;
732 } 732 }
733 733
734 checkUnnamed527(core.List<api.AccountIdentifier> o) { 734 checkUnnamed667(core.List<api.AccountIdentifier> o) {
735 unittest.expect(o, unittest.hasLength(2)); 735 unittest.expect(o, unittest.hasLength(2));
736 checkAccountIdentifier(o[0]); 736 checkAccountIdentifier(o[0]);
737 checkAccountIdentifier(o[1]); 737 checkAccountIdentifier(o[1]);
738 } 738 }
739 739
740 core.int buildCounterAccountsAuthInfoResponse = 0; 740 core.int buildCounterAccountsAuthInfoResponse = 0;
741 buildAccountsAuthInfoResponse() { 741 buildAccountsAuthInfoResponse() {
742 var o = new api.AccountsAuthInfoResponse(); 742 var o = new api.AccountsAuthInfoResponse();
743 buildCounterAccountsAuthInfoResponse++; 743 buildCounterAccountsAuthInfoResponse++;
744 if (buildCounterAccountsAuthInfoResponse < 3) { 744 if (buildCounterAccountsAuthInfoResponse < 3) {
745 o.accountIdentifiers = buildUnnamed527(); 745 o.accountIdentifiers = buildUnnamed667();
746 o.kind = "foo"; 746 o.kind = "foo";
747 } 747 }
748 buildCounterAccountsAuthInfoResponse--; 748 buildCounterAccountsAuthInfoResponse--;
749 return o; 749 return o;
750 } 750 }
751 751
752 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { 752 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) {
753 buildCounterAccountsAuthInfoResponse++; 753 buildCounterAccountsAuthInfoResponse++;
754 if (buildCounterAccountsAuthInfoResponse < 3) { 754 if (buildCounterAccountsAuthInfoResponse < 3) {
755 checkUnnamed527(o.accountIdentifiers); 755 checkUnnamed667(o.accountIdentifiers);
756 unittest.expect(o.kind, unittest.equals('foo')); 756 unittest.expect(o.kind, unittest.equals('foo'));
757 } 757 }
758 buildCounterAccountsAuthInfoResponse--; 758 buildCounterAccountsAuthInfoResponse--;
759 } 759 }
760 760
761 buildUnnamed528() { 761 buildUnnamed668() {
762 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); 762 var o = new core.List<api.AccountsCustomBatchRequestEntry>();
763 o.add(buildAccountsCustomBatchRequestEntry()); 763 o.add(buildAccountsCustomBatchRequestEntry());
764 o.add(buildAccountsCustomBatchRequestEntry()); 764 o.add(buildAccountsCustomBatchRequestEntry());
765 return o; 765 return o;
766 } 766 }
767 767
768 checkUnnamed528(core.List<api.AccountsCustomBatchRequestEntry> o) { 768 checkUnnamed668(core.List<api.AccountsCustomBatchRequestEntry> o) {
769 unittest.expect(o, unittest.hasLength(2)); 769 unittest.expect(o, unittest.hasLength(2));
770 checkAccountsCustomBatchRequestEntry(o[0]); 770 checkAccountsCustomBatchRequestEntry(o[0]);
771 checkAccountsCustomBatchRequestEntry(o[1]); 771 checkAccountsCustomBatchRequestEntry(o[1]);
772 } 772 }
773 773
774 core.int buildCounterAccountsCustomBatchRequest = 0; 774 core.int buildCounterAccountsCustomBatchRequest = 0;
775 buildAccountsCustomBatchRequest() { 775 buildAccountsCustomBatchRequest() {
776 var o = new api.AccountsCustomBatchRequest(); 776 var o = new api.AccountsCustomBatchRequest();
777 buildCounterAccountsCustomBatchRequest++; 777 buildCounterAccountsCustomBatchRequest++;
778 if (buildCounterAccountsCustomBatchRequest < 3) { 778 if (buildCounterAccountsCustomBatchRequest < 3) {
779 o.entries = buildUnnamed528(); 779 o.entries = buildUnnamed668();
780 } 780 }
781 buildCounterAccountsCustomBatchRequest--; 781 buildCounterAccountsCustomBatchRequest--;
782 return o; 782 return o;
783 } 783 }
784 784
785 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { 785 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) {
786 buildCounterAccountsCustomBatchRequest++; 786 buildCounterAccountsCustomBatchRequest++;
787 if (buildCounterAccountsCustomBatchRequest < 3) { 787 if (buildCounterAccountsCustomBatchRequest < 3) {
788 checkUnnamed528(o.entries); 788 checkUnnamed668(o.entries);
789 } 789 }
790 buildCounterAccountsCustomBatchRequest--; 790 buildCounterAccountsCustomBatchRequest--;
791 } 791 }
792 792
793 core.int buildCounterAccountsCustomBatchRequestEntry = 0; 793 core.int buildCounterAccountsCustomBatchRequestEntry = 0;
794 buildAccountsCustomBatchRequestEntry() { 794 buildAccountsCustomBatchRequestEntry() {
795 var o = new api.AccountsCustomBatchRequestEntry(); 795 var o = new api.AccountsCustomBatchRequestEntry();
796 buildCounterAccountsCustomBatchRequestEntry++; 796 buildCounterAccountsCustomBatchRequestEntry++;
797 if (buildCounterAccountsCustomBatchRequestEntry < 3) { 797 if (buildCounterAccountsCustomBatchRequestEntry < 3) {
798 o.account = buildAccount(); 798 o.account = buildAccount();
(...skipping 11 matching lines...) Expand all
810 if (buildCounterAccountsCustomBatchRequestEntry < 3) { 810 if (buildCounterAccountsCustomBatchRequestEntry < 3) {
811 checkAccount(o.account); 811 checkAccount(o.account);
812 unittest.expect(o.accountId, unittest.equals('foo')); 812 unittest.expect(o.accountId, unittest.equals('foo'));
813 unittest.expect(o.batchId, unittest.equals(42)); 813 unittest.expect(o.batchId, unittest.equals(42));
814 unittest.expect(o.merchantId, unittest.equals('foo')); 814 unittest.expect(o.merchantId, unittest.equals('foo'));
815 unittest.expect(o.method, unittest.equals('foo')); 815 unittest.expect(o.method, unittest.equals('foo'));
816 } 816 }
817 buildCounterAccountsCustomBatchRequestEntry--; 817 buildCounterAccountsCustomBatchRequestEntry--;
818 } 818 }
819 819
820 buildUnnamed529() { 820 buildUnnamed669() {
821 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); 821 var o = new core.List<api.AccountsCustomBatchResponseEntry>();
822 o.add(buildAccountsCustomBatchResponseEntry()); 822 o.add(buildAccountsCustomBatchResponseEntry());
823 o.add(buildAccountsCustomBatchResponseEntry()); 823 o.add(buildAccountsCustomBatchResponseEntry());
824 return o; 824 return o;
825 } 825 }
826 826
827 checkUnnamed529(core.List<api.AccountsCustomBatchResponseEntry> o) { 827 checkUnnamed669(core.List<api.AccountsCustomBatchResponseEntry> o) {
828 unittest.expect(o, unittest.hasLength(2)); 828 unittest.expect(o, unittest.hasLength(2));
829 checkAccountsCustomBatchResponseEntry(o[0]); 829 checkAccountsCustomBatchResponseEntry(o[0]);
830 checkAccountsCustomBatchResponseEntry(o[1]); 830 checkAccountsCustomBatchResponseEntry(o[1]);
831 } 831 }
832 832
833 core.int buildCounterAccountsCustomBatchResponse = 0; 833 core.int buildCounterAccountsCustomBatchResponse = 0;
834 buildAccountsCustomBatchResponse() { 834 buildAccountsCustomBatchResponse() {
835 var o = new api.AccountsCustomBatchResponse(); 835 var o = new api.AccountsCustomBatchResponse();
836 buildCounterAccountsCustomBatchResponse++; 836 buildCounterAccountsCustomBatchResponse++;
837 if (buildCounterAccountsCustomBatchResponse < 3) { 837 if (buildCounterAccountsCustomBatchResponse < 3) {
838 o.entries = buildUnnamed529(); 838 o.entries = buildUnnamed669();
839 o.kind = "foo"; 839 o.kind = "foo";
840 } 840 }
841 buildCounterAccountsCustomBatchResponse--; 841 buildCounterAccountsCustomBatchResponse--;
842 return o; 842 return o;
843 } 843 }
844 844
845 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { 845 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) {
846 buildCounterAccountsCustomBatchResponse++; 846 buildCounterAccountsCustomBatchResponse++;
847 if (buildCounterAccountsCustomBatchResponse < 3) { 847 if (buildCounterAccountsCustomBatchResponse < 3) {
848 checkUnnamed529(o.entries); 848 checkUnnamed669(o.entries);
849 unittest.expect(o.kind, unittest.equals('foo')); 849 unittest.expect(o.kind, unittest.equals('foo'));
850 } 850 }
851 buildCounterAccountsCustomBatchResponse--; 851 buildCounterAccountsCustomBatchResponse--;
852 } 852 }
853 853
854 core.int buildCounterAccountsCustomBatchResponseEntry = 0; 854 core.int buildCounterAccountsCustomBatchResponseEntry = 0;
855 buildAccountsCustomBatchResponseEntry() { 855 buildAccountsCustomBatchResponseEntry() {
856 var o = new api.AccountsCustomBatchResponseEntry(); 856 var o = new api.AccountsCustomBatchResponseEntry();
857 buildCounterAccountsCustomBatchResponseEntry++; 857 buildCounterAccountsCustomBatchResponseEntry++;
858 if (buildCounterAccountsCustomBatchResponseEntry < 3) { 858 if (buildCounterAccountsCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
869 buildCounterAccountsCustomBatchResponseEntry++; 869 buildCounterAccountsCustomBatchResponseEntry++;
870 if (buildCounterAccountsCustomBatchResponseEntry < 3) { 870 if (buildCounterAccountsCustomBatchResponseEntry < 3) {
871 checkAccount(o.account); 871 checkAccount(o.account);
872 unittest.expect(o.batchId, unittest.equals(42)); 872 unittest.expect(o.batchId, unittest.equals(42));
873 checkErrors(o.errors); 873 checkErrors(o.errors);
874 unittest.expect(o.kind, unittest.equals('foo')); 874 unittest.expect(o.kind, unittest.equals('foo'));
875 } 875 }
876 buildCounterAccountsCustomBatchResponseEntry--; 876 buildCounterAccountsCustomBatchResponseEntry--;
877 } 877 }
878 878
879 buildUnnamed530() { 879 buildUnnamed670() {
880 var o = new core.List<api.Account>(); 880 var o = new core.List<api.Account>();
881 o.add(buildAccount()); 881 o.add(buildAccount());
882 o.add(buildAccount()); 882 o.add(buildAccount());
883 return o; 883 return o;
884 } 884 }
885 885
886 checkUnnamed530(core.List<api.Account> o) { 886 checkUnnamed670(core.List<api.Account> o) {
887 unittest.expect(o, unittest.hasLength(2)); 887 unittest.expect(o, unittest.hasLength(2));
888 checkAccount(o[0]); 888 checkAccount(o[0]);
889 checkAccount(o[1]); 889 checkAccount(o[1]);
890 } 890 }
891 891
892 core.int buildCounterAccountsListResponse = 0; 892 core.int buildCounterAccountsListResponse = 0;
893 buildAccountsListResponse() { 893 buildAccountsListResponse() {
894 var o = new api.AccountsListResponse(); 894 var o = new api.AccountsListResponse();
895 buildCounterAccountsListResponse++; 895 buildCounterAccountsListResponse++;
896 if (buildCounterAccountsListResponse < 3) { 896 if (buildCounterAccountsListResponse < 3) {
897 o.kind = "foo"; 897 o.kind = "foo";
898 o.nextPageToken = "foo"; 898 o.nextPageToken = "foo";
899 o.resources = buildUnnamed530(); 899 o.resources = buildUnnamed670();
900 } 900 }
901 buildCounterAccountsListResponse--; 901 buildCounterAccountsListResponse--;
902 return o; 902 return o;
903 } 903 }
904 904
905 checkAccountsListResponse(api.AccountsListResponse o) { 905 checkAccountsListResponse(api.AccountsListResponse o) {
906 buildCounterAccountsListResponse++; 906 buildCounterAccountsListResponse++;
907 if (buildCounterAccountsListResponse < 3) { 907 if (buildCounterAccountsListResponse < 3) {
908 unittest.expect(o.kind, unittest.equals('foo')); 908 unittest.expect(o.kind, unittest.equals('foo'));
909 unittest.expect(o.nextPageToken, unittest.equals('foo')); 909 unittest.expect(o.nextPageToken, unittest.equals('foo'));
910 checkUnnamed530(o.resources); 910 checkUnnamed670(o.resources);
911 } 911 }
912 buildCounterAccountsListResponse--; 912 buildCounterAccountsListResponse--;
913 } 913 }
914 914
915 buildUnnamed531() { 915 buildUnnamed671() {
916 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); 916 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>();
917 o.add(buildAccountshippingCustomBatchRequestEntry()); 917 o.add(buildAccountshippingCustomBatchRequestEntry());
918 o.add(buildAccountshippingCustomBatchRequestEntry()); 918 o.add(buildAccountshippingCustomBatchRequestEntry());
919 return o; 919 return o;
920 } 920 }
921 921
922 checkUnnamed531(core.List<api.AccountshippingCustomBatchRequestEntry> o) { 922 checkUnnamed671(core.List<api.AccountshippingCustomBatchRequestEntry> o) {
923 unittest.expect(o, unittest.hasLength(2)); 923 unittest.expect(o, unittest.hasLength(2));
924 checkAccountshippingCustomBatchRequestEntry(o[0]); 924 checkAccountshippingCustomBatchRequestEntry(o[0]);
925 checkAccountshippingCustomBatchRequestEntry(o[1]); 925 checkAccountshippingCustomBatchRequestEntry(o[1]);
926 } 926 }
927 927
928 core.int buildCounterAccountshippingCustomBatchRequest = 0; 928 core.int buildCounterAccountshippingCustomBatchRequest = 0;
929 buildAccountshippingCustomBatchRequest() { 929 buildAccountshippingCustomBatchRequest() {
930 var o = new api.AccountshippingCustomBatchRequest(); 930 var o = new api.AccountshippingCustomBatchRequest();
931 buildCounterAccountshippingCustomBatchRequest++; 931 buildCounterAccountshippingCustomBatchRequest++;
932 if (buildCounterAccountshippingCustomBatchRequest < 3) { 932 if (buildCounterAccountshippingCustomBatchRequest < 3) {
933 o.entries = buildUnnamed531(); 933 o.entries = buildUnnamed671();
934 } 934 }
935 buildCounterAccountshippingCustomBatchRequest--; 935 buildCounterAccountshippingCustomBatchRequest--;
936 return o; 936 return o;
937 } 937 }
938 938
939 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o) { 939 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o) {
940 buildCounterAccountshippingCustomBatchRequest++; 940 buildCounterAccountshippingCustomBatchRequest++;
941 if (buildCounterAccountshippingCustomBatchRequest < 3) { 941 if (buildCounterAccountshippingCustomBatchRequest < 3) {
942 checkUnnamed531(o.entries); 942 checkUnnamed671(o.entries);
943 } 943 }
944 buildCounterAccountshippingCustomBatchRequest--; 944 buildCounterAccountshippingCustomBatchRequest--;
945 } 945 }
946 946
947 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; 947 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0;
948 buildAccountshippingCustomBatchRequestEntry() { 948 buildAccountshippingCustomBatchRequestEntry() {
949 var o = new api.AccountshippingCustomBatchRequestEntry(); 949 var o = new api.AccountshippingCustomBatchRequestEntry();
950 buildCounterAccountshippingCustomBatchRequestEntry++; 950 buildCounterAccountshippingCustomBatchRequestEntry++;
951 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { 951 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) {
952 o.accountId = "foo"; 952 o.accountId = "foo";
(...skipping 11 matching lines...) Expand all
964 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { 964 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) {
965 unittest.expect(o.accountId, unittest.equals('foo')); 965 unittest.expect(o.accountId, unittest.equals('foo'));
966 checkAccountShipping(o.accountShipping); 966 checkAccountShipping(o.accountShipping);
967 unittest.expect(o.batchId, unittest.equals(42)); 967 unittest.expect(o.batchId, unittest.equals(42));
968 unittest.expect(o.merchantId, unittest.equals('foo')); 968 unittest.expect(o.merchantId, unittest.equals('foo'));
969 unittest.expect(o.method, unittest.equals('foo')); 969 unittest.expect(o.method, unittest.equals('foo'));
970 } 970 }
971 buildCounterAccountshippingCustomBatchRequestEntry--; 971 buildCounterAccountshippingCustomBatchRequestEntry--;
972 } 972 }
973 973
974 buildUnnamed532() { 974 buildUnnamed672() {
975 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); 975 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>();
976 o.add(buildAccountshippingCustomBatchResponseEntry()); 976 o.add(buildAccountshippingCustomBatchResponseEntry());
977 o.add(buildAccountshippingCustomBatchResponseEntry()); 977 o.add(buildAccountshippingCustomBatchResponseEntry());
978 return o; 978 return o;
979 } 979 }
980 980
981 checkUnnamed532(core.List<api.AccountshippingCustomBatchResponseEntry> o) { 981 checkUnnamed672(core.List<api.AccountshippingCustomBatchResponseEntry> o) {
982 unittest.expect(o, unittest.hasLength(2)); 982 unittest.expect(o, unittest.hasLength(2));
983 checkAccountshippingCustomBatchResponseEntry(o[0]); 983 checkAccountshippingCustomBatchResponseEntry(o[0]);
984 checkAccountshippingCustomBatchResponseEntry(o[1]); 984 checkAccountshippingCustomBatchResponseEntry(o[1]);
985 } 985 }
986 986
987 core.int buildCounterAccountshippingCustomBatchResponse = 0; 987 core.int buildCounterAccountshippingCustomBatchResponse = 0;
988 buildAccountshippingCustomBatchResponse() { 988 buildAccountshippingCustomBatchResponse() {
989 var o = new api.AccountshippingCustomBatchResponse(); 989 var o = new api.AccountshippingCustomBatchResponse();
990 buildCounterAccountshippingCustomBatchResponse++; 990 buildCounterAccountshippingCustomBatchResponse++;
991 if (buildCounterAccountshippingCustomBatchResponse < 3) { 991 if (buildCounterAccountshippingCustomBatchResponse < 3) {
992 o.entries = buildUnnamed532(); 992 o.entries = buildUnnamed672();
993 o.kind = "foo"; 993 o.kind = "foo";
994 } 994 }
995 buildCounterAccountshippingCustomBatchResponse--; 995 buildCounterAccountshippingCustomBatchResponse--;
996 return o; 996 return o;
997 } 997 }
998 998
999 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o ) { 999 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o ) {
1000 buildCounterAccountshippingCustomBatchResponse++; 1000 buildCounterAccountshippingCustomBatchResponse++;
1001 if (buildCounterAccountshippingCustomBatchResponse < 3) { 1001 if (buildCounterAccountshippingCustomBatchResponse < 3) {
1002 checkUnnamed532(o.entries); 1002 checkUnnamed672(o.entries);
1003 unittest.expect(o.kind, unittest.equals('foo')); 1003 unittest.expect(o.kind, unittest.equals('foo'));
1004 } 1004 }
1005 buildCounterAccountshippingCustomBatchResponse--; 1005 buildCounterAccountshippingCustomBatchResponse--;
1006 } 1006 }
1007 1007
1008 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; 1008 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0;
1009 buildAccountshippingCustomBatchResponseEntry() { 1009 buildAccountshippingCustomBatchResponseEntry() {
1010 var o = new api.AccountshippingCustomBatchResponseEntry(); 1010 var o = new api.AccountshippingCustomBatchResponseEntry();
1011 buildCounterAccountshippingCustomBatchResponseEntry++; 1011 buildCounterAccountshippingCustomBatchResponseEntry++;
1012 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { 1012 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
1023 buildCounterAccountshippingCustomBatchResponseEntry++; 1023 buildCounterAccountshippingCustomBatchResponseEntry++;
1024 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { 1024 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) {
1025 checkAccountShipping(o.accountShipping); 1025 checkAccountShipping(o.accountShipping);
1026 unittest.expect(o.batchId, unittest.equals(42)); 1026 unittest.expect(o.batchId, unittest.equals(42));
1027 checkErrors(o.errors); 1027 checkErrors(o.errors);
1028 unittest.expect(o.kind, unittest.equals('foo')); 1028 unittest.expect(o.kind, unittest.equals('foo'));
1029 } 1029 }
1030 buildCounterAccountshippingCustomBatchResponseEntry--; 1030 buildCounterAccountshippingCustomBatchResponseEntry--;
1031 } 1031 }
1032 1032
1033 buildUnnamed533() { 1033 buildUnnamed673() {
1034 var o = new core.List<api.AccountShipping>(); 1034 var o = new core.List<api.AccountShipping>();
1035 o.add(buildAccountShipping()); 1035 o.add(buildAccountShipping());
1036 o.add(buildAccountShipping()); 1036 o.add(buildAccountShipping());
1037 return o; 1037 return o;
1038 } 1038 }
1039 1039
1040 checkUnnamed533(core.List<api.AccountShipping> o) { 1040 checkUnnamed673(core.List<api.AccountShipping> o) {
1041 unittest.expect(o, unittest.hasLength(2)); 1041 unittest.expect(o, unittest.hasLength(2));
1042 checkAccountShipping(o[0]); 1042 checkAccountShipping(o[0]);
1043 checkAccountShipping(o[1]); 1043 checkAccountShipping(o[1]);
1044 } 1044 }
1045 1045
1046 core.int buildCounterAccountshippingListResponse = 0; 1046 core.int buildCounterAccountshippingListResponse = 0;
1047 buildAccountshippingListResponse() { 1047 buildAccountshippingListResponse() {
1048 var o = new api.AccountshippingListResponse(); 1048 var o = new api.AccountshippingListResponse();
1049 buildCounterAccountshippingListResponse++; 1049 buildCounterAccountshippingListResponse++;
1050 if (buildCounterAccountshippingListResponse < 3) { 1050 if (buildCounterAccountshippingListResponse < 3) {
1051 o.kind = "foo"; 1051 o.kind = "foo";
1052 o.nextPageToken = "foo"; 1052 o.nextPageToken = "foo";
1053 o.resources = buildUnnamed533(); 1053 o.resources = buildUnnamed673();
1054 } 1054 }
1055 buildCounterAccountshippingListResponse--; 1055 buildCounterAccountshippingListResponse--;
1056 return o; 1056 return o;
1057 } 1057 }
1058 1058
1059 checkAccountshippingListResponse(api.AccountshippingListResponse o) { 1059 checkAccountshippingListResponse(api.AccountshippingListResponse o) {
1060 buildCounterAccountshippingListResponse++; 1060 buildCounterAccountshippingListResponse++;
1061 if (buildCounterAccountshippingListResponse < 3) { 1061 if (buildCounterAccountshippingListResponse < 3) {
1062 unittest.expect(o.kind, unittest.equals('foo')); 1062 unittest.expect(o.kind, unittest.equals('foo'));
1063 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1063 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1064 checkUnnamed533(o.resources); 1064 checkUnnamed673(o.resources);
1065 } 1065 }
1066 buildCounterAccountshippingListResponse--; 1066 buildCounterAccountshippingListResponse--;
1067 } 1067 }
1068 1068
1069 buildUnnamed534() { 1069 buildUnnamed674() {
1070 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); 1070 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>();
1071 o.add(buildAccountstatusesCustomBatchRequestEntry()); 1071 o.add(buildAccountstatusesCustomBatchRequestEntry());
1072 o.add(buildAccountstatusesCustomBatchRequestEntry()); 1072 o.add(buildAccountstatusesCustomBatchRequestEntry());
1073 return o; 1073 return o;
1074 } 1074 }
1075 1075
1076 checkUnnamed534(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { 1076 checkUnnamed674(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
1077 unittest.expect(o, unittest.hasLength(2)); 1077 unittest.expect(o, unittest.hasLength(2));
1078 checkAccountstatusesCustomBatchRequestEntry(o[0]); 1078 checkAccountstatusesCustomBatchRequestEntry(o[0]);
1079 checkAccountstatusesCustomBatchRequestEntry(o[1]); 1079 checkAccountstatusesCustomBatchRequestEntry(o[1]);
1080 } 1080 }
1081 1081
1082 core.int buildCounterAccountstatusesCustomBatchRequest = 0; 1082 core.int buildCounterAccountstatusesCustomBatchRequest = 0;
1083 buildAccountstatusesCustomBatchRequest() { 1083 buildAccountstatusesCustomBatchRequest() {
1084 var o = new api.AccountstatusesCustomBatchRequest(); 1084 var o = new api.AccountstatusesCustomBatchRequest();
1085 buildCounterAccountstatusesCustomBatchRequest++; 1085 buildCounterAccountstatusesCustomBatchRequest++;
1086 if (buildCounterAccountstatusesCustomBatchRequest < 3) { 1086 if (buildCounterAccountstatusesCustomBatchRequest < 3) {
1087 o.entries = buildUnnamed534(); 1087 o.entries = buildUnnamed674();
1088 } 1088 }
1089 buildCounterAccountstatusesCustomBatchRequest--; 1089 buildCounterAccountstatusesCustomBatchRequest--;
1090 return o; 1090 return o;
1091 } 1091 }
1092 1092
1093 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) { 1093 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) {
1094 buildCounterAccountstatusesCustomBatchRequest++; 1094 buildCounterAccountstatusesCustomBatchRequest++;
1095 if (buildCounterAccountstatusesCustomBatchRequest < 3) { 1095 if (buildCounterAccountstatusesCustomBatchRequest < 3) {
1096 checkUnnamed534(o.entries); 1096 checkUnnamed674(o.entries);
1097 } 1097 }
1098 buildCounterAccountstatusesCustomBatchRequest--; 1098 buildCounterAccountstatusesCustomBatchRequest--;
1099 } 1099 }
1100 1100
1101 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; 1101 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0;
1102 buildAccountstatusesCustomBatchRequestEntry() { 1102 buildAccountstatusesCustomBatchRequestEntry() {
1103 var o = new api.AccountstatusesCustomBatchRequestEntry(); 1103 var o = new api.AccountstatusesCustomBatchRequestEntry();
1104 buildCounterAccountstatusesCustomBatchRequestEntry++; 1104 buildCounterAccountstatusesCustomBatchRequestEntry++;
1105 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { 1105 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) {
1106 o.accountId = "foo"; 1106 o.accountId = "foo";
1107 o.batchId = 42; 1107 o.batchId = 42;
1108 o.merchantId = "foo"; 1108 o.merchantId = "foo";
1109 o.method = "foo"; 1109 o.method = "foo";
1110 } 1110 }
1111 buildCounterAccountstatusesCustomBatchRequestEntry--; 1111 buildCounterAccountstatusesCustomBatchRequestEntry--;
1112 return o; 1112 return o;
1113 } 1113 }
1114 1114
1115 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques tEntry o) { 1115 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques tEntry o) {
1116 buildCounterAccountstatusesCustomBatchRequestEntry++; 1116 buildCounterAccountstatusesCustomBatchRequestEntry++;
1117 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { 1117 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) {
1118 unittest.expect(o.accountId, unittest.equals('foo')); 1118 unittest.expect(o.accountId, unittest.equals('foo'));
1119 unittest.expect(o.batchId, unittest.equals(42)); 1119 unittest.expect(o.batchId, unittest.equals(42));
1120 unittest.expect(o.merchantId, unittest.equals('foo')); 1120 unittest.expect(o.merchantId, unittest.equals('foo'));
1121 unittest.expect(o.method, unittest.equals('foo')); 1121 unittest.expect(o.method, unittest.equals('foo'));
1122 } 1122 }
1123 buildCounterAccountstatusesCustomBatchRequestEntry--; 1123 buildCounterAccountstatusesCustomBatchRequestEntry--;
1124 } 1124 }
1125 1125
1126 buildUnnamed535() { 1126 buildUnnamed675() {
1127 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); 1127 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>();
1128 o.add(buildAccountstatusesCustomBatchResponseEntry()); 1128 o.add(buildAccountstatusesCustomBatchResponseEntry());
1129 o.add(buildAccountstatusesCustomBatchResponseEntry()); 1129 o.add(buildAccountstatusesCustomBatchResponseEntry());
1130 return o; 1130 return o;
1131 } 1131 }
1132 1132
1133 checkUnnamed535(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { 1133 checkUnnamed675(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
1134 unittest.expect(o, unittest.hasLength(2)); 1134 unittest.expect(o, unittest.hasLength(2));
1135 checkAccountstatusesCustomBatchResponseEntry(o[0]); 1135 checkAccountstatusesCustomBatchResponseEntry(o[0]);
1136 checkAccountstatusesCustomBatchResponseEntry(o[1]); 1136 checkAccountstatusesCustomBatchResponseEntry(o[1]);
1137 } 1137 }
1138 1138
1139 core.int buildCounterAccountstatusesCustomBatchResponse = 0; 1139 core.int buildCounterAccountstatusesCustomBatchResponse = 0;
1140 buildAccountstatusesCustomBatchResponse() { 1140 buildAccountstatusesCustomBatchResponse() {
1141 var o = new api.AccountstatusesCustomBatchResponse(); 1141 var o = new api.AccountstatusesCustomBatchResponse();
1142 buildCounterAccountstatusesCustomBatchResponse++; 1142 buildCounterAccountstatusesCustomBatchResponse++;
1143 if (buildCounterAccountstatusesCustomBatchResponse < 3) { 1143 if (buildCounterAccountstatusesCustomBatchResponse < 3) {
1144 o.entries = buildUnnamed535(); 1144 o.entries = buildUnnamed675();
1145 o.kind = "foo"; 1145 o.kind = "foo";
1146 } 1146 }
1147 buildCounterAccountstatusesCustomBatchResponse--; 1147 buildCounterAccountstatusesCustomBatchResponse--;
1148 return o; 1148 return o;
1149 } 1149 }
1150 1150
1151 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o ) { 1151 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o ) {
1152 buildCounterAccountstatusesCustomBatchResponse++; 1152 buildCounterAccountstatusesCustomBatchResponse++;
1153 if (buildCounterAccountstatusesCustomBatchResponse < 3) { 1153 if (buildCounterAccountstatusesCustomBatchResponse < 3) {
1154 checkUnnamed535(o.entries); 1154 checkUnnamed675(o.entries);
1155 unittest.expect(o.kind, unittest.equals('foo')); 1155 unittest.expect(o.kind, unittest.equals('foo'));
1156 } 1156 }
1157 buildCounterAccountstatusesCustomBatchResponse--; 1157 buildCounterAccountstatusesCustomBatchResponse--;
1158 } 1158 }
1159 1159
1160 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; 1160 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0;
1161 buildAccountstatusesCustomBatchResponseEntry() { 1161 buildAccountstatusesCustomBatchResponseEntry() {
1162 var o = new api.AccountstatusesCustomBatchResponseEntry(); 1162 var o = new api.AccountstatusesCustomBatchResponseEntry();
1163 buildCounterAccountstatusesCustomBatchResponseEntry++; 1163 buildCounterAccountstatusesCustomBatchResponseEntry++;
1164 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { 1164 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) {
1165 o.accountStatus = buildAccountStatus(); 1165 o.accountStatus = buildAccountStatus();
1166 o.batchId = 42; 1166 o.batchId = 42;
1167 o.errors = buildErrors(); 1167 o.errors = buildErrors();
1168 } 1168 }
1169 buildCounterAccountstatusesCustomBatchResponseEntry--; 1169 buildCounterAccountstatusesCustomBatchResponseEntry--;
1170 return o; 1170 return o;
1171 } 1171 }
1172 1172
1173 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo nseEntry o) { 1173 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo nseEntry o) {
1174 buildCounterAccountstatusesCustomBatchResponseEntry++; 1174 buildCounterAccountstatusesCustomBatchResponseEntry++;
1175 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { 1175 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) {
1176 checkAccountStatus(o.accountStatus); 1176 checkAccountStatus(o.accountStatus);
1177 unittest.expect(o.batchId, unittest.equals(42)); 1177 unittest.expect(o.batchId, unittest.equals(42));
1178 checkErrors(o.errors); 1178 checkErrors(o.errors);
1179 } 1179 }
1180 buildCounterAccountstatusesCustomBatchResponseEntry--; 1180 buildCounterAccountstatusesCustomBatchResponseEntry--;
1181 } 1181 }
1182 1182
1183 buildUnnamed536() { 1183 buildUnnamed676() {
1184 var o = new core.List<api.AccountStatus>(); 1184 var o = new core.List<api.AccountStatus>();
1185 o.add(buildAccountStatus()); 1185 o.add(buildAccountStatus());
1186 o.add(buildAccountStatus()); 1186 o.add(buildAccountStatus());
1187 return o; 1187 return o;
1188 } 1188 }
1189 1189
1190 checkUnnamed536(core.List<api.AccountStatus> o) { 1190 checkUnnamed676(core.List<api.AccountStatus> o) {
1191 unittest.expect(o, unittest.hasLength(2)); 1191 unittest.expect(o, unittest.hasLength(2));
1192 checkAccountStatus(o[0]); 1192 checkAccountStatus(o[0]);
1193 checkAccountStatus(o[1]); 1193 checkAccountStatus(o[1]);
1194 } 1194 }
1195 1195
1196 core.int buildCounterAccountstatusesListResponse = 0; 1196 core.int buildCounterAccountstatusesListResponse = 0;
1197 buildAccountstatusesListResponse() { 1197 buildAccountstatusesListResponse() {
1198 var o = new api.AccountstatusesListResponse(); 1198 var o = new api.AccountstatusesListResponse();
1199 buildCounterAccountstatusesListResponse++; 1199 buildCounterAccountstatusesListResponse++;
1200 if (buildCounterAccountstatusesListResponse < 3) { 1200 if (buildCounterAccountstatusesListResponse < 3) {
1201 o.kind = "foo"; 1201 o.kind = "foo";
1202 o.nextPageToken = "foo"; 1202 o.nextPageToken = "foo";
1203 o.resources = buildUnnamed536(); 1203 o.resources = buildUnnamed676();
1204 } 1204 }
1205 buildCounterAccountstatusesListResponse--; 1205 buildCounterAccountstatusesListResponse--;
1206 return o; 1206 return o;
1207 } 1207 }
1208 1208
1209 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { 1209 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) {
1210 buildCounterAccountstatusesListResponse++; 1210 buildCounterAccountstatusesListResponse++;
1211 if (buildCounterAccountstatusesListResponse < 3) { 1211 if (buildCounterAccountstatusesListResponse < 3) {
1212 unittest.expect(o.kind, unittest.equals('foo')); 1212 unittest.expect(o.kind, unittest.equals('foo'));
1213 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1213 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1214 checkUnnamed536(o.resources); 1214 checkUnnamed676(o.resources);
1215 } 1215 }
1216 buildCounterAccountstatusesListResponse--; 1216 buildCounterAccountstatusesListResponse--;
1217 } 1217 }
1218 1218
1219 buildUnnamed537() { 1219 buildUnnamed677() {
1220 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); 1220 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>();
1221 o.add(buildAccounttaxCustomBatchRequestEntry()); 1221 o.add(buildAccounttaxCustomBatchRequestEntry());
1222 o.add(buildAccounttaxCustomBatchRequestEntry()); 1222 o.add(buildAccounttaxCustomBatchRequestEntry());
1223 return o; 1223 return o;
1224 } 1224 }
1225 1225
1226 checkUnnamed537(core.List<api.AccounttaxCustomBatchRequestEntry> o) { 1226 checkUnnamed677(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
1227 unittest.expect(o, unittest.hasLength(2)); 1227 unittest.expect(o, unittest.hasLength(2));
1228 checkAccounttaxCustomBatchRequestEntry(o[0]); 1228 checkAccounttaxCustomBatchRequestEntry(o[0]);
1229 checkAccounttaxCustomBatchRequestEntry(o[1]); 1229 checkAccounttaxCustomBatchRequestEntry(o[1]);
1230 } 1230 }
1231 1231
1232 core.int buildCounterAccounttaxCustomBatchRequest = 0; 1232 core.int buildCounterAccounttaxCustomBatchRequest = 0;
1233 buildAccounttaxCustomBatchRequest() { 1233 buildAccounttaxCustomBatchRequest() {
1234 var o = new api.AccounttaxCustomBatchRequest(); 1234 var o = new api.AccounttaxCustomBatchRequest();
1235 buildCounterAccounttaxCustomBatchRequest++; 1235 buildCounterAccounttaxCustomBatchRequest++;
1236 if (buildCounterAccounttaxCustomBatchRequest < 3) { 1236 if (buildCounterAccounttaxCustomBatchRequest < 3) {
1237 o.entries = buildUnnamed537(); 1237 o.entries = buildUnnamed677();
1238 } 1238 }
1239 buildCounterAccounttaxCustomBatchRequest--; 1239 buildCounterAccounttaxCustomBatchRequest--;
1240 return o; 1240 return o;
1241 } 1241 }
1242 1242
1243 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { 1243 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) {
1244 buildCounterAccounttaxCustomBatchRequest++; 1244 buildCounterAccounttaxCustomBatchRequest++;
1245 if (buildCounterAccounttaxCustomBatchRequest < 3) { 1245 if (buildCounterAccounttaxCustomBatchRequest < 3) {
1246 checkUnnamed537(o.entries); 1246 checkUnnamed677(o.entries);
1247 } 1247 }
1248 buildCounterAccounttaxCustomBatchRequest--; 1248 buildCounterAccounttaxCustomBatchRequest--;
1249 } 1249 }
1250 1250
1251 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; 1251 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0;
1252 buildAccounttaxCustomBatchRequestEntry() { 1252 buildAccounttaxCustomBatchRequestEntry() {
1253 var o = new api.AccounttaxCustomBatchRequestEntry(); 1253 var o = new api.AccounttaxCustomBatchRequestEntry();
1254 buildCounterAccounttaxCustomBatchRequestEntry++; 1254 buildCounterAccounttaxCustomBatchRequestEntry++;
1255 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { 1255 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) {
1256 o.accountId = "foo"; 1256 o.accountId = "foo";
(...skipping 11 matching lines...) Expand all
1268 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { 1268 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) {
1269 unittest.expect(o.accountId, unittest.equals('foo')); 1269 unittest.expect(o.accountId, unittest.equals('foo'));
1270 checkAccountTax(o.accountTax); 1270 checkAccountTax(o.accountTax);
1271 unittest.expect(o.batchId, unittest.equals(42)); 1271 unittest.expect(o.batchId, unittest.equals(42));
1272 unittest.expect(o.merchantId, unittest.equals('foo')); 1272 unittest.expect(o.merchantId, unittest.equals('foo'));
1273 unittest.expect(o.method, unittest.equals('foo')); 1273 unittest.expect(o.method, unittest.equals('foo'));
1274 } 1274 }
1275 buildCounterAccounttaxCustomBatchRequestEntry--; 1275 buildCounterAccounttaxCustomBatchRequestEntry--;
1276 } 1276 }
1277 1277
1278 buildUnnamed538() { 1278 buildUnnamed678() {
1279 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); 1279 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>();
1280 o.add(buildAccounttaxCustomBatchResponseEntry()); 1280 o.add(buildAccounttaxCustomBatchResponseEntry());
1281 o.add(buildAccounttaxCustomBatchResponseEntry()); 1281 o.add(buildAccounttaxCustomBatchResponseEntry());
1282 return o; 1282 return o;
1283 } 1283 }
1284 1284
1285 checkUnnamed538(core.List<api.AccounttaxCustomBatchResponseEntry> o) { 1285 checkUnnamed678(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
1286 unittest.expect(o, unittest.hasLength(2)); 1286 unittest.expect(o, unittest.hasLength(2));
1287 checkAccounttaxCustomBatchResponseEntry(o[0]); 1287 checkAccounttaxCustomBatchResponseEntry(o[0]);
1288 checkAccounttaxCustomBatchResponseEntry(o[1]); 1288 checkAccounttaxCustomBatchResponseEntry(o[1]);
1289 } 1289 }
1290 1290
1291 core.int buildCounterAccounttaxCustomBatchResponse = 0; 1291 core.int buildCounterAccounttaxCustomBatchResponse = 0;
1292 buildAccounttaxCustomBatchResponse() { 1292 buildAccounttaxCustomBatchResponse() {
1293 var o = new api.AccounttaxCustomBatchResponse(); 1293 var o = new api.AccounttaxCustomBatchResponse();
1294 buildCounterAccounttaxCustomBatchResponse++; 1294 buildCounterAccounttaxCustomBatchResponse++;
1295 if (buildCounterAccounttaxCustomBatchResponse < 3) { 1295 if (buildCounterAccounttaxCustomBatchResponse < 3) {
1296 o.entries = buildUnnamed538(); 1296 o.entries = buildUnnamed678();
1297 o.kind = "foo"; 1297 o.kind = "foo";
1298 } 1298 }
1299 buildCounterAccounttaxCustomBatchResponse--; 1299 buildCounterAccounttaxCustomBatchResponse--;
1300 return o; 1300 return o;
1301 } 1301 }
1302 1302
1303 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { 1303 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) {
1304 buildCounterAccounttaxCustomBatchResponse++; 1304 buildCounterAccounttaxCustomBatchResponse++;
1305 if (buildCounterAccounttaxCustomBatchResponse < 3) { 1305 if (buildCounterAccounttaxCustomBatchResponse < 3) {
1306 checkUnnamed538(o.entries); 1306 checkUnnamed678(o.entries);
1307 unittest.expect(o.kind, unittest.equals('foo')); 1307 unittest.expect(o.kind, unittest.equals('foo'));
1308 } 1308 }
1309 buildCounterAccounttaxCustomBatchResponse--; 1309 buildCounterAccounttaxCustomBatchResponse--;
1310 } 1310 }
1311 1311
1312 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; 1312 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0;
1313 buildAccounttaxCustomBatchResponseEntry() { 1313 buildAccounttaxCustomBatchResponseEntry() {
1314 var o = new api.AccounttaxCustomBatchResponseEntry(); 1314 var o = new api.AccounttaxCustomBatchResponseEntry();
1315 buildCounterAccounttaxCustomBatchResponseEntry++; 1315 buildCounterAccounttaxCustomBatchResponseEntry++;
1316 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { 1316 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
1327 buildCounterAccounttaxCustomBatchResponseEntry++; 1327 buildCounterAccounttaxCustomBatchResponseEntry++;
1328 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { 1328 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) {
1329 checkAccountTax(o.accountTax); 1329 checkAccountTax(o.accountTax);
1330 unittest.expect(o.batchId, unittest.equals(42)); 1330 unittest.expect(o.batchId, unittest.equals(42));
1331 checkErrors(o.errors); 1331 checkErrors(o.errors);
1332 unittest.expect(o.kind, unittest.equals('foo')); 1332 unittest.expect(o.kind, unittest.equals('foo'));
1333 } 1333 }
1334 buildCounterAccounttaxCustomBatchResponseEntry--; 1334 buildCounterAccounttaxCustomBatchResponseEntry--;
1335 } 1335 }
1336 1336
1337 buildUnnamed539() { 1337 buildUnnamed679() {
1338 var o = new core.List<api.AccountTax>(); 1338 var o = new core.List<api.AccountTax>();
1339 o.add(buildAccountTax()); 1339 o.add(buildAccountTax());
1340 o.add(buildAccountTax()); 1340 o.add(buildAccountTax());
1341 return o; 1341 return o;
1342 } 1342 }
1343 1343
1344 checkUnnamed539(core.List<api.AccountTax> o) { 1344 checkUnnamed679(core.List<api.AccountTax> o) {
1345 unittest.expect(o, unittest.hasLength(2)); 1345 unittest.expect(o, unittest.hasLength(2));
1346 checkAccountTax(o[0]); 1346 checkAccountTax(o[0]);
1347 checkAccountTax(o[1]); 1347 checkAccountTax(o[1]);
1348 } 1348 }
1349 1349
1350 core.int buildCounterAccounttaxListResponse = 0; 1350 core.int buildCounterAccounttaxListResponse = 0;
1351 buildAccounttaxListResponse() { 1351 buildAccounttaxListResponse() {
1352 var o = new api.AccounttaxListResponse(); 1352 var o = new api.AccounttaxListResponse();
1353 buildCounterAccounttaxListResponse++; 1353 buildCounterAccounttaxListResponse++;
1354 if (buildCounterAccounttaxListResponse < 3) { 1354 if (buildCounterAccounttaxListResponse < 3) {
1355 o.kind = "foo"; 1355 o.kind = "foo";
1356 o.nextPageToken = "foo"; 1356 o.nextPageToken = "foo";
1357 o.resources = buildUnnamed539(); 1357 o.resources = buildUnnamed679();
1358 } 1358 }
1359 buildCounterAccounttaxListResponse--; 1359 buildCounterAccounttaxListResponse--;
1360 return o; 1360 return o;
1361 } 1361 }
1362 1362
1363 checkAccounttaxListResponse(api.AccounttaxListResponse o) { 1363 checkAccounttaxListResponse(api.AccounttaxListResponse o) {
1364 buildCounterAccounttaxListResponse++; 1364 buildCounterAccounttaxListResponse++;
1365 if (buildCounterAccounttaxListResponse < 3) { 1365 if (buildCounterAccounttaxListResponse < 3) {
1366 unittest.expect(o.kind, unittest.equals('foo')); 1366 unittest.expect(o.kind, unittest.equals('foo'));
1367 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1367 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1368 checkUnnamed539(o.resources); 1368 checkUnnamed679(o.resources);
1369 } 1369 }
1370 buildCounterAccounttaxListResponse--; 1370 buildCounterAccounttaxListResponse--;
1371 } 1371 }
1372 1372
1373 buildUnnamed540() { 1373 buildUnnamed680() {
1374 var o = new core.List<core.String>(); 1374 var o = new core.List<core.String>();
1375 o.add("foo"); 1375 o.add("foo");
1376 o.add("foo"); 1376 o.add("foo");
1377 return o; 1377 return o;
1378 } 1378 }
1379 1379
1380 checkUnnamed540(core.List<core.String> o) { 1380 checkUnnamed680(core.List<core.String> o) {
1381 unittest.expect(o, unittest.hasLength(2)); 1381 unittest.expect(o, unittest.hasLength(2));
1382 unittest.expect(o[0], unittest.equals('foo')); 1382 unittest.expect(o[0], unittest.equals('foo'));
1383 unittest.expect(o[1], unittest.equals('foo')); 1383 unittest.expect(o[1], unittest.equals('foo'));
1384 } 1384 }
1385 1385
1386 core.int buildCounterDatafeed = 0; 1386 core.int buildCounterDatafeed = 0;
1387 buildDatafeed() { 1387 buildDatafeed() {
1388 var o = new api.Datafeed(); 1388 var o = new api.Datafeed();
1389 buildCounterDatafeed++; 1389 buildCounterDatafeed++;
1390 if (buildCounterDatafeed < 3) { 1390 if (buildCounterDatafeed < 3) {
1391 o.attributeLanguage = "foo"; 1391 o.attributeLanguage = "foo";
1392 o.contentLanguage = "foo"; 1392 o.contentLanguage = "foo";
1393 o.contentType = "foo"; 1393 o.contentType = "foo";
1394 o.fetchSchedule = buildDatafeedFetchSchedule(); 1394 o.fetchSchedule = buildDatafeedFetchSchedule();
1395 o.fileName = "foo"; 1395 o.fileName = "foo";
1396 o.format = buildDatafeedFormat(); 1396 o.format = buildDatafeedFormat();
1397 o.id = "foo"; 1397 o.id = "foo";
1398 o.intendedDestinations = buildUnnamed540(); 1398 o.intendedDestinations = buildUnnamed680();
1399 o.kind = "foo"; 1399 o.kind = "foo";
1400 o.name = "foo"; 1400 o.name = "foo";
1401 o.targetCountry = "foo"; 1401 o.targetCountry = "foo";
1402 } 1402 }
1403 buildCounterDatafeed--; 1403 buildCounterDatafeed--;
1404 return o; 1404 return o;
1405 } 1405 }
1406 1406
1407 checkDatafeed(api.Datafeed o) { 1407 checkDatafeed(api.Datafeed o) {
1408 buildCounterDatafeed++; 1408 buildCounterDatafeed++;
1409 if (buildCounterDatafeed < 3) { 1409 if (buildCounterDatafeed < 3) {
1410 unittest.expect(o.attributeLanguage, unittest.equals('foo')); 1410 unittest.expect(o.attributeLanguage, unittest.equals('foo'));
1411 unittest.expect(o.contentLanguage, unittest.equals('foo')); 1411 unittest.expect(o.contentLanguage, unittest.equals('foo'));
1412 unittest.expect(o.contentType, unittest.equals('foo')); 1412 unittest.expect(o.contentType, unittest.equals('foo'));
1413 checkDatafeedFetchSchedule(o.fetchSchedule); 1413 checkDatafeedFetchSchedule(o.fetchSchedule);
1414 unittest.expect(o.fileName, unittest.equals('foo')); 1414 unittest.expect(o.fileName, unittest.equals('foo'));
1415 checkDatafeedFormat(o.format); 1415 checkDatafeedFormat(o.format);
1416 unittest.expect(o.id, unittest.equals('foo')); 1416 unittest.expect(o.id, unittest.equals('foo'));
1417 checkUnnamed540(o.intendedDestinations); 1417 checkUnnamed680(o.intendedDestinations);
1418 unittest.expect(o.kind, unittest.equals('foo')); 1418 unittest.expect(o.kind, unittest.equals('foo'));
1419 unittest.expect(o.name, unittest.equals('foo')); 1419 unittest.expect(o.name, unittest.equals('foo'));
1420 unittest.expect(o.targetCountry, unittest.equals('foo')); 1420 unittest.expect(o.targetCountry, unittest.equals('foo'));
1421 } 1421 }
1422 buildCounterDatafeed--; 1422 buildCounterDatafeed--;
1423 } 1423 }
1424 1424
1425 core.int buildCounterDatafeedFetchSchedule = 0; 1425 core.int buildCounterDatafeedFetchSchedule = 0;
1426 buildDatafeedFetchSchedule() { 1426 buildDatafeedFetchSchedule() {
1427 var o = new api.DatafeedFetchSchedule(); 1427 var o = new api.DatafeedFetchSchedule();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 checkDatafeedFormat(api.DatafeedFormat o) { 1469 checkDatafeedFormat(api.DatafeedFormat o) {
1470 buildCounterDatafeedFormat++; 1470 buildCounterDatafeedFormat++;
1471 if (buildCounterDatafeedFormat < 3) { 1471 if (buildCounterDatafeedFormat < 3) {
1472 unittest.expect(o.columnDelimiter, unittest.equals('foo')); 1472 unittest.expect(o.columnDelimiter, unittest.equals('foo'));
1473 unittest.expect(o.fileEncoding, unittest.equals('foo')); 1473 unittest.expect(o.fileEncoding, unittest.equals('foo'));
1474 unittest.expect(o.quotingMode, unittest.equals('foo')); 1474 unittest.expect(o.quotingMode, unittest.equals('foo'));
1475 } 1475 }
1476 buildCounterDatafeedFormat--; 1476 buildCounterDatafeedFormat--;
1477 } 1477 }
1478 1478
1479 buildUnnamed541() { 1479 buildUnnamed681() {
1480 var o = new core.List<api.DatafeedStatusError>(); 1480 var o = new core.List<api.DatafeedStatusError>();
1481 o.add(buildDatafeedStatusError()); 1481 o.add(buildDatafeedStatusError());
1482 o.add(buildDatafeedStatusError()); 1482 o.add(buildDatafeedStatusError());
1483 return o; 1483 return o;
1484 } 1484 }
1485 1485
1486 checkUnnamed541(core.List<api.DatafeedStatusError> o) { 1486 checkUnnamed681(core.List<api.DatafeedStatusError> o) {
1487 unittest.expect(o, unittest.hasLength(2)); 1487 unittest.expect(o, unittest.hasLength(2));
1488 checkDatafeedStatusError(o[0]); 1488 checkDatafeedStatusError(o[0]);
1489 checkDatafeedStatusError(o[1]); 1489 checkDatafeedStatusError(o[1]);
1490 } 1490 }
1491 1491
1492 buildUnnamed542() { 1492 buildUnnamed682() {
1493 var o = new core.List<api.DatafeedStatusError>(); 1493 var o = new core.List<api.DatafeedStatusError>();
1494 o.add(buildDatafeedStatusError()); 1494 o.add(buildDatafeedStatusError());
1495 o.add(buildDatafeedStatusError()); 1495 o.add(buildDatafeedStatusError());
1496 return o; 1496 return o;
1497 } 1497 }
1498 1498
1499 checkUnnamed542(core.List<api.DatafeedStatusError> o) { 1499 checkUnnamed682(core.List<api.DatafeedStatusError> o) {
1500 unittest.expect(o, unittest.hasLength(2)); 1500 unittest.expect(o, unittest.hasLength(2));
1501 checkDatafeedStatusError(o[0]); 1501 checkDatafeedStatusError(o[0]);
1502 checkDatafeedStatusError(o[1]); 1502 checkDatafeedStatusError(o[1]);
1503 } 1503 }
1504 1504
1505 core.int buildCounterDatafeedStatus = 0; 1505 core.int buildCounterDatafeedStatus = 0;
1506 buildDatafeedStatus() { 1506 buildDatafeedStatus() {
1507 var o = new api.DatafeedStatus(); 1507 var o = new api.DatafeedStatus();
1508 buildCounterDatafeedStatus++; 1508 buildCounterDatafeedStatus++;
1509 if (buildCounterDatafeedStatus < 3) { 1509 if (buildCounterDatafeedStatus < 3) {
1510 o.datafeedId = "foo"; 1510 o.datafeedId = "foo";
1511 o.errors = buildUnnamed541(); 1511 o.errors = buildUnnamed681();
1512 o.itemsTotal = "foo"; 1512 o.itemsTotal = "foo";
1513 o.itemsValid = "foo"; 1513 o.itemsValid = "foo";
1514 o.kind = "foo"; 1514 o.kind = "foo";
1515 o.lastUploadDate = "foo"; 1515 o.lastUploadDate = "foo";
1516 o.processingStatus = "foo"; 1516 o.processingStatus = "foo";
1517 o.warnings = buildUnnamed542(); 1517 o.warnings = buildUnnamed682();
1518 } 1518 }
1519 buildCounterDatafeedStatus--; 1519 buildCounterDatafeedStatus--;
1520 return o; 1520 return o;
1521 } 1521 }
1522 1522
1523 checkDatafeedStatus(api.DatafeedStatus o) { 1523 checkDatafeedStatus(api.DatafeedStatus o) {
1524 buildCounterDatafeedStatus++; 1524 buildCounterDatafeedStatus++;
1525 if (buildCounterDatafeedStatus < 3) { 1525 if (buildCounterDatafeedStatus < 3) {
1526 unittest.expect(o.datafeedId, unittest.equals('foo')); 1526 unittest.expect(o.datafeedId, unittest.equals('foo'));
1527 checkUnnamed541(o.errors); 1527 checkUnnamed681(o.errors);
1528 unittest.expect(o.itemsTotal, unittest.equals('foo')); 1528 unittest.expect(o.itemsTotal, unittest.equals('foo'));
1529 unittest.expect(o.itemsValid, unittest.equals('foo')); 1529 unittest.expect(o.itemsValid, unittest.equals('foo'));
1530 unittest.expect(o.kind, unittest.equals('foo')); 1530 unittest.expect(o.kind, unittest.equals('foo'));
1531 unittest.expect(o.lastUploadDate, unittest.equals('foo')); 1531 unittest.expect(o.lastUploadDate, unittest.equals('foo'));
1532 unittest.expect(o.processingStatus, unittest.equals('foo')); 1532 unittest.expect(o.processingStatus, unittest.equals('foo'));
1533 checkUnnamed542(o.warnings); 1533 checkUnnamed682(o.warnings);
1534 } 1534 }
1535 buildCounterDatafeedStatus--; 1535 buildCounterDatafeedStatus--;
1536 } 1536 }
1537 1537
1538 buildUnnamed543() { 1538 buildUnnamed683() {
1539 var o = new core.List<api.DatafeedStatusExample>(); 1539 var o = new core.List<api.DatafeedStatusExample>();
1540 o.add(buildDatafeedStatusExample()); 1540 o.add(buildDatafeedStatusExample());
1541 o.add(buildDatafeedStatusExample()); 1541 o.add(buildDatafeedStatusExample());
1542 return o; 1542 return o;
1543 } 1543 }
1544 1544
1545 checkUnnamed543(core.List<api.DatafeedStatusExample> o) { 1545 checkUnnamed683(core.List<api.DatafeedStatusExample> o) {
1546 unittest.expect(o, unittest.hasLength(2)); 1546 unittest.expect(o, unittest.hasLength(2));
1547 checkDatafeedStatusExample(o[0]); 1547 checkDatafeedStatusExample(o[0]);
1548 checkDatafeedStatusExample(o[1]); 1548 checkDatafeedStatusExample(o[1]);
1549 } 1549 }
1550 1550
1551 core.int buildCounterDatafeedStatusError = 0; 1551 core.int buildCounterDatafeedStatusError = 0;
1552 buildDatafeedStatusError() { 1552 buildDatafeedStatusError() {
1553 var o = new api.DatafeedStatusError(); 1553 var o = new api.DatafeedStatusError();
1554 buildCounterDatafeedStatusError++; 1554 buildCounterDatafeedStatusError++;
1555 if (buildCounterDatafeedStatusError < 3) { 1555 if (buildCounterDatafeedStatusError < 3) {
1556 o.code = "foo"; 1556 o.code = "foo";
1557 o.count = "foo"; 1557 o.count = "foo";
1558 o.examples = buildUnnamed543(); 1558 o.examples = buildUnnamed683();
1559 o.message = "foo"; 1559 o.message = "foo";
1560 } 1560 }
1561 buildCounterDatafeedStatusError--; 1561 buildCounterDatafeedStatusError--;
1562 return o; 1562 return o;
1563 } 1563 }
1564 1564
1565 checkDatafeedStatusError(api.DatafeedStatusError o) { 1565 checkDatafeedStatusError(api.DatafeedStatusError o) {
1566 buildCounterDatafeedStatusError++; 1566 buildCounterDatafeedStatusError++;
1567 if (buildCounterDatafeedStatusError < 3) { 1567 if (buildCounterDatafeedStatusError < 3) {
1568 unittest.expect(o.code, unittest.equals('foo')); 1568 unittest.expect(o.code, unittest.equals('foo'));
1569 unittest.expect(o.count, unittest.equals('foo')); 1569 unittest.expect(o.count, unittest.equals('foo'));
1570 checkUnnamed543(o.examples); 1570 checkUnnamed683(o.examples);
1571 unittest.expect(o.message, unittest.equals('foo')); 1571 unittest.expect(o.message, unittest.equals('foo'));
1572 } 1572 }
1573 buildCounterDatafeedStatusError--; 1573 buildCounterDatafeedStatusError--;
1574 } 1574 }
1575 1575
1576 core.int buildCounterDatafeedStatusExample = 0; 1576 core.int buildCounterDatafeedStatusExample = 0;
1577 buildDatafeedStatusExample() { 1577 buildDatafeedStatusExample() {
1578 var o = new api.DatafeedStatusExample(); 1578 var o = new api.DatafeedStatusExample();
1579 buildCounterDatafeedStatusExample++; 1579 buildCounterDatafeedStatusExample++;
1580 if (buildCounterDatafeedStatusExample < 3) { 1580 if (buildCounterDatafeedStatusExample < 3) {
1581 o.itemId = "foo"; 1581 o.itemId = "foo";
1582 o.lineNumber = "foo"; 1582 o.lineNumber = "foo";
1583 o.value = "foo"; 1583 o.value = "foo";
1584 } 1584 }
1585 buildCounterDatafeedStatusExample--; 1585 buildCounterDatafeedStatusExample--;
1586 return o; 1586 return o;
1587 } 1587 }
1588 1588
1589 checkDatafeedStatusExample(api.DatafeedStatusExample o) { 1589 checkDatafeedStatusExample(api.DatafeedStatusExample o) {
1590 buildCounterDatafeedStatusExample++; 1590 buildCounterDatafeedStatusExample++;
1591 if (buildCounterDatafeedStatusExample < 3) { 1591 if (buildCounterDatafeedStatusExample < 3) {
1592 unittest.expect(o.itemId, unittest.equals('foo')); 1592 unittest.expect(o.itemId, unittest.equals('foo'));
1593 unittest.expect(o.lineNumber, unittest.equals('foo')); 1593 unittest.expect(o.lineNumber, unittest.equals('foo'));
1594 unittest.expect(o.value, unittest.equals('foo')); 1594 unittest.expect(o.value, unittest.equals('foo'));
1595 } 1595 }
1596 buildCounterDatafeedStatusExample--; 1596 buildCounterDatafeedStatusExample--;
1597 } 1597 }
1598 1598
1599 buildUnnamed544() { 1599 buildUnnamed684() {
1600 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); 1600 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>();
1601 o.add(buildDatafeedsCustomBatchRequestEntry()); 1601 o.add(buildDatafeedsCustomBatchRequestEntry());
1602 o.add(buildDatafeedsCustomBatchRequestEntry()); 1602 o.add(buildDatafeedsCustomBatchRequestEntry());
1603 return o; 1603 return o;
1604 } 1604 }
1605 1605
1606 checkUnnamed544(core.List<api.DatafeedsCustomBatchRequestEntry> o) { 1606 checkUnnamed684(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
1607 unittest.expect(o, unittest.hasLength(2)); 1607 unittest.expect(o, unittest.hasLength(2));
1608 checkDatafeedsCustomBatchRequestEntry(o[0]); 1608 checkDatafeedsCustomBatchRequestEntry(o[0]);
1609 checkDatafeedsCustomBatchRequestEntry(o[1]); 1609 checkDatafeedsCustomBatchRequestEntry(o[1]);
1610 } 1610 }
1611 1611
1612 core.int buildCounterDatafeedsCustomBatchRequest = 0; 1612 core.int buildCounterDatafeedsCustomBatchRequest = 0;
1613 buildDatafeedsCustomBatchRequest() { 1613 buildDatafeedsCustomBatchRequest() {
1614 var o = new api.DatafeedsCustomBatchRequest(); 1614 var o = new api.DatafeedsCustomBatchRequest();
1615 buildCounterDatafeedsCustomBatchRequest++; 1615 buildCounterDatafeedsCustomBatchRequest++;
1616 if (buildCounterDatafeedsCustomBatchRequest < 3) { 1616 if (buildCounterDatafeedsCustomBatchRequest < 3) {
1617 o.entries = buildUnnamed544(); 1617 o.entries = buildUnnamed684();
1618 } 1618 }
1619 buildCounterDatafeedsCustomBatchRequest--; 1619 buildCounterDatafeedsCustomBatchRequest--;
1620 return o; 1620 return o;
1621 } 1621 }
1622 1622
1623 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { 1623 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) {
1624 buildCounterDatafeedsCustomBatchRequest++; 1624 buildCounterDatafeedsCustomBatchRequest++;
1625 if (buildCounterDatafeedsCustomBatchRequest < 3) { 1625 if (buildCounterDatafeedsCustomBatchRequest < 3) {
1626 checkUnnamed544(o.entries); 1626 checkUnnamed684(o.entries);
1627 } 1627 }
1628 buildCounterDatafeedsCustomBatchRequest--; 1628 buildCounterDatafeedsCustomBatchRequest--;
1629 } 1629 }
1630 1630
1631 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; 1631 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0;
1632 buildDatafeedsCustomBatchRequestEntry() { 1632 buildDatafeedsCustomBatchRequestEntry() {
1633 var o = new api.DatafeedsCustomBatchRequestEntry(); 1633 var o = new api.DatafeedsCustomBatchRequestEntry();
1634 buildCounterDatafeedsCustomBatchRequestEntry++; 1634 buildCounterDatafeedsCustomBatchRequestEntry++;
1635 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { 1635 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) {
1636 o.batchId = 42; 1636 o.batchId = 42;
(...skipping 11 matching lines...) Expand all
1648 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { 1648 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) {
1649 unittest.expect(o.batchId, unittest.equals(42)); 1649 unittest.expect(o.batchId, unittest.equals(42));
1650 checkDatafeed(o.datafeed); 1650 checkDatafeed(o.datafeed);
1651 unittest.expect(o.datafeedId, unittest.equals('foo')); 1651 unittest.expect(o.datafeedId, unittest.equals('foo'));
1652 unittest.expect(o.merchantId, unittest.equals('foo')); 1652 unittest.expect(o.merchantId, unittest.equals('foo'));
1653 unittest.expect(o.method, unittest.equals('foo')); 1653 unittest.expect(o.method, unittest.equals('foo'));
1654 } 1654 }
1655 buildCounterDatafeedsCustomBatchRequestEntry--; 1655 buildCounterDatafeedsCustomBatchRequestEntry--;
1656 } 1656 }
1657 1657
1658 buildUnnamed545() { 1658 buildUnnamed685() {
1659 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); 1659 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>();
1660 o.add(buildDatafeedsCustomBatchResponseEntry()); 1660 o.add(buildDatafeedsCustomBatchResponseEntry());
1661 o.add(buildDatafeedsCustomBatchResponseEntry()); 1661 o.add(buildDatafeedsCustomBatchResponseEntry());
1662 return o; 1662 return o;
1663 } 1663 }
1664 1664
1665 checkUnnamed545(core.List<api.DatafeedsCustomBatchResponseEntry> o) { 1665 checkUnnamed685(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
1666 unittest.expect(o, unittest.hasLength(2)); 1666 unittest.expect(o, unittest.hasLength(2));
1667 checkDatafeedsCustomBatchResponseEntry(o[0]); 1667 checkDatafeedsCustomBatchResponseEntry(o[0]);
1668 checkDatafeedsCustomBatchResponseEntry(o[1]); 1668 checkDatafeedsCustomBatchResponseEntry(o[1]);
1669 } 1669 }
1670 1670
1671 core.int buildCounterDatafeedsCustomBatchResponse = 0; 1671 core.int buildCounterDatafeedsCustomBatchResponse = 0;
1672 buildDatafeedsCustomBatchResponse() { 1672 buildDatafeedsCustomBatchResponse() {
1673 var o = new api.DatafeedsCustomBatchResponse(); 1673 var o = new api.DatafeedsCustomBatchResponse();
1674 buildCounterDatafeedsCustomBatchResponse++; 1674 buildCounterDatafeedsCustomBatchResponse++;
1675 if (buildCounterDatafeedsCustomBatchResponse < 3) { 1675 if (buildCounterDatafeedsCustomBatchResponse < 3) {
1676 o.entries = buildUnnamed545(); 1676 o.entries = buildUnnamed685();
1677 o.kind = "foo"; 1677 o.kind = "foo";
1678 } 1678 }
1679 buildCounterDatafeedsCustomBatchResponse--; 1679 buildCounterDatafeedsCustomBatchResponse--;
1680 return o; 1680 return o;
1681 } 1681 }
1682 1682
1683 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { 1683 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) {
1684 buildCounterDatafeedsCustomBatchResponse++; 1684 buildCounterDatafeedsCustomBatchResponse++;
1685 if (buildCounterDatafeedsCustomBatchResponse < 3) { 1685 if (buildCounterDatafeedsCustomBatchResponse < 3) {
1686 checkUnnamed545(o.entries); 1686 checkUnnamed685(o.entries);
1687 unittest.expect(o.kind, unittest.equals('foo')); 1687 unittest.expect(o.kind, unittest.equals('foo'));
1688 } 1688 }
1689 buildCounterDatafeedsCustomBatchResponse--; 1689 buildCounterDatafeedsCustomBatchResponse--;
1690 } 1690 }
1691 1691
1692 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; 1692 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0;
1693 buildDatafeedsCustomBatchResponseEntry() { 1693 buildDatafeedsCustomBatchResponseEntry() {
1694 var o = new api.DatafeedsCustomBatchResponseEntry(); 1694 var o = new api.DatafeedsCustomBatchResponseEntry();
1695 buildCounterDatafeedsCustomBatchResponseEntry++; 1695 buildCounterDatafeedsCustomBatchResponseEntry++;
1696 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { 1696 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) {
1697 o.batchId = 42; 1697 o.batchId = 42;
1698 o.datafeed = buildDatafeed(); 1698 o.datafeed = buildDatafeed();
1699 o.errors = buildErrors(); 1699 o.errors = buildErrors();
1700 } 1700 }
1701 buildCounterDatafeedsCustomBatchResponseEntry--; 1701 buildCounterDatafeedsCustomBatchResponseEntry--;
1702 return o; 1702 return o;
1703 } 1703 }
1704 1704
1705 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o) { 1705 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o) {
1706 buildCounterDatafeedsCustomBatchResponseEntry++; 1706 buildCounterDatafeedsCustomBatchResponseEntry++;
1707 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { 1707 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) {
1708 unittest.expect(o.batchId, unittest.equals(42)); 1708 unittest.expect(o.batchId, unittest.equals(42));
1709 checkDatafeed(o.datafeed); 1709 checkDatafeed(o.datafeed);
1710 checkErrors(o.errors); 1710 checkErrors(o.errors);
1711 } 1711 }
1712 buildCounterDatafeedsCustomBatchResponseEntry--; 1712 buildCounterDatafeedsCustomBatchResponseEntry--;
1713 } 1713 }
1714 1714
1715 buildUnnamed546() { 1715 buildUnnamed686() {
1716 var o = new core.List<api.Datafeed>(); 1716 var o = new core.List<api.Datafeed>();
1717 o.add(buildDatafeed()); 1717 o.add(buildDatafeed());
1718 o.add(buildDatafeed()); 1718 o.add(buildDatafeed());
1719 return o; 1719 return o;
1720 } 1720 }
1721 1721
1722 checkUnnamed546(core.List<api.Datafeed> o) { 1722 checkUnnamed686(core.List<api.Datafeed> o) {
1723 unittest.expect(o, unittest.hasLength(2)); 1723 unittest.expect(o, unittest.hasLength(2));
1724 checkDatafeed(o[0]); 1724 checkDatafeed(o[0]);
1725 checkDatafeed(o[1]); 1725 checkDatafeed(o[1]);
1726 } 1726 }
1727 1727
1728 core.int buildCounterDatafeedsListResponse = 0; 1728 core.int buildCounterDatafeedsListResponse = 0;
1729 buildDatafeedsListResponse() { 1729 buildDatafeedsListResponse() {
1730 var o = new api.DatafeedsListResponse(); 1730 var o = new api.DatafeedsListResponse();
1731 buildCounterDatafeedsListResponse++; 1731 buildCounterDatafeedsListResponse++;
1732 if (buildCounterDatafeedsListResponse < 3) { 1732 if (buildCounterDatafeedsListResponse < 3) {
1733 o.kind = "foo"; 1733 o.kind = "foo";
1734 o.nextPageToken = "foo"; 1734 o.nextPageToken = "foo";
1735 o.resources = buildUnnamed546(); 1735 o.resources = buildUnnamed686();
1736 } 1736 }
1737 buildCounterDatafeedsListResponse--; 1737 buildCounterDatafeedsListResponse--;
1738 return o; 1738 return o;
1739 } 1739 }
1740 1740
1741 checkDatafeedsListResponse(api.DatafeedsListResponse o) { 1741 checkDatafeedsListResponse(api.DatafeedsListResponse o) {
1742 buildCounterDatafeedsListResponse++; 1742 buildCounterDatafeedsListResponse++;
1743 if (buildCounterDatafeedsListResponse < 3) { 1743 if (buildCounterDatafeedsListResponse < 3) {
1744 unittest.expect(o.kind, unittest.equals('foo')); 1744 unittest.expect(o.kind, unittest.equals('foo'));
1745 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1745 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1746 checkUnnamed546(o.resources); 1746 checkUnnamed686(o.resources);
1747 } 1747 }
1748 buildCounterDatafeedsListResponse--; 1748 buildCounterDatafeedsListResponse--;
1749 } 1749 }
1750 1750
1751 buildUnnamed547() { 1751 buildUnnamed687() {
1752 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); 1752 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
1753 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); 1753 o.add(buildDatafeedstatusesCustomBatchRequestEntry());
1754 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); 1754 o.add(buildDatafeedstatusesCustomBatchRequestEntry());
1755 return o; 1755 return o;
1756 } 1756 }
1757 1757
1758 checkUnnamed547(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { 1758 checkUnnamed687(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
1759 unittest.expect(o, unittest.hasLength(2)); 1759 unittest.expect(o, unittest.hasLength(2));
1760 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); 1760 checkDatafeedstatusesCustomBatchRequestEntry(o[0]);
1761 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); 1761 checkDatafeedstatusesCustomBatchRequestEntry(o[1]);
1762 } 1762 }
1763 1763
1764 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; 1764 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0;
1765 buildDatafeedstatusesCustomBatchRequest() { 1765 buildDatafeedstatusesCustomBatchRequest() {
1766 var o = new api.DatafeedstatusesCustomBatchRequest(); 1766 var o = new api.DatafeedstatusesCustomBatchRequest();
1767 buildCounterDatafeedstatusesCustomBatchRequest++; 1767 buildCounterDatafeedstatusesCustomBatchRequest++;
1768 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { 1768 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
1769 o.entries = buildUnnamed547(); 1769 o.entries = buildUnnamed687();
1770 } 1770 }
1771 buildCounterDatafeedstatusesCustomBatchRequest--; 1771 buildCounterDatafeedstatusesCustomBatchRequest--;
1772 return o; 1772 return o;
1773 } 1773 }
1774 1774
1775 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o ) { 1775 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o ) {
1776 buildCounterDatafeedstatusesCustomBatchRequest++; 1776 buildCounterDatafeedstatusesCustomBatchRequest++;
1777 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { 1777 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
1778 checkUnnamed547(o.entries); 1778 checkUnnamed687(o.entries);
1779 } 1779 }
1780 buildCounterDatafeedstatusesCustomBatchRequest--; 1780 buildCounterDatafeedstatusesCustomBatchRequest--;
1781 } 1781 }
1782 1782
1783 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; 1783 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0;
1784 buildDatafeedstatusesCustomBatchRequestEntry() { 1784 buildDatafeedstatusesCustomBatchRequestEntry() {
1785 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); 1785 var o = new api.DatafeedstatusesCustomBatchRequestEntry();
1786 buildCounterDatafeedstatusesCustomBatchRequestEntry++; 1786 buildCounterDatafeedstatusesCustomBatchRequestEntry++;
1787 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { 1787 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) {
1788 o.batchId = 42; 1788 o.batchId = 42;
1789 o.datafeedId = "foo"; 1789 o.datafeedId = "foo";
1790 o.merchantId = "foo"; 1790 o.merchantId = "foo";
1791 o.method = "foo"; 1791 o.method = "foo";
1792 } 1792 }
1793 buildCounterDatafeedstatusesCustomBatchRequestEntry--; 1793 buildCounterDatafeedstatusesCustomBatchRequestEntry--;
1794 return o; 1794 return o;
1795 } 1795 }
1796 1796
1797 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ estEntry o) { 1797 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ estEntry o) {
1798 buildCounterDatafeedstatusesCustomBatchRequestEntry++; 1798 buildCounterDatafeedstatusesCustomBatchRequestEntry++;
1799 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { 1799 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) {
1800 unittest.expect(o.batchId, unittest.equals(42)); 1800 unittest.expect(o.batchId, unittest.equals(42));
1801 unittest.expect(o.datafeedId, unittest.equals('foo')); 1801 unittest.expect(o.datafeedId, unittest.equals('foo'));
1802 unittest.expect(o.merchantId, unittest.equals('foo')); 1802 unittest.expect(o.merchantId, unittest.equals('foo'));
1803 unittest.expect(o.method, unittest.equals('foo')); 1803 unittest.expect(o.method, unittest.equals('foo'));
1804 } 1804 }
1805 buildCounterDatafeedstatusesCustomBatchRequestEntry--; 1805 buildCounterDatafeedstatusesCustomBatchRequestEntry--;
1806 } 1806 }
1807 1807
1808 buildUnnamed548() { 1808 buildUnnamed688() {
1809 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); 1809 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
1810 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); 1810 o.add(buildDatafeedstatusesCustomBatchResponseEntry());
1811 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); 1811 o.add(buildDatafeedstatusesCustomBatchResponseEntry());
1812 return o; 1812 return o;
1813 } 1813 }
1814 1814
1815 checkUnnamed548(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { 1815 checkUnnamed688(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
1816 unittest.expect(o, unittest.hasLength(2)); 1816 unittest.expect(o, unittest.hasLength(2));
1817 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); 1817 checkDatafeedstatusesCustomBatchResponseEntry(o[0]);
1818 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); 1818 checkDatafeedstatusesCustomBatchResponseEntry(o[1]);
1819 } 1819 }
1820 1820
1821 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; 1821 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0;
1822 buildDatafeedstatusesCustomBatchResponse() { 1822 buildDatafeedstatusesCustomBatchResponse() {
1823 var o = new api.DatafeedstatusesCustomBatchResponse(); 1823 var o = new api.DatafeedstatusesCustomBatchResponse();
1824 buildCounterDatafeedstatusesCustomBatchResponse++; 1824 buildCounterDatafeedstatusesCustomBatchResponse++;
1825 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { 1825 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
1826 o.entries = buildUnnamed548(); 1826 o.entries = buildUnnamed688();
1827 o.kind = "foo"; 1827 o.kind = "foo";
1828 } 1828 }
1829 buildCounterDatafeedstatusesCustomBatchResponse--; 1829 buildCounterDatafeedstatusesCustomBatchResponse--;
1830 return o; 1830 return o;
1831 } 1831 }
1832 1832
1833 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) { 1833 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) {
1834 buildCounterDatafeedstatusesCustomBatchResponse++; 1834 buildCounterDatafeedstatusesCustomBatchResponse++;
1835 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { 1835 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
1836 checkUnnamed548(o.entries); 1836 checkUnnamed688(o.entries);
1837 unittest.expect(o.kind, unittest.equals('foo')); 1837 unittest.expect(o.kind, unittest.equals('foo'));
1838 } 1838 }
1839 buildCounterDatafeedstatusesCustomBatchResponse--; 1839 buildCounterDatafeedstatusesCustomBatchResponse--;
1840 } 1840 }
1841 1841
1842 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; 1842 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0;
1843 buildDatafeedstatusesCustomBatchResponseEntry() { 1843 buildDatafeedstatusesCustomBatchResponseEntry() {
1844 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); 1844 var o = new api.DatafeedstatusesCustomBatchResponseEntry();
1845 buildCounterDatafeedstatusesCustomBatchResponseEntry++; 1845 buildCounterDatafeedstatusesCustomBatchResponseEntry++;
1846 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { 1846 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) {
1847 o.batchId = 42; 1847 o.batchId = 42;
1848 o.datafeedStatus = buildDatafeedStatus(); 1848 o.datafeedStatus = buildDatafeedStatus();
1849 o.errors = buildErrors(); 1849 o.errors = buildErrors();
1850 } 1850 }
1851 buildCounterDatafeedstatusesCustomBatchResponseEntry--; 1851 buildCounterDatafeedstatusesCustomBatchResponseEntry--;
1852 return o; 1852 return o;
1853 } 1853 }
1854 1854
1855 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes ponseEntry o) { 1855 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes ponseEntry o) {
1856 buildCounterDatafeedstatusesCustomBatchResponseEntry++; 1856 buildCounterDatafeedstatusesCustomBatchResponseEntry++;
1857 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { 1857 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) {
1858 unittest.expect(o.batchId, unittest.equals(42)); 1858 unittest.expect(o.batchId, unittest.equals(42));
1859 checkDatafeedStatus(o.datafeedStatus); 1859 checkDatafeedStatus(o.datafeedStatus);
1860 checkErrors(o.errors); 1860 checkErrors(o.errors);
1861 } 1861 }
1862 buildCounterDatafeedstatusesCustomBatchResponseEntry--; 1862 buildCounterDatafeedstatusesCustomBatchResponseEntry--;
1863 } 1863 }
1864 1864
1865 buildUnnamed549() { 1865 buildUnnamed689() {
1866 var o = new core.List<api.DatafeedStatus>(); 1866 var o = new core.List<api.DatafeedStatus>();
1867 o.add(buildDatafeedStatus()); 1867 o.add(buildDatafeedStatus());
1868 o.add(buildDatafeedStatus()); 1868 o.add(buildDatafeedStatus());
1869 return o; 1869 return o;
1870 } 1870 }
1871 1871
1872 checkUnnamed549(core.List<api.DatafeedStatus> o) { 1872 checkUnnamed689(core.List<api.DatafeedStatus> o) {
1873 unittest.expect(o, unittest.hasLength(2)); 1873 unittest.expect(o, unittest.hasLength(2));
1874 checkDatafeedStatus(o[0]); 1874 checkDatafeedStatus(o[0]);
1875 checkDatafeedStatus(o[1]); 1875 checkDatafeedStatus(o[1]);
1876 } 1876 }
1877 1877
1878 core.int buildCounterDatafeedstatusesListResponse = 0; 1878 core.int buildCounterDatafeedstatusesListResponse = 0;
1879 buildDatafeedstatusesListResponse() { 1879 buildDatafeedstatusesListResponse() {
1880 var o = new api.DatafeedstatusesListResponse(); 1880 var o = new api.DatafeedstatusesListResponse();
1881 buildCounterDatafeedstatusesListResponse++; 1881 buildCounterDatafeedstatusesListResponse++;
1882 if (buildCounterDatafeedstatusesListResponse < 3) { 1882 if (buildCounterDatafeedstatusesListResponse < 3) {
1883 o.kind = "foo"; 1883 o.kind = "foo";
1884 o.nextPageToken = "foo"; 1884 o.nextPageToken = "foo";
1885 o.resources = buildUnnamed549(); 1885 o.resources = buildUnnamed689();
1886 } 1886 }
1887 buildCounterDatafeedstatusesListResponse--; 1887 buildCounterDatafeedstatusesListResponse--;
1888 return o; 1888 return o;
1889 } 1889 }
1890 1890
1891 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { 1891 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) {
1892 buildCounterDatafeedstatusesListResponse++; 1892 buildCounterDatafeedstatusesListResponse++;
1893 if (buildCounterDatafeedstatusesListResponse < 3) { 1893 if (buildCounterDatafeedstatusesListResponse < 3) {
1894 unittest.expect(o.kind, unittest.equals('foo')); 1894 unittest.expect(o.kind, unittest.equals('foo'));
1895 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1895 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1896 checkUnnamed549(o.resources); 1896 checkUnnamed689(o.resources);
1897 } 1897 }
1898 buildCounterDatafeedstatusesListResponse--; 1898 buildCounterDatafeedstatusesListResponse--;
1899 } 1899 }
1900 1900
1901 core.int buildCounterError = 0; 1901 core.int buildCounterError = 0;
1902 buildError() { 1902 buildError() {
1903 var o = new api.Error(); 1903 var o = new api.Error();
1904 buildCounterError++; 1904 buildCounterError++;
1905 if (buildCounterError < 3) { 1905 if (buildCounterError < 3) {
1906 o.domain = "foo"; 1906 o.domain = "foo";
1907 o.message = "foo"; 1907 o.message = "foo";
1908 o.reason = "foo"; 1908 o.reason = "foo";
1909 } 1909 }
1910 buildCounterError--; 1910 buildCounterError--;
1911 return o; 1911 return o;
1912 } 1912 }
1913 1913
1914 checkError(api.Error o) { 1914 checkError(api.Error o) {
1915 buildCounterError++; 1915 buildCounterError++;
1916 if (buildCounterError < 3) { 1916 if (buildCounterError < 3) {
1917 unittest.expect(o.domain, unittest.equals('foo')); 1917 unittest.expect(o.domain, unittest.equals('foo'));
1918 unittest.expect(o.message, unittest.equals('foo')); 1918 unittest.expect(o.message, unittest.equals('foo'));
1919 unittest.expect(o.reason, unittest.equals('foo')); 1919 unittest.expect(o.reason, unittest.equals('foo'));
1920 } 1920 }
1921 buildCounterError--; 1921 buildCounterError--;
1922 } 1922 }
1923 1923
1924 buildUnnamed550() { 1924 buildUnnamed690() {
1925 var o = new core.List<api.Error>(); 1925 var o = new core.List<api.Error>();
1926 o.add(buildError()); 1926 o.add(buildError());
1927 o.add(buildError()); 1927 o.add(buildError());
1928 return o; 1928 return o;
1929 } 1929 }
1930 1930
1931 checkUnnamed550(core.List<api.Error> o) { 1931 checkUnnamed690(core.List<api.Error> o) {
1932 unittest.expect(o, unittest.hasLength(2)); 1932 unittest.expect(o, unittest.hasLength(2));
1933 checkError(o[0]); 1933 checkError(o[0]);
1934 checkError(o[1]); 1934 checkError(o[1]);
1935 } 1935 }
1936 1936
1937 core.int buildCounterErrors = 0; 1937 core.int buildCounterErrors = 0;
1938 buildErrors() { 1938 buildErrors() {
1939 var o = new api.Errors(); 1939 var o = new api.Errors();
1940 buildCounterErrors++; 1940 buildCounterErrors++;
1941 if (buildCounterErrors < 3) { 1941 if (buildCounterErrors < 3) {
1942 o.code = 42; 1942 o.code = 42;
1943 o.errors = buildUnnamed550(); 1943 o.errors = buildUnnamed690();
1944 o.message = "foo"; 1944 o.message = "foo";
1945 } 1945 }
1946 buildCounterErrors--; 1946 buildCounterErrors--;
1947 return o; 1947 return o;
1948 } 1948 }
1949 1949
1950 checkErrors(api.Errors o) { 1950 checkErrors(api.Errors o) {
1951 buildCounterErrors++; 1951 buildCounterErrors++;
1952 if (buildCounterErrors < 3) { 1952 if (buildCounterErrors < 3) {
1953 unittest.expect(o.code, unittest.equals(42)); 1953 unittest.expect(o.code, unittest.equals(42));
1954 checkUnnamed550(o.errors); 1954 checkUnnamed690(o.errors);
1955 unittest.expect(o.message, unittest.equals('foo')); 1955 unittest.expect(o.message, unittest.equals('foo'));
1956 } 1956 }
1957 buildCounterErrors--; 1957 buildCounterErrors--;
1958 } 1958 }
1959 1959
1960 core.int buildCounterInventory = 0; 1960 core.int buildCounterInventory = 0;
1961 buildInventory() { 1961 buildInventory() {
1962 var o = new api.Inventory(); 1962 var o = new api.Inventory();
1963 buildCounterInventory++; 1963 buildCounterInventory++;
1964 if (buildCounterInventory < 3) { 1964 if (buildCounterInventory < 3) {
1965 o.availability = "foo"; 1965 o.availability = "foo";
1966 o.kind = "foo"; 1966 o.kind = "foo";
1967 o.price = buildPrice(); 1967 o.price = buildPrice();
1968 o.quantity = 42; 1968 o.quantity = 42;
1969 o.salePrice = buildPrice(); 1969 o.salePrice = buildPrice();
1970 o.salePriceEffectiveDate = "foo"; 1970 o.salePriceEffectiveDate = "foo";
1971 o.sellOnGoogleQuantity = 42;
1971 } 1972 }
1972 buildCounterInventory--; 1973 buildCounterInventory--;
1973 return o; 1974 return o;
1974 } 1975 }
1975 1976
1976 checkInventory(api.Inventory o) { 1977 checkInventory(api.Inventory o) {
1977 buildCounterInventory++; 1978 buildCounterInventory++;
1978 if (buildCounterInventory < 3) { 1979 if (buildCounterInventory < 3) {
1979 unittest.expect(o.availability, unittest.equals('foo')); 1980 unittest.expect(o.availability, unittest.equals('foo'));
1980 unittest.expect(o.kind, unittest.equals('foo')); 1981 unittest.expect(o.kind, unittest.equals('foo'));
1981 checkPrice(o.price); 1982 checkPrice(o.price);
1982 unittest.expect(o.quantity, unittest.equals(42)); 1983 unittest.expect(o.quantity, unittest.equals(42));
1983 checkPrice(o.salePrice); 1984 checkPrice(o.salePrice);
1984 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); 1985 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
1986 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42));
1985 } 1987 }
1986 buildCounterInventory--; 1988 buildCounterInventory--;
1987 } 1989 }
1988 1990
1989 buildUnnamed551() { 1991 buildUnnamed691() {
1990 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); 1992 var o = new core.List<api.InventoryCustomBatchRequestEntry>();
1991 o.add(buildInventoryCustomBatchRequestEntry()); 1993 o.add(buildInventoryCustomBatchRequestEntry());
1992 o.add(buildInventoryCustomBatchRequestEntry()); 1994 o.add(buildInventoryCustomBatchRequestEntry());
1993 return o; 1995 return o;
1994 } 1996 }
1995 1997
1996 checkUnnamed551(core.List<api.InventoryCustomBatchRequestEntry> o) { 1998 checkUnnamed691(core.List<api.InventoryCustomBatchRequestEntry> o) {
1997 unittest.expect(o, unittest.hasLength(2)); 1999 unittest.expect(o, unittest.hasLength(2));
1998 checkInventoryCustomBatchRequestEntry(o[0]); 2000 checkInventoryCustomBatchRequestEntry(o[0]);
1999 checkInventoryCustomBatchRequestEntry(o[1]); 2001 checkInventoryCustomBatchRequestEntry(o[1]);
2000 } 2002 }
2001 2003
2002 core.int buildCounterInventoryCustomBatchRequest = 0; 2004 core.int buildCounterInventoryCustomBatchRequest = 0;
2003 buildInventoryCustomBatchRequest() { 2005 buildInventoryCustomBatchRequest() {
2004 var o = new api.InventoryCustomBatchRequest(); 2006 var o = new api.InventoryCustomBatchRequest();
2005 buildCounterInventoryCustomBatchRequest++; 2007 buildCounterInventoryCustomBatchRequest++;
2006 if (buildCounterInventoryCustomBatchRequest < 3) { 2008 if (buildCounterInventoryCustomBatchRequest < 3) {
2007 o.entries = buildUnnamed551(); 2009 o.entries = buildUnnamed691();
2008 } 2010 }
2009 buildCounterInventoryCustomBatchRequest--; 2011 buildCounterInventoryCustomBatchRequest--;
2010 return o; 2012 return o;
2011 } 2013 }
2012 2014
2013 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { 2015 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) {
2014 buildCounterInventoryCustomBatchRequest++; 2016 buildCounterInventoryCustomBatchRequest++;
2015 if (buildCounterInventoryCustomBatchRequest < 3) { 2017 if (buildCounterInventoryCustomBatchRequest < 3) {
2016 checkUnnamed551(o.entries); 2018 checkUnnamed691(o.entries);
2017 } 2019 }
2018 buildCounterInventoryCustomBatchRequest--; 2020 buildCounterInventoryCustomBatchRequest--;
2019 } 2021 }
2020 2022
2021 core.int buildCounterInventoryCustomBatchRequestEntry = 0; 2023 core.int buildCounterInventoryCustomBatchRequestEntry = 0;
2022 buildInventoryCustomBatchRequestEntry() { 2024 buildInventoryCustomBatchRequestEntry() {
2023 var o = new api.InventoryCustomBatchRequestEntry(); 2025 var o = new api.InventoryCustomBatchRequestEntry();
2024 buildCounterInventoryCustomBatchRequestEntry++; 2026 buildCounterInventoryCustomBatchRequestEntry++;
2025 if (buildCounterInventoryCustomBatchRequestEntry < 3) { 2027 if (buildCounterInventoryCustomBatchRequestEntry < 3) {
2026 o.batchId = 42; 2028 o.batchId = 42;
(...skipping 11 matching lines...) Expand all
2038 if (buildCounterInventoryCustomBatchRequestEntry < 3) { 2040 if (buildCounterInventoryCustomBatchRequestEntry < 3) {
2039 unittest.expect(o.batchId, unittest.equals(42)); 2041 unittest.expect(o.batchId, unittest.equals(42));
2040 checkInventory(o.inventory); 2042 checkInventory(o.inventory);
2041 unittest.expect(o.merchantId, unittest.equals('foo')); 2043 unittest.expect(o.merchantId, unittest.equals('foo'));
2042 unittest.expect(o.productId, unittest.equals('foo')); 2044 unittest.expect(o.productId, unittest.equals('foo'));
2043 unittest.expect(o.storeCode, unittest.equals('foo')); 2045 unittest.expect(o.storeCode, unittest.equals('foo'));
2044 } 2046 }
2045 buildCounterInventoryCustomBatchRequestEntry--; 2047 buildCounterInventoryCustomBatchRequestEntry--;
2046 } 2048 }
2047 2049
2048 buildUnnamed552() { 2050 buildUnnamed692() {
2049 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); 2051 var o = new core.List<api.InventoryCustomBatchResponseEntry>();
2050 o.add(buildInventoryCustomBatchResponseEntry()); 2052 o.add(buildInventoryCustomBatchResponseEntry());
2051 o.add(buildInventoryCustomBatchResponseEntry()); 2053 o.add(buildInventoryCustomBatchResponseEntry());
2052 return o; 2054 return o;
2053 } 2055 }
2054 2056
2055 checkUnnamed552(core.List<api.InventoryCustomBatchResponseEntry> o) { 2057 checkUnnamed692(core.List<api.InventoryCustomBatchResponseEntry> o) {
2056 unittest.expect(o, unittest.hasLength(2)); 2058 unittest.expect(o, unittest.hasLength(2));
2057 checkInventoryCustomBatchResponseEntry(o[0]); 2059 checkInventoryCustomBatchResponseEntry(o[0]);
2058 checkInventoryCustomBatchResponseEntry(o[1]); 2060 checkInventoryCustomBatchResponseEntry(o[1]);
2059 } 2061 }
2060 2062
2061 core.int buildCounterInventoryCustomBatchResponse = 0; 2063 core.int buildCounterInventoryCustomBatchResponse = 0;
2062 buildInventoryCustomBatchResponse() { 2064 buildInventoryCustomBatchResponse() {
2063 var o = new api.InventoryCustomBatchResponse(); 2065 var o = new api.InventoryCustomBatchResponse();
2064 buildCounterInventoryCustomBatchResponse++; 2066 buildCounterInventoryCustomBatchResponse++;
2065 if (buildCounterInventoryCustomBatchResponse < 3) { 2067 if (buildCounterInventoryCustomBatchResponse < 3) {
2066 o.entries = buildUnnamed552(); 2068 o.entries = buildUnnamed692();
2067 o.kind = "foo"; 2069 o.kind = "foo";
2068 } 2070 }
2069 buildCounterInventoryCustomBatchResponse--; 2071 buildCounterInventoryCustomBatchResponse--;
2070 return o; 2072 return o;
2071 } 2073 }
2072 2074
2073 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { 2075 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) {
2074 buildCounterInventoryCustomBatchResponse++; 2076 buildCounterInventoryCustomBatchResponse++;
2075 if (buildCounterInventoryCustomBatchResponse < 3) { 2077 if (buildCounterInventoryCustomBatchResponse < 3) {
2076 checkUnnamed552(o.entries); 2078 checkUnnamed692(o.entries);
2077 unittest.expect(o.kind, unittest.equals('foo')); 2079 unittest.expect(o.kind, unittest.equals('foo'));
2078 } 2080 }
2079 buildCounterInventoryCustomBatchResponse--; 2081 buildCounterInventoryCustomBatchResponse--;
2080 } 2082 }
2081 2083
2082 core.int buildCounterInventoryCustomBatchResponseEntry = 0; 2084 core.int buildCounterInventoryCustomBatchResponseEntry = 0;
2083 buildInventoryCustomBatchResponseEntry() { 2085 buildInventoryCustomBatchResponseEntry() {
2084 var o = new api.InventoryCustomBatchResponseEntry(); 2086 var o = new api.InventoryCustomBatchResponseEntry();
2085 buildCounterInventoryCustomBatchResponseEntry++; 2087 buildCounterInventoryCustomBatchResponseEntry++;
2086 if (buildCounterInventoryCustomBatchResponseEntry < 3) { 2088 if (buildCounterInventoryCustomBatchResponseEntry < 3) {
(...skipping 18 matching lines...) Expand all
2105 core.int buildCounterInventorySetRequest = 0; 2107 core.int buildCounterInventorySetRequest = 0;
2106 buildInventorySetRequest() { 2108 buildInventorySetRequest() {
2107 var o = new api.InventorySetRequest(); 2109 var o = new api.InventorySetRequest();
2108 buildCounterInventorySetRequest++; 2110 buildCounterInventorySetRequest++;
2109 if (buildCounterInventorySetRequest < 3) { 2111 if (buildCounterInventorySetRequest < 3) {
2110 o.availability = "foo"; 2112 o.availability = "foo";
2111 o.price = buildPrice(); 2113 o.price = buildPrice();
2112 o.quantity = 42; 2114 o.quantity = 42;
2113 o.salePrice = buildPrice(); 2115 o.salePrice = buildPrice();
2114 o.salePriceEffectiveDate = "foo"; 2116 o.salePriceEffectiveDate = "foo";
2117 o.sellOnGoogleQuantity = 42;
2115 } 2118 }
2116 buildCounterInventorySetRequest--; 2119 buildCounterInventorySetRequest--;
2117 return o; 2120 return o;
2118 } 2121 }
2119 2122
2120 checkInventorySetRequest(api.InventorySetRequest o) { 2123 checkInventorySetRequest(api.InventorySetRequest o) {
2121 buildCounterInventorySetRequest++; 2124 buildCounterInventorySetRequest++;
2122 if (buildCounterInventorySetRequest < 3) { 2125 if (buildCounterInventorySetRequest < 3) {
2123 unittest.expect(o.availability, unittest.equals('foo')); 2126 unittest.expect(o.availability, unittest.equals('foo'));
2124 checkPrice(o.price); 2127 checkPrice(o.price);
2125 unittest.expect(o.quantity, unittest.equals(42)); 2128 unittest.expect(o.quantity, unittest.equals(42));
2126 checkPrice(o.salePrice); 2129 checkPrice(o.salePrice);
2127 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); 2130 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
2131 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42));
2128 } 2132 }
2129 buildCounterInventorySetRequest--; 2133 buildCounterInventorySetRequest--;
2130 } 2134 }
2131 2135
2132 core.int buildCounterInventorySetResponse = 0; 2136 core.int buildCounterInventorySetResponse = 0;
2133 buildInventorySetResponse() { 2137 buildInventorySetResponse() {
2134 var o = new api.InventorySetResponse(); 2138 var o = new api.InventorySetResponse();
2135 buildCounterInventorySetResponse++; 2139 buildCounterInventorySetResponse++;
2136 if (buildCounterInventorySetResponse < 3) { 2140 if (buildCounterInventorySetResponse < 3) {
2137 o.kind = "foo"; 2141 o.kind = "foo";
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 2189
2186 checkPrice(api.Price o) { 2190 checkPrice(api.Price o) {
2187 buildCounterPrice++; 2191 buildCounterPrice++;
2188 if (buildCounterPrice < 3) { 2192 if (buildCounterPrice < 3) {
2189 unittest.expect(o.currency, unittest.equals('foo')); 2193 unittest.expect(o.currency, unittest.equals('foo'));
2190 unittest.expect(o.value, unittest.equals('foo')); 2194 unittest.expect(o.value, unittest.equals('foo'));
2191 } 2195 }
2192 buildCounterPrice--; 2196 buildCounterPrice--;
2193 } 2197 }
2194 2198
2195 buildUnnamed553() { 2199 buildUnnamed693() {
2196 var o = new core.List<core.String>(); 2200 var o = new core.List<core.String>();
2197 o.add("foo"); 2201 o.add("foo");
2198 o.add("foo"); 2202 o.add("foo");
2199 return o; 2203 return o;
2200 } 2204 }
2201 2205
2202 checkUnnamed553(core.List<core.String> o) { 2206 checkUnnamed693(core.List<core.String> o) {
2203 unittest.expect(o, unittest.hasLength(2)); 2207 unittest.expect(o, unittest.hasLength(2));
2204 unittest.expect(o[0], unittest.equals('foo')); 2208 unittest.expect(o[0], unittest.equals('foo'));
2205 unittest.expect(o[1], unittest.equals('foo')); 2209 unittest.expect(o[1], unittest.equals('foo'));
2206 } 2210 }
2207 2211
2208 buildUnnamed554() { 2212 buildUnnamed694() {
2209 var o = new core.List<core.String>(); 2213 var o = new core.List<core.String>();
2210 o.add("foo"); 2214 o.add("foo");
2211 o.add("foo"); 2215 o.add("foo");
2212 return o; 2216 return o;
2213 } 2217 }
2214 2218
2215 checkUnnamed554(core.List<core.String> o) { 2219 checkUnnamed694(core.List<core.String> o) {
2216 unittest.expect(o, unittest.hasLength(2)); 2220 unittest.expect(o, unittest.hasLength(2));
2217 unittest.expect(o[0], unittest.equals('foo')); 2221 unittest.expect(o[0], unittest.equals('foo'));
2218 unittest.expect(o[1], unittest.equals('foo')); 2222 unittest.expect(o[1], unittest.equals('foo'));
2219 } 2223 }
2220 2224
2221 buildUnnamed555() { 2225 buildUnnamed695() {
2222 var o = new core.List<api.ProductAspect>(); 2226 var o = new core.List<api.ProductAspect>();
2223 o.add(buildProductAspect()); 2227 o.add(buildProductAspect());
2224 o.add(buildProductAspect()); 2228 o.add(buildProductAspect());
2225 return o; 2229 return o;
2226 } 2230 }
2227 2231
2228 checkUnnamed555(core.List<api.ProductAspect> o) { 2232 checkUnnamed695(core.List<api.ProductAspect> o) {
2229 unittest.expect(o, unittest.hasLength(2)); 2233 unittest.expect(o, unittest.hasLength(2));
2230 checkProductAspect(o[0]); 2234 checkProductAspect(o[0]);
2231 checkProductAspect(o[1]); 2235 checkProductAspect(o[1]);
2232 } 2236 }
2233 2237
2234 buildUnnamed556() { 2238 buildUnnamed696() {
2235 var o = new core.List<api.ProductCustomAttribute>(); 2239 var o = new core.List<api.ProductCustomAttribute>();
2236 o.add(buildProductCustomAttribute()); 2240 o.add(buildProductCustomAttribute());
2237 o.add(buildProductCustomAttribute()); 2241 o.add(buildProductCustomAttribute());
2238 return o; 2242 return o;
2239 } 2243 }
2240 2244
2241 checkUnnamed556(core.List<api.ProductCustomAttribute> o) { 2245 checkUnnamed696(core.List<api.ProductCustomAttribute> o) {
2242 unittest.expect(o, unittest.hasLength(2)); 2246 unittest.expect(o, unittest.hasLength(2));
2243 checkProductCustomAttribute(o[0]); 2247 checkProductCustomAttribute(o[0]);
2244 checkProductCustomAttribute(o[1]); 2248 checkProductCustomAttribute(o[1]);
2245 } 2249 }
2246 2250
2247 buildUnnamed557() { 2251 buildUnnamed697() {
2248 var o = new core.List<api.ProductCustomGroup>(); 2252 var o = new core.List<api.ProductCustomGroup>();
2249 o.add(buildProductCustomGroup()); 2253 o.add(buildProductCustomGroup());
2250 o.add(buildProductCustomGroup()); 2254 o.add(buildProductCustomGroup());
2251 return o; 2255 return o;
2252 } 2256 }
2253 2257
2254 checkUnnamed557(core.List<api.ProductCustomGroup> o) { 2258 checkUnnamed697(core.List<api.ProductCustomGroup> o) {
2255 unittest.expect(o, unittest.hasLength(2)); 2259 unittest.expect(o, unittest.hasLength(2));
2256 checkProductCustomGroup(o[0]); 2260 checkProductCustomGroup(o[0]);
2257 checkProductCustomGroup(o[1]); 2261 checkProductCustomGroup(o[1]);
2258 } 2262 }
2259 2263
2260 buildUnnamed558() { 2264 buildUnnamed698() {
2261 var o = new core.List<api.ProductDestination>(); 2265 var o = new core.List<api.ProductDestination>();
2262 o.add(buildProductDestination()); 2266 o.add(buildProductDestination());
2263 o.add(buildProductDestination()); 2267 o.add(buildProductDestination());
2264 return o; 2268 return o;
2265 } 2269 }
2266 2270
2267 checkUnnamed558(core.List<api.ProductDestination> o) { 2271 checkUnnamed698(core.List<api.ProductDestination> o) {
2268 unittest.expect(o, unittest.hasLength(2)); 2272 unittest.expect(o, unittest.hasLength(2));
2269 checkProductDestination(o[0]); 2273 checkProductDestination(o[0]);
2270 checkProductDestination(o[1]); 2274 checkProductDestination(o[1]);
2271 } 2275 }
2272 2276
2273 buildUnnamed559() { 2277 buildUnnamed699() {
2274 var o = new core.List<core.String>(); 2278 var o = new core.List<core.String>();
2275 o.add("foo"); 2279 o.add("foo");
2276 o.add("foo"); 2280 o.add("foo");
2277 return o; 2281 return o;
2278 } 2282 }
2279 2283
2280 checkUnnamed559(core.List<core.String> o) { 2284 checkUnnamed699(core.List<core.String> o) {
2281 unittest.expect(o, unittest.hasLength(2)); 2285 unittest.expect(o, unittest.hasLength(2));
2282 unittest.expect(o[0], unittest.equals('foo')); 2286 unittest.expect(o[0], unittest.equals('foo'));
2283 unittest.expect(o[1], unittest.equals('foo')); 2287 unittest.expect(o[1], unittest.equals('foo'));
2284 } 2288 }
2285 2289
2286 buildUnnamed560() { 2290 buildUnnamed700() {
2287 var o = new core.List<api.ProductShipping>(); 2291 var o = new core.List<api.ProductShipping>();
2288 o.add(buildProductShipping()); 2292 o.add(buildProductShipping());
2289 o.add(buildProductShipping()); 2293 o.add(buildProductShipping());
2290 return o; 2294 return o;
2291 } 2295 }
2292 2296
2293 checkUnnamed560(core.List<api.ProductShipping> o) { 2297 checkUnnamed700(core.List<api.ProductShipping> o) {
2294 unittest.expect(o, unittest.hasLength(2)); 2298 unittest.expect(o, unittest.hasLength(2));
2295 checkProductShipping(o[0]); 2299 checkProductShipping(o[0]);
2296 checkProductShipping(o[1]); 2300 checkProductShipping(o[1]);
2297 } 2301 }
2298 2302
2299 buildUnnamed561() { 2303 buildUnnamed701() {
2300 var o = new core.List<core.String>(); 2304 var o = new core.List<core.String>();
2301 o.add("foo"); 2305 o.add("foo");
2302 o.add("foo"); 2306 o.add("foo");
2303 return o; 2307 return o;
2304 } 2308 }
2305 2309
2306 checkUnnamed561(core.List<core.String> o) { 2310 checkUnnamed701(core.List<core.String> o) {
2307 unittest.expect(o, unittest.hasLength(2)); 2311 unittest.expect(o, unittest.hasLength(2));
2308 unittest.expect(o[0], unittest.equals('foo')); 2312 unittest.expect(o[0], unittest.equals('foo'));
2309 unittest.expect(o[1], unittest.equals('foo')); 2313 unittest.expect(o[1], unittest.equals('foo'));
2310 } 2314 }
2311 2315
2312 buildUnnamed562() { 2316 buildUnnamed702() {
2313 var o = new core.List<api.ProductTax>(); 2317 var o = new core.List<api.ProductTax>();
2314 o.add(buildProductTax()); 2318 o.add(buildProductTax());
2315 o.add(buildProductTax()); 2319 o.add(buildProductTax());
2316 return o; 2320 return o;
2317 } 2321 }
2318 2322
2319 checkUnnamed562(core.List<api.ProductTax> o) { 2323 checkUnnamed702(core.List<api.ProductTax> o) {
2320 unittest.expect(o, unittest.hasLength(2)); 2324 unittest.expect(o, unittest.hasLength(2));
2321 checkProductTax(o[0]); 2325 checkProductTax(o[0]);
2322 checkProductTax(o[1]); 2326 checkProductTax(o[1]);
2323 } 2327 }
2324 2328
2325 buildUnnamed563() { 2329 buildUnnamed703() {
2326 var o = new core.List<core.String>(); 2330 var o = new core.List<core.String>();
2327 o.add("foo"); 2331 o.add("foo");
2328 o.add("foo"); 2332 o.add("foo");
2329 return o; 2333 return o;
2330 } 2334 }
2331 2335
2332 checkUnnamed563(core.List<core.String> o) { 2336 checkUnnamed703(core.List<core.String> o) {
2333 unittest.expect(o, unittest.hasLength(2)); 2337 unittest.expect(o, unittest.hasLength(2));
2334 unittest.expect(o[0], unittest.equals('foo')); 2338 unittest.expect(o[0], unittest.equals('foo'));
2335 unittest.expect(o[1], unittest.equals('foo')); 2339 unittest.expect(o[1], unittest.equals('foo'));
2336 } 2340 }
2337 2341
2338 buildUnnamed564() { 2342 buildUnnamed704() {
2339 var o = new core.List<api.Error>(); 2343 var o = new core.List<api.Error>();
2340 o.add(buildError()); 2344 o.add(buildError());
2341 o.add(buildError()); 2345 o.add(buildError());
2342 return o; 2346 return o;
2343 } 2347 }
2344 2348
2345 checkUnnamed564(core.List<api.Error> o) { 2349 checkUnnamed704(core.List<api.Error> o) {
2346 unittest.expect(o, unittest.hasLength(2)); 2350 unittest.expect(o, unittest.hasLength(2));
2347 checkError(o[0]); 2351 checkError(o[0]);
2348 checkError(o[1]); 2352 checkError(o[1]);
2349 } 2353 }
2350 2354
2351 core.int buildCounterProduct = 0; 2355 core.int buildCounterProduct = 0;
2352 buildProduct() { 2356 buildProduct() {
2353 var o = new api.Product(); 2357 var o = new api.Product();
2354 buildCounterProduct++; 2358 buildCounterProduct++;
2355 if (buildCounterProduct < 3) { 2359 if (buildCounterProduct < 3) {
2356 o.additionalImageLinks = buildUnnamed553(); 2360 o.additionalImageLinks = buildUnnamed693();
2357 o.adult = true; 2361 o.adult = true;
2358 o.adwordsGrouping = "foo"; 2362 o.adwordsGrouping = "foo";
2359 o.adwordsLabels = buildUnnamed554(); 2363 o.adwordsLabels = buildUnnamed694();
2360 o.adwordsRedirect = "foo"; 2364 o.adwordsRedirect = "foo";
2361 o.ageGroup = "foo"; 2365 o.ageGroup = "foo";
2362 o.aspects = buildUnnamed555(); 2366 o.aspects = buildUnnamed695();
2363 o.availability = "foo"; 2367 o.availability = "foo";
2364 o.availabilityDate = "foo"; 2368 o.availabilityDate = "foo";
2365 o.brand = "foo"; 2369 o.brand = "foo";
2366 o.channel = "foo"; 2370 o.channel = "foo";
2367 o.color = "foo"; 2371 o.color = "foo";
2368 o.condition = "foo"; 2372 o.condition = "foo";
2369 o.contentLanguage = "foo"; 2373 o.contentLanguage = "foo";
2370 o.customAttributes = buildUnnamed556(); 2374 o.customAttributes = buildUnnamed696();
2371 o.customGroups = buildUnnamed557(); 2375 o.customGroups = buildUnnamed697();
2372 o.customLabel0 = "foo"; 2376 o.customLabel0 = "foo";
2373 o.customLabel1 = "foo"; 2377 o.customLabel1 = "foo";
2374 o.customLabel2 = "foo"; 2378 o.customLabel2 = "foo";
2375 o.customLabel3 = "foo"; 2379 o.customLabel3 = "foo";
2376 o.customLabel4 = "foo"; 2380 o.customLabel4 = "foo";
2377 o.description = "foo"; 2381 o.description = "foo";
2378 o.destinations = buildUnnamed558(); 2382 o.destinations = buildUnnamed698();
2379 o.displayAdsId = "foo"; 2383 o.displayAdsId = "foo";
2380 o.displayAdsLink = "foo"; 2384 o.displayAdsLink = "foo";
2381 o.displayAdsSimilarIds = buildUnnamed559(); 2385 o.displayAdsSimilarIds = buildUnnamed699();
2382 o.displayAdsTitle = "foo"; 2386 o.displayAdsTitle = "foo";
2383 o.displayAdsValue = 42.0; 2387 o.displayAdsValue = 42.0;
2384 o.energyEfficiencyClass = "foo"; 2388 o.energyEfficiencyClass = "foo";
2385 o.expirationDate = "foo"; 2389 o.expirationDate = "foo";
2386 o.gender = "foo"; 2390 o.gender = "foo";
2387 o.googleProductCategory = "foo"; 2391 o.googleProductCategory = "foo";
2388 o.gtin = "foo"; 2392 o.gtin = "foo";
2389 o.id = "foo"; 2393 o.id = "foo";
2390 o.identifierExists = true; 2394 o.identifierExists = true;
2391 o.imageLink = "foo"; 2395 o.imageLink = "foo";
2392 o.installment = buildProductInstallment(); 2396 o.installment = buildProductInstallment();
2393 o.isBundle = true; 2397 o.isBundle = true;
2394 o.itemGroupId = "foo"; 2398 o.itemGroupId = "foo";
2395 o.kind = "foo"; 2399 o.kind = "foo";
2396 o.link = "foo"; 2400 o.link = "foo";
2397 o.loyaltyPoints = buildLoyaltyPoints(); 2401 o.loyaltyPoints = buildLoyaltyPoints();
2398 o.material = "foo"; 2402 o.material = "foo";
2399 o.mobileLink = "foo"; 2403 o.mobileLink = "foo";
2400 o.mpn = "foo"; 2404 o.mpn = "foo";
2401 o.multipack = "foo"; 2405 o.multipack = "foo";
2402 o.offerId = "foo"; 2406 o.offerId = "foo";
2403 o.onlineOnly = true; 2407 o.onlineOnly = true;
2404 o.pattern = "foo"; 2408 o.pattern = "foo";
2405 o.price = buildPrice(); 2409 o.price = buildPrice();
2406 o.productType = "foo"; 2410 o.productType = "foo";
2407 o.salePrice = buildPrice(); 2411 o.salePrice = buildPrice();
2408 o.salePriceEffectiveDate = "foo"; 2412 o.salePriceEffectiveDate = "foo";
2409 o.shipping = buildUnnamed560(); 2413 o.shipping = buildUnnamed700();
2410 o.shippingHeight = buildProductShippingDimension(); 2414 o.shippingHeight = buildProductShippingDimension();
2411 o.shippingLabel = "foo"; 2415 o.shippingLabel = "foo";
2412 o.shippingLength = buildProductShippingDimension(); 2416 o.shippingLength = buildProductShippingDimension();
2413 o.shippingWeight = buildProductShippingWeight(); 2417 o.shippingWeight = buildProductShippingWeight();
2414 o.shippingWidth = buildProductShippingDimension(); 2418 o.shippingWidth = buildProductShippingDimension();
2415 o.sizeSystem = "foo"; 2419 o.sizeSystem = "foo";
2416 o.sizeType = "foo"; 2420 o.sizeType = "foo";
2417 o.sizes = buildUnnamed561(); 2421 o.sizes = buildUnnamed701();
2418 o.targetCountry = "foo"; 2422 o.targetCountry = "foo";
2419 o.taxes = buildUnnamed562(); 2423 o.taxes = buildUnnamed702();
2420 o.title = "foo"; 2424 o.title = "foo";
2421 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); 2425 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
2422 o.unitPricingMeasure = buildProductUnitPricingMeasure(); 2426 o.unitPricingMeasure = buildProductUnitPricingMeasure();
2423 o.validatedDestinations = buildUnnamed563(); 2427 o.validatedDestinations = buildUnnamed703();
2424 o.warnings = buildUnnamed564(); 2428 o.warnings = buildUnnamed704();
2425 } 2429 }
2426 buildCounterProduct--; 2430 buildCounterProduct--;
2427 return o; 2431 return o;
2428 } 2432 }
2429 2433
2430 checkProduct(api.Product o) { 2434 checkProduct(api.Product o) {
2431 buildCounterProduct++; 2435 buildCounterProduct++;
2432 if (buildCounterProduct < 3) { 2436 if (buildCounterProduct < 3) {
2433 checkUnnamed553(o.additionalImageLinks); 2437 checkUnnamed693(o.additionalImageLinks);
2434 unittest.expect(o.adult, unittest.isTrue); 2438 unittest.expect(o.adult, unittest.isTrue);
2435 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); 2439 unittest.expect(o.adwordsGrouping, unittest.equals('foo'));
2436 checkUnnamed554(o.adwordsLabels); 2440 checkUnnamed694(o.adwordsLabels);
2437 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); 2441 unittest.expect(o.adwordsRedirect, unittest.equals('foo'));
2438 unittest.expect(o.ageGroup, unittest.equals('foo')); 2442 unittest.expect(o.ageGroup, unittest.equals('foo'));
2439 checkUnnamed555(o.aspects); 2443 checkUnnamed695(o.aspects);
2440 unittest.expect(o.availability, unittest.equals('foo')); 2444 unittest.expect(o.availability, unittest.equals('foo'));
2441 unittest.expect(o.availabilityDate, unittest.equals('foo')); 2445 unittest.expect(o.availabilityDate, unittest.equals('foo'));
2442 unittest.expect(o.brand, unittest.equals('foo')); 2446 unittest.expect(o.brand, unittest.equals('foo'));
2443 unittest.expect(o.channel, unittest.equals('foo')); 2447 unittest.expect(o.channel, unittest.equals('foo'));
2444 unittest.expect(o.color, unittest.equals('foo')); 2448 unittest.expect(o.color, unittest.equals('foo'));
2445 unittest.expect(o.condition, unittest.equals('foo')); 2449 unittest.expect(o.condition, unittest.equals('foo'));
2446 unittest.expect(o.contentLanguage, unittest.equals('foo')); 2450 unittest.expect(o.contentLanguage, unittest.equals('foo'));
2447 checkUnnamed556(o.customAttributes); 2451 checkUnnamed696(o.customAttributes);
2448 checkUnnamed557(o.customGroups); 2452 checkUnnamed697(o.customGroups);
2449 unittest.expect(o.customLabel0, unittest.equals('foo')); 2453 unittest.expect(o.customLabel0, unittest.equals('foo'));
2450 unittest.expect(o.customLabel1, unittest.equals('foo')); 2454 unittest.expect(o.customLabel1, unittest.equals('foo'));
2451 unittest.expect(o.customLabel2, unittest.equals('foo')); 2455 unittest.expect(o.customLabel2, unittest.equals('foo'));
2452 unittest.expect(o.customLabel3, unittest.equals('foo')); 2456 unittest.expect(o.customLabel3, unittest.equals('foo'));
2453 unittest.expect(o.customLabel4, unittest.equals('foo')); 2457 unittest.expect(o.customLabel4, unittest.equals('foo'));
2454 unittest.expect(o.description, unittest.equals('foo')); 2458 unittest.expect(o.description, unittest.equals('foo'));
2455 checkUnnamed558(o.destinations); 2459 checkUnnamed698(o.destinations);
2456 unittest.expect(o.displayAdsId, unittest.equals('foo')); 2460 unittest.expect(o.displayAdsId, unittest.equals('foo'));
2457 unittest.expect(o.displayAdsLink, unittest.equals('foo')); 2461 unittest.expect(o.displayAdsLink, unittest.equals('foo'));
2458 checkUnnamed559(o.displayAdsSimilarIds); 2462 checkUnnamed699(o.displayAdsSimilarIds);
2459 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); 2463 unittest.expect(o.displayAdsTitle, unittest.equals('foo'));
2460 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); 2464 unittest.expect(o.displayAdsValue, unittest.equals(42.0));
2461 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); 2465 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo'));
2462 unittest.expect(o.expirationDate, unittest.equals('foo')); 2466 unittest.expect(o.expirationDate, unittest.equals('foo'));
2463 unittest.expect(o.gender, unittest.equals('foo')); 2467 unittest.expect(o.gender, unittest.equals('foo'));
2464 unittest.expect(o.googleProductCategory, unittest.equals('foo')); 2468 unittest.expect(o.googleProductCategory, unittest.equals('foo'));
2465 unittest.expect(o.gtin, unittest.equals('foo')); 2469 unittest.expect(o.gtin, unittest.equals('foo'));
2466 unittest.expect(o.id, unittest.equals('foo')); 2470 unittest.expect(o.id, unittest.equals('foo'));
2467 unittest.expect(o.identifierExists, unittest.isTrue); 2471 unittest.expect(o.identifierExists, unittest.isTrue);
2468 unittest.expect(o.imageLink, unittest.equals('foo')); 2472 unittest.expect(o.imageLink, unittest.equals('foo'));
2469 checkProductInstallment(o.installment); 2473 checkProductInstallment(o.installment);
2470 unittest.expect(o.isBundle, unittest.isTrue); 2474 unittest.expect(o.isBundle, unittest.isTrue);
2471 unittest.expect(o.itemGroupId, unittest.equals('foo')); 2475 unittest.expect(o.itemGroupId, unittest.equals('foo'));
2472 unittest.expect(o.kind, unittest.equals('foo')); 2476 unittest.expect(o.kind, unittest.equals('foo'));
2473 unittest.expect(o.link, unittest.equals('foo')); 2477 unittest.expect(o.link, unittest.equals('foo'));
2474 checkLoyaltyPoints(o.loyaltyPoints); 2478 checkLoyaltyPoints(o.loyaltyPoints);
2475 unittest.expect(o.material, unittest.equals('foo')); 2479 unittest.expect(o.material, unittest.equals('foo'));
2476 unittest.expect(o.mobileLink, unittest.equals('foo')); 2480 unittest.expect(o.mobileLink, unittest.equals('foo'));
2477 unittest.expect(o.mpn, unittest.equals('foo')); 2481 unittest.expect(o.mpn, unittest.equals('foo'));
2478 unittest.expect(o.multipack, unittest.equals('foo')); 2482 unittest.expect(o.multipack, unittest.equals('foo'));
2479 unittest.expect(o.offerId, unittest.equals('foo')); 2483 unittest.expect(o.offerId, unittest.equals('foo'));
2480 unittest.expect(o.onlineOnly, unittest.isTrue); 2484 unittest.expect(o.onlineOnly, unittest.isTrue);
2481 unittest.expect(o.pattern, unittest.equals('foo')); 2485 unittest.expect(o.pattern, unittest.equals('foo'));
2482 checkPrice(o.price); 2486 checkPrice(o.price);
2483 unittest.expect(o.productType, unittest.equals('foo')); 2487 unittest.expect(o.productType, unittest.equals('foo'));
2484 checkPrice(o.salePrice); 2488 checkPrice(o.salePrice);
2485 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); 2489 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
2486 checkUnnamed560(o.shipping); 2490 checkUnnamed700(o.shipping);
2487 checkProductShippingDimension(o.shippingHeight); 2491 checkProductShippingDimension(o.shippingHeight);
2488 unittest.expect(o.shippingLabel, unittest.equals('foo')); 2492 unittest.expect(o.shippingLabel, unittest.equals('foo'));
2489 checkProductShippingDimension(o.shippingLength); 2493 checkProductShippingDimension(o.shippingLength);
2490 checkProductShippingWeight(o.shippingWeight); 2494 checkProductShippingWeight(o.shippingWeight);
2491 checkProductShippingDimension(o.shippingWidth); 2495 checkProductShippingDimension(o.shippingWidth);
2492 unittest.expect(o.sizeSystem, unittest.equals('foo')); 2496 unittest.expect(o.sizeSystem, unittest.equals('foo'));
2493 unittest.expect(o.sizeType, unittest.equals('foo')); 2497 unittest.expect(o.sizeType, unittest.equals('foo'));
2494 checkUnnamed561(o.sizes); 2498 checkUnnamed701(o.sizes);
2495 unittest.expect(o.targetCountry, unittest.equals('foo')); 2499 unittest.expect(o.targetCountry, unittest.equals('foo'));
2496 checkUnnamed562(o.taxes); 2500 checkUnnamed702(o.taxes);
2497 unittest.expect(o.title, unittest.equals('foo')); 2501 unittest.expect(o.title, unittest.equals('foo'));
2498 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); 2502 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
2499 checkProductUnitPricingMeasure(o.unitPricingMeasure); 2503 checkProductUnitPricingMeasure(o.unitPricingMeasure);
2500 checkUnnamed563(o.validatedDestinations); 2504 checkUnnamed703(o.validatedDestinations);
2501 checkUnnamed564(o.warnings); 2505 checkUnnamed704(o.warnings);
2502 } 2506 }
2503 buildCounterProduct--; 2507 buildCounterProduct--;
2504 } 2508 }
2505 2509
2506 core.int buildCounterProductAspect = 0; 2510 core.int buildCounterProductAspect = 0;
2507 buildProductAspect() { 2511 buildProductAspect() {
2508 var o = new api.ProductAspect(); 2512 var o = new api.ProductAspect();
2509 buildCounterProductAspect++; 2513 buildCounterProductAspect++;
2510 if (buildCounterProductAspect < 3) { 2514 if (buildCounterProductAspect < 3) {
2511 o.aspectName = "foo"; 2515 o.aspectName = "foo";
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2544 buildCounterProductCustomAttribute++; 2548 buildCounterProductCustomAttribute++;
2545 if (buildCounterProductCustomAttribute < 3) { 2549 if (buildCounterProductCustomAttribute < 3) {
2546 unittest.expect(o.name, unittest.equals('foo')); 2550 unittest.expect(o.name, unittest.equals('foo'));
2547 unittest.expect(o.type, unittest.equals('foo')); 2551 unittest.expect(o.type, unittest.equals('foo'));
2548 unittest.expect(o.unit, unittest.equals('foo')); 2552 unittest.expect(o.unit, unittest.equals('foo'));
2549 unittest.expect(o.value, unittest.equals('foo')); 2553 unittest.expect(o.value, unittest.equals('foo'));
2550 } 2554 }
2551 buildCounterProductCustomAttribute--; 2555 buildCounterProductCustomAttribute--;
2552 } 2556 }
2553 2557
2554 buildUnnamed565() { 2558 buildUnnamed705() {
2555 var o = new core.List<api.ProductCustomAttribute>(); 2559 var o = new core.List<api.ProductCustomAttribute>();
2556 o.add(buildProductCustomAttribute()); 2560 o.add(buildProductCustomAttribute());
2557 o.add(buildProductCustomAttribute()); 2561 o.add(buildProductCustomAttribute());
2558 return o; 2562 return o;
2559 } 2563 }
2560 2564
2561 checkUnnamed565(core.List<api.ProductCustomAttribute> o) { 2565 checkUnnamed705(core.List<api.ProductCustomAttribute> o) {
2562 unittest.expect(o, unittest.hasLength(2)); 2566 unittest.expect(o, unittest.hasLength(2));
2563 checkProductCustomAttribute(o[0]); 2567 checkProductCustomAttribute(o[0]);
2564 checkProductCustomAttribute(o[1]); 2568 checkProductCustomAttribute(o[1]);
2565 } 2569 }
2566 2570
2567 core.int buildCounterProductCustomGroup = 0; 2571 core.int buildCounterProductCustomGroup = 0;
2568 buildProductCustomGroup() { 2572 buildProductCustomGroup() {
2569 var o = new api.ProductCustomGroup(); 2573 var o = new api.ProductCustomGroup();
2570 buildCounterProductCustomGroup++; 2574 buildCounterProductCustomGroup++;
2571 if (buildCounterProductCustomGroup < 3) { 2575 if (buildCounterProductCustomGroup < 3) {
2572 o.attributes = buildUnnamed565(); 2576 o.attributes = buildUnnamed705();
2573 o.name = "foo"; 2577 o.name = "foo";
2574 } 2578 }
2575 buildCounterProductCustomGroup--; 2579 buildCounterProductCustomGroup--;
2576 return o; 2580 return o;
2577 } 2581 }
2578 2582
2579 checkProductCustomGroup(api.ProductCustomGroup o) { 2583 checkProductCustomGroup(api.ProductCustomGroup o) {
2580 buildCounterProductCustomGroup++; 2584 buildCounterProductCustomGroup++;
2581 if (buildCounterProductCustomGroup < 3) { 2585 if (buildCounterProductCustomGroup < 3) {
2582 checkUnnamed565(o.attributes); 2586 checkUnnamed705(o.attributes);
2583 unittest.expect(o.name, unittest.equals('foo')); 2587 unittest.expect(o.name, unittest.equals('foo'));
2584 } 2588 }
2585 buildCounterProductCustomGroup--; 2589 buildCounterProductCustomGroup--;
2586 } 2590 }
2587 2591
2588 core.int buildCounterProductDestination = 0; 2592 core.int buildCounterProductDestination = 0;
2589 buildProductDestination() { 2593 buildProductDestination() {
2590 var o = new api.ProductDestination(); 2594 var o = new api.ProductDestination();
2591 buildCounterProductDestination++; 2595 buildCounterProductDestination++;
2592 if (buildCounterProductDestination < 3) { 2596 if (buildCounterProductDestination < 3) {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
2693 2697
2694 checkProductShippingWeight(api.ProductShippingWeight o) { 2698 checkProductShippingWeight(api.ProductShippingWeight o) {
2695 buildCounterProductShippingWeight++; 2699 buildCounterProductShippingWeight++;
2696 if (buildCounterProductShippingWeight < 3) { 2700 if (buildCounterProductShippingWeight < 3) {
2697 unittest.expect(o.unit, unittest.equals('foo')); 2701 unittest.expect(o.unit, unittest.equals('foo'));
2698 unittest.expect(o.value, unittest.equals(42.0)); 2702 unittest.expect(o.value, unittest.equals(42.0));
2699 } 2703 }
2700 buildCounterProductShippingWeight--; 2704 buildCounterProductShippingWeight--;
2701 } 2705 }
2702 2706
2703 buildUnnamed566() { 2707 buildUnnamed706() {
2704 var o = new core.List<api.ProductStatusDataQualityIssue>(); 2708 var o = new core.List<api.ProductStatusDataQualityIssue>();
2705 o.add(buildProductStatusDataQualityIssue()); 2709 o.add(buildProductStatusDataQualityIssue());
2706 o.add(buildProductStatusDataQualityIssue()); 2710 o.add(buildProductStatusDataQualityIssue());
2707 return o; 2711 return o;
2708 } 2712 }
2709 2713
2710 checkUnnamed566(core.List<api.ProductStatusDataQualityIssue> o) { 2714 checkUnnamed706(core.List<api.ProductStatusDataQualityIssue> o) {
2711 unittest.expect(o, unittest.hasLength(2)); 2715 unittest.expect(o, unittest.hasLength(2));
2712 checkProductStatusDataQualityIssue(o[0]); 2716 checkProductStatusDataQualityIssue(o[0]);
2713 checkProductStatusDataQualityIssue(o[1]); 2717 checkProductStatusDataQualityIssue(o[1]);
2714 } 2718 }
2715 2719
2716 buildUnnamed567() { 2720 buildUnnamed707() {
2717 var o = new core.List<api.ProductStatusDestinationStatus>(); 2721 var o = new core.List<api.ProductStatusDestinationStatus>();
2718 o.add(buildProductStatusDestinationStatus()); 2722 o.add(buildProductStatusDestinationStatus());
2719 o.add(buildProductStatusDestinationStatus()); 2723 o.add(buildProductStatusDestinationStatus());
2720 return o; 2724 return o;
2721 } 2725 }
2722 2726
2723 checkUnnamed567(core.List<api.ProductStatusDestinationStatus> o) { 2727 checkUnnamed707(core.List<api.ProductStatusDestinationStatus> o) {
2724 unittest.expect(o, unittest.hasLength(2)); 2728 unittest.expect(o, unittest.hasLength(2));
2725 checkProductStatusDestinationStatus(o[0]); 2729 checkProductStatusDestinationStatus(o[0]);
2726 checkProductStatusDestinationStatus(o[1]); 2730 checkProductStatusDestinationStatus(o[1]);
2727 } 2731 }
2728 2732
2729 core.int buildCounterProductStatus = 0; 2733 core.int buildCounterProductStatus = 0;
2730 buildProductStatus() { 2734 buildProductStatus() {
2731 var o = new api.ProductStatus(); 2735 var o = new api.ProductStatus();
2732 buildCounterProductStatus++; 2736 buildCounterProductStatus++;
2733 if (buildCounterProductStatus < 3) { 2737 if (buildCounterProductStatus < 3) {
2734 o.creationDate = "foo"; 2738 o.creationDate = "foo";
2735 o.dataQualityIssues = buildUnnamed566(); 2739 o.dataQualityIssues = buildUnnamed706();
2736 o.destinationStatuses = buildUnnamed567(); 2740 o.destinationStatuses = buildUnnamed707();
2737 o.googleExpirationDate = "foo"; 2741 o.googleExpirationDate = "foo";
2738 o.kind = "foo"; 2742 o.kind = "foo";
2739 o.lastUpdateDate = "foo"; 2743 o.lastUpdateDate = "foo";
2740 o.link = "foo"; 2744 o.link = "foo";
2741 o.productId = "foo"; 2745 o.productId = "foo";
2742 o.title = "foo"; 2746 o.title = "foo";
2743 } 2747 }
2744 buildCounterProductStatus--; 2748 buildCounterProductStatus--;
2745 return o; 2749 return o;
2746 } 2750 }
2747 2751
2748 checkProductStatus(api.ProductStatus o) { 2752 checkProductStatus(api.ProductStatus o) {
2749 buildCounterProductStatus++; 2753 buildCounterProductStatus++;
2750 if (buildCounterProductStatus < 3) { 2754 if (buildCounterProductStatus < 3) {
2751 unittest.expect(o.creationDate, unittest.equals('foo')); 2755 unittest.expect(o.creationDate, unittest.equals('foo'));
2752 checkUnnamed566(o.dataQualityIssues); 2756 checkUnnamed706(o.dataQualityIssues);
2753 checkUnnamed567(o.destinationStatuses); 2757 checkUnnamed707(o.destinationStatuses);
2754 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); 2758 unittest.expect(o.googleExpirationDate, unittest.equals('foo'));
2755 unittest.expect(o.kind, unittest.equals('foo')); 2759 unittest.expect(o.kind, unittest.equals('foo'));
2756 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); 2760 unittest.expect(o.lastUpdateDate, unittest.equals('foo'));
2757 unittest.expect(o.link, unittest.equals('foo')); 2761 unittest.expect(o.link, unittest.equals('foo'));
2758 unittest.expect(o.productId, unittest.equals('foo')); 2762 unittest.expect(o.productId, unittest.equals('foo'));
2759 unittest.expect(o.title, unittest.equals('foo')); 2763 unittest.expect(o.title, unittest.equals('foo'));
2760 } 2764 }
2761 buildCounterProductStatus--; 2765 buildCounterProductStatus--;
2762 } 2766 }
2763 2767
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
2881 2885
2882 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { 2886 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) {
2883 buildCounterProductUnitPricingMeasure++; 2887 buildCounterProductUnitPricingMeasure++;
2884 if (buildCounterProductUnitPricingMeasure < 3) { 2888 if (buildCounterProductUnitPricingMeasure < 3) {
2885 unittest.expect(o.unit, unittest.equals('foo')); 2889 unittest.expect(o.unit, unittest.equals('foo'));
2886 unittest.expect(o.value, unittest.equals(42.0)); 2890 unittest.expect(o.value, unittest.equals(42.0));
2887 } 2891 }
2888 buildCounterProductUnitPricingMeasure--; 2892 buildCounterProductUnitPricingMeasure--;
2889 } 2893 }
2890 2894
2891 buildUnnamed568() { 2895 buildUnnamed708() {
2892 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); 2896 var o = new core.List<api.ProductsCustomBatchRequestEntry>();
2893 o.add(buildProductsCustomBatchRequestEntry()); 2897 o.add(buildProductsCustomBatchRequestEntry());
2894 o.add(buildProductsCustomBatchRequestEntry()); 2898 o.add(buildProductsCustomBatchRequestEntry());
2895 return o; 2899 return o;
2896 } 2900 }
2897 2901
2898 checkUnnamed568(core.List<api.ProductsCustomBatchRequestEntry> o) { 2902 checkUnnamed708(core.List<api.ProductsCustomBatchRequestEntry> o) {
2899 unittest.expect(o, unittest.hasLength(2)); 2903 unittest.expect(o, unittest.hasLength(2));
2900 checkProductsCustomBatchRequestEntry(o[0]); 2904 checkProductsCustomBatchRequestEntry(o[0]);
2901 checkProductsCustomBatchRequestEntry(o[1]); 2905 checkProductsCustomBatchRequestEntry(o[1]);
2902 } 2906 }
2903 2907
2904 core.int buildCounterProductsCustomBatchRequest = 0; 2908 core.int buildCounterProductsCustomBatchRequest = 0;
2905 buildProductsCustomBatchRequest() { 2909 buildProductsCustomBatchRequest() {
2906 var o = new api.ProductsCustomBatchRequest(); 2910 var o = new api.ProductsCustomBatchRequest();
2907 buildCounterProductsCustomBatchRequest++; 2911 buildCounterProductsCustomBatchRequest++;
2908 if (buildCounterProductsCustomBatchRequest < 3) { 2912 if (buildCounterProductsCustomBatchRequest < 3) {
2909 o.entries = buildUnnamed568(); 2913 o.entries = buildUnnamed708();
2910 } 2914 }
2911 buildCounterProductsCustomBatchRequest--; 2915 buildCounterProductsCustomBatchRequest--;
2912 return o; 2916 return o;
2913 } 2917 }
2914 2918
2915 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { 2919 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
2916 buildCounterProductsCustomBatchRequest++; 2920 buildCounterProductsCustomBatchRequest++;
2917 if (buildCounterProductsCustomBatchRequest < 3) { 2921 if (buildCounterProductsCustomBatchRequest < 3) {
2918 checkUnnamed568(o.entries); 2922 checkUnnamed708(o.entries);
2919 } 2923 }
2920 buildCounterProductsCustomBatchRequest--; 2924 buildCounterProductsCustomBatchRequest--;
2921 } 2925 }
2922 2926
2923 core.int buildCounterProductsCustomBatchRequestEntry = 0; 2927 core.int buildCounterProductsCustomBatchRequestEntry = 0;
2924 buildProductsCustomBatchRequestEntry() { 2928 buildProductsCustomBatchRequestEntry() {
2925 var o = new api.ProductsCustomBatchRequestEntry(); 2929 var o = new api.ProductsCustomBatchRequestEntry();
2926 buildCounterProductsCustomBatchRequestEntry++; 2930 buildCounterProductsCustomBatchRequestEntry++;
2927 if (buildCounterProductsCustomBatchRequestEntry < 3) { 2931 if (buildCounterProductsCustomBatchRequestEntry < 3) {
2928 o.batchId = 42; 2932 o.batchId = 42;
(...skipping 11 matching lines...) Expand all
2940 if (buildCounterProductsCustomBatchRequestEntry < 3) { 2944 if (buildCounterProductsCustomBatchRequestEntry < 3) {
2941 unittest.expect(o.batchId, unittest.equals(42)); 2945 unittest.expect(o.batchId, unittest.equals(42));
2942 unittest.expect(o.merchantId, unittest.equals('foo')); 2946 unittest.expect(o.merchantId, unittest.equals('foo'));
2943 unittest.expect(o.method, unittest.equals('foo')); 2947 unittest.expect(o.method, unittest.equals('foo'));
2944 checkProduct(o.product); 2948 checkProduct(o.product);
2945 unittest.expect(o.productId, unittest.equals('foo')); 2949 unittest.expect(o.productId, unittest.equals('foo'));
2946 } 2950 }
2947 buildCounterProductsCustomBatchRequestEntry--; 2951 buildCounterProductsCustomBatchRequestEntry--;
2948 } 2952 }
2949 2953
2950 buildUnnamed569() { 2954 buildUnnamed709() {
2951 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); 2955 var o = new core.List<api.ProductsCustomBatchResponseEntry>();
2952 o.add(buildProductsCustomBatchResponseEntry()); 2956 o.add(buildProductsCustomBatchResponseEntry());
2953 o.add(buildProductsCustomBatchResponseEntry()); 2957 o.add(buildProductsCustomBatchResponseEntry());
2954 return o; 2958 return o;
2955 } 2959 }
2956 2960
2957 checkUnnamed569(core.List<api.ProductsCustomBatchResponseEntry> o) { 2961 checkUnnamed709(core.List<api.ProductsCustomBatchResponseEntry> o) {
2958 unittest.expect(o, unittest.hasLength(2)); 2962 unittest.expect(o, unittest.hasLength(2));
2959 checkProductsCustomBatchResponseEntry(o[0]); 2963 checkProductsCustomBatchResponseEntry(o[0]);
2960 checkProductsCustomBatchResponseEntry(o[1]); 2964 checkProductsCustomBatchResponseEntry(o[1]);
2961 } 2965 }
2962 2966
2963 core.int buildCounterProductsCustomBatchResponse = 0; 2967 core.int buildCounterProductsCustomBatchResponse = 0;
2964 buildProductsCustomBatchResponse() { 2968 buildProductsCustomBatchResponse() {
2965 var o = new api.ProductsCustomBatchResponse(); 2969 var o = new api.ProductsCustomBatchResponse();
2966 buildCounterProductsCustomBatchResponse++; 2970 buildCounterProductsCustomBatchResponse++;
2967 if (buildCounterProductsCustomBatchResponse < 3) { 2971 if (buildCounterProductsCustomBatchResponse < 3) {
2968 o.entries = buildUnnamed569(); 2972 o.entries = buildUnnamed709();
2969 o.kind = "foo"; 2973 o.kind = "foo";
2970 } 2974 }
2971 buildCounterProductsCustomBatchResponse--; 2975 buildCounterProductsCustomBatchResponse--;
2972 return o; 2976 return o;
2973 } 2977 }
2974 2978
2975 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { 2979 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
2976 buildCounterProductsCustomBatchResponse++; 2980 buildCounterProductsCustomBatchResponse++;
2977 if (buildCounterProductsCustomBatchResponse < 3) { 2981 if (buildCounterProductsCustomBatchResponse < 3) {
2978 checkUnnamed569(o.entries); 2982 checkUnnamed709(o.entries);
2979 unittest.expect(o.kind, unittest.equals('foo')); 2983 unittest.expect(o.kind, unittest.equals('foo'));
2980 } 2984 }
2981 buildCounterProductsCustomBatchResponse--; 2985 buildCounterProductsCustomBatchResponse--;
2982 } 2986 }
2983 2987
2984 core.int buildCounterProductsCustomBatchResponseEntry = 0; 2988 core.int buildCounterProductsCustomBatchResponseEntry = 0;
2985 buildProductsCustomBatchResponseEntry() { 2989 buildProductsCustomBatchResponseEntry() {
2986 var o = new api.ProductsCustomBatchResponseEntry(); 2990 var o = new api.ProductsCustomBatchResponseEntry();
2987 buildCounterProductsCustomBatchResponseEntry++; 2991 buildCounterProductsCustomBatchResponseEntry++;
2988 if (buildCounterProductsCustomBatchResponseEntry < 3) { 2992 if (buildCounterProductsCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
2999 buildCounterProductsCustomBatchResponseEntry++; 3003 buildCounterProductsCustomBatchResponseEntry++;
3000 if (buildCounterProductsCustomBatchResponseEntry < 3) { 3004 if (buildCounterProductsCustomBatchResponseEntry < 3) {
3001 unittest.expect(o.batchId, unittest.equals(42)); 3005 unittest.expect(o.batchId, unittest.equals(42));
3002 checkErrors(o.errors); 3006 checkErrors(o.errors);
3003 unittest.expect(o.kind, unittest.equals('foo')); 3007 unittest.expect(o.kind, unittest.equals('foo'));
3004 checkProduct(o.product); 3008 checkProduct(o.product);
3005 } 3009 }
3006 buildCounterProductsCustomBatchResponseEntry--; 3010 buildCounterProductsCustomBatchResponseEntry--;
3007 } 3011 }
3008 3012
3009 buildUnnamed570() { 3013 buildUnnamed710() {
3010 var o = new core.List<api.Product>(); 3014 var o = new core.List<api.Product>();
3011 o.add(buildProduct()); 3015 o.add(buildProduct());
3012 o.add(buildProduct()); 3016 o.add(buildProduct());
3013 return o; 3017 return o;
3014 } 3018 }
3015 3019
3016 checkUnnamed570(core.List<api.Product> o) { 3020 checkUnnamed710(core.List<api.Product> o) {
3017 unittest.expect(o, unittest.hasLength(2)); 3021 unittest.expect(o, unittest.hasLength(2));
3018 checkProduct(o[0]); 3022 checkProduct(o[0]);
3019 checkProduct(o[1]); 3023 checkProduct(o[1]);
3020 } 3024 }
3021 3025
3022 core.int buildCounterProductsListResponse = 0; 3026 core.int buildCounterProductsListResponse = 0;
3023 buildProductsListResponse() { 3027 buildProductsListResponse() {
3024 var o = new api.ProductsListResponse(); 3028 var o = new api.ProductsListResponse();
3025 buildCounterProductsListResponse++; 3029 buildCounterProductsListResponse++;
3026 if (buildCounterProductsListResponse < 3) { 3030 if (buildCounterProductsListResponse < 3) {
3027 o.kind = "foo"; 3031 o.kind = "foo";
3028 o.nextPageToken = "foo"; 3032 o.nextPageToken = "foo";
3029 o.resources = buildUnnamed570(); 3033 o.resources = buildUnnamed710();
3030 } 3034 }
3031 buildCounterProductsListResponse--; 3035 buildCounterProductsListResponse--;
3032 return o; 3036 return o;
3033 } 3037 }
3034 3038
3035 checkProductsListResponse(api.ProductsListResponse o) { 3039 checkProductsListResponse(api.ProductsListResponse o) {
3036 buildCounterProductsListResponse++; 3040 buildCounterProductsListResponse++;
3037 if (buildCounterProductsListResponse < 3) { 3041 if (buildCounterProductsListResponse < 3) {
3038 unittest.expect(o.kind, unittest.equals('foo')); 3042 unittest.expect(o.kind, unittest.equals('foo'));
3039 unittest.expect(o.nextPageToken, unittest.equals('foo')); 3043 unittest.expect(o.nextPageToken, unittest.equals('foo'));
3040 checkUnnamed570(o.resources); 3044 checkUnnamed710(o.resources);
3041 } 3045 }
3042 buildCounterProductsListResponse--; 3046 buildCounterProductsListResponse--;
3043 } 3047 }
3044 3048
3045 buildUnnamed571() { 3049 buildUnnamed711() {
3046 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); 3050 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
3047 o.add(buildProductstatusesCustomBatchRequestEntry()); 3051 o.add(buildProductstatusesCustomBatchRequestEntry());
3048 o.add(buildProductstatusesCustomBatchRequestEntry()); 3052 o.add(buildProductstatusesCustomBatchRequestEntry());
3049 return o; 3053 return o;
3050 } 3054 }
3051 3055
3052 checkUnnamed571(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { 3056 checkUnnamed711(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
3053 unittest.expect(o, unittest.hasLength(2)); 3057 unittest.expect(o, unittest.hasLength(2));
3054 checkProductstatusesCustomBatchRequestEntry(o[0]); 3058 checkProductstatusesCustomBatchRequestEntry(o[0]);
3055 checkProductstatusesCustomBatchRequestEntry(o[1]); 3059 checkProductstatusesCustomBatchRequestEntry(o[1]);
3056 } 3060 }
3057 3061
3058 core.int buildCounterProductstatusesCustomBatchRequest = 0; 3062 core.int buildCounterProductstatusesCustomBatchRequest = 0;
3059 buildProductstatusesCustomBatchRequest() { 3063 buildProductstatusesCustomBatchRequest() {
3060 var o = new api.ProductstatusesCustomBatchRequest(); 3064 var o = new api.ProductstatusesCustomBatchRequest();
3061 buildCounterProductstatusesCustomBatchRequest++; 3065 buildCounterProductstatusesCustomBatchRequest++;
3062 if (buildCounterProductstatusesCustomBatchRequest < 3) { 3066 if (buildCounterProductstatusesCustomBatchRequest < 3) {
3063 o.entries = buildUnnamed571(); 3067 o.entries = buildUnnamed711();
3064 } 3068 }
3065 buildCounterProductstatusesCustomBatchRequest--; 3069 buildCounterProductstatusesCustomBatchRequest--;
3066 return o; 3070 return o;
3067 } 3071 }
3068 3072
3069 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) { 3073 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) {
3070 buildCounterProductstatusesCustomBatchRequest++; 3074 buildCounterProductstatusesCustomBatchRequest++;
3071 if (buildCounterProductstatusesCustomBatchRequest < 3) { 3075 if (buildCounterProductstatusesCustomBatchRequest < 3) {
3072 checkUnnamed571(o.entries); 3076 checkUnnamed711(o.entries);
3073 } 3077 }
3074 buildCounterProductstatusesCustomBatchRequest--; 3078 buildCounterProductstatusesCustomBatchRequest--;
3075 } 3079 }
3076 3080
3077 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; 3081 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0;
3078 buildProductstatusesCustomBatchRequestEntry() { 3082 buildProductstatusesCustomBatchRequestEntry() {
3079 var o = new api.ProductstatusesCustomBatchRequestEntry(); 3083 var o = new api.ProductstatusesCustomBatchRequestEntry();
3080 buildCounterProductstatusesCustomBatchRequestEntry++; 3084 buildCounterProductstatusesCustomBatchRequestEntry++;
3081 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { 3085 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) {
3082 o.batchId = 42; 3086 o.batchId = 42;
3083 o.merchantId = "foo"; 3087 o.merchantId = "foo";
3084 o.method = "foo"; 3088 o.method = "foo";
3085 o.productId = "foo"; 3089 o.productId = "foo";
3086 } 3090 }
3087 buildCounterProductstatusesCustomBatchRequestEntry--; 3091 buildCounterProductstatusesCustomBatchRequestEntry--;
3088 return o; 3092 return o;
3089 } 3093 }
3090 3094
3091 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques tEntry o) { 3095 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques tEntry o) {
3092 buildCounterProductstatusesCustomBatchRequestEntry++; 3096 buildCounterProductstatusesCustomBatchRequestEntry++;
3093 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { 3097 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) {
3094 unittest.expect(o.batchId, unittest.equals(42)); 3098 unittest.expect(o.batchId, unittest.equals(42));
3095 unittest.expect(o.merchantId, unittest.equals('foo')); 3099 unittest.expect(o.merchantId, unittest.equals('foo'));
3096 unittest.expect(o.method, unittest.equals('foo')); 3100 unittest.expect(o.method, unittest.equals('foo'));
3097 unittest.expect(o.productId, unittest.equals('foo')); 3101 unittest.expect(o.productId, unittest.equals('foo'));
3098 } 3102 }
3099 buildCounterProductstatusesCustomBatchRequestEntry--; 3103 buildCounterProductstatusesCustomBatchRequestEntry--;
3100 } 3104 }
3101 3105
3102 buildUnnamed572() { 3106 buildUnnamed712() {
3103 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); 3107 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
3104 o.add(buildProductstatusesCustomBatchResponseEntry()); 3108 o.add(buildProductstatusesCustomBatchResponseEntry());
3105 o.add(buildProductstatusesCustomBatchResponseEntry()); 3109 o.add(buildProductstatusesCustomBatchResponseEntry());
3106 return o; 3110 return o;
3107 } 3111 }
3108 3112
3109 checkUnnamed572(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { 3113 checkUnnamed712(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
3110 unittest.expect(o, unittest.hasLength(2)); 3114 unittest.expect(o, unittest.hasLength(2));
3111 checkProductstatusesCustomBatchResponseEntry(o[0]); 3115 checkProductstatusesCustomBatchResponseEntry(o[0]);
3112 checkProductstatusesCustomBatchResponseEntry(o[1]); 3116 checkProductstatusesCustomBatchResponseEntry(o[1]);
3113 } 3117 }
3114 3118
3115 core.int buildCounterProductstatusesCustomBatchResponse = 0; 3119 core.int buildCounterProductstatusesCustomBatchResponse = 0;
3116 buildProductstatusesCustomBatchResponse() { 3120 buildProductstatusesCustomBatchResponse() {
3117 var o = new api.ProductstatusesCustomBatchResponse(); 3121 var o = new api.ProductstatusesCustomBatchResponse();
3118 buildCounterProductstatusesCustomBatchResponse++; 3122 buildCounterProductstatusesCustomBatchResponse++;
3119 if (buildCounterProductstatusesCustomBatchResponse < 3) { 3123 if (buildCounterProductstatusesCustomBatchResponse < 3) {
3120 o.entries = buildUnnamed572(); 3124 o.entries = buildUnnamed712();
3121 o.kind = "foo"; 3125 o.kind = "foo";
3122 } 3126 }
3123 buildCounterProductstatusesCustomBatchResponse--; 3127 buildCounterProductstatusesCustomBatchResponse--;
3124 return o; 3128 return o;
3125 } 3129 }
3126 3130
3127 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o ) { 3131 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o ) {
3128 buildCounterProductstatusesCustomBatchResponse++; 3132 buildCounterProductstatusesCustomBatchResponse++;
3129 if (buildCounterProductstatusesCustomBatchResponse < 3) { 3133 if (buildCounterProductstatusesCustomBatchResponse < 3) {
3130 checkUnnamed572(o.entries); 3134 checkUnnamed712(o.entries);
3131 unittest.expect(o.kind, unittest.equals('foo')); 3135 unittest.expect(o.kind, unittest.equals('foo'));
3132 } 3136 }
3133 buildCounterProductstatusesCustomBatchResponse--; 3137 buildCounterProductstatusesCustomBatchResponse--;
3134 } 3138 }
3135 3139
3136 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; 3140 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0;
3137 buildProductstatusesCustomBatchResponseEntry() { 3141 buildProductstatusesCustomBatchResponseEntry() {
3138 var o = new api.ProductstatusesCustomBatchResponseEntry(); 3142 var o = new api.ProductstatusesCustomBatchResponseEntry();
3139 buildCounterProductstatusesCustomBatchResponseEntry++; 3143 buildCounterProductstatusesCustomBatchResponseEntry++;
3140 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { 3144 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) {
(...skipping 10 matching lines...) Expand all
3151 buildCounterProductstatusesCustomBatchResponseEntry++; 3155 buildCounterProductstatusesCustomBatchResponseEntry++;
3152 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { 3156 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) {
3153 unittest.expect(o.batchId, unittest.equals(42)); 3157 unittest.expect(o.batchId, unittest.equals(42));
3154 checkErrors(o.errors); 3158 checkErrors(o.errors);
3155 unittest.expect(o.kind, unittest.equals('foo')); 3159 unittest.expect(o.kind, unittest.equals('foo'));
3156 checkProductStatus(o.productStatus); 3160 checkProductStatus(o.productStatus);
3157 } 3161 }
3158 buildCounterProductstatusesCustomBatchResponseEntry--; 3162 buildCounterProductstatusesCustomBatchResponseEntry--;
3159 } 3163 }
3160 3164
3161 buildUnnamed573() { 3165 buildUnnamed713() {
3162 var o = new core.List<api.ProductStatus>(); 3166 var o = new core.List<api.ProductStatus>();
3163 o.add(buildProductStatus()); 3167 o.add(buildProductStatus());
3164 o.add(buildProductStatus()); 3168 o.add(buildProductStatus());
3165 return o; 3169 return o;
3166 } 3170 }
3167 3171
3168 checkUnnamed573(core.List<api.ProductStatus> o) { 3172 checkUnnamed713(core.List<api.ProductStatus> o) {
3169 unittest.expect(o, unittest.hasLength(2)); 3173 unittest.expect(o, unittest.hasLength(2));
3170 checkProductStatus(o[0]); 3174 checkProductStatus(o[0]);
3171 checkProductStatus(o[1]); 3175 checkProductStatus(o[1]);
3172 } 3176 }
3173 3177
3174 core.int buildCounterProductstatusesListResponse = 0; 3178 core.int buildCounterProductstatusesListResponse = 0;
3175 buildProductstatusesListResponse() { 3179 buildProductstatusesListResponse() {
3176 var o = new api.ProductstatusesListResponse(); 3180 var o = new api.ProductstatusesListResponse();
3177 buildCounterProductstatusesListResponse++; 3181 buildCounterProductstatusesListResponse++;
3178 if (buildCounterProductstatusesListResponse < 3) { 3182 if (buildCounterProductstatusesListResponse < 3) {
3179 o.kind = "foo"; 3183 o.kind = "foo";
3180 o.nextPageToken = "foo"; 3184 o.nextPageToken = "foo";
3181 o.resources = buildUnnamed573(); 3185 o.resources = buildUnnamed713();
3182 } 3186 }
3183 buildCounterProductstatusesListResponse--; 3187 buildCounterProductstatusesListResponse--;
3184 return o; 3188 return o;
3185 } 3189 }
3186 3190
3187 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { 3191 checkProductstatusesListResponse(api.ProductstatusesListResponse o) {
3188 buildCounterProductstatusesListResponse++; 3192 buildCounterProductstatusesListResponse++;
3189 if (buildCounterProductstatusesListResponse < 3) { 3193 if (buildCounterProductstatusesListResponse < 3) {
3190 unittest.expect(o.kind, unittest.equals('foo')); 3194 unittest.expect(o.kind, unittest.equals('foo'));
3191 unittest.expect(o.nextPageToken, unittest.equals('foo')); 3195 unittest.expect(o.nextPageToken, unittest.equals('foo'));
3192 checkUnnamed573(o.resources); 3196 checkUnnamed713(o.resources);
3193 } 3197 }
3194 buildCounterProductstatusesListResponse--; 3198 buildCounterProductstatusesListResponse--;
3195 } 3199 }
3196 3200
3197 core.int buildCounterWeight = 0; 3201 core.int buildCounterWeight = 0;
3198 buildWeight() { 3202 buildWeight() {
3199 var o = new api.Weight(); 3203 var o = new api.Weight();
3200 buildCounterWeight++; 3204 buildCounterWeight++;
3201 if (buildCounterWeight < 3) { 3205 if (buildCounterWeight < 3) {
3202 o.unit = "foo"; 3206 o.unit = "foo";
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
4098 res.authinfo().then(unittest.expectAsync(((api.AccountsAuthInfoResponse re sponse) { 4102 res.authinfo().then(unittest.expectAsync(((api.AccountsAuthInfoResponse re sponse) {
4099 checkAccountsAuthInfoResponse(response); 4103 checkAccountsAuthInfoResponse(response);
4100 }))); 4104 })));
4101 }); 4105 });
4102 4106
4103 unittest.test("method--custombatch", () { 4107 unittest.test("method--custombatch", () {
4104 4108
4105 var mock = new HttpServerMock(); 4109 var mock = new HttpServerMock();
4106 api.AccountsResourceApi res = new api.ContentApi(mock).accounts; 4110 api.AccountsResourceApi res = new api.ContentApi(mock).accounts;
4107 var arg_request = buildAccountsCustomBatchRequest(); 4111 var arg_request = buildAccountsCustomBatchRequest();
4112 var arg_dryRun = true;
4108 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4113 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4109 var obj = new api.AccountsCustomBatchRequest.fromJson(json); 4114 var obj = new api.AccountsCustomBatchRequest.fromJson(json);
4110 checkAccountsCustomBatchRequest(obj); 4115 checkAccountsCustomBatchRequest(obj);
4111 4116
4112 var path = (req.url).path; 4117 var path = (req.url).path;
4113 var pathOffset = 0; 4118 var pathOffset = 0;
4114 var index; 4119 var index;
4115 var subPart; 4120 var subPart;
4116 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4121 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4117 pathOffset += 1; 4122 pathOffset += 1;
(...skipping 11 matching lines...) Expand all
4129 if (n == "false") return false; 4134 if (n == "false") return false;
4130 if (n == null) return null; 4135 if (n == null) return null;
4131 throw new core.ArgumentError("Invalid boolean: $n"); 4136 throw new core.ArgumentError("Invalid boolean: $n");
4132 } 4137 }
4133 if (query.length > 0) { 4138 if (query.length > 0) {
4134 for (var part in query.split("&")) { 4139 for (var part in query.split("&")) {
4135 var keyvalue = part.split("="); 4140 var keyvalue = part.split("=");
4136 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4141 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4137 } 4142 }
4138 } 4143 }
4144 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
4139 4145
4140 4146
4141 var h = { 4147 var h = {
4142 "content-type" : "application/json; charset=utf-8", 4148 "content-type" : "application/json; charset=utf-8",
4143 }; 4149 };
4144 var resp = convert.JSON.encode(buildAccountsCustomBatchResponse()); 4150 var resp = convert.JSON.encode(buildAccountsCustomBatchResponse());
4145 return new async.Future.value(stringResponse(200, h, resp)); 4151 return new async.Future.value(stringResponse(200, h, resp));
4146 }), true); 4152 }), true);
4147 res.custombatch(arg_request).then(unittest.expectAsync(((api.AccountsCusto mBatchResponse response) { 4153 res.custombatch(arg_request, dryRun: arg_dryRun).then(unittest.expectAsync (((api.AccountsCustomBatchResponse response) {
4148 checkAccountsCustomBatchResponse(response); 4154 checkAccountsCustomBatchResponse(response);
4149 }))); 4155 })));
4150 }); 4156 });
4151 4157
4152 unittest.test("method--delete", () { 4158 unittest.test("method--delete", () {
4153 4159
4154 var mock = new HttpServerMock(); 4160 var mock = new HttpServerMock();
4155 api.AccountsResourceApi res = new api.ContentApi(mock).accounts; 4161 api.AccountsResourceApi res = new api.ContentApi(mock).accounts;
4156 var arg_merchantId = "foo"; 4162 var arg_merchantId = "foo";
4157 var arg_accountId = "foo"; 4163 var arg_accountId = "foo";
4164 var arg_dryRun = true;
4158 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4165 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4159 var path = (req.url).path; 4166 var path = (req.url).path;
4160 var pathOffset = 0; 4167 var pathOffset = 0;
4161 var index; 4168 var index;
4162 var subPart; 4169 var subPart;
4163 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4170 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4164 pathOffset += 1; 4171 pathOffset += 1;
4165 4172
4166 var query = (req.url).query; 4173 var query = (req.url).query;
4167 var queryOffset = 0; 4174 var queryOffset = 0;
4168 var queryMap = {}; 4175 var queryMap = {};
4169 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 4176 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
4170 parseBool(n) { 4177 parseBool(n) {
4171 if (n == "true") return true; 4178 if (n == "true") return true;
4172 if (n == "false") return false; 4179 if (n == "false") return false;
4173 if (n == null) return null; 4180 if (n == null) return null;
4174 throw new core.ArgumentError("Invalid boolean: $n"); 4181 throw new core.ArgumentError("Invalid boolean: $n");
4175 } 4182 }
4176 if (query.length > 0) { 4183 if (query.length > 0) {
4177 for (var part in query.split("&")) { 4184 for (var part in query.split("&")) {
4178 var keyvalue = part.split("="); 4185 var keyvalue = part.split("=");
4179 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4186 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4180 } 4187 }
4181 } 4188 }
4189 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
4182 4190
4183 4191
4184 var h = { 4192 var h = {
4185 "content-type" : "application/json; charset=utf-8", 4193 "content-type" : "application/json; charset=utf-8",
4186 }; 4194 };
4187 var resp = ""; 4195 var resp = "";
4188 return new async.Future.value(stringResponse(200, h, resp)); 4196 return new async.Future.value(stringResponse(200, h, resp));
4189 }), true); 4197 }), true);
4190 res.delete(arg_merchantId, arg_accountId).then(unittest.expectAsync((_) {} )); 4198 res.delete(arg_merchantId, arg_accountId, dryRun: arg_dryRun).then(unittes t.expectAsync((_) {}));
4191 }); 4199 });
4192 4200
4193 unittest.test("method--get", () { 4201 unittest.test("method--get", () {
4194 4202
4195 var mock = new HttpServerMock(); 4203 var mock = new HttpServerMock();
4196 api.AccountsResourceApi res = new api.ContentApi(mock).accounts; 4204 api.AccountsResourceApi res = new api.ContentApi(mock).accounts;
4197 var arg_merchantId = "foo"; 4205 var arg_merchantId = "foo";
4198 var arg_accountId = "foo"; 4206 var arg_accountId = "foo";
4199 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4207 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4200 var path = (req.url).path; 4208 var path = (req.url).path;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
4232 checkAccount(response); 4240 checkAccount(response);
4233 }))); 4241 })));
4234 }); 4242 });
4235 4243
4236 unittest.test("method--insert", () { 4244 unittest.test("method--insert", () {
4237 4245
4238 var mock = new HttpServerMock(); 4246 var mock = new HttpServerMock();
4239 api.AccountsResourceApi res = new api.ContentApi(mock).accounts; 4247 api.AccountsResourceApi res = new api.ContentApi(mock).accounts;
4240 var arg_request = buildAccount(); 4248 var arg_request = buildAccount();
4241 var arg_merchantId = "foo"; 4249 var arg_merchantId = "foo";
4250 var arg_dryRun = true;
4242 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4251 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4243 var obj = new api.Account.fromJson(json); 4252 var obj = new api.Account.fromJson(json);
4244 checkAccount(obj); 4253 checkAccount(obj);
4245 4254
4246 var path = (req.url).path; 4255 var path = (req.url).path;
4247 var pathOffset = 0; 4256 var pathOffset = 0;
4248 var index; 4257 var index;
4249 var subPart; 4258 var subPart;
4250 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4259 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4251 pathOffset += 1; 4260 pathOffset += 1;
4252 4261
4253 var query = (req.url).query; 4262 var query = (req.url).query;
4254 var queryOffset = 0; 4263 var queryOffset = 0;
4255 var queryMap = {}; 4264 var queryMap = {};
4256 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 4265 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
4257 parseBool(n) { 4266 parseBool(n) {
4258 if (n == "true") return true; 4267 if (n == "true") return true;
4259 if (n == "false") return false; 4268 if (n == "false") return false;
4260 if (n == null) return null; 4269 if (n == null) return null;
4261 throw new core.ArgumentError("Invalid boolean: $n"); 4270 throw new core.ArgumentError("Invalid boolean: $n");
4262 } 4271 }
4263 if (query.length > 0) { 4272 if (query.length > 0) {
4264 for (var part in query.split("&")) { 4273 for (var part in query.split("&")) {
4265 var keyvalue = part.split("="); 4274 var keyvalue = part.split("=");
4266 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4275 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4267 } 4276 }
4268 } 4277 }
4278 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
4269 4279
4270 4280
4271 var h = { 4281 var h = {
4272 "content-type" : "application/json; charset=utf-8", 4282 "content-type" : "application/json; charset=utf-8",
4273 }; 4283 };
4274 var resp = convert.JSON.encode(buildAccount()); 4284 var resp = convert.JSON.encode(buildAccount());
4275 return new async.Future.value(stringResponse(200, h, resp)); 4285 return new async.Future.value(stringResponse(200, h, resp));
4276 }), true); 4286 }), true);
4277 res.insert(arg_request, arg_merchantId).then(unittest.expectAsync(((api.Ac count response) { 4287 res.insert(arg_request, arg_merchantId, dryRun: arg_dryRun).then(unittest. expectAsync(((api.Account response) {
4278 checkAccount(response); 4288 checkAccount(response);
4279 }))); 4289 })));
4280 }); 4290 });
4281 4291
4282 unittest.test("method--list", () { 4292 unittest.test("method--list", () {
4283 4293
4284 var mock = new HttpServerMock(); 4294 var mock = new HttpServerMock();
4285 api.AccountsResourceApi res = new api.ContentApi(mock).accounts; 4295 api.AccountsResourceApi res = new api.ContentApi(mock).accounts;
4286 var arg_merchantId = "foo"; 4296 var arg_merchantId = "foo";
4287 var arg_maxResults = 42; 4297 var arg_maxResults = 42;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
4325 }))); 4335 })));
4326 }); 4336 });
4327 4337
4328 unittest.test("method--patch", () { 4338 unittest.test("method--patch", () {
4329 4339
4330 var mock = new HttpServerMock(); 4340 var mock = new HttpServerMock();
4331 api.AccountsResourceApi res = new api.ContentApi(mock).accounts; 4341 api.AccountsResourceApi res = new api.ContentApi(mock).accounts;
4332 var arg_request = buildAccount(); 4342 var arg_request = buildAccount();
4333 var arg_merchantId = "foo"; 4343 var arg_merchantId = "foo";
4334 var arg_accountId = "foo"; 4344 var arg_accountId = "foo";
4345 var arg_dryRun = true;
4335 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4346 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4336 var obj = new api.Account.fromJson(json); 4347 var obj = new api.Account.fromJson(json);
4337 checkAccount(obj); 4348 checkAccount(obj);
4338 4349
4339 var path = (req.url).path; 4350 var path = (req.url).path;
4340 var pathOffset = 0; 4351 var pathOffset = 0;
4341 var index; 4352 var index;
4342 var subPart; 4353 var subPart;
4343 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4354 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4344 pathOffset += 1; 4355 pathOffset += 1;
4345 4356
4346 var query = (req.url).query; 4357 var query = (req.url).query;
4347 var queryOffset = 0; 4358 var queryOffset = 0;
4348 var queryMap = {}; 4359 var queryMap = {};
4349 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 4360 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
4350 parseBool(n) { 4361 parseBool(n) {
4351 if (n == "true") return true; 4362 if (n == "true") return true;
4352 if (n == "false") return false; 4363 if (n == "false") return false;
4353 if (n == null) return null; 4364 if (n == null) return null;
4354 throw new core.ArgumentError("Invalid boolean: $n"); 4365 throw new core.ArgumentError("Invalid boolean: $n");
4355 } 4366 }
4356 if (query.length > 0) { 4367 if (query.length > 0) {
4357 for (var part in query.split("&")) { 4368 for (var part in query.split("&")) {
4358 var keyvalue = part.split("="); 4369 var keyvalue = part.split("=");
4359 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4370 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4360 } 4371 }
4361 } 4372 }
4373 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
4362 4374
4363 4375
4364 var h = { 4376 var h = {
4365 "content-type" : "application/json; charset=utf-8", 4377 "content-type" : "application/json; charset=utf-8",
4366 }; 4378 };
4367 var resp = convert.JSON.encode(buildAccount()); 4379 var resp = convert.JSON.encode(buildAccount());
4368 return new async.Future.value(stringResponse(200, h, resp)); 4380 return new async.Future.value(stringResponse(200, h, resp));
4369 }), true); 4381 }), true);
4370 res.patch(arg_request, arg_merchantId, arg_accountId).then(unittest.expect Async(((api.Account response) { 4382 res.patch(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun). then(unittest.expectAsync(((api.Account response) {
4371 checkAccount(response); 4383 checkAccount(response);
4372 }))); 4384 })));
4373 }); 4385 });
4374 4386
4375 unittest.test("method--update", () { 4387 unittest.test("method--update", () {
4376 4388
4377 var mock = new HttpServerMock(); 4389 var mock = new HttpServerMock();
4378 api.AccountsResourceApi res = new api.ContentApi(mock).accounts; 4390 api.AccountsResourceApi res = new api.ContentApi(mock).accounts;
4379 var arg_request = buildAccount(); 4391 var arg_request = buildAccount();
4380 var arg_merchantId = "foo"; 4392 var arg_merchantId = "foo";
4381 var arg_accountId = "foo"; 4393 var arg_accountId = "foo";
4394 var arg_dryRun = true;
4382 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4395 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4383 var obj = new api.Account.fromJson(json); 4396 var obj = new api.Account.fromJson(json);
4384 checkAccount(obj); 4397 checkAccount(obj);
4385 4398
4386 var path = (req.url).path; 4399 var path = (req.url).path;
4387 var pathOffset = 0; 4400 var pathOffset = 0;
4388 var index; 4401 var index;
4389 var subPart; 4402 var subPart;
4390 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4403 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4391 pathOffset += 1; 4404 pathOffset += 1;
4392 4405
4393 var query = (req.url).query; 4406 var query = (req.url).query;
4394 var queryOffset = 0; 4407 var queryOffset = 0;
4395 var queryMap = {}; 4408 var queryMap = {};
4396 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 4409 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
4397 parseBool(n) { 4410 parseBool(n) {
4398 if (n == "true") return true; 4411 if (n == "true") return true;
4399 if (n == "false") return false; 4412 if (n == "false") return false;
4400 if (n == null) return null; 4413 if (n == null) return null;
4401 throw new core.ArgumentError("Invalid boolean: $n"); 4414 throw new core.ArgumentError("Invalid boolean: $n");
4402 } 4415 }
4403 if (query.length > 0) { 4416 if (query.length > 0) {
4404 for (var part in query.split("&")) { 4417 for (var part in query.split("&")) {
4405 var keyvalue = part.split("="); 4418 var keyvalue = part.split("=");
4406 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4419 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4407 } 4420 }
4408 } 4421 }
4422 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
4409 4423
4410 4424
4411 var h = { 4425 var h = {
4412 "content-type" : "application/json; charset=utf-8", 4426 "content-type" : "application/json; charset=utf-8",
4413 }; 4427 };
4414 var resp = convert.JSON.encode(buildAccount()); 4428 var resp = convert.JSON.encode(buildAccount());
4415 return new async.Future.value(stringResponse(200, h, resp)); 4429 return new async.Future.value(stringResponse(200, h, resp));
4416 }), true); 4430 }), true);
4417 res.update(arg_request, arg_merchantId, arg_accountId).then(unittest.expec tAsync(((api.Account response) { 4431 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun) .then(unittest.expectAsync(((api.Account response) {
4418 checkAccount(response); 4432 checkAccount(response);
4419 }))); 4433 })));
4420 }); 4434 });
4421 4435
4422 }); 4436 });
4423 4437
4424 4438
4425 unittest.group("resource-AccountshippingResourceApi", () { 4439 unittest.group("resource-AccountshippingResourceApi", () {
4426 unittest.test("method--custombatch", () { 4440 unittest.test("method--custombatch", () {
4427 4441
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
5047 5061
5048 }); 5062 });
5049 5063
5050 5064
5051 unittest.group("resource-DatafeedsResourceApi", () { 5065 unittest.group("resource-DatafeedsResourceApi", () {
5052 unittest.test("method--custombatch", () { 5066 unittest.test("method--custombatch", () {
5053 5067
5054 var mock = new HttpServerMock(); 5068 var mock = new HttpServerMock();
5055 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 5069 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
5056 var arg_request = buildDatafeedsCustomBatchRequest(); 5070 var arg_request = buildDatafeedsCustomBatchRequest();
5071 var arg_dryRun = true;
5057 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5072 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5058 var obj = new api.DatafeedsCustomBatchRequest.fromJson(json); 5073 var obj = new api.DatafeedsCustomBatchRequest.fromJson(json);
5059 checkDatafeedsCustomBatchRequest(obj); 5074 checkDatafeedsCustomBatchRequest(obj);
5060 5075
5061 var path = (req.url).path; 5076 var path = (req.url).path;
5062 var pathOffset = 0; 5077 var pathOffset = 0;
5063 var index; 5078 var index;
5064 var subPart; 5079 var subPart;
5065 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5080 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5066 pathOffset += 1; 5081 pathOffset += 1;
(...skipping 11 matching lines...) Expand all
5078 if (n == "false") return false; 5093 if (n == "false") return false;
5079 if (n == null) return null; 5094 if (n == null) return null;
5080 throw new core.ArgumentError("Invalid boolean: $n"); 5095 throw new core.ArgumentError("Invalid boolean: $n");
5081 } 5096 }
5082 if (query.length > 0) { 5097 if (query.length > 0) {
5083 for (var part in query.split("&")) { 5098 for (var part in query.split("&")) {
5084 var keyvalue = part.split("="); 5099 var keyvalue = part.split("=");
5085 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5100 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5086 } 5101 }
5087 } 5102 }
5103 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
5088 5104
5089 5105
5090 var h = { 5106 var h = {
5091 "content-type" : "application/json; charset=utf-8", 5107 "content-type" : "application/json; charset=utf-8",
5092 }; 5108 };
5093 var resp = convert.JSON.encode(buildDatafeedsCustomBatchResponse()); 5109 var resp = convert.JSON.encode(buildDatafeedsCustomBatchResponse());
5094 return new async.Future.value(stringResponse(200, h, resp)); 5110 return new async.Future.value(stringResponse(200, h, resp));
5095 }), true); 5111 }), true);
5096 res.custombatch(arg_request).then(unittest.expectAsync(((api.DatafeedsCust omBatchResponse response) { 5112 res.custombatch(arg_request, dryRun: arg_dryRun).then(unittest.expectAsync (((api.DatafeedsCustomBatchResponse response) {
5097 checkDatafeedsCustomBatchResponse(response); 5113 checkDatafeedsCustomBatchResponse(response);
5098 }))); 5114 })));
5099 }); 5115 });
5100 5116
5101 unittest.test("method--delete", () { 5117 unittest.test("method--delete", () {
5102 5118
5103 var mock = new HttpServerMock(); 5119 var mock = new HttpServerMock();
5104 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 5120 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
5105 var arg_merchantId = "foo"; 5121 var arg_merchantId = "foo";
5106 var arg_datafeedId = "foo"; 5122 var arg_datafeedId = "foo";
5123 var arg_dryRun = true;
5107 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5124 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5108 var path = (req.url).path; 5125 var path = (req.url).path;
5109 var pathOffset = 0; 5126 var pathOffset = 0;
5110 var index; 5127 var index;
5111 var subPart; 5128 var subPart;
5112 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5129 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5113 pathOffset += 1; 5130 pathOffset += 1;
5114 5131
5115 var query = (req.url).query; 5132 var query = (req.url).query;
5116 var queryOffset = 0; 5133 var queryOffset = 0;
5117 var queryMap = {}; 5134 var queryMap = {};
5118 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 5135 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5119 parseBool(n) { 5136 parseBool(n) {
5120 if (n == "true") return true; 5137 if (n == "true") return true;
5121 if (n == "false") return false; 5138 if (n == "false") return false;
5122 if (n == null) return null; 5139 if (n == null) return null;
5123 throw new core.ArgumentError("Invalid boolean: $n"); 5140 throw new core.ArgumentError("Invalid boolean: $n");
5124 } 5141 }
5125 if (query.length > 0) { 5142 if (query.length > 0) {
5126 for (var part in query.split("&")) { 5143 for (var part in query.split("&")) {
5127 var keyvalue = part.split("="); 5144 var keyvalue = part.split("=");
5128 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5145 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5129 } 5146 }
5130 } 5147 }
5148 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
5131 5149
5132 5150
5133 var h = { 5151 var h = {
5134 "content-type" : "application/json; charset=utf-8", 5152 "content-type" : "application/json; charset=utf-8",
5135 }; 5153 };
5136 var resp = ""; 5154 var resp = "";
5137 return new async.Future.value(stringResponse(200, h, resp)); 5155 return new async.Future.value(stringResponse(200, h, resp));
5138 }), true); 5156 }), true);
5139 res.delete(arg_merchantId, arg_datafeedId).then(unittest.expectAsync((_) { })); 5157 res.delete(arg_merchantId, arg_datafeedId, dryRun: arg_dryRun).then(unitte st.expectAsync((_) {}));
5140 }); 5158 });
5141 5159
5142 unittest.test("method--get", () { 5160 unittest.test("method--get", () {
5143 5161
5144 var mock = new HttpServerMock(); 5162 var mock = new HttpServerMock();
5145 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 5163 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
5146 var arg_merchantId = "foo"; 5164 var arg_merchantId = "foo";
5147 var arg_datafeedId = "foo"; 5165 var arg_datafeedId = "foo";
5148 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5166 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5149 var path = (req.url).path; 5167 var path = (req.url).path;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
5181 checkDatafeed(response); 5199 checkDatafeed(response);
5182 }))); 5200 })));
5183 }); 5201 });
5184 5202
5185 unittest.test("method--insert", () { 5203 unittest.test("method--insert", () {
5186 5204
5187 var mock = new HttpServerMock(); 5205 var mock = new HttpServerMock();
5188 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 5206 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
5189 var arg_request = buildDatafeed(); 5207 var arg_request = buildDatafeed();
5190 var arg_merchantId = "foo"; 5208 var arg_merchantId = "foo";
5209 var arg_dryRun = true;
5191 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5210 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5192 var obj = new api.Datafeed.fromJson(json); 5211 var obj = new api.Datafeed.fromJson(json);
5193 checkDatafeed(obj); 5212 checkDatafeed(obj);
5194 5213
5195 var path = (req.url).path; 5214 var path = (req.url).path;
5196 var pathOffset = 0; 5215 var pathOffset = 0;
5197 var index; 5216 var index;
5198 var subPart; 5217 var subPart;
5199 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5218 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5200 pathOffset += 1; 5219 pathOffset += 1;
5201 5220
5202 var query = (req.url).query; 5221 var query = (req.url).query;
5203 var queryOffset = 0; 5222 var queryOffset = 0;
5204 var queryMap = {}; 5223 var queryMap = {};
5205 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 5224 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5206 parseBool(n) { 5225 parseBool(n) {
5207 if (n == "true") return true; 5226 if (n == "true") return true;
5208 if (n == "false") return false; 5227 if (n == "false") return false;
5209 if (n == null) return null; 5228 if (n == null) return null;
5210 throw new core.ArgumentError("Invalid boolean: $n"); 5229 throw new core.ArgumentError("Invalid boolean: $n");
5211 } 5230 }
5212 if (query.length > 0) { 5231 if (query.length > 0) {
5213 for (var part in query.split("&")) { 5232 for (var part in query.split("&")) {
5214 var keyvalue = part.split("="); 5233 var keyvalue = part.split("=");
5215 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5234 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5216 } 5235 }
5217 } 5236 }
5237 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
5218 5238
5219 5239
5220 var h = { 5240 var h = {
5221 "content-type" : "application/json; charset=utf-8", 5241 "content-type" : "application/json; charset=utf-8",
5222 }; 5242 };
5223 var resp = convert.JSON.encode(buildDatafeed()); 5243 var resp = convert.JSON.encode(buildDatafeed());
5224 return new async.Future.value(stringResponse(200, h, resp)); 5244 return new async.Future.value(stringResponse(200, h, resp));
5225 }), true); 5245 }), true);
5226 res.insert(arg_request, arg_merchantId).then(unittest.expectAsync(((api.Da tafeed response) { 5246 res.insert(arg_request, arg_merchantId, dryRun: arg_dryRun).then(unittest. expectAsync(((api.Datafeed response) {
5227 checkDatafeed(response); 5247 checkDatafeed(response);
5228 }))); 5248 })));
5229 }); 5249 });
5230 5250
5231 unittest.test("method--list", () { 5251 unittest.test("method--list", () {
5232 5252
5233 var mock = new HttpServerMock(); 5253 var mock = new HttpServerMock();
5234 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 5254 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
5235 var arg_merchantId = "foo"; 5255 var arg_merchantId = "foo";
5236 var arg_maxResults = 42; 5256 var arg_maxResults = 42;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
5274 }))); 5294 })));
5275 }); 5295 });
5276 5296
5277 unittest.test("method--patch", () { 5297 unittest.test("method--patch", () {
5278 5298
5279 var mock = new HttpServerMock(); 5299 var mock = new HttpServerMock();
5280 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 5300 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
5281 var arg_request = buildDatafeed(); 5301 var arg_request = buildDatafeed();
5282 var arg_merchantId = "foo"; 5302 var arg_merchantId = "foo";
5283 var arg_datafeedId = "foo"; 5303 var arg_datafeedId = "foo";
5304 var arg_dryRun = true;
5284 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5305 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5285 var obj = new api.Datafeed.fromJson(json); 5306 var obj = new api.Datafeed.fromJson(json);
5286 checkDatafeed(obj); 5307 checkDatafeed(obj);
5287 5308
5288 var path = (req.url).path; 5309 var path = (req.url).path;
5289 var pathOffset = 0; 5310 var pathOffset = 0;
5290 var index; 5311 var index;
5291 var subPart; 5312 var subPart;
5292 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5313 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5293 pathOffset += 1; 5314 pathOffset += 1;
5294 5315
5295 var query = (req.url).query; 5316 var query = (req.url).query;
5296 var queryOffset = 0; 5317 var queryOffset = 0;
5297 var queryMap = {}; 5318 var queryMap = {};
5298 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 5319 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5299 parseBool(n) { 5320 parseBool(n) {
5300 if (n == "true") return true; 5321 if (n == "true") return true;
5301 if (n == "false") return false; 5322 if (n == "false") return false;
5302 if (n == null) return null; 5323 if (n == null) return null;
5303 throw new core.ArgumentError("Invalid boolean: $n"); 5324 throw new core.ArgumentError("Invalid boolean: $n");
5304 } 5325 }
5305 if (query.length > 0) { 5326 if (query.length > 0) {
5306 for (var part in query.split("&")) { 5327 for (var part in query.split("&")) {
5307 var keyvalue = part.split("="); 5328 var keyvalue = part.split("=");
5308 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5329 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5309 } 5330 }
5310 } 5331 }
5332 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
5311 5333
5312 5334
5313 var h = { 5335 var h = {
5314 "content-type" : "application/json; charset=utf-8", 5336 "content-type" : "application/json; charset=utf-8",
5315 }; 5337 };
5316 var resp = convert.JSON.encode(buildDatafeed()); 5338 var resp = convert.JSON.encode(buildDatafeed());
5317 return new async.Future.value(stringResponse(200, h, resp)); 5339 return new async.Future.value(stringResponse(200, h, resp));
5318 }), true); 5340 }), true);
5319 res.patch(arg_request, arg_merchantId, arg_datafeedId).then(unittest.expec tAsync(((api.Datafeed response) { 5341 res.patch(arg_request, arg_merchantId, arg_datafeedId, dryRun: arg_dryRun) .then(unittest.expectAsync(((api.Datafeed response) {
5320 checkDatafeed(response); 5342 checkDatafeed(response);
5321 }))); 5343 })));
5322 }); 5344 });
5323 5345
5324 unittest.test("method--update", () { 5346 unittest.test("method--update", () {
5325 5347
5326 var mock = new HttpServerMock(); 5348 var mock = new HttpServerMock();
5327 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds; 5349 api.DatafeedsResourceApi res = new api.ContentApi(mock).datafeeds;
5328 var arg_request = buildDatafeed(); 5350 var arg_request = buildDatafeed();
5329 var arg_merchantId = "foo"; 5351 var arg_merchantId = "foo";
5330 var arg_datafeedId = "foo"; 5352 var arg_datafeedId = "foo";
5353 var arg_dryRun = true;
5331 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5354 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5332 var obj = new api.Datafeed.fromJson(json); 5355 var obj = new api.Datafeed.fromJson(json);
5333 checkDatafeed(obj); 5356 checkDatafeed(obj);
5334 5357
5335 var path = (req.url).path; 5358 var path = (req.url).path;
5336 var pathOffset = 0; 5359 var pathOffset = 0;
5337 var index; 5360 var index;
5338 var subPart; 5361 var subPart;
5339 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5362 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5340 pathOffset += 1; 5363 pathOffset += 1;
5341 5364
5342 var query = (req.url).query; 5365 var query = (req.url).query;
5343 var queryOffset = 0; 5366 var queryOffset = 0;
5344 var queryMap = {}; 5367 var queryMap = {};
5345 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 5368 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5346 parseBool(n) { 5369 parseBool(n) {
5347 if (n == "true") return true; 5370 if (n == "true") return true;
5348 if (n == "false") return false; 5371 if (n == "false") return false;
5349 if (n == null) return null; 5372 if (n == null) return null;
5350 throw new core.ArgumentError("Invalid boolean: $n"); 5373 throw new core.ArgumentError("Invalid boolean: $n");
5351 } 5374 }
5352 if (query.length > 0) { 5375 if (query.length > 0) {
5353 for (var part in query.split("&")) { 5376 for (var part in query.split("&")) {
5354 var keyvalue = part.split("="); 5377 var keyvalue = part.split("=");
5355 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5378 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5356 } 5379 }
5357 } 5380 }
5381 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
5358 5382
5359 5383
5360 var h = { 5384 var h = {
5361 "content-type" : "application/json; charset=utf-8", 5385 "content-type" : "application/json; charset=utf-8",
5362 }; 5386 };
5363 var resp = convert.JSON.encode(buildDatafeed()); 5387 var resp = convert.JSON.encode(buildDatafeed());
5364 return new async.Future.value(stringResponse(200, h, resp)); 5388 return new async.Future.value(stringResponse(200, h, resp));
5365 }), true); 5389 }), true);
5366 res.update(arg_request, arg_merchantId, arg_datafeedId).then(unittest.expe ctAsync(((api.Datafeed response) { 5390 res.update(arg_request, arg_merchantId, arg_datafeedId, dryRun: arg_dryRun ).then(unittest.expectAsync(((api.Datafeed response) {
5367 checkDatafeed(response); 5391 checkDatafeed(response);
5368 }))); 5392 })));
5369 }); 5393 });
5370 5394
5371 }); 5395 });
5372 5396
5373 5397
5374 unittest.group("resource-DatafeedstatusesResourceApi", () { 5398 unittest.group("resource-DatafeedstatusesResourceApi", () {
5375 unittest.test("method--custombatch", () { 5399 unittest.test("method--custombatch", () {
5376 5400
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
5512 5536
5513 }); 5537 });
5514 5538
5515 5539
5516 unittest.group("resource-InventoryResourceApi", () { 5540 unittest.group("resource-InventoryResourceApi", () {
5517 unittest.test("method--custombatch", () { 5541 unittest.test("method--custombatch", () {
5518 5542
5519 var mock = new HttpServerMock(); 5543 var mock = new HttpServerMock();
5520 api.InventoryResourceApi res = new api.ContentApi(mock).inventory; 5544 api.InventoryResourceApi res = new api.ContentApi(mock).inventory;
5521 var arg_request = buildInventoryCustomBatchRequest(); 5545 var arg_request = buildInventoryCustomBatchRequest();
5546 var arg_dryRun = true;
5522 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5547 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5523 var obj = new api.InventoryCustomBatchRequest.fromJson(json); 5548 var obj = new api.InventoryCustomBatchRequest.fromJson(json);
5524 checkInventoryCustomBatchRequest(obj); 5549 checkInventoryCustomBatchRequest(obj);
5525 5550
5526 var path = (req.url).path; 5551 var path = (req.url).path;
5527 var pathOffset = 0; 5552 var pathOffset = 0;
5528 var index; 5553 var index;
5529 var subPart; 5554 var subPart;
5530 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5555 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5531 pathOffset += 1; 5556 pathOffset += 1;
(...skipping 11 matching lines...) Expand all
5543 if (n == "false") return false; 5568 if (n == "false") return false;
5544 if (n == null) return null; 5569 if (n == null) return null;
5545 throw new core.ArgumentError("Invalid boolean: $n"); 5570 throw new core.ArgumentError("Invalid boolean: $n");
5546 } 5571 }
5547 if (query.length > 0) { 5572 if (query.length > 0) {
5548 for (var part in query.split("&")) { 5573 for (var part in query.split("&")) {
5549 var keyvalue = part.split("="); 5574 var keyvalue = part.split("=");
5550 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5575 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5551 } 5576 }
5552 } 5577 }
5578 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
5553 5579
5554 5580
5555 var h = { 5581 var h = {
5556 "content-type" : "application/json; charset=utf-8", 5582 "content-type" : "application/json; charset=utf-8",
5557 }; 5583 };
5558 var resp = convert.JSON.encode(buildInventoryCustomBatchResponse()); 5584 var resp = convert.JSON.encode(buildInventoryCustomBatchResponse());
5559 return new async.Future.value(stringResponse(200, h, resp)); 5585 return new async.Future.value(stringResponse(200, h, resp));
5560 }), true); 5586 }), true);
5561 res.custombatch(arg_request).then(unittest.expectAsync(((api.InventoryCust omBatchResponse response) { 5587 res.custombatch(arg_request, dryRun: arg_dryRun).then(unittest.expectAsync (((api.InventoryCustomBatchResponse response) {
5562 checkInventoryCustomBatchResponse(response); 5588 checkInventoryCustomBatchResponse(response);
5563 }))); 5589 })));
5564 }); 5590 });
5565 5591
5566 unittest.test("method--set", () { 5592 unittest.test("method--set", () {
5567 5593
5568 var mock = new HttpServerMock(); 5594 var mock = new HttpServerMock();
5569 api.InventoryResourceApi res = new api.ContentApi(mock).inventory; 5595 api.InventoryResourceApi res = new api.ContentApi(mock).inventory;
5570 var arg_request = buildInventorySetRequest(); 5596 var arg_request = buildInventorySetRequest();
5571 var arg_merchantId = "foo"; 5597 var arg_merchantId = "foo";
5572 var arg_storeCode = "foo"; 5598 var arg_storeCode = "foo";
5573 var arg_productId = "foo"; 5599 var arg_productId = "foo";
5600 var arg_dryRun = true;
5574 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5601 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5575 var obj = new api.InventorySetRequest.fromJson(json); 5602 var obj = new api.InventorySetRequest.fromJson(json);
5576 checkInventorySetRequest(obj); 5603 checkInventorySetRequest(obj);
5577 5604
5578 var path = (req.url).path; 5605 var path = (req.url).path;
5579 var pathOffset = 0; 5606 var pathOffset = 0;
5580 var index; 5607 var index;
5581 var subPart; 5608 var subPart;
5582 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5609 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5583 pathOffset += 1; 5610 pathOffset += 1;
5584 5611
5585 var query = (req.url).query; 5612 var query = (req.url).query;
5586 var queryOffset = 0; 5613 var queryOffset = 0;
5587 var queryMap = {}; 5614 var queryMap = {};
5588 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 5615 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5589 parseBool(n) { 5616 parseBool(n) {
5590 if (n == "true") return true; 5617 if (n == "true") return true;
5591 if (n == "false") return false; 5618 if (n == "false") return false;
5592 if (n == null) return null; 5619 if (n == null) return null;
5593 throw new core.ArgumentError("Invalid boolean: $n"); 5620 throw new core.ArgumentError("Invalid boolean: $n");
5594 } 5621 }
5595 if (query.length > 0) { 5622 if (query.length > 0) {
5596 for (var part in query.split("&")) { 5623 for (var part in query.split("&")) {
5597 var keyvalue = part.split("="); 5624 var keyvalue = part.split("=");
5598 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5625 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5599 } 5626 }
5600 } 5627 }
5628 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun") );
5601 5629
5602 5630
5603 var h = { 5631 var h = {
5604 "content-type" : "application/json; charset=utf-8", 5632 "content-type" : "application/json; charset=utf-8",
5605 }; 5633 };
5606 var resp = convert.JSON.encode(buildInventorySetResponse()); 5634 var resp = convert.JSON.encode(buildInventorySetResponse());
5607 return new async.Future.value(stringResponse(200, h, resp)); 5635 return new async.Future.value(stringResponse(200, h, resp));
5608 }), true); 5636 }), true);
5609 res.set(arg_request, arg_merchantId, arg_storeCode, arg_productId).then(un ittest.expectAsync(((api.InventorySetResponse response) { 5637 res.set(arg_request, arg_merchantId, arg_storeCode, arg_productId, dryRun: arg_dryRun).then(unittest.expectAsync(((api.InventorySetResponse response) {
5610 checkInventorySetResponse(response); 5638 checkInventorySetResponse(response);
5611 }))); 5639 })));
5612 }); 5640 });
5613 5641
5614 }); 5642 });
5615 5643
5616 5644
5617 unittest.group("resource-ProductsResourceApi", () { 5645 unittest.group("resource-ProductsResourceApi", () {
5618 unittest.test("method--custombatch", () { 5646 unittest.test("method--custombatch", () {
5619 5647
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
5986 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo ken).then(unittest.expectAsync(((api.ProductstatusesListResponse response) { 6014 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo ken).then(unittest.expectAsync(((api.ProductstatusesListResponse response) {
5987 checkProductstatusesListResponse(response); 6015 checkProductstatusesListResponse(response);
5988 }))); 6016 })));
5989 }); 6017 });
5990 6018
5991 }); 6019 });
5992 6020
5993 6021
5994 } 6022 }
5995 6023
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698