OLD | NEW |
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 Loading... |
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 buildUnnamed275() { | 54 buildUnnamed273() { |
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 checkUnnamed275(core.List<api.AccountAdwordsLink> o) { | 61 checkUnnamed273(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 buildUnnamed276() { | 67 buildUnnamed274() { |
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 checkUnnamed276(core.List<api.AccountUser> o) { | 74 checkUnnamed274(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 = buildUnnamed275(); | 86 o.adwordsLinks = buildUnnamed273(); |
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 = buildUnnamed276(); | 92 o.users = buildUnnamed274(); |
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 checkUnnamed275(o.adwordsLinks); | 103 checkUnnamed273(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 checkUnnamed276(o.users); | 109 checkUnnamed274(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 Loading... |
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 buildUnnamed277() { | 157 buildUnnamed275() { |
158 var o = new core.List<api.AccountShippingCarrierRate>(); | |
159 o.add(buildAccountShippingCarrierRate()); | |
160 o.add(buildAccountShippingCarrierRate()); | |
161 return o; | |
162 } | |
163 | |
164 checkUnnamed277(core.List<api.AccountShippingCarrierRate> o) { | |
165 unittest.expect(o, unittest.hasLength(2)); | |
166 checkAccountShippingCarrierRate(o[0]); | |
167 checkAccountShippingCarrierRate(o[1]); | |
168 } | |
169 | |
170 buildUnnamed278() { | |
171 var o = new core.List<api.AccountShippingLocationGroup>(); | |
172 o.add(buildAccountShippingLocationGroup()); | |
173 o.add(buildAccountShippingLocationGroup()); | |
174 return o; | |
175 } | |
176 | |
177 checkUnnamed278(core.List<api.AccountShippingLocationGroup> o) { | |
178 unittest.expect(o, unittest.hasLength(2)); | |
179 checkAccountShippingLocationGroup(o[0]); | |
180 checkAccountShippingLocationGroup(o[1]); | |
181 } | |
182 | |
183 buildUnnamed279() { | |
184 var o = new core.List<api.AccountShippingRateTable>(); | |
185 o.add(buildAccountShippingRateTable()); | |
186 o.add(buildAccountShippingRateTable()); | |
187 return o; | |
188 } | |
189 | |
190 checkUnnamed279(core.List<api.AccountShippingRateTable> o) { | |
191 unittest.expect(o, unittest.hasLength(2)); | |
192 checkAccountShippingRateTable(o[0]); | |
193 checkAccountShippingRateTable(o[1]); | |
194 } | |
195 | |
196 buildUnnamed280() { | |
197 var o = new core.List<api.AccountShippingShippingService>(); | |
198 o.add(buildAccountShippingShippingService()); | |
199 o.add(buildAccountShippingShippingService()); | |
200 return o; | |
201 } | |
202 | |
203 checkUnnamed280(core.List<api.AccountShippingShippingService> o) { | |
204 unittest.expect(o, unittest.hasLength(2)); | |
205 checkAccountShippingShippingService(o[0]); | |
206 checkAccountShippingShippingService(o[1]); | |
207 } | |
208 | |
209 core.int buildCounterAccountShipping = 0; | |
210 buildAccountShipping() { | |
211 var o = new api.AccountShipping(); | |
212 buildCounterAccountShipping++; | |
213 if (buildCounterAccountShipping < 3) { | |
214 o.accountId = "foo"; | |
215 o.carrierRates = buildUnnamed277(); | |
216 o.kind = "foo"; | |
217 o.locationGroups = buildUnnamed278(); | |
218 o.rateTables = buildUnnamed279(); | |
219 o.services = buildUnnamed280(); | |
220 } | |
221 buildCounterAccountShipping--; | |
222 return o; | |
223 } | |
224 | |
225 checkAccountShipping(api.AccountShipping o) { | |
226 buildCounterAccountShipping++; | |
227 if (buildCounterAccountShipping < 3) { | |
228 unittest.expect(o.accountId, unittest.equals('foo')); | |
229 checkUnnamed277(o.carrierRates); | |
230 unittest.expect(o.kind, unittest.equals('foo')); | |
231 checkUnnamed278(o.locationGroups); | |
232 checkUnnamed279(o.rateTables); | |
233 checkUnnamed280(o.services); | |
234 } | |
235 buildCounterAccountShipping--; | |
236 } | |
237 | |
238 core.int buildCounterAccountShippingCarrierRate = 0; | |
239 buildAccountShippingCarrierRate() { | |
240 var o = new api.AccountShippingCarrierRate(); | |
241 buildCounterAccountShippingCarrierRate++; | |
242 if (buildCounterAccountShippingCarrierRate < 3) { | |
243 o.carrier = "foo"; | |
244 o.carrierService = "foo"; | |
245 o.modifierFlatRate = buildPrice(); | |
246 o.modifierPercent = "foo"; | |
247 o.name = "foo"; | |
248 o.saleCountry = "foo"; | |
249 o.shippingOrigin = "foo"; | |
250 } | |
251 buildCounterAccountShippingCarrierRate--; | |
252 return o; | |
253 } | |
254 | |
255 checkAccountShippingCarrierRate(api.AccountShippingCarrierRate o) { | |
256 buildCounterAccountShippingCarrierRate++; | |
257 if (buildCounterAccountShippingCarrierRate < 3) { | |
258 unittest.expect(o.carrier, unittest.equals('foo')); | |
259 unittest.expect(o.carrierService, unittest.equals('foo')); | |
260 checkPrice(o.modifierFlatRate); | |
261 unittest.expect(o.modifierPercent, unittest.equals('foo')); | |
262 unittest.expect(o.name, unittest.equals('foo')); | |
263 unittest.expect(o.saleCountry, unittest.equals('foo')); | |
264 unittest.expect(o.shippingOrigin, unittest.equals('foo')); | |
265 } | |
266 buildCounterAccountShippingCarrierRate--; | |
267 } | |
268 | |
269 core.int buildCounterAccountShippingCondition = 0; | |
270 buildAccountShippingCondition() { | |
271 var o = new api.AccountShippingCondition(); | |
272 buildCounterAccountShippingCondition++; | |
273 if (buildCounterAccountShippingCondition < 3) { | |
274 o.deliveryLocationGroup = "foo"; | |
275 o.deliveryLocationId = "foo"; | |
276 o.deliveryPostalCode = "foo"; | |
277 o.deliveryPostalCodeRange = buildAccountShippingPostalCodeRange(); | |
278 o.priceMax = buildPrice(); | |
279 o.shippingLabel = "foo"; | |
280 o.weightMax = buildWeight(); | |
281 } | |
282 buildCounterAccountShippingCondition--; | |
283 return o; | |
284 } | |
285 | |
286 checkAccountShippingCondition(api.AccountShippingCondition o) { | |
287 buildCounterAccountShippingCondition++; | |
288 if (buildCounterAccountShippingCondition < 3) { | |
289 unittest.expect(o.deliveryLocationGroup, unittest.equals('foo')); | |
290 unittest.expect(o.deliveryLocationId, unittest.equals('foo')); | |
291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo')); | |
292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange); | |
293 checkPrice(o.priceMax); | |
294 unittest.expect(o.shippingLabel, unittest.equals('foo')); | |
295 checkWeight(o.weightMax); | |
296 } | |
297 buildCounterAccountShippingCondition--; | |
298 } | |
299 | |
300 buildUnnamed281() { | |
301 var o = new core.List<core.String>(); | |
302 o.add("foo"); | |
303 o.add("foo"); | |
304 return o; | |
305 } | |
306 | |
307 checkUnnamed281(core.List<core.String> o) { | |
308 unittest.expect(o, unittest.hasLength(2)); | |
309 unittest.expect(o[0], unittest.equals('foo')); | |
310 unittest.expect(o[1], unittest.equals('foo')); | |
311 } | |
312 | |
313 buildUnnamed282() { | |
314 var o = new core.List<api.AccountShippingPostalCodeRange>(); | |
315 o.add(buildAccountShippingPostalCodeRange()); | |
316 o.add(buildAccountShippingPostalCodeRange()); | |
317 return o; | |
318 } | |
319 | |
320 checkUnnamed282(core.List<api.AccountShippingPostalCodeRange> o) { | |
321 unittest.expect(o, unittest.hasLength(2)); | |
322 checkAccountShippingPostalCodeRange(o[0]); | |
323 checkAccountShippingPostalCodeRange(o[1]); | |
324 } | |
325 | |
326 buildUnnamed283() { | |
327 var o = new core.List<core.String>(); | |
328 o.add("foo"); | |
329 o.add("foo"); | |
330 return o; | |
331 } | |
332 | |
333 checkUnnamed283(core.List<core.String> o) { | |
334 unittest.expect(o, unittest.hasLength(2)); | |
335 unittest.expect(o[0], unittest.equals('foo')); | |
336 unittest.expect(o[1], unittest.equals('foo')); | |
337 } | |
338 | |
339 core.int buildCounterAccountShippingLocationGroup = 0; | |
340 buildAccountShippingLocationGroup() { | |
341 var o = new api.AccountShippingLocationGroup(); | |
342 buildCounterAccountShippingLocationGroup++; | |
343 if (buildCounterAccountShippingLocationGroup < 3) { | |
344 o.country = "foo"; | |
345 o.locationIds = buildUnnamed281(); | |
346 o.name = "foo"; | |
347 o.postalCodeRanges = buildUnnamed282(); | |
348 o.postalCodes = buildUnnamed283(); | |
349 } | |
350 buildCounterAccountShippingLocationGroup--; | |
351 return o; | |
352 } | |
353 | |
354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) { | |
355 buildCounterAccountShippingLocationGroup++; | |
356 if (buildCounterAccountShippingLocationGroup < 3) { | |
357 unittest.expect(o.country, unittest.equals('foo')); | |
358 checkUnnamed281(o.locationIds); | |
359 unittest.expect(o.name, unittest.equals('foo')); | |
360 checkUnnamed282(o.postalCodeRanges); | |
361 checkUnnamed283(o.postalCodes); | |
362 } | |
363 buildCounterAccountShippingLocationGroup--; | |
364 } | |
365 | |
366 core.int buildCounterAccountShippingPostalCodeRange = 0; | |
367 buildAccountShippingPostalCodeRange() { | |
368 var o = new api.AccountShippingPostalCodeRange(); | |
369 buildCounterAccountShippingPostalCodeRange++; | |
370 if (buildCounterAccountShippingPostalCodeRange < 3) { | |
371 o.end = "foo"; | |
372 o.start = "foo"; | |
373 } | |
374 buildCounterAccountShippingPostalCodeRange--; | |
375 return o; | |
376 } | |
377 | |
378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) { | |
379 buildCounterAccountShippingPostalCodeRange++; | |
380 if (buildCounterAccountShippingPostalCodeRange < 3) { | |
381 unittest.expect(o.end, unittest.equals('foo')); | |
382 unittest.expect(o.start, unittest.equals('foo')); | |
383 } | |
384 buildCounterAccountShippingPostalCodeRange--; | |
385 } | |
386 | |
387 buildUnnamed284() { | |
388 var o = new core.List<api.AccountShippingRateTableCell>(); | |
389 o.add(buildAccountShippingRateTableCell()); | |
390 o.add(buildAccountShippingRateTableCell()); | |
391 return o; | |
392 } | |
393 | |
394 checkUnnamed284(core.List<api.AccountShippingRateTableCell> o) { | |
395 unittest.expect(o, unittest.hasLength(2)); | |
396 checkAccountShippingRateTableCell(o[0]); | |
397 checkAccountShippingRateTableCell(o[1]); | |
398 } | |
399 | |
400 core.int buildCounterAccountShippingRateTable = 0; | |
401 buildAccountShippingRateTable() { | |
402 var o = new api.AccountShippingRateTable(); | |
403 buildCounterAccountShippingRateTable++; | |
404 if (buildCounterAccountShippingRateTable < 3) { | |
405 o.content = buildUnnamed284(); | |
406 o.name = "foo"; | |
407 o.saleCountry = "foo"; | |
408 } | |
409 buildCounterAccountShippingRateTable--; | |
410 return o; | |
411 } | |
412 | |
413 checkAccountShippingRateTable(api.AccountShippingRateTable o) { | |
414 buildCounterAccountShippingRateTable++; | |
415 if (buildCounterAccountShippingRateTable < 3) { | |
416 checkUnnamed284(o.content); | |
417 unittest.expect(o.name, unittest.equals('foo')); | |
418 unittest.expect(o.saleCountry, unittest.equals('foo')); | |
419 } | |
420 buildCounterAccountShippingRateTable--; | |
421 } | |
422 | |
423 core.int buildCounterAccountShippingRateTableCell = 0; | |
424 buildAccountShippingRateTableCell() { | |
425 var o = new api.AccountShippingRateTableCell(); | |
426 buildCounterAccountShippingRateTableCell++; | |
427 if (buildCounterAccountShippingRateTableCell < 3) { | |
428 o.condition = buildAccountShippingCondition(); | |
429 o.rate = buildPrice(); | |
430 } | |
431 buildCounterAccountShippingRateTableCell--; | |
432 return o; | |
433 } | |
434 | |
435 checkAccountShippingRateTableCell(api.AccountShippingRateTableCell o) { | |
436 buildCounterAccountShippingRateTableCell++; | |
437 if (buildCounterAccountShippingRateTableCell < 3) { | |
438 checkAccountShippingCondition(o.condition); | |
439 checkPrice(o.rate); | |
440 } | |
441 buildCounterAccountShippingRateTableCell--; | |
442 } | |
443 | |
444 core.int buildCounterAccountShippingShippingService = 0; | |
445 buildAccountShippingShippingService() { | |
446 var o = new api.AccountShippingShippingService(); | |
447 buildCounterAccountShippingShippingService++; | |
448 if (buildCounterAccountShippingShippingService < 3) { | |
449 o.active = true; | |
450 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; | |
451 o.costRuleTree = buildAccountShippingShippingServiceCostRule(); | |
452 o.maxDaysInTransit = "foo"; | |
453 o.minDaysInTransit = "foo"; | |
454 o.name = "foo"; | |
455 o.saleCountry = "foo"; | |
456 } | |
457 buildCounterAccountShippingShippingService--; | |
458 return o; | |
459 } | |
460 | |
461 checkAccountShippingShippingService(api.AccountShippingShippingService o) { | |
462 buildCounterAccountShippingShippingService++; | |
463 if (buildCounterAccountShippingShippingService < 3) { | |
464 unittest.expect(o.active, unittest.isTrue); | |
465 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); | |
466 checkAccountShippingShippingServiceCostRule(o.costRuleTree); | |
467 unittest.expect(o.maxDaysInTransit, unittest.equals('foo')); | |
468 unittest.expect(o.minDaysInTransit, unittest.equals('foo')); | |
469 unittest.expect(o.name, unittest.equals('foo')); | |
470 unittest.expect(o.saleCountry, unittest.equals('foo')); | |
471 } | |
472 buildCounterAccountShippingShippingService--; | |
473 } | |
474 | |
475 core.int buildCounterAccountShippingShippingServiceCalculationMethod = 0; | |
476 buildAccountShippingShippingServiceCalculationMethod() { | |
477 var o = new api.AccountShippingShippingServiceCalculationMethod(); | |
478 buildCounterAccountShippingShippingServiceCalculationMethod++; | |
479 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { | |
480 o.carrierRate = "foo"; | |
481 o.excluded = true; | |
482 o.flatRate = buildPrice(); | |
483 o.percentageRate = "foo"; | |
484 o.rateTable = "foo"; | |
485 } | |
486 buildCounterAccountShippingShippingServiceCalculationMethod--; | |
487 return o; | |
488 } | |
489 | |
490 checkAccountShippingShippingServiceCalculationMethod(api.AccountShippingShipping
ServiceCalculationMethod o) { | |
491 buildCounterAccountShippingShippingServiceCalculationMethod++; | |
492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { | |
493 unittest.expect(o.carrierRate, unittest.equals('foo')); | |
494 unittest.expect(o.excluded, unittest.isTrue); | |
495 checkPrice(o.flatRate); | |
496 unittest.expect(o.percentageRate, unittest.equals('foo')); | |
497 unittest.expect(o.rateTable, unittest.equals('foo')); | |
498 } | |
499 buildCounterAccountShippingShippingServiceCalculationMethod--; | |
500 } | |
501 | |
502 buildUnnamed285() { | |
503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); | |
504 o.add(buildAccountShippingShippingServiceCostRule()); | |
505 o.add(buildAccountShippingShippingServiceCostRule()); | |
506 return o; | |
507 } | |
508 | |
509 checkUnnamed285(core.List<api.AccountShippingShippingServiceCostRule> o) { | |
510 unittest.expect(o, unittest.hasLength(2)); | |
511 checkAccountShippingShippingServiceCostRule(o[0]); | |
512 checkAccountShippingShippingServiceCostRule(o[1]); | |
513 } | |
514 | |
515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; | |
516 buildAccountShippingShippingServiceCostRule() { | |
517 var o = new api.AccountShippingShippingServiceCostRule(); | |
518 buildCounterAccountShippingShippingServiceCostRule++; | |
519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | |
520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; | |
521 o.children = buildUnnamed285(); | |
522 o.condition = buildAccountShippingCondition(); | |
523 } | |
524 buildCounterAccountShippingShippingServiceCostRule--; | |
525 return o; | |
526 } | |
527 | |
528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { | |
529 buildCounterAccountShippingShippingServiceCostRule++; | |
530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | |
531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); | |
532 checkUnnamed285(o.children); | |
533 checkAccountShippingCondition(o.condition); | |
534 } | |
535 buildCounterAccountShippingShippingServiceCostRule--; | |
536 } | |
537 | |
538 buildUnnamed286() { | |
539 var o = new core.List<api.AccountStatusDataQualityIssue>(); | 158 var o = new core.List<api.AccountStatusDataQualityIssue>(); |
540 o.add(buildAccountStatusDataQualityIssue()); | 159 o.add(buildAccountStatusDataQualityIssue()); |
541 o.add(buildAccountStatusDataQualityIssue()); | 160 o.add(buildAccountStatusDataQualityIssue()); |
542 return o; | 161 return o; |
543 } | 162 } |
544 | 163 |
545 checkUnnamed286(core.List<api.AccountStatusDataQualityIssue> o) { | 164 checkUnnamed275(core.List<api.AccountStatusDataQualityIssue> o) { |
546 unittest.expect(o, unittest.hasLength(2)); | 165 unittest.expect(o, unittest.hasLength(2)); |
547 checkAccountStatusDataQualityIssue(o[0]); | 166 checkAccountStatusDataQualityIssue(o[0]); |
548 checkAccountStatusDataQualityIssue(o[1]); | 167 checkAccountStatusDataQualityIssue(o[1]); |
549 } | 168 } |
550 | 169 |
551 core.int buildCounterAccountStatus = 0; | 170 core.int buildCounterAccountStatus = 0; |
552 buildAccountStatus() { | 171 buildAccountStatus() { |
553 var o = new api.AccountStatus(); | 172 var o = new api.AccountStatus(); |
554 buildCounterAccountStatus++; | 173 buildCounterAccountStatus++; |
555 if (buildCounterAccountStatus < 3) { | 174 if (buildCounterAccountStatus < 3) { |
556 o.accountId = "foo"; | 175 o.accountId = "foo"; |
557 o.dataQualityIssues = buildUnnamed286(); | 176 o.dataQualityIssues = buildUnnamed275(); |
558 o.kind = "foo"; | 177 o.kind = "foo"; |
559 } | 178 } |
560 buildCounterAccountStatus--; | 179 buildCounterAccountStatus--; |
561 return o; | 180 return o; |
562 } | 181 } |
563 | 182 |
564 checkAccountStatus(api.AccountStatus o) { | 183 checkAccountStatus(api.AccountStatus o) { |
565 buildCounterAccountStatus++; | 184 buildCounterAccountStatus++; |
566 if (buildCounterAccountStatus < 3) { | 185 if (buildCounterAccountStatus < 3) { |
567 unittest.expect(o.accountId, unittest.equals('foo')); | 186 unittest.expect(o.accountId, unittest.equals('foo')); |
568 checkUnnamed286(o.dataQualityIssues); | 187 checkUnnamed275(o.dataQualityIssues); |
569 unittest.expect(o.kind, unittest.equals('foo')); | 188 unittest.expect(o.kind, unittest.equals('foo')); |
570 } | 189 } |
571 buildCounterAccountStatus--; | 190 buildCounterAccountStatus--; |
572 } | 191 } |
573 | 192 |
574 buildUnnamed287() { | 193 buildUnnamed276() { |
575 var o = new core.List<api.AccountStatusExampleItem>(); | 194 var o = new core.List<api.AccountStatusExampleItem>(); |
576 o.add(buildAccountStatusExampleItem()); | 195 o.add(buildAccountStatusExampleItem()); |
577 o.add(buildAccountStatusExampleItem()); | 196 o.add(buildAccountStatusExampleItem()); |
578 return o; | 197 return o; |
579 } | 198 } |
580 | 199 |
581 checkUnnamed287(core.List<api.AccountStatusExampleItem> o) { | 200 checkUnnamed276(core.List<api.AccountStatusExampleItem> o) { |
582 unittest.expect(o, unittest.hasLength(2)); | 201 unittest.expect(o, unittest.hasLength(2)); |
583 checkAccountStatusExampleItem(o[0]); | 202 checkAccountStatusExampleItem(o[0]); |
584 checkAccountStatusExampleItem(o[1]); | 203 checkAccountStatusExampleItem(o[1]); |
585 } | 204 } |
586 | 205 |
587 core.int buildCounterAccountStatusDataQualityIssue = 0; | 206 core.int buildCounterAccountStatusDataQualityIssue = 0; |
588 buildAccountStatusDataQualityIssue() { | 207 buildAccountStatusDataQualityIssue() { |
589 var o = new api.AccountStatusDataQualityIssue(); | 208 var o = new api.AccountStatusDataQualityIssue(); |
590 buildCounterAccountStatusDataQualityIssue++; | 209 buildCounterAccountStatusDataQualityIssue++; |
591 if (buildCounterAccountStatusDataQualityIssue < 3) { | 210 if (buildCounterAccountStatusDataQualityIssue < 3) { |
592 o.country = "foo"; | 211 o.country = "foo"; |
593 o.detail = "foo"; | 212 o.detail = "foo"; |
594 o.displayedValue = "foo"; | 213 o.displayedValue = "foo"; |
595 o.exampleItems = buildUnnamed287(); | 214 o.exampleItems = buildUnnamed276(); |
596 o.id = "foo"; | 215 o.id = "foo"; |
597 o.lastChecked = "foo"; | 216 o.lastChecked = "foo"; |
598 o.location = "foo"; | 217 o.location = "foo"; |
599 o.numItems = 42; | 218 o.numItems = 42; |
600 o.severity = "foo"; | 219 o.severity = "foo"; |
601 o.submittedValue = "foo"; | 220 o.submittedValue = "foo"; |
602 } | 221 } |
603 buildCounterAccountStatusDataQualityIssue--; | 222 buildCounterAccountStatusDataQualityIssue--; |
604 return o; | 223 return o; |
605 } | 224 } |
606 | 225 |
607 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { | 226 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { |
608 buildCounterAccountStatusDataQualityIssue++; | 227 buildCounterAccountStatusDataQualityIssue++; |
609 if (buildCounterAccountStatusDataQualityIssue < 3) { | 228 if (buildCounterAccountStatusDataQualityIssue < 3) { |
610 unittest.expect(o.country, unittest.equals('foo')); | 229 unittest.expect(o.country, unittest.equals('foo')); |
611 unittest.expect(o.detail, unittest.equals('foo')); | 230 unittest.expect(o.detail, unittest.equals('foo')); |
612 unittest.expect(o.displayedValue, unittest.equals('foo')); | 231 unittest.expect(o.displayedValue, unittest.equals('foo')); |
613 checkUnnamed287(o.exampleItems); | 232 checkUnnamed276(o.exampleItems); |
614 unittest.expect(o.id, unittest.equals('foo')); | 233 unittest.expect(o.id, unittest.equals('foo')); |
615 unittest.expect(o.lastChecked, unittest.equals('foo')); | 234 unittest.expect(o.lastChecked, unittest.equals('foo')); |
616 unittest.expect(o.location, unittest.equals('foo')); | 235 unittest.expect(o.location, unittest.equals('foo')); |
617 unittest.expect(o.numItems, unittest.equals(42)); | 236 unittest.expect(o.numItems, unittest.equals(42)); |
618 unittest.expect(o.severity, unittest.equals('foo')); | 237 unittest.expect(o.severity, unittest.equals('foo')); |
619 unittest.expect(o.submittedValue, unittest.equals('foo')); | 238 unittest.expect(o.submittedValue, unittest.equals('foo')); |
620 } | 239 } |
621 buildCounterAccountStatusDataQualityIssue--; | 240 buildCounterAccountStatusDataQualityIssue--; |
622 } | 241 } |
623 | 242 |
(...skipping 17 matching lines...) Expand all Loading... |
641 if (buildCounterAccountStatusExampleItem < 3) { | 260 if (buildCounterAccountStatusExampleItem < 3) { |
642 unittest.expect(o.itemId, unittest.equals('foo')); | 261 unittest.expect(o.itemId, unittest.equals('foo')); |
643 unittest.expect(o.link, unittest.equals('foo')); | 262 unittest.expect(o.link, unittest.equals('foo')); |
644 unittest.expect(o.submittedValue, unittest.equals('foo')); | 263 unittest.expect(o.submittedValue, unittest.equals('foo')); |
645 unittest.expect(o.title, unittest.equals('foo')); | 264 unittest.expect(o.title, unittest.equals('foo')); |
646 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); | 265 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); |
647 } | 266 } |
648 buildCounterAccountStatusExampleItem--; | 267 buildCounterAccountStatusExampleItem--; |
649 } | 268 } |
650 | 269 |
651 buildUnnamed288() { | 270 buildUnnamed277() { |
652 var o = new core.List<api.AccountTaxTaxRule>(); | 271 var o = new core.List<api.AccountTaxTaxRule>(); |
653 o.add(buildAccountTaxTaxRule()); | 272 o.add(buildAccountTaxTaxRule()); |
654 o.add(buildAccountTaxTaxRule()); | 273 o.add(buildAccountTaxTaxRule()); |
655 return o; | 274 return o; |
656 } | 275 } |
657 | 276 |
658 checkUnnamed288(core.List<api.AccountTaxTaxRule> o) { | 277 checkUnnamed277(core.List<api.AccountTaxTaxRule> o) { |
659 unittest.expect(o, unittest.hasLength(2)); | 278 unittest.expect(o, unittest.hasLength(2)); |
660 checkAccountTaxTaxRule(o[0]); | 279 checkAccountTaxTaxRule(o[0]); |
661 checkAccountTaxTaxRule(o[1]); | 280 checkAccountTaxTaxRule(o[1]); |
662 } | 281 } |
663 | 282 |
664 core.int buildCounterAccountTax = 0; | 283 core.int buildCounterAccountTax = 0; |
665 buildAccountTax() { | 284 buildAccountTax() { |
666 var o = new api.AccountTax(); | 285 var o = new api.AccountTax(); |
667 buildCounterAccountTax++; | 286 buildCounterAccountTax++; |
668 if (buildCounterAccountTax < 3) { | 287 if (buildCounterAccountTax < 3) { |
669 o.accountId = "foo"; | 288 o.accountId = "foo"; |
670 o.kind = "foo"; | 289 o.kind = "foo"; |
671 o.rules = buildUnnamed288(); | 290 o.rules = buildUnnamed277(); |
672 } | 291 } |
673 buildCounterAccountTax--; | 292 buildCounterAccountTax--; |
674 return o; | 293 return o; |
675 } | 294 } |
676 | 295 |
677 checkAccountTax(api.AccountTax o) { | 296 checkAccountTax(api.AccountTax o) { |
678 buildCounterAccountTax++; | 297 buildCounterAccountTax++; |
679 if (buildCounterAccountTax < 3) { | 298 if (buildCounterAccountTax < 3) { |
680 unittest.expect(o.accountId, unittest.equals('foo')); | 299 unittest.expect(o.accountId, unittest.equals('foo')); |
681 unittest.expect(o.kind, unittest.equals('foo')); | 300 unittest.expect(o.kind, unittest.equals('foo')); |
682 checkUnnamed288(o.rules); | 301 checkUnnamed277(o.rules); |
683 } | 302 } |
684 buildCounterAccountTax--; | 303 buildCounterAccountTax--; |
685 } | 304 } |
686 | 305 |
687 core.int buildCounterAccountTaxTaxRule = 0; | 306 core.int buildCounterAccountTaxTaxRule = 0; |
688 buildAccountTaxTaxRule() { | 307 buildAccountTaxTaxRule() { |
689 var o = new api.AccountTaxTaxRule(); | 308 var o = new api.AccountTaxTaxRule(); |
690 buildCounterAccountTaxTaxRule++; | 309 buildCounterAccountTaxTaxRule++; |
691 if (buildCounterAccountTaxTaxRule < 3) { | 310 if (buildCounterAccountTaxTaxRule < 3) { |
692 o.country = "foo"; | 311 o.country = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 | 344 |
726 checkAccountUser(api.AccountUser o) { | 345 checkAccountUser(api.AccountUser o) { |
727 buildCounterAccountUser++; | 346 buildCounterAccountUser++; |
728 if (buildCounterAccountUser < 3) { | 347 if (buildCounterAccountUser < 3) { |
729 unittest.expect(o.admin, unittest.isTrue); | 348 unittest.expect(o.admin, unittest.isTrue); |
730 unittest.expect(o.emailAddress, unittest.equals('foo')); | 349 unittest.expect(o.emailAddress, unittest.equals('foo')); |
731 } | 350 } |
732 buildCounterAccountUser--; | 351 buildCounterAccountUser--; |
733 } | 352 } |
734 | 353 |
735 buildUnnamed289() { | 354 buildUnnamed278() { |
736 var o = new core.List<api.AccountIdentifier>(); | 355 var o = new core.List<api.AccountIdentifier>(); |
737 o.add(buildAccountIdentifier()); | 356 o.add(buildAccountIdentifier()); |
738 o.add(buildAccountIdentifier()); | 357 o.add(buildAccountIdentifier()); |
739 return o; | 358 return o; |
740 } | 359 } |
741 | 360 |
742 checkUnnamed289(core.List<api.AccountIdentifier> o) { | 361 checkUnnamed278(core.List<api.AccountIdentifier> o) { |
743 unittest.expect(o, unittest.hasLength(2)); | 362 unittest.expect(o, unittest.hasLength(2)); |
744 checkAccountIdentifier(o[0]); | 363 checkAccountIdentifier(o[0]); |
745 checkAccountIdentifier(o[1]); | 364 checkAccountIdentifier(o[1]); |
746 } | 365 } |
747 | 366 |
748 core.int buildCounterAccountsAuthInfoResponse = 0; | 367 core.int buildCounterAccountsAuthInfoResponse = 0; |
749 buildAccountsAuthInfoResponse() { | 368 buildAccountsAuthInfoResponse() { |
750 var o = new api.AccountsAuthInfoResponse(); | 369 var o = new api.AccountsAuthInfoResponse(); |
751 buildCounterAccountsAuthInfoResponse++; | 370 buildCounterAccountsAuthInfoResponse++; |
752 if (buildCounterAccountsAuthInfoResponse < 3) { | 371 if (buildCounterAccountsAuthInfoResponse < 3) { |
753 o.accountIdentifiers = buildUnnamed289(); | 372 o.accountIdentifiers = buildUnnamed278(); |
754 o.kind = "foo"; | 373 o.kind = "foo"; |
755 } | 374 } |
756 buildCounterAccountsAuthInfoResponse--; | 375 buildCounterAccountsAuthInfoResponse--; |
757 return o; | 376 return o; |
758 } | 377 } |
759 | 378 |
760 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { | 379 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { |
761 buildCounterAccountsAuthInfoResponse++; | 380 buildCounterAccountsAuthInfoResponse++; |
762 if (buildCounterAccountsAuthInfoResponse < 3) { | 381 if (buildCounterAccountsAuthInfoResponse < 3) { |
763 checkUnnamed289(o.accountIdentifiers); | 382 checkUnnamed278(o.accountIdentifiers); |
764 unittest.expect(o.kind, unittest.equals('foo')); | 383 unittest.expect(o.kind, unittest.equals('foo')); |
765 } | 384 } |
766 buildCounterAccountsAuthInfoResponse--; | 385 buildCounterAccountsAuthInfoResponse--; |
767 } | 386 } |
768 | 387 |
769 buildUnnamed290() { | 388 buildUnnamed279() { |
770 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); | 389 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); |
771 o.add(buildAccountsCustomBatchRequestEntry()); | 390 o.add(buildAccountsCustomBatchRequestEntry()); |
772 o.add(buildAccountsCustomBatchRequestEntry()); | 391 o.add(buildAccountsCustomBatchRequestEntry()); |
773 return o; | 392 return o; |
774 } | 393 } |
775 | 394 |
776 checkUnnamed290(core.List<api.AccountsCustomBatchRequestEntry> o) { | 395 checkUnnamed279(core.List<api.AccountsCustomBatchRequestEntry> o) { |
777 unittest.expect(o, unittest.hasLength(2)); | 396 unittest.expect(o, unittest.hasLength(2)); |
778 checkAccountsCustomBatchRequestEntry(o[0]); | 397 checkAccountsCustomBatchRequestEntry(o[0]); |
779 checkAccountsCustomBatchRequestEntry(o[1]); | 398 checkAccountsCustomBatchRequestEntry(o[1]); |
780 } | 399 } |
781 | 400 |
782 core.int buildCounterAccountsCustomBatchRequest = 0; | 401 core.int buildCounterAccountsCustomBatchRequest = 0; |
783 buildAccountsCustomBatchRequest() { | 402 buildAccountsCustomBatchRequest() { |
784 var o = new api.AccountsCustomBatchRequest(); | 403 var o = new api.AccountsCustomBatchRequest(); |
785 buildCounterAccountsCustomBatchRequest++; | 404 buildCounterAccountsCustomBatchRequest++; |
786 if (buildCounterAccountsCustomBatchRequest < 3) { | 405 if (buildCounterAccountsCustomBatchRequest < 3) { |
787 o.entries = buildUnnamed290(); | 406 o.entries = buildUnnamed279(); |
788 } | 407 } |
789 buildCounterAccountsCustomBatchRequest--; | 408 buildCounterAccountsCustomBatchRequest--; |
790 return o; | 409 return o; |
791 } | 410 } |
792 | 411 |
793 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { | 412 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { |
794 buildCounterAccountsCustomBatchRequest++; | 413 buildCounterAccountsCustomBatchRequest++; |
795 if (buildCounterAccountsCustomBatchRequest < 3) { | 414 if (buildCounterAccountsCustomBatchRequest < 3) { |
796 checkUnnamed290(o.entries); | 415 checkUnnamed279(o.entries); |
797 } | 416 } |
798 buildCounterAccountsCustomBatchRequest--; | 417 buildCounterAccountsCustomBatchRequest--; |
799 } | 418 } |
800 | 419 |
801 core.int buildCounterAccountsCustomBatchRequestEntry = 0; | 420 core.int buildCounterAccountsCustomBatchRequestEntry = 0; |
802 buildAccountsCustomBatchRequestEntry() { | 421 buildAccountsCustomBatchRequestEntry() { |
803 var o = new api.AccountsCustomBatchRequestEntry(); | 422 var o = new api.AccountsCustomBatchRequestEntry(); |
804 buildCounterAccountsCustomBatchRequestEntry++; | 423 buildCounterAccountsCustomBatchRequestEntry++; |
805 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 424 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
806 o.account = buildAccount(); | 425 o.account = buildAccount(); |
(...skipping 11 matching lines...) Expand all Loading... |
818 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 437 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
819 checkAccount(o.account); | 438 checkAccount(o.account); |
820 unittest.expect(o.accountId, unittest.equals('foo')); | 439 unittest.expect(o.accountId, unittest.equals('foo')); |
821 unittest.expect(o.batchId, unittest.equals(42)); | 440 unittest.expect(o.batchId, unittest.equals(42)); |
822 unittest.expect(o.merchantId, unittest.equals('foo')); | 441 unittest.expect(o.merchantId, unittest.equals('foo')); |
823 unittest.expect(o.method, unittest.equals('foo')); | 442 unittest.expect(o.method, unittest.equals('foo')); |
824 } | 443 } |
825 buildCounterAccountsCustomBatchRequestEntry--; | 444 buildCounterAccountsCustomBatchRequestEntry--; |
826 } | 445 } |
827 | 446 |
828 buildUnnamed291() { | 447 buildUnnamed280() { |
829 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); | 448 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); |
830 o.add(buildAccountsCustomBatchResponseEntry()); | 449 o.add(buildAccountsCustomBatchResponseEntry()); |
831 o.add(buildAccountsCustomBatchResponseEntry()); | 450 o.add(buildAccountsCustomBatchResponseEntry()); |
832 return o; | 451 return o; |
833 } | 452 } |
834 | 453 |
835 checkUnnamed291(core.List<api.AccountsCustomBatchResponseEntry> o) { | 454 checkUnnamed280(core.List<api.AccountsCustomBatchResponseEntry> o) { |
836 unittest.expect(o, unittest.hasLength(2)); | 455 unittest.expect(o, unittest.hasLength(2)); |
837 checkAccountsCustomBatchResponseEntry(o[0]); | 456 checkAccountsCustomBatchResponseEntry(o[0]); |
838 checkAccountsCustomBatchResponseEntry(o[1]); | 457 checkAccountsCustomBatchResponseEntry(o[1]); |
839 } | 458 } |
840 | 459 |
841 core.int buildCounterAccountsCustomBatchResponse = 0; | 460 core.int buildCounterAccountsCustomBatchResponse = 0; |
842 buildAccountsCustomBatchResponse() { | 461 buildAccountsCustomBatchResponse() { |
843 var o = new api.AccountsCustomBatchResponse(); | 462 var o = new api.AccountsCustomBatchResponse(); |
844 buildCounterAccountsCustomBatchResponse++; | 463 buildCounterAccountsCustomBatchResponse++; |
845 if (buildCounterAccountsCustomBatchResponse < 3) { | 464 if (buildCounterAccountsCustomBatchResponse < 3) { |
846 o.entries = buildUnnamed291(); | 465 o.entries = buildUnnamed280(); |
847 o.kind = "foo"; | 466 o.kind = "foo"; |
848 } | 467 } |
849 buildCounterAccountsCustomBatchResponse--; | 468 buildCounterAccountsCustomBatchResponse--; |
850 return o; | 469 return o; |
851 } | 470 } |
852 | 471 |
853 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { | 472 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { |
854 buildCounterAccountsCustomBatchResponse++; | 473 buildCounterAccountsCustomBatchResponse++; |
855 if (buildCounterAccountsCustomBatchResponse < 3) { | 474 if (buildCounterAccountsCustomBatchResponse < 3) { |
856 checkUnnamed291(o.entries); | 475 checkUnnamed280(o.entries); |
857 unittest.expect(o.kind, unittest.equals('foo')); | 476 unittest.expect(o.kind, unittest.equals('foo')); |
858 } | 477 } |
859 buildCounterAccountsCustomBatchResponse--; | 478 buildCounterAccountsCustomBatchResponse--; |
860 } | 479 } |
861 | 480 |
862 core.int buildCounterAccountsCustomBatchResponseEntry = 0; | 481 core.int buildCounterAccountsCustomBatchResponseEntry = 0; |
863 buildAccountsCustomBatchResponseEntry() { | 482 buildAccountsCustomBatchResponseEntry() { |
864 var o = new api.AccountsCustomBatchResponseEntry(); | 483 var o = new api.AccountsCustomBatchResponseEntry(); |
865 buildCounterAccountsCustomBatchResponseEntry++; | 484 buildCounterAccountsCustomBatchResponseEntry++; |
866 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 485 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
877 buildCounterAccountsCustomBatchResponseEntry++; | 496 buildCounterAccountsCustomBatchResponseEntry++; |
878 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 497 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
879 checkAccount(o.account); | 498 checkAccount(o.account); |
880 unittest.expect(o.batchId, unittest.equals(42)); | 499 unittest.expect(o.batchId, unittest.equals(42)); |
881 checkErrors(o.errors); | 500 checkErrors(o.errors); |
882 unittest.expect(o.kind, unittest.equals('foo')); | 501 unittest.expect(o.kind, unittest.equals('foo')); |
883 } | 502 } |
884 buildCounterAccountsCustomBatchResponseEntry--; | 503 buildCounterAccountsCustomBatchResponseEntry--; |
885 } | 504 } |
886 | 505 |
887 buildUnnamed292() { | 506 buildUnnamed281() { |
888 var o = new core.List<api.Account>(); | 507 var o = new core.List<api.Account>(); |
889 o.add(buildAccount()); | 508 o.add(buildAccount()); |
890 o.add(buildAccount()); | 509 o.add(buildAccount()); |
891 return o; | 510 return o; |
892 } | 511 } |
893 | 512 |
894 checkUnnamed292(core.List<api.Account> o) { | 513 checkUnnamed281(core.List<api.Account> o) { |
895 unittest.expect(o, unittest.hasLength(2)); | 514 unittest.expect(o, unittest.hasLength(2)); |
896 checkAccount(o[0]); | 515 checkAccount(o[0]); |
897 checkAccount(o[1]); | 516 checkAccount(o[1]); |
898 } | 517 } |
899 | 518 |
900 core.int buildCounterAccountsListResponse = 0; | 519 core.int buildCounterAccountsListResponse = 0; |
901 buildAccountsListResponse() { | 520 buildAccountsListResponse() { |
902 var o = new api.AccountsListResponse(); | 521 var o = new api.AccountsListResponse(); |
903 buildCounterAccountsListResponse++; | 522 buildCounterAccountsListResponse++; |
904 if (buildCounterAccountsListResponse < 3) { | 523 if (buildCounterAccountsListResponse < 3) { |
905 o.kind = "foo"; | 524 o.kind = "foo"; |
906 o.nextPageToken = "foo"; | 525 o.nextPageToken = "foo"; |
907 o.resources = buildUnnamed292(); | 526 o.resources = buildUnnamed281(); |
908 } | 527 } |
909 buildCounterAccountsListResponse--; | 528 buildCounterAccountsListResponse--; |
910 return o; | 529 return o; |
911 } | 530 } |
912 | 531 |
913 checkAccountsListResponse(api.AccountsListResponse o) { | 532 checkAccountsListResponse(api.AccountsListResponse o) { |
914 buildCounterAccountsListResponse++; | 533 buildCounterAccountsListResponse++; |
915 if (buildCounterAccountsListResponse < 3) { | 534 if (buildCounterAccountsListResponse < 3) { |
916 unittest.expect(o.kind, unittest.equals('foo')); | 535 unittest.expect(o.kind, unittest.equals('foo')); |
917 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 536 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
918 checkUnnamed292(o.resources); | 537 checkUnnamed281(o.resources); |
919 } | 538 } |
920 buildCounterAccountsListResponse--; | 539 buildCounterAccountsListResponse--; |
921 } | 540 } |
922 | 541 |
923 buildUnnamed293() { | 542 buildUnnamed282() { |
924 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); | |
925 o.add(buildAccountshippingCustomBatchRequestEntry()); | |
926 o.add(buildAccountshippingCustomBatchRequestEntry()); | |
927 return o; | |
928 } | |
929 | |
930 checkUnnamed293(core.List<api.AccountshippingCustomBatchRequestEntry> o) { | |
931 unittest.expect(o, unittest.hasLength(2)); | |
932 checkAccountshippingCustomBatchRequestEntry(o[0]); | |
933 checkAccountshippingCustomBatchRequestEntry(o[1]); | |
934 } | |
935 | |
936 core.int buildCounterAccountshippingCustomBatchRequest = 0; | |
937 buildAccountshippingCustomBatchRequest() { | |
938 var o = new api.AccountshippingCustomBatchRequest(); | |
939 buildCounterAccountshippingCustomBatchRequest++; | |
940 if (buildCounterAccountshippingCustomBatchRequest < 3) { | |
941 o.entries = buildUnnamed293(); | |
942 } | |
943 buildCounterAccountshippingCustomBatchRequest--; | |
944 return o; | |
945 } | |
946 | |
947 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ | |
948 buildCounterAccountshippingCustomBatchRequest++; | |
949 if (buildCounterAccountshippingCustomBatchRequest < 3) { | |
950 checkUnnamed293(o.entries); | |
951 } | |
952 buildCounterAccountshippingCustomBatchRequest--; | |
953 } | |
954 | |
955 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; | |
956 buildAccountshippingCustomBatchRequestEntry() { | |
957 var o = new api.AccountshippingCustomBatchRequestEntry(); | |
958 buildCounterAccountshippingCustomBatchRequestEntry++; | |
959 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | |
960 o.accountId = "foo"; | |
961 o.accountShipping = buildAccountShipping(); | |
962 o.batchId = 42; | |
963 o.merchantId = "foo"; | |
964 o.method = "foo"; | |
965 } | |
966 buildCounterAccountshippingCustomBatchRequestEntry--; | |
967 return o; | |
968 } | |
969 | |
970 checkAccountshippingCustomBatchRequestEntry(api.AccountshippingCustomBatchReques
tEntry o) { | |
971 buildCounterAccountshippingCustomBatchRequestEntry++; | |
972 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | |
973 unittest.expect(o.accountId, unittest.equals('foo')); | |
974 checkAccountShipping(o.accountShipping); | |
975 unittest.expect(o.batchId, unittest.equals(42)); | |
976 unittest.expect(o.merchantId, unittest.equals('foo')); | |
977 unittest.expect(o.method, unittest.equals('foo')); | |
978 } | |
979 buildCounterAccountshippingCustomBatchRequestEntry--; | |
980 } | |
981 | |
982 buildUnnamed294() { | |
983 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); | |
984 o.add(buildAccountshippingCustomBatchResponseEntry()); | |
985 o.add(buildAccountshippingCustomBatchResponseEntry()); | |
986 return o; | |
987 } | |
988 | |
989 checkUnnamed294(core.List<api.AccountshippingCustomBatchResponseEntry> o) { | |
990 unittest.expect(o, unittest.hasLength(2)); | |
991 checkAccountshippingCustomBatchResponseEntry(o[0]); | |
992 checkAccountshippingCustomBatchResponseEntry(o[1]); | |
993 } | |
994 | |
995 core.int buildCounterAccountshippingCustomBatchResponse = 0; | |
996 buildAccountshippingCustomBatchResponse() { | |
997 var o = new api.AccountshippingCustomBatchResponse(); | |
998 buildCounterAccountshippingCustomBatchResponse++; | |
999 if (buildCounterAccountshippingCustomBatchResponse < 3) { | |
1000 o.entries = buildUnnamed294(); | |
1001 o.kind = "foo"; | |
1002 } | |
1003 buildCounterAccountshippingCustomBatchResponse--; | |
1004 return o; | |
1005 } | |
1006 | |
1007 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { | |
1008 buildCounterAccountshippingCustomBatchResponse++; | |
1009 if (buildCounterAccountshippingCustomBatchResponse < 3) { | |
1010 checkUnnamed294(o.entries); | |
1011 unittest.expect(o.kind, unittest.equals('foo')); | |
1012 } | |
1013 buildCounterAccountshippingCustomBatchResponse--; | |
1014 } | |
1015 | |
1016 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; | |
1017 buildAccountshippingCustomBatchResponseEntry() { | |
1018 var o = new api.AccountshippingCustomBatchResponseEntry(); | |
1019 buildCounterAccountshippingCustomBatchResponseEntry++; | |
1020 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | |
1021 o.accountShipping = buildAccountShipping(); | |
1022 o.batchId = 42; | |
1023 o.errors = buildErrors(); | |
1024 o.kind = "foo"; | |
1025 } | |
1026 buildCounterAccountshippingCustomBatchResponseEntry--; | |
1027 return o; | |
1028 } | |
1029 | |
1030 checkAccountshippingCustomBatchResponseEntry(api.AccountshippingCustomBatchRespo
nseEntry o) { | |
1031 buildCounterAccountshippingCustomBatchResponseEntry++; | |
1032 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | |
1033 checkAccountShipping(o.accountShipping); | |
1034 unittest.expect(o.batchId, unittest.equals(42)); | |
1035 checkErrors(o.errors); | |
1036 unittest.expect(o.kind, unittest.equals('foo')); | |
1037 } | |
1038 buildCounterAccountshippingCustomBatchResponseEntry--; | |
1039 } | |
1040 | |
1041 buildUnnamed295() { | |
1042 var o = new core.List<api.AccountShipping>(); | |
1043 o.add(buildAccountShipping()); | |
1044 o.add(buildAccountShipping()); | |
1045 return o; | |
1046 } | |
1047 | |
1048 checkUnnamed295(core.List<api.AccountShipping> o) { | |
1049 unittest.expect(o, unittest.hasLength(2)); | |
1050 checkAccountShipping(o[0]); | |
1051 checkAccountShipping(o[1]); | |
1052 } | |
1053 | |
1054 core.int buildCounterAccountshippingListResponse = 0; | |
1055 buildAccountshippingListResponse() { | |
1056 var o = new api.AccountshippingListResponse(); | |
1057 buildCounterAccountshippingListResponse++; | |
1058 if (buildCounterAccountshippingListResponse < 3) { | |
1059 o.kind = "foo"; | |
1060 o.nextPageToken = "foo"; | |
1061 o.resources = buildUnnamed295(); | |
1062 } | |
1063 buildCounterAccountshippingListResponse--; | |
1064 return o; | |
1065 } | |
1066 | |
1067 checkAccountshippingListResponse(api.AccountshippingListResponse o) { | |
1068 buildCounterAccountshippingListResponse++; | |
1069 if (buildCounterAccountshippingListResponse < 3) { | |
1070 unittest.expect(o.kind, unittest.equals('foo')); | |
1071 unittest.expect(o.nextPageToken, unittest.equals('foo')); | |
1072 checkUnnamed295(o.resources); | |
1073 } | |
1074 buildCounterAccountshippingListResponse--; | |
1075 } | |
1076 | |
1077 buildUnnamed296() { | |
1078 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); | 543 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); |
1079 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 544 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
1080 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 545 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
1081 return o; | 546 return o; |
1082 } | 547 } |
1083 | 548 |
1084 checkUnnamed296(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { | 549 checkUnnamed282(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { |
1085 unittest.expect(o, unittest.hasLength(2)); | 550 unittest.expect(o, unittest.hasLength(2)); |
1086 checkAccountstatusesCustomBatchRequestEntry(o[0]); | 551 checkAccountstatusesCustomBatchRequestEntry(o[0]); |
1087 checkAccountstatusesCustomBatchRequestEntry(o[1]); | 552 checkAccountstatusesCustomBatchRequestEntry(o[1]); |
1088 } | 553 } |
1089 | 554 |
1090 core.int buildCounterAccountstatusesCustomBatchRequest = 0; | 555 core.int buildCounterAccountstatusesCustomBatchRequest = 0; |
1091 buildAccountstatusesCustomBatchRequest() { | 556 buildAccountstatusesCustomBatchRequest() { |
1092 var o = new api.AccountstatusesCustomBatchRequest(); | 557 var o = new api.AccountstatusesCustomBatchRequest(); |
1093 buildCounterAccountstatusesCustomBatchRequest++; | 558 buildCounterAccountstatusesCustomBatchRequest++; |
1094 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 559 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
1095 o.entries = buildUnnamed296(); | 560 o.entries = buildUnnamed282(); |
1096 } | 561 } |
1097 buildCounterAccountstatusesCustomBatchRequest--; | 562 buildCounterAccountstatusesCustomBatchRequest--; |
1098 return o; | 563 return o; |
1099 } | 564 } |
1100 | 565 |
1101 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ | 566 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ |
1102 buildCounterAccountstatusesCustomBatchRequest++; | 567 buildCounterAccountstatusesCustomBatchRequest++; |
1103 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 568 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
1104 checkUnnamed296(o.entries); | 569 checkUnnamed282(o.entries); |
1105 } | 570 } |
1106 buildCounterAccountstatusesCustomBatchRequest--; | 571 buildCounterAccountstatusesCustomBatchRequest--; |
1107 } | 572 } |
1108 | 573 |
1109 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; | 574 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; |
1110 buildAccountstatusesCustomBatchRequestEntry() { | 575 buildAccountstatusesCustomBatchRequestEntry() { |
1111 var o = new api.AccountstatusesCustomBatchRequestEntry(); | 576 var o = new api.AccountstatusesCustomBatchRequestEntry(); |
1112 buildCounterAccountstatusesCustomBatchRequestEntry++; | 577 buildCounterAccountstatusesCustomBatchRequestEntry++; |
1113 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 578 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
1114 o.accountId = "foo"; | 579 o.accountId = "foo"; |
1115 o.batchId = 42; | 580 o.batchId = 42; |
1116 o.merchantId = "foo"; | 581 o.merchantId = "foo"; |
1117 o.method = "foo"; | 582 o.method = "foo"; |
1118 } | 583 } |
1119 buildCounterAccountstatusesCustomBatchRequestEntry--; | 584 buildCounterAccountstatusesCustomBatchRequestEntry--; |
1120 return o; | 585 return o; |
1121 } | 586 } |
1122 | 587 |
1123 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { | 588 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { |
1124 buildCounterAccountstatusesCustomBatchRequestEntry++; | 589 buildCounterAccountstatusesCustomBatchRequestEntry++; |
1125 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 590 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
1126 unittest.expect(o.accountId, unittest.equals('foo')); | 591 unittest.expect(o.accountId, unittest.equals('foo')); |
1127 unittest.expect(o.batchId, unittest.equals(42)); | 592 unittest.expect(o.batchId, unittest.equals(42)); |
1128 unittest.expect(o.merchantId, unittest.equals('foo')); | 593 unittest.expect(o.merchantId, unittest.equals('foo')); |
1129 unittest.expect(o.method, unittest.equals('foo')); | 594 unittest.expect(o.method, unittest.equals('foo')); |
1130 } | 595 } |
1131 buildCounterAccountstatusesCustomBatchRequestEntry--; | 596 buildCounterAccountstatusesCustomBatchRequestEntry--; |
1132 } | 597 } |
1133 | 598 |
1134 buildUnnamed297() { | 599 buildUnnamed283() { |
1135 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); | 600 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); |
1136 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 601 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
1137 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 602 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
1138 return o; | 603 return o; |
1139 } | 604 } |
1140 | 605 |
1141 checkUnnamed297(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { | 606 checkUnnamed283(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { |
1142 unittest.expect(o, unittest.hasLength(2)); | 607 unittest.expect(o, unittest.hasLength(2)); |
1143 checkAccountstatusesCustomBatchResponseEntry(o[0]); | 608 checkAccountstatusesCustomBatchResponseEntry(o[0]); |
1144 checkAccountstatusesCustomBatchResponseEntry(o[1]); | 609 checkAccountstatusesCustomBatchResponseEntry(o[1]); |
1145 } | 610 } |
1146 | 611 |
1147 core.int buildCounterAccountstatusesCustomBatchResponse = 0; | 612 core.int buildCounterAccountstatusesCustomBatchResponse = 0; |
1148 buildAccountstatusesCustomBatchResponse() { | 613 buildAccountstatusesCustomBatchResponse() { |
1149 var o = new api.AccountstatusesCustomBatchResponse(); | 614 var o = new api.AccountstatusesCustomBatchResponse(); |
1150 buildCounterAccountstatusesCustomBatchResponse++; | 615 buildCounterAccountstatusesCustomBatchResponse++; |
1151 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 616 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
1152 o.entries = buildUnnamed297(); | 617 o.entries = buildUnnamed283(); |
1153 o.kind = "foo"; | 618 o.kind = "foo"; |
1154 } | 619 } |
1155 buildCounterAccountstatusesCustomBatchResponse--; | 620 buildCounterAccountstatusesCustomBatchResponse--; |
1156 return o; | 621 return o; |
1157 } | 622 } |
1158 | 623 |
1159 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { | 624 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { |
1160 buildCounterAccountstatusesCustomBatchResponse++; | 625 buildCounterAccountstatusesCustomBatchResponse++; |
1161 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 626 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
1162 checkUnnamed297(o.entries); | 627 checkUnnamed283(o.entries); |
1163 unittest.expect(o.kind, unittest.equals('foo')); | 628 unittest.expect(o.kind, unittest.equals('foo')); |
1164 } | 629 } |
1165 buildCounterAccountstatusesCustomBatchResponse--; | 630 buildCounterAccountstatusesCustomBatchResponse--; |
1166 } | 631 } |
1167 | 632 |
1168 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; | 633 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; |
1169 buildAccountstatusesCustomBatchResponseEntry() { | 634 buildAccountstatusesCustomBatchResponseEntry() { |
1170 var o = new api.AccountstatusesCustomBatchResponseEntry(); | 635 var o = new api.AccountstatusesCustomBatchResponseEntry(); |
1171 buildCounterAccountstatusesCustomBatchResponseEntry++; | 636 buildCounterAccountstatusesCustomBatchResponseEntry++; |
1172 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 637 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
1173 o.accountStatus = buildAccountStatus(); | 638 o.accountStatus = buildAccountStatus(); |
1174 o.batchId = 42; | 639 o.batchId = 42; |
1175 o.errors = buildErrors(); | 640 o.errors = buildErrors(); |
1176 } | 641 } |
1177 buildCounterAccountstatusesCustomBatchResponseEntry--; | 642 buildCounterAccountstatusesCustomBatchResponseEntry--; |
1178 return o; | 643 return o; |
1179 } | 644 } |
1180 | 645 |
1181 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { | 646 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { |
1182 buildCounterAccountstatusesCustomBatchResponseEntry++; | 647 buildCounterAccountstatusesCustomBatchResponseEntry++; |
1183 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 648 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
1184 checkAccountStatus(o.accountStatus); | 649 checkAccountStatus(o.accountStatus); |
1185 unittest.expect(o.batchId, unittest.equals(42)); | 650 unittest.expect(o.batchId, unittest.equals(42)); |
1186 checkErrors(o.errors); | 651 checkErrors(o.errors); |
1187 } | 652 } |
1188 buildCounterAccountstatusesCustomBatchResponseEntry--; | 653 buildCounterAccountstatusesCustomBatchResponseEntry--; |
1189 } | 654 } |
1190 | 655 |
1191 buildUnnamed298() { | 656 buildUnnamed284() { |
1192 var o = new core.List<api.AccountStatus>(); | 657 var o = new core.List<api.AccountStatus>(); |
1193 o.add(buildAccountStatus()); | 658 o.add(buildAccountStatus()); |
1194 o.add(buildAccountStatus()); | 659 o.add(buildAccountStatus()); |
1195 return o; | 660 return o; |
1196 } | 661 } |
1197 | 662 |
1198 checkUnnamed298(core.List<api.AccountStatus> o) { | 663 checkUnnamed284(core.List<api.AccountStatus> o) { |
1199 unittest.expect(o, unittest.hasLength(2)); | 664 unittest.expect(o, unittest.hasLength(2)); |
1200 checkAccountStatus(o[0]); | 665 checkAccountStatus(o[0]); |
1201 checkAccountStatus(o[1]); | 666 checkAccountStatus(o[1]); |
1202 } | 667 } |
1203 | 668 |
1204 core.int buildCounterAccountstatusesListResponse = 0; | 669 core.int buildCounterAccountstatusesListResponse = 0; |
1205 buildAccountstatusesListResponse() { | 670 buildAccountstatusesListResponse() { |
1206 var o = new api.AccountstatusesListResponse(); | 671 var o = new api.AccountstatusesListResponse(); |
1207 buildCounterAccountstatusesListResponse++; | 672 buildCounterAccountstatusesListResponse++; |
1208 if (buildCounterAccountstatusesListResponse < 3) { | 673 if (buildCounterAccountstatusesListResponse < 3) { |
1209 o.kind = "foo"; | 674 o.kind = "foo"; |
1210 o.nextPageToken = "foo"; | 675 o.nextPageToken = "foo"; |
1211 o.resources = buildUnnamed298(); | 676 o.resources = buildUnnamed284(); |
1212 } | 677 } |
1213 buildCounterAccountstatusesListResponse--; | 678 buildCounterAccountstatusesListResponse--; |
1214 return o; | 679 return o; |
1215 } | 680 } |
1216 | 681 |
1217 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { | 682 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { |
1218 buildCounterAccountstatusesListResponse++; | 683 buildCounterAccountstatusesListResponse++; |
1219 if (buildCounterAccountstatusesListResponse < 3) { | 684 if (buildCounterAccountstatusesListResponse < 3) { |
1220 unittest.expect(o.kind, unittest.equals('foo')); | 685 unittest.expect(o.kind, unittest.equals('foo')); |
1221 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 686 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1222 checkUnnamed298(o.resources); | 687 checkUnnamed284(o.resources); |
1223 } | 688 } |
1224 buildCounterAccountstatusesListResponse--; | 689 buildCounterAccountstatusesListResponse--; |
1225 } | 690 } |
1226 | 691 |
1227 buildUnnamed299() { | 692 buildUnnamed285() { |
1228 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); | 693 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); |
1229 o.add(buildAccounttaxCustomBatchRequestEntry()); | 694 o.add(buildAccounttaxCustomBatchRequestEntry()); |
1230 o.add(buildAccounttaxCustomBatchRequestEntry()); | 695 o.add(buildAccounttaxCustomBatchRequestEntry()); |
1231 return o; | 696 return o; |
1232 } | 697 } |
1233 | 698 |
1234 checkUnnamed299(core.List<api.AccounttaxCustomBatchRequestEntry> o) { | 699 checkUnnamed285(core.List<api.AccounttaxCustomBatchRequestEntry> o) { |
1235 unittest.expect(o, unittest.hasLength(2)); | 700 unittest.expect(o, unittest.hasLength(2)); |
1236 checkAccounttaxCustomBatchRequestEntry(o[0]); | 701 checkAccounttaxCustomBatchRequestEntry(o[0]); |
1237 checkAccounttaxCustomBatchRequestEntry(o[1]); | 702 checkAccounttaxCustomBatchRequestEntry(o[1]); |
1238 } | 703 } |
1239 | 704 |
1240 core.int buildCounterAccounttaxCustomBatchRequest = 0; | 705 core.int buildCounterAccounttaxCustomBatchRequest = 0; |
1241 buildAccounttaxCustomBatchRequest() { | 706 buildAccounttaxCustomBatchRequest() { |
1242 var o = new api.AccounttaxCustomBatchRequest(); | 707 var o = new api.AccounttaxCustomBatchRequest(); |
1243 buildCounterAccounttaxCustomBatchRequest++; | 708 buildCounterAccounttaxCustomBatchRequest++; |
1244 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 709 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
1245 o.entries = buildUnnamed299(); | 710 o.entries = buildUnnamed285(); |
1246 } | 711 } |
1247 buildCounterAccounttaxCustomBatchRequest--; | 712 buildCounterAccounttaxCustomBatchRequest--; |
1248 return o; | 713 return o; |
1249 } | 714 } |
1250 | 715 |
1251 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { | 716 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { |
1252 buildCounterAccounttaxCustomBatchRequest++; | 717 buildCounterAccounttaxCustomBatchRequest++; |
1253 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 718 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
1254 checkUnnamed299(o.entries); | 719 checkUnnamed285(o.entries); |
1255 } | 720 } |
1256 buildCounterAccounttaxCustomBatchRequest--; | 721 buildCounterAccounttaxCustomBatchRequest--; |
1257 } | 722 } |
1258 | 723 |
1259 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; | 724 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; |
1260 buildAccounttaxCustomBatchRequestEntry() { | 725 buildAccounttaxCustomBatchRequestEntry() { |
1261 var o = new api.AccounttaxCustomBatchRequestEntry(); | 726 var o = new api.AccounttaxCustomBatchRequestEntry(); |
1262 buildCounterAccounttaxCustomBatchRequestEntry++; | 727 buildCounterAccounttaxCustomBatchRequestEntry++; |
1263 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 728 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
1264 o.accountId = "foo"; | 729 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
1276 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 741 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
1277 unittest.expect(o.accountId, unittest.equals('foo')); | 742 unittest.expect(o.accountId, unittest.equals('foo')); |
1278 checkAccountTax(o.accountTax); | 743 checkAccountTax(o.accountTax); |
1279 unittest.expect(o.batchId, unittest.equals(42)); | 744 unittest.expect(o.batchId, unittest.equals(42)); |
1280 unittest.expect(o.merchantId, unittest.equals('foo')); | 745 unittest.expect(o.merchantId, unittest.equals('foo')); |
1281 unittest.expect(o.method, unittest.equals('foo')); | 746 unittest.expect(o.method, unittest.equals('foo')); |
1282 } | 747 } |
1283 buildCounterAccounttaxCustomBatchRequestEntry--; | 748 buildCounterAccounttaxCustomBatchRequestEntry--; |
1284 } | 749 } |
1285 | 750 |
1286 buildUnnamed300() { | 751 buildUnnamed286() { |
1287 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); | 752 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); |
1288 o.add(buildAccounttaxCustomBatchResponseEntry()); | 753 o.add(buildAccounttaxCustomBatchResponseEntry()); |
1289 o.add(buildAccounttaxCustomBatchResponseEntry()); | 754 o.add(buildAccounttaxCustomBatchResponseEntry()); |
1290 return o; | 755 return o; |
1291 } | 756 } |
1292 | 757 |
1293 checkUnnamed300(core.List<api.AccounttaxCustomBatchResponseEntry> o) { | 758 checkUnnamed286(core.List<api.AccounttaxCustomBatchResponseEntry> o) { |
1294 unittest.expect(o, unittest.hasLength(2)); | 759 unittest.expect(o, unittest.hasLength(2)); |
1295 checkAccounttaxCustomBatchResponseEntry(o[0]); | 760 checkAccounttaxCustomBatchResponseEntry(o[0]); |
1296 checkAccounttaxCustomBatchResponseEntry(o[1]); | 761 checkAccounttaxCustomBatchResponseEntry(o[1]); |
1297 } | 762 } |
1298 | 763 |
1299 core.int buildCounterAccounttaxCustomBatchResponse = 0; | 764 core.int buildCounterAccounttaxCustomBatchResponse = 0; |
1300 buildAccounttaxCustomBatchResponse() { | 765 buildAccounttaxCustomBatchResponse() { |
1301 var o = new api.AccounttaxCustomBatchResponse(); | 766 var o = new api.AccounttaxCustomBatchResponse(); |
1302 buildCounterAccounttaxCustomBatchResponse++; | 767 buildCounterAccounttaxCustomBatchResponse++; |
1303 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 768 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
1304 o.entries = buildUnnamed300(); | 769 o.entries = buildUnnamed286(); |
1305 o.kind = "foo"; | 770 o.kind = "foo"; |
1306 } | 771 } |
1307 buildCounterAccounttaxCustomBatchResponse--; | 772 buildCounterAccounttaxCustomBatchResponse--; |
1308 return o; | 773 return o; |
1309 } | 774 } |
1310 | 775 |
1311 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { | 776 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { |
1312 buildCounterAccounttaxCustomBatchResponse++; | 777 buildCounterAccounttaxCustomBatchResponse++; |
1313 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 778 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
1314 checkUnnamed300(o.entries); | 779 checkUnnamed286(o.entries); |
1315 unittest.expect(o.kind, unittest.equals('foo')); | 780 unittest.expect(o.kind, unittest.equals('foo')); |
1316 } | 781 } |
1317 buildCounterAccounttaxCustomBatchResponse--; | 782 buildCounterAccounttaxCustomBatchResponse--; |
1318 } | 783 } |
1319 | 784 |
1320 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; | 785 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; |
1321 buildAccounttaxCustomBatchResponseEntry() { | 786 buildAccounttaxCustomBatchResponseEntry() { |
1322 var o = new api.AccounttaxCustomBatchResponseEntry(); | 787 var o = new api.AccounttaxCustomBatchResponseEntry(); |
1323 buildCounterAccounttaxCustomBatchResponseEntry++; | 788 buildCounterAccounttaxCustomBatchResponseEntry++; |
1324 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 789 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1335 buildCounterAccounttaxCustomBatchResponseEntry++; | 800 buildCounterAccounttaxCustomBatchResponseEntry++; |
1336 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 801 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
1337 checkAccountTax(o.accountTax); | 802 checkAccountTax(o.accountTax); |
1338 unittest.expect(o.batchId, unittest.equals(42)); | 803 unittest.expect(o.batchId, unittest.equals(42)); |
1339 checkErrors(o.errors); | 804 checkErrors(o.errors); |
1340 unittest.expect(o.kind, unittest.equals('foo')); | 805 unittest.expect(o.kind, unittest.equals('foo')); |
1341 } | 806 } |
1342 buildCounterAccounttaxCustomBatchResponseEntry--; | 807 buildCounterAccounttaxCustomBatchResponseEntry--; |
1343 } | 808 } |
1344 | 809 |
1345 buildUnnamed301() { | 810 buildUnnamed287() { |
1346 var o = new core.List<api.AccountTax>(); | 811 var o = new core.List<api.AccountTax>(); |
1347 o.add(buildAccountTax()); | 812 o.add(buildAccountTax()); |
1348 o.add(buildAccountTax()); | 813 o.add(buildAccountTax()); |
1349 return o; | 814 return o; |
1350 } | 815 } |
1351 | 816 |
1352 checkUnnamed301(core.List<api.AccountTax> o) { | 817 checkUnnamed287(core.List<api.AccountTax> o) { |
1353 unittest.expect(o, unittest.hasLength(2)); | 818 unittest.expect(o, unittest.hasLength(2)); |
1354 checkAccountTax(o[0]); | 819 checkAccountTax(o[0]); |
1355 checkAccountTax(o[1]); | 820 checkAccountTax(o[1]); |
1356 } | 821 } |
1357 | 822 |
1358 core.int buildCounterAccounttaxListResponse = 0; | 823 core.int buildCounterAccounttaxListResponse = 0; |
1359 buildAccounttaxListResponse() { | 824 buildAccounttaxListResponse() { |
1360 var o = new api.AccounttaxListResponse(); | 825 var o = new api.AccounttaxListResponse(); |
1361 buildCounterAccounttaxListResponse++; | 826 buildCounterAccounttaxListResponse++; |
1362 if (buildCounterAccounttaxListResponse < 3) { | 827 if (buildCounterAccounttaxListResponse < 3) { |
1363 o.kind = "foo"; | 828 o.kind = "foo"; |
1364 o.nextPageToken = "foo"; | 829 o.nextPageToken = "foo"; |
1365 o.resources = buildUnnamed301(); | 830 o.resources = buildUnnamed287(); |
1366 } | 831 } |
1367 buildCounterAccounttaxListResponse--; | 832 buildCounterAccounttaxListResponse--; |
1368 return o; | 833 return o; |
1369 } | 834 } |
1370 | 835 |
1371 checkAccounttaxListResponse(api.AccounttaxListResponse o) { | 836 checkAccounttaxListResponse(api.AccounttaxListResponse o) { |
1372 buildCounterAccounttaxListResponse++; | 837 buildCounterAccounttaxListResponse++; |
1373 if (buildCounterAccounttaxListResponse < 3) { | 838 if (buildCounterAccounttaxListResponse < 3) { |
1374 unittest.expect(o.kind, unittest.equals('foo')); | 839 unittest.expect(o.kind, unittest.equals('foo')); |
1375 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 840 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1376 checkUnnamed301(o.resources); | 841 checkUnnamed287(o.resources); |
1377 } | 842 } |
1378 buildCounterAccounttaxListResponse--; | 843 buildCounterAccounttaxListResponse--; |
1379 } | 844 } |
1380 | 845 |
1381 core.int buildCounterCarrierRate = 0; | 846 core.int buildCounterCarrierRate = 0; |
1382 buildCarrierRate() { | 847 buildCarrierRate() { |
1383 var o = new api.CarrierRate(); | 848 var o = new api.CarrierRate(); |
1384 buildCounterCarrierRate++; | 849 buildCounterCarrierRate++; |
1385 if (buildCounterCarrierRate < 3) { | 850 if (buildCounterCarrierRate < 3) { |
1386 o.carrierName = "foo"; | 851 o.carrierName = "foo"; |
(...skipping 13 matching lines...) Expand all Loading... |
1400 unittest.expect(o.carrierName, unittest.equals('foo')); | 865 unittest.expect(o.carrierName, unittest.equals('foo')); |
1401 unittest.expect(o.carrierService, unittest.equals('foo')); | 866 unittest.expect(o.carrierService, unittest.equals('foo')); |
1402 checkPrice(o.flatAdjustment); | 867 checkPrice(o.flatAdjustment); |
1403 unittest.expect(o.name, unittest.equals('foo')); | 868 unittest.expect(o.name, unittest.equals('foo')); |
1404 unittest.expect(o.originPostalCode, unittest.equals('foo')); | 869 unittest.expect(o.originPostalCode, unittest.equals('foo')); |
1405 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); | 870 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); |
1406 } | 871 } |
1407 buildCounterCarrierRate--; | 872 buildCounterCarrierRate--; |
1408 } | 873 } |
1409 | 874 |
1410 buildUnnamed302() { | 875 buildUnnamed288() { |
1411 var o = new core.List<core.String>(); | 876 var o = new core.List<core.String>(); |
1412 o.add("foo"); | 877 o.add("foo"); |
1413 o.add("foo"); | 878 o.add("foo"); |
1414 return o; | 879 return o; |
1415 } | 880 } |
1416 | 881 |
1417 checkUnnamed302(core.List<core.String> o) { | 882 checkUnnamed288(core.List<core.String> o) { |
1418 unittest.expect(o, unittest.hasLength(2)); | 883 unittest.expect(o, unittest.hasLength(2)); |
1419 unittest.expect(o[0], unittest.equals('foo')); | 884 unittest.expect(o[0], unittest.equals('foo')); |
1420 unittest.expect(o[1], unittest.equals('foo')); | 885 unittest.expect(o[1], unittest.equals('foo')); |
1421 } | 886 } |
1422 | 887 |
1423 core.int buildCounterCarriersCarrier = 0; | 888 core.int buildCounterCarriersCarrier = 0; |
1424 buildCarriersCarrier() { | 889 buildCarriersCarrier() { |
1425 var o = new api.CarriersCarrier(); | 890 var o = new api.CarriersCarrier(); |
1426 buildCounterCarriersCarrier++; | 891 buildCounterCarriersCarrier++; |
1427 if (buildCounterCarriersCarrier < 3) { | 892 if (buildCounterCarriersCarrier < 3) { |
1428 o.country = "foo"; | 893 o.country = "foo"; |
1429 o.name = "foo"; | 894 o.name = "foo"; |
1430 o.services = buildUnnamed302(); | 895 o.services = buildUnnamed288(); |
1431 } | 896 } |
1432 buildCounterCarriersCarrier--; | 897 buildCounterCarriersCarrier--; |
1433 return o; | 898 return o; |
1434 } | 899 } |
1435 | 900 |
1436 checkCarriersCarrier(api.CarriersCarrier o) { | 901 checkCarriersCarrier(api.CarriersCarrier o) { |
1437 buildCounterCarriersCarrier++; | 902 buildCounterCarriersCarrier++; |
1438 if (buildCounterCarriersCarrier < 3) { | 903 if (buildCounterCarriersCarrier < 3) { |
1439 unittest.expect(o.country, unittest.equals('foo')); | 904 unittest.expect(o.country, unittest.equals('foo')); |
1440 unittest.expect(o.name, unittest.equals('foo')); | 905 unittest.expect(o.name, unittest.equals('foo')); |
1441 checkUnnamed302(o.services); | 906 checkUnnamed288(o.services); |
1442 } | 907 } |
1443 buildCounterCarriersCarrier--; | 908 buildCounterCarriersCarrier--; |
1444 } | 909 } |
1445 | 910 |
1446 buildUnnamed303() { | 911 buildUnnamed289() { |
1447 var o = new core.List<core.String>(); | 912 var o = new core.List<core.String>(); |
1448 o.add("foo"); | 913 o.add("foo"); |
1449 o.add("foo"); | 914 o.add("foo"); |
1450 return o; | 915 return o; |
1451 } | 916 } |
1452 | 917 |
1453 checkUnnamed303(core.List<core.String> o) { | 918 checkUnnamed289(core.List<core.String> o) { |
1454 unittest.expect(o, unittest.hasLength(2)); | 919 unittest.expect(o, unittest.hasLength(2)); |
1455 unittest.expect(o[0], unittest.equals('foo')); | 920 unittest.expect(o[0], unittest.equals('foo')); |
1456 unittest.expect(o[1], unittest.equals('foo')); | 921 unittest.expect(o[1], unittest.equals('foo')); |
1457 } | 922 } |
1458 | 923 |
1459 core.int buildCounterDatafeed = 0; | 924 core.int buildCounterDatafeed = 0; |
1460 buildDatafeed() { | 925 buildDatafeed() { |
1461 var o = new api.Datafeed(); | 926 var o = new api.Datafeed(); |
1462 buildCounterDatafeed++; | 927 buildCounterDatafeed++; |
1463 if (buildCounterDatafeed < 3) { | 928 if (buildCounterDatafeed < 3) { |
1464 o.attributeLanguage = "foo"; | 929 o.attributeLanguage = "foo"; |
1465 o.contentLanguage = "foo"; | 930 o.contentLanguage = "foo"; |
1466 o.contentType = "foo"; | 931 o.contentType = "foo"; |
1467 o.fetchSchedule = buildDatafeedFetchSchedule(); | 932 o.fetchSchedule = buildDatafeedFetchSchedule(); |
1468 o.fileName = "foo"; | 933 o.fileName = "foo"; |
1469 o.format = buildDatafeedFormat(); | 934 o.format = buildDatafeedFormat(); |
1470 o.id = "foo"; | 935 o.id = "foo"; |
1471 o.intendedDestinations = buildUnnamed303(); | 936 o.intendedDestinations = buildUnnamed289(); |
1472 o.kind = "foo"; | 937 o.kind = "foo"; |
1473 o.name = "foo"; | 938 o.name = "foo"; |
1474 o.targetCountry = "foo"; | 939 o.targetCountry = "foo"; |
1475 } | 940 } |
1476 buildCounterDatafeed--; | 941 buildCounterDatafeed--; |
1477 return o; | 942 return o; |
1478 } | 943 } |
1479 | 944 |
1480 checkDatafeed(api.Datafeed o) { | 945 checkDatafeed(api.Datafeed o) { |
1481 buildCounterDatafeed++; | 946 buildCounterDatafeed++; |
1482 if (buildCounterDatafeed < 3) { | 947 if (buildCounterDatafeed < 3) { |
1483 unittest.expect(o.attributeLanguage, unittest.equals('foo')); | 948 unittest.expect(o.attributeLanguage, unittest.equals('foo')); |
1484 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 949 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
1485 unittest.expect(o.contentType, unittest.equals('foo')); | 950 unittest.expect(o.contentType, unittest.equals('foo')); |
1486 checkDatafeedFetchSchedule(o.fetchSchedule); | 951 checkDatafeedFetchSchedule(o.fetchSchedule); |
1487 unittest.expect(o.fileName, unittest.equals('foo')); | 952 unittest.expect(o.fileName, unittest.equals('foo')); |
1488 checkDatafeedFormat(o.format); | 953 checkDatafeedFormat(o.format); |
1489 unittest.expect(o.id, unittest.equals('foo')); | 954 unittest.expect(o.id, unittest.equals('foo')); |
1490 checkUnnamed303(o.intendedDestinations); | 955 checkUnnamed289(o.intendedDestinations); |
1491 unittest.expect(o.kind, unittest.equals('foo')); | 956 unittest.expect(o.kind, unittest.equals('foo')); |
1492 unittest.expect(o.name, unittest.equals('foo')); | 957 unittest.expect(o.name, unittest.equals('foo')); |
1493 unittest.expect(o.targetCountry, unittest.equals('foo')); | 958 unittest.expect(o.targetCountry, unittest.equals('foo')); |
1494 } | 959 } |
1495 buildCounterDatafeed--; | 960 buildCounterDatafeed--; |
1496 } | 961 } |
1497 | 962 |
1498 core.int buildCounterDatafeedFetchSchedule = 0; | 963 core.int buildCounterDatafeedFetchSchedule = 0; |
1499 buildDatafeedFetchSchedule() { | 964 buildDatafeedFetchSchedule() { |
1500 var o = new api.DatafeedFetchSchedule(); | 965 var o = new api.DatafeedFetchSchedule(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1544 checkDatafeedFormat(api.DatafeedFormat o) { | 1009 checkDatafeedFormat(api.DatafeedFormat o) { |
1545 buildCounterDatafeedFormat++; | 1010 buildCounterDatafeedFormat++; |
1546 if (buildCounterDatafeedFormat < 3) { | 1011 if (buildCounterDatafeedFormat < 3) { |
1547 unittest.expect(o.columnDelimiter, unittest.equals('foo')); | 1012 unittest.expect(o.columnDelimiter, unittest.equals('foo')); |
1548 unittest.expect(o.fileEncoding, unittest.equals('foo')); | 1013 unittest.expect(o.fileEncoding, unittest.equals('foo')); |
1549 unittest.expect(o.quotingMode, unittest.equals('foo')); | 1014 unittest.expect(o.quotingMode, unittest.equals('foo')); |
1550 } | 1015 } |
1551 buildCounterDatafeedFormat--; | 1016 buildCounterDatafeedFormat--; |
1552 } | 1017 } |
1553 | 1018 |
1554 buildUnnamed304() { | 1019 buildUnnamed290() { |
1555 var o = new core.List<api.DatafeedStatusError>(); | 1020 var o = new core.List<api.DatafeedStatusError>(); |
1556 o.add(buildDatafeedStatusError()); | 1021 o.add(buildDatafeedStatusError()); |
1557 o.add(buildDatafeedStatusError()); | 1022 o.add(buildDatafeedStatusError()); |
1558 return o; | 1023 return o; |
1559 } | 1024 } |
1560 | 1025 |
1561 checkUnnamed304(core.List<api.DatafeedStatusError> o) { | 1026 checkUnnamed290(core.List<api.DatafeedStatusError> o) { |
1562 unittest.expect(o, unittest.hasLength(2)); | 1027 unittest.expect(o, unittest.hasLength(2)); |
1563 checkDatafeedStatusError(o[0]); | 1028 checkDatafeedStatusError(o[0]); |
1564 checkDatafeedStatusError(o[1]); | 1029 checkDatafeedStatusError(o[1]); |
1565 } | 1030 } |
1566 | 1031 |
1567 buildUnnamed305() { | 1032 buildUnnamed291() { |
1568 var o = new core.List<api.DatafeedStatusError>(); | 1033 var o = new core.List<api.DatafeedStatusError>(); |
1569 o.add(buildDatafeedStatusError()); | 1034 o.add(buildDatafeedStatusError()); |
1570 o.add(buildDatafeedStatusError()); | 1035 o.add(buildDatafeedStatusError()); |
1571 return o; | 1036 return o; |
1572 } | 1037 } |
1573 | 1038 |
1574 checkUnnamed305(core.List<api.DatafeedStatusError> o) { | 1039 checkUnnamed291(core.List<api.DatafeedStatusError> o) { |
1575 unittest.expect(o, unittest.hasLength(2)); | 1040 unittest.expect(o, unittest.hasLength(2)); |
1576 checkDatafeedStatusError(o[0]); | 1041 checkDatafeedStatusError(o[0]); |
1577 checkDatafeedStatusError(o[1]); | 1042 checkDatafeedStatusError(o[1]); |
1578 } | 1043 } |
1579 | 1044 |
1580 core.int buildCounterDatafeedStatus = 0; | 1045 core.int buildCounterDatafeedStatus = 0; |
1581 buildDatafeedStatus() { | 1046 buildDatafeedStatus() { |
1582 var o = new api.DatafeedStatus(); | 1047 var o = new api.DatafeedStatus(); |
1583 buildCounterDatafeedStatus++; | 1048 buildCounterDatafeedStatus++; |
1584 if (buildCounterDatafeedStatus < 3) { | 1049 if (buildCounterDatafeedStatus < 3) { |
1585 o.datafeedId = "foo"; | 1050 o.datafeedId = "foo"; |
1586 o.errors = buildUnnamed304(); | 1051 o.errors = buildUnnamed290(); |
1587 o.itemsTotal = "foo"; | 1052 o.itemsTotal = "foo"; |
1588 o.itemsValid = "foo"; | 1053 o.itemsValid = "foo"; |
1589 o.kind = "foo"; | 1054 o.kind = "foo"; |
1590 o.lastUploadDate = "foo"; | 1055 o.lastUploadDate = "foo"; |
1591 o.processingStatus = "foo"; | 1056 o.processingStatus = "foo"; |
1592 o.warnings = buildUnnamed305(); | 1057 o.warnings = buildUnnamed291(); |
1593 } | 1058 } |
1594 buildCounterDatafeedStatus--; | 1059 buildCounterDatafeedStatus--; |
1595 return o; | 1060 return o; |
1596 } | 1061 } |
1597 | 1062 |
1598 checkDatafeedStatus(api.DatafeedStatus o) { | 1063 checkDatafeedStatus(api.DatafeedStatus o) { |
1599 buildCounterDatafeedStatus++; | 1064 buildCounterDatafeedStatus++; |
1600 if (buildCounterDatafeedStatus < 3) { | 1065 if (buildCounterDatafeedStatus < 3) { |
1601 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1066 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1602 checkUnnamed304(o.errors); | 1067 checkUnnamed290(o.errors); |
1603 unittest.expect(o.itemsTotal, unittest.equals('foo')); | 1068 unittest.expect(o.itemsTotal, unittest.equals('foo')); |
1604 unittest.expect(o.itemsValid, unittest.equals('foo')); | 1069 unittest.expect(o.itemsValid, unittest.equals('foo')); |
1605 unittest.expect(o.kind, unittest.equals('foo')); | 1070 unittest.expect(o.kind, unittest.equals('foo')); |
1606 unittest.expect(o.lastUploadDate, unittest.equals('foo')); | 1071 unittest.expect(o.lastUploadDate, unittest.equals('foo')); |
1607 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1072 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1608 checkUnnamed305(o.warnings); | 1073 checkUnnamed291(o.warnings); |
1609 } | 1074 } |
1610 buildCounterDatafeedStatus--; | 1075 buildCounterDatafeedStatus--; |
1611 } | 1076 } |
1612 | 1077 |
1613 buildUnnamed306() { | 1078 buildUnnamed292() { |
1614 var o = new core.List<api.DatafeedStatusExample>(); | 1079 var o = new core.List<api.DatafeedStatusExample>(); |
1615 o.add(buildDatafeedStatusExample()); | 1080 o.add(buildDatafeedStatusExample()); |
1616 o.add(buildDatafeedStatusExample()); | 1081 o.add(buildDatafeedStatusExample()); |
1617 return o; | 1082 return o; |
1618 } | 1083 } |
1619 | 1084 |
1620 checkUnnamed306(core.List<api.DatafeedStatusExample> o) { | 1085 checkUnnamed292(core.List<api.DatafeedStatusExample> o) { |
1621 unittest.expect(o, unittest.hasLength(2)); | 1086 unittest.expect(o, unittest.hasLength(2)); |
1622 checkDatafeedStatusExample(o[0]); | 1087 checkDatafeedStatusExample(o[0]); |
1623 checkDatafeedStatusExample(o[1]); | 1088 checkDatafeedStatusExample(o[1]); |
1624 } | 1089 } |
1625 | 1090 |
1626 core.int buildCounterDatafeedStatusError = 0; | 1091 core.int buildCounterDatafeedStatusError = 0; |
1627 buildDatafeedStatusError() { | 1092 buildDatafeedStatusError() { |
1628 var o = new api.DatafeedStatusError(); | 1093 var o = new api.DatafeedStatusError(); |
1629 buildCounterDatafeedStatusError++; | 1094 buildCounterDatafeedStatusError++; |
1630 if (buildCounterDatafeedStatusError < 3) { | 1095 if (buildCounterDatafeedStatusError < 3) { |
1631 o.code = "foo"; | 1096 o.code = "foo"; |
1632 o.count = "foo"; | 1097 o.count = "foo"; |
1633 o.examples = buildUnnamed306(); | 1098 o.examples = buildUnnamed292(); |
1634 o.message = "foo"; | 1099 o.message = "foo"; |
1635 } | 1100 } |
1636 buildCounterDatafeedStatusError--; | 1101 buildCounterDatafeedStatusError--; |
1637 return o; | 1102 return o; |
1638 } | 1103 } |
1639 | 1104 |
1640 checkDatafeedStatusError(api.DatafeedStatusError o) { | 1105 checkDatafeedStatusError(api.DatafeedStatusError o) { |
1641 buildCounterDatafeedStatusError++; | 1106 buildCounterDatafeedStatusError++; |
1642 if (buildCounterDatafeedStatusError < 3) { | 1107 if (buildCounterDatafeedStatusError < 3) { |
1643 unittest.expect(o.code, unittest.equals('foo')); | 1108 unittest.expect(o.code, unittest.equals('foo')); |
1644 unittest.expect(o.count, unittest.equals('foo')); | 1109 unittest.expect(o.count, unittest.equals('foo')); |
1645 checkUnnamed306(o.examples); | 1110 checkUnnamed292(o.examples); |
1646 unittest.expect(o.message, unittest.equals('foo')); | 1111 unittest.expect(o.message, unittest.equals('foo')); |
1647 } | 1112 } |
1648 buildCounterDatafeedStatusError--; | 1113 buildCounterDatafeedStatusError--; |
1649 } | 1114 } |
1650 | 1115 |
1651 core.int buildCounterDatafeedStatusExample = 0; | 1116 core.int buildCounterDatafeedStatusExample = 0; |
1652 buildDatafeedStatusExample() { | 1117 buildDatafeedStatusExample() { |
1653 var o = new api.DatafeedStatusExample(); | 1118 var o = new api.DatafeedStatusExample(); |
1654 buildCounterDatafeedStatusExample++; | 1119 buildCounterDatafeedStatusExample++; |
1655 if (buildCounterDatafeedStatusExample < 3) { | 1120 if (buildCounterDatafeedStatusExample < 3) { |
1656 o.itemId = "foo"; | 1121 o.itemId = "foo"; |
1657 o.lineNumber = "foo"; | 1122 o.lineNumber = "foo"; |
1658 o.value = "foo"; | 1123 o.value = "foo"; |
1659 } | 1124 } |
1660 buildCounterDatafeedStatusExample--; | 1125 buildCounterDatafeedStatusExample--; |
1661 return o; | 1126 return o; |
1662 } | 1127 } |
1663 | 1128 |
1664 checkDatafeedStatusExample(api.DatafeedStatusExample o) { | 1129 checkDatafeedStatusExample(api.DatafeedStatusExample o) { |
1665 buildCounterDatafeedStatusExample++; | 1130 buildCounterDatafeedStatusExample++; |
1666 if (buildCounterDatafeedStatusExample < 3) { | 1131 if (buildCounterDatafeedStatusExample < 3) { |
1667 unittest.expect(o.itemId, unittest.equals('foo')); | 1132 unittest.expect(o.itemId, unittest.equals('foo')); |
1668 unittest.expect(o.lineNumber, unittest.equals('foo')); | 1133 unittest.expect(o.lineNumber, unittest.equals('foo')); |
1669 unittest.expect(o.value, unittest.equals('foo')); | 1134 unittest.expect(o.value, unittest.equals('foo')); |
1670 } | 1135 } |
1671 buildCounterDatafeedStatusExample--; | 1136 buildCounterDatafeedStatusExample--; |
1672 } | 1137 } |
1673 | 1138 |
1674 buildUnnamed307() { | 1139 buildUnnamed293() { |
1675 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); | 1140 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); |
1676 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1141 o.add(buildDatafeedsCustomBatchRequestEntry()); |
1677 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1142 o.add(buildDatafeedsCustomBatchRequestEntry()); |
1678 return o; | 1143 return o; |
1679 } | 1144 } |
1680 | 1145 |
1681 checkUnnamed307(core.List<api.DatafeedsCustomBatchRequestEntry> o) { | 1146 checkUnnamed293(core.List<api.DatafeedsCustomBatchRequestEntry> o) { |
1682 unittest.expect(o, unittest.hasLength(2)); | 1147 unittest.expect(o, unittest.hasLength(2)); |
1683 checkDatafeedsCustomBatchRequestEntry(o[0]); | 1148 checkDatafeedsCustomBatchRequestEntry(o[0]); |
1684 checkDatafeedsCustomBatchRequestEntry(o[1]); | 1149 checkDatafeedsCustomBatchRequestEntry(o[1]); |
1685 } | 1150 } |
1686 | 1151 |
1687 core.int buildCounterDatafeedsCustomBatchRequest = 0; | 1152 core.int buildCounterDatafeedsCustomBatchRequest = 0; |
1688 buildDatafeedsCustomBatchRequest() { | 1153 buildDatafeedsCustomBatchRequest() { |
1689 var o = new api.DatafeedsCustomBatchRequest(); | 1154 var o = new api.DatafeedsCustomBatchRequest(); |
1690 buildCounterDatafeedsCustomBatchRequest++; | 1155 buildCounterDatafeedsCustomBatchRequest++; |
1691 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1156 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
1692 o.entries = buildUnnamed307(); | 1157 o.entries = buildUnnamed293(); |
1693 } | 1158 } |
1694 buildCounterDatafeedsCustomBatchRequest--; | 1159 buildCounterDatafeedsCustomBatchRequest--; |
1695 return o; | 1160 return o; |
1696 } | 1161 } |
1697 | 1162 |
1698 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { | 1163 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { |
1699 buildCounterDatafeedsCustomBatchRequest++; | 1164 buildCounterDatafeedsCustomBatchRequest++; |
1700 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1165 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
1701 checkUnnamed307(o.entries); | 1166 checkUnnamed293(o.entries); |
1702 } | 1167 } |
1703 buildCounterDatafeedsCustomBatchRequest--; | 1168 buildCounterDatafeedsCustomBatchRequest--; |
1704 } | 1169 } |
1705 | 1170 |
1706 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; | 1171 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; |
1707 buildDatafeedsCustomBatchRequestEntry() { | 1172 buildDatafeedsCustomBatchRequestEntry() { |
1708 var o = new api.DatafeedsCustomBatchRequestEntry(); | 1173 var o = new api.DatafeedsCustomBatchRequestEntry(); |
1709 buildCounterDatafeedsCustomBatchRequestEntry++; | 1174 buildCounterDatafeedsCustomBatchRequestEntry++; |
1710 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1175 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
1711 o.batchId = 42; | 1176 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
1723 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1188 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
1724 unittest.expect(o.batchId, unittest.equals(42)); | 1189 unittest.expect(o.batchId, unittest.equals(42)); |
1725 checkDatafeed(o.datafeed); | 1190 checkDatafeed(o.datafeed); |
1726 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1191 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1727 unittest.expect(o.merchantId, unittest.equals('foo')); | 1192 unittest.expect(o.merchantId, unittest.equals('foo')); |
1728 unittest.expect(o.method, unittest.equals('foo')); | 1193 unittest.expect(o.method, unittest.equals('foo')); |
1729 } | 1194 } |
1730 buildCounterDatafeedsCustomBatchRequestEntry--; | 1195 buildCounterDatafeedsCustomBatchRequestEntry--; |
1731 } | 1196 } |
1732 | 1197 |
1733 buildUnnamed308() { | 1198 buildUnnamed294() { |
1734 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); | 1199 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); |
1735 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1200 o.add(buildDatafeedsCustomBatchResponseEntry()); |
1736 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1201 o.add(buildDatafeedsCustomBatchResponseEntry()); |
1737 return o; | 1202 return o; |
1738 } | 1203 } |
1739 | 1204 |
1740 checkUnnamed308(core.List<api.DatafeedsCustomBatchResponseEntry> o) { | 1205 checkUnnamed294(core.List<api.DatafeedsCustomBatchResponseEntry> o) { |
1741 unittest.expect(o, unittest.hasLength(2)); | 1206 unittest.expect(o, unittest.hasLength(2)); |
1742 checkDatafeedsCustomBatchResponseEntry(o[0]); | 1207 checkDatafeedsCustomBatchResponseEntry(o[0]); |
1743 checkDatafeedsCustomBatchResponseEntry(o[1]); | 1208 checkDatafeedsCustomBatchResponseEntry(o[1]); |
1744 } | 1209 } |
1745 | 1210 |
1746 core.int buildCounterDatafeedsCustomBatchResponse = 0; | 1211 core.int buildCounterDatafeedsCustomBatchResponse = 0; |
1747 buildDatafeedsCustomBatchResponse() { | 1212 buildDatafeedsCustomBatchResponse() { |
1748 var o = new api.DatafeedsCustomBatchResponse(); | 1213 var o = new api.DatafeedsCustomBatchResponse(); |
1749 buildCounterDatafeedsCustomBatchResponse++; | 1214 buildCounterDatafeedsCustomBatchResponse++; |
1750 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1215 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
1751 o.entries = buildUnnamed308(); | 1216 o.entries = buildUnnamed294(); |
1752 o.kind = "foo"; | 1217 o.kind = "foo"; |
1753 } | 1218 } |
1754 buildCounterDatafeedsCustomBatchResponse--; | 1219 buildCounterDatafeedsCustomBatchResponse--; |
1755 return o; | 1220 return o; |
1756 } | 1221 } |
1757 | 1222 |
1758 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { | 1223 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { |
1759 buildCounterDatafeedsCustomBatchResponse++; | 1224 buildCounterDatafeedsCustomBatchResponse++; |
1760 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1225 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
1761 checkUnnamed308(o.entries); | 1226 checkUnnamed294(o.entries); |
1762 unittest.expect(o.kind, unittest.equals('foo')); | 1227 unittest.expect(o.kind, unittest.equals('foo')); |
1763 } | 1228 } |
1764 buildCounterDatafeedsCustomBatchResponse--; | 1229 buildCounterDatafeedsCustomBatchResponse--; |
1765 } | 1230 } |
1766 | 1231 |
1767 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; | 1232 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; |
1768 buildDatafeedsCustomBatchResponseEntry() { | 1233 buildDatafeedsCustomBatchResponseEntry() { |
1769 var o = new api.DatafeedsCustomBatchResponseEntry(); | 1234 var o = new api.DatafeedsCustomBatchResponseEntry(); |
1770 buildCounterDatafeedsCustomBatchResponseEntry++; | 1235 buildCounterDatafeedsCustomBatchResponseEntry++; |
1771 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1236 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
1772 o.batchId = 42; | 1237 o.batchId = 42; |
1773 o.datafeed = buildDatafeed(); | 1238 o.datafeed = buildDatafeed(); |
1774 o.errors = buildErrors(); | 1239 o.errors = buildErrors(); |
1775 } | 1240 } |
1776 buildCounterDatafeedsCustomBatchResponseEntry--; | 1241 buildCounterDatafeedsCustomBatchResponseEntry--; |
1777 return o; | 1242 return o; |
1778 } | 1243 } |
1779 | 1244 |
1780 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ | 1245 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ |
1781 buildCounterDatafeedsCustomBatchResponseEntry++; | 1246 buildCounterDatafeedsCustomBatchResponseEntry++; |
1782 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1247 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
1783 unittest.expect(o.batchId, unittest.equals(42)); | 1248 unittest.expect(o.batchId, unittest.equals(42)); |
1784 checkDatafeed(o.datafeed); | 1249 checkDatafeed(o.datafeed); |
1785 checkErrors(o.errors); | 1250 checkErrors(o.errors); |
1786 } | 1251 } |
1787 buildCounterDatafeedsCustomBatchResponseEntry--; | 1252 buildCounterDatafeedsCustomBatchResponseEntry--; |
1788 } | 1253 } |
1789 | 1254 |
1790 buildUnnamed309() { | 1255 buildUnnamed295() { |
1791 var o = new core.List<api.Datafeed>(); | 1256 var o = new core.List<api.Datafeed>(); |
1792 o.add(buildDatafeed()); | 1257 o.add(buildDatafeed()); |
1793 o.add(buildDatafeed()); | 1258 o.add(buildDatafeed()); |
1794 return o; | 1259 return o; |
1795 } | 1260 } |
1796 | 1261 |
1797 checkUnnamed309(core.List<api.Datafeed> o) { | 1262 checkUnnamed295(core.List<api.Datafeed> o) { |
1798 unittest.expect(o, unittest.hasLength(2)); | 1263 unittest.expect(o, unittest.hasLength(2)); |
1799 checkDatafeed(o[0]); | 1264 checkDatafeed(o[0]); |
1800 checkDatafeed(o[1]); | 1265 checkDatafeed(o[1]); |
1801 } | 1266 } |
1802 | 1267 |
1803 core.int buildCounterDatafeedsListResponse = 0; | 1268 core.int buildCounterDatafeedsListResponse = 0; |
1804 buildDatafeedsListResponse() { | 1269 buildDatafeedsListResponse() { |
1805 var o = new api.DatafeedsListResponse(); | 1270 var o = new api.DatafeedsListResponse(); |
1806 buildCounterDatafeedsListResponse++; | 1271 buildCounterDatafeedsListResponse++; |
1807 if (buildCounterDatafeedsListResponse < 3) { | 1272 if (buildCounterDatafeedsListResponse < 3) { |
1808 o.kind = "foo"; | 1273 o.kind = "foo"; |
1809 o.nextPageToken = "foo"; | 1274 o.nextPageToken = "foo"; |
1810 o.resources = buildUnnamed309(); | 1275 o.resources = buildUnnamed295(); |
1811 } | 1276 } |
1812 buildCounterDatafeedsListResponse--; | 1277 buildCounterDatafeedsListResponse--; |
1813 return o; | 1278 return o; |
1814 } | 1279 } |
1815 | 1280 |
1816 checkDatafeedsListResponse(api.DatafeedsListResponse o) { | 1281 checkDatafeedsListResponse(api.DatafeedsListResponse o) { |
1817 buildCounterDatafeedsListResponse++; | 1282 buildCounterDatafeedsListResponse++; |
1818 if (buildCounterDatafeedsListResponse < 3) { | 1283 if (buildCounterDatafeedsListResponse < 3) { |
1819 unittest.expect(o.kind, unittest.equals('foo')); | 1284 unittest.expect(o.kind, unittest.equals('foo')); |
1820 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1285 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1821 checkUnnamed309(o.resources); | 1286 checkUnnamed295(o.resources); |
1822 } | 1287 } |
1823 buildCounterDatafeedsListResponse--; | 1288 buildCounterDatafeedsListResponse--; |
1824 } | 1289 } |
1825 | 1290 |
1826 buildUnnamed310() { | 1291 buildUnnamed296() { |
1827 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); | 1292 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); |
1828 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1293 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
1829 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1294 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
1830 return o; | 1295 return o; |
1831 } | 1296 } |
1832 | 1297 |
1833 checkUnnamed310(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { | 1298 checkUnnamed296(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { |
1834 unittest.expect(o, unittest.hasLength(2)); | 1299 unittest.expect(o, unittest.hasLength(2)); |
1835 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); | 1300 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); |
1836 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); | 1301 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); |
1837 } | 1302 } |
1838 | 1303 |
1839 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; | 1304 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; |
1840 buildDatafeedstatusesCustomBatchRequest() { | 1305 buildDatafeedstatusesCustomBatchRequest() { |
1841 var o = new api.DatafeedstatusesCustomBatchRequest(); | 1306 var o = new api.DatafeedstatusesCustomBatchRequest(); |
1842 buildCounterDatafeedstatusesCustomBatchRequest++; | 1307 buildCounterDatafeedstatusesCustomBatchRequest++; |
1843 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1308 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
1844 o.entries = buildUnnamed310(); | 1309 o.entries = buildUnnamed296(); |
1845 } | 1310 } |
1846 buildCounterDatafeedstatusesCustomBatchRequest--; | 1311 buildCounterDatafeedstatusesCustomBatchRequest--; |
1847 return o; | 1312 return o; |
1848 } | 1313 } |
1849 | 1314 |
1850 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { | 1315 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { |
1851 buildCounterDatafeedstatusesCustomBatchRequest++; | 1316 buildCounterDatafeedstatusesCustomBatchRequest++; |
1852 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1317 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
1853 checkUnnamed310(o.entries); | 1318 checkUnnamed296(o.entries); |
1854 } | 1319 } |
1855 buildCounterDatafeedstatusesCustomBatchRequest--; | 1320 buildCounterDatafeedstatusesCustomBatchRequest--; |
1856 } | 1321 } |
1857 | 1322 |
1858 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; | 1323 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; |
1859 buildDatafeedstatusesCustomBatchRequestEntry() { | 1324 buildDatafeedstatusesCustomBatchRequestEntry() { |
1860 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); | 1325 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); |
1861 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1326 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
1862 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1327 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
1863 o.batchId = 42; | 1328 o.batchId = 42; |
1864 o.datafeedId = "foo"; | 1329 o.datafeedId = "foo"; |
1865 o.merchantId = "foo"; | 1330 o.merchantId = "foo"; |
1866 o.method = "foo"; | 1331 o.method = "foo"; |
1867 } | 1332 } |
1868 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1333 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
1869 return o; | 1334 return o; |
1870 } | 1335 } |
1871 | 1336 |
1872 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { | 1337 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { |
1873 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1338 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
1874 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1339 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
1875 unittest.expect(o.batchId, unittest.equals(42)); | 1340 unittest.expect(o.batchId, unittest.equals(42)); |
1876 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1341 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1877 unittest.expect(o.merchantId, unittest.equals('foo')); | 1342 unittest.expect(o.merchantId, unittest.equals('foo')); |
1878 unittest.expect(o.method, unittest.equals('foo')); | 1343 unittest.expect(o.method, unittest.equals('foo')); |
1879 } | 1344 } |
1880 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1345 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
1881 } | 1346 } |
1882 | 1347 |
1883 buildUnnamed311() { | 1348 buildUnnamed297() { |
1884 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); | 1349 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); |
1885 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1350 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
1886 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1351 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
1887 return o; | 1352 return o; |
1888 } | 1353 } |
1889 | 1354 |
1890 checkUnnamed311(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { | 1355 checkUnnamed297(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { |
1891 unittest.expect(o, unittest.hasLength(2)); | 1356 unittest.expect(o, unittest.hasLength(2)); |
1892 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); | 1357 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); |
1893 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); | 1358 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); |
1894 } | 1359 } |
1895 | 1360 |
1896 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; | 1361 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; |
1897 buildDatafeedstatusesCustomBatchResponse() { | 1362 buildDatafeedstatusesCustomBatchResponse() { |
1898 var o = new api.DatafeedstatusesCustomBatchResponse(); | 1363 var o = new api.DatafeedstatusesCustomBatchResponse(); |
1899 buildCounterDatafeedstatusesCustomBatchResponse++; | 1364 buildCounterDatafeedstatusesCustomBatchResponse++; |
1900 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1365 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
1901 o.entries = buildUnnamed311(); | 1366 o.entries = buildUnnamed297(); |
1902 o.kind = "foo"; | 1367 o.kind = "foo"; |
1903 } | 1368 } |
1904 buildCounterDatafeedstatusesCustomBatchResponse--; | 1369 buildCounterDatafeedstatusesCustomBatchResponse--; |
1905 return o; | 1370 return o; |
1906 } | 1371 } |
1907 | 1372 |
1908 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { | 1373 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { |
1909 buildCounterDatafeedstatusesCustomBatchResponse++; | 1374 buildCounterDatafeedstatusesCustomBatchResponse++; |
1910 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1375 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
1911 checkUnnamed311(o.entries); | 1376 checkUnnamed297(o.entries); |
1912 unittest.expect(o.kind, unittest.equals('foo')); | 1377 unittest.expect(o.kind, unittest.equals('foo')); |
1913 } | 1378 } |
1914 buildCounterDatafeedstatusesCustomBatchResponse--; | 1379 buildCounterDatafeedstatusesCustomBatchResponse--; |
1915 } | 1380 } |
1916 | 1381 |
1917 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; | 1382 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; |
1918 buildDatafeedstatusesCustomBatchResponseEntry() { | 1383 buildDatafeedstatusesCustomBatchResponseEntry() { |
1919 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); | 1384 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); |
1920 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1385 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
1921 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1386 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
1922 o.batchId = 42; | 1387 o.batchId = 42; |
1923 o.datafeedStatus = buildDatafeedStatus(); | 1388 o.datafeedStatus = buildDatafeedStatus(); |
1924 o.errors = buildErrors(); | 1389 o.errors = buildErrors(); |
1925 } | 1390 } |
1926 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1391 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
1927 return o; | 1392 return o; |
1928 } | 1393 } |
1929 | 1394 |
1930 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { | 1395 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { |
1931 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1396 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
1932 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1397 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
1933 unittest.expect(o.batchId, unittest.equals(42)); | 1398 unittest.expect(o.batchId, unittest.equals(42)); |
1934 checkDatafeedStatus(o.datafeedStatus); | 1399 checkDatafeedStatus(o.datafeedStatus); |
1935 checkErrors(o.errors); | 1400 checkErrors(o.errors); |
1936 } | 1401 } |
1937 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1402 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
1938 } | 1403 } |
1939 | 1404 |
1940 buildUnnamed312() { | 1405 buildUnnamed298() { |
1941 var o = new core.List<api.DatafeedStatus>(); | 1406 var o = new core.List<api.DatafeedStatus>(); |
1942 o.add(buildDatafeedStatus()); | 1407 o.add(buildDatafeedStatus()); |
1943 o.add(buildDatafeedStatus()); | 1408 o.add(buildDatafeedStatus()); |
1944 return o; | 1409 return o; |
1945 } | 1410 } |
1946 | 1411 |
1947 checkUnnamed312(core.List<api.DatafeedStatus> o) { | 1412 checkUnnamed298(core.List<api.DatafeedStatus> o) { |
1948 unittest.expect(o, unittest.hasLength(2)); | 1413 unittest.expect(o, unittest.hasLength(2)); |
1949 checkDatafeedStatus(o[0]); | 1414 checkDatafeedStatus(o[0]); |
1950 checkDatafeedStatus(o[1]); | 1415 checkDatafeedStatus(o[1]); |
1951 } | 1416 } |
1952 | 1417 |
1953 core.int buildCounterDatafeedstatusesListResponse = 0; | 1418 core.int buildCounterDatafeedstatusesListResponse = 0; |
1954 buildDatafeedstatusesListResponse() { | 1419 buildDatafeedstatusesListResponse() { |
1955 var o = new api.DatafeedstatusesListResponse(); | 1420 var o = new api.DatafeedstatusesListResponse(); |
1956 buildCounterDatafeedstatusesListResponse++; | 1421 buildCounterDatafeedstatusesListResponse++; |
1957 if (buildCounterDatafeedstatusesListResponse < 3) { | 1422 if (buildCounterDatafeedstatusesListResponse < 3) { |
1958 o.kind = "foo"; | 1423 o.kind = "foo"; |
1959 o.nextPageToken = "foo"; | 1424 o.nextPageToken = "foo"; |
1960 o.resources = buildUnnamed312(); | 1425 o.resources = buildUnnamed298(); |
1961 } | 1426 } |
1962 buildCounterDatafeedstatusesListResponse--; | 1427 buildCounterDatafeedstatusesListResponse--; |
1963 return o; | 1428 return o; |
1964 } | 1429 } |
1965 | 1430 |
1966 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { | 1431 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { |
1967 buildCounterDatafeedstatusesListResponse++; | 1432 buildCounterDatafeedstatusesListResponse++; |
1968 if (buildCounterDatafeedstatusesListResponse < 3) { | 1433 if (buildCounterDatafeedstatusesListResponse < 3) { |
1969 unittest.expect(o.kind, unittest.equals('foo')); | 1434 unittest.expect(o.kind, unittest.equals('foo')); |
1970 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1435 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1971 checkUnnamed312(o.resources); | 1436 checkUnnamed298(o.resources); |
1972 } | 1437 } |
1973 buildCounterDatafeedstatusesListResponse--; | 1438 buildCounterDatafeedstatusesListResponse--; |
1974 } | 1439 } |
1975 | 1440 |
1976 core.int buildCounterDeliveryTime = 0; | 1441 core.int buildCounterDeliveryTime = 0; |
1977 buildDeliveryTime() { | 1442 buildDeliveryTime() { |
1978 var o = new api.DeliveryTime(); | 1443 var o = new api.DeliveryTime(); |
1979 buildCounterDeliveryTime++; | 1444 buildCounterDeliveryTime++; |
1980 if (buildCounterDeliveryTime < 3) { | 1445 if (buildCounterDeliveryTime < 3) { |
1981 o.maxTransitTimeInDays = 42; | 1446 o.maxTransitTimeInDays = 42; |
(...skipping 28 matching lines...) Expand all Loading... |
2010 checkError(api.Error o) { | 1475 checkError(api.Error o) { |
2011 buildCounterError++; | 1476 buildCounterError++; |
2012 if (buildCounterError < 3) { | 1477 if (buildCounterError < 3) { |
2013 unittest.expect(o.domain, unittest.equals('foo')); | 1478 unittest.expect(o.domain, unittest.equals('foo')); |
2014 unittest.expect(o.message, unittest.equals('foo')); | 1479 unittest.expect(o.message, unittest.equals('foo')); |
2015 unittest.expect(o.reason, unittest.equals('foo')); | 1480 unittest.expect(o.reason, unittest.equals('foo')); |
2016 } | 1481 } |
2017 buildCounterError--; | 1482 buildCounterError--; |
2018 } | 1483 } |
2019 | 1484 |
2020 buildUnnamed313() { | 1485 buildUnnamed299() { |
2021 var o = new core.List<api.Error>(); | 1486 var o = new core.List<api.Error>(); |
2022 o.add(buildError()); | 1487 o.add(buildError()); |
2023 o.add(buildError()); | 1488 o.add(buildError()); |
2024 return o; | 1489 return o; |
2025 } | 1490 } |
2026 | 1491 |
2027 checkUnnamed313(core.List<api.Error> o) { | 1492 checkUnnamed299(core.List<api.Error> o) { |
2028 unittest.expect(o, unittest.hasLength(2)); | 1493 unittest.expect(o, unittest.hasLength(2)); |
2029 checkError(o[0]); | 1494 checkError(o[0]); |
2030 checkError(o[1]); | 1495 checkError(o[1]); |
2031 } | 1496 } |
2032 | 1497 |
2033 core.int buildCounterErrors = 0; | 1498 core.int buildCounterErrors = 0; |
2034 buildErrors() { | 1499 buildErrors() { |
2035 var o = new api.Errors(); | 1500 var o = new api.Errors(); |
2036 buildCounterErrors++; | 1501 buildCounterErrors++; |
2037 if (buildCounterErrors < 3) { | 1502 if (buildCounterErrors < 3) { |
2038 o.code = 42; | 1503 o.code = 42; |
2039 o.errors = buildUnnamed313(); | 1504 o.errors = buildUnnamed299(); |
2040 o.message = "foo"; | 1505 o.message = "foo"; |
2041 } | 1506 } |
2042 buildCounterErrors--; | 1507 buildCounterErrors--; |
2043 return o; | 1508 return o; |
2044 } | 1509 } |
2045 | 1510 |
2046 checkErrors(api.Errors o) { | 1511 checkErrors(api.Errors o) { |
2047 buildCounterErrors++; | 1512 buildCounterErrors++; |
2048 if (buildCounterErrors < 3) { | 1513 if (buildCounterErrors < 3) { |
2049 unittest.expect(o.code, unittest.equals(42)); | 1514 unittest.expect(o.code, unittest.equals(42)); |
2050 checkUnnamed313(o.errors); | 1515 checkUnnamed299(o.errors); |
2051 unittest.expect(o.message, unittest.equals('foo')); | 1516 unittest.expect(o.message, unittest.equals('foo')); |
2052 } | 1517 } |
2053 buildCounterErrors--; | 1518 buildCounterErrors--; |
2054 } | 1519 } |
2055 | 1520 |
2056 buildUnnamed314() { | 1521 buildUnnamed300() { |
2057 var o = new core.List<api.LocationIdSet>(); | 1522 var o = new core.List<api.LocationIdSet>(); |
2058 o.add(buildLocationIdSet()); | 1523 o.add(buildLocationIdSet()); |
2059 o.add(buildLocationIdSet()); | 1524 o.add(buildLocationIdSet()); |
2060 return o; | 1525 return o; |
2061 } | 1526 } |
2062 | 1527 |
2063 checkUnnamed314(core.List<api.LocationIdSet> o) { | 1528 checkUnnamed300(core.List<api.LocationIdSet> o) { |
2064 unittest.expect(o, unittest.hasLength(2)); | 1529 unittest.expect(o, unittest.hasLength(2)); |
2065 checkLocationIdSet(o[0]); | 1530 checkLocationIdSet(o[0]); |
2066 checkLocationIdSet(o[1]); | 1531 checkLocationIdSet(o[1]); |
2067 } | 1532 } |
2068 | 1533 |
2069 buildUnnamed315() { | 1534 buildUnnamed301() { |
2070 var o = new core.List<core.String>(); | 1535 var o = new core.List<core.String>(); |
2071 o.add("foo"); | 1536 o.add("foo"); |
2072 o.add("foo"); | 1537 o.add("foo"); |
2073 return o; | 1538 return o; |
2074 } | 1539 } |
2075 | 1540 |
2076 checkUnnamed315(core.List<core.String> o) { | 1541 checkUnnamed301(core.List<core.String> o) { |
2077 unittest.expect(o, unittest.hasLength(2)); | 1542 unittest.expect(o, unittest.hasLength(2)); |
2078 unittest.expect(o[0], unittest.equals('foo')); | 1543 unittest.expect(o[0], unittest.equals('foo')); |
2079 unittest.expect(o[1], unittest.equals('foo')); | 1544 unittest.expect(o[1], unittest.equals('foo')); |
2080 } | 1545 } |
2081 | 1546 |
2082 buildUnnamed316() { | 1547 buildUnnamed302() { |
2083 var o = new core.List<core.String>(); | 1548 var o = new core.List<core.String>(); |
2084 o.add("foo"); | 1549 o.add("foo"); |
2085 o.add("foo"); | 1550 o.add("foo"); |
2086 return o; | 1551 return o; |
2087 } | 1552 } |
2088 | 1553 |
2089 checkUnnamed316(core.List<core.String> o) { | 1554 checkUnnamed302(core.List<core.String> o) { |
2090 unittest.expect(o, unittest.hasLength(2)); | 1555 unittest.expect(o, unittest.hasLength(2)); |
2091 unittest.expect(o[0], unittest.equals('foo')); | 1556 unittest.expect(o[0], unittest.equals('foo')); |
2092 unittest.expect(o[1], unittest.equals('foo')); | 1557 unittest.expect(o[1], unittest.equals('foo')); |
2093 } | 1558 } |
2094 | 1559 |
2095 buildUnnamed317() { | 1560 buildUnnamed303() { |
2096 var o = new core.List<api.Price>(); | 1561 var o = new core.List<api.Price>(); |
2097 o.add(buildPrice()); | 1562 o.add(buildPrice()); |
2098 o.add(buildPrice()); | 1563 o.add(buildPrice()); |
2099 return o; | 1564 return o; |
2100 } | 1565 } |
2101 | 1566 |
2102 checkUnnamed317(core.List<api.Price> o) { | 1567 checkUnnamed303(core.List<api.Price> o) { |
2103 unittest.expect(o, unittest.hasLength(2)); | 1568 unittest.expect(o, unittest.hasLength(2)); |
2104 checkPrice(o[0]); | 1569 checkPrice(o[0]); |
2105 checkPrice(o[1]); | 1570 checkPrice(o[1]); |
2106 } | 1571 } |
2107 | 1572 |
2108 buildUnnamed318() { | 1573 buildUnnamed304() { |
2109 var o = new core.List<api.Weight>(); | 1574 var o = new core.List<api.Weight>(); |
2110 o.add(buildWeight()); | 1575 o.add(buildWeight()); |
2111 o.add(buildWeight()); | 1576 o.add(buildWeight()); |
2112 return o; | 1577 return o; |
2113 } | 1578 } |
2114 | 1579 |
2115 checkUnnamed318(core.List<api.Weight> o) { | 1580 checkUnnamed304(core.List<api.Weight> o) { |
2116 unittest.expect(o, unittest.hasLength(2)); | 1581 unittest.expect(o, unittest.hasLength(2)); |
2117 checkWeight(o[0]); | 1582 checkWeight(o[0]); |
2118 checkWeight(o[1]); | 1583 checkWeight(o[1]); |
2119 } | 1584 } |
2120 | 1585 |
2121 core.int buildCounterHeaders = 0; | 1586 core.int buildCounterHeaders = 0; |
2122 buildHeaders() { | 1587 buildHeaders() { |
2123 var o = new api.Headers(); | 1588 var o = new api.Headers(); |
2124 buildCounterHeaders++; | 1589 buildCounterHeaders++; |
2125 if (buildCounterHeaders < 3) { | 1590 if (buildCounterHeaders < 3) { |
2126 o.locations = buildUnnamed314(); | 1591 o.locations = buildUnnamed300(); |
2127 o.numberOfItems = buildUnnamed315(); | 1592 o.numberOfItems = buildUnnamed301(); |
2128 o.postalCodeGroupNames = buildUnnamed316(); | 1593 o.postalCodeGroupNames = buildUnnamed302(); |
2129 o.prices = buildUnnamed317(); | 1594 o.prices = buildUnnamed303(); |
2130 o.weights = buildUnnamed318(); | 1595 o.weights = buildUnnamed304(); |
2131 } | 1596 } |
2132 buildCounterHeaders--; | 1597 buildCounterHeaders--; |
2133 return o; | 1598 return o; |
2134 } | 1599 } |
2135 | 1600 |
2136 checkHeaders(api.Headers o) { | 1601 checkHeaders(api.Headers o) { |
2137 buildCounterHeaders++; | 1602 buildCounterHeaders++; |
2138 if (buildCounterHeaders < 3) { | 1603 if (buildCounterHeaders < 3) { |
2139 checkUnnamed314(o.locations); | 1604 checkUnnamed300(o.locations); |
2140 checkUnnamed315(o.numberOfItems); | 1605 checkUnnamed301(o.numberOfItems); |
2141 checkUnnamed316(o.postalCodeGroupNames); | 1606 checkUnnamed302(o.postalCodeGroupNames); |
2142 checkUnnamed317(o.prices); | 1607 checkUnnamed303(o.prices); |
2143 checkUnnamed318(o.weights); | 1608 checkUnnamed304(o.weights); |
2144 } | 1609 } |
2145 buildCounterHeaders--; | 1610 buildCounterHeaders--; |
2146 } | 1611 } |
2147 | 1612 |
2148 core.int buildCounterInstallment = 0; | 1613 core.int buildCounterInstallment = 0; |
2149 buildInstallment() { | 1614 buildInstallment() { |
2150 var o = new api.Installment(); | 1615 var o = new api.Installment(); |
2151 buildCounterInstallment++; | 1616 buildCounterInstallment++; |
2152 if (buildCounterInstallment < 3) { | 1617 if (buildCounterInstallment < 3) { |
2153 o.amount = buildPrice(); | 1618 o.amount = buildPrice(); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2196 checkInventoryPickup(o.pickup); | 1661 checkInventoryPickup(o.pickup); |
2197 checkPrice(o.price); | 1662 checkPrice(o.price); |
2198 unittest.expect(o.quantity, unittest.equals(42)); | 1663 unittest.expect(o.quantity, unittest.equals(42)); |
2199 checkPrice(o.salePrice); | 1664 checkPrice(o.salePrice); |
2200 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 1665 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
2201 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 1666 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
2202 } | 1667 } |
2203 buildCounterInventory--; | 1668 buildCounterInventory--; |
2204 } | 1669 } |
2205 | 1670 |
2206 buildUnnamed319() { | 1671 buildUnnamed305() { |
2207 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); | 1672 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); |
2208 o.add(buildInventoryCustomBatchRequestEntry()); | 1673 o.add(buildInventoryCustomBatchRequestEntry()); |
2209 o.add(buildInventoryCustomBatchRequestEntry()); | 1674 o.add(buildInventoryCustomBatchRequestEntry()); |
2210 return o; | 1675 return o; |
2211 } | 1676 } |
2212 | 1677 |
2213 checkUnnamed319(core.List<api.InventoryCustomBatchRequestEntry> o) { | 1678 checkUnnamed305(core.List<api.InventoryCustomBatchRequestEntry> o) { |
2214 unittest.expect(o, unittest.hasLength(2)); | 1679 unittest.expect(o, unittest.hasLength(2)); |
2215 checkInventoryCustomBatchRequestEntry(o[0]); | 1680 checkInventoryCustomBatchRequestEntry(o[0]); |
2216 checkInventoryCustomBatchRequestEntry(o[1]); | 1681 checkInventoryCustomBatchRequestEntry(o[1]); |
2217 } | 1682 } |
2218 | 1683 |
2219 core.int buildCounterInventoryCustomBatchRequest = 0; | 1684 core.int buildCounterInventoryCustomBatchRequest = 0; |
2220 buildInventoryCustomBatchRequest() { | 1685 buildInventoryCustomBatchRequest() { |
2221 var o = new api.InventoryCustomBatchRequest(); | 1686 var o = new api.InventoryCustomBatchRequest(); |
2222 buildCounterInventoryCustomBatchRequest++; | 1687 buildCounterInventoryCustomBatchRequest++; |
2223 if (buildCounterInventoryCustomBatchRequest < 3) { | 1688 if (buildCounterInventoryCustomBatchRequest < 3) { |
2224 o.entries = buildUnnamed319(); | 1689 o.entries = buildUnnamed305(); |
2225 } | 1690 } |
2226 buildCounterInventoryCustomBatchRequest--; | 1691 buildCounterInventoryCustomBatchRequest--; |
2227 return o; | 1692 return o; |
2228 } | 1693 } |
2229 | 1694 |
2230 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { | 1695 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { |
2231 buildCounterInventoryCustomBatchRequest++; | 1696 buildCounterInventoryCustomBatchRequest++; |
2232 if (buildCounterInventoryCustomBatchRequest < 3) { | 1697 if (buildCounterInventoryCustomBatchRequest < 3) { |
2233 checkUnnamed319(o.entries); | 1698 checkUnnamed305(o.entries); |
2234 } | 1699 } |
2235 buildCounterInventoryCustomBatchRequest--; | 1700 buildCounterInventoryCustomBatchRequest--; |
2236 } | 1701 } |
2237 | 1702 |
2238 core.int buildCounterInventoryCustomBatchRequestEntry = 0; | 1703 core.int buildCounterInventoryCustomBatchRequestEntry = 0; |
2239 buildInventoryCustomBatchRequestEntry() { | 1704 buildInventoryCustomBatchRequestEntry() { |
2240 var o = new api.InventoryCustomBatchRequestEntry(); | 1705 var o = new api.InventoryCustomBatchRequestEntry(); |
2241 buildCounterInventoryCustomBatchRequestEntry++; | 1706 buildCounterInventoryCustomBatchRequestEntry++; |
2242 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 1707 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
2243 o.batchId = 42; | 1708 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
2255 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 1720 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
2256 unittest.expect(o.batchId, unittest.equals(42)); | 1721 unittest.expect(o.batchId, unittest.equals(42)); |
2257 checkInventory(o.inventory); | 1722 checkInventory(o.inventory); |
2258 unittest.expect(o.merchantId, unittest.equals('foo')); | 1723 unittest.expect(o.merchantId, unittest.equals('foo')); |
2259 unittest.expect(o.productId, unittest.equals('foo')); | 1724 unittest.expect(o.productId, unittest.equals('foo')); |
2260 unittest.expect(o.storeCode, unittest.equals('foo')); | 1725 unittest.expect(o.storeCode, unittest.equals('foo')); |
2261 } | 1726 } |
2262 buildCounterInventoryCustomBatchRequestEntry--; | 1727 buildCounterInventoryCustomBatchRequestEntry--; |
2263 } | 1728 } |
2264 | 1729 |
2265 buildUnnamed320() { | 1730 buildUnnamed306() { |
2266 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); | 1731 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); |
2267 o.add(buildInventoryCustomBatchResponseEntry()); | 1732 o.add(buildInventoryCustomBatchResponseEntry()); |
2268 o.add(buildInventoryCustomBatchResponseEntry()); | 1733 o.add(buildInventoryCustomBatchResponseEntry()); |
2269 return o; | 1734 return o; |
2270 } | 1735 } |
2271 | 1736 |
2272 checkUnnamed320(core.List<api.InventoryCustomBatchResponseEntry> o) { | 1737 checkUnnamed306(core.List<api.InventoryCustomBatchResponseEntry> o) { |
2273 unittest.expect(o, unittest.hasLength(2)); | 1738 unittest.expect(o, unittest.hasLength(2)); |
2274 checkInventoryCustomBatchResponseEntry(o[0]); | 1739 checkInventoryCustomBatchResponseEntry(o[0]); |
2275 checkInventoryCustomBatchResponseEntry(o[1]); | 1740 checkInventoryCustomBatchResponseEntry(o[1]); |
2276 } | 1741 } |
2277 | 1742 |
2278 core.int buildCounterInventoryCustomBatchResponse = 0; | 1743 core.int buildCounterInventoryCustomBatchResponse = 0; |
2279 buildInventoryCustomBatchResponse() { | 1744 buildInventoryCustomBatchResponse() { |
2280 var o = new api.InventoryCustomBatchResponse(); | 1745 var o = new api.InventoryCustomBatchResponse(); |
2281 buildCounterInventoryCustomBatchResponse++; | 1746 buildCounterInventoryCustomBatchResponse++; |
2282 if (buildCounterInventoryCustomBatchResponse < 3) { | 1747 if (buildCounterInventoryCustomBatchResponse < 3) { |
2283 o.entries = buildUnnamed320(); | 1748 o.entries = buildUnnamed306(); |
2284 o.kind = "foo"; | 1749 o.kind = "foo"; |
2285 } | 1750 } |
2286 buildCounterInventoryCustomBatchResponse--; | 1751 buildCounterInventoryCustomBatchResponse--; |
2287 return o; | 1752 return o; |
2288 } | 1753 } |
2289 | 1754 |
2290 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { | 1755 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { |
2291 buildCounterInventoryCustomBatchResponse++; | 1756 buildCounterInventoryCustomBatchResponse++; |
2292 if (buildCounterInventoryCustomBatchResponse < 3) { | 1757 if (buildCounterInventoryCustomBatchResponse < 3) { |
2293 checkUnnamed320(o.entries); | 1758 checkUnnamed306(o.entries); |
2294 unittest.expect(o.kind, unittest.equals('foo')); | 1759 unittest.expect(o.kind, unittest.equals('foo')); |
2295 } | 1760 } |
2296 buildCounterInventoryCustomBatchResponse--; | 1761 buildCounterInventoryCustomBatchResponse--; |
2297 } | 1762 } |
2298 | 1763 |
2299 core.int buildCounterInventoryCustomBatchResponseEntry = 0; | 1764 core.int buildCounterInventoryCustomBatchResponseEntry = 0; |
2300 buildInventoryCustomBatchResponseEntry() { | 1765 buildInventoryCustomBatchResponseEntry() { |
2301 var o = new api.InventoryCustomBatchResponseEntry(); | 1766 var o = new api.InventoryCustomBatchResponseEntry(); |
2302 buildCounterInventoryCustomBatchResponseEntry++; | 1767 buildCounterInventoryCustomBatchResponseEntry++; |
2303 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 1768 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 } | 1852 } |
2388 | 1853 |
2389 checkInventorySetResponse(api.InventorySetResponse o) { | 1854 checkInventorySetResponse(api.InventorySetResponse o) { |
2390 buildCounterInventorySetResponse++; | 1855 buildCounterInventorySetResponse++; |
2391 if (buildCounterInventorySetResponse < 3) { | 1856 if (buildCounterInventorySetResponse < 3) { |
2392 unittest.expect(o.kind, unittest.equals('foo')); | 1857 unittest.expect(o.kind, unittest.equals('foo')); |
2393 } | 1858 } |
2394 buildCounterInventorySetResponse--; | 1859 buildCounterInventorySetResponse--; |
2395 } | 1860 } |
2396 | 1861 |
2397 buildUnnamed321() { | 1862 buildUnnamed307() { |
2398 var o = new core.List<core.String>(); | 1863 var o = new core.List<core.String>(); |
2399 o.add("foo"); | 1864 o.add("foo"); |
2400 o.add("foo"); | 1865 o.add("foo"); |
2401 return o; | 1866 return o; |
2402 } | 1867 } |
2403 | 1868 |
2404 checkUnnamed321(core.List<core.String> o) { | 1869 checkUnnamed307(core.List<core.String> o) { |
2405 unittest.expect(o, unittest.hasLength(2)); | 1870 unittest.expect(o, unittest.hasLength(2)); |
2406 unittest.expect(o[0], unittest.equals('foo')); | 1871 unittest.expect(o[0], unittest.equals('foo')); |
2407 unittest.expect(o[1], unittest.equals('foo')); | 1872 unittest.expect(o[1], unittest.equals('foo')); |
2408 } | 1873 } |
2409 | 1874 |
2410 core.int buildCounterLocationIdSet = 0; | 1875 core.int buildCounterLocationIdSet = 0; |
2411 buildLocationIdSet() { | 1876 buildLocationIdSet() { |
2412 var o = new api.LocationIdSet(); | 1877 var o = new api.LocationIdSet(); |
2413 buildCounterLocationIdSet++; | 1878 buildCounterLocationIdSet++; |
2414 if (buildCounterLocationIdSet < 3) { | 1879 if (buildCounterLocationIdSet < 3) { |
2415 o.locationIds = buildUnnamed321(); | 1880 o.locationIds = buildUnnamed307(); |
2416 } | 1881 } |
2417 buildCounterLocationIdSet--; | 1882 buildCounterLocationIdSet--; |
2418 return o; | 1883 return o; |
2419 } | 1884 } |
2420 | 1885 |
2421 checkLocationIdSet(api.LocationIdSet o) { | 1886 checkLocationIdSet(api.LocationIdSet o) { |
2422 buildCounterLocationIdSet++; | 1887 buildCounterLocationIdSet++; |
2423 if (buildCounterLocationIdSet < 3) { | 1888 if (buildCounterLocationIdSet < 3) { |
2424 checkUnnamed321(o.locationIds); | 1889 checkUnnamed307(o.locationIds); |
2425 } | 1890 } |
2426 buildCounterLocationIdSet--; | 1891 buildCounterLocationIdSet--; |
2427 } | 1892 } |
2428 | 1893 |
2429 core.int buildCounterLoyaltyPoints = 0; | 1894 core.int buildCounterLoyaltyPoints = 0; |
2430 buildLoyaltyPoints() { | 1895 buildLoyaltyPoints() { |
2431 var o = new api.LoyaltyPoints(); | 1896 var o = new api.LoyaltyPoints(); |
2432 buildCounterLoyaltyPoints++; | 1897 buildCounterLoyaltyPoints++; |
2433 if (buildCounterLoyaltyPoints < 3) { | 1898 if (buildCounterLoyaltyPoints < 3) { |
2434 o.name = "foo"; | 1899 o.name = "foo"; |
2435 o.pointsValue = "foo"; | 1900 o.pointsValue = "foo"; |
2436 o.ratio = 42.0; | 1901 o.ratio = 42.0; |
2437 } | 1902 } |
2438 buildCounterLoyaltyPoints--; | 1903 buildCounterLoyaltyPoints--; |
2439 return o; | 1904 return o; |
2440 } | 1905 } |
2441 | 1906 |
2442 checkLoyaltyPoints(api.LoyaltyPoints o) { | 1907 checkLoyaltyPoints(api.LoyaltyPoints o) { |
2443 buildCounterLoyaltyPoints++; | 1908 buildCounterLoyaltyPoints++; |
2444 if (buildCounterLoyaltyPoints < 3) { | 1909 if (buildCounterLoyaltyPoints < 3) { |
2445 unittest.expect(o.name, unittest.equals('foo')); | 1910 unittest.expect(o.name, unittest.equals('foo')); |
2446 unittest.expect(o.pointsValue, unittest.equals('foo')); | 1911 unittest.expect(o.pointsValue, unittest.equals('foo')); |
2447 unittest.expect(o.ratio, unittest.equals(42.0)); | 1912 unittest.expect(o.ratio, unittest.equals(42.0)); |
2448 } | 1913 } |
2449 buildCounterLoyaltyPoints--; | 1914 buildCounterLoyaltyPoints--; |
2450 } | 1915 } |
2451 | 1916 |
2452 buildUnnamed322() { | 1917 buildUnnamed308() { |
2453 var o = new core.List<api.OrderLineItem>(); | 1918 var o = new core.List<api.OrderLineItem>(); |
2454 o.add(buildOrderLineItem()); | 1919 o.add(buildOrderLineItem()); |
2455 o.add(buildOrderLineItem()); | 1920 o.add(buildOrderLineItem()); |
2456 return o; | 1921 return o; |
2457 } | 1922 } |
2458 | 1923 |
2459 checkUnnamed322(core.List<api.OrderLineItem> o) { | 1924 checkUnnamed308(core.List<api.OrderLineItem> o) { |
2460 unittest.expect(o, unittest.hasLength(2)); | 1925 unittest.expect(o, unittest.hasLength(2)); |
2461 checkOrderLineItem(o[0]); | 1926 checkOrderLineItem(o[0]); |
2462 checkOrderLineItem(o[1]); | 1927 checkOrderLineItem(o[1]); |
2463 } | 1928 } |
2464 | 1929 |
2465 buildUnnamed323() { | 1930 buildUnnamed309() { |
2466 var o = new core.List<api.OrderPromotion>(); | 1931 var o = new core.List<api.OrderPromotion>(); |
2467 o.add(buildOrderPromotion()); | 1932 o.add(buildOrderPromotion()); |
2468 o.add(buildOrderPromotion()); | 1933 o.add(buildOrderPromotion()); |
2469 return o; | 1934 return o; |
2470 } | 1935 } |
2471 | 1936 |
2472 checkUnnamed323(core.List<api.OrderPromotion> o) { | 1937 checkUnnamed309(core.List<api.OrderPromotion> o) { |
2473 unittest.expect(o, unittest.hasLength(2)); | 1938 unittest.expect(o, unittest.hasLength(2)); |
2474 checkOrderPromotion(o[0]); | 1939 checkOrderPromotion(o[0]); |
2475 checkOrderPromotion(o[1]); | 1940 checkOrderPromotion(o[1]); |
2476 } | 1941 } |
2477 | 1942 |
2478 buildUnnamed324() { | 1943 buildUnnamed310() { |
2479 var o = new core.List<api.OrderRefund>(); | 1944 var o = new core.List<api.OrderRefund>(); |
2480 o.add(buildOrderRefund()); | 1945 o.add(buildOrderRefund()); |
2481 o.add(buildOrderRefund()); | 1946 o.add(buildOrderRefund()); |
2482 return o; | 1947 return o; |
2483 } | 1948 } |
2484 | 1949 |
2485 checkUnnamed324(core.List<api.OrderRefund> o) { | 1950 checkUnnamed310(core.List<api.OrderRefund> o) { |
2486 unittest.expect(o, unittest.hasLength(2)); | 1951 unittest.expect(o, unittest.hasLength(2)); |
2487 checkOrderRefund(o[0]); | 1952 checkOrderRefund(o[0]); |
2488 checkOrderRefund(o[1]); | 1953 checkOrderRefund(o[1]); |
2489 } | 1954 } |
2490 | 1955 |
2491 buildUnnamed325() { | 1956 buildUnnamed311() { |
2492 var o = new core.List<api.OrderShipment>(); | 1957 var o = new core.List<api.OrderShipment>(); |
2493 o.add(buildOrderShipment()); | 1958 o.add(buildOrderShipment()); |
2494 o.add(buildOrderShipment()); | 1959 o.add(buildOrderShipment()); |
2495 return o; | 1960 return o; |
2496 } | 1961 } |
2497 | 1962 |
2498 checkUnnamed325(core.List<api.OrderShipment> o) { | 1963 checkUnnamed311(core.List<api.OrderShipment> o) { |
2499 unittest.expect(o, unittest.hasLength(2)); | 1964 unittest.expect(o, unittest.hasLength(2)); |
2500 checkOrderShipment(o[0]); | 1965 checkOrderShipment(o[0]); |
2501 checkOrderShipment(o[1]); | 1966 checkOrderShipment(o[1]); |
2502 } | 1967 } |
2503 | 1968 |
2504 core.int buildCounterOrder = 0; | 1969 core.int buildCounterOrder = 0; |
2505 buildOrder() { | 1970 buildOrder() { |
2506 var o = new api.Order(); | 1971 var o = new api.Order(); |
2507 buildCounterOrder++; | 1972 buildCounterOrder++; |
2508 if (buildCounterOrder < 3) { | 1973 if (buildCounterOrder < 3) { |
2509 o.acknowledged = true; | 1974 o.acknowledged = true; |
2510 o.channelType = "foo"; | 1975 o.channelType = "foo"; |
2511 o.customer = buildOrderCustomer(); | 1976 o.customer = buildOrderCustomer(); |
2512 o.deliveryDetails = buildOrderDeliveryDetails(); | 1977 o.deliveryDetails = buildOrderDeliveryDetails(); |
2513 o.id = "foo"; | 1978 o.id = "foo"; |
2514 o.kind = "foo"; | 1979 o.kind = "foo"; |
2515 o.lineItems = buildUnnamed322(); | 1980 o.lineItems = buildUnnamed308(); |
2516 o.merchantId = "foo"; | 1981 o.merchantId = "foo"; |
2517 o.merchantOrderId = "foo"; | 1982 o.merchantOrderId = "foo"; |
2518 o.netAmount = buildPrice(); | 1983 o.netAmount = buildPrice(); |
2519 o.paymentMethod = buildOrderPaymentMethod(); | 1984 o.paymentMethod = buildOrderPaymentMethod(); |
2520 o.paymentStatus = "foo"; | 1985 o.paymentStatus = "foo"; |
2521 o.placedDate = "foo"; | 1986 o.placedDate = "foo"; |
2522 o.promotions = buildUnnamed323(); | 1987 o.promotions = buildUnnamed309(); |
2523 o.refunds = buildUnnamed324(); | 1988 o.refunds = buildUnnamed310(); |
2524 o.shipments = buildUnnamed325(); | 1989 o.shipments = buildUnnamed311(); |
2525 o.shippingCost = buildPrice(); | 1990 o.shippingCost = buildPrice(); |
2526 o.shippingCostTax = buildPrice(); | 1991 o.shippingCostTax = buildPrice(); |
2527 o.shippingOption = "foo"; | 1992 o.shippingOption = "foo"; |
2528 o.status = "foo"; | 1993 o.status = "foo"; |
2529 } | 1994 } |
2530 buildCounterOrder--; | 1995 buildCounterOrder--; |
2531 return o; | 1996 return o; |
2532 } | 1997 } |
2533 | 1998 |
2534 checkOrder(api.Order o) { | 1999 checkOrder(api.Order o) { |
2535 buildCounterOrder++; | 2000 buildCounterOrder++; |
2536 if (buildCounterOrder < 3) { | 2001 if (buildCounterOrder < 3) { |
2537 unittest.expect(o.acknowledged, unittest.isTrue); | 2002 unittest.expect(o.acknowledged, unittest.isTrue); |
2538 unittest.expect(o.channelType, unittest.equals('foo')); | 2003 unittest.expect(o.channelType, unittest.equals('foo')); |
2539 checkOrderCustomer(o.customer); | 2004 checkOrderCustomer(o.customer); |
2540 checkOrderDeliveryDetails(o.deliveryDetails); | 2005 checkOrderDeliveryDetails(o.deliveryDetails); |
2541 unittest.expect(o.id, unittest.equals('foo')); | 2006 unittest.expect(o.id, unittest.equals('foo')); |
2542 unittest.expect(o.kind, unittest.equals('foo')); | 2007 unittest.expect(o.kind, unittest.equals('foo')); |
2543 checkUnnamed322(o.lineItems); | 2008 checkUnnamed308(o.lineItems); |
2544 unittest.expect(o.merchantId, unittest.equals('foo')); | 2009 unittest.expect(o.merchantId, unittest.equals('foo')); |
2545 unittest.expect(o.merchantOrderId, unittest.equals('foo')); | 2010 unittest.expect(o.merchantOrderId, unittest.equals('foo')); |
2546 checkPrice(o.netAmount); | 2011 checkPrice(o.netAmount); |
2547 checkOrderPaymentMethod(o.paymentMethod); | 2012 checkOrderPaymentMethod(o.paymentMethod); |
2548 unittest.expect(o.paymentStatus, unittest.equals('foo')); | 2013 unittest.expect(o.paymentStatus, unittest.equals('foo')); |
2549 unittest.expect(o.placedDate, unittest.equals('foo')); | 2014 unittest.expect(o.placedDate, unittest.equals('foo')); |
2550 checkUnnamed323(o.promotions); | 2015 checkUnnamed309(o.promotions); |
2551 checkUnnamed324(o.refunds); | 2016 checkUnnamed310(o.refunds); |
2552 checkUnnamed325(o.shipments); | 2017 checkUnnamed311(o.shipments); |
2553 checkPrice(o.shippingCost); | 2018 checkPrice(o.shippingCost); |
2554 checkPrice(o.shippingCostTax); | 2019 checkPrice(o.shippingCostTax); |
2555 unittest.expect(o.shippingOption, unittest.equals('foo')); | 2020 unittest.expect(o.shippingOption, unittest.equals('foo')); |
2556 unittest.expect(o.status, unittest.equals('foo')); | 2021 unittest.expect(o.status, unittest.equals('foo')); |
2557 } | 2022 } |
2558 buildCounterOrder--; | 2023 buildCounterOrder--; |
2559 } | 2024 } |
2560 | 2025 |
2561 buildUnnamed326() { | 2026 buildUnnamed312() { |
2562 var o = new core.List<core.String>(); | 2027 var o = new core.List<core.String>(); |
2563 o.add("foo"); | 2028 o.add("foo"); |
2564 o.add("foo"); | 2029 o.add("foo"); |
2565 return o; | 2030 return o; |
2566 } | 2031 } |
2567 | 2032 |
2568 checkUnnamed326(core.List<core.String> o) { | 2033 checkUnnamed312(core.List<core.String> o) { |
2569 unittest.expect(o, unittest.hasLength(2)); | 2034 unittest.expect(o, unittest.hasLength(2)); |
2570 unittest.expect(o[0], unittest.equals('foo')); | 2035 unittest.expect(o[0], unittest.equals('foo')); |
2571 unittest.expect(o[1], unittest.equals('foo')); | 2036 unittest.expect(o[1], unittest.equals('foo')); |
2572 } | 2037 } |
2573 | 2038 |
2574 buildUnnamed327() { | 2039 buildUnnamed313() { |
2575 var o = new core.List<core.String>(); | 2040 var o = new core.List<core.String>(); |
2576 o.add("foo"); | 2041 o.add("foo"); |
2577 o.add("foo"); | 2042 o.add("foo"); |
2578 return o; | 2043 return o; |
2579 } | 2044 } |
2580 | 2045 |
2581 checkUnnamed327(core.List<core.String> o) { | 2046 checkUnnamed313(core.List<core.String> o) { |
2582 unittest.expect(o, unittest.hasLength(2)); | 2047 unittest.expect(o, unittest.hasLength(2)); |
2583 unittest.expect(o[0], unittest.equals('foo')); | 2048 unittest.expect(o[0], unittest.equals('foo')); |
2584 unittest.expect(o[1], unittest.equals('foo')); | 2049 unittest.expect(o[1], unittest.equals('foo')); |
2585 } | 2050 } |
2586 | 2051 |
2587 core.int buildCounterOrderAddress = 0; | 2052 core.int buildCounterOrderAddress = 0; |
2588 buildOrderAddress() { | 2053 buildOrderAddress() { |
2589 var o = new api.OrderAddress(); | 2054 var o = new api.OrderAddress(); |
2590 buildCounterOrderAddress++; | 2055 buildCounterOrderAddress++; |
2591 if (buildCounterOrderAddress < 3) { | 2056 if (buildCounterOrderAddress < 3) { |
2592 o.country = "foo"; | 2057 o.country = "foo"; |
2593 o.fullAddress = buildUnnamed326(); | 2058 o.fullAddress = buildUnnamed312(); |
2594 o.isPostOfficeBox = true; | 2059 o.isPostOfficeBox = true; |
2595 o.locality = "foo"; | 2060 o.locality = "foo"; |
2596 o.postalCode = "foo"; | 2061 o.postalCode = "foo"; |
2597 o.recipientName = "foo"; | 2062 o.recipientName = "foo"; |
2598 o.region = "foo"; | 2063 o.region = "foo"; |
2599 o.streetAddress = buildUnnamed327(); | 2064 o.streetAddress = buildUnnamed313(); |
2600 } | 2065 } |
2601 buildCounterOrderAddress--; | 2066 buildCounterOrderAddress--; |
2602 return o; | 2067 return o; |
2603 } | 2068 } |
2604 | 2069 |
2605 checkOrderAddress(api.OrderAddress o) { | 2070 checkOrderAddress(api.OrderAddress o) { |
2606 buildCounterOrderAddress++; | 2071 buildCounterOrderAddress++; |
2607 if (buildCounterOrderAddress < 3) { | 2072 if (buildCounterOrderAddress < 3) { |
2608 unittest.expect(o.country, unittest.equals('foo')); | 2073 unittest.expect(o.country, unittest.equals('foo')); |
2609 checkUnnamed326(o.fullAddress); | 2074 checkUnnamed312(o.fullAddress); |
2610 unittest.expect(o.isPostOfficeBox, unittest.isTrue); | 2075 unittest.expect(o.isPostOfficeBox, unittest.isTrue); |
2611 unittest.expect(o.locality, unittest.equals('foo')); | 2076 unittest.expect(o.locality, unittest.equals('foo')); |
2612 unittest.expect(o.postalCode, unittest.equals('foo')); | 2077 unittest.expect(o.postalCode, unittest.equals('foo')); |
2613 unittest.expect(o.recipientName, unittest.equals('foo')); | 2078 unittest.expect(o.recipientName, unittest.equals('foo')); |
2614 unittest.expect(o.region, unittest.equals('foo')); | 2079 unittest.expect(o.region, unittest.equals('foo')); |
2615 checkUnnamed327(o.streetAddress); | 2080 checkUnnamed313(o.streetAddress); |
2616 } | 2081 } |
2617 buildCounterOrderAddress--; | 2082 buildCounterOrderAddress--; |
2618 } | 2083 } |
2619 | 2084 |
2620 core.int buildCounterOrderCancellation = 0; | 2085 core.int buildCounterOrderCancellation = 0; |
2621 buildOrderCancellation() { | 2086 buildOrderCancellation() { |
2622 var o = new api.OrderCancellation(); | 2087 var o = new api.OrderCancellation(); |
2623 buildCounterOrderCancellation++; | 2088 buildCounterOrderCancellation++; |
2624 if (buildCounterOrderCancellation < 3) { | 2089 if (buildCounterOrderCancellation < 3) { |
2625 o.actor = "foo"; | 2090 o.actor = "foo"; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2681 | 2146 |
2682 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { | 2147 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { |
2683 buildCounterOrderDeliveryDetails++; | 2148 buildCounterOrderDeliveryDetails++; |
2684 if (buildCounterOrderDeliveryDetails < 3) { | 2149 if (buildCounterOrderDeliveryDetails < 3) { |
2685 checkOrderAddress(o.address); | 2150 checkOrderAddress(o.address); |
2686 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2151 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
2687 } | 2152 } |
2688 buildCounterOrderDeliveryDetails--; | 2153 buildCounterOrderDeliveryDetails--; |
2689 } | 2154 } |
2690 | 2155 |
2691 buildUnnamed328() { | 2156 buildUnnamed314() { |
2692 var o = new core.List<api.OrderCancellation>(); | 2157 var o = new core.List<api.OrderCancellation>(); |
2693 o.add(buildOrderCancellation()); | 2158 o.add(buildOrderCancellation()); |
2694 o.add(buildOrderCancellation()); | 2159 o.add(buildOrderCancellation()); |
2695 return o; | 2160 return o; |
2696 } | 2161 } |
2697 | 2162 |
2698 checkUnnamed328(core.List<api.OrderCancellation> o) { | 2163 checkUnnamed314(core.List<api.OrderCancellation> o) { |
2699 unittest.expect(o, unittest.hasLength(2)); | 2164 unittest.expect(o, unittest.hasLength(2)); |
2700 checkOrderCancellation(o[0]); | 2165 checkOrderCancellation(o[0]); |
2701 checkOrderCancellation(o[1]); | 2166 checkOrderCancellation(o[1]); |
2702 } | 2167 } |
2703 | 2168 |
2704 buildUnnamed329() { | 2169 buildUnnamed315() { |
2705 var o = new core.List<api.OrderReturn>(); | 2170 var o = new core.List<api.OrderReturn>(); |
2706 o.add(buildOrderReturn()); | 2171 o.add(buildOrderReturn()); |
2707 o.add(buildOrderReturn()); | 2172 o.add(buildOrderReturn()); |
2708 return o; | 2173 return o; |
2709 } | 2174 } |
2710 | 2175 |
2711 checkUnnamed329(core.List<api.OrderReturn> o) { | 2176 checkUnnamed315(core.List<api.OrderReturn> o) { |
2712 unittest.expect(o, unittest.hasLength(2)); | 2177 unittest.expect(o, unittest.hasLength(2)); |
2713 checkOrderReturn(o[0]); | 2178 checkOrderReturn(o[0]); |
2714 checkOrderReturn(o[1]); | 2179 checkOrderReturn(o[1]); |
2715 } | 2180 } |
2716 | 2181 |
2717 core.int buildCounterOrderLineItem = 0; | 2182 core.int buildCounterOrderLineItem = 0; |
2718 buildOrderLineItem() { | 2183 buildOrderLineItem() { |
2719 var o = new api.OrderLineItem(); | 2184 var o = new api.OrderLineItem(); |
2720 buildCounterOrderLineItem++; | 2185 buildCounterOrderLineItem++; |
2721 if (buildCounterOrderLineItem < 3) { | 2186 if (buildCounterOrderLineItem < 3) { |
2722 o.cancellations = buildUnnamed328(); | 2187 o.cancellations = buildUnnamed314(); |
2723 o.id = "foo"; | 2188 o.id = "foo"; |
2724 o.price = buildPrice(); | 2189 o.price = buildPrice(); |
2725 o.product = buildOrderLineItemProduct(); | 2190 o.product = buildOrderLineItemProduct(); |
2726 o.quantityCanceled = 42; | 2191 o.quantityCanceled = 42; |
2727 o.quantityDelivered = 42; | 2192 o.quantityDelivered = 42; |
2728 o.quantityOrdered = 42; | 2193 o.quantityOrdered = 42; |
2729 o.quantityPending = 42; | 2194 o.quantityPending = 42; |
2730 o.quantityReturned = 42; | 2195 o.quantityReturned = 42; |
2731 o.quantityShipped = 42; | 2196 o.quantityShipped = 42; |
2732 o.returnInfo = buildOrderLineItemReturnInfo(); | 2197 o.returnInfo = buildOrderLineItemReturnInfo(); |
2733 o.returns = buildUnnamed329(); | 2198 o.returns = buildUnnamed315(); |
2734 o.shippingDetails = buildOrderLineItemShippingDetails(); | 2199 o.shippingDetails = buildOrderLineItemShippingDetails(); |
2735 o.tax = buildPrice(); | 2200 o.tax = buildPrice(); |
2736 } | 2201 } |
2737 buildCounterOrderLineItem--; | 2202 buildCounterOrderLineItem--; |
2738 return o; | 2203 return o; |
2739 } | 2204 } |
2740 | 2205 |
2741 checkOrderLineItem(api.OrderLineItem o) { | 2206 checkOrderLineItem(api.OrderLineItem o) { |
2742 buildCounterOrderLineItem++; | 2207 buildCounterOrderLineItem++; |
2743 if (buildCounterOrderLineItem < 3) { | 2208 if (buildCounterOrderLineItem < 3) { |
2744 checkUnnamed328(o.cancellations); | 2209 checkUnnamed314(o.cancellations); |
2745 unittest.expect(o.id, unittest.equals('foo')); | 2210 unittest.expect(o.id, unittest.equals('foo')); |
2746 checkPrice(o.price); | 2211 checkPrice(o.price); |
2747 checkOrderLineItemProduct(o.product); | 2212 checkOrderLineItemProduct(o.product); |
2748 unittest.expect(o.quantityCanceled, unittest.equals(42)); | 2213 unittest.expect(o.quantityCanceled, unittest.equals(42)); |
2749 unittest.expect(o.quantityDelivered, unittest.equals(42)); | 2214 unittest.expect(o.quantityDelivered, unittest.equals(42)); |
2750 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 2215 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
2751 unittest.expect(o.quantityPending, unittest.equals(42)); | 2216 unittest.expect(o.quantityPending, unittest.equals(42)); |
2752 unittest.expect(o.quantityReturned, unittest.equals(42)); | 2217 unittest.expect(o.quantityReturned, unittest.equals(42)); |
2753 unittest.expect(o.quantityShipped, unittest.equals(42)); | 2218 unittest.expect(o.quantityShipped, unittest.equals(42)); |
2754 checkOrderLineItemReturnInfo(o.returnInfo); | 2219 checkOrderLineItemReturnInfo(o.returnInfo); |
2755 checkUnnamed329(o.returns); | 2220 checkUnnamed315(o.returns); |
2756 checkOrderLineItemShippingDetails(o.shippingDetails); | 2221 checkOrderLineItemShippingDetails(o.shippingDetails); |
2757 checkPrice(o.tax); | 2222 checkPrice(o.tax); |
2758 } | 2223 } |
2759 buildCounterOrderLineItem--; | 2224 buildCounterOrderLineItem--; |
2760 } | 2225 } |
2761 | 2226 |
2762 buildUnnamed330() { | 2227 buildUnnamed316() { |
2763 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 2228 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
2764 o.add(buildOrderLineItemProductVariantAttribute()); | 2229 o.add(buildOrderLineItemProductVariantAttribute()); |
2765 o.add(buildOrderLineItemProductVariantAttribute()); | 2230 o.add(buildOrderLineItemProductVariantAttribute()); |
2766 return o; | 2231 return o; |
2767 } | 2232 } |
2768 | 2233 |
2769 checkUnnamed330(core.List<api.OrderLineItemProductVariantAttribute> o) { | 2234 checkUnnamed316(core.List<api.OrderLineItemProductVariantAttribute> o) { |
2770 unittest.expect(o, unittest.hasLength(2)); | 2235 unittest.expect(o, unittest.hasLength(2)); |
2771 checkOrderLineItemProductVariantAttribute(o[0]); | 2236 checkOrderLineItemProductVariantAttribute(o[0]); |
2772 checkOrderLineItemProductVariantAttribute(o[1]); | 2237 checkOrderLineItemProductVariantAttribute(o[1]); |
2773 } | 2238 } |
2774 | 2239 |
2775 core.int buildCounterOrderLineItemProduct = 0; | 2240 core.int buildCounterOrderLineItemProduct = 0; |
2776 buildOrderLineItemProduct() { | 2241 buildOrderLineItemProduct() { |
2777 var o = new api.OrderLineItemProduct(); | 2242 var o = new api.OrderLineItemProduct(); |
2778 buildCounterOrderLineItemProduct++; | 2243 buildCounterOrderLineItemProduct++; |
2779 if (buildCounterOrderLineItemProduct < 3) { | 2244 if (buildCounterOrderLineItemProduct < 3) { |
2780 o.brand = "foo"; | 2245 o.brand = "foo"; |
2781 o.channel = "foo"; | 2246 o.channel = "foo"; |
2782 o.condition = "foo"; | 2247 o.condition = "foo"; |
2783 o.contentLanguage = "foo"; | 2248 o.contentLanguage = "foo"; |
2784 o.gtin = "foo"; | 2249 o.gtin = "foo"; |
2785 o.id = "foo"; | 2250 o.id = "foo"; |
2786 o.imageLink = "foo"; | 2251 o.imageLink = "foo"; |
2787 o.itemGroupId = "foo"; | 2252 o.itemGroupId = "foo"; |
2788 o.mpn = "foo"; | 2253 o.mpn = "foo"; |
2789 o.offerId = "foo"; | 2254 o.offerId = "foo"; |
2790 o.price = buildPrice(); | 2255 o.price = buildPrice(); |
2791 o.shownImage = "foo"; | 2256 o.shownImage = "foo"; |
2792 o.targetCountry = "foo"; | 2257 o.targetCountry = "foo"; |
2793 o.title = "foo"; | 2258 o.title = "foo"; |
2794 o.variantAttributes = buildUnnamed330(); | 2259 o.variantAttributes = buildUnnamed316(); |
2795 } | 2260 } |
2796 buildCounterOrderLineItemProduct--; | 2261 buildCounterOrderLineItemProduct--; |
2797 return o; | 2262 return o; |
2798 } | 2263 } |
2799 | 2264 |
2800 checkOrderLineItemProduct(api.OrderLineItemProduct o) { | 2265 checkOrderLineItemProduct(api.OrderLineItemProduct o) { |
2801 buildCounterOrderLineItemProduct++; | 2266 buildCounterOrderLineItemProduct++; |
2802 if (buildCounterOrderLineItemProduct < 3) { | 2267 if (buildCounterOrderLineItemProduct < 3) { |
2803 unittest.expect(o.brand, unittest.equals('foo')); | 2268 unittest.expect(o.brand, unittest.equals('foo')); |
2804 unittest.expect(o.channel, unittest.equals('foo')); | 2269 unittest.expect(o.channel, unittest.equals('foo')); |
2805 unittest.expect(o.condition, unittest.equals('foo')); | 2270 unittest.expect(o.condition, unittest.equals('foo')); |
2806 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 2271 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
2807 unittest.expect(o.gtin, unittest.equals('foo')); | 2272 unittest.expect(o.gtin, unittest.equals('foo')); |
2808 unittest.expect(o.id, unittest.equals('foo')); | 2273 unittest.expect(o.id, unittest.equals('foo')); |
2809 unittest.expect(o.imageLink, unittest.equals('foo')); | 2274 unittest.expect(o.imageLink, unittest.equals('foo')); |
2810 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 2275 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
2811 unittest.expect(o.mpn, unittest.equals('foo')); | 2276 unittest.expect(o.mpn, unittest.equals('foo')); |
2812 unittest.expect(o.offerId, unittest.equals('foo')); | 2277 unittest.expect(o.offerId, unittest.equals('foo')); |
2813 checkPrice(o.price); | 2278 checkPrice(o.price); |
2814 unittest.expect(o.shownImage, unittest.equals('foo')); | 2279 unittest.expect(o.shownImage, unittest.equals('foo')); |
2815 unittest.expect(o.targetCountry, unittest.equals('foo')); | 2280 unittest.expect(o.targetCountry, unittest.equals('foo')); |
2816 unittest.expect(o.title, unittest.equals('foo')); | 2281 unittest.expect(o.title, unittest.equals('foo')); |
2817 checkUnnamed330(o.variantAttributes); | 2282 checkUnnamed316(o.variantAttributes); |
2818 } | 2283 } |
2819 buildCounterOrderLineItemProduct--; | 2284 buildCounterOrderLineItemProduct--; |
2820 } | 2285 } |
2821 | 2286 |
2822 core.int buildCounterOrderLineItemProductVariantAttribute = 0; | 2287 core.int buildCounterOrderLineItemProductVariantAttribute = 0; |
2823 buildOrderLineItemProductVariantAttribute() { | 2288 buildOrderLineItemProductVariantAttribute() { |
2824 var o = new api.OrderLineItemProductVariantAttribute(); | 2289 var o = new api.OrderLineItemProductVariantAttribute(); |
2825 buildCounterOrderLineItemProductVariantAttribute++; | 2290 buildCounterOrderLineItemProductVariantAttribute++; |
2826 if (buildCounterOrderLineItemProductVariantAttribute < 3) { | 2291 if (buildCounterOrderLineItemProductVariantAttribute < 3) { |
2827 o.dimension = "foo"; | 2292 o.dimension = "foo"; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2933 checkOrderAddress(o.billingAddress); | 2398 checkOrderAddress(o.billingAddress); |
2934 unittest.expect(o.expirationMonth, unittest.equals(42)); | 2399 unittest.expect(o.expirationMonth, unittest.equals(42)); |
2935 unittest.expect(o.expirationYear, unittest.equals(42)); | 2400 unittest.expect(o.expirationYear, unittest.equals(42)); |
2936 unittest.expect(o.lastFourDigits, unittest.equals('foo')); | 2401 unittest.expect(o.lastFourDigits, unittest.equals('foo')); |
2937 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2402 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
2938 unittest.expect(o.type, unittest.equals('foo')); | 2403 unittest.expect(o.type, unittest.equals('foo')); |
2939 } | 2404 } |
2940 buildCounterOrderPaymentMethod--; | 2405 buildCounterOrderPaymentMethod--; |
2941 } | 2406 } |
2942 | 2407 |
2943 buildUnnamed331() { | 2408 buildUnnamed317() { |
2944 var o = new core.List<api.OrderPromotionBenefit>(); | 2409 var o = new core.List<api.OrderPromotionBenefit>(); |
2945 o.add(buildOrderPromotionBenefit()); | 2410 o.add(buildOrderPromotionBenefit()); |
2946 o.add(buildOrderPromotionBenefit()); | 2411 o.add(buildOrderPromotionBenefit()); |
2947 return o; | 2412 return o; |
2948 } | 2413 } |
2949 | 2414 |
2950 checkUnnamed331(core.List<api.OrderPromotionBenefit> o) { | 2415 checkUnnamed317(core.List<api.OrderPromotionBenefit> o) { |
2951 unittest.expect(o, unittest.hasLength(2)); | 2416 unittest.expect(o, unittest.hasLength(2)); |
2952 checkOrderPromotionBenefit(o[0]); | 2417 checkOrderPromotionBenefit(o[0]); |
2953 checkOrderPromotionBenefit(o[1]); | 2418 checkOrderPromotionBenefit(o[1]); |
2954 } | 2419 } |
2955 | 2420 |
2956 core.int buildCounterOrderPromotion = 0; | 2421 core.int buildCounterOrderPromotion = 0; |
2957 buildOrderPromotion() { | 2422 buildOrderPromotion() { |
2958 var o = new api.OrderPromotion(); | 2423 var o = new api.OrderPromotion(); |
2959 buildCounterOrderPromotion++; | 2424 buildCounterOrderPromotion++; |
2960 if (buildCounterOrderPromotion < 3) { | 2425 if (buildCounterOrderPromotion < 3) { |
2961 o.benefits = buildUnnamed331(); | 2426 o.benefits = buildUnnamed317(); |
2962 o.effectiveDates = "foo"; | 2427 o.effectiveDates = "foo"; |
2963 o.genericRedemptionCode = "foo"; | 2428 o.genericRedemptionCode = "foo"; |
2964 o.id = "foo"; | 2429 o.id = "foo"; |
2965 o.longTitle = "foo"; | 2430 o.longTitle = "foo"; |
2966 o.productApplicability = "foo"; | 2431 o.productApplicability = "foo"; |
2967 o.redemptionChannel = "foo"; | 2432 o.redemptionChannel = "foo"; |
2968 } | 2433 } |
2969 buildCounterOrderPromotion--; | 2434 buildCounterOrderPromotion--; |
2970 return o; | 2435 return o; |
2971 } | 2436 } |
2972 | 2437 |
2973 checkOrderPromotion(api.OrderPromotion o) { | 2438 checkOrderPromotion(api.OrderPromotion o) { |
2974 buildCounterOrderPromotion++; | 2439 buildCounterOrderPromotion++; |
2975 if (buildCounterOrderPromotion < 3) { | 2440 if (buildCounterOrderPromotion < 3) { |
2976 checkUnnamed331(o.benefits); | 2441 checkUnnamed317(o.benefits); |
2977 unittest.expect(o.effectiveDates, unittest.equals('foo')); | 2442 unittest.expect(o.effectiveDates, unittest.equals('foo')); |
2978 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); | 2443 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); |
2979 unittest.expect(o.id, unittest.equals('foo')); | 2444 unittest.expect(o.id, unittest.equals('foo')); |
2980 unittest.expect(o.longTitle, unittest.equals('foo')); | 2445 unittest.expect(o.longTitle, unittest.equals('foo')); |
2981 unittest.expect(o.productApplicability, unittest.equals('foo')); | 2446 unittest.expect(o.productApplicability, unittest.equals('foo')); |
2982 unittest.expect(o.redemptionChannel, unittest.equals('foo')); | 2447 unittest.expect(o.redemptionChannel, unittest.equals('foo')); |
2983 } | 2448 } |
2984 buildCounterOrderPromotion--; | 2449 buildCounterOrderPromotion--; |
2985 } | 2450 } |
2986 | 2451 |
2987 buildUnnamed332() { | 2452 buildUnnamed318() { |
2988 var o = new core.List<core.String>(); | 2453 var o = new core.List<core.String>(); |
2989 o.add("foo"); | 2454 o.add("foo"); |
2990 o.add("foo"); | 2455 o.add("foo"); |
2991 return o; | 2456 return o; |
2992 } | 2457 } |
2993 | 2458 |
2994 checkUnnamed332(core.List<core.String> o) { | 2459 checkUnnamed318(core.List<core.String> o) { |
2995 unittest.expect(o, unittest.hasLength(2)); | 2460 unittest.expect(o, unittest.hasLength(2)); |
2996 unittest.expect(o[0], unittest.equals('foo')); | 2461 unittest.expect(o[0], unittest.equals('foo')); |
2997 unittest.expect(o[1], unittest.equals('foo')); | 2462 unittest.expect(o[1], unittest.equals('foo')); |
2998 } | 2463 } |
2999 | 2464 |
3000 core.int buildCounterOrderPromotionBenefit = 0; | 2465 core.int buildCounterOrderPromotionBenefit = 0; |
3001 buildOrderPromotionBenefit() { | 2466 buildOrderPromotionBenefit() { |
3002 var o = new api.OrderPromotionBenefit(); | 2467 var o = new api.OrderPromotionBenefit(); |
3003 buildCounterOrderPromotionBenefit++; | 2468 buildCounterOrderPromotionBenefit++; |
3004 if (buildCounterOrderPromotionBenefit < 3) { | 2469 if (buildCounterOrderPromotionBenefit < 3) { |
3005 o.discount = buildPrice(); | 2470 o.discount = buildPrice(); |
3006 o.offerIds = buildUnnamed332(); | 2471 o.offerIds = buildUnnamed318(); |
3007 o.subType = "foo"; | 2472 o.subType = "foo"; |
3008 o.taxImpact = buildPrice(); | 2473 o.taxImpact = buildPrice(); |
3009 o.type = "foo"; | 2474 o.type = "foo"; |
3010 } | 2475 } |
3011 buildCounterOrderPromotionBenefit--; | 2476 buildCounterOrderPromotionBenefit--; |
3012 return o; | 2477 return o; |
3013 } | 2478 } |
3014 | 2479 |
3015 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { | 2480 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { |
3016 buildCounterOrderPromotionBenefit++; | 2481 buildCounterOrderPromotionBenefit++; |
3017 if (buildCounterOrderPromotionBenefit < 3) { | 2482 if (buildCounterOrderPromotionBenefit < 3) { |
3018 checkPrice(o.discount); | 2483 checkPrice(o.discount); |
3019 checkUnnamed332(o.offerIds); | 2484 checkUnnamed318(o.offerIds); |
3020 unittest.expect(o.subType, unittest.equals('foo')); | 2485 unittest.expect(o.subType, unittest.equals('foo')); |
3021 checkPrice(o.taxImpact); | 2486 checkPrice(o.taxImpact); |
3022 unittest.expect(o.type, unittest.equals('foo')); | 2487 unittest.expect(o.type, unittest.equals('foo')); |
3023 } | 2488 } |
3024 buildCounterOrderPromotionBenefit--; | 2489 buildCounterOrderPromotionBenefit--; |
3025 } | 2490 } |
3026 | 2491 |
3027 core.int buildCounterOrderRefund = 0; | 2492 core.int buildCounterOrderRefund = 0; |
3028 buildOrderRefund() { | 2493 buildOrderRefund() { |
3029 var o = new api.OrderRefund(); | 2494 var o = new api.OrderRefund(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3071 if (buildCounterOrderReturn < 3) { | 2536 if (buildCounterOrderReturn < 3) { |
3072 unittest.expect(o.actor, unittest.equals('foo')); | 2537 unittest.expect(o.actor, unittest.equals('foo')); |
3073 unittest.expect(o.creationDate, unittest.equals('foo')); | 2538 unittest.expect(o.creationDate, unittest.equals('foo')); |
3074 unittest.expect(o.quantity, unittest.equals(42)); | 2539 unittest.expect(o.quantity, unittest.equals(42)); |
3075 unittest.expect(o.reason, unittest.equals('foo')); | 2540 unittest.expect(o.reason, unittest.equals('foo')); |
3076 unittest.expect(o.reasonText, unittest.equals('foo')); | 2541 unittest.expect(o.reasonText, unittest.equals('foo')); |
3077 } | 2542 } |
3078 buildCounterOrderReturn--; | 2543 buildCounterOrderReturn--; |
3079 } | 2544 } |
3080 | 2545 |
3081 buildUnnamed333() { | 2546 buildUnnamed319() { |
3082 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 2547 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3083 o.add(buildOrderShipmentLineItemShipment()); | 2548 o.add(buildOrderShipmentLineItemShipment()); |
3084 o.add(buildOrderShipmentLineItemShipment()); | 2549 o.add(buildOrderShipmentLineItemShipment()); |
3085 return o; | 2550 return o; |
3086 } | 2551 } |
3087 | 2552 |
3088 checkUnnamed333(core.List<api.OrderShipmentLineItemShipment> o) { | 2553 checkUnnamed319(core.List<api.OrderShipmentLineItemShipment> o) { |
3089 unittest.expect(o, unittest.hasLength(2)); | 2554 unittest.expect(o, unittest.hasLength(2)); |
3090 checkOrderShipmentLineItemShipment(o[0]); | 2555 checkOrderShipmentLineItemShipment(o[0]); |
3091 checkOrderShipmentLineItemShipment(o[1]); | 2556 checkOrderShipmentLineItemShipment(o[1]); |
3092 } | 2557 } |
3093 | 2558 |
3094 core.int buildCounterOrderShipment = 0; | 2559 core.int buildCounterOrderShipment = 0; |
3095 buildOrderShipment() { | 2560 buildOrderShipment() { |
3096 var o = new api.OrderShipment(); | 2561 var o = new api.OrderShipment(); |
3097 buildCounterOrderShipment++; | 2562 buildCounterOrderShipment++; |
3098 if (buildCounterOrderShipment < 3) { | 2563 if (buildCounterOrderShipment < 3) { |
3099 o.carrier = "foo"; | 2564 o.carrier = "foo"; |
3100 o.creationDate = "foo"; | 2565 o.creationDate = "foo"; |
3101 o.deliveryDate = "foo"; | 2566 o.deliveryDate = "foo"; |
3102 o.id = "foo"; | 2567 o.id = "foo"; |
3103 o.lineItems = buildUnnamed333(); | 2568 o.lineItems = buildUnnamed319(); |
3104 o.status = "foo"; | 2569 o.status = "foo"; |
3105 o.trackingId = "foo"; | 2570 o.trackingId = "foo"; |
3106 } | 2571 } |
3107 buildCounterOrderShipment--; | 2572 buildCounterOrderShipment--; |
3108 return o; | 2573 return o; |
3109 } | 2574 } |
3110 | 2575 |
3111 checkOrderShipment(api.OrderShipment o) { | 2576 checkOrderShipment(api.OrderShipment o) { |
3112 buildCounterOrderShipment++; | 2577 buildCounterOrderShipment++; |
3113 if (buildCounterOrderShipment < 3) { | 2578 if (buildCounterOrderShipment < 3) { |
3114 unittest.expect(o.carrier, unittest.equals('foo')); | 2579 unittest.expect(o.carrier, unittest.equals('foo')); |
3115 unittest.expect(o.creationDate, unittest.equals('foo')); | 2580 unittest.expect(o.creationDate, unittest.equals('foo')); |
3116 unittest.expect(o.deliveryDate, unittest.equals('foo')); | 2581 unittest.expect(o.deliveryDate, unittest.equals('foo')); |
3117 unittest.expect(o.id, unittest.equals('foo')); | 2582 unittest.expect(o.id, unittest.equals('foo')); |
3118 checkUnnamed333(o.lineItems); | 2583 checkUnnamed319(o.lineItems); |
3119 unittest.expect(o.status, unittest.equals('foo')); | 2584 unittest.expect(o.status, unittest.equals('foo')); |
3120 unittest.expect(o.trackingId, unittest.equals('foo')); | 2585 unittest.expect(o.trackingId, unittest.equals('foo')); |
3121 } | 2586 } |
3122 buildCounterOrderShipment--; | 2587 buildCounterOrderShipment--; |
3123 } | 2588 } |
3124 | 2589 |
3125 core.int buildCounterOrderShipmentLineItemShipment = 0; | 2590 core.int buildCounterOrderShipmentLineItemShipment = 0; |
3126 buildOrderShipmentLineItemShipment() { | 2591 buildOrderShipmentLineItemShipment() { |
3127 var o = new api.OrderShipmentLineItemShipment(); | 2592 var o = new api.OrderShipmentLineItemShipment(); |
3128 buildCounterOrderShipmentLineItemShipment++; | 2593 buildCounterOrderShipmentLineItemShipment++; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3331 | 2796 |
3332 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { | 2797 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { |
3333 buildCounterOrdersCreateTestOrderResponse++; | 2798 buildCounterOrdersCreateTestOrderResponse++; |
3334 if (buildCounterOrdersCreateTestOrderResponse < 3) { | 2799 if (buildCounterOrdersCreateTestOrderResponse < 3) { |
3335 unittest.expect(o.kind, unittest.equals('foo')); | 2800 unittest.expect(o.kind, unittest.equals('foo')); |
3336 unittest.expect(o.orderId, unittest.equals('foo')); | 2801 unittest.expect(o.orderId, unittest.equals('foo')); |
3337 } | 2802 } |
3338 buildCounterOrdersCreateTestOrderResponse--; | 2803 buildCounterOrdersCreateTestOrderResponse--; |
3339 } | 2804 } |
3340 | 2805 |
3341 buildUnnamed334() { | 2806 buildUnnamed320() { |
3342 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); | 2807 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); |
3343 o.add(buildOrdersCustomBatchRequestEntry()); | 2808 o.add(buildOrdersCustomBatchRequestEntry()); |
3344 o.add(buildOrdersCustomBatchRequestEntry()); | 2809 o.add(buildOrdersCustomBatchRequestEntry()); |
3345 return o; | 2810 return o; |
3346 } | 2811 } |
3347 | 2812 |
3348 checkUnnamed334(core.List<api.OrdersCustomBatchRequestEntry> o) { | 2813 checkUnnamed320(core.List<api.OrdersCustomBatchRequestEntry> o) { |
3349 unittest.expect(o, unittest.hasLength(2)); | 2814 unittest.expect(o, unittest.hasLength(2)); |
3350 checkOrdersCustomBatchRequestEntry(o[0]); | 2815 checkOrdersCustomBatchRequestEntry(o[0]); |
3351 checkOrdersCustomBatchRequestEntry(o[1]); | 2816 checkOrdersCustomBatchRequestEntry(o[1]); |
3352 } | 2817 } |
3353 | 2818 |
3354 core.int buildCounterOrdersCustomBatchRequest = 0; | 2819 core.int buildCounterOrdersCustomBatchRequest = 0; |
3355 buildOrdersCustomBatchRequest() { | 2820 buildOrdersCustomBatchRequest() { |
3356 var o = new api.OrdersCustomBatchRequest(); | 2821 var o = new api.OrdersCustomBatchRequest(); |
3357 buildCounterOrdersCustomBatchRequest++; | 2822 buildCounterOrdersCustomBatchRequest++; |
3358 if (buildCounterOrdersCustomBatchRequest < 3) { | 2823 if (buildCounterOrdersCustomBatchRequest < 3) { |
3359 o.entries = buildUnnamed334(); | 2824 o.entries = buildUnnamed320(); |
3360 } | 2825 } |
3361 buildCounterOrdersCustomBatchRequest--; | 2826 buildCounterOrdersCustomBatchRequest--; |
3362 return o; | 2827 return o; |
3363 } | 2828 } |
3364 | 2829 |
3365 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { | 2830 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { |
3366 buildCounterOrdersCustomBatchRequest++; | 2831 buildCounterOrdersCustomBatchRequest++; |
3367 if (buildCounterOrdersCustomBatchRequest < 3) { | 2832 if (buildCounterOrdersCustomBatchRequest < 3) { |
3368 checkUnnamed334(o.entries); | 2833 checkUnnamed320(o.entries); |
3369 } | 2834 } |
3370 buildCounterOrdersCustomBatchRequest--; | 2835 buildCounterOrdersCustomBatchRequest--; |
3371 } | 2836 } |
3372 | 2837 |
3373 core.int buildCounterOrdersCustomBatchRequestEntry = 0; | 2838 core.int buildCounterOrdersCustomBatchRequestEntry = 0; |
3374 buildOrdersCustomBatchRequestEntry() { | 2839 buildOrdersCustomBatchRequestEntry() { |
3375 var o = new api.OrdersCustomBatchRequestEntry(); | 2840 var o = new api.OrdersCustomBatchRequestEntry(); |
3376 buildCounterOrdersCustomBatchRequestEntry++; | 2841 buildCounterOrdersCustomBatchRequestEntry++; |
3377 if (buildCounterOrdersCustomBatchRequestEntry < 3) { | 2842 if (buildCounterOrdersCustomBatchRequestEntry < 3) { |
3378 o.batchId = 42; | 2843 o.batchId = 42; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3500 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; | 2965 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; |
3501 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { | 2966 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { |
3502 unittest.expect(o.lineItemId, unittest.equals('foo')); | 2967 unittest.expect(o.lineItemId, unittest.equals('foo')); |
3503 unittest.expect(o.quantity, unittest.equals(42)); | 2968 unittest.expect(o.quantity, unittest.equals(42)); |
3504 unittest.expect(o.reason, unittest.equals('foo')); | 2969 unittest.expect(o.reason, unittest.equals('foo')); |
3505 unittest.expect(o.reasonText, unittest.equals('foo')); | 2970 unittest.expect(o.reasonText, unittest.equals('foo')); |
3506 } | 2971 } |
3507 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; | 2972 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; |
3508 } | 2973 } |
3509 | 2974 |
3510 buildUnnamed335() { | 2975 buildUnnamed321() { |
3511 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 2976 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3512 o.add(buildOrderShipmentLineItemShipment()); | 2977 o.add(buildOrderShipmentLineItemShipment()); |
3513 o.add(buildOrderShipmentLineItemShipment()); | 2978 o.add(buildOrderShipmentLineItemShipment()); |
3514 return o; | 2979 return o; |
3515 } | 2980 } |
3516 | 2981 |
3517 checkUnnamed335(core.List<api.OrderShipmentLineItemShipment> o) { | 2982 checkUnnamed321(core.List<api.OrderShipmentLineItemShipment> o) { |
3518 unittest.expect(o, unittest.hasLength(2)); | 2983 unittest.expect(o, unittest.hasLength(2)); |
3519 checkOrderShipmentLineItemShipment(o[0]); | 2984 checkOrderShipmentLineItemShipment(o[0]); |
3520 checkOrderShipmentLineItemShipment(o[1]); | 2985 checkOrderShipmentLineItemShipment(o[1]); |
3521 } | 2986 } |
3522 | 2987 |
3523 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; | 2988 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; |
3524 buildOrdersCustomBatchRequestEntryShipLineItems() { | 2989 buildOrdersCustomBatchRequestEntryShipLineItems() { |
3525 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); | 2990 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); |
3526 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 2991 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
3527 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 2992 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
3528 o.carrier = "foo"; | 2993 o.carrier = "foo"; |
3529 o.lineItems = buildUnnamed335(); | 2994 o.lineItems = buildUnnamed321(); |
3530 o.shipmentId = "foo"; | 2995 o.shipmentId = "foo"; |
3531 o.trackingId = "foo"; | 2996 o.trackingId = "foo"; |
3532 } | 2997 } |
3533 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 2998 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
3534 return o; | 2999 return o; |
3535 } | 3000 } |
3536 | 3001 |
3537 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { | 3002 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { |
3538 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3003 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
3539 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3004 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
3540 unittest.expect(o.carrier, unittest.equals('foo')); | 3005 unittest.expect(o.carrier, unittest.equals('foo')); |
3541 checkUnnamed335(o.lineItems); | 3006 checkUnnamed321(o.lineItems); |
3542 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3007 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3543 unittest.expect(o.trackingId, unittest.equals('foo')); | 3008 unittest.expect(o.trackingId, unittest.equals('foo')); |
3544 } | 3009 } |
3545 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3010 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
3546 } | 3011 } |
3547 | 3012 |
3548 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; | 3013 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; |
3549 buildOrdersCustomBatchRequestEntryUpdateShipment() { | 3014 buildOrdersCustomBatchRequestEntryUpdateShipment() { |
3550 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); | 3015 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); |
3551 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3016 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
(...skipping 11 matching lines...) Expand all Loading... |
3563 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3028 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
3564 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { | 3029 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { |
3565 unittest.expect(o.carrier, unittest.equals('foo')); | 3030 unittest.expect(o.carrier, unittest.equals('foo')); |
3566 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3031 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3567 unittest.expect(o.status, unittest.equals('foo')); | 3032 unittest.expect(o.status, unittest.equals('foo')); |
3568 unittest.expect(o.trackingId, unittest.equals('foo')); | 3033 unittest.expect(o.trackingId, unittest.equals('foo')); |
3569 } | 3034 } |
3570 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; | 3035 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; |
3571 } | 3036 } |
3572 | 3037 |
3573 buildUnnamed336() { | 3038 buildUnnamed322() { |
3574 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); | 3039 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); |
3575 o.add(buildOrdersCustomBatchResponseEntry()); | 3040 o.add(buildOrdersCustomBatchResponseEntry()); |
3576 o.add(buildOrdersCustomBatchResponseEntry()); | 3041 o.add(buildOrdersCustomBatchResponseEntry()); |
3577 return o; | 3042 return o; |
3578 } | 3043 } |
3579 | 3044 |
3580 checkUnnamed336(core.List<api.OrdersCustomBatchResponseEntry> o) { | 3045 checkUnnamed322(core.List<api.OrdersCustomBatchResponseEntry> o) { |
3581 unittest.expect(o, unittest.hasLength(2)); | 3046 unittest.expect(o, unittest.hasLength(2)); |
3582 checkOrdersCustomBatchResponseEntry(o[0]); | 3047 checkOrdersCustomBatchResponseEntry(o[0]); |
3583 checkOrdersCustomBatchResponseEntry(o[1]); | 3048 checkOrdersCustomBatchResponseEntry(o[1]); |
3584 } | 3049 } |
3585 | 3050 |
3586 core.int buildCounterOrdersCustomBatchResponse = 0; | 3051 core.int buildCounterOrdersCustomBatchResponse = 0; |
3587 buildOrdersCustomBatchResponse() { | 3052 buildOrdersCustomBatchResponse() { |
3588 var o = new api.OrdersCustomBatchResponse(); | 3053 var o = new api.OrdersCustomBatchResponse(); |
3589 buildCounterOrdersCustomBatchResponse++; | 3054 buildCounterOrdersCustomBatchResponse++; |
3590 if (buildCounterOrdersCustomBatchResponse < 3) { | 3055 if (buildCounterOrdersCustomBatchResponse < 3) { |
3591 o.entries = buildUnnamed336(); | 3056 o.entries = buildUnnamed322(); |
3592 o.kind = "foo"; | 3057 o.kind = "foo"; |
3593 } | 3058 } |
3594 buildCounterOrdersCustomBatchResponse--; | 3059 buildCounterOrdersCustomBatchResponse--; |
3595 return o; | 3060 return o; |
3596 } | 3061 } |
3597 | 3062 |
3598 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { | 3063 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { |
3599 buildCounterOrdersCustomBatchResponse++; | 3064 buildCounterOrdersCustomBatchResponse++; |
3600 if (buildCounterOrdersCustomBatchResponse < 3) { | 3065 if (buildCounterOrdersCustomBatchResponse < 3) { |
3601 checkUnnamed336(o.entries); | 3066 checkUnnamed322(o.entries); |
3602 unittest.expect(o.kind, unittest.equals('foo')); | 3067 unittest.expect(o.kind, unittest.equals('foo')); |
3603 } | 3068 } |
3604 buildCounterOrdersCustomBatchResponse--; | 3069 buildCounterOrdersCustomBatchResponse--; |
3605 } | 3070 } |
3606 | 3071 |
3607 core.int buildCounterOrdersCustomBatchResponseEntry = 0; | 3072 core.int buildCounterOrdersCustomBatchResponseEntry = 0; |
3608 buildOrdersCustomBatchResponseEntry() { | 3073 buildOrdersCustomBatchResponseEntry() { |
3609 var o = new api.OrdersCustomBatchResponseEntry(); | 3074 var o = new api.OrdersCustomBatchResponseEntry(); |
3610 buildCounterOrdersCustomBatchResponseEntry++; | 3075 buildCounterOrdersCustomBatchResponseEntry++; |
3611 if (buildCounterOrdersCustomBatchResponseEntry < 3) { | 3076 if (buildCounterOrdersCustomBatchResponseEntry < 3) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3666 | 3131 |
3667 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { | 3132 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { |
3668 buildCounterOrdersGetTestOrderTemplateResponse++; | 3133 buildCounterOrdersGetTestOrderTemplateResponse++; |
3669 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { | 3134 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { |
3670 unittest.expect(o.kind, unittest.equals('foo')); | 3135 unittest.expect(o.kind, unittest.equals('foo')); |
3671 checkTestOrder(o.template); | 3136 checkTestOrder(o.template); |
3672 } | 3137 } |
3673 buildCounterOrdersGetTestOrderTemplateResponse--; | 3138 buildCounterOrdersGetTestOrderTemplateResponse--; |
3674 } | 3139 } |
3675 | 3140 |
3676 buildUnnamed337() { | 3141 buildUnnamed323() { |
3677 var o = new core.List<api.Order>(); | 3142 var o = new core.List<api.Order>(); |
3678 o.add(buildOrder()); | 3143 o.add(buildOrder()); |
3679 o.add(buildOrder()); | 3144 o.add(buildOrder()); |
3680 return o; | 3145 return o; |
3681 } | 3146 } |
3682 | 3147 |
3683 checkUnnamed337(core.List<api.Order> o) { | 3148 checkUnnamed323(core.List<api.Order> o) { |
3684 unittest.expect(o, unittest.hasLength(2)); | 3149 unittest.expect(o, unittest.hasLength(2)); |
3685 checkOrder(o[0]); | 3150 checkOrder(o[0]); |
3686 checkOrder(o[1]); | 3151 checkOrder(o[1]); |
3687 } | 3152 } |
3688 | 3153 |
3689 core.int buildCounterOrdersListResponse = 0; | 3154 core.int buildCounterOrdersListResponse = 0; |
3690 buildOrdersListResponse() { | 3155 buildOrdersListResponse() { |
3691 var o = new api.OrdersListResponse(); | 3156 var o = new api.OrdersListResponse(); |
3692 buildCounterOrdersListResponse++; | 3157 buildCounterOrdersListResponse++; |
3693 if (buildCounterOrdersListResponse < 3) { | 3158 if (buildCounterOrdersListResponse < 3) { |
3694 o.kind = "foo"; | 3159 o.kind = "foo"; |
3695 o.nextPageToken = "foo"; | 3160 o.nextPageToken = "foo"; |
3696 o.resources = buildUnnamed337(); | 3161 o.resources = buildUnnamed323(); |
3697 } | 3162 } |
3698 buildCounterOrdersListResponse--; | 3163 buildCounterOrdersListResponse--; |
3699 return o; | 3164 return o; |
3700 } | 3165 } |
3701 | 3166 |
3702 checkOrdersListResponse(api.OrdersListResponse o) { | 3167 checkOrdersListResponse(api.OrdersListResponse o) { |
3703 buildCounterOrdersListResponse++; | 3168 buildCounterOrdersListResponse++; |
3704 if (buildCounterOrdersListResponse < 3) { | 3169 if (buildCounterOrdersListResponse < 3) { |
3705 unittest.expect(o.kind, unittest.equals('foo')); | 3170 unittest.expect(o.kind, unittest.equals('foo')); |
3706 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3171 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3707 checkUnnamed337(o.resources); | 3172 checkUnnamed323(o.resources); |
3708 } | 3173 } |
3709 buildCounterOrdersListResponse--; | 3174 buildCounterOrdersListResponse--; |
3710 } | 3175 } |
3711 | 3176 |
3712 core.int buildCounterOrdersRefundRequest = 0; | 3177 core.int buildCounterOrdersRefundRequest = 0; |
3713 buildOrdersRefundRequest() { | 3178 buildOrdersRefundRequest() { |
3714 var o = new api.OrdersRefundRequest(); | 3179 var o = new api.OrdersRefundRequest(); |
3715 buildCounterOrdersRefundRequest++; | 3180 buildCounterOrdersRefundRequest++; |
3716 if (buildCounterOrdersRefundRequest < 3) { | 3181 if (buildCounterOrdersRefundRequest < 3) { |
3717 o.amount = buildPrice(); | 3182 o.amount = buildPrice(); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3796 | 3261 |
3797 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { | 3262 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { |
3798 buildCounterOrdersReturnLineItemResponse++; | 3263 buildCounterOrdersReturnLineItemResponse++; |
3799 if (buildCounterOrdersReturnLineItemResponse < 3) { | 3264 if (buildCounterOrdersReturnLineItemResponse < 3) { |
3800 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3265 unittest.expect(o.executionStatus, unittest.equals('foo')); |
3801 unittest.expect(o.kind, unittest.equals('foo')); | 3266 unittest.expect(o.kind, unittest.equals('foo')); |
3802 } | 3267 } |
3803 buildCounterOrdersReturnLineItemResponse--; | 3268 buildCounterOrdersReturnLineItemResponse--; |
3804 } | 3269 } |
3805 | 3270 |
3806 buildUnnamed338() { | 3271 buildUnnamed324() { |
3807 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3272 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3808 o.add(buildOrderShipmentLineItemShipment()); | 3273 o.add(buildOrderShipmentLineItemShipment()); |
3809 o.add(buildOrderShipmentLineItemShipment()); | 3274 o.add(buildOrderShipmentLineItemShipment()); |
3810 return o; | 3275 return o; |
3811 } | 3276 } |
3812 | 3277 |
3813 checkUnnamed338(core.List<api.OrderShipmentLineItemShipment> o) { | 3278 checkUnnamed324(core.List<api.OrderShipmentLineItemShipment> o) { |
3814 unittest.expect(o, unittest.hasLength(2)); | 3279 unittest.expect(o, unittest.hasLength(2)); |
3815 checkOrderShipmentLineItemShipment(o[0]); | 3280 checkOrderShipmentLineItemShipment(o[0]); |
3816 checkOrderShipmentLineItemShipment(o[1]); | 3281 checkOrderShipmentLineItemShipment(o[1]); |
3817 } | 3282 } |
3818 | 3283 |
3819 core.int buildCounterOrdersShipLineItemsRequest = 0; | 3284 core.int buildCounterOrdersShipLineItemsRequest = 0; |
3820 buildOrdersShipLineItemsRequest() { | 3285 buildOrdersShipLineItemsRequest() { |
3821 var o = new api.OrdersShipLineItemsRequest(); | 3286 var o = new api.OrdersShipLineItemsRequest(); |
3822 buildCounterOrdersShipLineItemsRequest++; | 3287 buildCounterOrdersShipLineItemsRequest++; |
3823 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3288 if (buildCounterOrdersShipLineItemsRequest < 3) { |
3824 o.carrier = "foo"; | 3289 o.carrier = "foo"; |
3825 o.lineItems = buildUnnamed338(); | 3290 o.lineItems = buildUnnamed324(); |
3826 o.operationId = "foo"; | 3291 o.operationId = "foo"; |
3827 o.shipmentId = "foo"; | 3292 o.shipmentId = "foo"; |
3828 o.trackingId = "foo"; | 3293 o.trackingId = "foo"; |
3829 } | 3294 } |
3830 buildCounterOrdersShipLineItemsRequest--; | 3295 buildCounterOrdersShipLineItemsRequest--; |
3831 return o; | 3296 return o; |
3832 } | 3297 } |
3833 | 3298 |
3834 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { | 3299 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { |
3835 buildCounterOrdersShipLineItemsRequest++; | 3300 buildCounterOrdersShipLineItemsRequest++; |
3836 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3301 if (buildCounterOrdersShipLineItemsRequest < 3) { |
3837 unittest.expect(o.carrier, unittest.equals('foo')); | 3302 unittest.expect(o.carrier, unittest.equals('foo')); |
3838 checkUnnamed338(o.lineItems); | 3303 checkUnnamed324(o.lineItems); |
3839 unittest.expect(o.operationId, unittest.equals('foo')); | 3304 unittest.expect(o.operationId, unittest.equals('foo')); |
3840 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3305 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3841 unittest.expect(o.trackingId, unittest.equals('foo')); | 3306 unittest.expect(o.trackingId, unittest.equals('foo')); |
3842 } | 3307 } |
3843 buildCounterOrdersShipLineItemsRequest--; | 3308 buildCounterOrdersShipLineItemsRequest--; |
3844 } | 3309 } |
3845 | 3310 |
3846 core.int buildCounterOrdersShipLineItemsResponse = 0; | 3311 core.int buildCounterOrdersShipLineItemsResponse = 0; |
3847 buildOrdersShipLineItemsResponse() { | 3312 buildOrdersShipLineItemsResponse() { |
3848 var o = new api.OrdersShipLineItemsResponse(); | 3313 var o = new api.OrdersShipLineItemsResponse(); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3947 | 3412 |
3948 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { | 3413 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { |
3949 buildCounterOrdersUpdateShipmentResponse++; | 3414 buildCounterOrdersUpdateShipmentResponse++; |
3950 if (buildCounterOrdersUpdateShipmentResponse < 3) { | 3415 if (buildCounterOrdersUpdateShipmentResponse < 3) { |
3951 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3416 unittest.expect(o.executionStatus, unittest.equals('foo')); |
3952 unittest.expect(o.kind, unittest.equals('foo')); | 3417 unittest.expect(o.kind, unittest.equals('foo')); |
3953 } | 3418 } |
3954 buildCounterOrdersUpdateShipmentResponse--; | 3419 buildCounterOrdersUpdateShipmentResponse--; |
3955 } | 3420 } |
3956 | 3421 |
3957 buildUnnamed339() { | 3422 buildUnnamed325() { |
3958 var o = new core.List<api.PostalCodeRange>(); | 3423 var o = new core.List<api.PostalCodeRange>(); |
3959 o.add(buildPostalCodeRange()); | 3424 o.add(buildPostalCodeRange()); |
3960 o.add(buildPostalCodeRange()); | 3425 o.add(buildPostalCodeRange()); |
3961 return o; | 3426 return o; |
3962 } | 3427 } |
3963 | 3428 |
3964 checkUnnamed339(core.List<api.PostalCodeRange> o) { | 3429 checkUnnamed325(core.List<api.PostalCodeRange> o) { |
3965 unittest.expect(o, unittest.hasLength(2)); | 3430 unittest.expect(o, unittest.hasLength(2)); |
3966 checkPostalCodeRange(o[0]); | 3431 checkPostalCodeRange(o[0]); |
3967 checkPostalCodeRange(o[1]); | 3432 checkPostalCodeRange(o[1]); |
3968 } | 3433 } |
3969 | 3434 |
3970 core.int buildCounterPostalCodeGroup = 0; | 3435 core.int buildCounterPostalCodeGroup = 0; |
3971 buildPostalCodeGroup() { | 3436 buildPostalCodeGroup() { |
3972 var o = new api.PostalCodeGroup(); | 3437 var o = new api.PostalCodeGroup(); |
3973 buildCounterPostalCodeGroup++; | 3438 buildCounterPostalCodeGroup++; |
3974 if (buildCounterPostalCodeGroup < 3) { | 3439 if (buildCounterPostalCodeGroup < 3) { |
3975 o.country = "foo"; | 3440 o.country = "foo"; |
3976 o.name = "foo"; | 3441 o.name = "foo"; |
3977 o.postalCodeRanges = buildUnnamed339(); | 3442 o.postalCodeRanges = buildUnnamed325(); |
3978 } | 3443 } |
3979 buildCounterPostalCodeGroup--; | 3444 buildCounterPostalCodeGroup--; |
3980 return o; | 3445 return o; |
3981 } | 3446 } |
3982 | 3447 |
3983 checkPostalCodeGroup(api.PostalCodeGroup o) { | 3448 checkPostalCodeGroup(api.PostalCodeGroup o) { |
3984 buildCounterPostalCodeGroup++; | 3449 buildCounterPostalCodeGroup++; |
3985 if (buildCounterPostalCodeGroup < 3) { | 3450 if (buildCounterPostalCodeGroup < 3) { |
3986 unittest.expect(o.country, unittest.equals('foo')); | 3451 unittest.expect(o.country, unittest.equals('foo')); |
3987 unittest.expect(o.name, unittest.equals('foo')); | 3452 unittest.expect(o.name, unittest.equals('foo')); |
3988 checkUnnamed339(o.postalCodeRanges); | 3453 checkUnnamed325(o.postalCodeRanges); |
3989 } | 3454 } |
3990 buildCounterPostalCodeGroup--; | 3455 buildCounterPostalCodeGroup--; |
3991 } | 3456 } |
3992 | 3457 |
3993 core.int buildCounterPostalCodeRange = 0; | 3458 core.int buildCounterPostalCodeRange = 0; |
3994 buildPostalCodeRange() { | 3459 buildPostalCodeRange() { |
3995 var o = new api.PostalCodeRange(); | 3460 var o = new api.PostalCodeRange(); |
3996 buildCounterPostalCodeRange++; | 3461 buildCounterPostalCodeRange++; |
3997 if (buildCounterPostalCodeRange < 3) { | 3462 if (buildCounterPostalCodeRange < 3) { |
3998 o.postalCodeRangeBegin = "foo"; | 3463 o.postalCodeRangeBegin = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
4025 | 3490 |
4026 checkPrice(api.Price o) { | 3491 checkPrice(api.Price o) { |
4027 buildCounterPrice++; | 3492 buildCounterPrice++; |
4028 if (buildCounterPrice < 3) { | 3493 if (buildCounterPrice < 3) { |
4029 unittest.expect(o.currency, unittest.equals('foo')); | 3494 unittest.expect(o.currency, unittest.equals('foo')); |
4030 unittest.expect(o.value, unittest.equals('foo')); | 3495 unittest.expect(o.value, unittest.equals('foo')); |
4031 } | 3496 } |
4032 buildCounterPrice--; | 3497 buildCounterPrice--; |
4033 } | 3498 } |
4034 | 3499 |
4035 buildUnnamed340() { | 3500 buildUnnamed326() { |
4036 var o = new core.List<core.String>(); | 3501 var o = new core.List<core.String>(); |
4037 o.add("foo"); | 3502 o.add("foo"); |
4038 o.add("foo"); | 3503 o.add("foo"); |
4039 return o; | 3504 return o; |
4040 } | 3505 } |
4041 | 3506 |
4042 checkUnnamed340(core.List<core.String> o) { | 3507 checkUnnamed326(core.List<core.String> o) { |
4043 unittest.expect(o, unittest.hasLength(2)); | 3508 unittest.expect(o, unittest.hasLength(2)); |
4044 unittest.expect(o[0], unittest.equals('foo')); | 3509 unittest.expect(o[0], unittest.equals('foo')); |
4045 unittest.expect(o[1], unittest.equals('foo')); | 3510 unittest.expect(o[1], unittest.equals('foo')); |
4046 } | 3511 } |
4047 | 3512 |
4048 buildUnnamed341() { | 3513 buildUnnamed327() { |
4049 var o = new core.List<core.String>(); | 3514 var o = new core.List<core.String>(); |
4050 o.add("foo"); | 3515 o.add("foo"); |
4051 o.add("foo"); | 3516 o.add("foo"); |
4052 return o; | 3517 return o; |
4053 } | 3518 } |
4054 | 3519 |
4055 checkUnnamed341(core.List<core.String> o) { | 3520 checkUnnamed327(core.List<core.String> o) { |
4056 unittest.expect(o, unittest.hasLength(2)); | 3521 unittest.expect(o, unittest.hasLength(2)); |
4057 unittest.expect(o[0], unittest.equals('foo')); | 3522 unittest.expect(o[0], unittest.equals('foo')); |
4058 unittest.expect(o[1], unittest.equals('foo')); | 3523 unittest.expect(o[1], unittest.equals('foo')); |
4059 } | 3524 } |
4060 | 3525 |
4061 buildUnnamed342() { | 3526 buildUnnamed328() { |
4062 var o = new core.List<core.String>(); | 3527 var o = new core.List<core.String>(); |
4063 o.add("foo"); | 3528 o.add("foo"); |
4064 o.add("foo"); | 3529 o.add("foo"); |
4065 return o; | 3530 return o; |
4066 } | 3531 } |
4067 | 3532 |
4068 checkUnnamed342(core.List<core.String> o) { | 3533 checkUnnamed328(core.List<core.String> o) { |
4069 unittest.expect(o, unittest.hasLength(2)); | 3534 unittest.expect(o, unittest.hasLength(2)); |
4070 unittest.expect(o[0], unittest.equals('foo')); | 3535 unittest.expect(o[0], unittest.equals('foo')); |
4071 unittest.expect(o[1], unittest.equals('foo')); | 3536 unittest.expect(o[1], unittest.equals('foo')); |
4072 } | 3537 } |
4073 | 3538 |
4074 buildUnnamed343() { | 3539 buildUnnamed329() { |
4075 var o = new core.List<api.ProductAspect>(); | 3540 var o = new core.List<api.ProductAspect>(); |
4076 o.add(buildProductAspect()); | 3541 o.add(buildProductAspect()); |
4077 o.add(buildProductAspect()); | 3542 o.add(buildProductAspect()); |
4078 return o; | 3543 return o; |
4079 } | 3544 } |
4080 | 3545 |
4081 checkUnnamed343(core.List<api.ProductAspect> o) { | 3546 checkUnnamed329(core.List<api.ProductAspect> o) { |
4082 unittest.expect(o, unittest.hasLength(2)); | 3547 unittest.expect(o, unittest.hasLength(2)); |
4083 checkProductAspect(o[0]); | 3548 checkProductAspect(o[0]); |
4084 checkProductAspect(o[1]); | 3549 checkProductAspect(o[1]); |
4085 } | 3550 } |
4086 | 3551 |
4087 buildUnnamed344() { | 3552 buildUnnamed330() { |
4088 var o = new core.List<api.ProductCustomAttribute>(); | 3553 var o = new core.List<api.ProductCustomAttribute>(); |
4089 o.add(buildProductCustomAttribute()); | 3554 o.add(buildProductCustomAttribute()); |
4090 o.add(buildProductCustomAttribute()); | 3555 o.add(buildProductCustomAttribute()); |
4091 return o; | 3556 return o; |
4092 } | 3557 } |
4093 | 3558 |
4094 checkUnnamed344(core.List<api.ProductCustomAttribute> o) { | 3559 checkUnnamed330(core.List<api.ProductCustomAttribute> o) { |
4095 unittest.expect(o, unittest.hasLength(2)); | 3560 unittest.expect(o, unittest.hasLength(2)); |
4096 checkProductCustomAttribute(o[0]); | 3561 checkProductCustomAttribute(o[0]); |
4097 checkProductCustomAttribute(o[1]); | 3562 checkProductCustomAttribute(o[1]); |
4098 } | 3563 } |
4099 | 3564 |
4100 buildUnnamed345() { | 3565 buildUnnamed331() { |
4101 var o = new core.List<api.ProductCustomGroup>(); | 3566 var o = new core.List<api.ProductCustomGroup>(); |
4102 o.add(buildProductCustomGroup()); | 3567 o.add(buildProductCustomGroup()); |
4103 o.add(buildProductCustomGroup()); | 3568 o.add(buildProductCustomGroup()); |
4104 return o; | 3569 return o; |
4105 } | 3570 } |
4106 | 3571 |
4107 checkUnnamed345(core.List<api.ProductCustomGroup> o) { | 3572 checkUnnamed331(core.List<api.ProductCustomGroup> o) { |
4108 unittest.expect(o, unittest.hasLength(2)); | 3573 unittest.expect(o, unittest.hasLength(2)); |
4109 checkProductCustomGroup(o[0]); | 3574 checkProductCustomGroup(o[0]); |
4110 checkProductCustomGroup(o[1]); | 3575 checkProductCustomGroup(o[1]); |
4111 } | 3576 } |
4112 | 3577 |
4113 buildUnnamed346() { | 3578 buildUnnamed332() { |
4114 var o = new core.List<api.ProductDestination>(); | 3579 var o = new core.List<api.ProductDestination>(); |
4115 o.add(buildProductDestination()); | 3580 o.add(buildProductDestination()); |
4116 o.add(buildProductDestination()); | 3581 o.add(buildProductDestination()); |
4117 return o; | 3582 return o; |
4118 } | 3583 } |
4119 | 3584 |
4120 checkUnnamed346(core.List<api.ProductDestination> o) { | 3585 checkUnnamed332(core.List<api.ProductDestination> o) { |
4121 unittest.expect(o, unittest.hasLength(2)); | 3586 unittest.expect(o, unittest.hasLength(2)); |
4122 checkProductDestination(o[0]); | 3587 checkProductDestination(o[0]); |
4123 checkProductDestination(o[1]); | 3588 checkProductDestination(o[1]); |
4124 } | 3589 } |
4125 | 3590 |
4126 buildUnnamed347() { | 3591 buildUnnamed333() { |
4127 var o = new core.List<core.String>(); | 3592 var o = new core.List<core.String>(); |
4128 o.add("foo"); | 3593 o.add("foo"); |
4129 o.add("foo"); | 3594 o.add("foo"); |
4130 return o; | 3595 return o; |
4131 } | 3596 } |
4132 | 3597 |
4133 checkUnnamed347(core.List<core.String> o) { | 3598 checkUnnamed333(core.List<core.String> o) { |
4134 unittest.expect(o, unittest.hasLength(2)); | 3599 unittest.expect(o, unittest.hasLength(2)); |
4135 unittest.expect(o[0], unittest.equals('foo')); | 3600 unittest.expect(o[0], unittest.equals('foo')); |
4136 unittest.expect(o[1], unittest.equals('foo')); | 3601 unittest.expect(o[1], unittest.equals('foo')); |
4137 } | 3602 } |
4138 | 3603 |
4139 buildUnnamed348() { | 3604 buildUnnamed334() { |
4140 var o = new core.List<core.String>(); | 3605 var o = new core.List<core.String>(); |
4141 o.add("foo"); | 3606 o.add("foo"); |
4142 o.add("foo"); | 3607 o.add("foo"); |
4143 return o; | 3608 return o; |
4144 } | 3609 } |
4145 | 3610 |
4146 checkUnnamed348(core.List<core.String> o) { | 3611 checkUnnamed334(core.List<core.String> o) { |
4147 unittest.expect(o, unittest.hasLength(2)); | 3612 unittest.expect(o, unittest.hasLength(2)); |
4148 unittest.expect(o[0], unittest.equals('foo')); | 3613 unittest.expect(o[0], unittest.equals('foo')); |
4149 unittest.expect(o[1], unittest.equals('foo')); | 3614 unittest.expect(o[1], unittest.equals('foo')); |
4150 } | 3615 } |
4151 | 3616 |
4152 buildUnnamed349() { | 3617 buildUnnamed335() { |
4153 var o = new core.List<api.ProductShipping>(); | 3618 var o = new core.List<api.ProductShipping>(); |
4154 o.add(buildProductShipping()); | 3619 o.add(buildProductShipping()); |
4155 o.add(buildProductShipping()); | 3620 o.add(buildProductShipping()); |
4156 return o; | 3621 return o; |
4157 } | 3622 } |
4158 | 3623 |
4159 checkUnnamed349(core.List<api.ProductShipping> o) { | 3624 checkUnnamed335(core.List<api.ProductShipping> o) { |
4160 unittest.expect(o, unittest.hasLength(2)); | 3625 unittest.expect(o, unittest.hasLength(2)); |
4161 checkProductShipping(o[0]); | 3626 checkProductShipping(o[0]); |
4162 checkProductShipping(o[1]); | 3627 checkProductShipping(o[1]); |
4163 } | 3628 } |
4164 | 3629 |
4165 buildUnnamed350() { | 3630 buildUnnamed336() { |
4166 var o = new core.List<core.String>(); | 3631 var o = new core.List<core.String>(); |
4167 o.add("foo"); | 3632 o.add("foo"); |
4168 o.add("foo"); | 3633 o.add("foo"); |
4169 return o; | 3634 return o; |
4170 } | 3635 } |
4171 | 3636 |
4172 checkUnnamed350(core.List<core.String> o) { | 3637 checkUnnamed336(core.List<core.String> o) { |
4173 unittest.expect(o, unittest.hasLength(2)); | 3638 unittest.expect(o, unittest.hasLength(2)); |
4174 unittest.expect(o[0], unittest.equals('foo')); | 3639 unittest.expect(o[0], unittest.equals('foo')); |
4175 unittest.expect(o[1], unittest.equals('foo')); | 3640 unittest.expect(o[1], unittest.equals('foo')); |
4176 } | 3641 } |
4177 | 3642 |
4178 buildUnnamed351() { | 3643 buildUnnamed337() { |
4179 var o = new core.List<api.ProductTax>(); | 3644 var o = new core.List<api.ProductTax>(); |
4180 o.add(buildProductTax()); | 3645 o.add(buildProductTax()); |
4181 o.add(buildProductTax()); | 3646 o.add(buildProductTax()); |
4182 return o; | 3647 return o; |
4183 } | 3648 } |
4184 | 3649 |
4185 checkUnnamed351(core.List<api.ProductTax> o) { | 3650 checkUnnamed337(core.List<api.ProductTax> o) { |
4186 unittest.expect(o, unittest.hasLength(2)); | 3651 unittest.expect(o, unittest.hasLength(2)); |
4187 checkProductTax(o[0]); | 3652 checkProductTax(o[0]); |
4188 checkProductTax(o[1]); | 3653 checkProductTax(o[1]); |
4189 } | 3654 } |
4190 | 3655 |
4191 buildUnnamed352() { | 3656 buildUnnamed338() { |
4192 var o = new core.List<core.String>(); | 3657 var o = new core.List<core.String>(); |
4193 o.add("foo"); | 3658 o.add("foo"); |
4194 o.add("foo"); | 3659 o.add("foo"); |
4195 return o; | 3660 return o; |
4196 } | 3661 } |
4197 | 3662 |
4198 checkUnnamed352(core.List<core.String> o) { | 3663 checkUnnamed338(core.List<core.String> o) { |
4199 unittest.expect(o, unittest.hasLength(2)); | 3664 unittest.expect(o, unittest.hasLength(2)); |
4200 unittest.expect(o[0], unittest.equals('foo')); | 3665 unittest.expect(o[0], unittest.equals('foo')); |
4201 unittest.expect(o[1], unittest.equals('foo')); | 3666 unittest.expect(o[1], unittest.equals('foo')); |
4202 } | 3667 } |
4203 | 3668 |
4204 buildUnnamed353() { | 3669 buildUnnamed339() { |
4205 var o = new core.List<api.Error>(); | 3670 var o = new core.List<api.Error>(); |
4206 o.add(buildError()); | 3671 o.add(buildError()); |
4207 o.add(buildError()); | 3672 o.add(buildError()); |
4208 return o; | 3673 return o; |
4209 } | 3674 } |
4210 | 3675 |
4211 checkUnnamed353(core.List<api.Error> o) { | 3676 checkUnnamed339(core.List<api.Error> o) { |
4212 unittest.expect(o, unittest.hasLength(2)); | 3677 unittest.expect(o, unittest.hasLength(2)); |
4213 checkError(o[0]); | 3678 checkError(o[0]); |
4214 checkError(o[1]); | 3679 checkError(o[1]); |
4215 } | 3680 } |
4216 | 3681 |
4217 core.int buildCounterProduct = 0; | 3682 core.int buildCounterProduct = 0; |
4218 buildProduct() { | 3683 buildProduct() { |
4219 var o = new api.Product(); | 3684 var o = new api.Product(); |
4220 buildCounterProduct++; | 3685 buildCounterProduct++; |
4221 if (buildCounterProduct < 3) { | 3686 if (buildCounterProduct < 3) { |
4222 o.additionalImageLinks = buildUnnamed340(); | 3687 o.additionalImageLinks = buildUnnamed326(); |
4223 o.additionalProductTypes = buildUnnamed341(); | 3688 o.additionalProductTypes = buildUnnamed327(); |
4224 o.adult = true; | 3689 o.adult = true; |
4225 o.adwordsGrouping = "foo"; | 3690 o.adwordsGrouping = "foo"; |
4226 o.adwordsLabels = buildUnnamed342(); | 3691 o.adwordsLabels = buildUnnamed328(); |
4227 o.adwordsRedirect = "foo"; | 3692 o.adwordsRedirect = "foo"; |
4228 o.ageGroup = "foo"; | 3693 o.ageGroup = "foo"; |
4229 o.aspects = buildUnnamed343(); | 3694 o.aspects = buildUnnamed329(); |
4230 o.availability = "foo"; | 3695 o.availability = "foo"; |
4231 o.availabilityDate = "foo"; | 3696 o.availabilityDate = "foo"; |
4232 o.brand = "foo"; | 3697 o.brand = "foo"; |
4233 o.channel = "foo"; | 3698 o.channel = "foo"; |
4234 o.color = "foo"; | 3699 o.color = "foo"; |
4235 o.condition = "foo"; | 3700 o.condition = "foo"; |
4236 o.contentLanguage = "foo"; | 3701 o.contentLanguage = "foo"; |
4237 o.customAttributes = buildUnnamed344(); | 3702 o.customAttributes = buildUnnamed330(); |
4238 o.customGroups = buildUnnamed345(); | 3703 o.customGroups = buildUnnamed331(); |
4239 o.customLabel0 = "foo"; | 3704 o.customLabel0 = "foo"; |
4240 o.customLabel1 = "foo"; | 3705 o.customLabel1 = "foo"; |
4241 o.customLabel2 = "foo"; | 3706 o.customLabel2 = "foo"; |
4242 o.customLabel3 = "foo"; | 3707 o.customLabel3 = "foo"; |
4243 o.customLabel4 = "foo"; | 3708 o.customLabel4 = "foo"; |
4244 o.description = "foo"; | 3709 o.description = "foo"; |
4245 o.destinations = buildUnnamed346(); | 3710 o.destinations = buildUnnamed332(); |
4246 o.displayAdsId = "foo"; | 3711 o.displayAdsId = "foo"; |
4247 o.displayAdsLink = "foo"; | 3712 o.displayAdsLink = "foo"; |
4248 o.displayAdsSimilarIds = buildUnnamed347(); | 3713 o.displayAdsSimilarIds = buildUnnamed333(); |
4249 o.displayAdsTitle = "foo"; | 3714 o.displayAdsTitle = "foo"; |
4250 o.displayAdsValue = 42.0; | 3715 o.displayAdsValue = 42.0; |
4251 o.energyEfficiencyClass = "foo"; | 3716 o.energyEfficiencyClass = "foo"; |
4252 o.expirationDate = "foo"; | 3717 o.expirationDate = "foo"; |
4253 o.gender = "foo"; | 3718 o.gender = "foo"; |
4254 o.googleProductCategory = "foo"; | 3719 o.googleProductCategory = "foo"; |
4255 o.gtin = "foo"; | 3720 o.gtin = "foo"; |
4256 o.id = "foo"; | 3721 o.id = "foo"; |
4257 o.identifierExists = true; | 3722 o.identifierExists = true; |
4258 o.imageLink = "foo"; | 3723 o.imageLink = "foo"; |
4259 o.installment = buildInstallment(); | 3724 o.installment = buildInstallment(); |
4260 o.isBundle = true; | 3725 o.isBundle = true; |
4261 o.itemGroupId = "foo"; | 3726 o.itemGroupId = "foo"; |
4262 o.kind = "foo"; | 3727 o.kind = "foo"; |
4263 o.link = "foo"; | 3728 o.link = "foo"; |
4264 o.loyaltyPoints = buildLoyaltyPoints(); | 3729 o.loyaltyPoints = buildLoyaltyPoints(); |
4265 o.material = "foo"; | 3730 o.material = "foo"; |
4266 o.mobileLink = "foo"; | 3731 o.mobileLink = "foo"; |
4267 o.mpn = "foo"; | 3732 o.mpn = "foo"; |
4268 o.multipack = "foo"; | 3733 o.multipack = "foo"; |
4269 o.offerId = "foo"; | 3734 o.offerId = "foo"; |
4270 o.onlineOnly = true; | 3735 o.onlineOnly = true; |
4271 o.pattern = "foo"; | 3736 o.pattern = "foo"; |
4272 o.price = buildPrice(); | 3737 o.price = buildPrice(); |
4273 o.productType = "foo"; | 3738 o.productType = "foo"; |
4274 o.promotionIds = buildUnnamed348(); | 3739 o.promotionIds = buildUnnamed334(); |
4275 o.salePrice = buildPrice(); | 3740 o.salePrice = buildPrice(); |
4276 o.salePriceEffectiveDate = "foo"; | 3741 o.salePriceEffectiveDate = "foo"; |
4277 o.sellOnGoogleQuantity = "foo"; | 3742 o.sellOnGoogleQuantity = "foo"; |
4278 o.shipping = buildUnnamed349(); | 3743 o.shipping = buildUnnamed335(); |
4279 o.shippingHeight = buildProductShippingDimension(); | 3744 o.shippingHeight = buildProductShippingDimension(); |
4280 o.shippingLabel = "foo"; | 3745 o.shippingLabel = "foo"; |
4281 o.shippingLength = buildProductShippingDimension(); | 3746 o.shippingLength = buildProductShippingDimension(); |
4282 o.shippingWeight = buildProductShippingWeight(); | 3747 o.shippingWeight = buildProductShippingWeight(); |
4283 o.shippingWidth = buildProductShippingDimension(); | 3748 o.shippingWidth = buildProductShippingDimension(); |
4284 o.sizeSystem = "foo"; | 3749 o.sizeSystem = "foo"; |
4285 o.sizeType = "foo"; | 3750 o.sizeType = "foo"; |
4286 o.sizes = buildUnnamed350(); | 3751 o.sizes = buildUnnamed336(); |
4287 o.targetCountry = "foo"; | 3752 o.targetCountry = "foo"; |
4288 o.taxes = buildUnnamed351(); | 3753 o.taxes = buildUnnamed337(); |
4289 o.title = "foo"; | 3754 o.title = "foo"; |
4290 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); | 3755 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); |
4291 o.unitPricingMeasure = buildProductUnitPricingMeasure(); | 3756 o.unitPricingMeasure = buildProductUnitPricingMeasure(); |
4292 o.validatedDestinations = buildUnnamed352(); | 3757 o.validatedDestinations = buildUnnamed338(); |
4293 o.warnings = buildUnnamed353(); | 3758 o.warnings = buildUnnamed339(); |
4294 } | 3759 } |
4295 buildCounterProduct--; | 3760 buildCounterProduct--; |
4296 return o; | 3761 return o; |
4297 } | 3762 } |
4298 | 3763 |
4299 checkProduct(api.Product o) { | 3764 checkProduct(api.Product o) { |
4300 buildCounterProduct++; | 3765 buildCounterProduct++; |
4301 if (buildCounterProduct < 3) { | 3766 if (buildCounterProduct < 3) { |
4302 checkUnnamed340(o.additionalImageLinks); | 3767 checkUnnamed326(o.additionalImageLinks); |
4303 checkUnnamed341(o.additionalProductTypes); | 3768 checkUnnamed327(o.additionalProductTypes); |
4304 unittest.expect(o.adult, unittest.isTrue); | 3769 unittest.expect(o.adult, unittest.isTrue); |
4305 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); | 3770 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); |
4306 checkUnnamed342(o.adwordsLabels); | 3771 checkUnnamed328(o.adwordsLabels); |
4307 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); | 3772 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); |
4308 unittest.expect(o.ageGroup, unittest.equals('foo')); | 3773 unittest.expect(o.ageGroup, unittest.equals('foo')); |
4309 checkUnnamed343(o.aspects); | 3774 checkUnnamed329(o.aspects); |
4310 unittest.expect(o.availability, unittest.equals('foo')); | 3775 unittest.expect(o.availability, unittest.equals('foo')); |
4311 unittest.expect(o.availabilityDate, unittest.equals('foo')); | 3776 unittest.expect(o.availabilityDate, unittest.equals('foo')); |
4312 unittest.expect(o.brand, unittest.equals('foo')); | 3777 unittest.expect(o.brand, unittest.equals('foo')); |
4313 unittest.expect(o.channel, unittest.equals('foo')); | 3778 unittest.expect(o.channel, unittest.equals('foo')); |
4314 unittest.expect(o.color, unittest.equals('foo')); | 3779 unittest.expect(o.color, unittest.equals('foo')); |
4315 unittest.expect(o.condition, unittest.equals('foo')); | 3780 unittest.expect(o.condition, unittest.equals('foo')); |
4316 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 3781 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
4317 checkUnnamed344(o.customAttributes); | 3782 checkUnnamed330(o.customAttributes); |
4318 checkUnnamed345(o.customGroups); | 3783 checkUnnamed331(o.customGroups); |
4319 unittest.expect(o.customLabel0, unittest.equals('foo')); | 3784 unittest.expect(o.customLabel0, unittest.equals('foo')); |
4320 unittest.expect(o.customLabel1, unittest.equals('foo')); | 3785 unittest.expect(o.customLabel1, unittest.equals('foo')); |
4321 unittest.expect(o.customLabel2, unittest.equals('foo')); | 3786 unittest.expect(o.customLabel2, unittest.equals('foo')); |
4322 unittest.expect(o.customLabel3, unittest.equals('foo')); | 3787 unittest.expect(o.customLabel3, unittest.equals('foo')); |
4323 unittest.expect(o.customLabel4, unittest.equals('foo')); | 3788 unittest.expect(o.customLabel4, unittest.equals('foo')); |
4324 unittest.expect(o.description, unittest.equals('foo')); | 3789 unittest.expect(o.description, unittest.equals('foo')); |
4325 checkUnnamed346(o.destinations); | 3790 checkUnnamed332(o.destinations); |
4326 unittest.expect(o.displayAdsId, unittest.equals('foo')); | 3791 unittest.expect(o.displayAdsId, unittest.equals('foo')); |
4327 unittest.expect(o.displayAdsLink, unittest.equals('foo')); | 3792 unittest.expect(o.displayAdsLink, unittest.equals('foo')); |
4328 checkUnnamed347(o.displayAdsSimilarIds); | 3793 checkUnnamed333(o.displayAdsSimilarIds); |
4329 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); | 3794 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); |
4330 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); | 3795 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); |
4331 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); | 3796 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); |
4332 unittest.expect(o.expirationDate, unittest.equals('foo')); | 3797 unittest.expect(o.expirationDate, unittest.equals('foo')); |
4333 unittest.expect(o.gender, unittest.equals('foo')); | 3798 unittest.expect(o.gender, unittest.equals('foo')); |
4334 unittest.expect(o.googleProductCategory, unittest.equals('foo')); | 3799 unittest.expect(o.googleProductCategory, unittest.equals('foo')); |
4335 unittest.expect(o.gtin, unittest.equals('foo')); | 3800 unittest.expect(o.gtin, unittest.equals('foo')); |
4336 unittest.expect(o.id, unittest.equals('foo')); | 3801 unittest.expect(o.id, unittest.equals('foo')); |
4337 unittest.expect(o.identifierExists, unittest.isTrue); | 3802 unittest.expect(o.identifierExists, unittest.isTrue); |
4338 unittest.expect(o.imageLink, unittest.equals('foo')); | 3803 unittest.expect(o.imageLink, unittest.equals('foo')); |
4339 checkInstallment(o.installment); | 3804 checkInstallment(o.installment); |
4340 unittest.expect(o.isBundle, unittest.isTrue); | 3805 unittest.expect(o.isBundle, unittest.isTrue); |
4341 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 3806 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
4342 unittest.expect(o.kind, unittest.equals('foo')); | 3807 unittest.expect(o.kind, unittest.equals('foo')); |
4343 unittest.expect(o.link, unittest.equals('foo')); | 3808 unittest.expect(o.link, unittest.equals('foo')); |
4344 checkLoyaltyPoints(o.loyaltyPoints); | 3809 checkLoyaltyPoints(o.loyaltyPoints); |
4345 unittest.expect(o.material, unittest.equals('foo')); | 3810 unittest.expect(o.material, unittest.equals('foo')); |
4346 unittest.expect(o.mobileLink, unittest.equals('foo')); | 3811 unittest.expect(o.mobileLink, unittest.equals('foo')); |
4347 unittest.expect(o.mpn, unittest.equals('foo')); | 3812 unittest.expect(o.mpn, unittest.equals('foo')); |
4348 unittest.expect(o.multipack, unittest.equals('foo')); | 3813 unittest.expect(o.multipack, unittest.equals('foo')); |
4349 unittest.expect(o.offerId, unittest.equals('foo')); | 3814 unittest.expect(o.offerId, unittest.equals('foo')); |
4350 unittest.expect(o.onlineOnly, unittest.isTrue); | 3815 unittest.expect(o.onlineOnly, unittest.isTrue); |
4351 unittest.expect(o.pattern, unittest.equals('foo')); | 3816 unittest.expect(o.pattern, unittest.equals('foo')); |
4352 checkPrice(o.price); | 3817 checkPrice(o.price); |
4353 unittest.expect(o.productType, unittest.equals('foo')); | 3818 unittest.expect(o.productType, unittest.equals('foo')); |
4354 checkUnnamed348(o.promotionIds); | 3819 checkUnnamed334(o.promotionIds); |
4355 checkPrice(o.salePrice); | 3820 checkPrice(o.salePrice); |
4356 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 3821 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
4357 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); | 3822 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); |
4358 checkUnnamed349(o.shipping); | 3823 checkUnnamed335(o.shipping); |
4359 checkProductShippingDimension(o.shippingHeight); | 3824 checkProductShippingDimension(o.shippingHeight); |
4360 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 3825 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
4361 checkProductShippingDimension(o.shippingLength); | 3826 checkProductShippingDimension(o.shippingLength); |
4362 checkProductShippingWeight(o.shippingWeight); | 3827 checkProductShippingWeight(o.shippingWeight); |
4363 checkProductShippingDimension(o.shippingWidth); | 3828 checkProductShippingDimension(o.shippingWidth); |
4364 unittest.expect(o.sizeSystem, unittest.equals('foo')); | 3829 unittest.expect(o.sizeSystem, unittest.equals('foo')); |
4365 unittest.expect(o.sizeType, unittest.equals('foo')); | 3830 unittest.expect(o.sizeType, unittest.equals('foo')); |
4366 checkUnnamed350(o.sizes); | 3831 checkUnnamed336(o.sizes); |
4367 unittest.expect(o.targetCountry, unittest.equals('foo')); | 3832 unittest.expect(o.targetCountry, unittest.equals('foo')); |
4368 checkUnnamed351(o.taxes); | 3833 checkUnnamed337(o.taxes); |
4369 unittest.expect(o.title, unittest.equals('foo')); | 3834 unittest.expect(o.title, unittest.equals('foo')); |
4370 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); | 3835 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); |
4371 checkProductUnitPricingMeasure(o.unitPricingMeasure); | 3836 checkProductUnitPricingMeasure(o.unitPricingMeasure); |
4372 checkUnnamed352(o.validatedDestinations); | 3837 checkUnnamed338(o.validatedDestinations); |
4373 checkUnnamed353(o.warnings); | 3838 checkUnnamed339(o.warnings); |
4374 } | 3839 } |
4375 buildCounterProduct--; | 3840 buildCounterProduct--; |
4376 } | 3841 } |
4377 | 3842 |
4378 core.int buildCounterProductAspect = 0; | 3843 core.int buildCounterProductAspect = 0; |
4379 buildProductAspect() { | 3844 buildProductAspect() { |
4380 var o = new api.ProductAspect(); | 3845 var o = new api.ProductAspect(); |
4381 buildCounterProductAspect++; | 3846 buildCounterProductAspect++; |
4382 if (buildCounterProductAspect < 3) { | 3847 if (buildCounterProductAspect < 3) { |
4383 o.aspectName = "foo"; | 3848 o.aspectName = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4416 buildCounterProductCustomAttribute++; | 3881 buildCounterProductCustomAttribute++; |
4417 if (buildCounterProductCustomAttribute < 3) { | 3882 if (buildCounterProductCustomAttribute < 3) { |
4418 unittest.expect(o.name, unittest.equals('foo')); | 3883 unittest.expect(o.name, unittest.equals('foo')); |
4419 unittest.expect(o.type, unittest.equals('foo')); | 3884 unittest.expect(o.type, unittest.equals('foo')); |
4420 unittest.expect(o.unit, unittest.equals('foo')); | 3885 unittest.expect(o.unit, unittest.equals('foo')); |
4421 unittest.expect(o.value, unittest.equals('foo')); | 3886 unittest.expect(o.value, unittest.equals('foo')); |
4422 } | 3887 } |
4423 buildCounterProductCustomAttribute--; | 3888 buildCounterProductCustomAttribute--; |
4424 } | 3889 } |
4425 | 3890 |
4426 buildUnnamed354() { | 3891 buildUnnamed340() { |
4427 var o = new core.List<api.ProductCustomAttribute>(); | 3892 var o = new core.List<api.ProductCustomAttribute>(); |
4428 o.add(buildProductCustomAttribute()); | 3893 o.add(buildProductCustomAttribute()); |
4429 o.add(buildProductCustomAttribute()); | 3894 o.add(buildProductCustomAttribute()); |
4430 return o; | 3895 return o; |
4431 } | 3896 } |
4432 | 3897 |
4433 checkUnnamed354(core.List<api.ProductCustomAttribute> o) { | 3898 checkUnnamed340(core.List<api.ProductCustomAttribute> o) { |
4434 unittest.expect(o, unittest.hasLength(2)); | 3899 unittest.expect(o, unittest.hasLength(2)); |
4435 checkProductCustomAttribute(o[0]); | 3900 checkProductCustomAttribute(o[0]); |
4436 checkProductCustomAttribute(o[1]); | 3901 checkProductCustomAttribute(o[1]); |
4437 } | 3902 } |
4438 | 3903 |
4439 core.int buildCounterProductCustomGroup = 0; | 3904 core.int buildCounterProductCustomGroup = 0; |
4440 buildProductCustomGroup() { | 3905 buildProductCustomGroup() { |
4441 var o = new api.ProductCustomGroup(); | 3906 var o = new api.ProductCustomGroup(); |
4442 buildCounterProductCustomGroup++; | 3907 buildCounterProductCustomGroup++; |
4443 if (buildCounterProductCustomGroup < 3) { | 3908 if (buildCounterProductCustomGroup < 3) { |
4444 o.attributes = buildUnnamed354(); | 3909 o.attributes = buildUnnamed340(); |
4445 o.name = "foo"; | 3910 o.name = "foo"; |
4446 } | 3911 } |
4447 buildCounterProductCustomGroup--; | 3912 buildCounterProductCustomGroup--; |
4448 return o; | 3913 return o; |
4449 } | 3914 } |
4450 | 3915 |
4451 checkProductCustomGroup(api.ProductCustomGroup o) { | 3916 checkProductCustomGroup(api.ProductCustomGroup o) { |
4452 buildCounterProductCustomGroup++; | 3917 buildCounterProductCustomGroup++; |
4453 if (buildCounterProductCustomGroup < 3) { | 3918 if (buildCounterProductCustomGroup < 3) { |
4454 checkUnnamed354(o.attributes); | 3919 checkUnnamed340(o.attributes); |
4455 unittest.expect(o.name, unittest.equals('foo')); | 3920 unittest.expect(o.name, unittest.equals('foo')); |
4456 } | 3921 } |
4457 buildCounterProductCustomGroup--; | 3922 buildCounterProductCustomGroup--; |
4458 } | 3923 } |
4459 | 3924 |
4460 core.int buildCounterProductDestination = 0; | 3925 core.int buildCounterProductDestination = 0; |
4461 buildProductDestination() { | 3926 buildProductDestination() { |
4462 var o = new api.ProductDestination(); | 3927 var o = new api.ProductDestination(); |
4463 buildCounterProductDestination++; | 3928 buildCounterProductDestination++; |
4464 if (buildCounterProductDestination < 3) { | 3929 if (buildCounterProductDestination < 3) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4544 | 4009 |
4545 checkProductShippingWeight(api.ProductShippingWeight o) { | 4010 checkProductShippingWeight(api.ProductShippingWeight o) { |
4546 buildCounterProductShippingWeight++; | 4011 buildCounterProductShippingWeight++; |
4547 if (buildCounterProductShippingWeight < 3) { | 4012 if (buildCounterProductShippingWeight < 3) { |
4548 unittest.expect(o.unit, unittest.equals('foo')); | 4013 unittest.expect(o.unit, unittest.equals('foo')); |
4549 unittest.expect(o.value, unittest.equals(42.0)); | 4014 unittest.expect(o.value, unittest.equals(42.0)); |
4550 } | 4015 } |
4551 buildCounterProductShippingWeight--; | 4016 buildCounterProductShippingWeight--; |
4552 } | 4017 } |
4553 | 4018 |
4554 buildUnnamed355() { | 4019 buildUnnamed341() { |
4555 var o = new core.List<api.ProductStatusDataQualityIssue>(); | 4020 var o = new core.List<api.ProductStatusDataQualityIssue>(); |
4556 o.add(buildProductStatusDataQualityIssue()); | 4021 o.add(buildProductStatusDataQualityIssue()); |
4557 o.add(buildProductStatusDataQualityIssue()); | 4022 o.add(buildProductStatusDataQualityIssue()); |
4558 return o; | 4023 return o; |
4559 } | 4024 } |
4560 | 4025 |
4561 checkUnnamed355(core.List<api.ProductStatusDataQualityIssue> o) { | 4026 checkUnnamed341(core.List<api.ProductStatusDataQualityIssue> o) { |
4562 unittest.expect(o, unittest.hasLength(2)); | 4027 unittest.expect(o, unittest.hasLength(2)); |
4563 checkProductStatusDataQualityIssue(o[0]); | 4028 checkProductStatusDataQualityIssue(o[0]); |
4564 checkProductStatusDataQualityIssue(o[1]); | 4029 checkProductStatusDataQualityIssue(o[1]); |
4565 } | 4030 } |
4566 | 4031 |
4567 buildUnnamed356() { | 4032 buildUnnamed342() { |
4568 var o = new core.List<api.ProductStatusDestinationStatus>(); | 4033 var o = new core.List<api.ProductStatusDestinationStatus>(); |
4569 o.add(buildProductStatusDestinationStatus()); | 4034 o.add(buildProductStatusDestinationStatus()); |
4570 o.add(buildProductStatusDestinationStatus()); | 4035 o.add(buildProductStatusDestinationStatus()); |
4571 return o; | 4036 return o; |
4572 } | 4037 } |
4573 | 4038 |
4574 checkUnnamed356(core.List<api.ProductStatusDestinationStatus> o) { | 4039 checkUnnamed342(core.List<api.ProductStatusDestinationStatus> o) { |
4575 unittest.expect(o, unittest.hasLength(2)); | 4040 unittest.expect(o, unittest.hasLength(2)); |
4576 checkProductStatusDestinationStatus(o[0]); | 4041 checkProductStatusDestinationStatus(o[0]); |
4577 checkProductStatusDestinationStatus(o[1]); | 4042 checkProductStatusDestinationStatus(o[1]); |
4578 } | 4043 } |
4579 | 4044 |
4580 core.int buildCounterProductStatus = 0; | 4045 core.int buildCounterProductStatus = 0; |
4581 buildProductStatus() { | 4046 buildProductStatus() { |
4582 var o = new api.ProductStatus(); | 4047 var o = new api.ProductStatus(); |
4583 buildCounterProductStatus++; | 4048 buildCounterProductStatus++; |
4584 if (buildCounterProductStatus < 3) { | 4049 if (buildCounterProductStatus < 3) { |
4585 o.creationDate = "foo"; | 4050 o.creationDate = "foo"; |
4586 o.dataQualityIssues = buildUnnamed355(); | 4051 o.dataQualityIssues = buildUnnamed341(); |
4587 o.destinationStatuses = buildUnnamed356(); | 4052 o.destinationStatuses = buildUnnamed342(); |
4588 o.googleExpirationDate = "foo"; | 4053 o.googleExpirationDate = "foo"; |
4589 o.kind = "foo"; | 4054 o.kind = "foo"; |
4590 o.lastUpdateDate = "foo"; | 4055 o.lastUpdateDate = "foo"; |
4591 o.link = "foo"; | 4056 o.link = "foo"; |
4592 o.productId = "foo"; | 4057 o.productId = "foo"; |
4593 o.title = "foo"; | 4058 o.title = "foo"; |
4594 } | 4059 } |
4595 buildCounterProductStatus--; | 4060 buildCounterProductStatus--; |
4596 return o; | 4061 return o; |
4597 } | 4062 } |
4598 | 4063 |
4599 checkProductStatus(api.ProductStatus o) { | 4064 checkProductStatus(api.ProductStatus o) { |
4600 buildCounterProductStatus++; | 4065 buildCounterProductStatus++; |
4601 if (buildCounterProductStatus < 3) { | 4066 if (buildCounterProductStatus < 3) { |
4602 unittest.expect(o.creationDate, unittest.equals('foo')); | 4067 unittest.expect(o.creationDate, unittest.equals('foo')); |
4603 checkUnnamed355(o.dataQualityIssues); | 4068 checkUnnamed341(o.dataQualityIssues); |
4604 checkUnnamed356(o.destinationStatuses); | 4069 checkUnnamed342(o.destinationStatuses); |
4605 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); | 4070 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); |
4606 unittest.expect(o.kind, unittest.equals('foo')); | 4071 unittest.expect(o.kind, unittest.equals('foo')); |
4607 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); | 4072 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); |
4608 unittest.expect(o.link, unittest.equals('foo')); | 4073 unittest.expect(o.link, unittest.equals('foo')); |
4609 unittest.expect(o.productId, unittest.equals('foo')); | 4074 unittest.expect(o.productId, unittest.equals('foo')); |
4610 unittest.expect(o.title, unittest.equals('foo')); | 4075 unittest.expect(o.title, unittest.equals('foo')); |
4611 } | 4076 } |
4612 buildCounterProductStatus--; | 4077 buildCounterProductStatus--; |
4613 } | 4078 } |
4614 | 4079 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4732 | 4197 |
4733 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { | 4198 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { |
4734 buildCounterProductUnitPricingMeasure++; | 4199 buildCounterProductUnitPricingMeasure++; |
4735 if (buildCounterProductUnitPricingMeasure < 3) { | 4200 if (buildCounterProductUnitPricingMeasure < 3) { |
4736 unittest.expect(o.unit, unittest.equals('foo')); | 4201 unittest.expect(o.unit, unittest.equals('foo')); |
4737 unittest.expect(o.value, unittest.equals(42.0)); | 4202 unittest.expect(o.value, unittest.equals(42.0)); |
4738 } | 4203 } |
4739 buildCounterProductUnitPricingMeasure--; | 4204 buildCounterProductUnitPricingMeasure--; |
4740 } | 4205 } |
4741 | 4206 |
4742 buildUnnamed357() { | 4207 buildUnnamed343() { |
4743 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); | 4208 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); |
4744 o.add(buildProductsCustomBatchRequestEntry()); | 4209 o.add(buildProductsCustomBatchRequestEntry()); |
4745 o.add(buildProductsCustomBatchRequestEntry()); | 4210 o.add(buildProductsCustomBatchRequestEntry()); |
4746 return o; | 4211 return o; |
4747 } | 4212 } |
4748 | 4213 |
4749 checkUnnamed357(core.List<api.ProductsCustomBatchRequestEntry> o) { | 4214 checkUnnamed343(core.List<api.ProductsCustomBatchRequestEntry> o) { |
4750 unittest.expect(o, unittest.hasLength(2)); | 4215 unittest.expect(o, unittest.hasLength(2)); |
4751 checkProductsCustomBatchRequestEntry(o[0]); | 4216 checkProductsCustomBatchRequestEntry(o[0]); |
4752 checkProductsCustomBatchRequestEntry(o[1]); | 4217 checkProductsCustomBatchRequestEntry(o[1]); |
4753 } | 4218 } |
4754 | 4219 |
4755 core.int buildCounterProductsCustomBatchRequest = 0; | 4220 core.int buildCounterProductsCustomBatchRequest = 0; |
4756 buildProductsCustomBatchRequest() { | 4221 buildProductsCustomBatchRequest() { |
4757 var o = new api.ProductsCustomBatchRequest(); | 4222 var o = new api.ProductsCustomBatchRequest(); |
4758 buildCounterProductsCustomBatchRequest++; | 4223 buildCounterProductsCustomBatchRequest++; |
4759 if (buildCounterProductsCustomBatchRequest < 3) { | 4224 if (buildCounterProductsCustomBatchRequest < 3) { |
4760 o.entries = buildUnnamed357(); | 4225 o.entries = buildUnnamed343(); |
4761 } | 4226 } |
4762 buildCounterProductsCustomBatchRequest--; | 4227 buildCounterProductsCustomBatchRequest--; |
4763 return o; | 4228 return o; |
4764 } | 4229 } |
4765 | 4230 |
4766 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { | 4231 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { |
4767 buildCounterProductsCustomBatchRequest++; | 4232 buildCounterProductsCustomBatchRequest++; |
4768 if (buildCounterProductsCustomBatchRequest < 3) { | 4233 if (buildCounterProductsCustomBatchRequest < 3) { |
4769 checkUnnamed357(o.entries); | 4234 checkUnnamed343(o.entries); |
4770 } | 4235 } |
4771 buildCounterProductsCustomBatchRequest--; | 4236 buildCounterProductsCustomBatchRequest--; |
4772 } | 4237 } |
4773 | 4238 |
4774 core.int buildCounterProductsCustomBatchRequestEntry = 0; | 4239 core.int buildCounterProductsCustomBatchRequestEntry = 0; |
4775 buildProductsCustomBatchRequestEntry() { | 4240 buildProductsCustomBatchRequestEntry() { |
4776 var o = new api.ProductsCustomBatchRequestEntry(); | 4241 var o = new api.ProductsCustomBatchRequestEntry(); |
4777 buildCounterProductsCustomBatchRequestEntry++; | 4242 buildCounterProductsCustomBatchRequestEntry++; |
4778 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4243 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
4779 o.batchId = 42; | 4244 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
4791 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4256 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
4792 unittest.expect(o.batchId, unittest.equals(42)); | 4257 unittest.expect(o.batchId, unittest.equals(42)); |
4793 unittest.expect(o.merchantId, unittest.equals('foo')); | 4258 unittest.expect(o.merchantId, unittest.equals('foo')); |
4794 unittest.expect(o.method, unittest.equals('foo')); | 4259 unittest.expect(o.method, unittest.equals('foo')); |
4795 checkProduct(o.product); | 4260 checkProduct(o.product); |
4796 unittest.expect(o.productId, unittest.equals('foo')); | 4261 unittest.expect(o.productId, unittest.equals('foo')); |
4797 } | 4262 } |
4798 buildCounterProductsCustomBatchRequestEntry--; | 4263 buildCounterProductsCustomBatchRequestEntry--; |
4799 } | 4264 } |
4800 | 4265 |
4801 buildUnnamed358() { | 4266 buildUnnamed344() { |
4802 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); | 4267 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); |
4803 o.add(buildProductsCustomBatchResponseEntry()); | 4268 o.add(buildProductsCustomBatchResponseEntry()); |
4804 o.add(buildProductsCustomBatchResponseEntry()); | 4269 o.add(buildProductsCustomBatchResponseEntry()); |
4805 return o; | 4270 return o; |
4806 } | 4271 } |
4807 | 4272 |
4808 checkUnnamed358(core.List<api.ProductsCustomBatchResponseEntry> o) { | 4273 checkUnnamed344(core.List<api.ProductsCustomBatchResponseEntry> o) { |
4809 unittest.expect(o, unittest.hasLength(2)); | 4274 unittest.expect(o, unittest.hasLength(2)); |
4810 checkProductsCustomBatchResponseEntry(o[0]); | 4275 checkProductsCustomBatchResponseEntry(o[0]); |
4811 checkProductsCustomBatchResponseEntry(o[1]); | 4276 checkProductsCustomBatchResponseEntry(o[1]); |
4812 } | 4277 } |
4813 | 4278 |
4814 core.int buildCounterProductsCustomBatchResponse = 0; | 4279 core.int buildCounterProductsCustomBatchResponse = 0; |
4815 buildProductsCustomBatchResponse() { | 4280 buildProductsCustomBatchResponse() { |
4816 var o = new api.ProductsCustomBatchResponse(); | 4281 var o = new api.ProductsCustomBatchResponse(); |
4817 buildCounterProductsCustomBatchResponse++; | 4282 buildCounterProductsCustomBatchResponse++; |
4818 if (buildCounterProductsCustomBatchResponse < 3) { | 4283 if (buildCounterProductsCustomBatchResponse < 3) { |
4819 o.entries = buildUnnamed358(); | 4284 o.entries = buildUnnamed344(); |
4820 o.kind = "foo"; | 4285 o.kind = "foo"; |
4821 } | 4286 } |
4822 buildCounterProductsCustomBatchResponse--; | 4287 buildCounterProductsCustomBatchResponse--; |
4823 return o; | 4288 return o; |
4824 } | 4289 } |
4825 | 4290 |
4826 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { | 4291 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { |
4827 buildCounterProductsCustomBatchResponse++; | 4292 buildCounterProductsCustomBatchResponse++; |
4828 if (buildCounterProductsCustomBatchResponse < 3) { | 4293 if (buildCounterProductsCustomBatchResponse < 3) { |
4829 checkUnnamed358(o.entries); | 4294 checkUnnamed344(o.entries); |
4830 unittest.expect(o.kind, unittest.equals('foo')); | 4295 unittest.expect(o.kind, unittest.equals('foo')); |
4831 } | 4296 } |
4832 buildCounterProductsCustomBatchResponse--; | 4297 buildCounterProductsCustomBatchResponse--; |
4833 } | 4298 } |
4834 | 4299 |
4835 core.int buildCounterProductsCustomBatchResponseEntry = 0; | 4300 core.int buildCounterProductsCustomBatchResponseEntry = 0; |
4836 buildProductsCustomBatchResponseEntry() { | 4301 buildProductsCustomBatchResponseEntry() { |
4837 var o = new api.ProductsCustomBatchResponseEntry(); | 4302 var o = new api.ProductsCustomBatchResponseEntry(); |
4838 buildCounterProductsCustomBatchResponseEntry++; | 4303 buildCounterProductsCustomBatchResponseEntry++; |
4839 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4304 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
4850 buildCounterProductsCustomBatchResponseEntry++; | 4315 buildCounterProductsCustomBatchResponseEntry++; |
4851 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4316 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
4852 unittest.expect(o.batchId, unittest.equals(42)); | 4317 unittest.expect(o.batchId, unittest.equals(42)); |
4853 checkErrors(o.errors); | 4318 checkErrors(o.errors); |
4854 unittest.expect(o.kind, unittest.equals('foo')); | 4319 unittest.expect(o.kind, unittest.equals('foo')); |
4855 checkProduct(o.product); | 4320 checkProduct(o.product); |
4856 } | 4321 } |
4857 buildCounterProductsCustomBatchResponseEntry--; | 4322 buildCounterProductsCustomBatchResponseEntry--; |
4858 } | 4323 } |
4859 | 4324 |
4860 buildUnnamed359() { | 4325 buildUnnamed345() { |
4861 var o = new core.List<api.Product>(); | 4326 var o = new core.List<api.Product>(); |
4862 o.add(buildProduct()); | 4327 o.add(buildProduct()); |
4863 o.add(buildProduct()); | 4328 o.add(buildProduct()); |
4864 return o; | 4329 return o; |
4865 } | 4330 } |
4866 | 4331 |
4867 checkUnnamed359(core.List<api.Product> o) { | 4332 checkUnnamed345(core.List<api.Product> o) { |
4868 unittest.expect(o, unittest.hasLength(2)); | 4333 unittest.expect(o, unittest.hasLength(2)); |
4869 checkProduct(o[0]); | 4334 checkProduct(o[0]); |
4870 checkProduct(o[1]); | 4335 checkProduct(o[1]); |
4871 } | 4336 } |
4872 | 4337 |
4873 core.int buildCounterProductsListResponse = 0; | 4338 core.int buildCounterProductsListResponse = 0; |
4874 buildProductsListResponse() { | 4339 buildProductsListResponse() { |
4875 var o = new api.ProductsListResponse(); | 4340 var o = new api.ProductsListResponse(); |
4876 buildCounterProductsListResponse++; | 4341 buildCounterProductsListResponse++; |
4877 if (buildCounterProductsListResponse < 3) { | 4342 if (buildCounterProductsListResponse < 3) { |
4878 o.kind = "foo"; | 4343 o.kind = "foo"; |
4879 o.nextPageToken = "foo"; | 4344 o.nextPageToken = "foo"; |
4880 o.resources = buildUnnamed359(); | 4345 o.resources = buildUnnamed345(); |
4881 } | 4346 } |
4882 buildCounterProductsListResponse--; | 4347 buildCounterProductsListResponse--; |
4883 return o; | 4348 return o; |
4884 } | 4349 } |
4885 | 4350 |
4886 checkProductsListResponse(api.ProductsListResponse o) { | 4351 checkProductsListResponse(api.ProductsListResponse o) { |
4887 buildCounterProductsListResponse++; | 4352 buildCounterProductsListResponse++; |
4888 if (buildCounterProductsListResponse < 3) { | 4353 if (buildCounterProductsListResponse < 3) { |
4889 unittest.expect(o.kind, unittest.equals('foo')); | 4354 unittest.expect(o.kind, unittest.equals('foo')); |
4890 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4355 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4891 checkUnnamed359(o.resources); | 4356 checkUnnamed345(o.resources); |
4892 } | 4357 } |
4893 buildCounterProductsListResponse--; | 4358 buildCounterProductsListResponse--; |
4894 } | 4359 } |
4895 | 4360 |
4896 buildUnnamed360() { | 4361 buildUnnamed346() { |
4897 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); | 4362 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); |
4898 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4363 o.add(buildProductstatusesCustomBatchRequestEntry()); |
4899 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4364 o.add(buildProductstatusesCustomBatchRequestEntry()); |
4900 return o; | 4365 return o; |
4901 } | 4366 } |
4902 | 4367 |
4903 checkUnnamed360(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { | 4368 checkUnnamed346(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { |
4904 unittest.expect(o, unittest.hasLength(2)); | 4369 unittest.expect(o, unittest.hasLength(2)); |
4905 checkProductstatusesCustomBatchRequestEntry(o[0]); | 4370 checkProductstatusesCustomBatchRequestEntry(o[0]); |
4906 checkProductstatusesCustomBatchRequestEntry(o[1]); | 4371 checkProductstatusesCustomBatchRequestEntry(o[1]); |
4907 } | 4372 } |
4908 | 4373 |
4909 core.int buildCounterProductstatusesCustomBatchRequest = 0; | 4374 core.int buildCounterProductstatusesCustomBatchRequest = 0; |
4910 buildProductstatusesCustomBatchRequest() { | 4375 buildProductstatusesCustomBatchRequest() { |
4911 var o = new api.ProductstatusesCustomBatchRequest(); | 4376 var o = new api.ProductstatusesCustomBatchRequest(); |
4912 buildCounterProductstatusesCustomBatchRequest++; | 4377 buildCounterProductstatusesCustomBatchRequest++; |
4913 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4378 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
4914 o.entries = buildUnnamed360(); | 4379 o.entries = buildUnnamed346(); |
4915 } | 4380 } |
4916 buildCounterProductstatusesCustomBatchRequest--; | 4381 buildCounterProductstatusesCustomBatchRequest--; |
4917 return o; | 4382 return o; |
4918 } | 4383 } |
4919 | 4384 |
4920 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ | 4385 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ |
4921 buildCounterProductstatusesCustomBatchRequest++; | 4386 buildCounterProductstatusesCustomBatchRequest++; |
4922 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4387 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
4923 checkUnnamed360(o.entries); | 4388 checkUnnamed346(o.entries); |
4924 } | 4389 } |
4925 buildCounterProductstatusesCustomBatchRequest--; | 4390 buildCounterProductstatusesCustomBatchRequest--; |
4926 } | 4391 } |
4927 | 4392 |
4928 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; | 4393 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; |
4929 buildProductstatusesCustomBatchRequestEntry() { | 4394 buildProductstatusesCustomBatchRequestEntry() { |
4930 var o = new api.ProductstatusesCustomBatchRequestEntry(); | 4395 var o = new api.ProductstatusesCustomBatchRequestEntry(); |
4931 buildCounterProductstatusesCustomBatchRequestEntry++; | 4396 buildCounterProductstatusesCustomBatchRequestEntry++; |
4932 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4397 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
4933 o.batchId = 42; | 4398 o.batchId = 42; |
4934 o.merchantId = "foo"; | 4399 o.merchantId = "foo"; |
4935 o.method = "foo"; | 4400 o.method = "foo"; |
4936 o.productId = "foo"; | 4401 o.productId = "foo"; |
4937 } | 4402 } |
4938 buildCounterProductstatusesCustomBatchRequestEntry--; | 4403 buildCounterProductstatusesCustomBatchRequestEntry--; |
4939 return o; | 4404 return o; |
4940 } | 4405 } |
4941 | 4406 |
4942 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { | 4407 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { |
4943 buildCounterProductstatusesCustomBatchRequestEntry++; | 4408 buildCounterProductstatusesCustomBatchRequestEntry++; |
4944 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4409 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
4945 unittest.expect(o.batchId, unittest.equals(42)); | 4410 unittest.expect(o.batchId, unittest.equals(42)); |
4946 unittest.expect(o.merchantId, unittest.equals('foo')); | 4411 unittest.expect(o.merchantId, unittest.equals('foo')); |
4947 unittest.expect(o.method, unittest.equals('foo')); | 4412 unittest.expect(o.method, unittest.equals('foo')); |
4948 unittest.expect(o.productId, unittest.equals('foo')); | 4413 unittest.expect(o.productId, unittest.equals('foo')); |
4949 } | 4414 } |
4950 buildCounterProductstatusesCustomBatchRequestEntry--; | 4415 buildCounterProductstatusesCustomBatchRequestEntry--; |
4951 } | 4416 } |
4952 | 4417 |
4953 buildUnnamed361() { | 4418 buildUnnamed347() { |
4954 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); | 4419 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); |
4955 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4420 o.add(buildProductstatusesCustomBatchResponseEntry()); |
4956 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4421 o.add(buildProductstatusesCustomBatchResponseEntry()); |
4957 return o; | 4422 return o; |
4958 } | 4423 } |
4959 | 4424 |
4960 checkUnnamed361(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { | 4425 checkUnnamed347(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { |
4961 unittest.expect(o, unittest.hasLength(2)); | 4426 unittest.expect(o, unittest.hasLength(2)); |
4962 checkProductstatusesCustomBatchResponseEntry(o[0]); | 4427 checkProductstatusesCustomBatchResponseEntry(o[0]); |
4963 checkProductstatusesCustomBatchResponseEntry(o[1]); | 4428 checkProductstatusesCustomBatchResponseEntry(o[1]); |
4964 } | 4429 } |
4965 | 4430 |
4966 core.int buildCounterProductstatusesCustomBatchResponse = 0; | 4431 core.int buildCounterProductstatusesCustomBatchResponse = 0; |
4967 buildProductstatusesCustomBatchResponse() { | 4432 buildProductstatusesCustomBatchResponse() { |
4968 var o = new api.ProductstatusesCustomBatchResponse(); | 4433 var o = new api.ProductstatusesCustomBatchResponse(); |
4969 buildCounterProductstatusesCustomBatchResponse++; | 4434 buildCounterProductstatusesCustomBatchResponse++; |
4970 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4435 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
4971 o.entries = buildUnnamed361(); | 4436 o.entries = buildUnnamed347(); |
4972 o.kind = "foo"; | 4437 o.kind = "foo"; |
4973 } | 4438 } |
4974 buildCounterProductstatusesCustomBatchResponse--; | 4439 buildCounterProductstatusesCustomBatchResponse--; |
4975 return o; | 4440 return o; |
4976 } | 4441 } |
4977 | 4442 |
4978 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { | 4443 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { |
4979 buildCounterProductstatusesCustomBatchResponse++; | 4444 buildCounterProductstatusesCustomBatchResponse++; |
4980 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4445 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
4981 checkUnnamed361(o.entries); | 4446 checkUnnamed347(o.entries); |
4982 unittest.expect(o.kind, unittest.equals('foo')); | 4447 unittest.expect(o.kind, unittest.equals('foo')); |
4983 } | 4448 } |
4984 buildCounterProductstatusesCustomBatchResponse--; | 4449 buildCounterProductstatusesCustomBatchResponse--; |
4985 } | 4450 } |
4986 | 4451 |
4987 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; | 4452 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; |
4988 buildProductstatusesCustomBatchResponseEntry() { | 4453 buildProductstatusesCustomBatchResponseEntry() { |
4989 var o = new api.ProductstatusesCustomBatchResponseEntry(); | 4454 var o = new api.ProductstatusesCustomBatchResponseEntry(); |
4990 buildCounterProductstatusesCustomBatchResponseEntry++; | 4455 buildCounterProductstatusesCustomBatchResponseEntry++; |
4991 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4456 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
5002 buildCounterProductstatusesCustomBatchResponseEntry++; | 4467 buildCounterProductstatusesCustomBatchResponseEntry++; |
5003 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4468 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
5004 unittest.expect(o.batchId, unittest.equals(42)); | 4469 unittest.expect(o.batchId, unittest.equals(42)); |
5005 checkErrors(o.errors); | 4470 checkErrors(o.errors); |
5006 unittest.expect(o.kind, unittest.equals('foo')); | 4471 unittest.expect(o.kind, unittest.equals('foo')); |
5007 checkProductStatus(o.productStatus); | 4472 checkProductStatus(o.productStatus); |
5008 } | 4473 } |
5009 buildCounterProductstatusesCustomBatchResponseEntry--; | 4474 buildCounterProductstatusesCustomBatchResponseEntry--; |
5010 } | 4475 } |
5011 | 4476 |
5012 buildUnnamed362() { | 4477 buildUnnamed348() { |
5013 var o = new core.List<api.ProductStatus>(); | 4478 var o = new core.List<api.ProductStatus>(); |
5014 o.add(buildProductStatus()); | 4479 o.add(buildProductStatus()); |
5015 o.add(buildProductStatus()); | 4480 o.add(buildProductStatus()); |
5016 return o; | 4481 return o; |
5017 } | 4482 } |
5018 | 4483 |
5019 checkUnnamed362(core.List<api.ProductStatus> o) { | 4484 checkUnnamed348(core.List<api.ProductStatus> o) { |
5020 unittest.expect(o, unittest.hasLength(2)); | 4485 unittest.expect(o, unittest.hasLength(2)); |
5021 checkProductStatus(o[0]); | 4486 checkProductStatus(o[0]); |
5022 checkProductStatus(o[1]); | 4487 checkProductStatus(o[1]); |
5023 } | 4488 } |
5024 | 4489 |
5025 core.int buildCounterProductstatusesListResponse = 0; | 4490 core.int buildCounterProductstatusesListResponse = 0; |
5026 buildProductstatusesListResponse() { | 4491 buildProductstatusesListResponse() { |
5027 var o = new api.ProductstatusesListResponse(); | 4492 var o = new api.ProductstatusesListResponse(); |
5028 buildCounterProductstatusesListResponse++; | 4493 buildCounterProductstatusesListResponse++; |
5029 if (buildCounterProductstatusesListResponse < 3) { | 4494 if (buildCounterProductstatusesListResponse < 3) { |
5030 o.kind = "foo"; | 4495 o.kind = "foo"; |
5031 o.nextPageToken = "foo"; | 4496 o.nextPageToken = "foo"; |
5032 o.resources = buildUnnamed362(); | 4497 o.resources = buildUnnamed348(); |
5033 } | 4498 } |
5034 buildCounterProductstatusesListResponse--; | 4499 buildCounterProductstatusesListResponse--; |
5035 return o; | 4500 return o; |
5036 } | 4501 } |
5037 | 4502 |
5038 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { | 4503 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { |
5039 buildCounterProductstatusesListResponse++; | 4504 buildCounterProductstatusesListResponse++; |
5040 if (buildCounterProductstatusesListResponse < 3) { | 4505 if (buildCounterProductstatusesListResponse < 3) { |
5041 unittest.expect(o.kind, unittest.equals('foo')); | 4506 unittest.expect(o.kind, unittest.equals('foo')); |
5042 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4507 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5043 checkUnnamed362(o.resources); | 4508 checkUnnamed348(o.resources); |
5044 } | 4509 } |
5045 buildCounterProductstatusesListResponse--; | 4510 buildCounterProductstatusesListResponse--; |
5046 } | 4511 } |
5047 | 4512 |
5048 buildUnnamed363() { | 4513 buildUnnamed349() { |
5049 var o = new core.List<core.String>(); | 4514 var o = new core.List<core.String>(); |
5050 o.add("foo"); | 4515 o.add("foo"); |
5051 o.add("foo"); | 4516 o.add("foo"); |
5052 return o; | 4517 return o; |
5053 } | 4518 } |
5054 | 4519 |
5055 checkUnnamed363(core.List<core.String> o) { | 4520 checkUnnamed349(core.List<core.String> o) { |
5056 unittest.expect(o, unittest.hasLength(2)); | 4521 unittest.expect(o, unittest.hasLength(2)); |
5057 unittest.expect(o[0], unittest.equals('foo')); | 4522 unittest.expect(o[0], unittest.equals('foo')); |
5058 unittest.expect(o[1], unittest.equals('foo')); | 4523 unittest.expect(o[1], unittest.equals('foo')); |
5059 } | 4524 } |
5060 | 4525 |
5061 buildUnnamed364() { | 4526 buildUnnamed350() { |
5062 var o = new core.List<api.CarrierRate>(); | 4527 var o = new core.List<api.CarrierRate>(); |
5063 o.add(buildCarrierRate()); | 4528 o.add(buildCarrierRate()); |
5064 o.add(buildCarrierRate()); | 4529 o.add(buildCarrierRate()); |
5065 return o; | 4530 return o; |
5066 } | 4531 } |
5067 | 4532 |
5068 checkUnnamed364(core.List<api.CarrierRate> o) { | 4533 checkUnnamed350(core.List<api.CarrierRate> o) { |
5069 unittest.expect(o, unittest.hasLength(2)); | 4534 unittest.expect(o, unittest.hasLength(2)); |
5070 checkCarrierRate(o[0]); | 4535 checkCarrierRate(o[0]); |
5071 checkCarrierRate(o[1]); | 4536 checkCarrierRate(o[1]); |
5072 } | 4537 } |
5073 | 4538 |
5074 buildUnnamed365() { | 4539 buildUnnamed351() { |
5075 var o = new core.List<api.Table>(); | 4540 var o = new core.List<api.Table>(); |
5076 o.add(buildTable()); | 4541 o.add(buildTable()); |
5077 o.add(buildTable()); | 4542 o.add(buildTable()); |
5078 return o; | 4543 return o; |
5079 } | 4544 } |
5080 | 4545 |
5081 checkUnnamed365(core.List<api.Table> o) { | 4546 checkUnnamed351(core.List<api.Table> o) { |
5082 unittest.expect(o, unittest.hasLength(2)); | 4547 unittest.expect(o, unittest.hasLength(2)); |
5083 checkTable(o[0]); | 4548 checkTable(o[0]); |
5084 checkTable(o[1]); | 4549 checkTable(o[1]); |
5085 } | 4550 } |
5086 | 4551 |
5087 core.int buildCounterRateGroup = 0; | 4552 core.int buildCounterRateGroup = 0; |
5088 buildRateGroup() { | 4553 buildRateGroup() { |
5089 var o = new api.RateGroup(); | 4554 var o = new api.RateGroup(); |
5090 buildCounterRateGroup++; | 4555 buildCounterRateGroup++; |
5091 if (buildCounterRateGroup < 3) { | 4556 if (buildCounterRateGroup < 3) { |
5092 o.applicableShippingLabels = buildUnnamed363(); | 4557 o.applicableShippingLabels = buildUnnamed349(); |
5093 o.carrierRates = buildUnnamed364(); | 4558 o.carrierRates = buildUnnamed350(); |
5094 o.mainTable = buildTable(); | 4559 o.mainTable = buildTable(); |
5095 o.singleValue = buildValue(); | 4560 o.singleValue = buildValue(); |
5096 o.subtables = buildUnnamed365(); | 4561 o.subtables = buildUnnamed351(); |
5097 } | 4562 } |
5098 buildCounterRateGroup--; | 4563 buildCounterRateGroup--; |
5099 return o; | 4564 return o; |
5100 } | 4565 } |
5101 | 4566 |
5102 checkRateGroup(api.RateGroup o) { | 4567 checkRateGroup(api.RateGroup o) { |
5103 buildCounterRateGroup++; | 4568 buildCounterRateGroup++; |
5104 if (buildCounterRateGroup < 3) { | 4569 if (buildCounterRateGroup < 3) { |
5105 checkUnnamed363(o.applicableShippingLabels); | 4570 checkUnnamed349(o.applicableShippingLabels); |
5106 checkUnnamed364(o.carrierRates); | 4571 checkUnnamed350(o.carrierRates); |
5107 checkTable(o.mainTable); | 4572 checkTable(o.mainTable); |
5108 checkValue(o.singleValue); | 4573 checkValue(o.singleValue); |
5109 checkUnnamed365(o.subtables); | 4574 checkUnnamed351(o.subtables); |
5110 } | 4575 } |
5111 buildCounterRateGroup--; | 4576 buildCounterRateGroup--; |
5112 } | 4577 } |
5113 | 4578 |
5114 buildUnnamed366() { | 4579 buildUnnamed352() { |
5115 var o = new core.List<api.Value>(); | 4580 var o = new core.List<api.Value>(); |
5116 o.add(buildValue()); | 4581 o.add(buildValue()); |
5117 o.add(buildValue()); | 4582 o.add(buildValue()); |
5118 return o; | 4583 return o; |
5119 } | 4584 } |
5120 | 4585 |
5121 checkUnnamed366(core.List<api.Value> o) { | 4586 checkUnnamed352(core.List<api.Value> o) { |
5122 unittest.expect(o, unittest.hasLength(2)); | 4587 unittest.expect(o, unittest.hasLength(2)); |
5123 checkValue(o[0]); | 4588 checkValue(o[0]); |
5124 checkValue(o[1]); | 4589 checkValue(o[1]); |
5125 } | 4590 } |
5126 | 4591 |
5127 core.int buildCounterRow = 0; | 4592 core.int buildCounterRow = 0; |
5128 buildRow() { | 4593 buildRow() { |
5129 var o = new api.Row(); | 4594 var o = new api.Row(); |
5130 buildCounterRow++; | 4595 buildCounterRow++; |
5131 if (buildCounterRow < 3) { | 4596 if (buildCounterRow < 3) { |
5132 o.cells = buildUnnamed366(); | 4597 o.cells = buildUnnamed352(); |
5133 } | 4598 } |
5134 buildCounterRow--; | 4599 buildCounterRow--; |
5135 return o; | 4600 return o; |
5136 } | 4601 } |
5137 | 4602 |
5138 checkRow(api.Row o) { | 4603 checkRow(api.Row o) { |
5139 buildCounterRow++; | 4604 buildCounterRow++; |
5140 if (buildCounterRow < 3) { | 4605 if (buildCounterRow < 3) { |
5141 checkUnnamed366(o.cells); | 4606 checkUnnamed352(o.cells); |
5142 } | 4607 } |
5143 buildCounterRow--; | 4608 buildCounterRow--; |
5144 } | 4609 } |
5145 | 4610 |
5146 buildUnnamed367() { | 4611 buildUnnamed353() { |
5147 var o = new core.List<api.RateGroup>(); | 4612 var o = new core.List<api.RateGroup>(); |
5148 o.add(buildRateGroup()); | 4613 o.add(buildRateGroup()); |
5149 o.add(buildRateGroup()); | 4614 o.add(buildRateGroup()); |
5150 return o; | 4615 return o; |
5151 } | 4616 } |
5152 | 4617 |
5153 checkUnnamed367(core.List<api.RateGroup> o) { | 4618 checkUnnamed353(core.List<api.RateGroup> o) { |
5154 unittest.expect(o, unittest.hasLength(2)); | 4619 unittest.expect(o, unittest.hasLength(2)); |
5155 checkRateGroup(o[0]); | 4620 checkRateGroup(o[0]); |
5156 checkRateGroup(o[1]); | 4621 checkRateGroup(o[1]); |
5157 } | 4622 } |
5158 | 4623 |
5159 core.int buildCounterService = 0; | 4624 core.int buildCounterService = 0; |
5160 buildService() { | 4625 buildService() { |
5161 var o = new api.Service(); | 4626 var o = new api.Service(); |
5162 buildCounterService++; | 4627 buildCounterService++; |
5163 if (buildCounterService < 3) { | 4628 if (buildCounterService < 3) { |
5164 o.active = true; | 4629 o.active = true; |
5165 o.currency = "foo"; | 4630 o.currency = "foo"; |
5166 o.deliveryCountry = "foo"; | 4631 o.deliveryCountry = "foo"; |
5167 o.deliveryTime = buildDeliveryTime(); | 4632 o.deliveryTime = buildDeliveryTime(); |
5168 o.name = "foo"; | 4633 o.name = "foo"; |
5169 o.rateGroups = buildUnnamed367(); | 4634 o.rateGroups = buildUnnamed353(); |
5170 } | 4635 } |
5171 buildCounterService--; | 4636 buildCounterService--; |
5172 return o; | 4637 return o; |
5173 } | 4638 } |
5174 | 4639 |
5175 checkService(api.Service o) { | 4640 checkService(api.Service o) { |
5176 buildCounterService++; | 4641 buildCounterService++; |
5177 if (buildCounterService < 3) { | 4642 if (buildCounterService < 3) { |
5178 unittest.expect(o.active, unittest.isTrue); | 4643 unittest.expect(o.active, unittest.isTrue); |
5179 unittest.expect(o.currency, unittest.equals('foo')); | 4644 unittest.expect(o.currency, unittest.equals('foo')); |
5180 unittest.expect(o.deliveryCountry, unittest.equals('foo')); | 4645 unittest.expect(o.deliveryCountry, unittest.equals('foo')); |
5181 checkDeliveryTime(o.deliveryTime); | 4646 checkDeliveryTime(o.deliveryTime); |
5182 unittest.expect(o.name, unittest.equals('foo')); | 4647 unittest.expect(o.name, unittest.equals('foo')); |
5183 checkUnnamed367(o.rateGroups); | 4648 checkUnnamed353(o.rateGroups); |
5184 } | 4649 } |
5185 buildCounterService--; | 4650 buildCounterService--; |
5186 } | 4651 } |
5187 | 4652 |
5188 buildUnnamed368() { | 4653 buildUnnamed354() { |
5189 var o = new core.List<api.PostalCodeGroup>(); | 4654 var o = new core.List<api.PostalCodeGroup>(); |
5190 o.add(buildPostalCodeGroup()); | 4655 o.add(buildPostalCodeGroup()); |
5191 o.add(buildPostalCodeGroup()); | 4656 o.add(buildPostalCodeGroup()); |
5192 return o; | 4657 return o; |
5193 } | 4658 } |
5194 | 4659 |
5195 checkUnnamed368(core.List<api.PostalCodeGroup> o) { | 4660 checkUnnamed354(core.List<api.PostalCodeGroup> o) { |
5196 unittest.expect(o, unittest.hasLength(2)); | 4661 unittest.expect(o, unittest.hasLength(2)); |
5197 checkPostalCodeGroup(o[0]); | 4662 checkPostalCodeGroup(o[0]); |
5198 checkPostalCodeGroup(o[1]); | 4663 checkPostalCodeGroup(o[1]); |
5199 } | 4664 } |
5200 | 4665 |
5201 buildUnnamed369() { | 4666 buildUnnamed355() { |
5202 var o = new core.List<api.Service>(); | 4667 var o = new core.List<api.Service>(); |
5203 o.add(buildService()); | 4668 o.add(buildService()); |
5204 o.add(buildService()); | 4669 o.add(buildService()); |
5205 return o; | 4670 return o; |
5206 } | 4671 } |
5207 | 4672 |
5208 checkUnnamed369(core.List<api.Service> o) { | 4673 checkUnnamed355(core.List<api.Service> o) { |
5209 unittest.expect(o, unittest.hasLength(2)); | 4674 unittest.expect(o, unittest.hasLength(2)); |
5210 checkService(o[0]); | 4675 checkService(o[0]); |
5211 checkService(o[1]); | 4676 checkService(o[1]); |
5212 } | 4677 } |
5213 | 4678 |
5214 core.int buildCounterShippingSettings = 0; | 4679 core.int buildCounterShippingSettings = 0; |
5215 buildShippingSettings() { | 4680 buildShippingSettings() { |
5216 var o = new api.ShippingSettings(); | 4681 var o = new api.ShippingSettings(); |
5217 buildCounterShippingSettings++; | 4682 buildCounterShippingSettings++; |
5218 if (buildCounterShippingSettings < 3) { | 4683 if (buildCounterShippingSettings < 3) { |
5219 o.accountId = "foo"; | 4684 o.accountId = "foo"; |
5220 o.postalCodeGroups = buildUnnamed368(); | 4685 o.postalCodeGroups = buildUnnamed354(); |
5221 o.services = buildUnnamed369(); | 4686 o.services = buildUnnamed355(); |
5222 } | 4687 } |
5223 buildCounterShippingSettings--; | 4688 buildCounterShippingSettings--; |
5224 return o; | 4689 return o; |
5225 } | 4690 } |
5226 | 4691 |
5227 checkShippingSettings(api.ShippingSettings o) { | 4692 checkShippingSettings(api.ShippingSettings o) { |
5228 buildCounterShippingSettings++; | 4693 buildCounterShippingSettings++; |
5229 if (buildCounterShippingSettings < 3) { | 4694 if (buildCounterShippingSettings < 3) { |
5230 unittest.expect(o.accountId, unittest.equals('foo')); | 4695 unittest.expect(o.accountId, unittest.equals('foo')); |
5231 checkUnnamed368(o.postalCodeGroups); | 4696 checkUnnamed354(o.postalCodeGroups); |
5232 checkUnnamed369(o.services); | 4697 checkUnnamed355(o.services); |
5233 } | 4698 } |
5234 buildCounterShippingSettings--; | 4699 buildCounterShippingSettings--; |
5235 } | 4700 } |
5236 | 4701 |
5237 buildUnnamed370() { | 4702 buildUnnamed356() { |
5238 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); | 4703 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); |
5239 o.add(buildShippingsettingsCustomBatchRequestEntry()); | 4704 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
5240 o.add(buildShippingsettingsCustomBatchRequestEntry()); | 4705 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
5241 return o; | 4706 return o; |
5242 } | 4707 } |
5243 | 4708 |
5244 checkUnnamed370(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { | 4709 checkUnnamed356(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { |
5245 unittest.expect(o, unittest.hasLength(2)); | 4710 unittest.expect(o, unittest.hasLength(2)); |
5246 checkShippingsettingsCustomBatchRequestEntry(o[0]); | 4711 checkShippingsettingsCustomBatchRequestEntry(o[0]); |
5247 checkShippingsettingsCustomBatchRequestEntry(o[1]); | 4712 checkShippingsettingsCustomBatchRequestEntry(o[1]); |
5248 } | 4713 } |
5249 | 4714 |
5250 core.int buildCounterShippingsettingsCustomBatchRequest = 0; | 4715 core.int buildCounterShippingsettingsCustomBatchRequest = 0; |
5251 buildShippingsettingsCustomBatchRequest() { | 4716 buildShippingsettingsCustomBatchRequest() { |
5252 var o = new api.ShippingsettingsCustomBatchRequest(); | 4717 var o = new api.ShippingsettingsCustomBatchRequest(); |
5253 buildCounterShippingsettingsCustomBatchRequest++; | 4718 buildCounterShippingsettingsCustomBatchRequest++; |
5254 if (buildCounterShippingsettingsCustomBatchRequest < 3) { | 4719 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
5255 o.entries = buildUnnamed370(); | 4720 o.entries = buildUnnamed356(); |
5256 } | 4721 } |
5257 buildCounterShippingsettingsCustomBatchRequest--; | 4722 buildCounterShippingsettingsCustomBatchRequest--; |
5258 return o; | 4723 return o; |
5259 } | 4724 } |
5260 | 4725 |
5261 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { | 4726 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { |
5262 buildCounterShippingsettingsCustomBatchRequest++; | 4727 buildCounterShippingsettingsCustomBatchRequest++; |
5263 if (buildCounterShippingsettingsCustomBatchRequest < 3) { | 4728 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
5264 checkUnnamed370(o.entries); | 4729 checkUnnamed356(o.entries); |
5265 } | 4730 } |
5266 buildCounterShippingsettingsCustomBatchRequest--; | 4731 buildCounterShippingsettingsCustomBatchRequest--; |
5267 } | 4732 } |
5268 | 4733 |
5269 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; | 4734 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; |
5270 buildShippingsettingsCustomBatchRequestEntry() { | 4735 buildShippingsettingsCustomBatchRequestEntry() { |
5271 var o = new api.ShippingsettingsCustomBatchRequestEntry(); | 4736 var o = new api.ShippingsettingsCustomBatchRequestEntry(); |
5272 buildCounterShippingsettingsCustomBatchRequestEntry++; | 4737 buildCounterShippingsettingsCustomBatchRequestEntry++; |
5273 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { | 4738 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
5274 o.accountId = "foo"; | 4739 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
5286 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { | 4751 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
5287 unittest.expect(o.accountId, unittest.equals('foo')); | 4752 unittest.expect(o.accountId, unittest.equals('foo')); |
5288 unittest.expect(o.batchId, unittest.equals(42)); | 4753 unittest.expect(o.batchId, unittest.equals(42)); |
5289 unittest.expect(o.merchantId, unittest.equals('foo')); | 4754 unittest.expect(o.merchantId, unittest.equals('foo')); |
5290 unittest.expect(o.method, unittest.equals('foo')); | 4755 unittest.expect(o.method, unittest.equals('foo')); |
5291 checkShippingSettings(o.shippingSettings); | 4756 checkShippingSettings(o.shippingSettings); |
5292 } | 4757 } |
5293 buildCounterShippingsettingsCustomBatchRequestEntry--; | 4758 buildCounterShippingsettingsCustomBatchRequestEntry--; |
5294 } | 4759 } |
5295 | 4760 |
5296 buildUnnamed371() { | 4761 buildUnnamed357() { |
5297 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); | 4762 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); |
5298 o.add(buildShippingsettingsCustomBatchResponseEntry()); | 4763 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
5299 o.add(buildShippingsettingsCustomBatchResponseEntry()); | 4764 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
5300 return o; | 4765 return o; |
5301 } | 4766 } |
5302 | 4767 |
5303 checkUnnamed371(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { | 4768 checkUnnamed357(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { |
5304 unittest.expect(o, unittest.hasLength(2)); | 4769 unittest.expect(o, unittest.hasLength(2)); |
5305 checkShippingsettingsCustomBatchResponseEntry(o[0]); | 4770 checkShippingsettingsCustomBatchResponseEntry(o[0]); |
5306 checkShippingsettingsCustomBatchResponseEntry(o[1]); | 4771 checkShippingsettingsCustomBatchResponseEntry(o[1]); |
5307 } | 4772 } |
5308 | 4773 |
5309 core.int buildCounterShippingsettingsCustomBatchResponse = 0; | 4774 core.int buildCounterShippingsettingsCustomBatchResponse = 0; |
5310 buildShippingsettingsCustomBatchResponse() { | 4775 buildShippingsettingsCustomBatchResponse() { |
5311 var o = new api.ShippingsettingsCustomBatchResponse(); | 4776 var o = new api.ShippingsettingsCustomBatchResponse(); |
5312 buildCounterShippingsettingsCustomBatchResponse++; | 4777 buildCounterShippingsettingsCustomBatchResponse++; |
5313 if (buildCounterShippingsettingsCustomBatchResponse < 3) { | 4778 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
5314 o.entries = buildUnnamed371(); | 4779 o.entries = buildUnnamed357(); |
5315 o.kind = "foo"; | 4780 o.kind = "foo"; |
5316 } | 4781 } |
5317 buildCounterShippingsettingsCustomBatchResponse--; | 4782 buildCounterShippingsettingsCustomBatchResponse--; |
5318 return o; | 4783 return o; |
5319 } | 4784 } |
5320 | 4785 |
5321 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { | 4786 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { |
5322 buildCounterShippingsettingsCustomBatchResponse++; | 4787 buildCounterShippingsettingsCustomBatchResponse++; |
5323 if (buildCounterShippingsettingsCustomBatchResponse < 3) { | 4788 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
5324 checkUnnamed371(o.entries); | 4789 checkUnnamed357(o.entries); |
5325 unittest.expect(o.kind, unittest.equals('foo')); | 4790 unittest.expect(o.kind, unittest.equals('foo')); |
5326 } | 4791 } |
5327 buildCounterShippingsettingsCustomBatchResponse--; | 4792 buildCounterShippingsettingsCustomBatchResponse--; |
5328 } | 4793 } |
5329 | 4794 |
5330 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; | 4795 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; |
5331 buildShippingsettingsCustomBatchResponseEntry() { | 4796 buildShippingsettingsCustomBatchResponseEntry() { |
5332 var o = new api.ShippingsettingsCustomBatchResponseEntry(); | 4797 var o = new api.ShippingsettingsCustomBatchResponseEntry(); |
5333 buildCounterShippingsettingsCustomBatchResponseEntry++; | 4798 buildCounterShippingsettingsCustomBatchResponseEntry++; |
5334 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { | 4799 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
5345 buildCounterShippingsettingsCustomBatchResponseEntry++; | 4810 buildCounterShippingsettingsCustomBatchResponseEntry++; |
5346 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { | 4811 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
5347 unittest.expect(o.batchId, unittest.equals(42)); | 4812 unittest.expect(o.batchId, unittest.equals(42)); |
5348 checkErrors(o.errors); | 4813 checkErrors(o.errors); |
5349 unittest.expect(o.kind, unittest.equals('foo')); | 4814 unittest.expect(o.kind, unittest.equals('foo')); |
5350 checkShippingSettings(o.shippingSettings); | 4815 checkShippingSettings(o.shippingSettings); |
5351 } | 4816 } |
5352 buildCounterShippingsettingsCustomBatchResponseEntry--; | 4817 buildCounterShippingsettingsCustomBatchResponseEntry--; |
5353 } | 4818 } |
5354 | 4819 |
5355 buildUnnamed372() { | 4820 buildUnnamed358() { |
5356 var o = new core.List<api.CarriersCarrier>(); | 4821 var o = new core.List<api.CarriersCarrier>(); |
5357 o.add(buildCarriersCarrier()); | 4822 o.add(buildCarriersCarrier()); |
5358 o.add(buildCarriersCarrier()); | 4823 o.add(buildCarriersCarrier()); |
5359 return o; | 4824 return o; |
5360 } | 4825 } |
5361 | 4826 |
5362 checkUnnamed372(core.List<api.CarriersCarrier> o) { | 4827 checkUnnamed358(core.List<api.CarriersCarrier> o) { |
5363 unittest.expect(o, unittest.hasLength(2)); | 4828 unittest.expect(o, unittest.hasLength(2)); |
5364 checkCarriersCarrier(o[0]); | 4829 checkCarriersCarrier(o[0]); |
5365 checkCarriersCarrier(o[1]); | 4830 checkCarriersCarrier(o[1]); |
5366 } | 4831 } |
5367 | 4832 |
5368 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; | 4833 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; |
5369 buildShippingsettingsGetSupportedCarriersResponse() { | 4834 buildShippingsettingsGetSupportedCarriersResponse() { |
5370 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); | 4835 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); |
5371 buildCounterShippingsettingsGetSupportedCarriersResponse++; | 4836 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
5372 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { | 4837 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
5373 o.carriers = buildUnnamed372(); | 4838 o.carriers = buildUnnamed358(); |
5374 o.kind = "foo"; | 4839 o.kind = "foo"; |
5375 } | 4840 } |
5376 buildCounterShippingsettingsGetSupportedCarriersResponse--; | 4841 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
5377 return o; | 4842 return o; |
5378 } | 4843 } |
5379 | 4844 |
5380 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { | 4845 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { |
5381 buildCounterShippingsettingsGetSupportedCarriersResponse++; | 4846 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
5382 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { | 4847 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
5383 checkUnnamed372(o.carriers); | 4848 checkUnnamed358(o.carriers); |
5384 unittest.expect(o.kind, unittest.equals('foo')); | 4849 unittest.expect(o.kind, unittest.equals('foo')); |
5385 } | 4850 } |
5386 buildCounterShippingsettingsGetSupportedCarriersResponse--; | 4851 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
5387 } | 4852 } |
5388 | 4853 |
5389 buildUnnamed373() { | 4854 buildUnnamed359() { |
5390 var o = new core.List<api.ShippingSettings>(); | 4855 var o = new core.List<api.ShippingSettings>(); |
5391 o.add(buildShippingSettings()); | 4856 o.add(buildShippingSettings()); |
5392 o.add(buildShippingSettings()); | 4857 o.add(buildShippingSettings()); |
5393 return o; | 4858 return o; |
5394 } | 4859 } |
5395 | 4860 |
5396 checkUnnamed373(core.List<api.ShippingSettings> o) { | 4861 checkUnnamed359(core.List<api.ShippingSettings> o) { |
5397 unittest.expect(o, unittest.hasLength(2)); | 4862 unittest.expect(o, unittest.hasLength(2)); |
5398 checkShippingSettings(o[0]); | 4863 checkShippingSettings(o[0]); |
5399 checkShippingSettings(o[1]); | 4864 checkShippingSettings(o[1]); |
5400 } | 4865 } |
5401 | 4866 |
5402 core.int buildCounterShippingsettingsListResponse = 0; | 4867 core.int buildCounterShippingsettingsListResponse = 0; |
5403 buildShippingsettingsListResponse() { | 4868 buildShippingsettingsListResponse() { |
5404 var o = new api.ShippingsettingsListResponse(); | 4869 var o = new api.ShippingsettingsListResponse(); |
5405 buildCounterShippingsettingsListResponse++; | 4870 buildCounterShippingsettingsListResponse++; |
5406 if (buildCounterShippingsettingsListResponse < 3) { | 4871 if (buildCounterShippingsettingsListResponse < 3) { |
5407 o.kind = "foo"; | 4872 o.kind = "foo"; |
5408 o.nextPageToken = "foo"; | 4873 o.nextPageToken = "foo"; |
5409 o.resources = buildUnnamed373(); | 4874 o.resources = buildUnnamed359(); |
5410 } | 4875 } |
5411 buildCounterShippingsettingsListResponse--; | 4876 buildCounterShippingsettingsListResponse--; |
5412 return o; | 4877 return o; |
5413 } | 4878 } |
5414 | 4879 |
5415 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { | 4880 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { |
5416 buildCounterShippingsettingsListResponse++; | 4881 buildCounterShippingsettingsListResponse++; |
5417 if (buildCounterShippingsettingsListResponse < 3) { | 4882 if (buildCounterShippingsettingsListResponse < 3) { |
5418 unittest.expect(o.kind, unittest.equals('foo')); | 4883 unittest.expect(o.kind, unittest.equals('foo')); |
5419 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4884 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5420 checkUnnamed373(o.resources); | 4885 checkUnnamed359(o.resources); |
5421 } | 4886 } |
5422 buildCounterShippingsettingsListResponse--; | 4887 buildCounterShippingsettingsListResponse--; |
5423 } | 4888 } |
5424 | 4889 |
5425 buildUnnamed374() { | 4890 buildUnnamed360() { |
5426 var o = new core.List<api.Row>(); | 4891 var o = new core.List<api.Row>(); |
5427 o.add(buildRow()); | 4892 o.add(buildRow()); |
5428 o.add(buildRow()); | 4893 o.add(buildRow()); |
5429 return o; | 4894 return o; |
5430 } | 4895 } |
5431 | 4896 |
5432 checkUnnamed374(core.List<api.Row> o) { | 4897 checkUnnamed360(core.List<api.Row> o) { |
5433 unittest.expect(o, unittest.hasLength(2)); | 4898 unittest.expect(o, unittest.hasLength(2)); |
5434 checkRow(o[0]); | 4899 checkRow(o[0]); |
5435 checkRow(o[1]); | 4900 checkRow(o[1]); |
5436 } | 4901 } |
5437 | 4902 |
5438 core.int buildCounterTable = 0; | 4903 core.int buildCounterTable = 0; |
5439 buildTable() { | 4904 buildTable() { |
5440 var o = new api.Table(); | 4905 var o = new api.Table(); |
5441 buildCounterTable++; | 4906 buildCounterTable++; |
5442 if (buildCounterTable < 3) { | 4907 if (buildCounterTable < 3) { |
5443 o.columnHeaders = buildHeaders(); | 4908 o.columnHeaders = buildHeaders(); |
5444 o.name = "foo"; | 4909 o.name = "foo"; |
5445 o.rowHeaders = buildHeaders(); | 4910 o.rowHeaders = buildHeaders(); |
5446 o.rows = buildUnnamed374(); | 4911 o.rows = buildUnnamed360(); |
5447 } | 4912 } |
5448 buildCounterTable--; | 4913 buildCounterTable--; |
5449 return o; | 4914 return o; |
5450 } | 4915 } |
5451 | 4916 |
5452 checkTable(api.Table o) { | 4917 checkTable(api.Table o) { |
5453 buildCounterTable++; | 4918 buildCounterTable++; |
5454 if (buildCounterTable < 3) { | 4919 if (buildCounterTable < 3) { |
5455 checkHeaders(o.columnHeaders); | 4920 checkHeaders(o.columnHeaders); |
5456 unittest.expect(o.name, unittest.equals('foo')); | 4921 unittest.expect(o.name, unittest.equals('foo')); |
5457 checkHeaders(o.rowHeaders); | 4922 checkHeaders(o.rowHeaders); |
5458 checkUnnamed374(o.rows); | 4923 checkUnnamed360(o.rows); |
5459 } | 4924 } |
5460 buildCounterTable--; | 4925 buildCounterTable--; |
5461 } | 4926 } |
5462 | 4927 |
5463 buildUnnamed375() { | 4928 buildUnnamed361() { |
5464 var o = new core.List<api.TestOrderLineItem>(); | 4929 var o = new core.List<api.TestOrderLineItem>(); |
5465 o.add(buildTestOrderLineItem()); | 4930 o.add(buildTestOrderLineItem()); |
5466 o.add(buildTestOrderLineItem()); | 4931 o.add(buildTestOrderLineItem()); |
5467 return o; | 4932 return o; |
5468 } | 4933 } |
5469 | 4934 |
5470 checkUnnamed375(core.List<api.TestOrderLineItem> o) { | 4935 checkUnnamed361(core.List<api.TestOrderLineItem> o) { |
5471 unittest.expect(o, unittest.hasLength(2)); | 4936 unittest.expect(o, unittest.hasLength(2)); |
5472 checkTestOrderLineItem(o[0]); | 4937 checkTestOrderLineItem(o[0]); |
5473 checkTestOrderLineItem(o[1]); | 4938 checkTestOrderLineItem(o[1]); |
5474 } | 4939 } |
5475 | 4940 |
5476 buildUnnamed376() { | 4941 buildUnnamed362() { |
5477 var o = new core.List<api.OrderPromotion>(); | 4942 var o = new core.List<api.OrderPromotion>(); |
5478 o.add(buildOrderPromotion()); | 4943 o.add(buildOrderPromotion()); |
5479 o.add(buildOrderPromotion()); | 4944 o.add(buildOrderPromotion()); |
5480 return o; | 4945 return o; |
5481 } | 4946 } |
5482 | 4947 |
5483 checkUnnamed376(core.List<api.OrderPromotion> o) { | 4948 checkUnnamed362(core.List<api.OrderPromotion> o) { |
5484 unittest.expect(o, unittest.hasLength(2)); | 4949 unittest.expect(o, unittest.hasLength(2)); |
5485 checkOrderPromotion(o[0]); | 4950 checkOrderPromotion(o[0]); |
5486 checkOrderPromotion(o[1]); | 4951 checkOrderPromotion(o[1]); |
5487 } | 4952 } |
5488 | 4953 |
5489 core.int buildCounterTestOrder = 0; | 4954 core.int buildCounterTestOrder = 0; |
5490 buildTestOrder() { | 4955 buildTestOrder() { |
5491 var o = new api.TestOrder(); | 4956 var o = new api.TestOrder(); |
5492 buildCounterTestOrder++; | 4957 buildCounterTestOrder++; |
5493 if (buildCounterTestOrder < 3) { | 4958 if (buildCounterTestOrder < 3) { |
5494 o.customer = buildTestOrderCustomer(); | 4959 o.customer = buildTestOrderCustomer(); |
5495 o.kind = "foo"; | 4960 o.kind = "foo"; |
5496 o.lineItems = buildUnnamed375(); | 4961 o.lineItems = buildUnnamed361(); |
5497 o.paymentMethod = buildTestOrderPaymentMethod(); | 4962 o.paymentMethod = buildTestOrderPaymentMethod(); |
5498 o.predefinedDeliveryAddress = "foo"; | 4963 o.predefinedDeliveryAddress = "foo"; |
5499 o.promotions = buildUnnamed376(); | 4964 o.promotions = buildUnnamed362(); |
5500 o.shippingCost = buildPrice(); | 4965 o.shippingCost = buildPrice(); |
5501 o.shippingCostTax = buildPrice(); | 4966 o.shippingCostTax = buildPrice(); |
5502 o.shippingOption = "foo"; | 4967 o.shippingOption = "foo"; |
5503 } | 4968 } |
5504 buildCounterTestOrder--; | 4969 buildCounterTestOrder--; |
5505 return o; | 4970 return o; |
5506 } | 4971 } |
5507 | 4972 |
5508 checkTestOrder(api.TestOrder o) { | 4973 checkTestOrder(api.TestOrder o) { |
5509 buildCounterTestOrder++; | 4974 buildCounterTestOrder++; |
5510 if (buildCounterTestOrder < 3) { | 4975 if (buildCounterTestOrder < 3) { |
5511 checkTestOrderCustomer(o.customer); | 4976 checkTestOrderCustomer(o.customer); |
5512 unittest.expect(o.kind, unittest.equals('foo')); | 4977 unittest.expect(o.kind, unittest.equals('foo')); |
5513 checkUnnamed375(o.lineItems); | 4978 checkUnnamed361(o.lineItems); |
5514 checkTestOrderPaymentMethod(o.paymentMethod); | 4979 checkTestOrderPaymentMethod(o.paymentMethod); |
5515 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); | 4980 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); |
5516 checkUnnamed376(o.promotions); | 4981 checkUnnamed362(o.promotions); |
5517 checkPrice(o.shippingCost); | 4982 checkPrice(o.shippingCost); |
5518 checkPrice(o.shippingCostTax); | 4983 checkPrice(o.shippingCostTax); |
5519 unittest.expect(o.shippingOption, unittest.equals('foo')); | 4984 unittest.expect(o.shippingOption, unittest.equals('foo')); |
5520 } | 4985 } |
5521 buildCounterTestOrder--; | 4986 buildCounterTestOrder--; |
5522 } | 4987 } |
5523 | 4988 |
5524 core.int buildCounterTestOrderCustomer = 0; | 4989 core.int buildCounterTestOrderCustomer = 0; |
5525 buildTestOrderCustomer() { | 4990 buildTestOrderCustomer() { |
5526 var o = new api.TestOrderCustomer(); | 4991 var o = new api.TestOrderCustomer(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5564 if (buildCounterTestOrderLineItem < 3) { | 5029 if (buildCounterTestOrderLineItem < 3) { |
5565 checkTestOrderLineItemProduct(o.product); | 5030 checkTestOrderLineItemProduct(o.product); |
5566 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 5031 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
5567 checkOrderLineItemReturnInfo(o.returnInfo); | 5032 checkOrderLineItemReturnInfo(o.returnInfo); |
5568 checkOrderLineItemShippingDetails(o.shippingDetails); | 5033 checkOrderLineItemShippingDetails(o.shippingDetails); |
5569 checkPrice(o.unitTax); | 5034 checkPrice(o.unitTax); |
5570 } | 5035 } |
5571 buildCounterTestOrderLineItem--; | 5036 buildCounterTestOrderLineItem--; |
5572 } | 5037 } |
5573 | 5038 |
5574 buildUnnamed377() { | 5039 buildUnnamed363() { |
5575 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 5040 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
5576 o.add(buildOrderLineItemProductVariantAttribute()); | 5041 o.add(buildOrderLineItemProductVariantAttribute()); |
5577 o.add(buildOrderLineItemProductVariantAttribute()); | 5042 o.add(buildOrderLineItemProductVariantAttribute()); |
5578 return o; | 5043 return o; |
5579 } | 5044 } |
5580 | 5045 |
5581 checkUnnamed377(core.List<api.OrderLineItemProductVariantAttribute> o) { | 5046 checkUnnamed363(core.List<api.OrderLineItemProductVariantAttribute> o) { |
5582 unittest.expect(o, unittest.hasLength(2)); | 5047 unittest.expect(o, unittest.hasLength(2)); |
5583 checkOrderLineItemProductVariantAttribute(o[0]); | 5048 checkOrderLineItemProductVariantAttribute(o[0]); |
5584 checkOrderLineItemProductVariantAttribute(o[1]); | 5049 checkOrderLineItemProductVariantAttribute(o[1]); |
5585 } | 5050 } |
5586 | 5051 |
5587 core.int buildCounterTestOrderLineItemProduct = 0; | 5052 core.int buildCounterTestOrderLineItemProduct = 0; |
5588 buildTestOrderLineItemProduct() { | 5053 buildTestOrderLineItemProduct() { |
5589 var o = new api.TestOrderLineItemProduct(); | 5054 var o = new api.TestOrderLineItemProduct(); |
5590 buildCounterTestOrderLineItemProduct++; | 5055 buildCounterTestOrderLineItemProduct++; |
5591 if (buildCounterTestOrderLineItemProduct < 3) { | 5056 if (buildCounterTestOrderLineItemProduct < 3) { |
5592 o.brand = "foo"; | 5057 o.brand = "foo"; |
5593 o.channel = "foo"; | 5058 o.channel = "foo"; |
5594 o.condition = "foo"; | 5059 o.condition = "foo"; |
5595 o.contentLanguage = "foo"; | 5060 o.contentLanguage = "foo"; |
5596 o.gtin = "foo"; | 5061 o.gtin = "foo"; |
5597 o.imageLink = "foo"; | 5062 o.imageLink = "foo"; |
5598 o.itemGroupId = "foo"; | 5063 o.itemGroupId = "foo"; |
5599 o.mpn = "foo"; | 5064 o.mpn = "foo"; |
5600 o.offerId = "foo"; | 5065 o.offerId = "foo"; |
5601 o.price = buildPrice(); | 5066 o.price = buildPrice(); |
5602 o.targetCountry = "foo"; | 5067 o.targetCountry = "foo"; |
5603 o.title = "foo"; | 5068 o.title = "foo"; |
5604 o.variantAttributes = buildUnnamed377(); | 5069 o.variantAttributes = buildUnnamed363(); |
5605 } | 5070 } |
5606 buildCounterTestOrderLineItemProduct--; | 5071 buildCounterTestOrderLineItemProduct--; |
5607 return o; | 5072 return o; |
5608 } | 5073 } |
5609 | 5074 |
5610 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { | 5075 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { |
5611 buildCounterTestOrderLineItemProduct++; | 5076 buildCounterTestOrderLineItemProduct++; |
5612 if (buildCounterTestOrderLineItemProduct < 3) { | 5077 if (buildCounterTestOrderLineItemProduct < 3) { |
5613 unittest.expect(o.brand, unittest.equals('foo')); | 5078 unittest.expect(o.brand, unittest.equals('foo')); |
5614 unittest.expect(o.channel, unittest.equals('foo')); | 5079 unittest.expect(o.channel, unittest.equals('foo')); |
5615 unittest.expect(o.condition, unittest.equals('foo')); | 5080 unittest.expect(o.condition, unittest.equals('foo')); |
5616 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 5081 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
5617 unittest.expect(o.gtin, unittest.equals('foo')); | 5082 unittest.expect(o.gtin, unittest.equals('foo')); |
5618 unittest.expect(o.imageLink, unittest.equals('foo')); | 5083 unittest.expect(o.imageLink, unittest.equals('foo')); |
5619 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 5084 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
5620 unittest.expect(o.mpn, unittest.equals('foo')); | 5085 unittest.expect(o.mpn, unittest.equals('foo')); |
5621 unittest.expect(o.offerId, unittest.equals('foo')); | 5086 unittest.expect(o.offerId, unittest.equals('foo')); |
5622 checkPrice(o.price); | 5087 checkPrice(o.price); |
5623 unittest.expect(o.targetCountry, unittest.equals('foo')); | 5088 unittest.expect(o.targetCountry, unittest.equals('foo')); |
5624 unittest.expect(o.title, unittest.equals('foo')); | 5089 unittest.expect(o.title, unittest.equals('foo')); |
5625 checkUnnamed377(o.variantAttributes); | 5090 checkUnnamed363(o.variantAttributes); |
5626 } | 5091 } |
5627 buildCounterTestOrderLineItemProduct--; | 5092 buildCounterTestOrderLineItemProduct--; |
5628 } | 5093 } |
5629 | 5094 |
5630 core.int buildCounterTestOrderPaymentMethod = 0; | 5095 core.int buildCounterTestOrderPaymentMethod = 0; |
5631 buildTestOrderPaymentMethod() { | 5096 buildTestOrderPaymentMethod() { |
5632 var o = new api.TestOrderPaymentMethod(); | 5097 var o = new api.TestOrderPaymentMethod(); |
5633 buildCounterTestOrderPaymentMethod++; | 5098 buildCounterTestOrderPaymentMethod++; |
5634 if (buildCounterTestOrderPaymentMethod < 3) { | 5099 if (buildCounterTestOrderPaymentMethod < 3) { |
5635 o.expirationMonth = 42; | 5100 o.expirationMonth = 42; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5695 | 5160 |
5696 checkWeight(api.Weight o) { | 5161 checkWeight(api.Weight o) { |
5697 buildCounterWeight++; | 5162 buildCounterWeight++; |
5698 if (buildCounterWeight < 3) { | 5163 if (buildCounterWeight < 3) { |
5699 unittest.expect(o.unit, unittest.equals('foo')); | 5164 unittest.expect(o.unit, unittest.equals('foo')); |
5700 unittest.expect(o.value, unittest.equals('foo')); | 5165 unittest.expect(o.value, unittest.equals('foo')); |
5701 } | 5166 } |
5702 buildCounterWeight--; | 5167 buildCounterWeight--; |
5703 } | 5168 } |
5704 | 5169 |
5705 buildUnnamed378() { | 5170 buildUnnamed364() { |
5706 var o = new core.List<core.String>(); | 5171 var o = new core.List<core.String>(); |
5707 o.add("foo"); | 5172 o.add("foo"); |
5708 o.add("foo"); | 5173 o.add("foo"); |
5709 return o; | 5174 return o; |
5710 } | 5175 } |
5711 | 5176 |
5712 checkUnnamed378(core.List<core.String> o) { | 5177 checkUnnamed364(core.List<core.String> o) { |
5713 unittest.expect(o, unittest.hasLength(2)); | 5178 unittest.expect(o, unittest.hasLength(2)); |
5714 unittest.expect(o[0], unittest.equals('foo')); | 5179 unittest.expect(o[0], unittest.equals('foo')); |
5715 unittest.expect(o[1], unittest.equals('foo')); | 5180 unittest.expect(o[1], unittest.equals('foo')); |
5716 } | 5181 } |
5717 | 5182 |
5718 | 5183 |
5719 main() { | 5184 main() { |
5720 unittest.group("obj-schema-Account", () { | 5185 unittest.group("obj-schema-Account", () { |
5721 unittest.test("to-json--from-json", () { | 5186 unittest.test("to-json--from-json", () { |
5722 var o = buildAccount(); | 5187 var o = buildAccount(); |
(...skipping 13 matching lines...) Expand all Loading... |
5736 | 5201 |
5737 | 5202 |
5738 unittest.group("obj-schema-AccountIdentifier", () { | 5203 unittest.group("obj-schema-AccountIdentifier", () { |
5739 unittest.test("to-json--from-json", () { | 5204 unittest.test("to-json--from-json", () { |
5740 var o = buildAccountIdentifier(); | 5205 var o = buildAccountIdentifier(); |
5741 var od = new api.AccountIdentifier.fromJson(o.toJson()); | 5206 var od = new api.AccountIdentifier.fromJson(o.toJson()); |
5742 checkAccountIdentifier(od); | 5207 checkAccountIdentifier(od); |
5743 }); | 5208 }); |
5744 }); | 5209 }); |
5745 | 5210 |
5746 | |
5747 unittest.group("obj-schema-AccountShipping", () { | |
5748 unittest.test("to-json--from-json", () { | |
5749 var o = buildAccountShipping(); | |
5750 var od = new api.AccountShipping.fromJson(o.toJson()); | |
5751 checkAccountShipping(od); | |
5752 }); | |
5753 }); | |
5754 | |
5755 | |
5756 unittest.group("obj-schema-AccountShippingCarrierRate", () { | |
5757 unittest.test("to-json--from-json", () { | |
5758 var o = buildAccountShippingCarrierRate(); | |
5759 var od = new api.AccountShippingCarrierRate.fromJson(o.toJson()); | |
5760 checkAccountShippingCarrierRate(od); | |
5761 }); | |
5762 }); | |
5763 | |
5764 | |
5765 unittest.group("obj-schema-AccountShippingCondition", () { | |
5766 unittest.test("to-json--from-json", () { | |
5767 var o = buildAccountShippingCondition(); | |
5768 var od = new api.AccountShippingCondition.fromJson(o.toJson()); | |
5769 checkAccountShippingCondition(od); | |
5770 }); | |
5771 }); | |
5772 | |
5773 | |
5774 unittest.group("obj-schema-AccountShippingLocationGroup", () { | |
5775 unittest.test("to-json--from-json", () { | |
5776 var o = buildAccountShippingLocationGroup(); | |
5777 var od = new api.AccountShippingLocationGroup.fromJson(o.toJson()); | |
5778 checkAccountShippingLocationGroup(od); | |
5779 }); | |
5780 }); | |
5781 | |
5782 | |
5783 unittest.group("obj-schema-AccountShippingPostalCodeRange", () { | |
5784 unittest.test("to-json--from-json", () { | |
5785 var o = buildAccountShippingPostalCodeRange(); | |
5786 var od = new api.AccountShippingPostalCodeRange.fromJson(o.toJson()); | |
5787 checkAccountShippingPostalCodeRange(od); | |
5788 }); | |
5789 }); | |
5790 | |
5791 | |
5792 unittest.group("obj-schema-AccountShippingRateTable", () { | |
5793 unittest.test("to-json--from-json", () { | |
5794 var o = buildAccountShippingRateTable(); | |
5795 var od = new api.AccountShippingRateTable.fromJson(o.toJson()); | |
5796 checkAccountShippingRateTable(od); | |
5797 }); | |
5798 }); | |
5799 | |
5800 | |
5801 unittest.group("obj-schema-AccountShippingRateTableCell", () { | |
5802 unittest.test("to-json--from-json", () { | |
5803 var o = buildAccountShippingRateTableCell(); | |
5804 var od = new api.AccountShippingRateTableCell.fromJson(o.toJson()); | |
5805 checkAccountShippingRateTableCell(od); | |
5806 }); | |
5807 }); | |
5808 | |
5809 | |
5810 unittest.group("obj-schema-AccountShippingShippingService", () { | |
5811 unittest.test("to-json--from-json", () { | |
5812 var o = buildAccountShippingShippingService(); | |
5813 var od = new api.AccountShippingShippingService.fromJson(o.toJson()); | |
5814 checkAccountShippingShippingService(od); | |
5815 }); | |
5816 }); | |
5817 | |
5818 | |
5819 unittest.group("obj-schema-AccountShippingShippingServiceCalculationMethod", (
) { | |
5820 unittest.test("to-json--from-json", () { | |
5821 var o = buildAccountShippingShippingServiceCalculationMethod(); | |
5822 var od = new api.AccountShippingShippingServiceCalculationMethod.fromJson(
o.toJson()); | |
5823 checkAccountShippingShippingServiceCalculationMethod(od); | |
5824 }); | |
5825 }); | |
5826 | |
5827 | |
5828 unittest.group("obj-schema-AccountShippingShippingServiceCostRule", () { | |
5829 unittest.test("to-json--from-json", () { | |
5830 var o = buildAccountShippingShippingServiceCostRule(); | |
5831 var od = new api.AccountShippingShippingServiceCostRule.fromJson(o.toJson(
)); | |
5832 checkAccountShippingShippingServiceCostRule(od); | |
5833 }); | |
5834 }); | |
5835 | |
5836 | 5211 |
5837 unittest.group("obj-schema-AccountStatus", () { | 5212 unittest.group("obj-schema-AccountStatus", () { |
5838 unittest.test("to-json--from-json", () { | 5213 unittest.test("to-json--from-json", () { |
5839 var o = buildAccountStatus(); | 5214 var o = buildAccountStatus(); |
5840 var od = new api.AccountStatus.fromJson(o.toJson()); | 5215 var od = new api.AccountStatus.fromJson(o.toJson()); |
5841 checkAccountStatus(od); | 5216 checkAccountStatus(od); |
5842 }); | 5217 }); |
5843 }); | 5218 }); |
5844 | 5219 |
5845 | 5220 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5935 | 5310 |
5936 unittest.group("obj-schema-AccountsListResponse", () { | 5311 unittest.group("obj-schema-AccountsListResponse", () { |
5937 unittest.test("to-json--from-json", () { | 5312 unittest.test("to-json--from-json", () { |
5938 var o = buildAccountsListResponse(); | 5313 var o = buildAccountsListResponse(); |
5939 var od = new api.AccountsListResponse.fromJson(o.toJson()); | 5314 var od = new api.AccountsListResponse.fromJson(o.toJson()); |
5940 checkAccountsListResponse(od); | 5315 checkAccountsListResponse(od); |
5941 }); | 5316 }); |
5942 }); | 5317 }); |
5943 | 5318 |
5944 | 5319 |
5945 unittest.group("obj-schema-AccountshippingCustomBatchRequest", () { | |
5946 unittest.test("to-json--from-json", () { | |
5947 var o = buildAccountshippingCustomBatchRequest(); | |
5948 var od = new api.AccountshippingCustomBatchRequest.fromJson(o.toJson()); | |
5949 checkAccountshippingCustomBatchRequest(od); | |
5950 }); | |
5951 }); | |
5952 | |
5953 | |
5954 unittest.group("obj-schema-AccountshippingCustomBatchRequestEntry", () { | |
5955 unittest.test("to-json--from-json", () { | |
5956 var o = buildAccountshippingCustomBatchRequestEntry(); | |
5957 var od = new api.AccountshippingCustomBatchRequestEntry.fromJson(o.toJson(
)); | |
5958 checkAccountshippingCustomBatchRequestEntry(od); | |
5959 }); | |
5960 }); | |
5961 | |
5962 | |
5963 unittest.group("obj-schema-AccountshippingCustomBatchResponse", () { | |
5964 unittest.test("to-json--from-json", () { | |
5965 var o = buildAccountshippingCustomBatchResponse(); | |
5966 var od = new api.AccountshippingCustomBatchResponse.fromJson(o.toJson()); | |
5967 checkAccountshippingCustomBatchResponse(od); | |
5968 }); | |
5969 }); | |
5970 | |
5971 | |
5972 unittest.group("obj-schema-AccountshippingCustomBatchResponseEntry", () { | |
5973 unittest.test("to-json--from-json", () { | |
5974 var o = buildAccountshippingCustomBatchResponseEntry(); | |
5975 var od = new api.AccountshippingCustomBatchResponseEntry.fromJson(o.toJson
()); | |
5976 checkAccountshippingCustomBatchResponseEntry(od); | |
5977 }); | |
5978 }); | |
5979 | |
5980 | |
5981 unittest.group("obj-schema-AccountshippingListResponse", () { | |
5982 unittest.test("to-json--from-json", () { | |
5983 var o = buildAccountshippingListResponse(); | |
5984 var od = new api.AccountshippingListResponse.fromJson(o.toJson()); | |
5985 checkAccountshippingListResponse(od); | |
5986 }); | |
5987 }); | |
5988 | |
5989 | |
5990 unittest.group("obj-schema-AccountstatusesCustomBatchRequest", () { | 5320 unittest.group("obj-schema-AccountstatusesCustomBatchRequest", () { |
5991 unittest.test("to-json--from-json", () { | 5321 unittest.test("to-json--from-json", () { |
5992 var o = buildAccountstatusesCustomBatchRequest(); | 5322 var o = buildAccountstatusesCustomBatchRequest(); |
5993 var od = new api.AccountstatusesCustomBatchRequest.fromJson(o.toJson()); | 5323 var od = new api.AccountstatusesCustomBatchRequest.fromJson(o.toJson()); |
5994 checkAccountstatusesCustomBatchRequest(od); | 5324 checkAccountstatusesCustomBatchRequest(od); |
5995 }); | 5325 }); |
5996 }); | 5326 }); |
5997 | 5327 |
5998 | 5328 |
5999 unittest.group("obj-schema-AccountstatusesCustomBatchRequestEntry", () { | 5329 unittest.group("obj-schema-AccountstatusesCustomBatchRequestEntry", () { |
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7600 return new async.Future.value(stringResponse(200, h, resp)); | 6930 return new async.Future.value(stringResponse(200, h, resp)); |
7601 }), true); | 6931 }), true); |
7602 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.Account response) { | 6932 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.Account response) { |
7603 checkAccount(response); | 6933 checkAccount(response); |
7604 }))); | 6934 }))); |
7605 }); | 6935 }); |
7606 | 6936 |
7607 }); | 6937 }); |
7608 | 6938 |
7609 | 6939 |
7610 unittest.group("resource-AccountshippingResourceApi", () { | |
7611 unittest.test("method--custombatch", () { | |
7612 | |
7613 var mock = new HttpServerMock(); | |
7614 api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipp
ing; | |
7615 var arg_request = buildAccountshippingCustomBatchRequest(); | |
7616 var arg_dryRun = true; | |
7617 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | |
7618 var obj = new api.AccountshippingCustomBatchRequest.fromJson(json); | |
7619 checkAccountshippingCustomBatchRequest(obj); | |
7620 | |
7621 var path = (req.url).path; | |
7622 var pathOffset = 0; | |
7623 var index; | |
7624 var subPart; | |
7625 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | |
7626 pathOffset += 1; | |
7627 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("content/v2/")); | |
7628 pathOffset += 11; | |
7629 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("accountshipping/batch")); | |
7630 pathOffset += 21; | |
7631 | |
7632 var query = (req.url).query; | |
7633 var queryOffset = 0; | |
7634 var queryMap = {}; | |
7635 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | |
7636 parseBool(n) { | |
7637 if (n == "true") return true; | |
7638 if (n == "false") return false; | |
7639 if (n == null) return null; | |
7640 throw new core.ArgumentError("Invalid boolean: $n"); | |
7641 } | |
7642 if (query.length > 0) { | |
7643 for (var part in query.split("&")) { | |
7644 var keyvalue = part.split("="); | |
7645 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | |
7646 } | |
7647 } | |
7648 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun")
); | |
7649 | |
7650 | |
7651 var h = { | |
7652 "content-type" : "application/json; charset=utf-8", | |
7653 }; | |
7654 var resp = convert.JSON.encode(buildAccountshippingCustomBatchResponse()
); | |
7655 return new async.Future.value(stringResponse(200, h, resp)); | |
7656 }), true); | |
7657 res.custombatch(arg_request, dryRun: arg_dryRun).then(unittest.expectAsync
(((api.AccountshippingCustomBatchResponse response) { | |
7658 checkAccountshippingCustomBatchResponse(response); | |
7659 }))); | |
7660 }); | |
7661 | |
7662 unittest.test("method--get", () { | |
7663 | |
7664 var mock = new HttpServerMock(); | |
7665 api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipp
ing; | |
7666 var arg_merchantId = "foo"; | |
7667 var arg_accountId = "foo"; | |
7668 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | |
7669 var path = (req.url).path; | |
7670 var pathOffset = 0; | |
7671 var index; | |
7672 var subPart; | |
7673 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | |
7674 pathOffset += 1; | |
7675 | |
7676 var query = (req.url).query; | |
7677 var queryOffset = 0; | |
7678 var queryMap = {}; | |
7679 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | |
7680 parseBool(n) { | |
7681 if (n == "true") return true; | |
7682 if (n == "false") return false; | |
7683 if (n == null) return null; | |
7684 throw new core.ArgumentError("Invalid boolean: $n"); | |
7685 } | |
7686 if (query.length > 0) { | |
7687 for (var part in query.split("&")) { | |
7688 var keyvalue = part.split("="); | |
7689 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | |
7690 } | |
7691 } | |
7692 | |
7693 | |
7694 var h = { | |
7695 "content-type" : "application/json; charset=utf-8", | |
7696 }; | |
7697 var resp = convert.JSON.encode(buildAccountShipping()); | |
7698 return new async.Future.value(stringResponse(200, h, resp)); | |
7699 }), true); | |
7700 res.get(arg_merchantId, arg_accountId).then(unittest.expectAsync(((api.Acc
ountShipping response) { | |
7701 checkAccountShipping(response); | |
7702 }))); | |
7703 }); | |
7704 | |
7705 unittest.test("method--list", () { | |
7706 | |
7707 var mock = new HttpServerMock(); | |
7708 api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipp
ing; | |
7709 var arg_merchantId = "foo"; | |
7710 var arg_maxResults = 42; | |
7711 var arg_pageToken = "foo"; | |
7712 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | |
7713 var path = (req.url).path; | |
7714 var pathOffset = 0; | |
7715 var index; | |
7716 var subPart; | |
7717 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | |
7718 pathOffset += 1; | |
7719 | |
7720 var query = (req.url).query; | |
7721 var queryOffset = 0; | |
7722 var queryMap = {}; | |
7723 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | |
7724 parseBool(n) { | |
7725 if (n == "true") return true; | |
7726 if (n == "false") return false; | |
7727 if (n == null) return null; | |
7728 throw new core.ArgumentError("Invalid boolean: $n"); | |
7729 } | |
7730 if (query.length > 0) { | |
7731 for (var part in query.split("&")) { | |
7732 var keyvalue = part.split("="); | |
7733 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | |
7734 } | |
7735 } | |
7736 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | |
7737 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | |
7738 | |
7739 | |
7740 var h = { | |
7741 "content-type" : "application/json; charset=utf-8", | |
7742 }; | |
7743 var resp = convert.JSON.encode(buildAccountshippingListResponse()); | |
7744 return new async.Future.value(stringResponse(200, h, resp)); | |
7745 }), true); | |
7746 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo
ken).then(unittest.expectAsync(((api.AccountshippingListResponse response) { | |
7747 checkAccountshippingListResponse(response); | |
7748 }))); | |
7749 }); | |
7750 | |
7751 unittest.test("method--patch", () { | |
7752 | |
7753 var mock = new HttpServerMock(); | |
7754 api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipp
ing; | |
7755 var arg_request = buildAccountShipping(); | |
7756 var arg_merchantId = "foo"; | |
7757 var arg_accountId = "foo"; | |
7758 var arg_dryRun = true; | |
7759 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | |
7760 var obj = new api.AccountShipping.fromJson(json); | |
7761 checkAccountShipping(obj); | |
7762 | |
7763 var path = (req.url).path; | |
7764 var pathOffset = 0; | |
7765 var index; | |
7766 var subPart; | |
7767 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | |
7768 pathOffset += 1; | |
7769 | |
7770 var query = (req.url).query; | |
7771 var queryOffset = 0; | |
7772 var queryMap = {}; | |
7773 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | |
7774 parseBool(n) { | |
7775 if (n == "true") return true; | |
7776 if (n == "false") return false; | |
7777 if (n == null) return null; | |
7778 throw new core.ArgumentError("Invalid boolean: $n"); | |
7779 } | |
7780 if (query.length > 0) { | |
7781 for (var part in query.split("&")) { | |
7782 var keyvalue = part.split("="); | |
7783 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | |
7784 } | |
7785 } | |
7786 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun")
); | |
7787 | |
7788 | |
7789 var h = { | |
7790 "content-type" : "application/json; charset=utf-8", | |
7791 }; | |
7792 var resp = convert.JSON.encode(buildAccountShipping()); | |
7793 return new async.Future.value(stringResponse(200, h, resp)); | |
7794 }), true); | |
7795 res.patch(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun).
then(unittest.expectAsync(((api.AccountShipping response) { | |
7796 checkAccountShipping(response); | |
7797 }))); | |
7798 }); | |
7799 | |
7800 unittest.test("method--update", () { | |
7801 | |
7802 var mock = new HttpServerMock(); | |
7803 api.AccountshippingResourceApi res = new api.ContentApi(mock).accountshipp
ing; | |
7804 var arg_request = buildAccountShipping(); | |
7805 var arg_merchantId = "foo"; | |
7806 var arg_accountId = "foo"; | |
7807 var arg_dryRun = true; | |
7808 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | |
7809 var obj = new api.AccountShipping.fromJson(json); | |
7810 checkAccountShipping(obj); | |
7811 | |
7812 var path = (req.url).path; | |
7813 var pathOffset = 0; | |
7814 var index; | |
7815 var subPart; | |
7816 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | |
7817 pathOffset += 1; | |
7818 | |
7819 var query = (req.url).query; | |
7820 var queryOffset = 0; | |
7821 var queryMap = {}; | |
7822 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | |
7823 parseBool(n) { | |
7824 if (n == "true") return true; | |
7825 if (n == "false") return false; | |
7826 if (n == null) return null; | |
7827 throw new core.ArgumentError("Invalid boolean: $n"); | |
7828 } | |
7829 if (query.length > 0) { | |
7830 for (var part in query.split("&")) { | |
7831 var keyvalue = part.split("="); | |
7832 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | |
7833 } | |
7834 } | |
7835 unittest.expect(queryMap["dryRun"].first, unittest.equals("$arg_dryRun")
); | |
7836 | |
7837 | |
7838 var h = { | |
7839 "content-type" : "application/json; charset=utf-8", | |
7840 }; | |
7841 var resp = convert.JSON.encode(buildAccountShipping()); | |
7842 return new async.Future.value(stringResponse(200, h, resp)); | |
7843 }), true); | |
7844 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.AccountShipping response) { | |
7845 checkAccountShipping(response); | |
7846 }))); | |
7847 }); | |
7848 | |
7849 }); | |
7850 | |
7851 | |
7852 unittest.group("resource-AccountstatusesResourceApi", () { | 6940 unittest.group("resource-AccountstatusesResourceApi", () { |
7853 unittest.test("method--custombatch", () { | 6941 unittest.test("method--custombatch", () { |
7854 | 6942 |
7855 var mock = new HttpServerMock(); | 6943 var mock = new HttpServerMock(); |
7856 api.AccountstatusesResourceApi res = new api.ContentApi(mock).accountstatu
ses; | 6944 api.AccountstatusesResourceApi res = new api.ContentApi(mock).accountstatu
ses; |
7857 var arg_request = buildAccountstatusesCustomBatchRequest(); | 6945 var arg_request = buildAccountstatusesCustomBatchRequest(); |
7858 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6946 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
7859 var obj = new api.AccountstatusesCustomBatchRequest.fromJson(json); | 6947 var obj = new api.AccountstatusesCustomBatchRequest.fromJson(json); |
7860 checkAccountstatusesCustomBatchRequest(obj); | 6948 checkAccountstatusesCustomBatchRequest(obj); |
7861 | 6949 |
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9226 | 8314 |
9227 var mock = new HttpServerMock(); | 8315 var mock = new HttpServerMock(); |
9228 api.OrdersResourceApi res = new api.ContentApi(mock).orders; | 8316 api.OrdersResourceApi res = new api.ContentApi(mock).orders; |
9229 var arg_merchantId = "foo"; | 8317 var arg_merchantId = "foo"; |
9230 var arg_acknowledged = true; | 8318 var arg_acknowledged = true; |
9231 var arg_maxResults = 42; | 8319 var arg_maxResults = 42; |
9232 var arg_orderBy = "foo"; | 8320 var arg_orderBy = "foo"; |
9233 var arg_pageToken = "foo"; | 8321 var arg_pageToken = "foo"; |
9234 var arg_placedDateEnd = "foo"; | 8322 var arg_placedDateEnd = "foo"; |
9235 var arg_placedDateStart = "foo"; | 8323 var arg_placedDateStart = "foo"; |
9236 var arg_statuses = buildUnnamed378(); | 8324 var arg_statuses = buildUnnamed364(); |
9237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 8325 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
9238 var path = (req.url).path; | 8326 var path = (req.url).path; |
9239 var pathOffset = 0; | 8327 var pathOffset = 0; |
9240 var index; | 8328 var index; |
9241 var subPart; | 8329 var subPart; |
9242 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 8330 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
9243 pathOffset += 1; | 8331 pathOffset += 1; |
9244 | 8332 |
9245 var query = (req.url).query; | 8333 var query = (req.url).query; |
9246 var queryOffset = 0; | 8334 var queryOffset = 0; |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10176 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { | 9264 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { |
10177 checkShippingSettings(response); | 9265 checkShippingSettings(response); |
10178 }))); | 9266 }))); |
10179 }); | 9267 }); |
10180 | 9268 |
10181 }); | 9269 }); |
10182 | 9270 |
10183 | 9271 |
10184 } | 9272 } |
10185 | 9273 |
OLD | NEW |