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 buildUnnamed252() { | 54 buildUnnamed254() { |
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 checkUnnamed252(core.List<api.AccountAdwordsLink> o) { | 61 checkUnnamed254(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 buildUnnamed253() { | 67 buildUnnamed255() { |
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 checkUnnamed253(core.List<api.AccountUser> o) { | 74 checkUnnamed255(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 = buildUnnamed252(); | 86 o.adwordsLinks = buildUnnamed254(); |
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 = buildUnnamed253(); | 92 o.users = buildUnnamed255(); |
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 checkUnnamed252(o.adwordsLinks); | 103 checkUnnamed254(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 checkUnnamed253(o.users); | 109 checkUnnamed255(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 buildUnnamed254() { | 157 buildUnnamed256() { |
158 var o = new core.List<api.AccountShippingCarrierRate>(); | 158 var o = new core.List<api.AccountShippingCarrierRate>(); |
159 o.add(buildAccountShippingCarrierRate()); | 159 o.add(buildAccountShippingCarrierRate()); |
160 o.add(buildAccountShippingCarrierRate()); | 160 o.add(buildAccountShippingCarrierRate()); |
161 return o; | 161 return o; |
162 } | 162 } |
163 | 163 |
164 checkUnnamed254(core.List<api.AccountShippingCarrierRate> o) { | 164 checkUnnamed256(core.List<api.AccountShippingCarrierRate> o) { |
165 unittest.expect(o, unittest.hasLength(2)); | 165 unittest.expect(o, unittest.hasLength(2)); |
166 checkAccountShippingCarrierRate(o[0]); | 166 checkAccountShippingCarrierRate(o[0]); |
167 checkAccountShippingCarrierRate(o[1]); | 167 checkAccountShippingCarrierRate(o[1]); |
168 } | 168 } |
169 | 169 |
170 buildUnnamed255() { | 170 buildUnnamed257() { |
171 var o = new core.List<api.AccountShippingLocationGroup>(); | 171 var o = new core.List<api.AccountShippingLocationGroup>(); |
172 o.add(buildAccountShippingLocationGroup()); | 172 o.add(buildAccountShippingLocationGroup()); |
173 o.add(buildAccountShippingLocationGroup()); | 173 o.add(buildAccountShippingLocationGroup()); |
174 return o; | 174 return o; |
175 } | 175 } |
176 | 176 |
177 checkUnnamed255(core.List<api.AccountShippingLocationGroup> o) { | 177 checkUnnamed257(core.List<api.AccountShippingLocationGroup> o) { |
178 unittest.expect(o, unittest.hasLength(2)); | 178 unittest.expect(o, unittest.hasLength(2)); |
179 checkAccountShippingLocationGroup(o[0]); | 179 checkAccountShippingLocationGroup(o[0]); |
180 checkAccountShippingLocationGroup(o[1]); | 180 checkAccountShippingLocationGroup(o[1]); |
181 } | 181 } |
182 | 182 |
183 buildUnnamed256() { | 183 buildUnnamed258() { |
184 var o = new core.List<api.AccountShippingRateTable>(); | 184 var o = new core.List<api.AccountShippingRateTable>(); |
185 o.add(buildAccountShippingRateTable()); | 185 o.add(buildAccountShippingRateTable()); |
186 o.add(buildAccountShippingRateTable()); | 186 o.add(buildAccountShippingRateTable()); |
187 return o; | 187 return o; |
188 } | 188 } |
189 | 189 |
190 checkUnnamed256(core.List<api.AccountShippingRateTable> o) { | 190 checkUnnamed258(core.List<api.AccountShippingRateTable> o) { |
191 unittest.expect(o, unittest.hasLength(2)); | 191 unittest.expect(o, unittest.hasLength(2)); |
192 checkAccountShippingRateTable(o[0]); | 192 checkAccountShippingRateTable(o[0]); |
193 checkAccountShippingRateTable(o[1]); | 193 checkAccountShippingRateTable(o[1]); |
194 } | 194 } |
195 | 195 |
196 buildUnnamed257() { | 196 buildUnnamed259() { |
197 var o = new core.List<api.AccountShippingShippingService>(); | 197 var o = new core.List<api.AccountShippingShippingService>(); |
198 o.add(buildAccountShippingShippingService()); | 198 o.add(buildAccountShippingShippingService()); |
199 o.add(buildAccountShippingShippingService()); | 199 o.add(buildAccountShippingShippingService()); |
200 return o; | 200 return o; |
201 } | 201 } |
202 | 202 |
203 checkUnnamed257(core.List<api.AccountShippingShippingService> o) { | 203 checkUnnamed259(core.List<api.AccountShippingShippingService> o) { |
204 unittest.expect(o, unittest.hasLength(2)); | 204 unittest.expect(o, unittest.hasLength(2)); |
205 checkAccountShippingShippingService(o[0]); | 205 checkAccountShippingShippingService(o[0]); |
206 checkAccountShippingShippingService(o[1]); | 206 checkAccountShippingShippingService(o[1]); |
207 } | 207 } |
208 | 208 |
209 core.int buildCounterAccountShipping = 0; | 209 core.int buildCounterAccountShipping = 0; |
210 buildAccountShipping() { | 210 buildAccountShipping() { |
211 var o = new api.AccountShipping(); | 211 var o = new api.AccountShipping(); |
212 buildCounterAccountShipping++; | 212 buildCounterAccountShipping++; |
213 if (buildCounterAccountShipping < 3) { | 213 if (buildCounterAccountShipping < 3) { |
214 o.accountId = "foo"; | 214 o.accountId = "foo"; |
215 o.carrierRates = buildUnnamed254(); | 215 o.carrierRates = buildUnnamed256(); |
216 o.kind = "foo"; | 216 o.kind = "foo"; |
217 o.locationGroups = buildUnnamed255(); | 217 o.locationGroups = buildUnnamed257(); |
218 o.rateTables = buildUnnamed256(); | 218 o.rateTables = buildUnnamed258(); |
219 o.services = buildUnnamed257(); | 219 o.services = buildUnnamed259(); |
220 } | 220 } |
221 buildCounterAccountShipping--; | 221 buildCounterAccountShipping--; |
222 return o; | 222 return o; |
223 } | 223 } |
224 | 224 |
225 checkAccountShipping(api.AccountShipping o) { | 225 checkAccountShipping(api.AccountShipping o) { |
226 buildCounterAccountShipping++; | 226 buildCounterAccountShipping++; |
227 if (buildCounterAccountShipping < 3) { | 227 if (buildCounterAccountShipping < 3) { |
228 unittest.expect(o.accountId, unittest.equals('foo')); | 228 unittest.expect(o.accountId, unittest.equals('foo')); |
229 checkUnnamed254(o.carrierRates); | 229 checkUnnamed256(o.carrierRates); |
230 unittest.expect(o.kind, unittest.equals('foo')); | 230 unittest.expect(o.kind, unittest.equals('foo')); |
231 checkUnnamed255(o.locationGroups); | 231 checkUnnamed257(o.locationGroups); |
232 checkUnnamed256(o.rateTables); | 232 checkUnnamed258(o.rateTables); |
233 checkUnnamed257(o.services); | 233 checkUnnamed259(o.services); |
234 } | 234 } |
235 buildCounterAccountShipping--; | 235 buildCounterAccountShipping--; |
236 } | 236 } |
237 | 237 |
238 core.int buildCounterAccountShippingCarrierRate = 0; | 238 core.int buildCounterAccountShippingCarrierRate = 0; |
239 buildAccountShippingCarrierRate() { | 239 buildAccountShippingCarrierRate() { |
240 var o = new api.AccountShippingCarrierRate(); | 240 var o = new api.AccountShippingCarrierRate(); |
241 buildCounterAccountShippingCarrierRate++; | 241 buildCounterAccountShippingCarrierRate++; |
242 if (buildCounterAccountShippingCarrierRate < 3) { | 242 if (buildCounterAccountShippingCarrierRate < 3) { |
243 o.carrier = "foo"; | 243 o.carrier = "foo"; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 unittest.expect(o.deliveryLocationId, unittest.equals('foo')); | 290 unittest.expect(o.deliveryLocationId, unittest.equals('foo')); |
291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo')); | 291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo')); |
292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange); | 292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange); |
293 checkPrice(o.priceMax); | 293 checkPrice(o.priceMax); |
294 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 294 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
295 checkWeight(o.weightMax); | 295 checkWeight(o.weightMax); |
296 } | 296 } |
297 buildCounterAccountShippingCondition--; | 297 buildCounterAccountShippingCondition--; |
298 } | 298 } |
299 | 299 |
300 buildUnnamed258() { | |
301 var o = new core.List<core.String>(); | |
302 o.add("foo"); | |
303 o.add("foo"); | |
304 return o; | |
305 } | |
306 | |
307 checkUnnamed258(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 buildUnnamed259() { | |
314 var o = new core.List<api.AccountShippingPostalCodeRange>(); | |
315 o.add(buildAccountShippingPostalCodeRange()); | |
316 o.add(buildAccountShippingPostalCodeRange()); | |
317 return o; | |
318 } | |
319 | |
320 checkUnnamed259(core.List<api.AccountShippingPostalCodeRange> o) { | |
321 unittest.expect(o, unittest.hasLength(2)); | |
322 checkAccountShippingPostalCodeRange(o[0]); | |
323 checkAccountShippingPostalCodeRange(o[1]); | |
324 } | |
325 | |
326 buildUnnamed260() { | 300 buildUnnamed260() { |
327 var o = new core.List<core.String>(); | 301 var o = new core.List<core.String>(); |
328 o.add("foo"); | 302 o.add("foo"); |
329 o.add("foo"); | 303 o.add("foo"); |
330 return o; | 304 return o; |
331 } | 305 } |
332 | 306 |
333 checkUnnamed260(core.List<core.String> o) { | 307 checkUnnamed260(core.List<core.String> o) { |
334 unittest.expect(o, unittest.hasLength(2)); | 308 unittest.expect(o, unittest.hasLength(2)); |
335 unittest.expect(o[0], unittest.equals('foo')); | 309 unittest.expect(o[0], unittest.equals('foo')); |
336 unittest.expect(o[1], unittest.equals('foo')); | 310 unittest.expect(o[1], unittest.equals('foo')); |
| 311 } |
| 312 |
| 313 buildUnnamed261() { |
| 314 var o = new core.List<api.AccountShippingPostalCodeRange>(); |
| 315 o.add(buildAccountShippingPostalCodeRange()); |
| 316 o.add(buildAccountShippingPostalCodeRange()); |
| 317 return o; |
| 318 } |
| 319 |
| 320 checkUnnamed261(core.List<api.AccountShippingPostalCodeRange> o) { |
| 321 unittest.expect(o, unittest.hasLength(2)); |
| 322 checkAccountShippingPostalCodeRange(o[0]); |
| 323 checkAccountShippingPostalCodeRange(o[1]); |
| 324 } |
| 325 |
| 326 buildUnnamed262() { |
| 327 var o = new core.List<core.String>(); |
| 328 o.add("foo"); |
| 329 o.add("foo"); |
| 330 return o; |
| 331 } |
| 332 |
| 333 checkUnnamed262(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 } | 337 } |
338 | 338 |
339 core.int buildCounterAccountShippingLocationGroup = 0; | 339 core.int buildCounterAccountShippingLocationGroup = 0; |
340 buildAccountShippingLocationGroup() { | 340 buildAccountShippingLocationGroup() { |
341 var o = new api.AccountShippingLocationGroup(); | 341 var o = new api.AccountShippingLocationGroup(); |
342 buildCounterAccountShippingLocationGroup++; | 342 buildCounterAccountShippingLocationGroup++; |
343 if (buildCounterAccountShippingLocationGroup < 3) { | 343 if (buildCounterAccountShippingLocationGroup < 3) { |
344 o.country = "foo"; | 344 o.country = "foo"; |
345 o.locationIds = buildUnnamed258(); | 345 o.locationIds = buildUnnamed260(); |
346 o.name = "foo"; | 346 o.name = "foo"; |
347 o.postalCodeRanges = buildUnnamed259(); | 347 o.postalCodeRanges = buildUnnamed261(); |
348 o.postalCodes = buildUnnamed260(); | 348 o.postalCodes = buildUnnamed262(); |
349 } | 349 } |
350 buildCounterAccountShippingLocationGroup--; | 350 buildCounterAccountShippingLocationGroup--; |
351 return o; | 351 return o; |
352 } | 352 } |
353 | 353 |
354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) { | 354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) { |
355 buildCounterAccountShippingLocationGroup++; | 355 buildCounterAccountShippingLocationGroup++; |
356 if (buildCounterAccountShippingLocationGroup < 3) { | 356 if (buildCounterAccountShippingLocationGroup < 3) { |
357 unittest.expect(o.country, unittest.equals('foo')); | 357 unittest.expect(o.country, unittest.equals('foo')); |
358 checkUnnamed258(o.locationIds); | 358 checkUnnamed260(o.locationIds); |
359 unittest.expect(o.name, unittest.equals('foo')); | 359 unittest.expect(o.name, unittest.equals('foo')); |
360 checkUnnamed259(o.postalCodeRanges); | 360 checkUnnamed261(o.postalCodeRanges); |
361 checkUnnamed260(o.postalCodes); | 361 checkUnnamed262(o.postalCodes); |
362 } | 362 } |
363 buildCounterAccountShippingLocationGroup--; | 363 buildCounterAccountShippingLocationGroup--; |
364 } | 364 } |
365 | 365 |
366 core.int buildCounterAccountShippingPostalCodeRange = 0; | 366 core.int buildCounterAccountShippingPostalCodeRange = 0; |
367 buildAccountShippingPostalCodeRange() { | 367 buildAccountShippingPostalCodeRange() { |
368 var o = new api.AccountShippingPostalCodeRange(); | 368 var o = new api.AccountShippingPostalCodeRange(); |
369 buildCounterAccountShippingPostalCodeRange++; | 369 buildCounterAccountShippingPostalCodeRange++; |
370 if (buildCounterAccountShippingPostalCodeRange < 3) { | 370 if (buildCounterAccountShippingPostalCodeRange < 3) { |
371 o.end = "foo"; | 371 o.end = "foo"; |
372 o.start = "foo"; | 372 o.start = "foo"; |
373 } | 373 } |
374 buildCounterAccountShippingPostalCodeRange--; | 374 buildCounterAccountShippingPostalCodeRange--; |
375 return o; | 375 return o; |
376 } | 376 } |
377 | 377 |
378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) { | 378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) { |
379 buildCounterAccountShippingPostalCodeRange++; | 379 buildCounterAccountShippingPostalCodeRange++; |
380 if (buildCounterAccountShippingPostalCodeRange < 3) { | 380 if (buildCounterAccountShippingPostalCodeRange < 3) { |
381 unittest.expect(o.end, unittest.equals('foo')); | 381 unittest.expect(o.end, unittest.equals('foo')); |
382 unittest.expect(o.start, unittest.equals('foo')); | 382 unittest.expect(o.start, unittest.equals('foo')); |
383 } | 383 } |
384 buildCounterAccountShippingPostalCodeRange--; | 384 buildCounterAccountShippingPostalCodeRange--; |
385 } | 385 } |
386 | 386 |
387 buildUnnamed261() { | 387 buildUnnamed263() { |
388 var o = new core.List<api.AccountShippingRateTableCell>(); | 388 var o = new core.List<api.AccountShippingRateTableCell>(); |
389 o.add(buildAccountShippingRateTableCell()); | 389 o.add(buildAccountShippingRateTableCell()); |
390 o.add(buildAccountShippingRateTableCell()); | 390 o.add(buildAccountShippingRateTableCell()); |
391 return o; | 391 return o; |
392 } | 392 } |
393 | 393 |
394 checkUnnamed261(core.List<api.AccountShippingRateTableCell> o) { | 394 checkUnnamed263(core.List<api.AccountShippingRateTableCell> o) { |
395 unittest.expect(o, unittest.hasLength(2)); | 395 unittest.expect(o, unittest.hasLength(2)); |
396 checkAccountShippingRateTableCell(o[0]); | 396 checkAccountShippingRateTableCell(o[0]); |
397 checkAccountShippingRateTableCell(o[1]); | 397 checkAccountShippingRateTableCell(o[1]); |
398 } | 398 } |
399 | 399 |
400 core.int buildCounterAccountShippingRateTable = 0; | 400 core.int buildCounterAccountShippingRateTable = 0; |
401 buildAccountShippingRateTable() { | 401 buildAccountShippingRateTable() { |
402 var o = new api.AccountShippingRateTable(); | 402 var o = new api.AccountShippingRateTable(); |
403 buildCounterAccountShippingRateTable++; | 403 buildCounterAccountShippingRateTable++; |
404 if (buildCounterAccountShippingRateTable < 3) { | 404 if (buildCounterAccountShippingRateTable < 3) { |
405 o.content = buildUnnamed261(); | 405 o.content = buildUnnamed263(); |
406 o.name = "foo"; | 406 o.name = "foo"; |
407 o.saleCountry = "foo"; | 407 o.saleCountry = "foo"; |
408 } | 408 } |
409 buildCounterAccountShippingRateTable--; | 409 buildCounterAccountShippingRateTable--; |
410 return o; | 410 return o; |
411 } | 411 } |
412 | 412 |
413 checkAccountShippingRateTable(api.AccountShippingRateTable o) { | 413 checkAccountShippingRateTable(api.AccountShippingRateTable o) { |
414 buildCounterAccountShippingRateTable++; | 414 buildCounterAccountShippingRateTable++; |
415 if (buildCounterAccountShippingRateTable < 3) { | 415 if (buildCounterAccountShippingRateTable < 3) { |
416 checkUnnamed261(o.content); | 416 checkUnnamed263(o.content); |
417 unittest.expect(o.name, unittest.equals('foo')); | 417 unittest.expect(o.name, unittest.equals('foo')); |
418 unittest.expect(o.saleCountry, unittest.equals('foo')); | 418 unittest.expect(o.saleCountry, unittest.equals('foo')); |
419 } | 419 } |
420 buildCounterAccountShippingRateTable--; | 420 buildCounterAccountShippingRateTable--; |
421 } | 421 } |
422 | 422 |
423 core.int buildCounterAccountShippingRateTableCell = 0; | 423 core.int buildCounterAccountShippingRateTableCell = 0; |
424 buildAccountShippingRateTableCell() { | 424 buildAccountShippingRateTableCell() { |
425 var o = new api.AccountShippingRateTableCell(); | 425 var o = new api.AccountShippingRateTableCell(); |
426 buildCounterAccountShippingRateTableCell++; | 426 buildCounterAccountShippingRateTableCell++; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { | 492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { |
493 unittest.expect(o.carrierRate, unittest.equals('foo')); | 493 unittest.expect(o.carrierRate, unittest.equals('foo')); |
494 unittest.expect(o.excluded, unittest.isTrue); | 494 unittest.expect(o.excluded, unittest.isTrue); |
495 checkPrice(o.flatRate); | 495 checkPrice(o.flatRate); |
496 unittest.expect(o.percentageRate, unittest.equals('foo')); | 496 unittest.expect(o.percentageRate, unittest.equals('foo')); |
497 unittest.expect(o.rateTable, unittest.equals('foo')); | 497 unittest.expect(o.rateTable, unittest.equals('foo')); |
498 } | 498 } |
499 buildCounterAccountShippingShippingServiceCalculationMethod--; | 499 buildCounterAccountShippingShippingServiceCalculationMethod--; |
500 } | 500 } |
501 | 501 |
502 buildUnnamed262() { | 502 buildUnnamed264() { |
503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); | 503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); |
504 o.add(buildAccountShippingShippingServiceCostRule()); | 504 o.add(buildAccountShippingShippingServiceCostRule()); |
505 o.add(buildAccountShippingShippingServiceCostRule()); | 505 o.add(buildAccountShippingShippingServiceCostRule()); |
506 return o; | 506 return o; |
507 } | 507 } |
508 | 508 |
509 checkUnnamed262(core.List<api.AccountShippingShippingServiceCostRule> o) { | 509 checkUnnamed264(core.List<api.AccountShippingShippingServiceCostRule> o) { |
510 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
511 checkAccountShippingShippingServiceCostRule(o[0]); | 511 checkAccountShippingShippingServiceCostRule(o[0]); |
512 checkAccountShippingShippingServiceCostRule(o[1]); | 512 checkAccountShippingShippingServiceCostRule(o[1]); |
513 } | 513 } |
514 | 514 |
515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; | 515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; |
516 buildAccountShippingShippingServiceCostRule() { | 516 buildAccountShippingShippingServiceCostRule() { |
517 var o = new api.AccountShippingShippingServiceCostRule(); | 517 var o = new api.AccountShippingShippingServiceCostRule(); |
518 buildCounterAccountShippingShippingServiceCostRule++; | 518 buildCounterAccountShippingShippingServiceCostRule++; |
519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; | 520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; |
521 o.children = buildUnnamed262(); | 521 o.children = buildUnnamed264(); |
522 o.condition = buildAccountShippingCondition(); | 522 o.condition = buildAccountShippingCondition(); |
523 } | 523 } |
524 buildCounterAccountShippingShippingServiceCostRule--; | 524 buildCounterAccountShippingShippingServiceCostRule--; |
525 return o; | 525 return o; |
526 } | 526 } |
527 | 527 |
528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { | 528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { |
529 buildCounterAccountShippingShippingServiceCostRule++; | 529 buildCounterAccountShippingShippingServiceCostRule++; |
530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); | 531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); |
532 checkUnnamed262(o.children); | 532 checkUnnamed264(o.children); |
533 checkAccountShippingCondition(o.condition); | 533 checkAccountShippingCondition(o.condition); |
534 } | 534 } |
535 buildCounterAccountShippingShippingServiceCostRule--; | 535 buildCounterAccountShippingShippingServiceCostRule--; |
536 } | 536 } |
537 | 537 |
538 buildUnnamed263() { | 538 buildUnnamed265() { |
539 var o = new core.List<api.AccountStatusDataQualityIssue>(); | 539 var o = new core.List<api.AccountStatusDataQualityIssue>(); |
540 o.add(buildAccountStatusDataQualityIssue()); | 540 o.add(buildAccountStatusDataQualityIssue()); |
541 o.add(buildAccountStatusDataQualityIssue()); | 541 o.add(buildAccountStatusDataQualityIssue()); |
542 return o; | 542 return o; |
543 } | 543 } |
544 | 544 |
545 checkUnnamed263(core.List<api.AccountStatusDataQualityIssue> o) { | 545 checkUnnamed265(core.List<api.AccountStatusDataQualityIssue> o) { |
546 unittest.expect(o, unittest.hasLength(2)); | 546 unittest.expect(o, unittest.hasLength(2)); |
547 checkAccountStatusDataQualityIssue(o[0]); | 547 checkAccountStatusDataQualityIssue(o[0]); |
548 checkAccountStatusDataQualityIssue(o[1]); | 548 checkAccountStatusDataQualityIssue(o[1]); |
549 } | 549 } |
550 | 550 |
551 core.int buildCounterAccountStatus = 0; | 551 core.int buildCounterAccountStatus = 0; |
552 buildAccountStatus() { | 552 buildAccountStatus() { |
553 var o = new api.AccountStatus(); | 553 var o = new api.AccountStatus(); |
554 buildCounterAccountStatus++; | 554 buildCounterAccountStatus++; |
555 if (buildCounterAccountStatus < 3) { | 555 if (buildCounterAccountStatus < 3) { |
556 o.accountId = "foo"; | 556 o.accountId = "foo"; |
557 o.dataQualityIssues = buildUnnamed263(); | 557 o.dataQualityIssues = buildUnnamed265(); |
558 o.kind = "foo"; | 558 o.kind = "foo"; |
559 } | 559 } |
560 buildCounterAccountStatus--; | 560 buildCounterAccountStatus--; |
561 return o; | 561 return o; |
562 } | 562 } |
563 | 563 |
564 checkAccountStatus(api.AccountStatus o) { | 564 checkAccountStatus(api.AccountStatus o) { |
565 buildCounterAccountStatus++; | 565 buildCounterAccountStatus++; |
566 if (buildCounterAccountStatus < 3) { | 566 if (buildCounterAccountStatus < 3) { |
567 unittest.expect(o.accountId, unittest.equals('foo')); | 567 unittest.expect(o.accountId, unittest.equals('foo')); |
568 checkUnnamed263(o.dataQualityIssues); | 568 checkUnnamed265(o.dataQualityIssues); |
569 unittest.expect(o.kind, unittest.equals('foo')); | 569 unittest.expect(o.kind, unittest.equals('foo')); |
570 } | 570 } |
571 buildCounterAccountStatus--; | 571 buildCounterAccountStatus--; |
572 } | 572 } |
573 | 573 |
574 buildUnnamed264() { | 574 buildUnnamed266() { |
575 var o = new core.List<api.AccountStatusExampleItem>(); | 575 var o = new core.List<api.AccountStatusExampleItem>(); |
576 o.add(buildAccountStatusExampleItem()); | 576 o.add(buildAccountStatusExampleItem()); |
577 o.add(buildAccountStatusExampleItem()); | 577 o.add(buildAccountStatusExampleItem()); |
578 return o; | 578 return o; |
579 } | 579 } |
580 | 580 |
581 checkUnnamed264(core.List<api.AccountStatusExampleItem> o) { | 581 checkUnnamed266(core.List<api.AccountStatusExampleItem> o) { |
582 unittest.expect(o, unittest.hasLength(2)); | 582 unittest.expect(o, unittest.hasLength(2)); |
583 checkAccountStatusExampleItem(o[0]); | 583 checkAccountStatusExampleItem(o[0]); |
584 checkAccountStatusExampleItem(o[1]); | 584 checkAccountStatusExampleItem(o[1]); |
585 } | 585 } |
586 | 586 |
587 core.int buildCounterAccountStatusDataQualityIssue = 0; | 587 core.int buildCounterAccountStatusDataQualityIssue = 0; |
588 buildAccountStatusDataQualityIssue() { | 588 buildAccountStatusDataQualityIssue() { |
589 var o = new api.AccountStatusDataQualityIssue(); | 589 var o = new api.AccountStatusDataQualityIssue(); |
590 buildCounterAccountStatusDataQualityIssue++; | 590 buildCounterAccountStatusDataQualityIssue++; |
591 if (buildCounterAccountStatusDataQualityIssue < 3) { | 591 if (buildCounterAccountStatusDataQualityIssue < 3) { |
592 o.country = "foo"; | 592 o.country = "foo"; |
| 593 o.detail = "foo"; |
593 o.displayedValue = "foo"; | 594 o.displayedValue = "foo"; |
594 o.exampleItems = buildUnnamed264(); | 595 o.exampleItems = buildUnnamed266(); |
595 o.id = "foo"; | 596 o.id = "foo"; |
596 o.lastChecked = "foo"; | 597 o.lastChecked = "foo"; |
| 598 o.location = "foo"; |
597 o.numItems = 42; | 599 o.numItems = 42; |
598 o.severity = "foo"; | 600 o.severity = "foo"; |
599 o.submittedValue = "foo"; | 601 o.submittedValue = "foo"; |
600 } | 602 } |
601 buildCounterAccountStatusDataQualityIssue--; | 603 buildCounterAccountStatusDataQualityIssue--; |
602 return o; | 604 return o; |
603 } | 605 } |
604 | 606 |
605 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { | 607 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { |
606 buildCounterAccountStatusDataQualityIssue++; | 608 buildCounterAccountStatusDataQualityIssue++; |
607 if (buildCounterAccountStatusDataQualityIssue < 3) { | 609 if (buildCounterAccountStatusDataQualityIssue < 3) { |
608 unittest.expect(o.country, unittest.equals('foo')); | 610 unittest.expect(o.country, unittest.equals('foo')); |
| 611 unittest.expect(o.detail, unittest.equals('foo')); |
609 unittest.expect(o.displayedValue, unittest.equals('foo')); | 612 unittest.expect(o.displayedValue, unittest.equals('foo')); |
610 checkUnnamed264(o.exampleItems); | 613 checkUnnamed266(o.exampleItems); |
611 unittest.expect(o.id, unittest.equals('foo')); | 614 unittest.expect(o.id, unittest.equals('foo')); |
612 unittest.expect(o.lastChecked, unittest.equals('foo')); | 615 unittest.expect(o.lastChecked, unittest.equals('foo')); |
| 616 unittest.expect(o.location, unittest.equals('foo')); |
613 unittest.expect(o.numItems, unittest.equals(42)); | 617 unittest.expect(o.numItems, unittest.equals(42)); |
614 unittest.expect(o.severity, unittest.equals('foo')); | 618 unittest.expect(o.severity, unittest.equals('foo')); |
615 unittest.expect(o.submittedValue, unittest.equals('foo')); | 619 unittest.expect(o.submittedValue, unittest.equals('foo')); |
616 } | 620 } |
617 buildCounterAccountStatusDataQualityIssue--; | 621 buildCounterAccountStatusDataQualityIssue--; |
618 } | 622 } |
619 | 623 |
620 core.int buildCounterAccountStatusExampleItem = 0; | 624 core.int buildCounterAccountStatusExampleItem = 0; |
621 buildAccountStatusExampleItem() { | 625 buildAccountStatusExampleItem() { |
622 var o = new api.AccountStatusExampleItem(); | 626 var o = new api.AccountStatusExampleItem(); |
(...skipping 14 matching lines...) Expand all Loading... |
637 if (buildCounterAccountStatusExampleItem < 3) { | 641 if (buildCounterAccountStatusExampleItem < 3) { |
638 unittest.expect(o.itemId, unittest.equals('foo')); | 642 unittest.expect(o.itemId, unittest.equals('foo')); |
639 unittest.expect(o.link, unittest.equals('foo')); | 643 unittest.expect(o.link, unittest.equals('foo')); |
640 unittest.expect(o.submittedValue, unittest.equals('foo')); | 644 unittest.expect(o.submittedValue, unittest.equals('foo')); |
641 unittest.expect(o.title, unittest.equals('foo')); | 645 unittest.expect(o.title, unittest.equals('foo')); |
642 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); | 646 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); |
643 } | 647 } |
644 buildCounterAccountStatusExampleItem--; | 648 buildCounterAccountStatusExampleItem--; |
645 } | 649 } |
646 | 650 |
647 buildUnnamed265() { | 651 buildUnnamed267() { |
648 var o = new core.List<api.AccountTaxTaxRule>(); | 652 var o = new core.List<api.AccountTaxTaxRule>(); |
649 o.add(buildAccountTaxTaxRule()); | 653 o.add(buildAccountTaxTaxRule()); |
650 o.add(buildAccountTaxTaxRule()); | 654 o.add(buildAccountTaxTaxRule()); |
651 return o; | 655 return o; |
652 } | 656 } |
653 | 657 |
654 checkUnnamed265(core.List<api.AccountTaxTaxRule> o) { | 658 checkUnnamed267(core.List<api.AccountTaxTaxRule> o) { |
655 unittest.expect(o, unittest.hasLength(2)); | 659 unittest.expect(o, unittest.hasLength(2)); |
656 checkAccountTaxTaxRule(o[0]); | 660 checkAccountTaxTaxRule(o[0]); |
657 checkAccountTaxTaxRule(o[1]); | 661 checkAccountTaxTaxRule(o[1]); |
658 } | 662 } |
659 | 663 |
660 core.int buildCounterAccountTax = 0; | 664 core.int buildCounterAccountTax = 0; |
661 buildAccountTax() { | 665 buildAccountTax() { |
662 var o = new api.AccountTax(); | 666 var o = new api.AccountTax(); |
663 buildCounterAccountTax++; | 667 buildCounterAccountTax++; |
664 if (buildCounterAccountTax < 3) { | 668 if (buildCounterAccountTax < 3) { |
665 o.accountId = "foo"; | 669 o.accountId = "foo"; |
666 o.kind = "foo"; | 670 o.kind = "foo"; |
667 o.rules = buildUnnamed265(); | 671 o.rules = buildUnnamed267(); |
668 } | 672 } |
669 buildCounterAccountTax--; | 673 buildCounterAccountTax--; |
670 return o; | 674 return o; |
671 } | 675 } |
672 | 676 |
673 checkAccountTax(api.AccountTax o) { | 677 checkAccountTax(api.AccountTax o) { |
674 buildCounterAccountTax++; | 678 buildCounterAccountTax++; |
675 if (buildCounterAccountTax < 3) { | 679 if (buildCounterAccountTax < 3) { |
676 unittest.expect(o.accountId, unittest.equals('foo')); | 680 unittest.expect(o.accountId, unittest.equals('foo')); |
677 unittest.expect(o.kind, unittest.equals('foo')); | 681 unittest.expect(o.kind, unittest.equals('foo')); |
678 checkUnnamed265(o.rules); | 682 checkUnnamed267(o.rules); |
679 } | 683 } |
680 buildCounterAccountTax--; | 684 buildCounterAccountTax--; |
681 } | 685 } |
682 | 686 |
683 core.int buildCounterAccountTaxTaxRule = 0; | 687 core.int buildCounterAccountTaxTaxRule = 0; |
684 buildAccountTaxTaxRule() { | 688 buildAccountTaxTaxRule() { |
685 var o = new api.AccountTaxTaxRule(); | 689 var o = new api.AccountTaxTaxRule(); |
686 buildCounterAccountTaxTaxRule++; | 690 buildCounterAccountTaxTaxRule++; |
687 if (buildCounterAccountTaxTaxRule < 3) { | 691 if (buildCounterAccountTaxTaxRule < 3) { |
688 o.country = "foo"; | 692 o.country = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 | 725 |
722 checkAccountUser(api.AccountUser o) { | 726 checkAccountUser(api.AccountUser o) { |
723 buildCounterAccountUser++; | 727 buildCounterAccountUser++; |
724 if (buildCounterAccountUser < 3) { | 728 if (buildCounterAccountUser < 3) { |
725 unittest.expect(o.admin, unittest.isTrue); | 729 unittest.expect(o.admin, unittest.isTrue); |
726 unittest.expect(o.emailAddress, unittest.equals('foo')); | 730 unittest.expect(o.emailAddress, unittest.equals('foo')); |
727 } | 731 } |
728 buildCounterAccountUser--; | 732 buildCounterAccountUser--; |
729 } | 733 } |
730 | 734 |
731 buildUnnamed266() { | 735 buildUnnamed268() { |
732 var o = new core.List<api.AccountIdentifier>(); | 736 var o = new core.List<api.AccountIdentifier>(); |
733 o.add(buildAccountIdentifier()); | 737 o.add(buildAccountIdentifier()); |
734 o.add(buildAccountIdentifier()); | 738 o.add(buildAccountIdentifier()); |
735 return o; | 739 return o; |
736 } | 740 } |
737 | 741 |
738 checkUnnamed266(core.List<api.AccountIdentifier> o) { | 742 checkUnnamed268(core.List<api.AccountIdentifier> o) { |
739 unittest.expect(o, unittest.hasLength(2)); | 743 unittest.expect(o, unittest.hasLength(2)); |
740 checkAccountIdentifier(o[0]); | 744 checkAccountIdentifier(o[0]); |
741 checkAccountIdentifier(o[1]); | 745 checkAccountIdentifier(o[1]); |
742 } | 746 } |
743 | 747 |
744 core.int buildCounterAccountsAuthInfoResponse = 0; | 748 core.int buildCounterAccountsAuthInfoResponse = 0; |
745 buildAccountsAuthInfoResponse() { | 749 buildAccountsAuthInfoResponse() { |
746 var o = new api.AccountsAuthInfoResponse(); | 750 var o = new api.AccountsAuthInfoResponse(); |
747 buildCounterAccountsAuthInfoResponse++; | 751 buildCounterAccountsAuthInfoResponse++; |
748 if (buildCounterAccountsAuthInfoResponse < 3) { | 752 if (buildCounterAccountsAuthInfoResponse < 3) { |
749 o.accountIdentifiers = buildUnnamed266(); | 753 o.accountIdentifiers = buildUnnamed268(); |
750 o.kind = "foo"; | 754 o.kind = "foo"; |
751 } | 755 } |
752 buildCounterAccountsAuthInfoResponse--; | 756 buildCounterAccountsAuthInfoResponse--; |
753 return o; | 757 return o; |
754 } | 758 } |
755 | 759 |
756 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { | 760 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { |
757 buildCounterAccountsAuthInfoResponse++; | 761 buildCounterAccountsAuthInfoResponse++; |
758 if (buildCounterAccountsAuthInfoResponse < 3) { | 762 if (buildCounterAccountsAuthInfoResponse < 3) { |
759 checkUnnamed266(o.accountIdentifiers); | 763 checkUnnamed268(o.accountIdentifiers); |
760 unittest.expect(o.kind, unittest.equals('foo')); | 764 unittest.expect(o.kind, unittest.equals('foo')); |
761 } | 765 } |
762 buildCounterAccountsAuthInfoResponse--; | 766 buildCounterAccountsAuthInfoResponse--; |
763 } | 767 } |
764 | 768 |
765 buildUnnamed267() { | 769 buildUnnamed269() { |
766 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); | 770 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); |
767 o.add(buildAccountsCustomBatchRequestEntry()); | 771 o.add(buildAccountsCustomBatchRequestEntry()); |
768 o.add(buildAccountsCustomBatchRequestEntry()); | 772 o.add(buildAccountsCustomBatchRequestEntry()); |
769 return o; | 773 return o; |
770 } | 774 } |
771 | 775 |
772 checkUnnamed267(core.List<api.AccountsCustomBatchRequestEntry> o) { | 776 checkUnnamed269(core.List<api.AccountsCustomBatchRequestEntry> o) { |
773 unittest.expect(o, unittest.hasLength(2)); | 777 unittest.expect(o, unittest.hasLength(2)); |
774 checkAccountsCustomBatchRequestEntry(o[0]); | 778 checkAccountsCustomBatchRequestEntry(o[0]); |
775 checkAccountsCustomBatchRequestEntry(o[1]); | 779 checkAccountsCustomBatchRequestEntry(o[1]); |
776 } | 780 } |
777 | 781 |
778 core.int buildCounterAccountsCustomBatchRequest = 0; | 782 core.int buildCounterAccountsCustomBatchRequest = 0; |
779 buildAccountsCustomBatchRequest() { | 783 buildAccountsCustomBatchRequest() { |
780 var o = new api.AccountsCustomBatchRequest(); | 784 var o = new api.AccountsCustomBatchRequest(); |
781 buildCounterAccountsCustomBatchRequest++; | 785 buildCounterAccountsCustomBatchRequest++; |
782 if (buildCounterAccountsCustomBatchRequest < 3) { | 786 if (buildCounterAccountsCustomBatchRequest < 3) { |
783 o.entries = buildUnnamed267(); | 787 o.entries = buildUnnamed269(); |
784 } | 788 } |
785 buildCounterAccountsCustomBatchRequest--; | 789 buildCounterAccountsCustomBatchRequest--; |
786 return o; | 790 return o; |
787 } | 791 } |
788 | 792 |
789 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { | 793 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { |
790 buildCounterAccountsCustomBatchRequest++; | 794 buildCounterAccountsCustomBatchRequest++; |
791 if (buildCounterAccountsCustomBatchRequest < 3) { | 795 if (buildCounterAccountsCustomBatchRequest < 3) { |
792 checkUnnamed267(o.entries); | 796 checkUnnamed269(o.entries); |
793 } | 797 } |
794 buildCounterAccountsCustomBatchRequest--; | 798 buildCounterAccountsCustomBatchRequest--; |
795 } | 799 } |
796 | 800 |
797 core.int buildCounterAccountsCustomBatchRequestEntry = 0; | 801 core.int buildCounterAccountsCustomBatchRequestEntry = 0; |
798 buildAccountsCustomBatchRequestEntry() { | 802 buildAccountsCustomBatchRequestEntry() { |
799 var o = new api.AccountsCustomBatchRequestEntry(); | 803 var o = new api.AccountsCustomBatchRequestEntry(); |
800 buildCounterAccountsCustomBatchRequestEntry++; | 804 buildCounterAccountsCustomBatchRequestEntry++; |
801 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 805 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
802 o.account = buildAccount(); | 806 o.account = buildAccount(); |
(...skipping 11 matching lines...) Expand all Loading... |
814 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 818 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
815 checkAccount(o.account); | 819 checkAccount(o.account); |
816 unittest.expect(o.accountId, unittest.equals('foo')); | 820 unittest.expect(o.accountId, unittest.equals('foo')); |
817 unittest.expect(o.batchId, unittest.equals(42)); | 821 unittest.expect(o.batchId, unittest.equals(42)); |
818 unittest.expect(o.merchantId, unittest.equals('foo')); | 822 unittest.expect(o.merchantId, unittest.equals('foo')); |
819 unittest.expect(o.method, unittest.equals('foo')); | 823 unittest.expect(o.method, unittest.equals('foo')); |
820 } | 824 } |
821 buildCounterAccountsCustomBatchRequestEntry--; | 825 buildCounterAccountsCustomBatchRequestEntry--; |
822 } | 826 } |
823 | 827 |
824 buildUnnamed268() { | 828 buildUnnamed270() { |
825 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); | 829 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); |
826 o.add(buildAccountsCustomBatchResponseEntry()); | 830 o.add(buildAccountsCustomBatchResponseEntry()); |
827 o.add(buildAccountsCustomBatchResponseEntry()); | 831 o.add(buildAccountsCustomBatchResponseEntry()); |
828 return o; | 832 return o; |
829 } | 833 } |
830 | 834 |
831 checkUnnamed268(core.List<api.AccountsCustomBatchResponseEntry> o) { | 835 checkUnnamed270(core.List<api.AccountsCustomBatchResponseEntry> o) { |
832 unittest.expect(o, unittest.hasLength(2)); | 836 unittest.expect(o, unittest.hasLength(2)); |
833 checkAccountsCustomBatchResponseEntry(o[0]); | 837 checkAccountsCustomBatchResponseEntry(o[0]); |
834 checkAccountsCustomBatchResponseEntry(o[1]); | 838 checkAccountsCustomBatchResponseEntry(o[1]); |
835 } | 839 } |
836 | 840 |
837 core.int buildCounterAccountsCustomBatchResponse = 0; | 841 core.int buildCounterAccountsCustomBatchResponse = 0; |
838 buildAccountsCustomBatchResponse() { | 842 buildAccountsCustomBatchResponse() { |
839 var o = new api.AccountsCustomBatchResponse(); | 843 var o = new api.AccountsCustomBatchResponse(); |
840 buildCounterAccountsCustomBatchResponse++; | 844 buildCounterAccountsCustomBatchResponse++; |
841 if (buildCounterAccountsCustomBatchResponse < 3) { | 845 if (buildCounterAccountsCustomBatchResponse < 3) { |
842 o.entries = buildUnnamed268(); | 846 o.entries = buildUnnamed270(); |
843 o.kind = "foo"; | 847 o.kind = "foo"; |
844 } | 848 } |
845 buildCounterAccountsCustomBatchResponse--; | 849 buildCounterAccountsCustomBatchResponse--; |
846 return o; | 850 return o; |
847 } | 851 } |
848 | 852 |
849 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { | 853 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { |
850 buildCounterAccountsCustomBatchResponse++; | 854 buildCounterAccountsCustomBatchResponse++; |
851 if (buildCounterAccountsCustomBatchResponse < 3) { | 855 if (buildCounterAccountsCustomBatchResponse < 3) { |
852 checkUnnamed268(o.entries); | 856 checkUnnamed270(o.entries); |
853 unittest.expect(o.kind, unittest.equals('foo')); | 857 unittest.expect(o.kind, unittest.equals('foo')); |
854 } | 858 } |
855 buildCounterAccountsCustomBatchResponse--; | 859 buildCounterAccountsCustomBatchResponse--; |
856 } | 860 } |
857 | 861 |
858 core.int buildCounterAccountsCustomBatchResponseEntry = 0; | 862 core.int buildCounterAccountsCustomBatchResponseEntry = 0; |
859 buildAccountsCustomBatchResponseEntry() { | 863 buildAccountsCustomBatchResponseEntry() { |
860 var o = new api.AccountsCustomBatchResponseEntry(); | 864 var o = new api.AccountsCustomBatchResponseEntry(); |
861 buildCounterAccountsCustomBatchResponseEntry++; | 865 buildCounterAccountsCustomBatchResponseEntry++; |
862 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 866 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
873 buildCounterAccountsCustomBatchResponseEntry++; | 877 buildCounterAccountsCustomBatchResponseEntry++; |
874 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 878 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
875 checkAccount(o.account); | 879 checkAccount(o.account); |
876 unittest.expect(o.batchId, unittest.equals(42)); | 880 unittest.expect(o.batchId, unittest.equals(42)); |
877 checkErrors(o.errors); | 881 checkErrors(o.errors); |
878 unittest.expect(o.kind, unittest.equals('foo')); | 882 unittest.expect(o.kind, unittest.equals('foo')); |
879 } | 883 } |
880 buildCounterAccountsCustomBatchResponseEntry--; | 884 buildCounterAccountsCustomBatchResponseEntry--; |
881 } | 885 } |
882 | 886 |
883 buildUnnamed269() { | 887 buildUnnamed271() { |
884 var o = new core.List<api.Account>(); | 888 var o = new core.List<api.Account>(); |
885 o.add(buildAccount()); | 889 o.add(buildAccount()); |
886 o.add(buildAccount()); | 890 o.add(buildAccount()); |
887 return o; | 891 return o; |
888 } | 892 } |
889 | 893 |
890 checkUnnamed269(core.List<api.Account> o) { | 894 checkUnnamed271(core.List<api.Account> o) { |
891 unittest.expect(o, unittest.hasLength(2)); | 895 unittest.expect(o, unittest.hasLength(2)); |
892 checkAccount(o[0]); | 896 checkAccount(o[0]); |
893 checkAccount(o[1]); | 897 checkAccount(o[1]); |
894 } | 898 } |
895 | 899 |
896 core.int buildCounterAccountsListResponse = 0; | 900 core.int buildCounterAccountsListResponse = 0; |
897 buildAccountsListResponse() { | 901 buildAccountsListResponse() { |
898 var o = new api.AccountsListResponse(); | 902 var o = new api.AccountsListResponse(); |
899 buildCounterAccountsListResponse++; | 903 buildCounterAccountsListResponse++; |
900 if (buildCounterAccountsListResponse < 3) { | 904 if (buildCounterAccountsListResponse < 3) { |
901 o.kind = "foo"; | 905 o.kind = "foo"; |
902 o.nextPageToken = "foo"; | 906 o.nextPageToken = "foo"; |
903 o.resources = buildUnnamed269(); | 907 o.resources = buildUnnamed271(); |
904 } | 908 } |
905 buildCounterAccountsListResponse--; | 909 buildCounterAccountsListResponse--; |
906 return o; | 910 return o; |
907 } | 911 } |
908 | 912 |
909 checkAccountsListResponse(api.AccountsListResponse o) { | 913 checkAccountsListResponse(api.AccountsListResponse o) { |
910 buildCounterAccountsListResponse++; | 914 buildCounterAccountsListResponse++; |
911 if (buildCounterAccountsListResponse < 3) { | 915 if (buildCounterAccountsListResponse < 3) { |
912 unittest.expect(o.kind, unittest.equals('foo')); | 916 unittest.expect(o.kind, unittest.equals('foo')); |
913 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 917 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
914 checkUnnamed269(o.resources); | 918 checkUnnamed271(o.resources); |
915 } | 919 } |
916 buildCounterAccountsListResponse--; | 920 buildCounterAccountsListResponse--; |
917 } | 921 } |
918 | 922 |
919 buildUnnamed270() { | 923 buildUnnamed272() { |
920 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); | 924 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); |
921 o.add(buildAccountshippingCustomBatchRequestEntry()); | 925 o.add(buildAccountshippingCustomBatchRequestEntry()); |
922 o.add(buildAccountshippingCustomBatchRequestEntry()); | 926 o.add(buildAccountshippingCustomBatchRequestEntry()); |
923 return o; | 927 return o; |
924 } | 928 } |
925 | 929 |
926 checkUnnamed270(core.List<api.AccountshippingCustomBatchRequestEntry> o) { | 930 checkUnnamed272(core.List<api.AccountshippingCustomBatchRequestEntry> o) { |
927 unittest.expect(o, unittest.hasLength(2)); | 931 unittest.expect(o, unittest.hasLength(2)); |
928 checkAccountshippingCustomBatchRequestEntry(o[0]); | 932 checkAccountshippingCustomBatchRequestEntry(o[0]); |
929 checkAccountshippingCustomBatchRequestEntry(o[1]); | 933 checkAccountshippingCustomBatchRequestEntry(o[1]); |
930 } | 934 } |
931 | 935 |
932 core.int buildCounterAccountshippingCustomBatchRequest = 0; | 936 core.int buildCounterAccountshippingCustomBatchRequest = 0; |
933 buildAccountshippingCustomBatchRequest() { | 937 buildAccountshippingCustomBatchRequest() { |
934 var o = new api.AccountshippingCustomBatchRequest(); | 938 var o = new api.AccountshippingCustomBatchRequest(); |
935 buildCounterAccountshippingCustomBatchRequest++; | 939 buildCounterAccountshippingCustomBatchRequest++; |
936 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 940 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
937 o.entries = buildUnnamed270(); | 941 o.entries = buildUnnamed272(); |
938 } | 942 } |
939 buildCounterAccountshippingCustomBatchRequest--; | 943 buildCounterAccountshippingCustomBatchRequest--; |
940 return o; | 944 return o; |
941 } | 945 } |
942 | 946 |
943 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ | 947 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ |
944 buildCounterAccountshippingCustomBatchRequest++; | 948 buildCounterAccountshippingCustomBatchRequest++; |
945 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 949 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
946 checkUnnamed270(o.entries); | 950 checkUnnamed272(o.entries); |
947 } | 951 } |
948 buildCounterAccountshippingCustomBatchRequest--; | 952 buildCounterAccountshippingCustomBatchRequest--; |
949 } | 953 } |
950 | 954 |
951 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; | 955 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; |
952 buildAccountshippingCustomBatchRequestEntry() { | 956 buildAccountshippingCustomBatchRequestEntry() { |
953 var o = new api.AccountshippingCustomBatchRequestEntry(); | 957 var o = new api.AccountshippingCustomBatchRequestEntry(); |
954 buildCounterAccountshippingCustomBatchRequestEntry++; | 958 buildCounterAccountshippingCustomBatchRequestEntry++; |
955 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 959 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
956 o.accountId = "foo"; | 960 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
968 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 972 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
969 unittest.expect(o.accountId, unittest.equals('foo')); | 973 unittest.expect(o.accountId, unittest.equals('foo')); |
970 checkAccountShipping(o.accountShipping); | 974 checkAccountShipping(o.accountShipping); |
971 unittest.expect(o.batchId, unittest.equals(42)); | 975 unittest.expect(o.batchId, unittest.equals(42)); |
972 unittest.expect(o.merchantId, unittest.equals('foo')); | 976 unittest.expect(o.merchantId, unittest.equals('foo')); |
973 unittest.expect(o.method, unittest.equals('foo')); | 977 unittest.expect(o.method, unittest.equals('foo')); |
974 } | 978 } |
975 buildCounterAccountshippingCustomBatchRequestEntry--; | 979 buildCounterAccountshippingCustomBatchRequestEntry--; |
976 } | 980 } |
977 | 981 |
978 buildUnnamed271() { | 982 buildUnnamed273() { |
979 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); | 983 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); |
980 o.add(buildAccountshippingCustomBatchResponseEntry()); | 984 o.add(buildAccountshippingCustomBatchResponseEntry()); |
981 o.add(buildAccountshippingCustomBatchResponseEntry()); | 985 o.add(buildAccountshippingCustomBatchResponseEntry()); |
982 return o; | 986 return o; |
983 } | 987 } |
984 | 988 |
985 checkUnnamed271(core.List<api.AccountshippingCustomBatchResponseEntry> o) { | 989 checkUnnamed273(core.List<api.AccountshippingCustomBatchResponseEntry> o) { |
986 unittest.expect(o, unittest.hasLength(2)); | 990 unittest.expect(o, unittest.hasLength(2)); |
987 checkAccountshippingCustomBatchResponseEntry(o[0]); | 991 checkAccountshippingCustomBatchResponseEntry(o[0]); |
988 checkAccountshippingCustomBatchResponseEntry(o[1]); | 992 checkAccountshippingCustomBatchResponseEntry(o[1]); |
989 } | 993 } |
990 | 994 |
991 core.int buildCounterAccountshippingCustomBatchResponse = 0; | 995 core.int buildCounterAccountshippingCustomBatchResponse = 0; |
992 buildAccountshippingCustomBatchResponse() { | 996 buildAccountshippingCustomBatchResponse() { |
993 var o = new api.AccountshippingCustomBatchResponse(); | 997 var o = new api.AccountshippingCustomBatchResponse(); |
994 buildCounterAccountshippingCustomBatchResponse++; | 998 buildCounterAccountshippingCustomBatchResponse++; |
995 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 999 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
996 o.entries = buildUnnamed271(); | 1000 o.entries = buildUnnamed273(); |
997 o.kind = "foo"; | 1001 o.kind = "foo"; |
998 } | 1002 } |
999 buildCounterAccountshippingCustomBatchResponse--; | 1003 buildCounterAccountshippingCustomBatchResponse--; |
1000 return o; | 1004 return o; |
1001 } | 1005 } |
1002 | 1006 |
1003 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { | 1007 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { |
1004 buildCounterAccountshippingCustomBatchResponse++; | 1008 buildCounterAccountshippingCustomBatchResponse++; |
1005 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 1009 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
1006 checkUnnamed271(o.entries); | 1010 checkUnnamed273(o.entries); |
1007 unittest.expect(o.kind, unittest.equals('foo')); | 1011 unittest.expect(o.kind, unittest.equals('foo')); |
1008 } | 1012 } |
1009 buildCounterAccountshippingCustomBatchResponse--; | 1013 buildCounterAccountshippingCustomBatchResponse--; |
1010 } | 1014 } |
1011 | 1015 |
1012 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; | 1016 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; |
1013 buildAccountshippingCustomBatchResponseEntry() { | 1017 buildAccountshippingCustomBatchResponseEntry() { |
1014 var o = new api.AccountshippingCustomBatchResponseEntry(); | 1018 var o = new api.AccountshippingCustomBatchResponseEntry(); |
1015 buildCounterAccountshippingCustomBatchResponseEntry++; | 1019 buildCounterAccountshippingCustomBatchResponseEntry++; |
1016 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1020 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1027 buildCounterAccountshippingCustomBatchResponseEntry++; | 1031 buildCounterAccountshippingCustomBatchResponseEntry++; |
1028 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1032 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
1029 checkAccountShipping(o.accountShipping); | 1033 checkAccountShipping(o.accountShipping); |
1030 unittest.expect(o.batchId, unittest.equals(42)); | 1034 unittest.expect(o.batchId, unittest.equals(42)); |
1031 checkErrors(o.errors); | 1035 checkErrors(o.errors); |
1032 unittest.expect(o.kind, unittest.equals('foo')); | 1036 unittest.expect(o.kind, unittest.equals('foo')); |
1033 } | 1037 } |
1034 buildCounterAccountshippingCustomBatchResponseEntry--; | 1038 buildCounterAccountshippingCustomBatchResponseEntry--; |
1035 } | 1039 } |
1036 | 1040 |
1037 buildUnnamed272() { | 1041 buildUnnamed274() { |
1038 var o = new core.List<api.AccountShipping>(); | 1042 var o = new core.List<api.AccountShipping>(); |
1039 o.add(buildAccountShipping()); | 1043 o.add(buildAccountShipping()); |
1040 o.add(buildAccountShipping()); | 1044 o.add(buildAccountShipping()); |
1041 return o; | 1045 return o; |
1042 } | 1046 } |
1043 | 1047 |
1044 checkUnnamed272(core.List<api.AccountShipping> o) { | 1048 checkUnnamed274(core.List<api.AccountShipping> o) { |
1045 unittest.expect(o, unittest.hasLength(2)); | 1049 unittest.expect(o, unittest.hasLength(2)); |
1046 checkAccountShipping(o[0]); | 1050 checkAccountShipping(o[0]); |
1047 checkAccountShipping(o[1]); | 1051 checkAccountShipping(o[1]); |
1048 } | 1052 } |
1049 | 1053 |
1050 core.int buildCounterAccountshippingListResponse = 0; | 1054 core.int buildCounterAccountshippingListResponse = 0; |
1051 buildAccountshippingListResponse() { | 1055 buildAccountshippingListResponse() { |
1052 var o = new api.AccountshippingListResponse(); | 1056 var o = new api.AccountshippingListResponse(); |
1053 buildCounterAccountshippingListResponse++; | 1057 buildCounterAccountshippingListResponse++; |
1054 if (buildCounterAccountshippingListResponse < 3) { | 1058 if (buildCounterAccountshippingListResponse < 3) { |
1055 o.kind = "foo"; | 1059 o.kind = "foo"; |
1056 o.nextPageToken = "foo"; | 1060 o.nextPageToken = "foo"; |
1057 o.resources = buildUnnamed272(); | 1061 o.resources = buildUnnamed274(); |
1058 } | 1062 } |
1059 buildCounterAccountshippingListResponse--; | 1063 buildCounterAccountshippingListResponse--; |
1060 return o; | 1064 return o; |
1061 } | 1065 } |
1062 | 1066 |
1063 checkAccountshippingListResponse(api.AccountshippingListResponse o) { | 1067 checkAccountshippingListResponse(api.AccountshippingListResponse o) { |
1064 buildCounterAccountshippingListResponse++; | 1068 buildCounterAccountshippingListResponse++; |
1065 if (buildCounterAccountshippingListResponse < 3) { | 1069 if (buildCounterAccountshippingListResponse < 3) { |
1066 unittest.expect(o.kind, unittest.equals('foo')); | 1070 unittest.expect(o.kind, unittest.equals('foo')); |
1067 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1071 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1068 checkUnnamed272(o.resources); | 1072 checkUnnamed274(o.resources); |
1069 } | 1073 } |
1070 buildCounterAccountshippingListResponse--; | 1074 buildCounterAccountshippingListResponse--; |
1071 } | 1075 } |
1072 | 1076 |
1073 buildUnnamed273() { | 1077 buildUnnamed275() { |
1074 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); | 1078 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); |
1075 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1079 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
1076 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1080 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
1077 return o; | 1081 return o; |
1078 } | 1082 } |
1079 | 1083 |
1080 checkUnnamed273(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { | 1084 checkUnnamed275(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { |
1081 unittest.expect(o, unittest.hasLength(2)); | 1085 unittest.expect(o, unittest.hasLength(2)); |
1082 checkAccountstatusesCustomBatchRequestEntry(o[0]); | 1086 checkAccountstatusesCustomBatchRequestEntry(o[0]); |
1083 checkAccountstatusesCustomBatchRequestEntry(o[1]); | 1087 checkAccountstatusesCustomBatchRequestEntry(o[1]); |
1084 } | 1088 } |
1085 | 1089 |
1086 core.int buildCounterAccountstatusesCustomBatchRequest = 0; | 1090 core.int buildCounterAccountstatusesCustomBatchRequest = 0; |
1087 buildAccountstatusesCustomBatchRequest() { | 1091 buildAccountstatusesCustomBatchRequest() { |
1088 var o = new api.AccountstatusesCustomBatchRequest(); | 1092 var o = new api.AccountstatusesCustomBatchRequest(); |
1089 buildCounterAccountstatusesCustomBatchRequest++; | 1093 buildCounterAccountstatusesCustomBatchRequest++; |
1090 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1094 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
1091 o.entries = buildUnnamed273(); | 1095 o.entries = buildUnnamed275(); |
1092 } | 1096 } |
1093 buildCounterAccountstatusesCustomBatchRequest--; | 1097 buildCounterAccountstatusesCustomBatchRequest--; |
1094 return o; | 1098 return o; |
1095 } | 1099 } |
1096 | 1100 |
1097 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ | 1101 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ |
1098 buildCounterAccountstatusesCustomBatchRequest++; | 1102 buildCounterAccountstatusesCustomBatchRequest++; |
1099 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1103 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
1100 checkUnnamed273(o.entries); | 1104 checkUnnamed275(o.entries); |
1101 } | 1105 } |
1102 buildCounterAccountstatusesCustomBatchRequest--; | 1106 buildCounterAccountstatusesCustomBatchRequest--; |
1103 } | 1107 } |
1104 | 1108 |
1105 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; | 1109 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; |
1106 buildAccountstatusesCustomBatchRequestEntry() { | 1110 buildAccountstatusesCustomBatchRequestEntry() { |
1107 var o = new api.AccountstatusesCustomBatchRequestEntry(); | 1111 var o = new api.AccountstatusesCustomBatchRequestEntry(); |
1108 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1112 buildCounterAccountstatusesCustomBatchRequestEntry++; |
1109 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1113 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
1110 o.accountId = "foo"; | 1114 o.accountId = "foo"; |
1111 o.batchId = 42; | 1115 o.batchId = 42; |
1112 o.merchantId = "foo"; | 1116 o.merchantId = "foo"; |
1113 o.method = "foo"; | 1117 o.method = "foo"; |
1114 } | 1118 } |
1115 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1119 buildCounterAccountstatusesCustomBatchRequestEntry--; |
1116 return o; | 1120 return o; |
1117 } | 1121 } |
1118 | 1122 |
1119 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { | 1123 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { |
1120 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1124 buildCounterAccountstatusesCustomBatchRequestEntry++; |
1121 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1125 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
1122 unittest.expect(o.accountId, unittest.equals('foo')); | 1126 unittest.expect(o.accountId, unittest.equals('foo')); |
1123 unittest.expect(o.batchId, unittest.equals(42)); | 1127 unittest.expect(o.batchId, unittest.equals(42)); |
1124 unittest.expect(o.merchantId, unittest.equals('foo')); | 1128 unittest.expect(o.merchantId, unittest.equals('foo')); |
1125 unittest.expect(o.method, unittest.equals('foo')); | 1129 unittest.expect(o.method, unittest.equals('foo')); |
1126 } | 1130 } |
1127 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1131 buildCounterAccountstatusesCustomBatchRequestEntry--; |
1128 } | 1132 } |
1129 | 1133 |
1130 buildUnnamed274() { | 1134 buildUnnamed276() { |
1131 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); | 1135 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); |
1132 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1136 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
1133 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1137 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
1134 return o; | 1138 return o; |
1135 } | 1139 } |
1136 | 1140 |
1137 checkUnnamed274(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { | 1141 checkUnnamed276(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { |
1138 unittest.expect(o, unittest.hasLength(2)); | 1142 unittest.expect(o, unittest.hasLength(2)); |
1139 checkAccountstatusesCustomBatchResponseEntry(o[0]); | 1143 checkAccountstatusesCustomBatchResponseEntry(o[0]); |
1140 checkAccountstatusesCustomBatchResponseEntry(o[1]); | 1144 checkAccountstatusesCustomBatchResponseEntry(o[1]); |
1141 } | 1145 } |
1142 | 1146 |
1143 core.int buildCounterAccountstatusesCustomBatchResponse = 0; | 1147 core.int buildCounterAccountstatusesCustomBatchResponse = 0; |
1144 buildAccountstatusesCustomBatchResponse() { | 1148 buildAccountstatusesCustomBatchResponse() { |
1145 var o = new api.AccountstatusesCustomBatchResponse(); | 1149 var o = new api.AccountstatusesCustomBatchResponse(); |
1146 buildCounterAccountstatusesCustomBatchResponse++; | 1150 buildCounterAccountstatusesCustomBatchResponse++; |
1147 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1151 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
1148 o.entries = buildUnnamed274(); | 1152 o.entries = buildUnnamed276(); |
1149 o.kind = "foo"; | 1153 o.kind = "foo"; |
1150 } | 1154 } |
1151 buildCounterAccountstatusesCustomBatchResponse--; | 1155 buildCounterAccountstatusesCustomBatchResponse--; |
1152 return o; | 1156 return o; |
1153 } | 1157 } |
1154 | 1158 |
1155 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { | 1159 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { |
1156 buildCounterAccountstatusesCustomBatchResponse++; | 1160 buildCounterAccountstatusesCustomBatchResponse++; |
1157 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1161 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
1158 checkUnnamed274(o.entries); | 1162 checkUnnamed276(o.entries); |
1159 unittest.expect(o.kind, unittest.equals('foo')); | 1163 unittest.expect(o.kind, unittest.equals('foo')); |
1160 } | 1164 } |
1161 buildCounterAccountstatusesCustomBatchResponse--; | 1165 buildCounterAccountstatusesCustomBatchResponse--; |
1162 } | 1166 } |
1163 | 1167 |
1164 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; | 1168 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; |
1165 buildAccountstatusesCustomBatchResponseEntry() { | 1169 buildAccountstatusesCustomBatchResponseEntry() { |
1166 var o = new api.AccountstatusesCustomBatchResponseEntry(); | 1170 var o = new api.AccountstatusesCustomBatchResponseEntry(); |
1167 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1171 buildCounterAccountstatusesCustomBatchResponseEntry++; |
1168 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1172 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
1169 o.accountStatus = buildAccountStatus(); | 1173 o.accountStatus = buildAccountStatus(); |
1170 o.batchId = 42; | 1174 o.batchId = 42; |
1171 o.errors = buildErrors(); | 1175 o.errors = buildErrors(); |
1172 } | 1176 } |
1173 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1177 buildCounterAccountstatusesCustomBatchResponseEntry--; |
1174 return o; | 1178 return o; |
1175 } | 1179 } |
1176 | 1180 |
1177 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { | 1181 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { |
1178 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1182 buildCounterAccountstatusesCustomBatchResponseEntry++; |
1179 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1183 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
1180 checkAccountStatus(o.accountStatus); | 1184 checkAccountStatus(o.accountStatus); |
1181 unittest.expect(o.batchId, unittest.equals(42)); | 1185 unittest.expect(o.batchId, unittest.equals(42)); |
1182 checkErrors(o.errors); | 1186 checkErrors(o.errors); |
1183 } | 1187 } |
1184 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1188 buildCounterAccountstatusesCustomBatchResponseEntry--; |
1185 } | 1189 } |
1186 | 1190 |
1187 buildUnnamed275() { | 1191 buildUnnamed277() { |
1188 var o = new core.List<api.AccountStatus>(); | 1192 var o = new core.List<api.AccountStatus>(); |
1189 o.add(buildAccountStatus()); | 1193 o.add(buildAccountStatus()); |
1190 o.add(buildAccountStatus()); | 1194 o.add(buildAccountStatus()); |
1191 return o; | 1195 return o; |
1192 } | 1196 } |
1193 | 1197 |
1194 checkUnnamed275(core.List<api.AccountStatus> o) { | 1198 checkUnnamed277(core.List<api.AccountStatus> o) { |
1195 unittest.expect(o, unittest.hasLength(2)); | 1199 unittest.expect(o, unittest.hasLength(2)); |
1196 checkAccountStatus(o[0]); | 1200 checkAccountStatus(o[0]); |
1197 checkAccountStatus(o[1]); | 1201 checkAccountStatus(o[1]); |
1198 } | 1202 } |
1199 | 1203 |
1200 core.int buildCounterAccountstatusesListResponse = 0; | 1204 core.int buildCounterAccountstatusesListResponse = 0; |
1201 buildAccountstatusesListResponse() { | 1205 buildAccountstatusesListResponse() { |
1202 var o = new api.AccountstatusesListResponse(); | 1206 var o = new api.AccountstatusesListResponse(); |
1203 buildCounterAccountstatusesListResponse++; | 1207 buildCounterAccountstatusesListResponse++; |
1204 if (buildCounterAccountstatusesListResponse < 3) { | 1208 if (buildCounterAccountstatusesListResponse < 3) { |
1205 o.kind = "foo"; | 1209 o.kind = "foo"; |
1206 o.nextPageToken = "foo"; | 1210 o.nextPageToken = "foo"; |
1207 o.resources = buildUnnamed275(); | 1211 o.resources = buildUnnamed277(); |
1208 } | 1212 } |
1209 buildCounterAccountstatusesListResponse--; | 1213 buildCounterAccountstatusesListResponse--; |
1210 return o; | 1214 return o; |
1211 } | 1215 } |
1212 | 1216 |
1213 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { | 1217 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { |
1214 buildCounterAccountstatusesListResponse++; | 1218 buildCounterAccountstatusesListResponse++; |
1215 if (buildCounterAccountstatusesListResponse < 3) { | 1219 if (buildCounterAccountstatusesListResponse < 3) { |
1216 unittest.expect(o.kind, unittest.equals('foo')); | 1220 unittest.expect(o.kind, unittest.equals('foo')); |
1217 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1221 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1218 checkUnnamed275(o.resources); | 1222 checkUnnamed277(o.resources); |
1219 } | 1223 } |
1220 buildCounterAccountstatusesListResponse--; | 1224 buildCounterAccountstatusesListResponse--; |
1221 } | 1225 } |
1222 | 1226 |
1223 buildUnnamed276() { | 1227 buildUnnamed278() { |
1224 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); | 1228 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); |
1225 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1229 o.add(buildAccounttaxCustomBatchRequestEntry()); |
1226 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1230 o.add(buildAccounttaxCustomBatchRequestEntry()); |
1227 return o; | 1231 return o; |
1228 } | 1232 } |
1229 | 1233 |
1230 checkUnnamed276(core.List<api.AccounttaxCustomBatchRequestEntry> o) { | 1234 checkUnnamed278(core.List<api.AccounttaxCustomBatchRequestEntry> o) { |
1231 unittest.expect(o, unittest.hasLength(2)); | 1235 unittest.expect(o, unittest.hasLength(2)); |
1232 checkAccounttaxCustomBatchRequestEntry(o[0]); | 1236 checkAccounttaxCustomBatchRequestEntry(o[0]); |
1233 checkAccounttaxCustomBatchRequestEntry(o[1]); | 1237 checkAccounttaxCustomBatchRequestEntry(o[1]); |
1234 } | 1238 } |
1235 | 1239 |
1236 core.int buildCounterAccounttaxCustomBatchRequest = 0; | 1240 core.int buildCounterAccounttaxCustomBatchRequest = 0; |
1237 buildAccounttaxCustomBatchRequest() { | 1241 buildAccounttaxCustomBatchRequest() { |
1238 var o = new api.AccounttaxCustomBatchRequest(); | 1242 var o = new api.AccounttaxCustomBatchRequest(); |
1239 buildCounterAccounttaxCustomBatchRequest++; | 1243 buildCounterAccounttaxCustomBatchRequest++; |
1240 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1244 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
1241 o.entries = buildUnnamed276(); | 1245 o.entries = buildUnnamed278(); |
1242 } | 1246 } |
1243 buildCounterAccounttaxCustomBatchRequest--; | 1247 buildCounterAccounttaxCustomBatchRequest--; |
1244 return o; | 1248 return o; |
1245 } | 1249 } |
1246 | 1250 |
1247 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { | 1251 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { |
1248 buildCounterAccounttaxCustomBatchRequest++; | 1252 buildCounterAccounttaxCustomBatchRequest++; |
1249 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1253 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
1250 checkUnnamed276(o.entries); | 1254 checkUnnamed278(o.entries); |
1251 } | 1255 } |
1252 buildCounterAccounttaxCustomBatchRequest--; | 1256 buildCounterAccounttaxCustomBatchRequest--; |
1253 } | 1257 } |
1254 | 1258 |
1255 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; | 1259 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; |
1256 buildAccounttaxCustomBatchRequestEntry() { | 1260 buildAccounttaxCustomBatchRequestEntry() { |
1257 var o = new api.AccounttaxCustomBatchRequestEntry(); | 1261 var o = new api.AccounttaxCustomBatchRequestEntry(); |
1258 buildCounterAccounttaxCustomBatchRequestEntry++; | 1262 buildCounterAccounttaxCustomBatchRequestEntry++; |
1259 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1263 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
1260 o.accountId = "foo"; | 1264 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
1272 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1276 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
1273 unittest.expect(o.accountId, unittest.equals('foo')); | 1277 unittest.expect(o.accountId, unittest.equals('foo')); |
1274 checkAccountTax(o.accountTax); | 1278 checkAccountTax(o.accountTax); |
1275 unittest.expect(o.batchId, unittest.equals(42)); | 1279 unittest.expect(o.batchId, unittest.equals(42)); |
1276 unittest.expect(o.merchantId, unittest.equals('foo')); | 1280 unittest.expect(o.merchantId, unittest.equals('foo')); |
1277 unittest.expect(o.method, unittest.equals('foo')); | 1281 unittest.expect(o.method, unittest.equals('foo')); |
1278 } | 1282 } |
1279 buildCounterAccounttaxCustomBatchRequestEntry--; | 1283 buildCounterAccounttaxCustomBatchRequestEntry--; |
1280 } | 1284 } |
1281 | 1285 |
1282 buildUnnamed277() { | 1286 buildUnnamed279() { |
1283 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); | 1287 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); |
1284 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1288 o.add(buildAccounttaxCustomBatchResponseEntry()); |
1285 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1289 o.add(buildAccounttaxCustomBatchResponseEntry()); |
1286 return o; | 1290 return o; |
1287 } | 1291 } |
1288 | 1292 |
1289 checkUnnamed277(core.List<api.AccounttaxCustomBatchResponseEntry> o) { | 1293 checkUnnamed279(core.List<api.AccounttaxCustomBatchResponseEntry> o) { |
1290 unittest.expect(o, unittest.hasLength(2)); | 1294 unittest.expect(o, unittest.hasLength(2)); |
1291 checkAccounttaxCustomBatchResponseEntry(o[0]); | 1295 checkAccounttaxCustomBatchResponseEntry(o[0]); |
1292 checkAccounttaxCustomBatchResponseEntry(o[1]); | 1296 checkAccounttaxCustomBatchResponseEntry(o[1]); |
1293 } | 1297 } |
1294 | 1298 |
1295 core.int buildCounterAccounttaxCustomBatchResponse = 0; | 1299 core.int buildCounterAccounttaxCustomBatchResponse = 0; |
1296 buildAccounttaxCustomBatchResponse() { | 1300 buildAccounttaxCustomBatchResponse() { |
1297 var o = new api.AccounttaxCustomBatchResponse(); | 1301 var o = new api.AccounttaxCustomBatchResponse(); |
1298 buildCounterAccounttaxCustomBatchResponse++; | 1302 buildCounterAccounttaxCustomBatchResponse++; |
1299 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1303 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
1300 o.entries = buildUnnamed277(); | 1304 o.entries = buildUnnamed279(); |
1301 o.kind = "foo"; | 1305 o.kind = "foo"; |
1302 } | 1306 } |
1303 buildCounterAccounttaxCustomBatchResponse--; | 1307 buildCounterAccounttaxCustomBatchResponse--; |
1304 return o; | 1308 return o; |
1305 } | 1309 } |
1306 | 1310 |
1307 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { | 1311 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { |
1308 buildCounterAccounttaxCustomBatchResponse++; | 1312 buildCounterAccounttaxCustomBatchResponse++; |
1309 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1313 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
1310 checkUnnamed277(o.entries); | 1314 checkUnnamed279(o.entries); |
1311 unittest.expect(o.kind, unittest.equals('foo')); | 1315 unittest.expect(o.kind, unittest.equals('foo')); |
1312 } | 1316 } |
1313 buildCounterAccounttaxCustomBatchResponse--; | 1317 buildCounterAccounttaxCustomBatchResponse--; |
1314 } | 1318 } |
1315 | 1319 |
1316 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; | 1320 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; |
1317 buildAccounttaxCustomBatchResponseEntry() { | 1321 buildAccounttaxCustomBatchResponseEntry() { |
1318 var o = new api.AccounttaxCustomBatchResponseEntry(); | 1322 var o = new api.AccounttaxCustomBatchResponseEntry(); |
1319 buildCounterAccounttaxCustomBatchResponseEntry++; | 1323 buildCounterAccounttaxCustomBatchResponseEntry++; |
1320 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1324 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1331 buildCounterAccounttaxCustomBatchResponseEntry++; | 1335 buildCounterAccounttaxCustomBatchResponseEntry++; |
1332 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1336 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
1333 checkAccountTax(o.accountTax); | 1337 checkAccountTax(o.accountTax); |
1334 unittest.expect(o.batchId, unittest.equals(42)); | 1338 unittest.expect(o.batchId, unittest.equals(42)); |
1335 checkErrors(o.errors); | 1339 checkErrors(o.errors); |
1336 unittest.expect(o.kind, unittest.equals('foo')); | 1340 unittest.expect(o.kind, unittest.equals('foo')); |
1337 } | 1341 } |
1338 buildCounterAccounttaxCustomBatchResponseEntry--; | 1342 buildCounterAccounttaxCustomBatchResponseEntry--; |
1339 } | 1343 } |
1340 | 1344 |
1341 buildUnnamed278() { | 1345 buildUnnamed280() { |
1342 var o = new core.List<api.AccountTax>(); | 1346 var o = new core.List<api.AccountTax>(); |
1343 o.add(buildAccountTax()); | 1347 o.add(buildAccountTax()); |
1344 o.add(buildAccountTax()); | 1348 o.add(buildAccountTax()); |
1345 return o; | 1349 return o; |
1346 } | 1350 } |
1347 | 1351 |
1348 checkUnnamed278(core.List<api.AccountTax> o) { | 1352 checkUnnamed280(core.List<api.AccountTax> o) { |
1349 unittest.expect(o, unittest.hasLength(2)); | 1353 unittest.expect(o, unittest.hasLength(2)); |
1350 checkAccountTax(o[0]); | 1354 checkAccountTax(o[0]); |
1351 checkAccountTax(o[1]); | 1355 checkAccountTax(o[1]); |
1352 } | 1356 } |
1353 | 1357 |
1354 core.int buildCounterAccounttaxListResponse = 0; | 1358 core.int buildCounterAccounttaxListResponse = 0; |
1355 buildAccounttaxListResponse() { | 1359 buildAccounttaxListResponse() { |
1356 var o = new api.AccounttaxListResponse(); | 1360 var o = new api.AccounttaxListResponse(); |
1357 buildCounterAccounttaxListResponse++; | 1361 buildCounterAccounttaxListResponse++; |
1358 if (buildCounterAccounttaxListResponse < 3) { | 1362 if (buildCounterAccounttaxListResponse < 3) { |
1359 o.kind = "foo"; | 1363 o.kind = "foo"; |
1360 o.nextPageToken = "foo"; | 1364 o.nextPageToken = "foo"; |
1361 o.resources = buildUnnamed278(); | 1365 o.resources = buildUnnamed280(); |
1362 } | 1366 } |
1363 buildCounterAccounttaxListResponse--; | 1367 buildCounterAccounttaxListResponse--; |
1364 return o; | 1368 return o; |
1365 } | 1369 } |
1366 | 1370 |
1367 checkAccounttaxListResponse(api.AccounttaxListResponse o) { | 1371 checkAccounttaxListResponse(api.AccounttaxListResponse o) { |
1368 buildCounterAccounttaxListResponse++; | 1372 buildCounterAccounttaxListResponse++; |
1369 if (buildCounterAccounttaxListResponse < 3) { | 1373 if (buildCounterAccounttaxListResponse < 3) { |
1370 unittest.expect(o.kind, unittest.equals('foo')); | 1374 unittest.expect(o.kind, unittest.equals('foo')); |
1371 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1375 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1372 checkUnnamed278(o.resources); | 1376 checkUnnamed280(o.resources); |
1373 } | 1377 } |
1374 buildCounterAccounttaxListResponse--; | 1378 buildCounterAccounttaxListResponse--; |
1375 } | 1379 } |
1376 | 1380 |
1377 core.int buildCounterCarrierRate = 0; | 1381 core.int buildCounterCarrierRate = 0; |
1378 buildCarrierRate() { | 1382 buildCarrierRate() { |
1379 var o = new api.CarrierRate(); | 1383 var o = new api.CarrierRate(); |
1380 buildCounterCarrierRate++; | 1384 buildCounterCarrierRate++; |
1381 if (buildCounterCarrierRate < 3) { | 1385 if (buildCounterCarrierRate < 3) { |
1382 o.carrierName = "foo"; | 1386 o.carrierName = "foo"; |
(...skipping 13 matching lines...) Expand all Loading... |
1396 unittest.expect(o.carrierName, unittest.equals('foo')); | 1400 unittest.expect(o.carrierName, unittest.equals('foo')); |
1397 unittest.expect(o.carrierService, unittest.equals('foo')); | 1401 unittest.expect(o.carrierService, unittest.equals('foo')); |
1398 checkPrice(o.flatAdjustment); | 1402 checkPrice(o.flatAdjustment); |
1399 unittest.expect(o.name, unittest.equals('foo')); | 1403 unittest.expect(o.name, unittest.equals('foo')); |
1400 unittest.expect(o.originPostalCode, unittest.equals('foo')); | 1404 unittest.expect(o.originPostalCode, unittest.equals('foo')); |
1401 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); | 1405 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); |
1402 } | 1406 } |
1403 buildCounterCarrierRate--; | 1407 buildCounterCarrierRate--; |
1404 } | 1408 } |
1405 | 1409 |
1406 buildUnnamed279() { | 1410 buildUnnamed281() { |
1407 var o = new core.List<core.String>(); | 1411 var o = new core.List<core.String>(); |
1408 o.add("foo"); | 1412 o.add("foo"); |
1409 o.add("foo"); | 1413 o.add("foo"); |
1410 return o; | 1414 return o; |
1411 } | 1415 } |
1412 | 1416 |
1413 checkUnnamed279(core.List<core.String> o) { | 1417 checkUnnamed281(core.List<core.String> o) { |
1414 unittest.expect(o, unittest.hasLength(2)); | 1418 unittest.expect(o, unittest.hasLength(2)); |
1415 unittest.expect(o[0], unittest.equals('foo')); | 1419 unittest.expect(o[0], unittest.equals('foo')); |
1416 unittest.expect(o[1], unittest.equals('foo')); | 1420 unittest.expect(o[1], unittest.equals('foo')); |
1417 } | 1421 } |
1418 | 1422 |
1419 core.int buildCounterCarriersCarrier = 0; | 1423 core.int buildCounterCarriersCarrier = 0; |
1420 buildCarriersCarrier() { | 1424 buildCarriersCarrier() { |
1421 var o = new api.CarriersCarrier(); | 1425 var o = new api.CarriersCarrier(); |
1422 buildCounterCarriersCarrier++; | 1426 buildCounterCarriersCarrier++; |
1423 if (buildCounterCarriersCarrier < 3) { | 1427 if (buildCounterCarriersCarrier < 3) { |
1424 o.country = "foo"; | 1428 o.country = "foo"; |
1425 o.name = "foo"; | 1429 o.name = "foo"; |
1426 o.services = buildUnnamed279(); | 1430 o.services = buildUnnamed281(); |
1427 } | 1431 } |
1428 buildCounterCarriersCarrier--; | 1432 buildCounterCarriersCarrier--; |
1429 return o; | 1433 return o; |
1430 } | 1434 } |
1431 | 1435 |
1432 checkCarriersCarrier(api.CarriersCarrier o) { | 1436 checkCarriersCarrier(api.CarriersCarrier o) { |
1433 buildCounterCarriersCarrier++; | 1437 buildCounterCarriersCarrier++; |
1434 if (buildCounterCarriersCarrier < 3) { | 1438 if (buildCounterCarriersCarrier < 3) { |
1435 unittest.expect(o.country, unittest.equals('foo')); | 1439 unittest.expect(o.country, unittest.equals('foo')); |
1436 unittest.expect(o.name, unittest.equals('foo')); | 1440 unittest.expect(o.name, unittest.equals('foo')); |
1437 checkUnnamed279(o.services); | 1441 checkUnnamed281(o.services); |
1438 } | 1442 } |
1439 buildCounterCarriersCarrier--; | 1443 buildCounterCarriersCarrier--; |
1440 } | 1444 } |
1441 | 1445 |
1442 buildUnnamed280() { | 1446 buildUnnamed282() { |
1443 var o = new core.List<core.String>(); | 1447 var o = new core.List<core.String>(); |
1444 o.add("foo"); | 1448 o.add("foo"); |
1445 o.add("foo"); | 1449 o.add("foo"); |
1446 return o; | 1450 return o; |
1447 } | 1451 } |
1448 | 1452 |
1449 checkUnnamed280(core.List<core.String> o) { | 1453 checkUnnamed282(core.List<core.String> o) { |
1450 unittest.expect(o, unittest.hasLength(2)); | 1454 unittest.expect(o, unittest.hasLength(2)); |
1451 unittest.expect(o[0], unittest.equals('foo')); | 1455 unittest.expect(o[0], unittest.equals('foo')); |
1452 unittest.expect(o[1], unittest.equals('foo')); | 1456 unittest.expect(o[1], unittest.equals('foo')); |
1453 } | 1457 } |
1454 | 1458 |
1455 core.int buildCounterDatafeed = 0; | 1459 core.int buildCounterDatafeed = 0; |
1456 buildDatafeed() { | 1460 buildDatafeed() { |
1457 var o = new api.Datafeed(); | 1461 var o = new api.Datafeed(); |
1458 buildCounterDatafeed++; | 1462 buildCounterDatafeed++; |
1459 if (buildCounterDatafeed < 3) { | 1463 if (buildCounterDatafeed < 3) { |
1460 o.attributeLanguage = "foo"; | 1464 o.attributeLanguage = "foo"; |
1461 o.contentLanguage = "foo"; | 1465 o.contentLanguage = "foo"; |
1462 o.contentType = "foo"; | 1466 o.contentType = "foo"; |
1463 o.fetchSchedule = buildDatafeedFetchSchedule(); | 1467 o.fetchSchedule = buildDatafeedFetchSchedule(); |
1464 o.fileName = "foo"; | 1468 o.fileName = "foo"; |
1465 o.format = buildDatafeedFormat(); | 1469 o.format = buildDatafeedFormat(); |
1466 o.id = "foo"; | 1470 o.id = "foo"; |
1467 o.intendedDestinations = buildUnnamed280(); | 1471 o.intendedDestinations = buildUnnamed282(); |
1468 o.kind = "foo"; | 1472 o.kind = "foo"; |
1469 o.name = "foo"; | 1473 o.name = "foo"; |
1470 o.targetCountry = "foo"; | 1474 o.targetCountry = "foo"; |
1471 } | 1475 } |
1472 buildCounterDatafeed--; | 1476 buildCounterDatafeed--; |
1473 return o; | 1477 return o; |
1474 } | 1478 } |
1475 | 1479 |
1476 checkDatafeed(api.Datafeed o) { | 1480 checkDatafeed(api.Datafeed o) { |
1477 buildCounterDatafeed++; | 1481 buildCounterDatafeed++; |
1478 if (buildCounterDatafeed < 3) { | 1482 if (buildCounterDatafeed < 3) { |
1479 unittest.expect(o.attributeLanguage, unittest.equals('foo')); | 1483 unittest.expect(o.attributeLanguage, unittest.equals('foo')); |
1480 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 1484 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
1481 unittest.expect(o.contentType, unittest.equals('foo')); | 1485 unittest.expect(o.contentType, unittest.equals('foo')); |
1482 checkDatafeedFetchSchedule(o.fetchSchedule); | 1486 checkDatafeedFetchSchedule(o.fetchSchedule); |
1483 unittest.expect(o.fileName, unittest.equals('foo')); | 1487 unittest.expect(o.fileName, unittest.equals('foo')); |
1484 checkDatafeedFormat(o.format); | 1488 checkDatafeedFormat(o.format); |
1485 unittest.expect(o.id, unittest.equals('foo')); | 1489 unittest.expect(o.id, unittest.equals('foo')); |
1486 checkUnnamed280(o.intendedDestinations); | 1490 checkUnnamed282(o.intendedDestinations); |
1487 unittest.expect(o.kind, unittest.equals('foo')); | 1491 unittest.expect(o.kind, unittest.equals('foo')); |
1488 unittest.expect(o.name, unittest.equals('foo')); | 1492 unittest.expect(o.name, unittest.equals('foo')); |
1489 unittest.expect(o.targetCountry, unittest.equals('foo')); | 1493 unittest.expect(o.targetCountry, unittest.equals('foo')); |
1490 } | 1494 } |
1491 buildCounterDatafeed--; | 1495 buildCounterDatafeed--; |
1492 } | 1496 } |
1493 | 1497 |
1494 core.int buildCounterDatafeedFetchSchedule = 0; | 1498 core.int buildCounterDatafeedFetchSchedule = 0; |
1495 buildDatafeedFetchSchedule() { | 1499 buildDatafeedFetchSchedule() { |
1496 var o = new api.DatafeedFetchSchedule(); | 1500 var o = new api.DatafeedFetchSchedule(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 checkDatafeedFormat(api.DatafeedFormat o) { | 1544 checkDatafeedFormat(api.DatafeedFormat o) { |
1541 buildCounterDatafeedFormat++; | 1545 buildCounterDatafeedFormat++; |
1542 if (buildCounterDatafeedFormat < 3) { | 1546 if (buildCounterDatafeedFormat < 3) { |
1543 unittest.expect(o.columnDelimiter, unittest.equals('foo')); | 1547 unittest.expect(o.columnDelimiter, unittest.equals('foo')); |
1544 unittest.expect(o.fileEncoding, unittest.equals('foo')); | 1548 unittest.expect(o.fileEncoding, unittest.equals('foo')); |
1545 unittest.expect(o.quotingMode, unittest.equals('foo')); | 1549 unittest.expect(o.quotingMode, unittest.equals('foo')); |
1546 } | 1550 } |
1547 buildCounterDatafeedFormat--; | 1551 buildCounterDatafeedFormat--; |
1548 } | 1552 } |
1549 | 1553 |
1550 buildUnnamed281() { | 1554 buildUnnamed283() { |
1551 var o = new core.List<api.DatafeedStatusError>(); | 1555 var o = new core.List<api.DatafeedStatusError>(); |
1552 o.add(buildDatafeedStatusError()); | 1556 o.add(buildDatafeedStatusError()); |
1553 o.add(buildDatafeedStatusError()); | 1557 o.add(buildDatafeedStatusError()); |
1554 return o; | 1558 return o; |
1555 } | 1559 } |
1556 | 1560 |
1557 checkUnnamed281(core.List<api.DatafeedStatusError> o) { | 1561 checkUnnamed283(core.List<api.DatafeedStatusError> o) { |
1558 unittest.expect(o, unittest.hasLength(2)); | 1562 unittest.expect(o, unittest.hasLength(2)); |
1559 checkDatafeedStatusError(o[0]); | 1563 checkDatafeedStatusError(o[0]); |
1560 checkDatafeedStatusError(o[1]); | 1564 checkDatafeedStatusError(o[1]); |
1561 } | 1565 } |
1562 | 1566 |
1563 buildUnnamed282() { | 1567 buildUnnamed284() { |
1564 var o = new core.List<api.DatafeedStatusError>(); | 1568 var o = new core.List<api.DatafeedStatusError>(); |
1565 o.add(buildDatafeedStatusError()); | 1569 o.add(buildDatafeedStatusError()); |
1566 o.add(buildDatafeedStatusError()); | 1570 o.add(buildDatafeedStatusError()); |
1567 return o; | 1571 return o; |
1568 } | 1572 } |
1569 | 1573 |
1570 checkUnnamed282(core.List<api.DatafeedStatusError> o) { | 1574 checkUnnamed284(core.List<api.DatafeedStatusError> o) { |
1571 unittest.expect(o, unittest.hasLength(2)); | 1575 unittest.expect(o, unittest.hasLength(2)); |
1572 checkDatafeedStatusError(o[0]); | 1576 checkDatafeedStatusError(o[0]); |
1573 checkDatafeedStatusError(o[1]); | 1577 checkDatafeedStatusError(o[1]); |
1574 } | 1578 } |
1575 | 1579 |
1576 core.int buildCounterDatafeedStatus = 0; | 1580 core.int buildCounterDatafeedStatus = 0; |
1577 buildDatafeedStatus() { | 1581 buildDatafeedStatus() { |
1578 var o = new api.DatafeedStatus(); | 1582 var o = new api.DatafeedStatus(); |
1579 buildCounterDatafeedStatus++; | 1583 buildCounterDatafeedStatus++; |
1580 if (buildCounterDatafeedStatus < 3) { | 1584 if (buildCounterDatafeedStatus < 3) { |
1581 o.datafeedId = "foo"; | 1585 o.datafeedId = "foo"; |
1582 o.errors = buildUnnamed281(); | 1586 o.errors = buildUnnamed283(); |
1583 o.itemsTotal = "foo"; | 1587 o.itemsTotal = "foo"; |
1584 o.itemsValid = "foo"; | 1588 o.itemsValid = "foo"; |
1585 o.kind = "foo"; | 1589 o.kind = "foo"; |
1586 o.lastUploadDate = "foo"; | 1590 o.lastUploadDate = "foo"; |
1587 o.processingStatus = "foo"; | 1591 o.processingStatus = "foo"; |
1588 o.warnings = buildUnnamed282(); | 1592 o.warnings = buildUnnamed284(); |
1589 } | 1593 } |
1590 buildCounterDatafeedStatus--; | 1594 buildCounterDatafeedStatus--; |
1591 return o; | 1595 return o; |
1592 } | 1596 } |
1593 | 1597 |
1594 checkDatafeedStatus(api.DatafeedStatus o) { | 1598 checkDatafeedStatus(api.DatafeedStatus o) { |
1595 buildCounterDatafeedStatus++; | 1599 buildCounterDatafeedStatus++; |
1596 if (buildCounterDatafeedStatus < 3) { | 1600 if (buildCounterDatafeedStatus < 3) { |
1597 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1601 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1598 checkUnnamed281(o.errors); | 1602 checkUnnamed283(o.errors); |
1599 unittest.expect(o.itemsTotal, unittest.equals('foo')); | 1603 unittest.expect(o.itemsTotal, unittest.equals('foo')); |
1600 unittest.expect(o.itemsValid, unittest.equals('foo')); | 1604 unittest.expect(o.itemsValid, unittest.equals('foo')); |
1601 unittest.expect(o.kind, unittest.equals('foo')); | 1605 unittest.expect(o.kind, unittest.equals('foo')); |
1602 unittest.expect(o.lastUploadDate, unittest.equals('foo')); | 1606 unittest.expect(o.lastUploadDate, unittest.equals('foo')); |
1603 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1607 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1604 checkUnnamed282(o.warnings); | 1608 checkUnnamed284(o.warnings); |
1605 } | 1609 } |
1606 buildCounterDatafeedStatus--; | 1610 buildCounterDatafeedStatus--; |
1607 } | 1611 } |
1608 | 1612 |
1609 buildUnnamed283() { | 1613 buildUnnamed285() { |
1610 var o = new core.List<api.DatafeedStatusExample>(); | 1614 var o = new core.List<api.DatafeedStatusExample>(); |
1611 o.add(buildDatafeedStatusExample()); | 1615 o.add(buildDatafeedStatusExample()); |
1612 o.add(buildDatafeedStatusExample()); | 1616 o.add(buildDatafeedStatusExample()); |
1613 return o; | 1617 return o; |
1614 } | 1618 } |
1615 | 1619 |
1616 checkUnnamed283(core.List<api.DatafeedStatusExample> o) { | 1620 checkUnnamed285(core.List<api.DatafeedStatusExample> o) { |
1617 unittest.expect(o, unittest.hasLength(2)); | 1621 unittest.expect(o, unittest.hasLength(2)); |
1618 checkDatafeedStatusExample(o[0]); | 1622 checkDatafeedStatusExample(o[0]); |
1619 checkDatafeedStatusExample(o[1]); | 1623 checkDatafeedStatusExample(o[1]); |
1620 } | 1624 } |
1621 | 1625 |
1622 core.int buildCounterDatafeedStatusError = 0; | 1626 core.int buildCounterDatafeedStatusError = 0; |
1623 buildDatafeedStatusError() { | 1627 buildDatafeedStatusError() { |
1624 var o = new api.DatafeedStatusError(); | 1628 var o = new api.DatafeedStatusError(); |
1625 buildCounterDatafeedStatusError++; | 1629 buildCounterDatafeedStatusError++; |
1626 if (buildCounterDatafeedStatusError < 3) { | 1630 if (buildCounterDatafeedStatusError < 3) { |
1627 o.code = "foo"; | 1631 o.code = "foo"; |
1628 o.count = "foo"; | 1632 o.count = "foo"; |
1629 o.examples = buildUnnamed283(); | 1633 o.examples = buildUnnamed285(); |
1630 o.message = "foo"; | 1634 o.message = "foo"; |
1631 } | 1635 } |
1632 buildCounterDatafeedStatusError--; | 1636 buildCounterDatafeedStatusError--; |
1633 return o; | 1637 return o; |
1634 } | 1638 } |
1635 | 1639 |
1636 checkDatafeedStatusError(api.DatafeedStatusError o) { | 1640 checkDatafeedStatusError(api.DatafeedStatusError o) { |
1637 buildCounterDatafeedStatusError++; | 1641 buildCounterDatafeedStatusError++; |
1638 if (buildCounterDatafeedStatusError < 3) { | 1642 if (buildCounterDatafeedStatusError < 3) { |
1639 unittest.expect(o.code, unittest.equals('foo')); | 1643 unittest.expect(o.code, unittest.equals('foo')); |
1640 unittest.expect(o.count, unittest.equals('foo')); | 1644 unittest.expect(o.count, unittest.equals('foo')); |
1641 checkUnnamed283(o.examples); | 1645 checkUnnamed285(o.examples); |
1642 unittest.expect(o.message, unittest.equals('foo')); | 1646 unittest.expect(o.message, unittest.equals('foo')); |
1643 } | 1647 } |
1644 buildCounterDatafeedStatusError--; | 1648 buildCounterDatafeedStatusError--; |
1645 } | 1649 } |
1646 | 1650 |
1647 core.int buildCounterDatafeedStatusExample = 0; | 1651 core.int buildCounterDatafeedStatusExample = 0; |
1648 buildDatafeedStatusExample() { | 1652 buildDatafeedStatusExample() { |
1649 var o = new api.DatafeedStatusExample(); | 1653 var o = new api.DatafeedStatusExample(); |
1650 buildCounterDatafeedStatusExample++; | 1654 buildCounterDatafeedStatusExample++; |
1651 if (buildCounterDatafeedStatusExample < 3) { | 1655 if (buildCounterDatafeedStatusExample < 3) { |
1652 o.itemId = "foo"; | 1656 o.itemId = "foo"; |
1653 o.lineNumber = "foo"; | 1657 o.lineNumber = "foo"; |
1654 o.value = "foo"; | 1658 o.value = "foo"; |
1655 } | 1659 } |
1656 buildCounterDatafeedStatusExample--; | 1660 buildCounterDatafeedStatusExample--; |
1657 return o; | 1661 return o; |
1658 } | 1662 } |
1659 | 1663 |
1660 checkDatafeedStatusExample(api.DatafeedStatusExample o) { | 1664 checkDatafeedStatusExample(api.DatafeedStatusExample o) { |
1661 buildCounterDatafeedStatusExample++; | 1665 buildCounterDatafeedStatusExample++; |
1662 if (buildCounterDatafeedStatusExample < 3) { | 1666 if (buildCounterDatafeedStatusExample < 3) { |
1663 unittest.expect(o.itemId, unittest.equals('foo')); | 1667 unittest.expect(o.itemId, unittest.equals('foo')); |
1664 unittest.expect(o.lineNumber, unittest.equals('foo')); | 1668 unittest.expect(o.lineNumber, unittest.equals('foo')); |
1665 unittest.expect(o.value, unittest.equals('foo')); | 1669 unittest.expect(o.value, unittest.equals('foo')); |
1666 } | 1670 } |
1667 buildCounterDatafeedStatusExample--; | 1671 buildCounterDatafeedStatusExample--; |
1668 } | 1672 } |
1669 | 1673 |
1670 buildUnnamed284() { | 1674 buildUnnamed286() { |
1671 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); | 1675 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); |
1672 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1676 o.add(buildDatafeedsCustomBatchRequestEntry()); |
1673 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1677 o.add(buildDatafeedsCustomBatchRequestEntry()); |
1674 return o; | 1678 return o; |
1675 } | 1679 } |
1676 | 1680 |
1677 checkUnnamed284(core.List<api.DatafeedsCustomBatchRequestEntry> o) { | 1681 checkUnnamed286(core.List<api.DatafeedsCustomBatchRequestEntry> o) { |
1678 unittest.expect(o, unittest.hasLength(2)); | 1682 unittest.expect(o, unittest.hasLength(2)); |
1679 checkDatafeedsCustomBatchRequestEntry(o[0]); | 1683 checkDatafeedsCustomBatchRequestEntry(o[0]); |
1680 checkDatafeedsCustomBatchRequestEntry(o[1]); | 1684 checkDatafeedsCustomBatchRequestEntry(o[1]); |
1681 } | 1685 } |
1682 | 1686 |
1683 core.int buildCounterDatafeedsCustomBatchRequest = 0; | 1687 core.int buildCounterDatafeedsCustomBatchRequest = 0; |
1684 buildDatafeedsCustomBatchRequest() { | 1688 buildDatafeedsCustomBatchRequest() { |
1685 var o = new api.DatafeedsCustomBatchRequest(); | 1689 var o = new api.DatafeedsCustomBatchRequest(); |
1686 buildCounterDatafeedsCustomBatchRequest++; | 1690 buildCounterDatafeedsCustomBatchRequest++; |
1687 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1691 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
1688 o.entries = buildUnnamed284(); | 1692 o.entries = buildUnnamed286(); |
1689 } | 1693 } |
1690 buildCounterDatafeedsCustomBatchRequest--; | 1694 buildCounterDatafeedsCustomBatchRequest--; |
1691 return o; | 1695 return o; |
1692 } | 1696 } |
1693 | 1697 |
1694 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { | 1698 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { |
1695 buildCounterDatafeedsCustomBatchRequest++; | 1699 buildCounterDatafeedsCustomBatchRequest++; |
1696 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1700 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
1697 checkUnnamed284(o.entries); | 1701 checkUnnamed286(o.entries); |
1698 } | 1702 } |
1699 buildCounterDatafeedsCustomBatchRequest--; | 1703 buildCounterDatafeedsCustomBatchRequest--; |
1700 } | 1704 } |
1701 | 1705 |
1702 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; | 1706 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; |
1703 buildDatafeedsCustomBatchRequestEntry() { | 1707 buildDatafeedsCustomBatchRequestEntry() { |
1704 var o = new api.DatafeedsCustomBatchRequestEntry(); | 1708 var o = new api.DatafeedsCustomBatchRequestEntry(); |
1705 buildCounterDatafeedsCustomBatchRequestEntry++; | 1709 buildCounterDatafeedsCustomBatchRequestEntry++; |
1706 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1710 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
1707 o.batchId = 42; | 1711 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
1719 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1723 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
1720 unittest.expect(o.batchId, unittest.equals(42)); | 1724 unittest.expect(o.batchId, unittest.equals(42)); |
1721 checkDatafeed(o.datafeed); | 1725 checkDatafeed(o.datafeed); |
1722 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1726 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1723 unittest.expect(o.merchantId, unittest.equals('foo')); | 1727 unittest.expect(o.merchantId, unittest.equals('foo')); |
1724 unittest.expect(o.method, unittest.equals('foo')); | 1728 unittest.expect(o.method, unittest.equals('foo')); |
1725 } | 1729 } |
1726 buildCounterDatafeedsCustomBatchRequestEntry--; | 1730 buildCounterDatafeedsCustomBatchRequestEntry--; |
1727 } | 1731 } |
1728 | 1732 |
1729 buildUnnamed285() { | 1733 buildUnnamed287() { |
1730 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); | 1734 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); |
1731 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1735 o.add(buildDatafeedsCustomBatchResponseEntry()); |
1732 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1736 o.add(buildDatafeedsCustomBatchResponseEntry()); |
1733 return o; | 1737 return o; |
1734 } | 1738 } |
1735 | 1739 |
1736 checkUnnamed285(core.List<api.DatafeedsCustomBatchResponseEntry> o) { | 1740 checkUnnamed287(core.List<api.DatafeedsCustomBatchResponseEntry> o) { |
1737 unittest.expect(o, unittest.hasLength(2)); | 1741 unittest.expect(o, unittest.hasLength(2)); |
1738 checkDatafeedsCustomBatchResponseEntry(o[0]); | 1742 checkDatafeedsCustomBatchResponseEntry(o[0]); |
1739 checkDatafeedsCustomBatchResponseEntry(o[1]); | 1743 checkDatafeedsCustomBatchResponseEntry(o[1]); |
1740 } | 1744 } |
1741 | 1745 |
1742 core.int buildCounterDatafeedsCustomBatchResponse = 0; | 1746 core.int buildCounterDatafeedsCustomBatchResponse = 0; |
1743 buildDatafeedsCustomBatchResponse() { | 1747 buildDatafeedsCustomBatchResponse() { |
1744 var o = new api.DatafeedsCustomBatchResponse(); | 1748 var o = new api.DatafeedsCustomBatchResponse(); |
1745 buildCounterDatafeedsCustomBatchResponse++; | 1749 buildCounterDatafeedsCustomBatchResponse++; |
1746 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1750 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
1747 o.entries = buildUnnamed285(); | 1751 o.entries = buildUnnamed287(); |
1748 o.kind = "foo"; | 1752 o.kind = "foo"; |
1749 } | 1753 } |
1750 buildCounterDatafeedsCustomBatchResponse--; | 1754 buildCounterDatafeedsCustomBatchResponse--; |
1751 return o; | 1755 return o; |
1752 } | 1756 } |
1753 | 1757 |
1754 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { | 1758 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { |
1755 buildCounterDatafeedsCustomBatchResponse++; | 1759 buildCounterDatafeedsCustomBatchResponse++; |
1756 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1760 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
1757 checkUnnamed285(o.entries); | 1761 checkUnnamed287(o.entries); |
1758 unittest.expect(o.kind, unittest.equals('foo')); | 1762 unittest.expect(o.kind, unittest.equals('foo')); |
1759 } | 1763 } |
1760 buildCounterDatafeedsCustomBatchResponse--; | 1764 buildCounterDatafeedsCustomBatchResponse--; |
1761 } | 1765 } |
1762 | 1766 |
1763 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; | 1767 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; |
1764 buildDatafeedsCustomBatchResponseEntry() { | 1768 buildDatafeedsCustomBatchResponseEntry() { |
1765 var o = new api.DatafeedsCustomBatchResponseEntry(); | 1769 var o = new api.DatafeedsCustomBatchResponseEntry(); |
1766 buildCounterDatafeedsCustomBatchResponseEntry++; | 1770 buildCounterDatafeedsCustomBatchResponseEntry++; |
1767 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1771 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
1768 o.batchId = 42; | 1772 o.batchId = 42; |
1769 o.datafeed = buildDatafeed(); | 1773 o.datafeed = buildDatafeed(); |
1770 o.errors = buildErrors(); | 1774 o.errors = buildErrors(); |
1771 } | 1775 } |
1772 buildCounterDatafeedsCustomBatchResponseEntry--; | 1776 buildCounterDatafeedsCustomBatchResponseEntry--; |
1773 return o; | 1777 return o; |
1774 } | 1778 } |
1775 | 1779 |
1776 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ | 1780 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ |
1777 buildCounterDatafeedsCustomBatchResponseEntry++; | 1781 buildCounterDatafeedsCustomBatchResponseEntry++; |
1778 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1782 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
1779 unittest.expect(o.batchId, unittest.equals(42)); | 1783 unittest.expect(o.batchId, unittest.equals(42)); |
1780 checkDatafeed(o.datafeed); | 1784 checkDatafeed(o.datafeed); |
1781 checkErrors(o.errors); | 1785 checkErrors(o.errors); |
1782 } | 1786 } |
1783 buildCounterDatafeedsCustomBatchResponseEntry--; | 1787 buildCounterDatafeedsCustomBatchResponseEntry--; |
1784 } | 1788 } |
1785 | 1789 |
1786 buildUnnamed286() { | 1790 buildUnnamed288() { |
1787 var o = new core.List<api.Datafeed>(); | 1791 var o = new core.List<api.Datafeed>(); |
1788 o.add(buildDatafeed()); | 1792 o.add(buildDatafeed()); |
1789 o.add(buildDatafeed()); | 1793 o.add(buildDatafeed()); |
1790 return o; | 1794 return o; |
1791 } | 1795 } |
1792 | 1796 |
1793 checkUnnamed286(core.List<api.Datafeed> o) { | 1797 checkUnnamed288(core.List<api.Datafeed> o) { |
1794 unittest.expect(o, unittest.hasLength(2)); | 1798 unittest.expect(o, unittest.hasLength(2)); |
1795 checkDatafeed(o[0]); | 1799 checkDatafeed(o[0]); |
1796 checkDatafeed(o[1]); | 1800 checkDatafeed(o[1]); |
1797 } | 1801 } |
1798 | 1802 |
1799 core.int buildCounterDatafeedsListResponse = 0; | 1803 core.int buildCounterDatafeedsListResponse = 0; |
1800 buildDatafeedsListResponse() { | 1804 buildDatafeedsListResponse() { |
1801 var o = new api.DatafeedsListResponse(); | 1805 var o = new api.DatafeedsListResponse(); |
1802 buildCounterDatafeedsListResponse++; | 1806 buildCounterDatafeedsListResponse++; |
1803 if (buildCounterDatafeedsListResponse < 3) { | 1807 if (buildCounterDatafeedsListResponse < 3) { |
1804 o.kind = "foo"; | 1808 o.kind = "foo"; |
1805 o.nextPageToken = "foo"; | 1809 o.nextPageToken = "foo"; |
1806 o.resources = buildUnnamed286(); | 1810 o.resources = buildUnnamed288(); |
1807 } | 1811 } |
1808 buildCounterDatafeedsListResponse--; | 1812 buildCounterDatafeedsListResponse--; |
1809 return o; | 1813 return o; |
1810 } | 1814 } |
1811 | 1815 |
1812 checkDatafeedsListResponse(api.DatafeedsListResponse o) { | 1816 checkDatafeedsListResponse(api.DatafeedsListResponse o) { |
1813 buildCounterDatafeedsListResponse++; | 1817 buildCounterDatafeedsListResponse++; |
1814 if (buildCounterDatafeedsListResponse < 3) { | 1818 if (buildCounterDatafeedsListResponse < 3) { |
1815 unittest.expect(o.kind, unittest.equals('foo')); | 1819 unittest.expect(o.kind, unittest.equals('foo')); |
1816 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1820 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1817 checkUnnamed286(o.resources); | 1821 checkUnnamed288(o.resources); |
1818 } | 1822 } |
1819 buildCounterDatafeedsListResponse--; | 1823 buildCounterDatafeedsListResponse--; |
1820 } | 1824 } |
1821 | 1825 |
1822 buildUnnamed287() { | 1826 buildUnnamed289() { |
1823 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); | 1827 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); |
1824 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1828 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
1825 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1829 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
1826 return o; | 1830 return o; |
1827 } | 1831 } |
1828 | 1832 |
1829 checkUnnamed287(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { | 1833 checkUnnamed289(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { |
1830 unittest.expect(o, unittest.hasLength(2)); | 1834 unittest.expect(o, unittest.hasLength(2)); |
1831 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); | 1835 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); |
1832 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); | 1836 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); |
1833 } | 1837 } |
1834 | 1838 |
1835 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; | 1839 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; |
1836 buildDatafeedstatusesCustomBatchRequest() { | 1840 buildDatafeedstatusesCustomBatchRequest() { |
1837 var o = new api.DatafeedstatusesCustomBatchRequest(); | 1841 var o = new api.DatafeedstatusesCustomBatchRequest(); |
1838 buildCounterDatafeedstatusesCustomBatchRequest++; | 1842 buildCounterDatafeedstatusesCustomBatchRequest++; |
1839 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1843 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
1840 o.entries = buildUnnamed287(); | 1844 o.entries = buildUnnamed289(); |
1841 } | 1845 } |
1842 buildCounterDatafeedstatusesCustomBatchRequest--; | 1846 buildCounterDatafeedstatusesCustomBatchRequest--; |
1843 return o; | 1847 return o; |
1844 } | 1848 } |
1845 | 1849 |
1846 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { | 1850 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { |
1847 buildCounterDatafeedstatusesCustomBatchRequest++; | 1851 buildCounterDatafeedstatusesCustomBatchRequest++; |
1848 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1852 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
1849 checkUnnamed287(o.entries); | 1853 checkUnnamed289(o.entries); |
1850 } | 1854 } |
1851 buildCounterDatafeedstatusesCustomBatchRequest--; | 1855 buildCounterDatafeedstatusesCustomBatchRequest--; |
1852 } | 1856 } |
1853 | 1857 |
1854 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; | 1858 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; |
1855 buildDatafeedstatusesCustomBatchRequestEntry() { | 1859 buildDatafeedstatusesCustomBatchRequestEntry() { |
1856 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); | 1860 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); |
1857 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1861 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
1858 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1862 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
1859 o.batchId = 42; | 1863 o.batchId = 42; |
1860 o.datafeedId = "foo"; | 1864 o.datafeedId = "foo"; |
1861 o.merchantId = "foo"; | 1865 o.merchantId = "foo"; |
1862 o.method = "foo"; | 1866 o.method = "foo"; |
1863 } | 1867 } |
1864 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1868 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
1865 return o; | 1869 return o; |
1866 } | 1870 } |
1867 | 1871 |
1868 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { | 1872 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { |
1869 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1873 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
1870 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1874 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
1871 unittest.expect(o.batchId, unittest.equals(42)); | 1875 unittest.expect(o.batchId, unittest.equals(42)); |
1872 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1876 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1873 unittest.expect(o.merchantId, unittest.equals('foo')); | 1877 unittest.expect(o.merchantId, unittest.equals('foo')); |
1874 unittest.expect(o.method, unittest.equals('foo')); | 1878 unittest.expect(o.method, unittest.equals('foo')); |
1875 } | 1879 } |
1876 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1880 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
1877 } | 1881 } |
1878 | 1882 |
1879 buildUnnamed288() { | 1883 buildUnnamed290() { |
1880 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); | 1884 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); |
1881 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1885 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
1882 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1886 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
1883 return o; | 1887 return o; |
1884 } | 1888 } |
1885 | 1889 |
1886 checkUnnamed288(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { | 1890 checkUnnamed290(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { |
1887 unittest.expect(o, unittest.hasLength(2)); | 1891 unittest.expect(o, unittest.hasLength(2)); |
1888 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); | 1892 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); |
1889 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); | 1893 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); |
1890 } | 1894 } |
1891 | 1895 |
1892 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; | 1896 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; |
1893 buildDatafeedstatusesCustomBatchResponse() { | 1897 buildDatafeedstatusesCustomBatchResponse() { |
1894 var o = new api.DatafeedstatusesCustomBatchResponse(); | 1898 var o = new api.DatafeedstatusesCustomBatchResponse(); |
1895 buildCounterDatafeedstatusesCustomBatchResponse++; | 1899 buildCounterDatafeedstatusesCustomBatchResponse++; |
1896 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1900 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
1897 o.entries = buildUnnamed288(); | 1901 o.entries = buildUnnamed290(); |
1898 o.kind = "foo"; | 1902 o.kind = "foo"; |
1899 } | 1903 } |
1900 buildCounterDatafeedstatusesCustomBatchResponse--; | 1904 buildCounterDatafeedstatusesCustomBatchResponse--; |
1901 return o; | 1905 return o; |
1902 } | 1906 } |
1903 | 1907 |
1904 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { | 1908 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { |
1905 buildCounterDatafeedstatusesCustomBatchResponse++; | 1909 buildCounterDatafeedstatusesCustomBatchResponse++; |
1906 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1910 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
1907 checkUnnamed288(o.entries); | 1911 checkUnnamed290(o.entries); |
1908 unittest.expect(o.kind, unittest.equals('foo')); | 1912 unittest.expect(o.kind, unittest.equals('foo')); |
1909 } | 1913 } |
1910 buildCounterDatafeedstatusesCustomBatchResponse--; | 1914 buildCounterDatafeedstatusesCustomBatchResponse--; |
1911 } | 1915 } |
1912 | 1916 |
1913 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; | 1917 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; |
1914 buildDatafeedstatusesCustomBatchResponseEntry() { | 1918 buildDatafeedstatusesCustomBatchResponseEntry() { |
1915 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); | 1919 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); |
1916 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1920 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
1917 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1921 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
1918 o.batchId = 42; | 1922 o.batchId = 42; |
1919 o.datafeedStatus = buildDatafeedStatus(); | 1923 o.datafeedStatus = buildDatafeedStatus(); |
1920 o.errors = buildErrors(); | 1924 o.errors = buildErrors(); |
1921 } | 1925 } |
1922 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1926 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
1923 return o; | 1927 return o; |
1924 } | 1928 } |
1925 | 1929 |
1926 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { | 1930 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { |
1927 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1931 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
1928 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1932 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
1929 unittest.expect(o.batchId, unittest.equals(42)); | 1933 unittest.expect(o.batchId, unittest.equals(42)); |
1930 checkDatafeedStatus(o.datafeedStatus); | 1934 checkDatafeedStatus(o.datafeedStatus); |
1931 checkErrors(o.errors); | 1935 checkErrors(o.errors); |
1932 } | 1936 } |
1933 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1937 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
1934 } | 1938 } |
1935 | 1939 |
1936 buildUnnamed289() { | 1940 buildUnnamed291() { |
1937 var o = new core.List<api.DatafeedStatus>(); | 1941 var o = new core.List<api.DatafeedStatus>(); |
1938 o.add(buildDatafeedStatus()); | 1942 o.add(buildDatafeedStatus()); |
1939 o.add(buildDatafeedStatus()); | 1943 o.add(buildDatafeedStatus()); |
1940 return o; | 1944 return o; |
1941 } | 1945 } |
1942 | 1946 |
1943 checkUnnamed289(core.List<api.DatafeedStatus> o) { | 1947 checkUnnamed291(core.List<api.DatafeedStatus> o) { |
1944 unittest.expect(o, unittest.hasLength(2)); | 1948 unittest.expect(o, unittest.hasLength(2)); |
1945 checkDatafeedStatus(o[0]); | 1949 checkDatafeedStatus(o[0]); |
1946 checkDatafeedStatus(o[1]); | 1950 checkDatafeedStatus(o[1]); |
1947 } | 1951 } |
1948 | 1952 |
1949 core.int buildCounterDatafeedstatusesListResponse = 0; | 1953 core.int buildCounterDatafeedstatusesListResponse = 0; |
1950 buildDatafeedstatusesListResponse() { | 1954 buildDatafeedstatusesListResponse() { |
1951 var o = new api.DatafeedstatusesListResponse(); | 1955 var o = new api.DatafeedstatusesListResponse(); |
1952 buildCounterDatafeedstatusesListResponse++; | 1956 buildCounterDatafeedstatusesListResponse++; |
1953 if (buildCounterDatafeedstatusesListResponse < 3) { | 1957 if (buildCounterDatafeedstatusesListResponse < 3) { |
1954 o.kind = "foo"; | 1958 o.kind = "foo"; |
1955 o.nextPageToken = "foo"; | 1959 o.nextPageToken = "foo"; |
1956 o.resources = buildUnnamed289(); | 1960 o.resources = buildUnnamed291(); |
1957 } | 1961 } |
1958 buildCounterDatafeedstatusesListResponse--; | 1962 buildCounterDatafeedstatusesListResponse--; |
1959 return o; | 1963 return o; |
1960 } | 1964 } |
1961 | 1965 |
1962 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { | 1966 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { |
1963 buildCounterDatafeedstatusesListResponse++; | 1967 buildCounterDatafeedstatusesListResponse++; |
1964 if (buildCounterDatafeedstatusesListResponse < 3) { | 1968 if (buildCounterDatafeedstatusesListResponse < 3) { |
1965 unittest.expect(o.kind, unittest.equals('foo')); | 1969 unittest.expect(o.kind, unittest.equals('foo')); |
1966 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1970 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1967 checkUnnamed289(o.resources); | 1971 checkUnnamed291(o.resources); |
1968 } | 1972 } |
1969 buildCounterDatafeedstatusesListResponse--; | 1973 buildCounterDatafeedstatusesListResponse--; |
1970 } | 1974 } |
1971 | 1975 |
1972 core.int buildCounterDeliveryTime = 0; | 1976 core.int buildCounterDeliveryTime = 0; |
1973 buildDeliveryTime() { | 1977 buildDeliveryTime() { |
1974 var o = new api.DeliveryTime(); | 1978 var o = new api.DeliveryTime(); |
1975 buildCounterDeliveryTime++; | 1979 buildCounterDeliveryTime++; |
1976 if (buildCounterDeliveryTime < 3) { | 1980 if (buildCounterDeliveryTime < 3) { |
1977 o.maxTransitTimeInDays = 42; | 1981 o.maxTransitTimeInDays = 42; |
(...skipping 28 matching lines...) Expand all Loading... |
2006 checkError(api.Error o) { | 2010 checkError(api.Error o) { |
2007 buildCounterError++; | 2011 buildCounterError++; |
2008 if (buildCounterError < 3) { | 2012 if (buildCounterError < 3) { |
2009 unittest.expect(o.domain, unittest.equals('foo')); | 2013 unittest.expect(o.domain, unittest.equals('foo')); |
2010 unittest.expect(o.message, unittest.equals('foo')); | 2014 unittest.expect(o.message, unittest.equals('foo')); |
2011 unittest.expect(o.reason, unittest.equals('foo')); | 2015 unittest.expect(o.reason, unittest.equals('foo')); |
2012 } | 2016 } |
2013 buildCounterError--; | 2017 buildCounterError--; |
2014 } | 2018 } |
2015 | 2019 |
2016 buildUnnamed290() { | 2020 buildUnnamed292() { |
2017 var o = new core.List<api.Error>(); | 2021 var o = new core.List<api.Error>(); |
2018 o.add(buildError()); | 2022 o.add(buildError()); |
2019 o.add(buildError()); | 2023 o.add(buildError()); |
2020 return o; | 2024 return o; |
2021 } | 2025 } |
2022 | 2026 |
2023 checkUnnamed290(core.List<api.Error> o) { | 2027 checkUnnamed292(core.List<api.Error> o) { |
2024 unittest.expect(o, unittest.hasLength(2)); | 2028 unittest.expect(o, unittest.hasLength(2)); |
2025 checkError(o[0]); | 2029 checkError(o[0]); |
2026 checkError(o[1]); | 2030 checkError(o[1]); |
2027 } | 2031 } |
2028 | 2032 |
2029 core.int buildCounterErrors = 0; | 2033 core.int buildCounterErrors = 0; |
2030 buildErrors() { | 2034 buildErrors() { |
2031 var o = new api.Errors(); | 2035 var o = new api.Errors(); |
2032 buildCounterErrors++; | 2036 buildCounterErrors++; |
2033 if (buildCounterErrors < 3) { | 2037 if (buildCounterErrors < 3) { |
2034 o.code = 42; | 2038 o.code = 42; |
2035 o.errors = buildUnnamed290(); | 2039 o.errors = buildUnnamed292(); |
2036 o.message = "foo"; | 2040 o.message = "foo"; |
2037 } | 2041 } |
2038 buildCounterErrors--; | 2042 buildCounterErrors--; |
2039 return o; | 2043 return o; |
2040 } | 2044 } |
2041 | 2045 |
2042 checkErrors(api.Errors o) { | 2046 checkErrors(api.Errors o) { |
2043 buildCounterErrors++; | 2047 buildCounterErrors++; |
2044 if (buildCounterErrors < 3) { | 2048 if (buildCounterErrors < 3) { |
2045 unittest.expect(o.code, unittest.equals(42)); | 2049 unittest.expect(o.code, unittest.equals(42)); |
2046 checkUnnamed290(o.errors); | 2050 checkUnnamed292(o.errors); |
2047 unittest.expect(o.message, unittest.equals('foo')); | 2051 unittest.expect(o.message, unittest.equals('foo')); |
2048 } | 2052 } |
2049 buildCounterErrors--; | 2053 buildCounterErrors--; |
2050 } | 2054 } |
2051 | 2055 |
2052 buildUnnamed291() { | 2056 buildUnnamed293() { |
2053 var o = new core.List<api.LocationIdSet>(); | 2057 var o = new core.List<api.LocationIdSet>(); |
2054 o.add(buildLocationIdSet()); | 2058 o.add(buildLocationIdSet()); |
2055 o.add(buildLocationIdSet()); | 2059 o.add(buildLocationIdSet()); |
2056 return o; | 2060 return o; |
2057 } | 2061 } |
2058 | 2062 |
2059 checkUnnamed291(core.List<api.LocationIdSet> o) { | 2063 checkUnnamed293(core.List<api.LocationIdSet> o) { |
2060 unittest.expect(o, unittest.hasLength(2)); | 2064 unittest.expect(o, unittest.hasLength(2)); |
2061 checkLocationIdSet(o[0]); | 2065 checkLocationIdSet(o[0]); |
2062 checkLocationIdSet(o[1]); | 2066 checkLocationIdSet(o[1]); |
2063 } | 2067 } |
2064 | 2068 |
2065 buildUnnamed292() { | 2069 buildUnnamed294() { |
2066 var o = new core.List<core.String>(); | 2070 var o = new core.List<core.String>(); |
2067 o.add("foo"); | 2071 o.add("foo"); |
2068 o.add("foo"); | 2072 o.add("foo"); |
2069 return o; | 2073 return o; |
2070 } | 2074 } |
2071 | 2075 |
2072 checkUnnamed292(core.List<core.String> o) { | 2076 checkUnnamed294(core.List<core.String> o) { |
2073 unittest.expect(o, unittest.hasLength(2)); | 2077 unittest.expect(o, unittest.hasLength(2)); |
2074 unittest.expect(o[0], unittest.equals('foo')); | 2078 unittest.expect(o[0], unittest.equals('foo')); |
2075 unittest.expect(o[1], unittest.equals('foo')); | 2079 unittest.expect(o[1], unittest.equals('foo')); |
2076 } | 2080 } |
2077 | 2081 |
2078 buildUnnamed293() { | 2082 buildUnnamed295() { |
2079 var o = new core.List<core.String>(); | 2083 var o = new core.List<core.String>(); |
2080 o.add("foo"); | 2084 o.add("foo"); |
2081 o.add("foo"); | 2085 o.add("foo"); |
2082 return o; | 2086 return o; |
2083 } | 2087 } |
2084 | 2088 |
2085 checkUnnamed293(core.List<core.String> o) { | 2089 checkUnnamed295(core.List<core.String> o) { |
2086 unittest.expect(o, unittest.hasLength(2)); | 2090 unittest.expect(o, unittest.hasLength(2)); |
2087 unittest.expect(o[0], unittest.equals('foo')); | 2091 unittest.expect(o[0], unittest.equals('foo')); |
2088 unittest.expect(o[1], unittest.equals('foo')); | 2092 unittest.expect(o[1], unittest.equals('foo')); |
2089 } | 2093 } |
2090 | 2094 |
2091 buildUnnamed294() { | 2095 buildUnnamed296() { |
2092 var o = new core.List<api.Price>(); | 2096 var o = new core.List<api.Price>(); |
2093 o.add(buildPrice()); | 2097 o.add(buildPrice()); |
2094 o.add(buildPrice()); | 2098 o.add(buildPrice()); |
2095 return o; | 2099 return o; |
2096 } | 2100 } |
2097 | 2101 |
2098 checkUnnamed294(core.List<api.Price> o) { | 2102 checkUnnamed296(core.List<api.Price> o) { |
2099 unittest.expect(o, unittest.hasLength(2)); | 2103 unittest.expect(o, unittest.hasLength(2)); |
2100 checkPrice(o[0]); | 2104 checkPrice(o[0]); |
2101 checkPrice(o[1]); | 2105 checkPrice(o[1]); |
2102 } | 2106 } |
2103 | 2107 |
2104 buildUnnamed295() { | 2108 buildUnnamed297() { |
2105 var o = new core.List<api.Weight>(); | 2109 var o = new core.List<api.Weight>(); |
2106 o.add(buildWeight()); | 2110 o.add(buildWeight()); |
2107 o.add(buildWeight()); | 2111 o.add(buildWeight()); |
2108 return o; | 2112 return o; |
2109 } | 2113 } |
2110 | 2114 |
2111 checkUnnamed295(core.List<api.Weight> o) { | 2115 checkUnnamed297(core.List<api.Weight> o) { |
2112 unittest.expect(o, unittest.hasLength(2)); | 2116 unittest.expect(o, unittest.hasLength(2)); |
2113 checkWeight(o[0]); | 2117 checkWeight(o[0]); |
2114 checkWeight(o[1]); | 2118 checkWeight(o[1]); |
2115 } | 2119 } |
2116 | 2120 |
2117 core.int buildCounterHeaders = 0; | 2121 core.int buildCounterHeaders = 0; |
2118 buildHeaders() { | 2122 buildHeaders() { |
2119 var o = new api.Headers(); | 2123 var o = new api.Headers(); |
2120 buildCounterHeaders++; | 2124 buildCounterHeaders++; |
2121 if (buildCounterHeaders < 3) { | 2125 if (buildCounterHeaders < 3) { |
2122 o.locations = buildUnnamed291(); | 2126 o.locations = buildUnnamed293(); |
2123 o.numberOfItems = buildUnnamed292(); | 2127 o.numberOfItems = buildUnnamed294(); |
2124 o.postalCodeGroupNames = buildUnnamed293(); | 2128 o.postalCodeGroupNames = buildUnnamed295(); |
2125 o.prices = buildUnnamed294(); | 2129 o.prices = buildUnnamed296(); |
2126 o.weights = buildUnnamed295(); | 2130 o.weights = buildUnnamed297(); |
2127 } | 2131 } |
2128 buildCounterHeaders--; | 2132 buildCounterHeaders--; |
2129 return o; | 2133 return o; |
2130 } | 2134 } |
2131 | 2135 |
2132 checkHeaders(api.Headers o) { | 2136 checkHeaders(api.Headers o) { |
2133 buildCounterHeaders++; | 2137 buildCounterHeaders++; |
2134 if (buildCounterHeaders < 3) { | 2138 if (buildCounterHeaders < 3) { |
2135 checkUnnamed291(o.locations); | 2139 checkUnnamed293(o.locations); |
2136 checkUnnamed292(o.numberOfItems); | 2140 checkUnnamed294(o.numberOfItems); |
2137 checkUnnamed293(o.postalCodeGroupNames); | 2141 checkUnnamed295(o.postalCodeGroupNames); |
2138 checkUnnamed294(o.prices); | 2142 checkUnnamed296(o.prices); |
2139 checkUnnamed295(o.weights); | 2143 checkUnnamed297(o.weights); |
2140 } | 2144 } |
2141 buildCounterHeaders--; | 2145 buildCounterHeaders--; |
2142 } | 2146 } |
2143 | 2147 |
2144 core.int buildCounterInstallment = 0; | 2148 core.int buildCounterInstallment = 0; |
2145 buildInstallment() { | 2149 buildInstallment() { |
2146 var o = new api.Installment(); | 2150 var o = new api.Installment(); |
2147 buildCounterInstallment++; | 2151 buildCounterInstallment++; |
2148 if (buildCounterInstallment < 3) { | 2152 if (buildCounterInstallment < 3) { |
2149 o.amount = buildPrice(); | 2153 o.amount = buildPrice(); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2192 checkInventoryPickup(o.pickup); | 2196 checkInventoryPickup(o.pickup); |
2193 checkPrice(o.price); | 2197 checkPrice(o.price); |
2194 unittest.expect(o.quantity, unittest.equals(42)); | 2198 unittest.expect(o.quantity, unittest.equals(42)); |
2195 checkPrice(o.salePrice); | 2199 checkPrice(o.salePrice); |
2196 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 2200 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
2197 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 2201 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
2198 } | 2202 } |
2199 buildCounterInventory--; | 2203 buildCounterInventory--; |
2200 } | 2204 } |
2201 | 2205 |
2202 buildUnnamed296() { | 2206 buildUnnamed298() { |
2203 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); | 2207 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); |
2204 o.add(buildInventoryCustomBatchRequestEntry()); | 2208 o.add(buildInventoryCustomBatchRequestEntry()); |
2205 o.add(buildInventoryCustomBatchRequestEntry()); | 2209 o.add(buildInventoryCustomBatchRequestEntry()); |
2206 return o; | 2210 return o; |
2207 } | 2211 } |
2208 | 2212 |
2209 checkUnnamed296(core.List<api.InventoryCustomBatchRequestEntry> o) { | 2213 checkUnnamed298(core.List<api.InventoryCustomBatchRequestEntry> o) { |
2210 unittest.expect(o, unittest.hasLength(2)); | 2214 unittest.expect(o, unittest.hasLength(2)); |
2211 checkInventoryCustomBatchRequestEntry(o[0]); | 2215 checkInventoryCustomBatchRequestEntry(o[0]); |
2212 checkInventoryCustomBatchRequestEntry(o[1]); | 2216 checkInventoryCustomBatchRequestEntry(o[1]); |
2213 } | 2217 } |
2214 | 2218 |
2215 core.int buildCounterInventoryCustomBatchRequest = 0; | 2219 core.int buildCounterInventoryCustomBatchRequest = 0; |
2216 buildInventoryCustomBatchRequest() { | 2220 buildInventoryCustomBatchRequest() { |
2217 var o = new api.InventoryCustomBatchRequest(); | 2221 var o = new api.InventoryCustomBatchRequest(); |
2218 buildCounterInventoryCustomBatchRequest++; | 2222 buildCounterInventoryCustomBatchRequest++; |
2219 if (buildCounterInventoryCustomBatchRequest < 3) { | 2223 if (buildCounterInventoryCustomBatchRequest < 3) { |
2220 o.entries = buildUnnamed296(); | 2224 o.entries = buildUnnamed298(); |
2221 } | 2225 } |
2222 buildCounterInventoryCustomBatchRequest--; | 2226 buildCounterInventoryCustomBatchRequest--; |
2223 return o; | 2227 return o; |
2224 } | 2228 } |
2225 | 2229 |
2226 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { | 2230 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { |
2227 buildCounterInventoryCustomBatchRequest++; | 2231 buildCounterInventoryCustomBatchRequest++; |
2228 if (buildCounterInventoryCustomBatchRequest < 3) { | 2232 if (buildCounterInventoryCustomBatchRequest < 3) { |
2229 checkUnnamed296(o.entries); | 2233 checkUnnamed298(o.entries); |
2230 } | 2234 } |
2231 buildCounterInventoryCustomBatchRequest--; | 2235 buildCounterInventoryCustomBatchRequest--; |
2232 } | 2236 } |
2233 | 2237 |
2234 core.int buildCounterInventoryCustomBatchRequestEntry = 0; | 2238 core.int buildCounterInventoryCustomBatchRequestEntry = 0; |
2235 buildInventoryCustomBatchRequestEntry() { | 2239 buildInventoryCustomBatchRequestEntry() { |
2236 var o = new api.InventoryCustomBatchRequestEntry(); | 2240 var o = new api.InventoryCustomBatchRequestEntry(); |
2237 buildCounterInventoryCustomBatchRequestEntry++; | 2241 buildCounterInventoryCustomBatchRequestEntry++; |
2238 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2242 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
2239 o.batchId = 42; | 2243 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
2251 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2255 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
2252 unittest.expect(o.batchId, unittest.equals(42)); | 2256 unittest.expect(o.batchId, unittest.equals(42)); |
2253 checkInventory(o.inventory); | 2257 checkInventory(o.inventory); |
2254 unittest.expect(o.merchantId, unittest.equals('foo')); | 2258 unittest.expect(o.merchantId, unittest.equals('foo')); |
2255 unittest.expect(o.productId, unittest.equals('foo')); | 2259 unittest.expect(o.productId, unittest.equals('foo')); |
2256 unittest.expect(o.storeCode, unittest.equals('foo')); | 2260 unittest.expect(o.storeCode, unittest.equals('foo')); |
2257 } | 2261 } |
2258 buildCounterInventoryCustomBatchRequestEntry--; | 2262 buildCounterInventoryCustomBatchRequestEntry--; |
2259 } | 2263 } |
2260 | 2264 |
2261 buildUnnamed297() { | 2265 buildUnnamed299() { |
2262 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); | 2266 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); |
2263 o.add(buildInventoryCustomBatchResponseEntry()); | 2267 o.add(buildInventoryCustomBatchResponseEntry()); |
2264 o.add(buildInventoryCustomBatchResponseEntry()); | 2268 o.add(buildInventoryCustomBatchResponseEntry()); |
2265 return o; | 2269 return o; |
2266 } | 2270 } |
2267 | 2271 |
2268 checkUnnamed297(core.List<api.InventoryCustomBatchResponseEntry> o) { | 2272 checkUnnamed299(core.List<api.InventoryCustomBatchResponseEntry> o) { |
2269 unittest.expect(o, unittest.hasLength(2)); | 2273 unittest.expect(o, unittest.hasLength(2)); |
2270 checkInventoryCustomBatchResponseEntry(o[0]); | 2274 checkInventoryCustomBatchResponseEntry(o[0]); |
2271 checkInventoryCustomBatchResponseEntry(o[1]); | 2275 checkInventoryCustomBatchResponseEntry(o[1]); |
2272 } | 2276 } |
2273 | 2277 |
2274 core.int buildCounterInventoryCustomBatchResponse = 0; | 2278 core.int buildCounterInventoryCustomBatchResponse = 0; |
2275 buildInventoryCustomBatchResponse() { | 2279 buildInventoryCustomBatchResponse() { |
2276 var o = new api.InventoryCustomBatchResponse(); | 2280 var o = new api.InventoryCustomBatchResponse(); |
2277 buildCounterInventoryCustomBatchResponse++; | 2281 buildCounterInventoryCustomBatchResponse++; |
2278 if (buildCounterInventoryCustomBatchResponse < 3) { | 2282 if (buildCounterInventoryCustomBatchResponse < 3) { |
2279 o.entries = buildUnnamed297(); | 2283 o.entries = buildUnnamed299(); |
2280 o.kind = "foo"; | 2284 o.kind = "foo"; |
2281 } | 2285 } |
2282 buildCounterInventoryCustomBatchResponse--; | 2286 buildCounterInventoryCustomBatchResponse--; |
2283 return o; | 2287 return o; |
2284 } | 2288 } |
2285 | 2289 |
2286 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { | 2290 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { |
2287 buildCounterInventoryCustomBatchResponse++; | 2291 buildCounterInventoryCustomBatchResponse++; |
2288 if (buildCounterInventoryCustomBatchResponse < 3) { | 2292 if (buildCounterInventoryCustomBatchResponse < 3) { |
2289 checkUnnamed297(o.entries); | 2293 checkUnnamed299(o.entries); |
2290 unittest.expect(o.kind, unittest.equals('foo')); | 2294 unittest.expect(o.kind, unittest.equals('foo')); |
2291 } | 2295 } |
2292 buildCounterInventoryCustomBatchResponse--; | 2296 buildCounterInventoryCustomBatchResponse--; |
2293 } | 2297 } |
2294 | 2298 |
2295 core.int buildCounterInventoryCustomBatchResponseEntry = 0; | 2299 core.int buildCounterInventoryCustomBatchResponseEntry = 0; |
2296 buildInventoryCustomBatchResponseEntry() { | 2300 buildInventoryCustomBatchResponseEntry() { |
2297 var o = new api.InventoryCustomBatchResponseEntry(); | 2301 var o = new api.InventoryCustomBatchResponseEntry(); |
2298 buildCounterInventoryCustomBatchResponseEntry++; | 2302 buildCounterInventoryCustomBatchResponseEntry++; |
2299 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 2303 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2383 } | 2387 } |
2384 | 2388 |
2385 checkInventorySetResponse(api.InventorySetResponse o) { | 2389 checkInventorySetResponse(api.InventorySetResponse o) { |
2386 buildCounterInventorySetResponse++; | 2390 buildCounterInventorySetResponse++; |
2387 if (buildCounterInventorySetResponse < 3) { | 2391 if (buildCounterInventorySetResponse < 3) { |
2388 unittest.expect(o.kind, unittest.equals('foo')); | 2392 unittest.expect(o.kind, unittest.equals('foo')); |
2389 } | 2393 } |
2390 buildCounterInventorySetResponse--; | 2394 buildCounterInventorySetResponse--; |
2391 } | 2395 } |
2392 | 2396 |
2393 buildUnnamed298() { | 2397 buildUnnamed300() { |
2394 var o = new core.List<core.String>(); | 2398 var o = new core.List<core.String>(); |
2395 o.add("foo"); | 2399 o.add("foo"); |
2396 o.add("foo"); | 2400 o.add("foo"); |
2397 return o; | 2401 return o; |
2398 } | 2402 } |
2399 | 2403 |
2400 checkUnnamed298(core.List<core.String> o) { | 2404 checkUnnamed300(core.List<core.String> o) { |
2401 unittest.expect(o, unittest.hasLength(2)); | 2405 unittest.expect(o, unittest.hasLength(2)); |
2402 unittest.expect(o[0], unittest.equals('foo')); | 2406 unittest.expect(o[0], unittest.equals('foo')); |
2403 unittest.expect(o[1], unittest.equals('foo')); | 2407 unittest.expect(o[1], unittest.equals('foo')); |
2404 } | 2408 } |
2405 | 2409 |
2406 core.int buildCounterLocationIdSet = 0; | 2410 core.int buildCounterLocationIdSet = 0; |
2407 buildLocationIdSet() { | 2411 buildLocationIdSet() { |
2408 var o = new api.LocationIdSet(); | 2412 var o = new api.LocationIdSet(); |
2409 buildCounterLocationIdSet++; | 2413 buildCounterLocationIdSet++; |
2410 if (buildCounterLocationIdSet < 3) { | 2414 if (buildCounterLocationIdSet < 3) { |
2411 o.locationIds = buildUnnamed298(); | 2415 o.locationIds = buildUnnamed300(); |
2412 } | 2416 } |
2413 buildCounterLocationIdSet--; | 2417 buildCounterLocationIdSet--; |
2414 return o; | 2418 return o; |
2415 } | 2419 } |
2416 | 2420 |
2417 checkLocationIdSet(api.LocationIdSet o) { | 2421 checkLocationIdSet(api.LocationIdSet o) { |
2418 buildCounterLocationIdSet++; | 2422 buildCounterLocationIdSet++; |
2419 if (buildCounterLocationIdSet < 3) { | 2423 if (buildCounterLocationIdSet < 3) { |
2420 checkUnnamed298(o.locationIds); | 2424 checkUnnamed300(o.locationIds); |
2421 } | 2425 } |
2422 buildCounterLocationIdSet--; | 2426 buildCounterLocationIdSet--; |
2423 } | 2427 } |
2424 | 2428 |
2425 core.int buildCounterLoyaltyPoints = 0; | 2429 core.int buildCounterLoyaltyPoints = 0; |
2426 buildLoyaltyPoints() { | 2430 buildLoyaltyPoints() { |
2427 var o = new api.LoyaltyPoints(); | 2431 var o = new api.LoyaltyPoints(); |
2428 buildCounterLoyaltyPoints++; | 2432 buildCounterLoyaltyPoints++; |
2429 if (buildCounterLoyaltyPoints < 3) { | 2433 if (buildCounterLoyaltyPoints < 3) { |
2430 o.name = "foo"; | 2434 o.name = "foo"; |
2431 o.pointsValue = "foo"; | 2435 o.pointsValue = "foo"; |
2432 o.ratio = 42.0; | 2436 o.ratio = 42.0; |
2433 } | 2437 } |
2434 buildCounterLoyaltyPoints--; | 2438 buildCounterLoyaltyPoints--; |
2435 return o; | 2439 return o; |
2436 } | 2440 } |
2437 | 2441 |
2438 checkLoyaltyPoints(api.LoyaltyPoints o) { | 2442 checkLoyaltyPoints(api.LoyaltyPoints o) { |
2439 buildCounterLoyaltyPoints++; | 2443 buildCounterLoyaltyPoints++; |
2440 if (buildCounterLoyaltyPoints < 3) { | 2444 if (buildCounterLoyaltyPoints < 3) { |
2441 unittest.expect(o.name, unittest.equals('foo')); | 2445 unittest.expect(o.name, unittest.equals('foo')); |
2442 unittest.expect(o.pointsValue, unittest.equals('foo')); | 2446 unittest.expect(o.pointsValue, unittest.equals('foo')); |
2443 unittest.expect(o.ratio, unittest.equals(42.0)); | 2447 unittest.expect(o.ratio, unittest.equals(42.0)); |
2444 } | 2448 } |
2445 buildCounterLoyaltyPoints--; | 2449 buildCounterLoyaltyPoints--; |
2446 } | 2450 } |
2447 | 2451 |
2448 buildUnnamed299() { | 2452 buildUnnamed301() { |
2449 var o = new core.List<api.OrderLineItem>(); | 2453 var o = new core.List<api.OrderLineItem>(); |
2450 o.add(buildOrderLineItem()); | 2454 o.add(buildOrderLineItem()); |
2451 o.add(buildOrderLineItem()); | 2455 o.add(buildOrderLineItem()); |
2452 return o; | 2456 return o; |
2453 } | 2457 } |
2454 | 2458 |
2455 checkUnnamed299(core.List<api.OrderLineItem> o) { | 2459 checkUnnamed301(core.List<api.OrderLineItem> o) { |
2456 unittest.expect(o, unittest.hasLength(2)); | 2460 unittest.expect(o, unittest.hasLength(2)); |
2457 checkOrderLineItem(o[0]); | 2461 checkOrderLineItem(o[0]); |
2458 checkOrderLineItem(o[1]); | 2462 checkOrderLineItem(o[1]); |
2459 } | 2463 } |
2460 | 2464 |
2461 buildUnnamed300() { | 2465 buildUnnamed302() { |
2462 var o = new core.List<api.OrderPromotion>(); | 2466 var o = new core.List<api.OrderPromotion>(); |
2463 o.add(buildOrderPromotion()); | 2467 o.add(buildOrderPromotion()); |
2464 o.add(buildOrderPromotion()); | 2468 o.add(buildOrderPromotion()); |
2465 return o; | 2469 return o; |
2466 } | 2470 } |
2467 | 2471 |
2468 checkUnnamed300(core.List<api.OrderPromotion> o) { | 2472 checkUnnamed302(core.List<api.OrderPromotion> o) { |
2469 unittest.expect(o, unittest.hasLength(2)); | 2473 unittest.expect(o, unittest.hasLength(2)); |
2470 checkOrderPromotion(o[0]); | 2474 checkOrderPromotion(o[0]); |
2471 checkOrderPromotion(o[1]); | 2475 checkOrderPromotion(o[1]); |
2472 } | 2476 } |
2473 | 2477 |
2474 buildUnnamed301() { | 2478 buildUnnamed303() { |
2475 var o = new core.List<api.OrderRefund>(); | 2479 var o = new core.List<api.OrderRefund>(); |
2476 o.add(buildOrderRefund()); | 2480 o.add(buildOrderRefund()); |
2477 o.add(buildOrderRefund()); | 2481 o.add(buildOrderRefund()); |
2478 return o; | 2482 return o; |
2479 } | 2483 } |
2480 | 2484 |
2481 checkUnnamed301(core.List<api.OrderRefund> o) { | 2485 checkUnnamed303(core.List<api.OrderRefund> o) { |
2482 unittest.expect(o, unittest.hasLength(2)); | 2486 unittest.expect(o, unittest.hasLength(2)); |
2483 checkOrderRefund(o[0]); | 2487 checkOrderRefund(o[0]); |
2484 checkOrderRefund(o[1]); | 2488 checkOrderRefund(o[1]); |
2485 } | 2489 } |
2486 | 2490 |
2487 buildUnnamed302() { | 2491 buildUnnamed304() { |
2488 var o = new core.List<api.OrderShipment>(); | 2492 var o = new core.List<api.OrderShipment>(); |
2489 o.add(buildOrderShipment()); | 2493 o.add(buildOrderShipment()); |
2490 o.add(buildOrderShipment()); | 2494 o.add(buildOrderShipment()); |
2491 return o; | 2495 return o; |
2492 } | 2496 } |
2493 | 2497 |
2494 checkUnnamed302(core.List<api.OrderShipment> o) { | 2498 checkUnnamed304(core.List<api.OrderShipment> o) { |
2495 unittest.expect(o, unittest.hasLength(2)); | 2499 unittest.expect(o, unittest.hasLength(2)); |
2496 checkOrderShipment(o[0]); | 2500 checkOrderShipment(o[0]); |
2497 checkOrderShipment(o[1]); | 2501 checkOrderShipment(o[1]); |
2498 } | 2502 } |
2499 | 2503 |
2500 core.int buildCounterOrder = 0; | 2504 core.int buildCounterOrder = 0; |
2501 buildOrder() { | 2505 buildOrder() { |
2502 var o = new api.Order(); | 2506 var o = new api.Order(); |
2503 buildCounterOrder++; | 2507 buildCounterOrder++; |
2504 if (buildCounterOrder < 3) { | 2508 if (buildCounterOrder < 3) { |
2505 o.acknowledged = true; | 2509 o.acknowledged = true; |
2506 o.channelType = "foo"; | 2510 o.channelType = "foo"; |
2507 o.customer = buildOrderCustomer(); | 2511 o.customer = buildOrderCustomer(); |
2508 o.deliveryDetails = buildOrderDeliveryDetails(); | 2512 o.deliveryDetails = buildOrderDeliveryDetails(); |
2509 o.id = "foo"; | 2513 o.id = "foo"; |
2510 o.kind = "foo"; | 2514 o.kind = "foo"; |
2511 o.lineItems = buildUnnamed299(); | 2515 o.lineItems = buildUnnamed301(); |
2512 o.merchantId = "foo"; | 2516 o.merchantId = "foo"; |
2513 o.merchantOrderId = "foo"; | 2517 o.merchantOrderId = "foo"; |
2514 o.netAmount = buildPrice(); | 2518 o.netAmount = buildPrice(); |
2515 o.paymentMethod = buildOrderPaymentMethod(); | 2519 o.paymentMethod = buildOrderPaymentMethod(); |
2516 o.paymentStatus = "foo"; | 2520 o.paymentStatus = "foo"; |
2517 o.placedDate = "foo"; | 2521 o.placedDate = "foo"; |
2518 o.promotions = buildUnnamed300(); | 2522 o.promotions = buildUnnamed302(); |
2519 o.refunds = buildUnnamed301(); | 2523 o.refunds = buildUnnamed303(); |
2520 o.shipments = buildUnnamed302(); | 2524 o.shipments = buildUnnamed304(); |
2521 o.shippingCost = buildPrice(); | 2525 o.shippingCost = buildPrice(); |
2522 o.shippingCostTax = buildPrice(); | 2526 o.shippingCostTax = buildPrice(); |
2523 o.shippingOption = "foo"; | 2527 o.shippingOption = "foo"; |
2524 o.status = "foo"; | 2528 o.status = "foo"; |
2525 } | 2529 } |
2526 buildCounterOrder--; | 2530 buildCounterOrder--; |
2527 return o; | 2531 return o; |
2528 } | 2532 } |
2529 | 2533 |
2530 checkOrder(api.Order o) { | 2534 checkOrder(api.Order o) { |
2531 buildCounterOrder++; | 2535 buildCounterOrder++; |
2532 if (buildCounterOrder < 3) { | 2536 if (buildCounterOrder < 3) { |
2533 unittest.expect(o.acknowledged, unittest.isTrue); | 2537 unittest.expect(o.acknowledged, unittest.isTrue); |
2534 unittest.expect(o.channelType, unittest.equals('foo')); | 2538 unittest.expect(o.channelType, unittest.equals('foo')); |
2535 checkOrderCustomer(o.customer); | 2539 checkOrderCustomer(o.customer); |
2536 checkOrderDeliveryDetails(o.deliveryDetails); | 2540 checkOrderDeliveryDetails(o.deliveryDetails); |
2537 unittest.expect(o.id, unittest.equals('foo')); | 2541 unittest.expect(o.id, unittest.equals('foo')); |
2538 unittest.expect(o.kind, unittest.equals('foo')); | 2542 unittest.expect(o.kind, unittest.equals('foo')); |
2539 checkUnnamed299(o.lineItems); | 2543 checkUnnamed301(o.lineItems); |
2540 unittest.expect(o.merchantId, unittest.equals('foo')); | 2544 unittest.expect(o.merchantId, unittest.equals('foo')); |
2541 unittest.expect(o.merchantOrderId, unittest.equals('foo')); | 2545 unittest.expect(o.merchantOrderId, unittest.equals('foo')); |
2542 checkPrice(o.netAmount); | 2546 checkPrice(o.netAmount); |
2543 checkOrderPaymentMethod(o.paymentMethod); | 2547 checkOrderPaymentMethod(o.paymentMethod); |
2544 unittest.expect(o.paymentStatus, unittest.equals('foo')); | 2548 unittest.expect(o.paymentStatus, unittest.equals('foo')); |
2545 unittest.expect(o.placedDate, unittest.equals('foo')); | 2549 unittest.expect(o.placedDate, unittest.equals('foo')); |
2546 checkUnnamed300(o.promotions); | 2550 checkUnnamed302(o.promotions); |
2547 checkUnnamed301(o.refunds); | 2551 checkUnnamed303(o.refunds); |
2548 checkUnnamed302(o.shipments); | 2552 checkUnnamed304(o.shipments); |
2549 checkPrice(o.shippingCost); | 2553 checkPrice(o.shippingCost); |
2550 checkPrice(o.shippingCostTax); | 2554 checkPrice(o.shippingCostTax); |
2551 unittest.expect(o.shippingOption, unittest.equals('foo')); | 2555 unittest.expect(o.shippingOption, unittest.equals('foo')); |
2552 unittest.expect(o.status, unittest.equals('foo')); | 2556 unittest.expect(o.status, unittest.equals('foo')); |
2553 } | 2557 } |
2554 buildCounterOrder--; | 2558 buildCounterOrder--; |
2555 } | 2559 } |
2556 | 2560 |
2557 buildUnnamed303() { | 2561 buildUnnamed305() { |
2558 var o = new core.List<core.String>(); | 2562 var o = new core.List<core.String>(); |
2559 o.add("foo"); | 2563 o.add("foo"); |
2560 o.add("foo"); | 2564 o.add("foo"); |
2561 return o; | 2565 return o; |
2562 } | 2566 } |
2563 | 2567 |
2564 checkUnnamed303(core.List<core.String> o) { | 2568 checkUnnamed305(core.List<core.String> o) { |
2565 unittest.expect(o, unittest.hasLength(2)); | 2569 unittest.expect(o, unittest.hasLength(2)); |
2566 unittest.expect(o[0], unittest.equals('foo')); | 2570 unittest.expect(o[0], unittest.equals('foo')); |
2567 unittest.expect(o[1], unittest.equals('foo')); | 2571 unittest.expect(o[1], unittest.equals('foo')); |
2568 } | 2572 } |
2569 | 2573 |
2570 buildUnnamed304() { | 2574 buildUnnamed306() { |
2571 var o = new core.List<core.String>(); | 2575 var o = new core.List<core.String>(); |
2572 o.add("foo"); | 2576 o.add("foo"); |
2573 o.add("foo"); | 2577 o.add("foo"); |
2574 return o; | 2578 return o; |
2575 } | 2579 } |
2576 | 2580 |
2577 checkUnnamed304(core.List<core.String> o) { | 2581 checkUnnamed306(core.List<core.String> o) { |
2578 unittest.expect(o, unittest.hasLength(2)); | 2582 unittest.expect(o, unittest.hasLength(2)); |
2579 unittest.expect(o[0], unittest.equals('foo')); | 2583 unittest.expect(o[0], unittest.equals('foo')); |
2580 unittest.expect(o[1], unittest.equals('foo')); | 2584 unittest.expect(o[1], unittest.equals('foo')); |
2581 } | 2585 } |
2582 | 2586 |
2583 core.int buildCounterOrderAddress = 0; | 2587 core.int buildCounterOrderAddress = 0; |
2584 buildOrderAddress() { | 2588 buildOrderAddress() { |
2585 var o = new api.OrderAddress(); | 2589 var o = new api.OrderAddress(); |
2586 buildCounterOrderAddress++; | 2590 buildCounterOrderAddress++; |
2587 if (buildCounterOrderAddress < 3) { | 2591 if (buildCounterOrderAddress < 3) { |
2588 o.country = "foo"; | 2592 o.country = "foo"; |
2589 o.fullAddress = buildUnnamed303(); | 2593 o.fullAddress = buildUnnamed305(); |
2590 o.isPostOfficeBox = true; | 2594 o.isPostOfficeBox = true; |
2591 o.locality = "foo"; | 2595 o.locality = "foo"; |
2592 o.postalCode = "foo"; | 2596 o.postalCode = "foo"; |
2593 o.recipientName = "foo"; | 2597 o.recipientName = "foo"; |
2594 o.region = "foo"; | 2598 o.region = "foo"; |
2595 o.streetAddress = buildUnnamed304(); | 2599 o.streetAddress = buildUnnamed306(); |
2596 } | 2600 } |
2597 buildCounterOrderAddress--; | 2601 buildCounterOrderAddress--; |
2598 return o; | 2602 return o; |
2599 } | 2603 } |
2600 | 2604 |
2601 checkOrderAddress(api.OrderAddress o) { | 2605 checkOrderAddress(api.OrderAddress o) { |
2602 buildCounterOrderAddress++; | 2606 buildCounterOrderAddress++; |
2603 if (buildCounterOrderAddress < 3) { | 2607 if (buildCounterOrderAddress < 3) { |
2604 unittest.expect(o.country, unittest.equals('foo')); | 2608 unittest.expect(o.country, unittest.equals('foo')); |
2605 checkUnnamed303(o.fullAddress); | 2609 checkUnnamed305(o.fullAddress); |
2606 unittest.expect(o.isPostOfficeBox, unittest.isTrue); | 2610 unittest.expect(o.isPostOfficeBox, unittest.isTrue); |
2607 unittest.expect(o.locality, unittest.equals('foo')); | 2611 unittest.expect(o.locality, unittest.equals('foo')); |
2608 unittest.expect(o.postalCode, unittest.equals('foo')); | 2612 unittest.expect(o.postalCode, unittest.equals('foo')); |
2609 unittest.expect(o.recipientName, unittest.equals('foo')); | 2613 unittest.expect(o.recipientName, unittest.equals('foo')); |
2610 unittest.expect(o.region, unittest.equals('foo')); | 2614 unittest.expect(o.region, unittest.equals('foo')); |
2611 checkUnnamed304(o.streetAddress); | 2615 checkUnnamed306(o.streetAddress); |
2612 } | 2616 } |
2613 buildCounterOrderAddress--; | 2617 buildCounterOrderAddress--; |
2614 } | 2618 } |
2615 | 2619 |
2616 core.int buildCounterOrderCancellation = 0; | 2620 core.int buildCounterOrderCancellation = 0; |
2617 buildOrderCancellation() { | 2621 buildOrderCancellation() { |
2618 var o = new api.OrderCancellation(); | 2622 var o = new api.OrderCancellation(); |
2619 buildCounterOrderCancellation++; | 2623 buildCounterOrderCancellation++; |
2620 if (buildCounterOrderCancellation < 3) { | 2624 if (buildCounterOrderCancellation < 3) { |
2621 o.actor = "foo"; | 2625 o.actor = "foo"; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2677 | 2681 |
2678 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { | 2682 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { |
2679 buildCounterOrderDeliveryDetails++; | 2683 buildCounterOrderDeliveryDetails++; |
2680 if (buildCounterOrderDeliveryDetails < 3) { | 2684 if (buildCounterOrderDeliveryDetails < 3) { |
2681 checkOrderAddress(o.address); | 2685 checkOrderAddress(o.address); |
2682 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2686 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
2683 } | 2687 } |
2684 buildCounterOrderDeliveryDetails--; | 2688 buildCounterOrderDeliveryDetails--; |
2685 } | 2689 } |
2686 | 2690 |
2687 buildUnnamed305() { | 2691 buildUnnamed307() { |
2688 var o = new core.List<api.OrderCancellation>(); | 2692 var o = new core.List<api.OrderCancellation>(); |
2689 o.add(buildOrderCancellation()); | 2693 o.add(buildOrderCancellation()); |
2690 o.add(buildOrderCancellation()); | 2694 o.add(buildOrderCancellation()); |
2691 return o; | 2695 return o; |
2692 } | 2696 } |
2693 | 2697 |
2694 checkUnnamed305(core.List<api.OrderCancellation> o) { | 2698 checkUnnamed307(core.List<api.OrderCancellation> o) { |
2695 unittest.expect(o, unittest.hasLength(2)); | 2699 unittest.expect(o, unittest.hasLength(2)); |
2696 checkOrderCancellation(o[0]); | 2700 checkOrderCancellation(o[0]); |
2697 checkOrderCancellation(o[1]); | 2701 checkOrderCancellation(o[1]); |
2698 } | 2702 } |
2699 | 2703 |
2700 buildUnnamed306() { | 2704 buildUnnamed308() { |
2701 var o = new core.List<api.OrderReturn>(); | 2705 var o = new core.List<api.OrderReturn>(); |
2702 o.add(buildOrderReturn()); | 2706 o.add(buildOrderReturn()); |
2703 o.add(buildOrderReturn()); | 2707 o.add(buildOrderReturn()); |
2704 return o; | 2708 return o; |
2705 } | 2709 } |
2706 | 2710 |
2707 checkUnnamed306(core.List<api.OrderReturn> o) { | 2711 checkUnnamed308(core.List<api.OrderReturn> o) { |
2708 unittest.expect(o, unittest.hasLength(2)); | 2712 unittest.expect(o, unittest.hasLength(2)); |
2709 checkOrderReturn(o[0]); | 2713 checkOrderReturn(o[0]); |
2710 checkOrderReturn(o[1]); | 2714 checkOrderReturn(o[1]); |
2711 } | 2715 } |
2712 | 2716 |
2713 core.int buildCounterOrderLineItem = 0; | 2717 core.int buildCounterOrderLineItem = 0; |
2714 buildOrderLineItem() { | 2718 buildOrderLineItem() { |
2715 var o = new api.OrderLineItem(); | 2719 var o = new api.OrderLineItem(); |
2716 buildCounterOrderLineItem++; | 2720 buildCounterOrderLineItem++; |
2717 if (buildCounterOrderLineItem < 3) { | 2721 if (buildCounterOrderLineItem < 3) { |
2718 o.cancellations = buildUnnamed305(); | 2722 o.cancellations = buildUnnamed307(); |
2719 o.id = "foo"; | 2723 o.id = "foo"; |
2720 o.price = buildPrice(); | 2724 o.price = buildPrice(); |
2721 o.product = buildOrderLineItemProduct(); | 2725 o.product = buildOrderLineItemProduct(); |
2722 o.quantityCanceled = 42; | 2726 o.quantityCanceled = 42; |
2723 o.quantityDelivered = 42; | 2727 o.quantityDelivered = 42; |
2724 o.quantityOrdered = 42; | 2728 o.quantityOrdered = 42; |
2725 o.quantityPending = 42; | 2729 o.quantityPending = 42; |
2726 o.quantityReturned = 42; | 2730 o.quantityReturned = 42; |
2727 o.quantityShipped = 42; | 2731 o.quantityShipped = 42; |
2728 o.returnInfo = buildOrderLineItemReturnInfo(); | 2732 o.returnInfo = buildOrderLineItemReturnInfo(); |
2729 o.returns = buildUnnamed306(); | 2733 o.returns = buildUnnamed308(); |
2730 o.shippingDetails = buildOrderLineItemShippingDetails(); | 2734 o.shippingDetails = buildOrderLineItemShippingDetails(); |
2731 o.tax = buildPrice(); | 2735 o.tax = buildPrice(); |
2732 } | 2736 } |
2733 buildCounterOrderLineItem--; | 2737 buildCounterOrderLineItem--; |
2734 return o; | 2738 return o; |
2735 } | 2739 } |
2736 | 2740 |
2737 checkOrderLineItem(api.OrderLineItem o) { | 2741 checkOrderLineItem(api.OrderLineItem o) { |
2738 buildCounterOrderLineItem++; | 2742 buildCounterOrderLineItem++; |
2739 if (buildCounterOrderLineItem < 3) { | 2743 if (buildCounterOrderLineItem < 3) { |
2740 checkUnnamed305(o.cancellations); | 2744 checkUnnamed307(o.cancellations); |
2741 unittest.expect(o.id, unittest.equals('foo')); | 2745 unittest.expect(o.id, unittest.equals('foo')); |
2742 checkPrice(o.price); | 2746 checkPrice(o.price); |
2743 checkOrderLineItemProduct(o.product); | 2747 checkOrderLineItemProduct(o.product); |
2744 unittest.expect(o.quantityCanceled, unittest.equals(42)); | 2748 unittest.expect(o.quantityCanceled, unittest.equals(42)); |
2745 unittest.expect(o.quantityDelivered, unittest.equals(42)); | 2749 unittest.expect(o.quantityDelivered, unittest.equals(42)); |
2746 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 2750 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
2747 unittest.expect(o.quantityPending, unittest.equals(42)); | 2751 unittest.expect(o.quantityPending, unittest.equals(42)); |
2748 unittest.expect(o.quantityReturned, unittest.equals(42)); | 2752 unittest.expect(o.quantityReturned, unittest.equals(42)); |
2749 unittest.expect(o.quantityShipped, unittest.equals(42)); | 2753 unittest.expect(o.quantityShipped, unittest.equals(42)); |
2750 checkOrderLineItemReturnInfo(o.returnInfo); | 2754 checkOrderLineItemReturnInfo(o.returnInfo); |
2751 checkUnnamed306(o.returns); | 2755 checkUnnamed308(o.returns); |
2752 checkOrderLineItemShippingDetails(o.shippingDetails); | 2756 checkOrderLineItemShippingDetails(o.shippingDetails); |
2753 checkPrice(o.tax); | 2757 checkPrice(o.tax); |
2754 } | 2758 } |
2755 buildCounterOrderLineItem--; | 2759 buildCounterOrderLineItem--; |
2756 } | 2760 } |
2757 | 2761 |
2758 buildUnnamed307() { | 2762 buildUnnamed309() { |
2759 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 2763 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
2760 o.add(buildOrderLineItemProductVariantAttribute()); | 2764 o.add(buildOrderLineItemProductVariantAttribute()); |
2761 o.add(buildOrderLineItemProductVariantAttribute()); | 2765 o.add(buildOrderLineItemProductVariantAttribute()); |
2762 return o; | 2766 return o; |
2763 } | 2767 } |
2764 | 2768 |
2765 checkUnnamed307(core.List<api.OrderLineItemProductVariantAttribute> o) { | 2769 checkUnnamed309(core.List<api.OrderLineItemProductVariantAttribute> o) { |
2766 unittest.expect(o, unittest.hasLength(2)); | 2770 unittest.expect(o, unittest.hasLength(2)); |
2767 checkOrderLineItemProductVariantAttribute(o[0]); | 2771 checkOrderLineItemProductVariantAttribute(o[0]); |
2768 checkOrderLineItemProductVariantAttribute(o[1]); | 2772 checkOrderLineItemProductVariantAttribute(o[1]); |
2769 } | 2773 } |
2770 | 2774 |
2771 core.int buildCounterOrderLineItemProduct = 0; | 2775 core.int buildCounterOrderLineItemProduct = 0; |
2772 buildOrderLineItemProduct() { | 2776 buildOrderLineItemProduct() { |
2773 var o = new api.OrderLineItemProduct(); | 2777 var o = new api.OrderLineItemProduct(); |
2774 buildCounterOrderLineItemProduct++; | 2778 buildCounterOrderLineItemProduct++; |
2775 if (buildCounterOrderLineItemProduct < 3) { | 2779 if (buildCounterOrderLineItemProduct < 3) { |
2776 o.brand = "foo"; | 2780 o.brand = "foo"; |
2777 o.channel = "foo"; | 2781 o.channel = "foo"; |
2778 o.condition = "foo"; | 2782 o.condition = "foo"; |
2779 o.contentLanguage = "foo"; | 2783 o.contentLanguage = "foo"; |
2780 o.gtin = "foo"; | 2784 o.gtin = "foo"; |
2781 o.id = "foo"; | 2785 o.id = "foo"; |
2782 o.imageLink = "foo"; | 2786 o.imageLink = "foo"; |
2783 o.itemGroupId = "foo"; | 2787 o.itemGroupId = "foo"; |
2784 o.mpn = "foo"; | 2788 o.mpn = "foo"; |
2785 o.offerId = "foo"; | 2789 o.offerId = "foo"; |
2786 o.price = buildPrice(); | 2790 o.price = buildPrice(); |
2787 o.shownImage = "foo"; | 2791 o.shownImage = "foo"; |
2788 o.targetCountry = "foo"; | 2792 o.targetCountry = "foo"; |
2789 o.title = "foo"; | 2793 o.title = "foo"; |
2790 o.variantAttributes = buildUnnamed307(); | 2794 o.variantAttributes = buildUnnamed309(); |
2791 } | 2795 } |
2792 buildCounterOrderLineItemProduct--; | 2796 buildCounterOrderLineItemProduct--; |
2793 return o; | 2797 return o; |
2794 } | 2798 } |
2795 | 2799 |
2796 checkOrderLineItemProduct(api.OrderLineItemProduct o) { | 2800 checkOrderLineItemProduct(api.OrderLineItemProduct o) { |
2797 buildCounterOrderLineItemProduct++; | 2801 buildCounterOrderLineItemProduct++; |
2798 if (buildCounterOrderLineItemProduct < 3) { | 2802 if (buildCounterOrderLineItemProduct < 3) { |
2799 unittest.expect(o.brand, unittest.equals('foo')); | 2803 unittest.expect(o.brand, unittest.equals('foo')); |
2800 unittest.expect(o.channel, unittest.equals('foo')); | 2804 unittest.expect(o.channel, unittest.equals('foo')); |
2801 unittest.expect(o.condition, unittest.equals('foo')); | 2805 unittest.expect(o.condition, unittest.equals('foo')); |
2802 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 2806 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
2803 unittest.expect(o.gtin, unittest.equals('foo')); | 2807 unittest.expect(o.gtin, unittest.equals('foo')); |
2804 unittest.expect(o.id, unittest.equals('foo')); | 2808 unittest.expect(o.id, unittest.equals('foo')); |
2805 unittest.expect(o.imageLink, unittest.equals('foo')); | 2809 unittest.expect(o.imageLink, unittest.equals('foo')); |
2806 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 2810 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
2807 unittest.expect(o.mpn, unittest.equals('foo')); | 2811 unittest.expect(o.mpn, unittest.equals('foo')); |
2808 unittest.expect(o.offerId, unittest.equals('foo')); | 2812 unittest.expect(o.offerId, unittest.equals('foo')); |
2809 checkPrice(o.price); | 2813 checkPrice(o.price); |
2810 unittest.expect(o.shownImage, unittest.equals('foo')); | 2814 unittest.expect(o.shownImage, unittest.equals('foo')); |
2811 unittest.expect(o.targetCountry, unittest.equals('foo')); | 2815 unittest.expect(o.targetCountry, unittest.equals('foo')); |
2812 unittest.expect(o.title, unittest.equals('foo')); | 2816 unittest.expect(o.title, unittest.equals('foo')); |
2813 checkUnnamed307(o.variantAttributes); | 2817 checkUnnamed309(o.variantAttributes); |
2814 } | 2818 } |
2815 buildCounterOrderLineItemProduct--; | 2819 buildCounterOrderLineItemProduct--; |
2816 } | 2820 } |
2817 | 2821 |
2818 core.int buildCounterOrderLineItemProductVariantAttribute = 0; | 2822 core.int buildCounterOrderLineItemProductVariantAttribute = 0; |
2819 buildOrderLineItemProductVariantAttribute() { | 2823 buildOrderLineItemProductVariantAttribute() { |
2820 var o = new api.OrderLineItemProductVariantAttribute(); | 2824 var o = new api.OrderLineItemProductVariantAttribute(); |
2821 buildCounterOrderLineItemProductVariantAttribute++; | 2825 buildCounterOrderLineItemProductVariantAttribute++; |
2822 if (buildCounterOrderLineItemProductVariantAttribute < 3) { | 2826 if (buildCounterOrderLineItemProductVariantAttribute < 3) { |
2823 o.dimension = "foo"; | 2827 o.dimension = "foo"; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2929 checkOrderAddress(o.billingAddress); | 2933 checkOrderAddress(o.billingAddress); |
2930 unittest.expect(o.expirationMonth, unittest.equals(42)); | 2934 unittest.expect(o.expirationMonth, unittest.equals(42)); |
2931 unittest.expect(o.expirationYear, unittest.equals(42)); | 2935 unittest.expect(o.expirationYear, unittest.equals(42)); |
2932 unittest.expect(o.lastFourDigits, unittest.equals('foo')); | 2936 unittest.expect(o.lastFourDigits, unittest.equals('foo')); |
2933 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2937 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
2934 unittest.expect(o.type, unittest.equals('foo')); | 2938 unittest.expect(o.type, unittest.equals('foo')); |
2935 } | 2939 } |
2936 buildCounterOrderPaymentMethod--; | 2940 buildCounterOrderPaymentMethod--; |
2937 } | 2941 } |
2938 | 2942 |
2939 buildUnnamed308() { | 2943 buildUnnamed310() { |
2940 var o = new core.List<api.OrderPromotionBenefit>(); | 2944 var o = new core.List<api.OrderPromotionBenefit>(); |
2941 o.add(buildOrderPromotionBenefit()); | 2945 o.add(buildOrderPromotionBenefit()); |
2942 o.add(buildOrderPromotionBenefit()); | 2946 o.add(buildOrderPromotionBenefit()); |
2943 return o; | 2947 return o; |
2944 } | 2948 } |
2945 | 2949 |
2946 checkUnnamed308(core.List<api.OrderPromotionBenefit> o) { | 2950 checkUnnamed310(core.List<api.OrderPromotionBenefit> o) { |
2947 unittest.expect(o, unittest.hasLength(2)); | 2951 unittest.expect(o, unittest.hasLength(2)); |
2948 checkOrderPromotionBenefit(o[0]); | 2952 checkOrderPromotionBenefit(o[0]); |
2949 checkOrderPromotionBenefit(o[1]); | 2953 checkOrderPromotionBenefit(o[1]); |
2950 } | 2954 } |
2951 | 2955 |
2952 core.int buildCounterOrderPromotion = 0; | 2956 core.int buildCounterOrderPromotion = 0; |
2953 buildOrderPromotion() { | 2957 buildOrderPromotion() { |
2954 var o = new api.OrderPromotion(); | 2958 var o = new api.OrderPromotion(); |
2955 buildCounterOrderPromotion++; | 2959 buildCounterOrderPromotion++; |
2956 if (buildCounterOrderPromotion < 3) { | 2960 if (buildCounterOrderPromotion < 3) { |
2957 o.benefits = buildUnnamed308(); | 2961 o.benefits = buildUnnamed310(); |
2958 o.effectiveDates = "foo"; | 2962 o.effectiveDates = "foo"; |
2959 o.genericRedemptionCode = "foo"; | 2963 o.genericRedemptionCode = "foo"; |
2960 o.id = "foo"; | 2964 o.id = "foo"; |
2961 o.longTitle = "foo"; | 2965 o.longTitle = "foo"; |
2962 o.productApplicability = "foo"; | 2966 o.productApplicability = "foo"; |
2963 o.redemptionChannel = "foo"; | 2967 o.redemptionChannel = "foo"; |
2964 } | 2968 } |
2965 buildCounterOrderPromotion--; | 2969 buildCounterOrderPromotion--; |
2966 return o; | 2970 return o; |
2967 } | 2971 } |
2968 | 2972 |
2969 checkOrderPromotion(api.OrderPromotion o) { | 2973 checkOrderPromotion(api.OrderPromotion o) { |
2970 buildCounterOrderPromotion++; | 2974 buildCounterOrderPromotion++; |
2971 if (buildCounterOrderPromotion < 3) { | 2975 if (buildCounterOrderPromotion < 3) { |
2972 checkUnnamed308(o.benefits); | 2976 checkUnnamed310(o.benefits); |
2973 unittest.expect(o.effectiveDates, unittest.equals('foo')); | 2977 unittest.expect(o.effectiveDates, unittest.equals('foo')); |
2974 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); | 2978 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); |
2975 unittest.expect(o.id, unittest.equals('foo')); | 2979 unittest.expect(o.id, unittest.equals('foo')); |
2976 unittest.expect(o.longTitle, unittest.equals('foo')); | 2980 unittest.expect(o.longTitle, unittest.equals('foo')); |
2977 unittest.expect(o.productApplicability, unittest.equals('foo')); | 2981 unittest.expect(o.productApplicability, unittest.equals('foo')); |
2978 unittest.expect(o.redemptionChannel, unittest.equals('foo')); | 2982 unittest.expect(o.redemptionChannel, unittest.equals('foo')); |
2979 } | 2983 } |
2980 buildCounterOrderPromotion--; | 2984 buildCounterOrderPromotion--; |
2981 } | 2985 } |
2982 | 2986 |
2983 buildUnnamed309() { | 2987 buildUnnamed311() { |
2984 var o = new core.List<core.String>(); | 2988 var o = new core.List<core.String>(); |
2985 o.add("foo"); | 2989 o.add("foo"); |
2986 o.add("foo"); | 2990 o.add("foo"); |
2987 return o; | 2991 return o; |
2988 } | 2992 } |
2989 | 2993 |
2990 checkUnnamed309(core.List<core.String> o) { | 2994 checkUnnamed311(core.List<core.String> o) { |
2991 unittest.expect(o, unittest.hasLength(2)); | 2995 unittest.expect(o, unittest.hasLength(2)); |
2992 unittest.expect(o[0], unittest.equals('foo')); | 2996 unittest.expect(o[0], unittest.equals('foo')); |
2993 unittest.expect(o[1], unittest.equals('foo')); | 2997 unittest.expect(o[1], unittest.equals('foo')); |
2994 } | 2998 } |
2995 | 2999 |
2996 core.int buildCounterOrderPromotionBenefit = 0; | 3000 core.int buildCounterOrderPromotionBenefit = 0; |
2997 buildOrderPromotionBenefit() { | 3001 buildOrderPromotionBenefit() { |
2998 var o = new api.OrderPromotionBenefit(); | 3002 var o = new api.OrderPromotionBenefit(); |
2999 buildCounterOrderPromotionBenefit++; | 3003 buildCounterOrderPromotionBenefit++; |
3000 if (buildCounterOrderPromotionBenefit < 3) { | 3004 if (buildCounterOrderPromotionBenefit < 3) { |
3001 o.discount = buildPrice(); | 3005 o.discount = buildPrice(); |
3002 o.offerIds = buildUnnamed309(); | 3006 o.offerIds = buildUnnamed311(); |
3003 o.subType = "foo"; | 3007 o.subType = "foo"; |
3004 o.taxImpact = buildPrice(); | 3008 o.taxImpact = buildPrice(); |
3005 o.type = "foo"; | 3009 o.type = "foo"; |
3006 } | 3010 } |
3007 buildCounterOrderPromotionBenefit--; | 3011 buildCounterOrderPromotionBenefit--; |
3008 return o; | 3012 return o; |
3009 } | 3013 } |
3010 | 3014 |
3011 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { | 3015 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { |
3012 buildCounterOrderPromotionBenefit++; | 3016 buildCounterOrderPromotionBenefit++; |
3013 if (buildCounterOrderPromotionBenefit < 3) { | 3017 if (buildCounterOrderPromotionBenefit < 3) { |
3014 checkPrice(o.discount); | 3018 checkPrice(o.discount); |
3015 checkUnnamed309(o.offerIds); | 3019 checkUnnamed311(o.offerIds); |
3016 unittest.expect(o.subType, unittest.equals('foo')); | 3020 unittest.expect(o.subType, unittest.equals('foo')); |
3017 checkPrice(o.taxImpact); | 3021 checkPrice(o.taxImpact); |
3018 unittest.expect(o.type, unittest.equals('foo')); | 3022 unittest.expect(o.type, unittest.equals('foo')); |
3019 } | 3023 } |
3020 buildCounterOrderPromotionBenefit--; | 3024 buildCounterOrderPromotionBenefit--; |
3021 } | 3025 } |
3022 | 3026 |
3023 core.int buildCounterOrderRefund = 0; | 3027 core.int buildCounterOrderRefund = 0; |
3024 buildOrderRefund() { | 3028 buildOrderRefund() { |
3025 var o = new api.OrderRefund(); | 3029 var o = new api.OrderRefund(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3067 if (buildCounterOrderReturn < 3) { | 3071 if (buildCounterOrderReturn < 3) { |
3068 unittest.expect(o.actor, unittest.equals('foo')); | 3072 unittest.expect(o.actor, unittest.equals('foo')); |
3069 unittest.expect(o.creationDate, unittest.equals('foo')); | 3073 unittest.expect(o.creationDate, unittest.equals('foo')); |
3070 unittest.expect(o.quantity, unittest.equals(42)); | 3074 unittest.expect(o.quantity, unittest.equals(42)); |
3071 unittest.expect(o.reason, unittest.equals('foo')); | 3075 unittest.expect(o.reason, unittest.equals('foo')); |
3072 unittest.expect(o.reasonText, unittest.equals('foo')); | 3076 unittest.expect(o.reasonText, unittest.equals('foo')); |
3073 } | 3077 } |
3074 buildCounterOrderReturn--; | 3078 buildCounterOrderReturn--; |
3075 } | 3079 } |
3076 | 3080 |
3077 buildUnnamed310() { | 3081 buildUnnamed312() { |
3078 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3082 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3079 o.add(buildOrderShipmentLineItemShipment()); | 3083 o.add(buildOrderShipmentLineItemShipment()); |
3080 o.add(buildOrderShipmentLineItemShipment()); | 3084 o.add(buildOrderShipmentLineItemShipment()); |
3081 return o; | 3085 return o; |
3082 } | 3086 } |
3083 | 3087 |
3084 checkUnnamed310(core.List<api.OrderShipmentLineItemShipment> o) { | 3088 checkUnnamed312(core.List<api.OrderShipmentLineItemShipment> o) { |
3085 unittest.expect(o, unittest.hasLength(2)); | 3089 unittest.expect(o, unittest.hasLength(2)); |
3086 checkOrderShipmentLineItemShipment(o[0]); | 3090 checkOrderShipmentLineItemShipment(o[0]); |
3087 checkOrderShipmentLineItemShipment(o[1]); | 3091 checkOrderShipmentLineItemShipment(o[1]); |
3088 } | 3092 } |
3089 | 3093 |
3090 core.int buildCounterOrderShipment = 0; | 3094 core.int buildCounterOrderShipment = 0; |
3091 buildOrderShipment() { | 3095 buildOrderShipment() { |
3092 var o = new api.OrderShipment(); | 3096 var o = new api.OrderShipment(); |
3093 buildCounterOrderShipment++; | 3097 buildCounterOrderShipment++; |
3094 if (buildCounterOrderShipment < 3) { | 3098 if (buildCounterOrderShipment < 3) { |
3095 o.carrier = "foo"; | 3099 o.carrier = "foo"; |
3096 o.creationDate = "foo"; | 3100 o.creationDate = "foo"; |
3097 o.deliveryDate = "foo"; | 3101 o.deliveryDate = "foo"; |
3098 o.id = "foo"; | 3102 o.id = "foo"; |
3099 o.lineItems = buildUnnamed310(); | 3103 o.lineItems = buildUnnamed312(); |
3100 o.status = "foo"; | 3104 o.status = "foo"; |
3101 o.trackingId = "foo"; | 3105 o.trackingId = "foo"; |
3102 } | 3106 } |
3103 buildCounterOrderShipment--; | 3107 buildCounterOrderShipment--; |
3104 return o; | 3108 return o; |
3105 } | 3109 } |
3106 | 3110 |
3107 checkOrderShipment(api.OrderShipment o) { | 3111 checkOrderShipment(api.OrderShipment o) { |
3108 buildCounterOrderShipment++; | 3112 buildCounterOrderShipment++; |
3109 if (buildCounterOrderShipment < 3) { | 3113 if (buildCounterOrderShipment < 3) { |
3110 unittest.expect(o.carrier, unittest.equals('foo')); | 3114 unittest.expect(o.carrier, unittest.equals('foo')); |
3111 unittest.expect(o.creationDate, unittest.equals('foo')); | 3115 unittest.expect(o.creationDate, unittest.equals('foo')); |
3112 unittest.expect(o.deliveryDate, unittest.equals('foo')); | 3116 unittest.expect(o.deliveryDate, unittest.equals('foo')); |
3113 unittest.expect(o.id, unittest.equals('foo')); | 3117 unittest.expect(o.id, unittest.equals('foo')); |
3114 checkUnnamed310(o.lineItems); | 3118 checkUnnamed312(o.lineItems); |
3115 unittest.expect(o.status, unittest.equals('foo')); | 3119 unittest.expect(o.status, unittest.equals('foo')); |
3116 unittest.expect(o.trackingId, unittest.equals('foo')); | 3120 unittest.expect(o.trackingId, unittest.equals('foo')); |
3117 } | 3121 } |
3118 buildCounterOrderShipment--; | 3122 buildCounterOrderShipment--; |
3119 } | 3123 } |
3120 | 3124 |
3121 core.int buildCounterOrderShipmentLineItemShipment = 0; | 3125 core.int buildCounterOrderShipmentLineItemShipment = 0; |
3122 buildOrderShipmentLineItemShipment() { | 3126 buildOrderShipmentLineItemShipment() { |
3123 var o = new api.OrderShipmentLineItemShipment(); | 3127 var o = new api.OrderShipmentLineItemShipment(); |
3124 buildCounterOrderShipmentLineItemShipment++; | 3128 buildCounterOrderShipmentLineItemShipment++; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3327 | 3331 |
3328 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { | 3332 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { |
3329 buildCounterOrdersCreateTestOrderResponse++; | 3333 buildCounterOrdersCreateTestOrderResponse++; |
3330 if (buildCounterOrdersCreateTestOrderResponse < 3) { | 3334 if (buildCounterOrdersCreateTestOrderResponse < 3) { |
3331 unittest.expect(o.kind, unittest.equals('foo')); | 3335 unittest.expect(o.kind, unittest.equals('foo')); |
3332 unittest.expect(o.orderId, unittest.equals('foo')); | 3336 unittest.expect(o.orderId, unittest.equals('foo')); |
3333 } | 3337 } |
3334 buildCounterOrdersCreateTestOrderResponse--; | 3338 buildCounterOrdersCreateTestOrderResponse--; |
3335 } | 3339 } |
3336 | 3340 |
3337 buildUnnamed311() { | 3341 buildUnnamed313() { |
3338 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); | 3342 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); |
3339 o.add(buildOrdersCustomBatchRequestEntry()); | 3343 o.add(buildOrdersCustomBatchRequestEntry()); |
3340 o.add(buildOrdersCustomBatchRequestEntry()); | 3344 o.add(buildOrdersCustomBatchRequestEntry()); |
3341 return o; | 3345 return o; |
3342 } | 3346 } |
3343 | 3347 |
3344 checkUnnamed311(core.List<api.OrdersCustomBatchRequestEntry> o) { | 3348 checkUnnamed313(core.List<api.OrdersCustomBatchRequestEntry> o) { |
3345 unittest.expect(o, unittest.hasLength(2)); | 3349 unittest.expect(o, unittest.hasLength(2)); |
3346 checkOrdersCustomBatchRequestEntry(o[0]); | 3350 checkOrdersCustomBatchRequestEntry(o[0]); |
3347 checkOrdersCustomBatchRequestEntry(o[1]); | 3351 checkOrdersCustomBatchRequestEntry(o[1]); |
3348 } | 3352 } |
3349 | 3353 |
3350 core.int buildCounterOrdersCustomBatchRequest = 0; | 3354 core.int buildCounterOrdersCustomBatchRequest = 0; |
3351 buildOrdersCustomBatchRequest() { | 3355 buildOrdersCustomBatchRequest() { |
3352 var o = new api.OrdersCustomBatchRequest(); | 3356 var o = new api.OrdersCustomBatchRequest(); |
3353 buildCounterOrdersCustomBatchRequest++; | 3357 buildCounterOrdersCustomBatchRequest++; |
3354 if (buildCounterOrdersCustomBatchRequest < 3) { | 3358 if (buildCounterOrdersCustomBatchRequest < 3) { |
3355 o.entries = buildUnnamed311(); | 3359 o.entries = buildUnnamed313(); |
3356 } | 3360 } |
3357 buildCounterOrdersCustomBatchRequest--; | 3361 buildCounterOrdersCustomBatchRequest--; |
3358 return o; | 3362 return o; |
3359 } | 3363 } |
3360 | 3364 |
3361 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { | 3365 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { |
3362 buildCounterOrdersCustomBatchRequest++; | 3366 buildCounterOrdersCustomBatchRequest++; |
3363 if (buildCounterOrdersCustomBatchRequest < 3) { | 3367 if (buildCounterOrdersCustomBatchRequest < 3) { |
3364 checkUnnamed311(o.entries); | 3368 checkUnnamed313(o.entries); |
3365 } | 3369 } |
3366 buildCounterOrdersCustomBatchRequest--; | 3370 buildCounterOrdersCustomBatchRequest--; |
3367 } | 3371 } |
3368 | 3372 |
3369 core.int buildCounterOrdersCustomBatchRequestEntry = 0; | 3373 core.int buildCounterOrdersCustomBatchRequestEntry = 0; |
3370 buildOrdersCustomBatchRequestEntry() { | 3374 buildOrdersCustomBatchRequestEntry() { |
3371 var o = new api.OrdersCustomBatchRequestEntry(); | 3375 var o = new api.OrdersCustomBatchRequestEntry(); |
3372 buildCounterOrdersCustomBatchRequestEntry++; | 3376 buildCounterOrdersCustomBatchRequestEntry++; |
3373 if (buildCounterOrdersCustomBatchRequestEntry < 3) { | 3377 if (buildCounterOrdersCustomBatchRequestEntry < 3) { |
3374 o.batchId = 42; | 3378 o.batchId = 42; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3496 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; | 3500 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; |
3497 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { | 3501 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { |
3498 unittest.expect(o.lineItemId, unittest.equals('foo')); | 3502 unittest.expect(o.lineItemId, unittest.equals('foo')); |
3499 unittest.expect(o.quantity, unittest.equals(42)); | 3503 unittest.expect(o.quantity, unittest.equals(42)); |
3500 unittest.expect(o.reason, unittest.equals('foo')); | 3504 unittest.expect(o.reason, unittest.equals('foo')); |
3501 unittest.expect(o.reasonText, unittest.equals('foo')); | 3505 unittest.expect(o.reasonText, unittest.equals('foo')); |
3502 } | 3506 } |
3503 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; | 3507 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; |
3504 } | 3508 } |
3505 | 3509 |
3506 buildUnnamed312() { | 3510 buildUnnamed314() { |
3507 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3511 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3508 o.add(buildOrderShipmentLineItemShipment()); | 3512 o.add(buildOrderShipmentLineItemShipment()); |
3509 o.add(buildOrderShipmentLineItemShipment()); | 3513 o.add(buildOrderShipmentLineItemShipment()); |
3510 return o; | 3514 return o; |
3511 } | 3515 } |
3512 | 3516 |
3513 checkUnnamed312(core.List<api.OrderShipmentLineItemShipment> o) { | 3517 checkUnnamed314(core.List<api.OrderShipmentLineItemShipment> o) { |
3514 unittest.expect(o, unittest.hasLength(2)); | 3518 unittest.expect(o, unittest.hasLength(2)); |
3515 checkOrderShipmentLineItemShipment(o[0]); | 3519 checkOrderShipmentLineItemShipment(o[0]); |
3516 checkOrderShipmentLineItemShipment(o[1]); | 3520 checkOrderShipmentLineItemShipment(o[1]); |
3517 } | 3521 } |
3518 | 3522 |
3519 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; | 3523 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; |
3520 buildOrdersCustomBatchRequestEntryShipLineItems() { | 3524 buildOrdersCustomBatchRequestEntryShipLineItems() { |
3521 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); | 3525 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); |
3522 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3526 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
3523 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3527 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
3524 o.carrier = "foo"; | 3528 o.carrier = "foo"; |
3525 o.lineItems = buildUnnamed312(); | 3529 o.lineItems = buildUnnamed314(); |
3526 o.shipmentId = "foo"; | 3530 o.shipmentId = "foo"; |
3527 o.trackingId = "foo"; | 3531 o.trackingId = "foo"; |
3528 } | 3532 } |
3529 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3533 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
3530 return o; | 3534 return o; |
3531 } | 3535 } |
3532 | 3536 |
3533 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { | 3537 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { |
3534 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3538 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
3535 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3539 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
3536 unittest.expect(o.carrier, unittest.equals('foo')); | 3540 unittest.expect(o.carrier, unittest.equals('foo')); |
3537 checkUnnamed312(o.lineItems); | 3541 checkUnnamed314(o.lineItems); |
3538 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3542 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3539 unittest.expect(o.trackingId, unittest.equals('foo')); | 3543 unittest.expect(o.trackingId, unittest.equals('foo')); |
3540 } | 3544 } |
3541 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3545 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
3542 } | 3546 } |
3543 | 3547 |
3544 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; | 3548 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; |
3545 buildOrdersCustomBatchRequestEntryUpdateShipment() { | 3549 buildOrdersCustomBatchRequestEntryUpdateShipment() { |
3546 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); | 3550 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); |
3547 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3551 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
(...skipping 11 matching lines...) Expand all Loading... |
3559 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3563 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
3560 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { | 3564 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { |
3561 unittest.expect(o.carrier, unittest.equals('foo')); | 3565 unittest.expect(o.carrier, unittest.equals('foo')); |
3562 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3566 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3563 unittest.expect(o.status, unittest.equals('foo')); | 3567 unittest.expect(o.status, unittest.equals('foo')); |
3564 unittest.expect(o.trackingId, unittest.equals('foo')); | 3568 unittest.expect(o.trackingId, unittest.equals('foo')); |
3565 } | 3569 } |
3566 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; | 3570 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; |
3567 } | 3571 } |
3568 | 3572 |
3569 buildUnnamed313() { | 3573 buildUnnamed315() { |
3570 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); | 3574 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); |
3571 o.add(buildOrdersCustomBatchResponseEntry()); | 3575 o.add(buildOrdersCustomBatchResponseEntry()); |
3572 o.add(buildOrdersCustomBatchResponseEntry()); | 3576 o.add(buildOrdersCustomBatchResponseEntry()); |
3573 return o; | 3577 return o; |
3574 } | 3578 } |
3575 | 3579 |
3576 checkUnnamed313(core.List<api.OrdersCustomBatchResponseEntry> o) { | 3580 checkUnnamed315(core.List<api.OrdersCustomBatchResponseEntry> o) { |
3577 unittest.expect(o, unittest.hasLength(2)); | 3581 unittest.expect(o, unittest.hasLength(2)); |
3578 checkOrdersCustomBatchResponseEntry(o[0]); | 3582 checkOrdersCustomBatchResponseEntry(o[0]); |
3579 checkOrdersCustomBatchResponseEntry(o[1]); | 3583 checkOrdersCustomBatchResponseEntry(o[1]); |
3580 } | 3584 } |
3581 | 3585 |
3582 core.int buildCounterOrdersCustomBatchResponse = 0; | 3586 core.int buildCounterOrdersCustomBatchResponse = 0; |
3583 buildOrdersCustomBatchResponse() { | 3587 buildOrdersCustomBatchResponse() { |
3584 var o = new api.OrdersCustomBatchResponse(); | 3588 var o = new api.OrdersCustomBatchResponse(); |
3585 buildCounterOrdersCustomBatchResponse++; | 3589 buildCounterOrdersCustomBatchResponse++; |
3586 if (buildCounterOrdersCustomBatchResponse < 3) { | 3590 if (buildCounterOrdersCustomBatchResponse < 3) { |
3587 o.entries = buildUnnamed313(); | 3591 o.entries = buildUnnamed315(); |
3588 o.kind = "foo"; | 3592 o.kind = "foo"; |
3589 } | 3593 } |
3590 buildCounterOrdersCustomBatchResponse--; | 3594 buildCounterOrdersCustomBatchResponse--; |
3591 return o; | 3595 return o; |
3592 } | 3596 } |
3593 | 3597 |
3594 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { | 3598 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { |
3595 buildCounterOrdersCustomBatchResponse++; | 3599 buildCounterOrdersCustomBatchResponse++; |
3596 if (buildCounterOrdersCustomBatchResponse < 3) { | 3600 if (buildCounterOrdersCustomBatchResponse < 3) { |
3597 checkUnnamed313(o.entries); | 3601 checkUnnamed315(o.entries); |
3598 unittest.expect(o.kind, unittest.equals('foo')); | 3602 unittest.expect(o.kind, unittest.equals('foo')); |
3599 } | 3603 } |
3600 buildCounterOrdersCustomBatchResponse--; | 3604 buildCounterOrdersCustomBatchResponse--; |
3601 } | 3605 } |
3602 | 3606 |
3603 core.int buildCounterOrdersCustomBatchResponseEntry = 0; | 3607 core.int buildCounterOrdersCustomBatchResponseEntry = 0; |
3604 buildOrdersCustomBatchResponseEntry() { | 3608 buildOrdersCustomBatchResponseEntry() { |
3605 var o = new api.OrdersCustomBatchResponseEntry(); | 3609 var o = new api.OrdersCustomBatchResponseEntry(); |
3606 buildCounterOrdersCustomBatchResponseEntry++; | 3610 buildCounterOrdersCustomBatchResponseEntry++; |
3607 if (buildCounterOrdersCustomBatchResponseEntry < 3) { | 3611 if (buildCounterOrdersCustomBatchResponseEntry < 3) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3662 | 3666 |
3663 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { | 3667 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { |
3664 buildCounterOrdersGetTestOrderTemplateResponse++; | 3668 buildCounterOrdersGetTestOrderTemplateResponse++; |
3665 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { | 3669 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { |
3666 unittest.expect(o.kind, unittest.equals('foo')); | 3670 unittest.expect(o.kind, unittest.equals('foo')); |
3667 checkTestOrder(o.template); | 3671 checkTestOrder(o.template); |
3668 } | 3672 } |
3669 buildCounterOrdersGetTestOrderTemplateResponse--; | 3673 buildCounterOrdersGetTestOrderTemplateResponse--; |
3670 } | 3674 } |
3671 | 3675 |
3672 buildUnnamed314() { | 3676 buildUnnamed316() { |
3673 var o = new core.List<api.Order>(); | 3677 var o = new core.List<api.Order>(); |
3674 o.add(buildOrder()); | 3678 o.add(buildOrder()); |
3675 o.add(buildOrder()); | 3679 o.add(buildOrder()); |
3676 return o; | 3680 return o; |
3677 } | 3681 } |
3678 | 3682 |
3679 checkUnnamed314(core.List<api.Order> o) { | 3683 checkUnnamed316(core.List<api.Order> o) { |
3680 unittest.expect(o, unittest.hasLength(2)); | 3684 unittest.expect(o, unittest.hasLength(2)); |
3681 checkOrder(o[0]); | 3685 checkOrder(o[0]); |
3682 checkOrder(o[1]); | 3686 checkOrder(o[1]); |
3683 } | 3687 } |
3684 | 3688 |
3685 core.int buildCounterOrdersListResponse = 0; | 3689 core.int buildCounterOrdersListResponse = 0; |
3686 buildOrdersListResponse() { | 3690 buildOrdersListResponse() { |
3687 var o = new api.OrdersListResponse(); | 3691 var o = new api.OrdersListResponse(); |
3688 buildCounterOrdersListResponse++; | 3692 buildCounterOrdersListResponse++; |
3689 if (buildCounterOrdersListResponse < 3) { | 3693 if (buildCounterOrdersListResponse < 3) { |
3690 o.kind = "foo"; | 3694 o.kind = "foo"; |
3691 o.nextPageToken = "foo"; | 3695 o.nextPageToken = "foo"; |
3692 o.resources = buildUnnamed314(); | 3696 o.resources = buildUnnamed316(); |
3693 } | 3697 } |
3694 buildCounterOrdersListResponse--; | 3698 buildCounterOrdersListResponse--; |
3695 return o; | 3699 return o; |
3696 } | 3700 } |
3697 | 3701 |
3698 checkOrdersListResponse(api.OrdersListResponse o) { | 3702 checkOrdersListResponse(api.OrdersListResponse o) { |
3699 buildCounterOrdersListResponse++; | 3703 buildCounterOrdersListResponse++; |
3700 if (buildCounterOrdersListResponse < 3) { | 3704 if (buildCounterOrdersListResponse < 3) { |
3701 unittest.expect(o.kind, unittest.equals('foo')); | 3705 unittest.expect(o.kind, unittest.equals('foo')); |
3702 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3706 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3703 checkUnnamed314(o.resources); | 3707 checkUnnamed316(o.resources); |
3704 } | 3708 } |
3705 buildCounterOrdersListResponse--; | 3709 buildCounterOrdersListResponse--; |
3706 } | 3710 } |
3707 | 3711 |
3708 core.int buildCounterOrdersRefundRequest = 0; | 3712 core.int buildCounterOrdersRefundRequest = 0; |
3709 buildOrdersRefundRequest() { | 3713 buildOrdersRefundRequest() { |
3710 var o = new api.OrdersRefundRequest(); | 3714 var o = new api.OrdersRefundRequest(); |
3711 buildCounterOrdersRefundRequest++; | 3715 buildCounterOrdersRefundRequest++; |
3712 if (buildCounterOrdersRefundRequest < 3) { | 3716 if (buildCounterOrdersRefundRequest < 3) { |
3713 o.amount = buildPrice(); | 3717 o.amount = buildPrice(); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3792 | 3796 |
3793 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { | 3797 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { |
3794 buildCounterOrdersReturnLineItemResponse++; | 3798 buildCounterOrdersReturnLineItemResponse++; |
3795 if (buildCounterOrdersReturnLineItemResponse < 3) { | 3799 if (buildCounterOrdersReturnLineItemResponse < 3) { |
3796 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3800 unittest.expect(o.executionStatus, unittest.equals('foo')); |
3797 unittest.expect(o.kind, unittest.equals('foo')); | 3801 unittest.expect(o.kind, unittest.equals('foo')); |
3798 } | 3802 } |
3799 buildCounterOrdersReturnLineItemResponse--; | 3803 buildCounterOrdersReturnLineItemResponse--; |
3800 } | 3804 } |
3801 | 3805 |
3802 buildUnnamed315() { | 3806 buildUnnamed317() { |
3803 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3807 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3804 o.add(buildOrderShipmentLineItemShipment()); | 3808 o.add(buildOrderShipmentLineItemShipment()); |
3805 o.add(buildOrderShipmentLineItemShipment()); | 3809 o.add(buildOrderShipmentLineItemShipment()); |
3806 return o; | 3810 return o; |
3807 } | 3811 } |
3808 | 3812 |
3809 checkUnnamed315(core.List<api.OrderShipmentLineItemShipment> o) { | 3813 checkUnnamed317(core.List<api.OrderShipmentLineItemShipment> o) { |
3810 unittest.expect(o, unittest.hasLength(2)); | 3814 unittest.expect(o, unittest.hasLength(2)); |
3811 checkOrderShipmentLineItemShipment(o[0]); | 3815 checkOrderShipmentLineItemShipment(o[0]); |
3812 checkOrderShipmentLineItemShipment(o[1]); | 3816 checkOrderShipmentLineItemShipment(o[1]); |
3813 } | 3817 } |
3814 | 3818 |
3815 core.int buildCounterOrdersShipLineItemsRequest = 0; | 3819 core.int buildCounterOrdersShipLineItemsRequest = 0; |
3816 buildOrdersShipLineItemsRequest() { | 3820 buildOrdersShipLineItemsRequest() { |
3817 var o = new api.OrdersShipLineItemsRequest(); | 3821 var o = new api.OrdersShipLineItemsRequest(); |
3818 buildCounterOrdersShipLineItemsRequest++; | 3822 buildCounterOrdersShipLineItemsRequest++; |
3819 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3823 if (buildCounterOrdersShipLineItemsRequest < 3) { |
3820 o.carrier = "foo"; | 3824 o.carrier = "foo"; |
3821 o.lineItems = buildUnnamed315(); | 3825 o.lineItems = buildUnnamed317(); |
3822 o.operationId = "foo"; | 3826 o.operationId = "foo"; |
3823 o.shipmentId = "foo"; | 3827 o.shipmentId = "foo"; |
3824 o.trackingId = "foo"; | 3828 o.trackingId = "foo"; |
3825 } | 3829 } |
3826 buildCounterOrdersShipLineItemsRequest--; | 3830 buildCounterOrdersShipLineItemsRequest--; |
3827 return o; | 3831 return o; |
3828 } | 3832 } |
3829 | 3833 |
3830 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { | 3834 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { |
3831 buildCounterOrdersShipLineItemsRequest++; | 3835 buildCounterOrdersShipLineItemsRequest++; |
3832 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3836 if (buildCounterOrdersShipLineItemsRequest < 3) { |
3833 unittest.expect(o.carrier, unittest.equals('foo')); | 3837 unittest.expect(o.carrier, unittest.equals('foo')); |
3834 checkUnnamed315(o.lineItems); | 3838 checkUnnamed317(o.lineItems); |
3835 unittest.expect(o.operationId, unittest.equals('foo')); | 3839 unittest.expect(o.operationId, unittest.equals('foo')); |
3836 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3840 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3837 unittest.expect(o.trackingId, unittest.equals('foo')); | 3841 unittest.expect(o.trackingId, unittest.equals('foo')); |
3838 } | 3842 } |
3839 buildCounterOrdersShipLineItemsRequest--; | 3843 buildCounterOrdersShipLineItemsRequest--; |
3840 } | 3844 } |
3841 | 3845 |
3842 core.int buildCounterOrdersShipLineItemsResponse = 0; | 3846 core.int buildCounterOrdersShipLineItemsResponse = 0; |
3843 buildOrdersShipLineItemsResponse() { | 3847 buildOrdersShipLineItemsResponse() { |
3844 var o = new api.OrdersShipLineItemsResponse(); | 3848 var o = new api.OrdersShipLineItemsResponse(); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3943 | 3947 |
3944 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { | 3948 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { |
3945 buildCounterOrdersUpdateShipmentResponse++; | 3949 buildCounterOrdersUpdateShipmentResponse++; |
3946 if (buildCounterOrdersUpdateShipmentResponse < 3) { | 3950 if (buildCounterOrdersUpdateShipmentResponse < 3) { |
3947 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3951 unittest.expect(o.executionStatus, unittest.equals('foo')); |
3948 unittest.expect(o.kind, unittest.equals('foo')); | 3952 unittest.expect(o.kind, unittest.equals('foo')); |
3949 } | 3953 } |
3950 buildCounterOrdersUpdateShipmentResponse--; | 3954 buildCounterOrdersUpdateShipmentResponse--; |
3951 } | 3955 } |
3952 | 3956 |
3953 buildUnnamed316() { | 3957 buildUnnamed318() { |
3954 var o = new core.List<api.PostalCodeRange>(); | 3958 var o = new core.List<api.PostalCodeRange>(); |
3955 o.add(buildPostalCodeRange()); | 3959 o.add(buildPostalCodeRange()); |
3956 o.add(buildPostalCodeRange()); | 3960 o.add(buildPostalCodeRange()); |
3957 return o; | 3961 return o; |
3958 } | 3962 } |
3959 | 3963 |
3960 checkUnnamed316(core.List<api.PostalCodeRange> o) { | 3964 checkUnnamed318(core.List<api.PostalCodeRange> o) { |
3961 unittest.expect(o, unittest.hasLength(2)); | 3965 unittest.expect(o, unittest.hasLength(2)); |
3962 checkPostalCodeRange(o[0]); | 3966 checkPostalCodeRange(o[0]); |
3963 checkPostalCodeRange(o[1]); | 3967 checkPostalCodeRange(o[1]); |
3964 } | 3968 } |
3965 | 3969 |
3966 core.int buildCounterPostalCodeGroup = 0; | 3970 core.int buildCounterPostalCodeGroup = 0; |
3967 buildPostalCodeGroup() { | 3971 buildPostalCodeGroup() { |
3968 var o = new api.PostalCodeGroup(); | 3972 var o = new api.PostalCodeGroup(); |
3969 buildCounterPostalCodeGroup++; | 3973 buildCounterPostalCodeGroup++; |
3970 if (buildCounterPostalCodeGroup < 3) { | 3974 if (buildCounterPostalCodeGroup < 3) { |
3971 o.country = "foo"; | 3975 o.country = "foo"; |
3972 o.name = "foo"; | 3976 o.name = "foo"; |
3973 o.postalCodeRanges = buildUnnamed316(); | 3977 o.postalCodeRanges = buildUnnamed318(); |
3974 } | 3978 } |
3975 buildCounterPostalCodeGroup--; | 3979 buildCounterPostalCodeGroup--; |
3976 return o; | 3980 return o; |
3977 } | 3981 } |
3978 | 3982 |
3979 checkPostalCodeGroup(api.PostalCodeGroup o) { | 3983 checkPostalCodeGroup(api.PostalCodeGroup o) { |
3980 buildCounterPostalCodeGroup++; | 3984 buildCounterPostalCodeGroup++; |
3981 if (buildCounterPostalCodeGroup < 3) { | 3985 if (buildCounterPostalCodeGroup < 3) { |
3982 unittest.expect(o.country, unittest.equals('foo')); | 3986 unittest.expect(o.country, unittest.equals('foo')); |
3983 unittest.expect(o.name, unittest.equals('foo')); | 3987 unittest.expect(o.name, unittest.equals('foo')); |
3984 checkUnnamed316(o.postalCodeRanges); | 3988 checkUnnamed318(o.postalCodeRanges); |
3985 } | 3989 } |
3986 buildCounterPostalCodeGroup--; | 3990 buildCounterPostalCodeGroup--; |
3987 } | 3991 } |
3988 | 3992 |
3989 core.int buildCounterPostalCodeRange = 0; | 3993 core.int buildCounterPostalCodeRange = 0; |
3990 buildPostalCodeRange() { | 3994 buildPostalCodeRange() { |
3991 var o = new api.PostalCodeRange(); | 3995 var o = new api.PostalCodeRange(); |
3992 buildCounterPostalCodeRange++; | 3996 buildCounterPostalCodeRange++; |
3993 if (buildCounterPostalCodeRange < 3) { | 3997 if (buildCounterPostalCodeRange < 3) { |
3994 o.postalCodeRangeBegin = "foo"; | 3998 o.postalCodeRangeBegin = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
4021 | 4025 |
4022 checkPrice(api.Price o) { | 4026 checkPrice(api.Price o) { |
4023 buildCounterPrice++; | 4027 buildCounterPrice++; |
4024 if (buildCounterPrice < 3) { | 4028 if (buildCounterPrice < 3) { |
4025 unittest.expect(o.currency, unittest.equals('foo')); | 4029 unittest.expect(o.currency, unittest.equals('foo')); |
4026 unittest.expect(o.value, unittest.equals('foo')); | 4030 unittest.expect(o.value, unittest.equals('foo')); |
4027 } | 4031 } |
4028 buildCounterPrice--; | 4032 buildCounterPrice--; |
4029 } | 4033 } |
4030 | 4034 |
4031 buildUnnamed317() { | |
4032 var o = new core.List<core.String>(); | |
4033 o.add("foo"); | |
4034 o.add("foo"); | |
4035 return o; | |
4036 } | |
4037 | |
4038 checkUnnamed317(core.List<core.String> o) { | |
4039 unittest.expect(o, unittest.hasLength(2)); | |
4040 unittest.expect(o[0], unittest.equals('foo')); | |
4041 unittest.expect(o[1], unittest.equals('foo')); | |
4042 } | |
4043 | |
4044 buildUnnamed318() { | |
4045 var o = new core.List<core.String>(); | |
4046 o.add("foo"); | |
4047 o.add("foo"); | |
4048 return o; | |
4049 } | |
4050 | |
4051 checkUnnamed318(core.List<core.String> o) { | |
4052 unittest.expect(o, unittest.hasLength(2)); | |
4053 unittest.expect(o[0], unittest.equals('foo')); | |
4054 unittest.expect(o[1], unittest.equals('foo')); | |
4055 } | |
4056 | |
4057 buildUnnamed319() { | 4035 buildUnnamed319() { |
4058 var o = new core.List<core.String>(); | 4036 var o = new core.List<core.String>(); |
4059 o.add("foo"); | 4037 o.add("foo"); |
4060 o.add("foo"); | 4038 o.add("foo"); |
4061 return o; | 4039 return o; |
4062 } | 4040 } |
4063 | 4041 |
4064 checkUnnamed319(core.List<core.String> o) { | 4042 checkUnnamed319(core.List<core.String> o) { |
4065 unittest.expect(o, unittest.hasLength(2)); | 4043 unittest.expect(o, unittest.hasLength(2)); |
4066 unittest.expect(o[0], unittest.equals('foo')); | 4044 unittest.expect(o[0], unittest.equals('foo')); |
4067 unittest.expect(o[1], unittest.equals('foo')); | 4045 unittest.expect(o[1], unittest.equals('foo')); |
4068 } | 4046 } |
4069 | 4047 |
4070 buildUnnamed320() { | 4048 buildUnnamed320() { |
| 4049 var o = new core.List<core.String>(); |
| 4050 o.add("foo"); |
| 4051 o.add("foo"); |
| 4052 return o; |
| 4053 } |
| 4054 |
| 4055 checkUnnamed320(core.List<core.String> o) { |
| 4056 unittest.expect(o, unittest.hasLength(2)); |
| 4057 unittest.expect(o[0], unittest.equals('foo')); |
| 4058 unittest.expect(o[1], unittest.equals('foo')); |
| 4059 } |
| 4060 |
| 4061 buildUnnamed321() { |
| 4062 var o = new core.List<core.String>(); |
| 4063 o.add("foo"); |
| 4064 o.add("foo"); |
| 4065 return o; |
| 4066 } |
| 4067 |
| 4068 checkUnnamed321(core.List<core.String> o) { |
| 4069 unittest.expect(o, unittest.hasLength(2)); |
| 4070 unittest.expect(o[0], unittest.equals('foo')); |
| 4071 unittest.expect(o[1], unittest.equals('foo')); |
| 4072 } |
| 4073 |
| 4074 buildUnnamed322() { |
4071 var o = new core.List<api.ProductAspect>(); | 4075 var o = new core.List<api.ProductAspect>(); |
4072 o.add(buildProductAspect()); | 4076 o.add(buildProductAspect()); |
4073 o.add(buildProductAspect()); | 4077 o.add(buildProductAspect()); |
4074 return o; | 4078 return o; |
4075 } | 4079 } |
4076 | 4080 |
4077 checkUnnamed320(core.List<api.ProductAspect> o) { | 4081 checkUnnamed322(core.List<api.ProductAspect> o) { |
4078 unittest.expect(o, unittest.hasLength(2)); | 4082 unittest.expect(o, unittest.hasLength(2)); |
4079 checkProductAspect(o[0]); | 4083 checkProductAspect(o[0]); |
4080 checkProductAspect(o[1]); | 4084 checkProductAspect(o[1]); |
4081 } | 4085 } |
4082 | 4086 |
4083 buildUnnamed321() { | 4087 buildUnnamed323() { |
4084 var o = new core.List<api.ProductCustomAttribute>(); | 4088 var o = new core.List<api.ProductCustomAttribute>(); |
4085 o.add(buildProductCustomAttribute()); | 4089 o.add(buildProductCustomAttribute()); |
4086 o.add(buildProductCustomAttribute()); | 4090 o.add(buildProductCustomAttribute()); |
4087 return o; | 4091 return o; |
4088 } | 4092 } |
4089 | 4093 |
4090 checkUnnamed321(core.List<api.ProductCustomAttribute> o) { | 4094 checkUnnamed323(core.List<api.ProductCustomAttribute> o) { |
4091 unittest.expect(o, unittest.hasLength(2)); | 4095 unittest.expect(o, unittest.hasLength(2)); |
4092 checkProductCustomAttribute(o[0]); | 4096 checkProductCustomAttribute(o[0]); |
4093 checkProductCustomAttribute(o[1]); | 4097 checkProductCustomAttribute(o[1]); |
4094 } | 4098 } |
4095 | 4099 |
4096 buildUnnamed322() { | 4100 buildUnnamed324() { |
4097 var o = new core.List<api.ProductCustomGroup>(); | 4101 var o = new core.List<api.ProductCustomGroup>(); |
4098 o.add(buildProductCustomGroup()); | 4102 o.add(buildProductCustomGroup()); |
4099 o.add(buildProductCustomGroup()); | 4103 o.add(buildProductCustomGroup()); |
4100 return o; | 4104 return o; |
4101 } | 4105 } |
4102 | 4106 |
4103 checkUnnamed322(core.List<api.ProductCustomGroup> o) { | 4107 checkUnnamed324(core.List<api.ProductCustomGroup> o) { |
4104 unittest.expect(o, unittest.hasLength(2)); | 4108 unittest.expect(o, unittest.hasLength(2)); |
4105 checkProductCustomGroup(o[0]); | 4109 checkProductCustomGroup(o[0]); |
4106 checkProductCustomGroup(o[1]); | 4110 checkProductCustomGroup(o[1]); |
4107 } | 4111 } |
4108 | 4112 |
4109 buildUnnamed323() { | 4113 buildUnnamed325() { |
4110 var o = new core.List<api.ProductDestination>(); | 4114 var o = new core.List<api.ProductDestination>(); |
4111 o.add(buildProductDestination()); | 4115 o.add(buildProductDestination()); |
4112 o.add(buildProductDestination()); | 4116 o.add(buildProductDestination()); |
4113 return o; | 4117 return o; |
4114 } | 4118 } |
4115 | 4119 |
4116 checkUnnamed323(core.List<api.ProductDestination> o) { | 4120 checkUnnamed325(core.List<api.ProductDestination> o) { |
4117 unittest.expect(o, unittest.hasLength(2)); | 4121 unittest.expect(o, unittest.hasLength(2)); |
4118 checkProductDestination(o[0]); | 4122 checkProductDestination(o[0]); |
4119 checkProductDestination(o[1]); | 4123 checkProductDestination(o[1]); |
4120 } | 4124 } |
4121 | 4125 |
4122 buildUnnamed324() { | 4126 buildUnnamed326() { |
4123 var o = new core.List<core.String>(); | 4127 var o = new core.List<core.String>(); |
4124 o.add("foo"); | 4128 o.add("foo"); |
4125 o.add("foo"); | 4129 o.add("foo"); |
4126 return o; | 4130 return o; |
4127 } | 4131 } |
4128 | 4132 |
4129 checkUnnamed324(core.List<core.String> o) { | 4133 checkUnnamed326(core.List<core.String> o) { |
4130 unittest.expect(o, unittest.hasLength(2)); | 4134 unittest.expect(o, unittest.hasLength(2)); |
4131 unittest.expect(o[0], unittest.equals('foo')); | 4135 unittest.expect(o[0], unittest.equals('foo')); |
4132 unittest.expect(o[1], unittest.equals('foo')); | 4136 unittest.expect(o[1], unittest.equals('foo')); |
4133 } | 4137 } |
4134 | 4138 |
4135 buildUnnamed325() { | |
4136 var o = new core.List<core.String>(); | |
4137 o.add("foo"); | |
4138 o.add("foo"); | |
4139 return o; | |
4140 } | |
4141 | |
4142 checkUnnamed325(core.List<core.String> o) { | |
4143 unittest.expect(o, unittest.hasLength(2)); | |
4144 unittest.expect(o[0], unittest.equals('foo')); | |
4145 unittest.expect(o[1], unittest.equals('foo')); | |
4146 } | |
4147 | |
4148 buildUnnamed326() { | |
4149 var o = new core.List<api.ProductShipping>(); | |
4150 o.add(buildProductShipping()); | |
4151 o.add(buildProductShipping()); | |
4152 return o; | |
4153 } | |
4154 | |
4155 checkUnnamed326(core.List<api.ProductShipping> o) { | |
4156 unittest.expect(o, unittest.hasLength(2)); | |
4157 checkProductShipping(o[0]); | |
4158 checkProductShipping(o[1]); | |
4159 } | |
4160 | |
4161 buildUnnamed327() { | 4139 buildUnnamed327() { |
4162 var o = new core.List<core.String>(); | 4140 var o = new core.List<core.String>(); |
4163 o.add("foo"); | 4141 o.add("foo"); |
4164 o.add("foo"); | 4142 o.add("foo"); |
4165 return o; | 4143 return o; |
4166 } | 4144 } |
4167 | 4145 |
4168 checkUnnamed327(core.List<core.String> o) { | 4146 checkUnnamed327(core.List<core.String> o) { |
4169 unittest.expect(o, unittest.hasLength(2)); | 4147 unittest.expect(o, unittest.hasLength(2)); |
4170 unittest.expect(o[0], unittest.equals('foo')); | 4148 unittest.expect(o[0], unittest.equals('foo')); |
4171 unittest.expect(o[1], unittest.equals('foo')); | 4149 unittest.expect(o[1], unittest.equals('foo')); |
4172 } | 4150 } |
4173 | 4151 |
4174 buildUnnamed328() { | 4152 buildUnnamed328() { |
4175 var o = new core.List<api.ProductTax>(); | 4153 var o = new core.List<api.ProductShipping>(); |
4176 o.add(buildProductTax()); | 4154 o.add(buildProductShipping()); |
4177 o.add(buildProductTax()); | 4155 o.add(buildProductShipping()); |
4178 return o; | 4156 return o; |
4179 } | 4157 } |
4180 | 4158 |
4181 checkUnnamed328(core.List<api.ProductTax> o) { | 4159 checkUnnamed328(core.List<api.ProductShipping> o) { |
4182 unittest.expect(o, unittest.hasLength(2)); | 4160 unittest.expect(o, unittest.hasLength(2)); |
4183 checkProductTax(o[0]); | 4161 checkProductShipping(o[0]); |
4184 checkProductTax(o[1]); | 4162 checkProductShipping(o[1]); |
4185 } | 4163 } |
4186 | 4164 |
4187 buildUnnamed329() { | 4165 buildUnnamed329() { |
4188 var o = new core.List<core.String>(); | 4166 var o = new core.List<core.String>(); |
4189 o.add("foo"); | 4167 o.add("foo"); |
4190 o.add("foo"); | 4168 o.add("foo"); |
4191 return o; | 4169 return o; |
4192 } | 4170 } |
4193 | 4171 |
4194 checkUnnamed329(core.List<core.String> o) { | 4172 checkUnnamed329(core.List<core.String> o) { |
4195 unittest.expect(o, unittest.hasLength(2)); | 4173 unittest.expect(o, unittest.hasLength(2)); |
4196 unittest.expect(o[0], unittest.equals('foo')); | 4174 unittest.expect(o[0], unittest.equals('foo')); |
4197 unittest.expect(o[1], unittest.equals('foo')); | 4175 unittest.expect(o[1], unittest.equals('foo')); |
4198 } | 4176 } |
4199 | 4177 |
4200 buildUnnamed330() { | 4178 buildUnnamed330() { |
| 4179 var o = new core.List<api.ProductTax>(); |
| 4180 o.add(buildProductTax()); |
| 4181 o.add(buildProductTax()); |
| 4182 return o; |
| 4183 } |
| 4184 |
| 4185 checkUnnamed330(core.List<api.ProductTax> o) { |
| 4186 unittest.expect(o, unittest.hasLength(2)); |
| 4187 checkProductTax(o[0]); |
| 4188 checkProductTax(o[1]); |
| 4189 } |
| 4190 |
| 4191 buildUnnamed331() { |
| 4192 var o = new core.List<core.String>(); |
| 4193 o.add("foo"); |
| 4194 o.add("foo"); |
| 4195 return o; |
| 4196 } |
| 4197 |
| 4198 checkUnnamed331(core.List<core.String> o) { |
| 4199 unittest.expect(o, unittest.hasLength(2)); |
| 4200 unittest.expect(o[0], unittest.equals('foo')); |
| 4201 unittest.expect(o[1], unittest.equals('foo')); |
| 4202 } |
| 4203 |
| 4204 buildUnnamed332() { |
4201 var o = new core.List<api.Error>(); | 4205 var o = new core.List<api.Error>(); |
4202 o.add(buildError()); | 4206 o.add(buildError()); |
4203 o.add(buildError()); | 4207 o.add(buildError()); |
4204 return o; | 4208 return o; |
4205 } | 4209 } |
4206 | 4210 |
4207 checkUnnamed330(core.List<api.Error> o) { | 4211 checkUnnamed332(core.List<api.Error> o) { |
4208 unittest.expect(o, unittest.hasLength(2)); | 4212 unittest.expect(o, unittest.hasLength(2)); |
4209 checkError(o[0]); | 4213 checkError(o[0]); |
4210 checkError(o[1]); | 4214 checkError(o[1]); |
4211 } | 4215 } |
4212 | 4216 |
4213 core.int buildCounterProduct = 0; | 4217 core.int buildCounterProduct = 0; |
4214 buildProduct() { | 4218 buildProduct() { |
4215 var o = new api.Product(); | 4219 var o = new api.Product(); |
4216 buildCounterProduct++; | 4220 buildCounterProduct++; |
4217 if (buildCounterProduct < 3) { | 4221 if (buildCounterProduct < 3) { |
4218 o.additionalImageLinks = buildUnnamed317(); | 4222 o.additionalImageLinks = buildUnnamed319(); |
4219 o.additionalProductTypes = buildUnnamed318(); | 4223 o.additionalProductTypes = buildUnnamed320(); |
4220 o.adult = true; | 4224 o.adult = true; |
4221 o.adwordsGrouping = "foo"; | 4225 o.adwordsGrouping = "foo"; |
4222 o.adwordsLabels = buildUnnamed319(); | 4226 o.adwordsLabels = buildUnnamed321(); |
4223 o.adwordsRedirect = "foo"; | 4227 o.adwordsRedirect = "foo"; |
4224 o.ageGroup = "foo"; | 4228 o.ageGroup = "foo"; |
4225 o.aspects = buildUnnamed320(); | 4229 o.aspects = buildUnnamed322(); |
4226 o.availability = "foo"; | 4230 o.availability = "foo"; |
4227 o.availabilityDate = "foo"; | 4231 o.availabilityDate = "foo"; |
4228 o.brand = "foo"; | 4232 o.brand = "foo"; |
4229 o.channel = "foo"; | 4233 o.channel = "foo"; |
4230 o.color = "foo"; | 4234 o.color = "foo"; |
4231 o.condition = "foo"; | 4235 o.condition = "foo"; |
4232 o.contentLanguage = "foo"; | 4236 o.contentLanguage = "foo"; |
4233 o.customAttributes = buildUnnamed321(); | 4237 o.customAttributes = buildUnnamed323(); |
4234 o.customGroups = buildUnnamed322(); | 4238 o.customGroups = buildUnnamed324(); |
4235 o.customLabel0 = "foo"; | 4239 o.customLabel0 = "foo"; |
4236 o.customLabel1 = "foo"; | 4240 o.customLabel1 = "foo"; |
4237 o.customLabel2 = "foo"; | 4241 o.customLabel2 = "foo"; |
4238 o.customLabel3 = "foo"; | 4242 o.customLabel3 = "foo"; |
4239 o.customLabel4 = "foo"; | 4243 o.customLabel4 = "foo"; |
4240 o.description = "foo"; | 4244 o.description = "foo"; |
4241 o.destinations = buildUnnamed323(); | 4245 o.destinations = buildUnnamed325(); |
4242 o.displayAdsId = "foo"; | 4246 o.displayAdsId = "foo"; |
4243 o.displayAdsLink = "foo"; | 4247 o.displayAdsLink = "foo"; |
4244 o.displayAdsSimilarIds = buildUnnamed324(); | 4248 o.displayAdsSimilarIds = buildUnnamed326(); |
4245 o.displayAdsTitle = "foo"; | 4249 o.displayAdsTitle = "foo"; |
4246 o.displayAdsValue = 42.0; | 4250 o.displayAdsValue = 42.0; |
4247 o.energyEfficiencyClass = "foo"; | 4251 o.energyEfficiencyClass = "foo"; |
4248 o.expirationDate = "foo"; | 4252 o.expirationDate = "foo"; |
4249 o.gender = "foo"; | 4253 o.gender = "foo"; |
4250 o.googleProductCategory = "foo"; | 4254 o.googleProductCategory = "foo"; |
4251 o.gtin = "foo"; | 4255 o.gtin = "foo"; |
4252 o.id = "foo"; | 4256 o.id = "foo"; |
4253 o.identifierExists = true; | 4257 o.identifierExists = true; |
4254 o.imageLink = "foo"; | 4258 o.imageLink = "foo"; |
4255 o.installment = buildInstallment(); | 4259 o.installment = buildInstallment(); |
4256 o.isBundle = true; | 4260 o.isBundle = true; |
4257 o.itemGroupId = "foo"; | 4261 o.itemGroupId = "foo"; |
4258 o.kind = "foo"; | 4262 o.kind = "foo"; |
4259 o.link = "foo"; | 4263 o.link = "foo"; |
4260 o.loyaltyPoints = buildLoyaltyPoints(); | 4264 o.loyaltyPoints = buildLoyaltyPoints(); |
4261 o.material = "foo"; | 4265 o.material = "foo"; |
4262 o.mobileLink = "foo"; | 4266 o.mobileLink = "foo"; |
4263 o.mpn = "foo"; | 4267 o.mpn = "foo"; |
4264 o.multipack = "foo"; | 4268 o.multipack = "foo"; |
4265 o.offerId = "foo"; | 4269 o.offerId = "foo"; |
4266 o.onlineOnly = true; | 4270 o.onlineOnly = true; |
4267 o.pattern = "foo"; | 4271 o.pattern = "foo"; |
4268 o.price = buildPrice(); | 4272 o.price = buildPrice(); |
4269 o.productType = "foo"; | 4273 o.productType = "foo"; |
4270 o.promotionIds = buildUnnamed325(); | 4274 o.promotionIds = buildUnnamed327(); |
4271 o.salePrice = buildPrice(); | 4275 o.salePrice = buildPrice(); |
4272 o.salePriceEffectiveDate = "foo"; | 4276 o.salePriceEffectiveDate = "foo"; |
4273 o.sellOnGoogleQuantity = "foo"; | 4277 o.sellOnGoogleQuantity = "foo"; |
4274 o.shipping = buildUnnamed326(); | 4278 o.shipping = buildUnnamed328(); |
4275 o.shippingHeight = buildProductShippingDimension(); | 4279 o.shippingHeight = buildProductShippingDimension(); |
4276 o.shippingLabel = "foo"; | 4280 o.shippingLabel = "foo"; |
4277 o.shippingLength = buildProductShippingDimension(); | 4281 o.shippingLength = buildProductShippingDimension(); |
4278 o.shippingWeight = buildProductShippingWeight(); | 4282 o.shippingWeight = buildProductShippingWeight(); |
4279 o.shippingWidth = buildProductShippingDimension(); | 4283 o.shippingWidth = buildProductShippingDimension(); |
4280 o.sizeSystem = "foo"; | 4284 o.sizeSystem = "foo"; |
4281 o.sizeType = "foo"; | 4285 o.sizeType = "foo"; |
4282 o.sizes = buildUnnamed327(); | 4286 o.sizes = buildUnnamed329(); |
4283 o.targetCountry = "foo"; | 4287 o.targetCountry = "foo"; |
4284 o.taxes = buildUnnamed328(); | 4288 o.taxes = buildUnnamed330(); |
4285 o.title = "foo"; | 4289 o.title = "foo"; |
4286 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); | 4290 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); |
4287 o.unitPricingMeasure = buildProductUnitPricingMeasure(); | 4291 o.unitPricingMeasure = buildProductUnitPricingMeasure(); |
4288 o.validatedDestinations = buildUnnamed329(); | 4292 o.validatedDestinations = buildUnnamed331(); |
4289 o.warnings = buildUnnamed330(); | 4293 o.warnings = buildUnnamed332(); |
4290 } | 4294 } |
4291 buildCounterProduct--; | 4295 buildCounterProduct--; |
4292 return o; | 4296 return o; |
4293 } | 4297 } |
4294 | 4298 |
4295 checkProduct(api.Product o) { | 4299 checkProduct(api.Product o) { |
4296 buildCounterProduct++; | 4300 buildCounterProduct++; |
4297 if (buildCounterProduct < 3) { | 4301 if (buildCounterProduct < 3) { |
4298 checkUnnamed317(o.additionalImageLinks); | 4302 checkUnnamed319(o.additionalImageLinks); |
4299 checkUnnamed318(o.additionalProductTypes); | 4303 checkUnnamed320(o.additionalProductTypes); |
4300 unittest.expect(o.adult, unittest.isTrue); | 4304 unittest.expect(o.adult, unittest.isTrue); |
4301 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); | 4305 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); |
4302 checkUnnamed319(o.adwordsLabels); | 4306 checkUnnamed321(o.adwordsLabels); |
4303 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); | 4307 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); |
4304 unittest.expect(o.ageGroup, unittest.equals('foo')); | 4308 unittest.expect(o.ageGroup, unittest.equals('foo')); |
4305 checkUnnamed320(o.aspects); | 4309 checkUnnamed322(o.aspects); |
4306 unittest.expect(o.availability, unittest.equals('foo')); | 4310 unittest.expect(o.availability, unittest.equals('foo')); |
4307 unittest.expect(o.availabilityDate, unittest.equals('foo')); | 4311 unittest.expect(o.availabilityDate, unittest.equals('foo')); |
4308 unittest.expect(o.brand, unittest.equals('foo')); | 4312 unittest.expect(o.brand, unittest.equals('foo')); |
4309 unittest.expect(o.channel, unittest.equals('foo')); | 4313 unittest.expect(o.channel, unittest.equals('foo')); |
4310 unittest.expect(o.color, unittest.equals('foo')); | 4314 unittest.expect(o.color, unittest.equals('foo')); |
4311 unittest.expect(o.condition, unittest.equals('foo')); | 4315 unittest.expect(o.condition, unittest.equals('foo')); |
4312 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 4316 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
4313 checkUnnamed321(o.customAttributes); | 4317 checkUnnamed323(o.customAttributes); |
4314 checkUnnamed322(o.customGroups); | 4318 checkUnnamed324(o.customGroups); |
4315 unittest.expect(o.customLabel0, unittest.equals('foo')); | 4319 unittest.expect(o.customLabel0, unittest.equals('foo')); |
4316 unittest.expect(o.customLabel1, unittest.equals('foo')); | 4320 unittest.expect(o.customLabel1, unittest.equals('foo')); |
4317 unittest.expect(o.customLabel2, unittest.equals('foo')); | 4321 unittest.expect(o.customLabel2, unittest.equals('foo')); |
4318 unittest.expect(o.customLabel3, unittest.equals('foo')); | 4322 unittest.expect(o.customLabel3, unittest.equals('foo')); |
4319 unittest.expect(o.customLabel4, unittest.equals('foo')); | 4323 unittest.expect(o.customLabel4, unittest.equals('foo')); |
4320 unittest.expect(o.description, unittest.equals('foo')); | 4324 unittest.expect(o.description, unittest.equals('foo')); |
4321 checkUnnamed323(o.destinations); | 4325 checkUnnamed325(o.destinations); |
4322 unittest.expect(o.displayAdsId, unittest.equals('foo')); | 4326 unittest.expect(o.displayAdsId, unittest.equals('foo')); |
4323 unittest.expect(o.displayAdsLink, unittest.equals('foo')); | 4327 unittest.expect(o.displayAdsLink, unittest.equals('foo')); |
4324 checkUnnamed324(o.displayAdsSimilarIds); | 4328 checkUnnamed326(o.displayAdsSimilarIds); |
4325 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); | 4329 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); |
4326 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); | 4330 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); |
4327 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); | 4331 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); |
4328 unittest.expect(o.expirationDate, unittest.equals('foo')); | 4332 unittest.expect(o.expirationDate, unittest.equals('foo')); |
4329 unittest.expect(o.gender, unittest.equals('foo')); | 4333 unittest.expect(o.gender, unittest.equals('foo')); |
4330 unittest.expect(o.googleProductCategory, unittest.equals('foo')); | 4334 unittest.expect(o.googleProductCategory, unittest.equals('foo')); |
4331 unittest.expect(o.gtin, unittest.equals('foo')); | 4335 unittest.expect(o.gtin, unittest.equals('foo')); |
4332 unittest.expect(o.id, unittest.equals('foo')); | 4336 unittest.expect(o.id, unittest.equals('foo')); |
4333 unittest.expect(o.identifierExists, unittest.isTrue); | 4337 unittest.expect(o.identifierExists, unittest.isTrue); |
4334 unittest.expect(o.imageLink, unittest.equals('foo')); | 4338 unittest.expect(o.imageLink, unittest.equals('foo')); |
4335 checkInstallment(o.installment); | 4339 checkInstallment(o.installment); |
4336 unittest.expect(o.isBundle, unittest.isTrue); | 4340 unittest.expect(o.isBundle, unittest.isTrue); |
4337 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 4341 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
4338 unittest.expect(o.kind, unittest.equals('foo')); | 4342 unittest.expect(o.kind, unittest.equals('foo')); |
4339 unittest.expect(o.link, unittest.equals('foo')); | 4343 unittest.expect(o.link, unittest.equals('foo')); |
4340 checkLoyaltyPoints(o.loyaltyPoints); | 4344 checkLoyaltyPoints(o.loyaltyPoints); |
4341 unittest.expect(o.material, unittest.equals('foo')); | 4345 unittest.expect(o.material, unittest.equals('foo')); |
4342 unittest.expect(o.mobileLink, unittest.equals('foo')); | 4346 unittest.expect(o.mobileLink, unittest.equals('foo')); |
4343 unittest.expect(o.mpn, unittest.equals('foo')); | 4347 unittest.expect(o.mpn, unittest.equals('foo')); |
4344 unittest.expect(o.multipack, unittest.equals('foo')); | 4348 unittest.expect(o.multipack, unittest.equals('foo')); |
4345 unittest.expect(o.offerId, unittest.equals('foo')); | 4349 unittest.expect(o.offerId, unittest.equals('foo')); |
4346 unittest.expect(o.onlineOnly, unittest.isTrue); | 4350 unittest.expect(o.onlineOnly, unittest.isTrue); |
4347 unittest.expect(o.pattern, unittest.equals('foo')); | 4351 unittest.expect(o.pattern, unittest.equals('foo')); |
4348 checkPrice(o.price); | 4352 checkPrice(o.price); |
4349 unittest.expect(o.productType, unittest.equals('foo')); | 4353 unittest.expect(o.productType, unittest.equals('foo')); |
4350 checkUnnamed325(o.promotionIds); | 4354 checkUnnamed327(o.promotionIds); |
4351 checkPrice(o.salePrice); | 4355 checkPrice(o.salePrice); |
4352 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 4356 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
4353 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); | 4357 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); |
4354 checkUnnamed326(o.shipping); | 4358 checkUnnamed328(o.shipping); |
4355 checkProductShippingDimension(o.shippingHeight); | 4359 checkProductShippingDimension(o.shippingHeight); |
4356 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 4360 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
4357 checkProductShippingDimension(o.shippingLength); | 4361 checkProductShippingDimension(o.shippingLength); |
4358 checkProductShippingWeight(o.shippingWeight); | 4362 checkProductShippingWeight(o.shippingWeight); |
4359 checkProductShippingDimension(o.shippingWidth); | 4363 checkProductShippingDimension(o.shippingWidth); |
4360 unittest.expect(o.sizeSystem, unittest.equals('foo')); | 4364 unittest.expect(o.sizeSystem, unittest.equals('foo')); |
4361 unittest.expect(o.sizeType, unittest.equals('foo')); | 4365 unittest.expect(o.sizeType, unittest.equals('foo')); |
4362 checkUnnamed327(o.sizes); | 4366 checkUnnamed329(o.sizes); |
4363 unittest.expect(o.targetCountry, unittest.equals('foo')); | 4367 unittest.expect(o.targetCountry, unittest.equals('foo')); |
4364 checkUnnamed328(o.taxes); | 4368 checkUnnamed330(o.taxes); |
4365 unittest.expect(o.title, unittest.equals('foo')); | 4369 unittest.expect(o.title, unittest.equals('foo')); |
4366 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); | 4370 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); |
4367 checkProductUnitPricingMeasure(o.unitPricingMeasure); | 4371 checkProductUnitPricingMeasure(o.unitPricingMeasure); |
4368 checkUnnamed329(o.validatedDestinations); | 4372 checkUnnamed331(o.validatedDestinations); |
4369 checkUnnamed330(o.warnings); | 4373 checkUnnamed332(o.warnings); |
4370 } | 4374 } |
4371 buildCounterProduct--; | 4375 buildCounterProduct--; |
4372 } | 4376 } |
4373 | 4377 |
4374 core.int buildCounterProductAspect = 0; | 4378 core.int buildCounterProductAspect = 0; |
4375 buildProductAspect() { | 4379 buildProductAspect() { |
4376 var o = new api.ProductAspect(); | 4380 var o = new api.ProductAspect(); |
4377 buildCounterProductAspect++; | 4381 buildCounterProductAspect++; |
4378 if (buildCounterProductAspect < 3) { | 4382 if (buildCounterProductAspect < 3) { |
4379 o.aspectName = "foo"; | 4383 o.aspectName = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4412 buildCounterProductCustomAttribute++; | 4416 buildCounterProductCustomAttribute++; |
4413 if (buildCounterProductCustomAttribute < 3) { | 4417 if (buildCounterProductCustomAttribute < 3) { |
4414 unittest.expect(o.name, unittest.equals('foo')); | 4418 unittest.expect(o.name, unittest.equals('foo')); |
4415 unittest.expect(o.type, unittest.equals('foo')); | 4419 unittest.expect(o.type, unittest.equals('foo')); |
4416 unittest.expect(o.unit, unittest.equals('foo')); | 4420 unittest.expect(o.unit, unittest.equals('foo')); |
4417 unittest.expect(o.value, unittest.equals('foo')); | 4421 unittest.expect(o.value, unittest.equals('foo')); |
4418 } | 4422 } |
4419 buildCounterProductCustomAttribute--; | 4423 buildCounterProductCustomAttribute--; |
4420 } | 4424 } |
4421 | 4425 |
4422 buildUnnamed331() { | 4426 buildUnnamed333() { |
4423 var o = new core.List<api.ProductCustomAttribute>(); | 4427 var o = new core.List<api.ProductCustomAttribute>(); |
4424 o.add(buildProductCustomAttribute()); | 4428 o.add(buildProductCustomAttribute()); |
4425 o.add(buildProductCustomAttribute()); | 4429 o.add(buildProductCustomAttribute()); |
4426 return o; | 4430 return o; |
4427 } | 4431 } |
4428 | 4432 |
4429 checkUnnamed331(core.List<api.ProductCustomAttribute> o) { | 4433 checkUnnamed333(core.List<api.ProductCustomAttribute> o) { |
4430 unittest.expect(o, unittest.hasLength(2)); | 4434 unittest.expect(o, unittest.hasLength(2)); |
4431 checkProductCustomAttribute(o[0]); | 4435 checkProductCustomAttribute(o[0]); |
4432 checkProductCustomAttribute(o[1]); | 4436 checkProductCustomAttribute(o[1]); |
4433 } | 4437 } |
4434 | 4438 |
4435 core.int buildCounterProductCustomGroup = 0; | 4439 core.int buildCounterProductCustomGroup = 0; |
4436 buildProductCustomGroup() { | 4440 buildProductCustomGroup() { |
4437 var o = new api.ProductCustomGroup(); | 4441 var o = new api.ProductCustomGroup(); |
4438 buildCounterProductCustomGroup++; | 4442 buildCounterProductCustomGroup++; |
4439 if (buildCounterProductCustomGroup < 3) { | 4443 if (buildCounterProductCustomGroup < 3) { |
4440 o.attributes = buildUnnamed331(); | 4444 o.attributes = buildUnnamed333(); |
4441 o.name = "foo"; | 4445 o.name = "foo"; |
4442 } | 4446 } |
4443 buildCounterProductCustomGroup--; | 4447 buildCounterProductCustomGroup--; |
4444 return o; | 4448 return o; |
4445 } | 4449 } |
4446 | 4450 |
4447 checkProductCustomGroup(api.ProductCustomGroup o) { | 4451 checkProductCustomGroup(api.ProductCustomGroup o) { |
4448 buildCounterProductCustomGroup++; | 4452 buildCounterProductCustomGroup++; |
4449 if (buildCounterProductCustomGroup < 3) { | 4453 if (buildCounterProductCustomGroup < 3) { |
4450 checkUnnamed331(o.attributes); | 4454 checkUnnamed333(o.attributes); |
4451 unittest.expect(o.name, unittest.equals('foo')); | 4455 unittest.expect(o.name, unittest.equals('foo')); |
4452 } | 4456 } |
4453 buildCounterProductCustomGroup--; | 4457 buildCounterProductCustomGroup--; |
4454 } | 4458 } |
4455 | 4459 |
4456 core.int buildCounterProductDestination = 0; | 4460 core.int buildCounterProductDestination = 0; |
4457 buildProductDestination() { | 4461 buildProductDestination() { |
4458 var o = new api.ProductDestination(); | 4462 var o = new api.ProductDestination(); |
4459 buildCounterProductDestination++; | 4463 buildCounterProductDestination++; |
4460 if (buildCounterProductDestination < 3) { | 4464 if (buildCounterProductDestination < 3) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4540 | 4544 |
4541 checkProductShippingWeight(api.ProductShippingWeight o) { | 4545 checkProductShippingWeight(api.ProductShippingWeight o) { |
4542 buildCounterProductShippingWeight++; | 4546 buildCounterProductShippingWeight++; |
4543 if (buildCounterProductShippingWeight < 3) { | 4547 if (buildCounterProductShippingWeight < 3) { |
4544 unittest.expect(o.unit, unittest.equals('foo')); | 4548 unittest.expect(o.unit, unittest.equals('foo')); |
4545 unittest.expect(o.value, unittest.equals(42.0)); | 4549 unittest.expect(o.value, unittest.equals(42.0)); |
4546 } | 4550 } |
4547 buildCounterProductShippingWeight--; | 4551 buildCounterProductShippingWeight--; |
4548 } | 4552 } |
4549 | 4553 |
4550 buildUnnamed332() { | 4554 buildUnnamed334() { |
4551 var o = new core.List<api.ProductStatusDataQualityIssue>(); | 4555 var o = new core.List<api.ProductStatusDataQualityIssue>(); |
4552 o.add(buildProductStatusDataQualityIssue()); | 4556 o.add(buildProductStatusDataQualityIssue()); |
4553 o.add(buildProductStatusDataQualityIssue()); | 4557 o.add(buildProductStatusDataQualityIssue()); |
4554 return o; | 4558 return o; |
4555 } | 4559 } |
4556 | 4560 |
4557 checkUnnamed332(core.List<api.ProductStatusDataQualityIssue> o) { | 4561 checkUnnamed334(core.List<api.ProductStatusDataQualityIssue> o) { |
4558 unittest.expect(o, unittest.hasLength(2)); | 4562 unittest.expect(o, unittest.hasLength(2)); |
4559 checkProductStatusDataQualityIssue(o[0]); | 4563 checkProductStatusDataQualityIssue(o[0]); |
4560 checkProductStatusDataQualityIssue(o[1]); | 4564 checkProductStatusDataQualityIssue(o[1]); |
4561 } | 4565 } |
4562 | 4566 |
4563 buildUnnamed333() { | 4567 buildUnnamed335() { |
4564 var o = new core.List<api.ProductStatusDestinationStatus>(); | 4568 var o = new core.List<api.ProductStatusDestinationStatus>(); |
4565 o.add(buildProductStatusDestinationStatus()); | 4569 o.add(buildProductStatusDestinationStatus()); |
4566 o.add(buildProductStatusDestinationStatus()); | 4570 o.add(buildProductStatusDestinationStatus()); |
4567 return o; | 4571 return o; |
4568 } | 4572 } |
4569 | 4573 |
4570 checkUnnamed333(core.List<api.ProductStatusDestinationStatus> o) { | 4574 checkUnnamed335(core.List<api.ProductStatusDestinationStatus> o) { |
4571 unittest.expect(o, unittest.hasLength(2)); | 4575 unittest.expect(o, unittest.hasLength(2)); |
4572 checkProductStatusDestinationStatus(o[0]); | 4576 checkProductStatusDestinationStatus(o[0]); |
4573 checkProductStatusDestinationStatus(o[1]); | 4577 checkProductStatusDestinationStatus(o[1]); |
4574 } | 4578 } |
4575 | 4579 |
4576 core.int buildCounterProductStatus = 0; | 4580 core.int buildCounterProductStatus = 0; |
4577 buildProductStatus() { | 4581 buildProductStatus() { |
4578 var o = new api.ProductStatus(); | 4582 var o = new api.ProductStatus(); |
4579 buildCounterProductStatus++; | 4583 buildCounterProductStatus++; |
4580 if (buildCounterProductStatus < 3) { | 4584 if (buildCounterProductStatus < 3) { |
4581 o.creationDate = "foo"; | 4585 o.creationDate = "foo"; |
4582 o.dataQualityIssues = buildUnnamed332(); | 4586 o.dataQualityIssues = buildUnnamed334(); |
4583 o.destinationStatuses = buildUnnamed333(); | 4587 o.destinationStatuses = buildUnnamed335(); |
4584 o.googleExpirationDate = "foo"; | 4588 o.googleExpirationDate = "foo"; |
4585 o.kind = "foo"; | 4589 o.kind = "foo"; |
4586 o.lastUpdateDate = "foo"; | 4590 o.lastUpdateDate = "foo"; |
4587 o.link = "foo"; | 4591 o.link = "foo"; |
4588 o.productId = "foo"; | 4592 o.productId = "foo"; |
4589 o.title = "foo"; | 4593 o.title = "foo"; |
4590 } | 4594 } |
4591 buildCounterProductStatus--; | 4595 buildCounterProductStatus--; |
4592 return o; | 4596 return o; |
4593 } | 4597 } |
4594 | 4598 |
4595 checkProductStatus(api.ProductStatus o) { | 4599 checkProductStatus(api.ProductStatus o) { |
4596 buildCounterProductStatus++; | 4600 buildCounterProductStatus++; |
4597 if (buildCounterProductStatus < 3) { | 4601 if (buildCounterProductStatus < 3) { |
4598 unittest.expect(o.creationDate, unittest.equals('foo')); | 4602 unittest.expect(o.creationDate, unittest.equals('foo')); |
4599 checkUnnamed332(o.dataQualityIssues); | 4603 checkUnnamed334(o.dataQualityIssues); |
4600 checkUnnamed333(o.destinationStatuses); | 4604 checkUnnamed335(o.destinationStatuses); |
4601 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); | 4605 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); |
4602 unittest.expect(o.kind, unittest.equals('foo')); | 4606 unittest.expect(o.kind, unittest.equals('foo')); |
4603 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); | 4607 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); |
4604 unittest.expect(o.link, unittest.equals('foo')); | 4608 unittest.expect(o.link, unittest.equals('foo')); |
4605 unittest.expect(o.productId, unittest.equals('foo')); | 4609 unittest.expect(o.productId, unittest.equals('foo')); |
4606 unittest.expect(o.title, unittest.equals('foo')); | 4610 unittest.expect(o.title, unittest.equals('foo')); |
4607 } | 4611 } |
4608 buildCounterProductStatus--; | 4612 buildCounterProductStatus--; |
4609 } | 4613 } |
4610 | 4614 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4728 | 4732 |
4729 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { | 4733 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { |
4730 buildCounterProductUnitPricingMeasure++; | 4734 buildCounterProductUnitPricingMeasure++; |
4731 if (buildCounterProductUnitPricingMeasure < 3) { | 4735 if (buildCounterProductUnitPricingMeasure < 3) { |
4732 unittest.expect(o.unit, unittest.equals('foo')); | 4736 unittest.expect(o.unit, unittest.equals('foo')); |
4733 unittest.expect(o.value, unittest.equals(42.0)); | 4737 unittest.expect(o.value, unittest.equals(42.0)); |
4734 } | 4738 } |
4735 buildCounterProductUnitPricingMeasure--; | 4739 buildCounterProductUnitPricingMeasure--; |
4736 } | 4740 } |
4737 | 4741 |
4738 buildUnnamed334() { | 4742 buildUnnamed336() { |
4739 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); | 4743 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); |
4740 o.add(buildProductsCustomBatchRequestEntry()); | 4744 o.add(buildProductsCustomBatchRequestEntry()); |
4741 o.add(buildProductsCustomBatchRequestEntry()); | 4745 o.add(buildProductsCustomBatchRequestEntry()); |
4742 return o; | 4746 return o; |
4743 } | 4747 } |
4744 | 4748 |
4745 checkUnnamed334(core.List<api.ProductsCustomBatchRequestEntry> o) { | 4749 checkUnnamed336(core.List<api.ProductsCustomBatchRequestEntry> o) { |
4746 unittest.expect(o, unittest.hasLength(2)); | 4750 unittest.expect(o, unittest.hasLength(2)); |
4747 checkProductsCustomBatchRequestEntry(o[0]); | 4751 checkProductsCustomBatchRequestEntry(o[0]); |
4748 checkProductsCustomBatchRequestEntry(o[1]); | 4752 checkProductsCustomBatchRequestEntry(o[1]); |
4749 } | 4753 } |
4750 | 4754 |
4751 core.int buildCounterProductsCustomBatchRequest = 0; | 4755 core.int buildCounterProductsCustomBatchRequest = 0; |
4752 buildProductsCustomBatchRequest() { | 4756 buildProductsCustomBatchRequest() { |
4753 var o = new api.ProductsCustomBatchRequest(); | 4757 var o = new api.ProductsCustomBatchRequest(); |
4754 buildCounterProductsCustomBatchRequest++; | 4758 buildCounterProductsCustomBatchRequest++; |
4755 if (buildCounterProductsCustomBatchRequest < 3) { | 4759 if (buildCounterProductsCustomBatchRequest < 3) { |
4756 o.entries = buildUnnamed334(); | 4760 o.entries = buildUnnamed336(); |
4757 } | 4761 } |
4758 buildCounterProductsCustomBatchRequest--; | 4762 buildCounterProductsCustomBatchRequest--; |
4759 return o; | 4763 return o; |
4760 } | 4764 } |
4761 | 4765 |
4762 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { | 4766 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { |
4763 buildCounterProductsCustomBatchRequest++; | 4767 buildCounterProductsCustomBatchRequest++; |
4764 if (buildCounterProductsCustomBatchRequest < 3) { | 4768 if (buildCounterProductsCustomBatchRequest < 3) { |
4765 checkUnnamed334(o.entries); | 4769 checkUnnamed336(o.entries); |
4766 } | 4770 } |
4767 buildCounterProductsCustomBatchRequest--; | 4771 buildCounterProductsCustomBatchRequest--; |
4768 } | 4772 } |
4769 | 4773 |
4770 core.int buildCounterProductsCustomBatchRequestEntry = 0; | 4774 core.int buildCounterProductsCustomBatchRequestEntry = 0; |
4771 buildProductsCustomBatchRequestEntry() { | 4775 buildProductsCustomBatchRequestEntry() { |
4772 var o = new api.ProductsCustomBatchRequestEntry(); | 4776 var o = new api.ProductsCustomBatchRequestEntry(); |
4773 buildCounterProductsCustomBatchRequestEntry++; | 4777 buildCounterProductsCustomBatchRequestEntry++; |
4774 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4778 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
4775 o.batchId = 42; | 4779 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
4787 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4791 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
4788 unittest.expect(o.batchId, unittest.equals(42)); | 4792 unittest.expect(o.batchId, unittest.equals(42)); |
4789 unittest.expect(o.merchantId, unittest.equals('foo')); | 4793 unittest.expect(o.merchantId, unittest.equals('foo')); |
4790 unittest.expect(o.method, unittest.equals('foo')); | 4794 unittest.expect(o.method, unittest.equals('foo')); |
4791 checkProduct(o.product); | 4795 checkProduct(o.product); |
4792 unittest.expect(o.productId, unittest.equals('foo')); | 4796 unittest.expect(o.productId, unittest.equals('foo')); |
4793 } | 4797 } |
4794 buildCounterProductsCustomBatchRequestEntry--; | 4798 buildCounterProductsCustomBatchRequestEntry--; |
4795 } | 4799 } |
4796 | 4800 |
4797 buildUnnamed335() { | 4801 buildUnnamed337() { |
4798 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); | 4802 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); |
4799 o.add(buildProductsCustomBatchResponseEntry()); | 4803 o.add(buildProductsCustomBatchResponseEntry()); |
4800 o.add(buildProductsCustomBatchResponseEntry()); | 4804 o.add(buildProductsCustomBatchResponseEntry()); |
4801 return o; | 4805 return o; |
4802 } | 4806 } |
4803 | 4807 |
4804 checkUnnamed335(core.List<api.ProductsCustomBatchResponseEntry> o) { | 4808 checkUnnamed337(core.List<api.ProductsCustomBatchResponseEntry> o) { |
4805 unittest.expect(o, unittest.hasLength(2)); | 4809 unittest.expect(o, unittest.hasLength(2)); |
4806 checkProductsCustomBatchResponseEntry(o[0]); | 4810 checkProductsCustomBatchResponseEntry(o[0]); |
4807 checkProductsCustomBatchResponseEntry(o[1]); | 4811 checkProductsCustomBatchResponseEntry(o[1]); |
4808 } | 4812 } |
4809 | 4813 |
4810 core.int buildCounterProductsCustomBatchResponse = 0; | 4814 core.int buildCounterProductsCustomBatchResponse = 0; |
4811 buildProductsCustomBatchResponse() { | 4815 buildProductsCustomBatchResponse() { |
4812 var o = new api.ProductsCustomBatchResponse(); | 4816 var o = new api.ProductsCustomBatchResponse(); |
4813 buildCounterProductsCustomBatchResponse++; | 4817 buildCounterProductsCustomBatchResponse++; |
4814 if (buildCounterProductsCustomBatchResponse < 3) { | 4818 if (buildCounterProductsCustomBatchResponse < 3) { |
4815 o.entries = buildUnnamed335(); | 4819 o.entries = buildUnnamed337(); |
4816 o.kind = "foo"; | 4820 o.kind = "foo"; |
4817 } | 4821 } |
4818 buildCounterProductsCustomBatchResponse--; | 4822 buildCounterProductsCustomBatchResponse--; |
4819 return o; | 4823 return o; |
4820 } | 4824 } |
4821 | 4825 |
4822 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { | 4826 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { |
4823 buildCounterProductsCustomBatchResponse++; | 4827 buildCounterProductsCustomBatchResponse++; |
4824 if (buildCounterProductsCustomBatchResponse < 3) { | 4828 if (buildCounterProductsCustomBatchResponse < 3) { |
4825 checkUnnamed335(o.entries); | 4829 checkUnnamed337(o.entries); |
4826 unittest.expect(o.kind, unittest.equals('foo')); | 4830 unittest.expect(o.kind, unittest.equals('foo')); |
4827 } | 4831 } |
4828 buildCounterProductsCustomBatchResponse--; | 4832 buildCounterProductsCustomBatchResponse--; |
4829 } | 4833 } |
4830 | 4834 |
4831 core.int buildCounterProductsCustomBatchResponseEntry = 0; | 4835 core.int buildCounterProductsCustomBatchResponseEntry = 0; |
4832 buildProductsCustomBatchResponseEntry() { | 4836 buildProductsCustomBatchResponseEntry() { |
4833 var o = new api.ProductsCustomBatchResponseEntry(); | 4837 var o = new api.ProductsCustomBatchResponseEntry(); |
4834 buildCounterProductsCustomBatchResponseEntry++; | 4838 buildCounterProductsCustomBatchResponseEntry++; |
4835 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4839 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
4846 buildCounterProductsCustomBatchResponseEntry++; | 4850 buildCounterProductsCustomBatchResponseEntry++; |
4847 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4851 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
4848 unittest.expect(o.batchId, unittest.equals(42)); | 4852 unittest.expect(o.batchId, unittest.equals(42)); |
4849 checkErrors(o.errors); | 4853 checkErrors(o.errors); |
4850 unittest.expect(o.kind, unittest.equals('foo')); | 4854 unittest.expect(o.kind, unittest.equals('foo')); |
4851 checkProduct(o.product); | 4855 checkProduct(o.product); |
4852 } | 4856 } |
4853 buildCounterProductsCustomBatchResponseEntry--; | 4857 buildCounterProductsCustomBatchResponseEntry--; |
4854 } | 4858 } |
4855 | 4859 |
4856 buildUnnamed336() { | 4860 buildUnnamed338() { |
4857 var o = new core.List<api.Product>(); | 4861 var o = new core.List<api.Product>(); |
4858 o.add(buildProduct()); | 4862 o.add(buildProduct()); |
4859 o.add(buildProduct()); | 4863 o.add(buildProduct()); |
4860 return o; | 4864 return o; |
4861 } | 4865 } |
4862 | 4866 |
4863 checkUnnamed336(core.List<api.Product> o) { | 4867 checkUnnamed338(core.List<api.Product> o) { |
4864 unittest.expect(o, unittest.hasLength(2)); | 4868 unittest.expect(o, unittest.hasLength(2)); |
4865 checkProduct(o[0]); | 4869 checkProduct(o[0]); |
4866 checkProduct(o[1]); | 4870 checkProduct(o[1]); |
4867 } | 4871 } |
4868 | 4872 |
4869 core.int buildCounterProductsListResponse = 0; | 4873 core.int buildCounterProductsListResponse = 0; |
4870 buildProductsListResponse() { | 4874 buildProductsListResponse() { |
4871 var o = new api.ProductsListResponse(); | 4875 var o = new api.ProductsListResponse(); |
4872 buildCounterProductsListResponse++; | 4876 buildCounterProductsListResponse++; |
4873 if (buildCounterProductsListResponse < 3) { | 4877 if (buildCounterProductsListResponse < 3) { |
4874 o.kind = "foo"; | 4878 o.kind = "foo"; |
4875 o.nextPageToken = "foo"; | 4879 o.nextPageToken = "foo"; |
4876 o.resources = buildUnnamed336(); | 4880 o.resources = buildUnnamed338(); |
4877 } | 4881 } |
4878 buildCounterProductsListResponse--; | 4882 buildCounterProductsListResponse--; |
4879 return o; | 4883 return o; |
4880 } | 4884 } |
4881 | 4885 |
4882 checkProductsListResponse(api.ProductsListResponse o) { | 4886 checkProductsListResponse(api.ProductsListResponse o) { |
4883 buildCounterProductsListResponse++; | 4887 buildCounterProductsListResponse++; |
4884 if (buildCounterProductsListResponse < 3) { | 4888 if (buildCounterProductsListResponse < 3) { |
4885 unittest.expect(o.kind, unittest.equals('foo')); | 4889 unittest.expect(o.kind, unittest.equals('foo')); |
4886 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4890 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4887 checkUnnamed336(o.resources); | 4891 checkUnnamed338(o.resources); |
4888 } | 4892 } |
4889 buildCounterProductsListResponse--; | 4893 buildCounterProductsListResponse--; |
4890 } | 4894 } |
4891 | 4895 |
4892 buildUnnamed337() { | 4896 buildUnnamed339() { |
4893 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); | 4897 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); |
4894 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4898 o.add(buildProductstatusesCustomBatchRequestEntry()); |
4895 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4899 o.add(buildProductstatusesCustomBatchRequestEntry()); |
4896 return o; | 4900 return o; |
4897 } | 4901 } |
4898 | 4902 |
4899 checkUnnamed337(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { | 4903 checkUnnamed339(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { |
4900 unittest.expect(o, unittest.hasLength(2)); | 4904 unittest.expect(o, unittest.hasLength(2)); |
4901 checkProductstatusesCustomBatchRequestEntry(o[0]); | 4905 checkProductstatusesCustomBatchRequestEntry(o[0]); |
4902 checkProductstatusesCustomBatchRequestEntry(o[1]); | 4906 checkProductstatusesCustomBatchRequestEntry(o[1]); |
4903 } | 4907 } |
4904 | 4908 |
4905 core.int buildCounterProductstatusesCustomBatchRequest = 0; | 4909 core.int buildCounterProductstatusesCustomBatchRequest = 0; |
4906 buildProductstatusesCustomBatchRequest() { | 4910 buildProductstatusesCustomBatchRequest() { |
4907 var o = new api.ProductstatusesCustomBatchRequest(); | 4911 var o = new api.ProductstatusesCustomBatchRequest(); |
4908 buildCounterProductstatusesCustomBatchRequest++; | 4912 buildCounterProductstatusesCustomBatchRequest++; |
4909 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4913 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
4910 o.entries = buildUnnamed337(); | 4914 o.entries = buildUnnamed339(); |
4911 } | 4915 } |
4912 buildCounterProductstatusesCustomBatchRequest--; | 4916 buildCounterProductstatusesCustomBatchRequest--; |
4913 return o; | 4917 return o; |
4914 } | 4918 } |
4915 | 4919 |
4916 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ | 4920 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ |
4917 buildCounterProductstatusesCustomBatchRequest++; | 4921 buildCounterProductstatusesCustomBatchRequest++; |
4918 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4922 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
4919 checkUnnamed337(o.entries); | 4923 checkUnnamed339(o.entries); |
4920 } | 4924 } |
4921 buildCounterProductstatusesCustomBatchRequest--; | 4925 buildCounterProductstatusesCustomBatchRequest--; |
4922 } | 4926 } |
4923 | 4927 |
4924 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; | 4928 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; |
4925 buildProductstatusesCustomBatchRequestEntry() { | 4929 buildProductstatusesCustomBatchRequestEntry() { |
4926 var o = new api.ProductstatusesCustomBatchRequestEntry(); | 4930 var o = new api.ProductstatusesCustomBatchRequestEntry(); |
4927 buildCounterProductstatusesCustomBatchRequestEntry++; | 4931 buildCounterProductstatusesCustomBatchRequestEntry++; |
4928 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4932 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
4929 o.batchId = 42; | 4933 o.batchId = 42; |
4930 o.merchantId = "foo"; | 4934 o.merchantId = "foo"; |
4931 o.method = "foo"; | 4935 o.method = "foo"; |
4932 o.productId = "foo"; | 4936 o.productId = "foo"; |
4933 } | 4937 } |
4934 buildCounterProductstatusesCustomBatchRequestEntry--; | 4938 buildCounterProductstatusesCustomBatchRequestEntry--; |
4935 return o; | 4939 return o; |
4936 } | 4940 } |
4937 | 4941 |
4938 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { | 4942 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { |
4939 buildCounterProductstatusesCustomBatchRequestEntry++; | 4943 buildCounterProductstatusesCustomBatchRequestEntry++; |
4940 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4944 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
4941 unittest.expect(o.batchId, unittest.equals(42)); | 4945 unittest.expect(o.batchId, unittest.equals(42)); |
4942 unittest.expect(o.merchantId, unittest.equals('foo')); | 4946 unittest.expect(o.merchantId, unittest.equals('foo')); |
4943 unittest.expect(o.method, unittest.equals('foo')); | 4947 unittest.expect(o.method, unittest.equals('foo')); |
4944 unittest.expect(o.productId, unittest.equals('foo')); | 4948 unittest.expect(o.productId, unittest.equals('foo')); |
4945 } | 4949 } |
4946 buildCounterProductstatusesCustomBatchRequestEntry--; | 4950 buildCounterProductstatusesCustomBatchRequestEntry--; |
4947 } | 4951 } |
4948 | 4952 |
4949 buildUnnamed338() { | 4953 buildUnnamed340() { |
4950 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); | 4954 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); |
4951 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4955 o.add(buildProductstatusesCustomBatchResponseEntry()); |
4952 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4956 o.add(buildProductstatusesCustomBatchResponseEntry()); |
4953 return o; | 4957 return o; |
4954 } | 4958 } |
4955 | 4959 |
4956 checkUnnamed338(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { | 4960 checkUnnamed340(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { |
4957 unittest.expect(o, unittest.hasLength(2)); | 4961 unittest.expect(o, unittest.hasLength(2)); |
4958 checkProductstatusesCustomBatchResponseEntry(o[0]); | 4962 checkProductstatusesCustomBatchResponseEntry(o[0]); |
4959 checkProductstatusesCustomBatchResponseEntry(o[1]); | 4963 checkProductstatusesCustomBatchResponseEntry(o[1]); |
4960 } | 4964 } |
4961 | 4965 |
4962 core.int buildCounterProductstatusesCustomBatchResponse = 0; | 4966 core.int buildCounterProductstatusesCustomBatchResponse = 0; |
4963 buildProductstatusesCustomBatchResponse() { | 4967 buildProductstatusesCustomBatchResponse() { |
4964 var o = new api.ProductstatusesCustomBatchResponse(); | 4968 var o = new api.ProductstatusesCustomBatchResponse(); |
4965 buildCounterProductstatusesCustomBatchResponse++; | 4969 buildCounterProductstatusesCustomBatchResponse++; |
4966 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4970 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
4967 o.entries = buildUnnamed338(); | 4971 o.entries = buildUnnamed340(); |
4968 o.kind = "foo"; | 4972 o.kind = "foo"; |
4969 } | 4973 } |
4970 buildCounterProductstatusesCustomBatchResponse--; | 4974 buildCounterProductstatusesCustomBatchResponse--; |
4971 return o; | 4975 return o; |
4972 } | 4976 } |
4973 | 4977 |
4974 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { | 4978 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { |
4975 buildCounterProductstatusesCustomBatchResponse++; | 4979 buildCounterProductstatusesCustomBatchResponse++; |
4976 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4980 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
4977 checkUnnamed338(o.entries); | 4981 checkUnnamed340(o.entries); |
4978 unittest.expect(o.kind, unittest.equals('foo')); | 4982 unittest.expect(o.kind, unittest.equals('foo')); |
4979 } | 4983 } |
4980 buildCounterProductstatusesCustomBatchResponse--; | 4984 buildCounterProductstatusesCustomBatchResponse--; |
4981 } | 4985 } |
4982 | 4986 |
4983 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; | 4987 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; |
4984 buildProductstatusesCustomBatchResponseEntry() { | 4988 buildProductstatusesCustomBatchResponseEntry() { |
4985 var o = new api.ProductstatusesCustomBatchResponseEntry(); | 4989 var o = new api.ProductstatusesCustomBatchResponseEntry(); |
4986 buildCounterProductstatusesCustomBatchResponseEntry++; | 4990 buildCounterProductstatusesCustomBatchResponseEntry++; |
4987 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4991 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
4998 buildCounterProductstatusesCustomBatchResponseEntry++; | 5002 buildCounterProductstatusesCustomBatchResponseEntry++; |
4999 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 5003 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
5000 unittest.expect(o.batchId, unittest.equals(42)); | 5004 unittest.expect(o.batchId, unittest.equals(42)); |
5001 checkErrors(o.errors); | 5005 checkErrors(o.errors); |
5002 unittest.expect(o.kind, unittest.equals('foo')); | 5006 unittest.expect(o.kind, unittest.equals('foo')); |
5003 checkProductStatus(o.productStatus); | 5007 checkProductStatus(o.productStatus); |
5004 } | 5008 } |
5005 buildCounterProductstatusesCustomBatchResponseEntry--; | 5009 buildCounterProductstatusesCustomBatchResponseEntry--; |
5006 } | 5010 } |
5007 | 5011 |
5008 buildUnnamed339() { | 5012 buildUnnamed341() { |
5009 var o = new core.List<api.ProductStatus>(); | 5013 var o = new core.List<api.ProductStatus>(); |
5010 o.add(buildProductStatus()); | 5014 o.add(buildProductStatus()); |
5011 o.add(buildProductStatus()); | 5015 o.add(buildProductStatus()); |
5012 return o; | 5016 return o; |
5013 } | 5017 } |
5014 | 5018 |
5015 checkUnnamed339(core.List<api.ProductStatus> o) { | 5019 checkUnnamed341(core.List<api.ProductStatus> o) { |
5016 unittest.expect(o, unittest.hasLength(2)); | 5020 unittest.expect(o, unittest.hasLength(2)); |
5017 checkProductStatus(o[0]); | 5021 checkProductStatus(o[0]); |
5018 checkProductStatus(o[1]); | 5022 checkProductStatus(o[1]); |
5019 } | 5023 } |
5020 | 5024 |
5021 core.int buildCounterProductstatusesListResponse = 0; | 5025 core.int buildCounterProductstatusesListResponse = 0; |
5022 buildProductstatusesListResponse() { | 5026 buildProductstatusesListResponse() { |
5023 var o = new api.ProductstatusesListResponse(); | 5027 var o = new api.ProductstatusesListResponse(); |
5024 buildCounterProductstatusesListResponse++; | 5028 buildCounterProductstatusesListResponse++; |
5025 if (buildCounterProductstatusesListResponse < 3) { | 5029 if (buildCounterProductstatusesListResponse < 3) { |
5026 o.kind = "foo"; | 5030 o.kind = "foo"; |
5027 o.nextPageToken = "foo"; | 5031 o.nextPageToken = "foo"; |
5028 o.resources = buildUnnamed339(); | 5032 o.resources = buildUnnamed341(); |
5029 } | 5033 } |
5030 buildCounterProductstatusesListResponse--; | 5034 buildCounterProductstatusesListResponse--; |
5031 return o; | 5035 return o; |
5032 } | 5036 } |
5033 | 5037 |
5034 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { | 5038 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { |
5035 buildCounterProductstatusesListResponse++; | 5039 buildCounterProductstatusesListResponse++; |
5036 if (buildCounterProductstatusesListResponse < 3) { | 5040 if (buildCounterProductstatusesListResponse < 3) { |
5037 unittest.expect(o.kind, unittest.equals('foo')); | 5041 unittest.expect(o.kind, unittest.equals('foo')); |
5038 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5042 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5039 checkUnnamed339(o.resources); | 5043 checkUnnamed341(o.resources); |
5040 } | 5044 } |
5041 buildCounterProductstatusesListResponse--; | 5045 buildCounterProductstatusesListResponse--; |
5042 } | 5046 } |
5043 | 5047 |
5044 buildUnnamed340() { | 5048 buildUnnamed342() { |
5045 var o = new core.List<core.String>(); | 5049 var o = new core.List<core.String>(); |
5046 o.add("foo"); | 5050 o.add("foo"); |
5047 o.add("foo"); | 5051 o.add("foo"); |
5048 return o; | 5052 return o; |
5049 } | 5053 } |
5050 | 5054 |
5051 checkUnnamed340(core.List<core.String> o) { | 5055 checkUnnamed342(core.List<core.String> o) { |
5052 unittest.expect(o, unittest.hasLength(2)); | 5056 unittest.expect(o, unittest.hasLength(2)); |
5053 unittest.expect(o[0], unittest.equals('foo')); | 5057 unittest.expect(o[0], unittest.equals('foo')); |
5054 unittest.expect(o[1], unittest.equals('foo')); | 5058 unittest.expect(o[1], unittest.equals('foo')); |
5055 } | 5059 } |
5056 | 5060 |
5057 buildUnnamed341() { | 5061 buildUnnamed343() { |
5058 var o = new core.List<api.CarrierRate>(); | 5062 var o = new core.List<api.CarrierRate>(); |
5059 o.add(buildCarrierRate()); | 5063 o.add(buildCarrierRate()); |
5060 o.add(buildCarrierRate()); | 5064 o.add(buildCarrierRate()); |
5061 return o; | 5065 return o; |
5062 } | 5066 } |
5063 | 5067 |
5064 checkUnnamed341(core.List<api.CarrierRate> o) { | 5068 checkUnnamed343(core.List<api.CarrierRate> o) { |
5065 unittest.expect(o, unittest.hasLength(2)); | 5069 unittest.expect(o, unittest.hasLength(2)); |
5066 checkCarrierRate(o[0]); | 5070 checkCarrierRate(o[0]); |
5067 checkCarrierRate(o[1]); | 5071 checkCarrierRate(o[1]); |
5068 } | 5072 } |
5069 | 5073 |
5070 buildUnnamed342() { | 5074 buildUnnamed344() { |
5071 var o = new core.List<api.Table>(); | 5075 var o = new core.List<api.Table>(); |
5072 o.add(buildTable()); | 5076 o.add(buildTable()); |
5073 o.add(buildTable()); | 5077 o.add(buildTable()); |
5074 return o; | 5078 return o; |
5075 } | 5079 } |
5076 | 5080 |
5077 checkUnnamed342(core.List<api.Table> o) { | 5081 checkUnnamed344(core.List<api.Table> o) { |
5078 unittest.expect(o, unittest.hasLength(2)); | 5082 unittest.expect(o, unittest.hasLength(2)); |
5079 checkTable(o[0]); | 5083 checkTable(o[0]); |
5080 checkTable(o[1]); | 5084 checkTable(o[1]); |
5081 } | 5085 } |
5082 | 5086 |
5083 core.int buildCounterRateGroup = 0; | 5087 core.int buildCounterRateGroup = 0; |
5084 buildRateGroup() { | 5088 buildRateGroup() { |
5085 var o = new api.RateGroup(); | 5089 var o = new api.RateGroup(); |
5086 buildCounterRateGroup++; | 5090 buildCounterRateGroup++; |
5087 if (buildCounterRateGroup < 3) { | 5091 if (buildCounterRateGroup < 3) { |
5088 o.applicableShippingLabels = buildUnnamed340(); | 5092 o.applicableShippingLabels = buildUnnamed342(); |
5089 o.carrierRates = buildUnnamed341(); | 5093 o.carrierRates = buildUnnamed343(); |
5090 o.mainTable = buildTable(); | 5094 o.mainTable = buildTable(); |
5091 o.singleValue = buildValue(); | 5095 o.singleValue = buildValue(); |
5092 o.subtables = buildUnnamed342(); | 5096 o.subtables = buildUnnamed344(); |
5093 } | 5097 } |
5094 buildCounterRateGroup--; | 5098 buildCounterRateGroup--; |
5095 return o; | 5099 return o; |
5096 } | 5100 } |
5097 | 5101 |
5098 checkRateGroup(api.RateGroup o) { | 5102 checkRateGroup(api.RateGroup o) { |
5099 buildCounterRateGroup++; | 5103 buildCounterRateGroup++; |
5100 if (buildCounterRateGroup < 3) { | 5104 if (buildCounterRateGroup < 3) { |
5101 checkUnnamed340(o.applicableShippingLabels); | 5105 checkUnnamed342(o.applicableShippingLabels); |
5102 checkUnnamed341(o.carrierRates); | 5106 checkUnnamed343(o.carrierRates); |
5103 checkTable(o.mainTable); | 5107 checkTable(o.mainTable); |
5104 checkValue(o.singleValue); | 5108 checkValue(o.singleValue); |
5105 checkUnnamed342(o.subtables); | 5109 checkUnnamed344(o.subtables); |
5106 } | 5110 } |
5107 buildCounterRateGroup--; | 5111 buildCounterRateGroup--; |
5108 } | 5112 } |
5109 | 5113 |
5110 buildUnnamed343() { | 5114 buildUnnamed345() { |
5111 var o = new core.List<api.Value>(); | 5115 var o = new core.List<api.Value>(); |
5112 o.add(buildValue()); | 5116 o.add(buildValue()); |
5113 o.add(buildValue()); | 5117 o.add(buildValue()); |
5114 return o; | 5118 return o; |
5115 } | 5119 } |
5116 | 5120 |
5117 checkUnnamed343(core.List<api.Value> o) { | 5121 checkUnnamed345(core.List<api.Value> o) { |
5118 unittest.expect(o, unittest.hasLength(2)); | 5122 unittest.expect(o, unittest.hasLength(2)); |
5119 checkValue(o[0]); | 5123 checkValue(o[0]); |
5120 checkValue(o[1]); | 5124 checkValue(o[1]); |
5121 } | 5125 } |
5122 | 5126 |
5123 core.int buildCounterRow = 0; | 5127 core.int buildCounterRow = 0; |
5124 buildRow() { | 5128 buildRow() { |
5125 var o = new api.Row(); | 5129 var o = new api.Row(); |
5126 buildCounterRow++; | 5130 buildCounterRow++; |
5127 if (buildCounterRow < 3) { | 5131 if (buildCounterRow < 3) { |
5128 o.cells = buildUnnamed343(); | 5132 o.cells = buildUnnamed345(); |
5129 } | 5133 } |
5130 buildCounterRow--; | 5134 buildCounterRow--; |
5131 return o; | 5135 return o; |
5132 } | 5136 } |
5133 | 5137 |
5134 checkRow(api.Row o) { | 5138 checkRow(api.Row o) { |
5135 buildCounterRow++; | 5139 buildCounterRow++; |
5136 if (buildCounterRow < 3) { | 5140 if (buildCounterRow < 3) { |
5137 checkUnnamed343(o.cells); | 5141 checkUnnamed345(o.cells); |
5138 } | 5142 } |
5139 buildCounterRow--; | 5143 buildCounterRow--; |
5140 } | 5144 } |
5141 | 5145 |
5142 buildUnnamed344() { | 5146 buildUnnamed346() { |
5143 var o = new core.List<api.RateGroup>(); | 5147 var o = new core.List<api.RateGroup>(); |
5144 o.add(buildRateGroup()); | 5148 o.add(buildRateGroup()); |
5145 o.add(buildRateGroup()); | 5149 o.add(buildRateGroup()); |
5146 return o; | 5150 return o; |
5147 } | 5151 } |
5148 | 5152 |
5149 checkUnnamed344(core.List<api.RateGroup> o) { | 5153 checkUnnamed346(core.List<api.RateGroup> o) { |
5150 unittest.expect(o, unittest.hasLength(2)); | 5154 unittest.expect(o, unittest.hasLength(2)); |
5151 checkRateGroup(o[0]); | 5155 checkRateGroup(o[0]); |
5152 checkRateGroup(o[1]); | 5156 checkRateGroup(o[1]); |
5153 } | 5157 } |
5154 | 5158 |
5155 core.int buildCounterService = 0; | 5159 core.int buildCounterService = 0; |
5156 buildService() { | 5160 buildService() { |
5157 var o = new api.Service(); | 5161 var o = new api.Service(); |
5158 buildCounterService++; | 5162 buildCounterService++; |
5159 if (buildCounterService < 3) { | 5163 if (buildCounterService < 3) { |
5160 o.active = true; | 5164 o.active = true; |
5161 o.currency = "foo"; | 5165 o.currency = "foo"; |
5162 o.deliveryCountry = "foo"; | 5166 o.deliveryCountry = "foo"; |
5163 o.deliveryTime = buildDeliveryTime(); | 5167 o.deliveryTime = buildDeliveryTime(); |
5164 o.name = "foo"; | 5168 o.name = "foo"; |
5165 o.rateGroups = buildUnnamed344(); | 5169 o.rateGroups = buildUnnamed346(); |
5166 } | 5170 } |
5167 buildCounterService--; | 5171 buildCounterService--; |
5168 return o; | 5172 return o; |
5169 } | 5173 } |
5170 | 5174 |
5171 checkService(api.Service o) { | 5175 checkService(api.Service o) { |
5172 buildCounterService++; | 5176 buildCounterService++; |
5173 if (buildCounterService < 3) { | 5177 if (buildCounterService < 3) { |
5174 unittest.expect(o.active, unittest.isTrue); | 5178 unittest.expect(o.active, unittest.isTrue); |
5175 unittest.expect(o.currency, unittest.equals('foo')); | 5179 unittest.expect(o.currency, unittest.equals('foo')); |
5176 unittest.expect(o.deliveryCountry, unittest.equals('foo')); | 5180 unittest.expect(o.deliveryCountry, unittest.equals('foo')); |
5177 checkDeliveryTime(o.deliveryTime); | 5181 checkDeliveryTime(o.deliveryTime); |
5178 unittest.expect(o.name, unittest.equals('foo')); | 5182 unittest.expect(o.name, unittest.equals('foo')); |
5179 checkUnnamed344(o.rateGroups); | 5183 checkUnnamed346(o.rateGroups); |
5180 } | 5184 } |
5181 buildCounterService--; | 5185 buildCounterService--; |
5182 } | 5186 } |
5183 | 5187 |
5184 buildUnnamed345() { | 5188 buildUnnamed347() { |
5185 var o = new core.List<api.PostalCodeGroup>(); | 5189 var o = new core.List<api.PostalCodeGroup>(); |
5186 o.add(buildPostalCodeGroup()); | 5190 o.add(buildPostalCodeGroup()); |
5187 o.add(buildPostalCodeGroup()); | 5191 o.add(buildPostalCodeGroup()); |
5188 return o; | 5192 return o; |
5189 } | 5193 } |
5190 | 5194 |
5191 checkUnnamed345(core.List<api.PostalCodeGroup> o) { | 5195 checkUnnamed347(core.List<api.PostalCodeGroup> o) { |
5192 unittest.expect(o, unittest.hasLength(2)); | 5196 unittest.expect(o, unittest.hasLength(2)); |
5193 checkPostalCodeGroup(o[0]); | 5197 checkPostalCodeGroup(o[0]); |
5194 checkPostalCodeGroup(o[1]); | 5198 checkPostalCodeGroup(o[1]); |
5195 } | 5199 } |
5196 | 5200 |
5197 buildUnnamed346() { | 5201 buildUnnamed348() { |
5198 var o = new core.List<api.Service>(); | 5202 var o = new core.List<api.Service>(); |
5199 o.add(buildService()); | 5203 o.add(buildService()); |
5200 o.add(buildService()); | 5204 o.add(buildService()); |
5201 return o; | 5205 return o; |
5202 } | 5206 } |
5203 | 5207 |
5204 checkUnnamed346(core.List<api.Service> o) { | 5208 checkUnnamed348(core.List<api.Service> o) { |
5205 unittest.expect(o, unittest.hasLength(2)); | 5209 unittest.expect(o, unittest.hasLength(2)); |
5206 checkService(o[0]); | 5210 checkService(o[0]); |
5207 checkService(o[1]); | 5211 checkService(o[1]); |
5208 } | 5212 } |
5209 | 5213 |
5210 core.int buildCounterShippingSettings = 0; | 5214 core.int buildCounterShippingSettings = 0; |
5211 buildShippingSettings() { | 5215 buildShippingSettings() { |
5212 var o = new api.ShippingSettings(); | 5216 var o = new api.ShippingSettings(); |
5213 buildCounterShippingSettings++; | 5217 buildCounterShippingSettings++; |
5214 if (buildCounterShippingSettings < 3) { | 5218 if (buildCounterShippingSettings < 3) { |
5215 o.accountId = "foo"; | 5219 o.accountId = "foo"; |
5216 o.postalCodeGroups = buildUnnamed345(); | 5220 o.postalCodeGroups = buildUnnamed347(); |
5217 o.services = buildUnnamed346(); | 5221 o.services = buildUnnamed348(); |
5218 } | 5222 } |
5219 buildCounterShippingSettings--; | 5223 buildCounterShippingSettings--; |
5220 return o; | 5224 return o; |
5221 } | 5225 } |
5222 | 5226 |
5223 checkShippingSettings(api.ShippingSettings o) { | 5227 checkShippingSettings(api.ShippingSettings o) { |
5224 buildCounterShippingSettings++; | 5228 buildCounterShippingSettings++; |
5225 if (buildCounterShippingSettings < 3) { | 5229 if (buildCounterShippingSettings < 3) { |
5226 unittest.expect(o.accountId, unittest.equals('foo')); | 5230 unittest.expect(o.accountId, unittest.equals('foo')); |
5227 checkUnnamed345(o.postalCodeGroups); | 5231 checkUnnamed347(o.postalCodeGroups); |
5228 checkUnnamed346(o.services); | 5232 checkUnnamed348(o.services); |
5229 } | 5233 } |
5230 buildCounterShippingSettings--; | 5234 buildCounterShippingSettings--; |
5231 } | 5235 } |
5232 | 5236 |
5233 buildUnnamed347() { | 5237 buildUnnamed349() { |
5234 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); | 5238 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); |
5235 o.add(buildShippingsettingsCustomBatchRequestEntry()); | 5239 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
5236 o.add(buildShippingsettingsCustomBatchRequestEntry()); | 5240 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
5237 return o; | 5241 return o; |
5238 } | 5242 } |
5239 | 5243 |
5240 checkUnnamed347(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { | 5244 checkUnnamed349(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { |
5241 unittest.expect(o, unittest.hasLength(2)); | 5245 unittest.expect(o, unittest.hasLength(2)); |
5242 checkShippingsettingsCustomBatchRequestEntry(o[0]); | 5246 checkShippingsettingsCustomBatchRequestEntry(o[0]); |
5243 checkShippingsettingsCustomBatchRequestEntry(o[1]); | 5247 checkShippingsettingsCustomBatchRequestEntry(o[1]); |
5244 } | 5248 } |
5245 | 5249 |
5246 core.int buildCounterShippingsettingsCustomBatchRequest = 0; | 5250 core.int buildCounterShippingsettingsCustomBatchRequest = 0; |
5247 buildShippingsettingsCustomBatchRequest() { | 5251 buildShippingsettingsCustomBatchRequest() { |
5248 var o = new api.ShippingsettingsCustomBatchRequest(); | 5252 var o = new api.ShippingsettingsCustomBatchRequest(); |
5249 buildCounterShippingsettingsCustomBatchRequest++; | 5253 buildCounterShippingsettingsCustomBatchRequest++; |
5250 if (buildCounterShippingsettingsCustomBatchRequest < 3) { | 5254 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
5251 o.entries = buildUnnamed347(); | 5255 o.entries = buildUnnamed349(); |
5252 } | 5256 } |
5253 buildCounterShippingsettingsCustomBatchRequest--; | 5257 buildCounterShippingsettingsCustomBatchRequest--; |
5254 return o; | 5258 return o; |
5255 } | 5259 } |
5256 | 5260 |
5257 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { | 5261 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { |
5258 buildCounterShippingsettingsCustomBatchRequest++; | 5262 buildCounterShippingsettingsCustomBatchRequest++; |
5259 if (buildCounterShippingsettingsCustomBatchRequest < 3) { | 5263 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
5260 checkUnnamed347(o.entries); | 5264 checkUnnamed349(o.entries); |
5261 } | 5265 } |
5262 buildCounterShippingsettingsCustomBatchRequest--; | 5266 buildCounterShippingsettingsCustomBatchRequest--; |
5263 } | 5267 } |
5264 | 5268 |
5265 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; | 5269 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; |
5266 buildShippingsettingsCustomBatchRequestEntry() { | 5270 buildShippingsettingsCustomBatchRequestEntry() { |
5267 var o = new api.ShippingsettingsCustomBatchRequestEntry(); | 5271 var o = new api.ShippingsettingsCustomBatchRequestEntry(); |
5268 buildCounterShippingsettingsCustomBatchRequestEntry++; | 5272 buildCounterShippingsettingsCustomBatchRequestEntry++; |
5269 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { | 5273 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
5270 o.accountId = "foo"; | 5274 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
5282 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { | 5286 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
5283 unittest.expect(o.accountId, unittest.equals('foo')); | 5287 unittest.expect(o.accountId, unittest.equals('foo')); |
5284 unittest.expect(o.batchId, unittest.equals(42)); | 5288 unittest.expect(o.batchId, unittest.equals(42)); |
5285 unittest.expect(o.merchantId, unittest.equals('foo')); | 5289 unittest.expect(o.merchantId, unittest.equals('foo')); |
5286 unittest.expect(o.method, unittest.equals('foo')); | 5290 unittest.expect(o.method, unittest.equals('foo')); |
5287 checkShippingSettings(o.shippingSettings); | 5291 checkShippingSettings(o.shippingSettings); |
5288 } | 5292 } |
5289 buildCounterShippingsettingsCustomBatchRequestEntry--; | 5293 buildCounterShippingsettingsCustomBatchRequestEntry--; |
5290 } | 5294 } |
5291 | 5295 |
5292 buildUnnamed348() { | 5296 buildUnnamed350() { |
5293 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); | 5297 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); |
5294 o.add(buildShippingsettingsCustomBatchResponseEntry()); | 5298 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
5295 o.add(buildShippingsettingsCustomBatchResponseEntry()); | 5299 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
5296 return o; | 5300 return o; |
5297 } | 5301 } |
5298 | 5302 |
5299 checkUnnamed348(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { | 5303 checkUnnamed350(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { |
5300 unittest.expect(o, unittest.hasLength(2)); | 5304 unittest.expect(o, unittest.hasLength(2)); |
5301 checkShippingsettingsCustomBatchResponseEntry(o[0]); | 5305 checkShippingsettingsCustomBatchResponseEntry(o[0]); |
5302 checkShippingsettingsCustomBatchResponseEntry(o[1]); | 5306 checkShippingsettingsCustomBatchResponseEntry(o[1]); |
5303 } | 5307 } |
5304 | 5308 |
5305 core.int buildCounterShippingsettingsCustomBatchResponse = 0; | 5309 core.int buildCounterShippingsettingsCustomBatchResponse = 0; |
5306 buildShippingsettingsCustomBatchResponse() { | 5310 buildShippingsettingsCustomBatchResponse() { |
5307 var o = new api.ShippingsettingsCustomBatchResponse(); | 5311 var o = new api.ShippingsettingsCustomBatchResponse(); |
5308 buildCounterShippingsettingsCustomBatchResponse++; | 5312 buildCounterShippingsettingsCustomBatchResponse++; |
5309 if (buildCounterShippingsettingsCustomBatchResponse < 3) { | 5313 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
5310 o.entries = buildUnnamed348(); | 5314 o.entries = buildUnnamed350(); |
5311 o.kind = "foo"; | 5315 o.kind = "foo"; |
5312 } | 5316 } |
5313 buildCounterShippingsettingsCustomBatchResponse--; | 5317 buildCounterShippingsettingsCustomBatchResponse--; |
5314 return o; | 5318 return o; |
5315 } | 5319 } |
5316 | 5320 |
5317 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { | 5321 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { |
5318 buildCounterShippingsettingsCustomBatchResponse++; | 5322 buildCounterShippingsettingsCustomBatchResponse++; |
5319 if (buildCounterShippingsettingsCustomBatchResponse < 3) { | 5323 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
5320 checkUnnamed348(o.entries); | 5324 checkUnnamed350(o.entries); |
5321 unittest.expect(o.kind, unittest.equals('foo')); | 5325 unittest.expect(o.kind, unittest.equals('foo')); |
5322 } | 5326 } |
5323 buildCounterShippingsettingsCustomBatchResponse--; | 5327 buildCounterShippingsettingsCustomBatchResponse--; |
5324 } | 5328 } |
5325 | 5329 |
5326 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; | 5330 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; |
5327 buildShippingsettingsCustomBatchResponseEntry() { | 5331 buildShippingsettingsCustomBatchResponseEntry() { |
5328 var o = new api.ShippingsettingsCustomBatchResponseEntry(); | 5332 var o = new api.ShippingsettingsCustomBatchResponseEntry(); |
5329 buildCounterShippingsettingsCustomBatchResponseEntry++; | 5333 buildCounterShippingsettingsCustomBatchResponseEntry++; |
5330 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { | 5334 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
5341 buildCounterShippingsettingsCustomBatchResponseEntry++; | 5345 buildCounterShippingsettingsCustomBatchResponseEntry++; |
5342 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { | 5346 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
5343 unittest.expect(o.batchId, unittest.equals(42)); | 5347 unittest.expect(o.batchId, unittest.equals(42)); |
5344 checkErrors(o.errors); | 5348 checkErrors(o.errors); |
5345 unittest.expect(o.kind, unittest.equals('foo')); | 5349 unittest.expect(o.kind, unittest.equals('foo')); |
5346 checkShippingSettings(o.shippingSettings); | 5350 checkShippingSettings(o.shippingSettings); |
5347 } | 5351 } |
5348 buildCounterShippingsettingsCustomBatchResponseEntry--; | 5352 buildCounterShippingsettingsCustomBatchResponseEntry--; |
5349 } | 5353 } |
5350 | 5354 |
5351 buildUnnamed349() { | 5355 buildUnnamed351() { |
5352 var o = new core.List<api.CarriersCarrier>(); | 5356 var o = new core.List<api.CarriersCarrier>(); |
5353 o.add(buildCarriersCarrier()); | 5357 o.add(buildCarriersCarrier()); |
5354 o.add(buildCarriersCarrier()); | 5358 o.add(buildCarriersCarrier()); |
5355 return o; | 5359 return o; |
5356 } | 5360 } |
5357 | 5361 |
5358 checkUnnamed349(core.List<api.CarriersCarrier> o) { | 5362 checkUnnamed351(core.List<api.CarriersCarrier> o) { |
5359 unittest.expect(o, unittest.hasLength(2)); | 5363 unittest.expect(o, unittest.hasLength(2)); |
5360 checkCarriersCarrier(o[0]); | 5364 checkCarriersCarrier(o[0]); |
5361 checkCarriersCarrier(o[1]); | 5365 checkCarriersCarrier(o[1]); |
5362 } | 5366 } |
5363 | 5367 |
5364 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; | 5368 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; |
5365 buildShippingsettingsGetSupportedCarriersResponse() { | 5369 buildShippingsettingsGetSupportedCarriersResponse() { |
5366 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); | 5370 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); |
5367 buildCounterShippingsettingsGetSupportedCarriersResponse++; | 5371 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
5368 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { | 5372 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
5369 o.carriers = buildUnnamed349(); | 5373 o.carriers = buildUnnamed351(); |
5370 o.kind = "foo"; | 5374 o.kind = "foo"; |
5371 } | 5375 } |
5372 buildCounterShippingsettingsGetSupportedCarriersResponse--; | 5376 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
5373 return o; | 5377 return o; |
5374 } | 5378 } |
5375 | 5379 |
5376 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { | 5380 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { |
5377 buildCounterShippingsettingsGetSupportedCarriersResponse++; | 5381 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
5378 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { | 5382 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
5379 checkUnnamed349(o.carriers); | 5383 checkUnnamed351(o.carriers); |
5380 unittest.expect(o.kind, unittest.equals('foo')); | 5384 unittest.expect(o.kind, unittest.equals('foo')); |
5381 } | 5385 } |
5382 buildCounterShippingsettingsGetSupportedCarriersResponse--; | 5386 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
5383 } | 5387 } |
5384 | 5388 |
5385 buildUnnamed350() { | 5389 buildUnnamed352() { |
5386 var o = new core.List<api.ShippingSettings>(); | 5390 var o = new core.List<api.ShippingSettings>(); |
5387 o.add(buildShippingSettings()); | 5391 o.add(buildShippingSettings()); |
5388 o.add(buildShippingSettings()); | 5392 o.add(buildShippingSettings()); |
5389 return o; | 5393 return o; |
5390 } | 5394 } |
5391 | 5395 |
5392 checkUnnamed350(core.List<api.ShippingSettings> o) { | 5396 checkUnnamed352(core.List<api.ShippingSettings> o) { |
5393 unittest.expect(o, unittest.hasLength(2)); | 5397 unittest.expect(o, unittest.hasLength(2)); |
5394 checkShippingSettings(o[0]); | 5398 checkShippingSettings(o[0]); |
5395 checkShippingSettings(o[1]); | 5399 checkShippingSettings(o[1]); |
5396 } | 5400 } |
5397 | 5401 |
5398 core.int buildCounterShippingsettingsListResponse = 0; | 5402 core.int buildCounterShippingsettingsListResponse = 0; |
5399 buildShippingsettingsListResponse() { | 5403 buildShippingsettingsListResponse() { |
5400 var o = new api.ShippingsettingsListResponse(); | 5404 var o = new api.ShippingsettingsListResponse(); |
5401 buildCounterShippingsettingsListResponse++; | 5405 buildCounterShippingsettingsListResponse++; |
5402 if (buildCounterShippingsettingsListResponse < 3) { | 5406 if (buildCounterShippingsettingsListResponse < 3) { |
5403 o.kind = "foo"; | 5407 o.kind = "foo"; |
5404 o.nextPageToken = "foo"; | 5408 o.nextPageToken = "foo"; |
5405 o.resources = buildUnnamed350(); | 5409 o.resources = buildUnnamed352(); |
5406 } | 5410 } |
5407 buildCounterShippingsettingsListResponse--; | 5411 buildCounterShippingsettingsListResponse--; |
5408 return o; | 5412 return o; |
5409 } | 5413 } |
5410 | 5414 |
5411 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { | 5415 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { |
5412 buildCounterShippingsettingsListResponse++; | 5416 buildCounterShippingsettingsListResponse++; |
5413 if (buildCounterShippingsettingsListResponse < 3) { | 5417 if (buildCounterShippingsettingsListResponse < 3) { |
5414 unittest.expect(o.kind, unittest.equals('foo')); | 5418 unittest.expect(o.kind, unittest.equals('foo')); |
5415 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5419 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5416 checkUnnamed350(o.resources); | 5420 checkUnnamed352(o.resources); |
5417 } | 5421 } |
5418 buildCounterShippingsettingsListResponse--; | 5422 buildCounterShippingsettingsListResponse--; |
5419 } | 5423 } |
5420 | 5424 |
5421 buildUnnamed351() { | 5425 buildUnnamed353() { |
5422 var o = new core.List<api.Row>(); | 5426 var o = new core.List<api.Row>(); |
5423 o.add(buildRow()); | 5427 o.add(buildRow()); |
5424 o.add(buildRow()); | 5428 o.add(buildRow()); |
5425 return o; | 5429 return o; |
5426 } | 5430 } |
5427 | 5431 |
5428 checkUnnamed351(core.List<api.Row> o) { | 5432 checkUnnamed353(core.List<api.Row> o) { |
5429 unittest.expect(o, unittest.hasLength(2)); | 5433 unittest.expect(o, unittest.hasLength(2)); |
5430 checkRow(o[0]); | 5434 checkRow(o[0]); |
5431 checkRow(o[1]); | 5435 checkRow(o[1]); |
5432 } | 5436 } |
5433 | 5437 |
5434 core.int buildCounterTable = 0; | 5438 core.int buildCounterTable = 0; |
5435 buildTable() { | 5439 buildTable() { |
5436 var o = new api.Table(); | 5440 var o = new api.Table(); |
5437 buildCounterTable++; | 5441 buildCounterTable++; |
5438 if (buildCounterTable < 3) { | 5442 if (buildCounterTable < 3) { |
5439 o.columnHeaders = buildHeaders(); | 5443 o.columnHeaders = buildHeaders(); |
5440 o.name = "foo"; | 5444 o.name = "foo"; |
5441 o.rowHeaders = buildHeaders(); | 5445 o.rowHeaders = buildHeaders(); |
5442 o.rows = buildUnnamed351(); | 5446 o.rows = buildUnnamed353(); |
5443 } | 5447 } |
5444 buildCounterTable--; | 5448 buildCounterTable--; |
5445 return o; | 5449 return o; |
5446 } | 5450 } |
5447 | 5451 |
5448 checkTable(api.Table o) { | 5452 checkTable(api.Table o) { |
5449 buildCounterTable++; | 5453 buildCounterTable++; |
5450 if (buildCounterTable < 3) { | 5454 if (buildCounterTable < 3) { |
5451 checkHeaders(o.columnHeaders); | 5455 checkHeaders(o.columnHeaders); |
5452 unittest.expect(o.name, unittest.equals('foo')); | 5456 unittest.expect(o.name, unittest.equals('foo')); |
5453 checkHeaders(o.rowHeaders); | 5457 checkHeaders(o.rowHeaders); |
5454 checkUnnamed351(o.rows); | 5458 checkUnnamed353(o.rows); |
5455 } | 5459 } |
5456 buildCounterTable--; | 5460 buildCounterTable--; |
5457 } | 5461 } |
5458 | 5462 |
5459 buildUnnamed352() { | 5463 buildUnnamed354() { |
5460 var o = new core.List<api.TestOrderLineItem>(); | 5464 var o = new core.List<api.TestOrderLineItem>(); |
5461 o.add(buildTestOrderLineItem()); | 5465 o.add(buildTestOrderLineItem()); |
5462 o.add(buildTestOrderLineItem()); | 5466 o.add(buildTestOrderLineItem()); |
5463 return o; | 5467 return o; |
5464 } | 5468 } |
5465 | 5469 |
5466 checkUnnamed352(core.List<api.TestOrderLineItem> o) { | 5470 checkUnnamed354(core.List<api.TestOrderLineItem> o) { |
5467 unittest.expect(o, unittest.hasLength(2)); | 5471 unittest.expect(o, unittest.hasLength(2)); |
5468 checkTestOrderLineItem(o[0]); | 5472 checkTestOrderLineItem(o[0]); |
5469 checkTestOrderLineItem(o[1]); | 5473 checkTestOrderLineItem(o[1]); |
5470 } | 5474 } |
5471 | 5475 |
5472 buildUnnamed353() { | 5476 buildUnnamed355() { |
5473 var o = new core.List<api.OrderPromotion>(); | 5477 var o = new core.List<api.OrderPromotion>(); |
5474 o.add(buildOrderPromotion()); | 5478 o.add(buildOrderPromotion()); |
5475 o.add(buildOrderPromotion()); | 5479 o.add(buildOrderPromotion()); |
5476 return o; | 5480 return o; |
5477 } | 5481 } |
5478 | 5482 |
5479 checkUnnamed353(core.List<api.OrderPromotion> o) { | 5483 checkUnnamed355(core.List<api.OrderPromotion> o) { |
5480 unittest.expect(o, unittest.hasLength(2)); | 5484 unittest.expect(o, unittest.hasLength(2)); |
5481 checkOrderPromotion(o[0]); | 5485 checkOrderPromotion(o[0]); |
5482 checkOrderPromotion(o[1]); | 5486 checkOrderPromotion(o[1]); |
5483 } | 5487 } |
5484 | 5488 |
5485 core.int buildCounterTestOrder = 0; | 5489 core.int buildCounterTestOrder = 0; |
5486 buildTestOrder() { | 5490 buildTestOrder() { |
5487 var o = new api.TestOrder(); | 5491 var o = new api.TestOrder(); |
5488 buildCounterTestOrder++; | 5492 buildCounterTestOrder++; |
5489 if (buildCounterTestOrder < 3) { | 5493 if (buildCounterTestOrder < 3) { |
5490 o.customer = buildTestOrderCustomer(); | 5494 o.customer = buildTestOrderCustomer(); |
5491 o.kind = "foo"; | 5495 o.kind = "foo"; |
5492 o.lineItems = buildUnnamed352(); | 5496 o.lineItems = buildUnnamed354(); |
5493 o.paymentMethod = buildTestOrderPaymentMethod(); | 5497 o.paymentMethod = buildTestOrderPaymentMethod(); |
5494 o.predefinedDeliveryAddress = "foo"; | 5498 o.predefinedDeliveryAddress = "foo"; |
5495 o.promotions = buildUnnamed353(); | 5499 o.promotions = buildUnnamed355(); |
5496 o.shippingCost = buildPrice(); | 5500 o.shippingCost = buildPrice(); |
5497 o.shippingCostTax = buildPrice(); | 5501 o.shippingCostTax = buildPrice(); |
5498 o.shippingOption = "foo"; | 5502 o.shippingOption = "foo"; |
5499 } | 5503 } |
5500 buildCounterTestOrder--; | 5504 buildCounterTestOrder--; |
5501 return o; | 5505 return o; |
5502 } | 5506 } |
5503 | 5507 |
5504 checkTestOrder(api.TestOrder o) { | 5508 checkTestOrder(api.TestOrder o) { |
5505 buildCounterTestOrder++; | 5509 buildCounterTestOrder++; |
5506 if (buildCounterTestOrder < 3) { | 5510 if (buildCounterTestOrder < 3) { |
5507 checkTestOrderCustomer(o.customer); | 5511 checkTestOrderCustomer(o.customer); |
5508 unittest.expect(o.kind, unittest.equals('foo')); | 5512 unittest.expect(o.kind, unittest.equals('foo')); |
5509 checkUnnamed352(o.lineItems); | 5513 checkUnnamed354(o.lineItems); |
5510 checkTestOrderPaymentMethod(o.paymentMethod); | 5514 checkTestOrderPaymentMethod(o.paymentMethod); |
5511 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); | 5515 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); |
5512 checkUnnamed353(o.promotions); | 5516 checkUnnamed355(o.promotions); |
5513 checkPrice(o.shippingCost); | 5517 checkPrice(o.shippingCost); |
5514 checkPrice(o.shippingCostTax); | 5518 checkPrice(o.shippingCostTax); |
5515 unittest.expect(o.shippingOption, unittest.equals('foo')); | 5519 unittest.expect(o.shippingOption, unittest.equals('foo')); |
5516 } | 5520 } |
5517 buildCounterTestOrder--; | 5521 buildCounterTestOrder--; |
5518 } | 5522 } |
5519 | 5523 |
5520 core.int buildCounterTestOrderCustomer = 0; | 5524 core.int buildCounterTestOrderCustomer = 0; |
5521 buildTestOrderCustomer() { | 5525 buildTestOrderCustomer() { |
5522 var o = new api.TestOrderCustomer(); | 5526 var o = new api.TestOrderCustomer(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5560 if (buildCounterTestOrderLineItem < 3) { | 5564 if (buildCounterTestOrderLineItem < 3) { |
5561 checkTestOrderLineItemProduct(o.product); | 5565 checkTestOrderLineItemProduct(o.product); |
5562 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 5566 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
5563 checkOrderLineItemReturnInfo(o.returnInfo); | 5567 checkOrderLineItemReturnInfo(o.returnInfo); |
5564 checkOrderLineItemShippingDetails(o.shippingDetails); | 5568 checkOrderLineItemShippingDetails(o.shippingDetails); |
5565 checkPrice(o.unitTax); | 5569 checkPrice(o.unitTax); |
5566 } | 5570 } |
5567 buildCounterTestOrderLineItem--; | 5571 buildCounterTestOrderLineItem--; |
5568 } | 5572 } |
5569 | 5573 |
5570 buildUnnamed354() { | 5574 buildUnnamed356() { |
5571 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 5575 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
5572 o.add(buildOrderLineItemProductVariantAttribute()); | 5576 o.add(buildOrderLineItemProductVariantAttribute()); |
5573 o.add(buildOrderLineItemProductVariantAttribute()); | 5577 o.add(buildOrderLineItemProductVariantAttribute()); |
5574 return o; | 5578 return o; |
5575 } | 5579 } |
5576 | 5580 |
5577 checkUnnamed354(core.List<api.OrderLineItemProductVariantAttribute> o) { | 5581 checkUnnamed356(core.List<api.OrderLineItemProductVariantAttribute> o) { |
5578 unittest.expect(o, unittest.hasLength(2)); | 5582 unittest.expect(o, unittest.hasLength(2)); |
5579 checkOrderLineItemProductVariantAttribute(o[0]); | 5583 checkOrderLineItemProductVariantAttribute(o[0]); |
5580 checkOrderLineItemProductVariantAttribute(o[1]); | 5584 checkOrderLineItemProductVariantAttribute(o[1]); |
5581 } | 5585 } |
5582 | 5586 |
5583 core.int buildCounterTestOrderLineItemProduct = 0; | 5587 core.int buildCounterTestOrderLineItemProduct = 0; |
5584 buildTestOrderLineItemProduct() { | 5588 buildTestOrderLineItemProduct() { |
5585 var o = new api.TestOrderLineItemProduct(); | 5589 var o = new api.TestOrderLineItemProduct(); |
5586 buildCounterTestOrderLineItemProduct++; | 5590 buildCounterTestOrderLineItemProduct++; |
5587 if (buildCounterTestOrderLineItemProduct < 3) { | 5591 if (buildCounterTestOrderLineItemProduct < 3) { |
5588 o.brand = "foo"; | 5592 o.brand = "foo"; |
5589 o.channel = "foo"; | 5593 o.channel = "foo"; |
5590 o.condition = "foo"; | 5594 o.condition = "foo"; |
5591 o.contentLanguage = "foo"; | 5595 o.contentLanguage = "foo"; |
5592 o.gtin = "foo"; | 5596 o.gtin = "foo"; |
5593 o.imageLink = "foo"; | 5597 o.imageLink = "foo"; |
5594 o.itemGroupId = "foo"; | 5598 o.itemGroupId = "foo"; |
5595 o.mpn = "foo"; | 5599 o.mpn = "foo"; |
5596 o.offerId = "foo"; | 5600 o.offerId = "foo"; |
5597 o.price = buildPrice(); | 5601 o.price = buildPrice(); |
5598 o.targetCountry = "foo"; | 5602 o.targetCountry = "foo"; |
5599 o.title = "foo"; | 5603 o.title = "foo"; |
5600 o.variantAttributes = buildUnnamed354(); | 5604 o.variantAttributes = buildUnnamed356(); |
5601 } | 5605 } |
5602 buildCounterTestOrderLineItemProduct--; | 5606 buildCounterTestOrderLineItemProduct--; |
5603 return o; | 5607 return o; |
5604 } | 5608 } |
5605 | 5609 |
5606 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { | 5610 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { |
5607 buildCounterTestOrderLineItemProduct++; | 5611 buildCounterTestOrderLineItemProduct++; |
5608 if (buildCounterTestOrderLineItemProduct < 3) { | 5612 if (buildCounterTestOrderLineItemProduct < 3) { |
5609 unittest.expect(o.brand, unittest.equals('foo')); | 5613 unittest.expect(o.brand, unittest.equals('foo')); |
5610 unittest.expect(o.channel, unittest.equals('foo')); | 5614 unittest.expect(o.channel, unittest.equals('foo')); |
5611 unittest.expect(o.condition, unittest.equals('foo')); | 5615 unittest.expect(o.condition, unittest.equals('foo')); |
5612 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 5616 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
5613 unittest.expect(o.gtin, unittest.equals('foo')); | 5617 unittest.expect(o.gtin, unittest.equals('foo')); |
5614 unittest.expect(o.imageLink, unittest.equals('foo')); | 5618 unittest.expect(o.imageLink, unittest.equals('foo')); |
5615 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 5619 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
5616 unittest.expect(o.mpn, unittest.equals('foo')); | 5620 unittest.expect(o.mpn, unittest.equals('foo')); |
5617 unittest.expect(o.offerId, unittest.equals('foo')); | 5621 unittest.expect(o.offerId, unittest.equals('foo')); |
5618 checkPrice(o.price); | 5622 checkPrice(o.price); |
5619 unittest.expect(o.targetCountry, unittest.equals('foo')); | 5623 unittest.expect(o.targetCountry, unittest.equals('foo')); |
5620 unittest.expect(o.title, unittest.equals('foo')); | 5624 unittest.expect(o.title, unittest.equals('foo')); |
5621 checkUnnamed354(o.variantAttributes); | 5625 checkUnnamed356(o.variantAttributes); |
5622 } | 5626 } |
5623 buildCounterTestOrderLineItemProduct--; | 5627 buildCounterTestOrderLineItemProduct--; |
5624 } | 5628 } |
5625 | 5629 |
5626 core.int buildCounterTestOrderPaymentMethod = 0; | 5630 core.int buildCounterTestOrderPaymentMethod = 0; |
5627 buildTestOrderPaymentMethod() { | 5631 buildTestOrderPaymentMethod() { |
5628 var o = new api.TestOrderPaymentMethod(); | 5632 var o = new api.TestOrderPaymentMethod(); |
5629 buildCounterTestOrderPaymentMethod++; | 5633 buildCounterTestOrderPaymentMethod++; |
5630 if (buildCounterTestOrderPaymentMethod < 3) { | 5634 if (buildCounterTestOrderPaymentMethod < 3) { |
5631 o.expirationMonth = 42; | 5635 o.expirationMonth = 42; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5691 | 5695 |
5692 checkWeight(api.Weight o) { | 5696 checkWeight(api.Weight o) { |
5693 buildCounterWeight++; | 5697 buildCounterWeight++; |
5694 if (buildCounterWeight < 3) { | 5698 if (buildCounterWeight < 3) { |
5695 unittest.expect(o.unit, unittest.equals('foo')); | 5699 unittest.expect(o.unit, unittest.equals('foo')); |
5696 unittest.expect(o.value, unittest.equals('foo')); | 5700 unittest.expect(o.value, unittest.equals('foo')); |
5697 } | 5701 } |
5698 buildCounterWeight--; | 5702 buildCounterWeight--; |
5699 } | 5703 } |
5700 | 5704 |
5701 buildUnnamed355() { | 5705 buildUnnamed357() { |
5702 var o = new core.List<core.String>(); | 5706 var o = new core.List<core.String>(); |
5703 o.add("foo"); | 5707 o.add("foo"); |
5704 o.add("foo"); | 5708 o.add("foo"); |
5705 return o; | 5709 return o; |
5706 } | 5710 } |
5707 | 5711 |
5708 checkUnnamed355(core.List<core.String> o) { | 5712 checkUnnamed357(core.List<core.String> o) { |
5709 unittest.expect(o, unittest.hasLength(2)); | 5713 unittest.expect(o, unittest.hasLength(2)); |
5710 unittest.expect(o[0], unittest.equals('foo')); | 5714 unittest.expect(o[0], unittest.equals('foo')); |
5711 unittest.expect(o[1], unittest.equals('foo')); | 5715 unittest.expect(o[1], unittest.equals('foo')); |
5712 } | 5716 } |
5713 | 5717 |
5714 | 5718 |
5715 main() { | 5719 main() { |
5716 unittest.group("obj-schema-Account", () { | 5720 unittest.group("obj-schema-Account", () { |
5717 unittest.test("to-json--from-json", () { | 5721 unittest.test("to-json--from-json", () { |
5718 var o = buildAccount(); | 5722 var o = buildAccount(); |
(...skipping 3503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9222 | 9226 |
9223 var mock = new HttpServerMock(); | 9227 var mock = new HttpServerMock(); |
9224 api.OrdersResourceApi res = new api.ContentApi(mock).orders; | 9228 api.OrdersResourceApi res = new api.ContentApi(mock).orders; |
9225 var arg_merchantId = "foo"; | 9229 var arg_merchantId = "foo"; |
9226 var arg_acknowledged = true; | 9230 var arg_acknowledged = true; |
9227 var arg_maxResults = 42; | 9231 var arg_maxResults = 42; |
9228 var arg_orderBy = "foo"; | 9232 var arg_orderBy = "foo"; |
9229 var arg_pageToken = "foo"; | 9233 var arg_pageToken = "foo"; |
9230 var arg_placedDateEnd = "foo"; | 9234 var arg_placedDateEnd = "foo"; |
9231 var arg_placedDateStart = "foo"; | 9235 var arg_placedDateStart = "foo"; |
9232 var arg_statuses = buildUnnamed355(); | 9236 var arg_statuses = buildUnnamed357(); |
9233 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 9237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
9234 var path = (req.url).path; | 9238 var path = (req.url).path; |
9235 var pathOffset = 0; | 9239 var pathOffset = 0; |
9236 var index; | 9240 var index; |
9237 var subPart; | 9241 var subPart; |
9238 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 9242 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
9239 pathOffset += 1; | 9243 pathOffset += 1; |
9240 | 9244 |
9241 var query = (req.url).query; | 9245 var query = (req.url).query; |
9242 var queryOffset = 0; | 9246 var queryOffset = 0; |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10172 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { | 10176 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { |
10173 checkShippingSettings(response); | 10177 checkShippingSettings(response); |
10174 }))); | 10178 }))); |
10175 }); | 10179 }); |
10176 | 10180 |
10177 }); | 10181 }); |
10178 | 10182 |
10179 | 10183 |
10180 } | 10184 } |
10181 | 10185 |
OLD | NEW |