| OLD | NEW |
| 1 library googleapis.content.v2.test; | 1 library googleapis.content.v2.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed498() { | 54 buildUnnamed905() { |
| 55 var o = new core.List<api.AccountAdwordsLink>(); | 55 var o = new core.List<api.AccountAdwordsLink>(); |
| 56 o.add(buildAccountAdwordsLink()); | 56 o.add(buildAccountAdwordsLink()); |
| 57 o.add(buildAccountAdwordsLink()); | 57 o.add(buildAccountAdwordsLink()); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed498(core.List<api.AccountAdwordsLink> o) { | 61 checkUnnamed905(core.List<api.AccountAdwordsLink> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 checkAccountAdwordsLink(o[0]); | 63 checkAccountAdwordsLink(o[0]); |
| 64 checkAccountAdwordsLink(o[1]); | 64 checkAccountAdwordsLink(o[1]); |
| 65 } | 65 } |
| 66 | 66 |
| 67 buildUnnamed499() { | 67 buildUnnamed906() { |
| 68 var o = new core.List<api.AccountUser>(); | 68 var o = new core.List<api.AccountUser>(); |
| 69 o.add(buildAccountUser()); | 69 o.add(buildAccountUser()); |
| 70 o.add(buildAccountUser()); | 70 o.add(buildAccountUser()); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed499(core.List<api.AccountUser> o) { | 74 checkUnnamed906(core.List<api.AccountUser> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 checkAccountUser(o[0]); | 76 checkAccountUser(o[0]); |
| 77 checkAccountUser(o[1]); | 77 checkAccountUser(o[1]); |
| 78 } | 78 } |
| 79 | 79 |
| 80 core.int buildCounterAccount = 0; | 80 core.int buildCounterAccount = 0; |
| 81 buildAccount() { | 81 buildAccount() { |
| 82 var o = new api.Account(); | 82 var o = new api.Account(); |
| 83 buildCounterAccount++; | 83 buildCounterAccount++; |
| 84 if (buildCounterAccount < 3) { | 84 if (buildCounterAccount < 3) { |
| 85 o.adultContent = true; | 85 o.adultContent = true; |
| 86 o.adwordsLinks = buildUnnamed498(); | 86 o.adwordsLinks = buildUnnamed905(); |
| 87 o.id = "foo"; | 87 o.id = "foo"; |
| 88 o.kind = "foo"; | 88 o.kind = "foo"; |
| 89 o.name = "foo"; | 89 o.name = "foo"; |
| 90 o.reviewsUrl = "foo"; | 90 o.reviewsUrl = "foo"; |
| 91 o.sellerId = "foo"; | 91 o.sellerId = "foo"; |
| 92 o.users = buildUnnamed499(); | 92 o.users = buildUnnamed906(); |
| 93 o.websiteUrl = "foo"; | 93 o.websiteUrl = "foo"; |
| 94 } | 94 } |
| 95 buildCounterAccount--; | 95 buildCounterAccount--; |
| 96 return o; | 96 return o; |
| 97 } | 97 } |
| 98 | 98 |
| 99 checkAccount(api.Account o) { | 99 checkAccount(api.Account o) { |
| 100 buildCounterAccount++; | 100 buildCounterAccount++; |
| 101 if (buildCounterAccount < 3) { | 101 if (buildCounterAccount < 3) { |
| 102 unittest.expect(o.adultContent, unittest.isTrue); | 102 unittest.expect(o.adultContent, unittest.isTrue); |
| 103 checkUnnamed498(o.adwordsLinks); | 103 checkUnnamed905(o.adwordsLinks); |
| 104 unittest.expect(o.id, unittest.equals('foo')); | 104 unittest.expect(o.id, unittest.equals('foo')); |
| 105 unittest.expect(o.kind, unittest.equals('foo')); | 105 unittest.expect(o.kind, unittest.equals('foo')); |
| 106 unittest.expect(o.name, unittest.equals('foo')); | 106 unittest.expect(o.name, unittest.equals('foo')); |
| 107 unittest.expect(o.reviewsUrl, unittest.equals('foo')); | 107 unittest.expect(o.reviewsUrl, unittest.equals('foo')); |
| 108 unittest.expect(o.sellerId, unittest.equals('foo')); | 108 unittest.expect(o.sellerId, unittest.equals('foo')); |
| 109 checkUnnamed499(o.users); | 109 checkUnnamed906(o.users); |
| 110 unittest.expect(o.websiteUrl, unittest.equals('foo')); | 110 unittest.expect(o.websiteUrl, unittest.equals('foo')); |
| 111 } | 111 } |
| 112 buildCounterAccount--; | 112 buildCounterAccount--; |
| 113 } | 113 } |
| 114 | 114 |
| 115 core.int buildCounterAccountAdwordsLink = 0; | 115 core.int buildCounterAccountAdwordsLink = 0; |
| 116 buildAccountAdwordsLink() { | 116 buildAccountAdwordsLink() { |
| 117 var o = new api.AccountAdwordsLink(); | 117 var o = new api.AccountAdwordsLink(); |
| 118 buildCounterAccountAdwordsLink++; | 118 buildCounterAccountAdwordsLink++; |
| 119 if (buildCounterAccountAdwordsLink < 3) { | 119 if (buildCounterAccountAdwordsLink < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 147 | 147 |
| 148 checkAccountIdentifier(api.AccountIdentifier o) { | 148 checkAccountIdentifier(api.AccountIdentifier o) { |
| 149 buildCounterAccountIdentifier++; | 149 buildCounterAccountIdentifier++; |
| 150 if (buildCounterAccountIdentifier < 3) { | 150 if (buildCounterAccountIdentifier < 3) { |
| 151 unittest.expect(o.aggregatorId, unittest.equals('foo')); | 151 unittest.expect(o.aggregatorId, unittest.equals('foo')); |
| 152 unittest.expect(o.merchantId, unittest.equals('foo')); | 152 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 153 } | 153 } |
| 154 buildCounterAccountIdentifier--; | 154 buildCounterAccountIdentifier--; |
| 155 } | 155 } |
| 156 | 156 |
| 157 buildUnnamed500() { | 157 buildUnnamed907() { |
| 158 var o = new core.List<api.AccountShippingCarrierRate>(); | 158 var o = new core.List<api.AccountShippingCarrierRate>(); |
| 159 o.add(buildAccountShippingCarrierRate()); | 159 o.add(buildAccountShippingCarrierRate()); |
| 160 o.add(buildAccountShippingCarrierRate()); | 160 o.add(buildAccountShippingCarrierRate()); |
| 161 return o; | 161 return o; |
| 162 } | 162 } |
| 163 | 163 |
| 164 checkUnnamed500(core.List<api.AccountShippingCarrierRate> o) { | 164 checkUnnamed907(core.List<api.AccountShippingCarrierRate> o) { |
| 165 unittest.expect(o, unittest.hasLength(2)); | 165 unittest.expect(o, unittest.hasLength(2)); |
| 166 checkAccountShippingCarrierRate(o[0]); | 166 checkAccountShippingCarrierRate(o[0]); |
| 167 checkAccountShippingCarrierRate(o[1]); | 167 checkAccountShippingCarrierRate(o[1]); |
| 168 } | 168 } |
| 169 | 169 |
| 170 buildUnnamed501() { | 170 buildUnnamed908() { |
| 171 var o = new core.List<api.AccountShippingLocationGroup>(); | 171 var o = new core.List<api.AccountShippingLocationGroup>(); |
| 172 o.add(buildAccountShippingLocationGroup()); | 172 o.add(buildAccountShippingLocationGroup()); |
| 173 o.add(buildAccountShippingLocationGroup()); | 173 o.add(buildAccountShippingLocationGroup()); |
| 174 return o; | 174 return o; |
| 175 } | 175 } |
| 176 | 176 |
| 177 checkUnnamed501(core.List<api.AccountShippingLocationGroup> o) { | 177 checkUnnamed908(core.List<api.AccountShippingLocationGroup> o) { |
| 178 unittest.expect(o, unittest.hasLength(2)); | 178 unittest.expect(o, unittest.hasLength(2)); |
| 179 checkAccountShippingLocationGroup(o[0]); | 179 checkAccountShippingLocationGroup(o[0]); |
| 180 checkAccountShippingLocationGroup(o[1]); | 180 checkAccountShippingLocationGroup(o[1]); |
| 181 } | 181 } |
| 182 | 182 |
| 183 buildUnnamed502() { | 183 buildUnnamed909() { |
| 184 var o = new core.List<api.AccountShippingRateTable>(); | 184 var o = new core.List<api.AccountShippingRateTable>(); |
| 185 o.add(buildAccountShippingRateTable()); | 185 o.add(buildAccountShippingRateTable()); |
| 186 o.add(buildAccountShippingRateTable()); | 186 o.add(buildAccountShippingRateTable()); |
| 187 return o; | 187 return o; |
| 188 } | 188 } |
| 189 | 189 |
| 190 checkUnnamed502(core.List<api.AccountShippingRateTable> o) { | 190 checkUnnamed909(core.List<api.AccountShippingRateTable> o) { |
| 191 unittest.expect(o, unittest.hasLength(2)); | 191 unittest.expect(o, unittest.hasLength(2)); |
| 192 checkAccountShippingRateTable(o[0]); | 192 checkAccountShippingRateTable(o[0]); |
| 193 checkAccountShippingRateTable(o[1]); | 193 checkAccountShippingRateTable(o[1]); |
| 194 } | 194 } |
| 195 | 195 |
| 196 buildUnnamed503() { | 196 buildUnnamed910() { |
| 197 var o = new core.List<api.AccountShippingShippingService>(); | 197 var o = new core.List<api.AccountShippingShippingService>(); |
| 198 o.add(buildAccountShippingShippingService()); | 198 o.add(buildAccountShippingShippingService()); |
| 199 o.add(buildAccountShippingShippingService()); | 199 o.add(buildAccountShippingShippingService()); |
| 200 return o; | 200 return o; |
| 201 } | 201 } |
| 202 | 202 |
| 203 checkUnnamed503(core.List<api.AccountShippingShippingService> o) { | 203 checkUnnamed910(core.List<api.AccountShippingShippingService> o) { |
| 204 unittest.expect(o, unittest.hasLength(2)); | 204 unittest.expect(o, unittest.hasLength(2)); |
| 205 checkAccountShippingShippingService(o[0]); | 205 checkAccountShippingShippingService(o[0]); |
| 206 checkAccountShippingShippingService(o[1]); | 206 checkAccountShippingShippingService(o[1]); |
| 207 } | 207 } |
| 208 | 208 |
| 209 core.int buildCounterAccountShipping = 0; | 209 core.int buildCounterAccountShipping = 0; |
| 210 buildAccountShipping() { | 210 buildAccountShipping() { |
| 211 var o = new api.AccountShipping(); | 211 var o = new api.AccountShipping(); |
| 212 buildCounterAccountShipping++; | 212 buildCounterAccountShipping++; |
| 213 if (buildCounterAccountShipping < 3) { | 213 if (buildCounterAccountShipping < 3) { |
| 214 o.accountId = "foo"; | 214 o.accountId = "foo"; |
| 215 o.carrierRates = buildUnnamed500(); | 215 o.carrierRates = buildUnnamed907(); |
| 216 o.kind = "foo"; | 216 o.kind = "foo"; |
| 217 o.locationGroups = buildUnnamed501(); | 217 o.locationGroups = buildUnnamed908(); |
| 218 o.rateTables = buildUnnamed502(); | 218 o.rateTables = buildUnnamed909(); |
| 219 o.services = buildUnnamed503(); | 219 o.services = buildUnnamed910(); |
| 220 } | 220 } |
| 221 buildCounterAccountShipping--; | 221 buildCounterAccountShipping--; |
| 222 return o; | 222 return o; |
| 223 } | 223 } |
| 224 | 224 |
| 225 checkAccountShipping(api.AccountShipping o) { | 225 checkAccountShipping(api.AccountShipping o) { |
| 226 buildCounterAccountShipping++; | 226 buildCounterAccountShipping++; |
| 227 if (buildCounterAccountShipping < 3) { | 227 if (buildCounterAccountShipping < 3) { |
| 228 unittest.expect(o.accountId, unittest.equals('foo')); | 228 unittest.expect(o.accountId, unittest.equals('foo')); |
| 229 checkUnnamed500(o.carrierRates); | 229 checkUnnamed907(o.carrierRates); |
| 230 unittest.expect(o.kind, unittest.equals('foo')); | 230 unittest.expect(o.kind, unittest.equals('foo')); |
| 231 checkUnnamed501(o.locationGroups); | 231 checkUnnamed908(o.locationGroups); |
| 232 checkUnnamed502(o.rateTables); | 232 checkUnnamed909(o.rateTables); |
| 233 checkUnnamed503(o.services); | 233 checkUnnamed910(o.services); |
| 234 } | 234 } |
| 235 buildCounterAccountShipping--; | 235 buildCounterAccountShipping--; |
| 236 } | 236 } |
| 237 | 237 |
| 238 core.int buildCounterAccountShippingCarrierRate = 0; | 238 core.int buildCounterAccountShippingCarrierRate = 0; |
| 239 buildAccountShippingCarrierRate() { | 239 buildAccountShippingCarrierRate() { |
| 240 var o = new api.AccountShippingCarrierRate(); | 240 var o = new api.AccountShippingCarrierRate(); |
| 241 buildCounterAccountShippingCarrierRate++; | 241 buildCounterAccountShippingCarrierRate++; |
| 242 if (buildCounterAccountShippingCarrierRate < 3) { | 242 if (buildCounterAccountShippingCarrierRate < 3) { |
| 243 o.carrier = "foo"; | 243 o.carrier = "foo"; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 unittest.expect(o.deliveryLocationId, unittest.equals('foo')); | 290 unittest.expect(o.deliveryLocationId, unittest.equals('foo')); |
| 291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo')); | 291 unittest.expect(o.deliveryPostalCode, unittest.equals('foo')); |
| 292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange); | 292 checkAccountShippingPostalCodeRange(o.deliveryPostalCodeRange); |
| 293 checkPrice(o.priceMax); | 293 checkPrice(o.priceMax); |
| 294 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 294 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
| 295 checkWeight(o.weightMax); | 295 checkWeight(o.weightMax); |
| 296 } | 296 } |
| 297 buildCounterAccountShippingCondition--; | 297 buildCounterAccountShippingCondition--; |
| 298 } | 298 } |
| 299 | 299 |
| 300 buildUnnamed504() { | 300 buildUnnamed911() { |
| 301 var o = new core.List<core.String>(); | 301 var o = new core.List<core.String>(); |
| 302 o.add("foo"); | 302 o.add("foo"); |
| 303 o.add("foo"); | 303 o.add("foo"); |
| 304 return o; | 304 return o; |
| 305 } | 305 } |
| 306 | 306 |
| 307 checkUnnamed504(core.List<core.String> o) { | 307 checkUnnamed911(core.List<core.String> o) { |
| 308 unittest.expect(o, unittest.hasLength(2)); | 308 unittest.expect(o, unittest.hasLength(2)); |
| 309 unittest.expect(o[0], unittest.equals('foo')); | 309 unittest.expect(o[0], unittest.equals('foo')); |
| 310 unittest.expect(o[1], unittest.equals('foo')); | 310 unittest.expect(o[1], unittest.equals('foo')); |
| 311 } | 311 } |
| 312 | 312 |
| 313 buildUnnamed505() { | 313 buildUnnamed912() { |
| 314 var o = new core.List<api.AccountShippingPostalCodeRange>(); | 314 var o = new core.List<api.AccountShippingPostalCodeRange>(); |
| 315 o.add(buildAccountShippingPostalCodeRange()); | 315 o.add(buildAccountShippingPostalCodeRange()); |
| 316 o.add(buildAccountShippingPostalCodeRange()); | 316 o.add(buildAccountShippingPostalCodeRange()); |
| 317 return o; | 317 return o; |
| 318 } | 318 } |
| 319 | 319 |
| 320 checkUnnamed505(core.List<api.AccountShippingPostalCodeRange> o) { | 320 checkUnnamed912(core.List<api.AccountShippingPostalCodeRange> o) { |
| 321 unittest.expect(o, unittest.hasLength(2)); | 321 unittest.expect(o, unittest.hasLength(2)); |
| 322 checkAccountShippingPostalCodeRange(o[0]); | 322 checkAccountShippingPostalCodeRange(o[0]); |
| 323 checkAccountShippingPostalCodeRange(o[1]); | 323 checkAccountShippingPostalCodeRange(o[1]); |
| 324 } | 324 } |
| 325 | 325 |
| 326 buildUnnamed506() { | 326 buildUnnamed913() { |
| 327 var o = new core.List<core.String>(); | 327 var o = new core.List<core.String>(); |
| 328 o.add("foo"); | 328 o.add("foo"); |
| 329 o.add("foo"); | 329 o.add("foo"); |
| 330 return o; | 330 return o; |
| 331 } | 331 } |
| 332 | 332 |
| 333 checkUnnamed506(core.List<core.String> o) { | 333 checkUnnamed913(core.List<core.String> o) { |
| 334 unittest.expect(o, unittest.hasLength(2)); | 334 unittest.expect(o, unittest.hasLength(2)); |
| 335 unittest.expect(o[0], unittest.equals('foo')); | 335 unittest.expect(o[0], unittest.equals('foo')); |
| 336 unittest.expect(o[1], unittest.equals('foo')); | 336 unittest.expect(o[1], unittest.equals('foo')); |
| 337 } | 337 } |
| 338 | 338 |
| 339 core.int buildCounterAccountShippingLocationGroup = 0; | 339 core.int buildCounterAccountShippingLocationGroup = 0; |
| 340 buildAccountShippingLocationGroup() { | 340 buildAccountShippingLocationGroup() { |
| 341 var o = new api.AccountShippingLocationGroup(); | 341 var o = new api.AccountShippingLocationGroup(); |
| 342 buildCounterAccountShippingLocationGroup++; | 342 buildCounterAccountShippingLocationGroup++; |
| 343 if (buildCounterAccountShippingLocationGroup < 3) { | 343 if (buildCounterAccountShippingLocationGroup < 3) { |
| 344 o.country = "foo"; | 344 o.country = "foo"; |
| 345 o.locationIds = buildUnnamed504(); | 345 o.locationIds = buildUnnamed911(); |
| 346 o.name = "foo"; | 346 o.name = "foo"; |
| 347 o.postalCodeRanges = buildUnnamed505(); | 347 o.postalCodeRanges = buildUnnamed912(); |
| 348 o.postalCodes = buildUnnamed506(); | 348 o.postalCodes = buildUnnamed913(); |
| 349 } | 349 } |
| 350 buildCounterAccountShippingLocationGroup--; | 350 buildCounterAccountShippingLocationGroup--; |
| 351 return o; | 351 return o; |
| 352 } | 352 } |
| 353 | 353 |
| 354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) { | 354 checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) { |
| 355 buildCounterAccountShippingLocationGroup++; | 355 buildCounterAccountShippingLocationGroup++; |
| 356 if (buildCounterAccountShippingLocationGroup < 3) { | 356 if (buildCounterAccountShippingLocationGroup < 3) { |
| 357 unittest.expect(o.country, unittest.equals('foo')); | 357 unittest.expect(o.country, unittest.equals('foo')); |
| 358 checkUnnamed504(o.locationIds); | 358 checkUnnamed911(o.locationIds); |
| 359 unittest.expect(o.name, unittest.equals('foo')); | 359 unittest.expect(o.name, unittest.equals('foo')); |
| 360 checkUnnamed505(o.postalCodeRanges); | 360 checkUnnamed912(o.postalCodeRanges); |
| 361 checkUnnamed506(o.postalCodes); | 361 checkUnnamed913(o.postalCodes); |
| 362 } | 362 } |
| 363 buildCounterAccountShippingLocationGroup--; | 363 buildCounterAccountShippingLocationGroup--; |
| 364 } | 364 } |
| 365 | 365 |
| 366 core.int buildCounterAccountShippingPostalCodeRange = 0; | 366 core.int buildCounterAccountShippingPostalCodeRange = 0; |
| 367 buildAccountShippingPostalCodeRange() { | 367 buildAccountShippingPostalCodeRange() { |
| 368 var o = new api.AccountShippingPostalCodeRange(); | 368 var o = new api.AccountShippingPostalCodeRange(); |
| 369 buildCounterAccountShippingPostalCodeRange++; | 369 buildCounterAccountShippingPostalCodeRange++; |
| 370 if (buildCounterAccountShippingPostalCodeRange < 3) { | 370 if (buildCounterAccountShippingPostalCodeRange < 3) { |
| 371 o.end = "foo"; | 371 o.end = "foo"; |
| 372 o.start = "foo"; | 372 o.start = "foo"; |
| 373 } | 373 } |
| 374 buildCounterAccountShippingPostalCodeRange--; | 374 buildCounterAccountShippingPostalCodeRange--; |
| 375 return o; | 375 return o; |
| 376 } | 376 } |
| 377 | 377 |
| 378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) { | 378 checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) { |
| 379 buildCounterAccountShippingPostalCodeRange++; | 379 buildCounterAccountShippingPostalCodeRange++; |
| 380 if (buildCounterAccountShippingPostalCodeRange < 3) { | 380 if (buildCounterAccountShippingPostalCodeRange < 3) { |
| 381 unittest.expect(o.end, unittest.equals('foo')); | 381 unittest.expect(o.end, unittest.equals('foo')); |
| 382 unittest.expect(o.start, unittest.equals('foo')); | 382 unittest.expect(o.start, unittest.equals('foo')); |
| 383 } | 383 } |
| 384 buildCounterAccountShippingPostalCodeRange--; | 384 buildCounterAccountShippingPostalCodeRange--; |
| 385 } | 385 } |
| 386 | 386 |
| 387 buildUnnamed507() { | 387 buildUnnamed914() { |
| 388 var o = new core.List<api.AccountShippingRateTableCell>(); | 388 var o = new core.List<api.AccountShippingRateTableCell>(); |
| 389 o.add(buildAccountShippingRateTableCell()); | 389 o.add(buildAccountShippingRateTableCell()); |
| 390 o.add(buildAccountShippingRateTableCell()); | 390 o.add(buildAccountShippingRateTableCell()); |
| 391 return o; | 391 return o; |
| 392 } | 392 } |
| 393 | 393 |
| 394 checkUnnamed507(core.List<api.AccountShippingRateTableCell> o) { | 394 checkUnnamed914(core.List<api.AccountShippingRateTableCell> o) { |
| 395 unittest.expect(o, unittest.hasLength(2)); | 395 unittest.expect(o, unittest.hasLength(2)); |
| 396 checkAccountShippingRateTableCell(o[0]); | 396 checkAccountShippingRateTableCell(o[0]); |
| 397 checkAccountShippingRateTableCell(o[1]); | 397 checkAccountShippingRateTableCell(o[1]); |
| 398 } | 398 } |
| 399 | 399 |
| 400 core.int buildCounterAccountShippingRateTable = 0; | 400 core.int buildCounterAccountShippingRateTable = 0; |
| 401 buildAccountShippingRateTable() { | 401 buildAccountShippingRateTable() { |
| 402 var o = new api.AccountShippingRateTable(); | 402 var o = new api.AccountShippingRateTable(); |
| 403 buildCounterAccountShippingRateTable++; | 403 buildCounterAccountShippingRateTable++; |
| 404 if (buildCounterAccountShippingRateTable < 3) { | 404 if (buildCounterAccountShippingRateTable < 3) { |
| 405 o.content = buildUnnamed507(); | 405 o.content = buildUnnamed914(); |
| 406 o.name = "foo"; | 406 o.name = "foo"; |
| 407 o.saleCountry = "foo"; | 407 o.saleCountry = "foo"; |
| 408 } | 408 } |
| 409 buildCounterAccountShippingRateTable--; | 409 buildCounterAccountShippingRateTable--; |
| 410 return o; | 410 return o; |
| 411 } | 411 } |
| 412 | 412 |
| 413 checkAccountShippingRateTable(api.AccountShippingRateTable o) { | 413 checkAccountShippingRateTable(api.AccountShippingRateTable o) { |
| 414 buildCounterAccountShippingRateTable++; | 414 buildCounterAccountShippingRateTable++; |
| 415 if (buildCounterAccountShippingRateTable < 3) { | 415 if (buildCounterAccountShippingRateTable < 3) { |
| 416 checkUnnamed507(o.content); | 416 checkUnnamed914(o.content); |
| 417 unittest.expect(o.name, unittest.equals('foo')); | 417 unittest.expect(o.name, unittest.equals('foo')); |
| 418 unittest.expect(o.saleCountry, unittest.equals('foo')); | 418 unittest.expect(o.saleCountry, unittest.equals('foo')); |
| 419 } | 419 } |
| 420 buildCounterAccountShippingRateTable--; | 420 buildCounterAccountShippingRateTable--; |
| 421 } | 421 } |
| 422 | 422 |
| 423 core.int buildCounterAccountShippingRateTableCell = 0; | 423 core.int buildCounterAccountShippingRateTableCell = 0; |
| 424 buildAccountShippingRateTableCell() { | 424 buildAccountShippingRateTableCell() { |
| 425 var o = new api.AccountShippingRateTableCell(); | 425 var o = new api.AccountShippingRateTableCell(); |
| 426 buildCounterAccountShippingRateTableCell++; | 426 buildCounterAccountShippingRateTableCell++; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { | 492 if (buildCounterAccountShippingShippingServiceCalculationMethod < 3) { |
| 493 unittest.expect(o.carrierRate, unittest.equals('foo')); | 493 unittest.expect(o.carrierRate, unittest.equals('foo')); |
| 494 unittest.expect(o.excluded, unittest.isTrue); | 494 unittest.expect(o.excluded, unittest.isTrue); |
| 495 checkPrice(o.flatRate); | 495 checkPrice(o.flatRate); |
| 496 unittest.expect(o.percentageRate, unittest.equals('foo')); | 496 unittest.expect(o.percentageRate, unittest.equals('foo')); |
| 497 unittest.expect(o.rateTable, unittest.equals('foo')); | 497 unittest.expect(o.rateTable, unittest.equals('foo')); |
| 498 } | 498 } |
| 499 buildCounterAccountShippingShippingServiceCalculationMethod--; | 499 buildCounterAccountShippingShippingServiceCalculationMethod--; |
| 500 } | 500 } |
| 501 | 501 |
| 502 buildUnnamed508() { | 502 buildUnnamed915() { |
| 503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); | 503 var o = new core.List<api.AccountShippingShippingServiceCostRule>(); |
| 504 o.add(buildAccountShippingShippingServiceCostRule()); | 504 o.add(buildAccountShippingShippingServiceCostRule()); |
| 505 o.add(buildAccountShippingShippingServiceCostRule()); | 505 o.add(buildAccountShippingShippingServiceCostRule()); |
| 506 return o; | 506 return o; |
| 507 } | 507 } |
| 508 | 508 |
| 509 checkUnnamed508(core.List<api.AccountShippingShippingServiceCostRule> o) { | 509 checkUnnamed915(core.List<api.AccountShippingShippingServiceCostRule> o) { |
| 510 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
| 511 checkAccountShippingShippingServiceCostRule(o[0]); | 511 checkAccountShippingShippingServiceCostRule(o[0]); |
| 512 checkAccountShippingShippingServiceCostRule(o[1]); | 512 checkAccountShippingShippingServiceCostRule(o[1]); |
| 513 } | 513 } |
| 514 | 514 |
| 515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; | 515 core.int buildCounterAccountShippingShippingServiceCostRule = 0; |
| 516 buildAccountShippingShippingServiceCostRule() { | 516 buildAccountShippingShippingServiceCostRule() { |
| 517 var o = new api.AccountShippingShippingServiceCostRule(); | 517 var o = new api.AccountShippingShippingServiceCostRule(); |
| 518 buildCounterAccountShippingShippingServiceCostRule++; | 518 buildCounterAccountShippingShippingServiceCostRule++; |
| 519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 519 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
| 520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; | 520 o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod()
; |
| 521 o.children = buildUnnamed508(); | 521 o.children = buildUnnamed915(); |
| 522 o.condition = buildAccountShippingCondition(); | 522 o.condition = buildAccountShippingCondition(); |
| 523 } | 523 } |
| 524 buildCounterAccountShippingShippingServiceCostRule--; | 524 buildCounterAccountShippingShippingServiceCostRule--; |
| 525 return o; | 525 return o; |
| 526 } | 526 } |
| 527 | 527 |
| 528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { | 528 checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
stRule o) { |
| 529 buildCounterAccountShippingShippingServiceCostRule++; | 529 buildCounterAccountShippingShippingServiceCostRule++; |
| 530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { | 530 if (buildCounterAccountShippingShippingServiceCostRule < 3) { |
| 531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); | 531 checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod); |
| 532 checkUnnamed508(o.children); | 532 checkUnnamed915(o.children); |
| 533 checkAccountShippingCondition(o.condition); | 533 checkAccountShippingCondition(o.condition); |
| 534 } | 534 } |
| 535 buildCounterAccountShippingShippingServiceCostRule--; | 535 buildCounterAccountShippingShippingServiceCostRule--; |
| 536 } | 536 } |
| 537 | 537 |
| 538 buildUnnamed509() { | 538 buildUnnamed916() { |
| 539 var o = new core.List<api.AccountStatusDataQualityIssue>(); | 539 var o = new core.List<api.AccountStatusDataQualityIssue>(); |
| 540 o.add(buildAccountStatusDataQualityIssue()); | 540 o.add(buildAccountStatusDataQualityIssue()); |
| 541 o.add(buildAccountStatusDataQualityIssue()); | 541 o.add(buildAccountStatusDataQualityIssue()); |
| 542 return o; | 542 return o; |
| 543 } | 543 } |
| 544 | 544 |
| 545 checkUnnamed509(core.List<api.AccountStatusDataQualityIssue> o) { | 545 checkUnnamed916(core.List<api.AccountStatusDataQualityIssue> o) { |
| 546 unittest.expect(o, unittest.hasLength(2)); | 546 unittest.expect(o, unittest.hasLength(2)); |
| 547 checkAccountStatusDataQualityIssue(o[0]); | 547 checkAccountStatusDataQualityIssue(o[0]); |
| 548 checkAccountStatusDataQualityIssue(o[1]); | 548 checkAccountStatusDataQualityIssue(o[1]); |
| 549 } | 549 } |
| 550 | 550 |
| 551 core.int buildCounterAccountStatus = 0; | 551 core.int buildCounterAccountStatus = 0; |
| 552 buildAccountStatus() { | 552 buildAccountStatus() { |
| 553 var o = new api.AccountStatus(); | 553 var o = new api.AccountStatus(); |
| 554 buildCounterAccountStatus++; | 554 buildCounterAccountStatus++; |
| 555 if (buildCounterAccountStatus < 3) { | 555 if (buildCounterAccountStatus < 3) { |
| 556 o.accountId = "foo"; | 556 o.accountId = "foo"; |
| 557 o.dataQualityIssues = buildUnnamed509(); | 557 o.dataQualityIssues = buildUnnamed916(); |
| 558 o.kind = "foo"; | 558 o.kind = "foo"; |
| 559 } | 559 } |
| 560 buildCounterAccountStatus--; | 560 buildCounterAccountStatus--; |
| 561 return o; | 561 return o; |
| 562 } | 562 } |
| 563 | 563 |
| 564 checkAccountStatus(api.AccountStatus o) { | 564 checkAccountStatus(api.AccountStatus o) { |
| 565 buildCounterAccountStatus++; | 565 buildCounterAccountStatus++; |
| 566 if (buildCounterAccountStatus < 3) { | 566 if (buildCounterAccountStatus < 3) { |
| 567 unittest.expect(o.accountId, unittest.equals('foo')); | 567 unittest.expect(o.accountId, unittest.equals('foo')); |
| 568 checkUnnamed509(o.dataQualityIssues); | 568 checkUnnamed916(o.dataQualityIssues); |
| 569 unittest.expect(o.kind, unittest.equals('foo')); | 569 unittest.expect(o.kind, unittest.equals('foo')); |
| 570 } | 570 } |
| 571 buildCounterAccountStatus--; | 571 buildCounterAccountStatus--; |
| 572 } | 572 } |
| 573 | 573 |
| 574 buildUnnamed510() { | 574 buildUnnamed917() { |
| 575 var o = new core.List<api.AccountStatusExampleItem>(); | 575 var o = new core.List<api.AccountStatusExampleItem>(); |
| 576 o.add(buildAccountStatusExampleItem()); | 576 o.add(buildAccountStatusExampleItem()); |
| 577 o.add(buildAccountStatusExampleItem()); | 577 o.add(buildAccountStatusExampleItem()); |
| 578 return o; | 578 return o; |
| 579 } | 579 } |
| 580 | 580 |
| 581 checkUnnamed510(core.List<api.AccountStatusExampleItem> o) { | 581 checkUnnamed917(core.List<api.AccountStatusExampleItem> o) { |
| 582 unittest.expect(o, unittest.hasLength(2)); | 582 unittest.expect(o, unittest.hasLength(2)); |
| 583 checkAccountStatusExampleItem(o[0]); | 583 checkAccountStatusExampleItem(o[0]); |
| 584 checkAccountStatusExampleItem(o[1]); | 584 checkAccountStatusExampleItem(o[1]); |
| 585 } | 585 } |
| 586 | 586 |
| 587 core.int buildCounterAccountStatusDataQualityIssue = 0; | 587 core.int buildCounterAccountStatusDataQualityIssue = 0; |
| 588 buildAccountStatusDataQualityIssue() { | 588 buildAccountStatusDataQualityIssue() { |
| 589 var o = new api.AccountStatusDataQualityIssue(); | 589 var o = new api.AccountStatusDataQualityIssue(); |
| 590 buildCounterAccountStatusDataQualityIssue++; | 590 buildCounterAccountStatusDataQualityIssue++; |
| 591 if (buildCounterAccountStatusDataQualityIssue < 3) { | 591 if (buildCounterAccountStatusDataQualityIssue < 3) { |
| 592 o.country = "foo"; | 592 o.country = "foo"; |
| 593 o.displayedValue = "foo"; | 593 o.displayedValue = "foo"; |
| 594 o.exampleItems = buildUnnamed510(); | 594 o.exampleItems = buildUnnamed917(); |
| 595 o.id = "foo"; | 595 o.id = "foo"; |
| 596 o.lastChecked = "foo"; | 596 o.lastChecked = "foo"; |
| 597 o.numItems = 42; | 597 o.numItems = 42; |
| 598 o.severity = "foo"; | 598 o.severity = "foo"; |
| 599 o.submittedValue = "foo"; | 599 o.submittedValue = "foo"; |
| 600 } | 600 } |
| 601 buildCounterAccountStatusDataQualityIssue--; | 601 buildCounterAccountStatusDataQualityIssue--; |
| 602 return o; | 602 return o; |
| 603 } | 603 } |
| 604 | 604 |
| 605 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { | 605 checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) { |
| 606 buildCounterAccountStatusDataQualityIssue++; | 606 buildCounterAccountStatusDataQualityIssue++; |
| 607 if (buildCounterAccountStatusDataQualityIssue < 3) { | 607 if (buildCounterAccountStatusDataQualityIssue < 3) { |
| 608 unittest.expect(o.country, unittest.equals('foo')); | 608 unittest.expect(o.country, unittest.equals('foo')); |
| 609 unittest.expect(o.displayedValue, unittest.equals('foo')); | 609 unittest.expect(o.displayedValue, unittest.equals('foo')); |
| 610 checkUnnamed510(o.exampleItems); | 610 checkUnnamed917(o.exampleItems); |
| 611 unittest.expect(o.id, unittest.equals('foo')); | 611 unittest.expect(o.id, unittest.equals('foo')); |
| 612 unittest.expect(o.lastChecked, unittest.equals('foo')); | 612 unittest.expect(o.lastChecked, unittest.equals('foo')); |
| 613 unittest.expect(o.numItems, unittest.equals(42)); | 613 unittest.expect(o.numItems, unittest.equals(42)); |
| 614 unittest.expect(o.severity, unittest.equals('foo')); | 614 unittest.expect(o.severity, unittest.equals('foo')); |
| 615 unittest.expect(o.submittedValue, unittest.equals('foo')); | 615 unittest.expect(o.submittedValue, unittest.equals('foo')); |
| 616 } | 616 } |
| 617 buildCounterAccountStatusDataQualityIssue--; | 617 buildCounterAccountStatusDataQualityIssue--; |
| 618 } | 618 } |
| 619 | 619 |
| 620 core.int buildCounterAccountStatusExampleItem = 0; | 620 core.int buildCounterAccountStatusExampleItem = 0; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 637 if (buildCounterAccountStatusExampleItem < 3) { | 637 if (buildCounterAccountStatusExampleItem < 3) { |
| 638 unittest.expect(o.itemId, unittest.equals('foo')); | 638 unittest.expect(o.itemId, unittest.equals('foo')); |
| 639 unittest.expect(o.link, unittest.equals('foo')); | 639 unittest.expect(o.link, unittest.equals('foo')); |
| 640 unittest.expect(o.submittedValue, unittest.equals('foo')); | 640 unittest.expect(o.submittedValue, unittest.equals('foo')); |
| 641 unittest.expect(o.title, unittest.equals('foo')); | 641 unittest.expect(o.title, unittest.equals('foo')); |
| 642 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); | 642 unittest.expect(o.valueOnLandingPage, unittest.equals('foo')); |
| 643 } | 643 } |
| 644 buildCounterAccountStatusExampleItem--; | 644 buildCounterAccountStatusExampleItem--; |
| 645 } | 645 } |
| 646 | 646 |
| 647 buildUnnamed511() { | 647 buildUnnamed918() { |
| 648 var o = new core.List<api.AccountTaxTaxRule>(); | 648 var o = new core.List<api.AccountTaxTaxRule>(); |
| 649 o.add(buildAccountTaxTaxRule()); | 649 o.add(buildAccountTaxTaxRule()); |
| 650 o.add(buildAccountTaxTaxRule()); | 650 o.add(buildAccountTaxTaxRule()); |
| 651 return o; | 651 return o; |
| 652 } | 652 } |
| 653 | 653 |
| 654 checkUnnamed511(core.List<api.AccountTaxTaxRule> o) { | 654 checkUnnamed918(core.List<api.AccountTaxTaxRule> o) { |
| 655 unittest.expect(o, unittest.hasLength(2)); | 655 unittest.expect(o, unittest.hasLength(2)); |
| 656 checkAccountTaxTaxRule(o[0]); | 656 checkAccountTaxTaxRule(o[0]); |
| 657 checkAccountTaxTaxRule(o[1]); | 657 checkAccountTaxTaxRule(o[1]); |
| 658 } | 658 } |
| 659 | 659 |
| 660 core.int buildCounterAccountTax = 0; | 660 core.int buildCounterAccountTax = 0; |
| 661 buildAccountTax() { | 661 buildAccountTax() { |
| 662 var o = new api.AccountTax(); | 662 var o = new api.AccountTax(); |
| 663 buildCounterAccountTax++; | 663 buildCounterAccountTax++; |
| 664 if (buildCounterAccountTax < 3) { | 664 if (buildCounterAccountTax < 3) { |
| 665 o.accountId = "foo"; | 665 o.accountId = "foo"; |
| 666 o.kind = "foo"; | 666 o.kind = "foo"; |
| 667 o.rules = buildUnnamed511(); | 667 o.rules = buildUnnamed918(); |
| 668 } | 668 } |
| 669 buildCounterAccountTax--; | 669 buildCounterAccountTax--; |
| 670 return o; | 670 return o; |
| 671 } | 671 } |
| 672 | 672 |
| 673 checkAccountTax(api.AccountTax o) { | 673 checkAccountTax(api.AccountTax o) { |
| 674 buildCounterAccountTax++; | 674 buildCounterAccountTax++; |
| 675 if (buildCounterAccountTax < 3) { | 675 if (buildCounterAccountTax < 3) { |
| 676 unittest.expect(o.accountId, unittest.equals('foo')); | 676 unittest.expect(o.accountId, unittest.equals('foo')); |
| 677 unittest.expect(o.kind, unittest.equals('foo')); | 677 unittest.expect(o.kind, unittest.equals('foo')); |
| 678 checkUnnamed511(o.rules); | 678 checkUnnamed918(o.rules); |
| 679 } | 679 } |
| 680 buildCounterAccountTax--; | 680 buildCounterAccountTax--; |
| 681 } | 681 } |
| 682 | 682 |
| 683 core.int buildCounterAccountTaxTaxRule = 0; | 683 core.int buildCounterAccountTaxTaxRule = 0; |
| 684 buildAccountTaxTaxRule() { | 684 buildAccountTaxTaxRule() { |
| 685 var o = new api.AccountTaxTaxRule(); | 685 var o = new api.AccountTaxTaxRule(); |
| 686 buildCounterAccountTaxTaxRule++; | 686 buildCounterAccountTaxTaxRule++; |
| 687 if (buildCounterAccountTaxTaxRule < 3) { | 687 if (buildCounterAccountTaxTaxRule < 3) { |
| 688 o.country = "foo"; | 688 o.country = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 | 721 |
| 722 checkAccountUser(api.AccountUser o) { | 722 checkAccountUser(api.AccountUser o) { |
| 723 buildCounterAccountUser++; | 723 buildCounterAccountUser++; |
| 724 if (buildCounterAccountUser < 3) { | 724 if (buildCounterAccountUser < 3) { |
| 725 unittest.expect(o.admin, unittest.isTrue); | 725 unittest.expect(o.admin, unittest.isTrue); |
| 726 unittest.expect(o.emailAddress, unittest.equals('foo')); | 726 unittest.expect(o.emailAddress, unittest.equals('foo')); |
| 727 } | 727 } |
| 728 buildCounterAccountUser--; | 728 buildCounterAccountUser--; |
| 729 } | 729 } |
| 730 | 730 |
| 731 buildUnnamed512() { | 731 buildUnnamed919() { |
| 732 var o = new core.List<api.AccountIdentifier>(); | 732 var o = new core.List<api.AccountIdentifier>(); |
| 733 o.add(buildAccountIdentifier()); | 733 o.add(buildAccountIdentifier()); |
| 734 o.add(buildAccountIdentifier()); | 734 o.add(buildAccountIdentifier()); |
| 735 return o; | 735 return o; |
| 736 } | 736 } |
| 737 | 737 |
| 738 checkUnnamed512(core.List<api.AccountIdentifier> o) { | 738 checkUnnamed919(core.List<api.AccountIdentifier> o) { |
| 739 unittest.expect(o, unittest.hasLength(2)); | 739 unittest.expect(o, unittest.hasLength(2)); |
| 740 checkAccountIdentifier(o[0]); | 740 checkAccountIdentifier(o[0]); |
| 741 checkAccountIdentifier(o[1]); | 741 checkAccountIdentifier(o[1]); |
| 742 } | 742 } |
| 743 | 743 |
| 744 core.int buildCounterAccountsAuthInfoResponse = 0; | 744 core.int buildCounterAccountsAuthInfoResponse = 0; |
| 745 buildAccountsAuthInfoResponse() { | 745 buildAccountsAuthInfoResponse() { |
| 746 var o = new api.AccountsAuthInfoResponse(); | 746 var o = new api.AccountsAuthInfoResponse(); |
| 747 buildCounterAccountsAuthInfoResponse++; | 747 buildCounterAccountsAuthInfoResponse++; |
| 748 if (buildCounterAccountsAuthInfoResponse < 3) { | 748 if (buildCounterAccountsAuthInfoResponse < 3) { |
| 749 o.accountIdentifiers = buildUnnamed512(); | 749 o.accountIdentifiers = buildUnnamed919(); |
| 750 o.kind = "foo"; | 750 o.kind = "foo"; |
| 751 } | 751 } |
| 752 buildCounterAccountsAuthInfoResponse--; | 752 buildCounterAccountsAuthInfoResponse--; |
| 753 return o; | 753 return o; |
| 754 } | 754 } |
| 755 | 755 |
| 756 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { | 756 checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) { |
| 757 buildCounterAccountsAuthInfoResponse++; | 757 buildCounterAccountsAuthInfoResponse++; |
| 758 if (buildCounterAccountsAuthInfoResponse < 3) { | 758 if (buildCounterAccountsAuthInfoResponse < 3) { |
| 759 checkUnnamed512(o.accountIdentifiers); | 759 checkUnnamed919(o.accountIdentifiers); |
| 760 unittest.expect(o.kind, unittest.equals('foo')); | 760 unittest.expect(o.kind, unittest.equals('foo')); |
| 761 } | 761 } |
| 762 buildCounterAccountsAuthInfoResponse--; | 762 buildCounterAccountsAuthInfoResponse--; |
| 763 } | 763 } |
| 764 | 764 |
| 765 buildUnnamed513() { | 765 buildUnnamed920() { |
| 766 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); | 766 var o = new core.List<api.AccountsCustomBatchRequestEntry>(); |
| 767 o.add(buildAccountsCustomBatchRequestEntry()); | 767 o.add(buildAccountsCustomBatchRequestEntry()); |
| 768 o.add(buildAccountsCustomBatchRequestEntry()); | 768 o.add(buildAccountsCustomBatchRequestEntry()); |
| 769 return o; | 769 return o; |
| 770 } | 770 } |
| 771 | 771 |
| 772 checkUnnamed513(core.List<api.AccountsCustomBatchRequestEntry> o) { | 772 checkUnnamed920(core.List<api.AccountsCustomBatchRequestEntry> o) { |
| 773 unittest.expect(o, unittest.hasLength(2)); | 773 unittest.expect(o, unittest.hasLength(2)); |
| 774 checkAccountsCustomBatchRequestEntry(o[0]); | 774 checkAccountsCustomBatchRequestEntry(o[0]); |
| 775 checkAccountsCustomBatchRequestEntry(o[1]); | 775 checkAccountsCustomBatchRequestEntry(o[1]); |
| 776 } | 776 } |
| 777 | 777 |
| 778 core.int buildCounterAccountsCustomBatchRequest = 0; | 778 core.int buildCounterAccountsCustomBatchRequest = 0; |
| 779 buildAccountsCustomBatchRequest() { | 779 buildAccountsCustomBatchRequest() { |
| 780 var o = new api.AccountsCustomBatchRequest(); | 780 var o = new api.AccountsCustomBatchRequest(); |
| 781 buildCounterAccountsCustomBatchRequest++; | 781 buildCounterAccountsCustomBatchRequest++; |
| 782 if (buildCounterAccountsCustomBatchRequest < 3) { | 782 if (buildCounterAccountsCustomBatchRequest < 3) { |
| 783 o.entries = buildUnnamed513(); | 783 o.entries = buildUnnamed920(); |
| 784 } | 784 } |
| 785 buildCounterAccountsCustomBatchRequest--; | 785 buildCounterAccountsCustomBatchRequest--; |
| 786 return o; | 786 return o; |
| 787 } | 787 } |
| 788 | 788 |
| 789 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { | 789 checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) { |
| 790 buildCounterAccountsCustomBatchRequest++; | 790 buildCounterAccountsCustomBatchRequest++; |
| 791 if (buildCounterAccountsCustomBatchRequest < 3) { | 791 if (buildCounterAccountsCustomBatchRequest < 3) { |
| 792 checkUnnamed513(o.entries); | 792 checkUnnamed920(o.entries); |
| 793 } | 793 } |
| 794 buildCounterAccountsCustomBatchRequest--; | 794 buildCounterAccountsCustomBatchRequest--; |
| 795 } | 795 } |
| 796 | 796 |
| 797 core.int buildCounterAccountsCustomBatchRequestEntry = 0; | 797 core.int buildCounterAccountsCustomBatchRequestEntry = 0; |
| 798 buildAccountsCustomBatchRequestEntry() { | 798 buildAccountsCustomBatchRequestEntry() { |
| 799 var o = new api.AccountsCustomBatchRequestEntry(); | 799 var o = new api.AccountsCustomBatchRequestEntry(); |
| 800 buildCounterAccountsCustomBatchRequestEntry++; | 800 buildCounterAccountsCustomBatchRequestEntry++; |
| 801 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 801 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
| 802 o.account = buildAccount(); | 802 o.account = buildAccount(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 814 if (buildCounterAccountsCustomBatchRequestEntry < 3) { | 814 if (buildCounterAccountsCustomBatchRequestEntry < 3) { |
| 815 checkAccount(o.account); | 815 checkAccount(o.account); |
| 816 unittest.expect(o.accountId, unittest.equals('foo')); | 816 unittest.expect(o.accountId, unittest.equals('foo')); |
| 817 unittest.expect(o.batchId, unittest.equals(42)); | 817 unittest.expect(o.batchId, unittest.equals(42)); |
| 818 unittest.expect(o.merchantId, unittest.equals('foo')); | 818 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 819 unittest.expect(o.method, unittest.equals('foo')); | 819 unittest.expect(o.method, unittest.equals('foo')); |
| 820 } | 820 } |
| 821 buildCounterAccountsCustomBatchRequestEntry--; | 821 buildCounterAccountsCustomBatchRequestEntry--; |
| 822 } | 822 } |
| 823 | 823 |
| 824 buildUnnamed514() { | 824 buildUnnamed921() { |
| 825 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); | 825 var o = new core.List<api.AccountsCustomBatchResponseEntry>(); |
| 826 o.add(buildAccountsCustomBatchResponseEntry()); | 826 o.add(buildAccountsCustomBatchResponseEntry()); |
| 827 o.add(buildAccountsCustomBatchResponseEntry()); | 827 o.add(buildAccountsCustomBatchResponseEntry()); |
| 828 return o; | 828 return o; |
| 829 } | 829 } |
| 830 | 830 |
| 831 checkUnnamed514(core.List<api.AccountsCustomBatchResponseEntry> o) { | 831 checkUnnamed921(core.List<api.AccountsCustomBatchResponseEntry> o) { |
| 832 unittest.expect(o, unittest.hasLength(2)); | 832 unittest.expect(o, unittest.hasLength(2)); |
| 833 checkAccountsCustomBatchResponseEntry(o[0]); | 833 checkAccountsCustomBatchResponseEntry(o[0]); |
| 834 checkAccountsCustomBatchResponseEntry(o[1]); | 834 checkAccountsCustomBatchResponseEntry(o[1]); |
| 835 } | 835 } |
| 836 | 836 |
| 837 core.int buildCounterAccountsCustomBatchResponse = 0; | 837 core.int buildCounterAccountsCustomBatchResponse = 0; |
| 838 buildAccountsCustomBatchResponse() { | 838 buildAccountsCustomBatchResponse() { |
| 839 var o = new api.AccountsCustomBatchResponse(); | 839 var o = new api.AccountsCustomBatchResponse(); |
| 840 buildCounterAccountsCustomBatchResponse++; | 840 buildCounterAccountsCustomBatchResponse++; |
| 841 if (buildCounterAccountsCustomBatchResponse < 3) { | 841 if (buildCounterAccountsCustomBatchResponse < 3) { |
| 842 o.entries = buildUnnamed514(); | 842 o.entries = buildUnnamed921(); |
| 843 o.kind = "foo"; | 843 o.kind = "foo"; |
| 844 } | 844 } |
| 845 buildCounterAccountsCustomBatchResponse--; | 845 buildCounterAccountsCustomBatchResponse--; |
| 846 return o; | 846 return o; |
| 847 } | 847 } |
| 848 | 848 |
| 849 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { | 849 checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) { |
| 850 buildCounterAccountsCustomBatchResponse++; | 850 buildCounterAccountsCustomBatchResponse++; |
| 851 if (buildCounterAccountsCustomBatchResponse < 3) { | 851 if (buildCounterAccountsCustomBatchResponse < 3) { |
| 852 checkUnnamed514(o.entries); | 852 checkUnnamed921(o.entries); |
| 853 unittest.expect(o.kind, unittest.equals('foo')); | 853 unittest.expect(o.kind, unittest.equals('foo')); |
| 854 } | 854 } |
| 855 buildCounterAccountsCustomBatchResponse--; | 855 buildCounterAccountsCustomBatchResponse--; |
| 856 } | 856 } |
| 857 | 857 |
| 858 core.int buildCounterAccountsCustomBatchResponseEntry = 0; | 858 core.int buildCounterAccountsCustomBatchResponseEntry = 0; |
| 859 buildAccountsCustomBatchResponseEntry() { | 859 buildAccountsCustomBatchResponseEntry() { |
| 860 var o = new api.AccountsCustomBatchResponseEntry(); | 860 var o = new api.AccountsCustomBatchResponseEntry(); |
| 861 buildCounterAccountsCustomBatchResponseEntry++; | 861 buildCounterAccountsCustomBatchResponseEntry++; |
| 862 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 862 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 873 buildCounterAccountsCustomBatchResponseEntry++; | 873 buildCounterAccountsCustomBatchResponseEntry++; |
| 874 if (buildCounterAccountsCustomBatchResponseEntry < 3) { | 874 if (buildCounterAccountsCustomBatchResponseEntry < 3) { |
| 875 checkAccount(o.account); | 875 checkAccount(o.account); |
| 876 unittest.expect(o.batchId, unittest.equals(42)); | 876 unittest.expect(o.batchId, unittest.equals(42)); |
| 877 checkErrors(o.errors); | 877 checkErrors(o.errors); |
| 878 unittest.expect(o.kind, unittest.equals('foo')); | 878 unittest.expect(o.kind, unittest.equals('foo')); |
| 879 } | 879 } |
| 880 buildCounterAccountsCustomBatchResponseEntry--; | 880 buildCounterAccountsCustomBatchResponseEntry--; |
| 881 } | 881 } |
| 882 | 882 |
| 883 buildUnnamed515() { | 883 buildUnnamed922() { |
| 884 var o = new core.List<api.Account>(); | 884 var o = new core.List<api.Account>(); |
| 885 o.add(buildAccount()); | 885 o.add(buildAccount()); |
| 886 o.add(buildAccount()); | 886 o.add(buildAccount()); |
| 887 return o; | 887 return o; |
| 888 } | 888 } |
| 889 | 889 |
| 890 checkUnnamed515(core.List<api.Account> o) { | 890 checkUnnamed922(core.List<api.Account> o) { |
| 891 unittest.expect(o, unittest.hasLength(2)); | 891 unittest.expect(o, unittest.hasLength(2)); |
| 892 checkAccount(o[0]); | 892 checkAccount(o[0]); |
| 893 checkAccount(o[1]); | 893 checkAccount(o[1]); |
| 894 } | 894 } |
| 895 | 895 |
| 896 core.int buildCounterAccountsListResponse = 0; | 896 core.int buildCounterAccountsListResponse = 0; |
| 897 buildAccountsListResponse() { | 897 buildAccountsListResponse() { |
| 898 var o = new api.AccountsListResponse(); | 898 var o = new api.AccountsListResponse(); |
| 899 buildCounterAccountsListResponse++; | 899 buildCounterAccountsListResponse++; |
| 900 if (buildCounterAccountsListResponse < 3) { | 900 if (buildCounterAccountsListResponse < 3) { |
| 901 o.kind = "foo"; | 901 o.kind = "foo"; |
| 902 o.nextPageToken = "foo"; | 902 o.nextPageToken = "foo"; |
| 903 o.resources = buildUnnamed515(); | 903 o.resources = buildUnnamed922(); |
| 904 } | 904 } |
| 905 buildCounterAccountsListResponse--; | 905 buildCounterAccountsListResponse--; |
| 906 return o; | 906 return o; |
| 907 } | 907 } |
| 908 | 908 |
| 909 checkAccountsListResponse(api.AccountsListResponse o) { | 909 checkAccountsListResponse(api.AccountsListResponse o) { |
| 910 buildCounterAccountsListResponse++; | 910 buildCounterAccountsListResponse++; |
| 911 if (buildCounterAccountsListResponse < 3) { | 911 if (buildCounterAccountsListResponse < 3) { |
| 912 unittest.expect(o.kind, unittest.equals('foo')); | 912 unittest.expect(o.kind, unittest.equals('foo')); |
| 913 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 913 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 914 checkUnnamed515(o.resources); | 914 checkUnnamed922(o.resources); |
| 915 } | 915 } |
| 916 buildCounterAccountsListResponse--; | 916 buildCounterAccountsListResponse--; |
| 917 } | 917 } |
| 918 | 918 |
| 919 buildUnnamed516() { | 919 buildUnnamed923() { |
| 920 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); | 920 var o = new core.List<api.AccountshippingCustomBatchRequestEntry>(); |
| 921 o.add(buildAccountshippingCustomBatchRequestEntry()); | 921 o.add(buildAccountshippingCustomBatchRequestEntry()); |
| 922 o.add(buildAccountshippingCustomBatchRequestEntry()); | 922 o.add(buildAccountshippingCustomBatchRequestEntry()); |
| 923 return o; | 923 return o; |
| 924 } | 924 } |
| 925 | 925 |
| 926 checkUnnamed516(core.List<api.AccountshippingCustomBatchRequestEntry> o) { | 926 checkUnnamed923(core.List<api.AccountshippingCustomBatchRequestEntry> o) { |
| 927 unittest.expect(o, unittest.hasLength(2)); | 927 unittest.expect(o, unittest.hasLength(2)); |
| 928 checkAccountshippingCustomBatchRequestEntry(o[0]); | 928 checkAccountshippingCustomBatchRequestEntry(o[0]); |
| 929 checkAccountshippingCustomBatchRequestEntry(o[1]); | 929 checkAccountshippingCustomBatchRequestEntry(o[1]); |
| 930 } | 930 } |
| 931 | 931 |
| 932 core.int buildCounterAccountshippingCustomBatchRequest = 0; | 932 core.int buildCounterAccountshippingCustomBatchRequest = 0; |
| 933 buildAccountshippingCustomBatchRequest() { | 933 buildAccountshippingCustomBatchRequest() { |
| 934 var o = new api.AccountshippingCustomBatchRequest(); | 934 var o = new api.AccountshippingCustomBatchRequest(); |
| 935 buildCounterAccountshippingCustomBatchRequest++; | 935 buildCounterAccountshippingCustomBatchRequest++; |
| 936 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 936 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
| 937 o.entries = buildUnnamed516(); | 937 o.entries = buildUnnamed923(); |
| 938 } | 938 } |
| 939 buildCounterAccountshippingCustomBatchRequest--; | 939 buildCounterAccountshippingCustomBatchRequest--; |
| 940 return o; | 940 return o; |
| 941 } | 941 } |
| 942 | 942 |
| 943 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ | 943 checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o)
{ |
| 944 buildCounterAccountshippingCustomBatchRequest++; | 944 buildCounterAccountshippingCustomBatchRequest++; |
| 945 if (buildCounterAccountshippingCustomBatchRequest < 3) { | 945 if (buildCounterAccountshippingCustomBatchRequest < 3) { |
| 946 checkUnnamed516(o.entries); | 946 checkUnnamed923(o.entries); |
| 947 } | 947 } |
| 948 buildCounterAccountshippingCustomBatchRequest--; | 948 buildCounterAccountshippingCustomBatchRequest--; |
| 949 } | 949 } |
| 950 | 950 |
| 951 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; | 951 core.int buildCounterAccountshippingCustomBatchRequestEntry = 0; |
| 952 buildAccountshippingCustomBatchRequestEntry() { | 952 buildAccountshippingCustomBatchRequestEntry() { |
| 953 var o = new api.AccountshippingCustomBatchRequestEntry(); | 953 var o = new api.AccountshippingCustomBatchRequestEntry(); |
| 954 buildCounterAccountshippingCustomBatchRequestEntry++; | 954 buildCounterAccountshippingCustomBatchRequestEntry++; |
| 955 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 955 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
| 956 o.accountId = "foo"; | 956 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 968 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { | 968 if (buildCounterAccountshippingCustomBatchRequestEntry < 3) { |
| 969 unittest.expect(o.accountId, unittest.equals('foo')); | 969 unittest.expect(o.accountId, unittest.equals('foo')); |
| 970 checkAccountShipping(o.accountShipping); | 970 checkAccountShipping(o.accountShipping); |
| 971 unittest.expect(o.batchId, unittest.equals(42)); | 971 unittest.expect(o.batchId, unittest.equals(42)); |
| 972 unittest.expect(o.merchantId, unittest.equals('foo')); | 972 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 973 unittest.expect(o.method, unittest.equals('foo')); | 973 unittest.expect(o.method, unittest.equals('foo')); |
| 974 } | 974 } |
| 975 buildCounterAccountshippingCustomBatchRequestEntry--; | 975 buildCounterAccountshippingCustomBatchRequestEntry--; |
| 976 } | 976 } |
| 977 | 977 |
| 978 buildUnnamed517() { | 978 buildUnnamed924() { |
| 979 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); | 979 var o = new core.List<api.AccountshippingCustomBatchResponseEntry>(); |
| 980 o.add(buildAccountshippingCustomBatchResponseEntry()); | 980 o.add(buildAccountshippingCustomBatchResponseEntry()); |
| 981 o.add(buildAccountshippingCustomBatchResponseEntry()); | 981 o.add(buildAccountshippingCustomBatchResponseEntry()); |
| 982 return o; | 982 return o; |
| 983 } | 983 } |
| 984 | 984 |
| 985 checkUnnamed517(core.List<api.AccountshippingCustomBatchResponseEntry> o) { | 985 checkUnnamed924(core.List<api.AccountshippingCustomBatchResponseEntry> o) { |
| 986 unittest.expect(o, unittest.hasLength(2)); | 986 unittest.expect(o, unittest.hasLength(2)); |
| 987 checkAccountshippingCustomBatchResponseEntry(o[0]); | 987 checkAccountshippingCustomBatchResponseEntry(o[0]); |
| 988 checkAccountshippingCustomBatchResponseEntry(o[1]); | 988 checkAccountshippingCustomBatchResponseEntry(o[1]); |
| 989 } | 989 } |
| 990 | 990 |
| 991 core.int buildCounterAccountshippingCustomBatchResponse = 0; | 991 core.int buildCounterAccountshippingCustomBatchResponse = 0; |
| 992 buildAccountshippingCustomBatchResponse() { | 992 buildAccountshippingCustomBatchResponse() { |
| 993 var o = new api.AccountshippingCustomBatchResponse(); | 993 var o = new api.AccountshippingCustomBatchResponse(); |
| 994 buildCounterAccountshippingCustomBatchResponse++; | 994 buildCounterAccountshippingCustomBatchResponse++; |
| 995 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 995 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
| 996 o.entries = buildUnnamed517(); | 996 o.entries = buildUnnamed924(); |
| 997 o.kind = "foo"; | 997 o.kind = "foo"; |
| 998 } | 998 } |
| 999 buildCounterAccountshippingCustomBatchResponse--; | 999 buildCounterAccountshippingCustomBatchResponse--; |
| 1000 return o; | 1000 return o; |
| 1001 } | 1001 } |
| 1002 | 1002 |
| 1003 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { | 1003 checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o
) { |
| 1004 buildCounterAccountshippingCustomBatchResponse++; | 1004 buildCounterAccountshippingCustomBatchResponse++; |
| 1005 if (buildCounterAccountshippingCustomBatchResponse < 3) { | 1005 if (buildCounterAccountshippingCustomBatchResponse < 3) { |
| 1006 checkUnnamed517(o.entries); | 1006 checkUnnamed924(o.entries); |
| 1007 unittest.expect(o.kind, unittest.equals('foo')); | 1007 unittest.expect(o.kind, unittest.equals('foo')); |
| 1008 } | 1008 } |
| 1009 buildCounterAccountshippingCustomBatchResponse--; | 1009 buildCounterAccountshippingCustomBatchResponse--; |
| 1010 } | 1010 } |
| 1011 | 1011 |
| 1012 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; | 1012 core.int buildCounterAccountshippingCustomBatchResponseEntry = 0; |
| 1013 buildAccountshippingCustomBatchResponseEntry() { | 1013 buildAccountshippingCustomBatchResponseEntry() { |
| 1014 var o = new api.AccountshippingCustomBatchResponseEntry(); | 1014 var o = new api.AccountshippingCustomBatchResponseEntry(); |
| 1015 buildCounterAccountshippingCustomBatchResponseEntry++; | 1015 buildCounterAccountshippingCustomBatchResponseEntry++; |
| 1016 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1016 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1027 buildCounterAccountshippingCustomBatchResponseEntry++; | 1027 buildCounterAccountshippingCustomBatchResponseEntry++; |
| 1028 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { | 1028 if (buildCounterAccountshippingCustomBatchResponseEntry < 3) { |
| 1029 checkAccountShipping(o.accountShipping); | 1029 checkAccountShipping(o.accountShipping); |
| 1030 unittest.expect(o.batchId, unittest.equals(42)); | 1030 unittest.expect(o.batchId, unittest.equals(42)); |
| 1031 checkErrors(o.errors); | 1031 checkErrors(o.errors); |
| 1032 unittest.expect(o.kind, unittest.equals('foo')); | 1032 unittest.expect(o.kind, unittest.equals('foo')); |
| 1033 } | 1033 } |
| 1034 buildCounterAccountshippingCustomBatchResponseEntry--; | 1034 buildCounterAccountshippingCustomBatchResponseEntry--; |
| 1035 } | 1035 } |
| 1036 | 1036 |
| 1037 buildUnnamed518() { | 1037 buildUnnamed925() { |
| 1038 var o = new core.List<api.AccountShipping>(); | 1038 var o = new core.List<api.AccountShipping>(); |
| 1039 o.add(buildAccountShipping()); | 1039 o.add(buildAccountShipping()); |
| 1040 o.add(buildAccountShipping()); | 1040 o.add(buildAccountShipping()); |
| 1041 return o; | 1041 return o; |
| 1042 } | 1042 } |
| 1043 | 1043 |
| 1044 checkUnnamed518(core.List<api.AccountShipping> o) { | 1044 checkUnnamed925(core.List<api.AccountShipping> o) { |
| 1045 unittest.expect(o, unittest.hasLength(2)); | 1045 unittest.expect(o, unittest.hasLength(2)); |
| 1046 checkAccountShipping(o[0]); | 1046 checkAccountShipping(o[0]); |
| 1047 checkAccountShipping(o[1]); | 1047 checkAccountShipping(o[1]); |
| 1048 } | 1048 } |
| 1049 | 1049 |
| 1050 core.int buildCounterAccountshippingListResponse = 0; | 1050 core.int buildCounterAccountshippingListResponse = 0; |
| 1051 buildAccountshippingListResponse() { | 1051 buildAccountshippingListResponse() { |
| 1052 var o = new api.AccountshippingListResponse(); | 1052 var o = new api.AccountshippingListResponse(); |
| 1053 buildCounterAccountshippingListResponse++; | 1053 buildCounterAccountshippingListResponse++; |
| 1054 if (buildCounterAccountshippingListResponse < 3) { | 1054 if (buildCounterAccountshippingListResponse < 3) { |
| 1055 o.kind = "foo"; | 1055 o.kind = "foo"; |
| 1056 o.nextPageToken = "foo"; | 1056 o.nextPageToken = "foo"; |
| 1057 o.resources = buildUnnamed518(); | 1057 o.resources = buildUnnamed925(); |
| 1058 } | 1058 } |
| 1059 buildCounterAccountshippingListResponse--; | 1059 buildCounterAccountshippingListResponse--; |
| 1060 return o; | 1060 return o; |
| 1061 } | 1061 } |
| 1062 | 1062 |
| 1063 checkAccountshippingListResponse(api.AccountshippingListResponse o) { | 1063 checkAccountshippingListResponse(api.AccountshippingListResponse o) { |
| 1064 buildCounterAccountshippingListResponse++; | 1064 buildCounterAccountshippingListResponse++; |
| 1065 if (buildCounterAccountshippingListResponse < 3) { | 1065 if (buildCounterAccountshippingListResponse < 3) { |
| 1066 unittest.expect(o.kind, unittest.equals('foo')); | 1066 unittest.expect(o.kind, unittest.equals('foo')); |
| 1067 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1067 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1068 checkUnnamed518(o.resources); | 1068 checkUnnamed925(o.resources); |
| 1069 } | 1069 } |
| 1070 buildCounterAccountshippingListResponse--; | 1070 buildCounterAccountshippingListResponse--; |
| 1071 } | 1071 } |
| 1072 | 1072 |
| 1073 buildUnnamed519() { | 1073 buildUnnamed926() { |
| 1074 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); | 1074 var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>(); |
| 1075 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1075 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
| 1076 o.add(buildAccountstatusesCustomBatchRequestEntry()); | 1076 o.add(buildAccountstatusesCustomBatchRequestEntry()); |
| 1077 return o; | 1077 return o; |
| 1078 } | 1078 } |
| 1079 | 1079 |
| 1080 checkUnnamed519(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { | 1080 checkUnnamed926(core.List<api.AccountstatusesCustomBatchRequestEntry> o) { |
| 1081 unittest.expect(o, unittest.hasLength(2)); | 1081 unittest.expect(o, unittest.hasLength(2)); |
| 1082 checkAccountstatusesCustomBatchRequestEntry(o[0]); | 1082 checkAccountstatusesCustomBatchRequestEntry(o[0]); |
| 1083 checkAccountstatusesCustomBatchRequestEntry(o[1]); | 1083 checkAccountstatusesCustomBatchRequestEntry(o[1]); |
| 1084 } | 1084 } |
| 1085 | 1085 |
| 1086 core.int buildCounterAccountstatusesCustomBatchRequest = 0; | 1086 core.int buildCounterAccountstatusesCustomBatchRequest = 0; |
| 1087 buildAccountstatusesCustomBatchRequest() { | 1087 buildAccountstatusesCustomBatchRequest() { |
| 1088 var o = new api.AccountstatusesCustomBatchRequest(); | 1088 var o = new api.AccountstatusesCustomBatchRequest(); |
| 1089 buildCounterAccountstatusesCustomBatchRequest++; | 1089 buildCounterAccountstatusesCustomBatchRequest++; |
| 1090 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1090 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
| 1091 o.entries = buildUnnamed519(); | 1091 o.entries = buildUnnamed926(); |
| 1092 } | 1092 } |
| 1093 buildCounterAccountstatusesCustomBatchRequest--; | 1093 buildCounterAccountstatusesCustomBatchRequest--; |
| 1094 return o; | 1094 return o; |
| 1095 } | 1095 } |
| 1096 | 1096 |
| 1097 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ | 1097 checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o)
{ |
| 1098 buildCounterAccountstatusesCustomBatchRequest++; | 1098 buildCounterAccountstatusesCustomBatchRequest++; |
| 1099 if (buildCounterAccountstatusesCustomBatchRequest < 3) { | 1099 if (buildCounterAccountstatusesCustomBatchRequest < 3) { |
| 1100 checkUnnamed519(o.entries); | 1100 checkUnnamed926(o.entries); |
| 1101 } | 1101 } |
| 1102 buildCounterAccountstatusesCustomBatchRequest--; | 1102 buildCounterAccountstatusesCustomBatchRequest--; |
| 1103 } | 1103 } |
| 1104 | 1104 |
| 1105 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; | 1105 core.int buildCounterAccountstatusesCustomBatchRequestEntry = 0; |
| 1106 buildAccountstatusesCustomBatchRequestEntry() { | 1106 buildAccountstatusesCustomBatchRequestEntry() { |
| 1107 var o = new api.AccountstatusesCustomBatchRequestEntry(); | 1107 var o = new api.AccountstatusesCustomBatchRequestEntry(); |
| 1108 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1108 buildCounterAccountstatusesCustomBatchRequestEntry++; |
| 1109 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1109 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
| 1110 o.accountId = "foo"; | 1110 o.accountId = "foo"; |
| 1111 o.batchId = 42; | 1111 o.batchId = 42; |
| 1112 o.merchantId = "foo"; | 1112 o.merchantId = "foo"; |
| 1113 o.method = "foo"; | 1113 o.method = "foo"; |
| 1114 } | 1114 } |
| 1115 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1115 buildCounterAccountstatusesCustomBatchRequestEntry--; |
| 1116 return o; | 1116 return o; |
| 1117 } | 1117 } |
| 1118 | 1118 |
| 1119 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { | 1119 checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
tEntry o) { |
| 1120 buildCounterAccountstatusesCustomBatchRequestEntry++; | 1120 buildCounterAccountstatusesCustomBatchRequestEntry++; |
| 1121 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { | 1121 if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) { |
| 1122 unittest.expect(o.accountId, unittest.equals('foo')); | 1122 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1123 unittest.expect(o.batchId, unittest.equals(42)); | 1123 unittest.expect(o.batchId, unittest.equals(42)); |
| 1124 unittest.expect(o.merchantId, unittest.equals('foo')); | 1124 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1125 unittest.expect(o.method, unittest.equals('foo')); | 1125 unittest.expect(o.method, unittest.equals('foo')); |
| 1126 } | 1126 } |
| 1127 buildCounterAccountstatusesCustomBatchRequestEntry--; | 1127 buildCounterAccountstatusesCustomBatchRequestEntry--; |
| 1128 } | 1128 } |
| 1129 | 1129 |
| 1130 buildUnnamed520() { | 1130 buildUnnamed927() { |
| 1131 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); | 1131 var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>(); |
| 1132 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1132 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
| 1133 o.add(buildAccountstatusesCustomBatchResponseEntry()); | 1133 o.add(buildAccountstatusesCustomBatchResponseEntry()); |
| 1134 return o; | 1134 return o; |
| 1135 } | 1135 } |
| 1136 | 1136 |
| 1137 checkUnnamed520(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { | 1137 checkUnnamed927(core.List<api.AccountstatusesCustomBatchResponseEntry> o) { |
| 1138 unittest.expect(o, unittest.hasLength(2)); | 1138 unittest.expect(o, unittest.hasLength(2)); |
| 1139 checkAccountstatusesCustomBatchResponseEntry(o[0]); | 1139 checkAccountstatusesCustomBatchResponseEntry(o[0]); |
| 1140 checkAccountstatusesCustomBatchResponseEntry(o[1]); | 1140 checkAccountstatusesCustomBatchResponseEntry(o[1]); |
| 1141 } | 1141 } |
| 1142 | 1142 |
| 1143 core.int buildCounterAccountstatusesCustomBatchResponse = 0; | 1143 core.int buildCounterAccountstatusesCustomBatchResponse = 0; |
| 1144 buildAccountstatusesCustomBatchResponse() { | 1144 buildAccountstatusesCustomBatchResponse() { |
| 1145 var o = new api.AccountstatusesCustomBatchResponse(); | 1145 var o = new api.AccountstatusesCustomBatchResponse(); |
| 1146 buildCounterAccountstatusesCustomBatchResponse++; | 1146 buildCounterAccountstatusesCustomBatchResponse++; |
| 1147 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1147 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
| 1148 o.entries = buildUnnamed520(); | 1148 o.entries = buildUnnamed927(); |
| 1149 o.kind = "foo"; | 1149 o.kind = "foo"; |
| 1150 } | 1150 } |
| 1151 buildCounterAccountstatusesCustomBatchResponse--; | 1151 buildCounterAccountstatusesCustomBatchResponse--; |
| 1152 return o; | 1152 return o; |
| 1153 } | 1153 } |
| 1154 | 1154 |
| 1155 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { | 1155 checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o
) { |
| 1156 buildCounterAccountstatusesCustomBatchResponse++; | 1156 buildCounterAccountstatusesCustomBatchResponse++; |
| 1157 if (buildCounterAccountstatusesCustomBatchResponse < 3) { | 1157 if (buildCounterAccountstatusesCustomBatchResponse < 3) { |
| 1158 checkUnnamed520(o.entries); | 1158 checkUnnamed927(o.entries); |
| 1159 unittest.expect(o.kind, unittest.equals('foo')); | 1159 unittest.expect(o.kind, unittest.equals('foo')); |
| 1160 } | 1160 } |
| 1161 buildCounterAccountstatusesCustomBatchResponse--; | 1161 buildCounterAccountstatusesCustomBatchResponse--; |
| 1162 } | 1162 } |
| 1163 | 1163 |
| 1164 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; | 1164 core.int buildCounterAccountstatusesCustomBatchResponseEntry = 0; |
| 1165 buildAccountstatusesCustomBatchResponseEntry() { | 1165 buildAccountstatusesCustomBatchResponseEntry() { |
| 1166 var o = new api.AccountstatusesCustomBatchResponseEntry(); | 1166 var o = new api.AccountstatusesCustomBatchResponseEntry(); |
| 1167 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1167 buildCounterAccountstatusesCustomBatchResponseEntry++; |
| 1168 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1168 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
| 1169 o.accountStatus = buildAccountStatus(); | 1169 o.accountStatus = buildAccountStatus(); |
| 1170 o.batchId = 42; | 1170 o.batchId = 42; |
| 1171 o.errors = buildErrors(); | 1171 o.errors = buildErrors(); |
| 1172 } | 1172 } |
| 1173 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1173 buildCounterAccountstatusesCustomBatchResponseEntry--; |
| 1174 return o; | 1174 return o; |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { | 1177 checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
nseEntry o) { |
| 1178 buildCounterAccountstatusesCustomBatchResponseEntry++; | 1178 buildCounterAccountstatusesCustomBatchResponseEntry++; |
| 1179 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { | 1179 if (buildCounterAccountstatusesCustomBatchResponseEntry < 3) { |
| 1180 checkAccountStatus(o.accountStatus); | 1180 checkAccountStatus(o.accountStatus); |
| 1181 unittest.expect(o.batchId, unittest.equals(42)); | 1181 unittest.expect(o.batchId, unittest.equals(42)); |
| 1182 checkErrors(o.errors); | 1182 checkErrors(o.errors); |
| 1183 } | 1183 } |
| 1184 buildCounterAccountstatusesCustomBatchResponseEntry--; | 1184 buildCounterAccountstatusesCustomBatchResponseEntry--; |
| 1185 } | 1185 } |
| 1186 | 1186 |
| 1187 buildUnnamed521() { | 1187 buildUnnamed928() { |
| 1188 var o = new core.List<api.AccountStatus>(); | 1188 var o = new core.List<api.AccountStatus>(); |
| 1189 o.add(buildAccountStatus()); | 1189 o.add(buildAccountStatus()); |
| 1190 o.add(buildAccountStatus()); | 1190 o.add(buildAccountStatus()); |
| 1191 return o; | 1191 return o; |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 checkUnnamed521(core.List<api.AccountStatus> o) { | 1194 checkUnnamed928(core.List<api.AccountStatus> o) { |
| 1195 unittest.expect(o, unittest.hasLength(2)); | 1195 unittest.expect(o, unittest.hasLength(2)); |
| 1196 checkAccountStatus(o[0]); | 1196 checkAccountStatus(o[0]); |
| 1197 checkAccountStatus(o[1]); | 1197 checkAccountStatus(o[1]); |
| 1198 } | 1198 } |
| 1199 | 1199 |
| 1200 core.int buildCounterAccountstatusesListResponse = 0; | 1200 core.int buildCounterAccountstatusesListResponse = 0; |
| 1201 buildAccountstatusesListResponse() { | 1201 buildAccountstatusesListResponse() { |
| 1202 var o = new api.AccountstatusesListResponse(); | 1202 var o = new api.AccountstatusesListResponse(); |
| 1203 buildCounterAccountstatusesListResponse++; | 1203 buildCounterAccountstatusesListResponse++; |
| 1204 if (buildCounterAccountstatusesListResponse < 3) { | 1204 if (buildCounterAccountstatusesListResponse < 3) { |
| 1205 o.kind = "foo"; | 1205 o.kind = "foo"; |
| 1206 o.nextPageToken = "foo"; | 1206 o.nextPageToken = "foo"; |
| 1207 o.resources = buildUnnamed521(); | 1207 o.resources = buildUnnamed928(); |
| 1208 } | 1208 } |
| 1209 buildCounterAccountstatusesListResponse--; | 1209 buildCounterAccountstatusesListResponse--; |
| 1210 return o; | 1210 return o; |
| 1211 } | 1211 } |
| 1212 | 1212 |
| 1213 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { | 1213 checkAccountstatusesListResponse(api.AccountstatusesListResponse o) { |
| 1214 buildCounterAccountstatusesListResponse++; | 1214 buildCounterAccountstatusesListResponse++; |
| 1215 if (buildCounterAccountstatusesListResponse < 3) { | 1215 if (buildCounterAccountstatusesListResponse < 3) { |
| 1216 unittest.expect(o.kind, unittest.equals('foo')); | 1216 unittest.expect(o.kind, unittest.equals('foo')); |
| 1217 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1217 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1218 checkUnnamed521(o.resources); | 1218 checkUnnamed928(o.resources); |
| 1219 } | 1219 } |
| 1220 buildCounterAccountstatusesListResponse--; | 1220 buildCounterAccountstatusesListResponse--; |
| 1221 } | 1221 } |
| 1222 | 1222 |
| 1223 buildUnnamed522() { | 1223 buildUnnamed929() { |
| 1224 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); | 1224 var o = new core.List<api.AccounttaxCustomBatchRequestEntry>(); |
| 1225 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1225 o.add(buildAccounttaxCustomBatchRequestEntry()); |
| 1226 o.add(buildAccounttaxCustomBatchRequestEntry()); | 1226 o.add(buildAccounttaxCustomBatchRequestEntry()); |
| 1227 return o; | 1227 return o; |
| 1228 } | 1228 } |
| 1229 | 1229 |
| 1230 checkUnnamed522(core.List<api.AccounttaxCustomBatchRequestEntry> o) { | 1230 checkUnnamed929(core.List<api.AccounttaxCustomBatchRequestEntry> o) { |
| 1231 unittest.expect(o, unittest.hasLength(2)); | 1231 unittest.expect(o, unittest.hasLength(2)); |
| 1232 checkAccounttaxCustomBatchRequestEntry(o[0]); | 1232 checkAccounttaxCustomBatchRequestEntry(o[0]); |
| 1233 checkAccounttaxCustomBatchRequestEntry(o[1]); | 1233 checkAccounttaxCustomBatchRequestEntry(o[1]); |
| 1234 } | 1234 } |
| 1235 | 1235 |
| 1236 core.int buildCounterAccounttaxCustomBatchRequest = 0; | 1236 core.int buildCounterAccounttaxCustomBatchRequest = 0; |
| 1237 buildAccounttaxCustomBatchRequest() { | 1237 buildAccounttaxCustomBatchRequest() { |
| 1238 var o = new api.AccounttaxCustomBatchRequest(); | 1238 var o = new api.AccounttaxCustomBatchRequest(); |
| 1239 buildCounterAccounttaxCustomBatchRequest++; | 1239 buildCounterAccounttaxCustomBatchRequest++; |
| 1240 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1240 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
| 1241 o.entries = buildUnnamed522(); | 1241 o.entries = buildUnnamed929(); |
| 1242 } | 1242 } |
| 1243 buildCounterAccounttaxCustomBatchRequest--; | 1243 buildCounterAccounttaxCustomBatchRequest--; |
| 1244 return o; | 1244 return o; |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { | 1247 checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) { |
| 1248 buildCounterAccounttaxCustomBatchRequest++; | 1248 buildCounterAccounttaxCustomBatchRequest++; |
| 1249 if (buildCounterAccounttaxCustomBatchRequest < 3) { | 1249 if (buildCounterAccounttaxCustomBatchRequest < 3) { |
| 1250 checkUnnamed522(o.entries); | 1250 checkUnnamed929(o.entries); |
| 1251 } | 1251 } |
| 1252 buildCounterAccounttaxCustomBatchRequest--; | 1252 buildCounterAccounttaxCustomBatchRequest--; |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; | 1255 core.int buildCounterAccounttaxCustomBatchRequestEntry = 0; |
| 1256 buildAccounttaxCustomBatchRequestEntry() { | 1256 buildAccounttaxCustomBatchRequestEntry() { |
| 1257 var o = new api.AccounttaxCustomBatchRequestEntry(); | 1257 var o = new api.AccounttaxCustomBatchRequestEntry(); |
| 1258 buildCounterAccounttaxCustomBatchRequestEntry++; | 1258 buildCounterAccounttaxCustomBatchRequestEntry++; |
| 1259 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1259 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
| 1260 o.accountId = "foo"; | 1260 o.accountId = "foo"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1272 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { | 1272 if (buildCounterAccounttaxCustomBatchRequestEntry < 3) { |
| 1273 unittest.expect(o.accountId, unittest.equals('foo')); | 1273 unittest.expect(o.accountId, unittest.equals('foo')); |
| 1274 checkAccountTax(o.accountTax); | 1274 checkAccountTax(o.accountTax); |
| 1275 unittest.expect(o.batchId, unittest.equals(42)); | 1275 unittest.expect(o.batchId, unittest.equals(42)); |
| 1276 unittest.expect(o.merchantId, unittest.equals('foo')); | 1276 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1277 unittest.expect(o.method, unittest.equals('foo')); | 1277 unittest.expect(o.method, unittest.equals('foo')); |
| 1278 } | 1278 } |
| 1279 buildCounterAccounttaxCustomBatchRequestEntry--; | 1279 buildCounterAccounttaxCustomBatchRequestEntry--; |
| 1280 } | 1280 } |
| 1281 | 1281 |
| 1282 buildUnnamed523() { | 1282 buildUnnamed930() { |
| 1283 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); | 1283 var o = new core.List<api.AccounttaxCustomBatchResponseEntry>(); |
| 1284 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1284 o.add(buildAccounttaxCustomBatchResponseEntry()); |
| 1285 o.add(buildAccounttaxCustomBatchResponseEntry()); | 1285 o.add(buildAccounttaxCustomBatchResponseEntry()); |
| 1286 return o; | 1286 return o; |
| 1287 } | 1287 } |
| 1288 | 1288 |
| 1289 checkUnnamed523(core.List<api.AccounttaxCustomBatchResponseEntry> o) { | 1289 checkUnnamed930(core.List<api.AccounttaxCustomBatchResponseEntry> o) { |
| 1290 unittest.expect(o, unittest.hasLength(2)); | 1290 unittest.expect(o, unittest.hasLength(2)); |
| 1291 checkAccounttaxCustomBatchResponseEntry(o[0]); | 1291 checkAccounttaxCustomBatchResponseEntry(o[0]); |
| 1292 checkAccounttaxCustomBatchResponseEntry(o[1]); | 1292 checkAccounttaxCustomBatchResponseEntry(o[1]); |
| 1293 } | 1293 } |
| 1294 | 1294 |
| 1295 core.int buildCounterAccounttaxCustomBatchResponse = 0; | 1295 core.int buildCounterAccounttaxCustomBatchResponse = 0; |
| 1296 buildAccounttaxCustomBatchResponse() { | 1296 buildAccounttaxCustomBatchResponse() { |
| 1297 var o = new api.AccounttaxCustomBatchResponse(); | 1297 var o = new api.AccounttaxCustomBatchResponse(); |
| 1298 buildCounterAccounttaxCustomBatchResponse++; | 1298 buildCounterAccounttaxCustomBatchResponse++; |
| 1299 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1299 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
| 1300 o.entries = buildUnnamed523(); | 1300 o.entries = buildUnnamed930(); |
| 1301 o.kind = "foo"; | 1301 o.kind = "foo"; |
| 1302 } | 1302 } |
| 1303 buildCounterAccounttaxCustomBatchResponse--; | 1303 buildCounterAccounttaxCustomBatchResponse--; |
| 1304 return o; | 1304 return o; |
| 1305 } | 1305 } |
| 1306 | 1306 |
| 1307 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { | 1307 checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) { |
| 1308 buildCounterAccounttaxCustomBatchResponse++; | 1308 buildCounterAccounttaxCustomBatchResponse++; |
| 1309 if (buildCounterAccounttaxCustomBatchResponse < 3) { | 1309 if (buildCounterAccounttaxCustomBatchResponse < 3) { |
| 1310 checkUnnamed523(o.entries); | 1310 checkUnnamed930(o.entries); |
| 1311 unittest.expect(o.kind, unittest.equals('foo')); | 1311 unittest.expect(o.kind, unittest.equals('foo')); |
| 1312 } | 1312 } |
| 1313 buildCounterAccounttaxCustomBatchResponse--; | 1313 buildCounterAccounttaxCustomBatchResponse--; |
| 1314 } | 1314 } |
| 1315 | 1315 |
| 1316 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; | 1316 core.int buildCounterAccounttaxCustomBatchResponseEntry = 0; |
| 1317 buildAccounttaxCustomBatchResponseEntry() { | 1317 buildAccounttaxCustomBatchResponseEntry() { |
| 1318 var o = new api.AccounttaxCustomBatchResponseEntry(); | 1318 var o = new api.AccounttaxCustomBatchResponseEntry(); |
| 1319 buildCounterAccounttaxCustomBatchResponseEntry++; | 1319 buildCounterAccounttaxCustomBatchResponseEntry++; |
| 1320 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1320 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1331 buildCounterAccounttaxCustomBatchResponseEntry++; | 1331 buildCounterAccounttaxCustomBatchResponseEntry++; |
| 1332 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { | 1332 if (buildCounterAccounttaxCustomBatchResponseEntry < 3) { |
| 1333 checkAccountTax(o.accountTax); | 1333 checkAccountTax(o.accountTax); |
| 1334 unittest.expect(o.batchId, unittest.equals(42)); | 1334 unittest.expect(o.batchId, unittest.equals(42)); |
| 1335 checkErrors(o.errors); | 1335 checkErrors(o.errors); |
| 1336 unittest.expect(o.kind, unittest.equals('foo')); | 1336 unittest.expect(o.kind, unittest.equals('foo')); |
| 1337 } | 1337 } |
| 1338 buildCounterAccounttaxCustomBatchResponseEntry--; | 1338 buildCounterAccounttaxCustomBatchResponseEntry--; |
| 1339 } | 1339 } |
| 1340 | 1340 |
| 1341 buildUnnamed524() { | 1341 buildUnnamed931() { |
| 1342 var o = new core.List<api.AccountTax>(); | 1342 var o = new core.List<api.AccountTax>(); |
| 1343 o.add(buildAccountTax()); | 1343 o.add(buildAccountTax()); |
| 1344 o.add(buildAccountTax()); | 1344 o.add(buildAccountTax()); |
| 1345 return o; | 1345 return o; |
| 1346 } | 1346 } |
| 1347 | 1347 |
| 1348 checkUnnamed524(core.List<api.AccountTax> o) { | 1348 checkUnnamed931(core.List<api.AccountTax> o) { |
| 1349 unittest.expect(o, unittest.hasLength(2)); | 1349 unittest.expect(o, unittest.hasLength(2)); |
| 1350 checkAccountTax(o[0]); | 1350 checkAccountTax(o[0]); |
| 1351 checkAccountTax(o[1]); | 1351 checkAccountTax(o[1]); |
| 1352 } | 1352 } |
| 1353 | 1353 |
| 1354 core.int buildCounterAccounttaxListResponse = 0; | 1354 core.int buildCounterAccounttaxListResponse = 0; |
| 1355 buildAccounttaxListResponse() { | 1355 buildAccounttaxListResponse() { |
| 1356 var o = new api.AccounttaxListResponse(); | 1356 var o = new api.AccounttaxListResponse(); |
| 1357 buildCounterAccounttaxListResponse++; | 1357 buildCounterAccounttaxListResponse++; |
| 1358 if (buildCounterAccounttaxListResponse < 3) { | 1358 if (buildCounterAccounttaxListResponse < 3) { |
| 1359 o.kind = "foo"; | 1359 o.kind = "foo"; |
| 1360 o.nextPageToken = "foo"; | 1360 o.nextPageToken = "foo"; |
| 1361 o.resources = buildUnnamed524(); | 1361 o.resources = buildUnnamed931(); |
| 1362 } | 1362 } |
| 1363 buildCounterAccounttaxListResponse--; | 1363 buildCounterAccounttaxListResponse--; |
| 1364 return o; | 1364 return o; |
| 1365 } | 1365 } |
| 1366 | 1366 |
| 1367 checkAccounttaxListResponse(api.AccounttaxListResponse o) { | 1367 checkAccounttaxListResponse(api.AccounttaxListResponse o) { |
| 1368 buildCounterAccounttaxListResponse++; | 1368 buildCounterAccounttaxListResponse++; |
| 1369 if (buildCounterAccounttaxListResponse < 3) { | 1369 if (buildCounterAccounttaxListResponse < 3) { |
| 1370 unittest.expect(o.kind, unittest.equals('foo')); | 1370 unittest.expect(o.kind, unittest.equals('foo')); |
| 1371 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1371 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1372 checkUnnamed524(o.resources); | 1372 checkUnnamed931(o.resources); |
| 1373 } | 1373 } |
| 1374 buildCounterAccounttaxListResponse--; | 1374 buildCounterAccounttaxListResponse--; |
| 1375 } | 1375 } |
| 1376 | 1376 |
| 1377 buildUnnamed525() { | 1377 buildUnnamed932() { |
| 1378 var o = new core.List<core.String>(); | 1378 var o = new core.List<core.String>(); |
| 1379 o.add("foo"); | 1379 o.add("foo"); |
| 1380 o.add("foo"); | 1380 o.add("foo"); |
| 1381 return o; | 1381 return o; |
| 1382 } | 1382 } |
| 1383 | 1383 |
| 1384 checkUnnamed525(core.List<core.String> o) { | 1384 checkUnnamed932(core.List<core.String> o) { |
| 1385 unittest.expect(o, unittest.hasLength(2)); | 1385 unittest.expect(o, unittest.hasLength(2)); |
| 1386 unittest.expect(o[0], unittest.equals('foo')); | 1386 unittest.expect(o[0], unittest.equals('foo')); |
| 1387 unittest.expect(o[1], unittest.equals('foo')); | 1387 unittest.expect(o[1], unittest.equals('foo')); |
| 1388 } | 1388 } |
| 1389 | 1389 |
| 1390 core.int buildCounterDatafeed = 0; | 1390 core.int buildCounterDatafeed = 0; |
| 1391 buildDatafeed() { | 1391 buildDatafeed() { |
| 1392 var o = new api.Datafeed(); | 1392 var o = new api.Datafeed(); |
| 1393 buildCounterDatafeed++; | 1393 buildCounterDatafeed++; |
| 1394 if (buildCounterDatafeed < 3) { | 1394 if (buildCounterDatafeed < 3) { |
| 1395 o.attributeLanguage = "foo"; | 1395 o.attributeLanguage = "foo"; |
| 1396 o.contentLanguage = "foo"; | 1396 o.contentLanguage = "foo"; |
| 1397 o.contentType = "foo"; | 1397 o.contentType = "foo"; |
| 1398 o.fetchSchedule = buildDatafeedFetchSchedule(); | 1398 o.fetchSchedule = buildDatafeedFetchSchedule(); |
| 1399 o.fileName = "foo"; | 1399 o.fileName = "foo"; |
| 1400 o.format = buildDatafeedFormat(); | 1400 o.format = buildDatafeedFormat(); |
| 1401 o.id = "foo"; | 1401 o.id = "foo"; |
| 1402 o.intendedDestinations = buildUnnamed525(); | 1402 o.intendedDestinations = buildUnnamed932(); |
| 1403 o.kind = "foo"; | 1403 o.kind = "foo"; |
| 1404 o.name = "foo"; | 1404 o.name = "foo"; |
| 1405 o.targetCountry = "foo"; | 1405 o.targetCountry = "foo"; |
| 1406 } | 1406 } |
| 1407 buildCounterDatafeed--; | 1407 buildCounterDatafeed--; |
| 1408 return o; | 1408 return o; |
| 1409 } | 1409 } |
| 1410 | 1410 |
| 1411 checkDatafeed(api.Datafeed o) { | 1411 checkDatafeed(api.Datafeed o) { |
| 1412 buildCounterDatafeed++; | 1412 buildCounterDatafeed++; |
| 1413 if (buildCounterDatafeed < 3) { | 1413 if (buildCounterDatafeed < 3) { |
| 1414 unittest.expect(o.attributeLanguage, unittest.equals('foo')); | 1414 unittest.expect(o.attributeLanguage, unittest.equals('foo')); |
| 1415 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 1415 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 1416 unittest.expect(o.contentType, unittest.equals('foo')); | 1416 unittest.expect(o.contentType, unittest.equals('foo')); |
| 1417 checkDatafeedFetchSchedule(o.fetchSchedule); | 1417 checkDatafeedFetchSchedule(o.fetchSchedule); |
| 1418 unittest.expect(o.fileName, unittest.equals('foo')); | 1418 unittest.expect(o.fileName, unittest.equals('foo')); |
| 1419 checkDatafeedFormat(o.format); | 1419 checkDatafeedFormat(o.format); |
| 1420 unittest.expect(o.id, unittest.equals('foo')); | 1420 unittest.expect(o.id, unittest.equals('foo')); |
| 1421 checkUnnamed525(o.intendedDestinations); | 1421 checkUnnamed932(o.intendedDestinations); |
| 1422 unittest.expect(o.kind, unittest.equals('foo')); | 1422 unittest.expect(o.kind, unittest.equals('foo')); |
| 1423 unittest.expect(o.name, unittest.equals('foo')); | 1423 unittest.expect(o.name, unittest.equals('foo')); |
| 1424 unittest.expect(o.targetCountry, unittest.equals('foo')); | 1424 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 1425 } | 1425 } |
| 1426 buildCounterDatafeed--; | 1426 buildCounterDatafeed--; |
| 1427 } | 1427 } |
| 1428 | 1428 |
| 1429 core.int buildCounterDatafeedFetchSchedule = 0; | 1429 core.int buildCounterDatafeedFetchSchedule = 0; |
| 1430 buildDatafeedFetchSchedule() { | 1430 buildDatafeedFetchSchedule() { |
| 1431 var o = new api.DatafeedFetchSchedule(); | 1431 var o = new api.DatafeedFetchSchedule(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1475 checkDatafeedFormat(api.DatafeedFormat o) { | 1475 checkDatafeedFormat(api.DatafeedFormat o) { |
| 1476 buildCounterDatafeedFormat++; | 1476 buildCounterDatafeedFormat++; |
| 1477 if (buildCounterDatafeedFormat < 3) { | 1477 if (buildCounterDatafeedFormat < 3) { |
| 1478 unittest.expect(o.columnDelimiter, unittest.equals('foo')); | 1478 unittest.expect(o.columnDelimiter, unittest.equals('foo')); |
| 1479 unittest.expect(o.fileEncoding, unittest.equals('foo')); | 1479 unittest.expect(o.fileEncoding, unittest.equals('foo')); |
| 1480 unittest.expect(o.quotingMode, unittest.equals('foo')); | 1480 unittest.expect(o.quotingMode, unittest.equals('foo')); |
| 1481 } | 1481 } |
| 1482 buildCounterDatafeedFormat--; | 1482 buildCounterDatafeedFormat--; |
| 1483 } | 1483 } |
| 1484 | 1484 |
| 1485 buildUnnamed526() { | 1485 buildUnnamed933() { |
| 1486 var o = new core.List<api.DatafeedStatusError>(); | 1486 var o = new core.List<api.DatafeedStatusError>(); |
| 1487 o.add(buildDatafeedStatusError()); | 1487 o.add(buildDatafeedStatusError()); |
| 1488 o.add(buildDatafeedStatusError()); | 1488 o.add(buildDatafeedStatusError()); |
| 1489 return o; | 1489 return o; |
| 1490 } | 1490 } |
| 1491 | 1491 |
| 1492 checkUnnamed526(core.List<api.DatafeedStatusError> o) { | 1492 checkUnnamed933(core.List<api.DatafeedStatusError> o) { |
| 1493 unittest.expect(o, unittest.hasLength(2)); | 1493 unittest.expect(o, unittest.hasLength(2)); |
| 1494 checkDatafeedStatusError(o[0]); | 1494 checkDatafeedStatusError(o[0]); |
| 1495 checkDatafeedStatusError(o[1]); | 1495 checkDatafeedStatusError(o[1]); |
| 1496 } | 1496 } |
| 1497 | 1497 |
| 1498 buildUnnamed527() { | 1498 buildUnnamed934() { |
| 1499 var o = new core.List<api.DatafeedStatusError>(); | 1499 var o = new core.List<api.DatafeedStatusError>(); |
| 1500 o.add(buildDatafeedStatusError()); | 1500 o.add(buildDatafeedStatusError()); |
| 1501 o.add(buildDatafeedStatusError()); | 1501 o.add(buildDatafeedStatusError()); |
| 1502 return o; | 1502 return o; |
| 1503 } | 1503 } |
| 1504 | 1504 |
| 1505 checkUnnamed527(core.List<api.DatafeedStatusError> o) { | 1505 checkUnnamed934(core.List<api.DatafeedStatusError> o) { |
| 1506 unittest.expect(o, unittest.hasLength(2)); | 1506 unittest.expect(o, unittest.hasLength(2)); |
| 1507 checkDatafeedStatusError(o[0]); | 1507 checkDatafeedStatusError(o[0]); |
| 1508 checkDatafeedStatusError(o[1]); | 1508 checkDatafeedStatusError(o[1]); |
| 1509 } | 1509 } |
| 1510 | 1510 |
| 1511 core.int buildCounterDatafeedStatus = 0; | 1511 core.int buildCounterDatafeedStatus = 0; |
| 1512 buildDatafeedStatus() { | 1512 buildDatafeedStatus() { |
| 1513 var o = new api.DatafeedStatus(); | 1513 var o = new api.DatafeedStatus(); |
| 1514 buildCounterDatafeedStatus++; | 1514 buildCounterDatafeedStatus++; |
| 1515 if (buildCounterDatafeedStatus < 3) { | 1515 if (buildCounterDatafeedStatus < 3) { |
| 1516 o.datafeedId = "foo"; | 1516 o.datafeedId = "foo"; |
| 1517 o.errors = buildUnnamed526(); | 1517 o.errors = buildUnnamed933(); |
| 1518 o.itemsTotal = "foo"; | 1518 o.itemsTotal = "foo"; |
| 1519 o.itemsValid = "foo"; | 1519 o.itemsValid = "foo"; |
| 1520 o.kind = "foo"; | 1520 o.kind = "foo"; |
| 1521 o.lastUploadDate = "foo"; | 1521 o.lastUploadDate = "foo"; |
| 1522 o.processingStatus = "foo"; | 1522 o.processingStatus = "foo"; |
| 1523 o.warnings = buildUnnamed527(); | 1523 o.warnings = buildUnnamed934(); |
| 1524 } | 1524 } |
| 1525 buildCounterDatafeedStatus--; | 1525 buildCounterDatafeedStatus--; |
| 1526 return o; | 1526 return o; |
| 1527 } | 1527 } |
| 1528 | 1528 |
| 1529 checkDatafeedStatus(api.DatafeedStatus o) { | 1529 checkDatafeedStatus(api.DatafeedStatus o) { |
| 1530 buildCounterDatafeedStatus++; | 1530 buildCounterDatafeedStatus++; |
| 1531 if (buildCounterDatafeedStatus < 3) { | 1531 if (buildCounterDatafeedStatus < 3) { |
| 1532 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1532 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1533 checkUnnamed526(o.errors); | 1533 checkUnnamed933(o.errors); |
| 1534 unittest.expect(o.itemsTotal, unittest.equals('foo')); | 1534 unittest.expect(o.itemsTotal, unittest.equals('foo')); |
| 1535 unittest.expect(o.itemsValid, unittest.equals('foo')); | 1535 unittest.expect(o.itemsValid, unittest.equals('foo')); |
| 1536 unittest.expect(o.kind, unittest.equals('foo')); | 1536 unittest.expect(o.kind, unittest.equals('foo')); |
| 1537 unittest.expect(o.lastUploadDate, unittest.equals('foo')); | 1537 unittest.expect(o.lastUploadDate, unittest.equals('foo')); |
| 1538 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1538 unittest.expect(o.processingStatus, unittest.equals('foo')); |
| 1539 checkUnnamed527(o.warnings); | 1539 checkUnnamed934(o.warnings); |
| 1540 } | 1540 } |
| 1541 buildCounterDatafeedStatus--; | 1541 buildCounterDatafeedStatus--; |
| 1542 } | 1542 } |
| 1543 | 1543 |
| 1544 buildUnnamed528() { | 1544 buildUnnamed935() { |
| 1545 var o = new core.List<api.DatafeedStatusExample>(); | 1545 var o = new core.List<api.DatafeedStatusExample>(); |
| 1546 o.add(buildDatafeedStatusExample()); | 1546 o.add(buildDatafeedStatusExample()); |
| 1547 o.add(buildDatafeedStatusExample()); | 1547 o.add(buildDatafeedStatusExample()); |
| 1548 return o; | 1548 return o; |
| 1549 } | 1549 } |
| 1550 | 1550 |
| 1551 checkUnnamed528(core.List<api.DatafeedStatusExample> o) { | 1551 checkUnnamed935(core.List<api.DatafeedStatusExample> o) { |
| 1552 unittest.expect(o, unittest.hasLength(2)); | 1552 unittest.expect(o, unittest.hasLength(2)); |
| 1553 checkDatafeedStatusExample(o[0]); | 1553 checkDatafeedStatusExample(o[0]); |
| 1554 checkDatafeedStatusExample(o[1]); | 1554 checkDatafeedStatusExample(o[1]); |
| 1555 } | 1555 } |
| 1556 | 1556 |
| 1557 core.int buildCounterDatafeedStatusError = 0; | 1557 core.int buildCounterDatafeedStatusError = 0; |
| 1558 buildDatafeedStatusError() { | 1558 buildDatafeedStatusError() { |
| 1559 var o = new api.DatafeedStatusError(); | 1559 var o = new api.DatafeedStatusError(); |
| 1560 buildCounterDatafeedStatusError++; | 1560 buildCounterDatafeedStatusError++; |
| 1561 if (buildCounterDatafeedStatusError < 3) { | 1561 if (buildCounterDatafeedStatusError < 3) { |
| 1562 o.code = "foo"; | 1562 o.code = "foo"; |
| 1563 o.count = "foo"; | 1563 o.count = "foo"; |
| 1564 o.examples = buildUnnamed528(); | 1564 o.examples = buildUnnamed935(); |
| 1565 o.message = "foo"; | 1565 o.message = "foo"; |
| 1566 } | 1566 } |
| 1567 buildCounterDatafeedStatusError--; | 1567 buildCounterDatafeedStatusError--; |
| 1568 return o; | 1568 return o; |
| 1569 } | 1569 } |
| 1570 | 1570 |
| 1571 checkDatafeedStatusError(api.DatafeedStatusError o) { | 1571 checkDatafeedStatusError(api.DatafeedStatusError o) { |
| 1572 buildCounterDatafeedStatusError++; | 1572 buildCounterDatafeedStatusError++; |
| 1573 if (buildCounterDatafeedStatusError < 3) { | 1573 if (buildCounterDatafeedStatusError < 3) { |
| 1574 unittest.expect(o.code, unittest.equals('foo')); | 1574 unittest.expect(o.code, unittest.equals('foo')); |
| 1575 unittest.expect(o.count, unittest.equals('foo')); | 1575 unittest.expect(o.count, unittest.equals('foo')); |
| 1576 checkUnnamed528(o.examples); | 1576 checkUnnamed935(o.examples); |
| 1577 unittest.expect(o.message, unittest.equals('foo')); | 1577 unittest.expect(o.message, unittest.equals('foo')); |
| 1578 } | 1578 } |
| 1579 buildCounterDatafeedStatusError--; | 1579 buildCounterDatafeedStatusError--; |
| 1580 } | 1580 } |
| 1581 | 1581 |
| 1582 core.int buildCounterDatafeedStatusExample = 0; | 1582 core.int buildCounterDatafeedStatusExample = 0; |
| 1583 buildDatafeedStatusExample() { | 1583 buildDatafeedStatusExample() { |
| 1584 var o = new api.DatafeedStatusExample(); | 1584 var o = new api.DatafeedStatusExample(); |
| 1585 buildCounterDatafeedStatusExample++; | 1585 buildCounterDatafeedStatusExample++; |
| 1586 if (buildCounterDatafeedStatusExample < 3) { | 1586 if (buildCounterDatafeedStatusExample < 3) { |
| 1587 o.itemId = "foo"; | 1587 o.itemId = "foo"; |
| 1588 o.lineNumber = "foo"; | 1588 o.lineNumber = "foo"; |
| 1589 o.value = "foo"; | 1589 o.value = "foo"; |
| 1590 } | 1590 } |
| 1591 buildCounterDatafeedStatusExample--; | 1591 buildCounterDatafeedStatusExample--; |
| 1592 return o; | 1592 return o; |
| 1593 } | 1593 } |
| 1594 | 1594 |
| 1595 checkDatafeedStatusExample(api.DatafeedStatusExample o) { | 1595 checkDatafeedStatusExample(api.DatafeedStatusExample o) { |
| 1596 buildCounterDatafeedStatusExample++; | 1596 buildCounterDatafeedStatusExample++; |
| 1597 if (buildCounterDatafeedStatusExample < 3) { | 1597 if (buildCounterDatafeedStatusExample < 3) { |
| 1598 unittest.expect(o.itemId, unittest.equals('foo')); | 1598 unittest.expect(o.itemId, unittest.equals('foo')); |
| 1599 unittest.expect(o.lineNumber, unittest.equals('foo')); | 1599 unittest.expect(o.lineNumber, unittest.equals('foo')); |
| 1600 unittest.expect(o.value, unittest.equals('foo')); | 1600 unittest.expect(o.value, unittest.equals('foo')); |
| 1601 } | 1601 } |
| 1602 buildCounterDatafeedStatusExample--; | 1602 buildCounterDatafeedStatusExample--; |
| 1603 } | 1603 } |
| 1604 | 1604 |
| 1605 buildUnnamed529() { | 1605 buildUnnamed936() { |
| 1606 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); | 1606 var o = new core.List<api.DatafeedsCustomBatchRequestEntry>(); |
| 1607 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1607 o.add(buildDatafeedsCustomBatchRequestEntry()); |
| 1608 o.add(buildDatafeedsCustomBatchRequestEntry()); | 1608 o.add(buildDatafeedsCustomBatchRequestEntry()); |
| 1609 return o; | 1609 return o; |
| 1610 } | 1610 } |
| 1611 | 1611 |
| 1612 checkUnnamed529(core.List<api.DatafeedsCustomBatchRequestEntry> o) { | 1612 checkUnnamed936(core.List<api.DatafeedsCustomBatchRequestEntry> o) { |
| 1613 unittest.expect(o, unittest.hasLength(2)); | 1613 unittest.expect(o, unittest.hasLength(2)); |
| 1614 checkDatafeedsCustomBatchRequestEntry(o[0]); | 1614 checkDatafeedsCustomBatchRequestEntry(o[0]); |
| 1615 checkDatafeedsCustomBatchRequestEntry(o[1]); | 1615 checkDatafeedsCustomBatchRequestEntry(o[1]); |
| 1616 } | 1616 } |
| 1617 | 1617 |
| 1618 core.int buildCounterDatafeedsCustomBatchRequest = 0; | 1618 core.int buildCounterDatafeedsCustomBatchRequest = 0; |
| 1619 buildDatafeedsCustomBatchRequest() { | 1619 buildDatafeedsCustomBatchRequest() { |
| 1620 var o = new api.DatafeedsCustomBatchRequest(); | 1620 var o = new api.DatafeedsCustomBatchRequest(); |
| 1621 buildCounterDatafeedsCustomBatchRequest++; | 1621 buildCounterDatafeedsCustomBatchRequest++; |
| 1622 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1622 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
| 1623 o.entries = buildUnnamed529(); | 1623 o.entries = buildUnnamed936(); |
| 1624 } | 1624 } |
| 1625 buildCounterDatafeedsCustomBatchRequest--; | 1625 buildCounterDatafeedsCustomBatchRequest--; |
| 1626 return o; | 1626 return o; |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { | 1629 checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) { |
| 1630 buildCounterDatafeedsCustomBatchRequest++; | 1630 buildCounterDatafeedsCustomBatchRequest++; |
| 1631 if (buildCounterDatafeedsCustomBatchRequest < 3) { | 1631 if (buildCounterDatafeedsCustomBatchRequest < 3) { |
| 1632 checkUnnamed529(o.entries); | 1632 checkUnnamed936(o.entries); |
| 1633 } | 1633 } |
| 1634 buildCounterDatafeedsCustomBatchRequest--; | 1634 buildCounterDatafeedsCustomBatchRequest--; |
| 1635 } | 1635 } |
| 1636 | 1636 |
| 1637 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; | 1637 core.int buildCounterDatafeedsCustomBatchRequestEntry = 0; |
| 1638 buildDatafeedsCustomBatchRequestEntry() { | 1638 buildDatafeedsCustomBatchRequestEntry() { |
| 1639 var o = new api.DatafeedsCustomBatchRequestEntry(); | 1639 var o = new api.DatafeedsCustomBatchRequestEntry(); |
| 1640 buildCounterDatafeedsCustomBatchRequestEntry++; | 1640 buildCounterDatafeedsCustomBatchRequestEntry++; |
| 1641 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1641 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
| 1642 o.batchId = 42; | 1642 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1654 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { | 1654 if (buildCounterDatafeedsCustomBatchRequestEntry < 3) { |
| 1655 unittest.expect(o.batchId, unittest.equals(42)); | 1655 unittest.expect(o.batchId, unittest.equals(42)); |
| 1656 checkDatafeed(o.datafeed); | 1656 checkDatafeed(o.datafeed); |
| 1657 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1657 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1658 unittest.expect(o.merchantId, unittest.equals('foo')); | 1658 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1659 unittest.expect(o.method, unittest.equals('foo')); | 1659 unittest.expect(o.method, unittest.equals('foo')); |
| 1660 } | 1660 } |
| 1661 buildCounterDatafeedsCustomBatchRequestEntry--; | 1661 buildCounterDatafeedsCustomBatchRequestEntry--; |
| 1662 } | 1662 } |
| 1663 | 1663 |
| 1664 buildUnnamed530() { | 1664 buildUnnamed937() { |
| 1665 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); | 1665 var o = new core.List<api.DatafeedsCustomBatchResponseEntry>(); |
| 1666 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1666 o.add(buildDatafeedsCustomBatchResponseEntry()); |
| 1667 o.add(buildDatafeedsCustomBatchResponseEntry()); | 1667 o.add(buildDatafeedsCustomBatchResponseEntry()); |
| 1668 return o; | 1668 return o; |
| 1669 } | 1669 } |
| 1670 | 1670 |
| 1671 checkUnnamed530(core.List<api.DatafeedsCustomBatchResponseEntry> o) { | 1671 checkUnnamed937(core.List<api.DatafeedsCustomBatchResponseEntry> o) { |
| 1672 unittest.expect(o, unittest.hasLength(2)); | 1672 unittest.expect(o, unittest.hasLength(2)); |
| 1673 checkDatafeedsCustomBatchResponseEntry(o[0]); | 1673 checkDatafeedsCustomBatchResponseEntry(o[0]); |
| 1674 checkDatafeedsCustomBatchResponseEntry(o[1]); | 1674 checkDatafeedsCustomBatchResponseEntry(o[1]); |
| 1675 } | 1675 } |
| 1676 | 1676 |
| 1677 core.int buildCounterDatafeedsCustomBatchResponse = 0; | 1677 core.int buildCounterDatafeedsCustomBatchResponse = 0; |
| 1678 buildDatafeedsCustomBatchResponse() { | 1678 buildDatafeedsCustomBatchResponse() { |
| 1679 var o = new api.DatafeedsCustomBatchResponse(); | 1679 var o = new api.DatafeedsCustomBatchResponse(); |
| 1680 buildCounterDatafeedsCustomBatchResponse++; | 1680 buildCounterDatafeedsCustomBatchResponse++; |
| 1681 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1681 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
| 1682 o.entries = buildUnnamed530(); | 1682 o.entries = buildUnnamed937(); |
| 1683 o.kind = "foo"; | 1683 o.kind = "foo"; |
| 1684 } | 1684 } |
| 1685 buildCounterDatafeedsCustomBatchResponse--; | 1685 buildCounterDatafeedsCustomBatchResponse--; |
| 1686 return o; | 1686 return o; |
| 1687 } | 1687 } |
| 1688 | 1688 |
| 1689 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { | 1689 checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) { |
| 1690 buildCounterDatafeedsCustomBatchResponse++; | 1690 buildCounterDatafeedsCustomBatchResponse++; |
| 1691 if (buildCounterDatafeedsCustomBatchResponse < 3) { | 1691 if (buildCounterDatafeedsCustomBatchResponse < 3) { |
| 1692 checkUnnamed530(o.entries); | 1692 checkUnnamed937(o.entries); |
| 1693 unittest.expect(o.kind, unittest.equals('foo')); | 1693 unittest.expect(o.kind, unittest.equals('foo')); |
| 1694 } | 1694 } |
| 1695 buildCounterDatafeedsCustomBatchResponse--; | 1695 buildCounterDatafeedsCustomBatchResponse--; |
| 1696 } | 1696 } |
| 1697 | 1697 |
| 1698 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; | 1698 core.int buildCounterDatafeedsCustomBatchResponseEntry = 0; |
| 1699 buildDatafeedsCustomBatchResponseEntry() { | 1699 buildDatafeedsCustomBatchResponseEntry() { |
| 1700 var o = new api.DatafeedsCustomBatchResponseEntry(); | 1700 var o = new api.DatafeedsCustomBatchResponseEntry(); |
| 1701 buildCounterDatafeedsCustomBatchResponseEntry++; | 1701 buildCounterDatafeedsCustomBatchResponseEntry++; |
| 1702 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1702 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
| 1703 o.batchId = 42; | 1703 o.batchId = 42; |
| 1704 o.datafeed = buildDatafeed(); | 1704 o.datafeed = buildDatafeed(); |
| 1705 o.errors = buildErrors(); | 1705 o.errors = buildErrors(); |
| 1706 } | 1706 } |
| 1707 buildCounterDatafeedsCustomBatchResponseEntry--; | 1707 buildCounterDatafeedsCustomBatchResponseEntry--; |
| 1708 return o; | 1708 return o; |
| 1709 } | 1709 } |
| 1710 | 1710 |
| 1711 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ | 1711 checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
{ |
| 1712 buildCounterDatafeedsCustomBatchResponseEntry++; | 1712 buildCounterDatafeedsCustomBatchResponseEntry++; |
| 1713 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { | 1713 if (buildCounterDatafeedsCustomBatchResponseEntry < 3) { |
| 1714 unittest.expect(o.batchId, unittest.equals(42)); | 1714 unittest.expect(o.batchId, unittest.equals(42)); |
| 1715 checkDatafeed(o.datafeed); | 1715 checkDatafeed(o.datafeed); |
| 1716 checkErrors(o.errors); | 1716 checkErrors(o.errors); |
| 1717 } | 1717 } |
| 1718 buildCounterDatafeedsCustomBatchResponseEntry--; | 1718 buildCounterDatafeedsCustomBatchResponseEntry--; |
| 1719 } | 1719 } |
| 1720 | 1720 |
| 1721 buildUnnamed531() { | 1721 buildUnnamed938() { |
| 1722 var o = new core.List<api.Datafeed>(); | 1722 var o = new core.List<api.Datafeed>(); |
| 1723 o.add(buildDatafeed()); | 1723 o.add(buildDatafeed()); |
| 1724 o.add(buildDatafeed()); | 1724 o.add(buildDatafeed()); |
| 1725 return o; | 1725 return o; |
| 1726 } | 1726 } |
| 1727 | 1727 |
| 1728 checkUnnamed531(core.List<api.Datafeed> o) { | 1728 checkUnnamed938(core.List<api.Datafeed> o) { |
| 1729 unittest.expect(o, unittest.hasLength(2)); | 1729 unittest.expect(o, unittest.hasLength(2)); |
| 1730 checkDatafeed(o[0]); | 1730 checkDatafeed(o[0]); |
| 1731 checkDatafeed(o[1]); | 1731 checkDatafeed(o[1]); |
| 1732 } | 1732 } |
| 1733 | 1733 |
| 1734 core.int buildCounterDatafeedsListResponse = 0; | 1734 core.int buildCounterDatafeedsListResponse = 0; |
| 1735 buildDatafeedsListResponse() { | 1735 buildDatafeedsListResponse() { |
| 1736 var o = new api.DatafeedsListResponse(); | 1736 var o = new api.DatafeedsListResponse(); |
| 1737 buildCounterDatafeedsListResponse++; | 1737 buildCounterDatafeedsListResponse++; |
| 1738 if (buildCounterDatafeedsListResponse < 3) { | 1738 if (buildCounterDatafeedsListResponse < 3) { |
| 1739 o.kind = "foo"; | 1739 o.kind = "foo"; |
| 1740 o.nextPageToken = "foo"; | 1740 o.nextPageToken = "foo"; |
| 1741 o.resources = buildUnnamed531(); | 1741 o.resources = buildUnnamed938(); |
| 1742 } | 1742 } |
| 1743 buildCounterDatafeedsListResponse--; | 1743 buildCounterDatafeedsListResponse--; |
| 1744 return o; | 1744 return o; |
| 1745 } | 1745 } |
| 1746 | 1746 |
| 1747 checkDatafeedsListResponse(api.DatafeedsListResponse o) { | 1747 checkDatafeedsListResponse(api.DatafeedsListResponse o) { |
| 1748 buildCounterDatafeedsListResponse++; | 1748 buildCounterDatafeedsListResponse++; |
| 1749 if (buildCounterDatafeedsListResponse < 3) { | 1749 if (buildCounterDatafeedsListResponse < 3) { |
| 1750 unittest.expect(o.kind, unittest.equals('foo')); | 1750 unittest.expect(o.kind, unittest.equals('foo')); |
| 1751 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1751 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1752 checkUnnamed531(o.resources); | 1752 checkUnnamed938(o.resources); |
| 1753 } | 1753 } |
| 1754 buildCounterDatafeedsListResponse--; | 1754 buildCounterDatafeedsListResponse--; |
| 1755 } | 1755 } |
| 1756 | 1756 |
| 1757 buildUnnamed532() { | 1757 buildUnnamed939() { |
| 1758 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); | 1758 var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>(); |
| 1759 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1759 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
| 1760 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); | 1760 o.add(buildDatafeedstatusesCustomBatchRequestEntry()); |
| 1761 return o; | 1761 return o; |
| 1762 } | 1762 } |
| 1763 | 1763 |
| 1764 checkUnnamed532(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { | 1764 checkUnnamed939(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) { |
| 1765 unittest.expect(o, unittest.hasLength(2)); | 1765 unittest.expect(o, unittest.hasLength(2)); |
| 1766 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); | 1766 checkDatafeedstatusesCustomBatchRequestEntry(o[0]); |
| 1767 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); | 1767 checkDatafeedstatusesCustomBatchRequestEntry(o[1]); |
| 1768 } | 1768 } |
| 1769 | 1769 |
| 1770 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; | 1770 core.int buildCounterDatafeedstatusesCustomBatchRequest = 0; |
| 1771 buildDatafeedstatusesCustomBatchRequest() { | 1771 buildDatafeedstatusesCustomBatchRequest() { |
| 1772 var o = new api.DatafeedstatusesCustomBatchRequest(); | 1772 var o = new api.DatafeedstatusesCustomBatchRequest(); |
| 1773 buildCounterDatafeedstatusesCustomBatchRequest++; | 1773 buildCounterDatafeedstatusesCustomBatchRequest++; |
| 1774 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1774 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
| 1775 o.entries = buildUnnamed532(); | 1775 o.entries = buildUnnamed939(); |
| 1776 } | 1776 } |
| 1777 buildCounterDatafeedstatusesCustomBatchRequest--; | 1777 buildCounterDatafeedstatusesCustomBatchRequest--; |
| 1778 return o; | 1778 return o; |
| 1779 } | 1779 } |
| 1780 | 1780 |
| 1781 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { | 1781 checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o
) { |
| 1782 buildCounterDatafeedstatusesCustomBatchRequest++; | 1782 buildCounterDatafeedstatusesCustomBatchRequest++; |
| 1783 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { | 1783 if (buildCounterDatafeedstatusesCustomBatchRequest < 3) { |
| 1784 checkUnnamed532(o.entries); | 1784 checkUnnamed939(o.entries); |
| 1785 } | 1785 } |
| 1786 buildCounterDatafeedstatusesCustomBatchRequest--; | 1786 buildCounterDatafeedstatusesCustomBatchRequest--; |
| 1787 } | 1787 } |
| 1788 | 1788 |
| 1789 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; | 1789 core.int buildCounterDatafeedstatusesCustomBatchRequestEntry = 0; |
| 1790 buildDatafeedstatusesCustomBatchRequestEntry() { | 1790 buildDatafeedstatusesCustomBatchRequestEntry() { |
| 1791 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); | 1791 var o = new api.DatafeedstatusesCustomBatchRequestEntry(); |
| 1792 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1792 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
| 1793 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1793 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
| 1794 o.batchId = 42; | 1794 o.batchId = 42; |
| 1795 o.datafeedId = "foo"; | 1795 o.datafeedId = "foo"; |
| 1796 o.merchantId = "foo"; | 1796 o.merchantId = "foo"; |
| 1797 o.method = "foo"; | 1797 o.method = "foo"; |
| 1798 } | 1798 } |
| 1799 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1799 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
| 1800 return o; | 1800 return o; |
| 1801 } | 1801 } |
| 1802 | 1802 |
| 1803 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { | 1803 checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
estEntry o) { |
| 1804 buildCounterDatafeedstatusesCustomBatchRequestEntry++; | 1804 buildCounterDatafeedstatusesCustomBatchRequestEntry++; |
| 1805 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { | 1805 if (buildCounterDatafeedstatusesCustomBatchRequestEntry < 3) { |
| 1806 unittest.expect(o.batchId, unittest.equals(42)); | 1806 unittest.expect(o.batchId, unittest.equals(42)); |
| 1807 unittest.expect(o.datafeedId, unittest.equals('foo')); | 1807 unittest.expect(o.datafeedId, unittest.equals('foo')); |
| 1808 unittest.expect(o.merchantId, unittest.equals('foo')); | 1808 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 1809 unittest.expect(o.method, unittest.equals('foo')); | 1809 unittest.expect(o.method, unittest.equals('foo')); |
| 1810 } | 1810 } |
| 1811 buildCounterDatafeedstatusesCustomBatchRequestEntry--; | 1811 buildCounterDatafeedstatusesCustomBatchRequestEntry--; |
| 1812 } | 1812 } |
| 1813 | 1813 |
| 1814 buildUnnamed533() { | 1814 buildUnnamed940() { |
| 1815 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); | 1815 var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>(); |
| 1816 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1816 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
| 1817 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); | 1817 o.add(buildDatafeedstatusesCustomBatchResponseEntry()); |
| 1818 return o; | 1818 return o; |
| 1819 } | 1819 } |
| 1820 | 1820 |
| 1821 checkUnnamed533(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { | 1821 checkUnnamed940(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) { |
| 1822 unittest.expect(o, unittest.hasLength(2)); | 1822 unittest.expect(o, unittest.hasLength(2)); |
| 1823 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); | 1823 checkDatafeedstatusesCustomBatchResponseEntry(o[0]); |
| 1824 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); | 1824 checkDatafeedstatusesCustomBatchResponseEntry(o[1]); |
| 1825 } | 1825 } |
| 1826 | 1826 |
| 1827 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; | 1827 core.int buildCounterDatafeedstatusesCustomBatchResponse = 0; |
| 1828 buildDatafeedstatusesCustomBatchResponse() { | 1828 buildDatafeedstatusesCustomBatchResponse() { |
| 1829 var o = new api.DatafeedstatusesCustomBatchResponse(); | 1829 var o = new api.DatafeedstatusesCustomBatchResponse(); |
| 1830 buildCounterDatafeedstatusesCustomBatchResponse++; | 1830 buildCounterDatafeedstatusesCustomBatchResponse++; |
| 1831 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1831 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
| 1832 o.entries = buildUnnamed533(); | 1832 o.entries = buildUnnamed940(); |
| 1833 o.kind = "foo"; | 1833 o.kind = "foo"; |
| 1834 } | 1834 } |
| 1835 buildCounterDatafeedstatusesCustomBatchResponse--; | 1835 buildCounterDatafeedstatusesCustomBatchResponse--; |
| 1836 return o; | 1836 return o; |
| 1837 } | 1837 } |
| 1838 | 1838 |
| 1839 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { | 1839 checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse
o) { |
| 1840 buildCounterDatafeedstatusesCustomBatchResponse++; | 1840 buildCounterDatafeedstatusesCustomBatchResponse++; |
| 1841 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { | 1841 if (buildCounterDatafeedstatusesCustomBatchResponse < 3) { |
| 1842 checkUnnamed533(o.entries); | 1842 checkUnnamed940(o.entries); |
| 1843 unittest.expect(o.kind, unittest.equals('foo')); | 1843 unittest.expect(o.kind, unittest.equals('foo')); |
| 1844 } | 1844 } |
| 1845 buildCounterDatafeedstatusesCustomBatchResponse--; | 1845 buildCounterDatafeedstatusesCustomBatchResponse--; |
| 1846 } | 1846 } |
| 1847 | 1847 |
| 1848 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; | 1848 core.int buildCounterDatafeedstatusesCustomBatchResponseEntry = 0; |
| 1849 buildDatafeedstatusesCustomBatchResponseEntry() { | 1849 buildDatafeedstatusesCustomBatchResponseEntry() { |
| 1850 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); | 1850 var o = new api.DatafeedstatusesCustomBatchResponseEntry(); |
| 1851 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1851 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
| 1852 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1852 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
| 1853 o.batchId = 42; | 1853 o.batchId = 42; |
| 1854 o.datafeedStatus = buildDatafeedStatus(); | 1854 o.datafeedStatus = buildDatafeedStatus(); |
| 1855 o.errors = buildErrors(); | 1855 o.errors = buildErrors(); |
| 1856 } | 1856 } |
| 1857 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1857 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
| 1858 return o; | 1858 return o; |
| 1859 } | 1859 } |
| 1860 | 1860 |
| 1861 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { | 1861 checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
ponseEntry o) { |
| 1862 buildCounterDatafeedstatusesCustomBatchResponseEntry++; | 1862 buildCounterDatafeedstatusesCustomBatchResponseEntry++; |
| 1863 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { | 1863 if (buildCounterDatafeedstatusesCustomBatchResponseEntry < 3) { |
| 1864 unittest.expect(o.batchId, unittest.equals(42)); | 1864 unittest.expect(o.batchId, unittest.equals(42)); |
| 1865 checkDatafeedStatus(o.datafeedStatus); | 1865 checkDatafeedStatus(o.datafeedStatus); |
| 1866 checkErrors(o.errors); | 1866 checkErrors(o.errors); |
| 1867 } | 1867 } |
| 1868 buildCounterDatafeedstatusesCustomBatchResponseEntry--; | 1868 buildCounterDatafeedstatusesCustomBatchResponseEntry--; |
| 1869 } | 1869 } |
| 1870 | 1870 |
| 1871 buildUnnamed534() { | 1871 buildUnnamed941() { |
| 1872 var o = new core.List<api.DatafeedStatus>(); | 1872 var o = new core.List<api.DatafeedStatus>(); |
| 1873 o.add(buildDatafeedStatus()); | 1873 o.add(buildDatafeedStatus()); |
| 1874 o.add(buildDatafeedStatus()); | 1874 o.add(buildDatafeedStatus()); |
| 1875 return o; | 1875 return o; |
| 1876 } | 1876 } |
| 1877 | 1877 |
| 1878 checkUnnamed534(core.List<api.DatafeedStatus> o) { | 1878 checkUnnamed941(core.List<api.DatafeedStatus> o) { |
| 1879 unittest.expect(o, unittest.hasLength(2)); | 1879 unittest.expect(o, unittest.hasLength(2)); |
| 1880 checkDatafeedStatus(o[0]); | 1880 checkDatafeedStatus(o[0]); |
| 1881 checkDatafeedStatus(o[1]); | 1881 checkDatafeedStatus(o[1]); |
| 1882 } | 1882 } |
| 1883 | 1883 |
| 1884 core.int buildCounterDatafeedstatusesListResponse = 0; | 1884 core.int buildCounterDatafeedstatusesListResponse = 0; |
| 1885 buildDatafeedstatusesListResponse() { | 1885 buildDatafeedstatusesListResponse() { |
| 1886 var o = new api.DatafeedstatusesListResponse(); | 1886 var o = new api.DatafeedstatusesListResponse(); |
| 1887 buildCounterDatafeedstatusesListResponse++; | 1887 buildCounterDatafeedstatusesListResponse++; |
| 1888 if (buildCounterDatafeedstatusesListResponse < 3) { | 1888 if (buildCounterDatafeedstatusesListResponse < 3) { |
| 1889 o.kind = "foo"; | 1889 o.kind = "foo"; |
| 1890 o.nextPageToken = "foo"; | 1890 o.nextPageToken = "foo"; |
| 1891 o.resources = buildUnnamed534(); | 1891 o.resources = buildUnnamed941(); |
| 1892 } | 1892 } |
| 1893 buildCounterDatafeedstatusesListResponse--; | 1893 buildCounterDatafeedstatusesListResponse--; |
| 1894 return o; | 1894 return o; |
| 1895 } | 1895 } |
| 1896 | 1896 |
| 1897 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { | 1897 checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) { |
| 1898 buildCounterDatafeedstatusesListResponse++; | 1898 buildCounterDatafeedstatusesListResponse++; |
| 1899 if (buildCounterDatafeedstatusesListResponse < 3) { | 1899 if (buildCounterDatafeedstatusesListResponse < 3) { |
| 1900 unittest.expect(o.kind, unittest.equals('foo')); | 1900 unittest.expect(o.kind, unittest.equals('foo')); |
| 1901 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1901 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1902 checkUnnamed534(o.resources); | 1902 checkUnnamed941(o.resources); |
| 1903 } | 1903 } |
| 1904 buildCounterDatafeedstatusesListResponse--; | 1904 buildCounterDatafeedstatusesListResponse--; |
| 1905 } | 1905 } |
| 1906 | 1906 |
| 1907 core.int buildCounterError = 0; | 1907 core.int buildCounterError = 0; |
| 1908 buildError() { | 1908 buildError() { |
| 1909 var o = new api.Error(); | 1909 var o = new api.Error(); |
| 1910 buildCounterError++; | 1910 buildCounterError++; |
| 1911 if (buildCounterError < 3) { | 1911 if (buildCounterError < 3) { |
| 1912 o.domain = "foo"; | 1912 o.domain = "foo"; |
| 1913 o.message = "foo"; | 1913 o.message = "foo"; |
| 1914 o.reason = "foo"; | 1914 o.reason = "foo"; |
| 1915 } | 1915 } |
| 1916 buildCounterError--; | 1916 buildCounterError--; |
| 1917 return o; | 1917 return o; |
| 1918 } | 1918 } |
| 1919 | 1919 |
| 1920 checkError(api.Error o) { | 1920 checkError(api.Error o) { |
| 1921 buildCounterError++; | 1921 buildCounterError++; |
| 1922 if (buildCounterError < 3) { | 1922 if (buildCounterError < 3) { |
| 1923 unittest.expect(o.domain, unittest.equals('foo')); | 1923 unittest.expect(o.domain, unittest.equals('foo')); |
| 1924 unittest.expect(o.message, unittest.equals('foo')); | 1924 unittest.expect(o.message, unittest.equals('foo')); |
| 1925 unittest.expect(o.reason, unittest.equals('foo')); | 1925 unittest.expect(o.reason, unittest.equals('foo')); |
| 1926 } | 1926 } |
| 1927 buildCounterError--; | 1927 buildCounterError--; |
| 1928 } | 1928 } |
| 1929 | 1929 |
| 1930 buildUnnamed535() { | 1930 buildUnnamed942() { |
| 1931 var o = new core.List<api.Error>(); | 1931 var o = new core.List<api.Error>(); |
| 1932 o.add(buildError()); | 1932 o.add(buildError()); |
| 1933 o.add(buildError()); | 1933 o.add(buildError()); |
| 1934 return o; | 1934 return o; |
| 1935 } | 1935 } |
| 1936 | 1936 |
| 1937 checkUnnamed535(core.List<api.Error> o) { | 1937 checkUnnamed942(core.List<api.Error> o) { |
| 1938 unittest.expect(o, unittest.hasLength(2)); | 1938 unittest.expect(o, unittest.hasLength(2)); |
| 1939 checkError(o[0]); | 1939 checkError(o[0]); |
| 1940 checkError(o[1]); | 1940 checkError(o[1]); |
| 1941 } | 1941 } |
| 1942 | 1942 |
| 1943 core.int buildCounterErrors = 0; | 1943 core.int buildCounterErrors = 0; |
| 1944 buildErrors() { | 1944 buildErrors() { |
| 1945 var o = new api.Errors(); | 1945 var o = new api.Errors(); |
| 1946 buildCounterErrors++; | 1946 buildCounterErrors++; |
| 1947 if (buildCounterErrors < 3) { | 1947 if (buildCounterErrors < 3) { |
| 1948 o.code = 42; | 1948 o.code = 42; |
| 1949 o.errors = buildUnnamed535(); | 1949 o.errors = buildUnnamed942(); |
| 1950 o.message = "foo"; | 1950 o.message = "foo"; |
| 1951 } | 1951 } |
| 1952 buildCounterErrors--; | 1952 buildCounterErrors--; |
| 1953 return o; | 1953 return o; |
| 1954 } | 1954 } |
| 1955 | 1955 |
| 1956 checkErrors(api.Errors o) { | 1956 checkErrors(api.Errors o) { |
| 1957 buildCounterErrors++; | 1957 buildCounterErrors++; |
| 1958 if (buildCounterErrors < 3) { | 1958 if (buildCounterErrors < 3) { |
| 1959 unittest.expect(o.code, unittest.equals(42)); | 1959 unittest.expect(o.code, unittest.equals(42)); |
| 1960 checkUnnamed535(o.errors); | 1960 checkUnnamed942(o.errors); |
| 1961 unittest.expect(o.message, unittest.equals('foo')); | 1961 unittest.expect(o.message, unittest.equals('foo')); |
| 1962 } | 1962 } |
| 1963 buildCounterErrors--; | 1963 buildCounterErrors--; |
| 1964 } | 1964 } |
| 1965 | 1965 |
| 1966 core.int buildCounterInstallment = 0; | 1966 core.int buildCounterInstallment = 0; |
| 1967 buildInstallment() { | 1967 buildInstallment() { |
| 1968 var o = new api.Installment(); | 1968 var o = new api.Installment(); |
| 1969 buildCounterInstallment++; | 1969 buildCounterInstallment++; |
| 1970 if (buildCounterInstallment < 3) { | 1970 if (buildCounterInstallment < 3) { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2012 checkLoyaltyPoints(o.loyaltyPoints); | 2012 checkLoyaltyPoints(o.loyaltyPoints); |
| 2013 checkPrice(o.price); | 2013 checkPrice(o.price); |
| 2014 unittest.expect(o.quantity, unittest.equals(42)); | 2014 unittest.expect(o.quantity, unittest.equals(42)); |
| 2015 checkPrice(o.salePrice); | 2015 checkPrice(o.salePrice); |
| 2016 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 2016 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
| 2017 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); | 2017 unittest.expect(o.sellOnGoogleQuantity, unittest.equals(42)); |
| 2018 } | 2018 } |
| 2019 buildCounterInventory--; | 2019 buildCounterInventory--; |
| 2020 } | 2020 } |
| 2021 | 2021 |
| 2022 buildUnnamed536() { | 2022 buildUnnamed943() { |
| 2023 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); | 2023 var o = new core.List<api.InventoryCustomBatchRequestEntry>(); |
| 2024 o.add(buildInventoryCustomBatchRequestEntry()); | 2024 o.add(buildInventoryCustomBatchRequestEntry()); |
| 2025 o.add(buildInventoryCustomBatchRequestEntry()); | 2025 o.add(buildInventoryCustomBatchRequestEntry()); |
| 2026 return o; | 2026 return o; |
| 2027 } | 2027 } |
| 2028 | 2028 |
| 2029 checkUnnamed536(core.List<api.InventoryCustomBatchRequestEntry> o) { | 2029 checkUnnamed943(core.List<api.InventoryCustomBatchRequestEntry> o) { |
| 2030 unittest.expect(o, unittest.hasLength(2)); | 2030 unittest.expect(o, unittest.hasLength(2)); |
| 2031 checkInventoryCustomBatchRequestEntry(o[0]); | 2031 checkInventoryCustomBatchRequestEntry(o[0]); |
| 2032 checkInventoryCustomBatchRequestEntry(o[1]); | 2032 checkInventoryCustomBatchRequestEntry(o[1]); |
| 2033 } | 2033 } |
| 2034 | 2034 |
| 2035 core.int buildCounterInventoryCustomBatchRequest = 0; | 2035 core.int buildCounterInventoryCustomBatchRequest = 0; |
| 2036 buildInventoryCustomBatchRequest() { | 2036 buildInventoryCustomBatchRequest() { |
| 2037 var o = new api.InventoryCustomBatchRequest(); | 2037 var o = new api.InventoryCustomBatchRequest(); |
| 2038 buildCounterInventoryCustomBatchRequest++; | 2038 buildCounterInventoryCustomBatchRequest++; |
| 2039 if (buildCounterInventoryCustomBatchRequest < 3) { | 2039 if (buildCounterInventoryCustomBatchRequest < 3) { |
| 2040 o.entries = buildUnnamed536(); | 2040 o.entries = buildUnnamed943(); |
| 2041 } | 2041 } |
| 2042 buildCounterInventoryCustomBatchRequest--; | 2042 buildCounterInventoryCustomBatchRequest--; |
| 2043 return o; | 2043 return o; |
| 2044 } | 2044 } |
| 2045 | 2045 |
| 2046 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { | 2046 checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) { |
| 2047 buildCounterInventoryCustomBatchRequest++; | 2047 buildCounterInventoryCustomBatchRequest++; |
| 2048 if (buildCounterInventoryCustomBatchRequest < 3) { | 2048 if (buildCounterInventoryCustomBatchRequest < 3) { |
| 2049 checkUnnamed536(o.entries); | 2049 checkUnnamed943(o.entries); |
| 2050 } | 2050 } |
| 2051 buildCounterInventoryCustomBatchRequest--; | 2051 buildCounterInventoryCustomBatchRequest--; |
| 2052 } | 2052 } |
| 2053 | 2053 |
| 2054 core.int buildCounterInventoryCustomBatchRequestEntry = 0; | 2054 core.int buildCounterInventoryCustomBatchRequestEntry = 0; |
| 2055 buildInventoryCustomBatchRequestEntry() { | 2055 buildInventoryCustomBatchRequestEntry() { |
| 2056 var o = new api.InventoryCustomBatchRequestEntry(); | 2056 var o = new api.InventoryCustomBatchRequestEntry(); |
| 2057 buildCounterInventoryCustomBatchRequestEntry++; | 2057 buildCounterInventoryCustomBatchRequestEntry++; |
| 2058 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2058 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
| 2059 o.batchId = 42; | 2059 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2071 if (buildCounterInventoryCustomBatchRequestEntry < 3) { | 2071 if (buildCounterInventoryCustomBatchRequestEntry < 3) { |
| 2072 unittest.expect(o.batchId, unittest.equals(42)); | 2072 unittest.expect(o.batchId, unittest.equals(42)); |
| 2073 checkInventory(o.inventory); | 2073 checkInventory(o.inventory); |
| 2074 unittest.expect(o.merchantId, unittest.equals('foo')); | 2074 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 2075 unittest.expect(o.productId, unittest.equals('foo')); | 2075 unittest.expect(o.productId, unittest.equals('foo')); |
| 2076 unittest.expect(o.storeCode, unittest.equals('foo')); | 2076 unittest.expect(o.storeCode, unittest.equals('foo')); |
| 2077 } | 2077 } |
| 2078 buildCounterInventoryCustomBatchRequestEntry--; | 2078 buildCounterInventoryCustomBatchRequestEntry--; |
| 2079 } | 2079 } |
| 2080 | 2080 |
| 2081 buildUnnamed537() { | 2081 buildUnnamed944() { |
| 2082 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); | 2082 var o = new core.List<api.InventoryCustomBatchResponseEntry>(); |
| 2083 o.add(buildInventoryCustomBatchResponseEntry()); | 2083 o.add(buildInventoryCustomBatchResponseEntry()); |
| 2084 o.add(buildInventoryCustomBatchResponseEntry()); | 2084 o.add(buildInventoryCustomBatchResponseEntry()); |
| 2085 return o; | 2085 return o; |
| 2086 } | 2086 } |
| 2087 | 2087 |
| 2088 checkUnnamed537(core.List<api.InventoryCustomBatchResponseEntry> o) { | 2088 checkUnnamed944(core.List<api.InventoryCustomBatchResponseEntry> o) { |
| 2089 unittest.expect(o, unittest.hasLength(2)); | 2089 unittest.expect(o, unittest.hasLength(2)); |
| 2090 checkInventoryCustomBatchResponseEntry(o[0]); | 2090 checkInventoryCustomBatchResponseEntry(o[0]); |
| 2091 checkInventoryCustomBatchResponseEntry(o[1]); | 2091 checkInventoryCustomBatchResponseEntry(o[1]); |
| 2092 } | 2092 } |
| 2093 | 2093 |
| 2094 core.int buildCounterInventoryCustomBatchResponse = 0; | 2094 core.int buildCounterInventoryCustomBatchResponse = 0; |
| 2095 buildInventoryCustomBatchResponse() { | 2095 buildInventoryCustomBatchResponse() { |
| 2096 var o = new api.InventoryCustomBatchResponse(); | 2096 var o = new api.InventoryCustomBatchResponse(); |
| 2097 buildCounterInventoryCustomBatchResponse++; | 2097 buildCounterInventoryCustomBatchResponse++; |
| 2098 if (buildCounterInventoryCustomBatchResponse < 3) { | 2098 if (buildCounterInventoryCustomBatchResponse < 3) { |
| 2099 o.entries = buildUnnamed537(); | 2099 o.entries = buildUnnamed944(); |
| 2100 o.kind = "foo"; | 2100 o.kind = "foo"; |
| 2101 } | 2101 } |
| 2102 buildCounterInventoryCustomBatchResponse--; | 2102 buildCounterInventoryCustomBatchResponse--; |
| 2103 return o; | 2103 return o; |
| 2104 } | 2104 } |
| 2105 | 2105 |
| 2106 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { | 2106 checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) { |
| 2107 buildCounterInventoryCustomBatchResponse++; | 2107 buildCounterInventoryCustomBatchResponse++; |
| 2108 if (buildCounterInventoryCustomBatchResponse < 3) { | 2108 if (buildCounterInventoryCustomBatchResponse < 3) { |
| 2109 checkUnnamed537(o.entries); | 2109 checkUnnamed944(o.entries); |
| 2110 unittest.expect(o.kind, unittest.equals('foo')); | 2110 unittest.expect(o.kind, unittest.equals('foo')); |
| 2111 } | 2111 } |
| 2112 buildCounterInventoryCustomBatchResponse--; | 2112 buildCounterInventoryCustomBatchResponse--; |
| 2113 } | 2113 } |
| 2114 | 2114 |
| 2115 core.int buildCounterInventoryCustomBatchResponseEntry = 0; | 2115 core.int buildCounterInventoryCustomBatchResponseEntry = 0; |
| 2116 buildInventoryCustomBatchResponseEntry() { | 2116 buildInventoryCustomBatchResponseEntry() { |
| 2117 var o = new api.InventoryCustomBatchResponseEntry(); | 2117 var o = new api.InventoryCustomBatchResponseEntry(); |
| 2118 buildCounterInventoryCustomBatchResponseEntry++; | 2118 buildCounterInventoryCustomBatchResponseEntry++; |
| 2119 if (buildCounterInventoryCustomBatchResponseEntry < 3) { | 2119 if (buildCounterInventoryCustomBatchResponseEntry < 3) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2203 checkLoyaltyPoints(api.LoyaltyPoints o) { | 2203 checkLoyaltyPoints(api.LoyaltyPoints o) { |
| 2204 buildCounterLoyaltyPoints++; | 2204 buildCounterLoyaltyPoints++; |
| 2205 if (buildCounterLoyaltyPoints < 3) { | 2205 if (buildCounterLoyaltyPoints < 3) { |
| 2206 unittest.expect(o.name, unittest.equals('foo')); | 2206 unittest.expect(o.name, unittest.equals('foo')); |
| 2207 unittest.expect(o.pointsValue, unittest.equals('foo')); | 2207 unittest.expect(o.pointsValue, unittest.equals('foo')); |
| 2208 unittest.expect(o.ratio, unittest.equals(42.0)); | 2208 unittest.expect(o.ratio, unittest.equals(42.0)); |
| 2209 } | 2209 } |
| 2210 buildCounterLoyaltyPoints--; | 2210 buildCounterLoyaltyPoints--; |
| 2211 } | 2211 } |
| 2212 | 2212 |
| 2213 buildUnnamed538() { | 2213 buildUnnamed945() { |
| 2214 var o = new core.List<api.OrderLineItem>(); | 2214 var o = new core.List<api.OrderLineItem>(); |
| 2215 o.add(buildOrderLineItem()); | 2215 o.add(buildOrderLineItem()); |
| 2216 o.add(buildOrderLineItem()); | 2216 o.add(buildOrderLineItem()); |
| 2217 return o; | 2217 return o; |
| 2218 } | 2218 } |
| 2219 | 2219 |
| 2220 checkUnnamed538(core.List<api.OrderLineItem> o) { | 2220 checkUnnamed945(core.List<api.OrderLineItem> o) { |
| 2221 unittest.expect(o, unittest.hasLength(2)); | 2221 unittest.expect(o, unittest.hasLength(2)); |
| 2222 checkOrderLineItem(o[0]); | 2222 checkOrderLineItem(o[0]); |
| 2223 checkOrderLineItem(o[1]); | 2223 checkOrderLineItem(o[1]); |
| 2224 } | 2224 } |
| 2225 | 2225 |
| 2226 buildUnnamed539() { | 2226 buildUnnamed946() { |
| 2227 var o = new core.List<api.OrderPromotion>(); | 2227 var o = new core.List<api.OrderPromotion>(); |
| 2228 o.add(buildOrderPromotion()); | 2228 o.add(buildOrderPromotion()); |
| 2229 o.add(buildOrderPromotion()); | 2229 o.add(buildOrderPromotion()); |
| 2230 return o; | 2230 return o; |
| 2231 } | 2231 } |
| 2232 | 2232 |
| 2233 checkUnnamed539(core.List<api.OrderPromotion> o) { | 2233 checkUnnamed946(core.List<api.OrderPromotion> o) { |
| 2234 unittest.expect(o, unittest.hasLength(2)); | 2234 unittest.expect(o, unittest.hasLength(2)); |
| 2235 checkOrderPromotion(o[0]); | 2235 checkOrderPromotion(o[0]); |
| 2236 checkOrderPromotion(o[1]); | 2236 checkOrderPromotion(o[1]); |
| 2237 } | 2237 } |
| 2238 | 2238 |
| 2239 buildUnnamed540() { | 2239 buildUnnamed947() { |
| 2240 var o = new core.List<api.OrderRefund>(); | 2240 var o = new core.List<api.OrderRefund>(); |
| 2241 o.add(buildOrderRefund()); | 2241 o.add(buildOrderRefund()); |
| 2242 o.add(buildOrderRefund()); | 2242 o.add(buildOrderRefund()); |
| 2243 return o; | 2243 return o; |
| 2244 } | 2244 } |
| 2245 | 2245 |
| 2246 checkUnnamed540(core.List<api.OrderRefund> o) { | 2246 checkUnnamed947(core.List<api.OrderRefund> o) { |
| 2247 unittest.expect(o, unittest.hasLength(2)); | 2247 unittest.expect(o, unittest.hasLength(2)); |
| 2248 checkOrderRefund(o[0]); | 2248 checkOrderRefund(o[0]); |
| 2249 checkOrderRefund(o[1]); | 2249 checkOrderRefund(o[1]); |
| 2250 } | 2250 } |
| 2251 | 2251 |
| 2252 buildUnnamed541() { | 2252 buildUnnamed948() { |
| 2253 var o = new core.List<api.OrderShipment>(); | 2253 var o = new core.List<api.OrderShipment>(); |
| 2254 o.add(buildOrderShipment()); | 2254 o.add(buildOrderShipment()); |
| 2255 o.add(buildOrderShipment()); | 2255 o.add(buildOrderShipment()); |
| 2256 return o; | 2256 return o; |
| 2257 } | 2257 } |
| 2258 | 2258 |
| 2259 checkUnnamed541(core.List<api.OrderShipment> o) { | 2259 checkUnnamed948(core.List<api.OrderShipment> o) { |
| 2260 unittest.expect(o, unittest.hasLength(2)); | 2260 unittest.expect(o, unittest.hasLength(2)); |
| 2261 checkOrderShipment(o[0]); | 2261 checkOrderShipment(o[0]); |
| 2262 checkOrderShipment(o[1]); | 2262 checkOrderShipment(o[1]); |
| 2263 } | 2263 } |
| 2264 | 2264 |
| 2265 core.int buildCounterOrder = 0; | 2265 core.int buildCounterOrder = 0; |
| 2266 buildOrder() { | 2266 buildOrder() { |
| 2267 var o = new api.Order(); | 2267 var o = new api.Order(); |
| 2268 buildCounterOrder++; | 2268 buildCounterOrder++; |
| 2269 if (buildCounterOrder < 3) { | 2269 if (buildCounterOrder < 3) { |
| 2270 o.acknowledged = true; | 2270 o.acknowledged = true; |
| 2271 o.customer = buildOrderCustomer(); | 2271 o.customer = buildOrderCustomer(); |
| 2272 o.deliveryDetails = buildOrderDeliveryDetails(); | 2272 o.deliveryDetails = buildOrderDeliveryDetails(); |
| 2273 o.id = "foo"; | 2273 o.id = "foo"; |
| 2274 o.kind = "foo"; | 2274 o.kind = "foo"; |
| 2275 o.lineItems = buildUnnamed538(); | 2275 o.lineItems = buildUnnamed945(); |
| 2276 o.merchantId = "foo"; | 2276 o.merchantId = "foo"; |
| 2277 o.merchantOrderId = "foo"; | 2277 o.merchantOrderId = "foo"; |
| 2278 o.netAmount = buildPrice(); | 2278 o.netAmount = buildPrice(); |
| 2279 o.paymentMethod = buildOrderPaymentMethod(); | 2279 o.paymentMethod = buildOrderPaymentMethod(); |
| 2280 o.paymentStatus = "foo"; | 2280 o.paymentStatus = "foo"; |
| 2281 o.placedDate = "foo"; | 2281 o.placedDate = "foo"; |
| 2282 o.promotions = buildUnnamed539(); | 2282 o.promotions = buildUnnamed946(); |
| 2283 o.refunds = buildUnnamed540(); | 2283 o.refunds = buildUnnamed947(); |
| 2284 o.shipments = buildUnnamed541(); | 2284 o.shipments = buildUnnamed948(); |
| 2285 o.shippingCost = buildPrice(); | 2285 o.shippingCost = buildPrice(); |
| 2286 o.shippingCostTax = buildPrice(); | 2286 o.shippingCostTax = buildPrice(); |
| 2287 o.shippingOption = "foo"; | 2287 o.shippingOption = "foo"; |
| 2288 o.status = "foo"; | 2288 o.status = "foo"; |
| 2289 } | 2289 } |
| 2290 buildCounterOrder--; | 2290 buildCounterOrder--; |
| 2291 return o; | 2291 return o; |
| 2292 } | 2292 } |
| 2293 | 2293 |
| 2294 checkOrder(api.Order o) { | 2294 checkOrder(api.Order o) { |
| 2295 buildCounterOrder++; | 2295 buildCounterOrder++; |
| 2296 if (buildCounterOrder < 3) { | 2296 if (buildCounterOrder < 3) { |
| 2297 unittest.expect(o.acknowledged, unittest.isTrue); | 2297 unittest.expect(o.acknowledged, unittest.isTrue); |
| 2298 checkOrderCustomer(o.customer); | 2298 checkOrderCustomer(o.customer); |
| 2299 checkOrderDeliveryDetails(o.deliveryDetails); | 2299 checkOrderDeliveryDetails(o.deliveryDetails); |
| 2300 unittest.expect(o.id, unittest.equals('foo')); | 2300 unittest.expect(o.id, unittest.equals('foo')); |
| 2301 unittest.expect(o.kind, unittest.equals('foo')); | 2301 unittest.expect(o.kind, unittest.equals('foo')); |
| 2302 checkUnnamed538(o.lineItems); | 2302 checkUnnamed945(o.lineItems); |
| 2303 unittest.expect(o.merchantId, unittest.equals('foo')); | 2303 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 2304 unittest.expect(o.merchantOrderId, unittest.equals('foo')); | 2304 unittest.expect(o.merchantOrderId, unittest.equals('foo')); |
| 2305 checkPrice(o.netAmount); | 2305 checkPrice(o.netAmount); |
| 2306 checkOrderPaymentMethod(o.paymentMethod); | 2306 checkOrderPaymentMethod(o.paymentMethod); |
| 2307 unittest.expect(o.paymentStatus, unittest.equals('foo')); | 2307 unittest.expect(o.paymentStatus, unittest.equals('foo')); |
| 2308 unittest.expect(o.placedDate, unittest.equals('foo')); | 2308 unittest.expect(o.placedDate, unittest.equals('foo')); |
| 2309 checkUnnamed539(o.promotions); | 2309 checkUnnamed946(o.promotions); |
| 2310 checkUnnamed540(o.refunds); | 2310 checkUnnamed947(o.refunds); |
| 2311 checkUnnamed541(o.shipments); | 2311 checkUnnamed948(o.shipments); |
| 2312 checkPrice(o.shippingCost); | 2312 checkPrice(o.shippingCost); |
| 2313 checkPrice(o.shippingCostTax); | 2313 checkPrice(o.shippingCostTax); |
| 2314 unittest.expect(o.shippingOption, unittest.equals('foo')); | 2314 unittest.expect(o.shippingOption, unittest.equals('foo')); |
| 2315 unittest.expect(o.status, unittest.equals('foo')); | 2315 unittest.expect(o.status, unittest.equals('foo')); |
| 2316 } | 2316 } |
| 2317 buildCounterOrder--; | 2317 buildCounterOrder--; |
| 2318 } | 2318 } |
| 2319 | 2319 |
| 2320 buildUnnamed542() { | 2320 buildUnnamed949() { |
| 2321 var o = new core.List<core.String>(); | 2321 var o = new core.List<core.String>(); |
| 2322 o.add("foo"); | 2322 o.add("foo"); |
| 2323 o.add("foo"); | 2323 o.add("foo"); |
| 2324 return o; | 2324 return o; |
| 2325 } | 2325 } |
| 2326 | 2326 |
| 2327 checkUnnamed542(core.List<core.String> o) { | 2327 checkUnnamed949(core.List<core.String> o) { |
| 2328 unittest.expect(o, unittest.hasLength(2)); | 2328 unittest.expect(o, unittest.hasLength(2)); |
| 2329 unittest.expect(o[0], unittest.equals('foo')); | 2329 unittest.expect(o[0], unittest.equals('foo')); |
| 2330 unittest.expect(o[1], unittest.equals('foo')); | 2330 unittest.expect(o[1], unittest.equals('foo')); |
| 2331 } | 2331 } |
| 2332 | 2332 |
| 2333 buildUnnamed543() { | 2333 buildUnnamed950() { |
| 2334 var o = new core.List<core.String>(); | 2334 var o = new core.List<core.String>(); |
| 2335 o.add("foo"); | 2335 o.add("foo"); |
| 2336 o.add("foo"); | 2336 o.add("foo"); |
| 2337 return o; | 2337 return o; |
| 2338 } | 2338 } |
| 2339 | 2339 |
| 2340 checkUnnamed543(core.List<core.String> o) { | 2340 checkUnnamed950(core.List<core.String> o) { |
| 2341 unittest.expect(o, unittest.hasLength(2)); | 2341 unittest.expect(o, unittest.hasLength(2)); |
| 2342 unittest.expect(o[0], unittest.equals('foo')); | 2342 unittest.expect(o[0], unittest.equals('foo')); |
| 2343 unittest.expect(o[1], unittest.equals('foo')); | 2343 unittest.expect(o[1], unittest.equals('foo')); |
| 2344 } | 2344 } |
| 2345 | 2345 |
| 2346 core.int buildCounterOrderAddress = 0; | 2346 core.int buildCounterOrderAddress = 0; |
| 2347 buildOrderAddress() { | 2347 buildOrderAddress() { |
| 2348 var o = new api.OrderAddress(); | 2348 var o = new api.OrderAddress(); |
| 2349 buildCounterOrderAddress++; | 2349 buildCounterOrderAddress++; |
| 2350 if (buildCounterOrderAddress < 3) { | 2350 if (buildCounterOrderAddress < 3) { |
| 2351 o.country = "foo"; | 2351 o.country = "foo"; |
| 2352 o.fullAddress = buildUnnamed542(); | 2352 o.fullAddress = buildUnnamed949(); |
| 2353 o.isPostOfficeBox = true; | 2353 o.isPostOfficeBox = true; |
| 2354 o.locality = "foo"; | 2354 o.locality = "foo"; |
| 2355 o.postalCode = "foo"; | 2355 o.postalCode = "foo"; |
| 2356 o.recipientName = "foo"; | 2356 o.recipientName = "foo"; |
| 2357 o.region = "foo"; | 2357 o.region = "foo"; |
| 2358 o.streetAddress = buildUnnamed543(); | 2358 o.streetAddress = buildUnnamed950(); |
| 2359 } | 2359 } |
| 2360 buildCounterOrderAddress--; | 2360 buildCounterOrderAddress--; |
| 2361 return o; | 2361 return o; |
| 2362 } | 2362 } |
| 2363 | 2363 |
| 2364 checkOrderAddress(api.OrderAddress o) { | 2364 checkOrderAddress(api.OrderAddress o) { |
| 2365 buildCounterOrderAddress++; | 2365 buildCounterOrderAddress++; |
| 2366 if (buildCounterOrderAddress < 3) { | 2366 if (buildCounterOrderAddress < 3) { |
| 2367 unittest.expect(o.country, unittest.equals('foo')); | 2367 unittest.expect(o.country, unittest.equals('foo')); |
| 2368 checkUnnamed542(o.fullAddress); | 2368 checkUnnamed949(o.fullAddress); |
| 2369 unittest.expect(o.isPostOfficeBox, unittest.isTrue); | 2369 unittest.expect(o.isPostOfficeBox, unittest.isTrue); |
| 2370 unittest.expect(o.locality, unittest.equals('foo')); | 2370 unittest.expect(o.locality, unittest.equals('foo')); |
| 2371 unittest.expect(o.postalCode, unittest.equals('foo')); | 2371 unittest.expect(o.postalCode, unittest.equals('foo')); |
| 2372 unittest.expect(o.recipientName, unittest.equals('foo')); | 2372 unittest.expect(o.recipientName, unittest.equals('foo')); |
| 2373 unittest.expect(o.region, unittest.equals('foo')); | 2373 unittest.expect(o.region, unittest.equals('foo')); |
| 2374 checkUnnamed543(o.streetAddress); | 2374 checkUnnamed950(o.streetAddress); |
| 2375 } | 2375 } |
| 2376 buildCounterOrderAddress--; | 2376 buildCounterOrderAddress--; |
| 2377 } | 2377 } |
| 2378 | 2378 |
| 2379 core.int buildCounterOrderCancellation = 0; | 2379 core.int buildCounterOrderCancellation = 0; |
| 2380 buildOrderCancellation() { | 2380 buildOrderCancellation() { |
| 2381 var o = new api.OrderCancellation(); | 2381 var o = new api.OrderCancellation(); |
| 2382 buildCounterOrderCancellation++; | 2382 buildCounterOrderCancellation++; |
| 2383 if (buildCounterOrderCancellation < 3) { | 2383 if (buildCounterOrderCancellation < 3) { |
| 2384 o.actor = "foo"; | 2384 o.actor = "foo"; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2440 | 2440 |
| 2441 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { | 2441 checkOrderDeliveryDetails(api.OrderDeliveryDetails o) { |
| 2442 buildCounterOrderDeliveryDetails++; | 2442 buildCounterOrderDeliveryDetails++; |
| 2443 if (buildCounterOrderDeliveryDetails < 3) { | 2443 if (buildCounterOrderDeliveryDetails < 3) { |
| 2444 checkOrderAddress(o.address); | 2444 checkOrderAddress(o.address); |
| 2445 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2445 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
| 2446 } | 2446 } |
| 2447 buildCounterOrderDeliveryDetails--; | 2447 buildCounterOrderDeliveryDetails--; |
| 2448 } | 2448 } |
| 2449 | 2449 |
| 2450 buildUnnamed544() { | 2450 buildUnnamed951() { |
| 2451 var o = new core.List<api.OrderCancellation>(); | 2451 var o = new core.List<api.OrderCancellation>(); |
| 2452 o.add(buildOrderCancellation()); | 2452 o.add(buildOrderCancellation()); |
| 2453 o.add(buildOrderCancellation()); | 2453 o.add(buildOrderCancellation()); |
| 2454 return o; | 2454 return o; |
| 2455 } | 2455 } |
| 2456 | 2456 |
| 2457 checkUnnamed544(core.List<api.OrderCancellation> o) { | 2457 checkUnnamed951(core.List<api.OrderCancellation> o) { |
| 2458 unittest.expect(o, unittest.hasLength(2)); | 2458 unittest.expect(o, unittest.hasLength(2)); |
| 2459 checkOrderCancellation(o[0]); | 2459 checkOrderCancellation(o[0]); |
| 2460 checkOrderCancellation(o[1]); | 2460 checkOrderCancellation(o[1]); |
| 2461 } | 2461 } |
| 2462 | 2462 |
| 2463 buildUnnamed545() { | 2463 buildUnnamed952() { |
| 2464 var o = new core.List<api.OrderReturn>(); | 2464 var o = new core.List<api.OrderReturn>(); |
| 2465 o.add(buildOrderReturn()); | 2465 o.add(buildOrderReturn()); |
| 2466 o.add(buildOrderReturn()); | 2466 o.add(buildOrderReturn()); |
| 2467 return o; | 2467 return o; |
| 2468 } | 2468 } |
| 2469 | 2469 |
| 2470 checkUnnamed545(core.List<api.OrderReturn> o) { | 2470 checkUnnamed952(core.List<api.OrderReturn> o) { |
| 2471 unittest.expect(o, unittest.hasLength(2)); | 2471 unittest.expect(o, unittest.hasLength(2)); |
| 2472 checkOrderReturn(o[0]); | 2472 checkOrderReturn(o[0]); |
| 2473 checkOrderReturn(o[1]); | 2473 checkOrderReturn(o[1]); |
| 2474 } | 2474 } |
| 2475 | 2475 |
| 2476 core.int buildCounterOrderLineItem = 0; | 2476 core.int buildCounterOrderLineItem = 0; |
| 2477 buildOrderLineItem() { | 2477 buildOrderLineItem() { |
| 2478 var o = new api.OrderLineItem(); | 2478 var o = new api.OrderLineItem(); |
| 2479 buildCounterOrderLineItem++; | 2479 buildCounterOrderLineItem++; |
| 2480 if (buildCounterOrderLineItem < 3) { | 2480 if (buildCounterOrderLineItem < 3) { |
| 2481 o.cancellations = buildUnnamed544(); | 2481 o.cancellations = buildUnnamed951(); |
| 2482 o.id = "foo"; | 2482 o.id = "foo"; |
| 2483 o.price = buildPrice(); | 2483 o.price = buildPrice(); |
| 2484 o.product = buildOrderLineItemProduct(); | 2484 o.product = buildOrderLineItemProduct(); |
| 2485 o.quantityCanceled = 42; | 2485 o.quantityCanceled = 42; |
| 2486 o.quantityDelivered = 42; | 2486 o.quantityDelivered = 42; |
| 2487 o.quantityOrdered = 42; | 2487 o.quantityOrdered = 42; |
| 2488 o.quantityPending = 42; | 2488 o.quantityPending = 42; |
| 2489 o.quantityReturned = 42; | 2489 o.quantityReturned = 42; |
| 2490 o.quantityShipped = 42; | 2490 o.quantityShipped = 42; |
| 2491 o.returnInfo = buildOrderLineItemReturnInfo(); | 2491 o.returnInfo = buildOrderLineItemReturnInfo(); |
| 2492 o.returns = buildUnnamed545(); | 2492 o.returns = buildUnnamed952(); |
| 2493 o.shippingDetails = buildOrderLineItemShippingDetails(); | 2493 o.shippingDetails = buildOrderLineItemShippingDetails(); |
| 2494 o.tax = buildPrice(); | 2494 o.tax = buildPrice(); |
| 2495 } | 2495 } |
| 2496 buildCounterOrderLineItem--; | 2496 buildCounterOrderLineItem--; |
| 2497 return o; | 2497 return o; |
| 2498 } | 2498 } |
| 2499 | 2499 |
| 2500 checkOrderLineItem(api.OrderLineItem o) { | 2500 checkOrderLineItem(api.OrderLineItem o) { |
| 2501 buildCounterOrderLineItem++; | 2501 buildCounterOrderLineItem++; |
| 2502 if (buildCounterOrderLineItem < 3) { | 2502 if (buildCounterOrderLineItem < 3) { |
| 2503 checkUnnamed544(o.cancellations); | 2503 checkUnnamed951(o.cancellations); |
| 2504 unittest.expect(o.id, unittest.equals('foo')); | 2504 unittest.expect(o.id, unittest.equals('foo')); |
| 2505 checkPrice(o.price); | 2505 checkPrice(o.price); |
| 2506 checkOrderLineItemProduct(o.product); | 2506 checkOrderLineItemProduct(o.product); |
| 2507 unittest.expect(o.quantityCanceled, unittest.equals(42)); | 2507 unittest.expect(o.quantityCanceled, unittest.equals(42)); |
| 2508 unittest.expect(o.quantityDelivered, unittest.equals(42)); | 2508 unittest.expect(o.quantityDelivered, unittest.equals(42)); |
| 2509 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 2509 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
| 2510 unittest.expect(o.quantityPending, unittest.equals(42)); | 2510 unittest.expect(o.quantityPending, unittest.equals(42)); |
| 2511 unittest.expect(o.quantityReturned, unittest.equals(42)); | 2511 unittest.expect(o.quantityReturned, unittest.equals(42)); |
| 2512 unittest.expect(o.quantityShipped, unittest.equals(42)); | 2512 unittest.expect(o.quantityShipped, unittest.equals(42)); |
| 2513 checkOrderLineItemReturnInfo(o.returnInfo); | 2513 checkOrderLineItemReturnInfo(o.returnInfo); |
| 2514 checkUnnamed545(o.returns); | 2514 checkUnnamed952(o.returns); |
| 2515 checkOrderLineItemShippingDetails(o.shippingDetails); | 2515 checkOrderLineItemShippingDetails(o.shippingDetails); |
| 2516 checkPrice(o.tax); | 2516 checkPrice(o.tax); |
| 2517 } | 2517 } |
| 2518 buildCounterOrderLineItem--; | 2518 buildCounterOrderLineItem--; |
| 2519 } | 2519 } |
| 2520 | 2520 |
| 2521 buildUnnamed546() { | 2521 buildUnnamed953() { |
| 2522 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 2522 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
| 2523 o.add(buildOrderLineItemProductVariantAttribute()); | 2523 o.add(buildOrderLineItemProductVariantAttribute()); |
| 2524 o.add(buildOrderLineItemProductVariantAttribute()); | 2524 o.add(buildOrderLineItemProductVariantAttribute()); |
| 2525 return o; | 2525 return o; |
| 2526 } | 2526 } |
| 2527 | 2527 |
| 2528 checkUnnamed546(core.List<api.OrderLineItemProductVariantAttribute> o) { | 2528 checkUnnamed953(core.List<api.OrderLineItemProductVariantAttribute> o) { |
| 2529 unittest.expect(o, unittest.hasLength(2)); | 2529 unittest.expect(o, unittest.hasLength(2)); |
| 2530 checkOrderLineItemProductVariantAttribute(o[0]); | 2530 checkOrderLineItemProductVariantAttribute(o[0]); |
| 2531 checkOrderLineItemProductVariantAttribute(o[1]); | 2531 checkOrderLineItemProductVariantAttribute(o[1]); |
| 2532 } | 2532 } |
| 2533 | 2533 |
| 2534 core.int buildCounterOrderLineItemProduct = 0; | 2534 core.int buildCounterOrderLineItemProduct = 0; |
| 2535 buildOrderLineItemProduct() { | 2535 buildOrderLineItemProduct() { |
| 2536 var o = new api.OrderLineItemProduct(); | 2536 var o = new api.OrderLineItemProduct(); |
| 2537 buildCounterOrderLineItemProduct++; | 2537 buildCounterOrderLineItemProduct++; |
| 2538 if (buildCounterOrderLineItemProduct < 3) { | 2538 if (buildCounterOrderLineItemProduct < 3) { |
| 2539 o.brand = "foo"; | 2539 o.brand = "foo"; |
| 2540 o.channel = "foo"; | 2540 o.channel = "foo"; |
| 2541 o.condition = "foo"; | 2541 o.condition = "foo"; |
| 2542 o.contentLanguage = "foo"; | 2542 o.contentLanguage = "foo"; |
| 2543 o.gtin = "foo"; | 2543 o.gtin = "foo"; |
| 2544 o.id = "foo"; | 2544 o.id = "foo"; |
| 2545 o.imageLink = "foo"; | 2545 o.imageLink = "foo"; |
| 2546 o.itemGroupId = "foo"; | 2546 o.itemGroupId = "foo"; |
| 2547 o.mpn = "foo"; | 2547 o.mpn = "foo"; |
| 2548 o.offerId = "foo"; | 2548 o.offerId = "foo"; |
| 2549 o.price = buildPrice(); | 2549 o.price = buildPrice(); |
| 2550 o.shownImage = "foo"; | 2550 o.shownImage = "foo"; |
| 2551 o.targetCountry = "foo"; | 2551 o.targetCountry = "foo"; |
| 2552 o.title = "foo"; | 2552 o.title = "foo"; |
| 2553 o.variantAttributes = buildUnnamed546(); | 2553 o.variantAttributes = buildUnnamed953(); |
| 2554 } | 2554 } |
| 2555 buildCounterOrderLineItemProduct--; | 2555 buildCounterOrderLineItemProduct--; |
| 2556 return o; | 2556 return o; |
| 2557 } | 2557 } |
| 2558 | 2558 |
| 2559 checkOrderLineItemProduct(api.OrderLineItemProduct o) { | 2559 checkOrderLineItemProduct(api.OrderLineItemProduct o) { |
| 2560 buildCounterOrderLineItemProduct++; | 2560 buildCounterOrderLineItemProduct++; |
| 2561 if (buildCounterOrderLineItemProduct < 3) { | 2561 if (buildCounterOrderLineItemProduct < 3) { |
| 2562 unittest.expect(o.brand, unittest.equals('foo')); | 2562 unittest.expect(o.brand, unittest.equals('foo')); |
| 2563 unittest.expect(o.channel, unittest.equals('foo')); | 2563 unittest.expect(o.channel, unittest.equals('foo')); |
| 2564 unittest.expect(o.condition, unittest.equals('foo')); | 2564 unittest.expect(o.condition, unittest.equals('foo')); |
| 2565 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 2565 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 2566 unittest.expect(o.gtin, unittest.equals('foo')); | 2566 unittest.expect(o.gtin, unittest.equals('foo')); |
| 2567 unittest.expect(o.id, unittest.equals('foo')); | 2567 unittest.expect(o.id, unittest.equals('foo')); |
| 2568 unittest.expect(o.imageLink, unittest.equals('foo')); | 2568 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 2569 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 2569 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 2570 unittest.expect(o.mpn, unittest.equals('foo')); | 2570 unittest.expect(o.mpn, unittest.equals('foo')); |
| 2571 unittest.expect(o.offerId, unittest.equals('foo')); | 2571 unittest.expect(o.offerId, unittest.equals('foo')); |
| 2572 checkPrice(o.price); | 2572 checkPrice(o.price); |
| 2573 unittest.expect(o.shownImage, unittest.equals('foo')); | 2573 unittest.expect(o.shownImage, unittest.equals('foo')); |
| 2574 unittest.expect(o.targetCountry, unittest.equals('foo')); | 2574 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 2575 unittest.expect(o.title, unittest.equals('foo')); | 2575 unittest.expect(o.title, unittest.equals('foo')); |
| 2576 checkUnnamed546(o.variantAttributes); | 2576 checkUnnamed953(o.variantAttributes); |
| 2577 } | 2577 } |
| 2578 buildCounterOrderLineItemProduct--; | 2578 buildCounterOrderLineItemProduct--; |
| 2579 } | 2579 } |
| 2580 | 2580 |
| 2581 core.int buildCounterOrderLineItemProductVariantAttribute = 0; | 2581 core.int buildCounterOrderLineItemProductVariantAttribute = 0; |
| 2582 buildOrderLineItemProductVariantAttribute() { | 2582 buildOrderLineItemProductVariantAttribute() { |
| 2583 var o = new api.OrderLineItemProductVariantAttribute(); | 2583 var o = new api.OrderLineItemProductVariantAttribute(); |
| 2584 buildCounterOrderLineItemProductVariantAttribute++; | 2584 buildCounterOrderLineItemProductVariantAttribute++; |
| 2585 if (buildCounterOrderLineItemProductVariantAttribute < 3) { | 2585 if (buildCounterOrderLineItemProductVariantAttribute < 3) { |
| 2586 o.dimension = "foo"; | 2586 o.dimension = "foo"; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2692 checkOrderAddress(o.billingAddress); | 2692 checkOrderAddress(o.billingAddress); |
| 2693 unittest.expect(o.expirationMonth, unittest.equals(42)); | 2693 unittest.expect(o.expirationMonth, unittest.equals(42)); |
| 2694 unittest.expect(o.expirationYear, unittest.equals(42)); | 2694 unittest.expect(o.expirationYear, unittest.equals(42)); |
| 2695 unittest.expect(o.lastFourDigits, unittest.equals('foo')); | 2695 unittest.expect(o.lastFourDigits, unittest.equals('foo')); |
| 2696 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 2696 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
| 2697 unittest.expect(o.type, unittest.equals('foo')); | 2697 unittest.expect(o.type, unittest.equals('foo')); |
| 2698 } | 2698 } |
| 2699 buildCounterOrderPaymentMethod--; | 2699 buildCounterOrderPaymentMethod--; |
| 2700 } | 2700 } |
| 2701 | 2701 |
| 2702 buildUnnamed547() { | 2702 buildUnnamed954() { |
| 2703 var o = new core.List<api.OrderPromotionBenefit>(); | 2703 var o = new core.List<api.OrderPromotionBenefit>(); |
| 2704 o.add(buildOrderPromotionBenefit()); | 2704 o.add(buildOrderPromotionBenefit()); |
| 2705 o.add(buildOrderPromotionBenefit()); | 2705 o.add(buildOrderPromotionBenefit()); |
| 2706 return o; | 2706 return o; |
| 2707 } | 2707 } |
| 2708 | 2708 |
| 2709 checkUnnamed547(core.List<api.OrderPromotionBenefit> o) { | 2709 checkUnnamed954(core.List<api.OrderPromotionBenefit> o) { |
| 2710 unittest.expect(o, unittest.hasLength(2)); | 2710 unittest.expect(o, unittest.hasLength(2)); |
| 2711 checkOrderPromotionBenefit(o[0]); | 2711 checkOrderPromotionBenefit(o[0]); |
| 2712 checkOrderPromotionBenefit(o[1]); | 2712 checkOrderPromotionBenefit(o[1]); |
| 2713 } | 2713 } |
| 2714 | 2714 |
| 2715 core.int buildCounterOrderPromotion = 0; | 2715 core.int buildCounterOrderPromotion = 0; |
| 2716 buildOrderPromotion() { | 2716 buildOrderPromotion() { |
| 2717 var o = new api.OrderPromotion(); | 2717 var o = new api.OrderPromotion(); |
| 2718 buildCounterOrderPromotion++; | 2718 buildCounterOrderPromotion++; |
| 2719 if (buildCounterOrderPromotion < 3) { | 2719 if (buildCounterOrderPromotion < 3) { |
| 2720 o.benefits = buildUnnamed547(); | 2720 o.benefits = buildUnnamed954(); |
| 2721 o.effectiveDates = "foo"; | 2721 o.effectiveDates = "foo"; |
| 2722 o.genericRedemptionCode = "foo"; | 2722 o.genericRedemptionCode = "foo"; |
| 2723 o.id = "foo"; | 2723 o.id = "foo"; |
| 2724 o.longTitle = "foo"; | 2724 o.longTitle = "foo"; |
| 2725 o.productApplicability = "foo"; | 2725 o.productApplicability = "foo"; |
| 2726 o.redemptionChannel = "foo"; | 2726 o.redemptionChannel = "foo"; |
| 2727 } | 2727 } |
| 2728 buildCounterOrderPromotion--; | 2728 buildCounterOrderPromotion--; |
| 2729 return o; | 2729 return o; |
| 2730 } | 2730 } |
| 2731 | 2731 |
| 2732 checkOrderPromotion(api.OrderPromotion o) { | 2732 checkOrderPromotion(api.OrderPromotion o) { |
| 2733 buildCounterOrderPromotion++; | 2733 buildCounterOrderPromotion++; |
| 2734 if (buildCounterOrderPromotion < 3) { | 2734 if (buildCounterOrderPromotion < 3) { |
| 2735 checkUnnamed547(o.benefits); | 2735 checkUnnamed954(o.benefits); |
| 2736 unittest.expect(o.effectiveDates, unittest.equals('foo')); | 2736 unittest.expect(o.effectiveDates, unittest.equals('foo')); |
| 2737 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); | 2737 unittest.expect(o.genericRedemptionCode, unittest.equals('foo')); |
| 2738 unittest.expect(o.id, unittest.equals('foo')); | 2738 unittest.expect(o.id, unittest.equals('foo')); |
| 2739 unittest.expect(o.longTitle, unittest.equals('foo')); | 2739 unittest.expect(o.longTitle, unittest.equals('foo')); |
| 2740 unittest.expect(o.productApplicability, unittest.equals('foo')); | 2740 unittest.expect(o.productApplicability, unittest.equals('foo')); |
| 2741 unittest.expect(o.redemptionChannel, unittest.equals('foo')); | 2741 unittest.expect(o.redemptionChannel, unittest.equals('foo')); |
| 2742 } | 2742 } |
| 2743 buildCounterOrderPromotion--; | 2743 buildCounterOrderPromotion--; |
| 2744 } | 2744 } |
| 2745 | 2745 |
| 2746 buildUnnamed548() { | 2746 buildUnnamed955() { |
| 2747 var o = new core.List<core.String>(); | 2747 var o = new core.List<core.String>(); |
| 2748 o.add("foo"); | 2748 o.add("foo"); |
| 2749 o.add("foo"); | 2749 o.add("foo"); |
| 2750 return o; | 2750 return o; |
| 2751 } | 2751 } |
| 2752 | 2752 |
| 2753 checkUnnamed548(core.List<core.String> o) { | 2753 checkUnnamed955(core.List<core.String> o) { |
| 2754 unittest.expect(o, unittest.hasLength(2)); | 2754 unittest.expect(o, unittest.hasLength(2)); |
| 2755 unittest.expect(o[0], unittest.equals('foo')); | 2755 unittest.expect(o[0], unittest.equals('foo')); |
| 2756 unittest.expect(o[1], unittest.equals('foo')); | 2756 unittest.expect(o[1], unittest.equals('foo')); |
| 2757 } | 2757 } |
| 2758 | 2758 |
| 2759 core.int buildCounterOrderPromotionBenefit = 0; | 2759 core.int buildCounterOrderPromotionBenefit = 0; |
| 2760 buildOrderPromotionBenefit() { | 2760 buildOrderPromotionBenefit() { |
| 2761 var o = new api.OrderPromotionBenefit(); | 2761 var o = new api.OrderPromotionBenefit(); |
| 2762 buildCounterOrderPromotionBenefit++; | 2762 buildCounterOrderPromotionBenefit++; |
| 2763 if (buildCounterOrderPromotionBenefit < 3) { | 2763 if (buildCounterOrderPromotionBenefit < 3) { |
| 2764 o.discount = buildPrice(); | 2764 o.discount = buildPrice(); |
| 2765 o.offerIds = buildUnnamed548(); | 2765 o.offerIds = buildUnnamed955(); |
| 2766 o.subType = "foo"; | 2766 o.subType = "foo"; |
| 2767 o.taxImpact = buildPrice(); | 2767 o.taxImpact = buildPrice(); |
| 2768 o.type = "foo"; | 2768 o.type = "foo"; |
| 2769 } | 2769 } |
| 2770 buildCounterOrderPromotionBenefit--; | 2770 buildCounterOrderPromotionBenefit--; |
| 2771 return o; | 2771 return o; |
| 2772 } | 2772 } |
| 2773 | 2773 |
| 2774 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { | 2774 checkOrderPromotionBenefit(api.OrderPromotionBenefit o) { |
| 2775 buildCounterOrderPromotionBenefit++; | 2775 buildCounterOrderPromotionBenefit++; |
| 2776 if (buildCounterOrderPromotionBenefit < 3) { | 2776 if (buildCounterOrderPromotionBenefit < 3) { |
| 2777 checkPrice(o.discount); | 2777 checkPrice(o.discount); |
| 2778 checkUnnamed548(o.offerIds); | 2778 checkUnnamed955(o.offerIds); |
| 2779 unittest.expect(o.subType, unittest.equals('foo')); | 2779 unittest.expect(o.subType, unittest.equals('foo')); |
| 2780 checkPrice(o.taxImpact); | 2780 checkPrice(o.taxImpact); |
| 2781 unittest.expect(o.type, unittest.equals('foo')); | 2781 unittest.expect(o.type, unittest.equals('foo')); |
| 2782 } | 2782 } |
| 2783 buildCounterOrderPromotionBenefit--; | 2783 buildCounterOrderPromotionBenefit--; |
| 2784 } | 2784 } |
| 2785 | 2785 |
| 2786 core.int buildCounterOrderRefund = 0; | 2786 core.int buildCounterOrderRefund = 0; |
| 2787 buildOrderRefund() { | 2787 buildOrderRefund() { |
| 2788 var o = new api.OrderRefund(); | 2788 var o = new api.OrderRefund(); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2830 if (buildCounterOrderReturn < 3) { | 2830 if (buildCounterOrderReturn < 3) { |
| 2831 unittest.expect(o.actor, unittest.equals('foo')); | 2831 unittest.expect(o.actor, unittest.equals('foo')); |
| 2832 unittest.expect(o.creationDate, unittest.equals('foo')); | 2832 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 2833 unittest.expect(o.quantity, unittest.equals(42)); | 2833 unittest.expect(o.quantity, unittest.equals(42)); |
| 2834 unittest.expect(o.reason, unittest.equals('foo')); | 2834 unittest.expect(o.reason, unittest.equals('foo')); |
| 2835 unittest.expect(o.reasonText, unittest.equals('foo')); | 2835 unittest.expect(o.reasonText, unittest.equals('foo')); |
| 2836 } | 2836 } |
| 2837 buildCounterOrderReturn--; | 2837 buildCounterOrderReturn--; |
| 2838 } | 2838 } |
| 2839 | 2839 |
| 2840 buildUnnamed549() { | 2840 buildUnnamed956() { |
| 2841 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 2841 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 2842 o.add(buildOrderShipmentLineItemShipment()); | 2842 o.add(buildOrderShipmentLineItemShipment()); |
| 2843 o.add(buildOrderShipmentLineItemShipment()); | 2843 o.add(buildOrderShipmentLineItemShipment()); |
| 2844 return o; | 2844 return o; |
| 2845 } | 2845 } |
| 2846 | 2846 |
| 2847 checkUnnamed549(core.List<api.OrderShipmentLineItemShipment> o) { | 2847 checkUnnamed956(core.List<api.OrderShipmentLineItemShipment> o) { |
| 2848 unittest.expect(o, unittest.hasLength(2)); | 2848 unittest.expect(o, unittest.hasLength(2)); |
| 2849 checkOrderShipmentLineItemShipment(o[0]); | 2849 checkOrderShipmentLineItemShipment(o[0]); |
| 2850 checkOrderShipmentLineItemShipment(o[1]); | 2850 checkOrderShipmentLineItemShipment(o[1]); |
| 2851 } | 2851 } |
| 2852 | 2852 |
| 2853 core.int buildCounterOrderShipment = 0; | 2853 core.int buildCounterOrderShipment = 0; |
| 2854 buildOrderShipment() { | 2854 buildOrderShipment() { |
| 2855 var o = new api.OrderShipment(); | 2855 var o = new api.OrderShipment(); |
| 2856 buildCounterOrderShipment++; | 2856 buildCounterOrderShipment++; |
| 2857 if (buildCounterOrderShipment < 3) { | 2857 if (buildCounterOrderShipment < 3) { |
| 2858 o.carrier = "foo"; | 2858 o.carrier = "foo"; |
| 2859 o.creationDate = "foo"; | 2859 o.creationDate = "foo"; |
| 2860 o.deliveryDate = "foo"; | 2860 o.deliveryDate = "foo"; |
| 2861 o.id = "foo"; | 2861 o.id = "foo"; |
| 2862 o.lineItems = buildUnnamed549(); | 2862 o.lineItems = buildUnnamed956(); |
| 2863 o.status = "foo"; | 2863 o.status = "foo"; |
| 2864 o.trackingId = "foo"; | 2864 o.trackingId = "foo"; |
| 2865 } | 2865 } |
| 2866 buildCounterOrderShipment--; | 2866 buildCounterOrderShipment--; |
| 2867 return o; | 2867 return o; |
| 2868 } | 2868 } |
| 2869 | 2869 |
| 2870 checkOrderShipment(api.OrderShipment o) { | 2870 checkOrderShipment(api.OrderShipment o) { |
| 2871 buildCounterOrderShipment++; | 2871 buildCounterOrderShipment++; |
| 2872 if (buildCounterOrderShipment < 3) { | 2872 if (buildCounterOrderShipment < 3) { |
| 2873 unittest.expect(o.carrier, unittest.equals('foo')); | 2873 unittest.expect(o.carrier, unittest.equals('foo')); |
| 2874 unittest.expect(o.creationDate, unittest.equals('foo')); | 2874 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 2875 unittest.expect(o.deliveryDate, unittest.equals('foo')); | 2875 unittest.expect(o.deliveryDate, unittest.equals('foo')); |
| 2876 unittest.expect(o.id, unittest.equals('foo')); | 2876 unittest.expect(o.id, unittest.equals('foo')); |
| 2877 checkUnnamed549(o.lineItems); | 2877 checkUnnamed956(o.lineItems); |
| 2878 unittest.expect(o.status, unittest.equals('foo')); | 2878 unittest.expect(o.status, unittest.equals('foo')); |
| 2879 unittest.expect(o.trackingId, unittest.equals('foo')); | 2879 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 2880 } | 2880 } |
| 2881 buildCounterOrderShipment--; | 2881 buildCounterOrderShipment--; |
| 2882 } | 2882 } |
| 2883 | 2883 |
| 2884 core.int buildCounterOrderShipmentLineItemShipment = 0; | 2884 core.int buildCounterOrderShipmentLineItemShipment = 0; |
| 2885 buildOrderShipmentLineItemShipment() { | 2885 buildOrderShipmentLineItemShipment() { |
| 2886 var o = new api.OrderShipmentLineItemShipment(); | 2886 var o = new api.OrderShipmentLineItemShipment(); |
| 2887 buildCounterOrderShipmentLineItemShipment++; | 2887 buildCounterOrderShipmentLineItemShipment++; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3090 | 3090 |
| 3091 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { | 3091 checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) { |
| 3092 buildCounterOrdersCreateTestOrderResponse++; | 3092 buildCounterOrdersCreateTestOrderResponse++; |
| 3093 if (buildCounterOrdersCreateTestOrderResponse < 3) { | 3093 if (buildCounterOrdersCreateTestOrderResponse < 3) { |
| 3094 unittest.expect(o.kind, unittest.equals('foo')); | 3094 unittest.expect(o.kind, unittest.equals('foo')); |
| 3095 unittest.expect(o.orderId, unittest.equals('foo')); | 3095 unittest.expect(o.orderId, unittest.equals('foo')); |
| 3096 } | 3096 } |
| 3097 buildCounterOrdersCreateTestOrderResponse--; | 3097 buildCounterOrdersCreateTestOrderResponse--; |
| 3098 } | 3098 } |
| 3099 | 3099 |
| 3100 buildUnnamed550() { | 3100 buildUnnamed957() { |
| 3101 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); | 3101 var o = new core.List<api.OrdersCustomBatchRequestEntry>(); |
| 3102 o.add(buildOrdersCustomBatchRequestEntry()); | 3102 o.add(buildOrdersCustomBatchRequestEntry()); |
| 3103 o.add(buildOrdersCustomBatchRequestEntry()); | 3103 o.add(buildOrdersCustomBatchRequestEntry()); |
| 3104 return o; | 3104 return o; |
| 3105 } | 3105 } |
| 3106 | 3106 |
| 3107 checkUnnamed550(core.List<api.OrdersCustomBatchRequestEntry> o) { | 3107 checkUnnamed957(core.List<api.OrdersCustomBatchRequestEntry> o) { |
| 3108 unittest.expect(o, unittest.hasLength(2)); | 3108 unittest.expect(o, unittest.hasLength(2)); |
| 3109 checkOrdersCustomBatchRequestEntry(o[0]); | 3109 checkOrdersCustomBatchRequestEntry(o[0]); |
| 3110 checkOrdersCustomBatchRequestEntry(o[1]); | 3110 checkOrdersCustomBatchRequestEntry(o[1]); |
| 3111 } | 3111 } |
| 3112 | 3112 |
| 3113 core.int buildCounterOrdersCustomBatchRequest = 0; | 3113 core.int buildCounterOrdersCustomBatchRequest = 0; |
| 3114 buildOrdersCustomBatchRequest() { | 3114 buildOrdersCustomBatchRequest() { |
| 3115 var o = new api.OrdersCustomBatchRequest(); | 3115 var o = new api.OrdersCustomBatchRequest(); |
| 3116 buildCounterOrdersCustomBatchRequest++; | 3116 buildCounterOrdersCustomBatchRequest++; |
| 3117 if (buildCounterOrdersCustomBatchRequest < 3) { | 3117 if (buildCounterOrdersCustomBatchRequest < 3) { |
| 3118 o.entries = buildUnnamed550(); | 3118 o.entries = buildUnnamed957(); |
| 3119 } | 3119 } |
| 3120 buildCounterOrdersCustomBatchRequest--; | 3120 buildCounterOrdersCustomBatchRequest--; |
| 3121 return o; | 3121 return o; |
| 3122 } | 3122 } |
| 3123 | 3123 |
| 3124 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { | 3124 checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) { |
| 3125 buildCounterOrdersCustomBatchRequest++; | 3125 buildCounterOrdersCustomBatchRequest++; |
| 3126 if (buildCounterOrdersCustomBatchRequest < 3) { | 3126 if (buildCounterOrdersCustomBatchRequest < 3) { |
| 3127 checkUnnamed550(o.entries); | 3127 checkUnnamed957(o.entries); |
| 3128 } | 3128 } |
| 3129 buildCounterOrdersCustomBatchRequest--; | 3129 buildCounterOrdersCustomBatchRequest--; |
| 3130 } | 3130 } |
| 3131 | 3131 |
| 3132 core.int buildCounterOrdersCustomBatchRequestEntry = 0; | 3132 core.int buildCounterOrdersCustomBatchRequestEntry = 0; |
| 3133 buildOrdersCustomBatchRequestEntry() { | 3133 buildOrdersCustomBatchRequestEntry() { |
| 3134 var o = new api.OrdersCustomBatchRequestEntry(); | 3134 var o = new api.OrdersCustomBatchRequestEntry(); |
| 3135 buildCounterOrdersCustomBatchRequestEntry++; | 3135 buildCounterOrdersCustomBatchRequestEntry++; |
| 3136 if (buildCounterOrdersCustomBatchRequestEntry < 3) { | 3136 if (buildCounterOrdersCustomBatchRequestEntry < 3) { |
| 3137 o.batchId = 42; | 3137 o.batchId = 42; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3259 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; | 3259 buildCounterOrdersCustomBatchRequestEntryReturnLineItem++; |
| 3260 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { | 3260 if (buildCounterOrdersCustomBatchRequestEntryReturnLineItem < 3) { |
| 3261 unittest.expect(o.lineItemId, unittest.equals('foo')); | 3261 unittest.expect(o.lineItemId, unittest.equals('foo')); |
| 3262 unittest.expect(o.quantity, unittest.equals(42)); | 3262 unittest.expect(o.quantity, unittest.equals(42)); |
| 3263 unittest.expect(o.reason, unittest.equals('foo')); | 3263 unittest.expect(o.reason, unittest.equals('foo')); |
| 3264 unittest.expect(o.reasonText, unittest.equals('foo')); | 3264 unittest.expect(o.reasonText, unittest.equals('foo')); |
| 3265 } | 3265 } |
| 3266 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; | 3266 buildCounterOrdersCustomBatchRequestEntryReturnLineItem--; |
| 3267 } | 3267 } |
| 3268 | 3268 |
| 3269 buildUnnamed551() { | 3269 buildUnnamed958() { |
| 3270 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3270 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3271 o.add(buildOrderShipmentLineItemShipment()); | 3271 o.add(buildOrderShipmentLineItemShipment()); |
| 3272 o.add(buildOrderShipmentLineItemShipment()); | 3272 o.add(buildOrderShipmentLineItemShipment()); |
| 3273 return o; | 3273 return o; |
| 3274 } | 3274 } |
| 3275 | 3275 |
| 3276 checkUnnamed551(core.List<api.OrderShipmentLineItemShipment> o) { | 3276 checkUnnamed958(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3277 unittest.expect(o, unittest.hasLength(2)); | 3277 unittest.expect(o, unittest.hasLength(2)); |
| 3278 checkOrderShipmentLineItemShipment(o[0]); | 3278 checkOrderShipmentLineItemShipment(o[0]); |
| 3279 checkOrderShipmentLineItemShipment(o[1]); | 3279 checkOrderShipmentLineItemShipment(o[1]); |
| 3280 } | 3280 } |
| 3281 | 3281 |
| 3282 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; | 3282 core.int buildCounterOrdersCustomBatchRequestEntryShipLineItems = 0; |
| 3283 buildOrdersCustomBatchRequestEntryShipLineItems() { | 3283 buildOrdersCustomBatchRequestEntryShipLineItems() { |
| 3284 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); | 3284 var o = new api.OrdersCustomBatchRequestEntryShipLineItems(); |
| 3285 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3285 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
| 3286 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3286 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
| 3287 o.carrier = "foo"; | 3287 o.carrier = "foo"; |
| 3288 o.lineItems = buildUnnamed551(); | 3288 o.lineItems = buildUnnamed958(); |
| 3289 o.shipmentId = "foo"; | 3289 o.shipmentId = "foo"; |
| 3290 o.trackingId = "foo"; | 3290 o.trackingId = "foo"; |
| 3291 } | 3291 } |
| 3292 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3292 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
| 3293 return o; | 3293 return o; |
| 3294 } | 3294 } |
| 3295 | 3295 |
| 3296 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { | 3296 checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
yShipLineItems o) { |
| 3297 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; | 3297 buildCounterOrdersCustomBatchRequestEntryShipLineItems++; |
| 3298 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { | 3298 if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) { |
| 3299 unittest.expect(o.carrier, unittest.equals('foo')); | 3299 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3300 checkUnnamed551(o.lineItems); | 3300 checkUnnamed958(o.lineItems); |
| 3301 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3301 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3302 unittest.expect(o.trackingId, unittest.equals('foo')); | 3302 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3303 } | 3303 } |
| 3304 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; | 3304 buildCounterOrdersCustomBatchRequestEntryShipLineItems--; |
| 3305 } | 3305 } |
| 3306 | 3306 |
| 3307 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; | 3307 core.int buildCounterOrdersCustomBatchRequestEntryUpdateShipment = 0; |
| 3308 buildOrdersCustomBatchRequestEntryUpdateShipment() { | 3308 buildOrdersCustomBatchRequestEntryUpdateShipment() { |
| 3309 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); | 3309 var o = new api.OrdersCustomBatchRequestEntryUpdateShipment(); |
| 3310 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3310 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3322 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; | 3322 buildCounterOrdersCustomBatchRequestEntryUpdateShipment++; |
| 3323 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { | 3323 if (buildCounterOrdersCustomBatchRequestEntryUpdateShipment < 3) { |
| 3324 unittest.expect(o.carrier, unittest.equals('foo')); | 3324 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3325 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3325 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3326 unittest.expect(o.status, unittest.equals('foo')); | 3326 unittest.expect(o.status, unittest.equals('foo')); |
| 3327 unittest.expect(o.trackingId, unittest.equals('foo')); | 3327 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3328 } | 3328 } |
| 3329 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; | 3329 buildCounterOrdersCustomBatchRequestEntryUpdateShipment--; |
| 3330 } | 3330 } |
| 3331 | 3331 |
| 3332 buildUnnamed552() { | 3332 buildUnnamed959() { |
| 3333 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); | 3333 var o = new core.List<api.OrdersCustomBatchResponseEntry>(); |
| 3334 o.add(buildOrdersCustomBatchResponseEntry()); | 3334 o.add(buildOrdersCustomBatchResponseEntry()); |
| 3335 o.add(buildOrdersCustomBatchResponseEntry()); | 3335 o.add(buildOrdersCustomBatchResponseEntry()); |
| 3336 return o; | 3336 return o; |
| 3337 } | 3337 } |
| 3338 | 3338 |
| 3339 checkUnnamed552(core.List<api.OrdersCustomBatchResponseEntry> o) { | 3339 checkUnnamed959(core.List<api.OrdersCustomBatchResponseEntry> o) { |
| 3340 unittest.expect(o, unittest.hasLength(2)); | 3340 unittest.expect(o, unittest.hasLength(2)); |
| 3341 checkOrdersCustomBatchResponseEntry(o[0]); | 3341 checkOrdersCustomBatchResponseEntry(o[0]); |
| 3342 checkOrdersCustomBatchResponseEntry(o[1]); | 3342 checkOrdersCustomBatchResponseEntry(o[1]); |
| 3343 } | 3343 } |
| 3344 | 3344 |
| 3345 core.int buildCounterOrdersCustomBatchResponse = 0; | 3345 core.int buildCounterOrdersCustomBatchResponse = 0; |
| 3346 buildOrdersCustomBatchResponse() { | 3346 buildOrdersCustomBatchResponse() { |
| 3347 var o = new api.OrdersCustomBatchResponse(); | 3347 var o = new api.OrdersCustomBatchResponse(); |
| 3348 buildCounterOrdersCustomBatchResponse++; | 3348 buildCounterOrdersCustomBatchResponse++; |
| 3349 if (buildCounterOrdersCustomBatchResponse < 3) { | 3349 if (buildCounterOrdersCustomBatchResponse < 3) { |
| 3350 o.entries = buildUnnamed552(); | 3350 o.entries = buildUnnamed959(); |
| 3351 o.kind = "foo"; | 3351 o.kind = "foo"; |
| 3352 } | 3352 } |
| 3353 buildCounterOrdersCustomBatchResponse--; | 3353 buildCounterOrdersCustomBatchResponse--; |
| 3354 return o; | 3354 return o; |
| 3355 } | 3355 } |
| 3356 | 3356 |
| 3357 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { | 3357 checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) { |
| 3358 buildCounterOrdersCustomBatchResponse++; | 3358 buildCounterOrdersCustomBatchResponse++; |
| 3359 if (buildCounterOrdersCustomBatchResponse < 3) { | 3359 if (buildCounterOrdersCustomBatchResponse < 3) { |
| 3360 checkUnnamed552(o.entries); | 3360 checkUnnamed959(o.entries); |
| 3361 unittest.expect(o.kind, unittest.equals('foo')); | 3361 unittest.expect(o.kind, unittest.equals('foo')); |
| 3362 } | 3362 } |
| 3363 buildCounterOrdersCustomBatchResponse--; | 3363 buildCounterOrdersCustomBatchResponse--; |
| 3364 } | 3364 } |
| 3365 | 3365 |
| 3366 core.int buildCounterOrdersCustomBatchResponseEntry = 0; | 3366 core.int buildCounterOrdersCustomBatchResponseEntry = 0; |
| 3367 buildOrdersCustomBatchResponseEntry() { | 3367 buildOrdersCustomBatchResponseEntry() { |
| 3368 var o = new api.OrdersCustomBatchResponseEntry(); | 3368 var o = new api.OrdersCustomBatchResponseEntry(); |
| 3369 buildCounterOrdersCustomBatchResponseEntry++; | 3369 buildCounterOrdersCustomBatchResponseEntry++; |
| 3370 if (buildCounterOrdersCustomBatchResponseEntry < 3) { | 3370 if (buildCounterOrdersCustomBatchResponseEntry < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3425 | 3425 |
| 3426 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { | 3426 checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
) { |
| 3427 buildCounterOrdersGetTestOrderTemplateResponse++; | 3427 buildCounterOrdersGetTestOrderTemplateResponse++; |
| 3428 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { | 3428 if (buildCounterOrdersGetTestOrderTemplateResponse < 3) { |
| 3429 unittest.expect(o.kind, unittest.equals('foo')); | 3429 unittest.expect(o.kind, unittest.equals('foo')); |
| 3430 checkTestOrder(o.template); | 3430 checkTestOrder(o.template); |
| 3431 } | 3431 } |
| 3432 buildCounterOrdersGetTestOrderTemplateResponse--; | 3432 buildCounterOrdersGetTestOrderTemplateResponse--; |
| 3433 } | 3433 } |
| 3434 | 3434 |
| 3435 buildUnnamed553() { | 3435 buildUnnamed960() { |
| 3436 var o = new core.List<api.Order>(); | 3436 var o = new core.List<api.Order>(); |
| 3437 o.add(buildOrder()); | 3437 o.add(buildOrder()); |
| 3438 o.add(buildOrder()); | 3438 o.add(buildOrder()); |
| 3439 return o; | 3439 return o; |
| 3440 } | 3440 } |
| 3441 | 3441 |
| 3442 checkUnnamed553(core.List<api.Order> o) { | 3442 checkUnnamed960(core.List<api.Order> o) { |
| 3443 unittest.expect(o, unittest.hasLength(2)); | 3443 unittest.expect(o, unittest.hasLength(2)); |
| 3444 checkOrder(o[0]); | 3444 checkOrder(o[0]); |
| 3445 checkOrder(o[1]); | 3445 checkOrder(o[1]); |
| 3446 } | 3446 } |
| 3447 | 3447 |
| 3448 core.int buildCounterOrdersListResponse = 0; | 3448 core.int buildCounterOrdersListResponse = 0; |
| 3449 buildOrdersListResponse() { | 3449 buildOrdersListResponse() { |
| 3450 var o = new api.OrdersListResponse(); | 3450 var o = new api.OrdersListResponse(); |
| 3451 buildCounterOrdersListResponse++; | 3451 buildCounterOrdersListResponse++; |
| 3452 if (buildCounterOrdersListResponse < 3) { | 3452 if (buildCounterOrdersListResponse < 3) { |
| 3453 o.kind = "foo"; | 3453 o.kind = "foo"; |
| 3454 o.nextPageToken = "foo"; | 3454 o.nextPageToken = "foo"; |
| 3455 o.resources = buildUnnamed553(); | 3455 o.resources = buildUnnamed960(); |
| 3456 } | 3456 } |
| 3457 buildCounterOrdersListResponse--; | 3457 buildCounterOrdersListResponse--; |
| 3458 return o; | 3458 return o; |
| 3459 } | 3459 } |
| 3460 | 3460 |
| 3461 checkOrdersListResponse(api.OrdersListResponse o) { | 3461 checkOrdersListResponse(api.OrdersListResponse o) { |
| 3462 buildCounterOrdersListResponse++; | 3462 buildCounterOrdersListResponse++; |
| 3463 if (buildCounterOrdersListResponse < 3) { | 3463 if (buildCounterOrdersListResponse < 3) { |
| 3464 unittest.expect(o.kind, unittest.equals('foo')); | 3464 unittest.expect(o.kind, unittest.equals('foo')); |
| 3465 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3465 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3466 checkUnnamed553(o.resources); | 3466 checkUnnamed960(o.resources); |
| 3467 } | 3467 } |
| 3468 buildCounterOrdersListResponse--; | 3468 buildCounterOrdersListResponse--; |
| 3469 } | 3469 } |
| 3470 | 3470 |
| 3471 core.int buildCounterOrdersRefundRequest = 0; | 3471 core.int buildCounterOrdersRefundRequest = 0; |
| 3472 buildOrdersRefundRequest() { | 3472 buildOrdersRefundRequest() { |
| 3473 var o = new api.OrdersRefundRequest(); | 3473 var o = new api.OrdersRefundRequest(); |
| 3474 buildCounterOrdersRefundRequest++; | 3474 buildCounterOrdersRefundRequest++; |
| 3475 if (buildCounterOrdersRefundRequest < 3) { | 3475 if (buildCounterOrdersRefundRequest < 3) { |
| 3476 o.amount = buildPrice(); | 3476 o.amount = buildPrice(); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3555 | 3555 |
| 3556 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { | 3556 checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) { |
| 3557 buildCounterOrdersReturnLineItemResponse++; | 3557 buildCounterOrdersReturnLineItemResponse++; |
| 3558 if (buildCounterOrdersReturnLineItemResponse < 3) { | 3558 if (buildCounterOrdersReturnLineItemResponse < 3) { |
| 3559 unittest.expect(o.executionStatus, unittest.equals('foo')); | 3559 unittest.expect(o.executionStatus, unittest.equals('foo')); |
| 3560 unittest.expect(o.kind, unittest.equals('foo')); | 3560 unittest.expect(o.kind, unittest.equals('foo')); |
| 3561 } | 3561 } |
| 3562 buildCounterOrdersReturnLineItemResponse--; | 3562 buildCounterOrdersReturnLineItemResponse--; |
| 3563 } | 3563 } |
| 3564 | 3564 |
| 3565 buildUnnamed554() { | 3565 buildUnnamed961() { |
| 3566 var o = new core.List<api.OrderShipmentLineItemShipment>(); | 3566 var o = new core.List<api.OrderShipmentLineItemShipment>(); |
| 3567 o.add(buildOrderShipmentLineItemShipment()); | 3567 o.add(buildOrderShipmentLineItemShipment()); |
| 3568 o.add(buildOrderShipmentLineItemShipment()); | 3568 o.add(buildOrderShipmentLineItemShipment()); |
| 3569 return o; | 3569 return o; |
| 3570 } | 3570 } |
| 3571 | 3571 |
| 3572 checkUnnamed554(core.List<api.OrderShipmentLineItemShipment> o) { | 3572 checkUnnamed961(core.List<api.OrderShipmentLineItemShipment> o) { |
| 3573 unittest.expect(o, unittest.hasLength(2)); | 3573 unittest.expect(o, unittest.hasLength(2)); |
| 3574 checkOrderShipmentLineItemShipment(o[0]); | 3574 checkOrderShipmentLineItemShipment(o[0]); |
| 3575 checkOrderShipmentLineItemShipment(o[1]); | 3575 checkOrderShipmentLineItemShipment(o[1]); |
| 3576 } | 3576 } |
| 3577 | 3577 |
| 3578 core.int buildCounterOrdersShipLineItemsRequest = 0; | 3578 core.int buildCounterOrdersShipLineItemsRequest = 0; |
| 3579 buildOrdersShipLineItemsRequest() { | 3579 buildOrdersShipLineItemsRequest() { |
| 3580 var o = new api.OrdersShipLineItemsRequest(); | 3580 var o = new api.OrdersShipLineItemsRequest(); |
| 3581 buildCounterOrdersShipLineItemsRequest++; | 3581 buildCounterOrdersShipLineItemsRequest++; |
| 3582 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3582 if (buildCounterOrdersShipLineItemsRequest < 3) { |
| 3583 o.carrier = "foo"; | 3583 o.carrier = "foo"; |
| 3584 o.lineItems = buildUnnamed554(); | 3584 o.lineItems = buildUnnamed961(); |
| 3585 o.operationId = "foo"; | 3585 o.operationId = "foo"; |
| 3586 o.shipmentId = "foo"; | 3586 o.shipmentId = "foo"; |
| 3587 o.trackingId = "foo"; | 3587 o.trackingId = "foo"; |
| 3588 } | 3588 } |
| 3589 buildCounterOrdersShipLineItemsRequest--; | 3589 buildCounterOrdersShipLineItemsRequest--; |
| 3590 return o; | 3590 return o; |
| 3591 } | 3591 } |
| 3592 | 3592 |
| 3593 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { | 3593 checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) { |
| 3594 buildCounterOrdersShipLineItemsRequest++; | 3594 buildCounterOrdersShipLineItemsRequest++; |
| 3595 if (buildCounterOrdersShipLineItemsRequest < 3) { | 3595 if (buildCounterOrdersShipLineItemsRequest < 3) { |
| 3596 unittest.expect(o.carrier, unittest.equals('foo')); | 3596 unittest.expect(o.carrier, unittest.equals('foo')); |
| 3597 checkUnnamed554(o.lineItems); | 3597 checkUnnamed961(o.lineItems); |
| 3598 unittest.expect(o.operationId, unittest.equals('foo')); | 3598 unittest.expect(o.operationId, unittest.equals('foo')); |
| 3599 unittest.expect(o.shipmentId, unittest.equals('foo')); | 3599 unittest.expect(o.shipmentId, unittest.equals('foo')); |
| 3600 unittest.expect(o.trackingId, unittest.equals('foo')); | 3600 unittest.expect(o.trackingId, unittest.equals('foo')); |
| 3601 } | 3601 } |
| 3602 buildCounterOrdersShipLineItemsRequest--; | 3602 buildCounterOrdersShipLineItemsRequest--; |
| 3603 } | 3603 } |
| 3604 | 3604 |
| 3605 core.int buildCounterOrdersShipLineItemsResponse = 0; | 3605 core.int buildCounterOrdersShipLineItemsResponse = 0; |
| 3606 buildOrdersShipLineItemsResponse() { | 3606 buildOrdersShipLineItemsResponse() { |
| 3607 var o = new api.OrdersShipLineItemsResponse(); | 3607 var o = new api.OrdersShipLineItemsResponse(); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3727 | 3727 |
| 3728 checkPrice(api.Price o) { | 3728 checkPrice(api.Price o) { |
| 3729 buildCounterPrice++; | 3729 buildCounterPrice++; |
| 3730 if (buildCounterPrice < 3) { | 3730 if (buildCounterPrice < 3) { |
| 3731 unittest.expect(o.currency, unittest.equals('foo')); | 3731 unittest.expect(o.currency, unittest.equals('foo')); |
| 3732 unittest.expect(o.value, unittest.equals('foo')); | 3732 unittest.expect(o.value, unittest.equals('foo')); |
| 3733 } | 3733 } |
| 3734 buildCounterPrice--; | 3734 buildCounterPrice--; |
| 3735 } | 3735 } |
| 3736 | 3736 |
| 3737 buildUnnamed555() { | 3737 buildUnnamed962() { |
| 3738 var o = new core.List<core.String>(); | 3738 var o = new core.List<core.String>(); |
| 3739 o.add("foo"); | 3739 o.add("foo"); |
| 3740 o.add("foo"); | 3740 o.add("foo"); |
| 3741 return o; | 3741 return o; |
| 3742 } | 3742 } |
| 3743 | 3743 |
| 3744 checkUnnamed555(core.List<core.String> o) { | 3744 checkUnnamed962(core.List<core.String> o) { |
| 3745 unittest.expect(o, unittest.hasLength(2)); | 3745 unittest.expect(o, unittest.hasLength(2)); |
| 3746 unittest.expect(o[0], unittest.equals('foo')); | 3746 unittest.expect(o[0], unittest.equals('foo')); |
| 3747 unittest.expect(o[1], unittest.equals('foo')); | 3747 unittest.expect(o[1], unittest.equals('foo')); |
| 3748 } | 3748 } |
| 3749 | 3749 |
| 3750 buildUnnamed556() { | 3750 buildUnnamed963() { |
| 3751 var o = new core.List<core.String>(); | 3751 var o = new core.List<core.String>(); |
| 3752 o.add("foo"); | 3752 o.add("foo"); |
| 3753 o.add("foo"); | 3753 o.add("foo"); |
| 3754 return o; | 3754 return o; |
| 3755 } | 3755 } |
| 3756 | 3756 |
| 3757 checkUnnamed556(core.List<core.String> o) { | 3757 checkUnnamed963(core.List<core.String> o) { |
| 3758 unittest.expect(o, unittest.hasLength(2)); | 3758 unittest.expect(o, unittest.hasLength(2)); |
| 3759 unittest.expect(o[0], unittest.equals('foo')); | 3759 unittest.expect(o[0], unittest.equals('foo')); |
| 3760 unittest.expect(o[1], unittest.equals('foo')); | 3760 unittest.expect(o[1], unittest.equals('foo')); |
| 3761 } | 3761 } |
| 3762 | 3762 |
| 3763 buildUnnamed557() { | 3763 buildUnnamed964() { |
| 3764 var o = new core.List<core.String>(); | 3764 var o = new core.List<core.String>(); |
| 3765 o.add("foo"); | 3765 o.add("foo"); |
| 3766 o.add("foo"); | 3766 o.add("foo"); |
| 3767 return o; | 3767 return o; |
| 3768 } | 3768 } |
| 3769 | 3769 |
| 3770 checkUnnamed557(core.List<core.String> o) { | 3770 checkUnnamed964(core.List<core.String> o) { |
| 3771 unittest.expect(o, unittest.hasLength(2)); | 3771 unittest.expect(o, unittest.hasLength(2)); |
| 3772 unittest.expect(o[0], unittest.equals('foo')); | 3772 unittest.expect(o[0], unittest.equals('foo')); |
| 3773 unittest.expect(o[1], unittest.equals('foo')); | 3773 unittest.expect(o[1], unittest.equals('foo')); |
| 3774 } | 3774 } |
| 3775 | 3775 |
| 3776 buildUnnamed558() { | 3776 buildUnnamed965() { |
| 3777 var o = new core.List<api.ProductAspect>(); | 3777 var o = new core.List<api.ProductAspect>(); |
| 3778 o.add(buildProductAspect()); | 3778 o.add(buildProductAspect()); |
| 3779 o.add(buildProductAspect()); | 3779 o.add(buildProductAspect()); |
| 3780 return o; | 3780 return o; |
| 3781 } | 3781 } |
| 3782 | 3782 |
| 3783 checkUnnamed558(core.List<api.ProductAspect> o) { | 3783 checkUnnamed965(core.List<api.ProductAspect> o) { |
| 3784 unittest.expect(o, unittest.hasLength(2)); | 3784 unittest.expect(o, unittest.hasLength(2)); |
| 3785 checkProductAspect(o[0]); | 3785 checkProductAspect(o[0]); |
| 3786 checkProductAspect(o[1]); | 3786 checkProductAspect(o[1]); |
| 3787 } | 3787 } |
| 3788 | 3788 |
| 3789 buildUnnamed559() { | 3789 buildUnnamed966() { |
| 3790 var o = new core.List<api.ProductCustomAttribute>(); | 3790 var o = new core.List<api.ProductCustomAttribute>(); |
| 3791 o.add(buildProductCustomAttribute()); | 3791 o.add(buildProductCustomAttribute()); |
| 3792 o.add(buildProductCustomAttribute()); | 3792 o.add(buildProductCustomAttribute()); |
| 3793 return o; | 3793 return o; |
| 3794 } | 3794 } |
| 3795 | 3795 |
| 3796 checkUnnamed559(core.List<api.ProductCustomAttribute> o) { | 3796 checkUnnamed966(core.List<api.ProductCustomAttribute> o) { |
| 3797 unittest.expect(o, unittest.hasLength(2)); | 3797 unittest.expect(o, unittest.hasLength(2)); |
| 3798 checkProductCustomAttribute(o[0]); | 3798 checkProductCustomAttribute(o[0]); |
| 3799 checkProductCustomAttribute(o[1]); | 3799 checkProductCustomAttribute(o[1]); |
| 3800 } | 3800 } |
| 3801 | 3801 |
| 3802 buildUnnamed560() { | 3802 buildUnnamed967() { |
| 3803 var o = new core.List<api.ProductCustomGroup>(); | 3803 var o = new core.List<api.ProductCustomGroup>(); |
| 3804 o.add(buildProductCustomGroup()); | 3804 o.add(buildProductCustomGroup()); |
| 3805 o.add(buildProductCustomGroup()); | 3805 o.add(buildProductCustomGroup()); |
| 3806 return o; | 3806 return o; |
| 3807 } | 3807 } |
| 3808 | 3808 |
| 3809 checkUnnamed560(core.List<api.ProductCustomGroup> o) { | 3809 checkUnnamed967(core.List<api.ProductCustomGroup> o) { |
| 3810 unittest.expect(o, unittest.hasLength(2)); | 3810 unittest.expect(o, unittest.hasLength(2)); |
| 3811 checkProductCustomGroup(o[0]); | 3811 checkProductCustomGroup(o[0]); |
| 3812 checkProductCustomGroup(o[1]); | 3812 checkProductCustomGroup(o[1]); |
| 3813 } | 3813 } |
| 3814 | 3814 |
| 3815 buildUnnamed561() { | 3815 buildUnnamed968() { |
| 3816 var o = new core.List<api.ProductDestination>(); | 3816 var o = new core.List<api.ProductDestination>(); |
| 3817 o.add(buildProductDestination()); | 3817 o.add(buildProductDestination()); |
| 3818 o.add(buildProductDestination()); | 3818 o.add(buildProductDestination()); |
| 3819 return o; | 3819 return o; |
| 3820 } | 3820 } |
| 3821 | 3821 |
| 3822 checkUnnamed561(core.List<api.ProductDestination> o) { | 3822 checkUnnamed968(core.List<api.ProductDestination> o) { |
| 3823 unittest.expect(o, unittest.hasLength(2)); | 3823 unittest.expect(o, unittest.hasLength(2)); |
| 3824 checkProductDestination(o[0]); | 3824 checkProductDestination(o[0]); |
| 3825 checkProductDestination(o[1]); | 3825 checkProductDestination(o[1]); |
| 3826 } | 3826 } |
| 3827 | 3827 |
| 3828 buildUnnamed562() { | 3828 buildUnnamed969() { |
| 3829 var o = new core.List<core.String>(); | 3829 var o = new core.List<core.String>(); |
| 3830 o.add("foo"); | 3830 o.add("foo"); |
| 3831 o.add("foo"); | 3831 o.add("foo"); |
| 3832 return o; | 3832 return o; |
| 3833 } | 3833 } |
| 3834 | 3834 |
| 3835 checkUnnamed562(core.List<core.String> o) { | 3835 checkUnnamed969(core.List<core.String> o) { |
| 3836 unittest.expect(o, unittest.hasLength(2)); | 3836 unittest.expect(o, unittest.hasLength(2)); |
| 3837 unittest.expect(o[0], unittest.equals('foo')); | 3837 unittest.expect(o[0], unittest.equals('foo')); |
| 3838 unittest.expect(o[1], unittest.equals('foo')); | 3838 unittest.expect(o[1], unittest.equals('foo')); |
| 3839 } | 3839 } |
| 3840 | 3840 |
| 3841 buildUnnamed563() { | 3841 buildUnnamed970() { |
| 3842 var o = new core.List<core.String>(); | 3842 var o = new core.List<core.String>(); |
| 3843 o.add("foo"); | 3843 o.add("foo"); |
| 3844 o.add("foo"); | 3844 o.add("foo"); |
| 3845 return o; | 3845 return o; |
| 3846 } | 3846 } |
| 3847 | 3847 |
| 3848 checkUnnamed563(core.List<core.String> o) { | 3848 checkUnnamed970(core.List<core.String> o) { |
| 3849 unittest.expect(o, unittest.hasLength(2)); | 3849 unittest.expect(o, unittest.hasLength(2)); |
| 3850 unittest.expect(o[0], unittest.equals('foo')); | 3850 unittest.expect(o[0], unittest.equals('foo')); |
| 3851 unittest.expect(o[1], unittest.equals('foo')); | 3851 unittest.expect(o[1], unittest.equals('foo')); |
| 3852 } | 3852 } |
| 3853 | 3853 |
| 3854 buildUnnamed564() { | 3854 buildUnnamed971() { |
| 3855 var o = new core.List<api.ProductShipping>(); | 3855 var o = new core.List<api.ProductShipping>(); |
| 3856 o.add(buildProductShipping()); | 3856 o.add(buildProductShipping()); |
| 3857 o.add(buildProductShipping()); | 3857 o.add(buildProductShipping()); |
| 3858 return o; | 3858 return o; |
| 3859 } | 3859 } |
| 3860 | 3860 |
| 3861 checkUnnamed564(core.List<api.ProductShipping> o) { | 3861 checkUnnamed971(core.List<api.ProductShipping> o) { |
| 3862 unittest.expect(o, unittest.hasLength(2)); | 3862 unittest.expect(o, unittest.hasLength(2)); |
| 3863 checkProductShipping(o[0]); | 3863 checkProductShipping(o[0]); |
| 3864 checkProductShipping(o[1]); | 3864 checkProductShipping(o[1]); |
| 3865 } | 3865 } |
| 3866 | 3866 |
| 3867 buildUnnamed565() { | 3867 buildUnnamed972() { |
| 3868 var o = new core.List<core.String>(); | 3868 var o = new core.List<core.String>(); |
| 3869 o.add("foo"); | 3869 o.add("foo"); |
| 3870 o.add("foo"); | 3870 o.add("foo"); |
| 3871 return o; | 3871 return o; |
| 3872 } | 3872 } |
| 3873 | 3873 |
| 3874 checkUnnamed565(core.List<core.String> o) { | 3874 checkUnnamed972(core.List<core.String> o) { |
| 3875 unittest.expect(o, unittest.hasLength(2)); | 3875 unittest.expect(o, unittest.hasLength(2)); |
| 3876 unittest.expect(o[0], unittest.equals('foo')); | 3876 unittest.expect(o[0], unittest.equals('foo')); |
| 3877 unittest.expect(o[1], unittest.equals('foo')); | 3877 unittest.expect(o[1], unittest.equals('foo')); |
| 3878 } | 3878 } |
| 3879 | 3879 |
| 3880 buildUnnamed566() { | 3880 buildUnnamed973() { |
| 3881 var o = new core.List<api.ProductTax>(); | 3881 var o = new core.List<api.ProductTax>(); |
| 3882 o.add(buildProductTax()); | 3882 o.add(buildProductTax()); |
| 3883 o.add(buildProductTax()); | 3883 o.add(buildProductTax()); |
| 3884 return o; | 3884 return o; |
| 3885 } | 3885 } |
| 3886 | 3886 |
| 3887 checkUnnamed566(core.List<api.ProductTax> o) { | 3887 checkUnnamed973(core.List<api.ProductTax> o) { |
| 3888 unittest.expect(o, unittest.hasLength(2)); | 3888 unittest.expect(o, unittest.hasLength(2)); |
| 3889 checkProductTax(o[0]); | 3889 checkProductTax(o[0]); |
| 3890 checkProductTax(o[1]); | 3890 checkProductTax(o[1]); |
| 3891 } | 3891 } |
| 3892 | 3892 |
| 3893 buildUnnamed567() { | 3893 buildUnnamed974() { |
| 3894 var o = new core.List<core.String>(); | 3894 var o = new core.List<core.String>(); |
| 3895 o.add("foo"); | 3895 o.add("foo"); |
| 3896 o.add("foo"); | 3896 o.add("foo"); |
| 3897 return o; | 3897 return o; |
| 3898 } | 3898 } |
| 3899 | 3899 |
| 3900 checkUnnamed567(core.List<core.String> o) { | 3900 checkUnnamed974(core.List<core.String> o) { |
| 3901 unittest.expect(o, unittest.hasLength(2)); | 3901 unittest.expect(o, unittest.hasLength(2)); |
| 3902 unittest.expect(o[0], unittest.equals('foo')); | 3902 unittest.expect(o[0], unittest.equals('foo')); |
| 3903 unittest.expect(o[1], unittest.equals('foo')); | 3903 unittest.expect(o[1], unittest.equals('foo')); |
| 3904 } | 3904 } |
| 3905 | 3905 |
| 3906 buildUnnamed568() { | 3906 buildUnnamed975() { |
| 3907 var o = new core.List<api.Error>(); | 3907 var o = new core.List<api.Error>(); |
| 3908 o.add(buildError()); | 3908 o.add(buildError()); |
| 3909 o.add(buildError()); | 3909 o.add(buildError()); |
| 3910 return o; | 3910 return o; |
| 3911 } | 3911 } |
| 3912 | 3912 |
| 3913 checkUnnamed568(core.List<api.Error> o) { | 3913 checkUnnamed975(core.List<api.Error> o) { |
| 3914 unittest.expect(o, unittest.hasLength(2)); | 3914 unittest.expect(o, unittest.hasLength(2)); |
| 3915 checkError(o[0]); | 3915 checkError(o[0]); |
| 3916 checkError(o[1]); | 3916 checkError(o[1]); |
| 3917 } | 3917 } |
| 3918 | 3918 |
| 3919 core.int buildCounterProduct = 0; | 3919 core.int buildCounterProduct = 0; |
| 3920 buildProduct() { | 3920 buildProduct() { |
| 3921 var o = new api.Product(); | 3921 var o = new api.Product(); |
| 3922 buildCounterProduct++; | 3922 buildCounterProduct++; |
| 3923 if (buildCounterProduct < 3) { | 3923 if (buildCounterProduct < 3) { |
| 3924 o.additionalImageLinks = buildUnnamed555(); | 3924 o.additionalImageLinks = buildUnnamed962(); |
| 3925 o.additionalProductTypes = buildUnnamed556(); | 3925 o.additionalProductTypes = buildUnnamed963(); |
| 3926 o.adult = true; | 3926 o.adult = true; |
| 3927 o.adwordsGrouping = "foo"; | 3927 o.adwordsGrouping = "foo"; |
| 3928 o.adwordsLabels = buildUnnamed557(); | 3928 o.adwordsLabels = buildUnnamed964(); |
| 3929 o.adwordsRedirect = "foo"; | 3929 o.adwordsRedirect = "foo"; |
| 3930 o.ageGroup = "foo"; | 3930 o.ageGroup = "foo"; |
| 3931 o.aspects = buildUnnamed558(); | 3931 o.aspects = buildUnnamed965(); |
| 3932 o.availability = "foo"; | 3932 o.availability = "foo"; |
| 3933 o.availabilityDate = "foo"; | 3933 o.availabilityDate = "foo"; |
| 3934 o.brand = "foo"; | 3934 o.brand = "foo"; |
| 3935 o.channel = "foo"; | 3935 o.channel = "foo"; |
| 3936 o.color = "foo"; | 3936 o.color = "foo"; |
| 3937 o.condition = "foo"; | 3937 o.condition = "foo"; |
| 3938 o.contentLanguage = "foo"; | 3938 o.contentLanguage = "foo"; |
| 3939 o.customAttributes = buildUnnamed559(); | 3939 o.customAttributes = buildUnnamed966(); |
| 3940 o.customGroups = buildUnnamed560(); | 3940 o.customGroups = buildUnnamed967(); |
| 3941 o.customLabel0 = "foo"; | 3941 o.customLabel0 = "foo"; |
| 3942 o.customLabel1 = "foo"; | 3942 o.customLabel1 = "foo"; |
| 3943 o.customLabel2 = "foo"; | 3943 o.customLabel2 = "foo"; |
| 3944 o.customLabel3 = "foo"; | 3944 o.customLabel3 = "foo"; |
| 3945 o.customLabel4 = "foo"; | 3945 o.customLabel4 = "foo"; |
| 3946 o.description = "foo"; | 3946 o.description = "foo"; |
| 3947 o.destinations = buildUnnamed561(); | 3947 o.destinations = buildUnnamed968(); |
| 3948 o.displayAdsId = "foo"; | 3948 o.displayAdsId = "foo"; |
| 3949 o.displayAdsLink = "foo"; | 3949 o.displayAdsLink = "foo"; |
| 3950 o.displayAdsSimilarIds = buildUnnamed562(); | 3950 o.displayAdsSimilarIds = buildUnnamed969(); |
| 3951 o.displayAdsTitle = "foo"; | 3951 o.displayAdsTitle = "foo"; |
| 3952 o.displayAdsValue = 42.0; | 3952 o.displayAdsValue = 42.0; |
| 3953 o.energyEfficiencyClass = "foo"; | 3953 o.energyEfficiencyClass = "foo"; |
| 3954 o.expirationDate = "foo"; | 3954 o.expirationDate = "foo"; |
| 3955 o.gender = "foo"; | 3955 o.gender = "foo"; |
| 3956 o.googleProductCategory = "foo"; | 3956 o.googleProductCategory = "foo"; |
| 3957 o.gtin = "foo"; | 3957 o.gtin = "foo"; |
| 3958 o.id = "foo"; | 3958 o.id = "foo"; |
| 3959 o.identifierExists = true; | 3959 o.identifierExists = true; |
| 3960 o.imageLink = "foo"; | 3960 o.imageLink = "foo"; |
| 3961 o.installment = buildInstallment(); | 3961 o.installment = buildInstallment(); |
| 3962 o.isBundle = true; | 3962 o.isBundle = true; |
| 3963 o.itemGroupId = "foo"; | 3963 o.itemGroupId = "foo"; |
| 3964 o.kind = "foo"; | 3964 o.kind = "foo"; |
| 3965 o.link = "foo"; | 3965 o.link = "foo"; |
| 3966 o.loyaltyPoints = buildLoyaltyPoints(); | 3966 o.loyaltyPoints = buildLoyaltyPoints(); |
| 3967 o.material = "foo"; | 3967 o.material = "foo"; |
| 3968 o.mobileLink = "foo"; | 3968 o.mobileLink = "foo"; |
| 3969 o.mpn = "foo"; | 3969 o.mpn = "foo"; |
| 3970 o.multipack = "foo"; | 3970 o.multipack = "foo"; |
| 3971 o.offerId = "foo"; | 3971 o.offerId = "foo"; |
| 3972 o.onlineOnly = true; | 3972 o.onlineOnly = true; |
| 3973 o.pattern = "foo"; | 3973 o.pattern = "foo"; |
| 3974 o.price = buildPrice(); | 3974 o.price = buildPrice(); |
| 3975 o.productType = "foo"; | 3975 o.productType = "foo"; |
| 3976 o.promotionIds = buildUnnamed563(); | 3976 o.promotionIds = buildUnnamed970(); |
| 3977 o.salePrice = buildPrice(); | 3977 o.salePrice = buildPrice(); |
| 3978 o.salePriceEffectiveDate = "foo"; | 3978 o.salePriceEffectiveDate = "foo"; |
| 3979 o.sellOnGoogleQuantity = "foo"; | 3979 o.sellOnGoogleQuantity = "foo"; |
| 3980 o.shipping = buildUnnamed564(); | 3980 o.shipping = buildUnnamed971(); |
| 3981 o.shippingHeight = buildProductShippingDimension(); | 3981 o.shippingHeight = buildProductShippingDimension(); |
| 3982 o.shippingLabel = "foo"; | 3982 o.shippingLabel = "foo"; |
| 3983 o.shippingLength = buildProductShippingDimension(); | 3983 o.shippingLength = buildProductShippingDimension(); |
| 3984 o.shippingWeight = buildProductShippingWeight(); | 3984 o.shippingWeight = buildProductShippingWeight(); |
| 3985 o.shippingWidth = buildProductShippingDimension(); | 3985 o.shippingWidth = buildProductShippingDimension(); |
| 3986 o.sizeSystem = "foo"; | 3986 o.sizeSystem = "foo"; |
| 3987 o.sizeType = "foo"; | 3987 o.sizeType = "foo"; |
| 3988 o.sizes = buildUnnamed565(); | 3988 o.sizes = buildUnnamed972(); |
| 3989 o.targetCountry = "foo"; | 3989 o.targetCountry = "foo"; |
| 3990 o.taxes = buildUnnamed566(); | 3990 o.taxes = buildUnnamed973(); |
| 3991 o.title = "foo"; | 3991 o.title = "foo"; |
| 3992 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); | 3992 o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); |
| 3993 o.unitPricingMeasure = buildProductUnitPricingMeasure(); | 3993 o.unitPricingMeasure = buildProductUnitPricingMeasure(); |
| 3994 o.validatedDestinations = buildUnnamed567(); | 3994 o.validatedDestinations = buildUnnamed974(); |
| 3995 o.warnings = buildUnnamed568(); | 3995 o.warnings = buildUnnamed975(); |
| 3996 } | 3996 } |
| 3997 buildCounterProduct--; | 3997 buildCounterProduct--; |
| 3998 return o; | 3998 return o; |
| 3999 } | 3999 } |
| 4000 | 4000 |
| 4001 checkProduct(api.Product o) { | 4001 checkProduct(api.Product o) { |
| 4002 buildCounterProduct++; | 4002 buildCounterProduct++; |
| 4003 if (buildCounterProduct < 3) { | 4003 if (buildCounterProduct < 3) { |
| 4004 checkUnnamed555(o.additionalImageLinks); | 4004 checkUnnamed962(o.additionalImageLinks); |
| 4005 checkUnnamed556(o.additionalProductTypes); | 4005 checkUnnamed963(o.additionalProductTypes); |
| 4006 unittest.expect(o.adult, unittest.isTrue); | 4006 unittest.expect(o.adult, unittest.isTrue); |
| 4007 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); | 4007 unittest.expect(o.adwordsGrouping, unittest.equals('foo')); |
| 4008 checkUnnamed557(o.adwordsLabels); | 4008 checkUnnamed964(o.adwordsLabels); |
| 4009 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); | 4009 unittest.expect(o.adwordsRedirect, unittest.equals('foo')); |
| 4010 unittest.expect(o.ageGroup, unittest.equals('foo')); | 4010 unittest.expect(o.ageGroup, unittest.equals('foo')); |
| 4011 checkUnnamed558(o.aspects); | 4011 checkUnnamed965(o.aspects); |
| 4012 unittest.expect(o.availability, unittest.equals('foo')); | 4012 unittest.expect(o.availability, unittest.equals('foo')); |
| 4013 unittest.expect(o.availabilityDate, unittest.equals('foo')); | 4013 unittest.expect(o.availabilityDate, unittest.equals('foo')); |
| 4014 unittest.expect(o.brand, unittest.equals('foo')); | 4014 unittest.expect(o.brand, unittest.equals('foo')); |
| 4015 unittest.expect(o.channel, unittest.equals('foo')); | 4015 unittest.expect(o.channel, unittest.equals('foo')); |
| 4016 unittest.expect(o.color, unittest.equals('foo')); | 4016 unittest.expect(o.color, unittest.equals('foo')); |
| 4017 unittest.expect(o.condition, unittest.equals('foo')); | 4017 unittest.expect(o.condition, unittest.equals('foo')); |
| 4018 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 4018 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 4019 checkUnnamed559(o.customAttributes); | 4019 checkUnnamed966(o.customAttributes); |
| 4020 checkUnnamed560(o.customGroups); | 4020 checkUnnamed967(o.customGroups); |
| 4021 unittest.expect(o.customLabel0, unittest.equals('foo')); | 4021 unittest.expect(o.customLabel0, unittest.equals('foo')); |
| 4022 unittest.expect(o.customLabel1, unittest.equals('foo')); | 4022 unittest.expect(o.customLabel1, unittest.equals('foo')); |
| 4023 unittest.expect(o.customLabel2, unittest.equals('foo')); | 4023 unittest.expect(o.customLabel2, unittest.equals('foo')); |
| 4024 unittest.expect(o.customLabel3, unittest.equals('foo')); | 4024 unittest.expect(o.customLabel3, unittest.equals('foo')); |
| 4025 unittest.expect(o.customLabel4, unittest.equals('foo')); | 4025 unittest.expect(o.customLabel4, unittest.equals('foo')); |
| 4026 unittest.expect(o.description, unittest.equals('foo')); | 4026 unittest.expect(o.description, unittest.equals('foo')); |
| 4027 checkUnnamed561(o.destinations); | 4027 checkUnnamed968(o.destinations); |
| 4028 unittest.expect(o.displayAdsId, unittest.equals('foo')); | 4028 unittest.expect(o.displayAdsId, unittest.equals('foo')); |
| 4029 unittest.expect(o.displayAdsLink, unittest.equals('foo')); | 4029 unittest.expect(o.displayAdsLink, unittest.equals('foo')); |
| 4030 checkUnnamed562(o.displayAdsSimilarIds); | 4030 checkUnnamed969(o.displayAdsSimilarIds); |
| 4031 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); | 4031 unittest.expect(o.displayAdsTitle, unittest.equals('foo')); |
| 4032 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); | 4032 unittest.expect(o.displayAdsValue, unittest.equals(42.0)); |
| 4033 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); | 4033 unittest.expect(o.energyEfficiencyClass, unittest.equals('foo')); |
| 4034 unittest.expect(o.expirationDate, unittest.equals('foo')); | 4034 unittest.expect(o.expirationDate, unittest.equals('foo')); |
| 4035 unittest.expect(o.gender, unittest.equals('foo')); | 4035 unittest.expect(o.gender, unittest.equals('foo')); |
| 4036 unittest.expect(o.googleProductCategory, unittest.equals('foo')); | 4036 unittest.expect(o.googleProductCategory, unittest.equals('foo')); |
| 4037 unittest.expect(o.gtin, unittest.equals('foo')); | 4037 unittest.expect(o.gtin, unittest.equals('foo')); |
| 4038 unittest.expect(o.id, unittest.equals('foo')); | 4038 unittest.expect(o.id, unittest.equals('foo')); |
| 4039 unittest.expect(o.identifierExists, unittest.isTrue); | 4039 unittest.expect(o.identifierExists, unittest.isTrue); |
| 4040 unittest.expect(o.imageLink, unittest.equals('foo')); | 4040 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 4041 checkInstallment(o.installment); | 4041 checkInstallment(o.installment); |
| 4042 unittest.expect(o.isBundle, unittest.isTrue); | 4042 unittest.expect(o.isBundle, unittest.isTrue); |
| 4043 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 4043 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 4044 unittest.expect(o.kind, unittest.equals('foo')); | 4044 unittest.expect(o.kind, unittest.equals('foo')); |
| 4045 unittest.expect(o.link, unittest.equals('foo')); | 4045 unittest.expect(o.link, unittest.equals('foo')); |
| 4046 checkLoyaltyPoints(o.loyaltyPoints); | 4046 checkLoyaltyPoints(o.loyaltyPoints); |
| 4047 unittest.expect(o.material, unittest.equals('foo')); | 4047 unittest.expect(o.material, unittest.equals('foo')); |
| 4048 unittest.expect(o.mobileLink, unittest.equals('foo')); | 4048 unittest.expect(o.mobileLink, unittest.equals('foo')); |
| 4049 unittest.expect(o.mpn, unittest.equals('foo')); | 4049 unittest.expect(o.mpn, unittest.equals('foo')); |
| 4050 unittest.expect(o.multipack, unittest.equals('foo')); | 4050 unittest.expect(o.multipack, unittest.equals('foo')); |
| 4051 unittest.expect(o.offerId, unittest.equals('foo')); | 4051 unittest.expect(o.offerId, unittest.equals('foo')); |
| 4052 unittest.expect(o.onlineOnly, unittest.isTrue); | 4052 unittest.expect(o.onlineOnly, unittest.isTrue); |
| 4053 unittest.expect(o.pattern, unittest.equals('foo')); | 4053 unittest.expect(o.pattern, unittest.equals('foo')); |
| 4054 checkPrice(o.price); | 4054 checkPrice(o.price); |
| 4055 unittest.expect(o.productType, unittest.equals('foo')); | 4055 unittest.expect(o.productType, unittest.equals('foo')); |
| 4056 checkUnnamed563(o.promotionIds); | 4056 checkUnnamed970(o.promotionIds); |
| 4057 checkPrice(o.salePrice); | 4057 checkPrice(o.salePrice); |
| 4058 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); | 4058 unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo')); |
| 4059 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); | 4059 unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo')); |
| 4060 checkUnnamed564(o.shipping); | 4060 checkUnnamed971(o.shipping); |
| 4061 checkProductShippingDimension(o.shippingHeight); | 4061 checkProductShippingDimension(o.shippingHeight); |
| 4062 unittest.expect(o.shippingLabel, unittest.equals('foo')); | 4062 unittest.expect(o.shippingLabel, unittest.equals('foo')); |
| 4063 checkProductShippingDimension(o.shippingLength); | 4063 checkProductShippingDimension(o.shippingLength); |
| 4064 checkProductShippingWeight(o.shippingWeight); | 4064 checkProductShippingWeight(o.shippingWeight); |
| 4065 checkProductShippingDimension(o.shippingWidth); | 4065 checkProductShippingDimension(o.shippingWidth); |
| 4066 unittest.expect(o.sizeSystem, unittest.equals('foo')); | 4066 unittest.expect(o.sizeSystem, unittest.equals('foo')); |
| 4067 unittest.expect(o.sizeType, unittest.equals('foo')); | 4067 unittest.expect(o.sizeType, unittest.equals('foo')); |
| 4068 checkUnnamed565(o.sizes); | 4068 checkUnnamed972(o.sizes); |
| 4069 unittest.expect(o.targetCountry, unittest.equals('foo')); | 4069 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 4070 checkUnnamed566(o.taxes); | 4070 checkUnnamed973(o.taxes); |
| 4071 unittest.expect(o.title, unittest.equals('foo')); | 4071 unittest.expect(o.title, unittest.equals('foo')); |
| 4072 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); | 4072 checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure); |
| 4073 checkProductUnitPricingMeasure(o.unitPricingMeasure); | 4073 checkProductUnitPricingMeasure(o.unitPricingMeasure); |
| 4074 checkUnnamed567(o.validatedDestinations); | 4074 checkUnnamed974(o.validatedDestinations); |
| 4075 checkUnnamed568(o.warnings); | 4075 checkUnnamed975(o.warnings); |
| 4076 } | 4076 } |
| 4077 buildCounterProduct--; | 4077 buildCounterProduct--; |
| 4078 } | 4078 } |
| 4079 | 4079 |
| 4080 core.int buildCounterProductAspect = 0; | 4080 core.int buildCounterProductAspect = 0; |
| 4081 buildProductAspect() { | 4081 buildProductAspect() { |
| 4082 var o = new api.ProductAspect(); | 4082 var o = new api.ProductAspect(); |
| 4083 buildCounterProductAspect++; | 4083 buildCounterProductAspect++; |
| 4084 if (buildCounterProductAspect < 3) { | 4084 if (buildCounterProductAspect < 3) { |
| 4085 o.aspectName = "foo"; | 4085 o.aspectName = "foo"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4118 buildCounterProductCustomAttribute++; | 4118 buildCounterProductCustomAttribute++; |
| 4119 if (buildCounterProductCustomAttribute < 3) { | 4119 if (buildCounterProductCustomAttribute < 3) { |
| 4120 unittest.expect(o.name, unittest.equals('foo')); | 4120 unittest.expect(o.name, unittest.equals('foo')); |
| 4121 unittest.expect(o.type, unittest.equals('foo')); | 4121 unittest.expect(o.type, unittest.equals('foo')); |
| 4122 unittest.expect(o.unit, unittest.equals('foo')); | 4122 unittest.expect(o.unit, unittest.equals('foo')); |
| 4123 unittest.expect(o.value, unittest.equals('foo')); | 4123 unittest.expect(o.value, unittest.equals('foo')); |
| 4124 } | 4124 } |
| 4125 buildCounterProductCustomAttribute--; | 4125 buildCounterProductCustomAttribute--; |
| 4126 } | 4126 } |
| 4127 | 4127 |
| 4128 buildUnnamed569() { | 4128 buildUnnamed976() { |
| 4129 var o = new core.List<api.ProductCustomAttribute>(); | 4129 var o = new core.List<api.ProductCustomAttribute>(); |
| 4130 o.add(buildProductCustomAttribute()); | 4130 o.add(buildProductCustomAttribute()); |
| 4131 o.add(buildProductCustomAttribute()); | 4131 o.add(buildProductCustomAttribute()); |
| 4132 return o; | 4132 return o; |
| 4133 } | 4133 } |
| 4134 | 4134 |
| 4135 checkUnnamed569(core.List<api.ProductCustomAttribute> o) { | 4135 checkUnnamed976(core.List<api.ProductCustomAttribute> o) { |
| 4136 unittest.expect(o, unittest.hasLength(2)); | 4136 unittest.expect(o, unittest.hasLength(2)); |
| 4137 checkProductCustomAttribute(o[0]); | 4137 checkProductCustomAttribute(o[0]); |
| 4138 checkProductCustomAttribute(o[1]); | 4138 checkProductCustomAttribute(o[1]); |
| 4139 } | 4139 } |
| 4140 | 4140 |
| 4141 core.int buildCounterProductCustomGroup = 0; | 4141 core.int buildCounterProductCustomGroup = 0; |
| 4142 buildProductCustomGroup() { | 4142 buildProductCustomGroup() { |
| 4143 var o = new api.ProductCustomGroup(); | 4143 var o = new api.ProductCustomGroup(); |
| 4144 buildCounterProductCustomGroup++; | 4144 buildCounterProductCustomGroup++; |
| 4145 if (buildCounterProductCustomGroup < 3) { | 4145 if (buildCounterProductCustomGroup < 3) { |
| 4146 o.attributes = buildUnnamed569(); | 4146 o.attributes = buildUnnamed976(); |
| 4147 o.name = "foo"; | 4147 o.name = "foo"; |
| 4148 } | 4148 } |
| 4149 buildCounterProductCustomGroup--; | 4149 buildCounterProductCustomGroup--; |
| 4150 return o; | 4150 return o; |
| 4151 } | 4151 } |
| 4152 | 4152 |
| 4153 checkProductCustomGroup(api.ProductCustomGroup o) { | 4153 checkProductCustomGroup(api.ProductCustomGroup o) { |
| 4154 buildCounterProductCustomGroup++; | 4154 buildCounterProductCustomGroup++; |
| 4155 if (buildCounterProductCustomGroup < 3) { | 4155 if (buildCounterProductCustomGroup < 3) { |
| 4156 checkUnnamed569(o.attributes); | 4156 checkUnnamed976(o.attributes); |
| 4157 unittest.expect(o.name, unittest.equals('foo')); | 4157 unittest.expect(o.name, unittest.equals('foo')); |
| 4158 } | 4158 } |
| 4159 buildCounterProductCustomGroup--; | 4159 buildCounterProductCustomGroup--; |
| 4160 } | 4160 } |
| 4161 | 4161 |
| 4162 core.int buildCounterProductDestination = 0; | 4162 core.int buildCounterProductDestination = 0; |
| 4163 buildProductDestination() { | 4163 buildProductDestination() { |
| 4164 var o = new api.ProductDestination(); | 4164 var o = new api.ProductDestination(); |
| 4165 buildCounterProductDestination++; | 4165 buildCounterProductDestination++; |
| 4166 if (buildCounterProductDestination < 3) { | 4166 if (buildCounterProductDestination < 3) { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4246 | 4246 |
| 4247 checkProductShippingWeight(api.ProductShippingWeight o) { | 4247 checkProductShippingWeight(api.ProductShippingWeight o) { |
| 4248 buildCounterProductShippingWeight++; | 4248 buildCounterProductShippingWeight++; |
| 4249 if (buildCounterProductShippingWeight < 3) { | 4249 if (buildCounterProductShippingWeight < 3) { |
| 4250 unittest.expect(o.unit, unittest.equals('foo')); | 4250 unittest.expect(o.unit, unittest.equals('foo')); |
| 4251 unittest.expect(o.value, unittest.equals(42.0)); | 4251 unittest.expect(o.value, unittest.equals(42.0)); |
| 4252 } | 4252 } |
| 4253 buildCounterProductShippingWeight--; | 4253 buildCounterProductShippingWeight--; |
| 4254 } | 4254 } |
| 4255 | 4255 |
| 4256 buildUnnamed570() { | 4256 buildUnnamed977() { |
| 4257 var o = new core.List<api.ProductStatusDataQualityIssue>(); | 4257 var o = new core.List<api.ProductStatusDataQualityIssue>(); |
| 4258 o.add(buildProductStatusDataQualityIssue()); | 4258 o.add(buildProductStatusDataQualityIssue()); |
| 4259 o.add(buildProductStatusDataQualityIssue()); | 4259 o.add(buildProductStatusDataQualityIssue()); |
| 4260 return o; | 4260 return o; |
| 4261 } | 4261 } |
| 4262 | 4262 |
| 4263 checkUnnamed570(core.List<api.ProductStatusDataQualityIssue> o) { | 4263 checkUnnamed977(core.List<api.ProductStatusDataQualityIssue> o) { |
| 4264 unittest.expect(o, unittest.hasLength(2)); | 4264 unittest.expect(o, unittest.hasLength(2)); |
| 4265 checkProductStatusDataQualityIssue(o[0]); | 4265 checkProductStatusDataQualityIssue(o[0]); |
| 4266 checkProductStatusDataQualityIssue(o[1]); | 4266 checkProductStatusDataQualityIssue(o[1]); |
| 4267 } | 4267 } |
| 4268 | 4268 |
| 4269 buildUnnamed571() { | 4269 buildUnnamed978() { |
| 4270 var o = new core.List<api.ProductStatusDestinationStatus>(); | 4270 var o = new core.List<api.ProductStatusDestinationStatus>(); |
| 4271 o.add(buildProductStatusDestinationStatus()); | 4271 o.add(buildProductStatusDestinationStatus()); |
| 4272 o.add(buildProductStatusDestinationStatus()); | 4272 o.add(buildProductStatusDestinationStatus()); |
| 4273 return o; | 4273 return o; |
| 4274 } | 4274 } |
| 4275 | 4275 |
| 4276 checkUnnamed571(core.List<api.ProductStatusDestinationStatus> o) { | 4276 checkUnnamed978(core.List<api.ProductStatusDestinationStatus> o) { |
| 4277 unittest.expect(o, unittest.hasLength(2)); | 4277 unittest.expect(o, unittest.hasLength(2)); |
| 4278 checkProductStatusDestinationStatus(o[0]); | 4278 checkProductStatusDestinationStatus(o[0]); |
| 4279 checkProductStatusDestinationStatus(o[1]); | 4279 checkProductStatusDestinationStatus(o[1]); |
| 4280 } | 4280 } |
| 4281 | 4281 |
| 4282 core.int buildCounterProductStatus = 0; | 4282 core.int buildCounterProductStatus = 0; |
| 4283 buildProductStatus() { | 4283 buildProductStatus() { |
| 4284 var o = new api.ProductStatus(); | 4284 var o = new api.ProductStatus(); |
| 4285 buildCounterProductStatus++; | 4285 buildCounterProductStatus++; |
| 4286 if (buildCounterProductStatus < 3) { | 4286 if (buildCounterProductStatus < 3) { |
| 4287 o.creationDate = "foo"; | 4287 o.creationDate = "foo"; |
| 4288 o.dataQualityIssues = buildUnnamed570(); | 4288 o.dataQualityIssues = buildUnnamed977(); |
| 4289 o.destinationStatuses = buildUnnamed571(); | 4289 o.destinationStatuses = buildUnnamed978(); |
| 4290 o.googleExpirationDate = "foo"; | 4290 o.googleExpirationDate = "foo"; |
| 4291 o.kind = "foo"; | 4291 o.kind = "foo"; |
| 4292 o.lastUpdateDate = "foo"; | 4292 o.lastUpdateDate = "foo"; |
| 4293 o.link = "foo"; | 4293 o.link = "foo"; |
| 4294 o.productId = "foo"; | 4294 o.productId = "foo"; |
| 4295 o.title = "foo"; | 4295 o.title = "foo"; |
| 4296 } | 4296 } |
| 4297 buildCounterProductStatus--; | 4297 buildCounterProductStatus--; |
| 4298 return o; | 4298 return o; |
| 4299 } | 4299 } |
| 4300 | 4300 |
| 4301 checkProductStatus(api.ProductStatus o) { | 4301 checkProductStatus(api.ProductStatus o) { |
| 4302 buildCounterProductStatus++; | 4302 buildCounterProductStatus++; |
| 4303 if (buildCounterProductStatus < 3) { | 4303 if (buildCounterProductStatus < 3) { |
| 4304 unittest.expect(o.creationDate, unittest.equals('foo')); | 4304 unittest.expect(o.creationDate, unittest.equals('foo')); |
| 4305 checkUnnamed570(o.dataQualityIssues); | 4305 checkUnnamed977(o.dataQualityIssues); |
| 4306 checkUnnamed571(o.destinationStatuses); | 4306 checkUnnamed978(o.destinationStatuses); |
| 4307 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); | 4307 unittest.expect(o.googleExpirationDate, unittest.equals('foo')); |
| 4308 unittest.expect(o.kind, unittest.equals('foo')); | 4308 unittest.expect(o.kind, unittest.equals('foo')); |
| 4309 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); | 4309 unittest.expect(o.lastUpdateDate, unittest.equals('foo')); |
| 4310 unittest.expect(o.link, unittest.equals('foo')); | 4310 unittest.expect(o.link, unittest.equals('foo')); |
| 4311 unittest.expect(o.productId, unittest.equals('foo')); | 4311 unittest.expect(o.productId, unittest.equals('foo')); |
| 4312 unittest.expect(o.title, unittest.equals('foo')); | 4312 unittest.expect(o.title, unittest.equals('foo')); |
| 4313 } | 4313 } |
| 4314 buildCounterProductStatus--; | 4314 buildCounterProductStatus--; |
| 4315 } | 4315 } |
| 4316 | 4316 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4434 | 4434 |
| 4435 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { | 4435 checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { |
| 4436 buildCounterProductUnitPricingMeasure++; | 4436 buildCounterProductUnitPricingMeasure++; |
| 4437 if (buildCounterProductUnitPricingMeasure < 3) { | 4437 if (buildCounterProductUnitPricingMeasure < 3) { |
| 4438 unittest.expect(o.unit, unittest.equals('foo')); | 4438 unittest.expect(o.unit, unittest.equals('foo')); |
| 4439 unittest.expect(o.value, unittest.equals(42.0)); | 4439 unittest.expect(o.value, unittest.equals(42.0)); |
| 4440 } | 4440 } |
| 4441 buildCounterProductUnitPricingMeasure--; | 4441 buildCounterProductUnitPricingMeasure--; |
| 4442 } | 4442 } |
| 4443 | 4443 |
| 4444 buildUnnamed572() { | 4444 buildUnnamed979() { |
| 4445 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); | 4445 var o = new core.List<api.ProductsCustomBatchRequestEntry>(); |
| 4446 o.add(buildProductsCustomBatchRequestEntry()); | 4446 o.add(buildProductsCustomBatchRequestEntry()); |
| 4447 o.add(buildProductsCustomBatchRequestEntry()); | 4447 o.add(buildProductsCustomBatchRequestEntry()); |
| 4448 return o; | 4448 return o; |
| 4449 } | 4449 } |
| 4450 | 4450 |
| 4451 checkUnnamed572(core.List<api.ProductsCustomBatchRequestEntry> o) { | 4451 checkUnnamed979(core.List<api.ProductsCustomBatchRequestEntry> o) { |
| 4452 unittest.expect(o, unittest.hasLength(2)); | 4452 unittest.expect(o, unittest.hasLength(2)); |
| 4453 checkProductsCustomBatchRequestEntry(o[0]); | 4453 checkProductsCustomBatchRequestEntry(o[0]); |
| 4454 checkProductsCustomBatchRequestEntry(o[1]); | 4454 checkProductsCustomBatchRequestEntry(o[1]); |
| 4455 } | 4455 } |
| 4456 | 4456 |
| 4457 core.int buildCounterProductsCustomBatchRequest = 0; | 4457 core.int buildCounterProductsCustomBatchRequest = 0; |
| 4458 buildProductsCustomBatchRequest() { | 4458 buildProductsCustomBatchRequest() { |
| 4459 var o = new api.ProductsCustomBatchRequest(); | 4459 var o = new api.ProductsCustomBatchRequest(); |
| 4460 buildCounterProductsCustomBatchRequest++; | 4460 buildCounterProductsCustomBatchRequest++; |
| 4461 if (buildCounterProductsCustomBatchRequest < 3) { | 4461 if (buildCounterProductsCustomBatchRequest < 3) { |
| 4462 o.entries = buildUnnamed572(); | 4462 o.entries = buildUnnamed979(); |
| 4463 } | 4463 } |
| 4464 buildCounterProductsCustomBatchRequest--; | 4464 buildCounterProductsCustomBatchRequest--; |
| 4465 return o; | 4465 return o; |
| 4466 } | 4466 } |
| 4467 | 4467 |
| 4468 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { | 4468 checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { |
| 4469 buildCounterProductsCustomBatchRequest++; | 4469 buildCounterProductsCustomBatchRequest++; |
| 4470 if (buildCounterProductsCustomBatchRequest < 3) { | 4470 if (buildCounterProductsCustomBatchRequest < 3) { |
| 4471 checkUnnamed572(o.entries); | 4471 checkUnnamed979(o.entries); |
| 4472 } | 4472 } |
| 4473 buildCounterProductsCustomBatchRequest--; | 4473 buildCounterProductsCustomBatchRequest--; |
| 4474 } | 4474 } |
| 4475 | 4475 |
| 4476 core.int buildCounterProductsCustomBatchRequestEntry = 0; | 4476 core.int buildCounterProductsCustomBatchRequestEntry = 0; |
| 4477 buildProductsCustomBatchRequestEntry() { | 4477 buildProductsCustomBatchRequestEntry() { |
| 4478 var o = new api.ProductsCustomBatchRequestEntry(); | 4478 var o = new api.ProductsCustomBatchRequestEntry(); |
| 4479 buildCounterProductsCustomBatchRequestEntry++; | 4479 buildCounterProductsCustomBatchRequestEntry++; |
| 4480 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4480 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
| 4481 o.batchId = 42; | 4481 o.batchId = 42; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4493 if (buildCounterProductsCustomBatchRequestEntry < 3) { | 4493 if (buildCounterProductsCustomBatchRequestEntry < 3) { |
| 4494 unittest.expect(o.batchId, unittest.equals(42)); | 4494 unittest.expect(o.batchId, unittest.equals(42)); |
| 4495 unittest.expect(o.merchantId, unittest.equals('foo')); | 4495 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 4496 unittest.expect(o.method, unittest.equals('foo')); | 4496 unittest.expect(o.method, unittest.equals('foo')); |
| 4497 checkProduct(o.product); | 4497 checkProduct(o.product); |
| 4498 unittest.expect(o.productId, unittest.equals('foo')); | 4498 unittest.expect(o.productId, unittest.equals('foo')); |
| 4499 } | 4499 } |
| 4500 buildCounterProductsCustomBatchRequestEntry--; | 4500 buildCounterProductsCustomBatchRequestEntry--; |
| 4501 } | 4501 } |
| 4502 | 4502 |
| 4503 buildUnnamed573() { | 4503 buildUnnamed980() { |
| 4504 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); | 4504 var o = new core.List<api.ProductsCustomBatchResponseEntry>(); |
| 4505 o.add(buildProductsCustomBatchResponseEntry()); | 4505 o.add(buildProductsCustomBatchResponseEntry()); |
| 4506 o.add(buildProductsCustomBatchResponseEntry()); | 4506 o.add(buildProductsCustomBatchResponseEntry()); |
| 4507 return o; | 4507 return o; |
| 4508 } | 4508 } |
| 4509 | 4509 |
| 4510 checkUnnamed573(core.List<api.ProductsCustomBatchResponseEntry> o) { | 4510 checkUnnamed980(core.List<api.ProductsCustomBatchResponseEntry> o) { |
| 4511 unittest.expect(o, unittest.hasLength(2)); | 4511 unittest.expect(o, unittest.hasLength(2)); |
| 4512 checkProductsCustomBatchResponseEntry(o[0]); | 4512 checkProductsCustomBatchResponseEntry(o[0]); |
| 4513 checkProductsCustomBatchResponseEntry(o[1]); | 4513 checkProductsCustomBatchResponseEntry(o[1]); |
| 4514 } | 4514 } |
| 4515 | 4515 |
| 4516 core.int buildCounterProductsCustomBatchResponse = 0; | 4516 core.int buildCounterProductsCustomBatchResponse = 0; |
| 4517 buildProductsCustomBatchResponse() { | 4517 buildProductsCustomBatchResponse() { |
| 4518 var o = new api.ProductsCustomBatchResponse(); | 4518 var o = new api.ProductsCustomBatchResponse(); |
| 4519 buildCounterProductsCustomBatchResponse++; | 4519 buildCounterProductsCustomBatchResponse++; |
| 4520 if (buildCounterProductsCustomBatchResponse < 3) { | 4520 if (buildCounterProductsCustomBatchResponse < 3) { |
| 4521 o.entries = buildUnnamed573(); | 4521 o.entries = buildUnnamed980(); |
| 4522 o.kind = "foo"; | 4522 o.kind = "foo"; |
| 4523 } | 4523 } |
| 4524 buildCounterProductsCustomBatchResponse--; | 4524 buildCounterProductsCustomBatchResponse--; |
| 4525 return o; | 4525 return o; |
| 4526 } | 4526 } |
| 4527 | 4527 |
| 4528 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { | 4528 checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { |
| 4529 buildCounterProductsCustomBatchResponse++; | 4529 buildCounterProductsCustomBatchResponse++; |
| 4530 if (buildCounterProductsCustomBatchResponse < 3) { | 4530 if (buildCounterProductsCustomBatchResponse < 3) { |
| 4531 checkUnnamed573(o.entries); | 4531 checkUnnamed980(o.entries); |
| 4532 unittest.expect(o.kind, unittest.equals('foo')); | 4532 unittest.expect(o.kind, unittest.equals('foo')); |
| 4533 } | 4533 } |
| 4534 buildCounterProductsCustomBatchResponse--; | 4534 buildCounterProductsCustomBatchResponse--; |
| 4535 } | 4535 } |
| 4536 | 4536 |
| 4537 core.int buildCounterProductsCustomBatchResponseEntry = 0; | 4537 core.int buildCounterProductsCustomBatchResponseEntry = 0; |
| 4538 buildProductsCustomBatchResponseEntry() { | 4538 buildProductsCustomBatchResponseEntry() { |
| 4539 var o = new api.ProductsCustomBatchResponseEntry(); | 4539 var o = new api.ProductsCustomBatchResponseEntry(); |
| 4540 buildCounterProductsCustomBatchResponseEntry++; | 4540 buildCounterProductsCustomBatchResponseEntry++; |
| 4541 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4541 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4552 buildCounterProductsCustomBatchResponseEntry++; | 4552 buildCounterProductsCustomBatchResponseEntry++; |
| 4553 if (buildCounterProductsCustomBatchResponseEntry < 3) { | 4553 if (buildCounterProductsCustomBatchResponseEntry < 3) { |
| 4554 unittest.expect(o.batchId, unittest.equals(42)); | 4554 unittest.expect(o.batchId, unittest.equals(42)); |
| 4555 checkErrors(o.errors); | 4555 checkErrors(o.errors); |
| 4556 unittest.expect(o.kind, unittest.equals('foo')); | 4556 unittest.expect(o.kind, unittest.equals('foo')); |
| 4557 checkProduct(o.product); | 4557 checkProduct(o.product); |
| 4558 } | 4558 } |
| 4559 buildCounterProductsCustomBatchResponseEntry--; | 4559 buildCounterProductsCustomBatchResponseEntry--; |
| 4560 } | 4560 } |
| 4561 | 4561 |
| 4562 buildUnnamed574() { | 4562 buildUnnamed981() { |
| 4563 var o = new core.List<api.Product>(); | 4563 var o = new core.List<api.Product>(); |
| 4564 o.add(buildProduct()); | 4564 o.add(buildProduct()); |
| 4565 o.add(buildProduct()); | 4565 o.add(buildProduct()); |
| 4566 return o; | 4566 return o; |
| 4567 } | 4567 } |
| 4568 | 4568 |
| 4569 checkUnnamed574(core.List<api.Product> o) { | 4569 checkUnnamed981(core.List<api.Product> o) { |
| 4570 unittest.expect(o, unittest.hasLength(2)); | 4570 unittest.expect(o, unittest.hasLength(2)); |
| 4571 checkProduct(o[0]); | 4571 checkProduct(o[0]); |
| 4572 checkProduct(o[1]); | 4572 checkProduct(o[1]); |
| 4573 } | 4573 } |
| 4574 | 4574 |
| 4575 core.int buildCounterProductsListResponse = 0; | 4575 core.int buildCounterProductsListResponse = 0; |
| 4576 buildProductsListResponse() { | 4576 buildProductsListResponse() { |
| 4577 var o = new api.ProductsListResponse(); | 4577 var o = new api.ProductsListResponse(); |
| 4578 buildCounterProductsListResponse++; | 4578 buildCounterProductsListResponse++; |
| 4579 if (buildCounterProductsListResponse < 3) { | 4579 if (buildCounterProductsListResponse < 3) { |
| 4580 o.kind = "foo"; | 4580 o.kind = "foo"; |
| 4581 o.nextPageToken = "foo"; | 4581 o.nextPageToken = "foo"; |
| 4582 o.resources = buildUnnamed574(); | 4582 o.resources = buildUnnamed981(); |
| 4583 } | 4583 } |
| 4584 buildCounterProductsListResponse--; | 4584 buildCounterProductsListResponse--; |
| 4585 return o; | 4585 return o; |
| 4586 } | 4586 } |
| 4587 | 4587 |
| 4588 checkProductsListResponse(api.ProductsListResponse o) { | 4588 checkProductsListResponse(api.ProductsListResponse o) { |
| 4589 buildCounterProductsListResponse++; | 4589 buildCounterProductsListResponse++; |
| 4590 if (buildCounterProductsListResponse < 3) { | 4590 if (buildCounterProductsListResponse < 3) { |
| 4591 unittest.expect(o.kind, unittest.equals('foo')); | 4591 unittest.expect(o.kind, unittest.equals('foo')); |
| 4592 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4592 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4593 checkUnnamed574(o.resources); | 4593 checkUnnamed981(o.resources); |
| 4594 } | 4594 } |
| 4595 buildCounterProductsListResponse--; | 4595 buildCounterProductsListResponse--; |
| 4596 } | 4596 } |
| 4597 | 4597 |
| 4598 buildUnnamed575() { | 4598 buildUnnamed982() { |
| 4599 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); | 4599 var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>(); |
| 4600 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4600 o.add(buildProductstatusesCustomBatchRequestEntry()); |
| 4601 o.add(buildProductstatusesCustomBatchRequestEntry()); | 4601 o.add(buildProductstatusesCustomBatchRequestEntry()); |
| 4602 return o; | 4602 return o; |
| 4603 } | 4603 } |
| 4604 | 4604 |
| 4605 checkUnnamed575(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { | 4605 checkUnnamed982(core.List<api.ProductstatusesCustomBatchRequestEntry> o) { |
| 4606 unittest.expect(o, unittest.hasLength(2)); | 4606 unittest.expect(o, unittest.hasLength(2)); |
| 4607 checkProductstatusesCustomBatchRequestEntry(o[0]); | 4607 checkProductstatusesCustomBatchRequestEntry(o[0]); |
| 4608 checkProductstatusesCustomBatchRequestEntry(o[1]); | 4608 checkProductstatusesCustomBatchRequestEntry(o[1]); |
| 4609 } | 4609 } |
| 4610 | 4610 |
| 4611 core.int buildCounterProductstatusesCustomBatchRequest = 0; | 4611 core.int buildCounterProductstatusesCustomBatchRequest = 0; |
| 4612 buildProductstatusesCustomBatchRequest() { | 4612 buildProductstatusesCustomBatchRequest() { |
| 4613 var o = new api.ProductstatusesCustomBatchRequest(); | 4613 var o = new api.ProductstatusesCustomBatchRequest(); |
| 4614 buildCounterProductstatusesCustomBatchRequest++; | 4614 buildCounterProductstatusesCustomBatchRequest++; |
| 4615 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4615 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
| 4616 o.entries = buildUnnamed575(); | 4616 o.entries = buildUnnamed982(); |
| 4617 } | 4617 } |
| 4618 buildCounterProductstatusesCustomBatchRequest--; | 4618 buildCounterProductstatusesCustomBatchRequest--; |
| 4619 return o; | 4619 return o; |
| 4620 } | 4620 } |
| 4621 | 4621 |
| 4622 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ | 4622 checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o)
{ |
| 4623 buildCounterProductstatusesCustomBatchRequest++; | 4623 buildCounterProductstatusesCustomBatchRequest++; |
| 4624 if (buildCounterProductstatusesCustomBatchRequest < 3) { | 4624 if (buildCounterProductstatusesCustomBatchRequest < 3) { |
| 4625 checkUnnamed575(o.entries); | 4625 checkUnnamed982(o.entries); |
| 4626 } | 4626 } |
| 4627 buildCounterProductstatusesCustomBatchRequest--; | 4627 buildCounterProductstatusesCustomBatchRequest--; |
| 4628 } | 4628 } |
| 4629 | 4629 |
| 4630 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; | 4630 core.int buildCounterProductstatusesCustomBatchRequestEntry = 0; |
| 4631 buildProductstatusesCustomBatchRequestEntry() { | 4631 buildProductstatusesCustomBatchRequestEntry() { |
| 4632 var o = new api.ProductstatusesCustomBatchRequestEntry(); | 4632 var o = new api.ProductstatusesCustomBatchRequestEntry(); |
| 4633 buildCounterProductstatusesCustomBatchRequestEntry++; | 4633 buildCounterProductstatusesCustomBatchRequestEntry++; |
| 4634 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4634 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
| 4635 o.batchId = 42; | 4635 o.batchId = 42; |
| 4636 o.merchantId = "foo"; | 4636 o.merchantId = "foo"; |
| 4637 o.method = "foo"; | 4637 o.method = "foo"; |
| 4638 o.productId = "foo"; | 4638 o.productId = "foo"; |
| 4639 } | 4639 } |
| 4640 buildCounterProductstatusesCustomBatchRequestEntry--; | 4640 buildCounterProductstatusesCustomBatchRequestEntry--; |
| 4641 return o; | 4641 return o; |
| 4642 } | 4642 } |
| 4643 | 4643 |
| 4644 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { | 4644 checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
tEntry o) { |
| 4645 buildCounterProductstatusesCustomBatchRequestEntry++; | 4645 buildCounterProductstatusesCustomBatchRequestEntry++; |
| 4646 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { | 4646 if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { |
| 4647 unittest.expect(o.batchId, unittest.equals(42)); | 4647 unittest.expect(o.batchId, unittest.equals(42)); |
| 4648 unittest.expect(o.merchantId, unittest.equals('foo')); | 4648 unittest.expect(o.merchantId, unittest.equals('foo')); |
| 4649 unittest.expect(o.method, unittest.equals('foo')); | 4649 unittest.expect(o.method, unittest.equals('foo')); |
| 4650 unittest.expect(o.productId, unittest.equals('foo')); | 4650 unittest.expect(o.productId, unittest.equals('foo')); |
| 4651 } | 4651 } |
| 4652 buildCounterProductstatusesCustomBatchRequestEntry--; | 4652 buildCounterProductstatusesCustomBatchRequestEntry--; |
| 4653 } | 4653 } |
| 4654 | 4654 |
| 4655 buildUnnamed576() { | 4655 buildUnnamed983() { |
| 4656 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); | 4656 var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>(); |
| 4657 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4657 o.add(buildProductstatusesCustomBatchResponseEntry()); |
| 4658 o.add(buildProductstatusesCustomBatchResponseEntry()); | 4658 o.add(buildProductstatusesCustomBatchResponseEntry()); |
| 4659 return o; | 4659 return o; |
| 4660 } | 4660 } |
| 4661 | 4661 |
| 4662 checkUnnamed576(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { | 4662 checkUnnamed983(core.List<api.ProductstatusesCustomBatchResponseEntry> o) { |
| 4663 unittest.expect(o, unittest.hasLength(2)); | 4663 unittest.expect(o, unittest.hasLength(2)); |
| 4664 checkProductstatusesCustomBatchResponseEntry(o[0]); | 4664 checkProductstatusesCustomBatchResponseEntry(o[0]); |
| 4665 checkProductstatusesCustomBatchResponseEntry(o[1]); | 4665 checkProductstatusesCustomBatchResponseEntry(o[1]); |
| 4666 } | 4666 } |
| 4667 | 4667 |
| 4668 core.int buildCounterProductstatusesCustomBatchResponse = 0; | 4668 core.int buildCounterProductstatusesCustomBatchResponse = 0; |
| 4669 buildProductstatusesCustomBatchResponse() { | 4669 buildProductstatusesCustomBatchResponse() { |
| 4670 var o = new api.ProductstatusesCustomBatchResponse(); | 4670 var o = new api.ProductstatusesCustomBatchResponse(); |
| 4671 buildCounterProductstatusesCustomBatchResponse++; | 4671 buildCounterProductstatusesCustomBatchResponse++; |
| 4672 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4672 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
| 4673 o.entries = buildUnnamed576(); | 4673 o.entries = buildUnnamed983(); |
| 4674 o.kind = "foo"; | 4674 o.kind = "foo"; |
| 4675 } | 4675 } |
| 4676 buildCounterProductstatusesCustomBatchResponse--; | 4676 buildCounterProductstatusesCustomBatchResponse--; |
| 4677 return o; | 4677 return o; |
| 4678 } | 4678 } |
| 4679 | 4679 |
| 4680 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { | 4680 checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o
) { |
| 4681 buildCounterProductstatusesCustomBatchResponse++; | 4681 buildCounterProductstatusesCustomBatchResponse++; |
| 4682 if (buildCounterProductstatusesCustomBatchResponse < 3) { | 4682 if (buildCounterProductstatusesCustomBatchResponse < 3) { |
| 4683 checkUnnamed576(o.entries); | 4683 checkUnnamed983(o.entries); |
| 4684 unittest.expect(o.kind, unittest.equals('foo')); | 4684 unittest.expect(o.kind, unittest.equals('foo')); |
| 4685 } | 4685 } |
| 4686 buildCounterProductstatusesCustomBatchResponse--; | 4686 buildCounterProductstatusesCustomBatchResponse--; |
| 4687 } | 4687 } |
| 4688 | 4688 |
| 4689 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; | 4689 core.int buildCounterProductstatusesCustomBatchResponseEntry = 0; |
| 4690 buildProductstatusesCustomBatchResponseEntry() { | 4690 buildProductstatusesCustomBatchResponseEntry() { |
| 4691 var o = new api.ProductstatusesCustomBatchResponseEntry(); | 4691 var o = new api.ProductstatusesCustomBatchResponseEntry(); |
| 4692 buildCounterProductstatusesCustomBatchResponseEntry++; | 4692 buildCounterProductstatusesCustomBatchResponseEntry++; |
| 4693 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4693 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4704 buildCounterProductstatusesCustomBatchResponseEntry++; | 4704 buildCounterProductstatusesCustomBatchResponseEntry++; |
| 4705 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { | 4705 if (buildCounterProductstatusesCustomBatchResponseEntry < 3) { |
| 4706 unittest.expect(o.batchId, unittest.equals(42)); | 4706 unittest.expect(o.batchId, unittest.equals(42)); |
| 4707 checkErrors(o.errors); | 4707 checkErrors(o.errors); |
| 4708 unittest.expect(o.kind, unittest.equals('foo')); | 4708 unittest.expect(o.kind, unittest.equals('foo')); |
| 4709 checkProductStatus(o.productStatus); | 4709 checkProductStatus(o.productStatus); |
| 4710 } | 4710 } |
| 4711 buildCounterProductstatusesCustomBatchResponseEntry--; | 4711 buildCounterProductstatusesCustomBatchResponseEntry--; |
| 4712 } | 4712 } |
| 4713 | 4713 |
| 4714 buildUnnamed577() { | 4714 buildUnnamed984() { |
| 4715 var o = new core.List<api.ProductStatus>(); | 4715 var o = new core.List<api.ProductStatus>(); |
| 4716 o.add(buildProductStatus()); | 4716 o.add(buildProductStatus()); |
| 4717 o.add(buildProductStatus()); | 4717 o.add(buildProductStatus()); |
| 4718 return o; | 4718 return o; |
| 4719 } | 4719 } |
| 4720 | 4720 |
| 4721 checkUnnamed577(core.List<api.ProductStatus> o) { | 4721 checkUnnamed984(core.List<api.ProductStatus> o) { |
| 4722 unittest.expect(o, unittest.hasLength(2)); | 4722 unittest.expect(o, unittest.hasLength(2)); |
| 4723 checkProductStatus(o[0]); | 4723 checkProductStatus(o[0]); |
| 4724 checkProductStatus(o[1]); | 4724 checkProductStatus(o[1]); |
| 4725 } | 4725 } |
| 4726 | 4726 |
| 4727 core.int buildCounterProductstatusesListResponse = 0; | 4727 core.int buildCounterProductstatusesListResponse = 0; |
| 4728 buildProductstatusesListResponse() { | 4728 buildProductstatusesListResponse() { |
| 4729 var o = new api.ProductstatusesListResponse(); | 4729 var o = new api.ProductstatusesListResponse(); |
| 4730 buildCounterProductstatusesListResponse++; | 4730 buildCounterProductstatusesListResponse++; |
| 4731 if (buildCounterProductstatusesListResponse < 3) { | 4731 if (buildCounterProductstatusesListResponse < 3) { |
| 4732 o.kind = "foo"; | 4732 o.kind = "foo"; |
| 4733 o.nextPageToken = "foo"; | 4733 o.nextPageToken = "foo"; |
| 4734 o.resources = buildUnnamed577(); | 4734 o.resources = buildUnnamed984(); |
| 4735 } | 4735 } |
| 4736 buildCounterProductstatusesListResponse--; | 4736 buildCounterProductstatusesListResponse--; |
| 4737 return o; | 4737 return o; |
| 4738 } | 4738 } |
| 4739 | 4739 |
| 4740 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { | 4740 checkProductstatusesListResponse(api.ProductstatusesListResponse o) { |
| 4741 buildCounterProductstatusesListResponse++; | 4741 buildCounterProductstatusesListResponse++; |
| 4742 if (buildCounterProductstatusesListResponse < 3) { | 4742 if (buildCounterProductstatusesListResponse < 3) { |
| 4743 unittest.expect(o.kind, unittest.equals('foo')); | 4743 unittest.expect(o.kind, unittest.equals('foo')); |
| 4744 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4744 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4745 checkUnnamed577(o.resources); | 4745 checkUnnamed984(o.resources); |
| 4746 } | 4746 } |
| 4747 buildCounterProductstatusesListResponse--; | 4747 buildCounterProductstatusesListResponse--; |
| 4748 } | 4748 } |
| 4749 | 4749 |
| 4750 buildUnnamed578() { | 4750 buildUnnamed985() { |
| 4751 var o = new core.List<api.TestOrderLineItem>(); | 4751 var o = new core.List<api.TestOrderLineItem>(); |
| 4752 o.add(buildTestOrderLineItem()); | 4752 o.add(buildTestOrderLineItem()); |
| 4753 o.add(buildTestOrderLineItem()); | 4753 o.add(buildTestOrderLineItem()); |
| 4754 return o; | 4754 return o; |
| 4755 } | 4755 } |
| 4756 | 4756 |
| 4757 checkUnnamed578(core.List<api.TestOrderLineItem> o) { | 4757 checkUnnamed985(core.List<api.TestOrderLineItem> o) { |
| 4758 unittest.expect(o, unittest.hasLength(2)); | 4758 unittest.expect(o, unittest.hasLength(2)); |
| 4759 checkTestOrderLineItem(o[0]); | 4759 checkTestOrderLineItem(o[0]); |
| 4760 checkTestOrderLineItem(o[1]); | 4760 checkTestOrderLineItem(o[1]); |
| 4761 } | 4761 } |
| 4762 | 4762 |
| 4763 buildUnnamed579() { | 4763 buildUnnamed986() { |
| 4764 var o = new core.List<api.OrderPromotion>(); | 4764 var o = new core.List<api.OrderPromotion>(); |
| 4765 o.add(buildOrderPromotion()); | 4765 o.add(buildOrderPromotion()); |
| 4766 o.add(buildOrderPromotion()); | 4766 o.add(buildOrderPromotion()); |
| 4767 return o; | 4767 return o; |
| 4768 } | 4768 } |
| 4769 | 4769 |
| 4770 checkUnnamed579(core.List<api.OrderPromotion> o) { | 4770 checkUnnamed986(core.List<api.OrderPromotion> o) { |
| 4771 unittest.expect(o, unittest.hasLength(2)); | 4771 unittest.expect(o, unittest.hasLength(2)); |
| 4772 checkOrderPromotion(o[0]); | 4772 checkOrderPromotion(o[0]); |
| 4773 checkOrderPromotion(o[1]); | 4773 checkOrderPromotion(o[1]); |
| 4774 } | 4774 } |
| 4775 | 4775 |
| 4776 core.int buildCounterTestOrder = 0; | 4776 core.int buildCounterTestOrder = 0; |
| 4777 buildTestOrder() { | 4777 buildTestOrder() { |
| 4778 var o = new api.TestOrder(); | 4778 var o = new api.TestOrder(); |
| 4779 buildCounterTestOrder++; | 4779 buildCounterTestOrder++; |
| 4780 if (buildCounterTestOrder < 3) { | 4780 if (buildCounterTestOrder < 3) { |
| 4781 o.customer = buildTestOrderCustomer(); | 4781 o.customer = buildTestOrderCustomer(); |
| 4782 o.kind = "foo"; | 4782 o.kind = "foo"; |
| 4783 o.lineItems = buildUnnamed578(); | 4783 o.lineItems = buildUnnamed985(); |
| 4784 o.paymentMethod = buildTestOrderPaymentMethod(); | 4784 o.paymentMethod = buildTestOrderPaymentMethod(); |
| 4785 o.predefinedDeliveryAddress = "foo"; | 4785 o.predefinedDeliveryAddress = "foo"; |
| 4786 o.promotions = buildUnnamed579(); | 4786 o.promotions = buildUnnamed986(); |
| 4787 o.shippingCost = buildPrice(); | 4787 o.shippingCost = buildPrice(); |
| 4788 o.shippingCostTax = buildPrice(); | 4788 o.shippingCostTax = buildPrice(); |
| 4789 o.shippingOption = "foo"; | 4789 o.shippingOption = "foo"; |
| 4790 } | 4790 } |
| 4791 buildCounterTestOrder--; | 4791 buildCounterTestOrder--; |
| 4792 return o; | 4792 return o; |
| 4793 } | 4793 } |
| 4794 | 4794 |
| 4795 checkTestOrder(api.TestOrder o) { | 4795 checkTestOrder(api.TestOrder o) { |
| 4796 buildCounterTestOrder++; | 4796 buildCounterTestOrder++; |
| 4797 if (buildCounterTestOrder < 3) { | 4797 if (buildCounterTestOrder < 3) { |
| 4798 checkTestOrderCustomer(o.customer); | 4798 checkTestOrderCustomer(o.customer); |
| 4799 unittest.expect(o.kind, unittest.equals('foo')); | 4799 unittest.expect(o.kind, unittest.equals('foo')); |
| 4800 checkUnnamed578(o.lineItems); | 4800 checkUnnamed985(o.lineItems); |
| 4801 checkTestOrderPaymentMethod(o.paymentMethod); | 4801 checkTestOrderPaymentMethod(o.paymentMethod); |
| 4802 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); | 4802 unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo')); |
| 4803 checkUnnamed579(o.promotions); | 4803 checkUnnamed986(o.promotions); |
| 4804 checkPrice(o.shippingCost); | 4804 checkPrice(o.shippingCost); |
| 4805 checkPrice(o.shippingCostTax); | 4805 checkPrice(o.shippingCostTax); |
| 4806 unittest.expect(o.shippingOption, unittest.equals('foo')); | 4806 unittest.expect(o.shippingOption, unittest.equals('foo')); |
| 4807 } | 4807 } |
| 4808 buildCounterTestOrder--; | 4808 buildCounterTestOrder--; |
| 4809 } | 4809 } |
| 4810 | 4810 |
| 4811 core.int buildCounterTestOrderCustomer = 0; | 4811 core.int buildCounterTestOrderCustomer = 0; |
| 4812 buildTestOrderCustomer() { | 4812 buildTestOrderCustomer() { |
| 4813 var o = new api.TestOrderCustomer(); | 4813 var o = new api.TestOrderCustomer(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4851 if (buildCounterTestOrderLineItem < 3) { | 4851 if (buildCounterTestOrderLineItem < 3) { |
| 4852 checkTestOrderLineItemProduct(o.product); | 4852 checkTestOrderLineItemProduct(o.product); |
| 4853 unittest.expect(o.quantityOrdered, unittest.equals(42)); | 4853 unittest.expect(o.quantityOrdered, unittest.equals(42)); |
| 4854 checkOrderLineItemReturnInfo(o.returnInfo); | 4854 checkOrderLineItemReturnInfo(o.returnInfo); |
| 4855 checkOrderLineItemShippingDetails(o.shippingDetails); | 4855 checkOrderLineItemShippingDetails(o.shippingDetails); |
| 4856 checkPrice(o.unitTax); | 4856 checkPrice(o.unitTax); |
| 4857 } | 4857 } |
| 4858 buildCounterTestOrderLineItem--; | 4858 buildCounterTestOrderLineItem--; |
| 4859 } | 4859 } |
| 4860 | 4860 |
| 4861 buildUnnamed580() { | 4861 buildUnnamed987() { |
| 4862 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); | 4862 var o = new core.List<api.OrderLineItemProductVariantAttribute>(); |
| 4863 o.add(buildOrderLineItemProductVariantAttribute()); | 4863 o.add(buildOrderLineItemProductVariantAttribute()); |
| 4864 o.add(buildOrderLineItemProductVariantAttribute()); | 4864 o.add(buildOrderLineItemProductVariantAttribute()); |
| 4865 return o; | 4865 return o; |
| 4866 } | 4866 } |
| 4867 | 4867 |
| 4868 checkUnnamed580(core.List<api.OrderLineItemProductVariantAttribute> o) { | 4868 checkUnnamed987(core.List<api.OrderLineItemProductVariantAttribute> o) { |
| 4869 unittest.expect(o, unittest.hasLength(2)); | 4869 unittest.expect(o, unittest.hasLength(2)); |
| 4870 checkOrderLineItemProductVariantAttribute(o[0]); | 4870 checkOrderLineItemProductVariantAttribute(o[0]); |
| 4871 checkOrderLineItemProductVariantAttribute(o[1]); | 4871 checkOrderLineItemProductVariantAttribute(o[1]); |
| 4872 } | 4872 } |
| 4873 | 4873 |
| 4874 core.int buildCounterTestOrderLineItemProduct = 0; | 4874 core.int buildCounterTestOrderLineItemProduct = 0; |
| 4875 buildTestOrderLineItemProduct() { | 4875 buildTestOrderLineItemProduct() { |
| 4876 var o = new api.TestOrderLineItemProduct(); | 4876 var o = new api.TestOrderLineItemProduct(); |
| 4877 buildCounterTestOrderLineItemProduct++; | 4877 buildCounterTestOrderLineItemProduct++; |
| 4878 if (buildCounterTestOrderLineItemProduct < 3) { | 4878 if (buildCounterTestOrderLineItemProduct < 3) { |
| 4879 o.brand = "foo"; | 4879 o.brand = "foo"; |
| 4880 o.channel = "foo"; | 4880 o.channel = "foo"; |
| 4881 o.condition = "foo"; | 4881 o.condition = "foo"; |
| 4882 o.contentLanguage = "foo"; | 4882 o.contentLanguage = "foo"; |
| 4883 o.gtin = "foo"; | 4883 o.gtin = "foo"; |
| 4884 o.imageLink = "foo"; | 4884 o.imageLink = "foo"; |
| 4885 o.itemGroupId = "foo"; | 4885 o.itemGroupId = "foo"; |
| 4886 o.mpn = "foo"; | 4886 o.mpn = "foo"; |
| 4887 o.offerId = "foo"; | 4887 o.offerId = "foo"; |
| 4888 o.price = buildPrice(); | 4888 o.price = buildPrice(); |
| 4889 o.targetCountry = "foo"; | 4889 o.targetCountry = "foo"; |
| 4890 o.title = "foo"; | 4890 o.title = "foo"; |
| 4891 o.variantAttributes = buildUnnamed580(); | 4891 o.variantAttributes = buildUnnamed987(); |
| 4892 } | 4892 } |
| 4893 buildCounterTestOrderLineItemProduct--; | 4893 buildCounterTestOrderLineItemProduct--; |
| 4894 return o; | 4894 return o; |
| 4895 } | 4895 } |
| 4896 | 4896 |
| 4897 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { | 4897 checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { |
| 4898 buildCounterTestOrderLineItemProduct++; | 4898 buildCounterTestOrderLineItemProduct++; |
| 4899 if (buildCounterTestOrderLineItemProduct < 3) { | 4899 if (buildCounterTestOrderLineItemProduct < 3) { |
| 4900 unittest.expect(o.brand, unittest.equals('foo')); | 4900 unittest.expect(o.brand, unittest.equals('foo')); |
| 4901 unittest.expect(o.channel, unittest.equals('foo')); | 4901 unittest.expect(o.channel, unittest.equals('foo')); |
| 4902 unittest.expect(o.condition, unittest.equals('foo')); | 4902 unittest.expect(o.condition, unittest.equals('foo')); |
| 4903 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 4903 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
| 4904 unittest.expect(o.gtin, unittest.equals('foo')); | 4904 unittest.expect(o.gtin, unittest.equals('foo')); |
| 4905 unittest.expect(o.imageLink, unittest.equals('foo')); | 4905 unittest.expect(o.imageLink, unittest.equals('foo')); |
| 4906 unittest.expect(o.itemGroupId, unittest.equals('foo')); | 4906 unittest.expect(o.itemGroupId, unittest.equals('foo')); |
| 4907 unittest.expect(o.mpn, unittest.equals('foo')); | 4907 unittest.expect(o.mpn, unittest.equals('foo')); |
| 4908 unittest.expect(o.offerId, unittest.equals('foo')); | 4908 unittest.expect(o.offerId, unittest.equals('foo')); |
| 4909 checkPrice(o.price); | 4909 checkPrice(o.price); |
| 4910 unittest.expect(o.targetCountry, unittest.equals('foo')); | 4910 unittest.expect(o.targetCountry, unittest.equals('foo')); |
| 4911 unittest.expect(o.title, unittest.equals('foo')); | 4911 unittest.expect(o.title, unittest.equals('foo')); |
| 4912 checkUnnamed580(o.variantAttributes); | 4912 checkUnnamed987(o.variantAttributes); |
| 4913 } | 4913 } |
| 4914 buildCounterTestOrderLineItemProduct--; | 4914 buildCounterTestOrderLineItemProduct--; |
| 4915 } | 4915 } |
| 4916 | 4916 |
| 4917 core.int buildCounterTestOrderPaymentMethod = 0; | 4917 core.int buildCounterTestOrderPaymentMethod = 0; |
| 4918 buildTestOrderPaymentMethod() { | 4918 buildTestOrderPaymentMethod() { |
| 4919 var o = new api.TestOrderPaymentMethod(); | 4919 var o = new api.TestOrderPaymentMethod(); |
| 4920 buildCounterTestOrderPaymentMethod++; | 4920 buildCounterTestOrderPaymentMethod++; |
| 4921 if (buildCounterTestOrderPaymentMethod < 3) { | 4921 if (buildCounterTestOrderPaymentMethod < 3) { |
| 4922 o.expirationMonth = 42; | 4922 o.expirationMonth = 42; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4955 | 4955 |
| 4956 checkWeight(api.Weight o) { | 4956 checkWeight(api.Weight o) { |
| 4957 buildCounterWeight++; | 4957 buildCounterWeight++; |
| 4958 if (buildCounterWeight < 3) { | 4958 if (buildCounterWeight < 3) { |
| 4959 unittest.expect(o.unit, unittest.equals('foo')); | 4959 unittest.expect(o.unit, unittest.equals('foo')); |
| 4960 unittest.expect(o.value, unittest.equals('foo')); | 4960 unittest.expect(o.value, unittest.equals('foo')); |
| 4961 } | 4961 } |
| 4962 buildCounterWeight--; | 4962 buildCounterWeight--; |
| 4963 } | 4963 } |
| 4964 | 4964 |
| 4965 buildUnnamed581() { | 4965 buildUnnamed988() { |
| 4966 var o = new core.List<core.String>(); | 4966 var o = new core.List<core.String>(); |
| 4967 o.add("foo"); | 4967 o.add("foo"); |
| 4968 o.add("foo"); | 4968 o.add("foo"); |
| 4969 return o; | 4969 return o; |
| 4970 } | 4970 } |
| 4971 | 4971 |
| 4972 checkUnnamed581(core.List<core.String> o) { | 4972 checkUnnamed988(core.List<core.String> o) { |
| 4973 unittest.expect(o, unittest.hasLength(2)); | 4973 unittest.expect(o, unittest.hasLength(2)); |
| 4974 unittest.expect(o[0], unittest.equals('foo')); | 4974 unittest.expect(o[0], unittest.equals('foo')); |
| 4975 unittest.expect(o[1], unittest.equals('foo')); | 4975 unittest.expect(o[1], unittest.equals('foo')); |
| 4976 } | 4976 } |
| 4977 | 4977 |
| 4978 | 4978 |
| 4979 main() { | 4979 main() { |
| 4980 unittest.group("obj-schema-Account", () { | 4980 unittest.group("obj-schema-Account", () { |
| 4981 unittest.test("to-json--from-json", () { | 4981 unittest.test("to-json--from-json", () { |
| 4982 var o = buildAccount(); | 4982 var o = buildAccount(); |
| (...skipping 3323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8306 | 8306 |
| 8307 var mock = new HttpServerMock(); | 8307 var mock = new HttpServerMock(); |
| 8308 api.OrdersResourceApi res = new api.ContentApi(mock).orders; | 8308 api.OrdersResourceApi res = new api.ContentApi(mock).orders; |
| 8309 var arg_merchantId = "foo"; | 8309 var arg_merchantId = "foo"; |
| 8310 var arg_acknowledged = true; | 8310 var arg_acknowledged = true; |
| 8311 var arg_maxResults = 42; | 8311 var arg_maxResults = 42; |
| 8312 var arg_orderBy = "foo"; | 8312 var arg_orderBy = "foo"; |
| 8313 var arg_pageToken = "foo"; | 8313 var arg_pageToken = "foo"; |
| 8314 var arg_placedDateEnd = "foo"; | 8314 var arg_placedDateEnd = "foo"; |
| 8315 var arg_placedDateStart = "foo"; | 8315 var arg_placedDateStart = "foo"; |
| 8316 var arg_statuses = buildUnnamed581(); | 8316 var arg_statuses = buildUnnamed988(); |
| 8317 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 8317 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 8318 var path = (req.url).path; | 8318 var path = (req.url).path; |
| 8319 var pathOffset = 0; | 8319 var pathOffset = 0; |
| 8320 var index; | 8320 var index; |
| 8321 var subPart; | 8321 var subPart; |
| 8322 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 8322 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 8323 pathOffset += 1; | 8323 pathOffset += 1; |
| 8324 | 8324 |
| 8325 var query = (req.url).query; | 8325 var query = (req.url).query; |
| 8326 var queryOffset = 0; | 8326 var queryOffset = 0; |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8972 res.list(arg_merchantId, includeInvalidInsertedItems: arg_includeInvalidIn
sertedItems, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest
.expectAsync(((api.ProductstatusesListResponse response) { | 8972 res.list(arg_merchantId, includeInvalidInsertedItems: arg_includeInvalidIn
sertedItems, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest
.expectAsync(((api.ProductstatusesListResponse response) { |
| 8973 checkProductstatusesListResponse(response); | 8973 checkProductstatusesListResponse(response); |
| 8974 }))); | 8974 }))); |
| 8975 }); | 8975 }); |
| 8976 | 8976 |
| 8977 }); | 8977 }); |
| 8978 | 8978 |
| 8979 | 8979 |
| 8980 } | 8980 } |
| 8981 | 8981 |
| OLD | NEW |