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 buildUnnamed653() { | 54 buildUnnamed515() { |
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 checkUnnamed653(core.List<api.AccountAdwordsLink> o) { | 61 checkUnnamed515(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 buildUnnamed654() { | 67 buildUnnamed516() { |
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 checkUnnamed654(core.List<api.AccountUser> o) { | 74 checkUnnamed516(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 = buildUnnamed653(); | 86 o.adwordsLinks = buildUnnamed515(); |
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 = buildUnnamed654(); | 92 o.users = buildUnnamed516(); |
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 checkUnnamed653(o.adwordsLinks); | 103 checkUnnamed515(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 checkUnnamed654(o.users); | 109 checkUnnamed516(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 buildUnnamed655() { | 157 buildUnnamed517() { |
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 checkUnnamed655(core.List<api.AccountShippingCarrierRate> o) { | 164 checkUnnamed517(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 buildUnnamed656() { | 170 buildUnnamed518() { |
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 checkUnnamed656(core.List<api.AccountShippingLocationGroup> o) { | 177 checkUnnamed518(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 buildUnnamed657() { | 183 buildUnnamed519() { |
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 checkUnnamed657(core.List<api.AccountShippingRateTable> o) { | 190 checkUnnamed519(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 buildUnnamed658() { | 196 buildUnnamed520() { |
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 checkUnnamed658(core.List<api.AccountShippingShippingService> o) { | 203 checkUnnamed520(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 = buildUnnamed655(); | 215 o.carrierRates = buildUnnamed517(); |
216 o.kind = "foo"; | 216 o.kind = "foo"; |
217 o.locationGroups = buildUnnamed656(); | 217 o.locationGroups = buildUnnamed518(); |
218 o.rateTables = buildUnnamed657(); | 218 o.rateTables = buildUnnamed519(); |
219 o.services = buildUnnamed658(); | 219 o.services = buildUnnamed520(); |
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 checkUnnamed655(o.carrierRates); | 229 checkUnnamed517(o.carrierRates); |
230 unittest.expect(o.kind, unittest.equals('foo')); | 230 unittest.expect(o.kind, unittest.equals('foo')); |
231 checkUnnamed656(o.locationGroups); | 231 checkUnnamed518(o.locationGroups); |
232 checkUnnamed657(o.rateTables); | 232 checkUnnamed519(o.rateTables); |
233 checkUnnamed658(o.services); | 233 checkUnnamed520(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 buildUnnamed659() { | 300 buildUnnamed521() { |
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 checkUnnamed659(core.List<core.String> o) { | 307 checkUnnamed521(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 buildUnnamed660() { | 313 buildUnnamed522() { |
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 checkUnnamed660(core.List<api.AccountShippingPostalCodeRange> o) { | 320 checkUnnamed522(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 buildUnnamed661() { | 326 buildUnnamed523() { |
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 checkUnnamed661(core.List<core.String> o) { | 333 checkUnnamed523(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 = buildUnnamed659(); | 345 o.locationIds = buildUnnamed521(); |
346 o.name = "foo"; | 346 o.name = "foo"; |
347 o.postalCodeRanges = buildUnnamed660(); | 347 o.postalCodeRanges = buildUnnamed522(); |
348 o.postalCodes = buildUnnamed661(); | 348 o.postalCodes = buildUnnamed523(); |
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 checkUnnamed659(o.locationIds); | 358 checkUnnamed521(o.locationIds); |
359 unittest.expect(o.name, unittest.equals('foo')); | 359 unittest.expect(o.name, unittest.equals('foo')); |
360 checkUnnamed660(o.postalCodeRanges); | 360 checkUnnamed522(o.postalCodeRanges); |
361 checkUnnamed661(o.postalCodes); | 361 checkUnnamed523(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 buildUnnamed662() { | 387 buildUnnamed524() { |
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 checkUnnamed662(core.List<api.AccountShippingRateTableCell> o) { | 394 checkUnnamed524(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 = buildUnnamed662(); | 405 o.content = buildUnnamed524(); |
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 checkUnnamed662(o.content); | 416 checkUnnamed524(o.content); |
417 unittest.expect(o.name, unittest.equals('foo')); | 417 unittest.expect(o.name, unittest.equals('foo')); |
418 unittest.expect(o.saleCountry, unittest.equals('foo')); | 418 unittest.expect(o.saleCountry, unittest.equals('foo')); |
419 } | 419 } |
420 buildCounterAccountShippingRateTable--; | 420 buildCounterAccountShippingRateTable--; |
421 } | 421 } |
422 | 422 |
423 core.int buildCounterAccountShippingRateTableCell = 0; | 423 core.int buildCounterAccountShippingRateTableCell = 0; |
424 buildAccountShippingRateTableCell() { | 424 buildAccountShippingRateTableCell() { |
425 var o = new api.AccountShippingRateTableCell(); | 425 var o = new api.AccountShippingRateTableCell(); |
426 buildCounterAccountShippingRateTableCell++; | 426 buildCounterAccountShippingRateTableCell++; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { | 488 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { |
489 unittest.expect(o.carrierRate, unittest.equals('foo')); | 489 unittest.expect(o.carrierRate, unittest.equals('foo')); |
490 unittest.expect(o.excluded, unittest.isTrue); | 490 unittest.expect(o.excluded, unittest.isTrue); |
491 checkPrice(o.flatRate); | 491 checkPrice(o.flatRate); |
492 unittest.expect(o.percentageRate, unittest.equals('foo')); | 492 unittest.expect(o.percentageRate, unittest.equals('foo')); |
493 unittest.expect(o.rateTable, unittest.equals('foo')); | 493 unittest.expect(o.rateTable, unittest.equals('foo')); |
494 } | 494 } |
495 buildCounterAccountShippingShippingServiceCalculationMethod--; | 495 buildCounterAccountShippingShippingServiceCalculationMethod--; |
496 } | 496 } |
497 | 497 |
498 buildUnnamed663() { | 498 buildUnnamed525() { |
499 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); | 499 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); |
500 o.add(buildAccountShippingShippingServiceCostRule()); | 500 o.add(buildAccountShippingShippingServiceCostRule()); |
501 o.add(buildAccountShippingShippingServiceCostRule()); | 501 o.add(buildAccountShippingShippingServiceCostRule()); |
502 return o; | 502 return o; |
503 } | 503 } |
504 | 504 |
505 checkUnnamed663(core.List<api.AccountShippingShippingServiceCostRule> o) { | 505 checkUnnamed525(core.List<api.AccountShippingShippingServiceCostRule> o) { |
506 unittest.expect(o, unittest.hasLength(2)); | 506 unittest.expect(o, unittest.hasLength(2)); |
507 checkAccountShippingShippingServiceCostRule(o[0]); | 507 checkAccountShippingShippingServiceCostRule(o[0]); |
508 checkAccountShippingShippingServiceCostRule(o[1]); | 508 checkAccountShippingShippingServiceCostRule(o[1]); |
509 } | 509 } |
510 | 510 |
511 core.int buildCounterAccountShippingShippingServiceCostRule = 0; | 511 core.int buildCounterAccountShippingShippingServiceCostRule = 0; |
512 buildAccountShippingShippingServiceCostRule() { | 512 buildAccountShippingShippingServiceCostRule() { |
513 var o = new api.AccountShippingShippingServiceCostRule(); | 513 var o = new api.AccountShippingShippingServiceCostRule(); |
514 buildCounterAccountShippingShippingServiceCostRule++; | 514 buildCounterAccountShippingShippingServiceCostRule++; |
515 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 515 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
516 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; | 516 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; |
517 o.children = buildUnnamed663(); | 517 o.children = buildUnnamed525(); |
518 o.condition = buildAccountShippingCondition(); | 518 o.condition = buildAccountShippingCondition(); |
519 } | 519 } |
520 buildCounterAccountShippingShippingServiceCostRule--; | 520 buildCounterAccountShippingShippingServiceCostRule--; |
521 return o; | 521 return o; |
522 } | 522 } |
523 | 523 |
524 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { | 524 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { |
525 buildCounterAccountShippingShippingServiceCostRule++; | 525 buildCounterAccountShippingShippingServiceCostRule++; |
526 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 526 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
527 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); | 527 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); |
528 checkUnnamed663(o.children); | 528 checkUnnamed525(o.children); |
529 checkAccountShippingCondition(o.condition); | 529 checkAccountShippingCondition(o.condition); |
530 } | 530 } |
531 buildCounterAccountShippingShippingServiceCostRule--; | 531 buildCounterAccountShippingShippingServiceCostRule--; |
532 } | 532 } |
533 | 533 |
534 buildUnnamed664() { | 534 buildUnnamed526() { |
535 var o = new core.List<api.AccountStatusDataQualityIssue>(); | 535 var o = new core.List<api.AccountStatusDataQualityIssue>(); |
536 o.add(buildAccountStatusDataQualityIssue()); | 536 o.add(buildAccountStatusDataQualityIssue()); |
537 o.add(buildAccountStatusDataQualityIssue()); | 537 o.add(buildAccountStatusDataQualityIssue()); |
538 return o; | 538 return o; |
539 } | 539 } |
540 | 540 |
541 checkUnnamed664(core.List<api.AccountStatusDataQualityIssue> o) { | 541 checkUnnamed526(core.List<api.AccountStatusDataQualityIssue> o) { |
542 unittest.expect(o, unittest.hasLength(2)); | 542 unittest.expect(o, unittest.hasLength(2)); |
543 checkAccountStatusDataQualityIssue(o[0]); | 543 checkAccountStatusDataQualityIssue(o[0]); |
544 checkAccountStatusDataQualityIssue(o[1]); | 544 checkAccountStatusDataQualityIssue(o[1]); |
545 } | 545 } |
546 | 546 |
547 core.int buildCounterAccountStatus = 0; | 547 core.int buildCounterAccountStatus = 0; |
548 buildAccountStatus() { | 548 buildAccountStatus() { |
549 var o = new api.AccountStatus(); | 549 var o = new api.AccountStatus(); |
550 buildCounterAccountStatus++; | 550 buildCounterAccountStatus++; |
551 if (buildCounterAccountStatus < 3) { | 551 if (buildCounterAccountStatus < 3) { |
552 o.accountId = "foo"; | 552 o.accountId = "foo"; |
553 o.dataQualityIssues = buildUnnamed664(); | 553 o.dataQualityIssues = buildUnnamed526(); |
554 o.kind = "foo"; | 554 o.kind = "foo"; |
555 } | 555 } |
556 buildCounterAccountStatus--; | 556 buildCounterAccountStatus--; |
557 return o; | 557 return o; |
558 } | 558 } |
559 | 559 |
560 checkAccountStatus(api.AccountStatus o) { | 560 checkAccountStatus(api.AccountStatus o) { |
561 buildCounterAccountStatus++; | 561 buildCounterAccountStatus++; |
562 if (buildCounterAccountStatus < 3) { | 562 if (buildCounterAccountStatus < 3) { |
563 unittest.expect(o.accountId, unittest.equals('foo')); | 563 unittest.expect(o.accountId, unittest.equals('foo')); |
564 checkUnnamed664(o.dataQualityIssues); | 564 checkUnnamed526(o.dataQualityIssues); |
565 unittest.expect(o.kind, unittest.equals('foo')); | 565 unittest.expect(o.kind, unittest.equals('foo')); |
566 } | 566 } |
567 buildCounterAccountStatus--; | 567 buildCounterAccountStatus--; |
568 } | 568 } |
569 | 569 |
570 buildUnnamed665() { | 570 buildUnnamed527() { |
571 var o = new core.List<api.AccountStatusExampleItem>(); | 571 var o = new core.List<api.AccountStatusExampleItem>(); |
572 o.add(buildAccountStatusExampleItem()); | 572 o.add(buildAccountStatusExampleItem()); |
573 o.add(buildAccountStatusExampleItem()); | 573 o.add(buildAccountStatusExampleItem()); |
574 return o; | 574 return o; |
575 } | 575 } |
576 | 576 |
577 checkUnnamed665(core.List<api.AccountStatusExampleItem> o) { | 577 checkUnnamed527(core.List<api.AccountStatusExampleItem> o) { |
578 unittest.expect(o, unittest.hasLength(2)); | 578 unittest.expect(o, unittest.hasLength(2)); |
579 checkAccountStatusExampleItem(o[0]); | 579 checkAccountStatusExampleItem(o[0]); |
580 checkAccountStatusExampleItem(o[1]); | 580 checkAccountStatusExampleItem(o[1]); |
581 } | 581 } |
582 | 582 |
583 core.int buildCounterAccountStatusDataQualityIssue = 0; | 583 core.int buildCounterAccountStatusDataQualityIssue = 0; |
584 buildAccountStatusDataQualityIssue() { | 584 buildAccountStatusDataQualityIssue() { |
585 var o = new api.AccountStatusDataQualityIssue(); | 585 var o = new api.AccountStatusDataQualityIssue(); |
586 buildCounterAccountStatusDataQualityIssue++; | 586 buildCounterAccountStatusDataQualityIssue++; |
587 if (buildCounterAccountStatusDataQualityIssue < 3) { | 587 if (buildCounterAccountStatusDataQualityIssue < 3) { |
588 o.country = "foo"; | 588 o.country = "foo"; |
589 o.displayedValue = "foo"; | 589 o.displayedValue = "foo"; |
590 o.exampleItems = buildUnnamed665(); | 590 o.exampleItems = buildUnnamed527(); |
591 o.id = "foo"; | 591 o.id = "foo"; |
592 o.lastChecked = "foo"; | 592 o.lastChecked = "foo"; |
593 o.numItems = 42; | 593 o.numItems = 42; |
594 o.severity = "foo"; | 594 o.severity = "foo"; |
595 o.submittedValue = "foo"; | 595 o.submittedValue = "foo"; |
596 } | 596 } |
597 buildCounterAccountStatusDataQualityIssue--; | 597 buildCounterAccountStatusDataQualityIssue--; |
598 return o; | 598 return o; |
599 } | 599 } |
600 | 600 |
601 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { | 601 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { |
602 buildCounterAccountStatusDataQualityIssue++; | 602 buildCounterAccountStatusDataQualityIssue++; |
603 if (buildCounterAccountStatusDataQualityIssue < 3) { | 603 if (buildCounterAccountStatusDataQualityIssue < 3) { |
604 unittest.expect(o.country, unittest.equals('foo')); | 604 unittest.expect(o.country, unittest.equals('foo')); |
605 unittest.expect(o.displayedValue, unittest.equals('foo')); | 605 unittest.expect(o.displayedValue, unittest.equals('foo')); |
606 checkUnnamed665(o.exampleItems); | 606 checkUnnamed527(o.exampleItems); |
607 unittest.expect(o.id, unittest.equals('foo')); | 607 unittest.expect(o.id, unittest.equals('foo')); |
608 unittest.expect(o.lastChecked, unittest.equals('foo')); | 608 unittest.expect(o.lastChecked, unittest.equals('foo')); |
609 unittest.expect(o.numItems, unittest.equals(42)); | 609 unittest.expect(o.numItems, unittest.equals(42)); |
610 unittest.expect(o.severity, unittest.equals('foo')); | 610 unittest.expect(o.severity, unittest.equals('foo')); |
611 unittest.expect(o.submittedValue, unittest.equals('foo')); | 611 unittest.expect(o.submittedValue, unittest.equals('foo')); |
612 } | 612 } |
613 buildCounterAccountStatusDataQualityIssue--; | 613 buildCounterAccountStatusDataQualityIssue--; |
614 } | 614 } |
615 | 615 |
616 core.int buildCounterAccountStatusExampleItem = 0; | 616 core.int buildCounterAccountStatusExampleItem = 0; |
(...skipping 16 matching lines...) Expand all Loading... |
633 if (buildCounterAccountStatusExampleItem < 3) { | 633 if (buildCounterAccountStatusExampleItem < 3) { |
634 unittest.expect(o.itemId, unittest.equals('foo')); | 634 unittest.expect(o.itemId, unittest.equals('foo')); |
635 unittest.expect(o.link, unittest.equals('foo')); | 635 unittest.expect(o.link, unittest.equals('foo')); |
636 unittest.expect(o.submittedValue, unittest.equals('foo')); | 636 unittest.expect(o.submittedValue, unittest.equals('foo')); |
637 unittest.expect(o.title, unittest.equals('foo')); | 637 unittest.expect(o.title, unittest.equals('foo')); |
638 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); | 638 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); |
639 } | 639 } |
640 buildCounterAccountStatusExampleItem--; | 640 buildCounterAccountStatusExampleItem--; |
641 } | 641 } |
642 | 642 |
643 buildUnnamed666() { | 643 buildUnnamed528() { |
644 var o = new core.List<api.AccountTaxTaxRule>(); | 644 var o = new core.List<api.AccountTaxTaxRule>(); |
645 o.add(buildAccountTaxTaxRule()); | 645 o.add(buildAccountTaxTaxRule()); |
646 o.add(buildAccountTaxTaxRule()); | 646 o.add(buildAccountTaxTaxRule()); |
647 return o; | 647 return o; |
648 } | 648 } |
649 | 649 |
650 checkUnnamed666(core.List<api.AccountTaxTaxRule> o) { | 650 checkUnnamed528(core.List<api.AccountTaxTaxRule> o) { |
651 unittest.expect(o, unittest.hasLength(2)); | 651 unittest.expect(o, unittest.hasLength(2)); |
652 checkAccountTaxTaxRule(o[0]); | 652 checkAccountTaxTaxRule(o[0]); |
653 checkAccountTaxTaxRule(o[1]); | 653 checkAccountTaxTaxRule(o[1]); |
654 } | 654 } |
655 | 655 |
656 core.int buildCounterAccountTax = 0; | 656 core.int buildCounterAccountTax = 0; |
657 buildAccountTax() { | 657 buildAccountTax() { |
658 var o = new api.AccountTax(); | 658 var o = new api.AccountTax(); |
659 buildCounterAccountTax++; | 659 buildCounterAccountTax++; |
660 if (buildCounterAccountTax < 3) { | 660 if (buildCounterAccountTax < 3) { |
661 o.accountId = "foo"; | 661 o.accountId = "foo"; |
662 o.kind = "foo"; | 662 o.kind = "foo"; |
663 o.rules = buildUnnamed666(); | 663 o.rules = buildUnnamed528(); |
664 } | 664 } |
665 buildCounterAccountTax--; | 665 buildCounterAccountTax--; |
666 return o; | 666 return o; |
667 } | 667 } |
668 | 668 |
669 checkAccountTax(api.AccountTax o) { | 669 checkAccountTax(api.AccountTax o) { |
670 buildCounterAccountTax++; | 670 buildCounterAccountTax++; |
671 if (buildCounterAccountTax < 3) { | 671 if (buildCounterAccountTax < 3) { |
672 unittest.expect(o.accountId, unittest.equals('foo')); | 672 unittest.expect(o.accountId, unittest.equals('foo')); |
673 unittest.expect(o.kind, unittest.equals('foo')); | 673 unittest.expect(o.kind, unittest.equals('foo')); |
674 checkUnnamed666(o.rules); | 674 checkUnnamed528(o.rules); |
675 } | 675 } |
676 buildCounterAccountTax--; | 676 buildCounterAccountTax--; |
677 } | 677 } |
678 | 678 |
679 core.int buildCounterAccountTaxTaxRule = 0; | 679 core.int buildCounterAccountTaxTaxRule = 0; |
680 buildAccountTaxTaxRule() { | 680 buildAccountTaxTaxRule() { |
681 var o = new api.AccountTaxTaxRule(); | 681 var o = new api.AccountTaxTaxRule(); |
682 buildCounterAccountTaxTaxRule++; | 682 buildCounterAccountTaxTaxRule++; |
683 if (buildCounterAccountTaxTaxRule < 3) { | 683 if (buildCounterAccountTaxTaxRule < 3) { |
684 o.country = "foo"; | 684 o.country = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 | 717 |
718 checkAccountUser(api.AccountUser o) { | 718 checkAccountUser(api.AccountUser o) { |
719 buildCounterAccountUser++; | 719 buildCounterAccountUser++; |
720 if (buildCounterAccountUser < 3) { | 720 if (buildCounterAccountUser < 3) { |
721 unittest.expect(o.admin, unittest.isTrue); | 721 unittest.expect(o.admin, unittest.isTrue); |
722 unittest.expect(o.emailAddress, unittest.equals('foo')); | 722 unittest.expect(o.emailAddress, unittest.equals('foo')); |
723 } | 723 } |
724 buildCounterAccountUser--; | 724 buildCounterAccountUser--; |
725 } | 725 } |
726 | 726 |
727 buildUnnamed667() { | 727 buildUnnamed529() { |
728 var o = new core.List<api.AccountIdentifier>(); | 728 var o = new core.List<api.AccountIdentifier>(); |
729 o.add(buildAccountIdentifier()); | 729 o.add(buildAccountIdentifier()); |
730 o.add(buildAccountIdentifier()); | 730 o.add(buildAccountIdentifier()); |
731 return o; | 731 return o; |
732 } | 732 } |
733 | 733 |
734 checkUnnamed667(core.List<api.AccountIdentifier> o) { | 734 checkUnnamed529(core.List<api.AccountIdentifier> o) { |
735 unittest.expect(o, unittest.hasLength(2)); | 735 unittest.expect(o, unittest.hasLength(2)); |
736 checkAccountIdentifier(o[0]); | 736 checkAccountIdentifier(o[0]); |
737 checkAccountIdentifier(o[1]); | 737 checkAccountIdentifier(o[1]); |
738 } | 738 } |
739 | 739 |
740 core.int buildCounterAccountsAuthInfoResponse = 0; | 740 core.int buildCounterAccountsAuthInfoResponse = 0; |
741 buildAccountsAuthInfoResponse() { | 741 buildAccountsAuthInfoResponse() { |
742 var o = new api.AccountsAuthInfoResponse(); | 742 var o = new api.AccountsAuthInfoResponse(); |
743 buildCounterAccountsAuthInfoResponse++; | 743 buildCounterAccountsAuthInfoResponse++; |
744 if (buildCounterAccountsAuthInfoResponse < 3) { | 744 if (buildCounterAccountsAuthInfoResponse < 3) { |
745 o.accountIdentifiers = buildUnnamed667(); | 745 o.accountIdentifiers = buildUnnamed529(); |
746 o.kind = "foo"; | 746 o.kind = "foo"; |
747 } | 747 } |
748 buildCounterAccountsAuthInfoResponse--; | 748 buildCounterAccountsAuthInfoResponse--; |
749 return o; | 749 return o; |
750 } | 750 } |
751 | 751 |
752 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { | 752 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { |
753 buildCounterAccountsAuthInfoResponse++; | 753 buildCounterAccountsAuthInfoResponse++; |
754 if (buildCounterAccountsAuthInfoResponse < 3) { | 754 if (buildCounterAccountsAuthInfoResponse < 3) { |
755 checkUnnamed667(o.accountIdentifiers); | 755 checkUnnamed529(o.accountIdentifiers); |
756 unittest.expect(o.kind, unittest.equals('foo')); | 756 unittest.expect(o.kind, unittest.equals('foo')); |
757 } | 757 } |
758 buildCounterAccountsAuthInfoResponse--; | 758 buildCounterAccountsAuthInfoResponse--; |
759 } | 759 } |
760 | 760 |
761 buildUnnamed668() { | 761 buildUnnamed530() { |
762 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); | 762 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); |
763 o.add(buildAccountsCustomBatchRequestEntry()); | 763 o.add(buildAccountsCustomBatchRequestEntry()); |
764 o.add(buildAccountsCustomBatchRequestEntry()); | 764 o.add(buildAccountsCustomBatchRequestEntry()); |
765 return o; | 765 return o; |
766 } | 766 } |
767 | 767 |
768 checkUnnamed668(core.List<api.AccountsCustomBatchRequestEntry> o) { | 768 checkUnnamed530(core.List<api.AccountsCustomBatchRequestEntry> o) { |
769 unittest.expect(o, unittest.hasLength(2)); | 769 unittest.expect(o, unittest.hasLength(2)); |
770 checkAccountsCustomBatchRequestEntry(o[0]); | 770 checkAccountsCustomBatchRequestEntry(o[0]); |
771 checkAccountsCustomBatchRequestEntry(o[1]); | 771 checkAccountsCustomBatchRequestEntry(o[1]); |
772 } | 772 } |
773 | 773 |
774 core.int buildCounterAccountsCustomBatchRequest = 0; | 774 core.int buildCounterAccountsCustomBatchRequest = 0; |
775 buildAccountsCustomBatchRequest() { | 775 buildAccountsCustomBatchRequest() { |
776 var o = new api.AccountsCustomBatchRequest(); | 776 var o = new api.AccountsCustomBatchRequest(); |
777 buildCounterAccountsCustomBatchRequest++; | 777 buildCounterAccountsCustomBatchRequest++; |
778 if (buildCounterAccountsCustomBatchRequest < 3) { | 778 if (buildCounterAccountsCustomBatchRequest < 3) { |
779 o.entries = buildUnnamed668(); | 779 o.entries = buildUnnamed530(); |
780 } | 780 } |
781 buildCounterAccountsCustomBatchRequest--; | 781 buildCounterAccountsCustomBatchRequest--; |
782 return o; | 782 return o; |
783 } | 783 } |
784 | 784 |
785 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { | 785 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { |
786 buildCounterAccountsCustomBatchRequest++; | 786 buildCounterAccountsCustomBatchRequest++; |
787 if (buildCounterAccountsCustomBatchRequest < 3) { | 787 if (buildCounterAccountsCustomBatchRequest < 3) { |
788 checkUnnamed668(o.entries); | 788 checkUnnamed530(o.entries); |
789 } | 789 } |
790 buildCounterAccountsCustomBatchRequest--; | 790 buildCounterAccountsCustomBatchRequest--; |
791 } | 791 } |
792 | 792 |
793 core.int buildCounterAccountsCustomBatchRequestEntry = 0; | 793 core.int buildCounterAccountsCustomBatchRequestEntry = 0; |
794 buildAccountsCustomBatchRequestEntry() { | 794 buildAccountsCustomBatchRequestEntry() { |
795 var o = new api.AccountsCustomBatchRequestEntry(); | 795 var o = new api.AccountsCustomBatchRequestEntry(); |
796 buildCounterAccountsCustomBatchRequestEntry++; | 796 buildCounterAccountsCustomBatchRequestEntry++; |
797 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 797 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
798 o.account = buildAccount(); | 798 o.account = buildAccount(); |
(...skipping 11 matching lines...) Expand all Loading... |
810 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 810 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
811 checkAccount(o.account); | 811 checkAccount(o.account); |
812 unittest.expect(o.accountId, unittest.equals('foo')); | 812 unittest.expect(o.accountId, unittest.equals('foo')); |
813 unittest.expect(o.batchId, unittest.equals(42)); | 813 unittest.expect(o.batchId, unittest.equals(42)); |
814 unittest.expect(o.merchantId, unittest.equals('foo')); | 814 unittest.expect(o.merchantId, unittest.equals('foo')); |
815 unittest.expect(o.method, unittest.equals('foo')); | 815 unittest.expect(o.method, unittest.equals('foo')); |
816 } | 816 } |
817 buildCounterAccountsCustomBatchRequestEntry--; | 817 buildCounterAccountsCustomBatchRequestEntry--; |
818 } | 818 } |
819 | 819 |
820 buildUnnamed669() { | 820 buildUnnamed531() { |
821 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); | 821 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); |
822 o.add(buildAccountsCustomBatchResponseEntry()); | 822 o.add(buildAccountsCustomBatchResponseEntry()); |
823 o.add(buildAccountsCustomBatchResponseEntry()); | 823 o.add(buildAccountsCustomBatchResponseEntry()); |
824 return o; | 824 return o; |
825 } | 825 } |
826 | 826 |
827 checkUnnamed669(core.List<api.AccountsCustomBatchResponseEntry> o) { | 827 checkUnnamed531(core.List<api.AccountsCustomBatchResponseEntry> o) { |
828 unittest.expect(o, unittest.hasLength(2)); | 828 unittest.expect(o, unittest.hasLength(2)); |
829 checkAccountsCustomBatchResponseEntry(o[0]); | 829 checkAccountsCustomBatchResponseEntry(o[0]); |
830 checkAccountsCustomBatchResponseEntry(o[1]); | 830 checkAccountsCustomBatchResponseEntry(o[1]); |
831 } | 831 } |
832 | 832 |
833 core.int buildCounterAccountsCustomBatchResponse = 0; | 833 core.int buildCounterAccountsCustomBatchResponse = 0; |
834 buildAccountsCustomBatchResponse() { | 834 buildAccountsCustomBatchResponse() { |
835 var o = new api.AccountsCustomBatchResponse(); | 835 var o = new api.AccountsCustomBatchResponse(); |
836 buildCounterAccountsCustomBatchResponse++; | 836 buildCounterAccountsCustomBatchResponse++; |
837 if (buildCounterAccountsCustomBatchResponse < 3) { | 837 if (buildCounterAccountsCustomBatchResponse < 3) { |
838 o.entries = buildUnnamed669(); | 838 o.entries = buildUnnamed531(); |
839 o.kind = "foo"; | 839 o.kind = "foo"; |
840 } | 840 } |
841 buildCounterAccountsCustomBatchResponse--; | 841 buildCounterAccountsCustomBatchResponse--; |
842 return o; | 842 return o; |
843 } | 843 } |
844 | 844 |
845 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { | 845 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { |
846 buildCounterAccountsCustomBatchResponse++; | 846 buildCounterAccountsCustomBatchResponse++; |
847 if (buildCounterAccountsCustomBatchResponse < 3) { | 847 if (buildCounterAccountsCustomBatchResponse < 3) { |
848 checkUnnamed669(o.entries); | 848 checkUnnamed531(o.entries); |
849 unittest.expect(o.kind, unittest.equals('foo')); | 849 unittest.expect(o.kind, unittest.equals('foo')); |
850 } | 850 } |
851 buildCounterAccountsCustomBatchResponse--; | 851 buildCounterAccountsCustomBatchResponse--; |
852 } | 852 } |
853 | 853 |
854 core.int buildCounterAccountsCustomBatchResponseEntry = 0; | 854 core.int buildCounterAccountsCustomBatchResponseEntry = 0; |
855 buildAccountsCustomBatchResponseEntry() { | 855 buildAccountsCustomBatchResponseEntry() { |
856 var o = new api.AccountsCustomBatchResponseEntry(); | 856 var o = new api.AccountsCustomBatchResponseEntry(); |
857 buildCounterAccountsCustomBatchResponseEntry++; | 857 buildCounterAccountsCustomBatchResponseEntry++; |
858 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 858 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
869 buildCounterAccountsCustomBatchResponseEntry++; | 869 buildCounterAccountsCustomBatchResponseEntry++; |
870 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 870 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
871 checkAccount(o.account); | 871 checkAccount(o.account); |
872 unittest.expect(o.batchId, unittest.equals(42)); | 872 unittest.expect(o.batchId, unittest.equals(42)); |
873 checkErrors(o.errors); | 873 checkErrors(o.errors); |
874 unittest.expect(o.kind, unittest.equals('foo')); | 874 unittest.expect(o.kind, unittest.equals('foo')); |
875 } | 875 } |
876 buildCounterAccountsCustomBatchResponseEntry--; | 876 buildCounterAccountsCustomBatchResponseEntry--; |
877 } | 877 } |
878 | 878 |
879 buildUnnamed670() { | 879 buildUnnamed532() { |
880 var o = new core.List<api.Account>(); | 880 var o = new core.List<api.Account>(); |
881 o.add(buildAccount()); | 881 o.add(buildAccount()); |
882 o.add(buildAccount()); | 882 o.add(buildAccount()); |
883 return o; | 883 return o; |
884 } | 884 } |
885 | 885 |
886 checkUnnamed670(core.List<api.Account> o) { | 886 checkUnnamed532(core.List<api.Account> o) { |
887 unittest.expect(o, unittest.hasLength(2)); | 887 unittest.expect(o, unittest.hasLength(2)); |
888 checkAccount(o[0]); | 888 checkAccount(o[0]); |
889 checkAccount(o[1]); | 889 checkAccount(o[1]); |
890 } | 890 } |
891 | 891 |
892 core.int buildCounterAccountsListResponse = 0; | 892 core.int buildCounterAccountsListResponse = 0; |
893 buildAccountsListResponse() { | 893 buildAccountsListResponse() { |
894 var o = new api.AccountsListResponse(); | 894 var o = new api.AccountsListResponse(); |
895 buildCounterAccountsListResponse++; | 895 buildCounterAccountsListResponse++; |
896 if (buildCounterAccountsListResponse < 3) { | 896 if (buildCounterAccountsListResponse < 3) { |
897 o.kind = "foo"; | 897 o.kind = "foo"; |
898 o.nextPageToken = "foo"; | 898 o.nextPageToken = "foo"; |
899 o.resources = buildUnnamed670(); | 899 o.resources = buildUnnamed532(); |
900 } | 900 } |
901 buildCounterAccountsListResponse--; | 901 buildCounterAccountsListResponse--; |
902 return o; | 902 return o; |
903 } | 903 } |
904 | 904 |
905 checkAccountsListResponse(api.AccountsListResponse o) { | 905 checkAccountsListResponse(api.AccountsListResponse o) { |
906 buildCounterAccountsListResponse++; | 906 buildCounterAccountsListResponse++; |
907 if (buildCounterAccountsListResponse < 3) { | 907 if (buildCounterAccountsListResponse < 3) { |
908 unittest.expect(o.kind, unittest.equals('foo')); | 908 unittest.expect(o.kind, unittest.equals('foo')); |
909 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 909 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
910 checkUnnamed670(o.resources); | 910 checkUnnamed532(o.resources); |
911 } | 911 } |
912 buildCounterAccountsListResponse--; | 912 buildCounterAccountsListResponse--; |
913 } | 913 } |
914 | 914 |
915 buildUnnamed671() { | 915 buildUnnamed533() { |
916 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); | 916 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); |
917 o.add(buildAccountshippingCustomBatchRequestEntry()); | 917 o.add(buildAccountshippingCustomBatchRequestEntry()); |
918 o.add(buildAccountshippingCustomBatchRequestEntry()); | 918 o.add(buildAccountshippingCustomBatchRequestEntry()); |
919 return o; | 919 return o; |
920 } | 920 } |
921 | 921 |
922 checkUnnamed671(core.List<api.AccountshippingCustomBatchRequestEntry> o) { | 922 checkUnnamed533(core.List<api.AccountshippingCustomBatchRequestEntry> o) { |
923 unittest.expect(o, unittest.hasLength(2)); | 923 unittest.expect(o, unittest.hasLength(2)); |
924 checkAccountshippingCustomBatchRequestEntry(o[0]); | 924 checkAccountshippingCustomBatchRequestEntry(o[0]); |
925 checkAccountshippingCustomBatchRequestEntry(o[1]); | 925 checkAccountshippingCustomBatchRequestEntry(o[1]); |
926 } | 926 } |
927 | 927 |
928 core.int buildCounterAccountshippingCustomBatchRequest = 0; | 928 core.int buildCounterAccountshippingCustomBatchRequest = 0; |
929 buildAccountshippingCustomBatchRequest() { | 929 buildAccountshippingCustomBatchRequest() { |
930 var o = new api.AccountshippingCustomBatchRequest(); | 930 var o = new api.AccountshippingCustomBatchRequest(); |
931 buildCounterAccountshippingCustomBatchRequest++; | 931 buildCounterAccountshippingCustomBatchRequest++; |
932 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 932 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
933 o.entries = buildUnnamed671(); | 933 o.entries = buildUnnamed533(); |
934 } | 934 } |
935 buildCounterAccountshippingCustomBatchRequest--; | 935 buildCounterAccountshippingCustomBatchRequest--; |
936 return o; | 936 return o; |
937 } | 937 } |
938 | 938 |
939 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ | 939 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ |
940 buildCounterAccountshippingCustomBatchRequest++; | 940 buildCounterAccountshippingCustomBatchRequest++; |
941 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 941 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
942 checkUnnamed671(o.entries); | 942 checkUnnamed533(o.entries); |
943 } | 943 } |
944 buildCounterAccountshippingCustomBatchRequest--; | 944 buildCounterAccountshippingCustomBatchRequest--; |
945 } | 945 } |
946 | 946 |
947 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; | 947 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; |
948 buildAccountshippingCustomBatchRequestEntry() { | 948 buildAccountshippingCustomBatchRequestEntry() { |
949 var o = new api.AccountshippingCustomBatchRequestEntry(); | 949 var o = new api.AccountshippingCustomBatchRequestEntry(); |
950 buildCounterAccountshippingCustomBatchRequestEntry++; | 950 buildCounterAccountshippingCustomBatchRequestEntry++; |
951 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 951 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
952 o.accountId = "foo"; | 952 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
964 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 964 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
965 unittest.expect(o.accountId, unittest.equals('foo')); | 965 unittest.expect(o.accountId, unittest.equals('foo')); |
966 checkAccountShipping(o.accountShipping); | 966 checkAccountShipping(o.accountShipping); |
967 unittest.expect(o.batchId, unittest.equals(42)); | 967 unittest.expect(o.batchId, unittest.equals(42)); |
968 unittest.expect(o.merchantId, unittest.equals('foo')); | 968 unittest.expect(o.merchantId, unittest.equals('foo')); |
969 unittest.expect(o.method, unittest.equals('foo')); | 969 unittest.expect(o.method, unittest.equals('foo')); |
970 } | 970 } |
971 buildCounterAccountshippingCustomBatchRequestEntry--; | 971 buildCounterAccountshippingCustomBatchRequestEntry--; |
972 } | 972 } |
973 | 973 |
974 buildUnnamed672() { | 974 buildUnnamed534() { |
975 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); | 975 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); |
976 o.add(buildAccountshippingCustomBatchResponseEntry()); | 976 o.add(buildAccountshippingCustomBatchResponseEntry()); |
977 o.add(buildAccountshippingCustomBatchResponseEntry()); | 977 o.add(buildAccountshippingCustomBatchResponseEntry()); |
978 return o; | 978 return o; |
979 } | 979 } |
980 | 980 |
981 checkUnnamed672(core.List<api.AccountshippingCustomBatchResponseEntry> o) { | 981 checkUnnamed534(core.List<api.AccountshippingCustomBatchResponseEntry> o) { |
982 unittest.expect(o, unittest.hasLength(2)); | 982 unittest.expect(o, unittest.hasLength(2)); |
983 checkAccountshippingCustomBatchResponseEntry(o[0]); | 983 checkAccountshippingCustomBatchResponseEntry(o[0]); |
984 checkAccountshippingCustomBatchResponseEntry(o[1]); | 984 checkAccountshippingCustomBatchResponseEntry(o[1]); |
985 } | 985 } |
986 | 986 |
987 core.int buildCounterAccountshippingCustomBatchResponse = 0; | 987 core.int buildCounterAccountshippingCustomBatchResponse = 0; |
988 buildAccountshippingCustomBatchResponse() { | 988 buildAccountshippingCustomBatchResponse() { |
989 var o = new api.AccountshippingCustomBatchResponse(); | 989 var o = new api.AccountshippingCustomBatchResponse(); |
990 buildCounterAccountshippingCustomBatchResponse++; | 990 buildCounterAccountshippingCustomBatchResponse++; |
991 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 991 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
992 o.entries = buildUnnamed672(); | 992 o.entries = buildUnnamed534(); |
993 o.kind = "foo"; | 993 o.kind = "foo"; |
994 } | 994 } |
995 buildCounterAccountshippingCustomBatchResponse--; | 995 buildCounterAccountshippingCustomBatchResponse--; |
996 return o; | 996 return o; |
997 } | 997 } |
998 | 998 |
999 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { | 999 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { |
1000 buildCounterAccountshippingCustomBatchResponse++; | 1000 buildCounterAccountshippingCustomBatchResponse++; |
1001 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 1001 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
1002 checkUnnamed672(o.entries); | 1002 checkUnnamed534(o.entries); |
1003 unittest.expect(o.kind, unittest.equals('foo')); | 1003 unittest.expect(o.kind, unittest.equals('foo')); |
1004 } | 1004 } |
1005 buildCounterAccountshippingCustomBatchResponse--; | 1005 buildCounterAccountshippingCustomBatchResponse--; |
1006 } | 1006 } |
1007 | 1007 |
1008 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; | 1008 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; |
1009 buildAccountshippingCustomBatchResponseEntry() { | 1009 buildAccountshippingCustomBatchResponseEntry() { |
1010 var o = new api.AccountshippingCustomBatchResponseEntry(); | 1010 var o = new api.AccountshippingCustomBatchResponseEntry(); |
1011 buildCounterAccountshippingCustomBatchResponseEntry++; | 1011 buildCounterAccountshippingCustomBatchResponseEntry++; |
1012 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1012 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1023 buildCounterAccountshippingCustomBatchResponseEntry++; | 1023 buildCounterAccountshippingCustomBatchResponseEntry++; |
1024 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1024 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
1025 checkAccountShipping(o.accountShipping); | 1025 checkAccountShipping(o.accountShipping); |
1026 unittest.expect(o.batchId, unittest.equals(42)); | 1026 unittest.expect(o.batchId, unittest.equals(42)); |
1027 checkErrors(o.errors); | 1027 checkErrors(o.errors); |
1028 unittest.expect(o.kind, unittest.equals('foo')); | 1028 unittest.expect(o.kind, unittest.equals('foo')); |
1029 } | 1029 } |
1030 buildCounterAccountshippingCustomBatchResponseEntry--; | 1030 buildCounterAccountshippingCustomBatchResponseEntry--; |
1031 } | 1031 } |
1032 | 1032 |
1033 buildUnnamed673() { | 1033 buildUnnamed535() { |
1034 var o = new core.List<api.AccountShipping>(); | 1034 var o = new core.List<api.AccountShipping>(); |
1035 o.add(buildAccountShipping()); | 1035 o.add(buildAccountShipping()); |
1036 o.add(buildAccountShipping()); | 1036 o.add(buildAccountShipping()); |
1037 return o; | 1037 return o; |
1038 } | 1038 } |
1039 | 1039 |
1040 checkUnnamed673(core.List<api.AccountShipping> o) { | 1040 checkUnnamed535(core.List<api.AccountShipping> o) { |
1041 unittest.expect(o, unittest.hasLength(2)); | 1041 unittest.expect(o, unittest.hasLength(2)); |
1042 checkAccountShipping(o[0]); | 1042 checkAccountShipping(o[0]); |
1043 checkAccountShipping(o[1]); | 1043 checkAccountShipping(o[1]); |
1044 } | 1044 } |
1045 | 1045 |
1046 core.int buildCounterAccountshippingListResponse = 0; | 1046 core.int buildCounterAccountshippingListResponse = 0; |
1047 buildAccountshippingListResponse() { | 1047 buildAccountshippingListResponse() { |
1048 var o = new api.AccountshippingListResponse(); | 1048 var o = new api.AccountshippingListResponse(); |
1049 buildCounterAccountshippingListResponse++; | 1049 buildCounterAccountshippingListResponse++; |
1050 if (buildCounterAccountshippingListResponse < 3) { | 1050 if (buildCounterAccountshippingListResponse < 3) { |
1051 o.kind = "foo"; | 1051 o.kind = "foo"; |
1052 o.nextPageToken = "foo"; | 1052 o.nextPageToken = "foo"; |
1053 o.resources = buildUnnamed673(); | 1053 o.resources = buildUnnamed535(); |
1054 } | 1054 } |
1055 buildCounterAccountshippingListResponse--; | 1055 buildCounterAccountshippingListResponse--; |
1056 return o; | 1056 return o; |
1057 } | 1057 } |
1058 | 1058 |
1059 checkAccountshippingListResponse(api.AccountshippingListResponse o) { | 1059 checkAccountshippingListResponse(api.AccountshippingListResponse o) { |
1060 buildCounterAccountshippingListResponse++; | 1060 buildCounterAccountshippingListResponse++; |
1061 if (buildCounterAccountshippingListResponse < 3) { | 1061 if (buildCounterAccountshippingListResponse < 3) { |
1062 unittest.expect(o.kind, unittest.equals('foo')); | 1062 unittest.expect(o.kind, unittest.equals('foo')); |
1063 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1063 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1064 checkUnnamed673(o.resources); | 1064 checkUnnamed535(o.resources); |
1065 } | 1065 } |
1066 buildCounterAccountshippingListResponse--; | 1066 buildCounterAccountshippingListResponse--; |
1067 } | 1067 } |
1068 | 1068 |
1069 buildUnnamed674() { | 1069 buildUnnamed536() { |
1070 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); | 1070 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); |
1071 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1071 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
1072 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1072 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
1073 return o; | 1073 return o; |
1074 } | 1074 } |
1075 | 1075 |
1076 checkUnnamed674(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { | 1076 checkUnnamed536(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { |
1077 unittest.expect(o, unittest.hasLength(2)); | 1077 unittest.expect(o, unittest.hasLength(2)); |
1078 checkAccountstatusesCustomBatchRequestEntry(o[0]); | 1078 checkAccountstatusesCustomBatchRequestEntry(o[0]); |
1079 checkAccountstatusesCustomBatchRequestEntry(o[1]); | 1079 checkAccountstatusesCustomBatchRequestEntry(o[1]); |
1080 } | 1080 } |
1081 | 1081 |
1082 core.int buildCounterAccountstatusesCustomBatchRequest = 0; | 1082 core.int buildCounterAccountstatusesCustomBatchRequest = 0; |
1083 buildAccountstatusesCustomBatchRequest() { | 1083 buildAccountstatusesCustomBatchRequest() { |
1084 var o = new api.AccountstatusesCustomBatchRequest(); | 1084 var o = new api.AccountstatusesCustomBatchRequest(); |
1085 buildCounterAccountstatusesCustomBatchRequest++; | 1085 buildCounterAccountstatusesCustomBatchRequest++; |
1086 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1086 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
1087 o.entries = buildUnnamed674(); | 1087 o.entries = buildUnnamed536(); |
1088 } | 1088 } |
1089 buildCounterAccountstatusesCustomBatchRequest--; | 1089 buildCounterAccountstatusesCustomBatchRequest--; |
1090 return o; | 1090 return o; |
1091 } | 1091 } |
1092 | 1092 |
1093 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ | 1093 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ |
1094 buildCounterAccountstatusesCustomBatchRequest++; | 1094 buildCounterAccountstatusesCustomBatchRequest++; |
1095 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1095 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
1096 checkUnnamed674(o.entries); | 1096 checkUnnamed536(o.entries); |
1097 } | 1097 } |
1098 buildCounterAccountstatusesCustomBatchRequest--; | 1098 buildCounterAccountstatusesCustomBatchRequest--; |
1099 } | 1099 } |
1100 | 1100 |
1101 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; | 1101 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; |
1102 buildAccountstatusesCustomBatchRequestEntry() { | 1102 buildAccountstatusesCustomBatchRequestEntry() { |
1103 var o = new api.AccountstatusesCustomBatchRequestEntry(); | 1103 var o = new api.AccountstatusesCustomBatchRequestEntry(); |
1104 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1104 buildCounterAccountstatusesCustomBatchRequestEntry++; |
1105 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1105 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
1106 o.accountId = "foo"; | 1106 o.accountId = "foo"; |
1107 o.batchId = 42; | 1107 o.batchId = 42; |
1108 o.merchantId = "foo"; | 1108 o.merchantId = "foo"; |
1109 o.method = "foo"; | 1109 o.method = "foo"; |
1110 } | 1110 } |
1111 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1111 buildCounterAccountstatusesCustomBatchRequestEntry--; |
1112 return o; | 1112 return o; |
1113 } | 1113 } |
1114 | 1114 |
1115 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { | 1115 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { |
1116 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1116 buildCounterAccountstatusesCustomBatchRequestEntry++; |
1117 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1117 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
1118 unittest.expect(o.accountId, unittest.equals('foo')); | 1118 unittest.expect(o.accountId, unittest.equals('foo')); |
1119 unittest.expect(o.batchId, unittest.equals(42)); | 1119 unittest.expect(o.batchId, unittest.equals(42)); |
1120 unittest.expect(o.merchantId, unittest.equals('foo')); | 1120 unittest.expect(o.merchantId, unittest.equals('foo')); |
1121 unittest.expect(o.method, unittest.equals('foo')); | 1121 unittest.expect(o.method, unittest.equals('foo')); |
1122 } | 1122 } |
1123 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1123 buildCounterAccountstatusesCustomBatchRequestEntry--; |
1124 } | 1124 } |
1125 | 1125 |
1126 buildUnnamed675() { | 1126 buildUnnamed537() { |
1127 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); | 1127 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); |
1128 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1128 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
1129 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1129 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
1130 return o; | 1130 return o; |
1131 } | 1131 } |
1132 | 1132 |
1133 checkUnnamed675(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { | 1133 checkUnnamed537(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { |
1134 unittest.expect(o, unittest.hasLength(2)); | 1134 unittest.expect(o, unittest.hasLength(2)); |
1135 checkAccountstatusesCustomBatchResponseEntry(o[0]); | 1135 checkAccountstatusesCustomBatchResponseEntry(o[0]); |
1136 checkAccountstatusesCustomBatchResponseEntry(o[1]); | 1136 checkAccountstatusesCustomBatchResponseEntry(o[1]); |
1137 } | 1137 } |
1138 | 1138 |
1139 core.int buildCounterAccountstatusesCustomBatchResponse = 0; | 1139 core.int buildCounterAccountstatusesCustomBatchResponse = 0; |
1140 buildAccountstatusesCustomBatchResponse() { | 1140 buildAccountstatusesCustomBatchResponse() { |
1141 var o = new api.AccountstatusesCustomBatchResponse(); | 1141 var o = new api.AccountstatusesCustomBatchResponse(); |
1142 buildCounterAccountstatusesCustomBatchResponse++; | 1142 buildCounterAccountstatusesCustomBatchResponse++; |
1143 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1143 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
1144 o.entries = buildUnnamed675(); | 1144 o.entries = buildUnnamed537(); |
1145 o.kind = "foo"; | 1145 o.kind = "foo"; |
1146 } | 1146 } |
1147 buildCounterAccountstatusesCustomBatchResponse--; | 1147 buildCounterAccountstatusesCustomBatchResponse--; |
1148 return o; | 1148 return o; |
1149 } | 1149 } |
1150 | 1150 |
1151 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { | 1151 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { |
1152 buildCounterAccountstatusesCustomBatchResponse++; | 1152 buildCounterAccountstatusesCustomBatchResponse++; |
1153 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1153 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
1154 checkUnnamed675(o.entries); | 1154 checkUnnamed537(o.entries); |
1155 unittest.expect(o.kind, unittest.equals('foo')); | 1155 unittest.expect(o.kind, unittest.equals('foo')); |
1156 } | 1156 } |
1157 buildCounterAccountstatusesCustomBatchResponse--; | 1157 buildCounterAccountstatusesCustomBatchResponse--; |
1158 } | 1158 } |
1159 | 1159 |
1160 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; | 1160 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; |
1161 buildAccountstatusesCustomBatchResponseEntry() { | 1161 buildAccountstatusesCustomBatchResponseEntry() { |
1162 var o = new api.AccountstatusesCustomBatchResponseEntry(); | 1162 var o = new api.AccountstatusesCustomBatchResponseEntry(); |
1163 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1163 buildCounterAccountstatusesCustomBatchResponseEntry++; |
1164 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1164 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
1165 o.accountStatus = buildAccountStatus(); | 1165 o.accountStatus = buildAccountStatus(); |
1166 o.batchId = 42; | 1166 o.batchId = 42; |
1167 o.errors = buildErrors(); | 1167 o.errors = buildErrors(); |
1168 } | 1168 } |
1169 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1169 buildCounterAccountstatusesCustomBatchResponseEntry--; |
1170 return o; | 1170 return o; |
1171 } | 1171 } |
1172 | 1172 |
1173 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { | 1173 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { |
1174 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1174 buildCounterAccountstatusesCustomBatchResponseEntry++; |
1175 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1175 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
1176 checkAccountStatus(o.accountStatus); | 1176 checkAccountStatus(o.accountStatus); |
1177 unittest.expect(o.batchId, unittest.equals(42)); | 1177 unittest.expect(o.batchId, unittest.equals(42)); |
1178 checkErrors(o.errors); | 1178 checkErrors(o.errors); |
1179 } | 1179 } |
1180 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1180 buildCounterAccountstatusesCustomBatchResponseEntry--; |
1181 } | 1181 } |
1182 | 1182 |
1183 buildUnnamed676() { | 1183 buildUnnamed538() { |
1184 var o = new core.List<api.AccountStatus>(); | 1184 var o = new core.List<api.AccountStatus>(); |
1185 o.add(buildAccountStatus()); | 1185 o.add(buildAccountStatus()); |
1186 o.add(buildAccountStatus()); | 1186 o.add(buildAccountStatus()); |
1187 return o; | 1187 return o; |
1188 } | 1188 } |
1189 | 1189 |
1190 checkUnnamed676(core.List<api.AccountStatus> o) { | 1190 checkUnnamed538(core.List<api.AccountStatus> o) { |
1191 unittest.expect(o, unittest.hasLength(2)); | 1191 unittest.expect(o, unittest.hasLength(2)); |
1192 checkAccountStatus(o[0]); | 1192 checkAccountStatus(o[0]); |
1193 checkAccountStatus(o[1]); | 1193 checkAccountStatus(o[1]); |
1194 } | 1194 } |
1195 | 1195 |
1196 core.int buildCounterAccountstatusesListResponse = 0; | 1196 core.int buildCounterAccountstatusesListResponse = 0; |
1197 buildAccountstatusesListResponse() { | 1197 buildAccountstatusesListResponse() { |
1198 var o = new api.AccountstatusesListResponse(); | 1198 var o = new api.AccountstatusesListResponse(); |
1199 buildCounterAccountstatusesListResponse++; | 1199 buildCounterAccountstatusesListResponse++; |
1200 if (buildCounterAccountstatusesListResponse < 3) { | 1200 if (buildCounterAccountstatusesListResponse < 3) { |
1201 o.kind = "foo"; | 1201 o.kind = "foo"; |
1202 o.nextPageToken = "foo"; | 1202 o.nextPageToken = "foo"; |
1203 o.resources = buildUnnamed676(); | 1203 o.resources = buildUnnamed538(); |
1204 } | 1204 } |
1205 buildCounterAccountstatusesListResponse--; | 1205 buildCounterAccountstatusesListResponse--; |
1206 return o; | 1206 return o; |
1207 } | 1207 } |
1208 | 1208 |
1209 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { | 1209 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { |
1210 buildCounterAccountstatusesListResponse++; | 1210 buildCounterAccountstatusesListResponse++; |
1211 if (buildCounterAccountstatusesListResponse < 3) { | 1211 if (buildCounterAccountstatusesListResponse < 3) { |
1212 unittest.expect(o.kind, unittest.equals('foo')); | 1212 unittest.expect(o.kind, unittest.equals('foo')); |
1213 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1213 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1214 checkUnnamed676(o.resources); | 1214 checkUnnamed538(o.resources); |
1215 } | 1215 } |
1216 buildCounterAccountstatusesListResponse--; | 1216 buildCounterAccountstatusesListResponse--; |
1217 } | 1217 } |
1218 | 1218 |
1219 buildUnnamed677() { | 1219 buildUnnamed539() { |
1220 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); | 1220 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); |
1221 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1221 o.add(buildAccounttaxCustomBatchRequestEntry()); |
1222 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1222 o.add(buildAccounttaxCustomBatchRequestEntry()); |
1223 return o; | 1223 return o; |
1224 } | 1224 } |
1225 | 1225 |
1226 checkUnnamed677(core.List<api.AccounttaxCustomBatchRequestEntry> o) { | 1226 checkUnnamed539(core.List<api.AccounttaxCustomBatchRequestEntry> o) { |
1227 unittest.expect(o, unittest.hasLength(2)); | 1227 unittest.expect(o, unittest.hasLength(2)); |
1228 checkAccounttaxCustomBatchRequestEntry(o[0]); | 1228 checkAccounttaxCustomBatchRequestEntry(o[0]); |
1229 checkAccounttaxCustomBatchRequestEntry(o[1]); | 1229 checkAccounttaxCustomBatchRequestEntry(o[1]); |
1230 } | 1230 } |
1231 | 1231 |
1232 core.int buildCounterAccounttaxCustomBatchRequest = 0; | 1232 core.int buildCounterAccounttaxCustomBatchRequest = 0; |
1233 buildAccounttaxCustomBatchRequest() { | 1233 buildAccounttaxCustomBatchRequest() { |
1234 var o = new api.AccounttaxCustomBatchRequest(); | 1234 var o = new api.AccounttaxCustomBatchRequest(); |
1235 buildCounterAccounttaxCustomBatchRequest++; | 1235 buildCounterAccounttaxCustomBatchRequest++; |
1236 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1236 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
1237 o.entries = buildUnnamed677(); | 1237 o.entries = buildUnnamed539(); |
1238 } | 1238 } |
1239 buildCounterAccounttaxCustomBatchRequest--; | 1239 buildCounterAccounttaxCustomBatchRequest--; |
1240 return o; | 1240 return o; |
1241 } | 1241 } |
1242 | 1242 |
1243 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { | 1243 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { |
1244 buildCounterAccounttaxCustomBatchRequest++; | 1244 buildCounterAccounttaxCustomBatchRequest++; |
1245 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1245 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
1246 checkUnnamed677(o.entries); | 1246 checkUnnamed539(o.entries); |
1247 } | 1247 } |
1248 buildCounterAccounttaxCustomBatchRequest--; | 1248 buildCounterAccounttaxCustomBatchRequest--; |
1249 } | 1249 } |
1250 | 1250 |
1251 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; | 1251 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; |
1252 buildAccounttaxCustomBatchRequestEntry() { | 1252 buildAccounttaxCustomBatchRequestEntry() { |
1253 var o = new api.AccounttaxCustomBatchRequestEntry(); | 1253 var o = new api.AccounttaxCustomBatchRequestEntry(); |
1254 buildCounterAccounttaxCustomBatchRequestEntry++; | 1254 buildCounterAccounttaxCustomBatchRequestEntry++; |
1255 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1255 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
1256 o.accountId = "foo"; | 1256 o.accountId = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
1268 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1268 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
1269 unittest.expect(o.accountId, unittest.equals('foo')); | 1269 unittest.expect(o.accountId, unittest.equals('foo')); |
1270 checkAccountTax(o.accountTax); | 1270 checkAccountTax(o.accountTax); |
1271 unittest.expect(o.batchId, unittest.equals(42)); | 1271 unittest.expect(o.batchId, unittest.equals(42)); |
1272 unittest.expect(o.merchantId, unittest.equals('foo')); | 1272 unittest.expect(o.merchantId, unittest.equals('foo')); |
1273 unittest.expect(o.method, unittest.equals('foo')); | 1273 unittest.expect(o.method, unittest.equals('foo')); |
1274 } | 1274 } |
1275 buildCounterAccounttaxCustomBatchRequestEntry--; | 1275 buildCounterAccounttaxCustomBatchRequestEntry--; |
1276 } | 1276 } |
1277 | 1277 |
1278 buildUnnamed678() { | 1278 buildUnnamed540() { |
1279 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); | 1279 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); |
1280 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1280 o.add(buildAccounttaxCustomBatchResponseEntry()); |
1281 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1281 o.add(buildAccounttaxCustomBatchResponseEntry()); |
1282 return o; | 1282 return o; |
1283 } | 1283 } |
1284 | 1284 |
1285 checkUnnamed678(core.List<api.AccounttaxCustomBatchResponseEntry> o) { | 1285 checkUnnamed540(core.List<api.AccounttaxCustomBatchResponseEntry> o) { |
1286 unittest.expect(o, unittest.hasLength(2)); | 1286 unittest.expect(o, unittest.hasLength(2)); |
1287 checkAccounttaxCustomBatchResponseEntry(o[0]); | 1287 checkAccounttaxCustomBatchResponseEntry(o[0]); |
1288 checkAccounttaxCustomBatchResponseEntry(o[1]); | 1288 checkAccounttaxCustomBatchResponseEntry(o[1]); |
1289 } | 1289 } |
1290 | 1290 |
1291 core.int buildCounterAccounttaxCustomBatchResponse = 0; | 1291 core.int buildCounterAccounttaxCustomBatchResponse = 0; |
1292 buildAccounttaxCustomBatchResponse() { | 1292 buildAccounttaxCustomBatchResponse() { |
1293 var o = new api.AccounttaxCustomBatchResponse(); | 1293 var o = new api.AccounttaxCustomBatchResponse(); |
1294 buildCounterAccounttaxCustomBatchResponse++; | 1294 buildCounterAccounttaxCustomBatchResponse++; |
1295 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1295 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
1296 o.entries = buildUnnamed678(); | 1296 o.entries = buildUnnamed540(); |
1297 o.kind = "foo"; | 1297 o.kind = "foo"; |
1298 } | 1298 } |
1299 buildCounterAccounttaxCustomBatchResponse--; | 1299 buildCounterAccounttaxCustomBatchResponse--; |
1300 return o; | 1300 return o; |
1301 } | 1301 } |
1302 | 1302 |
1303 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { | 1303 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { |
1304 buildCounterAccounttaxCustomBatchResponse++; | 1304 buildCounterAccounttaxCustomBatchResponse++; |
1305 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1305 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
1306 checkUnnamed678(o.entries); | 1306 checkUnnamed540(o.entries); |
1307 unittest.expect(o.kind, unittest.equals('foo')); | 1307 unittest.expect(o.kind, unittest.equals('foo')); |
1308 } | 1308 } |
1309 buildCounterAccounttaxCustomBatchResponse--; | 1309 buildCounterAccounttaxCustomBatchResponse--; |
1310 } | 1310 } |
1311 | 1311 |
1312 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; | 1312 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; |
1313 buildAccounttaxCustomBatchResponseEntry() { | 1313 buildAccounttaxCustomBatchResponseEntry() { |
1314 var o = new api.AccounttaxCustomBatchResponseEntry(); | 1314 var o = new api.AccounttaxCustomBatchResponseEntry(); |
1315 buildCounterAccounttaxCustomBatchResponseEntry++; | 1315 buildCounterAccounttaxCustomBatchResponseEntry++; |
1316 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1316 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1327 buildCounterAccounttaxCustomBatchResponseEntry++; | 1327 buildCounterAccounttaxCustomBatchResponseEntry++; |
1328 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1328 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
1329 checkAccountTax(o.accountTax); | 1329 checkAccountTax(o.accountTax); |
1330 unittest.expect(o.batchId, unittest.equals(42)); | 1330 unittest.expect(o.batchId, unittest.equals(42)); |
1331 checkErrors(o.errors); | 1331 checkErrors(o.errors); |
1332 unittest.expect(o.kind, unittest.equals('foo')); | 1332 unittest.expect(o.kind, unittest.equals('foo')); |
1333 } | 1333 } |
1334 buildCounterAccounttaxCustomBatchResponseEntry--; | 1334 buildCounterAccounttaxCustomBatchResponseEntry--; |
1335 } | 1335 } |
1336 | 1336 |
1337 buildUnnamed679() { | 1337 buildUnnamed541() { |
1338 var o = new core.List<api.AccountTax>(); | 1338 var o = new core.List<api.AccountTax>(); |
1339 o.add(buildAccountTax()); | 1339 o.add(buildAccountTax()); |
1340 o.add(buildAccountTax()); | 1340 o.add(buildAccountTax()); |
1341 return o; | 1341 return o; |
1342 } | 1342 } |
1343 | 1343 |
1344 checkUnnamed679(core.List<api.AccountTax> o) { | 1344 checkUnnamed541(core.List<api.AccountTax> o) { |
1345 unittest.expect(o, unittest.hasLength(2)); | 1345 unittest.expect(o, unittest.hasLength(2)); |
1346 checkAccountTax(o[0]); | 1346 checkAccountTax(o[0]); |
1347 checkAccountTax(o[1]); | 1347 checkAccountTax(o[1]); |
1348 } | 1348 } |
1349 | 1349 |
1350 core.int buildCounterAccounttaxListResponse = 0; | 1350 core.int buildCounterAccounttaxListResponse = 0; |
1351 buildAccounttaxListResponse() { | 1351 buildAccounttaxListResponse() { |
1352 var o = new api.AccounttaxListResponse(); | 1352 var o = new api.AccounttaxListResponse(); |
1353 buildCounterAccounttaxListResponse++; | 1353 buildCounterAccounttaxListResponse++; |
1354 if (buildCounterAccounttaxListResponse < 3) { | 1354 if (buildCounterAccounttaxListResponse < 3) { |
1355 o.kind = "foo"; | 1355 o.kind = "foo"; |
1356 o.nextPageToken = "foo"; | 1356 o.nextPageToken = "foo"; |
1357 o.resources = buildUnnamed679(); | 1357 o.resources = buildUnnamed541(); |
1358 } | 1358 } |
1359 buildCounterAccounttaxListResponse--; | 1359 buildCounterAccounttaxListResponse--; |
1360 return o; | 1360 return o; |
1361 } | 1361 } |
1362 | 1362 |
1363 checkAccounttaxListResponse(api.AccounttaxListResponse o) { | 1363 checkAccounttaxListResponse(api.AccounttaxListResponse o) { |
1364 buildCounterAccounttaxListResponse++; | 1364 buildCounterAccounttaxListResponse++; |
1365 if (buildCounterAccounttaxListResponse < 3) { | 1365 if (buildCounterAccounttaxListResponse < 3) { |
1366 unittest.expect(o.kind, unittest.equals('foo')); | 1366 unittest.expect(o.kind, unittest.equals('foo')); |
1367 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1367 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1368 checkUnnamed679(o.resources); | 1368 checkUnnamed541(o.resources); |
1369 } | 1369 } |
1370 buildCounterAccounttaxListResponse--; | 1370 buildCounterAccounttaxListResponse--; |
1371 } | 1371 } |
1372 | 1372 |
1373 buildUnnamed680() { | 1373 buildUnnamed542() { |
1374 var o = new core.List<core.String>(); | 1374 var o = new core.List<core.String>(); |
1375 o.add("foo"); | 1375 o.add("foo"); |
1376 o.add("foo"); | 1376 o.add("foo"); |
1377 return o; | 1377 return o; |
1378 } | 1378 } |
1379 | 1379 |
1380 checkUnnamed680(core.List<core.String> o) { | 1380 checkUnnamed542(core.List<core.String> o) { |
1381 unittest.expect(o, unittest.hasLength(2)); | 1381 unittest.expect(o, unittest.hasLength(2)); |
1382 unittest.expect(o[0], unittest.equals('foo')); | 1382 unittest.expect(o[0], unittest.equals('foo')); |
1383 unittest.expect(o[1], unittest.equals('foo')); | 1383 unittest.expect(o[1], unittest.equals('foo')); |
1384 } | 1384 } |
1385 | 1385 |
1386 core.int buildCounterDatafeed = 0; | 1386 core.int buildCounterDatafeed = 0; |
1387 buildDatafeed() { | 1387 buildDatafeed() { |
1388 var o = new api.Datafeed(); | 1388 var o = new api.Datafeed(); |
1389 buildCounterDatafeed++; | 1389 buildCounterDatafeed++; |
1390 if (buildCounterDatafeed < 3) { | 1390 if (buildCounterDatafeed < 3) { |
1391 o.attributeLanguage = "foo"; | 1391 o.attributeLanguage = "foo"; |
1392 o.contentLanguage = "foo"; | 1392 o.contentLanguage = "foo"; |
1393 o.contentType = "foo"; | 1393 o.contentType = "foo"; |
1394 o.fetchSchedule = buildDatafeedFetchSchedule(); | 1394 o.fetchSchedule = buildDatafeedFetchSchedule(); |
1395 o.fileName = "foo"; | 1395 o.fileName = "foo"; |
1396 o.format = buildDatafeedFormat(); | 1396 o.format = buildDatafeedFormat(); |
1397 o.id = "foo"; | 1397 o.id = "foo"; |
1398 o.intendedDestinations = buildUnnamed680(); | 1398 o.intendedDestinations = buildUnnamed542(); |
1399 o.kind = "foo"; | 1399 o.kind = "foo"; |
1400 o.name = "foo"; | 1400 o.name = "foo"; |
1401 o.targetCountry = "foo"; | 1401 o.targetCountry = "foo"; |
1402 } | 1402 } |
1403 buildCounterDatafeed--; | 1403 buildCounterDatafeed--; |
1404 return o; | 1404 return o; |
1405 } | 1405 } |
1406 | 1406 |
1407 checkDatafeed(api.Datafeed o) { | 1407 checkDatafeed(api.Datafeed o) { |
1408 buildCounterDatafeed++; | 1408 buildCounterDatafeed++; |
1409 if (buildCounterDatafeed < 3) { | 1409 if (buildCounterDatafeed < 3) { |
1410 unittest.expect(o.attributeLanguage, unittest.equals('foo')); | 1410 unittest.expect(o.attributeLanguage, unittest.equals('foo')); |
1411 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 1411 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
1412 unittest.expect(o.contentType, unittest.equals('foo')); | 1412 unittest.expect(o.contentType, unittest.equals('foo')); |
1413 checkDatafeedFetchSchedule(o.fetchSchedule); | 1413 checkDatafeedFetchSchedule(o.fetchSchedule); |
1414 unittest.expect(o.fileName, unittest.equals('foo')); | 1414 unittest.expect(o.fileName, unittest.equals('foo')); |
1415 checkDatafeedFormat(o.format); | 1415 checkDatafeedFormat(o.format); |
1416 unittest.expect(o.id, unittest.equals('foo')); | 1416 unittest.expect(o.id, unittest.equals('foo')); |
1417 checkUnnamed680(o.intendedDestinations); | 1417 checkUnnamed542(o.intendedDestinations); |
1418 unittest.expect(o.kind, unittest.equals('foo')); | 1418 unittest.expect(o.kind, unittest.equals('foo')); |
1419 unittest.expect(o.name, unittest.equals('foo')); | 1419 unittest.expect(o.name, unittest.equals('foo')); |
1420 unittest.expect(o.targetCountry, unittest.equals('foo')); | 1420 unittest.expect(o.targetCountry, unittest.equals('foo')); |
1421 } | 1421 } |
1422 buildCounterDatafeed--; | 1422 buildCounterDatafeed--; |
1423 } | 1423 } |
1424 | 1424 |
1425 core.int buildCounterDatafeedFetchSchedule = 0; | 1425 core.int buildCounterDatafeedFetchSchedule = 0; |
1426 buildDatafeedFetchSchedule() { | 1426 buildDatafeedFetchSchedule() { |
1427 var o = new api.DatafeedFetchSchedule(); | 1427 var o = new api.DatafeedFetchSchedule(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1469 checkDatafeedFormat(api.DatafeedFormat o) { | 1469 checkDatafeedFormat(api.DatafeedFormat o) { |
1470 buildCounterDatafeedFormat++; | 1470 buildCounterDatafeedFormat++; |
1471 if (buildCounterDatafeedFormat < 3) { | 1471 if (buildCounterDatafeedFormat < 3) { |
1472 unittest.expect(o.columnDelimiter, unittest.equals('foo')); | 1472 unittest.expect(o.columnDelimiter, unittest.equals('foo')); |
1473 unittest.expect(o.fileEncoding, unittest.equals('foo')); | 1473 unittest.expect(o.fileEncoding, unittest.equals('foo')); |
1474 unittest.expect(o.quotingMode, unittest.equals('foo')); | 1474 unittest.expect(o.quotingMode, unittest.equals('foo')); |
1475 } | 1475 } |
1476 buildCounterDatafeedFormat--; | 1476 buildCounterDatafeedFormat--; |
1477 } | 1477 } |
1478 | 1478 |
1479 buildUnnamed681() { | 1479 buildUnnamed543() { |
1480 var o = new core.List<api.DatafeedStatusError>(); | 1480 var o = new core.List<api.DatafeedStatusError>(); |
1481 o.add(buildDatafeedStatusError()); | 1481 o.add(buildDatafeedStatusError()); |
1482 o.add(buildDatafeedStatusError()); | 1482 o.add(buildDatafeedStatusError()); |
1483 return o; | 1483 return o; |
1484 } | 1484 } |
1485 | 1485 |
1486 checkUnnamed681(core.List<api.DatafeedStatusError> o) { | 1486 checkUnnamed543(core.List<api.DatafeedStatusError> o) { |
1487 unittest.expect(o, unittest.hasLength(2)); | 1487 unittest.expect(o, unittest.hasLength(2)); |
1488 checkDatafeedStatusError(o[0]); | 1488 checkDatafeedStatusError(o[0]); |
1489 checkDatafeedStatusError(o[1]); | 1489 checkDatafeedStatusError(o[1]); |
1490 } | 1490 } |
1491 | 1491 |
1492 buildUnnamed682() { | 1492 buildUnnamed544() { |
1493 var o = new core.List<api.DatafeedStatusError>(); | 1493 var o = new core.List<api.DatafeedStatusError>(); |
1494 o.add(buildDatafeedStatusError()); | 1494 o.add(buildDatafeedStatusError()); |
1495 o.add(buildDatafeedStatusError()); | 1495 o.add(buildDatafeedStatusError()); |
1496 return o; | 1496 return o; |
1497 } | 1497 } |
1498 | 1498 |
1499 checkUnnamed682(core.List<api.DatafeedStatusError> o) { | 1499 checkUnnamed544(core.List<api.DatafeedStatusError> o) { |
1500 unittest.expect(o, unittest.hasLength(2)); | 1500 unittest.expect(o, unittest.hasLength(2)); |
1501 checkDatafeedStatusError(o[0]); | 1501 checkDatafeedStatusError(o[0]); |
1502 checkDatafeedStatusError(o[1]); | 1502 checkDatafeedStatusError(o[1]); |
1503 } | 1503 } |
1504 | 1504 |
1505 core.int buildCounterDatafeedStatus = 0; | 1505 core.int buildCounterDatafeedStatus = 0; |
1506 buildDatafeedStatus() { | 1506 buildDatafeedStatus() { |
1507 var o = new api.DatafeedStatus(); | 1507 var o = new api.DatafeedStatus(); |
1508 buildCounterDatafeedStatus++; | 1508 buildCounterDatafeedStatus++; |
1509 if (buildCounterDatafeedStatus < 3) { | 1509 if (buildCounterDatafeedStatus < 3) { |
1510 o.datafeedId = "foo"; | 1510 o.datafeedId = "foo"; |
1511 o.errors = buildUnnamed681(); | 1511 o.errors = buildUnnamed543(); |
1512 o.itemsTotal = "foo"; | 1512 o.itemsTotal = "foo"; |
1513 o.itemsValid = "foo"; | 1513 o.itemsValid = "foo"; |
1514 o.kind = "foo"; | 1514 o.kind = "foo"; |
1515 o.lastUploadDate = "foo"; | 1515 o.lastUploadDate = "foo"; |
1516 o.processingStatus = "foo"; | 1516 o.processingStatus = "foo"; |
1517 o.warnings = buildUnnamed682(); | 1517 o.warnings = buildUnnamed544(); |
1518 } | 1518 } |
1519 buildCounterDatafeedStatus--; | 1519 buildCounterDatafeedStatus--; |
1520 return o; | 1520 return o; |
1521 } | 1521 } |
1522 | 1522 |
1523 checkDatafeedStatus(api.DatafeedStatus o) { | 1523 checkDatafeedStatus(api.DatafeedStatus o) { |
1524 buildCounterDatafeedStatus++; | 1524 buildCounterDatafeedStatus++; |
1525 if (buildCounterDatafeedStatus < 3) { | 1525 if (buildCounterDatafeedStatus < 3) { |
1526 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1526 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1527 checkUnnamed681(o.errors); | 1527 checkUnnamed543(o.errors); |
1528 unittest.expect(o.itemsTotal, unittest.equals('foo')); | 1528 unittest.expect(o.itemsTotal, unittest.equals('foo')); |
1529 unittest.expect(o.itemsValid, unittest.equals('foo')); | 1529 unittest.expect(o.itemsValid, unittest.equals('foo')); |
1530 unittest.expect(o.kind, unittest.equals('foo')); | 1530 unittest.expect(o.kind, unittest.equals('foo')); |
1531 unittest.expect(o.lastUploadDate, unittest.equals('foo')); | 1531 unittest.expect(o.lastUploadDate, unittest.equals('foo')); |
1532 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1532 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1533 checkUnnamed682(o.warnings); | 1533 checkUnnamed544(o.warnings); |
1534 } | 1534 } |
1535 buildCounterDatafeedStatus--; | 1535 buildCounterDatafeedStatus--; |
1536 } | 1536 } |
1537 | 1537 |
1538 buildUnnamed683() { | 1538 buildUnnamed545() { |
1539 var o = new core.List<api.DatafeedStatusExample>(); | 1539 var o = new core.List<api.DatafeedStatusExample>(); |
1540 o.add(buildDatafeedStatusExample()); | 1540 o.add(buildDatafeedStatusExample()); |
1541 o.add(buildDatafeedStatusExample()); | 1541 o.add(buildDatafeedStatusExample()); |
1542 return o; | 1542 return o; |
1543 } | 1543 } |
1544 | 1544 |
1545 checkUnnamed683(core.List<api.DatafeedStatusExample> o) { | 1545 checkUnnamed545(core.List<api.DatafeedStatusExample> o) { |
1546 unittest.expect(o, unittest.hasLength(2)); | 1546 unittest.expect(o, unittest.hasLength(2)); |
1547 checkDatafeedStatusExample(o[0]); | 1547 checkDatafeedStatusExample(o[0]); |
1548 checkDatafeedStatusExample(o[1]); | 1548 checkDatafeedStatusExample(o[1]); |
1549 } | 1549 } |
1550 | 1550 |
1551 core.int buildCounterDatafeedStatusError = 0; | 1551 core.int buildCounterDatafeedStatusError = 0; |
1552 buildDatafeedStatusError() { | 1552 buildDatafeedStatusError() { |
1553 var o = new api.DatafeedStatusError(); | 1553 var o = new api.DatafeedStatusError(); |
1554 buildCounterDatafeedStatusError++; | 1554 buildCounterDatafeedStatusError++; |
1555 if (buildCounterDatafeedStatusError < 3) { | 1555 if (buildCounterDatafeedStatusError < 3) { |
1556 o.code = "foo"; | 1556 o.code = "foo"; |
1557 o.count = "foo"; | 1557 o.count = "foo"; |
1558 o.examples = buildUnnamed683(); | 1558 o.examples = buildUnnamed545(); |
1559 o.message = "foo"; | 1559 o.message = "foo"; |
1560 } | 1560 } |
1561 buildCounterDatafeedStatusError--; | 1561 buildCounterDatafeedStatusError--; |
1562 return o; | 1562 return o; |
1563 } | 1563 } |
1564 | 1564 |
1565 checkDatafeedStatusError(api.DatafeedStatusError o) { | 1565 checkDatafeedStatusError(api.DatafeedStatusError o) { |
1566 buildCounterDatafeedStatusError++; | 1566 buildCounterDatafeedStatusError++; |
1567 if (buildCounterDatafeedStatusError < 3) { | 1567 if (buildCounterDatafeedStatusError < 3) { |
1568 unittest.expect(o.code, unittest.equals('foo')); | 1568 unittest.expect(o.code, unittest.equals('foo')); |
1569 unittest.expect(o.count, unittest.equals('foo')); | 1569 unittest.expect(o.count, unittest.equals('foo')); |
1570 checkUnnamed683(o.examples); | 1570 checkUnnamed545(o.examples); |
1571 unittest.expect(o.message, unittest.equals('foo')); | 1571 unittest.expect(o.message, unittest.equals('foo')); |
1572 } | 1572 } |
1573 buildCounterDatafeedStatusError--; | 1573 buildCounterDatafeedStatusError--; |
1574 } | 1574 } |
1575 | 1575 |
1576 core.int buildCounterDatafeedStatusExample = 0; | 1576 core.int buildCounterDatafeedStatusExample = 0; |
1577 buildDatafeedStatusExample() { | 1577 buildDatafeedStatusExample() { |
1578 var o = new api.DatafeedStatusExample(); | 1578 var o = new api.DatafeedStatusExample(); |
1579 buildCounterDatafeedStatusExample++; | 1579 buildCounterDatafeedStatusExample++; |
1580 if (buildCounterDatafeedStatusExample < 3) { | 1580 if (buildCounterDatafeedStatusExample < 3) { |
1581 o.itemId = "foo"; | 1581 o.itemId = "foo"; |
1582 o.lineNumber = "foo"; | 1582 o.lineNumber = "foo"; |
1583 o.value = "foo"; | 1583 o.value = "foo"; |
1584 } | 1584 } |
1585 buildCounterDatafeedStatusExample--; | 1585 buildCounterDatafeedStatusExample--; |
1586 return o; | 1586 return o; |
1587 } | 1587 } |
1588 | 1588 |
1589 checkDatafeedStatusExample(api.DatafeedStatusExample o) { | 1589 checkDatafeedStatusExample(api.DatafeedStatusExample o) { |
1590 buildCounterDatafeedStatusExample++; | 1590 buildCounterDatafeedStatusExample++; |
1591 if (buildCounterDatafeedStatusExample < 3) { | 1591 if (buildCounterDatafeedStatusExample < 3) { |
1592 unittest.expect(o.itemId, unittest.equals('foo')); | 1592 unittest.expect(o.itemId, unittest.equals('foo')); |
1593 unittest.expect(o.lineNumber, unittest.equals('foo')); | 1593 unittest.expect(o.lineNumber, unittest.equals('foo')); |
1594 unittest.expect(o.value, unittest.equals('foo')); | 1594 unittest.expect(o.value, unittest.equals('foo')); |
1595 } | 1595 } |
1596 buildCounterDatafeedStatusExample--; | 1596 buildCounterDatafeedStatusExample--; |
1597 } | 1597 } |
1598 | 1598 |
1599 buildUnnamed684() { | 1599 buildUnnamed546() { |
1600 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); | 1600 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); |
1601 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1601 o.add(buildDatafeedsCustomBatchRequestEntry()); |
1602 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1602 o.add(buildDatafeedsCustomBatchRequestEntry()); |
1603 return o; | 1603 return o; |
1604 } | 1604 } |
1605 | 1605 |
1606 checkUnnamed684(core.List<api.DatafeedsCustomBatchRequestEntry> o) { | 1606 checkUnnamed546(core.List<api.DatafeedsCustomBatchRequestEntry> o) { |
1607 unittest.expect(o, unittest.hasLength(2)); | 1607 unittest.expect(o, unittest.hasLength(2)); |
1608 checkDatafeedsCustomBatchRequestEntry(o[0]); | 1608 checkDatafeedsCustomBatchRequestEntry(o[0]); |
1609 checkDatafeedsCustomBatchRequestEntry(o[1]); | 1609 checkDatafeedsCustomBatchRequestEntry(o[1]); |
1610 } | 1610 } |
1611 | 1611 |
1612 core.int buildCounterDatafeedsCustomBatchRequest = 0; | 1612 core.int buildCounterDatafeedsCustomBatchRequest = 0; |
1613 buildDatafeedsCustomBatchRequest() { | 1613 buildDatafeedsCustomBatchRequest() { |
1614 var o = new api.DatafeedsCustomBatchRequest(); | 1614 var o = new api.DatafeedsCustomBatchRequest(); |
1615 buildCounterDatafeedsCustomBatchRequest++; | 1615 buildCounterDatafeedsCustomBatchRequest++; |
1616 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1616 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
1617 o.entries = buildUnnamed684(); | 1617 o.entries = buildUnnamed546(); |
1618 } | 1618 } |
1619 buildCounterDatafeedsCustomBatchRequest--; | 1619 buildCounterDatafeedsCustomBatchRequest--; |
1620 return o; | 1620 return o; |
1621 } | 1621 } |
1622 | 1622 |
1623 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { | 1623 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { |
1624 buildCounterDatafeedsCustomBatchRequest++; | 1624 buildCounterDatafeedsCustomBatchRequest++; |
1625 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1625 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
1626 checkUnnamed684(o.entries); | 1626 checkUnnamed546(o.entries); |
1627 } | 1627 } |
1628 buildCounterDatafeedsCustomBatchRequest--; | 1628 buildCounterDatafeedsCustomBatchRequest--; |
1629 } | 1629 } |
1630 | 1630 |
1631 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; | 1631 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; |
1632 buildDatafeedsCustomBatchRequestEntry() { | 1632 buildDatafeedsCustomBatchRequestEntry() { |
1633 var o = new api.DatafeedsCustomBatchRequestEntry(); | 1633 var o = new api.DatafeedsCustomBatchRequestEntry(); |
1634 buildCounterDatafeedsCustomBatchRequestEntry++; | 1634 buildCounterDatafeedsCustomBatchRequestEntry++; |
1635 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1635 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
1636 o.batchId = 42; | 1636 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
1648 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1648 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
1649 unittest.expect(o.batchId, unittest.equals(42)); | 1649 unittest.expect(o.batchId, unittest.equals(42)); |
1650 checkDatafeed(o.datafeed); | 1650 checkDatafeed(o.datafeed); |
1651 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1651 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1652 unittest.expect(o.merchantId, unittest.equals('foo')); | 1652 unittest.expect(o.merchantId, unittest.equals('foo')); |
1653 unittest.expect(o.method, unittest.equals('foo')); | 1653 unittest.expect(o.method, unittest.equals('foo')); |
1654 } | 1654 } |
1655 buildCounterDatafeedsCustomBatchRequestEntry--; | 1655 buildCounterDatafeedsCustomBatchRequestEntry--; |
1656 } | 1656 } |
1657 | 1657 |
1658 buildUnnamed685() { | 1658 buildUnnamed547() { |
1659 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); | 1659 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); |
1660 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1660 o.add(buildDatafeedsCustomBatchResponseEntry()); |
1661 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1661 o.add(buildDatafeedsCustomBatchResponseEntry()); |
1662 return o; | 1662 return o; |
1663 } | 1663 } |
1664 | 1664 |
1665 checkUnnamed685(core.List<api.DatafeedsCustomBatchResponseEntry> o) { | 1665 checkUnnamed547(core.List<api.DatafeedsCustomBatchResponseEntry> o) { |
1666 unittest.expect(o, unittest.hasLength(2)); | 1666 unittest.expect(o, unittest.hasLength(2)); |
1667 checkDatafeedsCustomBatchResponseEntry(o[0]); | 1667 checkDatafeedsCustomBatchResponseEntry(o[0]); |
1668 checkDatafeedsCustomBatchResponseEntry(o[1]); | 1668 checkDatafeedsCustomBatchResponseEntry(o[1]); |
1669 } | 1669 } |
1670 | 1670 |
1671 core.int buildCounterDatafeedsCustomBatchResponse = 0; | 1671 core.int buildCounterDatafeedsCustomBatchResponse = 0; |
1672 buildDatafeedsCustomBatchResponse() { | 1672 buildDatafeedsCustomBatchResponse() { |
1673 var o = new api.DatafeedsCustomBatchResponse(); | 1673 var o = new api.DatafeedsCustomBatchResponse(); |
1674 buildCounterDatafeedsCustomBatchResponse++; | 1674 buildCounterDatafeedsCustomBatchResponse++; |
1675 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1675 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
1676 o.entries = buildUnnamed685(); | 1676 o.entries = buildUnnamed547(); |
1677 o.kind = "foo"; | 1677 o.kind = "foo"; |
1678 } | 1678 } |
1679 buildCounterDatafeedsCustomBatchResponse--; | 1679 buildCounterDatafeedsCustomBatchResponse--; |
1680 return o; | 1680 return o; |
1681 } | 1681 } |
1682 | 1682 |
1683 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { | 1683 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { |
1684 buildCounterDatafeedsCustomBatchResponse++; | 1684 buildCounterDatafeedsCustomBatchResponse++; |
1685 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1685 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
1686 checkUnnamed685(o.entries); | 1686 checkUnnamed547(o.entries); |
1687 unittest.expect(o.kind, unittest.equals('foo')); | 1687 unittest.expect(o.kind, unittest.equals('foo')); |
1688 } | 1688 } |
1689 buildCounterDatafeedsCustomBatchResponse--; | 1689 buildCounterDatafeedsCustomBatchResponse--; |
1690 } | 1690 } |
1691 | 1691 |
1692 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; | 1692 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; |
1693 buildDatafeedsCustomBatchResponseEntry() { | 1693 buildDatafeedsCustomBatchResponseEntry() { |
1694 var o = new api.DatafeedsCustomBatchResponseEntry(); | 1694 var o = new api.DatafeedsCustomBatchResponseEntry(); |
1695 buildCounterDatafeedsCustomBatchResponseEntry++; | 1695 buildCounterDatafeedsCustomBatchResponseEntry++; |
1696 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1696 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
1697 o.batchId = 42; | 1697 o.batchId = 42; |
1698 o.datafeed = buildDatafeed(); | 1698 o.datafeed = buildDatafeed(); |
1699 o.errors = buildErrors(); | 1699 o.errors = buildErrors(); |
1700 } | 1700 } |
1701 buildCounterDatafeedsCustomBatchResponseEntry--; | 1701 buildCounterDatafeedsCustomBatchResponseEntry--; |
1702 return o; | 1702 return o; |
1703 } | 1703 } |
1704 | 1704 |
1705 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ | 1705 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ |
1706 buildCounterDatafeedsCustomBatchResponseEntry++; | 1706 buildCounterDatafeedsCustomBatchResponseEntry++; |
1707 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1707 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
1708 unittest.expect(o.batchId, unittest.equals(42)); | 1708 unittest.expect(o.batchId, unittest.equals(42)); |
1709 checkDatafeed(o.datafeed); | 1709 checkDatafeed(o.datafeed); |
1710 checkErrors(o.errors); | 1710 checkErrors(o.errors); |
1711 } | 1711 } |
1712 buildCounterDatafeedsCustomBatchResponseEntry--; | 1712 buildCounterDatafeedsCustomBatchResponseEntry--; |
1713 } | 1713 } |
1714 | 1714 |
1715 buildUnnamed686() { | 1715 buildUnnamed548() { |
1716 var o = new core.List<api.Datafeed>(); | 1716 var o = new core.List<api.Datafeed>(); |
1717 o.add(buildDatafeed()); | 1717 o.add(buildDatafeed()); |
1718 o.add(buildDatafeed()); | 1718 o.add(buildDatafeed()); |
1719 return o; | 1719 return o; |
1720 } | 1720 } |
1721 | 1721 |
1722 checkUnnamed686(core.List<api.Datafeed> o) { | 1722 checkUnnamed548(core.List<api.Datafeed> o) { |
1723 unittest.expect(o, unittest.hasLength(2)); | 1723 unittest.expect(o, unittest.hasLength(2)); |
1724 checkDatafeed(o[0]); | 1724 checkDatafeed(o[0]); |
1725 checkDatafeed(o[1]); | 1725 checkDatafeed(o[1]); |
1726 } | 1726 } |
1727 | 1727 |
1728 core.int buildCounterDatafeedsListResponse = 0; | 1728 core.int buildCounterDatafeedsListResponse = 0; |
1729 buildDatafeedsListResponse() { | 1729 buildDatafeedsListResponse() { |
1730 var o = new api.DatafeedsListResponse(); | 1730 var o = new api.DatafeedsListResponse(); |
1731 buildCounterDatafeedsListResponse++; | 1731 buildCounterDatafeedsListResponse++; |
1732 if (buildCounterDatafeedsListResponse < 3) { | 1732 if (buildCounterDatafeedsListResponse < 3) { |
1733 o.kind = "foo"; | 1733 o.kind = "foo"; |
1734 o.nextPageToken = "foo"; | 1734 o.nextPageToken = "foo"; |
1735 o.resources = buildUnnamed686(); | 1735 o.resources = buildUnnamed548(); |
1736 } | 1736 } |
1737 buildCounterDatafeedsListResponse--; | 1737 buildCounterDatafeedsListResponse--; |
1738 return o; | 1738 return o; |
1739 } | 1739 } |
1740 | 1740 |
1741 checkDatafeedsListResponse(api.DatafeedsListResponse o) { | 1741 checkDatafeedsListResponse(api.DatafeedsListResponse o) { |
1742 buildCounterDatafeedsListResponse++; | 1742 buildCounterDatafeedsListResponse++; |
1743 if (buildCounterDatafeedsListResponse < 3) { | 1743 if (buildCounterDatafeedsListResponse < 3) { |
1744 unittest.expect(o.kind, unittest.equals('foo')); | 1744 unittest.expect(o.kind, unittest.equals('foo')); |
1745 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1745 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1746 checkUnnamed686(o.resources); | 1746 checkUnnamed548(o.resources); |
1747 } | 1747 } |
1748 buildCounterDatafeedsListResponse--; | 1748 buildCounterDatafeedsListResponse--; |
1749 } | 1749 } |
1750 | 1750 |
1751 buildUnnamed687() { | 1751 buildUnnamed549() { |
1752 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); | 1752 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); |
1753 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1753 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
1754 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1754 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
1755 return o; | 1755 return o; |
1756 } | 1756 } |
1757 | 1757 |
1758 checkUnnamed687(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { | 1758 checkUnnamed549(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { |
1759 unittest.expect(o, unittest.hasLength(2)); | 1759 unittest.expect(o, unittest.hasLength(2)); |
1760 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); | 1760 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); |
1761 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); | 1761 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); |
1762 } | 1762 } |
1763 | 1763 |
1764 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; | 1764 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; |
1765 buildDatafeedstatusesCustomBatchRequest() { | 1765 buildDatafeedstatusesCustomBatchRequest() { |
1766 var o = new api.DatafeedstatusesCustomBatchRequest(); | 1766 var o = new api.DatafeedstatusesCustomBatchRequest(); |
1767 buildCounterDatafeedstatusesCustomBatchRequest++; | 1767 buildCounterDatafeedstatusesCustomBatchRequest++; |
1768 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1768 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
1769 o.entries = buildUnnamed687(); | 1769 o.entries = buildUnnamed549(); |
1770 } | 1770 } |
1771 buildCounterDatafeedstatusesCustomBatchRequest--; | 1771 buildCounterDatafeedstatusesCustomBatchRequest--; |
1772 return o; | 1772 return o; |
1773 } | 1773 } |
1774 | 1774 |
1775 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { | 1775 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { |
1776 buildCounterDatafeedstatusesCustomBatchRequest++; | 1776 buildCounterDatafeedstatusesCustomBatchRequest++; |
1777 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1777 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
1778 checkUnnamed687(o.entries); | 1778 checkUnnamed549(o.entries); |
1779 } | 1779 } |
1780 buildCounterDatafeedstatusesCustomBatchRequest--; | 1780 buildCounterDatafeedstatusesCustomBatchRequest--; |
1781 } | 1781 } |
1782 | 1782 |
1783 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; | 1783 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; |
1784 buildDatafeedstatusesCustomBatchRequestEntry() { | 1784 buildDatafeedstatusesCustomBatchRequestEntry() { |
1785 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); | 1785 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); |
1786 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1786 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
1787 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1787 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
1788 o.batchId = 42; | 1788 o.batchId = 42; |
1789 o.datafeedId = "foo"; | 1789 o.datafeedId = "foo"; |
1790 o.merchantId = "foo"; | 1790 o.merchantId = "foo"; |
1791 o.method = "foo"; | 1791 o.method = "foo"; |
1792 } | 1792 } |
1793 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1793 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
1794 return o; | 1794 return o; |
1795 } | 1795 } |
1796 | 1796 |
1797 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { | 1797 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { |
1798 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1798 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
1799 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1799 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
1800 unittest.expect(o.batchId, unittest.equals(42)); | 1800 unittest.expect(o.batchId, unittest.equals(42)); |
1801 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1801 unittest.expect(o.datafeedId, unittest.equals('foo')); |
1802 unittest.expect(o.merchantId, unittest.equals('foo')); | 1802 unittest.expect(o.merchantId, unittest.equals('foo')); |
1803 unittest.expect(o.method, unittest.equals('foo')); | 1803 unittest.expect(o.method, unittest.equals('foo')); |
1804 } | 1804 } |
1805 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1805 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
1806 } | 1806 } |
1807 | 1807 |
1808 buildUnnamed688() { | 1808 buildUnnamed550() { |
1809 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); | 1809 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); |
1810 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1810 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
1811 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1811 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
1812 return o; | 1812 return o; |
1813 } | 1813 } |
1814 | 1814 |
1815 checkUnnamed688(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { | 1815 checkUnnamed550(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { |
1816 unittest.expect(o, unittest.hasLength(2)); | 1816 unittest.expect(o, unittest.hasLength(2)); |
1817 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); | 1817 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); |
1818 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); | 1818 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); |
1819 } | 1819 } |
1820 | 1820 |
1821 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; | 1821 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; |
1822 buildDatafeedstatusesCustomBatchResponse() { | 1822 buildDatafeedstatusesCustomBatchResponse() { |
1823 var o = new api.DatafeedstatusesCustomBatchResponse(); | 1823 var o = new api.DatafeedstatusesCustomBatchResponse(); |
1824 buildCounterDatafeedstatusesCustomBatchResponse++; | 1824 buildCounterDatafeedstatusesCustomBatchResponse++; |
1825 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1825 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
1826 o.entries = buildUnnamed688(); | 1826 o.entries = buildUnnamed550(); |
1827 o.kind = "foo"; | 1827 o.kind = "foo"; |
1828 } | 1828 } |
1829 buildCounterDatafeedstatusesCustomBatchResponse--; | 1829 buildCounterDatafeedstatusesCustomBatchResponse--; |
1830 return o; | 1830 return o; |
1831 } | 1831 } |
1832 | 1832 |
1833 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { | 1833 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { |
1834 buildCounterDatafeedstatusesCustomBatchResponse++; | 1834 buildCounterDatafeedstatusesCustomBatchResponse++; |
1835 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1835 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
1836 checkUnnamed688(o.entries); | 1836 checkUnnamed550(o.entries); |
1837 unittest.expect(o.kind, unittest.equals('foo')); | 1837 unittest.expect(o.kind, unittest.equals('foo')); |
1838 } | 1838 } |
1839 buildCounterDatafeedstatusesCustomBatchResponse--; | 1839 buildCounterDatafeedstatusesCustomBatchResponse--; |
1840 } | 1840 } |
1841 | 1841 |
1842 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; | 1842 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; |
1843 buildDatafeedstatusesCustomBatchResponseEntry() { | 1843 buildDatafeedstatusesCustomBatchResponseEntry() { |
1844 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); | 1844 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); |
1845 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1845 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
1846 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1846 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
1847 o.batchId = 42; | 1847 o.batchId = 42; |
1848 o.datafeedStatus = buildDatafeedStatus(); | 1848 o.datafeedStatus = buildDatafeedStatus(); |
1849 o.errors = buildErrors(); | 1849 o.errors = buildErrors(); |
1850 } | 1850 } |
1851 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1851 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
1852 return o; | 1852 return o; |
1853 } | 1853 } |
1854 | 1854 |
1855 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { | 1855 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { |
1856 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1856 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
1857 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1857 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
1858 unittest.expect(o.batchId, unittest.equals(42)); | 1858 unittest.expect(o.batchId, unittest.equals(42)); |
1859 checkDatafeedStatus(o.datafeedStatus); | 1859 checkDatafeedStatus(o.datafeedStatus); |
1860 checkErrors(o.errors); | 1860 checkErrors(o.errors); |
1861 } | 1861 } |
1862 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1862 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
1863 } | 1863 } |
1864 | 1864 |
1865 buildUnnamed689() { | 1865 buildUnnamed551() { |
1866 var o = new core.List<api.DatafeedStatus>(); | 1866 var o = new core.List<api.DatafeedStatus>(); |
1867 o.add(buildDatafeedStatus()); | 1867 o.add(buildDatafeedStatus()); |
1868 o.add(buildDatafeedStatus()); | 1868 o.add(buildDatafeedStatus()); |
1869 return o; | 1869 return o; |
1870 } | 1870 } |
1871 | 1871 |
1872 checkUnnamed689(core.List<api.DatafeedStatus> o) { | 1872 checkUnnamed551(core.List<api.DatafeedStatus> o) { |
1873 unittest.expect(o, unittest.hasLength(2)); | 1873 unittest.expect(o, unittest.hasLength(2)); |
1874 checkDatafeedStatus(o[0]); | 1874 checkDatafeedStatus(o[0]); |
1875 checkDatafeedStatus(o[1]); | 1875 checkDatafeedStatus(o[1]); |
1876 } | 1876 } |
1877 | 1877 |
1878 core.int buildCounterDatafeedstatusesListResponse = 0; | 1878 core.int buildCounterDatafeedstatusesListResponse = 0; |
1879 buildDatafeedstatusesListResponse() { | 1879 buildDatafeedstatusesListResponse() { |
1880 var o = new api.DatafeedstatusesListResponse(); | 1880 var o = new api.DatafeedstatusesListResponse(); |
1881 buildCounterDatafeedstatusesListResponse++; | 1881 buildCounterDatafeedstatusesListResponse++; |
1882 if (buildCounterDatafeedstatusesListResponse < 3) { | 1882 if (buildCounterDatafeedstatusesListResponse < 3) { |
1883 o.kind = "foo"; | 1883 o.kind = "foo"; |
1884 o.nextPageToken = "foo"; | 1884 o.nextPageToken = "foo"; |
1885 o.resources = buildUnnamed689(); | 1885 o.resources = buildUnnamed551(); |
1886 } | 1886 } |
1887 buildCounterDatafeedstatusesListResponse--; | 1887 buildCounterDatafeedstatusesListResponse--; |
1888 return o; | 1888 return o; |
1889 } | 1889 } |
1890 | 1890 |
1891 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { | 1891 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { |
1892 buildCounterDatafeedstatusesListResponse++; | 1892 buildCounterDatafeedstatusesListResponse++; |
1893 if (buildCounterDatafeedstatusesListResponse < 3) { | 1893 if (buildCounterDatafeedstatusesListResponse < 3) { |
1894 unittest.expect(o.kind, unittest.equals('foo')); | 1894 unittest.expect(o.kind, unittest.equals('foo')); |
1895 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1895 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1896 checkUnnamed689(o.resources); | 1896 checkUnnamed551(o.resources); |
1897 } | 1897 } |
1898 buildCounterDatafeedstatusesListResponse--; | 1898 buildCounterDatafeedstatusesListResponse--; |
1899 } | 1899 } |
1900 | 1900 |
1901 core.int buildCounterError = 0; | 1901 core.int buildCounterError = 0; |
1902 buildError() { | 1902 buildError() { |
1903 var o = new api.Error(); | 1903 var o = new api.Error(); |
1904 buildCounterError++; | 1904 buildCounterError++; |
1905 if (buildCounterError < 3) { | 1905 if (buildCounterError < 3) { |
1906 o.domain = "foo"; | 1906 o.domain = "foo"; |
1907 o.message = "foo"; | 1907 o.message = "foo"; |
1908 o.reason = "foo"; | 1908 o.reason = "foo"; |
1909 } | 1909 } |
1910 buildCounterError--; | 1910 buildCounterError--; |
1911 return o; | 1911 return o; |
1912 } | 1912 } |
1913 | 1913 |
1914 checkError(api.Error o) { | 1914 checkError(api.Error o) { |
1915 buildCounterError++; | 1915 buildCounterError++; |
1916 if (buildCounterError < 3) { | 1916 if (buildCounterError < 3) { |
1917 unittest.expect(o.domain, unittest.equals('foo')); | 1917 unittest.expect(o.domain, unittest.equals('foo')); |
1918 unittest.expect(o.message, unittest.equals('foo')); | 1918 unittest.expect(o.message, unittest.equals('foo')); |
1919 unittest.expect(o.reason, unittest.equals('foo')); | 1919 unittest.expect(o.reason, unittest.equals('foo')); |
1920 } | 1920 } |
1921 buildCounterError--; | 1921 buildCounterError--; |
1922 } | 1922 } |
1923 | 1923 |
1924 buildUnnamed690() { | 1924 buildUnnamed552() { |
1925 var o = new core.List<api.Error>(); | 1925 var o = new core.List<api.Error>(); |
1926 o.add(buildError()); | 1926 o.add(buildError()); |
1927 o.add(buildError()); | 1927 o.add(buildError()); |
1928 return o; | 1928 return o; |
1929 } | 1929 } |
1930 | 1930 |
1931 checkUnnamed690(core.List<api.Error> o) { | 1931 checkUnnamed552(core.List<api.Error> o) { |
1932 unittest.expect(o, unittest.hasLength(2)); | 1932 unittest.expect(o, unittest.hasLength(2)); |
1933 checkError(o[0]); | 1933 checkError(o[0]); |
1934 checkError(o[1]); | 1934 checkError(o[1]); |
1935 } | 1935 } |
1936 | 1936 |
1937 core.int buildCounterErrors = 0; | 1937 core.int buildCounterErrors = 0; |
1938 buildErrors() { | 1938 buildErrors() { |
1939 var o = new api.Errors(); | 1939 var o = new api.Errors(); |
1940 buildCounterErrors++; | 1940 buildCounterErrors++; |
1941 if (buildCounterErrors < 3) { | 1941 if (buildCounterErrors < 3) { |
1942 o.code = 42; | 1942 o.code = 42; |
1943 o.errors = buildUnnamed690(); | 1943 o.errors = buildUnnamed552(); |
1944 o.message = "foo"; | 1944 o.message = "foo"; |
1945 } | 1945 } |
1946 buildCounterErrors--; | 1946 buildCounterErrors--; |
1947 return o; | 1947 return o; |
1948 } | 1948 } |
1949 | 1949 |
1950 checkErrors(api.Errors o) { | 1950 checkErrors(api.Errors o) { |
1951 buildCounterErrors++; | 1951 buildCounterErrors++; |
1952 if (buildCounterErrors < 3) { | 1952 if (buildCounterErrors < 3) { |
1953 unittest.expect(o.code, unittest.equals(42)); | 1953 unittest.expect(o.code, unittest.equals(42)); |
1954 checkUnnamed690(o.errors); | 1954 checkUnnamed552(o.errors); |
1955 unittest.expect(o.message, unittest.equals('foo')); | 1955 unittest.expect(o.message, unittest.equals('foo')); |
1956 } | 1956 } |
1957 buildCounterErrors--; | 1957 buildCounterErrors--; |
1958 } | 1958 } |
1959 | 1959 |
1960 core.int buildCounterInventory = 0; | 1960 core.int buildCounterInventory = 0; |
1961 buildInventory() { | 1961 buildInventory() { |
1962 var o = new api.Inventory(); | 1962 var o = new api.Inventory(); |
1963 buildCounterInventory++; | 1963 buildCounterInventory++; |
1964 if (buildCounterInventory < 3) { | 1964 if (buildCounterInventory < 3) { |
(...skipping 16 matching lines...) Expand all Loading... |
1981 unittest.expect(o.kind, unittest.equals('foo')); | 1981 unittest.expect(o.kind, unittest.equals('foo')); |
1982 checkPrice(o.price); | 1982 checkPrice(o.price); |
1983 unittest.expect(o.quantity, unittest.equals(42)); | 1983 unittest.expect(o.quantity, unittest.equals(42)); |
1984 checkPrice(o.salePrice); | 1984 checkPrice(o.salePrice); |
1985 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 1985 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
1986 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 1986 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
1987 } | 1987 } |
1988 buildCounterInventory--; | 1988 buildCounterInventory--; |
1989 } | 1989 } |
1990 | 1990 |
1991 buildUnnamed691() { | 1991 buildUnnamed553() { |
1992 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); | 1992 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); |
1993 o.add(buildInventoryCustomBatchRequestEntry()); | 1993 o.add(buildInventoryCustomBatchRequestEntry()); |
1994 o.add(buildInventoryCustomBatchRequestEntry()); | 1994 o.add(buildInventoryCustomBatchRequestEntry()); |
1995 return o; | 1995 return o; |
1996 } | 1996 } |
1997 | 1997 |
1998 checkUnnamed691(core.List<api.InventoryCustomBatchRequestEntry> o) { | 1998 checkUnnamed553(core.List<api.InventoryCustomBatchRequestEntry> o) { |
1999 unittest.expect(o, unittest.hasLength(2)); | 1999 unittest.expect(o, unittest.hasLength(2)); |
2000 checkInventoryCustomBatchRequestEntry(o[0]); | 2000 checkInventoryCustomBatchRequestEntry(o[0]); |
2001 checkInventoryCustomBatchRequestEntry(o[1]); | 2001 checkInventoryCustomBatchRequestEntry(o[1]); |
2002 } | 2002 } |
2003 | 2003 |
2004 core.int buildCounterInventoryCustomBatchRequest = 0; | 2004 core.int buildCounterInventoryCustomBatchRequest = 0; |
2005 buildInventoryCustomBatchRequest() { | 2005 buildInventoryCustomBatchRequest() { |
2006 var o = new api.InventoryCustomBatchRequest(); | 2006 var o = new api.InventoryCustomBatchRequest(); |
2007 buildCounterInventoryCustomBatchRequest++; | 2007 buildCounterInventoryCustomBatchRequest++; |
2008 if (buildCounterInventoryCustomBatchRequest < 3) { | 2008 if (buildCounterInventoryCustomBatchRequest < 3) { |
2009 o.entries = buildUnnamed691(); | 2009 o.entries = buildUnnamed553(); |
2010 } | 2010 } |
2011 buildCounterInventoryCustomBatchRequest--; | 2011 buildCounterInventoryCustomBatchRequest--; |
2012 return o; | 2012 return o; |
2013 } | 2013 } |
2014 | 2014 |
2015 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { | 2015 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { |
2016 buildCounterInventoryCustomBatchRequest++; | 2016 buildCounterInventoryCustomBatchRequest++; |
2017 if (buildCounterInventoryCustomBatchRequest < 3) { | 2017 if (buildCounterInventoryCustomBatchRequest < 3) { |
2018 checkUnnamed691(o.entries); | 2018 checkUnnamed553(o.entries); |
2019 } | 2019 } |
2020 buildCounterInventoryCustomBatchRequest--; | 2020 buildCounterInventoryCustomBatchRequest--; |
2021 } | 2021 } |
2022 | 2022 |
2023 core.int buildCounterInventoryCustomBatchRequestEntry = 0; | 2023 core.int buildCounterInventoryCustomBatchRequestEntry = 0; |
2024 buildInventoryCustomBatchRequestEntry() { | 2024 buildInventoryCustomBatchRequestEntry() { |
2025 var o = new api.InventoryCustomBatchRequestEntry(); | 2025 var o = new api.InventoryCustomBatchRequestEntry(); |
2026 buildCounterInventoryCustomBatchRequestEntry++; | 2026 buildCounterInventoryCustomBatchRequestEntry++; |
2027 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2027 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
2028 o.batchId = 42; | 2028 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
2040 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2040 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
2041 unittest.expect(o.batchId, unittest.equals(42)); | 2041 unittest.expect(o.batchId, unittest.equals(42)); |
2042 checkInventory(o.inventory); | 2042 checkInventory(o.inventory); |
2043 unittest.expect(o.merchantId, unittest.equals('foo')); | 2043 unittest.expect(o.merchantId, unittest.equals('foo')); |
2044 unittest.expect(o.productId, unittest.equals('foo')); | 2044 unittest.expect(o.productId, unittest.equals('foo')); |
2045 unittest.expect(o.storeCode, unittest.equals('foo')); | 2045 unittest.expect(o.storeCode, unittest.equals('foo')); |
2046 } | 2046 } |
2047 buildCounterInventoryCustomBatchRequestEntry--; | 2047 buildCounterInventoryCustomBatchRequestEntry--; |
2048 } | 2048 } |
2049 | 2049 |
2050 buildUnnamed692() { | 2050 buildUnnamed554() { |
2051 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); | 2051 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); |
2052 o.add(buildInventoryCustomBatchResponseEntry()); | 2052 o.add(buildInventoryCustomBatchResponseEntry()); |
2053 o.add(buildInventoryCustomBatchResponseEntry()); | 2053 o.add(buildInventoryCustomBatchResponseEntry()); |
2054 return o; | 2054 return o; |
2055 } | 2055 } |
2056 | 2056 |
2057 checkUnnamed692(core.List<api.InventoryCustomBatchResponseEntry> o) { | 2057 checkUnnamed554(core.List<api.InventoryCustomBatchResponseEntry> o) { |
2058 unittest.expect(o, unittest.hasLength(2)); | 2058 unittest.expect(o, unittest.hasLength(2)); |
2059 checkInventoryCustomBatchResponseEntry(o[0]); | 2059 checkInventoryCustomBatchResponseEntry(o[0]); |
2060 checkInventoryCustomBatchResponseEntry(o[1]); | 2060 checkInventoryCustomBatchResponseEntry(o[1]); |
2061 } | 2061 } |
2062 | 2062 |
2063 core.int buildCounterInventoryCustomBatchResponse = 0; | 2063 core.int buildCounterInventoryCustomBatchResponse = 0; |
2064 buildInventoryCustomBatchResponse() { | 2064 buildInventoryCustomBatchResponse() { |
2065 var o = new api.InventoryCustomBatchResponse(); | 2065 var o = new api.InventoryCustomBatchResponse(); |
2066 buildCounterInventoryCustomBatchResponse++; | 2066 buildCounterInventoryCustomBatchResponse++; |
2067 if (buildCounterInventoryCustomBatchResponse < 3) { | 2067 if (buildCounterInventoryCustomBatchResponse < 3) { |
2068 o.entries = buildUnnamed692(); | 2068 o.entries = buildUnnamed554(); |
2069 o.kind = "foo"; | 2069 o.kind = "foo"; |
2070 } | 2070 } |
2071 buildCounterInventoryCustomBatchResponse--; | 2071 buildCounterInventoryCustomBatchResponse--; |
2072 return o; | 2072 return o; |
2073 } | 2073 } |
2074 | 2074 |
2075 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { | 2075 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { |
2076 buildCounterInventoryCustomBatchResponse++; | 2076 buildCounterInventoryCustomBatchResponse++; |
2077 if (buildCounterInventoryCustomBatchResponse < 3) { | 2077 if (buildCounterInventoryCustomBatchResponse < 3) { |
2078 checkUnnamed692(o.entries); | 2078 checkUnnamed554(o.entries); |
2079 unittest.expect(o.kind, unittest.equals('foo')); | 2079 unittest.expect(o.kind, unittest.equals('foo')); |
2080 } | 2080 } |
2081 buildCounterInventoryCustomBatchResponse--; | 2081 buildCounterInventoryCustomBatchResponse--; |
2082 } | 2082 } |
2083 | 2083 |
2084 core.int buildCounterInventoryCustomBatchResponseEntry = 0; | 2084 core.int buildCounterInventoryCustomBatchResponseEntry = 0; |
2085 buildInventoryCustomBatchResponseEntry() { | 2085 buildInventoryCustomBatchResponseEntry() { |
2086 var o = new api.InventoryCustomBatchResponseEntry(); | 2086 var o = new api.InventoryCustomBatchResponseEntry(); |
2087 buildCounterInventoryCustomBatchResponseEntry++; | 2087 buildCounterInventoryCustomBatchResponseEntry++; |
2088 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 2088 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2189 | 2189 |
2190 checkPrice(api.Price o) { | 2190 checkPrice(api.Price o) { |
2191 buildCounterPrice++; | 2191 buildCounterPrice++; |
2192 if (buildCounterPrice < 3) { | 2192 if (buildCounterPrice < 3) { |
2193 unittest.expect(o.currency, unittest.equals('foo')); | 2193 unittest.expect(o.currency, unittest.equals('foo')); |
2194 unittest.expect(o.value, unittest.equals('foo')); | 2194 unittest.expect(o.value, unittest.equals('foo')); |
2195 } | 2195 } |
2196 buildCounterPrice--; | 2196 buildCounterPrice--; |
2197 } | 2197 } |
2198 | 2198 |
2199 buildUnnamed693() { | 2199 buildUnnamed555() { |
2200 var o = new core.List<core.String>(); | 2200 var o = new core.List<core.String>(); |
2201 o.add("foo"); | 2201 o.add("foo"); |
2202 o.add("foo"); | 2202 o.add("foo"); |
2203 return o; | 2203 return o; |
2204 } | 2204 } |
2205 | 2205 |
2206 checkUnnamed693(core.List<core.String> o) { | 2206 checkUnnamed555(core.List<core.String> o) { |
2207 unittest.expect(o, unittest.hasLength(2)); | 2207 unittest.expect(o, unittest.hasLength(2)); |
2208 unittest.expect(o[0], unittest.equals('foo')); | 2208 unittest.expect(o[0], unittest.equals('foo')); |
2209 unittest.expect(o[1], unittest.equals('foo')); | 2209 unittest.expect(o[1], unittest.equals('foo')); |
2210 } | 2210 } |
2211 | 2211 |
2212 buildUnnamed694() { | 2212 buildUnnamed556() { |
2213 var o = new core.List<core.String>(); | 2213 var o = new core.List<core.String>(); |
2214 o.add("foo"); | 2214 o.add("foo"); |
2215 o.add("foo"); | 2215 o.add("foo"); |
2216 return o; | 2216 return o; |
2217 } | 2217 } |
2218 | 2218 |
2219 checkUnnamed694(core.List<core.String> o) { | 2219 checkUnnamed556(core.List<core.String> o) { |
2220 unittest.expect(o, unittest.hasLength(2)); | 2220 unittest.expect(o, unittest.hasLength(2)); |
2221 unittest.expect(o[0], unittest.equals('foo')); | 2221 unittest.expect(o[0], unittest.equals('foo')); |
2222 unittest.expect(o[1], unittest.equals('foo')); | 2222 unittest.expect(o[1], unittest.equals('foo')); |
2223 } | 2223 } |
2224 | 2224 |
2225 buildUnnamed695() { | 2225 buildUnnamed557() { |
2226 var o = new core.List<api.ProductAspect>(); | 2226 var o = new core.List<api.ProductAspect>(); |
2227 o.add(buildProductAspect()); | 2227 o.add(buildProductAspect()); |
2228 o.add(buildProductAspect()); | 2228 o.add(buildProductAspect()); |
2229 return o; | 2229 return o; |
2230 } | 2230 } |
2231 | 2231 |
2232 checkUnnamed695(core.List<api.ProductAspect> o) { | 2232 checkUnnamed557(core.List<api.ProductAspect> o) { |
2233 unittest.expect(o, unittest.hasLength(2)); | 2233 unittest.expect(o, unittest.hasLength(2)); |
2234 checkProductAspect(o[0]); | 2234 checkProductAspect(o[0]); |
2235 checkProductAspect(o[1]); | 2235 checkProductAspect(o[1]); |
2236 } | 2236 } |
2237 | 2237 |
2238 buildUnnamed696() { | 2238 buildUnnamed558() { |
2239 var o = new core.List<api.ProductCustomAttribute>(); | 2239 var o = new core.List<api.ProductCustomAttribute>(); |
2240 o.add(buildProductCustomAttribute()); | 2240 o.add(buildProductCustomAttribute()); |
2241 o.add(buildProductCustomAttribute()); | 2241 o.add(buildProductCustomAttribute()); |
2242 return o; | 2242 return o; |
2243 } | 2243 } |
2244 | 2244 |
2245 checkUnnamed696(core.List<api.ProductCustomAttribute> o) { | 2245 checkUnnamed558(core.List<api.ProductCustomAttribute> o) { |
2246 unittest.expect(o, unittest.hasLength(2)); | 2246 unittest.expect(o, unittest.hasLength(2)); |
2247 checkProductCustomAttribute(o[0]); | 2247 checkProductCustomAttribute(o[0]); |
2248 checkProductCustomAttribute(o[1]); | 2248 checkProductCustomAttribute(o[1]); |
2249 } | 2249 } |
2250 | 2250 |
2251 buildUnnamed697() { | 2251 buildUnnamed559() { |
2252 var o = new core.List<api.ProductCustomGroup>(); | 2252 var o = new core.List<api.ProductCustomGroup>(); |
2253 o.add(buildProductCustomGroup()); | 2253 o.add(buildProductCustomGroup()); |
2254 o.add(buildProductCustomGroup()); | 2254 o.add(buildProductCustomGroup()); |
2255 return o; | 2255 return o; |
2256 } | 2256 } |
2257 | 2257 |
2258 checkUnnamed697(core.List<api.ProductCustomGroup> o) { | 2258 checkUnnamed559(core.List<api.ProductCustomGroup> o) { |
2259 unittest.expect(o, unittest.hasLength(2)); | 2259 unittest.expect(o, unittest.hasLength(2)); |
2260 checkProductCustomGroup(o[0]); | 2260 checkProductCustomGroup(o[0]); |
2261 checkProductCustomGroup(o[1]); | 2261 checkProductCustomGroup(o[1]); |
2262 } | 2262 } |
2263 | 2263 |
2264 buildUnnamed698() { | 2264 buildUnnamed560() { |
2265 var o = new core.List<api.ProductDestination>(); | 2265 var o = new core.List<api.ProductDestination>(); |
2266 o.add(buildProductDestination()); | 2266 o.add(buildProductDestination()); |
2267 o.add(buildProductDestination()); | 2267 o.add(buildProductDestination()); |
2268 return o; | 2268 return o; |
2269 } | 2269 } |
2270 | 2270 |
2271 checkUnnamed698(core.List<api.ProductDestination> o) { | 2271 checkUnnamed560(core.List<api.ProductDestination> o) { |
2272 unittest.expect(o, unittest.hasLength(2)); | 2272 unittest.expect(o, unittest.hasLength(2)); |
2273 checkProductDestination(o[0]); | 2273 checkProductDestination(o[0]); |
2274 checkProductDestination(o[1]); | 2274 checkProductDestination(o[1]); |
2275 } | 2275 } |
2276 | 2276 |
2277 buildUnnamed699() { | 2277 buildUnnamed561() { |
2278 var o = new core.List<core.String>(); | 2278 var o = new core.List<core.String>(); |
2279 o.add("foo"); | 2279 o.add("foo"); |
2280 o.add("foo"); | 2280 o.add("foo"); |
2281 return o; | 2281 return o; |
2282 } | 2282 } |
2283 | 2283 |
2284 checkUnnamed699(core.List<core.String> o) { | 2284 checkUnnamed561(core.List<core.String> o) { |
2285 unittest.expect(o, unittest.hasLength(2)); | 2285 unittest.expect(o, unittest.hasLength(2)); |
2286 unittest.expect(o[0], unittest.equals('foo')); | 2286 unittest.expect(o[0], unittest.equals('foo')); |
2287 unittest.expect(o[1], unittest.equals('foo')); | 2287 unittest.expect(o[1], unittest.equals('foo')); |
2288 } | 2288 } |
2289 | 2289 |
2290 buildUnnamed700() { | 2290 buildUnnamed562() { |
2291 var o = new core.List<api.ProductShipping>(); | 2291 var o = new core.List<api.ProductShipping>(); |
2292 o.add(buildProductShipping()); | 2292 o.add(buildProductShipping()); |
2293 o.add(buildProductShipping()); | 2293 o.add(buildProductShipping()); |
2294 return o; | 2294 return o; |
2295 } | 2295 } |
2296 | 2296 |
2297 checkUnnamed700(core.List<api.ProductShipping> o) { | 2297 checkUnnamed562(core.List<api.ProductShipping> o) { |
2298 unittest.expect(o, unittest.hasLength(2)); | 2298 unittest.expect(o, unittest.hasLength(2)); |
2299 checkProductShipping(o[0]); | 2299 checkProductShipping(o[0]); |
2300 checkProductShipping(o[1]); | 2300 checkProductShipping(o[1]); |
2301 } | 2301 } |
2302 | 2302 |
2303 buildUnnamed701() { | 2303 buildUnnamed563() { |
2304 var o = new core.List<core.String>(); | 2304 var o = new core.List<core.String>(); |
2305 o.add("foo"); | 2305 o.add("foo"); |
2306 o.add("foo"); | 2306 o.add("foo"); |
2307 return o; | 2307 return o; |
2308 } | 2308 } |
2309 | 2309 |
2310 checkUnnamed701(core.List<core.String> o) { | 2310 checkUnnamed563(core.List<core.String> o) { |
2311 unittest.expect(o, unittest.hasLength(2)); | 2311 unittest.expect(o, unittest.hasLength(2)); |
2312 unittest.expect(o[0], unittest.equals('foo')); | 2312 unittest.expect(o[0], unittest.equals('foo')); |
2313 unittest.expect(o[1], unittest.equals('foo')); | 2313 unittest.expect(o[1], unittest.equals('foo')); |
2314 } | 2314 } |
2315 | 2315 |
2316 buildUnnamed702() { | 2316 buildUnnamed564() { |
2317 var o = new core.List<api.ProductTax>(); | 2317 var o = new core.List<api.ProductTax>(); |
2318 o.add(buildProductTax()); | 2318 o.add(buildProductTax()); |
2319 o.add(buildProductTax()); | 2319 o.add(buildProductTax()); |
2320 return o; | 2320 return o; |
2321 } | 2321 } |
2322 | 2322 |
2323 checkUnnamed702(core.List<api.ProductTax> o) { | 2323 checkUnnamed564(core.List<api.ProductTax> o) { |
2324 unittest.expect(o, unittest.hasLength(2)); | 2324 unittest.expect(o, unittest.hasLength(2)); |
2325 checkProductTax(o[0]); | 2325 checkProductTax(o[0]); |
2326 checkProductTax(o[1]); | 2326 checkProductTax(o[1]); |
2327 } | 2327 } |
2328 | 2328 |
2329 buildUnnamed703() { | 2329 buildUnnamed565() { |
2330 var o = new core.List<core.String>(); | 2330 var o = new core.List<core.String>(); |
2331 o.add("foo"); | 2331 o.add("foo"); |
2332 o.add("foo"); | 2332 o.add("foo"); |
2333 return o; | 2333 return o; |
2334 } | 2334 } |
2335 | 2335 |
2336 checkUnnamed703(core.List<core.String> o) { | 2336 checkUnnamed565(core.List<core.String> o) { |
2337 unittest.expect(o, unittest.hasLength(2)); | 2337 unittest.expect(o, unittest.hasLength(2)); |
2338 unittest.expect(o[0], unittest.equals('foo')); | 2338 unittest.expect(o[0], unittest.equals('foo')); |
2339 unittest.expect(o[1], unittest.equals('foo')); | 2339 unittest.expect(o[1], unittest.equals('foo')); |
2340 } | 2340 } |
2341 | 2341 |
2342 buildUnnamed704() { | 2342 buildUnnamed566() { |
2343 var o = new core.List<api.Error>(); | 2343 var o = new core.List<api.Error>(); |
2344 o.add(buildError()); | 2344 o.add(buildError()); |
2345 o.add(buildError()); | 2345 o.add(buildError()); |
2346 return o; | 2346 return o; |
2347 } | 2347 } |
2348 | 2348 |
2349 checkUnnamed704(core.List<api.Error> o) { | 2349 checkUnnamed566(core.List<api.Error> o) { |
2350 unittest.expect(o, unittest.hasLength(2)); | 2350 unittest.expect(o, unittest.hasLength(2)); |
2351 checkError(o[0]); | 2351 checkError(o[0]); |
2352 checkError(o[1]); | 2352 checkError(o[1]); |
2353 } | 2353 } |
2354 | 2354 |
2355 core.int buildCounterProduct = 0; | 2355 core.int buildCounterProduct = 0; |
2356 buildProduct() { | 2356 buildProduct() { |
2357 var o = new api.Product(); | 2357 var o = new api.Product(); |
2358 buildCounterProduct++; | 2358 buildCounterProduct++; |
2359 if (buildCounterProduct < 3) { | 2359 if (buildCounterProduct < 3) { |
2360 o.additionalImageLinks = buildUnnamed693(); | 2360 o.additionalImageLinks = buildUnnamed555(); |
2361 o.adult = true; | 2361 o.adult = true; |
2362 o.adwordsGrouping = "foo"; | 2362 o.adwordsGrouping = "foo"; |
2363 o.adwordsLabels = buildUnnamed694(); | 2363 o.adwordsLabels = buildUnnamed556(); |
2364 o.adwordsRedirect = "foo"; | 2364 o.adwordsRedirect = "foo"; |
2365 o.ageGroup = "foo"; | 2365 o.ageGroup = "foo"; |
2366 o.aspects = buildUnnamed695(); | 2366 o.aspects = buildUnnamed557(); |
2367 o.availability = "foo"; | 2367 o.availability = "foo"; |
2368 o.availabilityDate = "foo"; | 2368 o.availabilityDate = "foo"; |
2369 o.brand = "foo"; | 2369 o.brand = "foo"; |
2370 o.channel = "foo"; | 2370 o.channel = "foo"; |
2371 o.color = "foo"; | 2371 o.color = "foo"; |
2372 o.condition = "foo"; | 2372 o.condition = "foo"; |
2373 o.contentLanguage = "foo"; | 2373 o.contentLanguage = "foo"; |
2374 o.customAttributes = buildUnnamed696(); | 2374 o.customAttributes = buildUnnamed558(); |
2375 o.customGroups = buildUnnamed697(); | 2375 o.customGroups = buildUnnamed559(); |
2376 o.customLabel0 = "foo"; | 2376 o.customLabel0 = "foo"; |
2377 o.customLabel1 = "foo"; | 2377 o.customLabel1 = "foo"; |
2378 o.customLabel2 = "foo"; | 2378 o.customLabel2 = "foo"; |
2379 o.customLabel3 = "foo"; | 2379 o.customLabel3 = "foo"; |
2380 o.customLabel4 = "foo"; | 2380 o.customLabel4 = "foo"; |
2381 o.description = "foo"; | 2381 o.description = "foo"; |
2382 o.destinations = buildUnnamed698(); | 2382 o.destinations = buildUnnamed560(); |
2383 o.displayAdsId = "foo"; | 2383 o.displayAdsId = "foo"; |
2384 o.displayAdsLink = "foo"; | 2384 o.displayAdsLink = "foo"; |
2385 o.displayAdsSimilarIds = buildUnnamed699(); | 2385 o.displayAdsSimilarIds = buildUnnamed561(); |
2386 o.displayAdsTitle = "foo"; | 2386 o.displayAdsTitle = "foo"; |
2387 o.displayAdsValue = 42.0; | 2387 o.displayAdsValue = 42.0; |
2388 o.energyEfficiencyClass = "foo"; | 2388 o.energyEfficiencyClass = "foo"; |
2389 o.expirationDate = "foo"; | 2389 o.expirationDate = "foo"; |
2390 o.gender = "foo"; | 2390 o.gender = "foo"; |
2391 o.googleProductCategory = "foo"; | 2391 o.googleProductCategory = "foo"; |
2392 o.gtin = "foo"; | 2392 o.gtin = "foo"; |
2393 o.id = "foo"; | 2393 o.id = "foo"; |
2394 o.identifierExists = true; | 2394 o.identifierExists = true; |
2395 o.imageLink = "foo"; | 2395 o.imageLink = "foo"; |
2396 o.installment = buildProductInstallment(); | 2396 o.installment = buildProductInstallment(); |
2397 o.isBundle = true; | 2397 o.isBundle = true; |
2398 o.itemGroupId = "foo"; | 2398 o.itemGroupId = "foo"; |
2399 o.kind = "foo"; | 2399 o.kind = "foo"; |
2400 o.link = "foo"; | 2400 o.link = "foo"; |
2401 o.loyaltyPoints = buildLoyaltyPoints(); | 2401 o.loyaltyPoints = buildLoyaltyPoints(); |
2402 o.material = "foo"; | 2402 o.material = "foo"; |
2403 o.mobileLink = "foo"; | 2403 o.mobileLink = "foo"; |
2404 o.mpn = "foo"; | 2404 o.mpn = "foo"; |
2405 o.multipack = "foo"; | 2405 o.multipack = "foo"; |
2406 o.offerId = "foo"; | 2406 o.offerId = "foo"; |
2407 o.onlineOnly = true; | 2407 o.onlineOnly = true; |
2408 o.pattern = "foo"; | 2408 o.pattern = "foo"; |
2409 o.price = buildPrice(); | 2409 o.price = buildPrice(); |
2410 o.productType = "foo"; | 2410 o.productType = "foo"; |
2411 o.salePrice = buildPrice(); | 2411 o.salePrice = buildPrice(); |
2412 o.salePriceEffectiveDate = "foo"; | 2412 o.salePriceEffectiveDate = "foo"; |
2413 o.shipping = buildUnnamed700(); | 2413 o.shipping = buildUnnamed562(); |
2414 o.shippingHeight = buildProductShippingDimension(); | 2414 o.shippingHeight = buildProductShippingDimension(); |
2415 o.shippingLabel = "foo"; | 2415 o.shippingLabel = "foo"; |
2416 o.shippingLength = buildProductShippingDimension(); | 2416 o.shippingLength = buildProductShippingDimension(); |
2417 o.shippingWeight = buildProductShippingWeight(); | 2417 o.shippingWeight = buildProductShippingWeight(); |
2418 o.shippingWidth = buildProductShippingDimension(); | 2418 o.shippingWidth = buildProductShippingDimension(); |
2419 o.sizeSystem = "foo"; | 2419 o.sizeSystem = "foo"; |
2420 o.sizeType = "foo"; | 2420 o.sizeType = "foo"; |
2421 o.sizes = buildUnnamed701(); | 2421 o.sizes = buildUnnamed563(); |
2422 o.targetCountry = "foo"; | 2422 o.targetCountry = "foo"; |
2423 o.taxes = buildUnnamed702(); | 2423 o.taxes = buildUnnamed564(); |
2424 o.title = "foo"; | 2424 o.title = "foo"; |
2425 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); | 2425 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); |
2426 o.unitPricingMeasure = buildProductUnitPricingMeasure(); | 2426 o.unitPricingMeasure = buildProductUnitPricingMeasure(); |
2427 o.validatedDestinations = buildUnnamed703(); | 2427 o.validatedDestinations = buildUnnamed565(); |
2428 o.warnings = buildUnnamed704(); | 2428 o.warnings = buildUnnamed566(); |
2429 } | 2429 } |
2430 buildCounterProduct--; | 2430 buildCounterProduct--; |
2431 return o; | 2431 return o; |
2432 } | 2432 } |
2433 | 2433 |
2434 checkProduct(api.Product o) { | 2434 checkProduct(api.Product o) { |
2435 buildCounterProduct++; | 2435 buildCounterProduct++; |
2436 if (buildCounterProduct < 3) { | 2436 if (buildCounterProduct < 3) { |
2437 checkUnnamed693(o.additionalImageLinks); | 2437 checkUnnamed555(o.additionalImageLinks); |
2438 unittest.expect(o.adult, unittest.isTrue); | 2438 unittest.expect(o.adult, unittest.isTrue); |
2439 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); | 2439 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); |
2440 checkUnnamed694(o.adwordsLabels); | 2440 checkUnnamed556(o.adwordsLabels); |
2441 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); | 2441 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); |
2442 unittest.expect(o.ageGroup, unittest.equals('foo')); | 2442 unittest.expect(o.ageGroup, unittest.equals('foo')); |
2443 checkUnnamed695(o.aspects); | 2443 checkUnnamed557(o.aspects); |
2444 unittest.expect(o.availability, unittest.equals('foo')); | 2444 unittest.expect(o.availability, unittest.equals('foo')); |
2445 unittest.expect(o.availabilityDate, unittest.equals('foo')); | 2445 unittest.expect(o.availabilityDate, unittest.equals('foo')); |
2446 unittest.expect(o.brand, unittest.equals('foo')); | 2446 unittest.expect(o.brand, unittest.equals('foo')); |
2447 unittest.expect(o.channel, unittest.equals('foo')); | 2447 unittest.expect(o.channel, unittest.equals('foo')); |
2448 unittest.expect(o.color, unittest.equals('foo')); | 2448 unittest.expect(o.color, unittest.equals('foo')); |
2449 unittest.expect(o.condition, unittest.equals('foo')); | 2449 unittest.expect(o.condition, unittest.equals('foo')); |
2450 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 2450 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
2451 checkUnnamed696(o.customAttributes); | 2451 checkUnnamed558(o.customAttributes); |
2452 checkUnnamed697(o.customGroups); | 2452 checkUnnamed559(o.customGroups); |
2453 unittest.expect(o.customLabel0, unittest.equals('foo')); | 2453 unittest.expect(o.customLabel0, unittest.equals('foo')); |
2454 unittest.expect(o.customLabel1, unittest.equals('foo')); | 2454 unittest.expect(o.customLabel1, unittest.equals('foo')); |
2455 unittest.expect(o.customLabel2, unittest.equals('foo')); | 2455 unittest.expect(o.customLabel2, unittest.equals('foo')); |
2456 unittest.expect(o.customLabel3, unittest.equals('foo')); | 2456 unittest.expect(o.customLabel3, unittest.equals('foo')); |
2457 unittest.expect(o.customLabel4, unittest.equals('foo')); | 2457 unittest.expect(o.customLabel4, unittest.equals('foo')); |
2458 unittest.expect(o.description, unittest.equals('foo')); | 2458 unittest.expect(o.description, unittest.equals('foo')); |
2459 checkUnnamed698(o.destinations); | 2459 checkUnnamed560(o.destinations); |
2460 unittest.expect(o.displayAdsId, unittest.equals('foo')); | 2460 unittest.expect(o.displayAdsId, unittest.equals('foo')); |
2461 unittest.expect(o.displayAdsLink, unittest.equals('foo')); | 2461 unittest.expect(o.displayAdsLink, unittest.equals('foo')); |
2462 checkUnnamed699(o.displayAdsSimilarIds); | 2462 checkUnnamed561(o.displayAdsSimilarIds); |
2463 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); | 2463 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); |
2464 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); | 2464 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); |
2465 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); | 2465 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); |
2466 unittest.expect(o.expirationDate, unittest.equals('foo')); | 2466 unittest.expect(o.expirationDate, unittest.equals('foo')); |
2467 unittest.expect(o.gender, unittest.equals('foo')); | 2467 unittest.expect(o.gender, unittest.equals('foo')); |
2468 unittest.expect(o.googleProductCategory, unittest.equals('foo')); | 2468 unittest.expect(o.googleProductCategory, unittest.equals('foo')); |
2469 unittest.expect(o.gtin, unittest.equals('foo')); | 2469 unittest.expect(o.gtin, unittest.equals('foo')); |
2470 unittest.expect(o.id, unittest.equals('foo')); | 2470 unittest.expect(o.id, unittest.equals('foo')); |
2471 unittest.expect(o.identifierExists, unittest.isTrue); | 2471 unittest.expect(o.identifierExists, unittest.isTrue); |
2472 unittest.expect(o.imageLink, unittest.equals('foo')); | 2472 unittest.expect(o.imageLink, unittest.equals('foo')); |
2473 checkProductInstallment(o.installment); | 2473 checkProductInstallment(o.installment); |
2474 unittest.expect(o.isBundle, unittest.isTrue); | 2474 unittest.expect(o.isBundle, unittest.isTrue); |
2475 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 2475 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
2476 unittest.expect(o.kind, unittest.equals('foo')); | 2476 unittest.expect(o.kind, unittest.equals('foo')); |
2477 unittest.expect(o.link, unittest.equals('foo')); | 2477 unittest.expect(o.link, unittest.equals('foo')); |
2478 checkLoyaltyPoints(o.loyaltyPoints); | 2478 checkLoyaltyPoints(o.loyaltyPoints); |
2479 unittest.expect(o.material, unittest.equals('foo')); | 2479 unittest.expect(o.material, unittest.equals('foo')); |
2480 unittest.expect(o.mobileLink, unittest.equals('foo')); | 2480 unittest.expect(o.mobileLink, unittest.equals('foo')); |
2481 unittest.expect(o.mpn, unittest.equals('foo')); | 2481 unittest.expect(o.mpn, unittest.equals('foo')); |
2482 unittest.expect(o.multipack, unittest.equals('foo')); | 2482 unittest.expect(o.multipack, unittest.equals('foo')); |
2483 unittest.expect(o.offerId, unittest.equals('foo')); | 2483 unittest.expect(o.offerId, unittest.equals('foo')); |
2484 unittest.expect(o.onlineOnly, unittest.isTrue); | 2484 unittest.expect(o.onlineOnly, unittest.isTrue); |
2485 unittest.expect(o.pattern, unittest.equals('foo')); | 2485 unittest.expect(o.pattern, unittest.equals('foo')); |
2486 checkPrice(o.price); | 2486 checkPrice(o.price); |
2487 unittest.expect(o.productType, unittest.equals('foo')); | 2487 unittest.expect(o.productType, unittest.equals('foo')); |
2488 checkPrice(o.salePrice); | 2488 checkPrice(o.salePrice); |
2489 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 2489 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
2490 checkUnnamed700(o.shipping); | 2490 checkUnnamed562(o.shipping); |
2491 checkProductShippingDimension(o.shippingHeight); | 2491 checkProductShippingDimension(o.shippingHeight); |
2492 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 2492 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
2493 checkProductShippingDimension(o.shippingLength); | 2493 checkProductShippingDimension(o.shippingLength); |
2494 checkProductShippingWeight(o.shippingWeight); | 2494 checkProductShippingWeight(o.shippingWeight); |
2495 checkProductShippingDimension(o.shippingWidth); | 2495 checkProductShippingDimension(o.shippingWidth); |
2496 unittest.expect(o.sizeSystem, unittest.equals('foo')); | 2496 unittest.expect(o.sizeSystem, unittest.equals('foo')); |
2497 unittest.expect(o.sizeType, unittest.equals('foo')); | 2497 unittest.expect(o.sizeType, unittest.equals('foo')); |
2498 checkUnnamed701(o.sizes); | 2498 checkUnnamed563(o.sizes); |
2499 unittest.expect(o.targetCountry, unittest.equals('foo')); | 2499 unittest.expect(o.targetCountry, unittest.equals('foo')); |
2500 checkUnnamed702(o.taxes); | 2500 checkUnnamed564(o.taxes); |
2501 unittest.expect(o.title, unittest.equals('foo')); | 2501 unittest.expect(o.title, unittest.equals('foo')); |
2502 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); | 2502 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); |
2503 checkProductUnitPricingMeasure(o.unitPricingMeasure); | 2503 checkProductUnitPricingMeasure(o.unitPricingMeasure); |
2504 checkUnnamed703(o.validatedDestinations); | 2504 checkUnnamed565(o.validatedDestinations); |
2505 checkUnnamed704(o.warnings); | 2505 checkUnnamed566(o.warnings); |
2506 } | 2506 } |
2507 buildCounterProduct--; | 2507 buildCounterProduct--; |
2508 } | 2508 } |
2509 | 2509 |
2510 core.int buildCounterProductAspect = 0; | 2510 core.int buildCounterProductAspect = 0; |
2511 buildProductAspect() { | 2511 buildProductAspect() { |
2512 var o = new api.ProductAspect(); | 2512 var o = new api.ProductAspect(); |
2513 buildCounterProductAspect++; | 2513 buildCounterProductAspect++; |
2514 if (buildCounterProductAspect < 3) { | 2514 if (buildCounterProductAspect < 3) { |
2515 o.aspectName = "foo"; | 2515 o.aspectName = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2548 buildCounterProductCustomAttribute++; | 2548 buildCounterProductCustomAttribute++; |
2549 if (buildCounterProductCustomAttribute < 3) { | 2549 if (buildCounterProductCustomAttribute < 3) { |
2550 unittest.expect(o.name, unittest.equals('foo')); | 2550 unittest.expect(o.name, unittest.equals('foo')); |
2551 unittest.expect(o.type, unittest.equals('foo')); | 2551 unittest.expect(o.type, unittest.equals('foo')); |
2552 unittest.expect(o.unit, unittest.equals('foo')); | 2552 unittest.expect(o.unit, unittest.equals('foo')); |
2553 unittest.expect(o.value, unittest.equals('foo')); | 2553 unittest.expect(o.value, unittest.equals('foo')); |
2554 } | 2554 } |
2555 buildCounterProductCustomAttribute--; | 2555 buildCounterProductCustomAttribute--; |
2556 } | 2556 } |
2557 | 2557 |
2558 buildUnnamed705() { | 2558 buildUnnamed567() { |
2559 var o = new core.List<api.ProductCustomAttribute>(); | 2559 var o = new core.List<api.ProductCustomAttribute>(); |
2560 o.add(buildProductCustomAttribute()); | 2560 o.add(buildProductCustomAttribute()); |
2561 o.add(buildProductCustomAttribute()); | 2561 o.add(buildProductCustomAttribute()); |
2562 return o; | 2562 return o; |
2563 } | 2563 } |
2564 | 2564 |
2565 checkUnnamed705(core.List<api.ProductCustomAttribute> o) { | 2565 checkUnnamed567(core.List<api.ProductCustomAttribute> o) { |
2566 unittest.expect(o, unittest.hasLength(2)); | 2566 unittest.expect(o, unittest.hasLength(2)); |
2567 checkProductCustomAttribute(o[0]); | 2567 checkProductCustomAttribute(o[0]); |
2568 checkProductCustomAttribute(o[1]); | 2568 checkProductCustomAttribute(o[1]); |
2569 } | 2569 } |
2570 | 2570 |
2571 core.int buildCounterProductCustomGroup = 0; | 2571 core.int buildCounterProductCustomGroup = 0; |
2572 buildProductCustomGroup() { | 2572 buildProductCustomGroup() { |
2573 var o = new api.ProductCustomGroup(); | 2573 var o = new api.ProductCustomGroup(); |
2574 buildCounterProductCustomGroup++; | 2574 buildCounterProductCustomGroup++; |
2575 if (buildCounterProductCustomGroup < 3) { | 2575 if (buildCounterProductCustomGroup < 3) { |
2576 o.attributes = buildUnnamed705(); | 2576 o.attributes = buildUnnamed567(); |
2577 o.name = "foo"; | 2577 o.name = "foo"; |
2578 } | 2578 } |
2579 buildCounterProductCustomGroup--; | 2579 buildCounterProductCustomGroup--; |
2580 return o; | 2580 return o; |
2581 } | 2581 } |
2582 | 2582 |
2583 checkProductCustomGroup(api.ProductCustomGroup o) { | 2583 checkProductCustomGroup(api.ProductCustomGroup o) { |
2584 buildCounterProductCustomGroup++; | 2584 buildCounterProductCustomGroup++; |
2585 if (buildCounterProductCustomGroup < 3) { | 2585 if (buildCounterProductCustomGroup < 3) { |
2586 checkUnnamed705(o.attributes); | 2586 checkUnnamed567(o.attributes); |
2587 unittest.expect(o.name, unittest.equals('foo')); | 2587 unittest.expect(o.name, unittest.equals('foo')); |
2588 } | 2588 } |
2589 buildCounterProductCustomGroup--; | 2589 buildCounterProductCustomGroup--; |
2590 } | 2590 } |
2591 | 2591 |
2592 core.int buildCounterProductDestination = 0; | 2592 core.int buildCounterProductDestination = 0; |
2593 buildProductDestination() { | 2593 buildProductDestination() { |
2594 var o = new api.ProductDestination(); | 2594 var o = new api.ProductDestination(); |
2595 buildCounterProductDestination++; | 2595 buildCounterProductDestination++; |
2596 if (buildCounterProductDestination < 3) { | 2596 if (buildCounterProductDestination < 3) { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2697 | 2697 |
2698 checkProductShippingWeight(api.ProductShippingWeight o) { | 2698 checkProductShippingWeight(api.ProductShippingWeight o) { |
2699 buildCounterProductShippingWeight++; | 2699 buildCounterProductShippingWeight++; |
2700 if (buildCounterProductShippingWeight < 3) { | 2700 if (buildCounterProductShippingWeight < 3) { |
2701 unittest.expect(o.unit, unittest.equals('foo')); | 2701 unittest.expect(o.unit, unittest.equals('foo')); |
2702 unittest.expect(o.value, unittest.equals(42.0)); | 2702 unittest.expect(o.value, unittest.equals(42.0)); |
2703 } | 2703 } |
2704 buildCounterProductShippingWeight--; | 2704 buildCounterProductShippingWeight--; |
2705 } | 2705 } |
2706 | 2706 |
2707 buildUnnamed706() { | 2707 buildUnnamed568() { |
2708 var o = new core.List<api.ProductStatusDataQualityIssue>(); | 2708 var o = new core.List<api.ProductStatusDataQualityIssue>(); |
2709 o.add(buildProductStatusDataQualityIssue()); | 2709 o.add(buildProductStatusDataQualityIssue()); |
2710 o.add(buildProductStatusDataQualityIssue()); | 2710 o.add(buildProductStatusDataQualityIssue()); |
2711 return o; | 2711 return o; |
2712 } | 2712 } |
2713 | 2713 |
2714 checkUnnamed706(core.List<api.ProductStatusDataQualityIssue> o) { | 2714 checkUnnamed568(core.List<api.ProductStatusDataQualityIssue> o) { |
2715 unittest.expect(o, unittest.hasLength(2)); | 2715 unittest.expect(o, unittest.hasLength(2)); |
2716 checkProductStatusDataQualityIssue(o[0]); | 2716 checkProductStatusDataQualityIssue(o[0]); |
2717 checkProductStatusDataQualityIssue(o[1]); | 2717 checkProductStatusDataQualityIssue(o[1]); |
2718 } | 2718 } |
2719 | 2719 |
2720 buildUnnamed707() { | 2720 buildUnnamed569() { |
2721 var o = new core.List<api.ProductStatusDestinationStatus>(); | 2721 var o = new core.List<api.ProductStatusDestinationStatus>(); |
2722 o.add(buildProductStatusDestinationStatus()); | 2722 o.add(buildProductStatusDestinationStatus()); |
2723 o.add(buildProductStatusDestinationStatus()); | 2723 o.add(buildProductStatusDestinationStatus()); |
2724 return o; | 2724 return o; |
2725 } | 2725 } |
2726 | 2726 |
2727 checkUnnamed707(core.List<api.ProductStatusDestinationStatus> o) { | 2727 checkUnnamed569(core.List<api.ProductStatusDestinationStatus> o) { |
2728 unittest.expect(o, unittest.hasLength(2)); | 2728 unittest.expect(o, unittest.hasLength(2)); |
2729 checkProductStatusDestinationStatus(o[0]); | 2729 checkProductStatusDestinationStatus(o[0]); |
2730 checkProductStatusDestinationStatus(o[1]); | 2730 checkProductStatusDestinationStatus(o[1]); |
2731 } | 2731 } |
2732 | 2732 |
2733 core.int buildCounterProductStatus = 0; | 2733 core.int buildCounterProductStatus = 0; |
2734 buildProductStatus() { | 2734 buildProductStatus() { |
2735 var o = new api.ProductStatus(); | 2735 var o = new api.ProductStatus(); |
2736 buildCounterProductStatus++; | 2736 buildCounterProductStatus++; |
2737 if (buildCounterProductStatus < 3) { | 2737 if (buildCounterProductStatus < 3) { |
2738 o.creationDate = "foo"; | 2738 o.creationDate = "foo"; |
2739 o.dataQualityIssues = buildUnnamed706(); | 2739 o.dataQualityIssues = buildUnnamed568(); |
2740 o.destinationStatuses = buildUnnamed707(); | 2740 o.destinationStatuses = buildUnnamed569(); |
2741 o.googleExpirationDate = "foo"; | 2741 o.googleExpirationDate = "foo"; |
2742 o.kind = "foo"; | 2742 o.kind = "foo"; |
2743 o.lastUpdateDate = "foo"; | 2743 o.lastUpdateDate = "foo"; |
2744 o.link = "foo"; | 2744 o.link = "foo"; |
2745 o.productId = "foo"; | 2745 o.productId = "foo"; |
2746 o.title = "foo"; | 2746 o.title = "foo"; |
2747 } | 2747 } |
2748 buildCounterProductStatus--; | 2748 buildCounterProductStatus--; |
2749 return o; | 2749 return o; |
2750 } | 2750 } |
2751 | 2751 |
2752 checkProductStatus(api.ProductStatus o) { | 2752 checkProductStatus(api.ProductStatus o) { |
2753 buildCounterProductStatus++; | 2753 buildCounterProductStatus++; |
2754 if (buildCounterProductStatus < 3) { | 2754 if (buildCounterProductStatus < 3) { |
2755 unittest.expect(o.creationDate, unittest.equals('foo')); | 2755 unittest.expect(o.creationDate, unittest.equals('foo')); |
2756 checkUnnamed706(o.dataQualityIssues); | 2756 checkUnnamed568(o.dataQualityIssues); |
2757 checkUnnamed707(o.destinationStatuses); | 2757 checkUnnamed569(o.destinationStatuses); |
2758 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); | 2758 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); |
2759 unittest.expect(o.kind, unittest.equals('foo')); | 2759 unittest.expect(o.kind, unittest.equals('foo')); |
2760 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); | 2760 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); |
2761 unittest.expect(o.link, unittest.equals('foo')); | 2761 unittest.expect(o.link, unittest.equals('foo')); |
2762 unittest.expect(o.productId, unittest.equals('foo')); | 2762 unittest.expect(o.productId, unittest.equals('foo')); |
2763 unittest.expect(o.title, unittest.equals('foo')); | 2763 unittest.expect(o.title, unittest.equals('foo')); |
2764 } | 2764 } |
2765 buildCounterProductStatus--; | 2765 buildCounterProductStatus--; |
2766 } | 2766 } |
2767 | 2767 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2885 | 2885 |
2886 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { | 2886 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { |
2887 buildCounterProductUnitPricingMeasure++; | 2887 buildCounterProductUnitPricingMeasure++; |
2888 if (buildCounterProductUnitPricingMeasure < 3) { | 2888 if (buildCounterProductUnitPricingMeasure < 3) { |
2889 unittest.expect(o.unit, unittest.equals('foo')); | 2889 unittest.expect(o.unit, unittest.equals('foo')); |
2890 unittest.expect(o.value, unittest.equals(42.0)); | 2890 unittest.expect(o.value, unittest.equals(42.0)); |
2891 } | 2891 } |
2892 buildCounterProductUnitPricingMeasure--; | 2892 buildCounterProductUnitPricingMeasure--; |
2893 } | 2893 } |
2894 | 2894 |
2895 buildUnnamed708() { | 2895 buildUnnamed570() { |
2896 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); | 2896 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); |
2897 o.add(buildProductsCustomBatchRequestEntry()); | 2897 o.add(buildProductsCustomBatchRequestEntry()); |
2898 o.add(buildProductsCustomBatchRequestEntry()); | 2898 o.add(buildProductsCustomBatchRequestEntry()); |
2899 return o; | 2899 return o; |
2900 } | 2900 } |
2901 | 2901 |
2902 checkUnnamed708(core.List<api.ProductsCustomBatchRequestEntry> o) { | 2902 checkUnnamed570(core.List<api.ProductsCustomBatchRequestEntry> o) { |
2903 unittest.expect(o, unittest.hasLength(2)); | 2903 unittest.expect(o, unittest.hasLength(2)); |
2904 checkProductsCustomBatchRequestEntry(o[0]); | 2904 checkProductsCustomBatchRequestEntry(o[0]); |
2905 checkProductsCustomBatchRequestEntry(o[1]); | 2905 checkProductsCustomBatchRequestEntry(o[1]); |
2906 } | 2906 } |
2907 | 2907 |
2908 core.int buildCounterProductsCustomBatchRequest = 0; | 2908 core.int buildCounterProductsCustomBatchRequest = 0; |
2909 buildProductsCustomBatchRequest() { | 2909 buildProductsCustomBatchRequest() { |
2910 var o = new api.ProductsCustomBatchRequest(); | 2910 var o = new api.ProductsCustomBatchRequest(); |
2911 buildCounterProductsCustomBatchRequest++; | 2911 buildCounterProductsCustomBatchRequest++; |
2912 if (buildCounterProductsCustomBatchRequest < 3) { | 2912 if (buildCounterProductsCustomBatchRequest < 3) { |
2913 o.entries = buildUnnamed708(); | 2913 o.entries = buildUnnamed570(); |
2914 } | 2914 } |
2915 buildCounterProductsCustomBatchRequest--; | 2915 buildCounterProductsCustomBatchRequest--; |
2916 return o; | 2916 return o; |
2917 } | 2917 } |
2918 | 2918 |
2919 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { | 2919 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { |
2920 buildCounterProductsCustomBatchRequest++; | 2920 buildCounterProductsCustomBatchRequest++; |
2921 if (buildCounterProductsCustomBatchRequest < 3) { | 2921 if (buildCounterProductsCustomBatchRequest < 3) { |
2922 checkUnnamed708(o.entries); | 2922 checkUnnamed570(o.entries); |
2923 } | 2923 } |
2924 buildCounterProductsCustomBatchRequest--; | 2924 buildCounterProductsCustomBatchRequest--; |
2925 } | 2925 } |
2926 | 2926 |
2927 core.int buildCounterProductsCustomBatchRequestEntry = 0; | 2927 core.int buildCounterProductsCustomBatchRequestEntry = 0; |
2928 buildProductsCustomBatchRequestEntry() { | 2928 buildProductsCustomBatchRequestEntry() { |
2929 var o = new api.ProductsCustomBatchRequestEntry(); | 2929 var o = new api.ProductsCustomBatchRequestEntry(); |
2930 buildCounterProductsCustomBatchRequestEntry++; | 2930 buildCounterProductsCustomBatchRequestEntry++; |
2931 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 2931 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
2932 o.batchId = 42; | 2932 o.batchId = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
2944 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 2944 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
2945 unittest.expect(o.batchId, unittest.equals(42)); | 2945 unittest.expect(o.batchId, unittest.equals(42)); |
2946 unittest.expect(o.merchantId, unittest.equals('foo')); | 2946 unittest.expect(o.merchantId, unittest.equals('foo')); |
2947 unittest.expect(o.method, unittest.equals('foo')); | 2947 unittest.expect(o.method, unittest.equals('foo')); |
2948 checkProduct(o.product); | 2948 checkProduct(o.product); |
2949 unittest.expect(o.productId, unittest.equals('foo')); | 2949 unittest.expect(o.productId, unittest.equals('foo')); |
2950 } | 2950 } |
2951 buildCounterProductsCustomBatchRequestEntry--; | 2951 buildCounterProductsCustomBatchRequestEntry--; |
2952 } | 2952 } |
2953 | 2953 |
2954 buildUnnamed709() { | 2954 buildUnnamed571() { |
2955 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); | 2955 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); |
2956 o.add(buildProductsCustomBatchResponseEntry()); | 2956 o.add(buildProductsCustomBatchResponseEntry()); |
2957 o.add(buildProductsCustomBatchResponseEntry()); | 2957 o.add(buildProductsCustomBatchResponseEntry()); |
2958 return o; | 2958 return o; |
2959 } | 2959 } |
2960 | 2960 |
2961 checkUnnamed709(core.List<api.ProductsCustomBatchResponseEntry> o) { | 2961 checkUnnamed571(core.List<api.ProductsCustomBatchResponseEntry> o) { |
2962 unittest.expect(o, unittest.hasLength(2)); | 2962 unittest.expect(o, unittest.hasLength(2)); |
2963 checkProductsCustomBatchResponseEntry(o[0]); | 2963 checkProductsCustomBatchResponseEntry(o[0]); |
2964 checkProductsCustomBatchResponseEntry(o[1]); | 2964 checkProductsCustomBatchResponseEntry(o[1]); |
2965 } | 2965 } |
2966 | 2966 |
2967 core.int buildCounterProductsCustomBatchResponse = 0; | 2967 core.int buildCounterProductsCustomBatchResponse = 0; |
2968 buildProductsCustomBatchResponse() { | 2968 buildProductsCustomBatchResponse() { |
2969 var o = new api.ProductsCustomBatchResponse(); | 2969 var o = new api.ProductsCustomBatchResponse(); |
2970 buildCounterProductsCustomBatchResponse++; | 2970 buildCounterProductsCustomBatchResponse++; |
2971 if (buildCounterProductsCustomBatchResponse < 3) { | 2971 if (buildCounterProductsCustomBatchResponse < 3) { |
2972 o.entries = buildUnnamed709(); | 2972 o.entries = buildUnnamed571(); |
2973 o.kind = "foo"; | 2973 o.kind = "foo"; |
2974 } | 2974 } |
2975 buildCounterProductsCustomBatchResponse--; | 2975 buildCounterProductsCustomBatchResponse--; |
2976 return o; | 2976 return o; |
2977 } | 2977 } |
2978 | 2978 |
2979 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { | 2979 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { |
2980 buildCounterProductsCustomBatchResponse++; | 2980 buildCounterProductsCustomBatchResponse++; |
2981 if (buildCounterProductsCustomBatchResponse < 3) { | 2981 if (buildCounterProductsCustomBatchResponse < 3) { |
2982 checkUnnamed709(o.entries); | 2982 checkUnnamed571(o.entries); |
2983 unittest.expect(o.kind, unittest.equals('foo')); | 2983 unittest.expect(o.kind, unittest.equals('foo')); |
2984 } | 2984 } |
2985 buildCounterProductsCustomBatchResponse--; | 2985 buildCounterProductsCustomBatchResponse--; |
2986 } | 2986 } |
2987 | 2987 |
2988 core.int buildCounterProductsCustomBatchResponseEntry = 0; | 2988 core.int buildCounterProductsCustomBatchResponseEntry = 0; |
2989 buildProductsCustomBatchResponseEntry() { | 2989 buildProductsCustomBatchResponseEntry() { |
2990 var o = new api.ProductsCustomBatchResponseEntry(); | 2990 var o = new api.ProductsCustomBatchResponseEntry(); |
2991 buildCounterProductsCustomBatchResponseEntry++; | 2991 buildCounterProductsCustomBatchResponseEntry++; |
2992 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 2992 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
3003 buildCounterProductsCustomBatchResponseEntry++; | 3003 buildCounterProductsCustomBatchResponseEntry++; |
3004 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 3004 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
3005 unittest.expect(o.batchId, unittest.equals(42)); | 3005 unittest.expect(o.batchId, unittest.equals(42)); |
3006 checkErrors(o.errors); | 3006 checkErrors(o.errors); |
3007 unittest.expect(o.kind, unittest.equals('foo')); | 3007 unittest.expect(o.kind, unittest.equals('foo')); |
3008 checkProduct(o.product); | 3008 checkProduct(o.product); |
3009 } | 3009 } |
3010 buildCounterProductsCustomBatchResponseEntry--; | 3010 buildCounterProductsCustomBatchResponseEntry--; |
3011 } | 3011 } |
3012 | 3012 |
3013 buildUnnamed710() { | 3013 buildUnnamed572() { |
3014 var o = new core.List<api.Product>(); | 3014 var o = new core.List<api.Product>(); |
3015 o.add(buildProduct()); | 3015 o.add(buildProduct()); |
3016 o.add(buildProduct()); | 3016 o.add(buildProduct()); |
3017 return o; | 3017 return o; |
3018 } | 3018 } |
3019 | 3019 |
3020 checkUnnamed710(core.List<api.Product> o) { | 3020 checkUnnamed572(core.List<api.Product> o) { |
3021 unittest.expect(o, unittest.hasLength(2)); | 3021 unittest.expect(o, unittest.hasLength(2)); |
3022 checkProduct(o[0]); | 3022 checkProduct(o[0]); |
3023 checkProduct(o[1]); | 3023 checkProduct(o[1]); |
3024 } | 3024 } |
3025 | 3025 |
3026 core.int buildCounterProductsListResponse = 0; | 3026 core.int buildCounterProductsListResponse = 0; |
3027 buildProductsListResponse() { | 3027 buildProductsListResponse() { |
3028 var o = new api.ProductsListResponse(); | 3028 var o = new api.ProductsListResponse(); |
3029 buildCounterProductsListResponse++; | 3029 buildCounterProductsListResponse++; |
3030 if (buildCounterProductsListResponse < 3) { | 3030 if (buildCounterProductsListResponse < 3) { |
3031 o.kind = "foo"; | 3031 o.kind = "foo"; |
3032 o.nextPageToken = "foo"; | 3032 o.nextPageToken = "foo"; |
3033 o.resources = buildUnnamed710(); | 3033 o.resources = buildUnnamed572(); |
3034 } | 3034 } |
3035 buildCounterProductsListResponse--; | 3035 buildCounterProductsListResponse--; |
3036 return o; | 3036 return o; |
3037 } | 3037 } |
3038 | 3038 |
3039 checkProductsListResponse(api.ProductsListResponse o) { | 3039 checkProductsListResponse(api.ProductsListResponse o) { |
3040 buildCounterProductsListResponse++; | 3040 buildCounterProductsListResponse++; |
3041 if (buildCounterProductsListResponse < 3) { | 3041 if (buildCounterProductsListResponse < 3) { |
3042 unittest.expect(o.kind, unittest.equals('foo')); | 3042 unittest.expect(o.kind, unittest.equals('foo')); |
3043 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3043 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3044 checkUnnamed710(o.resources); | 3044 checkUnnamed572(o.resources); |
3045 } | 3045 } |
3046 buildCounterProductsListResponse--; | 3046 buildCounterProductsListResponse--; |
3047 } | 3047 } |
3048 | 3048 |
3049 buildUnnamed711() { | 3049 buildUnnamed573() { |
3050 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); | 3050 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); |
3051 o.add(buildProductstatusesCustomBatchRequestEntry()); | 3051 o.add(buildProductstatusesCustomBatchRequestEntry()); |
3052 o.add(buildProductstatusesCustomBatchRequestEntry()); | 3052 o.add(buildProductstatusesCustomBatchRequestEntry()); |
3053 return o; | 3053 return o; |
3054 } | 3054 } |
3055 | 3055 |
3056 checkUnnamed711(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { | 3056 checkUnnamed573(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { |
3057 unittest.expect(o, unittest.hasLength(2)); | 3057 unittest.expect(o, unittest.hasLength(2)); |
3058 checkProductstatusesCustomBatchRequestEntry(o[0]); | 3058 checkProductstatusesCustomBatchRequestEntry(o[0]); |
3059 checkProductstatusesCustomBatchRequestEntry(o[1]); | 3059 checkProductstatusesCustomBatchRequestEntry(o[1]); |
3060 } | 3060 } |
3061 | 3061 |
3062 core.int buildCounterProductstatusesCustomBatchRequest = 0; | 3062 core.int buildCounterProductstatusesCustomBatchRequest = 0; |
3063 buildProductstatusesCustomBatchRequest() { | 3063 buildProductstatusesCustomBatchRequest() { |
3064 var o = new api.ProductstatusesCustomBatchRequest(); | 3064 var o = new api.ProductstatusesCustomBatchRequest(); |
3065 buildCounterProductstatusesCustomBatchRequest++; | 3065 buildCounterProductstatusesCustomBatchRequest++; |
3066 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 3066 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
3067 o.entries = buildUnnamed711(); | 3067 o.entries = buildUnnamed573(); |
3068 } | 3068 } |
3069 buildCounterProductstatusesCustomBatchRequest--; | 3069 buildCounterProductstatusesCustomBatchRequest--; |
3070 return o; | 3070 return o; |
3071 } | 3071 } |
3072 | 3072 |
3073 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ | 3073 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ |
3074 buildCounterProductstatusesCustomBatchRequest++; | 3074 buildCounterProductstatusesCustomBatchRequest++; |
3075 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 3075 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
3076 checkUnnamed711(o.entries); | 3076 checkUnnamed573(o.entries); |
3077 } | 3077 } |
3078 buildCounterProductstatusesCustomBatchRequest--; | 3078 buildCounterProductstatusesCustomBatchRequest--; |
3079 } | 3079 } |
3080 | 3080 |
3081 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; | 3081 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; |
3082 buildProductstatusesCustomBatchRequestEntry() { | 3082 buildProductstatusesCustomBatchRequestEntry() { |
3083 var o = new api.ProductstatusesCustomBatchRequestEntry(); | 3083 var o = new api.ProductstatusesCustomBatchRequestEntry(); |
3084 buildCounterProductstatusesCustomBatchRequestEntry++; | 3084 buildCounterProductstatusesCustomBatchRequestEntry++; |
3085 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 3085 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
3086 o.batchId = 42; | 3086 o.batchId = 42; |
3087 o.merchantId = "foo"; | 3087 o.merchantId = "foo"; |
3088 o.method = "foo"; | 3088 o.method = "foo"; |
3089 o.productId = "foo"; | 3089 o.productId = "foo"; |
3090 } | 3090 } |
3091 buildCounterProductstatusesCustomBatchRequestEntry--; | 3091 buildCounterProductstatusesCustomBatchRequestEntry--; |
3092 return o; | 3092 return o; |
3093 } | 3093 } |
3094 | 3094 |
3095 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { | 3095 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { |
3096 buildCounterProductstatusesCustomBatchRequestEntry++; | 3096 buildCounterProductstatusesCustomBatchRequestEntry++; |
3097 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 3097 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
3098 unittest.expect(o.batchId, unittest.equals(42)); | 3098 unittest.expect(o.batchId, unittest.equals(42)); |
3099 unittest.expect(o.merchantId, unittest.equals('foo')); | 3099 unittest.expect(o.merchantId, unittest.equals('foo')); |
3100 unittest.expect(o.method, unittest.equals('foo')); | 3100 unittest.expect(o.method, unittest.equals('foo')); |
3101 unittest.expect(o.productId, unittest.equals('foo')); | 3101 unittest.expect(o.productId, unittest.equals('foo')); |
3102 } | 3102 } |
3103 buildCounterProductstatusesCustomBatchRequestEntry--; | 3103 buildCounterProductstatusesCustomBatchRequestEntry--; |
3104 } | 3104 } |
3105 | 3105 |
3106 buildUnnamed712() { | 3106 buildUnnamed574() { |
3107 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); | 3107 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); |
3108 o.add(buildProductstatusesCustomBatchResponseEntry()); | 3108 o.add(buildProductstatusesCustomBatchResponseEntry()); |
3109 o.add(buildProductstatusesCustomBatchResponseEntry()); | 3109 o.add(buildProductstatusesCustomBatchResponseEntry()); |
3110 return o; | 3110 return o; |
3111 } | 3111 } |
3112 | 3112 |
3113 checkUnnamed712(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { | 3113 checkUnnamed574(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { |
3114 unittest.expect(o, unittest.hasLength(2)); | 3114 unittest.expect(o, unittest.hasLength(2)); |
3115 checkProductstatusesCustomBatchResponseEntry(o[0]); | 3115 checkProductstatusesCustomBatchResponseEntry(o[0]); |
3116 checkProductstatusesCustomBatchResponseEntry(o[1]); | 3116 checkProductstatusesCustomBatchResponseEntry(o[1]); |
3117 } | 3117 } |
3118 | 3118 |
3119 core.int buildCounterProductstatusesCustomBatchResponse = 0; | 3119 core.int buildCounterProductstatusesCustomBatchResponse = 0; |
3120 buildProductstatusesCustomBatchResponse() { | 3120 buildProductstatusesCustomBatchResponse() { |
3121 var o = new api.ProductstatusesCustomBatchResponse(); | 3121 var o = new api.ProductstatusesCustomBatchResponse(); |
3122 buildCounterProductstatusesCustomBatchResponse++; | 3122 buildCounterProductstatusesCustomBatchResponse++; |
3123 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 3123 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
3124 o.entries = buildUnnamed712(); | 3124 o.entries = buildUnnamed574(); |
3125 o.kind = "foo"; | 3125 o.kind = "foo"; |
3126 } | 3126 } |
3127 buildCounterProductstatusesCustomBatchResponse--; | 3127 buildCounterProductstatusesCustomBatchResponse--; |
3128 return o; | 3128 return o; |
3129 } | 3129 } |
3130 | 3130 |
3131 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { | 3131 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { |
3132 buildCounterProductstatusesCustomBatchResponse++; | 3132 buildCounterProductstatusesCustomBatchResponse++; |
3133 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 3133 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
3134 checkUnnamed712(o.entries); | 3134 checkUnnamed574(o.entries); |
3135 unittest.expect(o.kind, unittest.equals('foo')); | 3135 unittest.expect(o.kind, unittest.equals('foo')); |
3136 } | 3136 } |
3137 buildCounterProductstatusesCustomBatchResponse--; | 3137 buildCounterProductstatusesCustomBatchResponse--; |
3138 } | 3138 } |
3139 | 3139 |
3140 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; | 3140 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; |
3141 buildProductstatusesCustomBatchResponseEntry() { | 3141 buildProductstatusesCustomBatchResponseEntry() { |
3142 var o = new api.ProductstatusesCustomBatchResponseEntry(); | 3142 var o = new api.ProductstatusesCustomBatchResponseEntry(); |
3143 buildCounterProductstatusesCustomBatchResponseEntry++; | 3143 buildCounterProductstatusesCustomBatchResponseEntry++; |
3144 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 3144 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
3155 buildCounterProductstatusesCustomBatchResponseEntry++; | 3155 buildCounterProductstatusesCustomBatchResponseEntry++; |
3156 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 3156 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
3157 unittest.expect(o.batchId, unittest.equals(42)); | 3157 unittest.expect(o.batchId, unittest.equals(42)); |
3158 checkErrors(o.errors); | 3158 checkErrors(o.errors); |
3159 unittest.expect(o.kind, unittest.equals('foo')); | 3159 unittest.expect(o.kind, unittest.equals('foo')); |
3160 checkProductStatus(o.productStatus); | 3160 checkProductStatus(o.productStatus); |
3161 } | 3161 } |
3162 buildCounterProductstatusesCustomBatchResponseEntry--; | 3162 buildCounterProductstatusesCustomBatchResponseEntry--; |
3163 } | 3163 } |
3164 | 3164 |
3165 buildUnnamed713() { | 3165 buildUnnamed575() { |
3166 var o = new core.List<api.ProductStatus>(); | 3166 var o = new core.List<api.ProductStatus>(); |
3167 o.add(buildProductStatus()); | 3167 o.add(buildProductStatus()); |
3168 o.add(buildProductStatus()); | 3168 o.add(buildProductStatus()); |
3169 return o; | 3169 return o; |
3170 } | 3170 } |
3171 | 3171 |
3172 checkUnnamed713(core.List<api.ProductStatus> o) { | 3172 checkUnnamed575(core.List<api.ProductStatus> o) { |
3173 unittest.expect(o, unittest.hasLength(2)); | 3173 unittest.expect(o, unittest.hasLength(2)); |
3174 checkProductStatus(o[0]); | 3174 checkProductStatus(o[0]); |
3175 checkProductStatus(o[1]); | 3175 checkProductStatus(o[1]); |
3176 } | 3176 } |
3177 | 3177 |
3178 core.int buildCounterProductstatusesListResponse = 0; | 3178 core.int buildCounterProductstatusesListResponse = 0; |
3179 buildProductstatusesListResponse() { | 3179 buildProductstatusesListResponse() { |
3180 var o = new api.ProductstatusesListResponse(); | 3180 var o = new api.ProductstatusesListResponse(); |
3181 buildCounterProductstatusesListResponse++; | 3181 buildCounterProductstatusesListResponse++; |
3182 if (buildCounterProductstatusesListResponse < 3) { | 3182 if (buildCounterProductstatusesListResponse < 3) { |
3183 o.kind = "foo"; | 3183 o.kind = "foo"; |
3184 o.nextPageToken = "foo"; | 3184 o.nextPageToken = "foo"; |
3185 o.resources = buildUnnamed713(); | 3185 o.resources = buildUnnamed575(); |
3186 } | 3186 } |
3187 buildCounterProductstatusesListResponse--; | 3187 buildCounterProductstatusesListResponse--; |
3188 return o; | 3188 return o; |
3189 } | 3189 } |
3190 | 3190 |
3191 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { | 3191 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { |
3192 buildCounterProductstatusesListResponse++; | 3192 buildCounterProductstatusesListResponse++; |
3193 if (buildCounterProductstatusesListResponse < 3) { | 3193 if (buildCounterProductstatusesListResponse < 3) { |
3194 unittest.expect(o.kind, unittest.equals('foo')); | 3194 unittest.expect(o.kind, unittest.equals('foo')); |
3195 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3195 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3196 checkUnnamed713(o.resources); | 3196 checkUnnamed575(o.resources); |
3197 } | 3197 } |
3198 buildCounterProductstatusesListResponse--; | 3198 buildCounterProductstatusesListResponse--; |
3199 } | 3199 } |
3200 | 3200 |
3201 core.int buildCounterWeight = 0; | 3201 core.int buildCounterWeight = 0; |
3202 buildWeight() { | 3202 buildWeight() { |
3203 var o = new api.Weight(); | 3203 var o = new api.Weight(); |
3204 buildCounterWeight++; | 3204 buildCounterWeight++; |
3205 if (buildCounterWeight < 3) { | 3205 if (buildCounterWeight < 3) { |
3206 o.unit = "foo"; | 3206 o.unit = "foo"; |
(...skipping 2807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6014 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo
ken).then(unittest.expectAsync(((api.ProductstatusesListResponse response) { | 6014 res.list(arg_merchantId, maxResults: arg_maxResults, pageToken: arg_pageTo
ken).then(unittest.expectAsync(((api.ProductstatusesListResponse response) { |
6015 checkProductstatusesListResponse(response); | 6015 checkProductstatusesListResponse(response); |
6016 }))); | 6016 }))); |
6017 }); | 6017 }); |
6018 | 6018 |
6019 }); | 6019 }); |
6020 | 6020 |
6021 | 6021 |
6022 } | 6022 } |
6023 | 6023 |
OLD | NEW |