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