| Index: generated/googleapis/test/content/v2_test.dart
|
| diff --git a/generated/googleapis/test/content/v2_test.dart b/generated/googleapis/test/content/v2_test.dart
|
| index 4b15cf62c5655d54eb55c88a52c15d5534c92071..25b1925d2785f2d3613a63e16eca38b13b716a2d 100644
|
| --- a/generated/googleapis/test/content/v2_test.dart
|
| +++ b/generated/googleapis/test/content/v2_test.dart
|
| @@ -51,27 +51,27 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed517() {
|
| +buildUnnamed728() {
|
| var o = new core.List<api.AccountAdwordsLink>();
|
| o.add(buildAccountAdwordsLink());
|
| o.add(buildAccountAdwordsLink());
|
| return o;
|
| }
|
|
|
| -checkUnnamed517(core.List<api.AccountAdwordsLink> o) {
|
| +checkUnnamed728(core.List<api.AccountAdwordsLink> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountAdwordsLink(o[0]);
|
| checkAccountAdwordsLink(o[1]);
|
| }
|
|
|
| -buildUnnamed518() {
|
| +buildUnnamed729() {
|
| var o = new core.List<api.AccountUser>();
|
| o.add(buildAccountUser());
|
| o.add(buildAccountUser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed518(core.List<api.AccountUser> o) {
|
| +checkUnnamed729(core.List<api.AccountUser> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountUser(o[0]);
|
| checkAccountUser(o[1]);
|
| @@ -83,13 +83,13 @@ buildAccount() {
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| o.adultContent = true;
|
| - o.adwordsLinks = buildUnnamed517();
|
| + o.adwordsLinks = buildUnnamed728();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.reviewsUrl = "foo";
|
| o.sellerId = "foo";
|
| - o.users = buildUnnamed518();
|
| + o.users = buildUnnamed729();
|
| o.websiteUrl = "foo";
|
| }
|
| buildCounterAccount--;
|
| @@ -100,13 +100,13 @@ checkAccount(api.Account o) {
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| unittest.expect(o.adultContent, unittest.isTrue);
|
| - checkUnnamed517(o.adwordsLinks);
|
| + checkUnnamed728(o.adwordsLinks);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.reviewsUrl, unittest.equals('foo'));
|
| unittest.expect(o.sellerId, unittest.equals('foo'));
|
| - checkUnnamed518(o.users);
|
| + checkUnnamed729(o.users);
|
| unittest.expect(o.websiteUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAccount--;
|
| @@ -154,53 +154,53 @@ checkAccountIdentifier(api.AccountIdentifier o) {
|
| buildCounterAccountIdentifier--;
|
| }
|
|
|
| -buildUnnamed519() {
|
| +buildUnnamed730() {
|
| var o = new core.List<api.AccountShippingCarrierRate>();
|
| o.add(buildAccountShippingCarrierRate());
|
| o.add(buildAccountShippingCarrierRate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed519(core.List<api.AccountShippingCarrierRate> o) {
|
| +checkUnnamed730(core.List<api.AccountShippingCarrierRate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountShippingCarrierRate(o[0]);
|
| checkAccountShippingCarrierRate(o[1]);
|
| }
|
|
|
| -buildUnnamed520() {
|
| +buildUnnamed731() {
|
| var o = new core.List<api.AccountShippingLocationGroup>();
|
| o.add(buildAccountShippingLocationGroup());
|
| o.add(buildAccountShippingLocationGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed520(core.List<api.AccountShippingLocationGroup> o) {
|
| +checkUnnamed731(core.List<api.AccountShippingLocationGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountShippingLocationGroup(o[0]);
|
| checkAccountShippingLocationGroup(o[1]);
|
| }
|
|
|
| -buildUnnamed521() {
|
| +buildUnnamed732() {
|
| var o = new core.List<api.AccountShippingRateTable>();
|
| o.add(buildAccountShippingRateTable());
|
| o.add(buildAccountShippingRateTable());
|
| return o;
|
| }
|
|
|
| -checkUnnamed521(core.List<api.AccountShippingRateTable> o) {
|
| +checkUnnamed732(core.List<api.AccountShippingRateTable> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountShippingRateTable(o[0]);
|
| checkAccountShippingRateTable(o[1]);
|
| }
|
|
|
| -buildUnnamed522() {
|
| +buildUnnamed733() {
|
| var o = new core.List<api.AccountShippingShippingService>();
|
| o.add(buildAccountShippingShippingService());
|
| o.add(buildAccountShippingShippingService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed522(core.List<api.AccountShippingShippingService> o) {
|
| +checkUnnamed733(core.List<api.AccountShippingShippingService> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountShippingShippingService(o[0]);
|
| checkAccountShippingShippingService(o[1]);
|
| @@ -212,11 +212,11 @@ buildAccountShipping() {
|
| buildCounterAccountShipping++;
|
| if (buildCounterAccountShipping < 3) {
|
| o.accountId = "foo";
|
| - o.carrierRates = buildUnnamed519();
|
| + o.carrierRates = buildUnnamed730();
|
| o.kind = "foo";
|
| - o.locationGroups = buildUnnamed520();
|
| - o.rateTables = buildUnnamed521();
|
| - o.services = buildUnnamed522();
|
| + o.locationGroups = buildUnnamed731();
|
| + o.rateTables = buildUnnamed732();
|
| + o.services = buildUnnamed733();
|
| }
|
| buildCounterAccountShipping--;
|
| return o;
|
| @@ -226,11 +226,11 @@ checkAccountShipping(api.AccountShipping o) {
|
| buildCounterAccountShipping++;
|
| if (buildCounterAccountShipping < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| - checkUnnamed519(o.carrierRates);
|
| + checkUnnamed730(o.carrierRates);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed520(o.locationGroups);
|
| - checkUnnamed521(o.rateTables);
|
| - checkUnnamed522(o.services);
|
| + checkUnnamed731(o.locationGroups);
|
| + checkUnnamed732(o.rateTables);
|
| + checkUnnamed733(o.services);
|
| }
|
| buildCounterAccountShipping--;
|
| }
|
| @@ -297,40 +297,40 @@ checkAccountShippingCondition(api.AccountShippingCondition o) {
|
| buildCounterAccountShippingCondition--;
|
| }
|
|
|
| -buildUnnamed523() {
|
| +buildUnnamed734() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed523(core.List<core.String> o) {
|
| +checkUnnamed734(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed524() {
|
| +buildUnnamed735() {
|
| var o = new core.List<api.AccountShippingPostalCodeRange>();
|
| o.add(buildAccountShippingPostalCodeRange());
|
| o.add(buildAccountShippingPostalCodeRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed524(core.List<api.AccountShippingPostalCodeRange> o) {
|
| +checkUnnamed735(core.List<api.AccountShippingPostalCodeRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountShippingPostalCodeRange(o[0]);
|
| checkAccountShippingPostalCodeRange(o[1]);
|
| }
|
|
|
| -buildUnnamed525() {
|
| +buildUnnamed736() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed525(core.List<core.String> o) {
|
| +checkUnnamed736(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -342,10 +342,10 @@ buildAccountShippingLocationGroup() {
|
| buildCounterAccountShippingLocationGroup++;
|
| if (buildCounterAccountShippingLocationGroup < 3) {
|
| o.country = "foo";
|
| - o.locationIds = buildUnnamed523();
|
| + o.locationIds = buildUnnamed734();
|
| o.name = "foo";
|
| - o.postalCodeRanges = buildUnnamed524();
|
| - o.postalCodes = buildUnnamed525();
|
| + o.postalCodeRanges = buildUnnamed735();
|
| + o.postalCodes = buildUnnamed736();
|
| }
|
| buildCounterAccountShippingLocationGroup--;
|
| return o;
|
| @@ -355,10 +355,10 @@ checkAccountShippingLocationGroup(api.AccountShippingLocationGroup o) {
|
| buildCounterAccountShippingLocationGroup++;
|
| if (buildCounterAccountShippingLocationGroup < 3) {
|
| unittest.expect(o.country, unittest.equals('foo'));
|
| - checkUnnamed523(o.locationIds);
|
| + checkUnnamed734(o.locationIds);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed524(o.postalCodeRanges);
|
| - checkUnnamed525(o.postalCodes);
|
| + checkUnnamed735(o.postalCodeRanges);
|
| + checkUnnamed736(o.postalCodes);
|
| }
|
| buildCounterAccountShippingLocationGroup--;
|
| }
|
| @@ -384,14 +384,14 @@ checkAccountShippingPostalCodeRange(api.AccountShippingPostalCodeRange o) {
|
| buildCounterAccountShippingPostalCodeRange--;
|
| }
|
|
|
| -buildUnnamed526() {
|
| +buildUnnamed737() {
|
| var o = new core.List<api.AccountShippingRateTableCell>();
|
| o.add(buildAccountShippingRateTableCell());
|
| o.add(buildAccountShippingRateTableCell());
|
| return o;
|
| }
|
|
|
| -checkUnnamed526(core.List<api.AccountShippingRateTableCell> o) {
|
| +checkUnnamed737(core.List<api.AccountShippingRateTableCell> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountShippingRateTableCell(o[0]);
|
| checkAccountShippingRateTableCell(o[1]);
|
| @@ -402,7 +402,7 @@ buildAccountShippingRateTable() {
|
| var o = new api.AccountShippingRateTable();
|
| buildCounterAccountShippingRateTable++;
|
| if (buildCounterAccountShippingRateTable < 3) {
|
| - o.content = buildUnnamed526();
|
| + o.content = buildUnnamed737();
|
| o.name = "foo";
|
| o.saleCountry = "foo";
|
| }
|
| @@ -413,7 +413,7 @@ buildAccountShippingRateTable() {
|
| checkAccountShippingRateTable(api.AccountShippingRateTable o) {
|
| buildCounterAccountShippingRateTable++;
|
| if (buildCounterAccountShippingRateTable < 3) {
|
| - checkUnnamed526(o.content);
|
| + checkUnnamed737(o.content);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.saleCountry, unittest.equals('foo'));
|
| }
|
| @@ -495,14 +495,14 @@ checkAccountShippingShippingServiceCalculationMethod(api.AccountShippingShipping
|
| buildCounterAccountShippingShippingServiceCalculationMethod--;
|
| }
|
|
|
| -buildUnnamed527() {
|
| +buildUnnamed738() {
|
| var o = new core.List<api.AccountShippingShippingServiceCostRule>();
|
| o.add(buildAccountShippingShippingServiceCostRule());
|
| o.add(buildAccountShippingShippingServiceCostRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed527(core.List<api.AccountShippingShippingServiceCostRule> o) {
|
| +checkUnnamed738(core.List<api.AccountShippingShippingServiceCostRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountShippingShippingServiceCostRule(o[0]);
|
| checkAccountShippingShippingServiceCostRule(o[1]);
|
| @@ -514,7 +514,7 @@ buildAccountShippingShippingServiceCostRule() {
|
| buildCounterAccountShippingShippingServiceCostRule++;
|
| if (buildCounterAccountShippingShippingServiceCostRule < 3) {
|
| o.calculationMethod = buildAccountShippingShippingServiceCalculationMethod();
|
| - o.children = buildUnnamed527();
|
| + o.children = buildUnnamed738();
|
| o.condition = buildAccountShippingCondition();
|
| }
|
| buildCounterAccountShippingShippingServiceCostRule--;
|
| @@ -525,20 +525,20 @@ checkAccountShippingShippingServiceCostRule(api.AccountShippingShippingServiceCo
|
| buildCounterAccountShippingShippingServiceCostRule++;
|
| if (buildCounterAccountShippingShippingServiceCostRule < 3) {
|
| checkAccountShippingShippingServiceCalculationMethod(o.calculationMethod);
|
| - checkUnnamed527(o.children);
|
| + checkUnnamed738(o.children);
|
| checkAccountShippingCondition(o.condition);
|
| }
|
| buildCounterAccountShippingShippingServiceCostRule--;
|
| }
|
|
|
| -buildUnnamed528() {
|
| +buildUnnamed739() {
|
| var o = new core.List<api.AccountStatusDataQualityIssue>();
|
| o.add(buildAccountStatusDataQualityIssue());
|
| o.add(buildAccountStatusDataQualityIssue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed528(core.List<api.AccountStatusDataQualityIssue> o) {
|
| +checkUnnamed739(core.List<api.AccountStatusDataQualityIssue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountStatusDataQualityIssue(o[0]);
|
| checkAccountStatusDataQualityIssue(o[1]);
|
| @@ -550,7 +550,7 @@ buildAccountStatus() {
|
| buildCounterAccountStatus++;
|
| if (buildCounterAccountStatus < 3) {
|
| o.accountId = "foo";
|
| - o.dataQualityIssues = buildUnnamed528();
|
| + o.dataQualityIssues = buildUnnamed739();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountStatus--;
|
| @@ -561,20 +561,20 @@ checkAccountStatus(api.AccountStatus o) {
|
| buildCounterAccountStatus++;
|
| if (buildCounterAccountStatus < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| - checkUnnamed528(o.dataQualityIssues);
|
| + checkUnnamed739(o.dataQualityIssues);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountStatus--;
|
| }
|
|
|
| -buildUnnamed529() {
|
| +buildUnnamed740() {
|
| var o = new core.List<api.AccountStatusExampleItem>();
|
| o.add(buildAccountStatusExampleItem());
|
| o.add(buildAccountStatusExampleItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed529(core.List<api.AccountStatusExampleItem> o) {
|
| +checkUnnamed740(core.List<api.AccountStatusExampleItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountStatusExampleItem(o[0]);
|
| checkAccountStatusExampleItem(o[1]);
|
| @@ -587,7 +587,7 @@ buildAccountStatusDataQualityIssue() {
|
| if (buildCounterAccountStatusDataQualityIssue < 3) {
|
| o.country = "foo";
|
| o.displayedValue = "foo";
|
| - o.exampleItems = buildUnnamed529();
|
| + o.exampleItems = buildUnnamed740();
|
| o.id = "foo";
|
| o.lastChecked = "foo";
|
| o.numItems = 42;
|
| @@ -603,7 +603,7 @@ checkAccountStatusDataQualityIssue(api.AccountStatusDataQualityIssue o) {
|
| if (buildCounterAccountStatusDataQualityIssue < 3) {
|
| unittest.expect(o.country, unittest.equals('foo'));
|
| unittest.expect(o.displayedValue, unittest.equals('foo'));
|
| - checkUnnamed529(o.exampleItems);
|
| + checkUnnamed740(o.exampleItems);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.lastChecked, unittest.equals('foo'));
|
| unittest.expect(o.numItems, unittest.equals(42));
|
| @@ -640,14 +640,14 @@ checkAccountStatusExampleItem(api.AccountStatusExampleItem o) {
|
| buildCounterAccountStatusExampleItem--;
|
| }
|
|
|
| -buildUnnamed530() {
|
| +buildUnnamed741() {
|
| var o = new core.List<api.AccountTaxTaxRule>();
|
| o.add(buildAccountTaxTaxRule());
|
| o.add(buildAccountTaxTaxRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed530(core.List<api.AccountTaxTaxRule> o) {
|
| +checkUnnamed741(core.List<api.AccountTaxTaxRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountTaxTaxRule(o[0]);
|
| checkAccountTaxTaxRule(o[1]);
|
| @@ -660,7 +660,7 @@ buildAccountTax() {
|
| if (buildCounterAccountTax < 3) {
|
| o.accountId = "foo";
|
| o.kind = "foo";
|
| - o.rules = buildUnnamed530();
|
| + o.rules = buildUnnamed741();
|
| }
|
| buildCounterAccountTax--;
|
| return o;
|
| @@ -671,7 +671,7 @@ checkAccountTax(api.AccountTax o) {
|
| if (buildCounterAccountTax < 3) {
|
| unittest.expect(o.accountId, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed530(o.rules);
|
| + checkUnnamed741(o.rules);
|
| }
|
| buildCounterAccountTax--;
|
| }
|
| @@ -724,14 +724,14 @@ checkAccountUser(api.AccountUser o) {
|
| buildCounterAccountUser--;
|
| }
|
|
|
| -buildUnnamed531() {
|
| +buildUnnamed742() {
|
| var o = new core.List<api.AccountIdentifier>();
|
| o.add(buildAccountIdentifier());
|
| o.add(buildAccountIdentifier());
|
| return o;
|
| }
|
|
|
| -checkUnnamed531(core.List<api.AccountIdentifier> o) {
|
| +checkUnnamed742(core.List<api.AccountIdentifier> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountIdentifier(o[0]);
|
| checkAccountIdentifier(o[1]);
|
| @@ -742,7 +742,7 @@ buildAccountsAuthInfoResponse() {
|
| var o = new api.AccountsAuthInfoResponse();
|
| buildCounterAccountsAuthInfoResponse++;
|
| if (buildCounterAccountsAuthInfoResponse < 3) {
|
| - o.accountIdentifiers = buildUnnamed531();
|
| + o.accountIdentifiers = buildUnnamed742();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountsAuthInfoResponse--;
|
| @@ -752,20 +752,20 @@ buildAccountsAuthInfoResponse() {
|
| checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) {
|
| buildCounterAccountsAuthInfoResponse++;
|
| if (buildCounterAccountsAuthInfoResponse < 3) {
|
| - checkUnnamed531(o.accountIdentifiers);
|
| + checkUnnamed742(o.accountIdentifiers);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountsAuthInfoResponse--;
|
| }
|
|
|
| -buildUnnamed532() {
|
| +buildUnnamed743() {
|
| var o = new core.List<api.AccountsCustomBatchRequestEntry>();
|
| o.add(buildAccountsCustomBatchRequestEntry());
|
| o.add(buildAccountsCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed532(core.List<api.AccountsCustomBatchRequestEntry> o) {
|
| +checkUnnamed743(core.List<api.AccountsCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountsCustomBatchRequestEntry(o[0]);
|
| checkAccountsCustomBatchRequestEntry(o[1]);
|
| @@ -776,7 +776,7 @@ buildAccountsCustomBatchRequest() {
|
| var o = new api.AccountsCustomBatchRequest();
|
| buildCounterAccountsCustomBatchRequest++;
|
| if (buildCounterAccountsCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed532();
|
| + o.entries = buildUnnamed743();
|
| }
|
| buildCounterAccountsCustomBatchRequest--;
|
| return o;
|
| @@ -785,7 +785,7 @@ buildAccountsCustomBatchRequest() {
|
| checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) {
|
| buildCounterAccountsCustomBatchRequest++;
|
| if (buildCounterAccountsCustomBatchRequest < 3) {
|
| - checkUnnamed532(o.entries);
|
| + checkUnnamed743(o.entries);
|
| }
|
| buildCounterAccountsCustomBatchRequest--;
|
| }
|
| @@ -817,14 +817,14 @@ checkAccountsCustomBatchRequestEntry(api.AccountsCustomBatchRequestEntry o) {
|
| buildCounterAccountsCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed533() {
|
| +buildUnnamed744() {
|
| var o = new core.List<api.AccountsCustomBatchResponseEntry>();
|
| o.add(buildAccountsCustomBatchResponseEntry());
|
| o.add(buildAccountsCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed533(core.List<api.AccountsCustomBatchResponseEntry> o) {
|
| +checkUnnamed744(core.List<api.AccountsCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountsCustomBatchResponseEntry(o[0]);
|
| checkAccountsCustomBatchResponseEntry(o[1]);
|
| @@ -835,7 +835,7 @@ buildAccountsCustomBatchResponse() {
|
| var o = new api.AccountsCustomBatchResponse();
|
| buildCounterAccountsCustomBatchResponse++;
|
| if (buildCounterAccountsCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed533();
|
| + o.entries = buildUnnamed744();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountsCustomBatchResponse--;
|
| @@ -845,7 +845,7 @@ buildAccountsCustomBatchResponse() {
|
| checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) {
|
| buildCounterAccountsCustomBatchResponse++;
|
| if (buildCounterAccountsCustomBatchResponse < 3) {
|
| - checkUnnamed533(o.entries);
|
| + checkUnnamed744(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountsCustomBatchResponse--;
|
| @@ -876,14 +876,14 @@ checkAccountsCustomBatchResponseEntry(api.AccountsCustomBatchResponseEntry o) {
|
| buildCounterAccountsCustomBatchResponseEntry--;
|
| }
|
|
|
| -buildUnnamed534() {
|
| +buildUnnamed745() {
|
| var o = new core.List<api.Account>();
|
| o.add(buildAccount());
|
| o.add(buildAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed534(core.List<api.Account> o) {
|
| +checkUnnamed745(core.List<api.Account> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccount(o[0]);
|
| checkAccount(o[1]);
|
| @@ -896,7 +896,7 @@ buildAccountsListResponse() {
|
| if (buildCounterAccountsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed534();
|
| + o.resources = buildUnnamed745();
|
| }
|
| buildCounterAccountsListResponse--;
|
| return o;
|
| @@ -907,19 +907,19 @@ checkAccountsListResponse(api.AccountsListResponse o) {
|
| if (buildCounterAccountsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed534(o.resources);
|
| + checkUnnamed745(o.resources);
|
| }
|
| buildCounterAccountsListResponse--;
|
| }
|
|
|
| -buildUnnamed535() {
|
| +buildUnnamed746() {
|
| var o = new core.List<api.AccountshippingCustomBatchRequestEntry>();
|
| o.add(buildAccountshippingCustomBatchRequestEntry());
|
| o.add(buildAccountshippingCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed535(core.List<api.AccountshippingCustomBatchRequestEntry> o) {
|
| +checkUnnamed746(core.List<api.AccountshippingCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountshippingCustomBatchRequestEntry(o[0]);
|
| checkAccountshippingCustomBatchRequestEntry(o[1]);
|
| @@ -930,7 +930,7 @@ buildAccountshippingCustomBatchRequest() {
|
| var o = new api.AccountshippingCustomBatchRequest();
|
| buildCounterAccountshippingCustomBatchRequest++;
|
| if (buildCounterAccountshippingCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed535();
|
| + o.entries = buildUnnamed746();
|
| }
|
| buildCounterAccountshippingCustomBatchRequest--;
|
| return o;
|
| @@ -939,7 +939,7 @@ buildAccountshippingCustomBatchRequest() {
|
| checkAccountshippingCustomBatchRequest(api.AccountshippingCustomBatchRequest o) {
|
| buildCounterAccountshippingCustomBatchRequest++;
|
| if (buildCounterAccountshippingCustomBatchRequest < 3) {
|
| - checkUnnamed535(o.entries);
|
| + checkUnnamed746(o.entries);
|
| }
|
| buildCounterAccountshippingCustomBatchRequest--;
|
| }
|
| @@ -971,14 +971,14 @@ checkAccountshippingCustomBatchRequestEntry(api.AccountshippingCustomBatchReques
|
| buildCounterAccountshippingCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed536() {
|
| +buildUnnamed747() {
|
| var o = new core.List<api.AccountshippingCustomBatchResponseEntry>();
|
| o.add(buildAccountshippingCustomBatchResponseEntry());
|
| o.add(buildAccountshippingCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed536(core.List<api.AccountshippingCustomBatchResponseEntry> o) {
|
| +checkUnnamed747(core.List<api.AccountshippingCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountshippingCustomBatchResponseEntry(o[0]);
|
| checkAccountshippingCustomBatchResponseEntry(o[1]);
|
| @@ -989,7 +989,7 @@ buildAccountshippingCustomBatchResponse() {
|
| var o = new api.AccountshippingCustomBatchResponse();
|
| buildCounterAccountshippingCustomBatchResponse++;
|
| if (buildCounterAccountshippingCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed536();
|
| + o.entries = buildUnnamed747();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountshippingCustomBatchResponse--;
|
| @@ -999,7 +999,7 @@ buildAccountshippingCustomBatchResponse() {
|
| checkAccountshippingCustomBatchResponse(api.AccountshippingCustomBatchResponse o) {
|
| buildCounterAccountshippingCustomBatchResponse++;
|
| if (buildCounterAccountshippingCustomBatchResponse < 3) {
|
| - checkUnnamed536(o.entries);
|
| + checkUnnamed747(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountshippingCustomBatchResponse--;
|
| @@ -1030,14 +1030,14 @@ checkAccountshippingCustomBatchResponseEntry(api.AccountshippingCustomBatchRespo
|
| buildCounterAccountshippingCustomBatchResponseEntry--;
|
| }
|
|
|
| -buildUnnamed537() {
|
| +buildUnnamed748() {
|
| var o = new core.List<api.AccountShipping>();
|
| o.add(buildAccountShipping());
|
| o.add(buildAccountShipping());
|
| return o;
|
| }
|
|
|
| -checkUnnamed537(core.List<api.AccountShipping> o) {
|
| +checkUnnamed748(core.List<api.AccountShipping> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountShipping(o[0]);
|
| checkAccountShipping(o[1]);
|
| @@ -1050,7 +1050,7 @@ buildAccountshippingListResponse() {
|
| if (buildCounterAccountshippingListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed537();
|
| + o.resources = buildUnnamed748();
|
| }
|
| buildCounterAccountshippingListResponse--;
|
| return o;
|
| @@ -1061,19 +1061,19 @@ checkAccountshippingListResponse(api.AccountshippingListResponse o) {
|
| if (buildCounterAccountshippingListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed537(o.resources);
|
| + checkUnnamed748(o.resources);
|
| }
|
| buildCounterAccountshippingListResponse--;
|
| }
|
|
|
| -buildUnnamed538() {
|
| +buildUnnamed749() {
|
| var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>();
|
| o.add(buildAccountstatusesCustomBatchRequestEntry());
|
| o.add(buildAccountstatusesCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed538(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
|
| +checkUnnamed749(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountstatusesCustomBatchRequestEntry(o[0]);
|
| checkAccountstatusesCustomBatchRequestEntry(o[1]);
|
| @@ -1084,7 +1084,7 @@ buildAccountstatusesCustomBatchRequest() {
|
| var o = new api.AccountstatusesCustomBatchRequest();
|
| buildCounterAccountstatusesCustomBatchRequest++;
|
| if (buildCounterAccountstatusesCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed538();
|
| + o.entries = buildUnnamed749();
|
| }
|
| buildCounterAccountstatusesCustomBatchRequest--;
|
| return o;
|
| @@ -1093,7 +1093,7 @@ buildAccountstatusesCustomBatchRequest() {
|
| checkAccountstatusesCustomBatchRequest(api.AccountstatusesCustomBatchRequest o) {
|
| buildCounterAccountstatusesCustomBatchRequest++;
|
| if (buildCounterAccountstatusesCustomBatchRequest < 3) {
|
| - checkUnnamed538(o.entries);
|
| + checkUnnamed749(o.entries);
|
| }
|
| buildCounterAccountstatusesCustomBatchRequest--;
|
| }
|
| @@ -1123,14 +1123,14 @@ checkAccountstatusesCustomBatchRequestEntry(api.AccountstatusesCustomBatchReques
|
| buildCounterAccountstatusesCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed539() {
|
| +buildUnnamed750() {
|
| var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>();
|
| o.add(buildAccountstatusesCustomBatchResponseEntry());
|
| o.add(buildAccountstatusesCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed539(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
|
| +checkUnnamed750(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountstatusesCustomBatchResponseEntry(o[0]);
|
| checkAccountstatusesCustomBatchResponseEntry(o[1]);
|
| @@ -1141,7 +1141,7 @@ buildAccountstatusesCustomBatchResponse() {
|
| var o = new api.AccountstatusesCustomBatchResponse();
|
| buildCounterAccountstatusesCustomBatchResponse++;
|
| if (buildCounterAccountstatusesCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed539();
|
| + o.entries = buildUnnamed750();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccountstatusesCustomBatchResponse--;
|
| @@ -1151,7 +1151,7 @@ buildAccountstatusesCustomBatchResponse() {
|
| checkAccountstatusesCustomBatchResponse(api.AccountstatusesCustomBatchResponse o) {
|
| buildCounterAccountstatusesCustomBatchResponse++;
|
| if (buildCounterAccountstatusesCustomBatchResponse < 3) {
|
| - checkUnnamed539(o.entries);
|
| + checkUnnamed750(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccountstatusesCustomBatchResponse--;
|
| @@ -1180,14 +1180,14 @@ checkAccountstatusesCustomBatchResponseEntry(api.AccountstatusesCustomBatchRespo
|
| buildCounterAccountstatusesCustomBatchResponseEntry--;
|
| }
|
|
|
| -buildUnnamed540() {
|
| +buildUnnamed751() {
|
| var o = new core.List<api.AccountStatus>();
|
| o.add(buildAccountStatus());
|
| o.add(buildAccountStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed540(core.List<api.AccountStatus> o) {
|
| +checkUnnamed751(core.List<api.AccountStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountStatus(o[0]);
|
| checkAccountStatus(o[1]);
|
| @@ -1200,7 +1200,7 @@ buildAccountstatusesListResponse() {
|
| if (buildCounterAccountstatusesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed540();
|
| + o.resources = buildUnnamed751();
|
| }
|
| buildCounterAccountstatusesListResponse--;
|
| return o;
|
| @@ -1211,19 +1211,19 @@ checkAccountstatusesListResponse(api.AccountstatusesListResponse o) {
|
| if (buildCounterAccountstatusesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed540(o.resources);
|
| + checkUnnamed751(o.resources);
|
| }
|
| buildCounterAccountstatusesListResponse--;
|
| }
|
|
|
| -buildUnnamed541() {
|
| +buildUnnamed752() {
|
| var o = new core.List<api.AccounttaxCustomBatchRequestEntry>();
|
| o.add(buildAccounttaxCustomBatchRequestEntry());
|
| o.add(buildAccounttaxCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed541(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
|
| +checkUnnamed752(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccounttaxCustomBatchRequestEntry(o[0]);
|
| checkAccounttaxCustomBatchRequestEntry(o[1]);
|
| @@ -1234,7 +1234,7 @@ buildAccounttaxCustomBatchRequest() {
|
| var o = new api.AccounttaxCustomBatchRequest();
|
| buildCounterAccounttaxCustomBatchRequest++;
|
| if (buildCounterAccounttaxCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed541();
|
| + o.entries = buildUnnamed752();
|
| }
|
| buildCounterAccounttaxCustomBatchRequest--;
|
| return o;
|
| @@ -1243,7 +1243,7 @@ buildAccounttaxCustomBatchRequest() {
|
| checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) {
|
| buildCounterAccounttaxCustomBatchRequest++;
|
| if (buildCounterAccounttaxCustomBatchRequest < 3) {
|
| - checkUnnamed541(o.entries);
|
| + checkUnnamed752(o.entries);
|
| }
|
| buildCounterAccounttaxCustomBatchRequest--;
|
| }
|
| @@ -1275,14 +1275,14 @@ checkAccounttaxCustomBatchRequestEntry(api.AccounttaxCustomBatchRequestEntry o)
|
| buildCounterAccounttaxCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed542() {
|
| +buildUnnamed753() {
|
| var o = new core.List<api.AccounttaxCustomBatchResponseEntry>();
|
| o.add(buildAccounttaxCustomBatchResponseEntry());
|
| o.add(buildAccounttaxCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed542(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
|
| +checkUnnamed753(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccounttaxCustomBatchResponseEntry(o[0]);
|
| checkAccounttaxCustomBatchResponseEntry(o[1]);
|
| @@ -1293,7 +1293,7 @@ buildAccounttaxCustomBatchResponse() {
|
| var o = new api.AccounttaxCustomBatchResponse();
|
| buildCounterAccounttaxCustomBatchResponse++;
|
| if (buildCounterAccounttaxCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed542();
|
| + o.entries = buildUnnamed753();
|
| o.kind = "foo";
|
| }
|
| buildCounterAccounttaxCustomBatchResponse--;
|
| @@ -1303,7 +1303,7 @@ buildAccounttaxCustomBatchResponse() {
|
| checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) {
|
| buildCounterAccounttaxCustomBatchResponse++;
|
| if (buildCounterAccounttaxCustomBatchResponse < 3) {
|
| - checkUnnamed542(o.entries);
|
| + checkUnnamed753(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAccounttaxCustomBatchResponse--;
|
| @@ -1334,14 +1334,14 @@ checkAccounttaxCustomBatchResponseEntry(api.AccounttaxCustomBatchResponseEntry o
|
| buildCounterAccounttaxCustomBatchResponseEntry--;
|
| }
|
|
|
| -buildUnnamed543() {
|
| +buildUnnamed754() {
|
| var o = new core.List<api.AccountTax>();
|
| o.add(buildAccountTax());
|
| o.add(buildAccountTax());
|
| return o;
|
| }
|
|
|
| -checkUnnamed543(core.List<api.AccountTax> o) {
|
| +checkUnnamed754(core.List<api.AccountTax> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccountTax(o[0]);
|
| checkAccountTax(o[1]);
|
| @@ -1354,7 +1354,7 @@ buildAccounttaxListResponse() {
|
| if (buildCounterAccounttaxListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed543();
|
| + o.resources = buildUnnamed754();
|
| }
|
| buildCounterAccounttaxListResponse--;
|
| return o;
|
| @@ -1365,19 +1365,19 @@ checkAccounttaxListResponse(api.AccounttaxListResponse o) {
|
| if (buildCounterAccounttaxListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed543(o.resources);
|
| + checkUnnamed754(o.resources);
|
| }
|
| buildCounterAccounttaxListResponse--;
|
| }
|
|
|
| -buildUnnamed544() {
|
| +buildUnnamed755() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed544(core.List<core.String> o) {
|
| +checkUnnamed755(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1395,7 +1395,7 @@ buildDatafeed() {
|
| o.fileName = "foo";
|
| o.format = buildDatafeedFormat();
|
| o.id = "foo";
|
| - o.intendedDestinations = buildUnnamed544();
|
| + o.intendedDestinations = buildUnnamed755();
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.targetCountry = "foo";
|
| @@ -1414,7 +1414,7 @@ checkDatafeed(api.Datafeed o) {
|
| unittest.expect(o.fileName, unittest.equals('foo'));
|
| checkDatafeedFormat(o.format);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed544(o.intendedDestinations);
|
| + checkUnnamed755(o.intendedDestinations);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.targetCountry, unittest.equals('foo'));
|
| @@ -1430,6 +1430,7 @@ buildDatafeedFetchSchedule() {
|
| o.dayOfMonth = 42;
|
| o.fetchUrl = "foo";
|
| o.hour = 42;
|
| + o.minuteOfHour = 42;
|
| o.password = "foo";
|
| o.timeZone = "foo";
|
| o.username = "foo";
|
| @@ -1445,6 +1446,7 @@ checkDatafeedFetchSchedule(api.DatafeedFetchSchedule o) {
|
| unittest.expect(o.dayOfMonth, unittest.equals(42));
|
| unittest.expect(o.fetchUrl, unittest.equals('foo'));
|
| unittest.expect(o.hour, unittest.equals(42));
|
| + unittest.expect(o.minuteOfHour, unittest.equals(42));
|
| unittest.expect(o.password, unittest.equals('foo'));
|
| unittest.expect(o.timeZone, unittest.equals('foo'));
|
| unittest.expect(o.username, unittest.equals('foo'));
|
| @@ -1476,27 +1478,27 @@ checkDatafeedFormat(api.DatafeedFormat o) {
|
| buildCounterDatafeedFormat--;
|
| }
|
|
|
| -buildUnnamed545() {
|
| +buildUnnamed756() {
|
| var o = new core.List<api.DatafeedStatusError>();
|
| o.add(buildDatafeedStatusError());
|
| o.add(buildDatafeedStatusError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed545(core.List<api.DatafeedStatusError> o) {
|
| +checkUnnamed756(core.List<api.DatafeedStatusError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeedStatusError(o[0]);
|
| checkDatafeedStatusError(o[1]);
|
| }
|
|
|
| -buildUnnamed546() {
|
| +buildUnnamed757() {
|
| var o = new core.List<api.DatafeedStatusError>();
|
| o.add(buildDatafeedStatusError());
|
| o.add(buildDatafeedStatusError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed546(core.List<api.DatafeedStatusError> o) {
|
| +checkUnnamed757(core.List<api.DatafeedStatusError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeedStatusError(o[0]);
|
| checkDatafeedStatusError(o[1]);
|
| @@ -1508,13 +1510,13 @@ buildDatafeedStatus() {
|
| buildCounterDatafeedStatus++;
|
| if (buildCounterDatafeedStatus < 3) {
|
| o.datafeedId = "foo";
|
| - o.errors = buildUnnamed545();
|
| + o.errors = buildUnnamed756();
|
| o.itemsTotal = "foo";
|
| o.itemsValid = "foo";
|
| o.kind = "foo";
|
| o.lastUploadDate = "foo";
|
| o.processingStatus = "foo";
|
| - o.warnings = buildUnnamed546();
|
| + o.warnings = buildUnnamed757();
|
| }
|
| buildCounterDatafeedStatus--;
|
| return o;
|
| @@ -1524,25 +1526,25 @@ checkDatafeedStatus(api.DatafeedStatus o) {
|
| buildCounterDatafeedStatus++;
|
| if (buildCounterDatafeedStatus < 3) {
|
| unittest.expect(o.datafeedId, unittest.equals('foo'));
|
| - checkUnnamed545(o.errors);
|
| + checkUnnamed756(o.errors);
|
| unittest.expect(o.itemsTotal, unittest.equals('foo'));
|
| unittest.expect(o.itemsValid, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.lastUploadDate, unittest.equals('foo'));
|
| unittest.expect(o.processingStatus, unittest.equals('foo'));
|
| - checkUnnamed546(o.warnings);
|
| + checkUnnamed757(o.warnings);
|
| }
|
| buildCounterDatafeedStatus--;
|
| }
|
|
|
| -buildUnnamed547() {
|
| +buildUnnamed758() {
|
| var o = new core.List<api.DatafeedStatusExample>();
|
| o.add(buildDatafeedStatusExample());
|
| o.add(buildDatafeedStatusExample());
|
| return o;
|
| }
|
|
|
| -checkUnnamed547(core.List<api.DatafeedStatusExample> o) {
|
| +checkUnnamed758(core.List<api.DatafeedStatusExample> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeedStatusExample(o[0]);
|
| checkDatafeedStatusExample(o[1]);
|
| @@ -1555,7 +1557,7 @@ buildDatafeedStatusError() {
|
| if (buildCounterDatafeedStatusError < 3) {
|
| o.code = "foo";
|
| o.count = "foo";
|
| - o.examples = buildUnnamed547();
|
| + o.examples = buildUnnamed758();
|
| o.message = "foo";
|
| }
|
| buildCounterDatafeedStatusError--;
|
| @@ -1567,7 +1569,7 @@ checkDatafeedStatusError(api.DatafeedStatusError o) {
|
| if (buildCounterDatafeedStatusError < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| unittest.expect(o.count, unittest.equals('foo'));
|
| - checkUnnamed547(o.examples);
|
| + checkUnnamed758(o.examples);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterDatafeedStatusError--;
|
| @@ -1596,14 +1598,14 @@ checkDatafeedStatusExample(api.DatafeedStatusExample o) {
|
| buildCounterDatafeedStatusExample--;
|
| }
|
|
|
| -buildUnnamed548() {
|
| +buildUnnamed759() {
|
| var o = new core.List<api.DatafeedsCustomBatchRequestEntry>();
|
| o.add(buildDatafeedsCustomBatchRequestEntry());
|
| o.add(buildDatafeedsCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed548(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
|
| +checkUnnamed759(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeedsCustomBatchRequestEntry(o[0]);
|
| checkDatafeedsCustomBatchRequestEntry(o[1]);
|
| @@ -1614,7 +1616,7 @@ buildDatafeedsCustomBatchRequest() {
|
| var o = new api.DatafeedsCustomBatchRequest();
|
| buildCounterDatafeedsCustomBatchRequest++;
|
| if (buildCounterDatafeedsCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed548();
|
| + o.entries = buildUnnamed759();
|
| }
|
| buildCounterDatafeedsCustomBatchRequest--;
|
| return o;
|
| @@ -1623,7 +1625,7 @@ buildDatafeedsCustomBatchRequest() {
|
| checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) {
|
| buildCounterDatafeedsCustomBatchRequest++;
|
| if (buildCounterDatafeedsCustomBatchRequest < 3) {
|
| - checkUnnamed548(o.entries);
|
| + checkUnnamed759(o.entries);
|
| }
|
| buildCounterDatafeedsCustomBatchRequest--;
|
| }
|
| @@ -1655,14 +1657,14 @@ checkDatafeedsCustomBatchRequestEntry(api.DatafeedsCustomBatchRequestEntry o) {
|
| buildCounterDatafeedsCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed549() {
|
| +buildUnnamed760() {
|
| var o = new core.List<api.DatafeedsCustomBatchResponseEntry>();
|
| o.add(buildDatafeedsCustomBatchResponseEntry());
|
| o.add(buildDatafeedsCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed549(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
|
| +checkUnnamed760(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeedsCustomBatchResponseEntry(o[0]);
|
| checkDatafeedsCustomBatchResponseEntry(o[1]);
|
| @@ -1673,7 +1675,7 @@ buildDatafeedsCustomBatchResponse() {
|
| var o = new api.DatafeedsCustomBatchResponse();
|
| buildCounterDatafeedsCustomBatchResponse++;
|
| if (buildCounterDatafeedsCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed549();
|
| + o.entries = buildUnnamed760();
|
| o.kind = "foo";
|
| }
|
| buildCounterDatafeedsCustomBatchResponse--;
|
| @@ -1683,7 +1685,7 @@ buildDatafeedsCustomBatchResponse() {
|
| checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) {
|
| buildCounterDatafeedsCustomBatchResponse++;
|
| if (buildCounterDatafeedsCustomBatchResponse < 3) {
|
| - checkUnnamed549(o.entries);
|
| + checkUnnamed760(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDatafeedsCustomBatchResponse--;
|
| @@ -1712,14 +1714,14 @@ checkDatafeedsCustomBatchResponseEntry(api.DatafeedsCustomBatchResponseEntry o)
|
| buildCounterDatafeedsCustomBatchResponseEntry--;
|
| }
|
|
|
| -buildUnnamed550() {
|
| +buildUnnamed761() {
|
| var o = new core.List<api.Datafeed>();
|
| o.add(buildDatafeed());
|
| o.add(buildDatafeed());
|
| return o;
|
| }
|
|
|
| -checkUnnamed550(core.List<api.Datafeed> o) {
|
| +checkUnnamed761(core.List<api.Datafeed> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeed(o[0]);
|
| checkDatafeed(o[1]);
|
| @@ -1732,7 +1734,7 @@ buildDatafeedsListResponse() {
|
| if (buildCounterDatafeedsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed550();
|
| + o.resources = buildUnnamed761();
|
| }
|
| buildCounterDatafeedsListResponse--;
|
| return o;
|
| @@ -1743,19 +1745,19 @@ checkDatafeedsListResponse(api.DatafeedsListResponse o) {
|
| if (buildCounterDatafeedsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed550(o.resources);
|
| + checkUnnamed761(o.resources);
|
| }
|
| buildCounterDatafeedsListResponse--;
|
| }
|
|
|
| -buildUnnamed551() {
|
| +buildUnnamed762() {
|
| var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
|
| o.add(buildDatafeedstatusesCustomBatchRequestEntry());
|
| o.add(buildDatafeedstatusesCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed551(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
|
| +checkUnnamed762(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeedstatusesCustomBatchRequestEntry(o[0]);
|
| checkDatafeedstatusesCustomBatchRequestEntry(o[1]);
|
| @@ -1766,7 +1768,7 @@ buildDatafeedstatusesCustomBatchRequest() {
|
| var o = new api.DatafeedstatusesCustomBatchRequest();
|
| buildCounterDatafeedstatusesCustomBatchRequest++;
|
| if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed551();
|
| + o.entries = buildUnnamed762();
|
| }
|
| buildCounterDatafeedstatusesCustomBatchRequest--;
|
| return o;
|
| @@ -1775,7 +1777,7 @@ buildDatafeedstatusesCustomBatchRequest() {
|
| checkDatafeedstatusesCustomBatchRequest(api.DatafeedstatusesCustomBatchRequest o) {
|
| buildCounterDatafeedstatusesCustomBatchRequest++;
|
| if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
|
| - checkUnnamed551(o.entries);
|
| + checkUnnamed762(o.entries);
|
| }
|
| buildCounterDatafeedstatusesCustomBatchRequest--;
|
| }
|
| @@ -1805,14 +1807,14 @@ checkDatafeedstatusesCustomBatchRequestEntry(api.DatafeedstatusesCustomBatchRequ
|
| buildCounterDatafeedstatusesCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed552() {
|
| +buildUnnamed763() {
|
| var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
|
| o.add(buildDatafeedstatusesCustomBatchResponseEntry());
|
| o.add(buildDatafeedstatusesCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed552(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
|
| +checkUnnamed763(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeedstatusesCustomBatchResponseEntry(o[0]);
|
| checkDatafeedstatusesCustomBatchResponseEntry(o[1]);
|
| @@ -1823,7 +1825,7 @@ buildDatafeedstatusesCustomBatchResponse() {
|
| var o = new api.DatafeedstatusesCustomBatchResponse();
|
| buildCounterDatafeedstatusesCustomBatchResponse++;
|
| if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed552();
|
| + o.entries = buildUnnamed763();
|
| o.kind = "foo";
|
| }
|
| buildCounterDatafeedstatusesCustomBatchResponse--;
|
| @@ -1833,7 +1835,7 @@ buildDatafeedstatusesCustomBatchResponse() {
|
| checkDatafeedstatusesCustomBatchResponse(api.DatafeedstatusesCustomBatchResponse o) {
|
| buildCounterDatafeedstatusesCustomBatchResponse++;
|
| if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
|
| - checkUnnamed552(o.entries);
|
| + checkUnnamed763(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDatafeedstatusesCustomBatchResponse--;
|
| @@ -1862,14 +1864,14 @@ checkDatafeedstatusesCustomBatchResponseEntry(api.DatafeedstatusesCustomBatchRes
|
| buildCounterDatafeedstatusesCustomBatchResponseEntry--;
|
| }
|
|
|
| -buildUnnamed553() {
|
| +buildUnnamed764() {
|
| var o = new core.List<api.DatafeedStatus>();
|
| o.add(buildDatafeedStatus());
|
| o.add(buildDatafeedStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed553(core.List<api.DatafeedStatus> o) {
|
| +checkUnnamed764(core.List<api.DatafeedStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatafeedStatus(o[0]);
|
| checkDatafeedStatus(o[1]);
|
| @@ -1882,7 +1884,7 @@ buildDatafeedstatusesListResponse() {
|
| if (buildCounterDatafeedstatusesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed553();
|
| + o.resources = buildUnnamed764();
|
| }
|
| buildCounterDatafeedstatusesListResponse--;
|
| return o;
|
| @@ -1893,7 +1895,7 @@ checkDatafeedstatusesListResponse(api.DatafeedstatusesListResponse o) {
|
| if (buildCounterDatafeedstatusesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed553(o.resources);
|
| + checkUnnamed764(o.resources);
|
| }
|
| buildCounterDatafeedstatusesListResponse--;
|
| }
|
| @@ -1921,14 +1923,14 @@ checkError(api.Error o) {
|
| buildCounterError--;
|
| }
|
|
|
| -buildUnnamed554() {
|
| +buildUnnamed765() {
|
| var o = new core.List<api.Error>();
|
| o.add(buildError());
|
| o.add(buildError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed554(core.List<api.Error> o) {
|
| +checkUnnamed765(core.List<api.Error> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkError(o[0]);
|
| checkError(o[1]);
|
| @@ -1940,7 +1942,7 @@ buildErrors() {
|
| buildCounterErrors++;
|
| if (buildCounterErrors < 3) {
|
| o.code = 42;
|
| - o.errors = buildUnnamed554();
|
| + o.errors = buildUnnamed765();
|
| o.message = "foo";
|
| }
|
| buildCounterErrors--;
|
| @@ -1951,7 +1953,7 @@ checkErrors(api.Errors o) {
|
| buildCounterErrors++;
|
| if (buildCounterErrors < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed554(o.errors);
|
| + checkUnnamed765(o.errors);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterErrors--;
|
| @@ -2013,14 +2015,14 @@ checkInventory(api.Inventory o) {
|
| buildCounterInventory--;
|
| }
|
|
|
| -buildUnnamed555() {
|
| +buildUnnamed766() {
|
| var o = new core.List<api.InventoryCustomBatchRequestEntry>();
|
| o.add(buildInventoryCustomBatchRequestEntry());
|
| o.add(buildInventoryCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed555(core.List<api.InventoryCustomBatchRequestEntry> o) {
|
| +checkUnnamed766(core.List<api.InventoryCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInventoryCustomBatchRequestEntry(o[0]);
|
| checkInventoryCustomBatchRequestEntry(o[1]);
|
| @@ -2031,7 +2033,7 @@ buildInventoryCustomBatchRequest() {
|
| var o = new api.InventoryCustomBatchRequest();
|
| buildCounterInventoryCustomBatchRequest++;
|
| if (buildCounterInventoryCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed555();
|
| + o.entries = buildUnnamed766();
|
| }
|
| buildCounterInventoryCustomBatchRequest--;
|
| return o;
|
| @@ -2040,7 +2042,7 @@ buildInventoryCustomBatchRequest() {
|
| checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) {
|
| buildCounterInventoryCustomBatchRequest++;
|
| if (buildCounterInventoryCustomBatchRequest < 3) {
|
| - checkUnnamed555(o.entries);
|
| + checkUnnamed766(o.entries);
|
| }
|
| buildCounterInventoryCustomBatchRequest--;
|
| }
|
| @@ -2072,14 +2074,14 @@ checkInventoryCustomBatchRequestEntry(api.InventoryCustomBatchRequestEntry o) {
|
| buildCounterInventoryCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed556() {
|
| +buildUnnamed767() {
|
| var o = new core.List<api.InventoryCustomBatchResponseEntry>();
|
| o.add(buildInventoryCustomBatchResponseEntry());
|
| o.add(buildInventoryCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed556(core.List<api.InventoryCustomBatchResponseEntry> o) {
|
| +checkUnnamed767(core.List<api.InventoryCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInventoryCustomBatchResponseEntry(o[0]);
|
| checkInventoryCustomBatchResponseEntry(o[1]);
|
| @@ -2090,7 +2092,7 @@ buildInventoryCustomBatchResponse() {
|
| var o = new api.InventoryCustomBatchResponse();
|
| buildCounterInventoryCustomBatchResponse++;
|
| if (buildCounterInventoryCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed556();
|
| + o.entries = buildUnnamed767();
|
| o.kind = "foo";
|
| }
|
| buildCounterInventoryCustomBatchResponse--;
|
| @@ -2100,7 +2102,7 @@ buildInventoryCustomBatchResponse() {
|
| checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) {
|
| buildCounterInventoryCustomBatchResponse++;
|
| if (buildCounterInventoryCustomBatchResponse < 3) {
|
| - checkUnnamed556(o.entries);
|
| + checkUnnamed767(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterInventoryCustomBatchResponse--;
|
| @@ -2204,40 +2206,53 @@ checkLoyaltyPoints(api.LoyaltyPoints o) {
|
| buildCounterLoyaltyPoints--;
|
| }
|
|
|
| -buildUnnamed557() {
|
| +buildUnnamed768() {
|
| var o = new core.List<api.OrderLineItem>();
|
| o.add(buildOrderLineItem());
|
| o.add(buildOrderLineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed557(core.List<api.OrderLineItem> o) {
|
| +checkUnnamed768(core.List<api.OrderLineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItem(o[0]);
|
| checkOrderLineItem(o[1]);
|
| }
|
|
|
| -buildUnnamed558() {
|
| +buildUnnamed769() {
|
| + var o = new core.List<api.OrderPromotion>();
|
| + o.add(buildOrderPromotion());
|
| + o.add(buildOrderPromotion());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed769(core.List<api.OrderPromotion> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkOrderPromotion(o[0]);
|
| + checkOrderPromotion(o[1]);
|
| +}
|
| +
|
| +buildUnnamed770() {
|
| var o = new core.List<api.OrderRefund>();
|
| o.add(buildOrderRefund());
|
| o.add(buildOrderRefund());
|
| return o;
|
| }
|
|
|
| -checkUnnamed558(core.List<api.OrderRefund> o) {
|
| +checkUnnamed770(core.List<api.OrderRefund> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderRefund(o[0]);
|
| checkOrderRefund(o[1]);
|
| }
|
|
|
| -buildUnnamed559() {
|
| +buildUnnamed771() {
|
| var o = new core.List<api.OrderShipment>();
|
| o.add(buildOrderShipment());
|
| o.add(buildOrderShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed559(core.List<api.OrderShipment> o) {
|
| +checkUnnamed771(core.List<api.OrderShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipment(o[0]);
|
| checkOrderShipment(o[1]);
|
| @@ -2253,15 +2268,16 @@ buildOrder() {
|
| o.deliveryDetails = buildOrderDeliveryDetails();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.lineItems = buildUnnamed557();
|
| + o.lineItems = buildUnnamed768();
|
| o.merchantId = "foo";
|
| o.merchantOrderId = "foo";
|
| o.netAmount = buildPrice();
|
| o.paymentMethod = buildOrderPaymentMethod();
|
| o.paymentStatus = "foo";
|
| o.placedDate = "foo";
|
| - o.refunds = buildUnnamed558();
|
| - o.shipments = buildUnnamed559();
|
| + o.promotions = buildUnnamed769();
|
| + o.refunds = buildUnnamed770();
|
| + o.shipments = buildUnnamed771();
|
| o.shippingCost = buildPrice();
|
| o.shippingCostTax = buildPrice();
|
| o.shippingOption = "foo";
|
| @@ -2279,15 +2295,16 @@ checkOrder(api.Order o) {
|
| checkOrderDeliveryDetails(o.deliveryDetails);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed557(o.lineItems);
|
| + checkUnnamed768(o.lineItems);
|
| unittest.expect(o.merchantId, unittest.equals('foo'));
|
| unittest.expect(o.merchantOrderId, unittest.equals('foo'));
|
| checkPrice(o.netAmount);
|
| checkOrderPaymentMethod(o.paymentMethod);
|
| unittest.expect(o.paymentStatus, unittest.equals('foo'));
|
| unittest.expect(o.placedDate, unittest.equals('foo'));
|
| - checkUnnamed558(o.refunds);
|
| - checkUnnamed559(o.shipments);
|
| + checkUnnamed769(o.promotions);
|
| + checkUnnamed770(o.refunds);
|
| + checkUnnamed771(o.shipments);
|
| checkPrice(o.shippingCost);
|
| checkPrice(o.shippingCostTax);
|
| unittest.expect(o.shippingOption, unittest.equals('foo'));
|
| @@ -2296,27 +2313,27 @@ checkOrder(api.Order o) {
|
| buildCounterOrder--;
|
| }
|
|
|
| -buildUnnamed560() {
|
| +buildUnnamed772() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed560(core.List<core.String> o) {
|
| +checkUnnamed772(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed561() {
|
| +buildUnnamed773() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed561(core.List<core.String> o) {
|
| +checkUnnamed773(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -2328,13 +2345,13 @@ buildOrderAddress() {
|
| buildCounterOrderAddress++;
|
| if (buildCounterOrderAddress < 3) {
|
| o.country = "foo";
|
| - o.fullAddress = buildUnnamed560();
|
| + o.fullAddress = buildUnnamed772();
|
| o.isPostOfficeBox = true;
|
| o.locality = "foo";
|
| o.postalCode = "foo";
|
| o.recipientName = "foo";
|
| o.region = "foo";
|
| - o.streetAddress = buildUnnamed561();
|
| + o.streetAddress = buildUnnamed773();
|
| }
|
| buildCounterOrderAddress--;
|
| return o;
|
| @@ -2344,13 +2361,13 @@ checkOrderAddress(api.OrderAddress o) {
|
| buildCounterOrderAddress++;
|
| if (buildCounterOrderAddress < 3) {
|
| unittest.expect(o.country, unittest.equals('foo'));
|
| - checkUnnamed560(o.fullAddress);
|
| + checkUnnamed772(o.fullAddress);
|
| unittest.expect(o.isPostOfficeBox, unittest.isTrue);
|
| unittest.expect(o.locality, unittest.equals('foo'));
|
| unittest.expect(o.postalCode, unittest.equals('foo'));
|
| unittest.expect(o.recipientName, unittest.equals('foo'));
|
| unittest.expect(o.region, unittest.equals('foo'));
|
| - checkUnnamed561(o.streetAddress);
|
| + checkUnnamed773(o.streetAddress);
|
| }
|
| buildCounterOrderAddress--;
|
| }
|
| @@ -2426,27 +2443,27 @@ checkOrderDeliveryDetails(api.OrderDeliveryDetails o) {
|
| buildCounterOrderDeliveryDetails--;
|
| }
|
|
|
| -buildUnnamed562() {
|
| +buildUnnamed774() {
|
| var o = new core.List<api.OrderCancellation>();
|
| o.add(buildOrderCancellation());
|
| o.add(buildOrderCancellation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed562(core.List<api.OrderCancellation> o) {
|
| +checkUnnamed774(core.List<api.OrderCancellation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderCancellation(o[0]);
|
| checkOrderCancellation(o[1]);
|
| }
|
|
|
| -buildUnnamed563() {
|
| +buildUnnamed775() {
|
| var o = new core.List<api.OrderReturn>();
|
| o.add(buildOrderReturn());
|
| o.add(buildOrderReturn());
|
| return o;
|
| }
|
|
|
| -checkUnnamed563(core.List<api.OrderReturn> o) {
|
| +checkUnnamed775(core.List<api.OrderReturn> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderReturn(o[0]);
|
| checkOrderReturn(o[1]);
|
| @@ -2457,7 +2474,7 @@ buildOrderLineItem() {
|
| var o = new api.OrderLineItem();
|
| buildCounterOrderLineItem++;
|
| if (buildCounterOrderLineItem < 3) {
|
| - o.cancellations = buildUnnamed562();
|
| + o.cancellations = buildUnnamed774();
|
| o.id = "foo";
|
| o.price = buildPrice();
|
| o.product = buildOrderLineItemProduct();
|
| @@ -2468,7 +2485,7 @@ buildOrderLineItem() {
|
| o.quantityReturned = 42;
|
| o.quantityShipped = 42;
|
| o.returnInfo = buildOrderLineItemReturnInfo();
|
| - o.returns = buildUnnamed563();
|
| + o.returns = buildUnnamed775();
|
| o.shippingDetails = buildOrderLineItemShippingDetails();
|
| o.tax = buildPrice();
|
| }
|
| @@ -2479,7 +2496,7 @@ buildOrderLineItem() {
|
| checkOrderLineItem(api.OrderLineItem o) {
|
| buildCounterOrderLineItem++;
|
| if (buildCounterOrderLineItem < 3) {
|
| - checkUnnamed562(o.cancellations);
|
| + checkUnnamed774(o.cancellations);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkPrice(o.price);
|
| checkOrderLineItemProduct(o.product);
|
| @@ -2490,21 +2507,21 @@ checkOrderLineItem(api.OrderLineItem o) {
|
| unittest.expect(o.quantityReturned, unittest.equals(42));
|
| unittest.expect(o.quantityShipped, unittest.equals(42));
|
| checkOrderLineItemReturnInfo(o.returnInfo);
|
| - checkUnnamed563(o.returns);
|
| + checkUnnamed775(o.returns);
|
| checkOrderLineItemShippingDetails(o.shippingDetails);
|
| checkPrice(o.tax);
|
| }
|
| buildCounterOrderLineItem--;
|
| }
|
|
|
| -buildUnnamed564() {
|
| +buildUnnamed776() {
|
| var o = new core.List<api.OrderLineItemProductVariantAttribute>();
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed564(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| +checkUnnamed776(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItemProductVariantAttribute(o[0]);
|
| checkOrderLineItemProductVariantAttribute(o[1]);
|
| @@ -2529,7 +2546,7 @@ buildOrderLineItemProduct() {
|
| o.shownImage = "foo";
|
| o.targetCountry = "foo";
|
| o.title = "foo";
|
| - o.variantAttributes = buildUnnamed564();
|
| + o.variantAttributes = buildUnnamed776();
|
| }
|
| buildCounterOrderLineItemProduct--;
|
| return o;
|
| @@ -2552,7 +2569,7 @@ checkOrderLineItemProduct(api.OrderLineItemProduct o) {
|
| unittest.expect(o.shownImage, unittest.equals('foo'));
|
| unittest.expect(o.targetCountry, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed564(o.variantAttributes);
|
| + checkUnnamed776(o.variantAttributes);
|
| }
|
| buildCounterOrderLineItemProduct--;
|
| }
|
| @@ -2678,6 +2695,90 @@ checkOrderPaymentMethod(api.OrderPaymentMethod o) {
|
| buildCounterOrderPaymentMethod--;
|
| }
|
|
|
| +buildUnnamed777() {
|
| + var o = new core.List<api.OrderPromotionBenefit>();
|
| + o.add(buildOrderPromotionBenefit());
|
| + o.add(buildOrderPromotionBenefit());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed777(core.List<api.OrderPromotionBenefit> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkOrderPromotionBenefit(o[0]);
|
| + checkOrderPromotionBenefit(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterOrderPromotion = 0;
|
| +buildOrderPromotion() {
|
| + var o = new api.OrderPromotion();
|
| + buildCounterOrderPromotion++;
|
| + if (buildCounterOrderPromotion < 3) {
|
| + o.benefits = buildUnnamed777();
|
| + o.effectiveDates = "foo";
|
| + o.genericRedemptionCode = "foo";
|
| + o.id = "foo";
|
| + o.longTitle = "foo";
|
| + o.productApplicability = "foo";
|
| + o.redemptionChannel = "foo";
|
| + }
|
| + buildCounterOrderPromotion--;
|
| + return o;
|
| +}
|
| +
|
| +checkOrderPromotion(api.OrderPromotion o) {
|
| + buildCounterOrderPromotion++;
|
| + if (buildCounterOrderPromotion < 3) {
|
| + checkUnnamed777(o.benefits);
|
| + unittest.expect(o.effectiveDates, unittest.equals('foo'));
|
| + unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + unittest.expect(o.longTitle, unittest.equals('foo'));
|
| + unittest.expect(o.productApplicability, unittest.equals('foo'));
|
| + unittest.expect(o.redemptionChannel, unittest.equals('foo'));
|
| + }
|
| + buildCounterOrderPromotion--;
|
| +}
|
| +
|
| +buildUnnamed778() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed778(core.List<core.String> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + unittest.expect(o[0], unittest.equals('foo'));
|
| + unittest.expect(o[1], unittest.equals('foo'));
|
| +}
|
| +
|
| +core.int buildCounterOrderPromotionBenefit = 0;
|
| +buildOrderPromotionBenefit() {
|
| + var o = new api.OrderPromotionBenefit();
|
| + buildCounterOrderPromotionBenefit++;
|
| + if (buildCounterOrderPromotionBenefit < 3) {
|
| + o.discount = buildPrice();
|
| + o.offerIds = buildUnnamed778();
|
| + o.subType = "foo";
|
| + o.taxImpact = buildPrice();
|
| + o.type = "foo";
|
| + }
|
| + buildCounterOrderPromotionBenefit--;
|
| + return o;
|
| +}
|
| +
|
| +checkOrderPromotionBenefit(api.OrderPromotionBenefit o) {
|
| + buildCounterOrderPromotionBenefit++;
|
| + if (buildCounterOrderPromotionBenefit < 3) {
|
| + checkPrice(o.discount);
|
| + checkUnnamed778(o.offerIds);
|
| + unittest.expect(o.subType, unittest.equals('foo'));
|
| + checkPrice(o.taxImpact);
|
| + unittest.expect(o.type, unittest.equals('foo'));
|
| + }
|
| + buildCounterOrderPromotionBenefit--;
|
| +}
|
| +
|
| core.int buildCounterOrderRefund = 0;
|
| buildOrderRefund() {
|
| var o = new api.OrderRefund();
|
| @@ -2732,14 +2833,14 @@ checkOrderReturn(api.OrderReturn o) {
|
| buildCounterOrderReturn--;
|
| }
|
|
|
| -buildUnnamed565() {
|
| +buildUnnamed779() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed565(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed779(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -2754,7 +2855,7 @@ buildOrderShipment() {
|
| o.creationDate = "foo";
|
| o.deliveryDate = "foo";
|
| o.id = "foo";
|
| - o.lineItems = buildUnnamed565();
|
| + o.lineItems = buildUnnamed779();
|
| o.status = "foo";
|
| o.trackingId = "foo";
|
| }
|
| @@ -2769,7 +2870,7 @@ checkOrderShipment(api.OrderShipment o) {
|
| unittest.expect(o.creationDate, unittest.equals('foo'));
|
| unittest.expect(o.deliveryDate, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed565(o.lineItems);
|
| + checkUnnamed779(o.lineItems);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| }
|
| @@ -2992,14 +3093,14 @@ checkOrdersCreateTestOrderResponse(api.OrdersCreateTestOrderResponse o) {
|
| buildCounterOrdersCreateTestOrderResponse--;
|
| }
|
|
|
| -buildUnnamed566() {
|
| +buildUnnamed780() {
|
| var o = new core.List<api.OrdersCustomBatchRequestEntry>();
|
| o.add(buildOrdersCustomBatchRequestEntry());
|
| o.add(buildOrdersCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed566(core.List<api.OrdersCustomBatchRequestEntry> o) {
|
| +checkUnnamed780(core.List<api.OrdersCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrdersCustomBatchRequestEntry(o[0]);
|
| checkOrdersCustomBatchRequestEntry(o[1]);
|
| @@ -3010,7 +3111,7 @@ buildOrdersCustomBatchRequest() {
|
| var o = new api.OrdersCustomBatchRequest();
|
| buildCounterOrdersCustomBatchRequest++;
|
| if (buildCounterOrdersCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed566();
|
| + o.entries = buildUnnamed780();
|
| }
|
| buildCounterOrdersCustomBatchRequest--;
|
| return o;
|
| @@ -3019,7 +3120,7 @@ buildOrdersCustomBatchRequest() {
|
| checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
|
| buildCounterOrdersCustomBatchRequest++;
|
| if (buildCounterOrdersCustomBatchRequest < 3) {
|
| - checkUnnamed566(o.entries);
|
| + checkUnnamed780(o.entries);
|
| }
|
| buildCounterOrdersCustomBatchRequest--;
|
| }
|
| @@ -3161,14 +3262,14 @@ checkOrdersCustomBatchRequestEntryReturnLineItem(api.OrdersCustomBatchRequestEnt
|
| buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
|
| }
|
|
|
| -buildUnnamed567() {
|
| +buildUnnamed781() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed567(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed781(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -3180,7 +3281,7 @@ buildOrdersCustomBatchRequestEntryShipLineItems() {
|
| buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
|
| if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
|
| o.carrier = "foo";
|
| - o.lineItems = buildUnnamed567();
|
| + o.lineItems = buildUnnamed781();
|
| o.shipmentId = "foo";
|
| o.trackingId = "foo";
|
| }
|
| @@ -3192,7 +3293,7 @@ checkOrdersCustomBatchRequestEntryShipLineItems(api.OrdersCustomBatchRequestEntr
|
| buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
|
| if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
|
| unittest.expect(o.carrier, unittest.equals('foo'));
|
| - checkUnnamed567(o.lineItems);
|
| + checkUnnamed781(o.lineItems);
|
| unittest.expect(o.shipmentId, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| }
|
| @@ -3224,14 +3325,14 @@ checkOrdersCustomBatchRequestEntryUpdateShipment(api.OrdersCustomBatchRequestEnt
|
| buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
|
| }
|
|
|
| -buildUnnamed568() {
|
| +buildUnnamed782() {
|
| var o = new core.List<api.OrdersCustomBatchResponseEntry>();
|
| o.add(buildOrdersCustomBatchResponseEntry());
|
| o.add(buildOrdersCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed568(core.List<api.OrdersCustomBatchResponseEntry> o) {
|
| +checkUnnamed782(core.List<api.OrdersCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrdersCustomBatchResponseEntry(o[0]);
|
| checkOrdersCustomBatchResponseEntry(o[1]);
|
| @@ -3242,7 +3343,7 @@ buildOrdersCustomBatchResponse() {
|
| var o = new api.OrdersCustomBatchResponse();
|
| buildCounterOrdersCustomBatchResponse++;
|
| if (buildCounterOrdersCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed568();
|
| + o.entries = buildUnnamed782();
|
| o.kind = "foo";
|
| }
|
| buildCounterOrdersCustomBatchResponse--;
|
| @@ -3252,7 +3353,7 @@ buildOrdersCustomBatchResponse() {
|
| checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
|
| buildCounterOrdersCustomBatchResponse++;
|
| if (buildCounterOrdersCustomBatchResponse < 3) {
|
| - checkUnnamed568(o.entries);
|
| + checkUnnamed782(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterOrdersCustomBatchResponse--;
|
| @@ -3327,14 +3428,14 @@ checkOrdersGetTestOrderTemplateResponse(api.OrdersGetTestOrderTemplateResponse o
|
| buildCounterOrdersGetTestOrderTemplateResponse--;
|
| }
|
|
|
| -buildUnnamed569() {
|
| +buildUnnamed783() {
|
| var o = new core.List<api.Order>();
|
| o.add(buildOrder());
|
| o.add(buildOrder());
|
| return o;
|
| }
|
|
|
| -checkUnnamed569(core.List<api.Order> o) {
|
| +checkUnnamed783(core.List<api.Order> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrder(o[0]);
|
| checkOrder(o[1]);
|
| @@ -3347,7 +3448,7 @@ buildOrdersListResponse() {
|
| if (buildCounterOrdersListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed569();
|
| + o.resources = buildUnnamed783();
|
| }
|
| buildCounterOrdersListResponse--;
|
| return o;
|
| @@ -3358,7 +3459,7 @@ checkOrdersListResponse(api.OrdersListResponse o) {
|
| if (buildCounterOrdersListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed569(o.resources);
|
| + checkUnnamed783(o.resources);
|
| }
|
| buildCounterOrdersListResponse--;
|
| }
|
| @@ -3457,14 +3558,14 @@ checkOrdersReturnLineItemResponse(api.OrdersReturnLineItemResponse o) {
|
| buildCounterOrdersReturnLineItemResponse--;
|
| }
|
|
|
| -buildUnnamed570() {
|
| +buildUnnamed784() {
|
| var o = new core.List<api.OrderShipmentLineItemShipment>();
|
| o.add(buildOrderShipmentLineItemShipment());
|
| o.add(buildOrderShipmentLineItemShipment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed570(core.List<api.OrderShipmentLineItemShipment> o) {
|
| +checkUnnamed784(core.List<api.OrderShipmentLineItemShipment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderShipmentLineItemShipment(o[0]);
|
| checkOrderShipmentLineItemShipment(o[1]);
|
| @@ -3476,7 +3577,7 @@ buildOrdersShipLineItemsRequest() {
|
| buildCounterOrdersShipLineItemsRequest++;
|
| if (buildCounterOrdersShipLineItemsRequest < 3) {
|
| o.carrier = "foo";
|
| - o.lineItems = buildUnnamed570();
|
| + o.lineItems = buildUnnamed784();
|
| o.operationId = "foo";
|
| o.shipmentId = "foo";
|
| o.trackingId = "foo";
|
| @@ -3489,7 +3590,7 @@ checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) {
|
| buildCounterOrdersShipLineItemsRequest++;
|
| if (buildCounterOrdersShipLineItemsRequest < 3) {
|
| unittest.expect(o.carrier, unittest.equals('foo'));
|
| - checkUnnamed570(o.lineItems);
|
| + checkUnnamed784(o.lineItems);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| unittest.expect(o.shipmentId, unittest.equals('foo'));
|
| unittest.expect(o.trackingId, unittest.equals('foo'));
|
| @@ -3629,157 +3730,170 @@ checkPrice(api.Price o) {
|
| buildCounterPrice--;
|
| }
|
|
|
| -buildUnnamed571() {
|
| +buildUnnamed785() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed571(core.List<core.String> o) {
|
| +checkUnnamed785(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed572() {
|
| +buildUnnamed786() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed572(core.List<core.String> o) {
|
| +checkUnnamed786(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed573() {
|
| +buildUnnamed787() {
|
| var o = new core.List<api.ProductAspect>();
|
| o.add(buildProductAspect());
|
| o.add(buildProductAspect());
|
| return o;
|
| }
|
|
|
| -checkUnnamed573(core.List<api.ProductAspect> o) {
|
| +checkUnnamed787(core.List<api.ProductAspect> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductAspect(o[0]);
|
| checkProductAspect(o[1]);
|
| }
|
|
|
| -buildUnnamed574() {
|
| +buildUnnamed788() {
|
| var o = new core.List<api.ProductCustomAttribute>();
|
| o.add(buildProductCustomAttribute());
|
| o.add(buildProductCustomAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed574(core.List<api.ProductCustomAttribute> o) {
|
| +checkUnnamed788(core.List<api.ProductCustomAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductCustomAttribute(o[0]);
|
| checkProductCustomAttribute(o[1]);
|
| }
|
|
|
| -buildUnnamed575() {
|
| +buildUnnamed789() {
|
| var o = new core.List<api.ProductCustomGroup>();
|
| o.add(buildProductCustomGroup());
|
| o.add(buildProductCustomGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed575(core.List<api.ProductCustomGroup> o) {
|
| +checkUnnamed789(core.List<api.ProductCustomGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductCustomGroup(o[0]);
|
| checkProductCustomGroup(o[1]);
|
| }
|
|
|
| -buildUnnamed576() {
|
| +buildUnnamed790() {
|
| var o = new core.List<api.ProductDestination>();
|
| o.add(buildProductDestination());
|
| o.add(buildProductDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed576(core.List<api.ProductDestination> o) {
|
| +checkUnnamed790(core.List<api.ProductDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductDestination(o[0]);
|
| checkProductDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed577() {
|
| +buildUnnamed791() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed791(core.List<core.String> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + unittest.expect(o[0], unittest.equals('foo'));
|
| + unittest.expect(o[1], unittest.equals('foo'));
|
| +}
|
| +
|
| +buildUnnamed792() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed577(core.List<core.String> o) {
|
| +checkUnnamed792(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed578() {
|
| +buildUnnamed793() {
|
| var o = new core.List<api.ProductShipping>();
|
| o.add(buildProductShipping());
|
| o.add(buildProductShipping());
|
| return o;
|
| }
|
|
|
| -checkUnnamed578(core.List<api.ProductShipping> o) {
|
| +checkUnnamed793(core.List<api.ProductShipping> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductShipping(o[0]);
|
| checkProductShipping(o[1]);
|
| }
|
|
|
| -buildUnnamed579() {
|
| +buildUnnamed794() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed579(core.List<core.String> o) {
|
| +checkUnnamed794(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed580() {
|
| +buildUnnamed795() {
|
| var o = new core.List<api.ProductTax>();
|
| o.add(buildProductTax());
|
| o.add(buildProductTax());
|
| return o;
|
| }
|
|
|
| -checkUnnamed580(core.List<api.ProductTax> o) {
|
| +checkUnnamed795(core.List<api.ProductTax> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductTax(o[0]);
|
| checkProductTax(o[1]);
|
| }
|
|
|
| -buildUnnamed581() {
|
| +buildUnnamed796() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed581(core.List<core.String> o) {
|
| +checkUnnamed796(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed582() {
|
| +buildUnnamed797() {
|
| var o = new core.List<api.Error>();
|
| o.add(buildError());
|
| o.add(buildError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed582(core.List<api.Error> o) {
|
| +checkUnnamed797(core.List<api.Error> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkError(o[0]);
|
| checkError(o[1]);
|
| @@ -3790,13 +3904,13 @@ buildProduct() {
|
| var o = new api.Product();
|
| buildCounterProduct++;
|
| if (buildCounterProduct < 3) {
|
| - o.additionalImageLinks = buildUnnamed571();
|
| + o.additionalImageLinks = buildUnnamed785();
|
| o.adult = true;
|
| o.adwordsGrouping = "foo";
|
| - o.adwordsLabels = buildUnnamed572();
|
| + o.adwordsLabels = buildUnnamed786();
|
| o.adwordsRedirect = "foo";
|
| o.ageGroup = "foo";
|
| - o.aspects = buildUnnamed573();
|
| + o.aspects = buildUnnamed787();
|
| o.availability = "foo";
|
| o.availabilityDate = "foo";
|
| o.brand = "foo";
|
| @@ -3804,18 +3918,18 @@ buildProduct() {
|
| o.color = "foo";
|
| o.condition = "foo";
|
| o.contentLanguage = "foo";
|
| - o.customAttributes = buildUnnamed574();
|
| - o.customGroups = buildUnnamed575();
|
| + o.customAttributes = buildUnnamed788();
|
| + o.customGroups = buildUnnamed789();
|
| o.customLabel0 = "foo";
|
| o.customLabel1 = "foo";
|
| o.customLabel2 = "foo";
|
| o.customLabel3 = "foo";
|
| o.customLabel4 = "foo";
|
| o.description = "foo";
|
| - o.destinations = buildUnnamed576();
|
| + o.destinations = buildUnnamed790();
|
| o.displayAdsId = "foo";
|
| o.displayAdsLink = "foo";
|
| - o.displayAdsSimilarIds = buildUnnamed577();
|
| + o.displayAdsSimilarIds = buildUnnamed791();
|
| o.displayAdsTitle = "foo";
|
| o.displayAdsValue = 42.0;
|
| o.energyEfficiencyClass = "foo";
|
| @@ -3841,10 +3955,11 @@ buildProduct() {
|
| o.pattern = "foo";
|
| o.price = buildPrice();
|
| o.productType = "foo";
|
| + o.promotionIds = buildUnnamed792();
|
| o.salePrice = buildPrice();
|
| o.salePriceEffectiveDate = "foo";
|
| o.sellOnGoogleQuantity = "foo";
|
| - o.shipping = buildUnnamed578();
|
| + o.shipping = buildUnnamed793();
|
| o.shippingHeight = buildProductShippingDimension();
|
| o.shippingLabel = "foo";
|
| o.shippingLength = buildProductShippingDimension();
|
| @@ -3852,14 +3967,14 @@ buildProduct() {
|
| o.shippingWidth = buildProductShippingDimension();
|
| o.sizeSystem = "foo";
|
| o.sizeType = "foo";
|
| - o.sizes = buildUnnamed579();
|
| + o.sizes = buildUnnamed794();
|
| o.targetCountry = "foo";
|
| - o.taxes = buildUnnamed580();
|
| + o.taxes = buildUnnamed795();
|
| o.title = "foo";
|
| o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
|
| o.unitPricingMeasure = buildProductUnitPricingMeasure();
|
| - o.validatedDestinations = buildUnnamed581();
|
| - o.warnings = buildUnnamed582();
|
| + o.validatedDestinations = buildUnnamed796();
|
| + o.warnings = buildUnnamed797();
|
| }
|
| buildCounterProduct--;
|
| return o;
|
| @@ -3868,13 +3983,13 @@ buildProduct() {
|
| checkProduct(api.Product o) {
|
| buildCounterProduct++;
|
| if (buildCounterProduct < 3) {
|
| - checkUnnamed571(o.additionalImageLinks);
|
| + checkUnnamed785(o.additionalImageLinks);
|
| unittest.expect(o.adult, unittest.isTrue);
|
| unittest.expect(o.adwordsGrouping, unittest.equals('foo'));
|
| - checkUnnamed572(o.adwordsLabels);
|
| + checkUnnamed786(o.adwordsLabels);
|
| unittest.expect(o.adwordsRedirect, unittest.equals('foo'));
|
| unittest.expect(o.ageGroup, unittest.equals('foo'));
|
| - checkUnnamed573(o.aspects);
|
| + checkUnnamed787(o.aspects);
|
| unittest.expect(o.availability, unittest.equals('foo'));
|
| unittest.expect(o.availabilityDate, unittest.equals('foo'));
|
| unittest.expect(o.brand, unittest.equals('foo'));
|
| @@ -3882,18 +3997,18 @@ checkProduct(api.Product o) {
|
| unittest.expect(o.color, unittest.equals('foo'));
|
| unittest.expect(o.condition, unittest.equals('foo'));
|
| unittest.expect(o.contentLanguage, unittest.equals('foo'));
|
| - checkUnnamed574(o.customAttributes);
|
| - checkUnnamed575(o.customGroups);
|
| + checkUnnamed788(o.customAttributes);
|
| + checkUnnamed789(o.customGroups);
|
| unittest.expect(o.customLabel0, unittest.equals('foo'));
|
| unittest.expect(o.customLabel1, unittest.equals('foo'));
|
| unittest.expect(o.customLabel2, unittest.equals('foo'));
|
| unittest.expect(o.customLabel3, unittest.equals('foo'));
|
| unittest.expect(o.customLabel4, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed576(o.destinations);
|
| + checkUnnamed790(o.destinations);
|
| unittest.expect(o.displayAdsId, unittest.equals('foo'));
|
| unittest.expect(o.displayAdsLink, unittest.equals('foo'));
|
| - checkUnnamed577(o.displayAdsSimilarIds);
|
| + checkUnnamed791(o.displayAdsSimilarIds);
|
| unittest.expect(o.displayAdsTitle, unittest.equals('foo'));
|
| unittest.expect(o.displayAdsValue, unittest.equals(42.0));
|
| unittest.expect(o.energyEfficiencyClass, unittest.equals('foo'));
|
| @@ -3919,10 +4034,11 @@ checkProduct(api.Product o) {
|
| unittest.expect(o.pattern, unittest.equals('foo'));
|
| checkPrice(o.price);
|
| unittest.expect(o.productType, unittest.equals('foo'));
|
| + checkUnnamed792(o.promotionIds);
|
| checkPrice(o.salePrice);
|
| unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
|
| unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo'));
|
| - checkUnnamed578(o.shipping);
|
| + checkUnnamed793(o.shipping);
|
| checkProductShippingDimension(o.shippingHeight);
|
| unittest.expect(o.shippingLabel, unittest.equals('foo'));
|
| checkProductShippingDimension(o.shippingLength);
|
| @@ -3930,14 +4046,14 @@ checkProduct(api.Product o) {
|
| checkProductShippingDimension(o.shippingWidth);
|
| unittest.expect(o.sizeSystem, unittest.equals('foo'));
|
| unittest.expect(o.sizeType, unittest.equals('foo'));
|
| - checkUnnamed579(o.sizes);
|
| + checkUnnamed794(o.sizes);
|
| unittest.expect(o.targetCountry, unittest.equals('foo'));
|
| - checkUnnamed580(o.taxes);
|
| + checkUnnamed795(o.taxes);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
|
| checkProductUnitPricingMeasure(o.unitPricingMeasure);
|
| - checkUnnamed581(o.validatedDestinations);
|
| - checkUnnamed582(o.warnings);
|
| + checkUnnamed796(o.validatedDestinations);
|
| + checkUnnamed797(o.warnings);
|
| }
|
| buildCounterProduct--;
|
| }
|
| @@ -3990,14 +4106,14 @@ checkProductCustomAttribute(api.ProductCustomAttribute o) {
|
| buildCounterProductCustomAttribute--;
|
| }
|
|
|
| -buildUnnamed583() {
|
| +buildUnnamed798() {
|
| var o = new core.List<api.ProductCustomAttribute>();
|
| o.add(buildProductCustomAttribute());
|
| o.add(buildProductCustomAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed583(core.List<api.ProductCustomAttribute> o) {
|
| +checkUnnamed798(core.List<api.ProductCustomAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductCustomAttribute(o[0]);
|
| checkProductCustomAttribute(o[1]);
|
| @@ -4008,7 +4124,7 @@ buildProductCustomGroup() {
|
| var o = new api.ProductCustomGroup();
|
| buildCounterProductCustomGroup++;
|
| if (buildCounterProductCustomGroup < 3) {
|
| - o.attributes = buildUnnamed583();
|
| + o.attributes = buildUnnamed798();
|
| o.name = "foo";
|
| }
|
| buildCounterProductCustomGroup--;
|
| @@ -4018,7 +4134,7 @@ buildProductCustomGroup() {
|
| checkProductCustomGroup(api.ProductCustomGroup o) {
|
| buildCounterProductCustomGroup++;
|
| if (buildCounterProductCustomGroup < 3) {
|
| - checkUnnamed583(o.attributes);
|
| + checkUnnamed798(o.attributes);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterProductCustomGroup--;
|
| @@ -4118,27 +4234,27 @@ checkProductShippingWeight(api.ProductShippingWeight o) {
|
| buildCounterProductShippingWeight--;
|
| }
|
|
|
| -buildUnnamed584() {
|
| +buildUnnamed799() {
|
| var o = new core.List<api.ProductStatusDataQualityIssue>();
|
| o.add(buildProductStatusDataQualityIssue());
|
| o.add(buildProductStatusDataQualityIssue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed584(core.List<api.ProductStatusDataQualityIssue> o) {
|
| +checkUnnamed799(core.List<api.ProductStatusDataQualityIssue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductStatusDataQualityIssue(o[0]);
|
| checkProductStatusDataQualityIssue(o[1]);
|
| }
|
|
|
| -buildUnnamed585() {
|
| +buildUnnamed800() {
|
| var o = new core.List<api.ProductStatusDestinationStatus>();
|
| o.add(buildProductStatusDestinationStatus());
|
| o.add(buildProductStatusDestinationStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed585(core.List<api.ProductStatusDestinationStatus> o) {
|
| +checkUnnamed800(core.List<api.ProductStatusDestinationStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductStatusDestinationStatus(o[0]);
|
| checkProductStatusDestinationStatus(o[1]);
|
| @@ -4150,8 +4266,8 @@ buildProductStatus() {
|
| buildCounterProductStatus++;
|
| if (buildCounterProductStatus < 3) {
|
| o.creationDate = "foo";
|
| - o.dataQualityIssues = buildUnnamed584();
|
| - o.destinationStatuses = buildUnnamed585();
|
| + o.dataQualityIssues = buildUnnamed799();
|
| + o.destinationStatuses = buildUnnamed800();
|
| o.googleExpirationDate = "foo";
|
| o.kind = "foo";
|
| o.lastUpdateDate = "foo";
|
| @@ -4167,8 +4283,8 @@ checkProductStatus(api.ProductStatus o) {
|
| buildCounterProductStatus++;
|
| if (buildCounterProductStatus < 3) {
|
| unittest.expect(o.creationDate, unittest.equals('foo'));
|
| - checkUnnamed584(o.dataQualityIssues);
|
| - checkUnnamed585(o.destinationStatuses);
|
| + checkUnnamed799(o.dataQualityIssues);
|
| + checkUnnamed800(o.destinationStatuses);
|
| unittest.expect(o.googleExpirationDate, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.lastUpdateDate, unittest.equals('foo'));
|
| @@ -4306,14 +4422,14 @@ checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) {
|
| buildCounterProductUnitPricingMeasure--;
|
| }
|
|
|
| -buildUnnamed586() {
|
| +buildUnnamed801() {
|
| var o = new core.List<api.ProductsCustomBatchRequestEntry>();
|
| o.add(buildProductsCustomBatchRequestEntry());
|
| o.add(buildProductsCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed586(core.List<api.ProductsCustomBatchRequestEntry> o) {
|
| +checkUnnamed801(core.List<api.ProductsCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductsCustomBatchRequestEntry(o[0]);
|
| checkProductsCustomBatchRequestEntry(o[1]);
|
| @@ -4324,7 +4440,7 @@ buildProductsCustomBatchRequest() {
|
| var o = new api.ProductsCustomBatchRequest();
|
| buildCounterProductsCustomBatchRequest++;
|
| if (buildCounterProductsCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed586();
|
| + o.entries = buildUnnamed801();
|
| }
|
| buildCounterProductsCustomBatchRequest--;
|
| return o;
|
| @@ -4333,7 +4449,7 @@ buildProductsCustomBatchRequest() {
|
| checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
|
| buildCounterProductsCustomBatchRequest++;
|
| if (buildCounterProductsCustomBatchRequest < 3) {
|
| - checkUnnamed586(o.entries);
|
| + checkUnnamed801(o.entries);
|
| }
|
| buildCounterProductsCustomBatchRequest--;
|
| }
|
| @@ -4365,14 +4481,14 @@ checkProductsCustomBatchRequestEntry(api.ProductsCustomBatchRequestEntry o) {
|
| buildCounterProductsCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed587() {
|
| +buildUnnamed802() {
|
| var o = new core.List<api.ProductsCustomBatchResponseEntry>();
|
| o.add(buildProductsCustomBatchResponseEntry());
|
| o.add(buildProductsCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed587(core.List<api.ProductsCustomBatchResponseEntry> o) {
|
| +checkUnnamed802(core.List<api.ProductsCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductsCustomBatchResponseEntry(o[0]);
|
| checkProductsCustomBatchResponseEntry(o[1]);
|
| @@ -4383,7 +4499,7 @@ buildProductsCustomBatchResponse() {
|
| var o = new api.ProductsCustomBatchResponse();
|
| buildCounterProductsCustomBatchResponse++;
|
| if (buildCounterProductsCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed587();
|
| + o.entries = buildUnnamed802();
|
| o.kind = "foo";
|
| }
|
| buildCounterProductsCustomBatchResponse--;
|
| @@ -4393,7 +4509,7 @@ buildProductsCustomBatchResponse() {
|
| checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
|
| buildCounterProductsCustomBatchResponse++;
|
| if (buildCounterProductsCustomBatchResponse < 3) {
|
| - checkUnnamed587(o.entries);
|
| + checkUnnamed802(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterProductsCustomBatchResponse--;
|
| @@ -4424,14 +4540,14 @@ checkProductsCustomBatchResponseEntry(api.ProductsCustomBatchResponseEntry o) {
|
| buildCounterProductsCustomBatchResponseEntry--;
|
| }
|
|
|
| -buildUnnamed588() {
|
| +buildUnnamed803() {
|
| var o = new core.List<api.Product>();
|
| o.add(buildProduct());
|
| o.add(buildProduct());
|
| return o;
|
| }
|
|
|
| -checkUnnamed588(core.List<api.Product> o) {
|
| +checkUnnamed803(core.List<api.Product> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProduct(o[0]);
|
| checkProduct(o[1]);
|
| @@ -4444,7 +4560,7 @@ buildProductsListResponse() {
|
| if (buildCounterProductsListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed588();
|
| + o.resources = buildUnnamed803();
|
| }
|
| buildCounterProductsListResponse--;
|
| return o;
|
| @@ -4455,19 +4571,19 @@ checkProductsListResponse(api.ProductsListResponse o) {
|
| if (buildCounterProductsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed588(o.resources);
|
| + checkUnnamed803(o.resources);
|
| }
|
| buildCounterProductsListResponse--;
|
| }
|
|
|
| -buildUnnamed589() {
|
| +buildUnnamed804() {
|
| var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
|
| o.add(buildProductstatusesCustomBatchRequestEntry());
|
| o.add(buildProductstatusesCustomBatchRequestEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed589(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
|
| +checkUnnamed804(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductstatusesCustomBatchRequestEntry(o[0]);
|
| checkProductstatusesCustomBatchRequestEntry(o[1]);
|
| @@ -4478,7 +4594,7 @@ buildProductstatusesCustomBatchRequest() {
|
| var o = new api.ProductstatusesCustomBatchRequest();
|
| buildCounterProductstatusesCustomBatchRequest++;
|
| if (buildCounterProductstatusesCustomBatchRequest < 3) {
|
| - o.entries = buildUnnamed589();
|
| + o.entries = buildUnnamed804();
|
| }
|
| buildCounterProductstatusesCustomBatchRequest--;
|
| return o;
|
| @@ -4487,7 +4603,7 @@ buildProductstatusesCustomBatchRequest() {
|
| checkProductstatusesCustomBatchRequest(api.ProductstatusesCustomBatchRequest o) {
|
| buildCounterProductstatusesCustomBatchRequest++;
|
| if (buildCounterProductstatusesCustomBatchRequest < 3) {
|
| - checkUnnamed589(o.entries);
|
| + checkUnnamed804(o.entries);
|
| }
|
| buildCounterProductstatusesCustomBatchRequest--;
|
| }
|
| @@ -4517,14 +4633,14 @@ checkProductstatusesCustomBatchRequestEntry(api.ProductstatusesCustomBatchReques
|
| buildCounterProductstatusesCustomBatchRequestEntry--;
|
| }
|
|
|
| -buildUnnamed590() {
|
| +buildUnnamed805() {
|
| var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
|
| o.add(buildProductstatusesCustomBatchResponseEntry());
|
| o.add(buildProductstatusesCustomBatchResponseEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed590(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
|
| +checkUnnamed805(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductstatusesCustomBatchResponseEntry(o[0]);
|
| checkProductstatusesCustomBatchResponseEntry(o[1]);
|
| @@ -4535,7 +4651,7 @@ buildProductstatusesCustomBatchResponse() {
|
| var o = new api.ProductstatusesCustomBatchResponse();
|
| buildCounterProductstatusesCustomBatchResponse++;
|
| if (buildCounterProductstatusesCustomBatchResponse < 3) {
|
| - o.entries = buildUnnamed590();
|
| + o.entries = buildUnnamed805();
|
| o.kind = "foo";
|
| }
|
| buildCounterProductstatusesCustomBatchResponse--;
|
| @@ -4545,7 +4661,7 @@ buildProductstatusesCustomBatchResponse() {
|
| checkProductstatusesCustomBatchResponse(api.ProductstatusesCustomBatchResponse o) {
|
| buildCounterProductstatusesCustomBatchResponse++;
|
| if (buildCounterProductstatusesCustomBatchResponse < 3) {
|
| - checkUnnamed590(o.entries);
|
| + checkUnnamed805(o.entries);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterProductstatusesCustomBatchResponse--;
|
| @@ -4576,14 +4692,14 @@ checkProductstatusesCustomBatchResponseEntry(api.ProductstatusesCustomBatchRespo
|
| buildCounterProductstatusesCustomBatchResponseEntry--;
|
| }
|
|
|
| -buildUnnamed591() {
|
| +buildUnnamed806() {
|
| var o = new core.List<api.ProductStatus>();
|
| o.add(buildProductStatus());
|
| o.add(buildProductStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed591(core.List<api.ProductStatus> o) {
|
| +checkUnnamed806(core.List<api.ProductStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductStatus(o[0]);
|
| checkProductStatus(o[1]);
|
| @@ -4596,7 +4712,7 @@ buildProductstatusesListResponse() {
|
| if (buildCounterProductstatusesListResponse < 3) {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed591();
|
| + o.resources = buildUnnamed806();
|
| }
|
| buildCounterProductstatusesListResponse--;
|
| return o;
|
| @@ -4607,24 +4723,37 @@ checkProductstatusesListResponse(api.ProductstatusesListResponse o) {
|
| if (buildCounterProductstatusesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed591(o.resources);
|
| + checkUnnamed806(o.resources);
|
| }
|
| buildCounterProductstatusesListResponse--;
|
| }
|
|
|
| -buildUnnamed592() {
|
| +buildUnnamed807() {
|
| var o = new core.List<api.TestOrderLineItem>();
|
| o.add(buildTestOrderLineItem());
|
| o.add(buildTestOrderLineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed592(core.List<api.TestOrderLineItem> o) {
|
| +checkUnnamed807(core.List<api.TestOrderLineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTestOrderLineItem(o[0]);
|
| checkTestOrderLineItem(o[1]);
|
| }
|
|
|
| +buildUnnamed808() {
|
| + var o = new core.List<api.OrderPromotion>();
|
| + o.add(buildOrderPromotion());
|
| + o.add(buildOrderPromotion());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed808(core.List<api.OrderPromotion> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkOrderPromotion(o[0]);
|
| + checkOrderPromotion(o[1]);
|
| +}
|
| +
|
| core.int buildCounterTestOrder = 0;
|
| buildTestOrder() {
|
| var o = new api.TestOrder();
|
| @@ -4632,9 +4761,10 @@ buildTestOrder() {
|
| if (buildCounterTestOrder < 3) {
|
| o.customer = buildTestOrderCustomer();
|
| o.kind = "foo";
|
| - o.lineItems = buildUnnamed592();
|
| + o.lineItems = buildUnnamed807();
|
| o.paymentMethod = buildTestOrderPaymentMethod();
|
| o.predefinedDeliveryAddress = "foo";
|
| + o.promotions = buildUnnamed808();
|
| o.shippingCost = buildPrice();
|
| o.shippingCostTax = buildPrice();
|
| o.shippingOption = "foo";
|
| @@ -4648,9 +4778,10 @@ checkTestOrder(api.TestOrder o) {
|
| if (buildCounterTestOrder < 3) {
|
| checkTestOrderCustomer(o.customer);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed592(o.lineItems);
|
| + checkUnnamed807(o.lineItems);
|
| checkTestOrderPaymentMethod(o.paymentMethod);
|
| unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
|
| + checkUnnamed808(o.promotions);
|
| checkPrice(o.shippingCost);
|
| checkPrice(o.shippingCostTax);
|
| unittest.expect(o.shippingOption, unittest.equals('foo'));
|
| @@ -4708,14 +4839,14 @@ checkTestOrderLineItem(api.TestOrderLineItem o) {
|
| buildCounterTestOrderLineItem--;
|
| }
|
|
|
| -buildUnnamed593() {
|
| +buildUnnamed809() {
|
| var o = new core.List<api.OrderLineItemProductVariantAttribute>();
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| o.add(buildOrderLineItemProductVariantAttribute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed593(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| +checkUnnamed809(core.List<api.OrderLineItemProductVariantAttribute> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrderLineItemProductVariantAttribute(o[0]);
|
| checkOrderLineItemProductVariantAttribute(o[1]);
|
| @@ -4738,7 +4869,7 @@ buildTestOrderLineItemProduct() {
|
| o.price = buildPrice();
|
| o.targetCountry = "foo";
|
| o.title = "foo";
|
| - o.variantAttributes = buildUnnamed593();
|
| + o.variantAttributes = buildUnnamed809();
|
| }
|
| buildCounterTestOrderLineItemProduct--;
|
| return o;
|
| @@ -4759,7 +4890,7 @@ checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) {
|
| checkPrice(o.price);
|
| unittest.expect(o.targetCountry, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed593(o.variantAttributes);
|
| + checkUnnamed809(o.variantAttributes);
|
| }
|
| buildCounterTestOrderLineItemProduct--;
|
| }
|
| @@ -4812,14 +4943,14 @@ checkWeight(api.Weight o) {
|
| buildCounterWeight--;
|
| }
|
|
|
| -buildUnnamed594() {
|
| +buildUnnamed810() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed594(core.List<core.String> o) {
|
| +checkUnnamed810(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -5538,6 +5669,24 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-OrderPromotion", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildOrderPromotion();
|
| + var od = new api.OrderPromotion.fromJson(o.toJson());
|
| + checkOrderPromotion(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-OrderPromotionBenefit", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildOrderPromotionBenefit();
|
| + var od = new api.OrderPromotionBenefit.fromJson(o.toJson());
|
| + checkOrderPromotionBenefit(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-OrderRefund", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildOrderRefund();
|
| @@ -8145,7 +8294,7 @@ main() {
|
| var arg_pageToken = "foo";
|
| var arg_placedDateEnd = "foo";
|
| var arg_placedDateStart = "foo";
|
| - var arg_statuses = buildUnnamed594();
|
| + var arg_statuses = buildUnnamed810();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|