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 buildUnnamed498() { | 54 buildUnnamed513() { |
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 checkUnnamed498(core.List<api.AccountAdwordsLink> o) { | 61 checkUnnamed513(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 buildUnnamed499() { | 67 buildUnnamed514() { |
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 checkUnnamed499(core.List<api.AccountUser> o) { | 74 checkUnnamed514(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 = buildUnnamed498(); | 86 o.adwordsLinks = buildUnnamed513(); |
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 = buildUnnamed499(); | 92 o.users = buildUnnamed514(); |
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 checkUnnamed498(o.adwordsLinks); | 103 checkUnnamed513(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 checkUnnamed499(o.users); | 109 checkUnnamed514(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 buildUnnamed500() { | 157 buildUnnamed515() { |
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 checkUnnamed500(core.List<api.AccountShippingCarrierRate> o) { | 164 checkUnnamed515(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 buildUnnamed501() { | 170 buildUnnamed516() { |
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 checkUnnamed501(core.List<api.AccountShippingLocationGroup> o) { | 177 checkUnnamed516(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 buildUnnamed502() { | 183 buildUnnamed517() { |
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 checkUnnamed502(core.List<api.AccountShippingRateTable> o) { | 190 checkUnnamed517(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 buildUnnamed503() { | 196 buildUnnamed518() { |
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 checkUnnamed503(core.List<api.AccountShippingShippingService> o) { | 203 checkUnnamed518(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 = buildUnnamed500(); | 215 o.carrierRates = buildUnnamed515(); |
216 o.kind = "foo"; | 216 o.kind = "foo"; |
217 o.locationGroups = buildUnnamed501(); | 217 o.locationGroups = buildUnnamed516(); |
218 o.rateTables = buildUnnamed502(); | 218 o.rateTables = buildUnnamed517(); |
219 o.services = buildUnnamed503(); | 219 o.services = buildUnnamed518(); |
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 checkUnnamed500(o.carrierRates); | 229 checkUnnamed515(o.carrierRates); |
230 unittest.expect(o.kind, unittest.equals('foo')); | 230 unittest.expect(o.kind, unittest.equals('foo')); |
231 checkUnnamed501(o.locationGroups); | 231 checkUnnamed516(o.locationGroups); |
232 checkUnnamed502(o.rateTables); | 232 checkUnnamed517(o.rateTables); |
233 checkUnnamed503(o.services); | 233 checkUnnamed518(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 buildUnnamed504() { | 300 buildUnnamed519() { |
301 var o = new core.List<core.String>(); | 301 var o = new core.List<core.String>(); |
302 o.add("foo"); | 302 o.add("foo"); |
303 o.add("foo"); | 303 o.add("foo"); |
304 return o; | 304 return o; |
305 } | 305 } |
306 | 306 |
307 checkUnnamed504(core.List<core.String> o) { | 307 checkUnnamed519(core.List<core.String> o) { |
308 unittest.expect(o, unittest.hasLength(2)); | 308 unittest.expect(o, unittest.hasLength(2)); |
309 unittest.expect(o[0], unittest.equals('foo')); | 309 unittest.expect(o[0], unittest.equals('foo')); |
310 unittest.expect(o[1], unittest.equals('foo')); | 310 unittest.expect(o[1], unittest.equals('foo')); |
311 } | 311 } |
312 | 312 |
313 buildUnnamed505() { | 313 buildUnnamed520() { |
314 var o = new core.List<api.AccountShippingPostalCodeRange>(); | 314 var o = new core.List<api.AccountShippingPostalCodeRange>(); |
315 o.add(buildAccountShippingPostalCodeRange()); | 315 o.add(buildAccountShippingPostalCodeRange()); |
316 o.add(buildAccountShippingPostalCodeRange()); | 316 o.add(buildAccountShippingPostalCodeRange()); |
317 return o; | 317 return o; |
318 } | 318 } |
319 | 319 |
320 checkUnnamed505(core.List<api.AccountShippingPostalCodeRange> o) { | 320 checkUnnamed520(core.List<api.AccountShippingPostalCodeRange> o) { |
321 unittest.expect(o, unittest.hasLength(2)); | 321 unittest.expect(o, unittest.hasLength(2)); |
322 checkAccountShippingPostalCodeRange(o[0]); | 322 checkAccountShippingPostalCodeRange(o[0]); |
323 checkAccountShippingPostalCodeRange(o[1]); | 323 checkAccountShippingPostalCodeRange(o[1]); |
324 } | 324 } |
325 | 325 |
326 buildUnnamed506() { | 326 buildUnnamed521() { |
327 var o = new core.List<core.String>(); | 327 var o = new core.List<core.String>(); |
328 o.add("foo"); | 328 o.add("foo"); |
329 o.add("foo"); | 329 o.add("foo"); |
330 return o; | 330 return o; |
331 } | 331 } |
332 | 332 |
333 checkUnnamed506(core.List<core.String> o) { | 333 checkUnnamed521(core.List<core.String> o) { |
334 unittest.expect(o, unittest.hasLength(2)); | 334 unittest.expect(o, unittest.hasLength(2)); |
335 unittest.expect(o[0], unittest.equals('foo')); | 335 unittest.expect(o[0], unittest.equals('foo')); |
336 unittest.expect(o[1], unittest.equals('foo')); | 336 unittest.expect(o[1], unittest.equals('foo')); |
337 } | 337 } |
338 | 338 |
339 core.int buildCounterAccountShippingLocationGroup = 0; | 339 core.int buildCounterAccountShippingLocationGroup = 0; |
340 buildAccountShippingLocationGroup() { | 340 buildAccountShippingLocationGroup() { |
341 var o = new api.AccountShippingLocationGroup(); | 341 var o = new api.AccountShippingLocationGroup(); |
342 buildCounterAccountShippingLocationGroup++; | 342 buildCounterAccountShippingLocationGroup++; |
343 if (buildCounterAccountShippingLocationGroup < 3) { | 343 if (buildCounterAccountShippingLocationGroup < 3) { |
344 o.country = "foo"; | 344 o.country = "foo"; |
345 o.locationIds = buildUnnamed504(); | 345 o.locationIds = buildUnnamed519(); |
346 o.name = "foo"; | 346 o.name = "foo"; |
347 o.postalCodeRanges = buildUnnamed505(); | 347 o.postalCodeRanges = buildUnnamed520(); |
348 o.postalCodes = buildUnnamed506(); | 348 o.postalCodes = buildUnnamed521(); |
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 checkUnnamed504(o.locationIds); | 358 checkUnnamed519(o.locationIds); |
359 unittest.expect(o.name, unittest.equals('foo')); | 359 unittest.expect(o.name, unittest.equals('foo')); |
360 checkUnnamed505(o.postalCodeRanges); | 360 checkUnnamed520(o.postalCodeRanges); |
361 checkUnnamed506(o.postalCodes); | 361 checkUnnamed521(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 buildUnnamed507() { | 387 buildUnnamed522() { |
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 checkUnnamed507(core.List<api.AccountShippingRateTableCell> o) { | 394 checkUnnamed522(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 = buildUnnamed507(); | 405 o.content = buildUnnamed522(); |
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 checkUnnamed507(o.content); | 416 checkUnnamed522(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 buildUnnamed508() { | 502 buildUnnamed523() { |
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 checkUnnamed508(core.List<api.AccountShippingShippingServiceCostRule> o) { | 509 checkUnnamed523(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 = buildUnnamed508(); | 521 o.children = buildUnnamed523(); |
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 checkUnnamed508(o.children); | 532 checkUnnamed523(o.children); |
533 checkAccountShippingCondition(o.condition); | 533 checkAccountShippingCondition(o.condition); |
534 } | 534 } |
535 buildCounterAccountShippingShippingServiceCostRule--; | 535 buildCounterAccountShippingShippingServiceCostRule--; |
536 } | 536 } |
537 | 537 |
538 buildUnnamed509() { | 538 buildUnnamed524() { |
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 checkUnnamed509(core.List<api.AccountStatusDataQualityIssue> o) { | 545 checkUnnamed524(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 = buildUnnamed509(); | 557 o.dataQualityIssues = buildUnnamed524(); |
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 checkUnnamed509(o.dataQualityIssues); | 568 checkUnnamed524(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 buildUnnamed510() { | 574 buildUnnamed525() { |
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 checkUnnamed510(core.List<api.AccountStatusExampleItem> o) { | 581 checkUnnamed525(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.displayedValue = "foo"; | 593 o.displayedValue = "foo"; |
594 o.exampleItems = buildUnnamed510(); | 594 o.exampleItems = buildUnnamed525(); |
595 o.id = "foo"; | 595 o.id = "foo"; |
596 o.lastChecked = "foo"; | 596 o.lastChecked = "foo"; |
597 o.numItems = 42; | 597 o.numItems = 42; |
598 o.severity = "foo"; | 598 o.severity = "foo"; |
599 o.submittedValue = "foo"; | 599 o.submittedValue = "foo"; |
600 } | 600 } |
601 buildCounterAccountStatusDataQualityIssue--; | 601 buildCounterAccountStatusDataQualityIssue--; |
602 return o; | 602 return o; |
603 } | 603 } |
604 | 604 |
605 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { | 605 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { |
606 buildCounterAccountStatusDataQualityIssue++; | 606 buildCounterAccountStatusDataQualityIssue++; |
607 if (buildCounterAccountStatusDataQualityIssue < 3) { | 607 if (buildCounterAccountStatusDataQualityIssue < 3) { |
608 unittest.expect(o.country, unittest.equals('foo')); | 608 unittest.expect(o.country, unittest.equals('foo')); |
609 unittest.expect(o.displayedValue, unittest.equals('foo')); | 609 unittest.expect(o.displayedValue, unittest.equals('foo')); |
610 checkUnnamed510(o.exampleItems); | 610 checkUnnamed525(o.exampleItems); |
611 unittest.expect(o.id, unittest.equals('foo')); | 611 unittest.expect(o.id, unittest.equals('foo')); |
612 unittest.expect(o.lastChecked, unittest.equals('foo')); | 612 unittest.expect(o.lastChecked, unittest.equals('foo')); |
613 unittest.expect(o.numItems, unittest.equals(42)); | 613 unittest.expect(o.numItems, unittest.equals(42)); |
614 unittest.expect(o.severity, unittest.equals('foo')); | 614 unittest.expect(o.severity, unittest.equals('foo')); |
615 unittest.expect(o.submittedValue, unittest.equals('foo')); | 615 unittest.expect(o.submittedValue, unittest.equals('foo')); |
616 } | 616 } |
617 buildCounterAccountStatusDataQualityIssue--; | 617 buildCounterAccountStatusDataQualityIssue--; |
618 } | 618 } |
619 | 619 |
620 core.int buildCounterAccountStatusExampleItem = 0; | 620 core.int buildCounterAccountStatusExampleItem = 0; |
(...skipping 16 matching lines...) Expand all Loading... |
637 if (buildCounterAccountStatusExampleItem < 3) { | 637 if (buildCounterAccountStatusExampleItem < 3) { |
638 unittest.expect(o.itemId, unittest.equals('foo')); | 638 unittest.expect(o.itemId, unittest.equals('foo')); |
639 unittest.expect(o.link, unittest.equals('foo')); | 639 unittest.expect(o.link, unittest.equals('foo')); |
640 unittest.expect(o.submittedValue, unittest.equals('foo')); | 640 unittest.expect(o.submittedValue, unittest.equals('foo')); |
641 unittest.expect(o.title, unittest.equals('foo')); | 641 unittest.expect(o.title, unittest.equals('foo')); |
642 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); | 642 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); |
643 } | 643 } |
644 buildCounterAccountStatusExampleItem--; | 644 buildCounterAccountStatusExampleItem--; |
645 } | 645 } |
646 | 646 |
647 buildUnnamed511() { | 647 buildUnnamed526() { |
648 var o = new core.List<api.AccountTaxTaxRule>(); | 648 var o = new core.List<api.AccountTaxTaxRule>(); |
649 o.add(buildAccountTaxTaxRule()); | 649 o.add(buildAccountTaxTaxRule()); |
650 o.add(buildAccountTaxTaxRule()); | 650 o.add(buildAccountTaxTaxRule()); |
651 return o; | 651 return o; |
652 } | 652 } |
653 | 653 |
654 checkUnnamed511(core.List<api.AccountTaxTaxRule> o) { | 654 checkUnnamed526(core.List<api.AccountTaxTaxRule> o) { |
655 unittest.expect(o, unittest.hasLength(2)); | 655 unittest.expect(o, unittest.hasLength(2)); |
656 checkAccountTaxTaxRule(o[0]); | 656 checkAccountTaxTaxRule(o[0]); |
657 checkAccountTaxTaxRule(o[1]); | 657 checkAccountTaxTaxRule(o[1]); |
658 } | 658 } |
659 | 659 |
660 core.int buildCounterAccountTax = 0; | 660 core.int buildCounterAccountTax = 0; |
661 buildAccountTax() { | 661 buildAccountTax() { |
662 var o = new api.AccountTax(); | 662 var o = new api.AccountTax(); |
663 buildCounterAccountTax++; | 663 buildCounterAccountTax++; |
664 if (buildCounterAccountTax < 3) { | 664 if (buildCounterAccountTax < 3) { |
665 o.accountId = "foo"; | 665 o.accountId = "foo"; |
666 o.kind = "foo"; | 666 o.kind = "foo"; |
667 o.rules = buildUnnamed511(); | 667 o.rules = buildUnnamed526(); |
668 } | 668 } |
669 buildCounterAccountTax--; | 669 buildCounterAccountTax--; |
670 return o; | 670 return o; |
671 } | 671 } |
672 | 672 |
673 checkAccountTax(api.AccountTax o) { | 673 checkAccountTax(api.AccountTax o) { |
674 buildCounterAccountTax++; | 674 buildCounterAccountTax++; |
675 if (buildCounterAccountTax < 3) { | 675 if (buildCounterAccountTax < 3) { |
676 unittest.expect(o.accountId, unittest.equals('foo')); | 676 unittest.expect(o.accountId, unittest.equals('foo')); |
677 unittest.expect(o.kind, unittest.equals('foo')); | 677 unittest.expect(o.kind, unittest.equals('foo')); |
678 checkUnnamed511(o.rules); | 678 checkUnnamed526(o.rules); |
679 } | 679 } |
680 buildCounterAccountTax--; | 680 buildCounterAccountTax--; |
681 } | 681 } |
682 | 682 |
683 core.int buildCounterAccountTaxTaxRule = 0; | 683 core.int buildCounterAccountTaxTaxRule = 0; |
684 buildAccountTaxTaxRule() { | 684 buildAccountTaxTaxRule() { |
685 var o = new api.AccountTaxTaxRule(); | 685 var o = new api.AccountTaxTaxRule(); |
686 buildCounterAccountTaxTaxRule++; | 686 buildCounterAccountTaxTaxRule++; |
687 if (buildCounterAccountTaxTaxRule < 3) { | 687 if (buildCounterAccountTaxTaxRule < 3) { |
688 o.country = "foo"; | 688 o.country = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 | 721 |
722 checkAccountUser(api.AccountUser o) { | 722 checkAccountUser(api.AccountUser o) { |
723 buildCounterAccountUser++; | 723 buildCounterAccountUser++; |
724 if (buildCounterAccountUser < 3) { | 724 if (buildCounterAccountUser < 3) { |
725 unittest.expect(o.admin, unittest.isTrue); | 725 unittest.expect(o.admin, unittest.isTrue); |
726 unittest.expect(o.emailAddress, unittest.equals('foo')); | 726 unittest.expect(o.emailAddress, unittest.equals('foo')); |
727 } | 727 } |
728 buildCounterAccountUser--; | 728 buildCounterAccountUser--; |
729 } | 729 } |
730 | 730 |
731 buildUnnamed512() { | 731 buildUnnamed527() { |
732 var o = new core.List<api.AccountIdentifier>(); | 732 var o = new core.List<api.AccountIdentifier>(); |
733 o.add(buildAccountIdentifier()); | 733 o.add(buildAccountIdentifier()); |
734 o.add(buildAccountIdentifier()); | 734 o.add(buildAccountIdentifier()); |
735 return o; | 735 return o; |
736 } | 736 } |
737 | 737 |
738 checkUnnamed512(core.List<api.AccountIdentifier> o) { | 738 checkUnnamed527(core.List<api.AccountIdentifier> o) { |
739 unittest.expect(o, unittest.hasLength(2)); | 739 unittest.expect(o, unittest.hasLength(2)); |
740 checkAccountIdentifier(o[0]); | 740 checkAccountIdentifier(o[0]); |
741 checkAccountIdentifier(o[1]); | 741 checkAccountIdentifier(o[1]); |
742 } | 742 } |
743 | 743 |
744 core.int buildCounterAccountsAuthInfoResponse = 0; | 744 core.int buildCounterAccountsAuthInfoResponse = 0; |
745 buildAccountsAuthInfoResponse() { | 745 buildAccountsAuthInfoResponse() { |
746 var o = new api.AccountsAuthInfoResponse(); | 746 var o = new api.AccountsAuthInfoResponse(); |
747 buildCounterAccountsAuthInfoResponse++; | 747 buildCounterAccountsAuthInfoResponse++; |
748 if (buildCounterAccountsAuthInfoResponse < 3) { | 748 if (buildCounterAccountsAuthInfoResponse < 3) { |
749 o.accountIdentifiers = buildUnnamed512(); | 749 o.accountIdentifiers = buildUnnamed527(); |
750 o.kind = "foo"; | 750 o.kind = "foo"; |
751 } | 751 } |
752 buildCounterAccountsAuthInfoResponse--; | 752 buildCounterAccountsAuthInfoResponse--; |
753 return o; | 753 return o; |
754 } | 754 } |
755 | 755 |
756 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { | 756 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { |
757 buildCounterAccountsAuthInfoResponse++; | 757 buildCounterAccountsAuthInfoResponse++; |
758 if (buildCounterAccountsAuthInfoResponse < 3) { | 758 if (buildCounterAccountsAuthInfoResponse < 3) { |
759 checkUnnamed512(o.accountIdentifiers); | 759 checkUnnamed527(o.accountIdentifiers); |
760 unittest.expect(o.kind, unittest.equals('foo')); | 760 unittest.expect(o.kind, unittest.equals('foo')); |
761 } | 761 } |
762 buildCounterAccountsAuthInfoResponse--; | 762 buildCounterAccountsAuthInfoResponse--; |
763 } | 763 } |
764 | 764 |
765 buildUnnamed513() { | 765 buildUnnamed528() { |
766 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); | 766 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); |
767 o.add(buildAccountsCustomBatchRequestEntry()); | 767 o.add(buildAccountsCustomBatchRequestEntry()); |
768 o.add(buildAccountsCustomBatchRequestEntry()); | 768 o.add(buildAccountsCustomBatchRequestEntry()); |
769 return o; | 769 return o; |
770 } | 770 } |
771 | 771 |
772 checkUnnamed513(core.List<api.AccountsCustomBatchRequestEntry> o) { | 772 checkUnnamed528(core.List<api.AccountsCustomBatchRequestEntry> o) { |
773 unittest.expect(o, unittest.hasLength(2)); | 773 unittest.expect(o, unittest.hasLength(2)); |
774 checkAccountsCustomBatchRequestEntry(o[0]); | 774 checkAccountsCustomBatchRequestEntry(o[0]); |
775 checkAccountsCustomBatchRequestEntry(o[1]); | 775 checkAccountsCustomBatchRequestEntry(o[1]); |
776 } | 776 } |
777 | 777 |
778 core.int buildCounterAccountsCustomBatchRequest = 0; | 778 core.int buildCounterAccountsCustomBatchRequest = 0; |
779 buildAccountsCustomBatchRequest() { | 779 buildAccountsCustomBatchRequest() { |
780 var o = new api.AccountsCustomBatchRequest(); | 780 var o = new api.AccountsCustomBatchRequest(); |
781 buildCounterAccountsCustomBatchRequest++; | 781 buildCounterAccountsCustomBatchRequest++; |
782 if (buildCounterAccountsCustomBatchRequest < 3) { | 782 if (buildCounterAccountsCustomBatchRequest < 3) { |
783 o.entries = buildUnnamed513(); | 783 o.entries = buildUnnamed528(); |
784 } | 784 } |
785 buildCounterAccountsCustomBatchRequest--; | 785 buildCounterAccountsCustomBatchRequest--; |
786 return o; | 786 return o; |
787 } | 787 } |
788 | 788 |
789 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { | 789 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { |
790 buildCounterAccountsCustomBatchRequest++; | 790 buildCounterAccountsCustomBatchRequest++; |
791 if (buildCounterAccountsCustomBatchRequest < 3) { | 791 if (buildCounterAccountsCustomBatchRequest < 3) { |
792 checkUnnamed513(o.entries); | 792 checkUnnamed528(o.entries); |
793 } | 793 } |
794 buildCounterAccountsCustomBatchRequest--; | 794 buildCounterAccountsCustomBatchRequest--; |
795 } | 795 } |
796 | 796 |
797 core.int buildCounterAccountsCustomBatchRequestEntry = 0; | 797 core.int buildCounterAccountsCustomBatchRequestEntry = 0; |
798 buildAccountsCustomBatchRequestEntry() { | 798 buildAccountsCustomBatchRequestEntry() { |
799 var o = new api.AccountsCustomBatchRequestEntry(); | 799 var o = new api.AccountsCustomBatchRequestEntry(); |
800 buildCounterAccountsCustomBatchRequestEntry++; | 800 buildCounterAccountsCustomBatchRequestEntry++; |
801 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 801 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
802 o.account = buildAccount(); | 802 o.account = buildAccount(); |
(...skipping 11 matching lines...) Expand all Loading... |
814 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 814 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
815 checkAccount(o.account); | 815 checkAccount(o.account); |
816 unittest.expect(o.accountId, unittest.equals('foo')); | 816 unittest.expect(o.accountId, unittest.equals('foo')); |
817 unittest.expect(o.batchId, unittest.equals(42)); | 817 unittest.expect(o.batchId, unittest.equals(42)); |
818 unittest.expect(o.merchantId, unittest.equals('foo')); | 818 unittest.expect(o.merchantId, unittest.equals('foo')); |
819 unittest.expect(o.method, unittest.equals('foo')); | 819 unittest.expect(o.method, unittest.equals('foo')); |
820 } | 820 } |
821 buildCounterAccountsCustomBatchRequestEntry--; | 821 buildCounterAccountsCustomBatchRequestEntry--; |
822 } | 822 } |
823 | 823 |
824 buildUnnamed514() { | 824 buildUnnamed529() { |
825 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); | 825 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); |
826 o.add(buildAccountsCustomBatchResponseEntry()); | 826 o.add(buildAccountsCustomBatchResponseEntry()); |
827 o.add(buildAccountsCustomBatchResponseEntry()); | 827 o.add(buildAccountsCustomBatchResponseEntry()); |
828 return o; | 828 return o; |
829 } | 829 } |
830 | 830 |
831 checkUnnamed514(core.List<api.AccountsCustomBatchResponseEntry> o) { | 831 checkUnnamed529(core.List<api.AccountsCustomBatchResponseEntry> o) { |
832 unittest.expect(o, unittest.hasLength(2)); | 832 unittest.expect(o, unittest.hasLength(2)); |
833 checkAccountsCustomBatchResponseEntry(o[0]); | 833 checkAccountsCustomBatchResponseEntry(o[0]); |
834 checkAccountsCustomBatchResponseEntry(o[1]); | 834 checkAccountsCustomBatchResponseEntry(o[1]); |
835 } | 835 } |
836 | 836 |
837 core.int buildCounterAccountsCustomBatchResponse = 0; | 837 core.int buildCounterAccountsCustomBatchResponse = 0; |
838 buildAccountsCustomBatchResponse() { | 838 buildAccountsCustomBatchResponse() { |
839 var o = new api.AccountsCustomBatchResponse(); | 839 var o = new api.AccountsCustomBatchResponse(); |
840 buildCounterAccountsCustomBatchResponse++; | 840 buildCounterAccountsCustomBatchResponse++; |
841 if (buildCounterAccountsCustomBatchResponse < 3) { | 841 if (buildCounterAccountsCustomBatchResponse < 3) { |
842 o.entries = buildUnnamed514(); | 842 o.entries = buildUnnamed529(); |
843 o.kind = "foo"; | 843 o.kind = "foo"; |
844 } | 844 } |
845 buildCounterAccountsCustomBatchResponse--; | 845 buildCounterAccountsCustomBatchResponse--; |
846 return o; | 846 return o; |
847 } | 847 } |
848 | 848 |
849 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { | 849 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { |
850 buildCounterAccountsCustomBatchResponse++; | 850 buildCounterAccountsCustomBatchResponse++; |
851 if (buildCounterAccountsCustomBatchResponse < 3) { | 851 if (buildCounterAccountsCustomBatchResponse < 3) { |
852 checkUnnamed514(o.entries); | 852 checkUnnamed529(o.entries); |
853 unittest.expect(o.kind, unittest.equals('foo')); | 853 unittest.expect(o.kind, unittest.equals('foo')); |
854 } | 854 } |
855 buildCounterAccountsCustomBatchResponse--; | 855 buildCounterAccountsCustomBatchResponse--; |
856 } | 856 } |
857 | 857 |
858 core.int buildCounterAccountsCustomBatchResponseEntry = 0; | 858 core.int buildCounterAccountsCustomBatchResponseEntry = 0; |
859 buildAccountsCustomBatchResponseEntry() { | 859 buildAccountsCustomBatchResponseEntry() { |
860 var o = new api.AccountsCustomBatchResponseEntry(); | 860 var o = new api.AccountsCustomBatchResponseEntry(); |
861 buildCounterAccountsCustomBatchResponseEntry++; | 861 buildCounterAccountsCustomBatchResponseEntry++; |
862 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 862 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
873 buildCounterAccountsCustomBatchResponseEntry++; | 873 buildCounterAccountsCustomBatchResponseEntry++; |
874 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 874 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
875 checkAccount(o.account); | 875 checkAccount(o.account); |
876 unittest.expect(o.batchId, unittest.equals(42)); | 876 unittest.expect(o.batchId, unittest.equals(42)); |
877 checkErrors(o.errors); | 877 checkErrors(o.errors); |
878 unittest.expect(o.kind, unittest.equals('foo')); | 878 unittest.expect(o.kind, unittest.equals('foo')); |
879 } | 879 } |
880 buildCounterAccountsCustomBatchResponseEntry--; | 880 buildCounterAccountsCustomBatchResponseEntry--; |
881 } | 881 } |
882 | 882 |
883 buildUnnamed515() { | 883 buildUnnamed530() { |
884 var o = new core.List<api.Account>(); | 884 var o = new core.List<api.Account>(); |
885 o.add(buildAccount()); | 885 o.add(buildAccount()); |
886 o.add(buildAccount()); | 886 o.add(buildAccount()); |
887 return o; | 887 return o; |
888 } | 888 } |
889 | 889 |
890 checkUnnamed515(core.List<api.Account> o) { | 890 checkUnnamed530(core.List<api.Account> o) { |
891 unittest.expect(o, unittest.hasLength(2)); | 891 unittest.expect(o, unittest.hasLength(2)); |
892 checkAccount(o[0]); | 892 checkAccount(o[0]); |
893 checkAccount(o[1]); | 893 checkAccount(o[1]); |
894 } | 894 } |
895 | 895 |
896 core.int buildCounterAccountsListResponse = 0; | 896 core.int buildCounterAccountsListResponse = 0; |
897 buildAccountsListResponse() { | 897 buildAccountsListResponse() { |
898 var o = new api.AccountsListResponse(); | 898 var o = new api.AccountsListResponse(); |
899 buildCounterAccountsListResponse++; | 899 buildCounterAccountsListResponse++; |
900 if (buildCounterAccountsListResponse < 3) { | 900 if (buildCounterAccountsListResponse < 3) { |
901 o.kind = "foo"; | 901 o.kind = "foo"; |
902 o.nextPageToken = "foo"; | 902 o.nextPageToken = "foo"; |
903 o.resources = buildUnnamed515(); | 903 o.resources = buildUnnamed530(); |
904 } | 904 } |
905 buildCounterAccountsListResponse--; | 905 buildCounterAccountsListResponse--; |
906 return o; | 906 return o; |
907 } | 907 } |
908 | 908 |
909 checkAccountsListResponse(api.AccountsListResponse o) { | 909 checkAccountsListResponse(api.AccountsListResponse o) { |
910 buildCounterAccountsListResponse++; | 910 buildCounterAccountsListResponse++; |
911 if (buildCounterAccountsListResponse < 3) { | 911 if (buildCounterAccountsListResponse < 3) { |
912 unittest.expect(o.kind, unittest.equals('foo')); | 912 unittest.expect(o.kind, unittest.equals('foo')); |
913 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 913 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
914 checkUnnamed515(o.resources); | 914 checkUnnamed530(o.resources); |
915 } | 915 } |
916 buildCounterAccountsListResponse--; | 916 buildCounterAccountsListResponse--; |
917 } | 917 } |
918 | 918 |
919 buildUnnamed516() { | 919 buildUnnamed531() { |
920 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); | 920 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); |
921 o.add(buildAccountshippingCustomBatchRequestEntry()); | 921 o.add(buildAccountshippingCustomBatchRequestEntry()); |
922 o.add(buildAccountshippingCustomBatchRequestEntry()); | 922 o.add(buildAccountshippingCustomBatchRequestEntry()); |
923 return o; | 923 return o; |
924 } | 924 } |
925 | 925 |
926 checkUnnamed516(core.List<api.AccountshippingCustomBatchRequestEntry> o) { | 926 checkUnnamed531(core.List<api.AccountshippingCustomBatchRequestEntry> o) { |
927 unittest.expect(o, unittest.hasLength(2)); | 927 unittest.expect(o, unittest.hasLength(2)); |
928 checkAccountshippingCustomBatchRequestEntry(o[0]); | 928 checkAccountshippingCustomBatchRequestEntry(o[0]); |
929 checkAccountshippingCustomBatchRequestEntry(o[1]); | 929 checkAccountshippingCustomBatchRequestEntry(o[1]); |
930 } | 930 } |
931 | 931 |
932 core.int buildCounterAccountshippingCustomBatchRequest = 0; | 932 core.int buildCounterAccountshippingCustomBatchRequest = 0; |
933 buildAccountshippingCustomBatchRequest() { | 933 buildAccountshippingCustomBatchRequest() { |
934 var o = new api.AccountshippingCustomBatchRequest(); | 934 var o = new api.AccountshippingCustomBatchRequest(); |
935 buildCounterAccountshippingCustomBatchRequest++; | 935 buildCounterAccountshippingCustomBatchRequest++; |
936 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 936 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
937 o.entries = buildUnnamed516(); | 937 o.entries = buildUnnamed531(); |
938 } | 938 } |
939 buildCounterAccountshippingCustomBatchRequest--; | 939 buildCounterAccountshippingCustomBatchRequest--; |
940 return o; | 940 return o; |
941 } | 941 } |
942 | 942 |
943 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ | 943 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ |
944 buildCounterAccountshippingCustomBatchRequest++; | 944 buildCounterAccountshippingCustomBatchRequest++; |
945 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 945 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
946 checkUnnamed516(o.entries); | 946 checkUnnamed531(o.entries); |
947 } | 947 } |
948 buildCounterAccountshippingCustomBatchRequest--; | 948 buildCounterAccountshippingCustomBatchRequest--; |
949 } | 949 } |
950 | 950 |
951 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; | 951 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; |
952 buildAccountshippingCustomBatchRequestEntry() { | 952 buildAccountshippingCustomBatchRequestEntry() { |
953 var o = new api.AccountshippingCustomBatchRequestEntry(); | 953 var o = new api.AccountshippingCustomBatchRequestEntry(); |
954 buildCounterAccountshippingCustomBatchRequestEntry++; | 954 buildCounterAccountshippingCustomBatchRequestEntry++; |
955 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 955 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
956 o.accountId = "foo"; | 956 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
968 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 968 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
969 unittest.expect(o.accountId, unittest.equals('foo')); | 969 unittest.expect(o.accountId, unittest.equals('foo')); |
970 checkAccountShipping(o.accountShipping); | 970 checkAccountShipping(o.accountShipping); |
971 unittest.expect(o.batchId, unittest.equals(42)); | 971 unittest.expect(o.batchId, unittest.equals(42)); |
972 unittest.expect(o.merchantId, unittest.equals('foo')); | 972 unittest.expect(o.merchantId, unittest.equals('foo')); |
973 unittest.expect(o.method, unittest.equals('foo')); | 973 unittest.expect(o.method, unittest.equals('foo')); |
974 } | 974 } |
975 buildCounterAccountshippingCustomBatchRequestEntry--; | 975 buildCounterAccountshippingCustomBatchRequestEntry--; |
976 } | 976 } |
977 | 977 |
978 buildUnnamed517() { | 978 buildUnnamed532() { |
979 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); | 979 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); |
980 o.add(buildAccountshippingCustomBatchResponseEntry()); | 980 o.add(buildAccountshippingCustomBatchResponseEntry()); |
981 o.add(buildAccountshippingCustomBatchResponseEntry()); | 981 o.add(buildAccountshippingCustomBatchResponseEntry()); |
982 return o; | 982 return o; |
983 } | 983 } |
984 | 984 |
985 checkUnnamed517(core.List<api.AccountshippingCustomBatchResponseEntry> o) { | 985 checkUnnamed532(core.List<api.AccountshippingCustomBatchResponseEntry> o) { |
986 unittest.expect(o, unittest.hasLength(2)); | 986 unittest.expect(o, unittest.hasLength(2)); |
987 checkAccountshippingCustomBatchResponseEntry(o[0]); | 987 checkAccountshippingCustomBatchResponseEntry(o[0]); |
988 checkAccountshippingCustomBatchResponseEntry(o[1]); | 988 checkAccountshippingCustomBatchResponseEntry(o[1]); |
989 } | 989 } |
990 | 990 |
991 core.int buildCounterAccountshippingCustomBatchResponse = 0; | 991 core.int buildCounterAccountshippingCustomBatchResponse = 0; |
992 buildAccountshippingCustomBatchResponse() { | 992 buildAccountshippingCustomBatchResponse() { |
993 var o = new api.AccountshippingCustomBatchResponse(); | 993 var o = new api.AccountshippingCustomBatchResponse(); |
994 buildCounterAccountshippingCustomBatchResponse++; | 994 buildCounterAccountshippingCustomBatchResponse++; |
995 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 995 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
996 o.entries = buildUnnamed517(); | 996 o.entries = buildUnnamed532(); |
997 o.kind = "foo"; | 997 o.kind = "foo"; |
998 } | 998 } |
999 buildCounterAccountshippingCustomBatchResponse--; | 999 buildCounterAccountshippingCustomBatchResponse--; |
1000 return o; | 1000 return o; |
1001 } | 1001 } |
1002 | 1002 |
1003 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { | 1003 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { |
1004 buildCounterAccountshippingCustomBatchResponse++; | 1004 buildCounterAccountshippingCustomBatchResponse++; |
1005 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 1005 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
1006 checkUnnamed517(o.entries); | 1006 checkUnnamed532(o.entries); |
1007 unittest.expect(o.kind, unittest.equals('foo')); | 1007 unittest.expect(o.kind, unittest.equals('foo')); |
1008 } | 1008 } |
1009 buildCounterAccountshippingCustomBatchResponse--; | 1009 buildCounterAccountshippingCustomBatchResponse--; |
1010 } | 1010 } |
1011 | 1011 |
1012 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; | 1012 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; |
1013 buildAccountshippingCustomBatchResponseEntry() { | 1013 buildAccountshippingCustomBatchResponseEntry() { |
1014 var o = new api.AccountshippingCustomBatchResponseEntry(); | 1014 var o = new api.AccountshippingCustomBatchResponseEntry(); |
1015 buildCounterAccountshippingCustomBatchResponseEntry++; | 1015 buildCounterAccountshippingCustomBatchResponseEntry++; |
1016 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1016 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1027 buildCounterAccountshippingCustomBatchResponseEntry++; | 1027 buildCounterAccountshippingCustomBatchResponseEntry++; |
1028 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1028 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
1029 checkAccountShipping(o.accountShipping); | 1029 checkAccountShipping(o.accountShipping); |
1030 unittest.expect(o.batchId, unittest.equals(42)); | 1030 unittest.expect(o.batchId, unittest.equals(42)); |
1031 checkErrors(o.errors); | 1031 checkErrors(o.errors); |
1032 unittest.expect(o.kind, unittest.equals('foo')); | 1032 unittest.expect(o.kind, unittest.equals('foo')); |
1033 } | 1033 } |
1034 buildCounterAccountshippingCustomBatchResponseEntry--; | 1034 buildCounterAccountshippingCustomBatchResponseEntry--; |
1035 } | 1035 } |
1036 | 1036 |
1037 buildUnnamed518() { | 1037 buildUnnamed533() { |
1038 var o = new core.List<api.AccountShipping>(); | 1038 var o = new core.List<api.AccountShipping>(); |
1039 o.add(buildAccountShipping()); | 1039 o.add(buildAccountShipping()); |
1040 o.add(buildAccountShipping()); | 1040 o.add(buildAccountShipping()); |
1041 return o; | 1041 return o; |
1042 } | 1042 } |
1043 | 1043 |
1044 checkUnnamed518(core.List<api.AccountShipping> o) { | 1044 checkUnnamed533(core.List<api.AccountShipping> o) { |
1045 unittest.expect(o, unittest.hasLength(2)); | 1045 unittest.expect(o, unittest.hasLength(2)); |
1046 checkAccountShipping(o[0]); | 1046 checkAccountShipping(o[0]); |
1047 checkAccountShipping(o[1]); | 1047 checkAccountShipping(o[1]); |
1048 } | 1048 } |
1049 | 1049 |
1050 core.int buildCounterAccountshippingListResponse = 0; | 1050 core.int buildCounterAccountshippingListResponse = 0; |
1051 buildAccountshippingListResponse() { | 1051 buildAccountshippingListResponse() { |
1052 var o = new api.AccountshippingListResponse(); | 1052 var o = new api.AccountshippingListResponse(); |
1053 buildCounterAccountshippingListResponse++; | 1053 buildCounterAccountshippingListResponse++; |
1054 if (buildCounterAccountshippingListResponse < 3) { | 1054 if (buildCounterAccountshippingListResponse < 3) { |
1055 o.kind = "foo"; | 1055 o.kind = "foo"; |
1056 o.nextPageToken = "foo"; | 1056 o.nextPageToken = "foo"; |
1057 o.resources = buildUnnamed518(); | 1057 o.resources = buildUnnamed533(); |
1058 } | 1058 } |
1059 buildCounterAccountshippingListResponse--; | 1059 buildCounterAccountshippingListResponse--; |
1060 return o; | 1060 return o; |
1061 } | 1061 } |
1062 | 1062 |
1063 checkAccountshippingListResponse(api.AccountshippingListResponse o) { | 1063 checkAccountshippingListResponse(api.AccountshippingListResponse o) { |
1064 buildCounterAccountshippingListResponse++; | 1064 buildCounterAccountshippingListResponse++; |
1065 if (buildCounterAccountshippingListResponse < 3) { | 1065 if (buildCounterAccountshippingListResponse < 3) { |
1066 unittest.expect(o.kind, unittest.equals('foo')); | 1066 unittest.expect(o.kind, unittest.equals('foo')); |
1067 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1067 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1068 checkUnnamed518(o.resources); | 1068 checkUnnamed533(o.resources); |
1069 } | 1069 } |
1070 buildCounterAccountshippingListResponse--; | 1070 buildCounterAccountshippingListResponse--; |
1071 } | 1071 } |
1072 | 1072 |
1073 buildUnnamed519() { | 1073 buildUnnamed534() { |
1074 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); | 1074 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); |
1075 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1075 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
1076 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1076 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
1077 return o; | 1077 return o; |
1078 } | 1078 } |
1079 | 1079 |
1080 checkUnnamed519(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { | 1080 checkUnnamed534(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { |
1081 unittest.expect(o, unittest.hasLength(2)); | 1081 unittest.expect(o, unittest.hasLength(2)); |
1082 checkAccountstatusesCustomBatchRequestEntry(o[0]); | 1082 checkAccountstatusesCustomBatchRequestEntry(o[0]); |
1083 checkAccountstatusesCustomBatchRequestEntry(o[1]); | 1083 checkAccountstatusesCustomBatchRequestEntry(o[1]); |
1084 } | 1084 } |
1085 | 1085 |
1086 core.int buildCounterAccountstatusesCustomBatchRequest = 0; | 1086 core.int buildCounterAccountstatusesCustomBatchRequest = 0; |
1087 buildAccountstatusesCustomBatchRequest() { | 1087 buildAccountstatusesCustomBatchRequest() { |
1088 var o = new api.AccountstatusesCustomBatchRequest(); | 1088 var o = new api.AccountstatusesCustomBatchRequest(); |
1089 buildCounterAccountstatusesCustomBatchRequest++; | 1089 buildCounterAccountstatusesCustomBatchRequest++; |
1090 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1090 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
1091 o.entries = buildUnnamed519(); | 1091 o.entries = buildUnnamed534(); |
1092 } | 1092 } |
1093 buildCounterAccountstatusesCustomBatchRequest--; | 1093 buildCounterAccountstatusesCustomBatchRequest--; |
1094 return o; | 1094 return o; |
1095 } | 1095 } |
1096 | 1096 |
1097 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ | 1097 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ |
1098 buildCounterAccountstatusesCustomBatchRequest++; | 1098 buildCounterAccountstatusesCustomBatchRequest++; |
1099 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1099 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
1100 checkUnnamed519(o.entries); | 1100 checkUnnamed534(o.entries); |
1101 } | 1101 } |
1102 buildCounterAccountstatusesCustomBatchRequest--; | 1102 buildCounterAccountstatusesCustomBatchRequest--; |
1103 } | 1103 } |
1104 | 1104 |
1105 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; | 1105 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; |
1106 buildAccountstatusesCustomBatchRequestEntry() { | 1106 buildAccountstatusesCustomBatchRequestEntry() { |
1107 var o = new api.AccountstatusesCustomBatchRequestEntry(); | 1107 var o = new api.AccountstatusesCustomBatchRequestEntry(); |
1108 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1108 buildCounterAccountstatusesCustomBatchRequestEntry++; |
1109 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1109 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
1110 o.accountId = "foo"; | 1110 o.accountId = "foo"; |
1111 o.batchId = 42; | 1111 o.batchId = 42; |
1112 o.merchantId = "foo"; | 1112 o.merchantId = "foo"; |
1113 o.method = "foo"; | 1113 o.method = "foo"; |
1114 } | 1114 } |
1115 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1115 buildCounterAccountstatusesCustomBatchRequestEntry--; |
1116 return o; | 1116 return o; |
1117 } | 1117 } |
1118 | 1118 |
1119 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { | 1119 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { |
1120 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1120 buildCounterAccountstatusesCustomBatchRequestEntry++; |
1121 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1121 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
1122 unittest.expect(o.accountId, unittest.equals('foo')); | 1122 unittest.expect(o.accountId, unittest.equals('foo')); |
1123 unittest.expect(o.batchId, unittest.equals(42)); | 1123 unittest.expect(o.batchId, unittest.equals(42)); |
1124 unittest.expect(o.merchantId, unittest.equals('foo')); | 1124 unittest.expect(o.merchantId, unittest.equals('foo')); |
1125 unittest.expect(o.method, unittest.equals('foo')); | 1125 unittest.expect(o.method, unittest.equals('foo')); |
1126 } | 1126 } |
1127 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1127 buildCounterAccountstatusesCustomBatchRequestEntry--; |
1128 } | 1128 } |
1129 | 1129 |
1130 buildUnnamed520() { | 1130 buildUnnamed535() { |
1131 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); | 1131 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); |
1132 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1132 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
1133 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1133 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
1134 return o; | 1134 return o; |
1135 } | 1135 } |
1136 | 1136 |
1137 checkUnnamed520(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { | 1137 checkUnnamed535(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { |
1138 unittest.expect(o, unittest.hasLength(2)); | 1138 unittest.expect(o, unittest.hasLength(2)); |
1139 checkAccountstatusesCustomBatchResponseEntry(o[0]); | 1139 checkAccountstatusesCustomBatchResponseEntry(o[0]); |
1140 checkAccountstatusesCustomBatchResponseEntry(o[1]); | 1140 checkAccountstatusesCustomBatchResponseEntry(o[1]); |
1141 } | 1141 } |
1142 | 1142 |
1143 core.int buildCounterAccountstatusesCustomBatchResponse = 0; | 1143 core.int buildCounterAccountstatusesCustomBatchResponse = 0; |
1144 buildAccountstatusesCustomBatchResponse() { | 1144 buildAccountstatusesCustomBatchResponse() { |
1145 var o = new api.AccountstatusesCustomBatchResponse(); | 1145 var o = new api.AccountstatusesCustomBatchResponse(); |
1146 buildCounterAccountstatusesCustomBatchResponse++; | 1146 buildCounterAccountstatusesCustomBatchResponse++; |
1147 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1147 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
1148 o.entries = buildUnnamed520(); | 1148 o.entries = buildUnnamed535(); |
1149 o.kind = "foo"; | 1149 o.kind = "foo"; |
1150 } | 1150 } |
1151 buildCounterAccountstatusesCustomBatchResponse--; | 1151 buildCounterAccountstatusesCustomBatchResponse--; |
1152 return o; | 1152 return o; |
1153 } | 1153 } |
1154 | 1154 |
1155 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { | 1155 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { |
1156 buildCounterAccountstatusesCustomBatchResponse++; | 1156 buildCounterAccountstatusesCustomBatchResponse++; |
1157 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1157 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
1158 checkUnnamed520(o.entries); | 1158 checkUnnamed535(o.entries); |
1159 unittest.expect(o.kind, unittest.equals('foo')); | 1159 unittest.expect(o.kind, unittest.equals('foo')); |
1160 } | 1160 } |
1161 buildCounterAccountstatusesCustomBatchResponse--; | 1161 buildCounterAccountstatusesCustomBatchResponse--; |
1162 } | 1162 } |
1163 | 1163 |
1164 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; | 1164 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; |
1165 buildAccountstatusesCustomBatchResponseEntry() { | 1165 buildAccountstatusesCustomBatchResponseEntry() { |
1166 var o = new api.AccountstatusesCustomBatchResponseEntry(); | 1166 var o = new api.AccountstatusesCustomBatchResponseEntry(); |
1167 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1167 buildCounterAccountstatusesCustomBatchResponseEntry++; |
1168 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1168 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
1169 o.accountStatus = buildAccountStatus(); | 1169 o.accountStatus = buildAccountStatus(); |
1170 o.batchId = 42; | 1170 o.batchId = 42; |
1171 o.errors = buildErrors(); | 1171 o.errors = buildErrors(); |
1172 } | 1172 } |
1173 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1173 buildCounterAccountstatusesCustomBatchResponseEntry--; |
1174 return o; | 1174 return o; |
1175 } | 1175 } |
1176 | 1176 |
1177 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { | 1177 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { |
1178 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1178 buildCounterAccountstatusesCustomBatchResponseEntry++; |
1179 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1179 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
1180 checkAccountStatus(o.accountStatus); | 1180 checkAccountStatus(o.accountStatus); |
1181 unittest.expect(o.batchId, unittest.equals(42)); | 1181 unittest.expect(o.batchId, unittest.equals(42)); |
1182 checkErrors(o.errors); | 1182 checkErrors(o.errors); |
1183 } | 1183 } |
1184 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1184 buildCounterAccountstatusesCustomBatchResponseEntry--; |
1185 } | 1185 } |
1186 | 1186 |
1187 buildUnnamed521() { | 1187 buildUnnamed536() { |
1188 var o = new core.List<api.AccountStatus>(); | 1188 var o = new core.List<api.AccountStatus>(); |
1189 o.add(buildAccountStatus()); | 1189 o.add(buildAccountStatus()); |
1190 o.add(buildAccountStatus()); | 1190 o.add(buildAccountStatus()); |
1191 return o; | 1191 return o; |
1192 } | 1192 } |
1193 | 1193 |
1194 checkUnnamed521(core.List<api.AccountStatus> o) { | 1194 checkUnnamed536(core.List<api.AccountStatus> o) { |
1195 unittest.expect(o, unittest.hasLength(2)); | 1195 unittest.expect(o, unittest.hasLength(2)); |
1196 checkAccountStatus(o[0]); | 1196 checkAccountStatus(o[0]); |
1197 checkAccountStatus(o[1]); | 1197 checkAccountStatus(o[1]); |
1198 } | 1198 } |
1199 | 1199 |
1200 core.int buildCounterAccountstatusesListResponse = 0; | 1200 core.int buildCounterAccountstatusesListResponse = 0; |
1201 buildAccountstatusesListResponse() { | 1201 buildAccountstatusesListResponse() { |
1202 var o = new api.AccountstatusesListResponse(); | 1202 var o = new api.AccountstatusesListResponse(); |
1203 buildCounterAccountstatusesListResponse++; | 1203 buildCounterAccountstatusesListResponse++; |
1204 if (buildCounterAccountstatusesListResponse < 3) { | 1204 if (buildCounterAccountstatusesListResponse < 3) { |
1205 o.kind = "foo"; | 1205 o.kind = "foo"; |
1206 o.nextPageToken = "foo"; | 1206 o.nextPageToken = "foo"; |
1207 o.resources = buildUnnamed521(); | 1207 o.resources = buildUnnamed536(); |
1208 } | 1208 } |
1209 buildCounterAccountstatusesListResponse--; | 1209 buildCounterAccountstatusesListResponse--; |
1210 return o; | 1210 return o; |
1211 } | 1211 } |
1212 | 1212 |
1213 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { | 1213 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { |
1214 buildCounterAccountstatusesListResponse++; | 1214 buildCounterAccountstatusesListResponse++; |
1215 if (buildCounterAccountstatusesListResponse < 3) { | 1215 if (buildCounterAccountstatusesListResponse < 3) { |
1216 unittest.expect(o.kind, unittest.equals('foo')); | 1216 unittest.expect(o.kind, unittest.equals('foo')); |
1217 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1217 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1218 checkUnnamed521(o.resources); | 1218 checkUnnamed536(o.resources); |
1219 } | 1219 } |
1220 buildCounterAccountstatusesListResponse--; | 1220 buildCounterAccountstatusesListResponse--; |
1221 } | 1221 } |
1222 | 1222 |
1223 buildUnnamed522() { | 1223 buildUnnamed537() { |
1224 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); | 1224 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); |
1225 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1225 o.add(buildAccounttaxCustomBatchRequestEntry()); |
1226 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1226 o.add(buildAccounttaxCustomBatchRequestEntry()); |
1227 return o; | 1227 return o; |
1228 } | 1228 } |
1229 | 1229 |
1230 checkUnnamed522(core.List<api.AccounttaxCustomBatchRequestEntry> o) { | 1230 checkUnnamed537(core.List<api.AccounttaxCustomBatchRequestEntry> o) { |
1231 unittest.expect(o, unittest.hasLength(2)); | 1231 unittest.expect(o, unittest.hasLength(2)); |
1232 checkAccounttaxCustomBatchRequestEntry(o[0]); | 1232 checkAccounttaxCustomBatchRequestEntry(o[0]); |
1233 checkAccounttaxCustomBatchRequestEntry(o[1]); | 1233 checkAccounttaxCustomBatchRequestEntry(o[1]); |
1234 } | 1234 } |
1235 | 1235 |
1236 core.int buildCounterAccounttaxCustomBatchRequest = 0; | 1236 core.int buildCounterAccounttaxCustomBatchRequest = 0; |
1237 buildAccounttaxCustomBatchRequest() { | 1237 buildAccounttaxCustomBatchRequest() { |
1238 var o = new api.AccounttaxCustomBatchRequest(); | 1238 var o = new api.AccounttaxCustomBatchRequest(); |
1239 buildCounterAccounttaxCustomBatchRequest++; | 1239 buildCounterAccounttaxCustomBatchRequest++; |
1240 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1240 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
1241 o.entries = buildUnnamed522(); | 1241 o.entries = buildUnnamed537(); |
1242 } | 1242 } |
1243 buildCounterAccounttaxCustomBatchRequest--; | 1243 buildCounterAccounttaxCustomBatchRequest--; |
1244 return o; | 1244 return o; |
1245 } | 1245 } |
1246 | 1246 |
1247 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { | 1247 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { |
1248 buildCounterAccounttaxCustomBatchRequest++; | 1248 buildCounterAccounttaxCustomBatchRequest++; |
1249 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1249 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
1250 checkUnnamed522(o.entries); | 1250 checkUnnamed537(o.entries); |
1251 } | 1251 } |
1252 buildCounterAccounttaxCustomBatchRequest--; | 1252 buildCounterAccounttaxCustomBatchRequest--; |
1253 } | 1253 } |
1254 | 1254 |
1255 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; | 1255 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; |
1256 buildAccounttaxCustomBatchRequestEntry() { | 1256 buildAccounttaxCustomBatchRequestEntry() { |
1257 var o = new api.AccounttaxCustomBatchRequestEntry(); | 1257 var o = new api.AccounttaxCustomBatchRequestEntry(); |
1258 buildCounterAccounttaxCustomBatchRequestEntry++; | 1258 buildCounterAccounttaxCustomBatchRequestEntry++; |
1259 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1259 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
1260 o.accountId = "foo"; | 1260 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
1272 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1272 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
1273 unittest.expect(o.accountId, unittest.equals('foo')); | 1273 unittest.expect(o.accountId, unittest.equals('foo')); |
1274 checkAccountTax(o.accountTax); | 1274 checkAccountTax(o.accountTax); |
1275 unittest.expect(o.batchId, unittest.equals(42)); | 1275 unittest.expect(o.batchId, unittest.equals(42)); |
1276 unittest.expect(o.merchantId, unittest.equals('foo')); | 1276 unittest.expect(o.merchantId, unittest.equals('foo')); |
1277 unittest.expect(o.method, unittest.equals('foo')); | 1277 unittest.expect(o.method, unittest.equals('foo')); |
1278 } | 1278 } |
1279 buildCounterAccounttaxCustomBatchRequestEntry--; | 1279 buildCounterAccounttaxCustomBatchRequestEntry--; |
1280 } | 1280 } |
1281 | 1281 |
1282 buildUnnamed523() { | 1282 buildUnnamed538() { |
1283 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); | 1283 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); |
1284 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1284 o.add(buildAccounttaxCustomBatchResponseEntry()); |
1285 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1285 o.add(buildAccounttaxCustomBatchResponseEntry()); |
1286 return o; | 1286 return o; |
1287 } | 1287 } |
1288 | 1288 |
1289 checkUnnamed523(core.List<api.AccounttaxCustomBatchResponseEntry> o) { | 1289 checkUnnamed538(core.List<api.AccounttaxCustomBatchResponseEntry> o) { |
1290 unittest.expect(o, unittest.hasLength(2)); | 1290 unittest.expect(o, unittest.hasLength(2)); |
1291 checkAccounttaxCustomBatchResponseEntry(o[0]); | 1291 checkAccounttaxCustomBatchResponseEntry(o[0]); |
1292 checkAccounttaxCustomBatchResponseEntry(o[1]); | 1292 checkAccounttaxCustomBatchResponseEntry(o[1]); |
1293 } | 1293 } |
1294 | 1294 |
1295 core.int buildCounterAccounttaxCustomBatchResponse = 0; | 1295 core.int buildCounterAccounttaxCustomBatchResponse = 0; |
1296 buildAccounttaxCustomBatchResponse() { | 1296 buildAccounttaxCustomBatchResponse() { |
1297 var o = new api.AccounttaxCustomBatchResponse(); | 1297 var o = new api.AccounttaxCustomBatchResponse(); |
1298 buildCounterAccounttaxCustomBatchResponse++; | 1298 buildCounterAccounttaxCustomBatchResponse++; |
1299 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1299 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
1300 o.entries = buildUnnamed523(); | 1300 o.entries = buildUnnamed538(); |
1301 o.kind = "foo"; | 1301 o.kind = "foo"; |
1302 } | 1302 } |
1303 buildCounterAccounttaxCustomBatchResponse--; | 1303 buildCounterAccounttaxCustomBatchResponse--; |
1304 return o; | 1304 return o; |
1305 } | 1305 } |
1306 | 1306 |
1307 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { | 1307 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { |
1308 buildCounterAccounttaxCustomBatchResponse++; | 1308 buildCounterAccounttaxCustomBatchResponse++; |
1309 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1309 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
1310 checkUnnamed523(o.entries); | 1310 checkUnnamed538(o.entries); |
1311 unittest.expect(o.kind, unittest.equals('foo')); | 1311 unittest.expect(o.kind, unittest.equals('foo')); |
1312 } | 1312 } |
1313 buildCounterAccounttaxCustomBatchResponse--; | 1313 buildCounterAccounttaxCustomBatchResponse--; |
1314 } | 1314 } |
1315 | 1315 |
1316 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; | 1316 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; |
1317 buildAccounttaxCustomBatchResponseEntry() { | 1317 buildAccounttaxCustomBatchResponseEntry() { |
1318 var o = new api.AccounttaxCustomBatchResponseEntry(); | 1318 var o = new api.AccounttaxCustomBatchResponseEntry(); |
1319 buildCounterAccounttaxCustomBatchResponseEntry++; | 1319 buildCounterAccounttaxCustomBatchResponseEntry++; |
1320 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1320 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1331 buildCounterAccounttaxCustomBatchResponseEntry++; | 1331 buildCounterAccounttaxCustomBatchResponseEntry++; |
1332 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1332 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
1333 checkAccountTax(o.accountTax); | 1333 checkAccountTax(o.accountTax); |
1334 unittest.expect(o.batchId, unittest.equals(42)); | 1334 unittest.expect(o.batchId, unittest.equals(42)); |
1335 checkErrors(o.errors); | 1335 checkErrors(o.errors); |
1336 unittest.expect(o.kind, unittest.equals('foo')); | 1336 unittest.expect(o.kind, unittest.equals('foo')); |
1337 } | 1337 } |
1338 buildCounterAccounttaxCustomBatchResponseEntry--; | 1338 buildCounterAccounttaxCustomBatchResponseEntry--; |
1339 } | 1339 } |
1340 | 1340 |
1341 buildUnnamed524() { | 1341 buildUnnamed539() { |
1342 var o = new core.List<api.AccountTax>(); | 1342 var o = new core.List<api.AccountTax>(); |
1343 o.add(buildAccountTax()); | 1343 o.add(buildAccountTax()); |
1344 o.add(buildAccountTax()); | 1344 o.add(buildAccountTax()); |
1345 return o; | 1345 return o; |
1346 } | 1346 } |
1347 | 1347 |
1348 checkUnnamed524(core.List<api.AccountTax> o) { | 1348 checkUnnamed539(core.List<api.AccountTax> o) { |
1349 unittest.expect(o, unittest.hasLength(2)); | 1349 unittest.expect(o, unittest.hasLength(2)); |
1350 checkAccountTax(o[0]); | 1350 checkAccountTax(o[0]); |
1351 checkAccountTax(o[1]); | 1351 checkAccountTax(o[1]); |
1352 } | 1352 } |
1353 | 1353 |
1354 core.int buildCounterAccounttaxListResponse = 0; | 1354 core.int buildCounterAccounttaxListResponse = 0; |
1355 buildAccounttaxListResponse() { | 1355 buildAccounttaxListResponse() { |
1356 var o = new api.AccounttaxListResponse(); | 1356 var o = new api.AccounttaxListResponse(); |
1357 buildCounterAccounttaxListResponse++; | 1357 buildCounterAccounttaxListResponse++; |
1358 if (buildCounterAccounttaxListResponse < 3) { | 1358 if (buildCounterAccounttaxListResponse < 3) { |
1359 o.kind = "foo"; | 1359 o.kind = "foo"; |
1360 o.nextPageToken = "foo"; | 1360 o.nextPageToken = "foo"; |
1361 o.resources = buildUnnamed524(); | 1361 o.resources = buildUnnamed539(); |
1362 } | 1362 } |
1363 buildCounterAccounttaxListResponse--; | 1363 buildCounterAccounttaxListResponse--; |
1364 return o; | 1364 return o; |
1365 } | 1365 } |
1366 | 1366 |
1367 checkAccounttaxListResponse(api.AccounttaxListResponse o) { | 1367 checkAccounttaxListResponse(api.AccounttaxListResponse o) { |
1368 buildCounterAccounttaxListResponse++; | 1368 buildCounterAccounttaxListResponse++; |
1369 if (buildCounterAccounttaxListResponse < 3) { | 1369 if (buildCounterAccounttaxListResponse < 3) { |
1370 unittest.expect(o.kind, unittest.equals('foo')); | 1370 unittest.expect(o.kind, unittest.equals('foo')); |
1371 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1371 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1372 checkUnnamed524(o.resources); | 1372 checkUnnamed539(o.resources); |
1373 } | 1373 } |
1374 buildCounterAccounttaxListResponse--; | 1374 buildCounterAccounttaxListResponse--; |
1375 } | 1375 } |
1376 | 1376 |
1377 core.int buildCounterCarrierRate = 0; | 1377 core.int buildCounterCarrierRate = 0; |
1378 buildCarrierRate() { | 1378 buildCarrierRate() { |
1379 var o = new api.CarrierRate(); | 1379 var o = new api.CarrierRate(); |
1380 buildCounterCarrierRate++; | 1380 buildCounterCarrierRate++; |
1381 if (buildCounterCarrierRate < 3) { | 1381 if (buildCounterCarrierRate < 3) { |
1382 o.carrierName = "foo"; | 1382 o.carrierName = "foo"; |
(...skipping 13 matching lines...) Expand all Loading... |
1396 unittest.expect(o.carrierName, unittest.equals('foo')); | 1396 unittest.expect(o.carrierName, unittest.equals('foo')); |
1397 unittest.expect(o.carrierService, unittest.equals('foo')); | 1397 unittest.expect(o.carrierService, unittest.equals('foo')); |
1398 checkPrice(o.flatAdjustment); | 1398 checkPrice(o.flatAdjustment); |
1399 unittest.expect(o.name, unittest.equals('foo')); | 1399 unittest.expect(o.name, unittest.equals('foo')); |
1400 unittest.expect(o.originPostalCode, unittest.equals('foo')); | 1400 unittest.expect(o.originPostalCode, unittest.equals('foo')); |
1401 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); | 1401 unittest.expect(o.percentageAdjustment, unittest.equals('foo')); |
1402 } | 1402 } |
1403 buildCounterCarrierRate--; | 1403 buildCounterCarrierRate--; |
1404 } | 1404 } |
1405 | 1405 |
1406 buildUnnamed525() { | 1406 buildUnnamed540() { |
1407 var o = new core.List<core.String>(); | 1407 var o = new core.List<core.String>(); |
1408 o.add("foo"); | 1408 o.add("foo"); |
1409 o.add("foo"); | 1409 o.add("foo"); |
1410 return o; | 1410 return o; |
1411 } | 1411 } |
1412 | 1412 |
1413 checkUnnamed525(core.List<core.String> o) { | 1413 checkUnnamed540(core.List<core.String> o) { |
1414 unittest.expect(o, unittest.hasLength(2)); | 1414 unittest.expect(o, unittest.hasLength(2)); |
1415 unittest.expect(o[0], unittest.equals('foo')); | 1415 unittest.expect(o[0], unittest.equals('foo')); |
1416 unittest.expect(o[1], unittest.equals('foo')); | 1416 unittest.expect(o[1], unittest.equals('foo')); |
1417 } | 1417 } |
1418 | 1418 |
1419 core.int buildCounterCarriersCarrier = 0; | 1419 core.int buildCounterCarriersCarrier = 0; |
1420 buildCarriersCarrier() { | 1420 buildCarriersCarrier() { |
1421 var o = new api.CarriersCarrier(); | 1421 var o = new api.CarriersCarrier(); |
1422 buildCounterCarriersCarrier++; | 1422 buildCounterCarriersCarrier++; |
1423 if (buildCounterCarriersCarrier < 3) { | 1423 if (buildCounterCarriersCarrier < 3) { |
1424 o.country = "foo"; | 1424 o.country = "foo"; |
1425 o.name = "foo"; | 1425 o.name = "foo"; |
1426 o.services = buildUnnamed525(); | 1426 o.services = buildUnnamed540(); |
1427 } | 1427 } |
1428 buildCounterCarriersCarrier--; | 1428 buildCounterCarriersCarrier--; |
1429 return o; | 1429 return o; |
1430 } | 1430 } |
1431 | 1431 |
1432 checkCarriersCarrier(api.CarriersCarrier o) { | 1432 checkCarriersCarrier(api.CarriersCarrier o) { |
1433 buildCounterCarriersCarrier++; | 1433 buildCounterCarriersCarrier++; |
1434 if (buildCounterCarriersCarrier < 3) { | 1434 if (buildCounterCarriersCarrier < 3) { |
1435 unittest.expect(o.country, unittest.equals('foo')); | 1435 unittest.expect(o.country, unittest.equals('foo')); |
1436 unittest.expect(o.name, unittest.equals('foo')); | 1436 unittest.expect(o.name, unittest.equals('foo')); |
1437 checkUnnamed525(o.services); | 1437 checkUnnamed540(o.services); |
1438 } | 1438 } |
1439 buildCounterCarriersCarrier--; | 1439 buildCounterCarriersCarrier--; |
1440 } | 1440 } |
1441 | 1441 |
1442 buildUnnamed526() { | 1442 buildUnnamed541() { |
1443 var o = new core.List<core.String>(); | 1443 var o = new core.List<core.String>(); |
1444 o.add("foo"); | 1444 o.add("foo"); |
1445 o.add("foo"); | 1445 o.add("foo"); |
1446 return o; | 1446 return o; |
1447 } | 1447 } |
1448 | 1448 |
1449 checkUnnamed526(core.List<core.String> o) { | 1449 checkUnnamed541(core.List<core.String> o) { |
1450 unittest.expect(o, unittest.hasLength(2)); | 1450 unittest.expect(o, unittest.hasLength(2)); |
1451 unittest.expect(o[0], unittest.equals('foo')); | 1451 unittest.expect(o[0], unittest.equals('foo')); |
1452 unittest.expect(o[1], unittest.equals('foo')); | 1452 unittest.expect(o[1], unittest.equals('foo')); |
1453 } | 1453 } |
1454 | 1454 |
1455 core.int buildCounterDatafeed = 0; | 1455 core.int buildCounterDatafeed = 0; |
1456 buildDatafeed() { | 1456 buildDatafeed() { |
1457 var o = new api.Datafeed(); | 1457 var o = new api.Datafeed(); |
1458 buildCounterDatafeed++; | 1458 buildCounterDatafeed++; |
1459 if (buildCounterDatafeed < 3) { | 1459 if (buildCounterDatafeed < 3) { |
1460 o.attributeLanguage = "foo"; | 1460 o.attributeLanguage = "foo"; |
1461 o.contentLanguage = "foo"; | 1461 o.contentLanguage = "foo"; |
1462 o.contentType = "foo"; | 1462 o.contentType = "foo"; |
1463 o.fetchSchedule = buildDatafeedFetchSchedule(); | 1463 o.fetchSchedule = buildDatafeedFetchSchedule(); |
1464 o.fileName = "foo"; | 1464 o.fileName = "foo"; |
1465 o.format = buildDatafeedFormat(); | 1465 o.format = buildDatafeedFormat(); |
1466 o.id = "foo"; | 1466 o.id = "foo"; |
1467 o.intendedDestinations = buildUnnamed526(); | 1467 o.intendedDestinations = buildUnnamed541(); |
1468 o.kind = "foo"; | 1468 o.kind = "foo"; |
1469 o.name = "foo"; | 1469 o.name = "foo"; |
1470 o.targetCountry = "foo"; | 1470 o.targetCountry = "foo"; |
1471 } | 1471 } |
1472 buildCounterDatafeed--; | 1472 buildCounterDatafeed--; |
1473 return o; | 1473 return o; |
1474 } | 1474 } |
1475 | 1475 |
1476 checkDatafeed(api.Datafeed o) { | 1476 checkDatafeed(api.Datafeed o) { |
1477 buildCounterDatafeed++; | 1477 buildCounterDatafeed++; |
1478 if (buildCounterDatafeed < 3) { | 1478 if (buildCounterDatafeed < 3) { |
1479 unittest.expect(o.attributeLanguage, unittest.equals('foo')); | 1479 unittest.expect(o.attributeLanguage, unittest.equals('foo')); |
1480 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 1480 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
1481 unittest.expect(o.contentType, unittest.equals('foo')); | 1481 unittest.expect(o.contentType, unittest.equals('foo')); |
1482 checkDatafeedFetchSchedule(o.fetchSchedule); | 1482 checkDatafeedFetchSchedule(o.fetchSchedule); |
1483 unittest.expect(o.fileName, unittest.equals('foo')); | 1483 unittest.expect(o.fileName, unittest.equals('foo')); |
1484 checkDatafeedFormat(o.format); | 1484 checkDatafeedFormat(o.format); |
1485 unittest.expect(o.id, unittest.equals('foo')); | 1485 unittest.expect(o.id, unittest.equals('foo')); |
1486 checkUnnamed526(o.intendedDestinations); | 1486 checkUnnamed541(o.intendedDestinations); |
1487 unittest.expect(o.kind, unittest.equals('foo')); | 1487 unittest.expect(o.kind, unittest.equals('foo')); |
1488 unittest.expect(o.name, unittest.equals('foo')); | 1488 unittest.expect(o.name, unittest.equals('foo')); |
1489 unittest.expect(o.targetCountry, unittest.equals('foo')); | 1489 unittest.expect(o.targetCountry, unittest.equals('foo')); |
1490 } | 1490 } |
1491 buildCounterDatafeed--; | 1491 buildCounterDatafeed--; |
1492 } | 1492 } |
1493 | 1493 |
1494 core.int buildCounterDatafeedFetchSchedule = 0; | 1494 core.int buildCounterDatafeedFetchSchedule = 0; |
1495 buildDatafeedFetchSchedule() { | 1495 buildDatafeedFetchSchedule() { |
1496 var o = new api.DatafeedFetchSchedule(); | 1496 var o = new api.DatafeedFetchSchedule(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 checkDatafeedFormat(api.DatafeedFormat o) { | 1540 checkDatafeedFormat(api.DatafeedFormat o) { |
1541 buildCounterDatafeedFormat++; | 1541 buildCounterDatafeedFormat++; |
1542 if (buildCounterDatafeedFormat < 3) { | 1542 if (buildCounterDatafeedFormat < 3) { |
1543 unittest.expect(o.columnDelimiter, unittest.equals('foo')); | 1543 unittest.expect(o.columnDelimiter, unittest.equals('foo')); |
1544 unittest.expect(o.fileEncoding, unittest.equals('foo')); | 1544 unittest.expect(o.fileEncoding, unittest.equals('foo')); |
1545 unittest.expect(o.quotingMode, unittest.equals('foo')); | 1545 unittest.expect(o.quotingMode, unittest.equals('foo')); |
1546 } | 1546 } |
1547 buildCounterDatafeedFormat--; | 1547 buildCounterDatafeedFormat--; |
1548 } | 1548 } |
1549 | 1549 |
1550 buildUnnamed527() { | 1550 buildUnnamed542() { |
1551 var o = new core.List<api.DatafeedStatusError>(); | 1551 var o = new core.List<api.DatafeedStatusError>(); |
1552 o.add(buildDatafeedStatusError()); | 1552 o.add(buildDatafeedStatusError()); |
1553 o.add(buildDatafeedStatusError()); | 1553 o.add(buildDatafeedStatusError()); |
1554 return o; | 1554 return o; |
1555 } | 1555 } |
1556 | 1556 |
1557 checkUnnamed527(core.List<api.DatafeedStatusError> o) { | 1557 checkUnnamed542(core.List<api.DatafeedStatusError> o) { |
1558 unittest.expect(o, unittest.hasLength(2)); | 1558 unittest.expect(o, unittest.hasLength(2)); |
1559 checkDatafeedStatusError(o[0]); | 1559 checkDatafeedStatusError(o[0]); |
1560 checkDatafeedStatusError(o[1]); | 1560 checkDatafeedStatusError(o[1]); |
1561 } | 1561 } |
1562 | 1562 |
1563 buildUnnamed528() { | 1563 buildUnnamed543() { |
1564 var o = new core.List<api.DatafeedStatusError>(); | 1564 var o = new core.List<api.DatafeedStatusError>(); |
1565 o.add(buildDatafeedStatusError()); | 1565 o.add(buildDatafeedStatusError()); |
1566 o.add(buildDatafeedStatusError()); | 1566 o.add(buildDatafeedStatusError()); |
1567 return o; | 1567 return o; |
1568 } | 1568 } |
1569 | 1569 |
1570 checkUnnamed528(core.List<api.DatafeedStatusError> o) { | 1570 checkUnnamed543(core.List<api.DatafeedStatusError> o) { |
1571 unittest.expect(o, unittest.hasLength(2)); | 1571 unittest.expect(o, unittest.hasLength(2)); |
1572 checkDatafeedStatusError(o[0]); | 1572 checkDatafeedStatusError(o[0]); |
1573 checkDatafeedStatusError(o[1]); | 1573 checkDatafeedStatusError(o[1]); |
1574 } | 1574 } |
1575 | 1575 |
1576 core.int buildCounterDatafeedStatus = 0; | 1576 core.int buildCounterDatafeedStatus = 0; |
1577 buildDatafeedStatus() { | 1577 buildDatafeedStatus() { |
1578 var o = new api.DatafeedStatus(); | 1578 var o = new api.DatafeedStatus(); |
1579 buildCounterDatafeedStatus++; | 1579 buildCounterDatafeedStatus++; |
1580 if (buildCounterDatafeedStatus < 3) { | 1580 if (buildCounterDatafeedStatus < 3) { |
1581 o.datafeedId = "foo"; | 1581 o.datafeedId = "foo"; |
1582 o.errors = buildUnnamed527(); | 1582 o.errors = buildUnnamed542(); |
1583 o.itemsTotal = "foo"; | 1583 o.itemsTotal = "foo"; |
1584 o.itemsValid = "foo"; | 1584 o.itemsValid = "foo"; |
1585 o.kind = "foo"; | 1585 o.kind = "foo"; |
1586 o.lastUploadDate = "foo"; | 1586 o.lastUploadDate = "foo"; |
1587 o.processingStatus = "foo"; | 1587 o.processingStatus = "foo"; |
1588 o.warnings = buildUnnamed528(); | 1588 o.warnings = buildUnnamed543(); |
1589 } | 1589 } |
1590 buildCounterDatafeedStatus--; | 1590 buildCounterDatafeedStatus--; |
1591 return o; | 1591 return o; |
1592 } | 1592 } |
1593 | 1593 |
1594 checkDatafeedStatus(api.DatafeedStatus o) { | 1594 checkDatafeedStatus(api.DatafeedStatus o) { |
1595 buildCounterDatafeedStatus++; | 1595 buildCounterDatafeedStatus++; |
1596 if (buildCounterDatafeedStatus < 3) { | 1596 if (buildCounterDatafeedStatus < 3) { |
1597 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1597 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1598 checkUnnamed527(o.errors); | 1598 checkUnnamed542(o.errors); |
1599 unittest.expect(o.itemsTotal, unittest.equals('foo')); | 1599 unittest.expect(o.itemsTotal, unittest.equals('foo')); |
1600 unittest.expect(o.itemsValid, unittest.equals('foo')); | 1600 unittest.expect(o.itemsValid, unittest.equals('foo')); |
1601 unittest.expect(o.kind, unittest.equals('foo')); | 1601 unittest.expect(o.kind, unittest.equals('foo')); |
1602 unittest.expect(o.lastUploadDate, unittest.equals('foo')); | 1602 unittest.expect(o.lastUploadDate, unittest.equals('foo')); |
1603 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1603 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1604 checkUnnamed528(o.warnings); | 1604 checkUnnamed543(o.warnings); |
1605 } | 1605 } |
1606 buildCounterDatafeedStatus--; | 1606 buildCounterDatafeedStatus--; |
1607 } | 1607 } |
1608 | 1608 |
1609 buildUnnamed529() { | 1609 buildUnnamed544() { |
1610 var o = new core.List<api.DatafeedStatusExample>(); | 1610 var o = new core.List<api.DatafeedStatusExample>(); |
1611 o.add(buildDatafeedStatusExample()); | 1611 o.add(buildDatafeedStatusExample()); |
1612 o.add(buildDatafeedStatusExample()); | 1612 o.add(buildDatafeedStatusExample()); |
1613 return o; | 1613 return o; |
1614 } | 1614 } |
1615 | 1615 |
1616 checkUnnamed529(core.List<api.DatafeedStatusExample> o) { | 1616 checkUnnamed544(core.List<api.DatafeedStatusExample> o) { |
1617 unittest.expect(o, unittest.hasLength(2)); | 1617 unittest.expect(o, unittest.hasLength(2)); |
1618 checkDatafeedStatusExample(o[0]); | 1618 checkDatafeedStatusExample(o[0]); |
1619 checkDatafeedStatusExample(o[1]); | 1619 checkDatafeedStatusExample(o[1]); |
1620 } | 1620 } |
1621 | 1621 |
1622 core.int buildCounterDatafeedStatusError = 0; | 1622 core.int buildCounterDatafeedStatusError = 0; |
1623 buildDatafeedStatusError() { | 1623 buildDatafeedStatusError() { |
1624 var o = new api.DatafeedStatusError(); | 1624 var o = new api.DatafeedStatusError(); |
1625 buildCounterDatafeedStatusError++; | 1625 buildCounterDatafeedStatusError++; |
1626 if (buildCounterDatafeedStatusError < 3) { | 1626 if (buildCounterDatafeedStatusError < 3) { |
1627 o.code = "foo"; | 1627 o.code = "foo"; |
1628 o.count = "foo"; | 1628 o.count = "foo"; |
1629 o.examples = buildUnnamed529(); | 1629 o.examples = buildUnnamed544(); |
1630 o.message = "foo"; | 1630 o.message = "foo"; |
1631 } | 1631 } |
1632 buildCounterDatafeedStatusError--; | 1632 buildCounterDatafeedStatusError--; |
1633 return o; | 1633 return o; |
1634 } | 1634 } |
1635 | 1635 |
1636 checkDatafeedStatusError(api.DatafeedStatusError o) { | 1636 checkDatafeedStatusError(api.DatafeedStatusError o) { |
1637 buildCounterDatafeedStatusError++; | 1637 buildCounterDatafeedStatusError++; |
1638 if (buildCounterDatafeedStatusError < 3) { | 1638 if (buildCounterDatafeedStatusError < 3) { |
1639 unittest.expect(o.code, unittest.equals('foo')); | 1639 unittest.expect(o.code, unittest.equals('foo')); |
1640 unittest.expect(o.count, unittest.equals('foo')); | 1640 unittest.expect(o.count, unittest.equals('foo')); |
1641 checkUnnamed529(o.examples); | 1641 checkUnnamed544(o.examples); |
1642 unittest.expect(o.message, unittest.equals('foo')); | 1642 unittest.expect(o.message, unittest.equals('foo')); |
1643 } | 1643 } |
1644 buildCounterDatafeedStatusError--; | 1644 buildCounterDatafeedStatusError--; |
1645 } | 1645 } |
1646 | 1646 |
1647 core.int buildCounterDatafeedStatusExample = 0; | 1647 core.int buildCounterDatafeedStatusExample = 0; |
1648 buildDatafeedStatusExample() { | 1648 buildDatafeedStatusExample() { |
1649 var o = new api.DatafeedStatusExample(); | 1649 var o = new api.DatafeedStatusExample(); |
1650 buildCounterDatafeedStatusExample++; | 1650 buildCounterDatafeedStatusExample++; |
1651 if (buildCounterDatafeedStatusExample < 3) { | 1651 if (buildCounterDatafeedStatusExample < 3) { |
1652 o.itemId = "foo"; | 1652 o.itemId = "foo"; |
1653 o.lineNumber = "foo"; | 1653 o.lineNumber = "foo"; |
1654 o.value = "foo"; | 1654 o.value = "foo"; |
1655 } | 1655 } |
1656 buildCounterDatafeedStatusExample--; | 1656 buildCounterDatafeedStatusExample--; |
1657 return o; | 1657 return o; |
1658 } | 1658 } |
1659 | 1659 |
1660 checkDatafeedStatusExample(api.DatafeedStatusExample o) { | 1660 checkDatafeedStatusExample(api.DatafeedStatusExample o) { |
1661 buildCounterDatafeedStatusExample++; | 1661 buildCounterDatafeedStatusExample++; |
1662 if (buildCounterDatafeedStatusExample < 3) { | 1662 if (buildCounterDatafeedStatusExample < 3) { |
1663 unittest.expect(o.itemId, unittest.equals('foo')); | 1663 unittest.expect(o.itemId, unittest.equals('foo')); |
1664 unittest.expect(o.lineNumber, unittest.equals('foo')); | 1664 unittest.expect(o.lineNumber, unittest.equals('foo')); |
1665 unittest.expect(o.value, unittest.equals('foo')); | 1665 unittest.expect(o.value, unittest.equals('foo')); |
1666 } | 1666 } |
1667 buildCounterDatafeedStatusExample--; | 1667 buildCounterDatafeedStatusExample--; |
1668 } | 1668 } |
1669 | 1669 |
1670 buildUnnamed530() { | 1670 buildUnnamed545() { |
1671 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); | 1671 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); |
1672 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1672 o.add(buildDatafeedsCustomBatchRequestEntry()); |
1673 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1673 o.add(buildDatafeedsCustomBatchRequestEntry()); |
1674 return o; | 1674 return o; |
1675 } | 1675 } |
1676 | 1676 |
1677 checkUnnamed530(core.List<api.DatafeedsCustomBatchRequestEntry> o) { | 1677 checkUnnamed545(core.List<api.DatafeedsCustomBatchRequestEntry> o) { |
1678 unittest.expect(o, unittest.hasLength(2)); | 1678 unittest.expect(o, unittest.hasLength(2)); |
1679 checkDatafeedsCustomBatchRequestEntry(o[0]); | 1679 checkDatafeedsCustomBatchRequestEntry(o[0]); |
1680 checkDatafeedsCustomBatchRequestEntry(o[1]); | 1680 checkDatafeedsCustomBatchRequestEntry(o[1]); |
1681 } | 1681 } |
1682 | 1682 |
1683 core.int buildCounterDatafeedsCustomBatchRequest = 0; | 1683 core.int buildCounterDatafeedsCustomBatchRequest = 0; |
1684 buildDatafeedsCustomBatchRequest() { | 1684 buildDatafeedsCustomBatchRequest() { |
1685 var o = new api.DatafeedsCustomBatchRequest(); | 1685 var o = new api.DatafeedsCustomBatchRequest(); |
1686 buildCounterDatafeedsCustomBatchRequest++; | 1686 buildCounterDatafeedsCustomBatchRequest++; |
1687 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1687 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
1688 o.entries = buildUnnamed530(); | 1688 o.entries = buildUnnamed545(); |
1689 } | 1689 } |
1690 buildCounterDatafeedsCustomBatchRequest--; | 1690 buildCounterDatafeedsCustomBatchRequest--; |
1691 return o; | 1691 return o; |
1692 } | 1692 } |
1693 | 1693 |
1694 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { | 1694 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { |
1695 buildCounterDatafeedsCustomBatchRequest++; | 1695 buildCounterDatafeedsCustomBatchRequest++; |
1696 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1696 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
1697 checkUnnamed530(o.entries); | 1697 checkUnnamed545(o.entries); |
1698 } | 1698 } |
1699 buildCounterDatafeedsCustomBatchRequest--; | 1699 buildCounterDatafeedsCustomBatchRequest--; |
1700 } | 1700 } |
1701 | 1701 |
1702 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; | 1702 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; |
1703 buildDatafeedsCustomBatchRequestEntry() { | 1703 buildDatafeedsCustomBatchRequestEntry() { |
1704 var o = new api.DatafeedsCustomBatchRequestEntry(); | 1704 var o = new api.DatafeedsCustomBatchRequestEntry(); |
1705 buildCounterDatafeedsCustomBatchRequestEntry++; | 1705 buildCounterDatafeedsCustomBatchRequestEntry++; |
1706 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1706 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
1707 o.batchId = 42; | 1707 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
1719 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1719 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
1720 unittest.expect(o.batchId, unittest.equals(42)); | 1720 unittest.expect(o.batchId, unittest.equals(42)); |
1721 checkDatafeed(o.datafeed); | 1721 checkDatafeed(o.datafeed); |
1722 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1722 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1723 unittest.expect(o.merchantId, unittest.equals('foo')); | 1723 unittest.expect(o.merchantId, unittest.equals('foo')); |
1724 unittest.expect(o.method, unittest.equals('foo')); | 1724 unittest.expect(o.method, unittest.equals('foo')); |
1725 } | 1725 } |
1726 buildCounterDatafeedsCustomBatchRequestEntry--; | 1726 buildCounterDatafeedsCustomBatchRequestEntry--; |
1727 } | 1727 } |
1728 | 1728 |
1729 buildUnnamed531() { | 1729 buildUnnamed546() { |
1730 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); | 1730 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); |
1731 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1731 o.add(buildDatafeedsCustomBatchResponseEntry()); |
1732 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1732 o.add(buildDatafeedsCustomBatchResponseEntry()); |
1733 return o; | 1733 return o; |
1734 } | 1734 } |
1735 | 1735 |
1736 checkUnnamed531(core.List<api.DatafeedsCustomBatchResponseEntry> o) { | 1736 checkUnnamed546(core.List<api.DatafeedsCustomBatchResponseEntry> o) { |
1737 unittest.expect(o, unittest.hasLength(2)); | 1737 unittest.expect(o, unittest.hasLength(2)); |
1738 checkDatafeedsCustomBatchResponseEntry(o[0]); | 1738 checkDatafeedsCustomBatchResponseEntry(o[0]); |
1739 checkDatafeedsCustomBatchResponseEntry(o[1]); | 1739 checkDatafeedsCustomBatchResponseEntry(o[1]); |
1740 } | 1740 } |
1741 | 1741 |
1742 core.int buildCounterDatafeedsCustomBatchResponse = 0; | 1742 core.int buildCounterDatafeedsCustomBatchResponse = 0; |
1743 buildDatafeedsCustomBatchResponse() { | 1743 buildDatafeedsCustomBatchResponse() { |
1744 var o = new api.DatafeedsCustomBatchResponse(); | 1744 var o = new api.DatafeedsCustomBatchResponse(); |
1745 buildCounterDatafeedsCustomBatchResponse++; | 1745 buildCounterDatafeedsCustomBatchResponse++; |
1746 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1746 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
1747 o.entries = buildUnnamed531(); | 1747 o.entries = buildUnnamed546(); |
1748 o.kind = "foo"; | 1748 o.kind = "foo"; |
1749 } | 1749 } |
1750 buildCounterDatafeedsCustomBatchResponse--; | 1750 buildCounterDatafeedsCustomBatchResponse--; |
1751 return o; | 1751 return o; |
1752 } | 1752 } |
1753 | 1753 |
1754 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { | 1754 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { |
1755 buildCounterDatafeedsCustomBatchResponse++; | 1755 buildCounterDatafeedsCustomBatchResponse++; |
1756 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1756 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
1757 checkUnnamed531(o.entries); | 1757 checkUnnamed546(o.entries); |
1758 unittest.expect(o.kind, unittest.equals('foo')); | 1758 unittest.expect(o.kind, unittest.equals('foo')); |
1759 } | 1759 } |
1760 buildCounterDatafeedsCustomBatchResponse--; | 1760 buildCounterDatafeedsCustomBatchResponse--; |
1761 } | 1761 } |
1762 | 1762 |
1763 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; | 1763 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; |
1764 buildDatafeedsCustomBatchResponseEntry() { | 1764 buildDatafeedsCustomBatchResponseEntry() { |
1765 var o = new api.DatafeedsCustomBatchResponseEntry(); | 1765 var o = new api.DatafeedsCustomBatchResponseEntry(); |
1766 buildCounterDatafeedsCustomBatchResponseEntry++; | 1766 buildCounterDatafeedsCustomBatchResponseEntry++; |
1767 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1767 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
1768 o.batchId = 42; | 1768 o.batchId = 42; |
1769 o.datafeed = buildDatafeed(); | 1769 o.datafeed = buildDatafeed(); |
1770 o.errors = buildErrors(); | 1770 o.errors = buildErrors(); |
1771 } | 1771 } |
1772 buildCounterDatafeedsCustomBatchResponseEntry--; | 1772 buildCounterDatafeedsCustomBatchResponseEntry--; |
1773 return o; | 1773 return o; |
1774 } | 1774 } |
1775 | 1775 |
1776 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ | 1776 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ |
1777 buildCounterDatafeedsCustomBatchResponseEntry++; | 1777 buildCounterDatafeedsCustomBatchResponseEntry++; |
1778 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1778 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
1779 unittest.expect(o.batchId, unittest.equals(42)); | 1779 unittest.expect(o.batchId, unittest.equals(42)); |
1780 checkDatafeed(o.datafeed); | 1780 checkDatafeed(o.datafeed); |
1781 checkErrors(o.errors); | 1781 checkErrors(o.errors); |
1782 } | 1782 } |
1783 buildCounterDatafeedsCustomBatchResponseEntry--; | 1783 buildCounterDatafeedsCustomBatchResponseEntry--; |
1784 } | 1784 } |
1785 | 1785 |
1786 buildUnnamed532() { | 1786 buildUnnamed547() { |
1787 var o = new core.List<api.Datafeed>(); | 1787 var o = new core.List<api.Datafeed>(); |
1788 o.add(buildDatafeed()); | 1788 o.add(buildDatafeed()); |
1789 o.add(buildDatafeed()); | 1789 o.add(buildDatafeed()); |
1790 return o; | 1790 return o; |
1791 } | 1791 } |
1792 | 1792 |
1793 checkUnnamed532(core.List<api.Datafeed> o) { | 1793 checkUnnamed547(core.List<api.Datafeed> o) { |
1794 unittest.expect(o, unittest.hasLength(2)); | 1794 unittest.expect(o, unittest.hasLength(2)); |
1795 checkDatafeed(o[0]); | 1795 checkDatafeed(o[0]); |
1796 checkDatafeed(o[1]); | 1796 checkDatafeed(o[1]); |
1797 } | 1797 } |
1798 | 1798 |
1799 core.int buildCounterDatafeedsListResponse = 0; | 1799 core.int buildCounterDatafeedsListResponse = 0; |
1800 buildDatafeedsListResponse() { | 1800 buildDatafeedsListResponse() { |
1801 var o = new api.DatafeedsListResponse(); | 1801 var o = new api.DatafeedsListResponse(); |
1802 buildCounterDatafeedsListResponse++; | 1802 buildCounterDatafeedsListResponse++; |
1803 if (buildCounterDatafeedsListResponse < 3) { | 1803 if (buildCounterDatafeedsListResponse < 3) { |
1804 o.kind = "foo"; | 1804 o.kind = "foo"; |
1805 o.nextPageToken = "foo"; | 1805 o.nextPageToken = "foo"; |
1806 o.resources = buildUnnamed532(); | 1806 o.resources = buildUnnamed547(); |
1807 } | 1807 } |
1808 buildCounterDatafeedsListResponse--; | 1808 buildCounterDatafeedsListResponse--; |
1809 return o; | 1809 return o; |
1810 } | 1810 } |
1811 | 1811 |
1812 checkDatafeedsListResponse(api.DatafeedsListResponse o) { | 1812 checkDatafeedsListResponse(api.DatafeedsListResponse o) { |
1813 buildCounterDatafeedsListResponse++; | 1813 buildCounterDatafeedsListResponse++; |
1814 if (buildCounterDatafeedsListResponse < 3) { | 1814 if (buildCounterDatafeedsListResponse < 3) { |
1815 unittest.expect(o.kind, unittest.equals('foo')); | 1815 unittest.expect(o.kind, unittest.equals('foo')); |
1816 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1816 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1817 checkUnnamed532(o.resources); | 1817 checkUnnamed547(o.resources); |
1818 } | 1818 } |
1819 buildCounterDatafeedsListResponse--; | 1819 buildCounterDatafeedsListResponse--; |
1820 } | 1820 } |
1821 | 1821 |
1822 buildUnnamed533() { | 1822 buildUnnamed548() { |
1823 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); | 1823 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); |
1824 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1824 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
1825 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1825 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
1826 return o; | 1826 return o; |
1827 } | 1827 } |
1828 | 1828 |
1829 checkUnnamed533(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { | 1829 checkUnnamed548(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { |
1830 unittest.expect(o, unittest.hasLength(2)); | 1830 unittest.expect(o, unittest.hasLength(2)); |
1831 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); | 1831 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); |
1832 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); | 1832 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); |
1833 } | 1833 } |
1834 | 1834 |
1835 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; | 1835 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; |
1836 buildDatafeedstatusesCustomBatchRequest() { | 1836 buildDatafeedstatusesCustomBatchRequest() { |
1837 var o = new api.DatafeedstatusesCustomBatchRequest(); | 1837 var o = new api.DatafeedstatusesCustomBatchRequest(); |
1838 buildCounterDatafeedstatusesCustomBatchRequest++; | 1838 buildCounterDatafeedstatusesCustomBatchRequest++; |
1839 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1839 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
1840 o.entries = buildUnnamed533(); | 1840 o.entries = buildUnnamed548(); |
1841 } | 1841 } |
1842 buildCounterDatafeedstatusesCustomBatchRequest--; | 1842 buildCounterDatafeedstatusesCustomBatchRequest--; |
1843 return o; | 1843 return o; |
1844 } | 1844 } |
1845 | 1845 |
1846 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { | 1846 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { |
1847 buildCounterDatafeedstatusesCustomBatchRequest++; | 1847 buildCounterDatafeedstatusesCustomBatchRequest++; |
1848 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1848 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
1849 checkUnnamed533(o.entries); | 1849 checkUnnamed548(o.entries); |
1850 } | 1850 } |
1851 buildCounterDatafeedstatusesCustomBatchRequest--; | 1851 buildCounterDatafeedstatusesCustomBatchRequest--; |
1852 } | 1852 } |
1853 | 1853 |
1854 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; | 1854 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; |
1855 buildDatafeedstatusesCustomBatchRequestEntry() { | 1855 buildDatafeedstatusesCustomBatchRequestEntry() { |
1856 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); | 1856 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); |
1857 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1857 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
1858 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1858 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
1859 o.batchId = 42; | 1859 o.batchId = 42; |
1860 o.datafeedId = "foo"; | 1860 o.datafeedId = "foo"; |
1861 o.merchantId = "foo"; | 1861 o.merchantId = "foo"; |
1862 o.method = "foo"; | 1862 o.method = "foo"; |
1863 } | 1863 } |
1864 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1864 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
1865 return o; | 1865 return o; |
1866 } | 1866 } |
1867 | 1867 |
1868 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { | 1868 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { |
1869 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1869 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
1870 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1870 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
1871 unittest.expect(o.batchId, unittest.equals(42)); | 1871 unittest.expect(o.batchId, unittest.equals(42)); |
1872 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1872 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1873 unittest.expect(o.merchantId, unittest.equals('foo')); | 1873 unittest.expect(o.merchantId, unittest.equals('foo')); |
1874 unittest.expect(o.method, unittest.equals('foo')); | 1874 unittest.expect(o.method, unittest.equals('foo')); |
1875 } | 1875 } |
1876 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1876 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
1877 } | 1877 } |
1878 | 1878 |
1879 buildUnnamed534() { | 1879 buildUnnamed549() { |
1880 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); | 1880 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); |
1881 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1881 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
1882 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1882 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
1883 return o; | 1883 return o; |
1884 } | 1884 } |
1885 | 1885 |
1886 checkUnnamed534(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { | 1886 checkUnnamed549(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { |
1887 unittest.expect(o, unittest.hasLength(2)); | 1887 unittest.expect(o, unittest.hasLength(2)); |
1888 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); | 1888 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); |
1889 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); | 1889 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); |
1890 } | 1890 } |
1891 | 1891 |
1892 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; | 1892 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; |
1893 buildDatafeedstatusesCustomBatchResponse() { | 1893 buildDatafeedstatusesCustomBatchResponse() { |
1894 var o = new api.DatafeedstatusesCustomBatchResponse(); | 1894 var o = new api.DatafeedstatusesCustomBatchResponse(); |
1895 buildCounterDatafeedstatusesCustomBatchResponse++; | 1895 buildCounterDatafeedstatusesCustomBatchResponse++; |
1896 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1896 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
1897 o.entries = buildUnnamed534(); | 1897 o.entries = buildUnnamed549(); |
1898 o.kind = "foo"; | 1898 o.kind = "foo"; |
1899 } | 1899 } |
1900 buildCounterDatafeedstatusesCustomBatchResponse--; | 1900 buildCounterDatafeedstatusesCustomBatchResponse--; |
1901 return o; | 1901 return o; |
1902 } | 1902 } |
1903 | 1903 |
1904 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { | 1904 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { |
1905 buildCounterDatafeedstatusesCustomBatchResponse++; | 1905 buildCounterDatafeedstatusesCustomBatchResponse++; |
1906 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1906 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
1907 checkUnnamed534(o.entries); | 1907 checkUnnamed549(o.entries); |
1908 unittest.expect(o.kind, unittest.equals('foo')); | 1908 unittest.expect(o.kind, unittest.equals('foo')); |
1909 } | 1909 } |
1910 buildCounterDatafeedstatusesCustomBatchResponse--; | 1910 buildCounterDatafeedstatusesCustomBatchResponse--; |
1911 } | 1911 } |
1912 | 1912 |
1913 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; | 1913 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; |
1914 buildDatafeedstatusesCustomBatchResponseEntry() { | 1914 buildDatafeedstatusesCustomBatchResponseEntry() { |
1915 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); | 1915 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); |
1916 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1916 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
1917 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1917 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
1918 o.batchId = 42; | 1918 o.batchId = 42; |
1919 o.datafeedStatus = buildDatafeedStatus(); | 1919 o.datafeedStatus = buildDatafeedStatus(); |
1920 o.errors = buildErrors(); | 1920 o.errors = buildErrors(); |
1921 } | 1921 } |
1922 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1922 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
1923 return o; | 1923 return o; |
1924 } | 1924 } |
1925 | 1925 |
1926 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { | 1926 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { |
1927 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1927 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
1928 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1928 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
1929 unittest.expect(o.batchId, unittest.equals(42)); | 1929 unittest.expect(o.batchId, unittest.equals(42)); |
1930 checkDatafeedStatus(o.datafeedStatus); | 1930 checkDatafeedStatus(o.datafeedStatus); |
1931 checkErrors(o.errors); | 1931 checkErrors(o.errors); |
1932 } | 1932 } |
1933 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1933 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
1934 } | 1934 } |
1935 | 1935 |
1936 buildUnnamed535() { | 1936 buildUnnamed550() { |
1937 var o = new core.List<api.DatafeedStatus>(); | 1937 var o = new core.List<api.DatafeedStatus>(); |
1938 o.add(buildDatafeedStatus()); | 1938 o.add(buildDatafeedStatus()); |
1939 o.add(buildDatafeedStatus()); | 1939 o.add(buildDatafeedStatus()); |
1940 return o; | 1940 return o; |
1941 } | 1941 } |
1942 | 1942 |
1943 checkUnnamed535(core.List<api.DatafeedStatus> o) { | 1943 checkUnnamed550(core.List<api.DatafeedStatus> o) { |
1944 unittest.expect(o, unittest.hasLength(2)); | 1944 unittest.expect(o, unittest.hasLength(2)); |
1945 checkDatafeedStatus(o[0]); | 1945 checkDatafeedStatus(o[0]); |
1946 checkDatafeedStatus(o[1]); | 1946 checkDatafeedStatus(o[1]); |
1947 } | 1947 } |
1948 | 1948 |
1949 core.int buildCounterDatafeedstatusesListResponse = 0; | 1949 core.int buildCounterDatafeedstatusesListResponse = 0; |
1950 buildDatafeedstatusesListResponse() { | 1950 buildDatafeedstatusesListResponse() { |
1951 var o = new api.DatafeedstatusesListResponse(); | 1951 var o = new api.DatafeedstatusesListResponse(); |
1952 buildCounterDatafeedstatusesListResponse++; | 1952 buildCounterDatafeedstatusesListResponse++; |
1953 if (buildCounterDatafeedstatusesListResponse < 3) { | 1953 if (buildCounterDatafeedstatusesListResponse < 3) { |
1954 o.kind = "foo"; | 1954 o.kind = "foo"; |
1955 o.nextPageToken = "foo"; | 1955 o.nextPageToken = "foo"; |
1956 o.resources = buildUnnamed535(); | 1956 o.resources = buildUnnamed550(); |
1957 } | 1957 } |
1958 buildCounterDatafeedstatusesListResponse--; | 1958 buildCounterDatafeedstatusesListResponse--; |
1959 return o; | 1959 return o; |
1960 } | 1960 } |
1961 | 1961 |
1962 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { | 1962 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { |
1963 buildCounterDatafeedstatusesListResponse++; | 1963 buildCounterDatafeedstatusesListResponse++; |
1964 if (buildCounterDatafeedstatusesListResponse < 3) { | 1964 if (buildCounterDatafeedstatusesListResponse < 3) { |
1965 unittest.expect(o.kind, unittest.equals('foo')); | 1965 unittest.expect(o.kind, unittest.equals('foo')); |
1966 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1966 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1967 checkUnnamed535(o.resources); | 1967 checkUnnamed550(o.resources); |
1968 } | 1968 } |
1969 buildCounterDatafeedstatusesListResponse--; | 1969 buildCounterDatafeedstatusesListResponse--; |
1970 } | 1970 } |
1971 | 1971 |
1972 core.int buildCounterDeliveryTime = 0; | 1972 core.int buildCounterDeliveryTime = 0; |
1973 buildDeliveryTime() { | 1973 buildDeliveryTime() { |
1974 var o = new api.DeliveryTime(); | 1974 var o = new api.DeliveryTime(); |
1975 buildCounterDeliveryTime++; | 1975 buildCounterDeliveryTime++; |
1976 if (buildCounterDeliveryTime < 3) { | 1976 if (buildCounterDeliveryTime < 3) { |
1977 o.maxTransitTimeInDays = 42; | 1977 o.maxTransitTimeInDays = 42; |
(...skipping 28 matching lines...) Expand all Loading... |
2006 checkError(api.Error o) { | 2006 checkError(api.Error o) { |
2007 buildCounterError++; | 2007 buildCounterError++; |
2008 if (buildCounterError < 3) { | 2008 if (buildCounterError < 3) { |
2009 unittest.expect(o.domain, unittest.equals('foo')); | 2009 unittest.expect(o.domain, unittest.equals('foo')); |
2010 unittest.expect(o.message, unittest.equals('foo')); | 2010 unittest.expect(o.message, unittest.equals('foo')); |
2011 unittest.expect(o.reason, unittest.equals('foo')); | 2011 unittest.expect(o.reason, unittest.equals('foo')); |
2012 } | 2012 } |
2013 buildCounterError--; | 2013 buildCounterError--; |
2014 } | 2014 } |
2015 | 2015 |
2016 buildUnnamed536() { | 2016 buildUnnamed551() { |
2017 var o = new core.List<api.Error>(); | 2017 var o = new core.List<api.Error>(); |
2018 o.add(buildError()); | 2018 o.add(buildError()); |
2019 o.add(buildError()); | 2019 o.add(buildError()); |
2020 return o; | 2020 return o; |
2021 } | 2021 } |
2022 | 2022 |
2023 checkUnnamed536(core.List<api.Error> o) { | 2023 checkUnnamed551(core.List<api.Error> o) { |
2024 unittest.expect(o, unittest.hasLength(2)); | 2024 unittest.expect(o, unittest.hasLength(2)); |
2025 checkError(o[0]); | 2025 checkError(o[0]); |
2026 checkError(o[1]); | 2026 checkError(o[1]); |
2027 } | 2027 } |
2028 | 2028 |
2029 core.int buildCounterErrors = 0; | 2029 core.int buildCounterErrors = 0; |
2030 buildErrors() { | 2030 buildErrors() { |
2031 var o = new api.Errors(); | 2031 var o = new api.Errors(); |
2032 buildCounterErrors++; | 2032 buildCounterErrors++; |
2033 if (buildCounterErrors < 3) { | 2033 if (buildCounterErrors < 3) { |
2034 o.code = 42; | 2034 o.code = 42; |
2035 o.errors = buildUnnamed536(); | 2035 o.errors = buildUnnamed551(); |
2036 o.message = "foo"; | 2036 o.message = "foo"; |
2037 } | 2037 } |
2038 buildCounterErrors--; | 2038 buildCounterErrors--; |
2039 return o; | 2039 return o; |
2040 } | 2040 } |
2041 | 2041 |
2042 checkErrors(api.Errors o) { | 2042 checkErrors(api.Errors o) { |
2043 buildCounterErrors++; | 2043 buildCounterErrors++; |
2044 if (buildCounterErrors < 3) { | 2044 if (buildCounterErrors < 3) { |
2045 unittest.expect(o.code, unittest.equals(42)); | 2045 unittest.expect(o.code, unittest.equals(42)); |
2046 checkUnnamed536(o.errors); | 2046 checkUnnamed551(o.errors); |
2047 unittest.expect(o.message, unittest.equals('foo')); | 2047 unittest.expect(o.message, unittest.equals('foo')); |
2048 } | 2048 } |
2049 buildCounterErrors--; | 2049 buildCounterErrors--; |
2050 } | 2050 } |
2051 | 2051 |
2052 buildUnnamed537() { | 2052 buildUnnamed552() { |
2053 var o = new core.List<api.LocationIdSet>(); | 2053 var o = new core.List<api.LocationIdSet>(); |
2054 o.add(buildLocationIdSet()); | 2054 o.add(buildLocationIdSet()); |
2055 o.add(buildLocationIdSet()); | 2055 o.add(buildLocationIdSet()); |
2056 return o; | 2056 return o; |
2057 } | 2057 } |
2058 | 2058 |
2059 checkUnnamed537(core.List<api.LocationIdSet> o) { | 2059 checkUnnamed552(core.List<api.LocationIdSet> o) { |
2060 unittest.expect(o, unittest.hasLength(2)); | 2060 unittest.expect(o, unittest.hasLength(2)); |
2061 checkLocationIdSet(o[0]); | 2061 checkLocationIdSet(o[0]); |
2062 checkLocationIdSet(o[1]); | 2062 checkLocationIdSet(o[1]); |
2063 } | 2063 } |
2064 | 2064 |
2065 buildUnnamed538() { | 2065 buildUnnamed553() { |
2066 var o = new core.List<core.String>(); | 2066 var o = new core.List<core.String>(); |
2067 o.add("foo"); | 2067 o.add("foo"); |
2068 o.add("foo"); | 2068 o.add("foo"); |
2069 return o; | 2069 return o; |
2070 } | 2070 } |
2071 | 2071 |
2072 checkUnnamed538(core.List<core.String> o) { | 2072 checkUnnamed553(core.List<core.String> o) { |
2073 unittest.expect(o, unittest.hasLength(2)); | 2073 unittest.expect(o, unittest.hasLength(2)); |
2074 unittest.expect(o[0], unittest.equals('foo')); | 2074 unittest.expect(o[0], unittest.equals('foo')); |
2075 unittest.expect(o[1], unittest.equals('foo')); | 2075 unittest.expect(o[1], unittest.equals('foo')); |
2076 } | 2076 } |
2077 | 2077 |
2078 buildUnnamed539() { | 2078 buildUnnamed554() { |
2079 var o = new core.List<core.String>(); | 2079 var o = new core.List<core.String>(); |
2080 o.add("foo"); | 2080 o.add("foo"); |
2081 o.add("foo"); | 2081 o.add("foo"); |
2082 return o; | 2082 return o; |
2083 } | 2083 } |
2084 | 2084 |
2085 checkUnnamed539(core.List<core.String> o) { | 2085 checkUnnamed554(core.List<core.String> o) { |
2086 unittest.expect(o, unittest.hasLength(2)); | 2086 unittest.expect(o, unittest.hasLength(2)); |
2087 unittest.expect(o[0], unittest.equals('foo')); | 2087 unittest.expect(o[0], unittest.equals('foo')); |
2088 unittest.expect(o[1], unittest.equals('foo')); | 2088 unittest.expect(o[1], unittest.equals('foo')); |
2089 } | 2089 } |
2090 | 2090 |
2091 buildUnnamed540() { | 2091 buildUnnamed555() { |
2092 var o = new core.List<api.Price>(); | 2092 var o = new core.List<api.Price>(); |
2093 o.add(buildPrice()); | 2093 o.add(buildPrice()); |
2094 o.add(buildPrice()); | 2094 o.add(buildPrice()); |
2095 return o; | 2095 return o; |
2096 } | 2096 } |
2097 | 2097 |
2098 checkUnnamed540(core.List<api.Price> o) { | 2098 checkUnnamed555(core.List<api.Price> o) { |
2099 unittest.expect(o, unittest.hasLength(2)); | 2099 unittest.expect(o, unittest.hasLength(2)); |
2100 checkPrice(o[0]); | 2100 checkPrice(o[0]); |
2101 checkPrice(o[1]); | 2101 checkPrice(o[1]); |
2102 } | 2102 } |
2103 | 2103 |
2104 buildUnnamed541() { | 2104 buildUnnamed556() { |
2105 var o = new core.List<api.Weight>(); | 2105 var o = new core.List<api.Weight>(); |
2106 o.add(buildWeight()); | 2106 o.add(buildWeight()); |
2107 o.add(buildWeight()); | 2107 o.add(buildWeight()); |
2108 return o; | 2108 return o; |
2109 } | 2109 } |
2110 | 2110 |
2111 checkUnnamed541(core.List<api.Weight> o) { | 2111 checkUnnamed556(core.List<api.Weight> o) { |
2112 unittest.expect(o, unittest.hasLength(2)); | 2112 unittest.expect(o, unittest.hasLength(2)); |
2113 checkWeight(o[0]); | 2113 checkWeight(o[0]); |
2114 checkWeight(o[1]); | 2114 checkWeight(o[1]); |
2115 } | 2115 } |
2116 | 2116 |
2117 core.int buildCounterHeaders = 0; | 2117 core.int buildCounterHeaders = 0; |
2118 buildHeaders() { | 2118 buildHeaders() { |
2119 var o = new api.Headers(); | 2119 var o = new api.Headers(); |
2120 buildCounterHeaders++; | 2120 buildCounterHeaders++; |
2121 if (buildCounterHeaders < 3) { | 2121 if (buildCounterHeaders < 3) { |
2122 o.locations = buildUnnamed537(); | 2122 o.locations = buildUnnamed552(); |
2123 o.numberOfItems = buildUnnamed538(); | 2123 o.numberOfItems = buildUnnamed553(); |
2124 o.postalCodeGroupNames = buildUnnamed539(); | 2124 o.postalCodeGroupNames = buildUnnamed554(); |
2125 o.prices = buildUnnamed540(); | 2125 o.prices = buildUnnamed555(); |
2126 o.weights = buildUnnamed541(); | 2126 o.weights = buildUnnamed556(); |
2127 } | 2127 } |
2128 buildCounterHeaders--; | 2128 buildCounterHeaders--; |
2129 return o; | 2129 return o; |
2130 } | 2130 } |
2131 | 2131 |
2132 checkHeaders(api.Headers o) { | 2132 checkHeaders(api.Headers o) { |
2133 buildCounterHeaders++; | 2133 buildCounterHeaders++; |
2134 if (buildCounterHeaders < 3) { | 2134 if (buildCounterHeaders < 3) { |
2135 checkUnnamed537(o.locations); | 2135 checkUnnamed552(o.locations); |
2136 checkUnnamed538(o.numberOfItems); | 2136 checkUnnamed553(o.numberOfItems); |
2137 checkUnnamed539(o.postalCodeGroupNames); | 2137 checkUnnamed554(o.postalCodeGroupNames); |
2138 checkUnnamed540(o.prices); | 2138 checkUnnamed555(o.prices); |
2139 checkUnnamed541(o.weights); | 2139 checkUnnamed556(o.weights); |
2140 } | 2140 } |
2141 buildCounterHeaders--; | 2141 buildCounterHeaders--; |
2142 } | 2142 } |
2143 | 2143 |
2144 core.int buildCounterInstallment = 0; | 2144 core.int buildCounterInstallment = 0; |
2145 buildInstallment() { | 2145 buildInstallment() { |
2146 var o = new api.Installment(); | 2146 var o = new api.Installment(); |
2147 buildCounterInstallment++; | 2147 buildCounterInstallment++; |
2148 if (buildCounterInstallment < 3) { | 2148 if (buildCounterInstallment < 3) { |
2149 o.amount = buildPrice(); | 2149 o.amount = buildPrice(); |
(...skipping 14 matching lines...) Expand all Loading... |
2164 | 2164 |
2165 core.int buildCounterInventory = 0; | 2165 core.int buildCounterInventory = 0; |
2166 buildInventory() { | 2166 buildInventory() { |
2167 var o = new api.Inventory(); | 2167 var o = new api.Inventory(); |
2168 buildCounterInventory++; | 2168 buildCounterInventory++; |
2169 if (buildCounterInventory < 3) { | 2169 if (buildCounterInventory < 3) { |
2170 o.availability = "foo"; | 2170 o.availability = "foo"; |
2171 o.installment = buildInstallment(); | 2171 o.installment = buildInstallment(); |
2172 o.kind = "foo"; | 2172 o.kind = "foo"; |
2173 o.loyaltyPoints = buildLoyaltyPoints(); | 2173 o.loyaltyPoints = buildLoyaltyPoints(); |
| 2174 o.pickup = buildInventoryPickup(); |
2174 o.price = buildPrice(); | 2175 o.price = buildPrice(); |
2175 o.quantity = 42; | 2176 o.quantity = 42; |
2176 o.salePrice = buildPrice(); | 2177 o.salePrice = buildPrice(); |
2177 o.salePriceEffectiveDate = "foo"; | 2178 o.salePriceEffectiveDate = "foo"; |
2178 o.sellOnGoogleQuantity = 42; | 2179 o.sellOnGoogleQuantity = 42; |
2179 } | 2180 } |
2180 buildCounterInventory--; | 2181 buildCounterInventory--; |
2181 return o; | 2182 return o; |
2182 } | 2183 } |
2183 | 2184 |
2184 checkInventory(api.Inventory o) { | 2185 checkInventory(api.Inventory o) { |
2185 buildCounterInventory++; | 2186 buildCounterInventory++; |
2186 if (buildCounterInventory < 3) { | 2187 if (buildCounterInventory < 3) { |
2187 unittest.expect(o.availability, unittest.equals('foo')); | 2188 unittest.expect(o.availability, unittest.equals('foo')); |
2188 checkInstallment(o.installment); | 2189 checkInstallment(o.installment); |
2189 unittest.expect(o.kind, unittest.equals('foo')); | 2190 unittest.expect(o.kind, unittest.equals('foo')); |
2190 checkLoyaltyPoints(o.loyaltyPoints); | 2191 checkLoyaltyPoints(o.loyaltyPoints); |
| 2192 checkInventoryPickup(o.pickup); |
2191 checkPrice(o.price); | 2193 checkPrice(o.price); |
2192 unittest.expect(o.quantity, unittest.equals(42)); | 2194 unittest.expect(o.quantity, unittest.equals(42)); |
2193 checkPrice(o.salePrice); | 2195 checkPrice(o.salePrice); |
2194 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 2196 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
2195 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 2197 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
2196 } | 2198 } |
2197 buildCounterInventory--; | 2199 buildCounterInventory--; |
2198 } | 2200 } |
2199 | 2201 |
2200 buildUnnamed542() { | 2202 buildUnnamed557() { |
2201 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); | 2203 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); |
2202 o.add(buildInventoryCustomBatchRequestEntry()); | 2204 o.add(buildInventoryCustomBatchRequestEntry()); |
2203 o.add(buildInventoryCustomBatchRequestEntry()); | 2205 o.add(buildInventoryCustomBatchRequestEntry()); |
2204 return o; | 2206 return o; |
2205 } | 2207 } |
2206 | 2208 |
2207 checkUnnamed542(core.List<api.InventoryCustomBatchRequestEntry> o) { | 2209 checkUnnamed557(core.List<api.InventoryCustomBatchRequestEntry> o) { |
2208 unittest.expect(o, unittest.hasLength(2)); | 2210 unittest.expect(o, unittest.hasLength(2)); |
2209 checkInventoryCustomBatchRequestEntry(o[0]); | 2211 checkInventoryCustomBatchRequestEntry(o[0]); |
2210 checkInventoryCustomBatchRequestEntry(o[1]); | 2212 checkInventoryCustomBatchRequestEntry(o[1]); |
2211 } | 2213 } |
2212 | 2214 |
2213 core.int buildCounterInventoryCustomBatchRequest = 0; | 2215 core.int buildCounterInventoryCustomBatchRequest = 0; |
2214 buildInventoryCustomBatchRequest() { | 2216 buildInventoryCustomBatchRequest() { |
2215 var o = new api.InventoryCustomBatchRequest(); | 2217 var o = new api.InventoryCustomBatchRequest(); |
2216 buildCounterInventoryCustomBatchRequest++; | 2218 buildCounterInventoryCustomBatchRequest++; |
2217 if (buildCounterInventoryCustomBatchRequest < 3) { | 2219 if (buildCounterInventoryCustomBatchRequest < 3) { |
2218 o.entries = buildUnnamed542(); | 2220 o.entries = buildUnnamed557(); |
2219 } | 2221 } |
2220 buildCounterInventoryCustomBatchRequest--; | 2222 buildCounterInventoryCustomBatchRequest--; |
2221 return o; | 2223 return o; |
2222 } | 2224 } |
2223 | 2225 |
2224 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { | 2226 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { |
2225 buildCounterInventoryCustomBatchRequest++; | 2227 buildCounterInventoryCustomBatchRequest++; |
2226 if (buildCounterInventoryCustomBatchRequest < 3) { | 2228 if (buildCounterInventoryCustomBatchRequest < 3) { |
2227 checkUnnamed542(o.entries); | 2229 checkUnnamed557(o.entries); |
2228 } | 2230 } |
2229 buildCounterInventoryCustomBatchRequest--; | 2231 buildCounterInventoryCustomBatchRequest--; |
2230 } | 2232 } |
2231 | 2233 |
2232 core.int buildCounterInventoryCustomBatchRequestEntry = 0; | 2234 core.int buildCounterInventoryCustomBatchRequestEntry = 0; |
2233 buildInventoryCustomBatchRequestEntry() { | 2235 buildInventoryCustomBatchRequestEntry() { |
2234 var o = new api.InventoryCustomBatchRequestEntry(); | 2236 var o = new api.InventoryCustomBatchRequestEntry(); |
2235 buildCounterInventoryCustomBatchRequestEntry++; | 2237 buildCounterInventoryCustomBatchRequestEntry++; |
2236 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2238 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
2237 o.batchId = 42; | 2239 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
2249 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2251 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
2250 unittest.expect(o.batchId, unittest.equals(42)); | 2252 unittest.expect(o.batchId, unittest.equals(42)); |
2251 checkInventory(o.inventory); | 2253 checkInventory(o.inventory); |
2252 unittest.expect(o.merchantId, unittest.equals('foo')); | 2254 unittest.expect(o.merchantId, unittest.equals('foo')); |
2253 unittest.expect(o.productId, unittest.equals('foo')); | 2255 unittest.expect(o.productId, unittest.equals('foo')); |
2254 unittest.expect(o.storeCode, unittest.equals('foo')); | 2256 unittest.expect(o.storeCode, unittest.equals('foo')); |
2255 } | 2257 } |
2256 buildCounterInventoryCustomBatchRequestEntry--; | 2258 buildCounterInventoryCustomBatchRequestEntry--; |
2257 } | 2259 } |
2258 | 2260 |
2259 buildUnnamed543() { | 2261 buildUnnamed558() { |
2260 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); | 2262 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); |
2261 o.add(buildInventoryCustomBatchResponseEntry()); | 2263 o.add(buildInventoryCustomBatchResponseEntry()); |
2262 o.add(buildInventoryCustomBatchResponseEntry()); | 2264 o.add(buildInventoryCustomBatchResponseEntry()); |
2263 return o; | 2265 return o; |
2264 } | 2266 } |
2265 | 2267 |
2266 checkUnnamed543(core.List<api.InventoryCustomBatchResponseEntry> o) { | 2268 checkUnnamed558(core.List<api.InventoryCustomBatchResponseEntry> o) { |
2267 unittest.expect(o, unittest.hasLength(2)); | 2269 unittest.expect(o, unittest.hasLength(2)); |
2268 checkInventoryCustomBatchResponseEntry(o[0]); | 2270 checkInventoryCustomBatchResponseEntry(o[0]); |
2269 checkInventoryCustomBatchResponseEntry(o[1]); | 2271 checkInventoryCustomBatchResponseEntry(o[1]); |
2270 } | 2272 } |
2271 | 2273 |
2272 core.int buildCounterInventoryCustomBatchResponse = 0; | 2274 core.int buildCounterInventoryCustomBatchResponse = 0; |
2273 buildInventoryCustomBatchResponse() { | 2275 buildInventoryCustomBatchResponse() { |
2274 var o = new api.InventoryCustomBatchResponse(); | 2276 var o = new api.InventoryCustomBatchResponse(); |
2275 buildCounterInventoryCustomBatchResponse++; | 2277 buildCounterInventoryCustomBatchResponse++; |
2276 if (buildCounterInventoryCustomBatchResponse < 3) { | 2278 if (buildCounterInventoryCustomBatchResponse < 3) { |
2277 o.entries = buildUnnamed543(); | 2279 o.entries = buildUnnamed558(); |
2278 o.kind = "foo"; | 2280 o.kind = "foo"; |
2279 } | 2281 } |
2280 buildCounterInventoryCustomBatchResponse--; | 2282 buildCounterInventoryCustomBatchResponse--; |
2281 return o; | 2283 return o; |
2282 } | 2284 } |
2283 | 2285 |
2284 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { | 2286 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { |
2285 buildCounterInventoryCustomBatchResponse++; | 2287 buildCounterInventoryCustomBatchResponse++; |
2286 if (buildCounterInventoryCustomBatchResponse < 3) { | 2288 if (buildCounterInventoryCustomBatchResponse < 3) { |
2287 checkUnnamed543(o.entries); | 2289 checkUnnamed558(o.entries); |
2288 unittest.expect(o.kind, unittest.equals('foo')); | 2290 unittest.expect(o.kind, unittest.equals('foo')); |
2289 } | 2291 } |
2290 buildCounterInventoryCustomBatchResponse--; | 2292 buildCounterInventoryCustomBatchResponse--; |
2291 } | 2293 } |
2292 | 2294 |
2293 core.int buildCounterInventoryCustomBatchResponseEntry = 0; | 2295 core.int buildCounterInventoryCustomBatchResponseEntry = 0; |
2294 buildInventoryCustomBatchResponseEntry() { | 2296 buildInventoryCustomBatchResponseEntry() { |
2295 var o = new api.InventoryCustomBatchResponseEntry(); | 2297 var o = new api.InventoryCustomBatchResponseEntry(); |
2296 buildCounterInventoryCustomBatchResponseEntry++; | 2298 buildCounterInventoryCustomBatchResponseEntry++; |
2297 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 2299 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
2298 o.batchId = 42; | 2300 o.batchId = 42; |
2299 o.errors = buildErrors(); | 2301 o.errors = buildErrors(); |
2300 o.kind = "foo"; | 2302 o.kind = "foo"; |
2301 } | 2303 } |
2302 buildCounterInventoryCustomBatchResponseEntry--; | 2304 buildCounterInventoryCustomBatchResponseEntry--; |
2303 return o; | 2305 return o; |
2304 } | 2306 } |
2305 | 2307 |
2306 checkInventoryCustomBatchResponseEntry(api.InventoryCustomBatchResponseEntry o)
{ | 2308 checkInventoryCustomBatchResponseEntry(api.InventoryCustomBatchResponseEntry o)
{ |
2307 buildCounterInventoryCustomBatchResponseEntry++; | 2309 buildCounterInventoryCustomBatchResponseEntry++; |
2308 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 2310 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
2309 unittest.expect(o.batchId, unittest.equals(42)); | 2311 unittest.expect(o.batchId, unittest.equals(42)); |
2310 checkErrors(o.errors); | 2312 checkErrors(o.errors); |
2311 unittest.expect(o.kind, unittest.equals('foo')); | 2313 unittest.expect(o.kind, unittest.equals('foo')); |
2312 } | 2314 } |
2313 buildCounterInventoryCustomBatchResponseEntry--; | 2315 buildCounterInventoryCustomBatchResponseEntry--; |
2314 } | 2316 } |
2315 | 2317 |
| 2318 core.int buildCounterInventoryPickup = 0; |
| 2319 buildInventoryPickup() { |
| 2320 var o = new api.InventoryPickup(); |
| 2321 buildCounterInventoryPickup++; |
| 2322 if (buildCounterInventoryPickup < 3) { |
| 2323 o.pickupMethod = "foo"; |
| 2324 o.pickupSla = "foo"; |
| 2325 } |
| 2326 buildCounterInventoryPickup--; |
| 2327 return o; |
| 2328 } |
| 2329 |
| 2330 checkInventoryPickup(api.InventoryPickup o) { |
| 2331 buildCounterInventoryPickup++; |
| 2332 if (buildCounterInventoryPickup < 3) { |
| 2333 unittest.expect(o.pickupMethod, unittest.equals('foo')); |
| 2334 unittest.expect(o.pickupSla, unittest.equals('foo')); |
| 2335 } |
| 2336 buildCounterInventoryPickup--; |
| 2337 } |
| 2338 |
2316 core.int buildCounterInventorySetRequest = 0; | 2339 core.int buildCounterInventorySetRequest = 0; |
2317 buildInventorySetRequest() { | 2340 buildInventorySetRequest() { |
2318 var o = new api.InventorySetRequest(); | 2341 var o = new api.InventorySetRequest(); |
2319 buildCounterInventorySetRequest++; | 2342 buildCounterInventorySetRequest++; |
2320 if (buildCounterInventorySetRequest < 3) { | 2343 if (buildCounterInventorySetRequest < 3) { |
2321 o.availability = "foo"; | 2344 o.availability = "foo"; |
2322 o.installment = buildInstallment(); | 2345 o.installment = buildInstallment(); |
2323 o.loyaltyPoints = buildLoyaltyPoints(); | 2346 o.loyaltyPoints = buildLoyaltyPoints(); |
| 2347 o.pickup = buildInventoryPickup(); |
2324 o.price = buildPrice(); | 2348 o.price = buildPrice(); |
2325 o.quantity = 42; | 2349 o.quantity = 42; |
2326 o.salePrice = buildPrice(); | 2350 o.salePrice = buildPrice(); |
2327 o.salePriceEffectiveDate = "foo"; | 2351 o.salePriceEffectiveDate = "foo"; |
2328 o.sellOnGoogleQuantity = 42; | 2352 o.sellOnGoogleQuantity = 42; |
2329 } | 2353 } |
2330 buildCounterInventorySetRequest--; | 2354 buildCounterInventorySetRequest--; |
2331 return o; | 2355 return o; |
2332 } | 2356 } |
2333 | 2357 |
2334 checkInventorySetRequest(api.InventorySetRequest o) { | 2358 checkInventorySetRequest(api.InventorySetRequest o) { |
2335 buildCounterInventorySetRequest++; | 2359 buildCounterInventorySetRequest++; |
2336 if (buildCounterInventorySetRequest < 3) { | 2360 if (buildCounterInventorySetRequest < 3) { |
2337 unittest.expect(o.availability, unittest.equals('foo')); | 2361 unittest.expect(o.availability, unittest.equals('foo')); |
2338 checkInstallment(o.installment); | 2362 checkInstallment(o.installment); |
2339 checkLoyaltyPoints(o.loyaltyPoints); | 2363 checkLoyaltyPoints(o.loyaltyPoints); |
| 2364 checkInventoryPickup(o.pickup); |
2340 checkPrice(o.price); | 2365 checkPrice(o.price); |
2341 unittest.expect(o.quantity, unittest.equals(42)); | 2366 unittest.expect(o.quantity, unittest.equals(42)); |
2342 checkPrice(o.salePrice); | 2367 checkPrice(o.salePrice); |
2343 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 2368 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
2344 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 2369 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
2345 } | 2370 } |
2346 buildCounterInventorySetRequest--; | 2371 buildCounterInventorySetRequest--; |
2347 } | 2372 } |
2348 | 2373 |
2349 core.int buildCounterInventorySetResponse = 0; | 2374 core.int buildCounterInventorySetResponse = 0; |
2350 buildInventorySetResponse() { | 2375 buildInventorySetResponse() { |
2351 var o = new api.InventorySetResponse(); | 2376 var o = new api.InventorySetResponse(); |
2352 buildCounterInventorySetResponse++; | 2377 buildCounterInventorySetResponse++; |
2353 if (buildCounterInventorySetResponse < 3) { | 2378 if (buildCounterInventorySetResponse < 3) { |
2354 o.kind = "foo"; | 2379 o.kind = "foo"; |
2355 } | 2380 } |
2356 buildCounterInventorySetResponse--; | 2381 buildCounterInventorySetResponse--; |
2357 return o; | 2382 return o; |
2358 } | 2383 } |
2359 | 2384 |
2360 checkInventorySetResponse(api.InventorySetResponse o) { | 2385 checkInventorySetResponse(api.InventorySetResponse o) { |
2361 buildCounterInventorySetResponse++; | 2386 buildCounterInventorySetResponse++; |
2362 if (buildCounterInventorySetResponse < 3) { | 2387 if (buildCounterInventorySetResponse < 3) { |
2363 unittest.expect(o.kind, unittest.equals('foo')); | 2388 unittest.expect(o.kind, unittest.equals('foo')); |
2364 } | 2389 } |
2365 buildCounterInventorySetResponse--; | 2390 buildCounterInventorySetResponse--; |
2366 } | 2391 } |
2367 | 2392 |
2368 buildUnnamed544() { | 2393 buildUnnamed559() { |
2369 var o = new core.List<core.String>(); | 2394 var o = new core.List<core.String>(); |
2370 o.add("foo"); | 2395 o.add("foo"); |
2371 o.add("foo"); | 2396 o.add("foo"); |
2372 return o; | 2397 return o; |
2373 } | 2398 } |
2374 | 2399 |
2375 checkUnnamed544(core.List<core.String> o) { | 2400 checkUnnamed559(core.List<core.String> o) { |
2376 unittest.expect(o, unittest.hasLength(2)); | 2401 unittest.expect(o, unittest.hasLength(2)); |
2377 unittest.expect(o[0], unittest.equals('foo')); | 2402 unittest.expect(o[0], unittest.equals('foo')); |
2378 unittest.expect(o[1], unittest.equals('foo')); | 2403 unittest.expect(o[1], unittest.equals('foo')); |
2379 } | 2404 } |
2380 | 2405 |
2381 core.int buildCounterLocationIdSet = 0; | 2406 core.int buildCounterLocationIdSet = 0; |
2382 buildLocationIdSet() { | 2407 buildLocationIdSet() { |
2383 var o = new api.LocationIdSet(); | 2408 var o = new api.LocationIdSet(); |
2384 buildCounterLocationIdSet++; | 2409 buildCounterLocationIdSet++; |
2385 if (buildCounterLocationIdSet < 3) { | 2410 if (buildCounterLocationIdSet < 3) { |
2386 o.locationIds = buildUnnamed544(); | 2411 o.locationIds = buildUnnamed559(); |
2387 } | 2412 } |
2388 buildCounterLocationIdSet--; | 2413 buildCounterLocationIdSet--; |
2389 return o; | 2414 return o; |
2390 } | 2415 } |
2391 | 2416 |
2392 checkLocationIdSet(api.LocationIdSet o) { | 2417 checkLocationIdSet(api.LocationIdSet o) { |
2393 buildCounterLocationIdSet++; | 2418 buildCounterLocationIdSet++; |
2394 if (buildCounterLocationIdSet < 3) { | 2419 if (buildCounterLocationIdSet < 3) { |
2395 checkUnnamed544(o.locationIds); | 2420 checkUnnamed559(o.locationIds); |
2396 } | 2421 } |
2397 buildCounterLocationIdSet--; | 2422 buildCounterLocationIdSet--; |
2398 } | 2423 } |
2399 | 2424 |
2400 core.int buildCounterLoyaltyPoints = 0; | 2425 core.int buildCounterLoyaltyPoints = 0; |
2401 buildLoyaltyPoints() { | 2426 buildLoyaltyPoints() { |
2402 var o = new api.LoyaltyPoints(); | 2427 var o = new api.LoyaltyPoints(); |
2403 buildCounterLoyaltyPoints++; | 2428 buildCounterLoyaltyPoints++; |
2404 if (buildCounterLoyaltyPoints < 3) { | 2429 if (buildCounterLoyaltyPoints < 3) { |
2405 o.name = "foo"; | 2430 o.name = "foo"; |
2406 o.pointsValue = "foo"; | 2431 o.pointsValue = "foo"; |
2407 o.ratio = 42.0; | 2432 o.ratio = 42.0; |
2408 } | 2433 } |
2409 buildCounterLoyaltyPoints--; | 2434 buildCounterLoyaltyPoints--; |
2410 return o; | 2435 return o; |
2411 } | 2436 } |
2412 | 2437 |
2413 checkLoyaltyPoints(api.LoyaltyPoints o) { | 2438 checkLoyaltyPoints(api.LoyaltyPoints o) { |
2414 buildCounterLoyaltyPoints++; | 2439 buildCounterLoyaltyPoints++; |
2415 if (buildCounterLoyaltyPoints < 3) { | 2440 if (buildCounterLoyaltyPoints < 3) { |
2416 unittest.expect(o.name, unittest.equals('foo')); | 2441 unittest.expect(o.name, unittest.equals('foo')); |
2417 unittest.expect(o.pointsValue, unittest.equals('foo')); | 2442 unittest.expect(o.pointsValue, unittest.equals('foo')); |
2418 unittest.expect(o.ratio, unittest.equals(42.0)); | 2443 unittest.expect(o.ratio, unittest.equals(42.0)); |
2419 } | 2444 } |
2420 buildCounterLoyaltyPoints--; | 2445 buildCounterLoyaltyPoints--; |
2421 } | 2446 } |
2422 | 2447 |
2423 buildUnnamed545() { | 2448 buildUnnamed560() { |
2424 var o = new core.List<api.OrderLineItem>(); | 2449 var o = new core.List<api.OrderLineItem>(); |
2425 o.add(buildOrderLineItem()); | 2450 o.add(buildOrderLineItem()); |
2426 o.add(buildOrderLineItem()); | 2451 o.add(buildOrderLineItem()); |
2427 return o; | 2452 return o; |
2428 } | 2453 } |
2429 | 2454 |
2430 checkUnnamed545(core.List<api.OrderLineItem> o) { | 2455 checkUnnamed560(core.List<api.OrderLineItem> o) { |
2431 unittest.expect(o, unittest.hasLength(2)); | 2456 unittest.expect(o, unittest.hasLength(2)); |
2432 checkOrderLineItem(o[0]); | 2457 checkOrderLineItem(o[0]); |
2433 checkOrderLineItem(o[1]); | 2458 checkOrderLineItem(o[1]); |
2434 } | 2459 } |
2435 | 2460 |
2436 buildUnnamed546() { | 2461 buildUnnamed561() { |
2437 var o = new core.List<api.OrderPromotion>(); | 2462 var o = new core.List<api.OrderPromotion>(); |
2438 o.add(buildOrderPromotion()); | 2463 o.add(buildOrderPromotion()); |
2439 o.add(buildOrderPromotion()); | 2464 o.add(buildOrderPromotion()); |
2440 return o; | 2465 return o; |
2441 } | 2466 } |
2442 | 2467 |
2443 checkUnnamed546(core.List<api.OrderPromotion> o) { | 2468 checkUnnamed561(core.List<api.OrderPromotion> o) { |
2444 unittest.expect(o, unittest.hasLength(2)); | 2469 unittest.expect(o, unittest.hasLength(2)); |
2445 checkOrderPromotion(o[0]); | 2470 checkOrderPromotion(o[0]); |
2446 checkOrderPromotion(o[1]); | 2471 checkOrderPromotion(o[1]); |
2447 } | 2472 } |
2448 | 2473 |
2449 buildUnnamed547() { | 2474 buildUnnamed562() { |
2450 var o = new core.List<api.OrderRefund>(); | 2475 var o = new core.List<api.OrderRefund>(); |
2451 o.add(buildOrderRefund()); | 2476 o.add(buildOrderRefund()); |
2452 o.add(buildOrderRefund()); | 2477 o.add(buildOrderRefund()); |
2453 return o; | 2478 return o; |
2454 } | 2479 } |
2455 | 2480 |
2456 checkUnnamed547(core.List<api.OrderRefund> o) { | 2481 checkUnnamed562(core.List<api.OrderRefund> o) { |
2457 unittest.expect(o, unittest.hasLength(2)); | 2482 unittest.expect(o, unittest.hasLength(2)); |
2458 checkOrderRefund(o[0]); | 2483 checkOrderRefund(o[0]); |
2459 checkOrderRefund(o[1]); | 2484 checkOrderRefund(o[1]); |
2460 } | 2485 } |
2461 | 2486 |
2462 buildUnnamed548() { | 2487 buildUnnamed563() { |
2463 var o = new core.List<api.OrderShipment>(); | 2488 var o = new core.List<api.OrderShipment>(); |
2464 o.add(buildOrderShipment()); | 2489 o.add(buildOrderShipment()); |
2465 o.add(buildOrderShipment()); | 2490 o.add(buildOrderShipment()); |
2466 return o; | 2491 return o; |
2467 } | 2492 } |
2468 | 2493 |
2469 checkUnnamed548(core.List<api.OrderShipment> o) { | 2494 checkUnnamed563(core.List<api.OrderShipment> o) { |
2470 unittest.expect(o, unittest.hasLength(2)); | 2495 unittest.expect(o, unittest.hasLength(2)); |
2471 checkOrderShipment(o[0]); | 2496 checkOrderShipment(o[0]); |
2472 checkOrderShipment(o[1]); | 2497 checkOrderShipment(o[1]); |
2473 } | 2498 } |
2474 | 2499 |
2475 core.int buildCounterOrder = 0; | 2500 core.int buildCounterOrder = 0; |
2476 buildOrder() { | 2501 buildOrder() { |
2477 var o = new api.Order(); | 2502 var o = new api.Order(); |
2478 buildCounterOrder++; | 2503 buildCounterOrder++; |
2479 if (buildCounterOrder < 3) { | 2504 if (buildCounterOrder < 3) { |
2480 o.acknowledged = true; | 2505 o.acknowledged = true; |
| 2506 o.channelType = "foo"; |
2481 o.customer = buildOrderCustomer(); | 2507 o.customer = buildOrderCustomer(); |
2482 o.deliveryDetails = buildOrderDeliveryDetails(); | 2508 o.deliveryDetails = buildOrderDeliveryDetails(); |
2483 o.id = "foo"; | 2509 o.id = "foo"; |
2484 o.kind = "foo"; | 2510 o.kind = "foo"; |
2485 o.lineItems = buildUnnamed545(); | 2511 o.lineItems = buildUnnamed560(); |
2486 o.merchantId = "foo"; | 2512 o.merchantId = "foo"; |
2487 o.merchantOrderId = "foo"; | 2513 o.merchantOrderId = "foo"; |
2488 o.netAmount = buildPrice(); | 2514 o.netAmount = buildPrice(); |
2489 o.paymentMethod = buildOrderPaymentMethod(); | 2515 o.paymentMethod = buildOrderPaymentMethod(); |
2490 o.paymentStatus = "foo"; | 2516 o.paymentStatus = "foo"; |
2491 o.placedDate = "foo"; | 2517 o.placedDate = "foo"; |
2492 o.promotions = buildUnnamed546(); | 2518 o.promotions = buildUnnamed561(); |
2493 o.refunds = buildUnnamed547(); | 2519 o.refunds = buildUnnamed562(); |
2494 o.shipments = buildUnnamed548(); | 2520 o.shipments = buildUnnamed563(); |
2495 o.shippingCost = buildPrice(); | 2521 o.shippingCost = buildPrice(); |
2496 o.shippingCostTax = buildPrice(); | 2522 o.shippingCostTax = buildPrice(); |
2497 o.shippingOption = "foo"; | 2523 o.shippingOption = "foo"; |
2498 o.status = "foo"; | 2524 o.status = "foo"; |
2499 } | 2525 } |
2500 buildCounterOrder--; | 2526 buildCounterOrder--; |
2501 return o; | 2527 return o; |
2502 } | 2528 } |
2503 | 2529 |
2504 checkOrder(api.Order o) { | 2530 checkOrder(api.Order o) { |
2505 buildCounterOrder++; | 2531 buildCounterOrder++; |
2506 if (buildCounterOrder < 3) { | 2532 if (buildCounterOrder < 3) { |
2507 unittest.expect(o.acknowledged, unittest.isTrue); | 2533 unittest.expect(o.acknowledged, unittest.isTrue); |
| 2534 unittest.expect(o.channelType, unittest.equals('foo')); |
2508 checkOrderCustomer(o.customer); | 2535 checkOrderCustomer(o.customer); |
2509 checkOrderDeliveryDetails(o.deliveryDetails); | 2536 checkOrderDeliveryDetails(o.deliveryDetails); |
2510 unittest.expect(o.id, unittest.equals('foo')); | 2537 unittest.expect(o.id, unittest.equals('foo')); |
2511 unittest.expect(o.kind, unittest.equals('foo')); | 2538 unittest.expect(o.kind, unittest.equals('foo')); |
2512 checkUnnamed545(o.lineItems); | 2539 checkUnnamed560(o.lineItems); |
2513 unittest.expect(o.merchantId, unittest.equals('foo')); | 2540 unittest.expect(o.merchantId, unittest.equals('foo')); |
2514 unittest.expect(o.merchantOrderId, unittest.equals('foo')); | 2541 unittest.expect(o.merchantOrderId, unittest.equals('foo')); |
2515 checkPrice(o.netAmount); | 2542 checkPrice(o.netAmount); |
2516 checkOrderPaymentMethod(o.paymentMethod); | 2543 checkOrderPaymentMethod(o.paymentMethod); |
2517 unittest.expect(o.paymentStatus, unittest.equals('foo')); | 2544 unittest.expect(o.paymentStatus, unittest.equals('foo')); |
2518 unittest.expect(o.placedDate, unittest.equals('foo')); | 2545 unittest.expect(o.placedDate, unittest.equals('foo')); |
2519 checkUnnamed546(o.promotions); | 2546 checkUnnamed561(o.promotions); |
2520 checkUnnamed547(o.refunds); | 2547 checkUnnamed562(o.refunds); |
2521 checkUnnamed548(o.shipments); | 2548 checkUnnamed563(o.shipments); |
2522 checkPrice(o.shippingCost); | 2549 checkPrice(o.shippingCost); |
2523 checkPrice(o.shippingCostTax); | 2550 checkPrice(o.shippingCostTax); |
2524 unittest.expect(o.shippingOption, unittest.equals('foo')); | 2551 unittest.expect(o.shippingOption, unittest.equals('foo')); |
2525 unittest.expect(o.status, unittest.equals('foo')); | 2552 unittest.expect(o.status, unittest.equals('foo')); |
2526 } | 2553 } |
2527 buildCounterOrder--; | 2554 buildCounterOrder--; |
2528 } | 2555 } |
2529 | 2556 |
2530 buildUnnamed549() { | 2557 buildUnnamed564() { |
2531 var o = new core.List<core.String>(); | 2558 var o = new core.List<core.String>(); |
2532 o.add("foo"); | 2559 o.add("foo"); |
2533 o.add("foo"); | 2560 o.add("foo"); |
2534 return o; | 2561 return o; |
2535 } | 2562 } |
2536 | 2563 |
2537 checkUnnamed549(core.List<core.String> o) { | 2564 checkUnnamed564(core.List<core.String> o) { |
2538 unittest.expect(o, unittest.hasLength(2)); | 2565 unittest.expect(o, unittest.hasLength(2)); |
2539 unittest.expect(o[0], unittest.equals('foo')); | 2566 unittest.expect(o[0], unittest.equals('foo')); |
2540 unittest.expect(o[1], unittest.equals('foo')); | 2567 unittest.expect(o[1], unittest.equals('foo')); |
2541 } | 2568 } |
2542 | 2569 |
2543 buildUnnamed550() { | 2570 buildUnnamed565() { |
2544 var o = new core.List<core.String>(); | 2571 var o = new core.List<core.String>(); |
2545 o.add("foo"); | 2572 o.add("foo"); |
2546 o.add("foo"); | 2573 o.add("foo"); |
2547 return o; | 2574 return o; |
2548 } | 2575 } |
2549 | 2576 |
2550 checkUnnamed550(core.List<core.String> o) { | 2577 checkUnnamed565(core.List<core.String> o) { |
2551 unittest.expect(o, unittest.hasLength(2)); | 2578 unittest.expect(o, unittest.hasLength(2)); |
2552 unittest.expect(o[0], unittest.equals('foo')); | 2579 unittest.expect(o[0], unittest.equals('foo')); |
2553 unittest.expect(o[1], unittest.equals('foo')); | 2580 unittest.expect(o[1], unittest.equals('foo')); |
2554 } | 2581 } |
2555 | 2582 |
2556 core.int buildCounterOrderAddress = 0; | 2583 core.int buildCounterOrderAddress = 0; |
2557 buildOrderAddress() { | 2584 buildOrderAddress() { |
2558 var o = new api.OrderAddress(); | 2585 var o = new api.OrderAddress(); |
2559 buildCounterOrderAddress++; | 2586 buildCounterOrderAddress++; |
2560 if (buildCounterOrderAddress < 3) { | 2587 if (buildCounterOrderAddress < 3) { |
2561 o.country = "foo"; | 2588 o.country = "foo"; |
2562 o.fullAddress = buildUnnamed549(); | 2589 o.fullAddress = buildUnnamed564(); |
2563 o.isPostOfficeBox = true; | 2590 o.isPostOfficeBox = true; |
2564 o.locality = "foo"; | 2591 o.locality = "foo"; |
2565 o.postalCode = "foo"; | 2592 o.postalCode = "foo"; |
2566 o.recipientName = "foo"; | 2593 o.recipientName = "foo"; |
2567 o.region = "foo"; | 2594 o.region = "foo"; |
2568 o.streetAddress = buildUnnamed550(); | 2595 o.streetAddress = buildUnnamed565(); |
2569 } | 2596 } |
2570 buildCounterOrderAddress--; | 2597 buildCounterOrderAddress--; |
2571 return o; | 2598 return o; |
2572 } | 2599 } |
2573 | 2600 |
2574 checkOrderAddress(api.OrderAddress o) { | 2601 checkOrderAddress(api.OrderAddress o) { |
2575 buildCounterOrderAddress++; | 2602 buildCounterOrderAddress++; |
2576 if (buildCounterOrderAddress < 3) { | 2603 if (buildCounterOrderAddress < 3) { |
2577 unittest.expect(o.country, unittest.equals('foo')); | 2604 unittest.expect(o.country, unittest.equals('foo')); |
2578 checkUnnamed549(o.fullAddress); | 2605 checkUnnamed564(o.fullAddress); |
2579 unittest.expect(o.isPostOfficeBox, unittest.isTrue); | 2606 unittest.expect(o.isPostOfficeBox, unittest.isTrue); |
2580 unittest.expect(o.locality, unittest.equals('foo')); | 2607 unittest.expect(o.locality, unittest.equals('foo')); |
2581 unittest.expect(o.postalCode, unittest.equals('foo')); | 2608 unittest.expect(o.postalCode, unittest.equals('foo')); |
2582 unittest.expect(o.recipientName, unittest.equals('foo')); | 2609 unittest.expect(o.recipientName, unittest.equals('foo')); |
2583 unittest.expect(o.region, unittest.equals('foo')); | 2610 unittest.expect(o.region, unittest.equals('foo')); |
2584 checkUnnamed550(o.streetAddress); | 2611 checkUnnamed565(o.streetAddress); |
2585 } | 2612 } |
2586 buildCounterOrderAddress--; | 2613 buildCounterOrderAddress--; |
2587 } | 2614 } |
2588 | 2615 |
2589 core.int buildCounterOrderCancellation = 0; | 2616 core.int buildCounterOrderCancellation = 0; |
2590 buildOrderCancellation() { | 2617 buildOrderCancellation() { |
2591 var o = new api.OrderCancellation(); | 2618 var o = new api.OrderCancellation(); |
2592 buildCounterOrderCancellation++; | 2619 buildCounterOrderCancellation++; |
2593 if (buildCounterOrderCancellation < 3) { | 2620 if (buildCounterOrderCancellation < 3) { |
2594 o.actor = "foo"; | 2621 o.actor = "foo"; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2650 | 2677 |
2651 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { | 2678 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { |
2652 buildCounterOrderDeliveryDetails++; | 2679 buildCounterOrderDeliveryDetails++; |
2653 if (buildCounterOrderDeliveryDetails < 3) { | 2680 if (buildCounterOrderDeliveryDetails < 3) { |
2654 checkOrderAddress(o.address); | 2681 checkOrderAddress(o.address); |
2655 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2682 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
2656 } | 2683 } |
2657 buildCounterOrderDeliveryDetails--; | 2684 buildCounterOrderDeliveryDetails--; |
2658 } | 2685 } |
2659 | 2686 |
2660 buildUnnamed551() { | 2687 buildUnnamed566() { |
2661 var o = new core.List<api.OrderCancellation>(); | 2688 var o = new core.List<api.OrderCancellation>(); |
2662 o.add(buildOrderCancellation()); | 2689 o.add(buildOrderCancellation()); |
2663 o.add(buildOrderCancellation()); | 2690 o.add(buildOrderCancellation()); |
2664 return o; | 2691 return o; |
2665 } | 2692 } |
2666 | 2693 |
2667 checkUnnamed551(core.List<api.OrderCancellation> o) { | 2694 checkUnnamed566(core.List<api.OrderCancellation> o) { |
2668 unittest.expect(o, unittest.hasLength(2)); | 2695 unittest.expect(o, unittest.hasLength(2)); |
2669 checkOrderCancellation(o[0]); | 2696 checkOrderCancellation(o[0]); |
2670 checkOrderCancellation(o[1]); | 2697 checkOrderCancellation(o[1]); |
2671 } | 2698 } |
2672 | 2699 |
2673 buildUnnamed552() { | 2700 buildUnnamed567() { |
2674 var o = new core.List<api.OrderReturn>(); | 2701 var o = new core.List<api.OrderReturn>(); |
2675 o.add(buildOrderReturn()); | 2702 o.add(buildOrderReturn()); |
2676 o.add(buildOrderReturn()); | 2703 o.add(buildOrderReturn()); |
2677 return o; | 2704 return o; |
2678 } | 2705 } |
2679 | 2706 |
2680 checkUnnamed552(core.List<api.OrderReturn> o) { | 2707 checkUnnamed567(core.List<api.OrderReturn> o) { |
2681 unittest.expect(o, unittest.hasLength(2)); | 2708 unittest.expect(o, unittest.hasLength(2)); |
2682 checkOrderReturn(o[0]); | 2709 checkOrderReturn(o[0]); |
2683 checkOrderReturn(o[1]); | 2710 checkOrderReturn(o[1]); |
2684 } | 2711 } |
2685 | 2712 |
2686 core.int buildCounterOrderLineItem = 0; | 2713 core.int buildCounterOrderLineItem = 0; |
2687 buildOrderLineItem() { | 2714 buildOrderLineItem() { |
2688 var o = new api.OrderLineItem(); | 2715 var o = new api.OrderLineItem(); |
2689 buildCounterOrderLineItem++; | 2716 buildCounterOrderLineItem++; |
2690 if (buildCounterOrderLineItem < 3) { | 2717 if (buildCounterOrderLineItem < 3) { |
2691 o.cancellations = buildUnnamed551(); | 2718 o.cancellations = buildUnnamed566(); |
2692 o.id = "foo"; | 2719 o.id = "foo"; |
2693 o.price = buildPrice(); | 2720 o.price = buildPrice(); |
2694 o.product = buildOrderLineItemProduct(); | 2721 o.product = buildOrderLineItemProduct(); |
2695 o.quantityCanceled = 42; | 2722 o.quantityCanceled = 42; |
2696 o.quantityDelivered = 42; | 2723 o.quantityDelivered = 42; |
2697 o.quantityOrdered = 42; | 2724 o.quantityOrdered = 42; |
2698 o.quantityPending = 42; | 2725 o.quantityPending = 42; |
2699 o.quantityReturned = 42; | 2726 o.quantityReturned = 42; |
2700 o.quantityShipped = 42; | 2727 o.quantityShipped = 42; |
2701 o.returnInfo = buildOrderLineItemReturnInfo(); | 2728 o.returnInfo = buildOrderLineItemReturnInfo(); |
2702 o.returns = buildUnnamed552(); | 2729 o.returns = buildUnnamed567(); |
2703 o.shippingDetails = buildOrderLineItemShippingDetails(); | 2730 o.shippingDetails = buildOrderLineItemShippingDetails(); |
2704 o.tax = buildPrice(); | 2731 o.tax = buildPrice(); |
2705 } | 2732 } |
2706 buildCounterOrderLineItem--; | 2733 buildCounterOrderLineItem--; |
2707 return o; | 2734 return o; |
2708 } | 2735 } |
2709 | 2736 |
2710 checkOrderLineItem(api.OrderLineItem o) { | 2737 checkOrderLineItem(api.OrderLineItem o) { |
2711 buildCounterOrderLineItem++; | 2738 buildCounterOrderLineItem++; |
2712 if (buildCounterOrderLineItem < 3) { | 2739 if (buildCounterOrderLineItem < 3) { |
2713 checkUnnamed551(o.cancellations); | 2740 checkUnnamed566(o.cancellations); |
2714 unittest.expect(o.id, unittest.equals('foo')); | 2741 unittest.expect(o.id, unittest.equals('foo')); |
2715 checkPrice(o.price); | 2742 checkPrice(o.price); |
2716 checkOrderLineItemProduct(o.product); | 2743 checkOrderLineItemProduct(o.product); |
2717 unittest.expect(o.quantityCanceled, unittest.equals(42)); | 2744 unittest.expect(o.quantityCanceled, unittest.equals(42)); |
2718 unittest.expect(o.quantityDelivered, unittest.equals(42)); | 2745 unittest.expect(o.quantityDelivered, unittest.equals(42)); |
2719 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 2746 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
2720 unittest.expect(o.quantityPending, unittest.equals(42)); | 2747 unittest.expect(o.quantityPending, unittest.equals(42)); |
2721 unittest.expect(o.quantityReturned, unittest.equals(42)); | 2748 unittest.expect(o.quantityReturned, unittest.equals(42)); |
2722 unittest.expect(o.quantityShipped, unittest.equals(42)); | 2749 unittest.expect(o.quantityShipped, unittest.equals(42)); |
2723 checkOrderLineItemReturnInfo(o.returnInfo); | 2750 checkOrderLineItemReturnInfo(o.returnInfo); |
2724 checkUnnamed552(o.returns); | 2751 checkUnnamed567(o.returns); |
2725 checkOrderLineItemShippingDetails(o.shippingDetails); | 2752 checkOrderLineItemShippingDetails(o.shippingDetails); |
2726 checkPrice(o.tax); | 2753 checkPrice(o.tax); |
2727 } | 2754 } |
2728 buildCounterOrderLineItem--; | 2755 buildCounterOrderLineItem--; |
2729 } | 2756 } |
2730 | 2757 |
2731 buildUnnamed553() { | 2758 buildUnnamed568() { |
2732 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 2759 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
2733 o.add(buildOrderLineItemProductVariantAttribute()); | 2760 o.add(buildOrderLineItemProductVariantAttribute()); |
2734 o.add(buildOrderLineItemProductVariantAttribute()); | 2761 o.add(buildOrderLineItemProductVariantAttribute()); |
2735 return o; | 2762 return o; |
2736 } | 2763 } |
2737 | 2764 |
2738 checkUnnamed553(core.List<api.OrderLineItemProductVariantAttribute> o) { | 2765 checkUnnamed568(core.List<api.OrderLineItemProductVariantAttribute> o) { |
2739 unittest.expect(o, unittest.hasLength(2)); | 2766 unittest.expect(o, unittest.hasLength(2)); |
2740 checkOrderLineItemProductVariantAttribute(o[0]); | 2767 checkOrderLineItemProductVariantAttribute(o[0]); |
2741 checkOrderLineItemProductVariantAttribute(o[1]); | 2768 checkOrderLineItemProductVariantAttribute(o[1]); |
2742 } | 2769 } |
2743 | 2770 |
2744 core.int buildCounterOrderLineItemProduct = 0; | 2771 core.int buildCounterOrderLineItemProduct = 0; |
2745 buildOrderLineItemProduct() { | 2772 buildOrderLineItemProduct() { |
2746 var o = new api.OrderLineItemProduct(); | 2773 var o = new api.OrderLineItemProduct(); |
2747 buildCounterOrderLineItemProduct++; | 2774 buildCounterOrderLineItemProduct++; |
2748 if (buildCounterOrderLineItemProduct < 3) { | 2775 if (buildCounterOrderLineItemProduct < 3) { |
2749 o.brand = "foo"; | 2776 o.brand = "foo"; |
2750 o.channel = "foo"; | 2777 o.channel = "foo"; |
2751 o.condition = "foo"; | 2778 o.condition = "foo"; |
2752 o.contentLanguage = "foo"; | 2779 o.contentLanguage = "foo"; |
2753 o.gtin = "foo"; | 2780 o.gtin = "foo"; |
2754 o.id = "foo"; | 2781 o.id = "foo"; |
2755 o.imageLink = "foo"; | 2782 o.imageLink = "foo"; |
2756 o.itemGroupId = "foo"; | 2783 o.itemGroupId = "foo"; |
2757 o.mpn = "foo"; | 2784 o.mpn = "foo"; |
2758 o.offerId = "foo"; | 2785 o.offerId = "foo"; |
2759 o.price = buildPrice(); | 2786 o.price = buildPrice(); |
2760 o.shownImage = "foo"; | 2787 o.shownImage = "foo"; |
2761 o.targetCountry = "foo"; | 2788 o.targetCountry = "foo"; |
2762 o.title = "foo"; | 2789 o.title = "foo"; |
2763 o.variantAttributes = buildUnnamed553(); | 2790 o.variantAttributes = buildUnnamed568(); |
2764 } | 2791 } |
2765 buildCounterOrderLineItemProduct--; | 2792 buildCounterOrderLineItemProduct--; |
2766 return o; | 2793 return o; |
2767 } | 2794 } |
2768 | 2795 |
2769 checkOrderLineItemProduct(api.OrderLineItemProduct o) { | 2796 checkOrderLineItemProduct(api.OrderLineItemProduct o) { |
2770 buildCounterOrderLineItemProduct++; | 2797 buildCounterOrderLineItemProduct++; |
2771 if (buildCounterOrderLineItemProduct < 3) { | 2798 if (buildCounterOrderLineItemProduct < 3) { |
2772 unittest.expect(o.brand, unittest.equals('foo')); | 2799 unittest.expect(o.brand, unittest.equals('foo')); |
2773 unittest.expect(o.channel, unittest.equals('foo')); | 2800 unittest.expect(o.channel, unittest.equals('foo')); |
2774 unittest.expect(o.condition, unittest.equals('foo')); | 2801 unittest.expect(o.condition, unittest.equals('foo')); |
2775 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 2802 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
2776 unittest.expect(o.gtin, unittest.equals('foo')); | 2803 unittest.expect(o.gtin, unittest.equals('foo')); |
2777 unittest.expect(o.id, unittest.equals('foo')); | 2804 unittest.expect(o.id, unittest.equals('foo')); |
2778 unittest.expect(o.imageLink, unittest.equals('foo')); | 2805 unittest.expect(o.imageLink, unittest.equals('foo')); |
2779 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 2806 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
2780 unittest.expect(o.mpn, unittest.equals('foo')); | 2807 unittest.expect(o.mpn, unittest.equals('foo')); |
2781 unittest.expect(o.offerId, unittest.equals('foo')); | 2808 unittest.expect(o.offerId, unittest.equals('foo')); |
2782 checkPrice(o.price); | 2809 checkPrice(o.price); |
2783 unittest.expect(o.shownImage, unittest.equals('foo')); | 2810 unittest.expect(o.shownImage, unittest.equals('foo')); |
2784 unittest.expect(o.targetCountry, unittest.equals('foo')); | 2811 unittest.expect(o.targetCountry, unittest.equals('foo')); |
2785 unittest.expect(o.title, unittest.equals('foo')); | 2812 unittest.expect(o.title, unittest.equals('foo')); |
2786 checkUnnamed553(o.variantAttributes); | 2813 checkUnnamed568(o.variantAttributes); |
2787 } | 2814 } |
2788 buildCounterOrderLineItemProduct--; | 2815 buildCounterOrderLineItemProduct--; |
2789 } | 2816 } |
2790 | 2817 |
2791 core.int buildCounterOrderLineItemProductVariantAttribute = 0; | 2818 core.int buildCounterOrderLineItemProductVariantAttribute = 0; |
2792 buildOrderLineItemProductVariantAttribute() { | 2819 buildOrderLineItemProductVariantAttribute() { |
2793 var o = new api.OrderLineItemProductVariantAttribute(); | 2820 var o = new api.OrderLineItemProductVariantAttribute(); |
2794 buildCounterOrderLineItemProductVariantAttribute++; | 2821 buildCounterOrderLineItemProductVariantAttribute++; |
2795 if (buildCounterOrderLineItemProductVariantAttribute < 3) { | 2822 if (buildCounterOrderLineItemProductVariantAttribute < 3) { |
2796 o.dimension = "foo"; | 2823 o.dimension = "foo"; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2902 checkOrderAddress(o.billingAddress); | 2929 checkOrderAddress(o.billingAddress); |
2903 unittest.expect(o.expirationMonth, unittest.equals(42)); | 2930 unittest.expect(o.expirationMonth, unittest.equals(42)); |
2904 unittest.expect(o.expirationYear, unittest.equals(42)); | 2931 unittest.expect(o.expirationYear, unittest.equals(42)); |
2905 unittest.expect(o.lastFourDigits, unittest.equals('foo')); | 2932 unittest.expect(o.lastFourDigits, unittest.equals('foo')); |
2906 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2933 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
2907 unittest.expect(o.type, unittest.equals('foo')); | 2934 unittest.expect(o.type, unittest.equals('foo')); |
2908 } | 2935 } |
2909 buildCounterOrderPaymentMethod--; | 2936 buildCounterOrderPaymentMethod--; |
2910 } | 2937 } |
2911 | 2938 |
2912 buildUnnamed554() { | 2939 buildUnnamed569() { |
2913 var o = new core.List<api.OrderPromotionBenefit>(); | 2940 var o = new core.List<api.OrderPromotionBenefit>(); |
2914 o.add(buildOrderPromotionBenefit()); | 2941 o.add(buildOrderPromotionBenefit()); |
2915 o.add(buildOrderPromotionBenefit()); | 2942 o.add(buildOrderPromotionBenefit()); |
2916 return o; | 2943 return o; |
2917 } | 2944 } |
2918 | 2945 |
2919 checkUnnamed554(core.List<api.OrderPromotionBenefit> o) { | 2946 checkUnnamed569(core.List<api.OrderPromotionBenefit> o) { |
2920 unittest.expect(o, unittest.hasLength(2)); | 2947 unittest.expect(o, unittest.hasLength(2)); |
2921 checkOrderPromotionBenefit(o[0]); | 2948 checkOrderPromotionBenefit(o[0]); |
2922 checkOrderPromotionBenefit(o[1]); | 2949 checkOrderPromotionBenefit(o[1]); |
2923 } | 2950 } |
2924 | 2951 |
2925 core.int buildCounterOrderPromotion = 0; | 2952 core.int buildCounterOrderPromotion = 0; |
2926 buildOrderPromotion() { | 2953 buildOrderPromotion() { |
2927 var o = new api.OrderPromotion(); | 2954 var o = new api.OrderPromotion(); |
2928 buildCounterOrderPromotion++; | 2955 buildCounterOrderPromotion++; |
2929 if (buildCounterOrderPromotion < 3) { | 2956 if (buildCounterOrderPromotion < 3) { |
2930 o.benefits = buildUnnamed554(); | 2957 o.benefits = buildUnnamed569(); |
2931 o.effectiveDates = "foo"; | 2958 o.effectiveDates = "foo"; |
2932 o.genericRedemptionCode = "foo"; | 2959 o.genericRedemptionCode = "foo"; |
2933 o.id = "foo"; | 2960 o.id = "foo"; |
2934 o.longTitle = "foo"; | 2961 o.longTitle = "foo"; |
2935 o.productApplicability = "foo"; | 2962 o.productApplicability = "foo"; |
2936 o.redemptionChannel = "foo"; | 2963 o.redemptionChannel = "foo"; |
2937 } | 2964 } |
2938 buildCounterOrderPromotion--; | 2965 buildCounterOrderPromotion--; |
2939 return o; | 2966 return o; |
2940 } | 2967 } |
2941 | 2968 |
2942 checkOrderPromotion(api.OrderPromotion o) { | 2969 checkOrderPromotion(api.OrderPromotion o) { |
2943 buildCounterOrderPromotion++; | 2970 buildCounterOrderPromotion++; |
2944 if (buildCounterOrderPromotion < 3) { | 2971 if (buildCounterOrderPromotion < 3) { |
2945 checkUnnamed554(o.benefits); | 2972 checkUnnamed569(o.benefits); |
2946 unittest.expect(o.effectiveDates, unittest.equals('foo')); | 2973 unittest.expect(o.effectiveDates, unittest.equals('foo')); |
2947 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); | 2974 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); |
2948 unittest.expect(o.id, unittest.equals('foo')); | 2975 unittest.expect(o.id, unittest.equals('foo')); |
2949 unittest.expect(o.longTitle, unittest.equals('foo')); | 2976 unittest.expect(o.longTitle, unittest.equals('foo')); |
2950 unittest.expect(o.productApplicability, unittest.equals('foo')); | 2977 unittest.expect(o.productApplicability, unittest.equals('foo')); |
2951 unittest.expect(o.redemptionChannel, unittest.equals('foo')); | 2978 unittest.expect(o.redemptionChannel, unittest.equals('foo')); |
2952 } | 2979 } |
2953 buildCounterOrderPromotion--; | 2980 buildCounterOrderPromotion--; |
2954 } | 2981 } |
2955 | 2982 |
2956 buildUnnamed555() { | 2983 buildUnnamed570() { |
2957 var o = new core.List<core.String>(); | 2984 var o = new core.List<core.String>(); |
2958 o.add("foo"); | 2985 o.add("foo"); |
2959 o.add("foo"); | 2986 o.add("foo"); |
2960 return o; | 2987 return o; |
2961 } | 2988 } |
2962 | 2989 |
2963 checkUnnamed555(core.List<core.String> o) { | 2990 checkUnnamed570(core.List<core.String> o) { |
2964 unittest.expect(o, unittest.hasLength(2)); | 2991 unittest.expect(o, unittest.hasLength(2)); |
2965 unittest.expect(o[0], unittest.equals('foo')); | 2992 unittest.expect(o[0], unittest.equals('foo')); |
2966 unittest.expect(o[1], unittest.equals('foo')); | 2993 unittest.expect(o[1], unittest.equals('foo')); |
2967 } | 2994 } |
2968 | 2995 |
2969 core.int buildCounterOrderPromotionBenefit = 0; | 2996 core.int buildCounterOrderPromotionBenefit = 0; |
2970 buildOrderPromotionBenefit() { | 2997 buildOrderPromotionBenefit() { |
2971 var o = new api.OrderPromotionBenefit(); | 2998 var o = new api.OrderPromotionBenefit(); |
2972 buildCounterOrderPromotionBenefit++; | 2999 buildCounterOrderPromotionBenefit++; |
2973 if (buildCounterOrderPromotionBenefit < 3) { | 3000 if (buildCounterOrderPromotionBenefit < 3) { |
2974 o.discount = buildPrice(); | 3001 o.discount = buildPrice(); |
2975 o.offerIds = buildUnnamed555(); | 3002 o.offerIds = buildUnnamed570(); |
2976 o.subType = "foo"; | 3003 o.subType = "foo"; |
2977 o.taxImpact = buildPrice(); | 3004 o.taxImpact = buildPrice(); |
2978 o.type = "foo"; | 3005 o.type = "foo"; |
2979 } | 3006 } |
2980 buildCounterOrderPromotionBenefit--; | 3007 buildCounterOrderPromotionBenefit--; |
2981 return o; | 3008 return o; |
2982 } | 3009 } |
2983 | 3010 |
2984 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { | 3011 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { |
2985 buildCounterOrderPromotionBenefit++; | 3012 buildCounterOrderPromotionBenefit++; |
2986 if (buildCounterOrderPromotionBenefit < 3) { | 3013 if (buildCounterOrderPromotionBenefit < 3) { |
2987 checkPrice(o.discount); | 3014 checkPrice(o.discount); |
2988 checkUnnamed555(o.offerIds); | 3015 checkUnnamed570(o.offerIds); |
2989 unittest.expect(o.subType, unittest.equals('foo')); | 3016 unittest.expect(o.subType, unittest.equals('foo')); |
2990 checkPrice(o.taxImpact); | 3017 checkPrice(o.taxImpact); |
2991 unittest.expect(o.type, unittest.equals('foo')); | 3018 unittest.expect(o.type, unittest.equals('foo')); |
2992 } | 3019 } |
2993 buildCounterOrderPromotionBenefit--; | 3020 buildCounterOrderPromotionBenefit--; |
2994 } | 3021 } |
2995 | 3022 |
2996 core.int buildCounterOrderRefund = 0; | 3023 core.int buildCounterOrderRefund = 0; |
2997 buildOrderRefund() { | 3024 buildOrderRefund() { |
2998 var o = new api.OrderRefund(); | 3025 var o = new api.OrderRefund(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3040 if (buildCounterOrderReturn < 3) { | 3067 if (buildCounterOrderReturn < 3) { |
3041 unittest.expect(o.actor, unittest.equals('foo')); | 3068 unittest.expect(o.actor, unittest.equals('foo')); |
3042 unittest.expect(o.creationDate, unittest.equals('foo')); | 3069 unittest.expect(o.creationDate, unittest.equals('foo')); |
3043 unittest.expect(o.quantity, unittest.equals(42)); | 3070 unittest.expect(o.quantity, unittest.equals(42)); |
3044 unittest.expect(o.reason, unittest.equals('foo')); | 3071 unittest.expect(o.reason, unittest.equals('foo')); |
3045 unittest.expect(o.reasonText, unittest.equals('foo')); | 3072 unittest.expect(o.reasonText, unittest.equals('foo')); |
3046 } | 3073 } |
3047 buildCounterOrderReturn--; | 3074 buildCounterOrderReturn--; |
3048 } | 3075 } |
3049 | 3076 |
3050 buildUnnamed556() { | 3077 buildUnnamed571() { |
3051 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3078 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3052 o.add(buildOrderShipmentLineItemShipment()); | 3079 o.add(buildOrderShipmentLineItemShipment()); |
3053 o.add(buildOrderShipmentLineItemShipment()); | 3080 o.add(buildOrderShipmentLineItemShipment()); |
3054 return o; | 3081 return o; |
3055 } | 3082 } |
3056 | 3083 |
3057 checkUnnamed556(core.List<api.OrderShipmentLineItemShipment> o) { | 3084 checkUnnamed571(core.List<api.OrderShipmentLineItemShipment> o) { |
3058 unittest.expect(o, unittest.hasLength(2)); | 3085 unittest.expect(o, unittest.hasLength(2)); |
3059 checkOrderShipmentLineItemShipment(o[0]); | 3086 checkOrderShipmentLineItemShipment(o[0]); |
3060 checkOrderShipmentLineItemShipment(o[1]); | 3087 checkOrderShipmentLineItemShipment(o[1]); |
3061 } | 3088 } |
3062 | 3089 |
3063 core.int buildCounterOrderShipment = 0; | 3090 core.int buildCounterOrderShipment = 0; |
3064 buildOrderShipment() { | 3091 buildOrderShipment() { |
3065 var o = new api.OrderShipment(); | 3092 var o = new api.OrderShipment(); |
3066 buildCounterOrderShipment++; | 3093 buildCounterOrderShipment++; |
3067 if (buildCounterOrderShipment < 3) { | 3094 if (buildCounterOrderShipment < 3) { |
3068 o.carrier = "foo"; | 3095 o.carrier = "foo"; |
3069 o.creationDate = "foo"; | 3096 o.creationDate = "foo"; |
3070 o.deliveryDate = "foo"; | 3097 o.deliveryDate = "foo"; |
3071 o.id = "foo"; | 3098 o.id = "foo"; |
3072 o.lineItems = buildUnnamed556(); | 3099 o.lineItems = buildUnnamed571(); |
3073 o.status = "foo"; | 3100 o.status = "foo"; |
3074 o.trackingId = "foo"; | 3101 o.trackingId = "foo"; |
3075 } | 3102 } |
3076 buildCounterOrderShipment--; | 3103 buildCounterOrderShipment--; |
3077 return o; | 3104 return o; |
3078 } | 3105 } |
3079 | 3106 |
3080 checkOrderShipment(api.OrderShipment o) { | 3107 checkOrderShipment(api.OrderShipment o) { |
3081 buildCounterOrderShipment++; | 3108 buildCounterOrderShipment++; |
3082 if (buildCounterOrderShipment < 3) { | 3109 if (buildCounterOrderShipment < 3) { |
3083 unittest.expect(o.carrier, unittest.equals('foo')); | 3110 unittest.expect(o.carrier, unittest.equals('foo')); |
3084 unittest.expect(o.creationDate, unittest.equals('foo')); | 3111 unittest.expect(o.creationDate, unittest.equals('foo')); |
3085 unittest.expect(o.deliveryDate, unittest.equals('foo')); | 3112 unittest.expect(o.deliveryDate, unittest.equals('foo')); |
3086 unittest.expect(o.id, unittest.equals('foo')); | 3113 unittest.expect(o.id, unittest.equals('foo')); |
3087 checkUnnamed556(o.lineItems); | 3114 checkUnnamed571(o.lineItems); |
3088 unittest.expect(o.status, unittest.equals('foo')); | 3115 unittest.expect(o.status, unittest.equals('foo')); |
3089 unittest.expect(o.trackingId, unittest.equals('foo')); | 3116 unittest.expect(o.trackingId, unittest.equals('foo')); |
3090 } | 3117 } |
3091 buildCounterOrderShipment--; | 3118 buildCounterOrderShipment--; |
3092 } | 3119 } |
3093 | 3120 |
3094 core.int buildCounterOrderShipmentLineItemShipment = 0; | 3121 core.int buildCounterOrderShipmentLineItemShipment = 0; |
3095 buildOrderShipmentLineItemShipment() { | 3122 buildOrderShipmentLineItemShipment() { |
3096 var o = new api.OrderShipmentLineItemShipment(); | 3123 var o = new api.OrderShipmentLineItemShipment(); |
3097 buildCounterOrderShipmentLineItemShipment++; | 3124 buildCounterOrderShipmentLineItemShipment++; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3300 | 3327 |
3301 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { | 3328 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { |
3302 buildCounterOrdersCreateTestOrderResponse++; | 3329 buildCounterOrdersCreateTestOrderResponse++; |
3303 if (buildCounterOrdersCreateTestOrderResponse < 3) { | 3330 if (buildCounterOrdersCreateTestOrderResponse < 3) { |
3304 unittest.expect(o.kind, unittest.equals('foo')); | 3331 unittest.expect(o.kind, unittest.equals('foo')); |
3305 unittest.expect(o.orderId, unittest.equals('foo')); | 3332 unittest.expect(o.orderId, unittest.equals('foo')); |
3306 } | 3333 } |
3307 buildCounterOrdersCreateTestOrderResponse--; | 3334 buildCounterOrdersCreateTestOrderResponse--; |
3308 } | 3335 } |
3309 | 3336 |
3310 buildUnnamed557() { | 3337 buildUnnamed572() { |
3311 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); | 3338 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); |
3312 o.add(buildOrdersCustomBatchRequestEntry()); | 3339 o.add(buildOrdersCustomBatchRequestEntry()); |
3313 o.add(buildOrdersCustomBatchRequestEntry()); | 3340 o.add(buildOrdersCustomBatchRequestEntry()); |
3314 return o; | 3341 return o; |
3315 } | 3342 } |
3316 | 3343 |
3317 checkUnnamed557(core.List<api.OrdersCustomBatchRequestEntry> o) { | 3344 checkUnnamed572(core.List<api.OrdersCustomBatchRequestEntry> o) { |
3318 unittest.expect(o, unittest.hasLength(2)); | 3345 unittest.expect(o, unittest.hasLength(2)); |
3319 checkOrdersCustomBatchRequestEntry(o[0]); | 3346 checkOrdersCustomBatchRequestEntry(o[0]); |
3320 checkOrdersCustomBatchRequestEntry(o[1]); | 3347 checkOrdersCustomBatchRequestEntry(o[1]); |
3321 } | 3348 } |
3322 | 3349 |
3323 core.int buildCounterOrdersCustomBatchRequest = 0; | 3350 core.int buildCounterOrdersCustomBatchRequest = 0; |
3324 buildOrdersCustomBatchRequest() { | 3351 buildOrdersCustomBatchRequest() { |
3325 var o = new api.OrdersCustomBatchRequest(); | 3352 var o = new api.OrdersCustomBatchRequest(); |
3326 buildCounterOrdersCustomBatchRequest++; | 3353 buildCounterOrdersCustomBatchRequest++; |
3327 if (buildCounterOrdersCustomBatchRequest < 3) { | 3354 if (buildCounterOrdersCustomBatchRequest < 3) { |
3328 o.entries = buildUnnamed557(); | 3355 o.entries = buildUnnamed572(); |
3329 } | 3356 } |
3330 buildCounterOrdersCustomBatchRequest--; | 3357 buildCounterOrdersCustomBatchRequest--; |
3331 return o; | 3358 return o; |
3332 } | 3359 } |
3333 | 3360 |
3334 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { | 3361 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { |
3335 buildCounterOrdersCustomBatchRequest++; | 3362 buildCounterOrdersCustomBatchRequest++; |
3336 if (buildCounterOrdersCustomBatchRequest < 3) { | 3363 if (buildCounterOrdersCustomBatchRequest < 3) { |
3337 checkUnnamed557(o.entries); | 3364 checkUnnamed572(o.entries); |
3338 } | 3365 } |
3339 buildCounterOrdersCustomBatchRequest--; | 3366 buildCounterOrdersCustomBatchRequest--; |
3340 } | 3367 } |
3341 | 3368 |
3342 core.int buildCounterOrdersCustomBatchRequestEntry = 0; | 3369 core.int buildCounterOrdersCustomBatchRequestEntry = 0; |
3343 buildOrdersCustomBatchRequestEntry() { | 3370 buildOrdersCustomBatchRequestEntry() { |
3344 var o = new api.OrdersCustomBatchRequestEntry(); | 3371 var o = new api.OrdersCustomBatchRequestEntry(); |
3345 buildCounterOrdersCustomBatchRequestEntry++; | 3372 buildCounterOrdersCustomBatchRequestEntry++; |
3346 if (buildCounterOrdersCustomBatchRequestEntry < 3) { | 3373 if (buildCounterOrdersCustomBatchRequestEntry < 3) { |
3347 o.batchId = 42; | 3374 o.batchId = 42; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3469 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; | 3496 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; |
3470 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { | 3497 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { |
3471 unittest.expect(o.lineItemId, unittest.equals('foo')); | 3498 unittest.expect(o.lineItemId, unittest.equals('foo')); |
3472 unittest.expect(o.quantity, unittest.equals(42)); | 3499 unittest.expect(o.quantity, unittest.equals(42)); |
3473 unittest.expect(o.reason, unittest.equals('foo')); | 3500 unittest.expect(o.reason, unittest.equals('foo')); |
3474 unittest.expect(o.reasonText, unittest.equals('foo')); | 3501 unittest.expect(o.reasonText, unittest.equals('foo')); |
3475 } | 3502 } |
3476 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; | 3503 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; |
3477 } | 3504 } |
3478 | 3505 |
3479 buildUnnamed558() { | 3506 buildUnnamed573() { |
3480 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3507 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3481 o.add(buildOrderShipmentLineItemShipment()); | 3508 o.add(buildOrderShipmentLineItemShipment()); |
3482 o.add(buildOrderShipmentLineItemShipment()); | 3509 o.add(buildOrderShipmentLineItemShipment()); |
3483 return o; | 3510 return o; |
3484 } | 3511 } |
3485 | 3512 |
3486 checkUnnamed558(core.List<api.OrderShipmentLineItemShipment> o) { | 3513 checkUnnamed573(core.List<api.OrderShipmentLineItemShipment> o) { |
3487 unittest.expect(o, unittest.hasLength(2)); | 3514 unittest.expect(o, unittest.hasLength(2)); |
3488 checkOrderShipmentLineItemShipment(o[0]); | 3515 checkOrderShipmentLineItemShipment(o[0]); |
3489 checkOrderShipmentLineItemShipment(o[1]); | 3516 checkOrderShipmentLineItemShipment(o[1]); |
3490 } | 3517 } |
3491 | 3518 |
3492 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; | 3519 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; |
3493 buildOrdersCustomBatchRequestEntryShipLineItems() { | 3520 buildOrdersCustomBatchRequestEntryShipLineItems() { |
3494 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); | 3521 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); |
3495 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3522 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
3496 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3523 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
3497 o.carrier = "foo"; | 3524 o.carrier = "foo"; |
3498 o.lineItems = buildUnnamed558(); | 3525 o.lineItems = buildUnnamed573(); |
3499 o.shipmentId = "foo"; | 3526 o.shipmentId = "foo"; |
3500 o.trackingId = "foo"; | 3527 o.trackingId = "foo"; |
3501 } | 3528 } |
3502 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3529 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
3503 return o; | 3530 return o; |
3504 } | 3531 } |
3505 | 3532 |
3506 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { | 3533 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { |
3507 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3534 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
3508 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3535 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
3509 unittest.expect(o.carrier, unittest.equals('foo')); | 3536 unittest.expect(o.carrier, unittest.equals('foo')); |
3510 checkUnnamed558(o.lineItems); | 3537 checkUnnamed573(o.lineItems); |
3511 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3538 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3512 unittest.expect(o.trackingId, unittest.equals('foo')); | 3539 unittest.expect(o.trackingId, unittest.equals('foo')); |
3513 } | 3540 } |
3514 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3541 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
3515 } | 3542 } |
3516 | 3543 |
3517 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; | 3544 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; |
3518 buildOrdersCustomBatchRequestEntryUpdateShipment() { | 3545 buildOrdersCustomBatchRequestEntryUpdateShipment() { |
3519 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); | 3546 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); |
3520 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3547 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
(...skipping 11 matching lines...) Expand all Loading... |
3532 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3559 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
3533 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { | 3560 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { |
3534 unittest.expect(o.carrier, unittest.equals('foo')); | 3561 unittest.expect(o.carrier, unittest.equals('foo')); |
3535 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3562 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3536 unittest.expect(o.status, unittest.equals('foo')); | 3563 unittest.expect(o.status, unittest.equals('foo')); |
3537 unittest.expect(o.trackingId, unittest.equals('foo')); | 3564 unittest.expect(o.trackingId, unittest.equals('foo')); |
3538 } | 3565 } |
3539 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; | 3566 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; |
3540 } | 3567 } |
3541 | 3568 |
3542 buildUnnamed559() { | 3569 buildUnnamed574() { |
3543 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); | 3570 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); |
3544 o.add(buildOrdersCustomBatchResponseEntry()); | 3571 o.add(buildOrdersCustomBatchResponseEntry()); |
3545 o.add(buildOrdersCustomBatchResponseEntry()); | 3572 o.add(buildOrdersCustomBatchResponseEntry()); |
3546 return o; | 3573 return o; |
3547 } | 3574 } |
3548 | 3575 |
3549 checkUnnamed559(core.List<api.OrdersCustomBatchResponseEntry> o) { | 3576 checkUnnamed574(core.List<api.OrdersCustomBatchResponseEntry> o) { |
3550 unittest.expect(o, unittest.hasLength(2)); | 3577 unittest.expect(o, unittest.hasLength(2)); |
3551 checkOrdersCustomBatchResponseEntry(o[0]); | 3578 checkOrdersCustomBatchResponseEntry(o[0]); |
3552 checkOrdersCustomBatchResponseEntry(o[1]); | 3579 checkOrdersCustomBatchResponseEntry(o[1]); |
3553 } | 3580 } |
3554 | 3581 |
3555 core.int buildCounterOrdersCustomBatchResponse = 0; | 3582 core.int buildCounterOrdersCustomBatchResponse = 0; |
3556 buildOrdersCustomBatchResponse() { | 3583 buildOrdersCustomBatchResponse() { |
3557 var o = new api.OrdersCustomBatchResponse(); | 3584 var o = new api.OrdersCustomBatchResponse(); |
3558 buildCounterOrdersCustomBatchResponse++; | 3585 buildCounterOrdersCustomBatchResponse++; |
3559 if (buildCounterOrdersCustomBatchResponse < 3) { | 3586 if (buildCounterOrdersCustomBatchResponse < 3) { |
3560 o.entries = buildUnnamed559(); | 3587 o.entries = buildUnnamed574(); |
3561 o.kind = "foo"; | 3588 o.kind = "foo"; |
3562 } | 3589 } |
3563 buildCounterOrdersCustomBatchResponse--; | 3590 buildCounterOrdersCustomBatchResponse--; |
3564 return o; | 3591 return o; |
3565 } | 3592 } |
3566 | 3593 |
3567 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { | 3594 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { |
3568 buildCounterOrdersCustomBatchResponse++; | 3595 buildCounterOrdersCustomBatchResponse++; |
3569 if (buildCounterOrdersCustomBatchResponse < 3) { | 3596 if (buildCounterOrdersCustomBatchResponse < 3) { |
3570 checkUnnamed559(o.entries); | 3597 checkUnnamed574(o.entries); |
3571 unittest.expect(o.kind, unittest.equals('foo')); | 3598 unittest.expect(o.kind, unittest.equals('foo')); |
3572 } | 3599 } |
3573 buildCounterOrdersCustomBatchResponse--; | 3600 buildCounterOrdersCustomBatchResponse--; |
3574 } | 3601 } |
3575 | 3602 |
3576 core.int buildCounterOrdersCustomBatchResponseEntry = 0; | 3603 core.int buildCounterOrdersCustomBatchResponseEntry = 0; |
3577 buildOrdersCustomBatchResponseEntry() { | 3604 buildOrdersCustomBatchResponseEntry() { |
3578 var o = new api.OrdersCustomBatchResponseEntry(); | 3605 var o = new api.OrdersCustomBatchResponseEntry(); |
3579 buildCounterOrdersCustomBatchResponseEntry++; | 3606 buildCounterOrdersCustomBatchResponseEntry++; |
3580 if (buildCounterOrdersCustomBatchResponseEntry < 3) { | 3607 if (buildCounterOrdersCustomBatchResponseEntry < 3) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3635 | 3662 |
3636 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { | 3663 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { |
3637 buildCounterOrdersGetTestOrderTemplateResponse++; | 3664 buildCounterOrdersGetTestOrderTemplateResponse++; |
3638 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { | 3665 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { |
3639 unittest.expect(o.kind, unittest.equals('foo')); | 3666 unittest.expect(o.kind, unittest.equals('foo')); |
3640 checkTestOrder(o.template); | 3667 checkTestOrder(o.template); |
3641 } | 3668 } |
3642 buildCounterOrdersGetTestOrderTemplateResponse--; | 3669 buildCounterOrdersGetTestOrderTemplateResponse--; |
3643 } | 3670 } |
3644 | 3671 |
3645 buildUnnamed560() { | 3672 buildUnnamed575() { |
3646 var o = new core.List<api.Order>(); | 3673 var o = new core.List<api.Order>(); |
3647 o.add(buildOrder()); | 3674 o.add(buildOrder()); |
3648 o.add(buildOrder()); | 3675 o.add(buildOrder()); |
3649 return o; | 3676 return o; |
3650 } | 3677 } |
3651 | 3678 |
3652 checkUnnamed560(core.List<api.Order> o) { | 3679 checkUnnamed575(core.List<api.Order> o) { |
3653 unittest.expect(o, unittest.hasLength(2)); | 3680 unittest.expect(o, unittest.hasLength(2)); |
3654 checkOrder(o[0]); | 3681 checkOrder(o[0]); |
3655 checkOrder(o[1]); | 3682 checkOrder(o[1]); |
3656 } | 3683 } |
3657 | 3684 |
3658 core.int buildCounterOrdersListResponse = 0; | 3685 core.int buildCounterOrdersListResponse = 0; |
3659 buildOrdersListResponse() { | 3686 buildOrdersListResponse() { |
3660 var o = new api.OrdersListResponse(); | 3687 var o = new api.OrdersListResponse(); |
3661 buildCounterOrdersListResponse++; | 3688 buildCounterOrdersListResponse++; |
3662 if (buildCounterOrdersListResponse < 3) { | 3689 if (buildCounterOrdersListResponse < 3) { |
3663 o.kind = "foo"; | 3690 o.kind = "foo"; |
3664 o.nextPageToken = "foo"; | 3691 o.nextPageToken = "foo"; |
3665 o.resources = buildUnnamed560(); | 3692 o.resources = buildUnnamed575(); |
3666 } | 3693 } |
3667 buildCounterOrdersListResponse--; | 3694 buildCounterOrdersListResponse--; |
3668 return o; | 3695 return o; |
3669 } | 3696 } |
3670 | 3697 |
3671 checkOrdersListResponse(api.OrdersListResponse o) { | 3698 checkOrdersListResponse(api.OrdersListResponse o) { |
3672 buildCounterOrdersListResponse++; | 3699 buildCounterOrdersListResponse++; |
3673 if (buildCounterOrdersListResponse < 3) { | 3700 if (buildCounterOrdersListResponse < 3) { |
3674 unittest.expect(o.kind, unittest.equals('foo')); | 3701 unittest.expect(o.kind, unittest.equals('foo')); |
3675 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3702 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3676 checkUnnamed560(o.resources); | 3703 checkUnnamed575(o.resources); |
3677 } | 3704 } |
3678 buildCounterOrdersListResponse--; | 3705 buildCounterOrdersListResponse--; |
3679 } | 3706 } |
3680 | 3707 |
3681 core.int buildCounterOrdersRefundRequest = 0; | 3708 core.int buildCounterOrdersRefundRequest = 0; |
3682 buildOrdersRefundRequest() { | 3709 buildOrdersRefundRequest() { |
3683 var o = new api.OrdersRefundRequest(); | 3710 var o = new api.OrdersRefundRequest(); |
3684 buildCounterOrdersRefundRequest++; | 3711 buildCounterOrdersRefundRequest++; |
3685 if (buildCounterOrdersRefundRequest < 3) { | 3712 if (buildCounterOrdersRefundRequest < 3) { |
3686 o.amount = buildPrice(); | 3713 o.amount = buildPrice(); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3765 | 3792 |
3766 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { | 3793 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { |
3767 buildCounterOrdersReturnLineItemResponse++; | 3794 buildCounterOrdersReturnLineItemResponse++; |
3768 if (buildCounterOrdersReturnLineItemResponse < 3) { | 3795 if (buildCounterOrdersReturnLineItemResponse < 3) { |
3769 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3796 unittest.expect(o.executionStatus, unittest.equals('foo')); |
3770 unittest.expect(o.kind, unittest.equals('foo')); | 3797 unittest.expect(o.kind, unittest.equals('foo')); |
3771 } | 3798 } |
3772 buildCounterOrdersReturnLineItemResponse--; | 3799 buildCounterOrdersReturnLineItemResponse--; |
3773 } | 3800 } |
3774 | 3801 |
3775 buildUnnamed561() { | 3802 buildUnnamed576() { |
3776 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3803 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
3777 o.add(buildOrderShipmentLineItemShipment()); | 3804 o.add(buildOrderShipmentLineItemShipment()); |
3778 o.add(buildOrderShipmentLineItemShipment()); | 3805 o.add(buildOrderShipmentLineItemShipment()); |
3779 return o; | 3806 return o; |
3780 } | 3807 } |
3781 | 3808 |
3782 checkUnnamed561(core.List<api.OrderShipmentLineItemShipment> o) { | 3809 checkUnnamed576(core.List<api.OrderShipmentLineItemShipment> o) { |
3783 unittest.expect(o, unittest.hasLength(2)); | 3810 unittest.expect(o, unittest.hasLength(2)); |
3784 checkOrderShipmentLineItemShipment(o[0]); | 3811 checkOrderShipmentLineItemShipment(o[0]); |
3785 checkOrderShipmentLineItemShipment(o[1]); | 3812 checkOrderShipmentLineItemShipment(o[1]); |
3786 } | 3813 } |
3787 | 3814 |
3788 core.int buildCounterOrdersShipLineItemsRequest = 0; | 3815 core.int buildCounterOrdersShipLineItemsRequest = 0; |
3789 buildOrdersShipLineItemsRequest() { | 3816 buildOrdersShipLineItemsRequest() { |
3790 var o = new api.OrdersShipLineItemsRequest(); | 3817 var o = new api.OrdersShipLineItemsRequest(); |
3791 buildCounterOrdersShipLineItemsRequest++; | 3818 buildCounterOrdersShipLineItemsRequest++; |
3792 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3819 if (buildCounterOrdersShipLineItemsRequest < 3) { |
3793 o.carrier = "foo"; | 3820 o.carrier = "foo"; |
3794 o.lineItems = buildUnnamed561(); | 3821 o.lineItems = buildUnnamed576(); |
3795 o.operationId = "foo"; | 3822 o.operationId = "foo"; |
3796 o.shipmentId = "foo"; | 3823 o.shipmentId = "foo"; |
3797 o.trackingId = "foo"; | 3824 o.trackingId = "foo"; |
3798 } | 3825 } |
3799 buildCounterOrdersShipLineItemsRequest--; | 3826 buildCounterOrdersShipLineItemsRequest--; |
3800 return o; | 3827 return o; |
3801 } | 3828 } |
3802 | 3829 |
3803 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { | 3830 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { |
3804 buildCounterOrdersShipLineItemsRequest++; | 3831 buildCounterOrdersShipLineItemsRequest++; |
3805 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3832 if (buildCounterOrdersShipLineItemsRequest < 3) { |
3806 unittest.expect(o.carrier, unittest.equals('foo')); | 3833 unittest.expect(o.carrier, unittest.equals('foo')); |
3807 checkUnnamed561(o.lineItems); | 3834 checkUnnamed576(o.lineItems); |
3808 unittest.expect(o.operationId, unittest.equals('foo')); | 3835 unittest.expect(o.operationId, unittest.equals('foo')); |
3809 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3836 unittest.expect(o.shipmentId, unittest.equals('foo')); |
3810 unittest.expect(o.trackingId, unittest.equals('foo')); | 3837 unittest.expect(o.trackingId, unittest.equals('foo')); |
3811 } | 3838 } |
3812 buildCounterOrdersShipLineItemsRequest--; | 3839 buildCounterOrdersShipLineItemsRequest--; |
3813 } | 3840 } |
3814 | 3841 |
3815 core.int buildCounterOrdersShipLineItemsResponse = 0; | 3842 core.int buildCounterOrdersShipLineItemsResponse = 0; |
3816 buildOrdersShipLineItemsResponse() { | 3843 buildOrdersShipLineItemsResponse() { |
3817 var o = new api.OrdersShipLineItemsResponse(); | 3844 var o = new api.OrdersShipLineItemsResponse(); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3916 | 3943 |
3917 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { | 3944 checkOrdersUpdateShipmentResponse(api.OrdersUpdateShipmentResponse o) { |
3918 buildCounterOrdersUpdateShipmentResponse++; | 3945 buildCounterOrdersUpdateShipmentResponse++; |
3919 if (buildCounterOrdersUpdateShipmentResponse < 3) { | 3946 if (buildCounterOrdersUpdateShipmentResponse < 3) { |
3920 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3947 unittest.expect(o.executionStatus, unittest.equals('foo')); |
3921 unittest.expect(o.kind, unittest.equals('foo')); | 3948 unittest.expect(o.kind, unittest.equals('foo')); |
3922 } | 3949 } |
3923 buildCounterOrdersUpdateShipmentResponse--; | 3950 buildCounterOrdersUpdateShipmentResponse--; |
3924 } | 3951 } |
3925 | 3952 |
3926 buildUnnamed562() { | 3953 buildUnnamed577() { |
3927 var o = new core.List<api.PostalCodeRange>(); | 3954 var o = new core.List<api.PostalCodeRange>(); |
3928 o.add(buildPostalCodeRange()); | 3955 o.add(buildPostalCodeRange()); |
3929 o.add(buildPostalCodeRange()); | 3956 o.add(buildPostalCodeRange()); |
3930 return o; | 3957 return o; |
3931 } | 3958 } |
3932 | 3959 |
3933 checkUnnamed562(core.List<api.PostalCodeRange> o) { | 3960 checkUnnamed577(core.List<api.PostalCodeRange> o) { |
3934 unittest.expect(o, unittest.hasLength(2)); | 3961 unittest.expect(o, unittest.hasLength(2)); |
3935 checkPostalCodeRange(o[0]); | 3962 checkPostalCodeRange(o[0]); |
3936 checkPostalCodeRange(o[1]); | 3963 checkPostalCodeRange(o[1]); |
3937 } | 3964 } |
3938 | 3965 |
3939 core.int buildCounterPostalCodeGroup = 0; | 3966 core.int buildCounterPostalCodeGroup = 0; |
3940 buildPostalCodeGroup() { | 3967 buildPostalCodeGroup() { |
3941 var o = new api.PostalCodeGroup(); | 3968 var o = new api.PostalCodeGroup(); |
3942 buildCounterPostalCodeGroup++; | 3969 buildCounterPostalCodeGroup++; |
3943 if (buildCounterPostalCodeGroup < 3) { | 3970 if (buildCounterPostalCodeGroup < 3) { |
3944 o.country = "foo"; | 3971 o.country = "foo"; |
3945 o.name = "foo"; | 3972 o.name = "foo"; |
3946 o.postalCodeRanges = buildUnnamed562(); | 3973 o.postalCodeRanges = buildUnnamed577(); |
3947 } | 3974 } |
3948 buildCounterPostalCodeGroup--; | 3975 buildCounterPostalCodeGroup--; |
3949 return o; | 3976 return o; |
3950 } | 3977 } |
3951 | 3978 |
3952 checkPostalCodeGroup(api.PostalCodeGroup o) { | 3979 checkPostalCodeGroup(api.PostalCodeGroup o) { |
3953 buildCounterPostalCodeGroup++; | 3980 buildCounterPostalCodeGroup++; |
3954 if (buildCounterPostalCodeGroup < 3) { | 3981 if (buildCounterPostalCodeGroup < 3) { |
3955 unittest.expect(o.country, unittest.equals('foo')); | 3982 unittest.expect(o.country, unittest.equals('foo')); |
3956 unittest.expect(o.name, unittest.equals('foo')); | 3983 unittest.expect(o.name, unittest.equals('foo')); |
3957 checkUnnamed562(o.postalCodeRanges); | 3984 checkUnnamed577(o.postalCodeRanges); |
3958 } | 3985 } |
3959 buildCounterPostalCodeGroup--; | 3986 buildCounterPostalCodeGroup--; |
3960 } | 3987 } |
3961 | 3988 |
3962 core.int buildCounterPostalCodeRange = 0; | 3989 core.int buildCounterPostalCodeRange = 0; |
3963 buildPostalCodeRange() { | 3990 buildPostalCodeRange() { |
3964 var o = new api.PostalCodeRange(); | 3991 var o = new api.PostalCodeRange(); |
3965 buildCounterPostalCodeRange++; | 3992 buildCounterPostalCodeRange++; |
3966 if (buildCounterPostalCodeRange < 3) { | 3993 if (buildCounterPostalCodeRange < 3) { |
3967 o.postalCodeRangeBegin = "foo"; | 3994 o.postalCodeRangeBegin = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
3994 | 4021 |
3995 checkPrice(api.Price o) { | 4022 checkPrice(api.Price o) { |
3996 buildCounterPrice++; | 4023 buildCounterPrice++; |
3997 if (buildCounterPrice < 3) { | 4024 if (buildCounterPrice < 3) { |
3998 unittest.expect(o.currency, unittest.equals('foo')); | 4025 unittest.expect(o.currency, unittest.equals('foo')); |
3999 unittest.expect(o.value, unittest.equals('foo')); | 4026 unittest.expect(o.value, unittest.equals('foo')); |
4000 } | 4027 } |
4001 buildCounterPrice--; | 4028 buildCounterPrice--; |
4002 } | 4029 } |
4003 | 4030 |
4004 buildUnnamed563() { | 4031 buildUnnamed578() { |
4005 var o = new core.List<core.String>(); | 4032 var o = new core.List<core.String>(); |
4006 o.add("foo"); | 4033 o.add("foo"); |
4007 o.add("foo"); | 4034 o.add("foo"); |
4008 return o; | 4035 return o; |
4009 } | 4036 } |
4010 | 4037 |
4011 checkUnnamed563(core.List<core.String> o) { | 4038 checkUnnamed578(core.List<core.String> o) { |
4012 unittest.expect(o, unittest.hasLength(2)); | 4039 unittest.expect(o, unittest.hasLength(2)); |
4013 unittest.expect(o[0], unittest.equals('foo')); | 4040 unittest.expect(o[0], unittest.equals('foo')); |
4014 unittest.expect(o[1], unittest.equals('foo')); | 4041 unittest.expect(o[1], unittest.equals('foo')); |
4015 } | 4042 } |
4016 | 4043 |
4017 buildUnnamed564() { | 4044 buildUnnamed579() { |
4018 var o = new core.List<core.String>(); | 4045 var o = new core.List<core.String>(); |
4019 o.add("foo"); | 4046 o.add("foo"); |
4020 o.add("foo"); | 4047 o.add("foo"); |
4021 return o; | 4048 return o; |
4022 } | 4049 } |
4023 | 4050 |
4024 checkUnnamed564(core.List<core.String> o) { | 4051 checkUnnamed579(core.List<core.String> o) { |
4025 unittest.expect(o, unittest.hasLength(2)); | 4052 unittest.expect(o, unittest.hasLength(2)); |
4026 unittest.expect(o[0], unittest.equals('foo')); | 4053 unittest.expect(o[0], unittest.equals('foo')); |
4027 unittest.expect(o[1], unittest.equals('foo')); | 4054 unittest.expect(o[1], unittest.equals('foo')); |
4028 } | 4055 } |
4029 | 4056 |
4030 buildUnnamed565() { | 4057 buildUnnamed580() { |
4031 var o = new core.List<core.String>(); | 4058 var o = new core.List<core.String>(); |
4032 o.add("foo"); | 4059 o.add("foo"); |
4033 o.add("foo"); | 4060 o.add("foo"); |
4034 return o; | 4061 return o; |
4035 } | 4062 } |
4036 | 4063 |
4037 checkUnnamed565(core.List<core.String> o) { | 4064 checkUnnamed580(core.List<core.String> o) { |
4038 unittest.expect(o, unittest.hasLength(2)); | 4065 unittest.expect(o, unittest.hasLength(2)); |
4039 unittest.expect(o[0], unittest.equals('foo')); | 4066 unittest.expect(o[0], unittest.equals('foo')); |
4040 unittest.expect(o[1], unittest.equals('foo')); | 4067 unittest.expect(o[1], unittest.equals('foo')); |
4041 } | 4068 } |
4042 | 4069 |
4043 buildUnnamed566() { | 4070 buildUnnamed581() { |
4044 var o = new core.List<api.ProductAspect>(); | 4071 var o = new core.List<api.ProductAspect>(); |
4045 o.add(buildProductAspect()); | 4072 o.add(buildProductAspect()); |
4046 o.add(buildProductAspect()); | 4073 o.add(buildProductAspect()); |
4047 return o; | 4074 return o; |
4048 } | 4075 } |
4049 | 4076 |
4050 checkUnnamed566(core.List<api.ProductAspect> o) { | 4077 checkUnnamed581(core.List<api.ProductAspect> o) { |
4051 unittest.expect(o, unittest.hasLength(2)); | 4078 unittest.expect(o, unittest.hasLength(2)); |
4052 checkProductAspect(o[0]); | 4079 checkProductAspect(o[0]); |
4053 checkProductAspect(o[1]); | 4080 checkProductAspect(o[1]); |
4054 } | 4081 } |
4055 | 4082 |
4056 buildUnnamed567() { | 4083 buildUnnamed582() { |
4057 var o = new core.List<api.ProductCustomAttribute>(); | 4084 var o = new core.List<api.ProductCustomAttribute>(); |
4058 o.add(buildProductCustomAttribute()); | 4085 o.add(buildProductCustomAttribute()); |
4059 o.add(buildProductCustomAttribute()); | 4086 o.add(buildProductCustomAttribute()); |
4060 return o; | 4087 return o; |
4061 } | 4088 } |
4062 | 4089 |
4063 checkUnnamed567(core.List<api.ProductCustomAttribute> o) { | 4090 checkUnnamed582(core.List<api.ProductCustomAttribute> o) { |
4064 unittest.expect(o, unittest.hasLength(2)); | 4091 unittest.expect(o, unittest.hasLength(2)); |
4065 checkProductCustomAttribute(o[0]); | 4092 checkProductCustomAttribute(o[0]); |
4066 checkProductCustomAttribute(o[1]); | 4093 checkProductCustomAttribute(o[1]); |
4067 } | 4094 } |
4068 | 4095 |
4069 buildUnnamed568() { | 4096 buildUnnamed583() { |
4070 var o = new core.List<api.ProductCustomGroup>(); | 4097 var o = new core.List<api.ProductCustomGroup>(); |
4071 o.add(buildProductCustomGroup()); | 4098 o.add(buildProductCustomGroup()); |
4072 o.add(buildProductCustomGroup()); | 4099 o.add(buildProductCustomGroup()); |
4073 return o; | 4100 return o; |
4074 } | 4101 } |
4075 | 4102 |
4076 checkUnnamed568(core.List<api.ProductCustomGroup> o) { | 4103 checkUnnamed583(core.List<api.ProductCustomGroup> o) { |
4077 unittest.expect(o, unittest.hasLength(2)); | 4104 unittest.expect(o, unittest.hasLength(2)); |
4078 checkProductCustomGroup(o[0]); | 4105 checkProductCustomGroup(o[0]); |
4079 checkProductCustomGroup(o[1]); | 4106 checkProductCustomGroup(o[1]); |
4080 } | 4107 } |
4081 | 4108 |
4082 buildUnnamed569() { | 4109 buildUnnamed584() { |
4083 var o = new core.List<api.ProductDestination>(); | 4110 var o = new core.List<api.ProductDestination>(); |
4084 o.add(buildProductDestination()); | 4111 o.add(buildProductDestination()); |
4085 o.add(buildProductDestination()); | 4112 o.add(buildProductDestination()); |
4086 return o; | 4113 return o; |
4087 } | 4114 } |
4088 | 4115 |
4089 checkUnnamed569(core.List<api.ProductDestination> o) { | 4116 checkUnnamed584(core.List<api.ProductDestination> o) { |
4090 unittest.expect(o, unittest.hasLength(2)); | 4117 unittest.expect(o, unittest.hasLength(2)); |
4091 checkProductDestination(o[0]); | 4118 checkProductDestination(o[0]); |
4092 checkProductDestination(o[1]); | 4119 checkProductDestination(o[1]); |
4093 } | 4120 } |
4094 | 4121 |
4095 buildUnnamed570() { | 4122 buildUnnamed585() { |
4096 var o = new core.List<core.String>(); | 4123 var o = new core.List<core.String>(); |
4097 o.add("foo"); | 4124 o.add("foo"); |
4098 o.add("foo"); | 4125 o.add("foo"); |
4099 return o; | 4126 return o; |
4100 } | 4127 } |
4101 | 4128 |
4102 checkUnnamed570(core.List<core.String> o) { | 4129 checkUnnamed585(core.List<core.String> o) { |
4103 unittest.expect(o, unittest.hasLength(2)); | 4130 unittest.expect(o, unittest.hasLength(2)); |
4104 unittest.expect(o[0], unittest.equals('foo')); | 4131 unittest.expect(o[0], unittest.equals('foo')); |
4105 unittest.expect(o[1], unittest.equals('foo')); | 4132 unittest.expect(o[1], unittest.equals('foo')); |
4106 } | 4133 } |
4107 | 4134 |
4108 buildUnnamed571() { | 4135 buildUnnamed586() { |
4109 var o = new core.List<core.String>(); | 4136 var o = new core.List<core.String>(); |
4110 o.add("foo"); | 4137 o.add("foo"); |
4111 o.add("foo"); | 4138 o.add("foo"); |
4112 return o; | 4139 return o; |
4113 } | 4140 } |
4114 | 4141 |
4115 checkUnnamed571(core.List<core.String> o) { | 4142 checkUnnamed586(core.List<core.String> o) { |
4116 unittest.expect(o, unittest.hasLength(2)); | 4143 unittest.expect(o, unittest.hasLength(2)); |
4117 unittest.expect(o[0], unittest.equals('foo')); | 4144 unittest.expect(o[0], unittest.equals('foo')); |
4118 unittest.expect(o[1], unittest.equals('foo')); | 4145 unittest.expect(o[1], unittest.equals('foo')); |
4119 } | 4146 } |
4120 | 4147 |
4121 buildUnnamed572() { | 4148 buildUnnamed587() { |
4122 var o = new core.List<api.ProductShipping>(); | 4149 var o = new core.List<api.ProductShipping>(); |
4123 o.add(buildProductShipping()); | 4150 o.add(buildProductShipping()); |
4124 o.add(buildProductShipping()); | 4151 o.add(buildProductShipping()); |
4125 return o; | 4152 return o; |
4126 } | 4153 } |
4127 | 4154 |
4128 checkUnnamed572(core.List<api.ProductShipping> o) { | 4155 checkUnnamed587(core.List<api.ProductShipping> o) { |
4129 unittest.expect(o, unittest.hasLength(2)); | 4156 unittest.expect(o, unittest.hasLength(2)); |
4130 checkProductShipping(o[0]); | 4157 checkProductShipping(o[0]); |
4131 checkProductShipping(o[1]); | 4158 checkProductShipping(o[1]); |
4132 } | 4159 } |
4133 | 4160 |
4134 buildUnnamed573() { | 4161 buildUnnamed588() { |
4135 var o = new core.List<core.String>(); | 4162 var o = new core.List<core.String>(); |
4136 o.add("foo"); | 4163 o.add("foo"); |
4137 o.add("foo"); | 4164 o.add("foo"); |
4138 return o; | 4165 return o; |
4139 } | 4166 } |
4140 | 4167 |
4141 checkUnnamed573(core.List<core.String> o) { | 4168 checkUnnamed588(core.List<core.String> o) { |
4142 unittest.expect(o, unittest.hasLength(2)); | 4169 unittest.expect(o, unittest.hasLength(2)); |
4143 unittest.expect(o[0], unittest.equals('foo')); | 4170 unittest.expect(o[0], unittest.equals('foo')); |
4144 unittest.expect(o[1], unittest.equals('foo')); | 4171 unittest.expect(o[1], unittest.equals('foo')); |
4145 } | 4172 } |
4146 | 4173 |
4147 buildUnnamed574() { | 4174 buildUnnamed589() { |
4148 var o = new core.List<api.ProductTax>(); | 4175 var o = new core.List<api.ProductTax>(); |
4149 o.add(buildProductTax()); | 4176 o.add(buildProductTax()); |
4150 o.add(buildProductTax()); | 4177 o.add(buildProductTax()); |
4151 return o; | 4178 return o; |
4152 } | 4179 } |
4153 | 4180 |
4154 checkUnnamed574(core.List<api.ProductTax> o) { | 4181 checkUnnamed589(core.List<api.ProductTax> o) { |
4155 unittest.expect(o, unittest.hasLength(2)); | 4182 unittest.expect(o, unittest.hasLength(2)); |
4156 checkProductTax(o[0]); | 4183 checkProductTax(o[0]); |
4157 checkProductTax(o[1]); | 4184 checkProductTax(o[1]); |
4158 } | 4185 } |
4159 | 4186 |
4160 buildUnnamed575() { | 4187 buildUnnamed590() { |
4161 var o = new core.List<core.String>(); | 4188 var o = new core.List<core.String>(); |
4162 o.add("foo"); | 4189 o.add("foo"); |
4163 o.add("foo"); | 4190 o.add("foo"); |
4164 return o; | 4191 return o; |
4165 } | 4192 } |
4166 | 4193 |
4167 checkUnnamed575(core.List<core.String> o) { | 4194 checkUnnamed590(core.List<core.String> o) { |
4168 unittest.expect(o, unittest.hasLength(2)); | 4195 unittest.expect(o, unittest.hasLength(2)); |
4169 unittest.expect(o[0], unittest.equals('foo')); | 4196 unittest.expect(o[0], unittest.equals('foo')); |
4170 unittest.expect(o[1], unittest.equals('foo')); | 4197 unittest.expect(o[1], unittest.equals('foo')); |
4171 } | 4198 } |
4172 | 4199 |
4173 buildUnnamed576() { | 4200 buildUnnamed591() { |
4174 var o = new core.List<api.Error>(); | 4201 var o = new core.List<api.Error>(); |
4175 o.add(buildError()); | 4202 o.add(buildError()); |
4176 o.add(buildError()); | 4203 o.add(buildError()); |
4177 return o; | 4204 return o; |
4178 } | 4205 } |
4179 | 4206 |
4180 checkUnnamed576(core.List<api.Error> o) { | 4207 checkUnnamed591(core.List<api.Error> o) { |
4181 unittest.expect(o, unittest.hasLength(2)); | 4208 unittest.expect(o, unittest.hasLength(2)); |
4182 checkError(o[0]); | 4209 checkError(o[0]); |
4183 checkError(o[1]); | 4210 checkError(o[1]); |
4184 } | 4211 } |
4185 | 4212 |
4186 core.int buildCounterProduct = 0; | 4213 core.int buildCounterProduct = 0; |
4187 buildProduct() { | 4214 buildProduct() { |
4188 var o = new api.Product(); | 4215 var o = new api.Product(); |
4189 buildCounterProduct++; | 4216 buildCounterProduct++; |
4190 if (buildCounterProduct < 3) { | 4217 if (buildCounterProduct < 3) { |
4191 o.additionalImageLinks = buildUnnamed563(); | 4218 o.additionalImageLinks = buildUnnamed578(); |
4192 o.additionalProductTypes = buildUnnamed564(); | 4219 o.additionalProductTypes = buildUnnamed579(); |
4193 o.adult = true; | 4220 o.adult = true; |
4194 o.adwordsGrouping = "foo"; | 4221 o.adwordsGrouping = "foo"; |
4195 o.adwordsLabels = buildUnnamed565(); | 4222 o.adwordsLabels = buildUnnamed580(); |
4196 o.adwordsRedirect = "foo"; | 4223 o.adwordsRedirect = "foo"; |
4197 o.ageGroup = "foo"; | 4224 o.ageGroup = "foo"; |
4198 o.aspects = buildUnnamed566(); | 4225 o.aspects = buildUnnamed581(); |
4199 o.availability = "foo"; | 4226 o.availability = "foo"; |
4200 o.availabilityDate = "foo"; | 4227 o.availabilityDate = "foo"; |
4201 o.brand = "foo"; | 4228 o.brand = "foo"; |
4202 o.channel = "foo"; | 4229 o.channel = "foo"; |
4203 o.color = "foo"; | 4230 o.color = "foo"; |
4204 o.condition = "foo"; | 4231 o.condition = "foo"; |
4205 o.contentLanguage = "foo"; | 4232 o.contentLanguage = "foo"; |
4206 o.customAttributes = buildUnnamed567(); | 4233 o.customAttributes = buildUnnamed582(); |
4207 o.customGroups = buildUnnamed568(); | 4234 o.customGroups = buildUnnamed583(); |
4208 o.customLabel0 = "foo"; | 4235 o.customLabel0 = "foo"; |
4209 o.customLabel1 = "foo"; | 4236 o.customLabel1 = "foo"; |
4210 o.customLabel2 = "foo"; | 4237 o.customLabel2 = "foo"; |
4211 o.customLabel3 = "foo"; | 4238 o.customLabel3 = "foo"; |
4212 o.customLabel4 = "foo"; | 4239 o.customLabel4 = "foo"; |
4213 o.description = "foo"; | 4240 o.description = "foo"; |
4214 o.destinations = buildUnnamed569(); | 4241 o.destinations = buildUnnamed584(); |
4215 o.displayAdsId = "foo"; | 4242 o.displayAdsId = "foo"; |
4216 o.displayAdsLink = "foo"; | 4243 o.displayAdsLink = "foo"; |
4217 o.displayAdsSimilarIds = buildUnnamed570(); | 4244 o.displayAdsSimilarIds = buildUnnamed585(); |
4218 o.displayAdsTitle = "foo"; | 4245 o.displayAdsTitle = "foo"; |
4219 o.displayAdsValue = 42.0; | 4246 o.displayAdsValue = 42.0; |
4220 o.energyEfficiencyClass = "foo"; | 4247 o.energyEfficiencyClass = "foo"; |
4221 o.expirationDate = "foo"; | 4248 o.expirationDate = "foo"; |
4222 o.gender = "foo"; | 4249 o.gender = "foo"; |
4223 o.googleProductCategory = "foo"; | 4250 o.googleProductCategory = "foo"; |
4224 o.gtin = "foo"; | 4251 o.gtin = "foo"; |
4225 o.id = "foo"; | 4252 o.id = "foo"; |
4226 o.identifierExists = true; | 4253 o.identifierExists = true; |
4227 o.imageLink = "foo"; | 4254 o.imageLink = "foo"; |
4228 o.installment = buildInstallment(); | 4255 o.installment = buildInstallment(); |
4229 o.isBundle = true; | 4256 o.isBundle = true; |
4230 o.itemGroupId = "foo"; | 4257 o.itemGroupId = "foo"; |
4231 o.kind = "foo"; | 4258 o.kind = "foo"; |
4232 o.link = "foo"; | 4259 o.link = "foo"; |
4233 o.loyaltyPoints = buildLoyaltyPoints(); | 4260 o.loyaltyPoints = buildLoyaltyPoints(); |
4234 o.material = "foo"; | 4261 o.material = "foo"; |
4235 o.mobileLink = "foo"; | 4262 o.mobileLink = "foo"; |
4236 o.mpn = "foo"; | 4263 o.mpn = "foo"; |
4237 o.multipack = "foo"; | 4264 o.multipack = "foo"; |
4238 o.offerId = "foo"; | 4265 o.offerId = "foo"; |
4239 o.onlineOnly = true; | 4266 o.onlineOnly = true; |
4240 o.pattern = "foo"; | 4267 o.pattern = "foo"; |
4241 o.price = buildPrice(); | 4268 o.price = buildPrice(); |
4242 o.productType = "foo"; | 4269 o.productType = "foo"; |
4243 o.promotionIds = buildUnnamed571(); | 4270 o.promotionIds = buildUnnamed586(); |
4244 o.salePrice = buildPrice(); | 4271 o.salePrice = buildPrice(); |
4245 o.salePriceEffectiveDate = "foo"; | 4272 o.salePriceEffectiveDate = "foo"; |
4246 o.sellOnGoogleQuantity = "foo"; | 4273 o.sellOnGoogleQuantity = "foo"; |
4247 o.shipping = buildUnnamed572(); | 4274 o.shipping = buildUnnamed587(); |
4248 o.shippingHeight = buildProductShippingDimension(); | 4275 o.shippingHeight = buildProductShippingDimension(); |
4249 o.shippingLabel = "foo"; | 4276 o.shippingLabel = "foo"; |
4250 o.shippingLength = buildProductShippingDimension(); | 4277 o.shippingLength = buildProductShippingDimension(); |
4251 o.shippingWeight = buildProductShippingWeight(); | 4278 o.shippingWeight = buildProductShippingWeight(); |
4252 o.shippingWidth = buildProductShippingDimension(); | 4279 o.shippingWidth = buildProductShippingDimension(); |
4253 o.sizeSystem = "foo"; | 4280 o.sizeSystem = "foo"; |
4254 o.sizeType = "foo"; | 4281 o.sizeType = "foo"; |
4255 o.sizes = buildUnnamed573(); | 4282 o.sizes = buildUnnamed588(); |
4256 o.targetCountry = "foo"; | 4283 o.targetCountry = "foo"; |
4257 o.taxes = buildUnnamed574(); | 4284 o.taxes = buildUnnamed589(); |
4258 o.title = "foo"; | 4285 o.title = "foo"; |
4259 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); | 4286 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); |
4260 o.unitPricingMeasure = buildProductUnitPricingMeasure(); | 4287 o.unitPricingMeasure = buildProductUnitPricingMeasure(); |
4261 o.validatedDestinations = buildUnnamed575(); | 4288 o.validatedDestinations = buildUnnamed590(); |
4262 o.warnings = buildUnnamed576(); | 4289 o.warnings = buildUnnamed591(); |
4263 } | 4290 } |
4264 buildCounterProduct--; | 4291 buildCounterProduct--; |
4265 return o; | 4292 return o; |
4266 } | 4293 } |
4267 | 4294 |
4268 checkProduct(api.Product o) { | 4295 checkProduct(api.Product o) { |
4269 buildCounterProduct++; | 4296 buildCounterProduct++; |
4270 if (buildCounterProduct < 3) { | 4297 if (buildCounterProduct < 3) { |
4271 checkUnnamed563(o.additionalImageLinks); | 4298 checkUnnamed578(o.additionalImageLinks); |
4272 checkUnnamed564(o.additionalProductTypes); | 4299 checkUnnamed579(o.additionalProductTypes); |
4273 unittest.expect(o.adult, unittest.isTrue); | 4300 unittest.expect(o.adult, unittest.isTrue); |
4274 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); | 4301 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); |
4275 checkUnnamed565(o.adwordsLabels); | 4302 checkUnnamed580(o.adwordsLabels); |
4276 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); | 4303 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); |
4277 unittest.expect(o.ageGroup, unittest.equals('foo')); | 4304 unittest.expect(o.ageGroup, unittest.equals('foo')); |
4278 checkUnnamed566(o.aspects); | 4305 checkUnnamed581(o.aspects); |
4279 unittest.expect(o.availability, unittest.equals('foo')); | 4306 unittest.expect(o.availability, unittest.equals('foo')); |
4280 unittest.expect(o.availabilityDate, unittest.equals('foo')); | 4307 unittest.expect(o.availabilityDate, unittest.equals('foo')); |
4281 unittest.expect(o.brand, unittest.equals('foo')); | 4308 unittest.expect(o.brand, unittest.equals('foo')); |
4282 unittest.expect(o.channel, unittest.equals('foo')); | 4309 unittest.expect(o.channel, unittest.equals('foo')); |
4283 unittest.expect(o.color, unittest.equals('foo')); | 4310 unittest.expect(o.color, unittest.equals('foo')); |
4284 unittest.expect(o.condition, unittest.equals('foo')); | 4311 unittest.expect(o.condition, unittest.equals('foo')); |
4285 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 4312 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
4286 checkUnnamed567(o.customAttributes); | 4313 checkUnnamed582(o.customAttributes); |
4287 checkUnnamed568(o.customGroups); | 4314 checkUnnamed583(o.customGroups); |
4288 unittest.expect(o.customLabel0, unittest.equals('foo')); | 4315 unittest.expect(o.customLabel0, unittest.equals('foo')); |
4289 unittest.expect(o.customLabel1, unittest.equals('foo')); | 4316 unittest.expect(o.customLabel1, unittest.equals('foo')); |
4290 unittest.expect(o.customLabel2, unittest.equals('foo')); | 4317 unittest.expect(o.customLabel2, unittest.equals('foo')); |
4291 unittest.expect(o.customLabel3, unittest.equals('foo')); | 4318 unittest.expect(o.customLabel3, unittest.equals('foo')); |
4292 unittest.expect(o.customLabel4, unittest.equals('foo')); | 4319 unittest.expect(o.customLabel4, unittest.equals('foo')); |
4293 unittest.expect(o.description, unittest.equals('foo')); | 4320 unittest.expect(o.description, unittest.equals('foo')); |
4294 checkUnnamed569(o.destinations); | 4321 checkUnnamed584(o.destinations); |
4295 unittest.expect(o.displayAdsId, unittest.equals('foo')); | 4322 unittest.expect(o.displayAdsId, unittest.equals('foo')); |
4296 unittest.expect(o.displayAdsLink, unittest.equals('foo')); | 4323 unittest.expect(o.displayAdsLink, unittest.equals('foo')); |
4297 checkUnnamed570(o.displayAdsSimilarIds); | 4324 checkUnnamed585(o.displayAdsSimilarIds); |
4298 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); | 4325 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); |
4299 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); | 4326 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); |
4300 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); | 4327 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); |
4301 unittest.expect(o.expirationDate, unittest.equals('foo')); | 4328 unittest.expect(o.expirationDate, unittest.equals('foo')); |
4302 unittest.expect(o.gender, unittest.equals('foo')); | 4329 unittest.expect(o.gender, unittest.equals('foo')); |
4303 unittest.expect(o.googleProductCategory, unittest.equals('foo')); | 4330 unittest.expect(o.googleProductCategory, unittest.equals('foo')); |
4304 unittest.expect(o.gtin, unittest.equals('foo')); | 4331 unittest.expect(o.gtin, unittest.equals('foo')); |
4305 unittest.expect(o.id, unittest.equals('foo')); | 4332 unittest.expect(o.id, unittest.equals('foo')); |
4306 unittest.expect(o.identifierExists, unittest.isTrue); | 4333 unittest.expect(o.identifierExists, unittest.isTrue); |
4307 unittest.expect(o.imageLink, unittest.equals('foo')); | 4334 unittest.expect(o.imageLink, unittest.equals('foo')); |
4308 checkInstallment(o.installment); | 4335 checkInstallment(o.installment); |
4309 unittest.expect(o.isBundle, unittest.isTrue); | 4336 unittest.expect(o.isBundle, unittest.isTrue); |
4310 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 4337 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
4311 unittest.expect(o.kind, unittest.equals('foo')); | 4338 unittest.expect(o.kind, unittest.equals('foo')); |
4312 unittest.expect(o.link, unittest.equals('foo')); | 4339 unittest.expect(o.link, unittest.equals('foo')); |
4313 checkLoyaltyPoints(o.loyaltyPoints); | 4340 checkLoyaltyPoints(o.loyaltyPoints); |
4314 unittest.expect(o.material, unittest.equals('foo')); | 4341 unittest.expect(o.material, unittest.equals('foo')); |
4315 unittest.expect(o.mobileLink, unittest.equals('foo')); | 4342 unittest.expect(o.mobileLink, unittest.equals('foo')); |
4316 unittest.expect(o.mpn, unittest.equals('foo')); | 4343 unittest.expect(o.mpn, unittest.equals('foo')); |
4317 unittest.expect(o.multipack, unittest.equals('foo')); | 4344 unittest.expect(o.multipack, unittest.equals('foo')); |
4318 unittest.expect(o.offerId, unittest.equals('foo')); | 4345 unittest.expect(o.offerId, unittest.equals('foo')); |
4319 unittest.expect(o.onlineOnly, unittest.isTrue); | 4346 unittest.expect(o.onlineOnly, unittest.isTrue); |
4320 unittest.expect(o.pattern, unittest.equals('foo')); | 4347 unittest.expect(o.pattern, unittest.equals('foo')); |
4321 checkPrice(o.price); | 4348 checkPrice(o.price); |
4322 unittest.expect(o.productType, unittest.equals('foo')); | 4349 unittest.expect(o.productType, unittest.equals('foo')); |
4323 checkUnnamed571(o.promotionIds); | 4350 checkUnnamed586(o.promotionIds); |
4324 checkPrice(o.salePrice); | 4351 checkPrice(o.salePrice); |
4325 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 4352 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
4326 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); | 4353 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); |
4327 checkUnnamed572(o.shipping); | 4354 checkUnnamed587(o.shipping); |
4328 checkProductShippingDimension(o.shippingHeight); | 4355 checkProductShippingDimension(o.shippingHeight); |
4329 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 4356 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
4330 checkProductShippingDimension(o.shippingLength); | 4357 checkProductShippingDimension(o.shippingLength); |
4331 checkProductShippingWeight(o.shippingWeight); | 4358 checkProductShippingWeight(o.shippingWeight); |
4332 checkProductShippingDimension(o.shippingWidth); | 4359 checkProductShippingDimension(o.shippingWidth); |
4333 unittest.expect(o.sizeSystem, unittest.equals('foo')); | 4360 unittest.expect(o.sizeSystem, unittest.equals('foo')); |
4334 unittest.expect(o.sizeType, unittest.equals('foo')); | 4361 unittest.expect(o.sizeType, unittest.equals('foo')); |
4335 checkUnnamed573(o.sizes); | 4362 checkUnnamed588(o.sizes); |
4336 unittest.expect(o.targetCountry, unittest.equals('foo')); | 4363 unittest.expect(o.targetCountry, unittest.equals('foo')); |
4337 checkUnnamed574(o.taxes); | 4364 checkUnnamed589(o.taxes); |
4338 unittest.expect(o.title, unittest.equals('foo')); | 4365 unittest.expect(o.title, unittest.equals('foo')); |
4339 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); | 4366 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); |
4340 checkProductUnitPricingMeasure(o.unitPricingMeasure); | 4367 checkProductUnitPricingMeasure(o.unitPricingMeasure); |
4341 checkUnnamed575(o.validatedDestinations); | 4368 checkUnnamed590(o.validatedDestinations); |
4342 checkUnnamed576(o.warnings); | 4369 checkUnnamed591(o.warnings); |
4343 } | 4370 } |
4344 buildCounterProduct--; | 4371 buildCounterProduct--; |
4345 } | 4372 } |
4346 | 4373 |
4347 core.int buildCounterProductAspect = 0; | 4374 core.int buildCounterProductAspect = 0; |
4348 buildProductAspect() { | 4375 buildProductAspect() { |
4349 var o = new api.ProductAspect(); | 4376 var o = new api.ProductAspect(); |
4350 buildCounterProductAspect++; | 4377 buildCounterProductAspect++; |
4351 if (buildCounterProductAspect < 3) { | 4378 if (buildCounterProductAspect < 3) { |
4352 o.aspectName = "foo"; | 4379 o.aspectName = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4385 buildCounterProductCustomAttribute++; | 4412 buildCounterProductCustomAttribute++; |
4386 if (buildCounterProductCustomAttribute < 3) { | 4413 if (buildCounterProductCustomAttribute < 3) { |
4387 unittest.expect(o.name, unittest.equals('foo')); | 4414 unittest.expect(o.name, unittest.equals('foo')); |
4388 unittest.expect(o.type, unittest.equals('foo')); | 4415 unittest.expect(o.type, unittest.equals('foo')); |
4389 unittest.expect(o.unit, unittest.equals('foo')); | 4416 unittest.expect(o.unit, unittest.equals('foo')); |
4390 unittest.expect(o.value, unittest.equals('foo')); | 4417 unittest.expect(o.value, unittest.equals('foo')); |
4391 } | 4418 } |
4392 buildCounterProductCustomAttribute--; | 4419 buildCounterProductCustomAttribute--; |
4393 } | 4420 } |
4394 | 4421 |
4395 buildUnnamed577() { | 4422 buildUnnamed592() { |
4396 var o = new core.List<api.ProductCustomAttribute>(); | 4423 var o = new core.List<api.ProductCustomAttribute>(); |
4397 o.add(buildProductCustomAttribute()); | 4424 o.add(buildProductCustomAttribute()); |
4398 o.add(buildProductCustomAttribute()); | 4425 o.add(buildProductCustomAttribute()); |
4399 return o; | 4426 return o; |
4400 } | 4427 } |
4401 | 4428 |
4402 checkUnnamed577(core.List<api.ProductCustomAttribute> o) { | 4429 checkUnnamed592(core.List<api.ProductCustomAttribute> o) { |
4403 unittest.expect(o, unittest.hasLength(2)); | 4430 unittest.expect(o, unittest.hasLength(2)); |
4404 checkProductCustomAttribute(o[0]); | 4431 checkProductCustomAttribute(o[0]); |
4405 checkProductCustomAttribute(o[1]); | 4432 checkProductCustomAttribute(o[1]); |
4406 } | 4433 } |
4407 | 4434 |
4408 core.int buildCounterProductCustomGroup = 0; | 4435 core.int buildCounterProductCustomGroup = 0; |
4409 buildProductCustomGroup() { | 4436 buildProductCustomGroup() { |
4410 var o = new api.ProductCustomGroup(); | 4437 var o = new api.ProductCustomGroup(); |
4411 buildCounterProductCustomGroup++; | 4438 buildCounterProductCustomGroup++; |
4412 if (buildCounterProductCustomGroup < 3) { | 4439 if (buildCounterProductCustomGroup < 3) { |
4413 o.attributes = buildUnnamed577(); | 4440 o.attributes = buildUnnamed592(); |
4414 o.name = "foo"; | 4441 o.name = "foo"; |
4415 } | 4442 } |
4416 buildCounterProductCustomGroup--; | 4443 buildCounterProductCustomGroup--; |
4417 return o; | 4444 return o; |
4418 } | 4445 } |
4419 | 4446 |
4420 checkProductCustomGroup(api.ProductCustomGroup o) { | 4447 checkProductCustomGroup(api.ProductCustomGroup o) { |
4421 buildCounterProductCustomGroup++; | 4448 buildCounterProductCustomGroup++; |
4422 if (buildCounterProductCustomGroup < 3) { | 4449 if (buildCounterProductCustomGroup < 3) { |
4423 checkUnnamed577(o.attributes); | 4450 checkUnnamed592(o.attributes); |
4424 unittest.expect(o.name, unittest.equals('foo')); | 4451 unittest.expect(o.name, unittest.equals('foo')); |
4425 } | 4452 } |
4426 buildCounterProductCustomGroup--; | 4453 buildCounterProductCustomGroup--; |
4427 } | 4454 } |
4428 | 4455 |
4429 core.int buildCounterProductDestination = 0; | 4456 core.int buildCounterProductDestination = 0; |
4430 buildProductDestination() { | 4457 buildProductDestination() { |
4431 var o = new api.ProductDestination(); | 4458 var o = new api.ProductDestination(); |
4432 buildCounterProductDestination++; | 4459 buildCounterProductDestination++; |
4433 if (buildCounterProductDestination < 3) { | 4460 if (buildCounterProductDestination < 3) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4513 | 4540 |
4514 checkProductShippingWeight(api.ProductShippingWeight o) { | 4541 checkProductShippingWeight(api.ProductShippingWeight o) { |
4515 buildCounterProductShippingWeight++; | 4542 buildCounterProductShippingWeight++; |
4516 if (buildCounterProductShippingWeight < 3) { | 4543 if (buildCounterProductShippingWeight < 3) { |
4517 unittest.expect(o.unit, unittest.equals('foo')); | 4544 unittest.expect(o.unit, unittest.equals('foo')); |
4518 unittest.expect(o.value, unittest.equals(42.0)); | 4545 unittest.expect(o.value, unittest.equals(42.0)); |
4519 } | 4546 } |
4520 buildCounterProductShippingWeight--; | 4547 buildCounterProductShippingWeight--; |
4521 } | 4548 } |
4522 | 4549 |
4523 buildUnnamed578() { | 4550 buildUnnamed593() { |
4524 var o = new core.List<api.ProductStatusDataQualityIssue>(); | 4551 var o = new core.List<api.ProductStatusDataQualityIssue>(); |
4525 o.add(buildProductStatusDataQualityIssue()); | 4552 o.add(buildProductStatusDataQualityIssue()); |
4526 o.add(buildProductStatusDataQualityIssue()); | 4553 o.add(buildProductStatusDataQualityIssue()); |
4527 return o; | 4554 return o; |
4528 } | 4555 } |
4529 | 4556 |
4530 checkUnnamed578(core.List<api.ProductStatusDataQualityIssue> o) { | 4557 checkUnnamed593(core.List<api.ProductStatusDataQualityIssue> o) { |
4531 unittest.expect(o, unittest.hasLength(2)); | 4558 unittest.expect(o, unittest.hasLength(2)); |
4532 checkProductStatusDataQualityIssue(o[0]); | 4559 checkProductStatusDataQualityIssue(o[0]); |
4533 checkProductStatusDataQualityIssue(o[1]); | 4560 checkProductStatusDataQualityIssue(o[1]); |
4534 } | 4561 } |
4535 | 4562 |
4536 buildUnnamed579() { | 4563 buildUnnamed594() { |
4537 var o = new core.List<api.ProductStatusDestinationStatus>(); | 4564 var o = new core.List<api.ProductStatusDestinationStatus>(); |
4538 o.add(buildProductStatusDestinationStatus()); | 4565 o.add(buildProductStatusDestinationStatus()); |
4539 o.add(buildProductStatusDestinationStatus()); | 4566 o.add(buildProductStatusDestinationStatus()); |
4540 return o; | 4567 return o; |
4541 } | 4568 } |
4542 | 4569 |
4543 checkUnnamed579(core.List<api.ProductStatusDestinationStatus> o) { | 4570 checkUnnamed594(core.List<api.ProductStatusDestinationStatus> o) { |
4544 unittest.expect(o, unittest.hasLength(2)); | 4571 unittest.expect(o, unittest.hasLength(2)); |
4545 checkProductStatusDestinationStatus(o[0]); | 4572 checkProductStatusDestinationStatus(o[0]); |
4546 checkProductStatusDestinationStatus(o[1]); | 4573 checkProductStatusDestinationStatus(o[1]); |
4547 } | 4574 } |
4548 | 4575 |
4549 core.int buildCounterProductStatus = 0; | 4576 core.int buildCounterProductStatus = 0; |
4550 buildProductStatus() { | 4577 buildProductStatus() { |
4551 var o = new api.ProductStatus(); | 4578 var o = new api.ProductStatus(); |
4552 buildCounterProductStatus++; | 4579 buildCounterProductStatus++; |
4553 if (buildCounterProductStatus < 3) { | 4580 if (buildCounterProductStatus < 3) { |
4554 o.creationDate = "foo"; | 4581 o.creationDate = "foo"; |
4555 o.dataQualityIssues = buildUnnamed578(); | 4582 o.dataQualityIssues = buildUnnamed593(); |
4556 o.destinationStatuses = buildUnnamed579(); | 4583 o.destinationStatuses = buildUnnamed594(); |
4557 o.googleExpirationDate = "foo"; | 4584 o.googleExpirationDate = "foo"; |
4558 o.kind = "foo"; | 4585 o.kind = "foo"; |
4559 o.lastUpdateDate = "foo"; | 4586 o.lastUpdateDate = "foo"; |
4560 o.link = "foo"; | 4587 o.link = "foo"; |
4561 o.productId = "foo"; | 4588 o.productId = "foo"; |
4562 o.title = "foo"; | 4589 o.title = "foo"; |
4563 } | 4590 } |
4564 buildCounterProductStatus--; | 4591 buildCounterProductStatus--; |
4565 return o; | 4592 return o; |
4566 } | 4593 } |
4567 | 4594 |
4568 checkProductStatus(api.ProductStatus o) { | 4595 checkProductStatus(api.ProductStatus o) { |
4569 buildCounterProductStatus++; | 4596 buildCounterProductStatus++; |
4570 if (buildCounterProductStatus < 3) { | 4597 if (buildCounterProductStatus < 3) { |
4571 unittest.expect(o.creationDate, unittest.equals('foo')); | 4598 unittest.expect(o.creationDate, unittest.equals('foo')); |
4572 checkUnnamed578(o.dataQualityIssues); | 4599 checkUnnamed593(o.dataQualityIssues); |
4573 checkUnnamed579(o.destinationStatuses); | 4600 checkUnnamed594(o.destinationStatuses); |
4574 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); | 4601 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); |
4575 unittest.expect(o.kind, unittest.equals('foo')); | 4602 unittest.expect(o.kind, unittest.equals('foo')); |
4576 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); | 4603 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); |
4577 unittest.expect(o.link, unittest.equals('foo')); | 4604 unittest.expect(o.link, unittest.equals('foo')); |
4578 unittest.expect(o.productId, unittest.equals('foo')); | 4605 unittest.expect(o.productId, unittest.equals('foo')); |
4579 unittest.expect(o.title, unittest.equals('foo')); | 4606 unittest.expect(o.title, unittest.equals('foo')); |
4580 } | 4607 } |
4581 buildCounterProductStatus--; | 4608 buildCounterProductStatus--; |
4582 } | 4609 } |
4583 | 4610 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4701 | 4728 |
4702 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { | 4729 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { |
4703 buildCounterProductUnitPricingMeasure++; | 4730 buildCounterProductUnitPricingMeasure++; |
4704 if (buildCounterProductUnitPricingMeasure < 3) { | 4731 if (buildCounterProductUnitPricingMeasure < 3) { |
4705 unittest.expect(o.unit, unittest.equals('foo')); | 4732 unittest.expect(o.unit, unittest.equals('foo')); |
4706 unittest.expect(o.value, unittest.equals(42.0)); | 4733 unittest.expect(o.value, unittest.equals(42.0)); |
4707 } | 4734 } |
4708 buildCounterProductUnitPricingMeasure--; | 4735 buildCounterProductUnitPricingMeasure--; |
4709 } | 4736 } |
4710 | 4737 |
4711 buildUnnamed580() { | 4738 buildUnnamed595() { |
4712 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); | 4739 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); |
4713 o.add(buildProductsCustomBatchRequestEntry()); | 4740 o.add(buildProductsCustomBatchRequestEntry()); |
4714 o.add(buildProductsCustomBatchRequestEntry()); | 4741 o.add(buildProductsCustomBatchRequestEntry()); |
4715 return o; | 4742 return o; |
4716 } | 4743 } |
4717 | 4744 |
4718 checkUnnamed580(core.List<api.ProductsCustomBatchRequestEntry> o) { | 4745 checkUnnamed595(core.List<api.ProductsCustomBatchRequestEntry> o) { |
4719 unittest.expect(o, unittest.hasLength(2)); | 4746 unittest.expect(o, unittest.hasLength(2)); |
4720 checkProductsCustomBatchRequestEntry(o[0]); | 4747 checkProductsCustomBatchRequestEntry(o[0]); |
4721 checkProductsCustomBatchRequestEntry(o[1]); | 4748 checkProductsCustomBatchRequestEntry(o[1]); |
4722 } | 4749 } |
4723 | 4750 |
4724 core.int buildCounterProductsCustomBatchRequest = 0; | 4751 core.int buildCounterProductsCustomBatchRequest = 0; |
4725 buildProductsCustomBatchRequest() { | 4752 buildProductsCustomBatchRequest() { |
4726 var o = new api.ProductsCustomBatchRequest(); | 4753 var o = new api.ProductsCustomBatchRequest(); |
4727 buildCounterProductsCustomBatchRequest++; | 4754 buildCounterProductsCustomBatchRequest++; |
4728 if (buildCounterProductsCustomBatchRequest < 3) { | 4755 if (buildCounterProductsCustomBatchRequest < 3) { |
4729 o.entries = buildUnnamed580(); | 4756 o.entries = buildUnnamed595(); |
4730 } | 4757 } |
4731 buildCounterProductsCustomBatchRequest--; | 4758 buildCounterProductsCustomBatchRequest--; |
4732 return o; | 4759 return o; |
4733 } | 4760 } |
4734 | 4761 |
4735 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { | 4762 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { |
4736 buildCounterProductsCustomBatchRequest++; | 4763 buildCounterProductsCustomBatchRequest++; |
4737 if (buildCounterProductsCustomBatchRequest < 3) { | 4764 if (buildCounterProductsCustomBatchRequest < 3) { |
4738 checkUnnamed580(o.entries); | 4765 checkUnnamed595(o.entries); |
4739 } | 4766 } |
4740 buildCounterProductsCustomBatchRequest--; | 4767 buildCounterProductsCustomBatchRequest--; |
4741 } | 4768 } |
4742 | 4769 |
4743 core.int buildCounterProductsCustomBatchRequestEntry = 0; | 4770 core.int buildCounterProductsCustomBatchRequestEntry = 0; |
4744 buildProductsCustomBatchRequestEntry() { | 4771 buildProductsCustomBatchRequestEntry() { |
4745 var o = new api.ProductsCustomBatchRequestEntry(); | 4772 var o = new api.ProductsCustomBatchRequestEntry(); |
4746 buildCounterProductsCustomBatchRequestEntry++; | 4773 buildCounterProductsCustomBatchRequestEntry++; |
4747 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4774 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
4748 o.batchId = 42; | 4775 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
4760 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4787 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
4761 unittest.expect(o.batchId, unittest.equals(42)); | 4788 unittest.expect(o.batchId, unittest.equals(42)); |
4762 unittest.expect(o.merchantId, unittest.equals('foo')); | 4789 unittest.expect(o.merchantId, unittest.equals('foo')); |
4763 unittest.expect(o.method, unittest.equals('foo')); | 4790 unittest.expect(o.method, unittest.equals('foo')); |
4764 checkProduct(o.product); | 4791 checkProduct(o.product); |
4765 unittest.expect(o.productId, unittest.equals('foo')); | 4792 unittest.expect(o.productId, unittest.equals('foo')); |
4766 } | 4793 } |
4767 buildCounterProductsCustomBatchRequestEntry--; | 4794 buildCounterProductsCustomBatchRequestEntry--; |
4768 } | 4795 } |
4769 | 4796 |
4770 buildUnnamed581() { | 4797 buildUnnamed596() { |
4771 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); | 4798 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); |
4772 o.add(buildProductsCustomBatchResponseEntry()); | 4799 o.add(buildProductsCustomBatchResponseEntry()); |
4773 o.add(buildProductsCustomBatchResponseEntry()); | 4800 o.add(buildProductsCustomBatchResponseEntry()); |
4774 return o; | 4801 return o; |
4775 } | 4802 } |
4776 | 4803 |
4777 checkUnnamed581(core.List<api.ProductsCustomBatchResponseEntry> o) { | 4804 checkUnnamed596(core.List<api.ProductsCustomBatchResponseEntry> o) { |
4778 unittest.expect(o, unittest.hasLength(2)); | 4805 unittest.expect(o, unittest.hasLength(2)); |
4779 checkProductsCustomBatchResponseEntry(o[0]); | 4806 checkProductsCustomBatchResponseEntry(o[0]); |
4780 checkProductsCustomBatchResponseEntry(o[1]); | 4807 checkProductsCustomBatchResponseEntry(o[1]); |
4781 } | 4808 } |
4782 | 4809 |
4783 core.int buildCounterProductsCustomBatchResponse = 0; | 4810 core.int buildCounterProductsCustomBatchResponse = 0; |
4784 buildProductsCustomBatchResponse() { | 4811 buildProductsCustomBatchResponse() { |
4785 var o = new api.ProductsCustomBatchResponse(); | 4812 var o = new api.ProductsCustomBatchResponse(); |
4786 buildCounterProductsCustomBatchResponse++; | 4813 buildCounterProductsCustomBatchResponse++; |
4787 if (buildCounterProductsCustomBatchResponse < 3) { | 4814 if (buildCounterProductsCustomBatchResponse < 3) { |
4788 o.entries = buildUnnamed581(); | 4815 o.entries = buildUnnamed596(); |
4789 o.kind = "foo"; | 4816 o.kind = "foo"; |
4790 } | 4817 } |
4791 buildCounterProductsCustomBatchResponse--; | 4818 buildCounterProductsCustomBatchResponse--; |
4792 return o; | 4819 return o; |
4793 } | 4820 } |
4794 | 4821 |
4795 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { | 4822 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { |
4796 buildCounterProductsCustomBatchResponse++; | 4823 buildCounterProductsCustomBatchResponse++; |
4797 if (buildCounterProductsCustomBatchResponse < 3) { | 4824 if (buildCounterProductsCustomBatchResponse < 3) { |
4798 checkUnnamed581(o.entries); | 4825 checkUnnamed596(o.entries); |
4799 unittest.expect(o.kind, unittest.equals('foo')); | 4826 unittest.expect(o.kind, unittest.equals('foo')); |
4800 } | 4827 } |
4801 buildCounterProductsCustomBatchResponse--; | 4828 buildCounterProductsCustomBatchResponse--; |
4802 } | 4829 } |
4803 | 4830 |
4804 core.int buildCounterProductsCustomBatchResponseEntry = 0; | 4831 core.int buildCounterProductsCustomBatchResponseEntry = 0; |
4805 buildProductsCustomBatchResponseEntry() { | 4832 buildProductsCustomBatchResponseEntry() { |
4806 var o = new api.ProductsCustomBatchResponseEntry(); | 4833 var o = new api.ProductsCustomBatchResponseEntry(); |
4807 buildCounterProductsCustomBatchResponseEntry++; | 4834 buildCounterProductsCustomBatchResponseEntry++; |
4808 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4835 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
4819 buildCounterProductsCustomBatchResponseEntry++; | 4846 buildCounterProductsCustomBatchResponseEntry++; |
4820 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4847 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
4821 unittest.expect(o.batchId, unittest.equals(42)); | 4848 unittest.expect(o.batchId, unittest.equals(42)); |
4822 checkErrors(o.errors); | 4849 checkErrors(o.errors); |
4823 unittest.expect(o.kind, unittest.equals('foo')); | 4850 unittest.expect(o.kind, unittest.equals('foo')); |
4824 checkProduct(o.product); | 4851 checkProduct(o.product); |
4825 } | 4852 } |
4826 buildCounterProductsCustomBatchResponseEntry--; | 4853 buildCounterProductsCustomBatchResponseEntry--; |
4827 } | 4854 } |
4828 | 4855 |
4829 buildUnnamed582() { | 4856 buildUnnamed597() { |
4830 var o = new core.List<api.Product>(); | 4857 var o = new core.List<api.Product>(); |
4831 o.add(buildProduct()); | 4858 o.add(buildProduct()); |
4832 o.add(buildProduct()); | 4859 o.add(buildProduct()); |
4833 return o; | 4860 return o; |
4834 } | 4861 } |
4835 | 4862 |
4836 checkUnnamed582(core.List<api.Product> o) { | 4863 checkUnnamed597(core.List<api.Product> o) { |
4837 unittest.expect(o, unittest.hasLength(2)); | 4864 unittest.expect(o, unittest.hasLength(2)); |
4838 checkProduct(o[0]); | 4865 checkProduct(o[0]); |
4839 checkProduct(o[1]); | 4866 checkProduct(o[1]); |
4840 } | 4867 } |
4841 | 4868 |
4842 core.int buildCounterProductsListResponse = 0; | 4869 core.int buildCounterProductsListResponse = 0; |
4843 buildProductsListResponse() { | 4870 buildProductsListResponse() { |
4844 var o = new api.ProductsListResponse(); | 4871 var o = new api.ProductsListResponse(); |
4845 buildCounterProductsListResponse++; | 4872 buildCounterProductsListResponse++; |
4846 if (buildCounterProductsListResponse < 3) { | 4873 if (buildCounterProductsListResponse < 3) { |
4847 o.kind = "foo"; | 4874 o.kind = "foo"; |
4848 o.nextPageToken = "foo"; | 4875 o.nextPageToken = "foo"; |
4849 o.resources = buildUnnamed582(); | 4876 o.resources = buildUnnamed597(); |
4850 } | 4877 } |
4851 buildCounterProductsListResponse--; | 4878 buildCounterProductsListResponse--; |
4852 return o; | 4879 return o; |
4853 } | 4880 } |
4854 | 4881 |
4855 checkProductsListResponse(api.ProductsListResponse o) { | 4882 checkProductsListResponse(api.ProductsListResponse o) { |
4856 buildCounterProductsListResponse++; | 4883 buildCounterProductsListResponse++; |
4857 if (buildCounterProductsListResponse < 3) { | 4884 if (buildCounterProductsListResponse < 3) { |
4858 unittest.expect(o.kind, unittest.equals('foo')); | 4885 unittest.expect(o.kind, unittest.equals('foo')); |
4859 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4886 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4860 checkUnnamed582(o.resources); | 4887 checkUnnamed597(o.resources); |
4861 } | 4888 } |
4862 buildCounterProductsListResponse--; | 4889 buildCounterProductsListResponse--; |
4863 } | 4890 } |
4864 | 4891 |
4865 buildUnnamed583() { | 4892 buildUnnamed598() { |
4866 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); | 4893 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); |
4867 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4894 o.add(buildProductstatusesCustomBatchRequestEntry()); |
4868 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4895 o.add(buildProductstatusesCustomBatchRequestEntry()); |
4869 return o; | 4896 return o; |
4870 } | 4897 } |
4871 | 4898 |
4872 checkUnnamed583(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { | 4899 checkUnnamed598(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { |
4873 unittest.expect(o, unittest.hasLength(2)); | 4900 unittest.expect(o, unittest.hasLength(2)); |
4874 checkProductstatusesCustomBatchRequestEntry(o[0]); | 4901 checkProductstatusesCustomBatchRequestEntry(o[0]); |
4875 checkProductstatusesCustomBatchRequestEntry(o[1]); | 4902 checkProductstatusesCustomBatchRequestEntry(o[1]); |
4876 } | 4903 } |
4877 | 4904 |
4878 core.int buildCounterProductstatusesCustomBatchRequest = 0; | 4905 core.int buildCounterProductstatusesCustomBatchRequest = 0; |
4879 buildProductstatusesCustomBatchRequest() { | 4906 buildProductstatusesCustomBatchRequest() { |
4880 var o = new api.ProductstatusesCustomBatchRequest(); | 4907 var o = new api.ProductstatusesCustomBatchRequest(); |
4881 buildCounterProductstatusesCustomBatchRequest++; | 4908 buildCounterProductstatusesCustomBatchRequest++; |
4882 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4909 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
4883 o.entries = buildUnnamed583(); | 4910 o.entries = buildUnnamed598(); |
4884 } | 4911 } |
4885 buildCounterProductstatusesCustomBatchRequest--; | 4912 buildCounterProductstatusesCustomBatchRequest--; |
4886 return o; | 4913 return o; |
4887 } | 4914 } |
4888 | 4915 |
4889 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ | 4916 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ |
4890 buildCounterProductstatusesCustomBatchRequest++; | 4917 buildCounterProductstatusesCustomBatchRequest++; |
4891 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4918 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
4892 checkUnnamed583(o.entries); | 4919 checkUnnamed598(o.entries); |
4893 } | 4920 } |
4894 buildCounterProductstatusesCustomBatchRequest--; | 4921 buildCounterProductstatusesCustomBatchRequest--; |
4895 } | 4922 } |
4896 | 4923 |
4897 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; | 4924 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; |
4898 buildProductstatusesCustomBatchRequestEntry() { | 4925 buildProductstatusesCustomBatchRequestEntry() { |
4899 var o = new api.ProductstatusesCustomBatchRequestEntry(); | 4926 var o = new api.ProductstatusesCustomBatchRequestEntry(); |
4900 buildCounterProductstatusesCustomBatchRequestEntry++; | 4927 buildCounterProductstatusesCustomBatchRequestEntry++; |
4901 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4928 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
4902 o.batchId = 42; | 4929 o.batchId = 42; |
4903 o.merchantId = "foo"; | 4930 o.merchantId = "foo"; |
4904 o.method = "foo"; | 4931 o.method = "foo"; |
4905 o.productId = "foo"; | 4932 o.productId = "foo"; |
4906 } | 4933 } |
4907 buildCounterProductstatusesCustomBatchRequestEntry--; | 4934 buildCounterProductstatusesCustomBatchRequestEntry--; |
4908 return o; | 4935 return o; |
4909 } | 4936 } |
4910 | 4937 |
4911 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { | 4938 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { |
4912 buildCounterProductstatusesCustomBatchRequestEntry++; | 4939 buildCounterProductstatusesCustomBatchRequestEntry++; |
4913 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4940 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
4914 unittest.expect(o.batchId, unittest.equals(42)); | 4941 unittest.expect(o.batchId, unittest.equals(42)); |
4915 unittest.expect(o.merchantId, unittest.equals('foo')); | 4942 unittest.expect(o.merchantId, unittest.equals('foo')); |
4916 unittest.expect(o.method, unittest.equals('foo')); | 4943 unittest.expect(o.method, unittest.equals('foo')); |
4917 unittest.expect(o.productId, unittest.equals('foo')); | 4944 unittest.expect(o.productId, unittest.equals('foo')); |
4918 } | 4945 } |
4919 buildCounterProductstatusesCustomBatchRequestEntry--; | 4946 buildCounterProductstatusesCustomBatchRequestEntry--; |
4920 } | 4947 } |
4921 | 4948 |
4922 buildUnnamed584() { | 4949 buildUnnamed599() { |
4923 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); | 4950 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); |
4924 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4951 o.add(buildProductstatusesCustomBatchResponseEntry()); |
4925 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4952 o.add(buildProductstatusesCustomBatchResponseEntry()); |
4926 return o; | 4953 return o; |
4927 } | 4954 } |
4928 | 4955 |
4929 checkUnnamed584(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { | 4956 checkUnnamed599(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { |
4930 unittest.expect(o, unittest.hasLength(2)); | 4957 unittest.expect(o, unittest.hasLength(2)); |
4931 checkProductstatusesCustomBatchResponseEntry(o[0]); | 4958 checkProductstatusesCustomBatchResponseEntry(o[0]); |
4932 checkProductstatusesCustomBatchResponseEntry(o[1]); | 4959 checkProductstatusesCustomBatchResponseEntry(o[1]); |
4933 } | 4960 } |
4934 | 4961 |
4935 core.int buildCounterProductstatusesCustomBatchResponse = 0; | 4962 core.int buildCounterProductstatusesCustomBatchResponse = 0; |
4936 buildProductstatusesCustomBatchResponse() { | 4963 buildProductstatusesCustomBatchResponse() { |
4937 var o = new api.ProductstatusesCustomBatchResponse(); | 4964 var o = new api.ProductstatusesCustomBatchResponse(); |
4938 buildCounterProductstatusesCustomBatchResponse++; | 4965 buildCounterProductstatusesCustomBatchResponse++; |
4939 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4966 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
4940 o.entries = buildUnnamed584(); | 4967 o.entries = buildUnnamed599(); |
4941 o.kind = "foo"; | 4968 o.kind = "foo"; |
4942 } | 4969 } |
4943 buildCounterProductstatusesCustomBatchResponse--; | 4970 buildCounterProductstatusesCustomBatchResponse--; |
4944 return o; | 4971 return o; |
4945 } | 4972 } |
4946 | 4973 |
4947 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { | 4974 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { |
4948 buildCounterProductstatusesCustomBatchResponse++; | 4975 buildCounterProductstatusesCustomBatchResponse++; |
4949 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4976 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
4950 checkUnnamed584(o.entries); | 4977 checkUnnamed599(o.entries); |
4951 unittest.expect(o.kind, unittest.equals('foo')); | 4978 unittest.expect(o.kind, unittest.equals('foo')); |
4952 } | 4979 } |
4953 buildCounterProductstatusesCustomBatchResponse--; | 4980 buildCounterProductstatusesCustomBatchResponse--; |
4954 } | 4981 } |
4955 | 4982 |
4956 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; | 4983 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; |
4957 buildProductstatusesCustomBatchResponseEntry() { | 4984 buildProductstatusesCustomBatchResponseEntry() { |
4958 var o = new api.ProductstatusesCustomBatchResponseEntry(); | 4985 var o = new api.ProductstatusesCustomBatchResponseEntry(); |
4959 buildCounterProductstatusesCustomBatchResponseEntry++; | 4986 buildCounterProductstatusesCustomBatchResponseEntry++; |
4960 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4987 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
4971 buildCounterProductstatusesCustomBatchResponseEntry++; | 4998 buildCounterProductstatusesCustomBatchResponseEntry++; |
4972 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4999 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
4973 unittest.expect(o.batchId, unittest.equals(42)); | 5000 unittest.expect(o.batchId, unittest.equals(42)); |
4974 checkErrors(o.errors); | 5001 checkErrors(o.errors); |
4975 unittest.expect(o.kind, unittest.equals('foo')); | 5002 unittest.expect(o.kind, unittest.equals('foo')); |
4976 checkProductStatus(o.productStatus); | 5003 checkProductStatus(o.productStatus); |
4977 } | 5004 } |
4978 buildCounterProductstatusesCustomBatchResponseEntry--; | 5005 buildCounterProductstatusesCustomBatchResponseEntry--; |
4979 } | 5006 } |
4980 | 5007 |
4981 buildUnnamed585() { | 5008 buildUnnamed600() { |
4982 var o = new core.List<api.ProductStatus>(); | 5009 var o = new core.List<api.ProductStatus>(); |
4983 o.add(buildProductStatus()); | 5010 o.add(buildProductStatus()); |
4984 o.add(buildProductStatus()); | 5011 o.add(buildProductStatus()); |
4985 return o; | 5012 return o; |
4986 } | 5013 } |
4987 | 5014 |
4988 checkUnnamed585(core.List<api.ProductStatus> o) { | 5015 checkUnnamed600(core.List<api.ProductStatus> o) { |
4989 unittest.expect(o, unittest.hasLength(2)); | 5016 unittest.expect(o, unittest.hasLength(2)); |
4990 checkProductStatus(o[0]); | 5017 checkProductStatus(o[0]); |
4991 checkProductStatus(o[1]); | 5018 checkProductStatus(o[1]); |
4992 } | 5019 } |
4993 | 5020 |
4994 core.int buildCounterProductstatusesListResponse = 0; | 5021 core.int buildCounterProductstatusesListResponse = 0; |
4995 buildProductstatusesListResponse() { | 5022 buildProductstatusesListResponse() { |
4996 var o = new api.ProductstatusesListResponse(); | 5023 var o = new api.ProductstatusesListResponse(); |
4997 buildCounterProductstatusesListResponse++; | 5024 buildCounterProductstatusesListResponse++; |
4998 if (buildCounterProductstatusesListResponse < 3) { | 5025 if (buildCounterProductstatusesListResponse < 3) { |
4999 o.kind = "foo"; | 5026 o.kind = "foo"; |
5000 o.nextPageToken = "foo"; | 5027 o.nextPageToken = "foo"; |
5001 o.resources = buildUnnamed585(); | 5028 o.resources = buildUnnamed600(); |
5002 } | 5029 } |
5003 buildCounterProductstatusesListResponse--; | 5030 buildCounterProductstatusesListResponse--; |
5004 return o; | 5031 return o; |
5005 } | 5032 } |
5006 | 5033 |
5007 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { | 5034 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { |
5008 buildCounterProductstatusesListResponse++; | 5035 buildCounterProductstatusesListResponse++; |
5009 if (buildCounterProductstatusesListResponse < 3) { | 5036 if (buildCounterProductstatusesListResponse < 3) { |
5010 unittest.expect(o.kind, unittest.equals('foo')); | 5037 unittest.expect(o.kind, unittest.equals('foo')); |
5011 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5038 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5012 checkUnnamed585(o.resources); | 5039 checkUnnamed600(o.resources); |
5013 } | 5040 } |
5014 buildCounterProductstatusesListResponse--; | 5041 buildCounterProductstatusesListResponse--; |
5015 } | 5042 } |
5016 | 5043 |
5017 buildUnnamed586() { | 5044 buildUnnamed601() { |
5018 var o = new core.List<core.String>(); | 5045 var o = new core.List<core.String>(); |
5019 o.add("foo"); | 5046 o.add("foo"); |
5020 o.add("foo"); | 5047 o.add("foo"); |
5021 return o; | 5048 return o; |
5022 } | 5049 } |
5023 | 5050 |
5024 checkUnnamed586(core.List<core.String> o) { | 5051 checkUnnamed601(core.List<core.String> o) { |
5025 unittest.expect(o, unittest.hasLength(2)); | 5052 unittest.expect(o, unittest.hasLength(2)); |
5026 unittest.expect(o[0], unittest.equals('foo')); | 5053 unittest.expect(o[0], unittest.equals('foo')); |
5027 unittest.expect(o[1], unittest.equals('foo')); | 5054 unittest.expect(o[1], unittest.equals('foo')); |
5028 } | 5055 } |
5029 | 5056 |
5030 buildUnnamed587() { | 5057 buildUnnamed602() { |
5031 var o = new core.List<api.CarrierRate>(); | 5058 var o = new core.List<api.CarrierRate>(); |
5032 o.add(buildCarrierRate()); | 5059 o.add(buildCarrierRate()); |
5033 o.add(buildCarrierRate()); | 5060 o.add(buildCarrierRate()); |
5034 return o; | 5061 return o; |
5035 } | 5062 } |
5036 | 5063 |
5037 checkUnnamed587(core.List<api.CarrierRate> o) { | 5064 checkUnnamed602(core.List<api.CarrierRate> o) { |
5038 unittest.expect(o, unittest.hasLength(2)); | 5065 unittest.expect(o, unittest.hasLength(2)); |
5039 checkCarrierRate(o[0]); | 5066 checkCarrierRate(o[0]); |
5040 checkCarrierRate(o[1]); | 5067 checkCarrierRate(o[1]); |
5041 } | 5068 } |
5042 | 5069 |
5043 buildUnnamed588() { | 5070 buildUnnamed603() { |
5044 var o = new core.List<api.Table>(); | 5071 var o = new core.List<api.Table>(); |
5045 o.add(buildTable()); | 5072 o.add(buildTable()); |
5046 o.add(buildTable()); | 5073 o.add(buildTable()); |
5047 return o; | 5074 return o; |
5048 } | 5075 } |
5049 | 5076 |
5050 checkUnnamed588(core.List<api.Table> o) { | 5077 checkUnnamed603(core.List<api.Table> o) { |
5051 unittest.expect(o, unittest.hasLength(2)); | 5078 unittest.expect(o, unittest.hasLength(2)); |
5052 checkTable(o[0]); | 5079 checkTable(o[0]); |
5053 checkTable(o[1]); | 5080 checkTable(o[1]); |
5054 } | 5081 } |
5055 | 5082 |
5056 core.int buildCounterRateGroup = 0; | 5083 core.int buildCounterRateGroup = 0; |
5057 buildRateGroup() { | 5084 buildRateGroup() { |
5058 var o = new api.RateGroup(); | 5085 var o = new api.RateGroup(); |
5059 buildCounterRateGroup++; | 5086 buildCounterRateGroup++; |
5060 if (buildCounterRateGroup < 3) { | 5087 if (buildCounterRateGroup < 3) { |
5061 o.applicableShippingLabels = buildUnnamed586(); | 5088 o.applicableShippingLabels = buildUnnamed601(); |
5062 o.carrierRates = buildUnnamed587(); | 5089 o.carrierRates = buildUnnamed602(); |
5063 o.mainTable = buildTable(); | 5090 o.mainTable = buildTable(); |
5064 o.singleValue = buildValue(); | 5091 o.singleValue = buildValue(); |
5065 o.subtables = buildUnnamed588(); | 5092 o.subtables = buildUnnamed603(); |
5066 } | 5093 } |
5067 buildCounterRateGroup--; | 5094 buildCounterRateGroup--; |
5068 return o; | 5095 return o; |
5069 } | 5096 } |
5070 | 5097 |
5071 checkRateGroup(api.RateGroup o) { | 5098 checkRateGroup(api.RateGroup o) { |
5072 buildCounterRateGroup++; | 5099 buildCounterRateGroup++; |
5073 if (buildCounterRateGroup < 3) { | 5100 if (buildCounterRateGroup < 3) { |
5074 checkUnnamed586(o.applicableShippingLabels); | 5101 checkUnnamed601(o.applicableShippingLabels); |
5075 checkUnnamed587(o.carrierRates); | 5102 checkUnnamed602(o.carrierRates); |
5076 checkTable(o.mainTable); | 5103 checkTable(o.mainTable); |
5077 checkValue(o.singleValue); | 5104 checkValue(o.singleValue); |
5078 checkUnnamed588(o.subtables); | 5105 checkUnnamed603(o.subtables); |
5079 } | 5106 } |
5080 buildCounterRateGroup--; | 5107 buildCounterRateGroup--; |
5081 } | 5108 } |
5082 | 5109 |
5083 buildUnnamed589() { | 5110 buildUnnamed604() { |
5084 var o = new core.List<api.Value>(); | 5111 var o = new core.List<api.Value>(); |
5085 o.add(buildValue()); | 5112 o.add(buildValue()); |
5086 o.add(buildValue()); | 5113 o.add(buildValue()); |
5087 return o; | 5114 return o; |
5088 } | 5115 } |
5089 | 5116 |
5090 checkUnnamed589(core.List<api.Value> o) { | 5117 checkUnnamed604(core.List<api.Value> o) { |
5091 unittest.expect(o, unittest.hasLength(2)); | 5118 unittest.expect(o, unittest.hasLength(2)); |
5092 checkValue(o[0]); | 5119 checkValue(o[0]); |
5093 checkValue(o[1]); | 5120 checkValue(o[1]); |
5094 } | 5121 } |
5095 | 5122 |
5096 core.int buildCounterRow = 0; | 5123 core.int buildCounterRow = 0; |
5097 buildRow() { | 5124 buildRow() { |
5098 var o = new api.Row(); | 5125 var o = new api.Row(); |
5099 buildCounterRow++; | 5126 buildCounterRow++; |
5100 if (buildCounterRow < 3) { | 5127 if (buildCounterRow < 3) { |
5101 o.cells = buildUnnamed589(); | 5128 o.cells = buildUnnamed604(); |
5102 } | 5129 } |
5103 buildCounterRow--; | 5130 buildCounterRow--; |
5104 return o; | 5131 return o; |
5105 } | 5132 } |
5106 | 5133 |
5107 checkRow(api.Row o) { | 5134 checkRow(api.Row o) { |
5108 buildCounterRow++; | 5135 buildCounterRow++; |
5109 if (buildCounterRow < 3) { | 5136 if (buildCounterRow < 3) { |
5110 checkUnnamed589(o.cells); | 5137 checkUnnamed604(o.cells); |
5111 } | 5138 } |
5112 buildCounterRow--; | 5139 buildCounterRow--; |
5113 } | 5140 } |
5114 | 5141 |
5115 buildUnnamed590() { | 5142 buildUnnamed605() { |
5116 var o = new core.List<api.RateGroup>(); | 5143 var o = new core.List<api.RateGroup>(); |
5117 o.add(buildRateGroup()); | 5144 o.add(buildRateGroup()); |
5118 o.add(buildRateGroup()); | 5145 o.add(buildRateGroup()); |
5119 return o; | 5146 return o; |
5120 } | 5147 } |
5121 | 5148 |
5122 checkUnnamed590(core.List<api.RateGroup> o) { | 5149 checkUnnamed605(core.List<api.RateGroup> o) { |
5123 unittest.expect(o, unittest.hasLength(2)); | 5150 unittest.expect(o, unittest.hasLength(2)); |
5124 checkRateGroup(o[0]); | 5151 checkRateGroup(o[0]); |
5125 checkRateGroup(o[1]); | 5152 checkRateGroup(o[1]); |
5126 } | 5153 } |
5127 | 5154 |
5128 core.int buildCounterService = 0; | 5155 core.int buildCounterService = 0; |
5129 buildService() { | 5156 buildService() { |
5130 var o = new api.Service(); | 5157 var o = new api.Service(); |
5131 buildCounterService++; | 5158 buildCounterService++; |
5132 if (buildCounterService < 3) { | 5159 if (buildCounterService < 3) { |
5133 o.active = true; | 5160 o.active = true; |
5134 o.currency = "foo"; | 5161 o.currency = "foo"; |
5135 o.deliveryCountry = "foo"; | 5162 o.deliveryCountry = "foo"; |
5136 o.deliveryTime = buildDeliveryTime(); | 5163 o.deliveryTime = buildDeliveryTime(); |
5137 o.name = "foo"; | 5164 o.name = "foo"; |
5138 o.rateGroups = buildUnnamed590(); | 5165 o.rateGroups = buildUnnamed605(); |
5139 } | 5166 } |
5140 buildCounterService--; | 5167 buildCounterService--; |
5141 return o; | 5168 return o; |
5142 } | 5169 } |
5143 | 5170 |
5144 checkService(api.Service o) { | 5171 checkService(api.Service o) { |
5145 buildCounterService++; | 5172 buildCounterService++; |
5146 if (buildCounterService < 3) { | 5173 if (buildCounterService < 3) { |
5147 unittest.expect(o.active, unittest.isTrue); | 5174 unittest.expect(o.active, unittest.isTrue); |
5148 unittest.expect(o.currency, unittest.equals('foo')); | 5175 unittest.expect(o.currency, unittest.equals('foo')); |
5149 unittest.expect(o.deliveryCountry, unittest.equals('foo')); | 5176 unittest.expect(o.deliveryCountry, unittest.equals('foo')); |
5150 checkDeliveryTime(o.deliveryTime); | 5177 checkDeliveryTime(o.deliveryTime); |
5151 unittest.expect(o.name, unittest.equals('foo')); | 5178 unittest.expect(o.name, unittest.equals('foo')); |
5152 checkUnnamed590(o.rateGroups); | 5179 checkUnnamed605(o.rateGroups); |
5153 } | 5180 } |
5154 buildCounterService--; | 5181 buildCounterService--; |
5155 } | 5182 } |
5156 | 5183 |
5157 buildUnnamed591() { | 5184 buildUnnamed606() { |
5158 var o = new core.List<api.PostalCodeGroup>(); | 5185 var o = new core.List<api.PostalCodeGroup>(); |
5159 o.add(buildPostalCodeGroup()); | 5186 o.add(buildPostalCodeGroup()); |
5160 o.add(buildPostalCodeGroup()); | 5187 o.add(buildPostalCodeGroup()); |
5161 return o; | 5188 return o; |
5162 } | 5189 } |
5163 | 5190 |
5164 checkUnnamed591(core.List<api.PostalCodeGroup> o) { | 5191 checkUnnamed606(core.List<api.PostalCodeGroup> o) { |
5165 unittest.expect(o, unittest.hasLength(2)); | 5192 unittest.expect(o, unittest.hasLength(2)); |
5166 checkPostalCodeGroup(o[0]); | 5193 checkPostalCodeGroup(o[0]); |
5167 checkPostalCodeGroup(o[1]); | 5194 checkPostalCodeGroup(o[1]); |
5168 } | 5195 } |
5169 | 5196 |
5170 buildUnnamed592() { | 5197 buildUnnamed607() { |
5171 var o = new core.List<api.Service>(); | 5198 var o = new core.List<api.Service>(); |
5172 o.add(buildService()); | 5199 o.add(buildService()); |
5173 o.add(buildService()); | 5200 o.add(buildService()); |
5174 return o; | 5201 return o; |
5175 } | 5202 } |
5176 | 5203 |
5177 checkUnnamed592(core.List<api.Service> o) { | 5204 checkUnnamed607(core.List<api.Service> o) { |
5178 unittest.expect(o, unittest.hasLength(2)); | 5205 unittest.expect(o, unittest.hasLength(2)); |
5179 checkService(o[0]); | 5206 checkService(o[0]); |
5180 checkService(o[1]); | 5207 checkService(o[1]); |
5181 } | 5208 } |
5182 | 5209 |
5183 core.int buildCounterShippingSettings = 0; | 5210 core.int buildCounterShippingSettings = 0; |
5184 buildShippingSettings() { | 5211 buildShippingSettings() { |
5185 var o = new api.ShippingSettings(); | 5212 var o = new api.ShippingSettings(); |
5186 buildCounterShippingSettings++; | 5213 buildCounterShippingSettings++; |
5187 if (buildCounterShippingSettings < 3) { | 5214 if (buildCounterShippingSettings < 3) { |
5188 o.accountId = "foo"; | 5215 o.accountId = "foo"; |
5189 o.postalCodeGroups = buildUnnamed591(); | 5216 o.postalCodeGroups = buildUnnamed606(); |
5190 o.services = buildUnnamed592(); | 5217 o.services = buildUnnamed607(); |
5191 } | 5218 } |
5192 buildCounterShippingSettings--; | 5219 buildCounterShippingSettings--; |
5193 return o; | 5220 return o; |
5194 } | 5221 } |
5195 | 5222 |
5196 checkShippingSettings(api.ShippingSettings o) { | 5223 checkShippingSettings(api.ShippingSettings o) { |
5197 buildCounterShippingSettings++; | 5224 buildCounterShippingSettings++; |
5198 if (buildCounterShippingSettings < 3) { | 5225 if (buildCounterShippingSettings < 3) { |
5199 unittest.expect(o.accountId, unittest.equals('foo')); | 5226 unittest.expect(o.accountId, unittest.equals('foo')); |
5200 checkUnnamed591(o.postalCodeGroups); | 5227 checkUnnamed606(o.postalCodeGroups); |
5201 checkUnnamed592(o.services); | 5228 checkUnnamed607(o.services); |
5202 } | 5229 } |
5203 buildCounterShippingSettings--; | 5230 buildCounterShippingSettings--; |
5204 } | 5231 } |
5205 | 5232 |
5206 buildUnnamed593() { | 5233 buildUnnamed608() { |
5207 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); | 5234 var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>(); |
5208 o.add(buildShippingsettingsCustomBatchRequestEntry()); | 5235 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
5209 o.add(buildShippingsettingsCustomBatchRequestEntry()); | 5236 o.add(buildShippingsettingsCustomBatchRequestEntry()); |
5210 return o; | 5237 return o; |
5211 } | 5238 } |
5212 | 5239 |
5213 checkUnnamed593(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { | 5240 checkUnnamed608(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) { |
5214 unittest.expect(o, unittest.hasLength(2)); | 5241 unittest.expect(o, unittest.hasLength(2)); |
5215 checkShippingsettingsCustomBatchRequestEntry(o[0]); | 5242 checkShippingsettingsCustomBatchRequestEntry(o[0]); |
5216 checkShippingsettingsCustomBatchRequestEntry(o[1]); | 5243 checkShippingsettingsCustomBatchRequestEntry(o[1]); |
5217 } | 5244 } |
5218 | 5245 |
5219 core.int buildCounterShippingsettingsCustomBatchRequest = 0; | 5246 core.int buildCounterShippingsettingsCustomBatchRequest = 0; |
5220 buildShippingsettingsCustomBatchRequest() { | 5247 buildShippingsettingsCustomBatchRequest() { |
5221 var o = new api.ShippingsettingsCustomBatchRequest(); | 5248 var o = new api.ShippingsettingsCustomBatchRequest(); |
5222 buildCounterShippingsettingsCustomBatchRequest++; | 5249 buildCounterShippingsettingsCustomBatchRequest++; |
5223 if (buildCounterShippingsettingsCustomBatchRequest < 3) { | 5250 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
5224 o.entries = buildUnnamed593(); | 5251 o.entries = buildUnnamed608(); |
5225 } | 5252 } |
5226 buildCounterShippingsettingsCustomBatchRequest--; | 5253 buildCounterShippingsettingsCustomBatchRequest--; |
5227 return o; | 5254 return o; |
5228 } | 5255 } |
5229 | 5256 |
5230 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { | 5257 checkShippingsettingsCustomBatchRequest(api.ShippingsettingsCustomBatchRequest o
) { |
5231 buildCounterShippingsettingsCustomBatchRequest++; | 5258 buildCounterShippingsettingsCustomBatchRequest++; |
5232 if (buildCounterShippingsettingsCustomBatchRequest < 3) { | 5259 if (buildCounterShippingsettingsCustomBatchRequest < 3) { |
5233 checkUnnamed593(o.entries); | 5260 checkUnnamed608(o.entries); |
5234 } | 5261 } |
5235 buildCounterShippingsettingsCustomBatchRequest--; | 5262 buildCounterShippingsettingsCustomBatchRequest--; |
5236 } | 5263 } |
5237 | 5264 |
5238 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; | 5265 core.int buildCounterShippingsettingsCustomBatchRequestEntry = 0; |
5239 buildShippingsettingsCustomBatchRequestEntry() { | 5266 buildShippingsettingsCustomBatchRequestEntry() { |
5240 var o = new api.ShippingsettingsCustomBatchRequestEntry(); | 5267 var o = new api.ShippingsettingsCustomBatchRequestEntry(); |
5241 buildCounterShippingsettingsCustomBatchRequestEntry++; | 5268 buildCounterShippingsettingsCustomBatchRequestEntry++; |
5242 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { | 5269 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
5243 o.accountId = "foo"; | 5270 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
5255 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { | 5282 if (buildCounterShippingsettingsCustomBatchRequestEntry < 3) { |
5256 unittest.expect(o.accountId, unittest.equals('foo')); | 5283 unittest.expect(o.accountId, unittest.equals('foo')); |
5257 unittest.expect(o.batchId, unittest.equals(42)); | 5284 unittest.expect(o.batchId, unittest.equals(42)); |
5258 unittest.expect(o.merchantId, unittest.equals('foo')); | 5285 unittest.expect(o.merchantId, unittest.equals('foo')); |
5259 unittest.expect(o.method, unittest.equals('foo')); | 5286 unittest.expect(o.method, unittest.equals('foo')); |
5260 checkShippingSettings(o.shippingSettings); | 5287 checkShippingSettings(o.shippingSettings); |
5261 } | 5288 } |
5262 buildCounterShippingsettingsCustomBatchRequestEntry--; | 5289 buildCounterShippingsettingsCustomBatchRequestEntry--; |
5263 } | 5290 } |
5264 | 5291 |
5265 buildUnnamed594() { | 5292 buildUnnamed609() { |
5266 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); | 5293 var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>(); |
5267 o.add(buildShippingsettingsCustomBatchResponseEntry()); | 5294 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
5268 o.add(buildShippingsettingsCustomBatchResponseEntry()); | 5295 o.add(buildShippingsettingsCustomBatchResponseEntry()); |
5269 return o; | 5296 return o; |
5270 } | 5297 } |
5271 | 5298 |
5272 checkUnnamed594(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { | 5299 checkUnnamed609(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) { |
5273 unittest.expect(o, unittest.hasLength(2)); | 5300 unittest.expect(o, unittest.hasLength(2)); |
5274 checkShippingsettingsCustomBatchResponseEntry(o[0]); | 5301 checkShippingsettingsCustomBatchResponseEntry(o[0]); |
5275 checkShippingsettingsCustomBatchResponseEntry(o[1]); | 5302 checkShippingsettingsCustomBatchResponseEntry(o[1]); |
5276 } | 5303 } |
5277 | 5304 |
5278 core.int buildCounterShippingsettingsCustomBatchResponse = 0; | 5305 core.int buildCounterShippingsettingsCustomBatchResponse = 0; |
5279 buildShippingsettingsCustomBatchResponse() { | 5306 buildShippingsettingsCustomBatchResponse() { |
5280 var o = new api.ShippingsettingsCustomBatchResponse(); | 5307 var o = new api.ShippingsettingsCustomBatchResponse(); |
5281 buildCounterShippingsettingsCustomBatchResponse++; | 5308 buildCounterShippingsettingsCustomBatchResponse++; |
5282 if (buildCounterShippingsettingsCustomBatchResponse < 3) { | 5309 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
5283 o.entries = buildUnnamed594(); | 5310 o.entries = buildUnnamed609(); |
5284 o.kind = "foo"; | 5311 o.kind = "foo"; |
5285 } | 5312 } |
5286 buildCounterShippingsettingsCustomBatchResponse--; | 5313 buildCounterShippingsettingsCustomBatchResponse--; |
5287 return o; | 5314 return o; |
5288 } | 5315 } |
5289 | 5316 |
5290 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { | 5317 checkShippingsettingsCustomBatchResponse(api.ShippingsettingsCustomBatchResponse
o) { |
5291 buildCounterShippingsettingsCustomBatchResponse++; | 5318 buildCounterShippingsettingsCustomBatchResponse++; |
5292 if (buildCounterShippingsettingsCustomBatchResponse < 3) { | 5319 if (buildCounterShippingsettingsCustomBatchResponse < 3) { |
5293 checkUnnamed594(o.entries); | 5320 checkUnnamed609(o.entries); |
5294 unittest.expect(o.kind, unittest.equals('foo')); | 5321 unittest.expect(o.kind, unittest.equals('foo')); |
5295 } | 5322 } |
5296 buildCounterShippingsettingsCustomBatchResponse--; | 5323 buildCounterShippingsettingsCustomBatchResponse--; |
5297 } | 5324 } |
5298 | 5325 |
5299 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; | 5326 core.int buildCounterShippingsettingsCustomBatchResponseEntry = 0; |
5300 buildShippingsettingsCustomBatchResponseEntry() { | 5327 buildShippingsettingsCustomBatchResponseEntry() { |
5301 var o = new api.ShippingsettingsCustomBatchResponseEntry(); | 5328 var o = new api.ShippingsettingsCustomBatchResponseEntry(); |
5302 buildCounterShippingsettingsCustomBatchResponseEntry++; | 5329 buildCounterShippingsettingsCustomBatchResponseEntry++; |
5303 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { | 5330 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
5314 buildCounterShippingsettingsCustomBatchResponseEntry++; | 5341 buildCounterShippingsettingsCustomBatchResponseEntry++; |
5315 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { | 5342 if (buildCounterShippingsettingsCustomBatchResponseEntry < 3) { |
5316 unittest.expect(o.batchId, unittest.equals(42)); | 5343 unittest.expect(o.batchId, unittest.equals(42)); |
5317 checkErrors(o.errors); | 5344 checkErrors(o.errors); |
5318 unittest.expect(o.kind, unittest.equals('foo')); | 5345 unittest.expect(o.kind, unittest.equals('foo')); |
5319 checkShippingSettings(o.shippingSettings); | 5346 checkShippingSettings(o.shippingSettings); |
5320 } | 5347 } |
5321 buildCounterShippingsettingsCustomBatchResponseEntry--; | 5348 buildCounterShippingsettingsCustomBatchResponseEntry--; |
5322 } | 5349 } |
5323 | 5350 |
5324 buildUnnamed595() { | 5351 buildUnnamed610() { |
5325 var o = new core.List<api.CarriersCarrier>(); | 5352 var o = new core.List<api.CarriersCarrier>(); |
5326 o.add(buildCarriersCarrier()); | 5353 o.add(buildCarriersCarrier()); |
5327 o.add(buildCarriersCarrier()); | 5354 o.add(buildCarriersCarrier()); |
5328 return o; | 5355 return o; |
5329 } | 5356 } |
5330 | 5357 |
5331 checkUnnamed595(core.List<api.CarriersCarrier> o) { | 5358 checkUnnamed610(core.List<api.CarriersCarrier> o) { |
5332 unittest.expect(o, unittest.hasLength(2)); | 5359 unittest.expect(o, unittest.hasLength(2)); |
5333 checkCarriersCarrier(o[0]); | 5360 checkCarriersCarrier(o[0]); |
5334 checkCarriersCarrier(o[1]); | 5361 checkCarriersCarrier(o[1]); |
5335 } | 5362 } |
5336 | 5363 |
5337 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; | 5364 core.int buildCounterShippingsettingsGetSupportedCarriersResponse = 0; |
5338 buildShippingsettingsGetSupportedCarriersResponse() { | 5365 buildShippingsettingsGetSupportedCarriersResponse() { |
5339 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); | 5366 var o = new api.ShippingsettingsGetSupportedCarriersResponse(); |
5340 buildCounterShippingsettingsGetSupportedCarriersResponse++; | 5367 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
5341 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { | 5368 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
5342 o.carriers = buildUnnamed595(); | 5369 o.carriers = buildUnnamed610(); |
5343 o.kind = "foo"; | 5370 o.kind = "foo"; |
5344 } | 5371 } |
5345 buildCounterShippingsettingsGetSupportedCarriersResponse--; | 5372 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
5346 return o; | 5373 return o; |
5347 } | 5374 } |
5348 | 5375 |
5349 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { | 5376 checkShippingsettingsGetSupportedCarriersResponse(api.ShippingsettingsGetSupport
edCarriersResponse o) { |
5350 buildCounterShippingsettingsGetSupportedCarriersResponse++; | 5377 buildCounterShippingsettingsGetSupportedCarriersResponse++; |
5351 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { | 5378 if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { |
5352 checkUnnamed595(o.carriers); | 5379 checkUnnamed610(o.carriers); |
5353 unittest.expect(o.kind, unittest.equals('foo')); | 5380 unittest.expect(o.kind, unittest.equals('foo')); |
5354 } | 5381 } |
5355 buildCounterShippingsettingsGetSupportedCarriersResponse--; | 5382 buildCounterShippingsettingsGetSupportedCarriersResponse--; |
5356 } | 5383 } |
5357 | 5384 |
5358 buildUnnamed596() { | 5385 buildUnnamed611() { |
5359 var o = new core.List<api.ShippingSettings>(); | 5386 var o = new core.List<api.ShippingSettings>(); |
5360 o.add(buildShippingSettings()); | 5387 o.add(buildShippingSettings()); |
5361 o.add(buildShippingSettings()); | 5388 o.add(buildShippingSettings()); |
5362 return o; | 5389 return o; |
5363 } | 5390 } |
5364 | 5391 |
5365 checkUnnamed596(core.List<api.ShippingSettings> o) { | 5392 checkUnnamed611(core.List<api.ShippingSettings> o) { |
5366 unittest.expect(o, unittest.hasLength(2)); | 5393 unittest.expect(o, unittest.hasLength(2)); |
5367 checkShippingSettings(o[0]); | 5394 checkShippingSettings(o[0]); |
5368 checkShippingSettings(o[1]); | 5395 checkShippingSettings(o[1]); |
5369 } | 5396 } |
5370 | 5397 |
5371 core.int buildCounterShippingsettingsListResponse = 0; | 5398 core.int buildCounterShippingsettingsListResponse = 0; |
5372 buildShippingsettingsListResponse() { | 5399 buildShippingsettingsListResponse() { |
5373 var o = new api.ShippingsettingsListResponse(); | 5400 var o = new api.ShippingsettingsListResponse(); |
5374 buildCounterShippingsettingsListResponse++; | 5401 buildCounterShippingsettingsListResponse++; |
5375 if (buildCounterShippingsettingsListResponse < 3) { | 5402 if (buildCounterShippingsettingsListResponse < 3) { |
5376 o.kind = "foo"; | 5403 o.kind = "foo"; |
5377 o.nextPageToken = "foo"; | 5404 o.nextPageToken = "foo"; |
5378 o.resources = buildUnnamed596(); | 5405 o.resources = buildUnnamed611(); |
5379 } | 5406 } |
5380 buildCounterShippingsettingsListResponse--; | 5407 buildCounterShippingsettingsListResponse--; |
5381 return o; | 5408 return o; |
5382 } | 5409 } |
5383 | 5410 |
5384 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { | 5411 checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { |
5385 buildCounterShippingsettingsListResponse++; | 5412 buildCounterShippingsettingsListResponse++; |
5386 if (buildCounterShippingsettingsListResponse < 3) { | 5413 if (buildCounterShippingsettingsListResponse < 3) { |
5387 unittest.expect(o.kind, unittest.equals('foo')); | 5414 unittest.expect(o.kind, unittest.equals('foo')); |
5388 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5415 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5389 checkUnnamed596(o.resources); | 5416 checkUnnamed611(o.resources); |
5390 } | 5417 } |
5391 buildCounterShippingsettingsListResponse--; | 5418 buildCounterShippingsettingsListResponse--; |
5392 } | 5419 } |
5393 | 5420 |
5394 buildUnnamed597() { | 5421 buildUnnamed612() { |
5395 var o = new core.List<api.Row>(); | 5422 var o = new core.List<api.Row>(); |
5396 o.add(buildRow()); | 5423 o.add(buildRow()); |
5397 o.add(buildRow()); | 5424 o.add(buildRow()); |
5398 return o; | 5425 return o; |
5399 } | 5426 } |
5400 | 5427 |
5401 checkUnnamed597(core.List<api.Row> o) { | 5428 checkUnnamed612(core.List<api.Row> o) { |
5402 unittest.expect(o, unittest.hasLength(2)); | 5429 unittest.expect(o, unittest.hasLength(2)); |
5403 checkRow(o[0]); | 5430 checkRow(o[0]); |
5404 checkRow(o[1]); | 5431 checkRow(o[1]); |
5405 } | 5432 } |
5406 | 5433 |
5407 core.int buildCounterTable = 0; | 5434 core.int buildCounterTable = 0; |
5408 buildTable() { | 5435 buildTable() { |
5409 var o = new api.Table(); | 5436 var o = new api.Table(); |
5410 buildCounterTable++; | 5437 buildCounterTable++; |
5411 if (buildCounterTable < 3) { | 5438 if (buildCounterTable < 3) { |
5412 o.columnHeaders = buildHeaders(); | 5439 o.columnHeaders = buildHeaders(); |
5413 o.name = "foo"; | 5440 o.name = "foo"; |
5414 o.rowHeaders = buildHeaders(); | 5441 o.rowHeaders = buildHeaders(); |
5415 o.rows = buildUnnamed597(); | 5442 o.rows = buildUnnamed612(); |
5416 } | 5443 } |
5417 buildCounterTable--; | 5444 buildCounterTable--; |
5418 return o; | 5445 return o; |
5419 } | 5446 } |
5420 | 5447 |
5421 checkTable(api.Table o) { | 5448 checkTable(api.Table o) { |
5422 buildCounterTable++; | 5449 buildCounterTable++; |
5423 if (buildCounterTable < 3) { | 5450 if (buildCounterTable < 3) { |
5424 checkHeaders(o.columnHeaders); | 5451 checkHeaders(o.columnHeaders); |
5425 unittest.expect(o.name, unittest.equals('foo')); | 5452 unittest.expect(o.name, unittest.equals('foo')); |
5426 checkHeaders(o.rowHeaders); | 5453 checkHeaders(o.rowHeaders); |
5427 checkUnnamed597(o.rows); | 5454 checkUnnamed612(o.rows); |
5428 } | 5455 } |
5429 buildCounterTable--; | 5456 buildCounterTable--; |
5430 } | 5457 } |
5431 | 5458 |
5432 buildUnnamed598() { | 5459 buildUnnamed613() { |
5433 var o = new core.List<api.TestOrderLineItem>(); | 5460 var o = new core.List<api.TestOrderLineItem>(); |
5434 o.add(buildTestOrderLineItem()); | 5461 o.add(buildTestOrderLineItem()); |
5435 o.add(buildTestOrderLineItem()); | 5462 o.add(buildTestOrderLineItem()); |
5436 return o; | 5463 return o; |
5437 } | 5464 } |
5438 | 5465 |
5439 checkUnnamed598(core.List<api.TestOrderLineItem> o) { | 5466 checkUnnamed613(core.List<api.TestOrderLineItem> o) { |
5440 unittest.expect(o, unittest.hasLength(2)); | 5467 unittest.expect(o, unittest.hasLength(2)); |
5441 checkTestOrderLineItem(o[0]); | 5468 checkTestOrderLineItem(o[0]); |
5442 checkTestOrderLineItem(o[1]); | 5469 checkTestOrderLineItem(o[1]); |
5443 } | 5470 } |
5444 | 5471 |
5445 buildUnnamed599() { | 5472 buildUnnamed614() { |
5446 var o = new core.List<api.OrderPromotion>(); | 5473 var o = new core.List<api.OrderPromotion>(); |
5447 o.add(buildOrderPromotion()); | 5474 o.add(buildOrderPromotion()); |
5448 o.add(buildOrderPromotion()); | 5475 o.add(buildOrderPromotion()); |
5449 return o; | 5476 return o; |
5450 } | 5477 } |
5451 | 5478 |
5452 checkUnnamed599(core.List<api.OrderPromotion> o) { | 5479 checkUnnamed614(core.List<api.OrderPromotion> o) { |
5453 unittest.expect(o, unittest.hasLength(2)); | 5480 unittest.expect(o, unittest.hasLength(2)); |
5454 checkOrderPromotion(o[0]); | 5481 checkOrderPromotion(o[0]); |
5455 checkOrderPromotion(o[1]); | 5482 checkOrderPromotion(o[1]); |
5456 } | 5483 } |
5457 | 5484 |
5458 core.int buildCounterTestOrder = 0; | 5485 core.int buildCounterTestOrder = 0; |
5459 buildTestOrder() { | 5486 buildTestOrder() { |
5460 var o = new api.TestOrder(); | 5487 var o = new api.TestOrder(); |
5461 buildCounterTestOrder++; | 5488 buildCounterTestOrder++; |
5462 if (buildCounterTestOrder < 3) { | 5489 if (buildCounterTestOrder < 3) { |
5463 o.customer = buildTestOrderCustomer(); | 5490 o.customer = buildTestOrderCustomer(); |
5464 o.kind = "foo"; | 5491 o.kind = "foo"; |
5465 o.lineItems = buildUnnamed598(); | 5492 o.lineItems = buildUnnamed613(); |
5466 o.paymentMethod = buildTestOrderPaymentMethod(); | 5493 o.paymentMethod = buildTestOrderPaymentMethod(); |
5467 o.predefinedDeliveryAddress = "foo"; | 5494 o.predefinedDeliveryAddress = "foo"; |
5468 o.promotions = buildUnnamed599(); | 5495 o.promotions = buildUnnamed614(); |
5469 o.shippingCost = buildPrice(); | 5496 o.shippingCost = buildPrice(); |
5470 o.shippingCostTax = buildPrice(); | 5497 o.shippingCostTax = buildPrice(); |
5471 o.shippingOption = "foo"; | 5498 o.shippingOption = "foo"; |
5472 } | 5499 } |
5473 buildCounterTestOrder--; | 5500 buildCounterTestOrder--; |
5474 return o; | 5501 return o; |
5475 } | 5502 } |
5476 | 5503 |
5477 checkTestOrder(api.TestOrder o) { | 5504 checkTestOrder(api.TestOrder o) { |
5478 buildCounterTestOrder++; | 5505 buildCounterTestOrder++; |
5479 if (buildCounterTestOrder < 3) { | 5506 if (buildCounterTestOrder < 3) { |
5480 checkTestOrderCustomer(o.customer); | 5507 checkTestOrderCustomer(o.customer); |
5481 unittest.expect(o.kind, unittest.equals('foo')); | 5508 unittest.expect(o.kind, unittest.equals('foo')); |
5482 checkUnnamed598(o.lineItems); | 5509 checkUnnamed613(o.lineItems); |
5483 checkTestOrderPaymentMethod(o.paymentMethod); | 5510 checkTestOrderPaymentMethod(o.paymentMethod); |
5484 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); | 5511 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); |
5485 checkUnnamed599(o.promotions); | 5512 checkUnnamed614(o.promotions); |
5486 checkPrice(o.shippingCost); | 5513 checkPrice(o.shippingCost); |
5487 checkPrice(o.shippingCostTax); | 5514 checkPrice(o.shippingCostTax); |
5488 unittest.expect(o.shippingOption, unittest.equals('foo')); | 5515 unittest.expect(o.shippingOption, unittest.equals('foo')); |
5489 } | 5516 } |
5490 buildCounterTestOrder--; | 5517 buildCounterTestOrder--; |
5491 } | 5518 } |
5492 | 5519 |
5493 core.int buildCounterTestOrderCustomer = 0; | 5520 core.int buildCounterTestOrderCustomer = 0; |
5494 buildTestOrderCustomer() { | 5521 buildTestOrderCustomer() { |
5495 var o = new api.TestOrderCustomer(); | 5522 var o = new api.TestOrderCustomer(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5533 if (buildCounterTestOrderLineItem < 3) { | 5560 if (buildCounterTestOrderLineItem < 3) { |
5534 checkTestOrderLineItemProduct(o.product); | 5561 checkTestOrderLineItemProduct(o.product); |
5535 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 5562 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
5536 checkOrderLineItemReturnInfo(o.returnInfo); | 5563 checkOrderLineItemReturnInfo(o.returnInfo); |
5537 checkOrderLineItemShippingDetails(o.shippingDetails); | 5564 checkOrderLineItemShippingDetails(o.shippingDetails); |
5538 checkPrice(o.unitTax); | 5565 checkPrice(o.unitTax); |
5539 } | 5566 } |
5540 buildCounterTestOrderLineItem--; | 5567 buildCounterTestOrderLineItem--; |
5541 } | 5568 } |
5542 | 5569 |
5543 buildUnnamed600() { | 5570 buildUnnamed615() { |
5544 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 5571 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
5545 o.add(buildOrderLineItemProductVariantAttribute()); | 5572 o.add(buildOrderLineItemProductVariantAttribute()); |
5546 o.add(buildOrderLineItemProductVariantAttribute()); | 5573 o.add(buildOrderLineItemProductVariantAttribute()); |
5547 return o; | 5574 return o; |
5548 } | 5575 } |
5549 | 5576 |
5550 checkUnnamed600(core.List<api.OrderLineItemProductVariantAttribute> o) { | 5577 checkUnnamed615(core.List<api.OrderLineItemProductVariantAttribute> o) { |
5551 unittest.expect(o, unittest.hasLength(2)); | 5578 unittest.expect(o, unittest.hasLength(2)); |
5552 checkOrderLineItemProductVariantAttribute(o[0]); | 5579 checkOrderLineItemProductVariantAttribute(o[0]); |
5553 checkOrderLineItemProductVariantAttribute(o[1]); | 5580 checkOrderLineItemProductVariantAttribute(o[1]); |
5554 } | 5581 } |
5555 | 5582 |
5556 core.int buildCounterTestOrderLineItemProduct = 0; | 5583 core.int buildCounterTestOrderLineItemProduct = 0; |
5557 buildTestOrderLineItemProduct() { | 5584 buildTestOrderLineItemProduct() { |
5558 var o = new api.TestOrderLineItemProduct(); | 5585 var o = new api.TestOrderLineItemProduct(); |
5559 buildCounterTestOrderLineItemProduct++; | 5586 buildCounterTestOrderLineItemProduct++; |
5560 if (buildCounterTestOrderLineItemProduct < 3) { | 5587 if (buildCounterTestOrderLineItemProduct < 3) { |
5561 o.brand = "foo"; | 5588 o.brand = "foo"; |
5562 o.channel = "foo"; | 5589 o.channel = "foo"; |
5563 o.condition = "foo"; | 5590 o.condition = "foo"; |
5564 o.contentLanguage = "foo"; | 5591 o.contentLanguage = "foo"; |
5565 o.gtin = "foo"; | 5592 o.gtin = "foo"; |
5566 o.imageLink = "foo"; | 5593 o.imageLink = "foo"; |
5567 o.itemGroupId = "foo"; | 5594 o.itemGroupId = "foo"; |
5568 o.mpn = "foo"; | 5595 o.mpn = "foo"; |
5569 o.offerId = "foo"; | 5596 o.offerId = "foo"; |
5570 o.price = buildPrice(); | 5597 o.price = buildPrice(); |
5571 o.targetCountry = "foo"; | 5598 o.targetCountry = "foo"; |
5572 o.title = "foo"; | 5599 o.title = "foo"; |
5573 o.variantAttributes = buildUnnamed600(); | 5600 o.variantAttributes = buildUnnamed615(); |
5574 } | 5601 } |
5575 buildCounterTestOrderLineItemProduct--; | 5602 buildCounterTestOrderLineItemProduct--; |
5576 return o; | 5603 return o; |
5577 } | 5604 } |
5578 | 5605 |
5579 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { | 5606 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { |
5580 buildCounterTestOrderLineItemProduct++; | 5607 buildCounterTestOrderLineItemProduct++; |
5581 if (buildCounterTestOrderLineItemProduct < 3) { | 5608 if (buildCounterTestOrderLineItemProduct < 3) { |
5582 unittest.expect(o.brand, unittest.equals('foo')); | 5609 unittest.expect(o.brand, unittest.equals('foo')); |
5583 unittest.expect(o.channel, unittest.equals('foo')); | 5610 unittest.expect(o.channel, unittest.equals('foo')); |
5584 unittest.expect(o.condition, unittest.equals('foo')); | 5611 unittest.expect(o.condition, unittest.equals('foo')); |
5585 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 5612 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
5586 unittest.expect(o.gtin, unittest.equals('foo')); | 5613 unittest.expect(o.gtin, unittest.equals('foo')); |
5587 unittest.expect(o.imageLink, unittest.equals('foo')); | 5614 unittest.expect(o.imageLink, unittest.equals('foo')); |
5588 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 5615 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
5589 unittest.expect(o.mpn, unittest.equals('foo')); | 5616 unittest.expect(o.mpn, unittest.equals('foo')); |
5590 unittest.expect(o.offerId, unittest.equals('foo')); | 5617 unittest.expect(o.offerId, unittest.equals('foo')); |
5591 checkPrice(o.price); | 5618 checkPrice(o.price); |
5592 unittest.expect(o.targetCountry, unittest.equals('foo')); | 5619 unittest.expect(o.targetCountry, unittest.equals('foo')); |
5593 unittest.expect(o.title, unittest.equals('foo')); | 5620 unittest.expect(o.title, unittest.equals('foo')); |
5594 checkUnnamed600(o.variantAttributes); | 5621 checkUnnamed615(o.variantAttributes); |
5595 } | 5622 } |
5596 buildCounterTestOrderLineItemProduct--; | 5623 buildCounterTestOrderLineItemProduct--; |
5597 } | 5624 } |
5598 | 5625 |
5599 core.int buildCounterTestOrderPaymentMethod = 0; | 5626 core.int buildCounterTestOrderPaymentMethod = 0; |
5600 buildTestOrderPaymentMethod() { | 5627 buildTestOrderPaymentMethod() { |
5601 var o = new api.TestOrderPaymentMethod(); | 5628 var o = new api.TestOrderPaymentMethod(); |
5602 buildCounterTestOrderPaymentMethod++; | 5629 buildCounterTestOrderPaymentMethod++; |
5603 if (buildCounterTestOrderPaymentMethod < 3) { | 5630 if (buildCounterTestOrderPaymentMethod < 3) { |
5604 o.expirationMonth = 42; | 5631 o.expirationMonth = 42; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5664 | 5691 |
5665 checkWeight(api.Weight o) { | 5692 checkWeight(api.Weight o) { |
5666 buildCounterWeight++; | 5693 buildCounterWeight++; |
5667 if (buildCounterWeight < 3) { | 5694 if (buildCounterWeight < 3) { |
5668 unittest.expect(o.unit, unittest.equals('foo')); | 5695 unittest.expect(o.unit, unittest.equals('foo')); |
5669 unittest.expect(o.value, unittest.equals('foo')); | 5696 unittest.expect(o.value, unittest.equals('foo')); |
5670 } | 5697 } |
5671 buildCounterWeight--; | 5698 buildCounterWeight--; |
5672 } | 5699 } |
5673 | 5700 |
5674 buildUnnamed601() { | 5701 buildUnnamed616() { |
5675 var o = new core.List<core.String>(); | 5702 var o = new core.List<core.String>(); |
5676 o.add("foo"); | 5703 o.add("foo"); |
5677 o.add("foo"); | 5704 o.add("foo"); |
5678 return o; | 5705 return o; |
5679 } | 5706 } |
5680 | 5707 |
5681 checkUnnamed601(core.List<core.String> o) { | 5708 checkUnnamed616(core.List<core.String> o) { |
5682 unittest.expect(o, unittest.hasLength(2)); | 5709 unittest.expect(o, unittest.hasLength(2)); |
5683 unittest.expect(o[0], unittest.equals('foo')); | 5710 unittest.expect(o[0], unittest.equals('foo')); |
5684 unittest.expect(o[1], unittest.equals('foo')); | 5711 unittest.expect(o[1], unittest.equals('foo')); |
5685 } | 5712 } |
5686 | 5713 |
5687 | 5714 |
5688 main() { | 5715 main() { |
5689 unittest.group("obj-schema-Account", () { | 5716 unittest.group("obj-schema-Account", () { |
5690 unittest.test("to-json--from-json", () { | 5717 unittest.test("to-json--from-json", () { |
5691 var o = buildAccount(); | 5718 var o = buildAccount(); |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6291 | 6318 |
6292 unittest.group("obj-schema-InventoryCustomBatchResponseEntry", () { | 6319 unittest.group("obj-schema-InventoryCustomBatchResponseEntry", () { |
6293 unittest.test("to-json--from-json", () { | 6320 unittest.test("to-json--from-json", () { |
6294 var o = buildInventoryCustomBatchResponseEntry(); | 6321 var o = buildInventoryCustomBatchResponseEntry(); |
6295 var od = new api.InventoryCustomBatchResponseEntry.fromJson(o.toJson()); | 6322 var od = new api.InventoryCustomBatchResponseEntry.fromJson(o.toJson()); |
6296 checkInventoryCustomBatchResponseEntry(od); | 6323 checkInventoryCustomBatchResponseEntry(od); |
6297 }); | 6324 }); |
6298 }); | 6325 }); |
6299 | 6326 |
6300 | 6327 |
| 6328 unittest.group("obj-schema-InventoryPickup", () { |
| 6329 unittest.test("to-json--from-json", () { |
| 6330 var o = buildInventoryPickup(); |
| 6331 var od = new api.InventoryPickup.fromJson(o.toJson()); |
| 6332 checkInventoryPickup(od); |
| 6333 }); |
| 6334 }); |
| 6335 |
| 6336 |
6301 unittest.group("obj-schema-InventorySetRequest", () { | 6337 unittest.group("obj-schema-InventorySetRequest", () { |
6302 unittest.test("to-json--from-json", () { | 6338 unittest.test("to-json--from-json", () { |
6303 var o = buildInventorySetRequest(); | 6339 var o = buildInventorySetRequest(); |
6304 var od = new api.InventorySetRequest.fromJson(o.toJson()); | 6340 var od = new api.InventorySetRequest.fromJson(o.toJson()); |
6305 checkInventorySetRequest(od); | 6341 checkInventorySetRequest(od); |
6306 }); | 6342 }); |
6307 }); | 6343 }); |
6308 | 6344 |
6309 | 6345 |
6310 unittest.group("obj-schema-InventorySetResponse", () { | 6346 unittest.group("obj-schema-InventorySetResponse", () { |
(...skipping 2875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9186 | 9222 |
9187 var mock = new HttpServerMock(); | 9223 var mock = new HttpServerMock(); |
9188 api.OrdersResourceApi res = new api.ContentApi(mock).orders; | 9224 api.OrdersResourceApi res = new api.ContentApi(mock).orders; |
9189 var arg_merchantId = "foo"; | 9225 var arg_merchantId = "foo"; |
9190 var arg_acknowledged = true; | 9226 var arg_acknowledged = true; |
9191 var arg_maxResults = 42; | 9227 var arg_maxResults = 42; |
9192 var arg_orderBy = "foo"; | 9228 var arg_orderBy = "foo"; |
9193 var arg_pageToken = "foo"; | 9229 var arg_pageToken = "foo"; |
9194 var arg_placedDateEnd = "foo"; | 9230 var arg_placedDateEnd = "foo"; |
9195 var arg_placedDateStart = "foo"; | 9231 var arg_placedDateStart = "foo"; |
9196 var arg_statuses = buildUnnamed601(); | 9232 var arg_statuses = buildUnnamed616(); |
9197 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 9233 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
9198 var path = (req.url).path; | 9234 var path = (req.url).path; |
9199 var pathOffset = 0; | 9235 var pathOffset = 0; |
9200 var index; | 9236 var index; |
9201 var subPart; | 9237 var subPart; |
9202 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 9238 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
9203 pathOffset += 1; | 9239 pathOffset += 1; |
9204 | 9240 |
9205 var query = (req.url).query; | 9241 var query = (req.url).query; |
9206 var queryOffset = 0; | 9242 var queryOffset = 0; |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10136 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { | 10172 res.update(arg_request, arg_merchantId, arg_accountId, dryRun: arg_dryRun)
.then(unittest.expectAsync(((api.ShippingSettings response) { |
10137 checkShippingSettings(response); | 10173 checkShippingSettings(response); |
10138 }))); | 10174 }))); |
10139 }); | 10175 }); |
10140 | 10176 |
10141 }); | 10177 }); |
10142 | 10178 |
10143 | 10179 |
10144 } | 10180 } |
10145 | 10181 |
OLD | NEW |