Api-Roll 57: 2017-11-14 (#24)
diff --git a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
index 8fc36c9..ac2e761 100644
--- a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
+++ b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
@@ -96,14 +96,14 @@
buildCounterAmpUrlError--;
}
-buildUnnamed1285() {
+buildUnnamed1291() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1285(core.List<core.String> o) {
+checkUnnamed1291(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'));
@@ -115,7 +115,7 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
o.lookupStrategy = "foo";
- o.urls = buildUnnamed1285();
+ o.urls = buildUnnamed1291();
}
buildCounterBatchGetAmpUrlsRequest--;
return o;
@@ -125,32 +125,32 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
unittest.expect(o.lookupStrategy, unittest.equals('foo'));
- checkUnnamed1285(o.urls);
+ checkUnnamed1291(o.urls);
}
buildCounterBatchGetAmpUrlsRequest--;
}
-buildUnnamed1286() {
+buildUnnamed1292() {
var o = new core.List<api.AmpUrl>();
o.add(buildAmpUrl());
o.add(buildAmpUrl());
return o;
}
-checkUnnamed1286(core.List<api.AmpUrl> o) {
+checkUnnamed1292(core.List<api.AmpUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrl(o[0]);
checkAmpUrl(o[1]);
}
-buildUnnamed1287() {
+buildUnnamed1293() {
var o = new core.List<api.AmpUrlError>();
o.add(buildAmpUrlError());
o.add(buildAmpUrlError());
return o;
}
-checkUnnamed1287(core.List<api.AmpUrlError> o) {
+checkUnnamed1293(core.List<api.AmpUrlError> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrlError(o[0]);
checkAmpUrlError(o[1]);
@@ -161,8 +161,8 @@
var o = new api.BatchGetAmpUrlsResponse();
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- o.ampUrls = buildUnnamed1286();
- o.urlErrors = buildUnnamed1287();
+ o.ampUrls = buildUnnamed1292();
+ o.urlErrors = buildUnnamed1293();
}
buildCounterBatchGetAmpUrlsResponse--;
return o;
@@ -171,8 +171,8 @@
checkBatchGetAmpUrlsResponse(api.BatchGetAmpUrlsResponse o) {
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- checkUnnamed1286(o.ampUrls);
- checkUnnamed1287(o.urlErrors);
+ checkUnnamed1292(o.ampUrls);
+ checkUnnamed1293(o.urlErrors);
}
buildCounterBatchGetAmpUrlsResponse--;
}
diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
index 46c7214..904135b 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
@@ -73,14 +73,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed983() {
+buildUnnamed990() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed983(core.List<api.AccountBidderLocation> o) {
+checkUnnamed990(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -91,7 +91,7 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed983();
+ o.bidderLocation = buildUnnamed990();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -107,7 +107,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed983(o.bidderLocation);
+ checkUnnamed990(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -119,14 +119,14 @@
buildCounterAccount--;
}
-buildUnnamed984() {
+buildUnnamed991() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed984(core.List<api.Account> o) {
+checkUnnamed991(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -137,7 +137,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed984();
+ o.items = buildUnnamed991();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -147,20 +147,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed984(o.items);
+ checkUnnamed991(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed985() {
+buildUnnamed992() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed985(core.List<core.String> o) {
+checkUnnamed992(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'));
@@ -173,7 +173,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed985();
+ o.billingId = buildUnnamed992();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -185,20 +185,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed985(o.billingId);
+ checkUnnamed992(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed986() {
+buildUnnamed993() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed986(core.List<api.BillingInfo> o) {
+checkUnnamed993(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -209,7 +209,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed986();
+ o.items = buildUnnamed993();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -219,7 +219,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed986(o.items);
+ checkUnnamed993(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -254,53 +254,53 @@
buildCounterBudget--;
}
-buildUnnamed987() {
+buildUnnamed994() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed987(core.List<core.String> o) {
+checkUnnamed994(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'));
}
-buildUnnamed988() {
+buildUnnamed995() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed988(core.List<core.int> o) {
+checkUnnamed995(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed989() {
+buildUnnamed996() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed989(core.List<core.String> o) {
+checkUnnamed996(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'));
}
-buildUnnamed990() {
+buildUnnamed997() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed990(core.List<core.String> o) {
+checkUnnamed997(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'));
@@ -311,7 +311,7 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.details = buildUnnamed990();
+ o.details = buildUnnamed997();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -321,33 +321,33 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed990(o.details);
+ checkUnnamed997(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed991() {
+buildUnnamed998() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed991(core.List<api.CreativeCorrections> o) {
+checkUnnamed998(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed992() {
+buildUnnamed999() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed992(core.List<core.String> o) {
+checkUnnamed999(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'));
@@ -358,7 +358,7 @@
var o = new api.CreativeDisapprovalReasons();
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- o.details = buildUnnamed992();
+ o.details = buildUnnamed999();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -368,20 +368,20 @@
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed992(o.details);
+ checkUnnamed999(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed993() {
+buildUnnamed1000() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed993(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed1000(core.List<api.CreativeDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDisapprovalReasons(o[0]);
checkCreativeDisapprovalReasons(o[1]);
@@ -408,14 +408,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed994() {
+buildUnnamed1001() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed994(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed1001(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -427,7 +427,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed994();
+ o.reasons = buildUnnamed1001();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -437,19 +437,19 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed994(o.reasons);
+ checkUnnamed1001(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed995() {
+buildUnnamed1002() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed995(core.List<core.String> o) {
+checkUnnamed1002(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'));
@@ -501,14 +501,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed996() {
+buildUnnamed1003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed996(core.List<core.String> o) {
+checkUnnamed1003(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'));
@@ -549,7 +549,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed996();
+ o.impressionTrackingUrl = buildUnnamed1003();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -569,7 +569,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed996(o.impressionTrackingUrl);
+ checkUnnamed1003(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -578,53 +578,53 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed997() {
+buildUnnamed1004() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed997(core.List<core.int> o) {
+checkUnnamed1004(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed998() {
+buildUnnamed1005() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed998(core.List<core.int> o) {
+checkUnnamed1005(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed999() {
+buildUnnamed1006() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed999(core.List<core.int> o) {
+checkUnnamed1006(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1000() {
+buildUnnamed1007() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1000(core.List<core.int> o) {
+checkUnnamed1007(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -637,25 +637,25 @@
if (buildCounterCreative < 3) {
o.HTMLSnippet = "foo";
o.accountId = 42;
- o.advertiserId = buildUnnamed987();
+ o.advertiserId = buildUnnamed994();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed988();
+ o.attribute = buildUnnamed995();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed989();
- o.corrections = buildUnnamed991();
- o.disapprovalReasons = buildUnnamed993();
+ o.clickThroughUrl = buildUnnamed996();
+ o.corrections = buildUnnamed998();
+ o.disapprovalReasons = buildUnnamed1000();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed995();
+ o.impressionTrackingUrl = buildUnnamed1002();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed997();
- o.restrictedCategories = buildUnnamed998();
- o.sensitiveCategories = buildUnnamed999();
+ o.productCategories = buildUnnamed1004();
+ o.restrictedCategories = buildUnnamed1005();
+ o.sensitiveCategories = buildUnnamed1006();
o.status = "foo";
- o.vendorType = buildUnnamed1000();
+ o.vendorType = buildUnnamed1007();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -669,26 +669,26 @@
if (buildCounterCreative < 3) {
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
- checkUnnamed987(o.advertiserId);
+ checkUnnamed994(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed988(o.attribute);
+ checkUnnamed995(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed989(o.clickThroughUrl);
- checkUnnamed991(o.corrections);
- checkUnnamed993(o.disapprovalReasons);
+ checkUnnamed996(o.clickThroughUrl);
+ checkUnnamed998(o.corrections);
+ checkUnnamed1000(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed995(o.impressionTrackingUrl);
+ checkUnnamed1002(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed997(o.productCategories);
- checkUnnamed998(o.restrictedCategories);
- checkUnnamed999(o.sensitiveCategories);
+ checkUnnamed1004(o.productCategories);
+ checkUnnamed1005(o.restrictedCategories);
+ checkUnnamed1006(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed1000(o.vendorType);
+ checkUnnamed1007(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -696,14 +696,14 @@
buildCounterCreative--;
}
-buildUnnamed1001() {
+buildUnnamed1008() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed1001(core.List<api.Creative> o) {
+checkUnnamed1008(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -714,7 +714,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed1001();
+ o.items = buildUnnamed1008();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -725,7 +725,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed1001(o.items);
+ checkUnnamed1008(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -779,14 +779,14 @@
buildCounterDirectDeal--;
}
-buildUnnamed1002() {
+buildUnnamed1009() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed1002(core.List<api.DirectDeal> o) {
+checkUnnamed1009(core.List<api.DirectDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectDeal(o[0]);
checkDirectDeal(o[1]);
@@ -797,7 +797,7 @@
var o = new api.DirectDealsList();
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- o.directDeals = buildUnnamed1002();
+ o.directDeals = buildUnnamed1009();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -807,13 +807,13 @@
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed1002(o.directDeals);
+ checkUnnamed1009(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed1003() {
+buildUnnamed1010() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -828,7 +828,7 @@
return o;
}
-checkUnnamed1003(core.List<core.Object> o) {
+checkUnnamed1010(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -842,7 +842,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1004() {
+buildUnnamed1011() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -857,7 +857,7 @@
return o;
}
-checkUnnamed1004(core.List<core.Object> o) {
+checkUnnamed1011(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -871,7 +871,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed1005() {
+buildUnnamed1012() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -886,7 +886,7 @@
return o;
}
-checkUnnamed1005(core.List<core.Object> o) {
+checkUnnamed1012(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -900,7 +900,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1006() {
+buildUnnamed1013() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -915,7 +915,7 @@
return o;
}
-checkUnnamed1006(core.List<core.Object> o) {
+checkUnnamed1013(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -936,11 +936,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed1003();
- o.cookieMatcherStatusRate = buildUnnamed1004();
- o.creativeStatusRate = buildUnnamed1005();
+ o.calloutStatusRate = buildUnnamed1010();
+ o.cookieMatcherStatusRate = buildUnnamed1011();
+ o.creativeStatusRate = buildUnnamed1012();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed1006();
+ o.hostedMatchStatusRate = buildUnnamed1013();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -966,11 +966,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed1003(o.calloutStatusRate);
- checkUnnamed1004(o.cookieMatcherStatusRate);
- checkUnnamed1005(o.creativeStatusRate);
+ checkUnnamed1010(o.calloutStatusRate);
+ checkUnnamed1011(o.cookieMatcherStatusRate);
+ checkUnnamed1012(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed1006(o.hostedMatchStatusRate);
+ checkUnnamed1013(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -990,14 +990,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed1007() {
+buildUnnamed1014() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed1007(core.List<api.PerformanceReport> o) {
+checkUnnamed1014(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -1009,7 +1009,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed1007();
+ o.performanceReport = buildUnnamed1014();
}
buildCounterPerformanceReportList--;
return o;
@@ -1019,19 +1019,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1007(o.performanceReport);
+ checkUnnamed1014(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed1008() {
+buildUnnamed1015() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1008(core.List<core.String> o) {
+checkUnnamed1015(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'));
@@ -1058,132 +1058,19 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed1009() {
+buildUnnamed1016() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed1009(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed1016(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed1010() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1010(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'));
-}
-
-buildUnnamed1011() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1011(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 buildCounterPretargetingConfigExcludedPlacements = 0;
-buildPretargetingConfigExcludedPlacements() {
- var o = new api.PretargetingConfigExcludedPlacements();
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigExcludedPlacements--;
- return o;
-}
-
-checkPretargetingConfigExcludedPlacements(
- api.PretargetingConfigExcludedPlacements o) {
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigExcludedPlacements--;
-}
-
-buildUnnamed1012() {
- var o = new core.List<api.PretargetingConfigExcludedPlacements>();
- o.add(buildPretargetingConfigExcludedPlacements());
- o.add(buildPretargetingConfigExcludedPlacements());
- return o;
-}
-
-checkUnnamed1012(core.List<api.PretargetingConfigExcludedPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigExcludedPlacements(o[0]);
- checkPretargetingConfigExcludedPlacements(o[1]);
-}
-
-buildUnnamed1013() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1013(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'));
-}
-
-buildUnnamed1014() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1014(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'));
-}
-
-buildUnnamed1015() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1015(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'));
-}
-
-buildUnnamed1016() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1016(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'));
-}
-
buildUnnamed1017() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1210,53 +1097,54 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterPretargetingConfigExcludedPlacements = 0;
+buildPretargetingConfigExcludedPlacements() {
+ var o = new api.PretargetingConfigExcludedPlacements();
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
+ return o;
+}
+
+checkPretargetingConfigExcludedPlacements(
+ api.PretargetingConfigExcludedPlacements o) {
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
+}
+
buildUnnamed1019() {
+ var o = new core.List<api.PretargetingConfigExcludedPlacements>();
+ o.add(buildPretargetingConfigExcludedPlacements());
+ o.add(buildPretargetingConfigExcludedPlacements());
+ return o;
+}
+
+checkUnnamed1019(core.List<api.PretargetingConfigExcludedPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigExcludedPlacements(o[0]);
+ checkPretargetingConfigExcludedPlacements(o[1]);
+}
+
+buildUnnamed1020() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1019(core.List<core.String> o) {
+checkUnnamed1020(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 buildCounterPretargetingConfigPlacements = 0;
-buildPretargetingConfigPlacements() {
- var o = new api.PretargetingConfigPlacements();
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigPlacements--;
- return o;
-}
-
-checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigPlacements--;
-}
-
-buildUnnamed1020() {
- var o = new core.List<api.PretargetingConfigPlacements>();
- o.add(buildPretargetingConfigPlacements());
- o.add(buildPretargetingConfigPlacements());
- return o;
-}
-
-checkUnnamed1020(core.List<api.PretargetingConfigPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigPlacements(o[0]);
- checkPretargetingConfigPlacements(o[1]);
-}
-
buildUnnamed1021() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1322,6 +1210,118 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1026() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1026(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 buildCounterPretargetingConfigPlacements = 0;
+buildPretargetingConfigPlacements() {
+ var o = new api.PretargetingConfigPlacements();
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigPlacements--;
+ return o;
+}
+
+checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigPlacements--;
+}
+
+buildUnnamed1027() {
+ var o = new core.List<api.PretargetingConfigPlacements>();
+ o.add(buildPretargetingConfigPlacements());
+ o.add(buildPretargetingConfigPlacements());
+ return o;
+}
+
+checkUnnamed1027(core.List<api.PretargetingConfigPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigPlacements(o[0]);
+ checkPretargetingConfigPlacements(o[1]);
+}
+
+buildUnnamed1028() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1028(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'));
+}
+
+buildUnnamed1029() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1029(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'));
+}
+
+buildUnnamed1030() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1030(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'));
+}
+
+buildUnnamed1031() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1031(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'));
+}
+
+buildUnnamed1032() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1032(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 buildCounterPretargetingConfig = 0;
buildPretargetingConfig() {
var o = new api.PretargetingConfig();
@@ -1330,26 +1330,26 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed1008();
- o.dimensions = buildUnnamed1009();
- o.excludedContentLabels = buildUnnamed1010();
- o.excludedGeoCriteriaIds = buildUnnamed1011();
- o.excludedPlacements = buildUnnamed1012();
- o.excludedUserLists = buildUnnamed1013();
- o.excludedVerticals = buildUnnamed1014();
- o.geoCriteriaIds = buildUnnamed1015();
+ o.creativeType = buildUnnamed1015();
+ o.dimensions = buildUnnamed1016();
+ o.excludedContentLabels = buildUnnamed1017();
+ o.excludedGeoCriteriaIds = buildUnnamed1018();
+ o.excludedPlacements = buildUnnamed1019();
+ o.excludedUserLists = buildUnnamed1020();
+ o.excludedVerticals = buildUnnamed1021();
+ o.geoCriteriaIds = buildUnnamed1022();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed1016();
- o.mobileCarriers = buildUnnamed1017();
- o.mobileDevices = buildUnnamed1018();
- o.mobileOperatingSystemVersions = buildUnnamed1019();
- o.placements = buildUnnamed1020();
- o.platforms = buildUnnamed1021();
- o.supportedCreativeAttributes = buildUnnamed1022();
- o.userLists = buildUnnamed1023();
- o.vendorTypes = buildUnnamed1024();
- o.verticals = buildUnnamed1025();
+ o.languages = buildUnnamed1023();
+ o.mobileCarriers = buildUnnamed1024();
+ o.mobileDevices = buildUnnamed1025();
+ o.mobileOperatingSystemVersions = buildUnnamed1026();
+ o.placements = buildUnnamed1027();
+ o.platforms = buildUnnamed1028();
+ o.supportedCreativeAttributes = buildUnnamed1029();
+ o.userLists = buildUnnamed1030();
+ o.vendorTypes = buildUnnamed1031();
+ o.verticals = buildUnnamed1032();
}
buildCounterPretargetingConfig--;
return o;
@@ -1361,38 +1361,38 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed1008(o.creativeType);
- checkUnnamed1009(o.dimensions);
- checkUnnamed1010(o.excludedContentLabels);
- checkUnnamed1011(o.excludedGeoCriteriaIds);
- checkUnnamed1012(o.excludedPlacements);
- checkUnnamed1013(o.excludedUserLists);
- checkUnnamed1014(o.excludedVerticals);
- checkUnnamed1015(o.geoCriteriaIds);
+ checkUnnamed1015(o.creativeType);
+ checkUnnamed1016(o.dimensions);
+ checkUnnamed1017(o.excludedContentLabels);
+ checkUnnamed1018(o.excludedGeoCriteriaIds);
+ checkUnnamed1019(o.excludedPlacements);
+ checkUnnamed1020(o.excludedUserLists);
+ checkUnnamed1021(o.excludedVerticals);
+ checkUnnamed1022(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1016(o.languages);
- checkUnnamed1017(o.mobileCarriers);
- checkUnnamed1018(o.mobileDevices);
- checkUnnamed1019(o.mobileOperatingSystemVersions);
- checkUnnamed1020(o.placements);
- checkUnnamed1021(o.platforms);
- checkUnnamed1022(o.supportedCreativeAttributes);
- checkUnnamed1023(o.userLists);
- checkUnnamed1024(o.vendorTypes);
- checkUnnamed1025(o.verticals);
+ checkUnnamed1023(o.languages);
+ checkUnnamed1024(o.mobileCarriers);
+ checkUnnamed1025(o.mobileDevices);
+ checkUnnamed1026(o.mobileOperatingSystemVersions);
+ checkUnnamed1027(o.placements);
+ checkUnnamed1028(o.platforms);
+ checkUnnamed1029(o.supportedCreativeAttributes);
+ checkUnnamed1030(o.userLists);
+ checkUnnamed1031(o.vendorTypes);
+ checkUnnamed1032(o.verticals);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed1026() {
+buildUnnamed1033() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed1026(core.List<api.PretargetingConfig> o) {
+checkUnnamed1033(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -1403,7 +1403,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed1026();
+ o.items = buildUnnamed1033();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1413,33 +1413,33 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed1026(o.items);
+ checkUnnamed1033(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed1027() {
+buildUnnamed1034() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1027(core.List<core.int> o) {
+checkUnnamed1034(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1028() {
+buildUnnamed1035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1028(core.List<core.String> o) {
+checkUnnamed1035(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'));
@@ -2325,8 +2325,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed1027();
- var arg_buyerCreativeId = buildUnnamed1028();
+ var arg_accountId = buildUnnamed1034();
+ var arg_buyerCreativeId = buildUnnamed1035();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_statusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
index c1333fd..f24b229 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
@@ -75,14 +75,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed2062() {
+buildUnnamed2068() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed2062(core.List<api.AccountBidderLocation> o) {
+checkUnnamed2068(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -93,7 +93,7 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed2062();
+ o.bidderLocation = buildUnnamed2068();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -109,7 +109,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed2062(o.bidderLocation);
+ checkUnnamed2068(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -121,14 +121,14 @@
buildCounterAccount--;
}
-buildUnnamed2063() {
+buildUnnamed2069() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2063(core.List<api.Account> o) {
+checkUnnamed2069(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -139,7 +139,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed2063();
+ o.items = buildUnnamed2069();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -149,20 +149,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed2063(o.items);
+ checkUnnamed2069(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed2064() {
+buildUnnamed2070() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2064(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2070(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -173,7 +173,7 @@
var o = new api.AddOrderDealsRequest();
buildCounterAddOrderDealsRequest++;
if (buildCounterAddOrderDealsRequest < 3) {
- o.deals = buildUnnamed2064();
+ o.deals = buildUnnamed2070();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -184,21 +184,21 @@
checkAddOrderDealsRequest(api.AddOrderDealsRequest o) {
buildCounterAddOrderDealsRequest++;
if (buildCounterAddOrderDealsRequest < 3) {
- checkUnnamed2064(o.deals);
+ checkUnnamed2070(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterAddOrderDealsRequest--;
}
-buildUnnamed2065() {
+buildUnnamed2071() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2065(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2071(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -209,7 +209,7 @@
var o = new api.AddOrderDealsResponse();
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- o.deals = buildUnnamed2065();
+ o.deals = buildUnnamed2071();
o.proposalRevisionNumber = "foo";
}
buildCounterAddOrderDealsResponse--;
@@ -219,20 +219,20 @@
checkAddOrderDealsResponse(api.AddOrderDealsResponse o) {
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- checkUnnamed2065(o.deals);
+ checkUnnamed2071(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterAddOrderDealsResponse--;
}
-buildUnnamed2066() {
+buildUnnamed2072() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed2066(core.List<api.MarketplaceNote> o) {
+checkUnnamed2072(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -243,7 +243,7 @@
var o = new api.AddOrderNotesRequest();
buildCounterAddOrderNotesRequest++;
if (buildCounterAddOrderNotesRequest < 3) {
- o.notes = buildUnnamed2066();
+ o.notes = buildUnnamed2072();
}
buildCounterAddOrderNotesRequest--;
return o;
@@ -252,19 +252,19 @@
checkAddOrderNotesRequest(api.AddOrderNotesRequest o) {
buildCounterAddOrderNotesRequest++;
if (buildCounterAddOrderNotesRequest < 3) {
- checkUnnamed2066(o.notes);
+ checkUnnamed2072(o.notes);
}
buildCounterAddOrderNotesRequest--;
}
-buildUnnamed2067() {
+buildUnnamed2073() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed2067(core.List<api.MarketplaceNote> o) {
+checkUnnamed2073(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -275,7 +275,7 @@
var o = new api.AddOrderNotesResponse();
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- o.notes = buildUnnamed2067();
+ o.notes = buildUnnamed2073();
}
buildCounterAddOrderNotesResponse--;
return o;
@@ -284,19 +284,19 @@
checkAddOrderNotesResponse(api.AddOrderNotesResponse o) {
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- checkUnnamed2067(o.notes);
+ checkUnnamed2073(o.notes);
}
buildCounterAddOrderNotesResponse--;
}
-buildUnnamed2068() {
+buildUnnamed2074() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2068(core.List<core.String> o) {
+checkUnnamed2074(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'));
@@ -309,7 +309,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed2068();
+ o.billingId = buildUnnamed2074();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -321,20 +321,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed2068(o.billingId);
+ checkUnnamed2074(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed2069() {
+buildUnnamed2075() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed2069(core.List<api.BillingInfo> o) {
+checkUnnamed2075(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -345,7 +345,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed2069();
+ o.items = buildUnnamed2075();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -355,7 +355,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed2069(o.items);
+ checkUnnamed2075(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -430,14 +430,14 @@
buildCounterContactInformation--;
}
-buildUnnamed2070() {
+buildUnnamed2076() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed2070(core.List<api.Proposal> o) {
+checkUnnamed2076(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -448,7 +448,7 @@
var o = new api.CreateOrdersRequest();
buildCounterCreateOrdersRequest++;
if (buildCounterCreateOrdersRequest < 3) {
- o.proposals = buildUnnamed2070();
+ o.proposals = buildUnnamed2076();
o.webPropertyCode = "foo";
}
buildCounterCreateOrdersRequest--;
@@ -458,20 +458,20 @@
checkCreateOrdersRequest(api.CreateOrdersRequest o) {
buildCounterCreateOrdersRequest++;
if (buildCounterCreateOrdersRequest < 3) {
- checkUnnamed2070(o.proposals);
+ checkUnnamed2076(o.proposals);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
}
buildCounterCreateOrdersRequest--;
}
-buildUnnamed2071() {
+buildUnnamed2077() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed2071(core.List<api.Proposal> o) {
+checkUnnamed2077(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -482,7 +482,7 @@
var o = new api.CreateOrdersResponse();
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- o.proposals = buildUnnamed2071();
+ o.proposals = buildUnnamed2077();
}
buildCounterCreateOrdersResponse--;
return o;
@@ -491,176 +491,50 @@
checkCreateOrdersResponse(api.CreateOrdersResponse o) {
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- checkUnnamed2071(o.proposals);
+ checkUnnamed2077(o.proposals);
}
buildCounterCreateOrdersResponse--;
}
-buildUnnamed2072() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2072(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'));
-}
-
-buildUnnamed2073() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2073(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed2074() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2074(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'));
-}
-
-buildUnnamed2075() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2075(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'));
-}
-
-buildUnnamed2076() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2076(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed2077() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2077(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 buildCounterCreativeCorrectionsContexts = 0;
-buildCreativeCorrectionsContexts() {
- var o = new api.CreativeCorrectionsContexts();
- buildCounterCreativeCorrectionsContexts++;
- if (buildCounterCreativeCorrectionsContexts < 3) {
- o.auctionType = buildUnnamed2075();
- o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed2076();
- o.platform = buildUnnamed2077();
- }
- buildCounterCreativeCorrectionsContexts--;
- return o;
-}
-
-checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) {
- buildCounterCreativeCorrectionsContexts++;
- if (buildCounterCreativeCorrectionsContexts < 3) {
- checkUnnamed2075(o.auctionType);
- unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed2076(o.geoCriteriaId);
- checkUnnamed2077(o.platform);
- }
- buildCounterCreativeCorrectionsContexts--;
-}
-
buildUnnamed2078() {
- var o = new core.List<api.CreativeCorrectionsContexts>();
- o.add(buildCreativeCorrectionsContexts());
- o.add(buildCreativeCorrectionsContexts());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed2078(core.List<api.CreativeCorrectionsContexts> o) {
+checkUnnamed2078(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkCreativeCorrectionsContexts(o[0]);
- checkCreativeCorrectionsContexts(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed2079() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2079(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+buildUnnamed2080() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2079(core.List<core.String> o) {
+checkUnnamed2080(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 buildCounterCreativeCorrections = 0;
-buildCreativeCorrections() {
- var o = new api.CreativeCorrections();
- buildCounterCreativeCorrections++;
- if (buildCounterCreativeCorrections < 3) {
- o.contexts = buildUnnamed2078();
- o.details = buildUnnamed2079();
- o.reason = "foo";
- }
- buildCounterCreativeCorrections--;
- return o;
-}
-
-checkCreativeCorrections(api.CreativeCorrections o) {
- buildCounterCreativeCorrections++;
- if (buildCounterCreativeCorrections < 3) {
- checkUnnamed2078(o.contexts);
- checkUnnamed2079(o.details);
- unittest.expect(o.reason, unittest.equals('foo'));
- }
- buildCounterCreativeCorrections--;
-}
-
-buildUnnamed2080() {
- var o = new core.List<api.CreativeCorrections>();
- o.add(buildCreativeCorrections());
- o.add(buildCreativeCorrections());
- return o;
-}
-
-checkUnnamed2080(core.List<api.CreativeCorrections> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCreativeCorrections(o[0]);
- checkCreativeCorrections(o[1]);
-}
-
buildUnnamed2081() {
var o = new core.List<core.String>();
o.add("foo");
@@ -674,6 +548,132 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2082() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2082(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+buildUnnamed2083() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2083(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 buildCounterCreativeCorrectionsContexts = 0;
+buildCreativeCorrectionsContexts() {
+ var o = new api.CreativeCorrectionsContexts();
+ buildCounterCreativeCorrectionsContexts++;
+ if (buildCounterCreativeCorrectionsContexts < 3) {
+ o.auctionType = buildUnnamed2081();
+ o.contextType = "foo";
+ o.geoCriteriaId = buildUnnamed2082();
+ o.platform = buildUnnamed2083();
+ }
+ buildCounterCreativeCorrectionsContexts--;
+ return o;
+}
+
+checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) {
+ buildCounterCreativeCorrectionsContexts++;
+ if (buildCounterCreativeCorrectionsContexts < 3) {
+ checkUnnamed2081(o.auctionType);
+ unittest.expect(o.contextType, unittest.equals('foo'));
+ checkUnnamed2082(o.geoCriteriaId);
+ checkUnnamed2083(o.platform);
+ }
+ buildCounterCreativeCorrectionsContexts--;
+}
+
+buildUnnamed2084() {
+ var o = new core.List<api.CreativeCorrectionsContexts>();
+ o.add(buildCreativeCorrectionsContexts());
+ o.add(buildCreativeCorrectionsContexts());
+ return o;
+}
+
+checkUnnamed2084(core.List<api.CreativeCorrectionsContexts> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeCorrectionsContexts(o[0]);
+ checkCreativeCorrectionsContexts(o[1]);
+}
+
+buildUnnamed2085() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2085(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 buildCounterCreativeCorrections = 0;
+buildCreativeCorrections() {
+ var o = new api.CreativeCorrections();
+ buildCounterCreativeCorrections++;
+ if (buildCounterCreativeCorrections < 3) {
+ o.contexts = buildUnnamed2084();
+ o.details = buildUnnamed2085();
+ o.reason = "foo";
+ }
+ buildCounterCreativeCorrections--;
+ return o;
+}
+
+checkCreativeCorrections(api.CreativeCorrections o) {
+ buildCounterCreativeCorrections++;
+ if (buildCounterCreativeCorrections < 3) {
+ checkUnnamed2084(o.contexts);
+ checkUnnamed2085(o.details);
+ unittest.expect(o.reason, unittest.equals('foo'));
+ }
+ buildCounterCreativeCorrections--;
+}
+
+buildUnnamed2086() {
+ var o = new core.List<api.CreativeCorrections>();
+ o.add(buildCreativeCorrections());
+ o.add(buildCreativeCorrections());
+ return o;
+}
+
+checkUnnamed2086(core.List<api.CreativeCorrections> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeCorrections(o[0]);
+ checkCreativeCorrections(o[1]);
+}
+
+buildUnnamed2087() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2087(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 buildCounterCreativeFilteringReasonsReasons = 0;
buildCreativeFilteringReasonsReasons() {
var o = new api.CreativeFilteringReasonsReasons();
@@ -695,14 +695,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed2082() {
+buildUnnamed2088() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed2082(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed2088(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -714,7 +714,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed2082();
+ o.reasons = buildUnnamed2088();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -724,32 +724,32 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed2082(o.reasons);
+ checkUnnamed2088(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed2083() {
+buildUnnamed2089() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2083(core.List<core.String> o) {
+checkUnnamed2089(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'));
}
-buildUnnamed2084() {
+buildUnnamed2090() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2084(core.List<core.String> o) {
+checkUnnamed2090(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'));
@@ -801,14 +801,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed2085() {
+buildUnnamed2091() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2085(core.List<core.String> o) {
+checkUnnamed2091(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'));
@@ -850,7 +850,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed2085();
+ o.impressionTrackingUrl = buildUnnamed2091();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -872,7 +872,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed2085(o.impressionTrackingUrl);
+ checkUnnamed2091(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -882,208 +882,58 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed2086() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2086(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed2087() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2087(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed2088() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2088(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed2089() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2089(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'));
-}
-
-buildUnnamed2090() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2090(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed2091() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2091(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 buildCounterCreativeServingRestrictionsContexts = 0;
-buildCreativeServingRestrictionsContexts() {
- var o = new api.CreativeServingRestrictionsContexts();
- buildCounterCreativeServingRestrictionsContexts++;
- if (buildCounterCreativeServingRestrictionsContexts < 3) {
- o.auctionType = buildUnnamed2089();
- o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed2090();
- o.platform = buildUnnamed2091();
- }
- buildCounterCreativeServingRestrictionsContexts--;
- return o;
-}
-
-checkCreativeServingRestrictionsContexts(
- api.CreativeServingRestrictionsContexts o) {
- buildCounterCreativeServingRestrictionsContexts++;
- if (buildCounterCreativeServingRestrictionsContexts < 3) {
- checkUnnamed2089(o.auctionType);
- unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed2090(o.geoCriteriaId);
- checkUnnamed2091(o.platform);
- }
- buildCounterCreativeServingRestrictionsContexts--;
-}
-
buildUnnamed2092() {
- var o = new core.List<api.CreativeServingRestrictionsContexts>();
- o.add(buildCreativeServingRestrictionsContexts());
- o.add(buildCreativeServingRestrictionsContexts());
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
return o;
}
-checkUnnamed2092(core.List<api.CreativeServingRestrictionsContexts> o) {
+checkUnnamed2092(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
- checkCreativeServingRestrictionsContexts(o[0]);
- checkCreativeServingRestrictionsContexts(o[1]);
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
}
buildUnnamed2093() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2093(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+buildUnnamed2094() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2094(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+buildUnnamed2095() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2093(core.List<core.String> o) {
+checkUnnamed2095(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 buildCounterCreativeServingRestrictionsDisapprovalReasons = 0;
-buildCreativeServingRestrictionsDisapprovalReasons() {
- var o = new api.CreativeServingRestrictionsDisapprovalReasons();
- buildCounterCreativeServingRestrictionsDisapprovalReasons++;
- if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- o.details = buildUnnamed2093();
- o.reason = "foo";
- }
- buildCounterCreativeServingRestrictionsDisapprovalReasons--;
- return o;
-}
-
-checkCreativeServingRestrictionsDisapprovalReasons(
- api.CreativeServingRestrictionsDisapprovalReasons o) {
- buildCounterCreativeServingRestrictionsDisapprovalReasons++;
- if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- checkUnnamed2093(o.details);
- unittest.expect(o.reason, unittest.equals('foo'));
- }
- buildCounterCreativeServingRestrictionsDisapprovalReasons--;
-}
-
-buildUnnamed2094() {
- var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>();
- o.add(buildCreativeServingRestrictionsDisapprovalReasons());
- o.add(buildCreativeServingRestrictionsDisapprovalReasons());
- return o;
-}
-
-checkUnnamed2094(
- core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCreativeServingRestrictionsDisapprovalReasons(o[0]);
- checkCreativeServingRestrictionsDisapprovalReasons(o[1]);
-}
-
-core.int buildCounterCreativeServingRestrictions = 0;
-buildCreativeServingRestrictions() {
- var o = new api.CreativeServingRestrictions();
- buildCounterCreativeServingRestrictions++;
- if (buildCounterCreativeServingRestrictions < 3) {
- o.contexts = buildUnnamed2092();
- o.disapprovalReasons = buildUnnamed2094();
- o.reason = "foo";
- }
- buildCounterCreativeServingRestrictions--;
- return o;
-}
-
-checkCreativeServingRestrictions(api.CreativeServingRestrictions o) {
- buildCounterCreativeServingRestrictions++;
- if (buildCounterCreativeServingRestrictions < 3) {
- checkUnnamed2092(o.contexts);
- checkUnnamed2094(o.disapprovalReasons);
- unittest.expect(o.reason, unittest.equals('foo'));
- }
- buildCounterCreativeServingRestrictions--;
-}
-
-buildUnnamed2095() {
- var o = new core.List<api.CreativeServingRestrictions>();
- o.add(buildCreativeServingRestrictions());
- o.add(buildCreativeServingRestrictions());
- return o;
-}
-
-checkUnnamed2095(core.List<api.CreativeServingRestrictions> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCreativeServingRestrictions(o[0]);
- checkCreativeServingRestrictions(o[1]);
-}
-
buildUnnamed2096() {
var o = new core.List<core.int>();
o.add(42);
@@ -1097,6 +947,156 @@
unittest.expect(o[1], unittest.equals(42));
}
+buildUnnamed2097() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2097(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 buildCounterCreativeServingRestrictionsContexts = 0;
+buildCreativeServingRestrictionsContexts() {
+ var o = new api.CreativeServingRestrictionsContexts();
+ buildCounterCreativeServingRestrictionsContexts++;
+ if (buildCounterCreativeServingRestrictionsContexts < 3) {
+ o.auctionType = buildUnnamed2095();
+ o.contextType = "foo";
+ o.geoCriteriaId = buildUnnamed2096();
+ o.platform = buildUnnamed2097();
+ }
+ buildCounterCreativeServingRestrictionsContexts--;
+ return o;
+}
+
+checkCreativeServingRestrictionsContexts(
+ api.CreativeServingRestrictionsContexts o) {
+ buildCounterCreativeServingRestrictionsContexts++;
+ if (buildCounterCreativeServingRestrictionsContexts < 3) {
+ checkUnnamed2095(o.auctionType);
+ unittest.expect(o.contextType, unittest.equals('foo'));
+ checkUnnamed2096(o.geoCriteriaId);
+ checkUnnamed2097(o.platform);
+ }
+ buildCounterCreativeServingRestrictionsContexts--;
+}
+
+buildUnnamed2098() {
+ var o = new core.List<api.CreativeServingRestrictionsContexts>();
+ o.add(buildCreativeServingRestrictionsContexts());
+ o.add(buildCreativeServingRestrictionsContexts());
+ return o;
+}
+
+checkUnnamed2098(core.List<api.CreativeServingRestrictionsContexts> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeServingRestrictionsContexts(o[0]);
+ checkCreativeServingRestrictionsContexts(o[1]);
+}
+
+buildUnnamed2099() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2099(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 buildCounterCreativeServingRestrictionsDisapprovalReasons = 0;
+buildCreativeServingRestrictionsDisapprovalReasons() {
+ var o = new api.CreativeServingRestrictionsDisapprovalReasons();
+ buildCounterCreativeServingRestrictionsDisapprovalReasons++;
+ if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
+ o.details = buildUnnamed2099();
+ o.reason = "foo";
+ }
+ buildCounterCreativeServingRestrictionsDisapprovalReasons--;
+ return o;
+}
+
+checkCreativeServingRestrictionsDisapprovalReasons(
+ api.CreativeServingRestrictionsDisapprovalReasons o) {
+ buildCounterCreativeServingRestrictionsDisapprovalReasons++;
+ if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
+ checkUnnamed2099(o.details);
+ unittest.expect(o.reason, unittest.equals('foo'));
+ }
+ buildCounterCreativeServingRestrictionsDisapprovalReasons--;
+}
+
+buildUnnamed2100() {
+ var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>();
+ o.add(buildCreativeServingRestrictionsDisapprovalReasons());
+ o.add(buildCreativeServingRestrictionsDisapprovalReasons());
+ return o;
+}
+
+checkUnnamed2100(
+ core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeServingRestrictionsDisapprovalReasons(o[0]);
+ checkCreativeServingRestrictionsDisapprovalReasons(o[1]);
+}
+
+core.int buildCounterCreativeServingRestrictions = 0;
+buildCreativeServingRestrictions() {
+ var o = new api.CreativeServingRestrictions();
+ buildCounterCreativeServingRestrictions++;
+ if (buildCounterCreativeServingRestrictions < 3) {
+ o.contexts = buildUnnamed2098();
+ o.disapprovalReasons = buildUnnamed2100();
+ o.reason = "foo";
+ }
+ buildCounterCreativeServingRestrictions--;
+ return o;
+}
+
+checkCreativeServingRestrictions(api.CreativeServingRestrictions o) {
+ buildCounterCreativeServingRestrictions++;
+ if (buildCounterCreativeServingRestrictions < 3) {
+ checkUnnamed2098(o.contexts);
+ checkUnnamed2100(o.disapprovalReasons);
+ unittest.expect(o.reason, unittest.equals('foo'));
+ }
+ buildCounterCreativeServingRestrictions--;
+}
+
+buildUnnamed2101() {
+ var o = new core.List<api.CreativeServingRestrictions>();
+ o.add(buildCreativeServingRestrictions());
+ o.add(buildCreativeServingRestrictions());
+ return o;
+}
+
+checkUnnamed2101(core.List<api.CreativeServingRestrictions> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeServingRestrictions(o[0]);
+ checkCreativeServingRestrictions(o[1]);
+}
+
+buildUnnamed2102() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2102(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
core.int buildCounterCreative = 0;
buildCreative() {
var o = new api.Creative();
@@ -1105,28 +1105,28 @@
o.HTMLSnippet = "foo";
o.accountId = 42;
o.adChoicesDestinationUrl = "foo";
- o.advertiserId = buildUnnamed2072();
+ o.advertiserId = buildUnnamed2078();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed2073();
+ o.attribute = buildUnnamed2079();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed2074();
- o.corrections = buildUnnamed2080();
+ o.clickThroughUrl = buildUnnamed2080();
+ o.corrections = buildUnnamed2086();
o.dealsStatus = "foo";
- o.detectedDomains = buildUnnamed2081();
+ o.detectedDomains = buildUnnamed2087();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed2083();
+ o.impressionTrackingUrl = buildUnnamed2089();
o.kind = "foo";
- o.languages = buildUnnamed2084();
+ o.languages = buildUnnamed2090();
o.nativeAd = buildCreativeNativeAd();
o.openAuctionStatus = "foo";
- o.productCategories = buildUnnamed2086();
- o.restrictedCategories = buildUnnamed2087();
- o.sensitiveCategories = buildUnnamed2088();
- o.servingRestrictions = buildUnnamed2095();
- o.vendorType = buildUnnamed2096();
+ o.productCategories = buildUnnamed2092();
+ o.restrictedCategories = buildUnnamed2093();
+ o.sensitiveCategories = buildUnnamed2094();
+ o.servingRestrictions = buildUnnamed2101();
+ o.vendorType = buildUnnamed2102();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -1141,29 +1141,29 @@
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo'));
- checkUnnamed2072(o.advertiserId);
+ checkUnnamed2078(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2073(o.attribute);
+ checkUnnamed2079(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed2074(o.clickThroughUrl);
- checkUnnamed2080(o.corrections);
+ checkUnnamed2080(o.clickThroughUrl);
+ checkUnnamed2086(o.corrections);
unittest.expect(o.dealsStatus, unittest.equals('foo'));
- checkUnnamed2081(o.detectedDomains);
+ checkUnnamed2087(o.detectedDomains);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed2083(o.impressionTrackingUrl);
+ checkUnnamed2089(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2084(o.languages);
+ checkUnnamed2090(o.languages);
checkCreativeNativeAd(o.nativeAd);
unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
- checkUnnamed2086(o.productCategories);
- checkUnnamed2087(o.restrictedCategories);
- checkUnnamed2088(o.sensitiveCategories);
- checkUnnamed2095(o.servingRestrictions);
- checkUnnamed2096(o.vendorType);
+ checkUnnamed2092(o.productCategories);
+ checkUnnamed2093(o.restrictedCategories);
+ checkUnnamed2094(o.sensitiveCategories);
+ checkUnnamed2101(o.servingRestrictions);
+ checkUnnamed2102(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -1194,14 +1194,14 @@
buildCounterCreativeDealIdsDealStatuses--;
}
-buildUnnamed2097() {
+buildUnnamed2103() {
var o = new core.List<api.CreativeDealIdsDealStatuses>();
o.add(buildCreativeDealIdsDealStatuses());
o.add(buildCreativeDealIdsDealStatuses());
return o;
}
-checkUnnamed2097(core.List<api.CreativeDealIdsDealStatuses> o) {
+checkUnnamed2103(core.List<api.CreativeDealIdsDealStatuses> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDealIdsDealStatuses(o[0]);
checkCreativeDealIdsDealStatuses(o[1]);
@@ -1212,7 +1212,7 @@
var o = new api.CreativeDealIds();
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- o.dealStatuses = buildUnnamed2097();
+ o.dealStatuses = buildUnnamed2103();
o.kind = "foo";
}
buildCounterCreativeDealIds--;
@@ -1222,20 +1222,20 @@
checkCreativeDealIds(api.CreativeDealIds o) {
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- checkUnnamed2097(o.dealStatuses);
+ checkUnnamed2103(o.dealStatuses);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCreativeDealIds--;
}
-buildUnnamed2098() {
+buildUnnamed2104() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed2098(core.List<api.Creative> o) {
+checkUnnamed2104(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -1246,7 +1246,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed2098();
+ o.items = buildUnnamed2104();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1257,7 +1257,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed2098(o.items);
+ checkUnnamed2104(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1351,14 +1351,14 @@
buildCounterDealTerms--;
}
-buildUnnamed2099() {
+buildUnnamed2105() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed2099(core.List<api.PricePerBuyer> o) {
+checkUnnamed2105(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1370,7 +1370,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo();
- o.fixedPrices = buildUnnamed2099();
+ o.fixedPrices = buildUnnamed2105();
o.guaranteedImpressions = "foo";
o.guaranteedLooks = "foo";
o.minimumDailyLooks = "foo";
@@ -1384,7 +1384,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo);
- checkUnnamed2099(o.fixedPrices);
+ checkUnnamed2105(o.fixedPrices);
unittest.expect(o.guaranteedImpressions, unittest.equals('foo'));
unittest.expect(o.guaranteedLooks, unittest.equals('foo'));
unittest.expect(o.minimumDailyLooks, unittest.equals('foo'));
@@ -1418,14 +1418,14 @@
buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--;
}
-buildUnnamed2100() {
+buildUnnamed2106() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed2100(core.List<api.PricePerBuyer> o) {
+checkUnnamed2106(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1437,7 +1437,7 @@
buildCounterDealTermsNonGuaranteedAuctionTerms++;
if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
o.autoOptimizePrivateAuction = true;
- o.reservePricePerBuyers = buildUnnamed2100();
+ o.reservePricePerBuyers = buildUnnamed2106();
}
buildCounterDealTermsNonGuaranteedAuctionTerms--;
return o;
@@ -1448,19 +1448,19 @@
buildCounterDealTermsNonGuaranteedAuctionTerms++;
if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue);
- checkUnnamed2100(o.reservePricePerBuyers);
+ checkUnnamed2106(o.reservePricePerBuyers);
}
buildCounterDealTermsNonGuaranteedAuctionTerms--;
}
-buildUnnamed2101() {
+buildUnnamed2107() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed2101(core.List<api.PricePerBuyer> o) {
+checkUnnamed2107(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1471,7 +1471,7 @@
var o = new api.DealTermsNonGuaranteedFixedPriceTerms();
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- o.fixedPrices = buildUnnamed2101();
+ o.fixedPrices = buildUnnamed2107();
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
return o;
@@ -1481,7 +1481,7 @@
api.DealTermsNonGuaranteedFixedPriceTerms o) {
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- checkUnnamed2101(o.fixedPrices);
+ checkUnnamed2107(o.fixedPrices);
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
}
@@ -1508,14 +1508,14 @@
buildCounterDealTermsRubiconNonGuaranteedTerms--;
}
-buildUnnamed2102() {
+buildUnnamed2108() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2102(core.List<core.String> o) {
+checkUnnamed2108(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'));
@@ -1526,7 +1526,7 @@
var o = new api.DeleteOrderDealsRequest();
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- o.dealIds = buildUnnamed2102();
+ o.dealIds = buildUnnamed2108();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -1537,21 +1537,21 @@
checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) {
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- checkUnnamed2102(o.dealIds);
+ checkUnnamed2108(o.dealIds);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsRequest--;
}
-buildUnnamed2103() {
+buildUnnamed2109() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2103(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2109(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1562,7 +1562,7 @@
var o = new api.DeleteOrderDealsResponse();
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- o.deals = buildUnnamed2103();
+ o.deals = buildUnnamed2109();
o.proposalRevisionNumber = "foo";
}
buildCounterDeleteOrderDealsResponse--;
@@ -1572,20 +1572,20 @@
checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) {
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- checkUnnamed2103(o.deals);
+ checkUnnamed2109(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsResponse--;
}
-buildUnnamed2104() {
+buildUnnamed2110() {
var o = new core.List<api.DeliveryControlFrequencyCap>();
o.add(buildDeliveryControlFrequencyCap());
o.add(buildDeliveryControlFrequencyCap());
return o;
}
-checkUnnamed2104(core.List<api.DeliveryControlFrequencyCap> o) {
+checkUnnamed2110(core.List<api.DeliveryControlFrequencyCap> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeliveryControlFrequencyCap(o[0]);
checkDeliveryControlFrequencyCap(o[1]);
@@ -1598,7 +1598,7 @@
if (buildCounterDeliveryControl < 3) {
o.creativeBlockingLevel = "foo";
o.deliveryRateType = "foo";
- o.frequencyCaps = buildUnnamed2104();
+ o.frequencyCaps = buildUnnamed2110();
}
buildCounterDeliveryControl--;
return o;
@@ -1609,7 +1609,7 @@
if (buildCounterDeliveryControl < 3) {
unittest.expect(o.creativeBlockingLevel, unittest.equals('foo'));
unittest.expect(o.deliveryRateType, unittest.equals('foo'));
- checkUnnamed2104(o.frequencyCaps);
+ checkUnnamed2110(o.frequencyCaps);
}
buildCounterDeliveryControl--;
}
@@ -1637,14 +1637,14 @@
buildCounterDeliveryControlFrequencyCap--;
}
-buildUnnamed2105() {
+buildUnnamed2111() {
var o = new core.List<api.DimensionDimensionValue>();
o.add(buildDimensionDimensionValue());
o.add(buildDimensionDimensionValue());
return o;
}
-checkUnnamed2105(core.List<api.DimensionDimensionValue> o) {
+checkUnnamed2111(core.List<api.DimensionDimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionDimensionValue(o[0]);
checkDimensionDimensionValue(o[1]);
@@ -1656,7 +1656,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
o.dimensionType = "foo";
- o.dimensionValues = buildUnnamed2105();
+ o.dimensionValues = buildUnnamed2111();
}
buildCounterDimension--;
return o;
@@ -1666,7 +1666,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
unittest.expect(o.dimensionType, unittest.equals('foo'));
- checkUnnamed2105(o.dimensionValues);
+ checkUnnamed2111(o.dimensionValues);
}
buildCounterDimension--;
}
@@ -1694,14 +1694,14 @@
buildCounterDimensionDimensionValue--;
}
-buildUnnamed2106() {
+buildUnnamed2112() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2106(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2112(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1712,7 +1712,7 @@
var o = new api.EditAllOrderDealsRequest();
buildCounterEditAllOrderDealsRequest++;
if (buildCounterEditAllOrderDealsRequest < 3) {
- o.deals = buildUnnamed2106();
+ o.deals = buildUnnamed2112();
o.proposal = buildProposal();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
@@ -1724,7 +1724,7 @@
checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) {
buildCounterEditAllOrderDealsRequest++;
if (buildCounterEditAllOrderDealsRequest < 3) {
- checkUnnamed2106(o.deals);
+ checkUnnamed2112(o.deals);
checkProposal(o.proposal);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
@@ -1732,14 +1732,14 @@
buildCounterEditAllOrderDealsRequest--;
}
-buildUnnamed2107() {
+buildUnnamed2113() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2107(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2113(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1750,7 +1750,7 @@
var o = new api.EditAllOrderDealsResponse();
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- o.deals = buildUnnamed2107();
+ o.deals = buildUnnamed2113();
o.orderRevisionNumber = "foo";
}
buildCounterEditAllOrderDealsResponse--;
@@ -1760,20 +1760,20 @@
checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) {
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- checkUnnamed2107(o.deals);
+ checkUnnamed2113(o.deals);
unittest.expect(o.orderRevisionNumber, unittest.equals('foo'));
}
buildCounterEditAllOrderDealsResponse--;
}
-buildUnnamed2108() {
+buildUnnamed2114() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed2108(core.List<api.Product> o) {
+checkUnnamed2114(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1784,7 +1784,7 @@
var o = new api.GetOffersResponse();
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- o.products = buildUnnamed2108();
+ o.products = buildUnnamed2114();
}
buildCounterGetOffersResponse--;
return o;
@@ -1793,19 +1793,19 @@
checkGetOffersResponse(api.GetOffersResponse o) {
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- checkUnnamed2108(o.products);
+ checkUnnamed2114(o.products);
}
buildCounterGetOffersResponse--;
}
-buildUnnamed2109() {
+buildUnnamed2115() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed2109(core.List<api.MarketplaceDeal> o) {
+checkUnnamed2115(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1816,7 +1816,7 @@
var o = new api.GetOrderDealsResponse();
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- o.deals = buildUnnamed2109();
+ o.deals = buildUnnamed2115();
}
buildCounterGetOrderDealsResponse--;
return o;
@@ -1825,19 +1825,19 @@
checkGetOrderDealsResponse(api.GetOrderDealsResponse o) {
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- checkUnnamed2109(o.deals);
+ checkUnnamed2115(o.deals);
}
buildCounterGetOrderDealsResponse--;
}
-buildUnnamed2110() {
+buildUnnamed2116() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed2110(core.List<api.MarketplaceNote> o) {
+checkUnnamed2116(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -1848,7 +1848,7 @@
var o = new api.GetOrderNotesResponse();
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- o.notes = buildUnnamed2110();
+ o.notes = buildUnnamed2116();
}
buildCounterGetOrderNotesResponse--;
return o;
@@ -1857,19 +1857,19 @@
checkGetOrderNotesResponse(api.GetOrderNotesResponse o) {
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- checkUnnamed2110(o.notes);
+ checkUnnamed2116(o.notes);
}
buildCounterGetOrderNotesResponse--;
}
-buildUnnamed2111() {
+buildUnnamed2117() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed2111(core.List<api.Proposal> o) {
+checkUnnamed2117(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -1880,7 +1880,7 @@
var o = new api.GetOrdersResponse();
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- o.proposals = buildUnnamed2111();
+ o.proposals = buildUnnamed2117();
}
buildCounterGetOrdersResponse--;
return o;
@@ -1889,19 +1889,19 @@
checkGetOrdersResponse(api.GetOrdersResponse o) {
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- checkUnnamed2111(o.proposals);
+ checkUnnamed2117(o.proposals);
}
buildCounterGetOrdersResponse--;
}
-buildUnnamed2112() {
+buildUnnamed2118() {
var o = new core.List<api.PublisherProfileApiProto>();
o.add(buildPublisherProfileApiProto());
o.add(buildPublisherProfileApiProto());
return o;
}
-checkUnnamed2112(core.List<api.PublisherProfileApiProto> o) {
+checkUnnamed2118(core.List<api.PublisherProfileApiProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublisherProfileApiProto(o[0]);
checkPublisherProfileApiProto(o[1]);
@@ -1912,7 +1912,7 @@
var o = new api.GetPublisherProfilesByAccountIdResponse();
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- o.profiles = buildUnnamed2112();
+ o.profiles = buildUnnamed2118();
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
return o;
@@ -1922,32 +1922,32 @@
api.GetPublisherProfilesByAccountIdResponse o) {
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- checkUnnamed2112(o.profiles);
+ checkUnnamed2118(o.profiles);
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
}
-buildUnnamed2113() {
+buildUnnamed2119() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed2113(core.List<api.ContactInformation> o) {
+checkUnnamed2119(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed2114() {
+buildUnnamed2120() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed2114(core.List<api.SharedTargeting> o) {
+checkUnnamed2120(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -1978,8 +1978,8 @@
o.productRevisionNumber = "foo";
o.programmaticCreativeSource = "foo";
o.proposalId = "foo";
- o.sellerContacts = buildUnnamed2113();
- o.sharedTargetings = buildUnnamed2114();
+ o.sellerContacts = buildUnnamed2119();
+ o.sharedTargetings = buildUnnamed2120();
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
o.webPropertyCode = "foo";
@@ -2011,8 +2011,8 @@
unittest.expect(o.productRevisionNumber, unittest.equals('foo'));
unittest.expect(o.programmaticCreativeSource, unittest.equals('foo'));
unittest.expect(o.proposalId, unittest.equals('foo'));
- checkUnnamed2113(o.sellerContacts);
- checkUnnamed2114(o.sharedTargetings);
+ checkUnnamed2119(o.sellerContacts);
+ checkUnnamed2120(o.sharedTargetings);
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
@@ -2099,7 +2099,7 @@
buildCounterMarketplaceNote--;
}
-buildUnnamed2115() {
+buildUnnamed2121() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2114,7 +2114,7 @@
return o;
}
-checkUnnamed2115(core.List<core.Object> o) {
+checkUnnamed2121(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -2128,7 +2128,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2116() {
+buildUnnamed2122() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2143,7 +2143,7 @@
return o;
}
-checkUnnamed2116(core.List<core.Object> o) {
+checkUnnamed2122(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -2157,7 +2157,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2117() {
+buildUnnamed2123() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2172,7 +2172,7 @@
return o;
}
-checkUnnamed2117(core.List<core.Object> o) {
+checkUnnamed2123(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2186,7 +2186,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2118() {
+buildUnnamed2124() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2201,7 +2201,7 @@
return o;
}
-checkUnnamed2118(core.List<core.Object> o) {
+checkUnnamed2124(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2222,11 +2222,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed2115();
- o.cookieMatcherStatusRate = buildUnnamed2116();
- o.creativeStatusRate = buildUnnamed2117();
+ o.calloutStatusRate = buildUnnamed2121();
+ o.cookieMatcherStatusRate = buildUnnamed2122();
+ o.creativeStatusRate = buildUnnamed2123();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed2118();
+ o.hostedMatchStatusRate = buildUnnamed2124();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -2252,11 +2252,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed2115(o.calloutStatusRate);
- checkUnnamed2116(o.cookieMatcherStatusRate);
- checkUnnamed2117(o.creativeStatusRate);
+ checkUnnamed2121(o.calloutStatusRate);
+ checkUnnamed2122(o.cookieMatcherStatusRate);
+ checkUnnamed2123(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed2118(o.hostedMatchStatusRate);
+ checkUnnamed2124(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -2276,14 +2276,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed2119() {
+buildUnnamed2125() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed2119(core.List<api.PerformanceReport> o) {
+checkUnnamed2125(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -2295,7 +2295,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed2119();
+ o.performanceReport = buildUnnamed2125();
}
buildCounterPerformanceReportList--;
return o;
@@ -2305,19 +2305,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2119(o.performanceReport);
+ checkUnnamed2125(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed2120() {
+buildUnnamed2126() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2120(core.List<core.String> o) {
+checkUnnamed2126(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'));
@@ -2344,119 +2344,19 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed2121() {
+buildUnnamed2127() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed2121(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed2127(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed2122() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2122(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'));
-}
-
-buildUnnamed2123() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2123(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 buildCounterPretargetingConfigExcludedPlacements = 0;
-buildPretargetingConfigExcludedPlacements() {
- var o = new api.PretargetingConfigExcludedPlacements();
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigExcludedPlacements--;
- return o;
-}
-
-checkPretargetingConfigExcludedPlacements(
- api.PretargetingConfigExcludedPlacements o) {
- buildCounterPretargetingConfigExcludedPlacements++;
- if (buildCounterPretargetingConfigExcludedPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigExcludedPlacements--;
-}
-
-buildUnnamed2124() {
- var o = new core.List<api.PretargetingConfigExcludedPlacements>();
- o.add(buildPretargetingConfigExcludedPlacements());
- o.add(buildPretargetingConfigExcludedPlacements());
- return o;
-}
-
-checkUnnamed2124(core.List<api.PretargetingConfigExcludedPlacements> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigExcludedPlacements(o[0]);
- checkPretargetingConfigExcludedPlacements(o[1]);
-}
-
-buildUnnamed2125() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2125(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'));
-}
-
-buildUnnamed2126() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2126(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'));
-}
-
-buildUnnamed2127() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2127(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'));
-}
-
buildUnnamed2128() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2483,17 +2383,39 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2130() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+core.int buildCounterPretargetingConfigExcludedPlacements = 0;
+buildPretargetingConfigExcludedPlacements() {
+ var o = new api.PretargetingConfigExcludedPlacements();
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
return o;
}
-checkUnnamed2130(core.List<core.String> o) {
+checkPretargetingConfigExcludedPlacements(
+ api.PretargetingConfigExcludedPlacements o) {
+ buildCounterPretargetingConfigExcludedPlacements++;
+ if (buildCounterPretargetingConfigExcludedPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigExcludedPlacements--;
+}
+
+buildUnnamed2130() {
+ var o = new core.List<api.PretargetingConfigExcludedPlacements>();
+ o.add(buildPretargetingConfigExcludedPlacements());
+ o.add(buildPretargetingConfigExcludedPlacements());
+ return o;
+}
+
+checkUnnamed2130(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkPretargetingConfigExcludedPlacements(o[0]);
+ checkPretargetingConfigExcludedPlacements(o[1]);
}
buildUnnamed2131() {
@@ -2509,38 +2431,17 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterPretargetingConfigPlacements = 0;
-buildPretargetingConfigPlacements() {
- var o = new api.PretargetingConfigPlacements();
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- o.token = "foo";
- o.type = "foo";
- }
- buildCounterPretargetingConfigPlacements--;
- return o;
-}
-
-checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
- buildCounterPretargetingConfigPlacements++;
- if (buildCounterPretargetingConfigPlacements < 3) {
- unittest.expect(o.token, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterPretargetingConfigPlacements--;
-}
-
buildUnnamed2132() {
- var o = new core.List<api.PretargetingConfigPlacements>();
- o.add(buildPretargetingConfigPlacements());
- o.add(buildPretargetingConfigPlacements());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed2132(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed2132(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkPretargetingConfigPlacements(o[0]);
- checkPretargetingConfigPlacements(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed2133() {
@@ -2608,14 +2509,113 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterPretargetingConfigPlacements = 0;
+buildPretargetingConfigPlacements() {
+ var o = new api.PretargetingConfigPlacements();
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ o.token = "foo";
+ o.type = "foo";
+ }
+ buildCounterPretargetingConfigPlacements--;
+ return o;
+}
+
+checkPretargetingConfigPlacements(api.PretargetingConfigPlacements o) {
+ buildCounterPretargetingConfigPlacements++;
+ if (buildCounterPretargetingConfigPlacements < 3) {
+ unittest.expect(o.token, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterPretargetingConfigPlacements--;
+}
+
buildUnnamed2138() {
+ var o = new core.List<api.PretargetingConfigPlacements>();
+ o.add(buildPretargetingConfigPlacements());
+ o.add(buildPretargetingConfigPlacements());
+ return o;
+}
+
+checkUnnamed2138(core.List<api.PretargetingConfigPlacements> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPretargetingConfigPlacements(o[0]);
+ checkPretargetingConfigPlacements(o[1]);
+}
+
+buildUnnamed2139() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2138(core.List<core.String> o) {
+checkUnnamed2139(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'));
+}
+
+buildUnnamed2140() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2140(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'));
+}
+
+buildUnnamed2141() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2141(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'));
+}
+
+buildUnnamed2142() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2142(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'));
+}
+
+buildUnnamed2143() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2143(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'));
+}
+
+buildUnnamed2144() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2144(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'));
@@ -2645,14 +2645,14 @@
buildCounterPretargetingConfigVideoPlayerSizes--;
}
-buildUnnamed2139() {
+buildUnnamed2145() {
var o = new core.List<api.PretargetingConfigVideoPlayerSizes>();
o.add(buildPretargetingConfigVideoPlayerSizes());
o.add(buildPretargetingConfigVideoPlayerSizes());
return o;
}
-checkUnnamed2139(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
+checkUnnamed2145(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigVideoPlayerSizes(o[0]);
checkPretargetingConfigVideoPlayerSizes(o[1]);
@@ -2666,29 +2666,29 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed2120();
- o.dimensions = buildUnnamed2121();
- o.excludedContentLabels = buildUnnamed2122();
- o.excludedGeoCriteriaIds = buildUnnamed2123();
- o.excludedPlacements = buildUnnamed2124();
- o.excludedUserLists = buildUnnamed2125();
- o.excludedVerticals = buildUnnamed2126();
- o.geoCriteriaIds = buildUnnamed2127();
+ o.creativeType = buildUnnamed2126();
+ o.dimensions = buildUnnamed2127();
+ o.excludedContentLabels = buildUnnamed2128();
+ o.excludedGeoCriteriaIds = buildUnnamed2129();
+ o.excludedPlacements = buildUnnamed2130();
+ o.excludedUserLists = buildUnnamed2131();
+ o.excludedVerticals = buildUnnamed2132();
+ o.geoCriteriaIds = buildUnnamed2133();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed2128();
+ o.languages = buildUnnamed2134();
o.minimumViewabilityDecile = 42;
- o.mobileCarriers = buildUnnamed2129();
- o.mobileDevices = buildUnnamed2130();
- o.mobileOperatingSystemVersions = buildUnnamed2131();
- o.placements = buildUnnamed2132();
- o.platforms = buildUnnamed2133();
- o.supportedCreativeAttributes = buildUnnamed2134();
- o.userIdentifierDataRequired = buildUnnamed2135();
- o.userLists = buildUnnamed2136();
- o.vendorTypes = buildUnnamed2137();
- o.verticals = buildUnnamed2138();
- o.videoPlayerSizes = buildUnnamed2139();
+ o.mobileCarriers = buildUnnamed2135();
+ o.mobileDevices = buildUnnamed2136();
+ o.mobileOperatingSystemVersions = buildUnnamed2137();
+ o.placements = buildUnnamed2138();
+ o.platforms = buildUnnamed2139();
+ o.supportedCreativeAttributes = buildUnnamed2140();
+ o.userIdentifierDataRequired = buildUnnamed2141();
+ o.userLists = buildUnnamed2142();
+ o.vendorTypes = buildUnnamed2143();
+ o.verticals = buildUnnamed2144();
+ o.videoPlayerSizes = buildUnnamed2145();
}
buildCounterPretargetingConfig--;
return o;
@@ -2700,41 +2700,41 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed2120(o.creativeType);
- checkUnnamed2121(o.dimensions);
- checkUnnamed2122(o.excludedContentLabels);
- checkUnnamed2123(o.excludedGeoCriteriaIds);
- checkUnnamed2124(o.excludedPlacements);
- checkUnnamed2125(o.excludedUserLists);
- checkUnnamed2126(o.excludedVerticals);
- checkUnnamed2127(o.geoCriteriaIds);
+ checkUnnamed2126(o.creativeType);
+ checkUnnamed2127(o.dimensions);
+ checkUnnamed2128(o.excludedContentLabels);
+ checkUnnamed2129(o.excludedGeoCriteriaIds);
+ checkUnnamed2130(o.excludedPlacements);
+ checkUnnamed2131(o.excludedUserLists);
+ checkUnnamed2132(o.excludedVerticals);
+ checkUnnamed2133(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2128(o.languages);
+ checkUnnamed2134(o.languages);
unittest.expect(o.minimumViewabilityDecile, unittest.equals(42));
- checkUnnamed2129(o.mobileCarriers);
- checkUnnamed2130(o.mobileDevices);
- checkUnnamed2131(o.mobileOperatingSystemVersions);
- checkUnnamed2132(o.placements);
- checkUnnamed2133(o.platforms);
- checkUnnamed2134(o.supportedCreativeAttributes);
- checkUnnamed2135(o.userIdentifierDataRequired);
- checkUnnamed2136(o.userLists);
- checkUnnamed2137(o.vendorTypes);
- checkUnnamed2138(o.verticals);
- checkUnnamed2139(o.videoPlayerSizes);
+ checkUnnamed2135(o.mobileCarriers);
+ checkUnnamed2136(o.mobileDevices);
+ checkUnnamed2137(o.mobileOperatingSystemVersions);
+ checkUnnamed2138(o.placements);
+ checkUnnamed2139(o.platforms);
+ checkUnnamed2140(o.supportedCreativeAttributes);
+ checkUnnamed2141(o.userIdentifierDataRequired);
+ checkUnnamed2142(o.userLists);
+ checkUnnamed2143(o.vendorTypes);
+ checkUnnamed2144(o.verticals);
+ checkUnnamed2145(o.videoPlayerSizes);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed2140() {
+buildUnnamed2146() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed2140(core.List<api.PretargetingConfig> o) {
+checkUnnamed2146(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -2745,7 +2745,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed2140();
+ o.items = buildUnnamed2146();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -2755,7 +2755,7 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed2140(o.items);
+ checkUnnamed2146(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
@@ -2832,40 +2832,40 @@
buildCounterPrivateData--;
}
-buildUnnamed2141() {
+buildUnnamed2147() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed2141(core.List<api.ContactInformation> o) {
+checkUnnamed2147(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed2142() {
+buildUnnamed2148() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed2142(core.List<api.MarketplaceLabel> o) {
+checkUnnamed2148(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed2143() {
+buildUnnamed2149() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed2143(core.List<api.SharedTargeting> o) {
+checkUnnamed2149(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -2879,7 +2879,7 @@
o.billedBuyer = buildBuyer();
o.buyer = buildBuyer();
o.creationTimeMs = "foo";
- o.creatorContacts = buildUnnamed2141();
+ o.creatorContacts = buildUnnamed2147();
o.creatorRole = "foo";
o.deliveryControl = buildDeliveryControl();
o.flightEndTimeMs = "foo";
@@ -2887,7 +2887,7 @@
o.hasCreatorSignedOff = true;
o.inventorySource = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2142();
+ o.labels = buildUnnamed2148();
o.lastUpdateTimeMs = "foo";
o.legacyOfferId = "foo";
o.marketplacePublisherProfileId = "foo";
@@ -2898,7 +2898,7 @@
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.revisionNumber = "foo";
o.seller = buildSeller();
- o.sharedTargetings = buildUnnamed2143();
+ o.sharedTargetings = buildUnnamed2149();
o.state = "foo";
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
@@ -2914,7 +2914,7 @@
checkBuyer(o.billedBuyer);
checkBuyer(o.buyer);
unittest.expect(o.creationTimeMs, unittest.equals('foo'));
- checkUnnamed2141(o.creatorContacts);
+ checkUnnamed2147(o.creatorContacts);
unittest.expect(o.creatorRole, unittest.equals('foo'));
checkDeliveryControl(o.deliveryControl);
unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
@@ -2922,7 +2922,7 @@
unittest.expect(o.hasCreatorSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2142(o.labels);
+ checkUnnamed2148(o.labels);
unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
unittest.expect(o.legacyOfferId, unittest.equals('foo'));
unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo'));
@@ -2933,7 +2933,7 @@
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.revisionNumber, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed2143(o.sharedTargetings);
+ checkUnnamed2149(o.sharedTargetings);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
@@ -2942,53 +2942,53 @@
buildCounterProduct--;
}
-buildUnnamed2144() {
+buildUnnamed2150() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed2144(core.List<api.ContactInformation> o) {
+checkUnnamed2150(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed2145() {
+buildUnnamed2151() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2145(core.List<core.String> o) {
+checkUnnamed2151(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'));
}
-buildUnnamed2146() {
+buildUnnamed2152() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed2146(core.List<api.MarketplaceLabel> o) {
+checkUnnamed2152(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed2147() {
+buildUnnamed2153() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed2147(core.List<api.ContactInformation> o) {
+checkUnnamed2153(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
@@ -3001,16 +3001,16 @@
if (buildCounterProposal < 3) {
o.billedBuyer = buildBuyer();
o.buyer = buildBuyer();
- o.buyerContacts = buildUnnamed2144();
+ o.buyerContacts = buildUnnamed2150();
o.buyerPrivateData = buildPrivateData();
- o.dbmAdvertiserIds = buildUnnamed2145();
+ o.dbmAdvertiserIds = buildUnnamed2151();
o.hasBuyerSignedOff = true;
o.hasSellerSignedOff = true;
o.inventorySource = "foo";
o.isRenegotiating = true;
o.isSetupComplete = true;
o.kind = "foo";
- o.labels = buildUnnamed2146();
+ o.labels = buildUnnamed2152();
o.lastUpdaterOrCommentorRole = "foo";
o.name = "foo";
o.negotiationId = "foo";
@@ -3021,7 +3021,7 @@
o.revisionNumber = "foo";
o.revisionTimeMs = "foo";
o.seller = buildSeller();
- o.sellerContacts = buildUnnamed2147();
+ o.sellerContacts = buildUnnamed2153();
}
buildCounterProposal--;
return o;
@@ -3032,16 +3032,16 @@
if (buildCounterProposal < 3) {
checkBuyer(o.billedBuyer);
checkBuyer(o.buyer);
- checkUnnamed2144(o.buyerContacts);
+ checkUnnamed2150(o.buyerContacts);
checkPrivateData(o.buyerPrivateData);
- checkUnnamed2145(o.dbmAdvertiserIds);
+ checkUnnamed2151(o.dbmAdvertiserIds);
unittest.expect(o.hasBuyerSignedOff, unittest.isTrue);
unittest.expect(o.hasSellerSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.isRenegotiating, unittest.isTrue);
unittest.expect(o.isSetupComplete, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2146(o.labels);
+ checkUnnamed2152(o.labels);
unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.negotiationId, unittest.equals('foo'));
@@ -3052,32 +3052,32 @@
unittest.expect(o.revisionNumber, unittest.equals('foo'));
unittest.expect(o.revisionTimeMs, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed2147(o.sellerContacts);
+ checkUnnamed2153(o.sellerContacts);
}
buildCounterProposal--;
}
-buildUnnamed2148() {
+buildUnnamed2154() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2148(core.List<core.String> o) {
+checkUnnamed2154(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'));
}
-buildUnnamed2149() {
+buildUnnamed2155() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2149(core.List<core.String> o) {
+checkUnnamed2155(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'));
@@ -3103,14 +3103,14 @@
o.overview = "foo";
o.profileId = 42;
o.programmaticContact = "foo";
- o.publisherDomains = buildUnnamed2148();
+ o.publisherDomains = buildUnnamed2154();
o.publisherProfileId = "foo";
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.rateCardInfoLink = "foo";
o.samplePageLink = "foo";
o.seller = buildSeller();
o.state = "foo";
- o.topHeadlines = buildUnnamed2149();
+ o.topHeadlines = buildUnnamed2155();
}
buildCounterPublisherProfileApiProto--;
return o;
@@ -3134,26 +3134,26 @@
unittest.expect(o.overview, unittest.equals('foo'));
unittest.expect(o.profileId, unittest.equals(42));
unittest.expect(o.programmaticContact, unittest.equals('foo'));
- checkUnnamed2148(o.publisherDomains);
+ checkUnnamed2154(o.publisherDomains);
unittest.expect(o.publisherProfileId, unittest.equals('foo'));
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.rateCardInfoLink, unittest.equals('foo'));
unittest.expect(o.samplePageLink, unittest.equals('foo'));
checkSeller(o.seller);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed2149(o.topHeadlines);
+ checkUnnamed2155(o.topHeadlines);
}
buildCounterPublisherProfileApiProto--;
}
-buildUnnamed2150() {
+buildUnnamed2156() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2150(core.List<api.Dimension> o) {
+checkUnnamed2156(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -3164,7 +3164,7 @@
var o = new api.PublisherProvidedForecast();
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- o.dimensions = buildUnnamed2150();
+ o.dimensions = buildUnnamed2156();
o.weeklyImpressions = "foo";
o.weeklyUniques = "foo";
}
@@ -3175,7 +3175,7 @@
checkPublisherProvidedForecast(api.PublisherProvidedForecast o) {
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- checkUnnamed2150(o.dimensions);
+ checkUnnamed2156(o.dimensions);
unittest.expect(o.weeklyImpressions, unittest.equals('foo'));
unittest.expect(o.weeklyUniques, unittest.equals('foo'));
}
@@ -3203,27 +3203,27 @@
buildCounterSeller--;
}
-buildUnnamed2151() {
+buildUnnamed2157() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
o.add(buildTargetingValue());
return o;
}
-checkUnnamed2151(core.List<api.TargetingValue> o) {
+checkUnnamed2157(core.List<api.TargetingValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValue(o[0]);
checkTargetingValue(o[1]);
}
-buildUnnamed2152() {
+buildUnnamed2158() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
o.add(buildTargetingValue());
return o;
}
-checkUnnamed2152(core.List<api.TargetingValue> o) {
+checkUnnamed2158(core.List<api.TargetingValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValue(o[0]);
checkTargetingValue(o[1]);
@@ -3234,8 +3234,8 @@
var o = new api.SharedTargeting();
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- o.exclusions = buildUnnamed2151();
- o.inclusions = buildUnnamed2152();
+ o.exclusions = buildUnnamed2157();
+ o.inclusions = buildUnnamed2158();
o.key = "foo";
}
buildCounterSharedTargeting--;
@@ -3245,8 +3245,8 @@
checkSharedTargeting(api.SharedTargeting o) {
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- checkUnnamed2151(o.exclusions);
- checkUnnamed2152(o.inclusions);
+ checkUnnamed2157(o.exclusions);
+ checkUnnamed2158(o.inclusions);
unittest.expect(o.key, unittest.equals('foo'));
}
buildCounterSharedTargeting--;
@@ -3277,14 +3277,14 @@
buildCounterTargetingValue--;
}
-buildUnnamed2153() {
+buildUnnamed2159() {
var o = new core.List<api.TargetingValueSize>();
o.add(buildTargetingValueSize());
o.add(buildTargetingValueSize());
return o;
}
-checkUnnamed2153(core.List<api.TargetingValueSize> o) {
+checkUnnamed2159(core.List<api.TargetingValueSize> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueSize(o[0]);
checkTargetingValueSize(o[1]);
@@ -3295,7 +3295,7 @@
var o = new api.TargetingValueCreativeSize();
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- o.companionSizes = buildUnnamed2153();
+ o.companionSizes = buildUnnamed2159();
o.creativeSizeType = "foo";
o.nativeTemplate = "foo";
o.size = buildTargetingValueSize();
@@ -3308,7 +3308,7 @@
checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) {
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- checkUnnamed2153(o.companionSizes);
+ checkUnnamed2159(o.companionSizes);
unittest.expect(o.creativeSizeType, unittest.equals('foo'));
unittest.expect(o.nativeTemplate, unittest.equals('foo'));
checkTargetingValueSize(o.size);
@@ -3317,14 +3317,14 @@
buildCounterTargetingValueCreativeSize--;
}
-buildUnnamed2154() {
+buildUnnamed2160() {
var o = new core.List<api.TargetingValueDayPartTargetingDayPart>();
o.add(buildTargetingValueDayPartTargetingDayPart());
o.add(buildTargetingValueDayPartTargetingDayPart());
return o;
}
-checkUnnamed2154(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
+checkUnnamed2160(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueDayPartTargetingDayPart(o[0]);
checkTargetingValueDayPartTargetingDayPart(o[1]);
@@ -3335,7 +3335,7 @@
var o = new api.TargetingValueDayPartTargeting();
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- o.dayParts = buildUnnamed2154();
+ o.dayParts = buildUnnamed2160();
o.timeZoneType = "foo";
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3345,7 +3345,7 @@
checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) {
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- checkUnnamed2154(o.dayParts);
+ checkUnnamed2160(o.dayParts);
unittest.expect(o.timeZoneType, unittest.equals('foo'));
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3426,27 +3426,27 @@
buildCounterUpdatePrivateAuctionProposalRequest--;
}
-buildUnnamed2155() {
+buildUnnamed2161() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2155(core.List<core.int> o) {
+checkUnnamed2161(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed2156() {
+buildUnnamed2162() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2156(core.List<core.String> o) {
+checkUnnamed2162(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'));
@@ -4840,8 +4840,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed2155();
- var arg_buyerCreativeId = buildUnnamed2156();
+ var arg_accountId = buildUnnamed2161();
+ var arg_buyerCreativeId = buildUnnamed2162();
var arg_dealsStatusFilter = "foo";
var arg_maxResults = 42;
var arg_openAuctionStatusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangeseller/v1_1_test.dart b/generated/googleapis/test/adexchangeseller/v1_1_test.dart
index 7819e00..5d9517c 100644
--- a/generated/googleapis/test/adexchangeseller/v1_1_test.dart
+++ b/generated/googleapis/test/adexchangeseller/v1_1_test.dart
@@ -100,14 +100,14 @@
buildCounterAdClient--;
}
-buildUnnamed279() {
+buildUnnamed283() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed279(core.List<api.AdClient> o) {
+checkUnnamed283(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -119,7 +119,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed279();
+ o.items = buildUnnamed283();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -131,7 +131,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed279(o.items);
+ checkUnnamed283(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -165,14 +165,14 @@
buildCounterAdUnit--;
}
-buildUnnamed280() {
+buildUnnamed284() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed280(core.List<api.AdUnit> o) {
+checkUnnamed284(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -184,7 +184,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed280();
+ o.items = buildUnnamed284();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -196,7 +196,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed280(o.items);
+ checkUnnamed284(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -230,14 +230,14 @@
buildCounterAlert--;
}
-buildUnnamed281() {
+buildUnnamed285() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed281(core.List<api.Alert> o) {
+checkUnnamed285(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -248,7 +248,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed281();
+ o.items = buildUnnamed285();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -258,7 +258,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed281(o.items);
+ checkUnnamed285(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -316,14 +316,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed282() {
+buildUnnamed286() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed282(core.List<api.CustomChannel> o) {
+checkUnnamed286(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -335,7 +335,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed282();
+ o.items = buildUnnamed286();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -347,21 +347,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed282(o.items);
+ checkUnnamed286(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed283() {
+buildUnnamed287() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed283(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed287(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -372,7 +372,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed283();
+ o.items = buildUnnamed287();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -382,7 +382,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed283(o.items);
+ checkUnnamed287(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -421,14 +421,14 @@
buildCounterPreferredDeal--;
}
-buildUnnamed284() {
+buildUnnamed288() {
var o = new core.List<api.PreferredDeal>();
o.add(buildPreferredDeal());
o.add(buildPreferredDeal());
return o;
}
-checkUnnamed284(core.List<api.PreferredDeal> o) {
+checkUnnamed288(core.List<api.PreferredDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPreferredDeal(o[0]);
checkPreferredDeal(o[1]);
@@ -439,7 +439,7 @@
var o = new api.PreferredDeals();
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- o.items = buildUnnamed284();
+ o.items = buildUnnamed288();
o.kind = "foo";
}
buildCounterPreferredDeals--;
@@ -449,20 +449,20 @@
checkPreferredDeals(api.PreferredDeals o) {
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- checkUnnamed284(o.items);
+ checkUnnamed288(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPreferredDeals--;
}
-buildUnnamed285() {
+buildUnnamed289() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed285(core.List<core.String> o) {
+checkUnnamed289(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'));
@@ -491,102 +491,19 @@
buildCounterReportHeaders--;
}
-buildUnnamed286() {
+buildUnnamed290() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed286(core.List<api.ReportHeaders> o) {
+checkUnnamed290(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed287() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed287(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'));
-}
-
-buildUnnamed288() {
- var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed287());
- o.add(buildUnnamed287());
- return o;
-}
-
-checkUnnamed288(core.List<core.List<core.String>> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkUnnamed287(o[0]);
- checkUnnamed287(o[1]);
-}
-
-buildUnnamed289() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed289(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'));
-}
-
-buildUnnamed290() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed290(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 buildCounterReport = 0;
-buildReport() {
- var o = new api.Report();
- buildCounterReport++;
- if (buildCounterReport < 3) {
- o.averages = buildUnnamed285();
- o.headers = buildUnnamed286();
- o.kind = "foo";
- o.rows = buildUnnamed288();
- o.totalMatchedRows = "foo";
- o.totals = buildUnnamed289();
- o.warnings = buildUnnamed290();
- }
- buildCounterReport--;
- return o;
-}
-
-checkReport(api.Report o) {
- buildCounterReport++;
- if (buildCounterReport < 3) {
- checkUnnamed285(o.averages);
- checkUnnamed286(o.headers);
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed288(o.rows);
- unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed289(o.totals);
- checkUnnamed290(o.warnings);
- }
- buildCounterReport--;
-}
-
buildUnnamed291() {
var o = new core.List<core.String>();
o.add("foo");
@@ -601,16 +518,16 @@
}
buildUnnamed292() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<core.List<core.String>>();
+ o.add(buildUnnamed291());
+ o.add(buildUnnamed291());
return o;
}
-checkUnnamed292(core.List<core.String> o) {
+checkUnnamed292(core.List<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'));
+ checkUnnamed291(o[0]);
+ checkUnnamed291(o[1]);
}
buildUnnamed293() {
@@ -639,6 +556,37 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterReport = 0;
+buildReport() {
+ var o = new api.Report();
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ o.averages = buildUnnamed289();
+ o.headers = buildUnnamed290();
+ o.kind = "foo";
+ o.rows = buildUnnamed292();
+ o.totalMatchedRows = "foo";
+ o.totals = buildUnnamed293();
+ o.warnings = buildUnnamed294();
+ }
+ buildCounterReport--;
+ return o;
+}
+
+checkReport(api.Report o) {
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ checkUnnamed289(o.averages);
+ checkUnnamed290(o.headers);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed292(o.rows);
+ unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
+ checkUnnamed293(o.totals);
+ checkUnnamed294(o.warnings);
+ }
+ buildCounterReport--;
+}
+
buildUnnamed295() {
var o = new core.List<core.String>();
o.add("foo");
@@ -652,18 +600,70 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed296() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed296(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'));
+}
+
+buildUnnamed297() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed297(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'));
+}
+
+buildUnnamed298() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed298(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'));
+}
+
+buildUnnamed299() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed299(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 buildCounterReportingMetadataEntry = 0;
buildReportingMetadataEntry() {
var o = new api.ReportingMetadataEntry();
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed291();
- o.compatibleMetrics = buildUnnamed292();
+ o.compatibleDimensions = buildUnnamed295();
+ o.compatibleMetrics = buildUnnamed296();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed293();
- o.requiredMetrics = buildUnnamed294();
- o.supportedProducts = buildUnnamed295();
+ o.requiredDimensions = buildUnnamed297();
+ o.requiredMetrics = buildUnnamed298();
+ o.supportedProducts = buildUnnamed299();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -672,13 +672,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed291(o.compatibleDimensions);
- checkUnnamed292(o.compatibleMetrics);
+ checkUnnamed295(o.compatibleDimensions);
+ checkUnnamed296(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed293(o.requiredDimensions);
- checkUnnamed294(o.requiredMetrics);
- checkUnnamed295(o.supportedProducts);
+ checkUnnamed297(o.requiredDimensions);
+ checkUnnamed298(o.requiredMetrics);
+ checkUnnamed299(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -706,14 +706,14 @@
buildCounterSavedReport--;
}
-buildUnnamed296() {
+buildUnnamed300() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed296(core.List<api.SavedReport> o) {
+checkUnnamed300(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedReport(o[0]);
checkSavedReport(o[1]);
@@ -725,7 +725,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
o.etag = "foo";
- o.items = buildUnnamed296();
+ o.items = buildUnnamed300();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -737,7 +737,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed296(o.items);
+ checkUnnamed300(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -767,14 +767,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed297() {
+buildUnnamed301() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed297(core.List<api.UrlChannel> o) {
+checkUnnamed301(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -786,7 +786,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed297();
+ o.items = buildUnnamed301();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -798,60 +798,60 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed297(o.items);
+ checkUnnamed301(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed298() {
+buildUnnamed302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed298(core.List<core.String> o) {
+checkUnnamed302(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'));
}
-buildUnnamed299() {
+buildUnnamed303() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed299(core.List<core.String> o) {
+checkUnnamed303(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'));
}
-buildUnnamed300() {
+buildUnnamed304() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed300(core.List<core.String> o) {
+checkUnnamed304(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'));
}
-buildUnnamed301() {
+buildUnnamed305() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed301(core.List<core.String> o) {
+checkUnnamed305(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'));
@@ -1883,12 +1883,12 @@
api.ReportsResourceApi res = new api.AdexchangesellerApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed298();
- var arg_filter = buildUnnamed299();
+ var arg_dimension = buildUnnamed302();
+ var arg_filter = buildUnnamed303();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed300();
- var arg_sort = buildUnnamed301();
+ var arg_metric = buildUnnamed304();
+ var arg_sort = buildUnnamed305();
var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/adexchangeseller/v2_0_test.dart b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
index 2311f94..698dcc9 100644
--- a/generated/googleapis/test/adexchangeseller/v2_0_test.dart
+++ b/generated/googleapis/test/adexchangeseller/v2_0_test.dart
@@ -73,14 +73,14 @@
buildCounterAccount--;
}
-buildUnnamed1801() {
+buildUnnamed1808() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1801(core.List<api.Account> o) {
+checkUnnamed1808(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -92,7 +92,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed1801();
+ o.items = buildUnnamed1808();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -104,7 +104,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1801(o.items);
+ checkUnnamed1808(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -138,14 +138,14 @@
buildCounterAdClient--;
}
-buildUnnamed1802() {
+buildUnnamed1809() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed1802(core.List<api.AdClient> o) {
+checkUnnamed1809(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -157,7 +157,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed1802();
+ o.items = buildUnnamed1809();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -169,7 +169,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1802(o.items);
+ checkUnnamed1809(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -203,14 +203,14 @@
buildCounterAlert--;
}
-buildUnnamed1803() {
+buildUnnamed1810() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed1803(core.List<api.Alert> o) {
+checkUnnamed1810(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -221,7 +221,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed1803();
+ o.items = buildUnnamed1810();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -231,7 +231,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed1803(o.items);
+ checkUnnamed1810(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -289,14 +289,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed1804() {
+buildUnnamed1811() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed1804(core.List<api.CustomChannel> o) {
+checkUnnamed1811(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -308,7 +308,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1804();
+ o.items = buildUnnamed1811();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -320,21 +320,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1804(o.items);
+ checkUnnamed1811(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1805() {
+buildUnnamed1812() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed1805(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed1812(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -345,7 +345,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed1805();
+ o.items = buildUnnamed1812();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -355,7 +355,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed1805(o.items);
+ checkUnnamed1812(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -394,14 +394,14 @@
buildCounterPreferredDeal--;
}
-buildUnnamed1806() {
+buildUnnamed1813() {
var o = new core.List<api.PreferredDeal>();
o.add(buildPreferredDeal());
o.add(buildPreferredDeal());
return o;
}
-checkUnnamed1806(core.List<api.PreferredDeal> o) {
+checkUnnamed1813(core.List<api.PreferredDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPreferredDeal(o[0]);
checkPreferredDeal(o[1]);
@@ -412,7 +412,7 @@
var o = new api.PreferredDeals();
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- o.items = buildUnnamed1806();
+ o.items = buildUnnamed1813();
o.kind = "foo";
}
buildCounterPreferredDeals--;
@@ -422,20 +422,20 @@
checkPreferredDeals(api.PreferredDeals o) {
buildCounterPreferredDeals++;
if (buildCounterPreferredDeals < 3) {
- checkUnnamed1806(o.items);
+ checkUnnamed1813(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPreferredDeals--;
}
-buildUnnamed1807() {
+buildUnnamed1814() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1807(core.List<core.String> o) {
+checkUnnamed1814(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'));
@@ -464,141 +464,19 @@
buildCounterReportHeaders--;
}
-buildUnnamed1808() {
+buildUnnamed1815() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed1808(core.List<api.ReportHeaders> o) {
+checkUnnamed1815(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed1809() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1809(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'));
-}
-
-buildUnnamed1810() {
- var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1809());
- o.add(buildUnnamed1809());
- return o;
-}
-
-checkUnnamed1810(core.List<core.List<core.String>> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1809(o[0]);
- checkUnnamed1809(o[1]);
-}
-
-buildUnnamed1811() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1811(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'));
-}
-
-buildUnnamed1812() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1812(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 buildCounterReport = 0;
-buildReport() {
- var o = new api.Report();
- buildCounterReport++;
- if (buildCounterReport < 3) {
- o.averages = buildUnnamed1807();
- o.headers = buildUnnamed1808();
- o.kind = "foo";
- o.rows = buildUnnamed1810();
- o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1811();
- o.warnings = buildUnnamed1812();
- }
- buildCounterReport--;
- return o;
-}
-
-checkReport(api.Report o) {
- buildCounterReport++;
- if (buildCounterReport < 3) {
- checkUnnamed1807(o.averages);
- checkUnnamed1808(o.headers);
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1810(o.rows);
- unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1811(o.totals);
- checkUnnamed1812(o.warnings);
- }
- buildCounterReport--;
-}
-
-buildUnnamed1813() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1813(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'));
-}
-
-buildUnnamed1814() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1814(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'));
-}
-
-buildUnnamed1815() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1815(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'));
-}
-
buildUnnamed1816() {
var o = new core.List<core.String>();
o.add("foo");
@@ -613,169 +491,73 @@
}
buildUnnamed1817() {
+ var o = new core.List<core.List<core.String>>();
+ o.add(buildUnnamed1816());
+ o.add(buildUnnamed1816());
+ return o;
+}
+
+checkUnnamed1817(core.List<core.List<core.String>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1816(o[0]);
+ checkUnnamed1816(o[1]);
+}
+
+buildUnnamed1818() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1817(core.List<core.String> o) {
+checkUnnamed1818(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 buildCounterReportingMetadataEntry = 0;
-buildReportingMetadataEntry() {
- var o = new api.ReportingMetadataEntry();
- buildCounterReportingMetadataEntry++;
- if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed1813();
- o.compatibleMetrics = buildUnnamed1814();
- o.id = "foo";
- o.kind = "foo";
- o.requiredDimensions = buildUnnamed1815();
- o.requiredMetrics = buildUnnamed1816();
- o.supportedProducts = buildUnnamed1817();
- }
- buildCounterReportingMetadataEntry--;
- return o;
-}
-
-checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
- buildCounterReportingMetadataEntry++;
- if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed1813(o.compatibleDimensions);
- checkUnnamed1814(o.compatibleMetrics);
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1815(o.requiredDimensions);
- checkUnnamed1816(o.requiredMetrics);
- checkUnnamed1817(o.supportedProducts);
- }
- buildCounterReportingMetadataEntry--;
-}
-
-core.int buildCounterSavedReport = 0;
-buildSavedReport() {
- var o = new api.SavedReport();
- buildCounterSavedReport++;
- if (buildCounterSavedReport < 3) {
- o.id = "foo";
- o.kind = "foo";
- o.name = "foo";
- }
- buildCounterSavedReport--;
- return o;
-}
-
-checkSavedReport(api.SavedReport o) {
- buildCounterSavedReport++;
- if (buildCounterSavedReport < 3) {
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterSavedReport--;
-}
-
-buildUnnamed1818() {
- var o = new core.List<api.SavedReport>();
- o.add(buildSavedReport());
- o.add(buildSavedReport());
- return o;
-}
-
-checkUnnamed1818(core.List<api.SavedReport> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSavedReport(o[0]);
- checkSavedReport(o[1]);
-}
-
-core.int buildCounterSavedReports = 0;
-buildSavedReports() {
- var o = new api.SavedReports();
- buildCounterSavedReports++;
- if (buildCounterSavedReports < 3) {
- o.etag = "foo";
- o.items = buildUnnamed1818();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterSavedReports--;
- return o;
-}
-
-checkSavedReports(api.SavedReports o) {
- buildCounterSavedReports++;
- if (buildCounterSavedReports < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1818(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSavedReports--;
-}
-
-core.int buildCounterUrlChannel = 0;
-buildUrlChannel() {
- var o = new api.UrlChannel();
- buildCounterUrlChannel++;
- if (buildCounterUrlChannel < 3) {
- o.id = "foo";
- o.kind = "foo";
- o.urlPattern = "foo";
- }
- buildCounterUrlChannel--;
- return o;
-}
-
-checkUrlChannel(api.UrlChannel o) {
- buildCounterUrlChannel++;
- if (buildCounterUrlChannel < 3) {
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.urlPattern, unittest.equals('foo'));
- }
- buildCounterUrlChannel--;
-}
-
buildUnnamed1819() {
- var o = new core.List<api.UrlChannel>();
- o.add(buildUrlChannel());
- o.add(buildUrlChannel());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1819(core.List<api.UrlChannel> o) {
+checkUnnamed1819(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUrlChannel(o[0]);
- checkUrlChannel(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterUrlChannels = 0;
-buildUrlChannels() {
- var o = new api.UrlChannels();
- buildCounterUrlChannels++;
- if (buildCounterUrlChannels < 3) {
- o.etag = "foo";
- o.items = buildUnnamed1819();
+core.int buildCounterReport = 0;
+buildReport() {
+ var o = new api.Report();
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ o.averages = buildUnnamed1814();
+ o.headers = buildUnnamed1815();
o.kind = "foo";
- o.nextPageToken = "foo";
+ o.rows = buildUnnamed1817();
+ o.totalMatchedRows = "foo";
+ o.totals = buildUnnamed1818();
+ o.warnings = buildUnnamed1819();
}
- buildCounterUrlChannels--;
+ buildCounterReport--;
return o;
}
-checkUrlChannels(api.UrlChannels o) {
- buildCounterUrlChannels++;
- if (buildCounterUrlChannels < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1819(o.items);
+checkReport(api.Report o) {
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ checkUnnamed1814(o.averages);
+ checkUnnamed1815(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed1817(o.rows);
+ unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
+ checkUnnamed1818(o.totals);
+ checkUnnamed1819(o.warnings);
}
- buildCounterUrlChannels--;
+ buildCounterReport--;
}
buildUnnamed1820() {
@@ -830,6 +612,224 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1824() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1824(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 buildCounterReportingMetadataEntry = 0;
+buildReportingMetadataEntry() {
+ var o = new api.ReportingMetadataEntry();
+ buildCounterReportingMetadataEntry++;
+ if (buildCounterReportingMetadataEntry < 3) {
+ o.compatibleDimensions = buildUnnamed1820();
+ o.compatibleMetrics = buildUnnamed1821();
+ o.id = "foo";
+ o.kind = "foo";
+ o.requiredDimensions = buildUnnamed1822();
+ o.requiredMetrics = buildUnnamed1823();
+ o.supportedProducts = buildUnnamed1824();
+ }
+ buildCounterReportingMetadataEntry--;
+ return o;
+}
+
+checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
+ buildCounterReportingMetadataEntry++;
+ if (buildCounterReportingMetadataEntry < 3) {
+ checkUnnamed1820(o.compatibleDimensions);
+ checkUnnamed1821(o.compatibleMetrics);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed1822(o.requiredDimensions);
+ checkUnnamed1823(o.requiredMetrics);
+ checkUnnamed1824(o.supportedProducts);
+ }
+ buildCounterReportingMetadataEntry--;
+}
+
+core.int buildCounterSavedReport = 0;
+buildSavedReport() {
+ var o = new api.SavedReport();
+ buildCounterSavedReport++;
+ if (buildCounterSavedReport < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterSavedReport--;
+ return o;
+}
+
+checkSavedReport(api.SavedReport o) {
+ buildCounterSavedReport++;
+ if (buildCounterSavedReport < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterSavedReport--;
+}
+
+buildUnnamed1825() {
+ var o = new core.List<api.SavedReport>();
+ o.add(buildSavedReport());
+ o.add(buildSavedReport());
+ return o;
+}
+
+checkUnnamed1825(core.List<api.SavedReport> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSavedReport(o[0]);
+ checkSavedReport(o[1]);
+}
+
+core.int buildCounterSavedReports = 0;
+buildSavedReports() {
+ var o = new api.SavedReports();
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed1825();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterSavedReports--;
+ return o;
+}
+
+checkSavedReports(api.SavedReports o) {
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1825(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSavedReports--;
+}
+
+core.int buildCounterUrlChannel = 0;
+buildUrlChannel() {
+ var o = new api.UrlChannel();
+ buildCounterUrlChannel++;
+ if (buildCounterUrlChannel < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.urlPattern = "foo";
+ }
+ buildCounterUrlChannel--;
+ return o;
+}
+
+checkUrlChannel(api.UrlChannel o) {
+ buildCounterUrlChannel++;
+ if (buildCounterUrlChannel < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.urlPattern, unittest.equals('foo'));
+ }
+ buildCounterUrlChannel--;
+}
+
+buildUnnamed1826() {
+ var o = new core.List<api.UrlChannel>();
+ o.add(buildUrlChannel());
+ o.add(buildUrlChannel());
+ return o;
+}
+
+checkUnnamed1826(core.List<api.UrlChannel> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUrlChannel(o[0]);
+ checkUrlChannel(o[1]);
+}
+
+core.int buildCounterUrlChannels = 0;
+buildUrlChannels() {
+ var o = new api.UrlChannels();
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed1826();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterUrlChannels--;
+ return o;
+}
+
+checkUrlChannels(api.UrlChannels o) {
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1826(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterUrlChannels--;
+}
+
+buildUnnamed1827() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1827(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'));
+}
+
+buildUnnamed1828() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1828(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'));
+}
+
+buildUnnamed1829() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1829(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'));
+}
+
+buildUnnamed1830() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1830(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'));
+}
+
main() {
unittest.group("obj-schema-Account", () {
unittest.test("to-json--from-json", () {
@@ -1678,12 +1678,12 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed1820();
- var arg_filter = buildUnnamed1821();
+ var arg_dimension = buildUnnamed1827();
+ var arg_filter = buildUnnamed1828();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1822();
- var arg_sort = buildUnnamed1823();
+ var arg_metric = buildUnnamed1829();
+ var arg_sort = buildUnnamed1830();
var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/adexperiencereport/v1_test.dart b/generated/googleapis/test/adexperiencereport/v1_test.dart
index 367fc24..88dfe70 100644
--- a/generated/googleapis/test/adexperiencereport/v1_test.dart
+++ b/generated/googleapis/test/adexperiencereport/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1824() {
+buildUnnamed1831() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1824(core.List<core.String> o) {
+checkUnnamed1831(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'));
@@ -72,7 +72,7 @@
o.enforcementTime = "foo";
o.filterStatus = "foo";
o.lastChangeTime = "foo";
- o.region = buildUnnamed1824();
+ o.region = buildUnnamed1831();
o.reportUrl = "foo";
o.underReview = true;
}
@@ -87,7 +87,7 @@
unittest.expect(o.enforcementTime, unittest.equals('foo'));
unittest.expect(o.filterStatus, unittest.equals('foo'));
unittest.expect(o.lastChangeTime, unittest.equals('foo'));
- checkUnnamed1824(o.region);
+ checkUnnamed1831(o.region);
unittest.expect(o.reportUrl, unittest.equals('foo'));
unittest.expect(o.underReview, unittest.isTrue);
}
@@ -117,14 +117,14 @@
buildCounterSiteSummaryResponse--;
}
-buildUnnamed1825() {
+buildUnnamed1832() {
var o = new core.List<api.SiteSummaryResponse>();
o.add(buildSiteSummaryResponse());
o.add(buildSiteSummaryResponse());
return o;
}
-checkUnnamed1825(core.List<api.SiteSummaryResponse> o) {
+checkUnnamed1832(core.List<api.SiteSummaryResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteSummaryResponse(o[0]);
checkSiteSummaryResponse(o[1]);
@@ -135,7 +135,7 @@
var o = new api.ViolatingSitesResponse();
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- o.violatingSites = buildUnnamed1825();
+ o.violatingSites = buildUnnamed1832();
}
buildCounterViolatingSitesResponse--;
return o;
@@ -144,7 +144,7 @@
checkViolatingSitesResponse(api.ViolatingSitesResponse o) {
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- checkUnnamed1825(o.violatingSites);
+ checkUnnamed1832(o.violatingSites);
}
buildCounterViolatingSitesResponse--;
}
diff --git a/generated/googleapis/test/admin/datatransfer_v1_test.dart b/generated/googleapis/test/admin/datatransfer_v1_test.dart
index 719e3b1..dd1c2d6 100644
--- a/generated/googleapis/test/admin/datatransfer_v1_test.dart
+++ b/generated/googleapis/test/admin/datatransfer_v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed147() {
+buildUnnamed151() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed147(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed151(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -72,7 +72,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.transferParams = buildUnnamed147();
+ o.transferParams = buildUnnamed151();
}
buildCounterApplication--;
return o;
@@ -85,19 +85,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed147(o.transferParams);
+ checkUnnamed151(o.transferParams);
}
buildCounterApplication--;
}
-buildUnnamed148() {
+buildUnnamed152() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed148(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed152(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -109,7 +109,7 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
o.applicationId = "foo";
- o.applicationTransferParams = buildUnnamed148();
+ o.applicationTransferParams = buildUnnamed152();
o.applicationTransferStatus = "foo";
}
buildCounterApplicationDataTransfer--;
@@ -120,20 +120,20 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
unittest.expect(o.applicationId, unittest.equals('foo'));
- checkUnnamed148(o.applicationTransferParams);
+ checkUnnamed152(o.applicationTransferParams);
unittest.expect(o.applicationTransferStatus, unittest.equals('foo'));
}
buildCounterApplicationDataTransfer--;
}
-buildUnnamed149() {
+buildUnnamed153() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed149(core.List<core.String> o) {
+checkUnnamed153(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'));
@@ -145,7 +145,7 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
o.key = "foo";
- o.value = buildUnnamed149();
+ o.value = buildUnnamed153();
}
buildCounterApplicationTransferParam--;
return o;
@@ -155,19 +155,19 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed149(o.value);
+ checkUnnamed153(o.value);
}
buildCounterApplicationTransferParam--;
}
-buildUnnamed150() {
+buildUnnamed154() {
var o = new core.List<api.Application>();
o.add(buildApplication());
o.add(buildApplication());
return o;
}
-checkUnnamed150(core.List<api.Application> o) {
+checkUnnamed154(core.List<api.Application> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplication(o[0]);
checkApplication(o[1]);
@@ -178,7 +178,7 @@
var o = new api.ApplicationsListResponse();
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- o.applications = buildUnnamed150();
+ o.applications = buildUnnamed154();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -190,7 +190,7 @@
checkApplicationsListResponse(api.ApplicationsListResponse o) {
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- checkUnnamed150(o.applications);
+ checkUnnamed154(o.applications);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -198,14 +198,14 @@
buildCounterApplicationsListResponse--;
}
-buildUnnamed151() {
+buildUnnamed155() {
var o = new core.List<api.ApplicationDataTransfer>();
o.add(buildApplicationDataTransfer());
o.add(buildApplicationDataTransfer());
return o;
}
-checkUnnamed151(core.List<api.ApplicationDataTransfer> o) {
+checkUnnamed155(core.List<api.ApplicationDataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationDataTransfer(o[0]);
checkApplicationDataTransfer(o[1]);
@@ -216,7 +216,7 @@
var o = new api.DataTransfer();
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- o.applicationDataTransfers = buildUnnamed151();
+ o.applicationDataTransfers = buildUnnamed155();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
@@ -232,7 +232,7 @@
checkDataTransfer(api.DataTransfer o) {
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- checkUnnamed151(o.applicationDataTransfers);
+ checkUnnamed155(o.applicationDataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -245,14 +245,14 @@
buildCounterDataTransfer--;
}
-buildUnnamed152() {
+buildUnnamed156() {
var o = new core.List<api.DataTransfer>();
o.add(buildDataTransfer());
o.add(buildDataTransfer());
return o;
}
-checkUnnamed152(core.List<api.DataTransfer> o) {
+checkUnnamed156(core.List<api.DataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTransfer(o[0]);
checkDataTransfer(o[1]);
@@ -263,7 +263,7 @@
var o = new api.DataTransfersListResponse();
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- o.dataTransfers = buildUnnamed152();
+ o.dataTransfers = buildUnnamed156();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -275,7 +275,7 @@
checkDataTransfersListResponse(api.DataTransfersListResponse o) {
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- checkUnnamed152(o.dataTransfers);
+ checkUnnamed156(o.dataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart
index e67026b..8a7fac8 100644
--- a/generated/googleapis/test/admin/directory_v1_test.dart
+++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -77,7 +77,7 @@
buildCounterAlias--;
}
-buildUnnamed836() {
+buildUnnamed841() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -92,7 +92,7 @@
return o;
}
-checkUnnamed836(core.List<core.Object> o) {
+checkUnnamed841(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -111,7 +111,7 @@
var o = new api.Aliases();
buildCounterAliases++;
if (buildCounterAliases < 3) {
- o.aliases = buildUnnamed836();
+ o.aliases = buildUnnamed841();
o.etag = "foo";
o.kind = "foo";
}
@@ -122,21 +122,21 @@
checkAliases(api.Aliases o) {
buildCounterAliases++;
if (buildCounterAliases < 3) {
- checkUnnamed836(o.aliases);
+ checkUnnamed841(o.aliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAliases--;
}
-buildUnnamed837() {
+buildUnnamed842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed837(core.List<core.String> o) {
+checkUnnamed842(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'));
@@ -147,7 +147,7 @@
var o = new api.AppAccessCollections();
buildCounterAppAccessCollections++;
if (buildCounterAppAccessCollections < 3) {
- o.blockedApiAccessBuckets = buildUnnamed837();
+ o.blockedApiAccessBuckets = buildUnnamed842();
o.enforceSettingsForAndroidDrive = true;
o.errorMessage = "foo";
o.etag = "foo";
@@ -163,7 +163,7 @@
checkAppAccessCollections(api.AppAccessCollections o) {
buildCounterAppAccessCollections++;
if (buildCounterAppAccessCollections < 3) {
- checkUnnamed837(o.blockedApiAccessBuckets);
+ checkUnnamed842(o.blockedApiAccessBuckets);
unittest.expect(o.enforceSettingsForAndroidDrive, unittest.isTrue);
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
@@ -206,14 +206,14 @@
buildCounterAsp--;
}
-buildUnnamed838() {
+buildUnnamed843() {
var o = new core.List<api.Asp>();
o.add(buildAsp());
o.add(buildAsp());
return o;
}
-checkUnnamed838(core.List<api.Asp> o) {
+checkUnnamed843(core.List<api.Asp> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsp(o[0]);
checkAsp(o[1]);
@@ -225,7 +225,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
o.etag = "foo";
- o.items = buildUnnamed838();
+ o.items = buildUnnamed843();
o.kind = "foo";
}
buildCounterAsps--;
@@ -236,7 +236,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed838(o.items);
+ checkUnnamed843(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAsps--;
@@ -275,14 +275,14 @@
buildCounterCalendarResource--;
}
-buildUnnamed839() {
+buildUnnamed844() {
var o = new core.List<api.CalendarResource>();
o.add(buildCalendarResource());
o.add(buildCalendarResource());
return o;
}
-checkUnnamed839(core.List<api.CalendarResource> o) {
+checkUnnamed844(core.List<api.CalendarResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarResource(o[0]);
checkCalendarResource(o[1]);
@@ -294,7 +294,7 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
o.etag = "foo";
- o.items = buildUnnamed839();
+ o.items = buildUnnamed844();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -306,21 +306,21 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed839(o.items);
+ checkUnnamed844(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCalendarResources--;
}
-buildUnnamed840() {
+buildUnnamed845() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed840(core.Map<core.String, core.String> o) {
+checkUnnamed845(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -335,7 +335,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed840();
+ o.params = buildUnnamed845();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -353,7 +353,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed840(o.params);
+ checkUnnamed845(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -385,14 +385,14 @@
buildCounterChromeOsDeviceActiveTimeRanges--;
}
-buildUnnamed841() {
+buildUnnamed846() {
var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
o.add(buildChromeOsDeviceActiveTimeRanges());
o.add(buildChromeOsDeviceActiveTimeRanges());
return o;
}
-checkUnnamed841(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
+checkUnnamed846(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceActiveTimeRanges(o[0]);
checkChromeOsDeviceActiveTimeRanges(o[1]);
@@ -419,14 +419,14 @@
buildCounterChromeOsDeviceRecentUsers--;
}
-buildUnnamed842() {
+buildUnnamed847() {
var o = new core.List<api.ChromeOsDeviceRecentUsers>();
o.add(buildChromeOsDeviceRecentUsers());
o.add(buildChromeOsDeviceRecentUsers());
return o;
}
-checkUnnamed842(core.List<api.ChromeOsDeviceRecentUsers> o) {
+checkUnnamed847(core.List<api.ChromeOsDeviceRecentUsers> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceRecentUsers(o[0]);
checkChromeOsDeviceRecentUsers(o[1]);
@@ -437,7 +437,7 @@
var o = new api.ChromeOsDevice();
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- o.activeTimeRanges = buildUnnamed841();
+ o.activeTimeRanges = buildUnnamed846();
o.annotatedAssetId = "foo";
o.annotatedLocation = "foo";
o.annotatedUser = "foo";
@@ -457,7 +457,7 @@
o.orgUnitPath = "foo";
o.osVersion = "foo";
o.platformVersion = "foo";
- o.recentUsers = buildUnnamed842();
+ o.recentUsers = buildUnnamed847();
o.serialNumber = "foo";
o.status = "foo";
o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
@@ -470,7 +470,7 @@
checkChromeOsDevice(api.ChromeOsDevice o) {
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- checkUnnamed841(o.activeTimeRanges);
+ checkUnnamed846(o.activeTimeRanges);
unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
unittest.expect(o.annotatedLocation, unittest.equals('foo'));
unittest.expect(o.annotatedUser, unittest.equals('foo'));
@@ -492,7 +492,7 @@
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
unittest.expect(o.osVersion, unittest.equals('foo'));
unittest.expect(o.platformVersion, unittest.equals('foo'));
- checkUnnamed842(o.recentUsers);
+ checkUnnamed847(o.recentUsers);
unittest.expect(o.serialNumber, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.supportEndDate,
@@ -523,14 +523,14 @@
buildCounterChromeOsDeviceAction--;
}
-buildUnnamed843() {
+buildUnnamed848() {
var o = new core.List<api.ChromeOsDevice>();
o.add(buildChromeOsDevice());
o.add(buildChromeOsDevice());
return o;
}
-checkUnnamed843(core.List<api.ChromeOsDevice> o) {
+checkUnnamed848(core.List<api.ChromeOsDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDevice(o[0]);
checkChromeOsDevice(o[1]);
@@ -541,7 +541,7 @@
var o = new api.ChromeOsDevices();
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- o.chromeosdevices = buildUnnamed843();
+ o.chromeosdevices = buildUnnamed848();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -553,7 +553,7 @@
checkChromeOsDevices(api.ChromeOsDevices o) {
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- checkUnnamed843(o.chromeosdevices);
+ checkUnnamed848(o.chromeosdevices);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -561,14 +561,14 @@
buildCounterChromeOsDevices--;
}
-buildUnnamed844() {
+buildUnnamed849() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed844(core.List<core.String> o) {
+checkUnnamed849(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'));
@@ -579,7 +579,7 @@
var o = new api.ChromeOsMoveDevicesToOu();
buildCounterChromeOsMoveDevicesToOu++;
if (buildCounterChromeOsMoveDevicesToOu < 3) {
- o.deviceIds = buildUnnamed844();
+ o.deviceIds = buildUnnamed849();
}
buildCounterChromeOsMoveDevicesToOu--;
return o;
@@ -588,7 +588,7 @@
checkChromeOsMoveDevicesToOu(api.ChromeOsMoveDevicesToOu o) {
buildCounterChromeOsMoveDevicesToOu++;
if (buildCounterChromeOsMoveDevicesToOu < 3) {
- checkUnnamed844(o.deviceIds);
+ checkUnnamed849(o.deviceIds);
}
buildCounterChromeOsMoveDevicesToOu--;
}
@@ -693,14 +693,14 @@
buildCounterDomainAlias--;
}
-buildUnnamed845() {
+buildUnnamed850() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed845(core.List<api.DomainAlias> o) {
+checkUnnamed850(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -711,7 +711,7 @@
var o = new api.DomainAliases();
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- o.domainAliases = buildUnnamed845();
+ o.domainAliases = buildUnnamed850();
o.etag = "foo";
o.kind = "foo";
}
@@ -722,21 +722,21 @@
checkDomainAliases(api.DomainAliases o) {
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- checkUnnamed845(o.domainAliases);
+ checkUnnamed850(o.domainAliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomainAliases--;
}
-buildUnnamed846() {
+buildUnnamed851() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed846(core.List<api.DomainAlias> o) {
+checkUnnamed851(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -748,7 +748,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
o.creationTime = "foo";
- o.domainAliases = buildUnnamed846();
+ o.domainAliases = buildUnnamed851();
o.domainName = "foo";
o.etag = "foo";
o.isPrimary = true;
@@ -763,7 +763,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
unittest.expect(o.creationTime, unittest.equals('foo'));
- checkUnnamed846(o.domainAliases);
+ checkUnnamed851(o.domainAliases);
unittest.expect(o.domainName, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isPrimary, unittest.isTrue);
@@ -773,14 +773,14 @@
buildCounterDomains--;
}
-buildUnnamed847() {
+buildUnnamed852() {
var o = new core.List<api.Domains>();
o.add(buildDomains());
o.add(buildDomains());
return o;
}
-checkUnnamed847(core.List<api.Domains> o) {
+checkUnnamed852(core.List<api.Domains> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomains(o[0]);
checkDomains(o[1]);
@@ -791,7 +791,7 @@
var o = new api.Domains2();
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- o.domains = buildUnnamed847();
+ o.domains = buildUnnamed852();
o.etag = "foo";
o.kind = "foo";
}
@@ -802,34 +802,34 @@
checkDomains2(api.Domains2 o) {
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- checkUnnamed847(o.domains);
+ checkUnnamed852(o.domains);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomains2--;
}
-buildUnnamed848() {
+buildUnnamed853() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed848(core.List<core.String> o) {
+checkUnnamed853(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'));
}
-buildUnnamed849() {
+buildUnnamed854() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed849(core.List<core.String> o) {
+checkUnnamed854(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'));
@@ -841,7 +841,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
o.adminCreated = true;
- o.aliases = buildUnnamed848();
+ o.aliases = buildUnnamed853();
o.description = "foo";
o.directMembersCount = "foo";
o.email = "foo";
@@ -849,7 +849,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.nonEditableAliases = buildUnnamed849();
+ o.nonEditableAliases = buildUnnamed854();
}
buildCounterGroup--;
return o;
@@ -859,7 +859,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
unittest.expect(o.adminCreated, unittest.isTrue);
- checkUnnamed848(o.aliases);
+ checkUnnamed853(o.aliases);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.directMembersCount, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -867,19 +867,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed849(o.nonEditableAliases);
+ checkUnnamed854(o.nonEditableAliases);
}
buildCounterGroup--;
}
-buildUnnamed850() {
+buildUnnamed855() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed850(core.List<api.Group> o) {
+checkUnnamed855(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -891,7 +891,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
o.etag = "foo";
- o.groups = buildUnnamed850();
+ o.groups = buildUnnamed855();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -903,7 +903,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed850(o.groups);
+ checkUnnamed855(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -941,14 +941,14 @@
buildCounterMember--;
}
-buildUnnamed851() {
+buildUnnamed856() {
var o = new core.List<api.Member>();
o.add(buildMember());
o.add(buildMember());
return o;
}
-checkUnnamed851(core.List<api.Member> o) {
+checkUnnamed856(core.List<api.Member> o) {
unittest.expect(o, unittest.hasLength(2));
checkMember(o[0]);
checkMember(o[1]);
@@ -961,7 +961,7 @@
if (buildCounterMembers < 3) {
o.etag = "foo";
o.kind = "foo";
- o.members = buildUnnamed851();
+ o.members = buildUnnamed856();
o.nextPageToken = "foo";
}
buildCounterMembers--;
@@ -973,20 +973,20 @@
if (buildCounterMembers < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed851(o.members);
+ checkUnnamed856(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMembers--;
}
-buildUnnamed852() {
+buildUnnamed857() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed852(core.List<core.String> o) {
+checkUnnamed857(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'));
@@ -999,7 +999,7 @@
if (buildCounterMobileDeviceApplications < 3) {
o.displayName = "foo";
o.packageName = "foo";
- o.permission = buildUnnamed852();
+ o.permission = buildUnnamed857();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -1012,60 +1012,60 @@
if (buildCounterMobileDeviceApplications < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed852(o.permission);
+ checkUnnamed857(o.permission);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
buildCounterMobileDeviceApplications--;
}
-buildUnnamed853() {
+buildUnnamed858() {
var o = new core.List<api.MobileDeviceApplications>();
o.add(buildMobileDeviceApplications());
o.add(buildMobileDeviceApplications());
return o;
}
-checkUnnamed853(core.List<api.MobileDeviceApplications> o) {
+checkUnnamed858(core.List<api.MobileDeviceApplications> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDeviceApplications(o[0]);
checkMobileDeviceApplications(o[1]);
}
-buildUnnamed854() {
+buildUnnamed859() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed854(core.List<core.String> o) {
+checkUnnamed859(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'));
}
-buildUnnamed855() {
+buildUnnamed860() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed855(core.List<core.String> o) {
+checkUnnamed860(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'));
}
-buildUnnamed856() {
+buildUnnamed861() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed856(core.List<core.String> o) {
+checkUnnamed861(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'));
@@ -1077,7 +1077,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
o.adbStatus = true;
- o.applications = buildUnnamed853();
+ o.applications = buildUnnamed858();
o.basebandVersion = "foo";
o.bootloaderVersion = "foo";
o.brand = "foo";
@@ -1087,7 +1087,7 @@
o.deviceCompromisedStatus = "foo";
o.deviceId = "foo";
o.devicePasswordStatus = "foo";
- o.email = buildUnnamed854();
+ o.email = buildUnnamed859();
o.encryptionStatus = "foo";
o.etag = "foo";
o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1101,10 +1101,10 @@
o.manufacturer = "foo";
o.meid = "foo";
o.model = "foo";
- o.name = buildUnnamed855();
+ o.name = buildUnnamed860();
o.networkOperator = "foo";
o.os = "foo";
- o.otherAccountsInfo = buildUnnamed856();
+ o.otherAccountsInfo = buildUnnamed861();
o.privilege = "foo";
o.releaseVersion = "foo";
o.resourceId = "foo";
@@ -1125,7 +1125,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
unittest.expect(o.adbStatus, unittest.isTrue);
- checkUnnamed853(o.applications);
+ checkUnnamed858(o.applications);
unittest.expect(o.basebandVersion, unittest.equals('foo'));
unittest.expect(o.bootloaderVersion, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -1135,7 +1135,7 @@
unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
unittest.expect(o.devicePasswordStatus, unittest.equals('foo'));
- checkUnnamed854(o.email);
+ checkUnnamed859(o.email);
unittest.expect(o.encryptionStatus, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.firstSync,
@@ -1151,10 +1151,10 @@
unittest.expect(o.manufacturer, unittest.equals('foo'));
unittest.expect(o.meid, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
- checkUnnamed855(o.name);
+ checkUnnamed860(o.name);
unittest.expect(o.networkOperator, unittest.equals('foo'));
unittest.expect(o.os, unittest.equals('foo'));
- checkUnnamed856(o.otherAccountsInfo);
+ checkUnnamed861(o.otherAccountsInfo);
unittest.expect(o.privilege, unittest.equals('foo'));
unittest.expect(o.releaseVersion, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1189,14 +1189,14 @@
buildCounterMobileDeviceAction--;
}
-buildUnnamed857() {
+buildUnnamed862() {
var o = new core.List<api.MobileDevice>();
o.add(buildMobileDevice());
o.add(buildMobileDevice());
return o;
}
-checkUnnamed857(core.List<api.MobileDevice> o) {
+checkUnnamed862(core.List<api.MobileDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDevice(o[0]);
checkMobileDevice(o[1]);
@@ -1209,7 +1209,7 @@
if (buildCounterMobileDevices < 3) {
o.etag = "foo";
o.kind = "foo";
- o.mobiledevices = buildUnnamed857();
+ o.mobiledevices = buildUnnamed862();
o.nextPageToken = "foo";
}
buildCounterMobileDevices--;
@@ -1221,7 +1221,7 @@
if (buildCounterMobileDevices < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed857(o.mobiledevices);
+ checkUnnamed862(o.mobiledevices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMobileDevices--;
@@ -1261,14 +1261,14 @@
buildCounterNotification--;
}
-buildUnnamed858() {
+buildUnnamed863() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed858(core.List<api.Notification> o) {
+checkUnnamed863(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1280,7 +1280,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
o.etag = "foo";
- o.items = buildUnnamed858();
+ o.items = buildUnnamed863();
o.kind = "foo";
o.nextPageToken = "foo";
o.unreadNotificationsCount = 42;
@@ -1293,7 +1293,7 @@
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed858(o.items);
+ checkUnnamed863(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.unreadNotificationsCount, unittest.equals(42));
@@ -1336,14 +1336,14 @@
buildCounterOrgUnit--;
}
-buildUnnamed859() {
+buildUnnamed864() {
var o = new core.List<api.OrgUnit>();
o.add(buildOrgUnit());
o.add(buildOrgUnit());
return o;
}
-checkUnnamed859(core.List<api.OrgUnit> o) {
+checkUnnamed864(core.List<api.OrgUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgUnit(o[0]);
checkOrgUnit(o[1]);
@@ -1356,7 +1356,7 @@
if (buildCounterOrgUnits < 3) {
o.etag = "foo";
o.kind = "foo";
- o.organizationUnits = buildUnnamed859();
+ o.organizationUnits = buildUnnamed864();
}
buildCounterOrgUnits--;
return o;
@@ -1367,19 +1367,19 @@
if (buildCounterOrgUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed859(o.organizationUnits);
+ checkUnnamed864(o.organizationUnits);
}
buildCounterOrgUnits--;
}
-buildUnnamed860() {
+buildUnnamed865() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed860(core.List<api.Privilege> o) {
+checkUnnamed865(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1390,7 +1390,7 @@
var o = new api.Privilege();
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- o.childPrivileges = buildUnnamed860();
+ o.childPrivileges = buildUnnamed865();
o.etag = "foo";
o.isOuScopable = true;
o.kind = "foo";
@@ -1405,7 +1405,7 @@
checkPrivilege(api.Privilege o) {
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- checkUnnamed860(o.childPrivileges);
+ checkUnnamed865(o.childPrivileges);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isOuScopable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1416,14 +1416,14 @@
buildCounterPrivilege--;
}
-buildUnnamed861() {
+buildUnnamed866() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed861(core.List<api.Privilege> o) {
+checkUnnamed866(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1435,7 +1435,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
o.etag = "foo";
- o.items = buildUnnamed861();
+ o.items = buildUnnamed866();
o.kind = "foo";
}
buildCounterPrivileges--;
@@ -1446,7 +1446,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed861(o.items);
+ checkUnnamed866(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPrivileges--;
@@ -1473,14 +1473,14 @@
buildCounterRoleRolePrivileges--;
}
-buildUnnamed862() {
+buildUnnamed867() {
var o = new core.List<api.RoleRolePrivileges>();
o.add(buildRoleRolePrivileges());
o.add(buildRoleRolePrivileges());
return o;
}
-checkUnnamed862(core.List<api.RoleRolePrivileges> o) {
+checkUnnamed867(core.List<api.RoleRolePrivileges> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleRolePrivileges(o[0]);
checkRoleRolePrivileges(o[1]);
@@ -1498,7 +1498,7 @@
o.roleDescription = "foo";
o.roleId = "foo";
o.roleName = "foo";
- o.rolePrivileges = buildUnnamed862();
+ o.rolePrivileges = buildUnnamed867();
}
buildCounterRole--;
return o;
@@ -1514,7 +1514,7 @@
unittest.expect(o.roleDescription, unittest.equals('foo'));
unittest.expect(o.roleId, unittest.equals('foo'));
unittest.expect(o.roleName, unittest.equals('foo'));
- checkUnnamed862(o.rolePrivileges);
+ checkUnnamed867(o.rolePrivileges);
}
buildCounterRole--;
}
@@ -1550,14 +1550,14 @@
buildCounterRoleAssignment--;
}
-buildUnnamed863() {
+buildUnnamed868() {
var o = new core.List<api.RoleAssignment>();
o.add(buildRoleAssignment());
o.add(buildRoleAssignment());
return o;
}
-checkUnnamed863(core.List<api.RoleAssignment> o) {
+checkUnnamed868(core.List<api.RoleAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleAssignment(o[0]);
checkRoleAssignment(o[1]);
@@ -1569,7 +1569,7 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
o.etag = "foo";
- o.items = buildUnnamed863();
+ o.items = buildUnnamed868();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1581,21 +1581,21 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed863(o.items);
+ checkUnnamed868(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoleAssignments--;
}
-buildUnnamed864() {
+buildUnnamed869() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed864(core.List<api.Role> o) {
+checkUnnamed869(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -1607,7 +1607,7 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
o.etag = "foo";
- o.items = buildUnnamed864();
+ o.items = buildUnnamed869();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1619,21 +1619,21 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed864(o.items);
+ checkUnnamed869(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoles--;
}
-buildUnnamed865() {
+buildUnnamed870() {
var o = new core.List<api.SchemaFieldSpec>();
o.add(buildSchemaFieldSpec());
o.add(buildSchemaFieldSpec());
return o;
}
-checkUnnamed865(core.List<api.SchemaFieldSpec> o) {
+checkUnnamed870(core.List<api.SchemaFieldSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchemaFieldSpec(o[0]);
checkSchemaFieldSpec(o[1]);
@@ -1645,7 +1645,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
o.etag = "foo";
- o.fields = buildUnnamed865();
+ o.fields = buildUnnamed870();
o.kind = "foo";
o.schemaId = "foo";
o.schemaName = "foo";
@@ -1658,7 +1658,7 @@
buildCounterSchema++;
if (buildCounterSchema < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed865(o.fields);
+ checkUnnamed870(o.fields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.schemaId, unittest.equals('foo'));
unittest.expect(o.schemaName, unittest.equals('foo'));
@@ -1723,14 +1723,14 @@
buildCounterSchemaFieldSpec--;
}
-buildUnnamed866() {
+buildUnnamed871() {
var o = new core.List<api.Schema>();
o.add(buildSchema());
o.add(buildSchema());
return o;
}
-checkUnnamed866(core.List<api.Schema> o) {
+checkUnnamed871(core.List<api.Schema> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchema(o[0]);
checkSchema(o[1]);
@@ -1743,7 +1743,7 @@
if (buildCounterSchemas < 3) {
o.etag = "foo";
o.kind = "foo";
- o.schemas = buildUnnamed866();
+ o.schemas = buildUnnamed871();
}
buildCounterSchemas--;
return o;
@@ -1754,19 +1754,19 @@
if (buildCounterSchemas < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed866(o.schemas);
+ checkUnnamed871(o.schemas);
}
buildCounterSchemas--;
}
-buildUnnamed867() {
+buildUnnamed872() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed867(core.List<core.String> o) {
+checkUnnamed872(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'));
@@ -1783,7 +1783,7 @@
o.etag = "foo";
o.kind = "foo";
o.nativeApp = true;
- o.scopes = buildUnnamed867();
+ o.scopes = buildUnnamed872();
o.userKey = "foo";
}
buildCounterToken--;
@@ -1799,20 +1799,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nativeApp, unittest.isTrue);
- checkUnnamed867(o.scopes);
+ checkUnnamed872(o.scopes);
unittest.expect(o.userKey, unittest.equals('foo'));
}
buildCounterToken--;
}
-buildUnnamed868() {
+buildUnnamed873() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed868(core.List<api.Token> o) {
+checkUnnamed873(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -1824,7 +1824,7 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
o.etag = "foo";
- o.items = buildUnnamed868();
+ o.items = buildUnnamed873();
o.kind = "foo";
}
buildCounterTokens--;
@@ -1835,7 +1835,7 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed868(o.items);
+ checkUnnamed873(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTokens--;
@@ -1868,14 +1868,14 @@
buildCounterTrustedAppId--;
}
-buildUnnamed869() {
+buildUnnamed874() {
var o = new core.List<api.TrustedAppId>();
o.add(buildTrustedAppId());
o.add(buildTrustedAppId());
return o;
}
-checkUnnamed869(core.List<api.TrustedAppId> o) {
+checkUnnamed874(core.List<api.TrustedAppId> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrustedAppId(o[0]);
checkTrustedAppId(o[1]);
@@ -1889,7 +1889,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.trustedApps = buildUnnamed869();
+ o.trustedApps = buildUnnamed874();
}
buildCounterTrustedApps--;
return o;
@@ -1901,45 +1901,45 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed869(o.trustedApps);
+ checkUnnamed874(o.trustedApps);
}
buildCounterTrustedApps--;
}
-buildUnnamed870() {
+buildUnnamed875() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed870(core.List<core.String> o) {
+checkUnnamed875(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'));
}
-buildUnnamed871() {
+buildUnnamed876() {
var o = new core.Map<core.String, api.UserCustomProperties>();
o["x"] = buildUserCustomProperties();
o["y"] = buildUserCustomProperties();
return o;
}
-checkUnnamed871(core.Map<core.String, api.UserCustomProperties> o) {
+checkUnnamed876(core.Map<core.String, api.UserCustomProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserCustomProperties(o["x"]);
checkUserCustomProperties(o["y"]);
}
-buildUnnamed872() {
+buildUnnamed877() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed872(core.List<core.String> o) {
+checkUnnamed877(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'));
@@ -1956,10 +1956,10 @@
'string': 'foo'
};
o.agreedToTerms = true;
- o.aliases = buildUnnamed870();
+ o.aliases = buildUnnamed875();
o.changePasswordAtNextLogin = true;
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.customSchemas = buildUnnamed871();
+ o.customSchemas = buildUnnamed876();
o.customerId = "foo";
o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
o.emails = {
@@ -2010,7 +2010,7 @@
'string': 'foo'
};
o.name = buildUserName();
- o.nonEditableAliases = buildUnnamed872();
+ o.nonEditableAliases = buildUnnamed877();
o.notes = {
'list': [1, 2, 3],
'bool': true,
@@ -2067,11 +2067,11 @@
unittest.expect(casted3["bool"], unittest.equals(true));
unittest.expect(casted3["string"], unittest.equals('foo'));
unittest.expect(o.agreedToTerms, unittest.isTrue);
- checkUnnamed870(o.aliases);
+ checkUnnamed875(o.aliases);
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
unittest.expect(o.creationTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed871(o.customSchemas);
+ checkUnnamed876(o.customSchemas);
unittest.expect(o.customerId, unittest.equals('foo'));
unittest.expect(o.deletionTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2124,7 +2124,7 @@
unittest.expect(casted10["bool"], unittest.equals(true));
unittest.expect(casted10["string"], unittest.equals('foo'));
checkUserName(o.name);
- checkUnnamed872(o.nonEditableAliases);
+ checkUnnamed877(o.nonEditableAliases);
var casted11 = (o.notes) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
unittest.expect(casted11["list"], unittest.equals([1, 2, 3]));
@@ -2703,14 +2703,14 @@
buildCounterUserWebsite--;
}
-buildUnnamed873() {
+buildUnnamed878() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed873(core.List<api.User> o) {
+checkUnnamed878(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -2725,7 +2725,7 @@
o.kind = "foo";
o.nextPageToken = "foo";
o.triggerEvent = "foo";
- o.users = buildUnnamed873();
+ o.users = buildUnnamed878();
}
buildCounterUsers--;
return o;
@@ -2738,7 +2738,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.triggerEvent, unittest.equals('foo'));
- checkUnnamed873(o.users);
+ checkUnnamed878(o.users);
}
buildCounterUsers--;
}
@@ -2768,14 +2768,14 @@
buildCounterVerificationCode--;
}
-buildUnnamed874() {
+buildUnnamed879() {
var o = new core.List<api.VerificationCode>();
o.add(buildVerificationCode());
o.add(buildVerificationCode());
return o;
}
-checkUnnamed874(core.List<api.VerificationCode> o) {
+checkUnnamed879(core.List<api.VerificationCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkVerificationCode(o[0]);
checkVerificationCode(o[1]);
@@ -2787,7 +2787,7 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
o.etag = "foo";
- o.items = buildUnnamed874();
+ o.items = buildUnnamed879();
o.kind = "foo";
}
buildCounterVerificationCodes--;
@@ -2798,59 +2798,59 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed874(o.items);
+ checkUnnamed879(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterVerificationCodes--;
}
-buildUnnamed875() {
+buildUnnamed880() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed875(core.List<core.String> o) {
+checkUnnamed880(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'));
}
-buildUnnamed876() {
+buildUnnamed881() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed876(core.List<core.String> o) {
+checkUnnamed881(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'));
}
-buildUnnamed877() {
+buildUnnamed882() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed877(core.List<core.String> o) {
+checkUnnamed882(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'));
}
-buildUnnamed878() {
+buildUnnamed883() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed878(core.List<core.String> o) {
+checkUnnamed883(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'));
@@ -6451,7 +6451,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed875();
+ var arg_orgUnitPath = buildUnnamed880();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6519,7 +6519,7 @@
var mock = new HttpServerMock();
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed876();
+ var arg_orgUnitPath = buildUnnamed881();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6726,7 +6726,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed877();
+ var arg_orgUnitPath = buildUnnamed882();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
@@ -6801,7 +6801,7 @@
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
var arg_request = buildOrgUnit();
var arg_customerId = "foo";
- var arg_orgUnitPath = buildUnnamed878();
+ var arg_orgUnitPath = buildUnnamed883();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.OrgUnit.fromJson(json);
diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart
index 100f8c8..2eb5090 100644
--- a/generated/googleapis/test/admin/reports_v1_test.dart
+++ b/generated/googleapis/test/admin/reports_v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed712() {
+buildUnnamed718() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed712(core.List<api.Activity> o) {
+checkUnnamed718(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -69,7 +69,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
o.etag = "foo";
- o.items = buildUnnamed712();
+ o.items = buildUnnamed718();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -81,7 +81,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed712(o.items);
+ checkUnnamed718(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -113,27 +113,27 @@
buildCounterActivityActor--;
}
-buildUnnamed713() {
+buildUnnamed719() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed713(core.List<core.String> o) {
+checkUnnamed719(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'));
}
-buildUnnamed714() {
+buildUnnamed720() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed714(core.List<core.String> o) {
+checkUnnamed720(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'));
@@ -146,8 +146,8 @@
if (buildCounterActivityEventsParameters < 3) {
o.boolValue = true;
o.intValue = "foo";
- o.multiIntValue = buildUnnamed713();
- o.multiValue = buildUnnamed714();
+ o.multiIntValue = buildUnnamed719();
+ o.multiValue = buildUnnamed720();
o.name = "foo";
o.value = "foo";
}
@@ -160,22 +160,22 @@
if (buildCounterActivityEventsParameters < 3) {
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed713(o.multiIntValue);
- checkUnnamed714(o.multiValue);
+ checkUnnamed719(o.multiIntValue);
+ checkUnnamed720(o.multiValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterActivityEventsParameters--;
}
-buildUnnamed715() {
+buildUnnamed721() {
var o = new core.List<api.ActivityEventsParameters>();
o.add(buildActivityEventsParameters());
o.add(buildActivityEventsParameters());
return o;
}
-checkUnnamed715(core.List<api.ActivityEventsParameters> o) {
+checkUnnamed721(core.List<api.ActivityEventsParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEventsParameters(o[0]);
checkActivityEventsParameters(o[1]);
@@ -187,7 +187,7 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
o.name = "foo";
- o.parameters = buildUnnamed715();
+ o.parameters = buildUnnamed721();
o.type = "foo";
}
buildCounterActivityEvents--;
@@ -198,20 +198,20 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed715(o.parameters);
+ checkUnnamed721(o.parameters);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterActivityEvents--;
}
-buildUnnamed716() {
+buildUnnamed722() {
var o = new core.List<api.ActivityEvents>();
o.add(buildActivityEvents());
o.add(buildActivityEvents());
return o;
}
-checkUnnamed716(core.List<api.ActivityEvents> o) {
+checkUnnamed722(core.List<api.ActivityEvents> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEvents(o[0]);
checkActivityEvents(o[1]);
@@ -250,7 +250,7 @@
if (buildCounterActivity < 3) {
o.actor = buildActivityActor();
o.etag = "foo";
- o.events = buildUnnamed716();
+ o.events = buildUnnamed722();
o.id = buildActivityId();
o.ipAddress = "foo";
o.kind = "foo";
@@ -265,7 +265,7 @@
if (buildCounterActivity < 3) {
checkActivityActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed716(o.events);
+ checkUnnamed722(o.events);
checkActivityId(o.id);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -274,14 +274,14 @@
buildCounterActivity--;
}
-buildUnnamed717() {
+buildUnnamed723() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed717(core.Map<core.String, core.String> o) {
+checkUnnamed723(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -296,7 +296,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed717();
+ o.params = buildUnnamed723();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -314,7 +314,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed717(o.params);
+ checkUnnamed723(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -349,7 +349,7 @@
buildCounterUsageReportEntity--;
}
-buildUnnamed718() {
+buildUnnamed724() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -364,7 +364,7 @@
return o;
}
-checkUnnamed718(core.Map<core.String, core.Object> o) {
+checkUnnamed724(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -378,17 +378,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed719() {
+buildUnnamed725() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed718());
- o.add(buildUnnamed718());
+ o.add(buildUnnamed724());
+ o.add(buildUnnamed724());
return o;
}
-checkUnnamed719(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed725(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed718(o[0]);
- checkUnnamed718(o[1]);
+ checkUnnamed724(o[0]);
+ checkUnnamed724(o[1]);
}
core.int buildCounterUsageReportParameters = 0;
@@ -399,7 +399,7 @@
o.boolValue = true;
o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02");
o.intValue = "foo";
- o.msgValue = buildUnnamed719();
+ o.msgValue = buildUnnamed725();
o.name = "foo";
o.stringValue = "foo";
}
@@ -414,21 +414,21 @@
unittest.expect(o.datetimeValue,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed719(o.msgValue);
+ checkUnnamed725(o.msgValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
buildCounterUsageReportParameters--;
}
-buildUnnamed720() {
+buildUnnamed726() {
var o = new core.List<api.UsageReportParameters>();
o.add(buildUsageReportParameters());
o.add(buildUsageReportParameters());
return o;
}
-checkUnnamed720(core.List<api.UsageReportParameters> o) {
+checkUnnamed726(core.List<api.UsageReportParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportParameters(o[0]);
checkUsageReportParameters(o[1]);
@@ -443,7 +443,7 @@
o.entity = buildUsageReportEntity();
o.etag = "foo";
o.kind = "foo";
- o.parameters = buildUnnamed720();
+ o.parameters = buildUnnamed726();
}
buildCounterUsageReport--;
return o;
@@ -456,19 +456,19 @@
checkUsageReportEntity(o.entity);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed720(o.parameters);
+ checkUnnamed726(o.parameters);
}
buildCounterUsageReport--;
}
-buildUnnamed721() {
+buildUnnamed727() {
var o = new core.List<api.UsageReport>();
o.add(buildUsageReport());
o.add(buildUsageReport());
return o;
}
-checkUnnamed721(core.List<api.UsageReport> o) {
+checkUnnamed727(core.List<api.UsageReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReport(o[0]);
checkUsageReport(o[1]);
@@ -495,14 +495,14 @@
buildCounterUsageReportsWarningsData--;
}
-buildUnnamed722() {
+buildUnnamed728() {
var o = new core.List<api.UsageReportsWarningsData>();
o.add(buildUsageReportsWarningsData());
o.add(buildUsageReportsWarningsData());
return o;
}
-checkUnnamed722(core.List<api.UsageReportsWarningsData> o) {
+checkUnnamed728(core.List<api.UsageReportsWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarningsData(o[0]);
checkUsageReportsWarningsData(o[1]);
@@ -514,7 +514,7 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed722();
+ o.data = buildUnnamed728();
o.message = "foo";
}
buildCounterUsageReportsWarnings--;
@@ -525,20 +525,20 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed722(o.data);
+ checkUnnamed728(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUsageReportsWarnings--;
}
-buildUnnamed723() {
+buildUnnamed729() {
var o = new core.List<api.UsageReportsWarnings>();
o.add(buildUsageReportsWarnings());
o.add(buildUsageReportsWarnings());
return o;
}
-checkUnnamed723(core.List<api.UsageReportsWarnings> o) {
+checkUnnamed729(core.List<api.UsageReportsWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarnings(o[0]);
checkUsageReportsWarnings(o[1]);
@@ -552,8 +552,8 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.usageReports = buildUnnamed721();
- o.warnings = buildUnnamed723();
+ o.usageReports = buildUnnamed727();
+ o.warnings = buildUnnamed729();
}
buildCounterUsageReports--;
return o;
@@ -565,8 +565,8 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed721(o.usageReports);
- checkUnnamed723(o.warnings);
+ checkUnnamed727(o.usageReports);
+ checkUnnamed729(o.warnings);
}
buildCounterUsageReports--;
}
diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart
index e722110..c09d9fa 100644
--- a/generated/googleapis/test/adsense/v1_4_test.dart
+++ b/generated/googleapis/test/adsense/v1_4_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1953() {
+buildUnnamed1959() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1953(core.List<api.Account> o) {
+checkUnnamed1959(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -73,7 +73,7 @@
o.kind = "foo";
o.name = "foo";
o.premium = true;
- o.subAccounts = buildUnnamed1953();
+ o.subAccounts = buildUnnamed1959();
o.timezone = "foo";
}
buildCounterAccount--;
@@ -88,20 +88,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.premium, unittest.isTrue);
- checkUnnamed1953(o.subAccounts);
+ checkUnnamed1959(o.subAccounts);
unittest.expect(o.timezone, unittest.equals('foo'));
}
buildCounterAccount--;
}
-buildUnnamed1954() {
+buildUnnamed1960() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1954(core.List<api.Account> o) {
+checkUnnamed1960(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -113,7 +113,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed1954();
+ o.items = buildUnnamed1960();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -125,7 +125,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1954(o.items);
+ checkUnnamed1960(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -159,14 +159,14 @@
buildCounterAdClient--;
}
-buildUnnamed1955() {
+buildUnnamed1961() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed1955(core.List<api.AdClient> o) {
+checkUnnamed1961(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -178,7 +178,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed1955();
+ o.items = buildUnnamed1961();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -190,7 +190,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1955(o.items);
+ checkUnnamed1961(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -425,14 +425,14 @@
buildCounterAdUnit--;
}
-buildUnnamed1956() {
+buildUnnamed1962() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed1956(core.List<api.AdUnit> o) {
+checkUnnamed1962(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -444,7 +444,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed1956();
+ o.items = buildUnnamed1962();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -456,21 +456,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1956(o.items);
+ checkUnnamed1962(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed1957() {
+buildUnnamed1963() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1957(core.List<core.String> o) {
+checkUnnamed1963(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'));
@@ -500,66 +500,66 @@
buildCounterAdsenseReportsGenerateResponseHeaders--;
}
-buildUnnamed1958() {
+buildUnnamed1964() {
var o = new core.List<api.AdsenseReportsGenerateResponseHeaders>();
o.add(buildAdsenseReportsGenerateResponseHeaders());
o.add(buildAdsenseReportsGenerateResponseHeaders());
return o;
}
-checkUnnamed1958(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
+checkUnnamed1964(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdsenseReportsGenerateResponseHeaders(o[0]);
checkAdsenseReportsGenerateResponseHeaders(o[1]);
}
-buildUnnamed1959() {
+buildUnnamed1965() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1959(core.List<core.String> o) {
+checkUnnamed1965(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'));
}
-buildUnnamed1960() {
+buildUnnamed1966() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1959());
- o.add(buildUnnamed1959());
+ o.add(buildUnnamed1965());
+ o.add(buildUnnamed1965());
return o;
}
-checkUnnamed1960(core.List<core.List<core.String>> o) {
+checkUnnamed1966(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1959(o[0]);
- checkUnnamed1959(o[1]);
+ checkUnnamed1965(o[0]);
+ checkUnnamed1965(o[1]);
}
-buildUnnamed1961() {
+buildUnnamed1967() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1961(core.List<core.String> o) {
+checkUnnamed1967(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'));
}
-buildUnnamed1962() {
+buildUnnamed1968() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1962(core.List<core.String> o) {
+checkUnnamed1968(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'));
@@ -570,15 +570,15 @@
var o = new api.AdsenseReportsGenerateResponse();
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- o.averages = buildUnnamed1957();
+ o.averages = buildUnnamed1963();
o.endDate = "foo";
- o.headers = buildUnnamed1958();
+ o.headers = buildUnnamed1964();
o.kind = "foo";
- o.rows = buildUnnamed1960();
+ o.rows = buildUnnamed1966();
o.startDate = "foo";
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed1961();
- o.warnings = buildUnnamed1962();
+ o.totals = buildUnnamed1967();
+ o.warnings = buildUnnamed1968();
}
buildCounterAdsenseReportsGenerateResponse--;
return o;
@@ -587,15 +587,15 @@
checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) {
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- checkUnnamed1957(o.averages);
+ checkUnnamed1963(o.averages);
unittest.expect(o.endDate, unittest.equals('foo'));
- checkUnnamed1958(o.headers);
+ checkUnnamed1964(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1960(o.rows);
+ checkUnnamed1966(o.rows);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed1961(o.totals);
- checkUnnamed1962(o.warnings);
+ checkUnnamed1967(o.totals);
+ checkUnnamed1968(o.warnings);
}
buildCounterAdsenseReportsGenerateResponse--;
}
@@ -629,14 +629,14 @@
buildCounterAlert--;
}
-buildUnnamed1963() {
+buildUnnamed1969() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed1963(core.List<api.Alert> o) {
+checkUnnamed1969(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -647,7 +647,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed1963();
+ o.items = buildUnnamed1969();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -657,7 +657,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed1963(o.items);
+ checkUnnamed1969(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -715,14 +715,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed1964() {
+buildUnnamed1970() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed1964(core.List<api.CustomChannel> o) {
+checkUnnamed1970(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -734,7 +734,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed1964();
+ o.items = buildUnnamed1970();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -746,21 +746,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1964(o.items);
+ checkUnnamed1970(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed1965() {
+buildUnnamed1971() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed1965(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed1971(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -771,7 +771,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed1965();
+ o.items = buildUnnamed1971();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -781,7 +781,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed1965(o.items);
+ checkUnnamed1971(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -814,14 +814,14 @@
buildCounterPayment--;
}
-buildUnnamed1966() {
+buildUnnamed1972() {
var o = new core.List<api.Payment>();
o.add(buildPayment());
o.add(buildPayment());
return o;
}
-checkUnnamed1966(core.List<api.Payment> o) {
+checkUnnamed1972(core.List<api.Payment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPayment(o[0]);
checkPayment(o[1]);
@@ -832,7 +832,7 @@
var o = new api.Payments();
buildCounterPayments++;
if (buildCounterPayments < 3) {
- o.items = buildUnnamed1966();
+ o.items = buildUnnamed1972();
o.kind = "foo";
}
buildCounterPayments--;
@@ -842,291 +842,36 @@
checkPayments(api.Payments o) {
buildCounterPayments++;
if (buildCounterPayments < 3) {
- checkUnnamed1966(o.items);
+ checkUnnamed1972(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPayments--;
}
-buildUnnamed1967() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1967(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'));
-}
-
-buildUnnamed1968() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1968(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'));
-}
-
-buildUnnamed1969() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1969(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'));
-}
-
-buildUnnamed1970() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1970(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'));
-}
-
-buildUnnamed1971() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1971(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 buildCounterReportingMetadataEntry = 0;
-buildReportingMetadataEntry() {
- var o = new api.ReportingMetadataEntry();
- buildCounterReportingMetadataEntry++;
- if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed1967();
- o.compatibleMetrics = buildUnnamed1968();
- o.id = "foo";
- o.kind = "foo";
- o.requiredDimensions = buildUnnamed1969();
- o.requiredMetrics = buildUnnamed1970();
- o.supportedProducts = buildUnnamed1971();
- }
- buildCounterReportingMetadataEntry--;
- return o;
-}
-
-checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
- buildCounterReportingMetadataEntry++;
- if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed1967(o.compatibleDimensions);
- checkUnnamed1968(o.compatibleMetrics);
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1969(o.requiredDimensions);
- checkUnnamed1970(o.requiredMetrics);
- checkUnnamed1971(o.supportedProducts);
- }
- buildCounterReportingMetadataEntry--;
-}
-
-core.int buildCounterSavedAdStyle = 0;
-buildSavedAdStyle() {
- var o = new api.SavedAdStyle();
- buildCounterSavedAdStyle++;
- if (buildCounterSavedAdStyle < 3) {
- o.adStyle = buildAdStyle();
- o.id = "foo";
- o.kind = "foo";
- o.name = "foo";
- }
- buildCounterSavedAdStyle--;
- return o;
-}
-
-checkSavedAdStyle(api.SavedAdStyle o) {
- buildCounterSavedAdStyle++;
- if (buildCounterSavedAdStyle < 3) {
- checkAdStyle(o.adStyle);
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterSavedAdStyle--;
-}
-
-buildUnnamed1972() {
- var o = new core.List<api.SavedAdStyle>();
- o.add(buildSavedAdStyle());
- o.add(buildSavedAdStyle());
- return o;
-}
-
-checkUnnamed1972(core.List<api.SavedAdStyle> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSavedAdStyle(o[0]);
- checkSavedAdStyle(o[1]);
-}
-
-core.int buildCounterSavedAdStyles = 0;
-buildSavedAdStyles() {
- var o = new api.SavedAdStyles();
- buildCounterSavedAdStyles++;
- if (buildCounterSavedAdStyles < 3) {
- o.etag = "foo";
- o.items = buildUnnamed1972();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterSavedAdStyles--;
- return o;
-}
-
-checkSavedAdStyles(api.SavedAdStyles o) {
- buildCounterSavedAdStyles++;
- if (buildCounterSavedAdStyles < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1972(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSavedAdStyles--;
-}
-
-core.int buildCounterSavedReport = 0;
-buildSavedReport() {
- var o = new api.SavedReport();
- buildCounterSavedReport++;
- if (buildCounterSavedReport < 3) {
- o.id = "foo";
- o.kind = "foo";
- o.name = "foo";
- }
- buildCounterSavedReport--;
- return o;
-}
-
-checkSavedReport(api.SavedReport o) {
- buildCounterSavedReport++;
- if (buildCounterSavedReport < 3) {
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterSavedReport--;
-}
-
buildUnnamed1973() {
- var o = new core.List<api.SavedReport>();
- o.add(buildSavedReport());
- o.add(buildSavedReport());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1973(core.List<api.SavedReport> o) {
+checkUnnamed1973(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkSavedReport(o[0]);
- checkSavedReport(o[1]);
-}
-
-core.int buildCounterSavedReports = 0;
-buildSavedReports() {
- var o = new api.SavedReports();
- buildCounterSavedReports++;
- if (buildCounterSavedReports < 3) {
- o.etag = "foo";
- o.items = buildUnnamed1973();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterSavedReports--;
- return o;
-}
-
-checkSavedReports(api.SavedReports o) {
- buildCounterSavedReports++;
- if (buildCounterSavedReports < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1973(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterSavedReports--;
-}
-
-core.int buildCounterUrlChannel = 0;
-buildUrlChannel() {
- var o = new api.UrlChannel();
- buildCounterUrlChannel++;
- if (buildCounterUrlChannel < 3) {
- o.id = "foo";
- o.kind = "foo";
- o.urlPattern = "foo";
- }
- buildCounterUrlChannel--;
- return o;
-}
-
-checkUrlChannel(api.UrlChannel o) {
- buildCounterUrlChannel++;
- if (buildCounterUrlChannel < 3) {
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.urlPattern, unittest.equals('foo'));
- }
- buildCounterUrlChannel--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1974() {
- var o = new core.List<api.UrlChannel>();
- o.add(buildUrlChannel());
- o.add(buildUrlChannel());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1974(core.List<api.UrlChannel> o) {
+checkUnnamed1974(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUrlChannel(o[0]);
- checkUrlChannel(o[1]);
-}
-
-core.int buildCounterUrlChannels = 0;
-buildUrlChannels() {
- var o = new api.UrlChannels();
- buildCounterUrlChannels++;
- if (buildCounterUrlChannels < 3) {
- o.etag = "foo";
- o.items = buildUnnamed1974();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterUrlChannels--;
- return o;
-}
-
-checkUrlChannels(api.UrlChannels o) {
- buildCounterUrlChannels++;
- if (buildCounterUrlChannels < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1974(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterUrlChannels--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1975() {
@@ -1168,43 +913,220 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1978() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+core.int buildCounterReportingMetadataEntry = 0;
+buildReportingMetadataEntry() {
+ var o = new api.ReportingMetadataEntry();
+ buildCounterReportingMetadataEntry++;
+ if (buildCounterReportingMetadataEntry < 3) {
+ o.compatibleDimensions = buildUnnamed1973();
+ o.compatibleMetrics = buildUnnamed1974();
+ o.id = "foo";
+ o.kind = "foo";
+ o.requiredDimensions = buildUnnamed1975();
+ o.requiredMetrics = buildUnnamed1976();
+ o.supportedProducts = buildUnnamed1977();
+ }
+ buildCounterReportingMetadataEntry--;
return o;
}
-checkUnnamed1978(core.List<core.String> o) {
+checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
+ buildCounterReportingMetadataEntry++;
+ if (buildCounterReportingMetadataEntry < 3) {
+ checkUnnamed1973(o.compatibleDimensions);
+ checkUnnamed1974(o.compatibleMetrics);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed1975(o.requiredDimensions);
+ checkUnnamed1976(o.requiredMetrics);
+ checkUnnamed1977(o.supportedProducts);
+ }
+ buildCounterReportingMetadataEntry--;
+}
+
+core.int buildCounterSavedAdStyle = 0;
+buildSavedAdStyle() {
+ var o = new api.SavedAdStyle();
+ buildCounterSavedAdStyle++;
+ if (buildCounterSavedAdStyle < 3) {
+ o.adStyle = buildAdStyle();
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterSavedAdStyle--;
+ return o;
+}
+
+checkSavedAdStyle(api.SavedAdStyle o) {
+ buildCounterSavedAdStyle++;
+ if (buildCounterSavedAdStyle < 3) {
+ checkAdStyle(o.adStyle);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterSavedAdStyle--;
+}
+
+buildUnnamed1978() {
+ var o = new core.List<api.SavedAdStyle>();
+ o.add(buildSavedAdStyle());
+ o.add(buildSavedAdStyle());
+ return o;
+}
+
+checkUnnamed1978(core.List<api.SavedAdStyle> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkSavedAdStyle(o[0]);
+ checkSavedAdStyle(o[1]);
+}
+
+core.int buildCounterSavedAdStyles = 0;
+buildSavedAdStyles() {
+ var o = new api.SavedAdStyles();
+ buildCounterSavedAdStyles++;
+ if (buildCounterSavedAdStyles < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed1978();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterSavedAdStyles--;
+ return o;
+}
+
+checkSavedAdStyles(api.SavedAdStyles o) {
+ buildCounterSavedAdStyles++;
+ if (buildCounterSavedAdStyles < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1978(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSavedAdStyles--;
+}
+
+core.int buildCounterSavedReport = 0;
+buildSavedReport() {
+ var o = new api.SavedReport();
+ buildCounterSavedReport++;
+ if (buildCounterSavedReport < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterSavedReport--;
+ return o;
+}
+
+checkSavedReport(api.SavedReport o) {
+ buildCounterSavedReport++;
+ if (buildCounterSavedReport < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterSavedReport--;
}
buildUnnamed1979() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.SavedReport>();
+ o.add(buildSavedReport());
+ o.add(buildSavedReport());
return o;
}
-checkUnnamed1979(core.List<core.String> o) {
+checkUnnamed1979(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkSavedReport(o[0]);
+ checkSavedReport(o[1]);
+}
+
+core.int buildCounterSavedReports = 0;
+buildSavedReports() {
+ var o = new api.SavedReports();
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed1979();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterSavedReports--;
+ return o;
+}
+
+checkSavedReports(api.SavedReports o) {
+ buildCounterSavedReports++;
+ if (buildCounterSavedReports < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1979(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterSavedReports--;
+}
+
+core.int buildCounterUrlChannel = 0;
+buildUrlChannel() {
+ var o = new api.UrlChannel();
+ buildCounterUrlChannel++;
+ if (buildCounterUrlChannel < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.urlPattern = "foo";
+ }
+ buildCounterUrlChannel--;
+ return o;
+}
+
+checkUrlChannel(api.UrlChannel o) {
+ buildCounterUrlChannel++;
+ if (buildCounterUrlChannel < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.urlPattern, unittest.equals('foo'));
+ }
+ buildCounterUrlChannel--;
}
buildUnnamed1980() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.UrlChannel>();
+ o.add(buildUrlChannel());
+ o.add(buildUrlChannel());
return o;
}
-checkUnnamed1980(core.List<core.String> o) {
+checkUnnamed1980(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkUrlChannel(o[0]);
+ checkUrlChannel(o[1]);
+}
+
+core.int buildCounterUrlChannels = 0;
+buildUrlChannels() {
+ var o = new api.UrlChannels();
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed1980();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterUrlChannels--;
+ return o;
+}
+
+checkUrlChannels(api.UrlChannels o) {
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed1980(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterUrlChannels--;
}
buildUnnamed1981() {
@@ -1246,6 +1168,84 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1984() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1984(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'));
+}
+
+buildUnnamed1985() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1985(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'));
+}
+
+buildUnnamed1986() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1986(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'));
+}
+
+buildUnnamed1987() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1987(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'));
+}
+
+buildUnnamed1988() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1988(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'));
+}
+
+buildUnnamed1989() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1989(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'));
+}
+
main() {
unittest.group("obj-schema-Account", () {
unittest.test("to-json--from-json", () {
@@ -2505,12 +2505,12 @@
var arg_startDate = "foo";
var arg_endDate = "foo";
var arg_currency = "foo";
- var arg_dimension = buildUnnamed1975();
- var arg_filter = buildUnnamed1976();
+ var arg_dimension = buildUnnamed1981();
+ var arg_filter = buildUnnamed1982();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1977();
- var arg_sort = buildUnnamed1978();
+ var arg_metric = buildUnnamed1983();
+ var arg_sort = buildUnnamed1984();
var arg_startIndex = 42;
var arg_useTimezoneReporting = true;
var arg_$fields = "foo";
@@ -3853,14 +3853,14 @@
api.ReportsResourceApi res = new api.AdsenseApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_accountId = buildUnnamed1979();
+ var arg_accountId = buildUnnamed1985();
var arg_currency = "foo";
- var arg_dimension = buildUnnamed1980();
- var arg_filter = buildUnnamed1981();
+ var arg_dimension = buildUnnamed1986();
+ var arg_filter = buildUnnamed1987();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed1982();
- var arg_sort = buildUnnamed1983();
+ var arg_metric = buildUnnamed1988();
+ var arg_sort = buildUnnamed1989();
var arg_startIndex = 42;
var arg_useTimezoneReporting = true;
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart
index c8dd8df..d9ecf1b 100644
--- a/generated/googleapis/test/adsensehost/v4_1_test.dart
+++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
@@ -75,14 +75,14 @@
buildCounterAccount--;
}
-buildUnnamed2766() {
+buildUnnamed3051() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2766(core.List<api.Account> o) {
+checkUnnamed3051(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -94,7 +94,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed2766();
+ o.items = buildUnnamed3051();
o.kind = "foo";
}
buildCounterAccounts--;
@@ -105,7 +105,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2766(o.items);
+ checkUnnamed3051(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounts--;
@@ -138,14 +138,14 @@
buildCounterAdClient--;
}
-buildUnnamed2767() {
+buildUnnamed3052() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed2767(core.List<api.AdClient> o) {
+checkUnnamed3052(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -157,7 +157,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed2767();
+ o.items = buildUnnamed3052();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -169,7 +169,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2767(o.items);
+ checkUnnamed3052(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -375,14 +375,14 @@
buildCounterAdUnit--;
}
-buildUnnamed2768() {
+buildUnnamed3053() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed2768(core.List<api.AdUnit> o) {
+checkUnnamed3053(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -394,7 +394,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed2768();
+ o.items = buildUnnamed3053();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,21 +406,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2768(o.items);
+ checkUnnamed3053(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed2769() {
+buildUnnamed3054() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2769(core.List<core.String> o) {
+checkUnnamed3054(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'));
@@ -434,7 +434,7 @@
o.accountId = "foo";
o.id = "foo";
o.kind = "foo";
- o.productCodes = buildUnnamed2769();
+ o.productCodes = buildUnnamed3054();
o.redirectUrl = "foo";
o.status = "foo";
o.userLocale = "foo";
@@ -451,7 +451,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2769(o.productCodes);
+ checkUnnamed3054(o.productCodes);
unittest.expect(o.redirectUrl, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.userLocale, unittest.equals('foo'));
@@ -486,14 +486,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed2770() {
+buildUnnamed3055() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed2770(core.List<api.CustomChannel> o) {
+checkUnnamed3055(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -505,7 +505,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed2770();
+ o.items = buildUnnamed3055();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -517,21 +517,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2770(o.items);
+ checkUnnamed3055(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed2771() {
+buildUnnamed3056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2771(core.List<core.String> o) {
+checkUnnamed3056(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'));
@@ -560,66 +560,66 @@
buildCounterReportHeaders--;
}
-buildUnnamed2772() {
+buildUnnamed3057() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed2772(core.List<api.ReportHeaders> o) {
+checkUnnamed3057(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed2773() {
+buildUnnamed3058() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2773(core.List<core.String> o) {
+checkUnnamed3058(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'));
}
-buildUnnamed2774() {
+buildUnnamed3059() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed2773());
- o.add(buildUnnamed2773());
+ o.add(buildUnnamed3058());
+ o.add(buildUnnamed3058());
return o;
}
-checkUnnamed2774(core.List<core.List<core.String>> o) {
+checkUnnamed3059(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2773(o[0]);
- checkUnnamed2773(o[1]);
+ checkUnnamed3058(o[0]);
+ checkUnnamed3058(o[1]);
}
-buildUnnamed2775() {
+buildUnnamed3060() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2775(core.List<core.String> o) {
+checkUnnamed3060(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'));
}
-buildUnnamed2776() {
+buildUnnamed3061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2776(core.List<core.String> o) {
+checkUnnamed3061(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'));
@@ -630,13 +630,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.averages = buildUnnamed2771();
- o.headers = buildUnnamed2772();
+ o.averages = buildUnnamed3056();
+ o.headers = buildUnnamed3057();
o.kind = "foo";
- o.rows = buildUnnamed2774();
+ o.rows = buildUnnamed3059();
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed2775();
- o.warnings = buildUnnamed2776();
+ o.totals = buildUnnamed3060();
+ o.warnings = buildUnnamed3061();
}
buildCounterReport--;
return o;
@@ -645,13 +645,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed2771(o.averages);
- checkUnnamed2772(o.headers);
+ checkUnnamed3056(o.averages);
+ checkUnnamed3057(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2774(o.rows);
+ checkUnnamed3059(o.rows);
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed2775(o.totals);
- checkUnnamed2776(o.warnings);
+ checkUnnamed3060(o.totals);
+ checkUnnamed3061(o.warnings);
}
buildCounterReport--;
}
@@ -679,14 +679,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed2777() {
+buildUnnamed3062() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed2777(core.List<api.UrlChannel> o) {
+checkUnnamed3062(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -698,7 +698,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed2777();
+ o.items = buildUnnamed3062();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -710,151 +710,151 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2777(o.items);
+ checkUnnamed3062(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed2778() {
+buildUnnamed3063() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2778(core.List<core.String> o) {
+checkUnnamed3063(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'));
}
-buildUnnamed2779() {
+buildUnnamed3064() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2779(core.List<core.String> o) {
+checkUnnamed3064(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'));
}
-buildUnnamed2780() {
+buildUnnamed3065() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2780(core.List<core.String> o) {
+checkUnnamed3065(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'));
}
-buildUnnamed2781() {
+buildUnnamed3066() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2781(core.List<core.String> o) {
+checkUnnamed3066(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'));
}
-buildUnnamed2782() {
+buildUnnamed3067() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2782(core.List<core.String> o) {
+checkUnnamed3067(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'));
}
-buildUnnamed2783() {
+buildUnnamed3068() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2783(core.List<core.String> o) {
+checkUnnamed3068(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'));
}
-buildUnnamed2784() {
+buildUnnamed3069() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2784(core.List<core.String> o) {
+checkUnnamed3069(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'));
}
-buildUnnamed2785() {
+buildUnnamed3070() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2785(core.List<core.String> o) {
+checkUnnamed3070(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'));
}
-buildUnnamed2786() {
+buildUnnamed3071() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2786(core.List<core.String> o) {
+checkUnnamed3071(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'));
}
-buildUnnamed2787() {
+buildUnnamed3072() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2787(core.List<core.String> o) {
+checkUnnamed3072(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'));
}
-buildUnnamed2788() {
+buildUnnamed3073() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2788(core.List<core.String> o) {
+checkUnnamed3073(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'));
@@ -1082,7 +1082,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.AccountsResourceApi res = new api.AdsensehostApi(mock).accounts;
- var arg_filterAdClientId = buildUnnamed2778();
+ var arg_filterAdClientId = buildUnnamed3063();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1440,7 +1440,7 @@
var arg_accountId = "foo";
var arg_adClientId = "foo";
var arg_adUnitId = "foo";
- var arg_hostCustomChannelId = buildUnnamed2779();
+ var arg_hostCustomChannelId = buildUnnamed3064();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1853,12 +1853,12 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed2780();
- var arg_filter = buildUnnamed2781();
+ var arg_dimension = buildUnnamed3065();
+ var arg_filter = buildUnnamed3066();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed2782();
- var arg_sort = buildUnnamed2783();
+ var arg_metric = buildUnnamed3067();
+ var arg_sort = buildUnnamed3068();
var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2064,7 +2064,7 @@
var mock = new HttpServerMock();
api.AssociationsessionsResourceApi res =
new api.AdsensehostApi(mock).associationsessions;
- var arg_productCode = buildUnnamed2784();
+ var arg_productCode = buildUnnamed3069();
var arg_websiteUrl = "foo";
var arg_userLocale = "foo";
var arg_websiteLocale = "foo";
@@ -2603,12 +2603,12 @@
api.ReportsResourceApi res = new api.AdsensehostApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed2785();
- var arg_filter = buildUnnamed2786();
+ var arg_dimension = buildUnnamed3070();
+ var arg_filter = buildUnnamed3071();
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_metric = buildUnnamed2787();
- var arg_sort = buildUnnamed2788();
+ var arg_metric = buildUnnamed3072();
+ var arg_sort = buildUnnamed3073();
var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/analytics/v3_test.dart b/generated/googleapis/test/analytics/v3_test.dart
index b343b79..b7344fe 100644
--- a/generated/googleapis/test/analytics/v3_test.dart
+++ b/generated/googleapis/test/analytics/v3_test.dart
@@ -71,14 +71,14 @@
buildCounterAccountChildLink--;
}
-buildUnnamed1033() {
+buildUnnamed1040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1033(core.List<core.String> o) {
+checkUnnamed1040(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'));
@@ -89,7 +89,7 @@
var o = new api.AccountPermissions();
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- o.effective = buildUnnamed1033();
+ o.effective = buildUnnamed1040();
}
buildCounterAccountPermissions--;
return o;
@@ -98,7 +98,7 @@
checkAccountPermissions(api.AccountPermissions o) {
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- checkUnnamed1033(o.effective);
+ checkUnnamed1040(o.effective);
}
buildCounterAccountPermissions--;
}
@@ -165,14 +165,14 @@
buildCounterAccountRef--;
}
-buildUnnamed1034() {
+buildUnnamed1041() {
var o = new core.List<api.AccountSummary>();
o.add(buildAccountSummary());
o.add(buildAccountSummary());
return o;
}
-checkUnnamed1034(core.List<api.AccountSummary> o) {
+checkUnnamed1041(core.List<api.AccountSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountSummary(o[0]);
checkAccountSummary(o[1]);
@@ -183,7 +183,7 @@
var o = new api.AccountSummaries();
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- o.items = buildUnnamed1034();
+ o.items = buildUnnamed1041();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -199,7 +199,7 @@
checkAccountSummaries(api.AccountSummaries o) {
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- checkUnnamed1034(o.items);
+ checkUnnamed1041(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -211,14 +211,14 @@
buildCounterAccountSummaries--;
}
-buildUnnamed1035() {
+buildUnnamed1042() {
var o = new core.List<api.WebPropertySummary>();
o.add(buildWebPropertySummary());
o.add(buildWebPropertySummary());
return o;
}
-checkUnnamed1035(core.List<api.WebPropertySummary> o) {
+checkUnnamed1042(core.List<api.WebPropertySummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPropertySummary(o[0]);
checkWebPropertySummary(o[1]);
@@ -233,7 +233,7 @@
o.kind = "foo";
o.name = "foo";
o.starred = true;
- o.webProperties = buildUnnamed1035();
+ o.webProperties = buildUnnamed1042();
}
buildCounterAccountSummary--;
return o;
@@ -246,7 +246,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.starred, unittest.isTrue);
- checkUnnamed1035(o.webProperties);
+ checkUnnamed1042(o.webProperties);
}
buildCounterAccountSummary--;
}
@@ -280,14 +280,14 @@
buildCounterAccountTicket--;
}
-buildUnnamed1036() {
+buildUnnamed1043() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1036(core.List<api.Account> o) {
+checkUnnamed1043(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -298,7 +298,7 @@
var o = new api.Accounts();
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- o.items = buildUnnamed1036();
+ o.items = buildUnnamed1043();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -314,7 +314,7 @@
checkAccounts(api.Accounts o) {
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- checkUnnamed1036(o.items);
+ checkUnnamed1043(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -349,14 +349,14 @@
buildCounterAdWordsAccount--;
}
-buildUnnamed1037() {
+buildUnnamed1044() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1037(core.List<core.String> o) {
+checkUnnamed1044(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'));
@@ -367,7 +367,7 @@
var o = new api.AnalyticsDataimportDeleteUploadDataRequest();
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- o.customDataImportUids = buildUnnamed1037();
+ o.customDataImportUids = buildUnnamed1044();
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
return o;
@@ -377,19 +377,19 @@
api.AnalyticsDataimportDeleteUploadDataRequest o) {
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- checkUnnamed1037(o.customDataImportUids);
+ checkUnnamed1044(o.customDataImportUids);
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
}
-buildUnnamed1038() {
+buildUnnamed1045() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1038(core.Map<core.String, core.String> o) {
+checkUnnamed1045(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -400,7 +400,7 @@
var o = new api.Column();
buildCounterColumn++;
if (buildCounterColumn < 3) {
- o.attributes = buildUnnamed1038();
+ o.attributes = buildUnnamed1045();
o.id = "foo";
o.kind = "foo";
}
@@ -411,34 +411,34 @@
checkColumn(api.Column o) {
buildCounterColumn++;
if (buildCounterColumn < 3) {
- checkUnnamed1038(o.attributes);
+ checkUnnamed1045(o.attributes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterColumn--;
}
-buildUnnamed1039() {
+buildUnnamed1046() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1039(core.List<core.String> o) {
+checkUnnamed1046(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'));
}
-buildUnnamed1040() {
+buildUnnamed1047() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed1040(core.List<api.Column> o) {
+checkUnnamed1047(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -449,9 +449,9 @@
var o = new api.Columns();
buildCounterColumns++;
if (buildCounterColumns < 3) {
- o.attributeNames = buildUnnamed1039();
+ o.attributeNames = buildUnnamed1046();
o.etag = "foo";
- o.items = buildUnnamed1040();
+ o.items = buildUnnamed1047();
o.kind = "foo";
o.totalResults = 42;
}
@@ -462,9 +462,9 @@
checkColumns(api.Columns o) {
buildCounterColumns++;
if (buildCounterColumns < 3) {
- checkUnnamed1039(o.attributeNames);
+ checkUnnamed1046(o.attributeNames);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1040(o.items);
+ checkUnnamed1047(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
}
@@ -513,27 +513,27 @@
buildCounterCustomDataSourceParentLink--;
}
-buildUnnamed1041() {
+buildUnnamed1048() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1041(core.List<core.String> o) {
+checkUnnamed1048(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'));
}
-buildUnnamed1042() {
+buildUnnamed1049() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1042(core.List<core.String> o) {
+checkUnnamed1049(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'));
@@ -553,8 +553,8 @@
o.kind = "foo";
o.name = "foo";
o.parentLink = buildCustomDataSourceParentLink();
- o.profilesLinked = buildUnnamed1041();
- o.schema = buildUnnamed1042();
+ o.profilesLinked = buildUnnamed1048();
+ o.schema = buildUnnamed1049();
o.selfLink = "foo";
o.type = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -578,8 +578,8 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkCustomDataSourceParentLink(o.parentLink);
- checkUnnamed1041(o.profilesLinked);
- checkUnnamed1042(o.schema);
+ checkUnnamed1048(o.profilesLinked);
+ checkUnnamed1049(o.schema);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(
@@ -590,14 +590,14 @@
buildCounterCustomDataSource--;
}
-buildUnnamed1043() {
+buildUnnamed1050() {
var o = new core.List<api.CustomDataSource>();
o.add(buildCustomDataSource());
o.add(buildCustomDataSource());
return o;
}
-checkUnnamed1043(core.List<api.CustomDataSource> o) {
+checkUnnamed1050(core.List<api.CustomDataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDataSource(o[0]);
checkCustomDataSource(o[1]);
@@ -608,7 +608,7 @@
var o = new api.CustomDataSources();
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- o.items = buildUnnamed1043();
+ o.items = buildUnnamed1050();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -624,7 +624,7 @@
checkCustomDataSources(api.CustomDataSources o) {
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- checkUnnamed1043(o.items);
+ checkUnnamed1050(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -700,14 +700,14 @@
buildCounterCustomDimension--;
}
-buildUnnamed1044() {
+buildUnnamed1051() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed1044(core.List<api.CustomDimension> o) {
+checkUnnamed1051(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
@@ -718,7 +718,7 @@
var o = new api.CustomDimensions();
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- o.items = buildUnnamed1044();
+ o.items = buildUnnamed1051();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -734,7 +734,7 @@
checkCustomDimensions(api.CustomDimensions o) {
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- checkUnnamed1044(o.items);
+ checkUnnamed1051(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -816,14 +816,14 @@
buildCounterCustomMetric--;
}
-buildUnnamed1045() {
+buildUnnamed1052() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed1045(core.List<api.CustomMetric> o) {
+checkUnnamed1052(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -834,7 +834,7 @@
var o = new api.CustomMetrics();
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- o.items = buildUnnamed1045();
+ o.items = buildUnnamed1052();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -850,7 +850,7 @@
checkCustomMetrics(api.CustomMetrics o) {
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- checkUnnamed1045(o.items);
+ checkUnnamed1052(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -862,14 +862,14 @@
buildCounterCustomMetrics--;
}
-buildUnnamed1046() {
+buildUnnamed1053() {
var o = new core.List<api.AdWordsAccount>();
o.add(buildAdWordsAccount());
o.add(buildAdWordsAccount());
return o;
}
-checkUnnamed1046(core.List<api.AdWordsAccount> o) {
+checkUnnamed1053(core.List<api.AdWordsAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsAccount(o[0]);
checkAdWordsAccount(o[1]);
@@ -894,14 +894,14 @@
buildCounterEntityAdWordsLinkEntity--;
}
-buildUnnamed1047() {
+buildUnnamed1054() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1047(core.List<core.String> o) {
+checkUnnamed1054(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'));
@@ -912,12 +912,12 @@
var o = new api.EntityAdWordsLink();
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- o.adWordsAccounts = buildUnnamed1046();
+ o.adWordsAccounts = buildUnnamed1053();
o.entity = buildEntityAdWordsLinkEntity();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.profileIds = buildUnnamed1047();
+ o.profileIds = buildUnnamed1054();
o.selfLink = "foo";
}
buildCounterEntityAdWordsLink--;
@@ -927,25 +927,25 @@
checkEntityAdWordsLink(api.EntityAdWordsLink o) {
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- checkUnnamed1046(o.adWordsAccounts);
+ checkUnnamed1053(o.adWordsAccounts);
checkEntityAdWordsLinkEntity(o.entity);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1047(o.profileIds);
+ checkUnnamed1054(o.profileIds);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterEntityAdWordsLink--;
}
-buildUnnamed1048() {
+buildUnnamed1055() {
var o = new core.List<api.EntityAdWordsLink>();
o.add(buildEntityAdWordsLink());
o.add(buildEntityAdWordsLink());
return o;
}
-checkUnnamed1048(core.List<api.EntityAdWordsLink> o) {
+checkUnnamed1055(core.List<api.EntityAdWordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAdWordsLink(o[0]);
checkEntityAdWordsLink(o[1]);
@@ -956,7 +956,7 @@
var o = new api.EntityAdWordsLinks();
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- o.items = buildUnnamed1048();
+ o.items = buildUnnamed1055();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -971,7 +971,7 @@
checkEntityAdWordsLinks(api.EntityAdWordsLinks o) {
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- checkUnnamed1048(o.items);
+ checkUnnamed1055(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1005,27 +1005,27 @@
buildCounterEntityUserLinkEntity--;
}
-buildUnnamed1049() {
+buildUnnamed1056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1049(core.List<core.String> o) {
+checkUnnamed1056(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'));
}
-buildUnnamed1050() {
+buildUnnamed1057() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1050(core.List<core.String> o) {
+checkUnnamed1057(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'));
@@ -1036,8 +1036,8 @@
var o = new api.EntityUserLinkPermissions();
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- o.effective = buildUnnamed1049();
- o.local = buildUnnamed1050();
+ o.effective = buildUnnamed1056();
+ o.local = buildUnnamed1057();
}
buildCounterEntityUserLinkPermissions--;
return o;
@@ -1046,8 +1046,8 @@
checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) {
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- checkUnnamed1049(o.effective);
- checkUnnamed1050(o.local);
+ checkUnnamed1056(o.effective);
+ checkUnnamed1057(o.local);
}
buildCounterEntityUserLinkPermissions--;
}
@@ -1081,14 +1081,14 @@
buildCounterEntityUserLink--;
}
-buildUnnamed1051() {
+buildUnnamed1058() {
var o = new core.List<api.EntityUserLink>();
o.add(buildEntityUserLink());
o.add(buildEntityUserLink());
return o;
}
-checkUnnamed1051(core.List<api.EntityUserLink> o) {
+checkUnnamed1058(core.List<api.EntityUserLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityUserLink(o[0]);
checkEntityUserLink(o[1]);
@@ -1099,7 +1099,7 @@
var o = new api.EntityUserLinks();
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- o.items = buildUnnamed1051();
+ o.items = buildUnnamed1058();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1114,7 +1114,7 @@
checkEntityUserLinks(api.EntityUserLinks o) {
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- checkUnnamed1051(o.items);
+ checkUnnamed1058(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1173,14 +1173,14 @@
buildCounterExperimentVariations--;
}
-buildUnnamed1052() {
+buildUnnamed1059() {
var o = new core.List<api.ExperimentVariations>();
o.add(buildExperimentVariations());
o.add(buildExperimentVariations());
return o;
}
-checkUnnamed1052(core.List<api.ExperimentVariations> o) {
+checkUnnamed1059(core.List<api.ExperimentVariations> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperimentVariations(o[0]);
checkExperimentVariations(o[1]);
@@ -1215,7 +1215,7 @@
o.status = "foo";
o.trafficCoverage = 42.0;
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
- o.variations = buildUnnamed1052();
+ o.variations = buildUnnamed1059();
o.webPropertyId = "foo";
o.winnerConfidenceLevel = 42.0;
o.winnerFound = true;
@@ -1255,7 +1255,7 @@
unittest.expect(o.trafficCoverage, unittest.equals(42.0));
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1052(o.variations);
+ checkUnnamed1059(o.variations);
unittest.expect(o.webPropertyId, unittest.equals('foo'));
unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0));
unittest.expect(o.winnerFound, unittest.isTrue);
@@ -1263,14 +1263,14 @@
buildCounterExperiment--;
}
-buildUnnamed1053() {
+buildUnnamed1060() {
var o = new core.List<api.Experiment>();
o.add(buildExperiment());
o.add(buildExperiment());
return o;
}
-checkUnnamed1053(core.List<api.Experiment> o) {
+checkUnnamed1060(core.List<api.Experiment> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperiment(o[0]);
checkExperiment(o[1]);
@@ -1281,7 +1281,7 @@
var o = new api.Experiments();
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- o.items = buildUnnamed1053();
+ o.items = buildUnnamed1060();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1297,7 +1297,7 @@
checkExperiments(api.Experiments o) {
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- checkUnnamed1053(o.items);
+ checkUnnamed1060(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1547,14 +1547,14 @@
buildCounterFilterRef--;
}
-buildUnnamed1054() {
+buildUnnamed1061() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed1054(core.List<api.Filter> o) {
+checkUnnamed1061(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -1565,7 +1565,7 @@
var o = new api.Filters();
buildCounterFilters++;
if (buildCounterFilters < 3) {
- o.items = buildUnnamed1054();
+ o.items = buildUnnamed1061();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1581,7 +1581,7 @@
checkFilters(api.Filters o) {
buildCounterFilters++;
if (buildCounterFilters < 3) {
- checkUnnamed1054(o.items);
+ checkUnnamed1061(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1616,14 +1616,14 @@
buildCounterGaDataColumnHeaders--;
}
-buildUnnamed1055() {
+buildUnnamed1062() {
var o = new core.List<api.GaDataColumnHeaders>();
o.add(buildGaDataColumnHeaders());
o.add(buildGaDataColumnHeaders());
return o;
}
-checkUnnamed1055(core.List<api.GaDataColumnHeaders> o) {
+checkUnnamed1062(core.List<api.GaDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataColumnHeaders(o[0]);
checkGaDataColumnHeaders(o[1]);
@@ -1652,14 +1652,14 @@
buildCounterGaDataDataTableCols--;
}
-buildUnnamed1056() {
+buildUnnamed1063() {
var o = new core.List<api.GaDataDataTableCols>();
o.add(buildGaDataDataTableCols());
o.add(buildGaDataDataTableCols());
return o;
}
-checkUnnamed1056(core.List<api.GaDataDataTableCols> o) {
+checkUnnamed1063(core.List<api.GaDataDataTableCols> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableCols(o[0]);
checkGaDataDataTableCols(o[1]);
@@ -1684,14 +1684,14 @@
buildCounterGaDataDataTableRowsC--;
}
-buildUnnamed1057() {
+buildUnnamed1064() {
var o = new core.List<api.GaDataDataTableRowsC>();
o.add(buildGaDataDataTableRowsC());
o.add(buildGaDataDataTableRowsC());
return o;
}
-checkUnnamed1057(core.List<api.GaDataDataTableRowsC> o) {
+checkUnnamed1064(core.List<api.GaDataDataTableRowsC> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRowsC(o[0]);
checkGaDataDataTableRowsC(o[1]);
@@ -1702,7 +1702,7 @@
var o = new api.GaDataDataTableRows();
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- o.c = buildUnnamed1057();
+ o.c = buildUnnamed1064();
}
buildCounterGaDataDataTableRows--;
return o;
@@ -1711,19 +1711,19 @@
checkGaDataDataTableRows(api.GaDataDataTableRows o) {
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- checkUnnamed1057(o.c);
+ checkUnnamed1064(o.c);
}
buildCounterGaDataDataTableRows--;
}
-buildUnnamed1058() {
+buildUnnamed1065() {
var o = new core.List<api.GaDataDataTableRows>();
o.add(buildGaDataDataTableRows());
o.add(buildGaDataDataTableRows());
return o;
}
-checkUnnamed1058(core.List<api.GaDataDataTableRows> o) {
+checkUnnamed1065(core.List<api.GaDataDataTableRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRows(o[0]);
checkGaDataDataTableRows(o[1]);
@@ -1734,8 +1734,8 @@
var o = new api.GaDataDataTable();
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- o.cols = buildUnnamed1056();
- o.rows = buildUnnamed1058();
+ o.cols = buildUnnamed1063();
+ o.rows = buildUnnamed1065();
}
buildCounterGaDataDataTable--;
return o;
@@ -1744,8 +1744,8 @@
checkGaDataDataTable(api.GaDataDataTable o) {
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- checkUnnamed1056(o.cols);
- checkUnnamed1058(o.rows);
+ checkUnnamed1063(o.cols);
+ checkUnnamed1065(o.rows);
}
buildCounterGaDataDataTable--;
}
@@ -1779,27 +1779,27 @@
buildCounterGaDataProfileInfo--;
}
-buildUnnamed1059() {
+buildUnnamed1066() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1059(core.List<core.String> o) {
+checkUnnamed1066(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'));
}
-buildUnnamed1060() {
+buildUnnamed1067() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1060(core.List<core.String> o) {
+checkUnnamed1067(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'));
@@ -1815,10 +1815,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1059();
+ o.metrics = buildUnnamed1066();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed1060();
+ o.sort = buildUnnamed1067();
o.start_date = "foo";
o.start_index = 42;
}
@@ -1834,50 +1834,50 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1059(o.metrics);
+ checkUnnamed1066(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed1060(o.sort);
+ checkUnnamed1067(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
buildCounterGaDataQuery--;
}
-buildUnnamed1061() {
+buildUnnamed1068() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1061(core.List<core.String> o) {
+checkUnnamed1068(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'));
}
-buildUnnamed1062() {
+buildUnnamed1069() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1061());
- o.add(buildUnnamed1061());
+ o.add(buildUnnamed1068());
+ o.add(buildUnnamed1068());
return o;
}
-checkUnnamed1062(core.List<core.List<core.String>> o) {
+checkUnnamed1069(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1061(o[0]);
- checkUnnamed1061(o[1]);
+ checkUnnamed1068(o[0]);
+ checkUnnamed1068(o[1]);
}
-buildUnnamed1063() {
+buildUnnamed1070() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1063(core.Map<core.String, core.String> o) {
+checkUnnamed1070(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1888,7 +1888,7 @@
var o = new api.GaData();
buildCounterGaData++;
if (buildCounterGaData < 3) {
- o.columnHeaders = buildUnnamed1055();
+ o.columnHeaders = buildUnnamed1062();
o.containsSampledData = true;
o.dataLastRefreshed = "foo";
o.dataTable = buildGaDataDataTable();
@@ -1899,12 +1899,12 @@
o.previousLink = "foo";
o.profileInfo = buildGaDataProfileInfo();
o.query = buildGaDataQuery();
- o.rows = buildUnnamed1062();
+ o.rows = buildUnnamed1069();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1063();
+ o.totalsForAllResults = buildUnnamed1070();
}
buildCounterGaData--;
return o;
@@ -1913,7 +1913,7 @@
checkGaData(api.GaData o) {
buildCounterGaData++;
if (buildCounterGaData < 3) {
- checkUnnamed1055(o.columnHeaders);
+ checkUnnamed1062(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
checkGaDataDataTable(o.dataTable);
@@ -1924,12 +1924,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkGaDataProfileInfo(o.profileInfo);
checkGaDataQuery(o.query);
- checkUnnamed1062(o.rows);
+ checkUnnamed1069(o.rows);
unittest.expect(o.sampleSize, unittest.equals('foo'));
unittest.expect(o.sampleSpace, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed1063(o.totalsForAllResults);
+ checkUnnamed1070(o.totalsForAllResults);
}
buildCounterGaData--;
}
@@ -1961,14 +1961,14 @@
buildCounterGoalEventDetailsEventConditions--;
}
-buildUnnamed1064() {
+buildUnnamed1071() {
var o = new core.List<api.GoalEventDetailsEventConditions>();
o.add(buildGoalEventDetailsEventConditions());
o.add(buildGoalEventDetailsEventConditions());
return o;
}
-checkUnnamed1064(core.List<api.GoalEventDetailsEventConditions> o) {
+checkUnnamed1071(core.List<api.GoalEventDetailsEventConditions> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalEventDetailsEventConditions(o[0]);
checkGoalEventDetailsEventConditions(o[1]);
@@ -1979,7 +1979,7 @@
var o = new api.GoalEventDetails();
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- o.eventConditions = buildUnnamed1064();
+ o.eventConditions = buildUnnamed1071();
o.useEventValue = true;
}
buildCounterGoalEventDetails--;
@@ -1989,7 +1989,7 @@
checkGoalEventDetails(api.GoalEventDetails o) {
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- checkUnnamed1064(o.eventConditions);
+ checkUnnamed1071(o.eventConditions);
unittest.expect(o.useEventValue, unittest.isTrue);
}
buildCounterGoalEventDetails--;
@@ -2039,14 +2039,14 @@
buildCounterGoalUrlDestinationDetailsSteps--;
}
-buildUnnamed1065() {
+buildUnnamed1072() {
var o = new core.List<api.GoalUrlDestinationDetailsSteps>();
o.add(buildGoalUrlDestinationDetailsSteps());
o.add(buildGoalUrlDestinationDetailsSteps());
return o;
}
-checkUnnamed1065(core.List<api.GoalUrlDestinationDetailsSteps> o) {
+checkUnnamed1072(core.List<api.GoalUrlDestinationDetailsSteps> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalUrlDestinationDetailsSteps(o[0]);
checkGoalUrlDestinationDetailsSteps(o[1]);
@@ -2060,7 +2060,7 @@
o.caseSensitive = true;
o.firstStepRequired = true;
o.matchType = "foo";
- o.steps = buildUnnamed1065();
+ o.steps = buildUnnamed1072();
o.url = "foo";
}
buildCounterGoalUrlDestinationDetails--;
@@ -2073,7 +2073,7 @@
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.firstStepRequired, unittest.isTrue);
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed1065(o.steps);
+ checkUnnamed1072(o.steps);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoalUrlDestinationDetails--;
@@ -2176,14 +2176,14 @@
buildCounterGoal--;
}
-buildUnnamed1066() {
+buildUnnamed1073() {
var o = new core.List<api.Goal>();
o.add(buildGoal());
o.add(buildGoal());
return o;
}
-checkUnnamed1066(core.List<api.Goal> o) {
+checkUnnamed1073(core.List<api.Goal> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoal(o[0]);
checkGoal(o[1]);
@@ -2194,7 +2194,7 @@
var o = new api.Goals();
buildCounterGoals++;
if (buildCounterGoals < 3) {
- o.items = buildUnnamed1066();
+ o.items = buildUnnamed1073();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2210,7 +2210,7 @@
checkGoals(api.Goals o) {
buildCounterGoals++;
if (buildCounterGoals < 3) {
- checkUnnamed1066(o.items);
+ checkUnnamed1073(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2309,14 +2309,14 @@
buildCounterMcfDataColumnHeaders--;
}
-buildUnnamed1067() {
+buildUnnamed1074() {
var o = new core.List<api.McfDataColumnHeaders>();
o.add(buildMcfDataColumnHeaders());
o.add(buildMcfDataColumnHeaders());
return o;
}
-checkUnnamed1067(core.List<api.McfDataColumnHeaders> o) {
+checkUnnamed1074(core.List<api.McfDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataColumnHeaders(o[0]);
checkMcfDataColumnHeaders(o[1]);
@@ -2351,27 +2351,27 @@
buildCounterMcfDataProfileInfo--;
}
-buildUnnamed1068() {
+buildUnnamed1075() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1068(core.List<core.String> o) {
+checkUnnamed1075(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'));
}
-buildUnnamed1069() {
+buildUnnamed1076() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1069(core.List<core.String> o) {
+checkUnnamed1076(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'));
@@ -2387,10 +2387,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1068();
+ o.metrics = buildUnnamed1075();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed1069();
+ o.sort = buildUnnamed1076();
o.start_date = "foo";
o.start_index = 42;
}
@@ -2406,10 +2406,10 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1068(o.metrics);
+ checkUnnamed1075(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed1069(o.sort);
+ checkUnnamed1076(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
@@ -2437,14 +2437,14 @@
buildCounterMcfDataRowsConversionPathValue--;
}
-buildUnnamed1070() {
+buildUnnamed1077() {
var o = new core.List<api.McfDataRowsConversionPathValue>();
o.add(buildMcfDataRowsConversionPathValue());
o.add(buildMcfDataRowsConversionPathValue());
return o;
}
-checkUnnamed1070(core.List<api.McfDataRowsConversionPathValue> o) {
+checkUnnamed1077(core.List<api.McfDataRowsConversionPathValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRowsConversionPathValue(o[0]);
checkMcfDataRowsConversionPathValue(o[1]);
@@ -2455,7 +2455,7 @@
var o = new api.McfDataRows();
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- o.conversionPathValue = buildUnnamed1070();
+ o.conversionPathValue = buildUnnamed1077();
o.primitiveValue = "foo";
}
buildCounterMcfDataRows--;
@@ -2465,46 +2465,46 @@
checkMcfDataRows(api.McfDataRows o) {
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- checkUnnamed1070(o.conversionPathValue);
+ checkUnnamed1077(o.conversionPathValue);
unittest.expect(o.primitiveValue, unittest.equals('foo'));
}
buildCounterMcfDataRows--;
}
-buildUnnamed1071() {
+buildUnnamed1078() {
var o = new core.List<api.McfDataRows>();
o.add(buildMcfDataRows());
o.add(buildMcfDataRows());
return o;
}
-checkUnnamed1071(core.List<api.McfDataRows> o) {
+checkUnnamed1078(core.List<api.McfDataRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRows(o[0]);
checkMcfDataRows(o[1]);
}
-buildUnnamed1072() {
+buildUnnamed1079() {
var o = new core.List<core.List<api.McfDataRows>>();
- o.add(buildUnnamed1071());
- o.add(buildUnnamed1071());
+ o.add(buildUnnamed1078());
+ o.add(buildUnnamed1078());
return o;
}
-checkUnnamed1072(core.List<core.List<api.McfDataRows>> o) {
+checkUnnamed1079(core.List<core.List<api.McfDataRows>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1071(o[0]);
- checkUnnamed1071(o[1]);
+ checkUnnamed1078(o[0]);
+ checkUnnamed1078(o[1]);
}
-buildUnnamed1073() {
+buildUnnamed1080() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1073(core.Map<core.String, core.String> o) {
+checkUnnamed1080(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2515,7 +2515,7 @@
var o = new api.McfData();
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- o.columnHeaders = buildUnnamed1067();
+ o.columnHeaders = buildUnnamed1074();
o.containsSampledData = true;
o.id = "foo";
o.itemsPerPage = 42;
@@ -2524,12 +2524,12 @@
o.previousLink = "foo";
o.profileInfo = buildMcfDataProfileInfo();
o.query = buildMcfDataQuery();
- o.rows = buildUnnamed1072();
+ o.rows = buildUnnamed1079();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1073();
+ o.totalsForAllResults = buildUnnamed1080();
}
buildCounterMcfData--;
return o;
@@ -2538,7 +2538,7 @@
checkMcfData(api.McfData o) {
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- checkUnnamed1067(o.columnHeaders);
+ checkUnnamed1074(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.itemsPerPage, unittest.equals(42));
@@ -2547,12 +2547,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkMcfDataProfileInfo(o.profileInfo);
checkMcfDataQuery(o.query);
- checkUnnamed1072(o.rows);
+ checkUnnamed1079(o.rows);
unittest.expect(o.sampleSize, unittest.equals('foo'));
unittest.expect(o.sampleSpace, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed1073(o.totalsForAllResults);
+ checkUnnamed1080(o.totalsForAllResults);
}
buildCounterMcfData--;
}
@@ -2599,14 +2599,14 @@
buildCounterProfileParentLink--;
}
-buildUnnamed1074() {
+buildUnnamed1081() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1074(core.List<core.String> o) {
+checkUnnamed1081(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'));
@@ -2617,7 +2617,7 @@
var o = new api.ProfilePermissions();
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- o.effective = buildUnnamed1074();
+ o.effective = buildUnnamed1081();
}
buildCounterProfilePermissions--;
return o;
@@ -2626,7 +2626,7 @@
checkProfilePermissions(api.ProfilePermissions o) {
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- checkUnnamed1074(o.effective);
+ checkUnnamed1081(o.effective);
}
buildCounterProfilePermissions--;
}
@@ -2731,14 +2731,14 @@
buildCounterProfileFilterLink--;
}
-buildUnnamed1075() {
+buildUnnamed1082() {
var o = new core.List<api.ProfileFilterLink>();
o.add(buildProfileFilterLink());
o.add(buildProfileFilterLink());
return o;
}
-checkUnnamed1075(core.List<api.ProfileFilterLink> o) {
+checkUnnamed1082(core.List<api.ProfileFilterLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileFilterLink(o[0]);
checkProfileFilterLink(o[1]);
@@ -2749,7 +2749,7 @@
var o = new api.ProfileFilterLinks();
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- o.items = buildUnnamed1075();
+ o.items = buildUnnamed1082();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2765,7 +2765,7 @@
checkProfileFilterLinks(api.ProfileFilterLinks o) {
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- checkUnnamed1075(o.items);
+ checkUnnamed1082(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2835,14 +2835,14 @@
buildCounterProfileSummary--;
}
-buildUnnamed1076() {
+buildUnnamed1083() {
var o = new core.List<api.Profile>();
o.add(buildProfile());
o.add(buildProfile());
return o;
}
-checkUnnamed1076(core.List<api.Profile> o) {
+checkUnnamed1083(core.List<api.Profile> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfile(o[0]);
checkProfile(o[1]);
@@ -2853,7 +2853,7 @@
var o = new api.Profiles();
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- o.items = buildUnnamed1076();
+ o.items = buildUnnamed1083();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2869,7 +2869,7 @@
checkProfiles(api.Profiles o) {
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- checkUnnamed1076(o.items);
+ checkUnnamed1083(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2904,14 +2904,14 @@
buildCounterRealtimeDataColumnHeaders--;
}
-buildUnnamed1077() {
+buildUnnamed1084() {
var o = new core.List<api.RealtimeDataColumnHeaders>();
o.add(buildRealtimeDataColumnHeaders());
o.add(buildRealtimeDataColumnHeaders());
return o;
}
-checkUnnamed1077(core.List<api.RealtimeDataColumnHeaders> o) {
+checkUnnamed1084(core.List<api.RealtimeDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkRealtimeDataColumnHeaders(o[0]);
checkRealtimeDataColumnHeaders(o[1]);
@@ -2946,27 +2946,27 @@
buildCounterRealtimeDataProfileInfo--;
}
-buildUnnamed1078() {
+buildUnnamed1085() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1078(core.List<core.String> o) {
+checkUnnamed1085(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'));
}
-buildUnnamed1079() {
+buildUnnamed1086() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1079(core.List<core.String> o) {
+checkUnnamed1086(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'));
@@ -2981,8 +2981,8 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1078();
- o.sort = buildUnnamed1079();
+ o.metrics = buildUnnamed1085();
+ o.sort = buildUnnamed1086();
}
buildCounterRealtimeDataQuery--;
return o;
@@ -2995,46 +2995,46 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1078(o.metrics);
- checkUnnamed1079(o.sort);
+ checkUnnamed1085(o.metrics);
+ checkUnnamed1086(o.sort);
}
buildCounterRealtimeDataQuery--;
}
-buildUnnamed1080() {
+buildUnnamed1087() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1080(core.List<core.String> o) {
+checkUnnamed1087(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'));
}
-buildUnnamed1081() {
+buildUnnamed1088() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1080());
- o.add(buildUnnamed1080());
+ o.add(buildUnnamed1087());
+ o.add(buildUnnamed1087());
return o;
}
-checkUnnamed1081(core.List<core.List<core.String>> o) {
+checkUnnamed1088(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1080(o[0]);
- checkUnnamed1080(o[1]);
+ checkUnnamed1087(o[0]);
+ checkUnnamed1087(o[1]);
}
-buildUnnamed1082() {
+buildUnnamed1089() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1082(core.Map<core.String, core.String> o) {
+checkUnnamed1089(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3045,15 +3045,15 @@
var o = new api.RealtimeData();
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- o.columnHeaders = buildUnnamed1077();
+ o.columnHeaders = buildUnnamed1084();
o.id = "foo";
o.kind = "foo";
o.profileInfo = buildRealtimeDataProfileInfo();
o.query = buildRealtimeDataQuery();
- o.rows = buildUnnamed1081();
+ o.rows = buildUnnamed1088();
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1082();
+ o.totalsForAllResults = buildUnnamed1089();
}
buildCounterRealtimeData--;
return o;
@@ -3062,15 +3062,15 @@
checkRealtimeData(api.RealtimeData o) {
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- checkUnnamed1077(o.columnHeaders);
+ checkUnnamed1084(o.columnHeaders);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRealtimeDataProfileInfo(o.profileInfo);
checkRealtimeDataQuery(o.query);
- checkUnnamed1081(o.rows);
+ checkUnnamed1088(o.rows);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed1082(o.totalsForAllResults);
+ checkUnnamed1089(o.totalsForAllResults);
}
buildCounterRealtimeData--;
}
@@ -3095,27 +3095,27 @@
buildCounterRemarketingAudienceAudienceDefinition--;
}
-buildUnnamed1083() {
+buildUnnamed1090() {
var o = new core.List<api.LinkedForeignAccount>();
o.add(buildLinkedForeignAccount());
o.add(buildLinkedForeignAccount());
return o;
}
-checkUnnamed1083(core.List<api.LinkedForeignAccount> o) {
+checkUnnamed1090(core.List<api.LinkedForeignAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinkedForeignAccount(o[0]);
checkLinkedForeignAccount(o[1]);
}
-buildUnnamed1084() {
+buildUnnamed1091() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1084(core.List<core.String> o) {
+checkUnnamed1091(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'));
@@ -3185,8 +3185,8 @@
o.id = "foo";
o.internalWebPropertyId = "foo";
o.kind = "foo";
- o.linkedAdAccounts = buildUnnamed1083();
- o.linkedViews = buildUnnamed1084();
+ o.linkedAdAccounts = buildUnnamed1090();
+ o.linkedViews = buildUnnamed1091();
o.name = "foo";
o.stateBasedAudienceDefinition =
buildRemarketingAudienceStateBasedAudienceDefinition();
@@ -3209,8 +3209,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1083(o.linkedAdAccounts);
- checkUnnamed1084(o.linkedViews);
+ checkUnnamed1090(o.linkedAdAccounts);
+ checkUnnamed1091(o.linkedViews);
unittest.expect(o.name, unittest.equals('foo'));
checkRemarketingAudienceStateBasedAudienceDefinition(
o.stateBasedAudienceDefinition);
@@ -3221,14 +3221,14 @@
buildCounterRemarketingAudience--;
}
-buildUnnamed1085() {
+buildUnnamed1092() {
var o = new core.List<api.RemarketingAudience>();
o.add(buildRemarketingAudience());
o.add(buildRemarketingAudience());
return o;
}
-checkUnnamed1085(core.List<api.RemarketingAudience> o) {
+checkUnnamed1092(core.List<api.RemarketingAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingAudience(o[0]);
checkRemarketingAudience(o[1]);
@@ -3239,7 +3239,7 @@
var o = new api.RemarketingAudiences();
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- o.items = buildUnnamed1085();
+ o.items = buildUnnamed1092();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3255,7 +3255,7 @@
checkRemarketingAudiences(api.RemarketingAudiences o) {
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- checkUnnamed1085(o.items);
+ checkUnnamed1092(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3304,14 +3304,14 @@
buildCounterSegment--;
}
-buildUnnamed1086() {
+buildUnnamed1093() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed1086(core.List<api.Segment> o) {
+checkUnnamed1093(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -3322,7 +3322,7 @@
var o = new api.Segments();
buildCounterSegments++;
if (buildCounterSegments < 3) {
- o.items = buildUnnamed1086();
+ o.items = buildUnnamed1093();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3338,7 +3338,7 @@
checkSegments(api.Segments o) {
buildCounterSegments++;
if (buildCounterSegments < 3) {
- checkUnnamed1086(o.items);
+ checkUnnamed1093(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3451,14 +3451,14 @@
buildCounterUnsampledReport--;
}
-buildUnnamed1087() {
+buildUnnamed1094() {
var o = new core.List<api.UnsampledReport>();
o.add(buildUnsampledReport());
o.add(buildUnsampledReport());
return o;
}
-checkUnnamed1087(core.List<api.UnsampledReport> o) {
+checkUnnamed1094(core.List<api.UnsampledReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnsampledReport(o[0]);
checkUnsampledReport(o[1]);
@@ -3469,7 +3469,7 @@
var o = new api.UnsampledReports();
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- o.items = buildUnnamed1087();
+ o.items = buildUnnamed1094();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3485,7 +3485,7 @@
checkUnsampledReports(api.UnsampledReports o) {
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- checkUnnamed1087(o.items);
+ checkUnnamed1094(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3497,14 +3497,14 @@
buildCounterUnsampledReports--;
}
-buildUnnamed1088() {
+buildUnnamed1095() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1088(core.List<core.String> o) {
+checkUnnamed1095(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'));
@@ -3517,7 +3517,7 @@
if (buildCounterUpload < 3) {
o.accountId = "foo";
o.customDataSourceId = "foo";
- o.errors = buildUnnamed1088();
+ o.errors = buildUnnamed1095();
o.id = "foo";
o.kind = "foo";
o.status = "foo";
@@ -3532,7 +3532,7 @@
if (buildCounterUpload < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.customDataSourceId, unittest.equals('foo'));
- checkUnnamed1088(o.errors);
+ checkUnnamed1095(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -3542,14 +3542,14 @@
buildCounterUpload--;
}
-buildUnnamed1089() {
+buildUnnamed1096() {
var o = new core.List<api.Upload>();
o.add(buildUpload());
o.add(buildUpload());
return o;
}
-checkUnnamed1089(core.List<api.Upload> o) {
+checkUnnamed1096(core.List<api.Upload> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpload(o[0]);
checkUpload(o[1]);
@@ -3560,7 +3560,7 @@
var o = new api.Uploads();
buildCounterUploads++;
if (buildCounterUploads < 3) {
- o.items = buildUnnamed1089();
+ o.items = buildUnnamed1096();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3575,7 +3575,7 @@
checkUploads(api.Uploads o) {
buildCounterUploads++;
if (buildCounterUploads < 3) {
- checkUnnamed1089(o.items);
+ checkUnnamed1096(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3638,14 +3638,14 @@
buildCounterWebPropertyRef--;
}
-buildUnnamed1090() {
+buildUnnamed1097() {
var o = new core.List<api.ProfileSummary>();
o.add(buildProfileSummary());
o.add(buildProfileSummary());
return o;
}
-checkUnnamed1090(core.List<api.ProfileSummary> o) {
+checkUnnamed1097(core.List<api.ProfileSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileSummary(o[0]);
checkProfileSummary(o[1]);
@@ -3661,7 +3661,7 @@
o.kind = "foo";
o.level = "foo";
o.name = "foo";
- o.profiles = buildUnnamed1090();
+ o.profiles = buildUnnamed1097();
o.starred = true;
o.websiteUrl = "foo";
}
@@ -3677,21 +3677,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1090(o.profiles);
+ checkUnnamed1097(o.profiles);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterWebPropertySummary--;
}
-buildUnnamed1091() {
+buildUnnamed1098() {
var o = new core.List<api.Webproperty>();
o.add(buildWebproperty());
o.add(buildWebproperty());
return o;
}
-checkUnnamed1091(core.List<api.Webproperty> o) {
+checkUnnamed1098(core.List<api.Webproperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebproperty(o[0]);
checkWebproperty(o[1]);
@@ -3702,7 +3702,7 @@
var o = new api.Webproperties();
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- o.items = buildUnnamed1091();
+ o.items = buildUnnamed1098();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3718,7 +3718,7 @@
checkWebproperties(api.Webproperties o) {
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- checkUnnamed1091(o.items);
+ checkUnnamed1098(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3772,14 +3772,14 @@
buildCounterWebpropertyParentLink--;
}
-buildUnnamed1092() {
+buildUnnamed1099() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1092(core.List<core.String> o) {
+checkUnnamed1099(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'));
@@ -3790,7 +3790,7 @@
var o = new api.WebpropertyPermissions();
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- o.effective = buildUnnamed1092();
+ o.effective = buildUnnamed1099();
}
buildCounterWebpropertyPermissions--;
return o;
@@ -3799,7 +3799,7 @@
checkWebpropertyPermissions(api.WebpropertyPermissions o) {
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- checkUnnamed1092(o.effective);
+ checkUnnamed1099(o.effective);
}
buildCounterWebpropertyPermissions--;
}
diff --git a/generated/googleapis/test/analyticsreporting/v4_test.dart b/generated/googleapis/test/analyticsreporting/v4_test.dart
index 3fda7e8..6076c6e 100644
--- a/generated/googleapis/test/analyticsreporting/v4_test.dart
+++ b/generated/googleapis/test/analyticsreporting/v4_test.dart
@@ -73,14 +73,14 @@
buildCounterCohort--;
}
-buildUnnamed193() {
+buildUnnamed197() {
var o = new core.List<api.Cohort>();
o.add(buildCohort());
o.add(buildCohort());
return o;
}
-checkUnnamed193(core.List<api.Cohort> o) {
+checkUnnamed197(core.List<api.Cohort> o) {
unittest.expect(o, unittest.hasLength(2));
checkCohort(o[0]);
checkCohort(o[1]);
@@ -91,7 +91,7 @@
var o = new api.CohortGroup();
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- o.cohorts = buildUnnamed193();
+ o.cohorts = buildUnnamed197();
o.lifetimeValue = true;
}
buildCounterCohortGroup--;
@@ -101,20 +101,20 @@
checkCohortGroup(api.CohortGroup o) {
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- checkUnnamed193(o.cohorts);
+ checkUnnamed197(o.cohorts);
unittest.expect(o.lifetimeValue, unittest.isTrue);
}
buildCounterCohortGroup--;
}
-buildUnnamed194() {
+buildUnnamed198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed194(core.List<core.String> o) {
+checkUnnamed198(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'));
@@ -125,7 +125,7 @@
var o = new api.ColumnHeader();
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- o.dimensions = buildUnnamed194();
+ o.dimensions = buildUnnamed198();
o.metricHeader = buildMetricHeader();
}
buildCounterColumnHeader--;
@@ -135,7 +135,7 @@
checkColumnHeader(api.ColumnHeader o) {
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- checkUnnamed194(o.dimensions);
+ checkUnnamed198(o.dimensions);
checkMetricHeader(o.metricHeader);
}
buildCounterColumnHeader--;
@@ -162,27 +162,27 @@
buildCounterDateRange--;
}
-buildUnnamed195() {
+buildUnnamed199() {
var o = new core.List<api.PivotValueRegion>();
o.add(buildPivotValueRegion());
o.add(buildPivotValueRegion());
return o;
}
-checkUnnamed195(core.List<api.PivotValueRegion> o) {
+checkUnnamed199(core.List<api.PivotValueRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotValueRegion(o[0]);
checkPivotValueRegion(o[1]);
}
-buildUnnamed196() {
+buildUnnamed200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed196(core.List<core.String> o) {
+checkUnnamed200(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'));
@@ -193,8 +193,8 @@
var o = new api.DateRangeValues();
buildCounterDateRangeValues++;
if (buildCounterDateRangeValues < 3) {
- o.pivotValueRegions = buildUnnamed195();
- o.values = buildUnnamed196();
+ o.pivotValueRegions = buildUnnamed199();
+ o.values = buildUnnamed200();
}
buildCounterDateRangeValues--;
return o;
@@ -203,20 +203,20 @@
checkDateRangeValues(api.DateRangeValues o) {
buildCounterDateRangeValues++;
if (buildCounterDateRangeValues < 3) {
- checkUnnamed195(o.pivotValueRegions);
- checkUnnamed196(o.values);
+ checkUnnamed199(o.pivotValueRegions);
+ checkUnnamed200(o.values);
}
buildCounterDateRangeValues--;
}
-buildUnnamed197() {
+buildUnnamed201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed197(core.List<core.String> o) {
+checkUnnamed201(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'));
@@ -227,7 +227,7 @@
var o = new api.Dimension();
buildCounterDimension++;
if (buildCounterDimension < 3) {
- o.histogramBuckets = buildUnnamed197();
+ o.histogramBuckets = buildUnnamed201();
o.name = "foo";
}
buildCounterDimension--;
@@ -237,20 +237,20 @@
checkDimension(api.Dimension o) {
buildCounterDimension++;
if (buildCounterDimension < 3) {
- checkUnnamed197(o.histogramBuckets);
+ checkUnnamed201(o.histogramBuckets);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDimension--;
}
-buildUnnamed198() {
+buildUnnamed202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed198(core.List<core.String> o) {
+checkUnnamed202(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'));
@@ -263,7 +263,7 @@
if (buildCounterDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed198();
+ o.expressions = buildUnnamed202();
o.not = true;
o.operator = "foo";
}
@@ -276,21 +276,21 @@
if (buildCounterDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed198(o.expressions);
+ checkUnnamed202(o.expressions);
unittest.expect(o.not, unittest.isTrue);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilter--;
}
-buildUnnamed199() {
+buildUnnamed203() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed199(core.List<api.DimensionFilter> o) {
+checkUnnamed203(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -301,7 +301,7 @@
var o = new api.DimensionFilterClause();
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- o.filters = buildUnnamed199();
+ o.filters = buildUnnamed203();
o.operator = "foo";
}
buildCounterDimensionFilterClause--;
@@ -311,7 +311,7 @@
checkDimensionFilterClause(api.DimensionFilterClause o) {
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- checkUnnamed199(o.filters);
+ checkUnnamed203(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilterClause--;
@@ -340,14 +340,14 @@
buildCounterDynamicSegment--;
}
-buildUnnamed200() {
+buildUnnamed204() {
var o = new core.List<api.ReportRequest>();
o.add(buildReportRequest());
o.add(buildReportRequest());
return o;
}
-checkUnnamed200(core.List<api.ReportRequest> o) {
+checkUnnamed204(core.List<api.ReportRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequest(o[0]);
checkReportRequest(o[1]);
@@ -358,7 +358,8 @@
var o = new api.GetReportsRequest();
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- o.reportRequests = buildUnnamed200();
+ o.reportRequests = buildUnnamed204();
+ o.useResourceQuotas = true;
}
buildCounterGetReportsRequest--;
return o;
@@ -367,19 +368,20 @@
checkGetReportsRequest(api.GetReportsRequest o) {
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- checkUnnamed200(o.reportRequests);
+ checkUnnamed204(o.reportRequests);
+ unittest.expect(o.useResourceQuotas, unittest.isTrue);
}
buildCounterGetReportsRequest--;
}
-buildUnnamed201() {
+buildUnnamed205() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed201(core.List<api.Report> o) {
+checkUnnamed205(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -390,7 +392,9 @@
var o = new api.GetReportsResponse();
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
- o.reports = buildUnnamed201();
+ o.queryCost = 42;
+ o.reports = buildUnnamed205();
+ o.resourceQuotasRemaining = buildResourceQuotasRemaining();
}
buildCounterGetReportsResponse--;
return o;
@@ -399,7 +403,9 @@
checkGetReportsResponse(api.GetReportsResponse o) {
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
- checkUnnamed201(o.reports);
+ unittest.expect(o.queryCost, unittest.equals(42));
+ checkUnnamed205(o.reports);
+ checkResourceQuotasRemaining(o.resourceQuotasRemaining);
}
buildCounterGetReportsResponse--;
}
@@ -452,14 +458,14 @@
buildCounterMetricFilter--;
}
-buildUnnamed202() {
+buildUnnamed206() {
var o = new core.List<api.MetricFilter>();
o.add(buildMetricFilter());
o.add(buildMetricFilter());
return o;
}
-checkUnnamed202(core.List<api.MetricFilter> o) {
+checkUnnamed206(core.List<api.MetricFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilter(o[0]);
checkMetricFilter(o[1]);
@@ -470,7 +476,7 @@
var o = new api.MetricFilterClause();
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- o.filters = buildUnnamed202();
+ o.filters = buildUnnamed206();
o.operator = "foo";
}
buildCounterMetricFilterClause--;
@@ -480,33 +486,33 @@
checkMetricFilterClause(api.MetricFilterClause o) {
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- checkUnnamed202(o.filters);
+ checkUnnamed206(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterMetricFilterClause--;
}
-buildUnnamed203() {
+buildUnnamed207() {
var o = new core.List<api.MetricHeaderEntry>();
o.add(buildMetricHeaderEntry());
o.add(buildMetricHeaderEntry());
return o;
}
-checkUnnamed203(core.List<api.MetricHeaderEntry> o) {
+checkUnnamed207(core.List<api.MetricHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricHeaderEntry(o[0]);
checkMetricHeaderEntry(o[1]);
}
-buildUnnamed204() {
+buildUnnamed208() {
var o = new core.List<api.PivotHeader>();
o.add(buildPivotHeader());
o.add(buildPivotHeader());
return o;
}
-checkUnnamed204(core.List<api.PivotHeader> o) {
+checkUnnamed208(core.List<api.PivotHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeader(o[0]);
checkPivotHeader(o[1]);
@@ -517,8 +523,8 @@
var o = new api.MetricHeader();
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- o.metricHeaderEntries = buildUnnamed203();
- o.pivotHeaders = buildUnnamed204();
+ o.metricHeaderEntries = buildUnnamed207();
+ o.pivotHeaders = buildUnnamed208();
}
buildCounterMetricHeader--;
return o;
@@ -527,8 +533,8 @@
checkMetricHeader(api.MetricHeader o) {
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- checkUnnamed203(o.metricHeaderEntries);
- checkUnnamed204(o.pivotHeaders);
+ checkUnnamed207(o.metricHeaderEntries);
+ checkUnnamed208(o.pivotHeaders);
}
buildCounterMetricHeader--;
}
@@ -554,14 +560,14 @@
buildCounterMetricHeaderEntry--;
}
-buildUnnamed205() {
+buildUnnamed209() {
var o = new core.List<api.SegmentFilterClause>();
o.add(buildSegmentFilterClause());
o.add(buildSegmentFilterClause());
return o;
}
-checkUnnamed205(core.List<api.SegmentFilterClause> o) {
+checkUnnamed209(core.List<api.SegmentFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilterClause(o[0]);
checkSegmentFilterClause(o[1]);
@@ -572,7 +578,7 @@
var o = new api.OrFiltersForSegment();
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- o.segmentFilterClauses = buildUnnamed205();
+ o.segmentFilterClauses = buildUnnamed209();
}
buildCounterOrFiltersForSegment--;
return o;
@@ -581,7 +587,7 @@
checkOrFiltersForSegment(api.OrFiltersForSegment o) {
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- checkUnnamed205(o.segmentFilterClauses);
+ checkUnnamed209(o.segmentFilterClauses);
}
buildCounterOrFiltersForSegment--;
}
@@ -609,40 +615,40 @@
buildCounterOrderBy--;
}
-buildUnnamed206() {
+buildUnnamed210() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed206(core.List<api.DimensionFilterClause> o) {
+checkUnnamed210(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed207() {
+buildUnnamed211() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed207(core.List<api.Dimension> o) {
+checkUnnamed211(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed208() {
+buildUnnamed212() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed208(core.List<api.Metric> o) {
+checkUnnamed212(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -653,10 +659,10 @@
var o = new api.Pivot();
buildCounterPivot++;
if (buildCounterPivot < 3) {
- o.dimensionFilterClauses = buildUnnamed206();
- o.dimensions = buildUnnamed207();
+ o.dimensionFilterClauses = buildUnnamed210();
+ o.dimensions = buildUnnamed211();
o.maxGroupCount = 42;
- o.metrics = buildUnnamed208();
+ o.metrics = buildUnnamed212();
o.startGroup = 42;
}
buildCounterPivot--;
@@ -666,23 +672,23 @@
checkPivot(api.Pivot o) {
buildCounterPivot++;
if (buildCounterPivot < 3) {
- checkUnnamed206(o.dimensionFilterClauses);
- checkUnnamed207(o.dimensions);
+ checkUnnamed210(o.dimensionFilterClauses);
+ checkUnnamed211(o.dimensions);
unittest.expect(o.maxGroupCount, unittest.equals(42));
- checkUnnamed208(o.metrics);
+ checkUnnamed212(o.metrics);
unittest.expect(o.startGroup, unittest.equals(42));
}
buildCounterPivot--;
}
-buildUnnamed209() {
+buildUnnamed213() {
var o = new core.List<api.PivotHeaderEntry>();
o.add(buildPivotHeaderEntry());
o.add(buildPivotHeaderEntry());
return o;
}
-checkUnnamed209(core.List<api.PivotHeaderEntry> o) {
+checkUnnamed213(core.List<api.PivotHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeaderEntry(o[0]);
checkPivotHeaderEntry(o[1]);
@@ -693,7 +699,7 @@
var o = new api.PivotHeader();
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- o.pivotHeaderEntries = buildUnnamed209();
+ o.pivotHeaderEntries = buildUnnamed213();
o.totalPivotGroupsCount = 42;
}
buildCounterPivotHeader--;
@@ -703,33 +709,33 @@
checkPivotHeader(api.PivotHeader o) {
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- checkUnnamed209(o.pivotHeaderEntries);
+ checkUnnamed213(o.pivotHeaderEntries);
unittest.expect(o.totalPivotGroupsCount, unittest.equals(42));
}
buildCounterPivotHeader--;
}
-buildUnnamed210() {
+buildUnnamed214() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed210(core.List<core.String> o) {
+checkUnnamed214(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'));
}
-buildUnnamed211() {
+buildUnnamed215() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed211(core.List<core.String> o) {
+checkUnnamed215(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'));
@@ -740,8 +746,8 @@
var o = new api.PivotHeaderEntry();
buildCounterPivotHeaderEntry++;
if (buildCounterPivotHeaderEntry < 3) {
- o.dimensionNames = buildUnnamed210();
- o.dimensionValues = buildUnnamed211();
+ o.dimensionNames = buildUnnamed214();
+ o.dimensionValues = buildUnnamed215();
o.metric = buildMetricHeaderEntry();
}
buildCounterPivotHeaderEntry--;
@@ -751,21 +757,21 @@
checkPivotHeaderEntry(api.PivotHeaderEntry o) {
buildCounterPivotHeaderEntry++;
if (buildCounterPivotHeaderEntry < 3) {
- checkUnnamed210(o.dimensionNames);
- checkUnnamed211(o.dimensionValues);
+ checkUnnamed214(o.dimensionNames);
+ checkUnnamed215(o.dimensionValues);
checkMetricHeaderEntry(o.metric);
}
buildCounterPivotHeaderEntry--;
}
-buildUnnamed212() {
+buildUnnamed216() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed212(core.List<core.String> o) {
+checkUnnamed216(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'));
@@ -776,7 +782,7 @@
var o = new api.PivotValueRegion();
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- o.values = buildUnnamed212();
+ o.values = buildUnnamed216();
}
buildCounterPivotValueRegion--;
return o;
@@ -785,7 +791,7 @@
checkPivotValueRegion(api.PivotValueRegion o) {
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- checkUnnamed212(o.values);
+ checkUnnamed216(o.values);
}
buildCounterPivotValueRegion--;
}
@@ -813,69 +819,17 @@
buildCounterReport--;
}
-buildUnnamed213() {
- var o = new core.List<api.DateRangeValues>();
- o.add(buildDateRangeValues());
- o.add(buildDateRangeValues());
- return o;
-}
-
-checkUnnamed213(core.List<api.DateRangeValues> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDateRangeValues(o[0]);
- checkDateRangeValues(o[1]);
-}
-
-buildUnnamed214() {
- var o = new core.List<api.DateRangeValues>();
- o.add(buildDateRangeValues());
- o.add(buildDateRangeValues());
- return o;
-}
-
-checkUnnamed214(core.List<api.DateRangeValues> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDateRangeValues(o[0]);
- checkDateRangeValues(o[1]);
-}
-
-buildUnnamed215() {
- var o = new core.List<api.ReportRow>();
- o.add(buildReportRow());
- o.add(buildReportRow());
- return o;
-}
-
-checkUnnamed215(core.List<api.ReportRow> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkReportRow(o[0]);
- checkReportRow(o[1]);
-}
-
-buildUnnamed216() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed216(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'));
-}
-
buildUnnamed217() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.DateRangeValues>();
+ o.add(buildDateRangeValues());
+ o.add(buildDateRangeValues());
return o;
}
-checkUnnamed217(core.List<core.String> o) {
+checkUnnamed217(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkDateRangeValues(o[0]);
+ checkDateRangeValues(o[1]);
}
buildUnnamed218() {
@@ -891,6 +845,58 @@
checkDateRangeValues(o[1]);
}
+buildUnnamed219() {
+ var o = new core.List<api.ReportRow>();
+ o.add(buildReportRow());
+ o.add(buildReportRow());
+ return o;
+}
+
+checkUnnamed219(core.List<api.ReportRow> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReportRow(o[0]);
+ checkReportRow(o[1]);
+}
+
+buildUnnamed220() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed220(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'));
+}
+
+buildUnnamed221() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed221(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'));
+}
+
+buildUnnamed222() {
+ var o = new core.List<api.DateRangeValues>();
+ o.add(buildDateRangeValues());
+ o.add(buildDateRangeValues());
+ return o;
+}
+
+checkUnnamed222(core.List<api.DateRangeValues> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDateRangeValues(o[0]);
+ checkDateRangeValues(o[1]);
+}
+
core.int buildCounterReportData = 0;
buildReportData() {
var o = new api.ReportData();
@@ -898,13 +904,13 @@
if (buildCounterReportData < 3) {
o.dataLastRefreshed = "foo";
o.isDataGolden = true;
- o.maximums = buildUnnamed213();
- o.minimums = buildUnnamed214();
+ o.maximums = buildUnnamed217();
+ o.minimums = buildUnnamed218();
o.rowCount = 42;
- o.rows = buildUnnamed215();
- o.samplesReadCounts = buildUnnamed216();
- o.samplingSpaceSizes = buildUnnamed217();
- o.totals = buildUnnamed218();
+ o.rows = buildUnnamed219();
+ o.samplesReadCounts = buildUnnamed220();
+ o.samplingSpaceSizes = buildUnnamed221();
+ o.totals = buildUnnamed222();
}
buildCounterReportData--;
return o;
@@ -915,116 +921,116 @@
if (buildCounterReportData < 3) {
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
unittest.expect(o.isDataGolden, unittest.isTrue);
- checkUnnamed213(o.maximums);
- checkUnnamed214(o.minimums);
+ checkUnnamed217(o.maximums);
+ checkUnnamed218(o.minimums);
unittest.expect(o.rowCount, unittest.equals(42));
- checkUnnamed215(o.rows);
- checkUnnamed216(o.samplesReadCounts);
- checkUnnamed217(o.samplingSpaceSizes);
- checkUnnamed218(o.totals);
+ checkUnnamed219(o.rows);
+ checkUnnamed220(o.samplesReadCounts);
+ checkUnnamed221(o.samplingSpaceSizes);
+ checkUnnamed222(o.totals);
}
buildCounterReportData--;
}
-buildUnnamed219() {
+buildUnnamed223() {
var o = new core.List<api.DateRange>();
o.add(buildDateRange());
o.add(buildDateRange());
return o;
}
-checkUnnamed219(core.List<api.DateRange> o) {
+checkUnnamed223(core.List<api.DateRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRange(o[0]);
checkDateRange(o[1]);
}
-buildUnnamed220() {
+buildUnnamed224() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed220(core.List<api.DimensionFilterClause> o) {
+checkUnnamed224(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed221() {
+buildUnnamed225() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed221(core.List<api.Dimension> o) {
+checkUnnamed225(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed222() {
+buildUnnamed226() {
var o = new core.List<api.MetricFilterClause>();
o.add(buildMetricFilterClause());
o.add(buildMetricFilterClause());
return o;
}
-checkUnnamed222(core.List<api.MetricFilterClause> o) {
+checkUnnamed226(core.List<api.MetricFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilterClause(o[0]);
checkMetricFilterClause(o[1]);
}
-buildUnnamed223() {
+buildUnnamed227() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed223(core.List<api.Metric> o) {
+checkUnnamed227(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed224() {
+buildUnnamed228() {
var o = new core.List<api.OrderBy>();
o.add(buildOrderBy());
o.add(buildOrderBy());
return o;
}
-checkUnnamed224(core.List<api.OrderBy> o) {
+checkUnnamed228(core.List<api.OrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderBy(o[0]);
checkOrderBy(o[1]);
}
-buildUnnamed225() {
+buildUnnamed229() {
var o = new core.List<api.Pivot>();
o.add(buildPivot());
o.add(buildPivot());
return o;
}
-checkUnnamed225(core.List<api.Pivot> o) {
+checkUnnamed229(core.List<api.Pivot> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivot(o[0]);
checkPivot(o[1]);
}
-buildUnnamed226() {
+buildUnnamed230() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed226(core.List<api.Segment> o) {
+checkUnnamed230(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -1036,21 +1042,21 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
o.cohortGroup = buildCohortGroup();
- o.dateRanges = buildUnnamed219();
- o.dimensionFilterClauses = buildUnnamed220();
- o.dimensions = buildUnnamed221();
+ o.dateRanges = buildUnnamed223();
+ o.dimensionFilterClauses = buildUnnamed224();
+ o.dimensions = buildUnnamed225();
o.filtersExpression = "foo";
o.hideTotals = true;
o.hideValueRanges = true;
o.includeEmptyRows = true;
- o.metricFilterClauses = buildUnnamed222();
- o.metrics = buildUnnamed223();
- o.orderBys = buildUnnamed224();
+ o.metricFilterClauses = buildUnnamed226();
+ o.metrics = buildUnnamed227();
+ o.orderBys = buildUnnamed228();
o.pageSize = 42;
o.pageToken = "foo";
- o.pivots = buildUnnamed225();
+ o.pivots = buildUnnamed229();
o.samplingLevel = "foo";
- o.segments = buildUnnamed226();
+ o.segments = buildUnnamed230();
o.viewId = "foo";
}
buildCounterReportRequest--;
@@ -1061,47 +1067,47 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
checkCohortGroup(o.cohortGroup);
- checkUnnamed219(o.dateRanges);
- checkUnnamed220(o.dimensionFilterClauses);
- checkUnnamed221(o.dimensions);
+ checkUnnamed223(o.dateRanges);
+ checkUnnamed224(o.dimensionFilterClauses);
+ checkUnnamed225(o.dimensions);
unittest.expect(o.filtersExpression, unittest.equals('foo'));
unittest.expect(o.hideTotals, unittest.isTrue);
unittest.expect(o.hideValueRanges, unittest.isTrue);
unittest.expect(o.includeEmptyRows, unittest.isTrue);
- checkUnnamed222(o.metricFilterClauses);
- checkUnnamed223(o.metrics);
- checkUnnamed224(o.orderBys);
+ checkUnnamed226(o.metricFilterClauses);
+ checkUnnamed227(o.metrics);
+ checkUnnamed228(o.orderBys);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed225(o.pivots);
+ checkUnnamed229(o.pivots);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
- checkUnnamed226(o.segments);
+ checkUnnamed230(o.segments);
unittest.expect(o.viewId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed227() {
+buildUnnamed231() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed227(core.List<core.String> o) {
+checkUnnamed231(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'));
}
-buildUnnamed228() {
+buildUnnamed232() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed228(core.List<api.DateRangeValues> o) {
+checkUnnamed232(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
@@ -1112,8 +1118,8 @@
var o = new api.ReportRow();
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- o.dimensions = buildUnnamed227();
- o.metrics = buildUnnamed228();
+ o.dimensions = buildUnnamed231();
+ o.metrics = buildUnnamed232();
}
buildCounterReportRow--;
return o;
@@ -1122,12 +1128,33 @@
checkReportRow(api.ReportRow o) {
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- checkUnnamed227(o.dimensions);
- checkUnnamed228(o.metrics);
+ checkUnnamed231(o.dimensions);
+ checkUnnamed232(o.metrics);
}
buildCounterReportRow--;
}
+core.int buildCounterResourceQuotasRemaining = 0;
+buildResourceQuotasRemaining() {
+ var o = new api.ResourceQuotasRemaining();
+ buildCounterResourceQuotasRemaining++;
+ if (buildCounterResourceQuotasRemaining < 3) {
+ o.dailyQuotaTokensRemaining = 42;
+ o.hourlyQuotaTokensRemaining = 42;
+ }
+ buildCounterResourceQuotasRemaining--;
+ return o;
+}
+
+checkResourceQuotasRemaining(api.ResourceQuotasRemaining o) {
+ buildCounterResourceQuotasRemaining++;
+ if (buildCounterResourceQuotasRemaining < 3) {
+ unittest.expect(o.dailyQuotaTokensRemaining, unittest.equals(42));
+ unittest.expect(o.hourlyQuotaTokensRemaining, unittest.equals(42));
+ }
+ buildCounterResourceQuotasRemaining--;
+}
+
core.int buildCounterSegment = 0;
buildSegment() {
var o = new api.Segment();
@@ -1149,14 +1176,14 @@
buildCounterSegment--;
}
-buildUnnamed229() {
+buildUnnamed233() {
var o = new core.List<api.SegmentFilter>();
o.add(buildSegmentFilter());
o.add(buildSegmentFilter());
return o;
}
-checkUnnamed229(core.List<api.SegmentFilter> o) {
+checkUnnamed233(core.List<api.SegmentFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilter(o[0]);
checkSegmentFilter(o[1]);
@@ -1167,7 +1194,7 @@
var o = new api.SegmentDefinition();
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- o.segmentFilters = buildUnnamed229();
+ o.segmentFilters = buildUnnamed233();
}
buildCounterSegmentDefinition--;
return o;
@@ -1176,19 +1203,19 @@
checkSegmentDefinition(api.SegmentDefinition o) {
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- checkUnnamed229(o.segmentFilters);
+ checkUnnamed233(o.segmentFilters);
}
buildCounterSegmentDefinition--;
}
-buildUnnamed230() {
+buildUnnamed234() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed230(core.List<core.String> o) {
+checkUnnamed234(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'));
@@ -1201,7 +1228,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed230();
+ o.expressions = buildUnnamed234();
o.maxComparisonValue = "foo";
o.minComparisonValue = "foo";
o.operator = "foo";
@@ -1215,7 +1242,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed230(o.expressions);
+ checkUnnamed234(o.expressions);
unittest.expect(o.maxComparisonValue, unittest.equals('foo'));
unittest.expect(o.minComparisonValue, unittest.equals('foo'));
unittest.expect(o.operator, unittest.equals('foo'));
@@ -1296,14 +1323,14 @@
buildCounterSegmentMetricFilter--;
}
-buildUnnamed231() {
+buildUnnamed235() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
o.add(buildOrFiltersForSegment());
return o;
}
-checkUnnamed231(core.List<api.OrFiltersForSegment> o) {
+checkUnnamed235(core.List<api.OrFiltersForSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrFiltersForSegment(o[0]);
checkOrFiltersForSegment(o[1]);
@@ -1315,7 +1342,7 @@
buildCounterSegmentSequenceStep++;
if (buildCounterSegmentSequenceStep < 3) {
o.matchType = "foo";
- o.orFiltersForSegment = buildUnnamed231();
+ o.orFiltersForSegment = buildUnnamed235();
}
buildCounterSegmentSequenceStep--;
return o;
@@ -1325,19 +1352,19 @@
buildCounterSegmentSequenceStep++;
if (buildCounterSegmentSequenceStep < 3) {
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed231(o.orFiltersForSegment);
+ checkUnnamed235(o.orFiltersForSegment);
}
buildCounterSegmentSequenceStep--;
}
-buildUnnamed232() {
+buildUnnamed236() {
var o = new core.List<api.SegmentSequenceStep>();
o.add(buildSegmentSequenceStep());
o.add(buildSegmentSequenceStep());
return o;
}
-checkUnnamed232(core.List<api.SegmentSequenceStep> o) {
+checkUnnamed236(core.List<api.SegmentSequenceStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentSequenceStep(o[0]);
checkSegmentSequenceStep(o[1]);
@@ -1349,7 +1376,7 @@
buildCounterSequenceSegment++;
if (buildCounterSequenceSegment < 3) {
o.firstStepShouldMatchFirstHit = true;
- o.segmentSequenceSteps = buildUnnamed232();
+ o.segmentSequenceSteps = buildUnnamed236();
}
buildCounterSequenceSegment--;
return o;
@@ -1359,19 +1386,19 @@
buildCounterSequenceSegment++;
if (buildCounterSequenceSegment < 3) {
unittest.expect(o.firstStepShouldMatchFirstHit, unittest.isTrue);
- checkUnnamed232(o.segmentSequenceSteps);
+ checkUnnamed236(o.segmentSequenceSteps);
}
buildCounterSequenceSegment--;
}
-buildUnnamed233() {
+buildUnnamed237() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
o.add(buildOrFiltersForSegment());
return o;
}
-checkUnnamed233(core.List<api.OrFiltersForSegment> o) {
+checkUnnamed237(core.List<api.OrFiltersForSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrFiltersForSegment(o[0]);
checkOrFiltersForSegment(o[1]);
@@ -1382,7 +1409,7 @@
var o = new api.SimpleSegment();
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- o.orFiltersForSegment = buildUnnamed233();
+ o.orFiltersForSegment = buildUnnamed237();
}
buildCounterSimpleSegment--;
return o;
@@ -1391,7 +1418,7 @@
checkSimpleSegment(api.SimpleSegment o) {
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- checkUnnamed233(o.orFiltersForSegment);
+ checkUnnamed237(o.orFiltersForSegment);
}
buildCounterSimpleSegment--;
}
@@ -1605,6 +1632,14 @@
});
});
+ unittest.group("obj-schema-ResourceQuotasRemaining", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildResourceQuotasRemaining();
+ var od = new api.ResourceQuotasRemaining.fromJson(o.toJson());
+ checkResourceQuotasRemaining(od);
+ });
+ });
+
unittest.group("obj-schema-Segment", () {
unittest.test("to-json--from-json", () {
var o = buildSegment();
diff --git a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
index 8a06a11..7f3253f 100644
--- a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
+++ b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
@@ -94,14 +94,14 @@
buildCounterClaimDeviceResponse--;
}
-buildUnnamed28() {
+buildUnnamed32() {
var o = new core.List<api.PartnerClaim>();
o.add(buildPartnerClaim());
o.add(buildPartnerClaim());
return o;
}
-checkUnnamed28(core.List<api.PartnerClaim> o) {
+checkUnnamed32(core.List<api.PartnerClaim> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartnerClaim(o[0]);
checkPartnerClaim(o[1]);
@@ -112,7 +112,7 @@
var o = new api.ClaimDevicesRequest();
buildCounterClaimDevicesRequest++;
if (buildCounterClaimDevicesRequest < 3) {
- o.claims = buildUnnamed28();
+ o.claims = buildUnnamed32();
}
buildCounterClaimDevicesRequest--;
return o;
@@ -121,32 +121,32 @@
checkClaimDevicesRequest(api.ClaimDevicesRequest o) {
buildCounterClaimDevicesRequest++;
if (buildCounterClaimDevicesRequest < 3) {
- checkUnnamed28(o.claims);
+ checkUnnamed32(o.claims);
}
buildCounterClaimDevicesRequest--;
}
-buildUnnamed29() {
+buildUnnamed33() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed29(core.List<core.String> o) {
+checkUnnamed33(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'));
}
-buildUnnamed30() {
+buildUnnamed34() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed30(core.List<core.String> o) {
+checkUnnamed34(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'));
@@ -157,11 +157,11 @@
var o = new api.Company();
buildCounterCompany++;
if (buildCounterCompany < 3) {
- o.adminEmails = buildUnnamed29();
+ o.adminEmails = buildUnnamed33();
o.companyId = "foo";
o.companyName = "foo";
o.name = "foo";
- o.ownerEmails = buildUnnamed30();
+ o.ownerEmails = buildUnnamed34();
}
buildCounterCompany--;
return o;
@@ -170,11 +170,11 @@
checkCompany(api.Company o) {
buildCounterCompany++;
if (buildCounterCompany < 3) {
- checkUnnamed29(o.adminEmails);
+ checkUnnamed33(o.adminEmails);
unittest.expect(o.companyId, unittest.equals('foo'));
unittest.expect(o.companyName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed30(o.ownerEmails);
+ checkUnnamed34(o.ownerEmails);
}
buildCounterCompany--;
}
@@ -198,14 +198,14 @@
buildCounterCreateCustomerRequest--;
}
-buildUnnamed31() {
+buildUnnamed35() {
var o = new core.List<api.DeviceClaim>();
o.add(buildDeviceClaim());
o.add(buildDeviceClaim());
return o;
}
-checkUnnamed31(core.List<api.DeviceClaim> o) {
+checkUnnamed35(core.List<api.DeviceClaim> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceClaim(o[0]);
checkDeviceClaim(o[1]);
@@ -216,7 +216,7 @@
var o = new api.Device();
buildCounterDevice++;
if (buildCounterDevice < 3) {
- o.claims = buildUnnamed31();
+ o.claims = buildUnnamed35();
o.configuration = "foo";
o.deviceId = "foo";
o.deviceIdentifier = buildDeviceIdentifier();
@@ -230,7 +230,7 @@
checkDevice(api.Device o) {
buildCounterDevice++;
if (buildCounterDevice < 3) {
- checkUnnamed31(o.claims);
+ checkUnnamed35(o.claims);
unittest.expect(o.configuration, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
checkDeviceIdentifier(o.deviceIdentifier);
@@ -286,14 +286,14 @@
buildCounterDeviceIdentifier--;
}
-buildUnnamed32() {
+buildUnnamed36() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed32(core.Map<core.String, core.String> o) {
+checkUnnamed36(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -304,7 +304,7 @@
var o = new api.DeviceMetadata();
buildCounterDeviceMetadata++;
if (buildCounterDeviceMetadata < 3) {
- o.entries = buildUnnamed32();
+ o.entries = buildUnnamed36();
}
buildCounterDeviceMetadata--;
return o;
@@ -313,7 +313,7 @@
checkDeviceMetadata(api.DeviceMetadata o) {
buildCounterDeviceMetadata++;
if (buildCounterDeviceMetadata < 3) {
- checkUnnamed32(o.entries);
+ checkUnnamed36(o.entries);
}
buildCounterDeviceMetadata--;
}
@@ -342,14 +342,14 @@
buildCounterDevicesLongRunningOperationMetadata--;
}
-buildUnnamed33() {
+buildUnnamed37() {
var o = new core.List<api.OperationPerDevice>();
o.add(buildOperationPerDevice());
o.add(buildOperationPerDevice());
return o;
}
-checkUnnamed33(core.List<api.OperationPerDevice> o) {
+checkUnnamed37(core.List<api.OperationPerDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationPerDevice(o[0]);
checkOperationPerDevice(o[1]);
@@ -360,7 +360,7 @@
var o = new api.DevicesLongRunningOperationResponse();
buildCounterDevicesLongRunningOperationResponse++;
if (buildCounterDevicesLongRunningOperationResponse < 3) {
- o.perDeviceStatus = buildUnnamed33();
+ o.perDeviceStatus = buildUnnamed37();
o.successCount = 42;
}
buildCounterDevicesLongRunningOperationResponse--;
@@ -371,7 +371,7 @@
api.DevicesLongRunningOperationResponse o) {
buildCounterDevicesLongRunningOperationResponse++;
if (buildCounterDevicesLongRunningOperationResponse < 3) {
- checkUnnamed33(o.perDeviceStatus);
+ checkUnnamed37(o.perDeviceStatus);
unittest.expect(o.successCount, unittest.equals(42));
}
buildCounterDevicesLongRunningOperationResponse--;
@@ -416,14 +416,14 @@
buildCounterFindDevicesByDeviceIdentifierRequest--;
}
-buildUnnamed34() {
+buildUnnamed38() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed34(core.List<api.Device> o) {
+checkUnnamed38(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -434,7 +434,7 @@
var o = new api.FindDevicesByDeviceIdentifierResponse();
buildCounterFindDevicesByDeviceIdentifierResponse++;
if (buildCounterFindDevicesByDeviceIdentifierResponse < 3) {
- o.devices = buildUnnamed34();
+ o.devices = buildUnnamed38();
o.nextPageToken = "foo";
}
buildCounterFindDevicesByDeviceIdentifierResponse--;
@@ -445,20 +445,20 @@
api.FindDevicesByDeviceIdentifierResponse o) {
buildCounterFindDevicesByDeviceIdentifierResponse++;
if (buildCounterFindDevicesByDeviceIdentifierResponse < 3) {
- checkUnnamed34(o.devices);
+ checkUnnamed38(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFindDevicesByDeviceIdentifierResponse--;
}
-buildUnnamed35() {
+buildUnnamed39() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed35(core.List<core.String> o) {
+checkUnnamed39(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'));
@@ -469,7 +469,7 @@
var o = new api.FindDevicesByOwnerRequest();
buildCounterFindDevicesByOwnerRequest++;
if (buildCounterFindDevicesByOwnerRequest < 3) {
- o.customerId = buildUnnamed35();
+ o.customerId = buildUnnamed39();
o.limit = "foo";
o.pageToken = "foo";
o.sectionType = "foo";
@@ -481,7 +481,7 @@
checkFindDevicesByOwnerRequest(api.FindDevicesByOwnerRequest o) {
buildCounterFindDevicesByOwnerRequest++;
if (buildCounterFindDevicesByOwnerRequest < 3) {
- checkUnnamed35(o.customerId);
+ checkUnnamed39(o.customerId);
unittest.expect(o.limit, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.sectionType, unittest.equals('foo'));
@@ -489,14 +489,14 @@
buildCounterFindDevicesByOwnerRequest--;
}
-buildUnnamed36() {
+buildUnnamed40() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed36(core.List<api.Device> o) {
+checkUnnamed40(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -507,7 +507,7 @@
var o = new api.FindDevicesByOwnerResponse();
buildCounterFindDevicesByOwnerResponse++;
if (buildCounterFindDevicesByOwnerResponse < 3) {
- o.devices = buildUnnamed36();
+ o.devices = buildUnnamed40();
o.nextPageToken = "foo";
}
buildCounterFindDevicesByOwnerResponse--;
@@ -517,20 +517,20 @@
checkFindDevicesByOwnerResponse(api.FindDevicesByOwnerResponse o) {
buildCounterFindDevicesByOwnerResponse++;
if (buildCounterFindDevicesByOwnerResponse < 3) {
- checkUnnamed36(o.devices);
+ checkUnnamed40(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFindDevicesByOwnerResponse--;
}
-buildUnnamed37() {
+buildUnnamed41() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed37(core.List<api.Company> o) {
+checkUnnamed41(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -541,7 +541,7 @@
var o = new api.ListCustomersResponse();
buildCounterListCustomersResponse++;
if (buildCounterListCustomersResponse < 3) {
- o.customers = buildUnnamed37();
+ o.customers = buildUnnamed41();
}
buildCounterListCustomersResponse--;
return o;
@@ -550,12 +550,12 @@
checkListCustomersResponse(api.ListCustomersResponse o) {
buildCounterListCustomersResponse++;
if (buildCounterListCustomersResponse < 3) {
- checkUnnamed37(o.customers);
+ checkUnnamed41(o.customers);
}
buildCounterListCustomersResponse--;
}
-buildUnnamed38() {
+buildUnnamed42() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -570,7 +570,7 @@
return o;
}
-checkUnnamed38(core.Map<core.String, core.Object> o) {
+checkUnnamed42(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -584,7 +584,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed39() {
+buildUnnamed43() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -599,7 +599,7 @@
return o;
}
-checkUnnamed39(core.Map<core.String, core.Object> o) {
+checkUnnamed43(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -620,9 +620,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed38();
+ o.metadata = buildUnnamed42();
o.name = "foo";
- o.response = buildUnnamed39();
+ o.response = buildUnnamed43();
}
buildCounterOperation--;
return o;
@@ -633,9 +633,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed38(o.metadata);
+ checkUnnamed42(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed39(o.response);
+ checkUnnamed43(o.response);
}
buildCounterOperation--;
}
@@ -738,7 +738,7 @@
buildCounterPerDeviceStatusInBatch--;
}
-buildUnnamed40() {
+buildUnnamed44() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -753,7 +753,7 @@
return o;
}
-checkUnnamed40(core.Map<core.String, core.Object> o) {
+checkUnnamed44(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -767,17 +767,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed41() {
+buildUnnamed45() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed40());
- o.add(buildUnnamed40());
+ o.add(buildUnnamed44());
+ o.add(buildUnnamed44());
return o;
}
-checkUnnamed41(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed45(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed40(o[0]);
- checkUnnamed40(o[1]);
+ checkUnnamed44(o[0]);
+ checkUnnamed44(o[1]);
}
core.int buildCounterStatus = 0;
@@ -786,7 +786,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed41();
+ o.details = buildUnnamed45();
o.message = "foo";
}
buildCounterStatus--;
@@ -797,7 +797,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed41(o.details);
+ checkUnnamed45(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -826,14 +826,14 @@
buildCounterUnclaimDeviceRequest--;
}
-buildUnnamed42() {
+buildUnnamed46() {
var o = new core.List<api.PartnerUnclaim>();
o.add(buildPartnerUnclaim());
o.add(buildPartnerUnclaim());
return o;
}
-checkUnnamed42(core.List<api.PartnerUnclaim> o) {
+checkUnnamed46(core.List<api.PartnerUnclaim> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartnerUnclaim(o[0]);
checkPartnerUnclaim(o[1]);
@@ -844,7 +844,7 @@
var o = new api.UnclaimDevicesRequest();
buildCounterUnclaimDevicesRequest++;
if (buildCounterUnclaimDevicesRequest < 3) {
- o.unclaims = buildUnnamed42();
+ o.unclaims = buildUnnamed46();
}
buildCounterUnclaimDevicesRequest--;
return o;
@@ -853,19 +853,19 @@
checkUnclaimDevicesRequest(api.UnclaimDevicesRequest o) {
buildCounterUnclaimDevicesRequest++;
if (buildCounterUnclaimDevicesRequest < 3) {
- checkUnnamed42(o.unclaims);
+ checkUnnamed46(o.unclaims);
}
buildCounterUnclaimDevicesRequest--;
}
-buildUnnamed43() {
+buildUnnamed47() {
var o = new core.List<api.UpdateMetadataArguments>();
o.add(buildUpdateMetadataArguments());
o.add(buildUpdateMetadataArguments());
return o;
}
-checkUnnamed43(core.List<api.UpdateMetadataArguments> o) {
+checkUnnamed47(core.List<api.UpdateMetadataArguments> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdateMetadataArguments(o[0]);
checkUpdateMetadataArguments(o[1]);
@@ -876,7 +876,7 @@
var o = new api.UpdateDeviceMetadataInBatchRequest();
buildCounterUpdateDeviceMetadataInBatchRequest++;
if (buildCounterUpdateDeviceMetadataInBatchRequest < 3) {
- o.updates = buildUnnamed43();
+ o.updates = buildUnnamed47();
}
buildCounterUpdateDeviceMetadataInBatchRequest--;
return o;
@@ -886,7 +886,7 @@
api.UpdateDeviceMetadataInBatchRequest o) {
buildCounterUpdateDeviceMetadataInBatchRequest++;
if (buildCounterUpdateDeviceMetadataInBatchRequest < 3) {
- checkUnnamed43(o.updates);
+ checkUnnamed47(o.updates);
}
buildCounterUpdateDeviceMetadataInBatchRequest--;
}
diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
index 87296be..b77ce30 100644
--- a/generated/googleapis/test/androidenterprise/v1_test.dart
+++ b/generated/googleapis/test/androidenterprise/v1_test.dart
@@ -90,14 +90,14 @@
buildCounterAdministratorWebToken--;
}
-buildUnnamed2202() {
+buildUnnamed2208() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2202(core.List<core.String> o) {
+checkUnnamed2208(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'));
@@ -110,7 +110,7 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
o.kind = "foo";
o.parent = "foo";
- o.permission = buildUnnamed2202();
+ o.permission = buildUnnamed2208();
}
buildCounterAdministratorWebTokenSpec--;
return o;
@@ -121,7 +121,7 @@
if (buildCounterAdministratorWebTokenSpec < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed2202(o.permission);
+ checkUnnamed2208(o.permission);
}
buildCounterAdministratorWebTokenSpec--;
}
@@ -147,14 +147,14 @@
buildCounterAndroidDevicePolicyConfig--;
}
-buildUnnamed2203() {
+buildUnnamed2209() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed2203(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed2209(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -166,7 +166,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
o.kind = "foo";
- o.restrictions = buildUnnamed2203();
+ o.restrictions = buildUnnamed2209();
}
buildCounterAppRestrictionsSchema--;
return o;
@@ -176,7 +176,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2203(o.restrictions);
+ checkUnnamed2209(o.restrictions);
}
buildCounterAppRestrictionsSchema--;
}
@@ -200,40 +200,40 @@
buildCounterAppRestrictionsSchemaChangeEvent--;
}
-buildUnnamed2204() {
+buildUnnamed2210() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2204(core.List<core.String> o) {
+checkUnnamed2210(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'));
}
-buildUnnamed2205() {
+buildUnnamed2211() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2205(core.List<core.String> o) {
+checkUnnamed2211(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'));
}
-buildUnnamed2206() {
+buildUnnamed2212() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed2206(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed2212(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -246,10 +246,10 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
o.description = "foo";
- o.entry = buildUnnamed2204();
- o.entryValue = buildUnnamed2205();
+ o.entry = buildUnnamed2210();
+ o.entryValue = buildUnnamed2211();
o.key = "foo";
- o.nestedRestriction = buildUnnamed2206();
+ o.nestedRestriction = buildUnnamed2212();
o.restrictionType = "foo";
o.title = "foo";
}
@@ -262,24 +262,24 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2204(o.entry);
- checkUnnamed2205(o.entryValue);
+ checkUnnamed2210(o.entry);
+ checkUnnamed2211(o.entryValue);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed2206(o.nestedRestriction);
+ checkUnnamed2212(o.nestedRestriction);
unittest.expect(o.restrictionType, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestriction--;
}
-buildUnnamed2207() {
+buildUnnamed2213() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2207(core.List<core.String> o) {
+checkUnnamed2213(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'));
@@ -293,7 +293,7 @@
o.type = "foo";
o.valueBool = true;
o.valueInteger = 42;
- o.valueMultiselect = buildUnnamed2207();
+ o.valueMultiselect = buildUnnamed2213();
o.valueString = "foo";
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -307,7 +307,7 @@
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
unittest.expect(o.valueInteger, unittest.equals(42));
- checkUnnamed2207(o.valueMultiselect);
+ checkUnnamed2213(o.valueMultiselect);
unittest.expect(o.valueString, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -441,14 +441,14 @@
buildCounterDeviceState--;
}
-buildUnnamed2208() {
+buildUnnamed2214() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed2208(core.List<api.Device> o) {
+checkUnnamed2214(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -459,7 +459,7 @@
var o = new api.DevicesListResponse();
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- o.device = buildUnnamed2208();
+ o.device = buildUnnamed2214();
o.kind = "foo";
}
buildCounterDevicesListResponse--;
@@ -469,20 +469,20 @@
checkDevicesListResponse(api.DevicesListResponse o) {
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- checkUnnamed2208(o.device);
+ checkUnnamed2214(o.device);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDevicesListResponse--;
}
-buildUnnamed2209() {
+buildUnnamed2215() {
var o = new core.List<api.Administrator>();
o.add(buildAdministrator());
o.add(buildAdministrator());
return o;
}
-checkUnnamed2209(core.List<api.Administrator> o) {
+checkUnnamed2215(core.List<api.Administrator> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrator(o[0]);
checkAdministrator(o[1]);
@@ -493,7 +493,7 @@
var o = new api.Enterprise();
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- o.administrator = buildUnnamed2209();
+ o.administrator = buildUnnamed2215();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -506,7 +506,7 @@
checkEnterprise(api.Enterprise o) {
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- checkUnnamed2209(o.administrator);
+ checkUnnamed2215(o.administrator);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -536,14 +536,14 @@
buildCounterEnterpriseAccount--;
}
-buildUnnamed2210() {
+buildUnnamed2216() {
var o = new core.List<api.Enterprise>();
o.add(buildEnterprise());
o.add(buildEnterprise());
return o;
}
-checkUnnamed2210(core.List<api.Enterprise> o) {
+checkUnnamed2216(core.List<api.Enterprise> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnterprise(o[0]);
checkEnterprise(o[1]);
@@ -554,7 +554,7 @@
var o = new api.EnterprisesListResponse();
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- o.enterprise = buildUnnamed2210();
+ o.enterprise = buildUnnamed2216();
o.kind = "foo";
}
buildCounterEnterprisesListResponse--;
@@ -564,7 +564,7 @@
checkEnterprisesListResponse(api.EnterprisesListResponse o) {
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- checkUnnamed2210(o.enterprise);
+ checkUnnamed2216(o.enterprise);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEnterprisesListResponse--;
@@ -615,14 +615,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2211() {
+buildUnnamed2217() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2211(core.List<api.Entitlement> o) {
+checkUnnamed2217(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -633,7 +633,7 @@
var o = new api.EntitlementsListResponse();
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- o.entitlement = buildUnnamed2211();
+ o.entitlement = buildUnnamed2217();
o.kind = "foo";
}
buildCounterEntitlementsListResponse--;
@@ -643,7 +643,7 @@
checkEntitlementsListResponse(api.EntitlementsListResponse o) {
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- checkUnnamed2211(o.entitlement);
+ checkUnnamed2217(o.entitlement);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEntitlementsListResponse--;
@@ -680,14 +680,14 @@
buildCounterGroupLicense--;
}
-buildUnnamed2212() {
+buildUnnamed2218() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2212(core.List<api.User> o) {
+checkUnnamed2218(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -699,7 +699,7 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed2212();
+ o.user = buildUnnamed2218();
}
buildCounterGroupLicenseUsersListResponse--;
return o;
@@ -709,19 +709,19 @@
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2212(o.user);
+ checkUnnamed2218(o.user);
}
buildCounterGroupLicenseUsersListResponse--;
}
-buildUnnamed2213() {
+buildUnnamed2219() {
var o = new core.List<api.GroupLicense>();
o.add(buildGroupLicense());
o.add(buildGroupLicense());
return o;
}
-checkUnnamed2213(core.List<api.GroupLicense> o) {
+checkUnnamed2219(core.List<api.GroupLicense> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupLicense(o[0]);
checkGroupLicense(o[1]);
@@ -732,7 +732,7 @@
var o = new api.GroupLicensesListResponse();
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- o.groupLicense = buildUnnamed2213();
+ o.groupLicense = buildUnnamed2219();
o.kind = "foo";
}
buildCounterGroupLicensesListResponse--;
@@ -742,7 +742,7 @@
checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- checkUnnamed2213(o.groupLicense);
+ checkUnnamed2219(o.groupLicense);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupLicensesListResponse--;
@@ -800,14 +800,14 @@
buildCounterInstallFailureEvent--;
}
-buildUnnamed2214() {
+buildUnnamed2220() {
var o = new core.List<api.Install>();
o.add(buildInstall());
o.add(buildInstall());
return o;
}
-checkUnnamed2214(core.List<api.Install> o) {
+checkUnnamed2220(core.List<api.Install> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstall(o[0]);
checkInstall(o[1]);
@@ -818,7 +818,7 @@
var o = new api.InstallsListResponse();
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- o.install = buildUnnamed2214();
+ o.install = buildUnnamed2220();
o.kind = "foo";
}
buildCounterInstallsListResponse--;
@@ -828,7 +828,7 @@
checkInstallsListResponse(api.InstallsListResponse o) {
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- checkUnnamed2214(o.install);
+ checkUnnamed2220(o.install);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInstallsListResponse--;
@@ -855,14 +855,14 @@
buildCounterLocalizedText--;
}
-buildUnnamed2215() {
+buildUnnamed2221() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed2215(core.List<api.ManagedProperty> o) {
+checkUnnamed2221(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -874,7 +874,7 @@
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
o.kind = "foo";
- o.managedProperty = buildUnnamed2215();
+ o.managedProperty = buildUnnamed2221();
o.productId = "foo";
}
buildCounterManagedConfiguration--;
@@ -885,20 +885,20 @@
buildCounterManagedConfiguration++;
if (buildCounterManagedConfiguration < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2215(o.managedProperty);
+ checkUnnamed2221(o.managedProperty);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterManagedConfiguration--;
}
-buildUnnamed2216() {
+buildUnnamed2222() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed2216(core.List<api.ManagedConfiguration> o) {
+checkUnnamed2222(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -910,7 +910,7 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForDevice = buildUnnamed2216();
+ o.managedConfigurationForDevice = buildUnnamed2222();
}
buildCounterManagedConfigurationsForDeviceListResponse--;
return o;
@@ -921,19 +921,19 @@
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2216(o.managedConfigurationForDevice);
+ checkUnnamed2222(o.managedConfigurationForDevice);
}
buildCounterManagedConfigurationsForDeviceListResponse--;
}
-buildUnnamed2217() {
+buildUnnamed2223() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed2217(core.List<api.ManagedConfiguration> o) {
+checkUnnamed2223(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -945,7 +945,7 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
o.kind = "foo";
- o.managedConfigurationForUser = buildUnnamed2217();
+ o.managedConfigurationForUser = buildUnnamed2223();
}
buildCounterManagedConfigurationsForUserListResponse--;
return o;
@@ -956,32 +956,32 @@
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2217(o.managedConfigurationForUser);
+ checkUnnamed2223(o.managedConfigurationForUser);
}
buildCounterManagedConfigurationsForUserListResponse--;
}
-buildUnnamed2218() {
+buildUnnamed2224() {
var o = new core.List<api.ManagedPropertyBundle>();
o.add(buildManagedPropertyBundle());
o.add(buildManagedPropertyBundle());
return o;
}
-checkUnnamed2218(core.List<api.ManagedPropertyBundle> o) {
+checkUnnamed2224(core.List<api.ManagedPropertyBundle> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyBundle(o[0]);
checkManagedPropertyBundle(o[1]);
}
-buildUnnamed2219() {
+buildUnnamed2225() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2219(core.List<core.String> o) {
+checkUnnamed2225(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'));
@@ -995,10 +995,10 @@
o.key = "foo";
o.valueBool = true;
o.valueBundle = buildManagedPropertyBundle();
- o.valueBundleArray = buildUnnamed2218();
+ o.valueBundleArray = buildUnnamed2224();
o.valueInteger = 42;
o.valueString = "foo";
- o.valueStringArray = buildUnnamed2219();
+ o.valueStringArray = buildUnnamed2225();
}
buildCounterManagedProperty--;
return o;
@@ -1010,22 +1010,22 @@
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
checkManagedPropertyBundle(o.valueBundle);
- checkUnnamed2218(o.valueBundleArray);
+ checkUnnamed2224(o.valueBundleArray);
unittest.expect(o.valueInteger, unittest.equals(42));
unittest.expect(o.valueString, unittest.equals('foo'));
- checkUnnamed2219(o.valueStringArray);
+ checkUnnamed2225(o.valueStringArray);
}
buildCounterManagedProperty--;
}
-buildUnnamed2220() {
+buildUnnamed2226() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed2220(core.List<api.ManagedProperty> o) {
+checkUnnamed2226(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -1036,7 +1036,7 @@
var o = new api.ManagedPropertyBundle();
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- o.managedProperty = buildUnnamed2220();
+ o.managedProperty = buildUnnamed2226();
}
buildCounterManagedPropertyBundle--;
return o;
@@ -1045,7 +1045,7 @@
checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- checkUnnamed2220(o.managedProperty);
+ checkUnnamed2226(o.managedProperty);
}
buildCounterManagedPropertyBundle--;
}
@@ -1073,27 +1073,27 @@
buildCounterNewDeviceEvent--;
}
-buildUnnamed2221() {
+buildUnnamed2227() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2221(core.List<core.String> o) {
+checkUnnamed2227(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'));
}
-buildUnnamed2222() {
+buildUnnamed2228() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2222(core.List<core.String> o) {
+checkUnnamed2228(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'));
@@ -1104,9 +1104,9 @@
var o = new api.NewPermissionsEvent();
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- o.approvedPermissions = buildUnnamed2221();
+ o.approvedPermissions = buildUnnamed2227();
o.productId = "foo";
- o.requestedPermissions = buildUnnamed2222();
+ o.requestedPermissions = buildUnnamed2228();
}
buildCounterNewPermissionsEvent--;
return o;
@@ -1115,9 +1115,9 @@
checkNewPermissionsEvent(api.NewPermissionsEvent o) {
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- checkUnnamed2221(o.approvedPermissions);
+ checkUnnamed2227(o.approvedPermissions);
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed2222(o.requestedPermissions);
+ checkUnnamed2228(o.requestedPermissions);
}
buildCounterNewPermissionsEvent--;
}
@@ -1160,14 +1160,14 @@
buildCounterNotification--;
}
-buildUnnamed2223() {
+buildUnnamed2229() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed2223(core.List<api.Notification> o) {
+checkUnnamed2229(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1179,7 +1179,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
o.kind = "foo";
- o.notification = buildUnnamed2223();
+ o.notification = buildUnnamed2229();
o.notificationSetId = "foo";
}
buildCounterNotificationSet--;
@@ -1190,7 +1190,7 @@
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2223(o.notification);
+ checkUnnamed2229(o.notification);
unittest.expect(o.notificationSetId, unittest.equals('foo'));
}
buildCounterNotificationSet--;
@@ -1244,27 +1244,27 @@
buildCounterPermission--;
}
-buildUnnamed2224() {
+buildUnnamed2230() {
var o = new core.List<api.AppVersion>();
o.add(buildAppVersion());
o.add(buildAppVersion());
return o;
}
-checkUnnamed2224(core.List<api.AppVersion> o) {
+checkUnnamed2230(core.List<api.AppVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppVersion(o[0]);
checkAppVersion(o[1]);
}
-buildUnnamed2225() {
+buildUnnamed2231() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2225(core.List<core.String> o) {
+checkUnnamed2231(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'));
@@ -1275,9 +1275,9 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.appVersion = buildUnnamed2224();
+ o.appVersion = buildUnnamed2230();
o.authorName = "foo";
- o.availableTracks = buildUnnamed2225();
+ o.availableTracks = buildUnnamed2231();
o.detailsUrl = "foo";
o.distributionChannel = "foo";
o.iconUrl = "foo";
@@ -1297,9 +1297,9 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed2224(o.appVersion);
+ checkUnnamed2230(o.appVersion);
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed2225(o.availableTracks);
+ checkUnnamed2231(o.availableTracks);
unittest.expect(o.detailsUrl, unittest.equals('foo'));
unittest.expect(o.distributionChannel, unittest.equals('foo'));
unittest.expect(o.iconUrl, unittest.equals('foo'));
@@ -1378,14 +1378,14 @@
buildCounterProductPermission--;
}
-buildUnnamed2226() {
+buildUnnamed2232() {
var o = new core.List<api.ProductPermission>();
o.add(buildProductPermission());
o.add(buildProductPermission());
return o;
}
-checkUnnamed2226(core.List<api.ProductPermission> o) {
+checkUnnamed2232(core.List<api.ProductPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductPermission(o[0]);
checkProductPermission(o[1]);
@@ -1397,7 +1397,7 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
o.kind = "foo";
- o.permission = buildUnnamed2226();
+ o.permission = buildUnnamed2232();
o.productId = "foo";
}
buildCounterProductPermissions--;
@@ -1408,33 +1408,33 @@
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2226(o.permission);
+ checkUnnamed2232(o.permission);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterProductPermissions--;
}
-buildUnnamed2227() {
+buildUnnamed2233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2227(core.List<core.String> o) {
+checkUnnamed2233(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'));
}
-buildUnnamed2228() {
+buildUnnamed2234() {
var o = new core.List<api.ProductVisibility>();
o.add(buildProductVisibility());
o.add(buildProductVisibility());
return o;
}
-checkUnnamed2228(core.List<api.ProductVisibility> o) {
+checkUnnamed2234(core.List<api.ProductVisibility> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductVisibility(o[0]);
checkProductVisibility(o[1]);
@@ -1446,9 +1446,9 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
o.kind = "foo";
- o.productId = buildUnnamed2227();
+ o.productId = buildUnnamed2233();
o.productSetBehavior = "foo";
- o.productVisibility = buildUnnamed2228();
+ o.productVisibility = buildUnnamed2234();
}
buildCounterProductSet--;
return o;
@@ -1458,9 +1458,9 @@
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2227(o.productId);
+ checkUnnamed2233(o.productId);
unittest.expect(o.productSetBehavior, unittest.equals('foo'));
- checkUnnamed2228(o.productVisibility);
+ checkUnnamed2234(o.productVisibility);
}
buildCounterProductSet--;
}
@@ -1486,14 +1486,14 @@
buildCounterProductSigningCertificate--;
}
-buildUnnamed2229() {
+buildUnnamed2235() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2229(core.List<core.String> o) {
+checkUnnamed2235(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'));
@@ -1505,7 +1505,7 @@
buildCounterProductVisibility++;
if (buildCounterProductVisibility < 3) {
o.productId = "foo";
- o.tracks = buildUnnamed2229();
+ o.tracks = buildUnnamed2235();
}
buildCounterProductVisibility--;
return o;
@@ -1515,7 +1515,7 @@
buildCounterProductVisibility++;
if (buildCounterProductVisibility < 3) {
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed2229(o.tracks);
+ checkUnnamed2235(o.tracks);
}
buildCounterProductVisibility--;
}
@@ -1561,14 +1561,14 @@
buildCounterProductsGenerateApprovalUrlResponse--;
}
-buildUnnamed2230() {
+buildUnnamed2236() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed2230(core.List<api.Product> o) {
+checkUnnamed2236(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1581,7 +1581,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.pageInfo = buildPageInfo();
- o.product = buildUnnamed2230();
+ o.product = buildUnnamed2236();
o.tokenPagination = buildTokenPagination();
}
buildCounterProductsListResponse--;
@@ -1593,7 +1593,7 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
- checkUnnamed2230(o.product);
+ checkUnnamed2236(o.product);
checkTokenPagination(o.tokenPagination);
}
buildCounterProductsListResponse--;
@@ -1649,14 +1649,14 @@
buildCounterServiceAccountKey--;
}
-buildUnnamed2231() {
+buildUnnamed2237() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed2231(core.List<api.ServiceAccountKey> o) {
+checkUnnamed2237(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -1667,7 +1667,7 @@
var o = new api.ServiceAccountKeysListResponse();
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- o.serviceAccountKey = buildUnnamed2231();
+ o.serviceAccountKey = buildUnnamed2237();
}
buildCounterServiceAccountKeysListResponse--;
return o;
@@ -1676,7 +1676,7 @@
checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- checkUnnamed2231(o.serviceAccountKey);
+ checkUnnamed2237(o.serviceAccountKey);
}
buildCounterServiceAccountKeysListResponse--;
}
@@ -1704,27 +1704,27 @@
buildCounterSignupInfo--;
}
-buildUnnamed2232() {
+buildUnnamed2238() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed2232(core.List<api.LocalizedText> o) {
+checkUnnamed2238(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
}
-buildUnnamed2233() {
+buildUnnamed2239() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2233(core.List<core.String> o) {
+checkUnnamed2239(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'));
@@ -1737,9 +1737,9 @@
if (buildCounterStoreCluster < 3) {
o.id = "foo";
o.kind = "foo";
- o.name = buildUnnamed2232();
+ o.name = buildUnnamed2238();
o.orderInPage = "foo";
- o.productId = buildUnnamed2233();
+ o.productId = buildUnnamed2239();
}
buildCounterStoreCluster--;
return o;
@@ -1750,9 +1750,9 @@
if (buildCounterStoreCluster < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2232(o.name);
+ checkUnnamed2238(o.name);
unittest.expect(o.orderInPage, unittest.equals('foo'));
- checkUnnamed2233(o.productId);
+ checkUnnamed2239(o.productId);
}
buildCounterStoreCluster--;
}
@@ -1780,14 +1780,14 @@
buildCounterStoreLayout--;
}
-buildUnnamed2234() {
+buildUnnamed2240() {
var o = new core.List<api.StoreCluster>();
o.add(buildStoreCluster());
o.add(buildStoreCluster());
return o;
}
-checkUnnamed2234(core.List<api.StoreCluster> o) {
+checkUnnamed2240(core.List<api.StoreCluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkStoreCluster(o[0]);
checkStoreCluster(o[1]);
@@ -1798,7 +1798,7 @@
var o = new api.StoreLayoutClustersListResponse();
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- o.cluster = buildUnnamed2234();
+ o.cluster = buildUnnamed2240();
o.kind = "foo";
}
buildCounterStoreLayoutClustersListResponse--;
@@ -1808,20 +1808,20 @@
checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- checkUnnamed2234(o.cluster);
+ checkUnnamed2240(o.cluster);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterStoreLayoutClustersListResponse--;
}
-buildUnnamed2235() {
+buildUnnamed2241() {
var o = new core.List<api.StorePage>();
o.add(buildStorePage());
o.add(buildStorePage());
return o;
}
-checkUnnamed2235(core.List<api.StorePage> o) {
+checkUnnamed2241(core.List<api.StorePage> o) {
unittest.expect(o, unittest.hasLength(2));
checkStorePage(o[0]);
checkStorePage(o[1]);
@@ -1833,7 +1833,7 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
o.kind = "foo";
- o.page = buildUnnamed2235();
+ o.page = buildUnnamed2241();
}
buildCounterStoreLayoutPagesListResponse--;
return o;
@@ -1843,32 +1843,32 @@
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2235(o.page);
+ checkUnnamed2241(o.page);
}
buildCounterStoreLayoutPagesListResponse--;
}
-buildUnnamed2236() {
+buildUnnamed2242() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2236(core.List<core.String> o) {
+checkUnnamed2242(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'));
}
-buildUnnamed2237() {
+buildUnnamed2243() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed2237(core.List<api.LocalizedText> o) {
+checkUnnamed2243(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
@@ -1881,8 +1881,8 @@
if (buildCounterStorePage < 3) {
o.id = "foo";
o.kind = "foo";
- o.link = buildUnnamed2236();
- o.name = buildUnnamed2237();
+ o.link = buildUnnamed2242();
+ o.name = buildUnnamed2243();
}
buildCounterStorePage--;
return o;
@@ -1893,8 +1893,8 @@
if (buildCounterStorePage < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2236(o.link);
- checkUnnamed2237(o.name);
+ checkUnnamed2242(o.link);
+ checkUnnamed2243(o.name);
}
buildCounterStorePage--;
}
@@ -1974,14 +1974,14 @@
buildCounterUserToken--;
}
-buildUnnamed2238() {
+buildUnnamed2244() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2238(core.List<api.User> o) {
+checkUnnamed2244(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -1993,7 +1993,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed2238();
+ o.user = buildUnnamed2244();
}
buildCounterUsersListResponse--;
return o;
@@ -2003,7 +2003,7 @@
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2238(o.user);
+ checkUnnamed2244(o.user);
}
buildCounterUsersListResponse--;
}
@@ -8054,6 +8054,77 @@
})));
});
+ unittest.test("method--revokeDeviceAccess", () {
+ var mock = new HttpServerMock();
+ api.UsersResourceApi res = new api.AndroidenterpriseApi(mock).users;
+ var arg_enterpriseId = "foo";
+ var arg_userId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("androidenterprise/v1/"));
+ pathOffset += 21;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("enterprises/"));
+ pathOffset += 12;
+ index = path.indexOf("/users/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_enterpriseId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/users/"));
+ pathOffset += 7;
+ index = path.indexOf("/deviceAccess", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_userId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("/deviceAccess"));
+ pathOffset += 13;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .revokeDeviceAccess(arg_enterpriseId, arg_userId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
unittest.test("method--revokeToken", () {
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.AndroidenterpriseApi(mock).users;
diff --git a/generated/googleapis/test/androidmanagement/v1_test.dart b/generated/googleapis/test/androidmanagement/v1_test.dart
index 19d6ed6..00757da 100644
--- a/generated/googleapis/test/androidmanagement/v1_test.dart
+++ b/generated/googleapis/test/androidmanagement/v1_test.dart
@@ -69,27 +69,27 @@
buildCounterApiLevelCondition--;
}
-buildUnnamed1598() {
+buildUnnamed1604() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1598(core.List<api.ManagedProperty> o) {
+checkUnnamed1604(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
}
-buildUnnamed1599() {
+buildUnnamed1605() {
var o = new core.List<api.ApplicationPermission>();
o.add(buildApplicationPermission());
o.add(buildApplicationPermission());
return o;
}
-checkUnnamed1599(core.List<api.ApplicationPermission> o) {
+checkUnnamed1605(core.List<api.ApplicationPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationPermission(o[0]);
checkApplicationPermission(o[1]);
@@ -100,9 +100,9 @@
var o = new api.Application();
buildCounterApplication++;
if (buildCounterApplication < 3) {
- o.managedProperties = buildUnnamed1598();
+ o.managedProperties = buildUnnamed1604();
o.name = "foo";
- o.permissions = buildUnnamed1599();
+ o.permissions = buildUnnamed1605();
o.title = "foo";
}
buildCounterApplication--;
@@ -112,9 +112,9 @@
checkApplication(api.Application o) {
buildCounterApplication++;
if (buildCounterApplication < 3) {
- checkUnnamed1598(o.managedProperties);
+ checkUnnamed1604(o.managedProperties);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1599(o.permissions);
+ checkUnnamed1605(o.permissions);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterApplication--;
@@ -143,7 +143,7 @@
buildCounterApplicationPermission--;
}
-buildUnnamed1600() {
+buildUnnamed1606() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -158,7 +158,7 @@
return o;
}
-checkUnnamed1600(core.Map<core.String, core.Object> o) {
+checkUnnamed1606(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -172,14 +172,14 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1601() {
+buildUnnamed1607() {
var o = new core.List<api.PermissionGrant>();
o.add(buildPermissionGrant());
o.add(buildPermissionGrant());
return o;
}
-checkUnnamed1601(core.List<api.PermissionGrant> o) {
+checkUnnamed1607(core.List<api.PermissionGrant> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionGrant(o[0]);
checkPermissionGrant(o[1]);
@@ -193,9 +193,9 @@
o.defaultPermissionPolicy = "foo";
o.installType = "foo";
o.lockTaskAllowed = true;
- o.managedConfiguration = buildUnnamed1600();
+ o.managedConfiguration = buildUnnamed1606();
o.packageName = "foo";
- o.permissionGrants = buildUnnamed1601();
+ o.permissionGrants = buildUnnamed1607();
}
buildCounterApplicationPolicy--;
return o;
@@ -207,21 +207,21 @@
unittest.expect(o.defaultPermissionPolicy, unittest.equals('foo'));
unittest.expect(o.installType, unittest.equals('foo'));
unittest.expect(o.lockTaskAllowed, unittest.isTrue);
- checkUnnamed1600(o.managedConfiguration);
+ checkUnnamed1606(o.managedConfiguration);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed1601(o.permissionGrants);
+ checkUnnamed1607(o.permissionGrants);
}
buildCounterApplicationPolicy--;
}
-buildUnnamed1602() {
+buildUnnamed1608() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1602(core.List<core.String> o) {
+checkUnnamed1608(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'));
@@ -235,7 +235,7 @@
o.createTime = "foo";
o.duration = "foo";
o.newPassword = "foo";
- o.resetPasswordFlags = buildUnnamed1602();
+ o.resetPasswordFlags = buildUnnamed1608();
o.type = "foo";
}
buildCounterCommand--;
@@ -248,7 +248,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals('foo'));
unittest.expect(o.newPassword, unittest.equals('foo'));
- checkUnnamed1602(o.resetPasswordFlags);
+ checkUnnamed1608(o.resetPasswordFlags);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCommand--;
@@ -277,79 +277,79 @@
buildCounterComplianceRule--;
}
-buildUnnamed1603() {
+buildUnnamed1609() {
var o = new core.List<api.Display>();
o.add(buildDisplay());
o.add(buildDisplay());
return o;
}
-checkUnnamed1603(core.List<api.Display> o) {
+checkUnnamed1609(core.List<api.Display> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplay(o[0]);
checkDisplay(o[1]);
}
-buildUnnamed1604() {
+buildUnnamed1610() {
var o = new core.List<api.HardwareStatus>();
o.add(buildHardwareStatus());
o.add(buildHardwareStatus());
return o;
}
-checkUnnamed1604(core.List<api.HardwareStatus> o) {
+checkUnnamed1610(core.List<api.HardwareStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHardwareStatus(o[0]);
checkHardwareStatus(o[1]);
}
-buildUnnamed1605() {
+buildUnnamed1611() {
var o = new core.List<api.MemoryEvent>();
o.add(buildMemoryEvent());
o.add(buildMemoryEvent());
return o;
}
-checkUnnamed1605(core.List<api.MemoryEvent> o) {
+checkUnnamed1611(core.List<api.MemoryEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkMemoryEvent(o[0]);
checkMemoryEvent(o[1]);
}
-buildUnnamed1606() {
+buildUnnamed1612() {
var o = new core.List<api.NonComplianceDetail>();
o.add(buildNonComplianceDetail());
o.add(buildNonComplianceDetail());
return o;
}
-checkUnnamed1606(core.List<api.NonComplianceDetail> o) {
+checkUnnamed1612(core.List<api.NonComplianceDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkNonComplianceDetail(o[0]);
checkNonComplianceDetail(o[1]);
}
-buildUnnamed1607() {
+buildUnnamed1613() {
var o = new core.List<api.PowerManagementEvent>();
o.add(buildPowerManagementEvent());
o.add(buildPowerManagementEvent());
return o;
}
-checkUnnamed1607(core.List<api.PowerManagementEvent> o) {
+checkUnnamed1613(core.List<api.PowerManagementEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPowerManagementEvent(o[0]);
checkPowerManagementEvent(o[1]);
}
-buildUnnamed1608() {
+buildUnnamed1614() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1608(core.List<core.String> o) {
+checkUnnamed1614(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'));
@@ -365,24 +365,24 @@
o.appliedPolicyVersion = "foo";
o.appliedState = "foo";
o.disabledReason = buildUserFacingMessage();
- o.displays = buildUnnamed1603();
+ o.displays = buildUnnamed1609();
o.enrollmentTime = "foo";
o.enrollmentTokenData = "foo";
o.enrollmentTokenName = "foo";
o.hardwareInfo = buildHardwareInfo();
- o.hardwareStatusSamples = buildUnnamed1604();
+ o.hardwareStatusSamples = buildUnnamed1610();
o.lastPolicyComplianceReportTime = "foo";
o.lastPolicySyncTime = "foo";
o.lastStatusReportTime = "foo";
- o.memoryEvents = buildUnnamed1605();
+ o.memoryEvents = buildUnnamed1611();
o.memoryInfo = buildMemoryInfo();
o.name = "foo";
o.networkInfo = buildNetworkInfo();
- o.nonComplianceDetails = buildUnnamed1606();
+ o.nonComplianceDetails = buildUnnamed1612();
o.policyCompliant = true;
o.policyName = "foo";
- o.powerManagementEvents = buildUnnamed1607();
- o.previousDeviceNames = buildUnnamed1608();
+ o.powerManagementEvents = buildUnnamed1613();
+ o.previousDeviceNames = buildUnnamed1614();
o.softwareInfo = buildSoftwareInfo();
o.state = "foo";
o.userName = "foo";
@@ -399,24 +399,24 @@
unittest.expect(o.appliedPolicyVersion, unittest.equals('foo'));
unittest.expect(o.appliedState, unittest.equals('foo'));
checkUserFacingMessage(o.disabledReason);
- checkUnnamed1603(o.displays);
+ checkUnnamed1609(o.displays);
unittest.expect(o.enrollmentTime, unittest.equals('foo'));
unittest.expect(o.enrollmentTokenData, unittest.equals('foo'));
unittest.expect(o.enrollmentTokenName, unittest.equals('foo'));
checkHardwareInfo(o.hardwareInfo);
- checkUnnamed1604(o.hardwareStatusSamples);
+ checkUnnamed1610(o.hardwareStatusSamples);
unittest.expect(o.lastPolicyComplianceReportTime, unittest.equals('foo'));
unittest.expect(o.lastPolicySyncTime, unittest.equals('foo'));
unittest.expect(o.lastStatusReportTime, unittest.equals('foo'));
- checkUnnamed1605(o.memoryEvents);
+ checkUnnamed1611(o.memoryEvents);
checkMemoryInfo(o.memoryInfo);
unittest.expect(o.name, unittest.equals('foo'));
checkNetworkInfo(o.networkInfo);
- checkUnnamed1606(o.nonComplianceDetails);
+ checkUnnamed1612(o.nonComplianceDetails);
unittest.expect(o.policyCompliant, unittest.isTrue);
unittest.expect(o.policyName, unittest.equals('foo'));
- checkUnnamed1607(o.powerManagementEvents);
- checkUnnamed1608(o.previousDeviceNames);
+ checkUnnamed1613(o.powerManagementEvents);
+ checkUnnamed1614(o.previousDeviceNames);
checkSoftwareInfo(o.softwareInfo);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.userName, unittest.equals('foo'));
@@ -501,14 +501,14 @@
buildCounterEnrollmentToken--;
}
-buildUnnamed1609() {
+buildUnnamed1615() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1609(core.List<core.String> o) {
+checkUnnamed1615(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'));
@@ -520,7 +520,7 @@
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
o.appAutoApprovalEnabled = true;
- o.enabledNotificationTypes = buildUnnamed1609();
+ o.enabledNotificationTypes = buildUnnamed1615();
o.enterpriseDisplayName = "foo";
o.logo = buildExternalData();
o.name = "foo";
@@ -535,7 +535,7 @@
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
unittest.expect(o.appAutoApprovalEnabled, unittest.isTrue);
- checkUnnamed1609(o.enabledNotificationTypes);
+ checkUnnamed1615(o.enabledNotificationTypes);
unittest.expect(o.enterpriseDisplayName, unittest.equals('foo'));
checkExternalData(o.logo);
unittest.expect(o.name, unittest.equals('foo'));
@@ -566,84 +566,6 @@
buildCounterExternalData--;
}
-buildUnnamed1610() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1610(core.List<core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42.0));
- unittest.expect(o[1], unittest.equals(42.0));
-}
-
-buildUnnamed1611() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1611(core.List<core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42.0));
- unittest.expect(o[1], unittest.equals(42.0));
-}
-
-buildUnnamed1612() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1612(core.List<core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42.0));
- unittest.expect(o[1], unittest.equals(42.0));
-}
-
-buildUnnamed1613() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1613(core.List<core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42.0));
- unittest.expect(o[1], unittest.equals(42.0));
-}
-
-buildUnnamed1614() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1614(core.List<core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42.0));
- unittest.expect(o[1], unittest.equals(42.0));
-}
-
-buildUnnamed1615() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1615(core.List<core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42.0));
- unittest.expect(o[1], unittest.equals(42.0));
-}
-
buildUnnamed1616() {
var o = new core.List<core.double>();
o.add(42.0);
@@ -670,51 +592,6 @@
unittest.expect(o[1], unittest.equals(42.0));
}
-core.int buildCounterHardwareInfo = 0;
-buildHardwareInfo() {
- var o = new api.HardwareInfo();
- buildCounterHardwareInfo++;
- if (buildCounterHardwareInfo < 3) {
- o.batteryShutdownTemperatures = buildUnnamed1610();
- o.batteryThrottlingTemperatures = buildUnnamed1611();
- o.brand = "foo";
- o.cpuShutdownTemperatures = buildUnnamed1612();
- o.cpuThrottlingTemperatures = buildUnnamed1613();
- o.deviceBasebandVersion = "foo";
- o.gpuShutdownTemperatures = buildUnnamed1614();
- o.gpuThrottlingTemperatures = buildUnnamed1615();
- o.hardware = "foo";
- o.manufacturer = "foo";
- o.model = "foo";
- o.serialNumber = "foo";
- o.skinShutdownTemperatures = buildUnnamed1616();
- o.skinThrottlingTemperatures = buildUnnamed1617();
- }
- buildCounterHardwareInfo--;
- return o;
-}
-
-checkHardwareInfo(api.HardwareInfo o) {
- buildCounterHardwareInfo++;
- if (buildCounterHardwareInfo < 3) {
- checkUnnamed1610(o.batteryShutdownTemperatures);
- checkUnnamed1611(o.batteryThrottlingTemperatures);
- unittest.expect(o.brand, unittest.equals('foo'));
- checkUnnamed1612(o.cpuShutdownTemperatures);
- checkUnnamed1613(o.cpuThrottlingTemperatures);
- unittest.expect(o.deviceBasebandVersion, unittest.equals('foo'));
- checkUnnamed1614(o.gpuShutdownTemperatures);
- checkUnnamed1615(o.gpuThrottlingTemperatures);
- unittest.expect(o.hardware, unittest.equals('foo'));
- unittest.expect(o.manufacturer, unittest.equals('foo'));
- unittest.expect(o.model, unittest.equals('foo'));
- unittest.expect(o.serialNumber, unittest.equals('foo'));
- checkUnnamed1616(o.skinShutdownTemperatures);
- checkUnnamed1617(o.skinThrottlingTemperatures);
- }
- buildCounterHardwareInfo--;
-}
-
buildUnnamed1618() {
var o = new core.List<core.double>();
o.add(42.0);
@@ -793,18 +670,141 @@
unittest.expect(o[1], unittest.equals(42.0));
}
+core.int buildCounterHardwareInfo = 0;
+buildHardwareInfo() {
+ var o = new api.HardwareInfo();
+ buildCounterHardwareInfo++;
+ if (buildCounterHardwareInfo < 3) {
+ o.batteryShutdownTemperatures = buildUnnamed1616();
+ o.batteryThrottlingTemperatures = buildUnnamed1617();
+ o.brand = "foo";
+ o.cpuShutdownTemperatures = buildUnnamed1618();
+ o.cpuThrottlingTemperatures = buildUnnamed1619();
+ o.deviceBasebandVersion = "foo";
+ o.gpuShutdownTemperatures = buildUnnamed1620();
+ o.gpuThrottlingTemperatures = buildUnnamed1621();
+ o.hardware = "foo";
+ o.manufacturer = "foo";
+ o.model = "foo";
+ o.serialNumber = "foo";
+ o.skinShutdownTemperatures = buildUnnamed1622();
+ o.skinThrottlingTemperatures = buildUnnamed1623();
+ }
+ buildCounterHardwareInfo--;
+ return o;
+}
+
+checkHardwareInfo(api.HardwareInfo o) {
+ buildCounterHardwareInfo++;
+ if (buildCounterHardwareInfo < 3) {
+ checkUnnamed1616(o.batteryShutdownTemperatures);
+ checkUnnamed1617(o.batteryThrottlingTemperatures);
+ unittest.expect(o.brand, unittest.equals('foo'));
+ checkUnnamed1618(o.cpuShutdownTemperatures);
+ checkUnnamed1619(o.cpuThrottlingTemperatures);
+ unittest.expect(o.deviceBasebandVersion, unittest.equals('foo'));
+ checkUnnamed1620(o.gpuShutdownTemperatures);
+ checkUnnamed1621(o.gpuThrottlingTemperatures);
+ unittest.expect(o.hardware, unittest.equals('foo'));
+ unittest.expect(o.manufacturer, unittest.equals('foo'));
+ unittest.expect(o.model, unittest.equals('foo'));
+ unittest.expect(o.serialNumber, unittest.equals('foo'));
+ checkUnnamed1622(o.skinShutdownTemperatures);
+ checkUnnamed1623(o.skinThrottlingTemperatures);
+ }
+ buildCounterHardwareInfo--;
+}
+
+buildUnnamed1624() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1624(core.List<core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42.0));
+ unittest.expect(o[1], unittest.equals(42.0));
+}
+
+buildUnnamed1625() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1625(core.List<core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42.0));
+ unittest.expect(o[1], unittest.equals(42.0));
+}
+
+buildUnnamed1626() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1626(core.List<core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42.0));
+ unittest.expect(o[1], unittest.equals(42.0));
+}
+
+buildUnnamed1627() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1627(core.List<core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42.0));
+ unittest.expect(o[1], unittest.equals(42.0));
+}
+
+buildUnnamed1628() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1628(core.List<core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42.0));
+ unittest.expect(o[1], unittest.equals(42.0));
+}
+
+buildUnnamed1629() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1629(core.List<core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42.0));
+ unittest.expect(o[1], unittest.equals(42.0));
+}
+
core.int buildCounterHardwareStatus = 0;
buildHardwareStatus() {
var o = new api.HardwareStatus();
buildCounterHardwareStatus++;
if (buildCounterHardwareStatus < 3) {
- o.batteryTemperatures = buildUnnamed1618();
- o.cpuTemperatures = buildUnnamed1619();
- o.cpuUsages = buildUnnamed1620();
+ o.batteryTemperatures = buildUnnamed1624();
+ o.cpuTemperatures = buildUnnamed1625();
+ o.cpuUsages = buildUnnamed1626();
o.createTime = "foo";
- o.fanSpeeds = buildUnnamed1621();
- o.gpuTemperatures = buildUnnamed1622();
- o.skinTemperatures = buildUnnamed1623();
+ o.fanSpeeds = buildUnnamed1627();
+ o.gpuTemperatures = buildUnnamed1628();
+ o.skinTemperatures = buildUnnamed1629();
}
buildCounterHardwareStatus--;
return o;
@@ -813,25 +813,25 @@
checkHardwareStatus(api.HardwareStatus o) {
buildCounterHardwareStatus++;
if (buildCounterHardwareStatus < 3) {
- checkUnnamed1618(o.batteryTemperatures);
- checkUnnamed1619(o.cpuTemperatures);
- checkUnnamed1620(o.cpuUsages);
+ checkUnnamed1624(o.batteryTemperatures);
+ checkUnnamed1625(o.cpuTemperatures);
+ checkUnnamed1626(o.cpuUsages);
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1621(o.fanSpeeds);
- checkUnnamed1622(o.gpuTemperatures);
- checkUnnamed1623(o.skinTemperatures);
+ checkUnnamed1627(o.fanSpeeds);
+ checkUnnamed1628(o.gpuTemperatures);
+ checkUnnamed1629(o.skinTemperatures);
}
buildCounterHardwareStatus--;
}
-buildUnnamed1624() {
+buildUnnamed1630() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed1624(core.List<api.Device> o) {
+checkUnnamed1630(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -842,7 +842,7 @@
var o = new api.ListDevicesResponse();
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- o.devices = buildUnnamed1624();
+ o.devices = buildUnnamed1630();
o.nextPageToken = "foo";
}
buildCounterListDevicesResponse--;
@@ -852,20 +852,20 @@
checkListDevicesResponse(api.ListDevicesResponse o) {
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- checkUnnamed1624(o.devices);
+ checkUnnamed1630(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDevicesResponse--;
}
-buildUnnamed1625() {
+buildUnnamed1631() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1625(core.List<api.Operation> o) {
+checkUnnamed1631(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -877,7 +877,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1625();
+ o.operations = buildUnnamed1631();
}
buildCounterListOperationsResponse--;
return o;
@@ -887,19 +887,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1625(o.operations);
+ checkUnnamed1631(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1626() {
+buildUnnamed1632() {
var o = new core.List<api.Policy>();
o.add(buildPolicy());
o.add(buildPolicy());
return o;
}
-checkUnnamed1626(core.List<api.Policy> o) {
+checkUnnamed1632(core.List<api.Policy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicy(o[0]);
checkPolicy(o[1]);
@@ -911,7 +911,7 @@
buildCounterListPoliciesResponse++;
if (buildCounterListPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed1626();
+ o.policies = buildUnnamed1632();
}
buildCounterListPoliciesResponse--;
return o;
@@ -921,32 +921,32 @@
buildCounterListPoliciesResponse++;
if (buildCounterListPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1626(o.policies);
+ checkUnnamed1632(o.policies);
}
buildCounterListPoliciesResponse--;
}
-buildUnnamed1627() {
+buildUnnamed1633() {
var o = new core.List<api.ManagedPropertyEntry>();
o.add(buildManagedPropertyEntry());
o.add(buildManagedPropertyEntry());
return o;
}
-checkUnnamed1627(core.List<api.ManagedPropertyEntry> o) {
+checkUnnamed1633(core.List<api.ManagedPropertyEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyEntry(o[0]);
checkManagedPropertyEntry(o[1]);
}
-buildUnnamed1628() {
+buildUnnamed1634() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1628(core.List<api.ManagedProperty> o) {
+checkUnnamed1634(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -963,9 +963,9 @@
'string': 'foo'
};
o.description = "foo";
- o.entries = buildUnnamed1627();
+ o.entries = buildUnnamed1633();
o.key = "foo";
- o.nestedProperties = buildUnnamed1628();
+ o.nestedProperties = buildUnnamed1634();
o.title = "foo";
o.type = "foo";
}
@@ -982,9 +982,9 @@
unittest.expect(casted3["bool"], unittest.equals(true));
unittest.expect(casted3["string"], unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1627(o.entries);
+ checkUnnamed1633(o.entries);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1628(o.nestedProperties);
+ checkUnnamed1634(o.nestedProperties);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -1139,7 +1139,7 @@
buildCounterNonComplianceDetailCondition--;
}
-buildUnnamed1629() {
+buildUnnamed1635() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1154,7 +1154,7 @@
return o;
}
-checkUnnamed1629(core.Map<core.String, core.Object> o) {
+checkUnnamed1635(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1168,7 +1168,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1630() {
+buildUnnamed1636() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1183,7 +1183,7 @@
return o;
}
-checkUnnamed1630(core.Map<core.String, core.Object> o) {
+checkUnnamed1636(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1204,9 +1204,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1629();
+ o.metadata = buildUnnamed1635();
o.name = "foo";
- o.response = buildUnnamed1630();
+ o.response = buildUnnamed1636();
}
buildCounterOperation--;
return o;
@@ -1217,9 +1217,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1629(o.metadata);
+ checkUnnamed1635(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1630(o.response);
+ checkUnnamed1636(o.response);
}
buildCounterOperation--;
}
@@ -1284,134 +1284,17 @@
buildCounterPermissionGrant--;
}
-buildUnnamed1631() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1631(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'));
-}
-
-buildUnnamed1632() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1632(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 buildCounterPersistentPreferredActivity = 0;
-buildPersistentPreferredActivity() {
- var o = new api.PersistentPreferredActivity();
- buildCounterPersistentPreferredActivity++;
- if (buildCounterPersistentPreferredActivity < 3) {
- o.actions = buildUnnamed1631();
- o.categories = buildUnnamed1632();
- o.receiverActivity = "foo";
- }
- buildCounterPersistentPreferredActivity--;
- return o;
-}
-
-checkPersistentPreferredActivity(api.PersistentPreferredActivity o) {
- buildCounterPersistentPreferredActivity++;
- if (buildCounterPersistentPreferredActivity < 3) {
- checkUnnamed1631(o.actions);
- checkUnnamed1632(o.categories);
- unittest.expect(o.receiverActivity, unittest.equals('foo'));
- }
- buildCounterPersistentPreferredActivity--;
-}
-
-buildUnnamed1633() {
- var o = new core.List<api.ApplicationPolicy>();
- o.add(buildApplicationPolicy());
- o.add(buildApplicationPolicy());
- return o;
-}
-
-checkUnnamed1633(core.List<api.ApplicationPolicy> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkApplicationPolicy(o[0]);
- checkApplicationPolicy(o[1]);
-}
-
-buildUnnamed1634() {
- var o = new core.List<api.ComplianceRule>();
- o.add(buildComplianceRule());
- o.add(buildComplianceRule());
- return o;
-}
-
-checkUnnamed1634(core.List<api.ComplianceRule> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkComplianceRule(o[0]);
- checkComplianceRule(o[1]);
-}
-
-buildUnnamed1635() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1635(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'));
-}
-
-buildUnnamed1636() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed1636(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted9 = (o["x"]) as core.Map;
- unittest.expect(casted9, unittest.hasLength(3));
- unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted9["bool"], unittest.equals(true));
- unittest.expect(casted9["string"], unittest.equals('foo'));
- var casted10 = (o["y"]) as core.Map;
- unittest.expect(casted10, unittest.hasLength(3));
- unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted10["bool"], unittest.equals(true));
- unittest.expect(casted10["string"], unittest.equals('foo'));
-}
-
buildUnnamed1637() {
- var o = new core.List<api.PersistentPreferredActivity>();
- o.add(buildPersistentPreferredActivity());
- o.add(buildPersistentPreferredActivity());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1637(core.List<api.PersistentPreferredActivity> o) {
+checkUnnamed1637(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkPersistentPreferredActivity(o[0]);
- checkPersistentPreferredActivity(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1638() {
@@ -1427,6 +1310,123 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterPersistentPreferredActivity = 0;
+buildPersistentPreferredActivity() {
+ var o = new api.PersistentPreferredActivity();
+ buildCounterPersistentPreferredActivity++;
+ if (buildCounterPersistentPreferredActivity < 3) {
+ o.actions = buildUnnamed1637();
+ o.categories = buildUnnamed1638();
+ o.receiverActivity = "foo";
+ }
+ buildCounterPersistentPreferredActivity--;
+ return o;
+}
+
+checkPersistentPreferredActivity(api.PersistentPreferredActivity o) {
+ buildCounterPersistentPreferredActivity++;
+ if (buildCounterPersistentPreferredActivity < 3) {
+ checkUnnamed1637(o.actions);
+ checkUnnamed1638(o.categories);
+ unittest.expect(o.receiverActivity, unittest.equals('foo'));
+ }
+ buildCounterPersistentPreferredActivity--;
+}
+
+buildUnnamed1639() {
+ var o = new core.List<api.ApplicationPolicy>();
+ o.add(buildApplicationPolicy());
+ o.add(buildApplicationPolicy());
+ return o;
+}
+
+checkUnnamed1639(core.List<api.ApplicationPolicy> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkApplicationPolicy(o[0]);
+ checkApplicationPolicy(o[1]);
+}
+
+buildUnnamed1640() {
+ var o = new core.List<api.ComplianceRule>();
+ o.add(buildComplianceRule());
+ o.add(buildComplianceRule());
+ return o;
+}
+
+checkUnnamed1640(core.List<api.ComplianceRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkComplianceRule(o[0]);
+ checkComplianceRule(o[1]);
+}
+
+buildUnnamed1641() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1641(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'));
+}
+
+buildUnnamed1642() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed1642(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted9 = (o["x"]) as core.Map;
+ unittest.expect(casted9, unittest.hasLength(3));
+ unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted9["bool"], unittest.equals(true));
+ unittest.expect(casted9["string"], unittest.equals('foo'));
+ var casted10 = (o["y"]) as core.Map;
+ unittest.expect(casted10, unittest.hasLength(3));
+ unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted10["bool"], unittest.equals(true));
+ unittest.expect(casted10["string"], unittest.equals('foo'));
+}
+
+buildUnnamed1643() {
+ var o = new core.List<api.PersistentPreferredActivity>();
+ o.add(buildPersistentPreferredActivity());
+ o.add(buildPersistentPreferredActivity());
+ return o;
+}
+
+checkUnnamed1643(core.List<api.PersistentPreferredActivity> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPersistentPreferredActivity(o[0]);
+ checkPersistentPreferredActivity(o[1]);
+}
+
+buildUnnamed1644() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1644(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 buildCounterPolicy = 0;
buildPolicy() {
var o = new api.Policy();
@@ -1434,15 +1434,15 @@
if (buildCounterPolicy < 3) {
o.addUserDisabled = true;
o.adjustVolumeDisabled = true;
- o.applications = buildUnnamed1633();
+ o.applications = buildUnnamed1639();
o.autoTimeRequired = true;
o.blockApplicationsEnabled = true;
o.cameraDisabled = true;
- o.complianceRules = buildUnnamed1634();
+ o.complianceRules = buildUnnamed1640();
o.debuggingFeaturesAllowed = true;
o.defaultPermissionPolicy = "foo";
o.factoryResetDisabled = true;
- o.frpAdminEmails = buildUnnamed1635();
+ o.frpAdminEmails = buildUnnamed1641();
o.funDisabled = true;
o.installUnknownSourcesAllowed = true;
o.keyguardDisabled = true;
@@ -1450,15 +1450,15 @@
o.modifyAccountsDisabled = true;
o.name = "foo";
o.networkEscapeHatchEnabled = true;
- o.openNetworkConfiguration = buildUnnamed1636();
+ o.openNetworkConfiguration = buildUnnamed1642();
o.passwordRequirements = buildPasswordRequirements();
- o.persistentPreferredActivities = buildUnnamed1637();
+ o.persistentPreferredActivities = buildUnnamed1643();
o.removeUserDisabled = true;
o.safeBootDisabled = true;
o.screenCaptureDisabled = true;
o.statusBarDisabled = true;
o.statusReportingSettings = buildStatusReportingSettings();
- o.stayOnPluggedModes = buildUnnamed1638();
+ o.stayOnPluggedModes = buildUnnamed1644();
o.systemUpdate = buildSystemUpdate();
o.unmuteMicrophoneDisabled = true;
o.version = "foo";
@@ -1474,15 +1474,15 @@
if (buildCounterPolicy < 3) {
unittest.expect(o.addUserDisabled, unittest.isTrue);
unittest.expect(o.adjustVolumeDisabled, unittest.isTrue);
- checkUnnamed1633(o.applications);
+ checkUnnamed1639(o.applications);
unittest.expect(o.autoTimeRequired, unittest.isTrue);
unittest.expect(o.blockApplicationsEnabled, unittest.isTrue);
unittest.expect(o.cameraDisabled, unittest.isTrue);
- checkUnnamed1634(o.complianceRules);
+ checkUnnamed1640(o.complianceRules);
unittest.expect(o.debuggingFeaturesAllowed, unittest.isTrue);
unittest.expect(o.defaultPermissionPolicy, unittest.equals('foo'));
unittest.expect(o.factoryResetDisabled, unittest.isTrue);
- checkUnnamed1635(o.frpAdminEmails);
+ checkUnnamed1641(o.frpAdminEmails);
unittest.expect(o.funDisabled, unittest.isTrue);
unittest.expect(o.installUnknownSourcesAllowed, unittest.isTrue);
unittest.expect(o.keyguardDisabled, unittest.isTrue);
@@ -1490,15 +1490,15 @@
unittest.expect(o.modifyAccountsDisabled, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.networkEscapeHatchEnabled, unittest.isTrue);
- checkUnnamed1636(o.openNetworkConfiguration);
+ checkUnnamed1642(o.openNetworkConfiguration);
checkPasswordRequirements(o.passwordRequirements);
- checkUnnamed1637(o.persistentPreferredActivities);
+ checkUnnamed1643(o.persistentPreferredActivities);
unittest.expect(o.removeUserDisabled, unittest.isTrue);
unittest.expect(o.safeBootDisabled, unittest.isTrue);
unittest.expect(o.screenCaptureDisabled, unittest.isTrue);
unittest.expect(o.statusBarDisabled, unittest.isTrue);
checkStatusReportingSettings(o.statusReportingSettings);
- checkUnnamed1638(o.stayOnPluggedModes);
+ checkUnnamed1644(o.stayOnPluggedModes);
checkSystemUpdate(o.systemUpdate);
unittest.expect(o.unmuteMicrophoneDisabled, unittest.isTrue);
unittest.expect(o.version, unittest.equals('foo'));
@@ -1581,7 +1581,7 @@
buildCounterSoftwareInfo--;
}
-buildUnnamed1639() {
+buildUnnamed1645() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1596,7 +1596,7 @@
return o;
}
-checkUnnamed1639(core.Map<core.String, core.Object> o) {
+checkUnnamed1645(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -1610,17 +1610,17 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1640() {
+buildUnnamed1646() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1639());
- o.add(buildUnnamed1639());
+ o.add(buildUnnamed1645());
+ o.add(buildUnnamed1645());
return o;
}
-checkUnnamed1640(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1646(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1639(o[0]);
- checkUnnamed1639(o[1]);
+ checkUnnamed1645(o[0]);
+ checkUnnamed1645(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1629,7 +1629,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1640();
+ o.details = buildUnnamed1646();
o.message = "foo";
}
buildCounterStatus--;
@@ -1640,7 +1640,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1640(o.details);
+ checkUnnamed1646(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1698,14 +1698,14 @@
buildCounterSystemUpdate--;
}
-buildUnnamed1641() {
+buildUnnamed1647() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1641(core.Map<core.String, core.String> o) {
+checkUnnamed1647(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1717,7 +1717,7 @@
buildCounterUserFacingMessage++;
if (buildCounterUserFacingMessage < 3) {
o.defaultMessage = "foo";
- o.localizedMessages = buildUnnamed1641();
+ o.localizedMessages = buildUnnamed1647();
}
buildCounterUserFacingMessage--;
return o;
@@ -1727,19 +1727,19 @@
buildCounterUserFacingMessage++;
if (buildCounterUserFacingMessage < 3) {
unittest.expect(o.defaultMessage, unittest.equals('foo'));
- checkUnnamed1641(o.localizedMessages);
+ checkUnnamed1647(o.localizedMessages);
}
buildCounterUserFacingMessage--;
}
-buildUnnamed1642() {
+buildUnnamed1648() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1642(core.List<core.String> o) {
+checkUnnamed1648(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'));
@@ -1752,7 +1752,7 @@
if (buildCounterWebToken < 3) {
o.name = "foo";
o.parentFrameUrl = "foo";
- o.permissions = buildUnnamed1642();
+ o.permissions = buildUnnamed1648();
o.value = "foo";
}
buildCounterWebToken--;
@@ -1764,7 +1764,7 @@
if (buildCounterWebToken < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentFrameUrl, unittest.equals('foo'));
- checkUnnamed1642(o.permissions);
+ checkUnnamed1648(o.permissions);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterWebToken--;
diff --git a/generated/googleapis/test/androidpublisher/v2_test.dart b/generated/googleapis/test/androidpublisher/v2_test.dart
index 7d891f9..008792f 100644
--- a/generated/googleapis/test/androidpublisher/v2_test.dart
+++ b/generated/googleapis/test/androidpublisher/v2_test.dart
@@ -113,14 +113,14 @@
buildCounterApkListing--;
}
-buildUnnamed2654() {
+buildUnnamed2941() {
var o = new core.List<api.ApkListing>();
o.add(buildApkListing());
o.add(buildApkListing());
return o;
}
-checkUnnamed2654(core.List<api.ApkListing> o) {
+checkUnnamed2941(core.List<api.ApkListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkApkListing(o[0]);
checkApkListing(o[1]);
@@ -132,7 +132,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2654();
+ o.listings = buildUnnamed2941();
}
buildCounterApkListingsListResponse--;
return o;
@@ -142,7 +142,7 @@
buildCounterApkListingsListResponse++;
if (buildCounterApkListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2654(o.listings);
+ checkUnnamed2941(o.listings);
}
buildCounterApkListingsListResponse--;
}
@@ -185,14 +185,14 @@
buildCounterApksAddExternallyHostedResponse--;
}
-buildUnnamed2655() {
+buildUnnamed2942() {
var o = new core.List<api.Apk>();
o.add(buildApk());
o.add(buildApk());
return o;
}
-checkUnnamed2655(core.List<api.Apk> o) {
+checkUnnamed2942(core.List<api.Apk> o) {
unittest.expect(o, unittest.hasLength(2));
checkApk(o[0]);
checkApk(o[1]);
@@ -203,7 +203,7 @@
var o = new api.ApksListResponse();
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- o.apks = buildUnnamed2655();
+ o.apks = buildUnnamed2942();
o.kind = "foo";
}
buildCounterApksListResponse--;
@@ -213,7 +213,7 @@
checkApksListResponse(api.ApksListResponse o) {
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- checkUnnamed2655(o.apks);
+ checkUnnamed2942(o.apks);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterApksListResponse--;
@@ -409,14 +409,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2656() {
+buildUnnamed2943() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2656(core.List<api.Entitlement> o) {
+checkUnnamed2943(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -428,7 +428,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.resources = buildUnnamed2656();
+ o.resources = buildUnnamed2943();
o.tokenPagination = buildTokenPagination();
}
buildCounterEntitlementsListResponse--;
@@ -439,7 +439,7 @@
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2656(o.resources);
+ checkUnnamed2943(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterEntitlementsListResponse--;
@@ -485,53 +485,53 @@
buildCounterExpansionFilesUploadResponse--;
}
-buildUnnamed2657() {
+buildUnnamed2944() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2657(core.List<core.String> o) {
+checkUnnamed2944(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'));
}
-buildUnnamed2658() {
+buildUnnamed2945() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2658(core.List<core.String> o) {
+checkUnnamed2945(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'));
}
-buildUnnamed2659() {
+buildUnnamed2946() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2659(core.List<core.String> o) {
+checkUnnamed2946(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'));
}
-buildUnnamed2660() {
+buildUnnamed2947() {
var o = new core.List<api.ExternallyHostedApkUsesPermission>();
o.add(buildExternallyHostedApkUsesPermission());
o.add(buildExternallyHostedApkUsesPermission());
return o;
}
-checkUnnamed2660(core.List<api.ExternallyHostedApkUsesPermission> o) {
+checkUnnamed2947(core.List<api.ExternallyHostedApkUsesPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternallyHostedApkUsesPermission(o[0]);
checkExternallyHostedApkUsesPermission(o[1]);
@@ -543,7 +543,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
o.applicationLabel = "foo";
- o.certificateBase64s = buildUnnamed2657();
+ o.certificateBase64s = buildUnnamed2944();
o.externallyHostedUrl = "foo";
o.fileSha1Base64 = "foo";
o.fileSha256Base64 = "foo";
@@ -551,10 +551,10 @@
o.iconBase64 = "foo";
o.maximumSdk = 42;
o.minimumSdk = 42;
- o.nativeCodes = buildUnnamed2658();
+ o.nativeCodes = buildUnnamed2945();
o.packageName = "foo";
- o.usesFeatures = buildUnnamed2659();
- o.usesPermissions = buildUnnamed2660();
+ o.usesFeatures = buildUnnamed2946();
+ o.usesPermissions = buildUnnamed2947();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -566,7 +566,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
unittest.expect(o.applicationLabel, unittest.equals('foo'));
- checkUnnamed2657(o.certificateBase64s);
+ checkUnnamed2944(o.certificateBase64s);
unittest.expect(o.externallyHostedUrl, unittest.equals('foo'));
unittest.expect(o.fileSha1Base64, unittest.equals('foo'));
unittest.expect(o.fileSha256Base64, unittest.equals('foo'));
@@ -574,10 +574,10 @@
unittest.expect(o.iconBase64, unittest.equals('foo'));
unittest.expect(o.maximumSdk, unittest.equals(42));
unittest.expect(o.minimumSdk, unittest.equals(42));
- checkUnnamed2658(o.nativeCodes);
+ checkUnnamed2945(o.nativeCodes);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2659(o.usesFeatures);
- checkUnnamed2660(o.usesPermissions);
+ checkUnnamed2946(o.usesFeatures);
+ checkUnnamed2947(o.usesPermissions);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
@@ -629,14 +629,14 @@
buildCounterImage--;
}
-buildUnnamed2661() {
+buildUnnamed2948() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2661(core.List<api.Image> o) {
+checkUnnamed2948(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -647,7 +647,7 @@
var o = new api.ImagesDeleteAllResponse();
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- o.deleted = buildUnnamed2661();
+ o.deleted = buildUnnamed2948();
}
buildCounterImagesDeleteAllResponse--;
return o;
@@ -656,19 +656,19 @@
checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
buildCounterImagesDeleteAllResponse++;
if (buildCounterImagesDeleteAllResponse < 3) {
- checkUnnamed2661(o.deleted);
+ checkUnnamed2948(o.deleted);
}
buildCounterImagesDeleteAllResponse--;
}
-buildUnnamed2662() {
+buildUnnamed2949() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2662(core.List<api.Image> o) {
+checkUnnamed2949(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -679,7 +679,7 @@
var o = new api.ImagesListResponse();
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- o.images = buildUnnamed2662();
+ o.images = buildUnnamed2949();
}
buildCounterImagesListResponse--;
return o;
@@ -688,7 +688,7 @@
checkImagesListResponse(api.ImagesListResponse o) {
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- checkUnnamed2662(o.images);
+ checkUnnamed2949(o.images);
}
buildCounterImagesListResponse--;
}
@@ -712,27 +712,27 @@
buildCounterImagesUploadResponse--;
}
-buildUnnamed2663() {
+buildUnnamed2950() {
var o = new core.Map<core.String, api.InAppProductListing>();
o["x"] = buildInAppProductListing();
o["y"] = buildInAppProductListing();
return o;
}
-checkUnnamed2663(core.Map<core.String, api.InAppProductListing> o) {
+checkUnnamed2950(core.Map<core.String, api.InAppProductListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProductListing(o["x"]);
checkInAppProductListing(o["y"]);
}
-buildUnnamed2664() {
+buildUnnamed2951() {
var o = new core.Map<core.String, api.Price>();
o["x"] = buildPrice();
o["y"] = buildPrice();
return o;
}
-checkUnnamed2664(core.Map<core.String, api.Price> o) {
+checkUnnamed2951(core.Map<core.String, api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o["x"]);
checkPrice(o["y"]);
@@ -745,9 +745,9 @@
if (buildCounterInAppProduct < 3) {
o.defaultLanguage = "foo";
o.defaultPrice = buildPrice();
- o.listings = buildUnnamed2663();
+ o.listings = buildUnnamed2950();
o.packageName = "foo";
- o.prices = buildUnnamed2664();
+ o.prices = buildUnnamed2951();
o.purchaseType = "foo";
o.season = buildSeason();
o.sku = "foo";
@@ -764,9 +764,9 @@
if (buildCounterInAppProduct < 3) {
unittest.expect(o.defaultLanguage, unittest.equals('foo'));
checkPrice(o.defaultPrice);
- checkUnnamed2663(o.listings);
+ checkUnnamed2950(o.listings);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed2664(o.prices);
+ checkUnnamed2951(o.prices);
unittest.expect(o.purchaseType, unittest.equals('foo'));
checkSeason(o.season);
unittest.expect(o.sku, unittest.equals('foo'));
@@ -798,166 +798,14 @@
buildCounterInAppProductListing--;
}
-buildUnnamed2665() {
- var o = new core.List<api.InappproductsBatchRequestEntry>();
- o.add(buildInappproductsBatchRequestEntry());
- o.add(buildInappproductsBatchRequestEntry());
- return o;
-}
-
-checkUnnamed2665(core.List<api.InappproductsBatchRequestEntry> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkInappproductsBatchRequestEntry(o[0]);
- checkInappproductsBatchRequestEntry(o[1]);
-}
-
-core.int buildCounterInappproductsBatchRequest = 0;
-buildInappproductsBatchRequest() {
- var o = new api.InappproductsBatchRequest();
- buildCounterInappproductsBatchRequest++;
- if (buildCounterInappproductsBatchRequest < 3) {
- o.entrys = buildUnnamed2665();
- }
- buildCounterInappproductsBatchRequest--;
- return o;
-}
-
-checkInappproductsBatchRequest(api.InappproductsBatchRequest o) {
- buildCounterInappproductsBatchRequest++;
- if (buildCounterInappproductsBatchRequest < 3) {
- checkUnnamed2665(o.entrys);
- }
- buildCounterInappproductsBatchRequest--;
-}
-
-core.int buildCounterInappproductsBatchRequestEntry = 0;
-buildInappproductsBatchRequestEntry() {
- var o = new api.InappproductsBatchRequestEntry();
- buildCounterInappproductsBatchRequestEntry++;
- if (buildCounterInappproductsBatchRequestEntry < 3) {
- o.batchId = 42;
- o.inappproductsinsertrequest = buildInappproductsInsertRequest();
- o.inappproductsupdaterequest = buildInappproductsUpdateRequest();
- o.methodName = "foo";
- }
- buildCounterInappproductsBatchRequestEntry--;
- return o;
-}
-
-checkInappproductsBatchRequestEntry(api.InappproductsBatchRequestEntry o) {
- buildCounterInappproductsBatchRequestEntry++;
- if (buildCounterInappproductsBatchRequestEntry < 3) {
- unittest.expect(o.batchId, unittest.equals(42));
- checkInappproductsInsertRequest(o.inappproductsinsertrequest);
- checkInappproductsUpdateRequest(o.inappproductsupdaterequest);
- unittest.expect(o.methodName, unittest.equals('foo'));
- }
- buildCounterInappproductsBatchRequestEntry--;
-}
-
-buildUnnamed2666() {
- var o = new core.List<api.InappproductsBatchResponseEntry>();
- o.add(buildInappproductsBatchResponseEntry());
- o.add(buildInappproductsBatchResponseEntry());
- return o;
-}
-
-checkUnnamed2666(core.List<api.InappproductsBatchResponseEntry> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkInappproductsBatchResponseEntry(o[0]);
- checkInappproductsBatchResponseEntry(o[1]);
-}
-
-core.int buildCounterInappproductsBatchResponse = 0;
-buildInappproductsBatchResponse() {
- var o = new api.InappproductsBatchResponse();
- buildCounterInappproductsBatchResponse++;
- if (buildCounterInappproductsBatchResponse < 3) {
- o.entrys = buildUnnamed2666();
- o.kind = "foo";
- }
- buildCounterInappproductsBatchResponse--;
- return o;
-}
-
-checkInappproductsBatchResponse(api.InappproductsBatchResponse o) {
- buildCounterInappproductsBatchResponse++;
- if (buildCounterInappproductsBatchResponse < 3) {
- checkUnnamed2666(o.entrys);
- unittest.expect(o.kind, unittest.equals('foo'));
- }
- buildCounterInappproductsBatchResponse--;
-}
-
-core.int buildCounterInappproductsBatchResponseEntry = 0;
-buildInappproductsBatchResponseEntry() {
- var o = new api.InappproductsBatchResponseEntry();
- buildCounterInappproductsBatchResponseEntry++;
- if (buildCounterInappproductsBatchResponseEntry < 3) {
- o.batchId = 42;
- o.inappproductsinsertresponse = buildInappproductsInsertResponse();
- o.inappproductsupdateresponse = buildInappproductsUpdateResponse();
- }
- buildCounterInappproductsBatchResponseEntry--;
- return o;
-}
-
-checkInappproductsBatchResponseEntry(api.InappproductsBatchResponseEntry o) {
- buildCounterInappproductsBatchResponseEntry++;
- if (buildCounterInappproductsBatchResponseEntry < 3) {
- unittest.expect(o.batchId, unittest.equals(42));
- checkInappproductsInsertResponse(o.inappproductsinsertresponse);
- checkInappproductsUpdateResponse(o.inappproductsupdateresponse);
- }
- buildCounterInappproductsBatchResponseEntry--;
-}
-
-core.int buildCounterInappproductsInsertRequest = 0;
-buildInappproductsInsertRequest() {
- var o = new api.InappproductsInsertRequest();
- buildCounterInappproductsInsertRequest++;
- if (buildCounterInappproductsInsertRequest < 3) {
- o.inappproduct = buildInAppProduct();
- }
- buildCounterInappproductsInsertRequest--;
- return o;
-}
-
-checkInappproductsInsertRequest(api.InappproductsInsertRequest o) {
- buildCounterInappproductsInsertRequest++;
- if (buildCounterInappproductsInsertRequest < 3) {
- checkInAppProduct(o.inappproduct);
- }
- buildCounterInappproductsInsertRequest--;
-}
-
-core.int buildCounterInappproductsInsertResponse = 0;
-buildInappproductsInsertResponse() {
- var o = new api.InappproductsInsertResponse();
- buildCounterInappproductsInsertResponse++;
- if (buildCounterInappproductsInsertResponse < 3) {
- o.inappproduct = buildInAppProduct();
- }
- buildCounterInappproductsInsertResponse--;
- return o;
-}
-
-checkInappproductsInsertResponse(api.InappproductsInsertResponse o) {
- buildCounterInappproductsInsertResponse++;
- if (buildCounterInappproductsInsertResponse < 3) {
- checkInAppProduct(o.inappproduct);
- }
- buildCounterInappproductsInsertResponse--;
-}
-
-buildUnnamed2667() {
+buildUnnamed2952() {
var o = new core.List<api.InAppProduct>();
o.add(buildInAppProduct());
o.add(buildInAppProduct());
return o;
}
-checkUnnamed2667(core.List<api.InAppProduct> o) {
+checkUnnamed2952(core.List<api.InAppProduct> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProduct(o[0]);
checkInAppProduct(o[1]);
@@ -968,7 +816,7 @@
var o = new api.InappproductsListResponse();
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- o.inappproduct = buildUnnamed2667();
+ o.inappproduct = buildUnnamed2952();
o.kind = "foo";
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
@@ -980,7 +828,7 @@
checkInappproductsListResponse(api.InappproductsListResponse o) {
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- checkUnnamed2667(o.inappproduct);
+ checkUnnamed2952(o.inappproduct);
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
@@ -988,44 +836,6 @@
buildCounterInappproductsListResponse--;
}
-core.int buildCounterInappproductsUpdateRequest = 0;
-buildInappproductsUpdateRequest() {
- var o = new api.InappproductsUpdateRequest();
- buildCounterInappproductsUpdateRequest++;
- if (buildCounterInappproductsUpdateRequest < 3) {
- o.inappproduct = buildInAppProduct();
- }
- buildCounterInappproductsUpdateRequest--;
- return o;
-}
-
-checkInappproductsUpdateRequest(api.InappproductsUpdateRequest o) {
- buildCounterInappproductsUpdateRequest++;
- if (buildCounterInappproductsUpdateRequest < 3) {
- checkInAppProduct(o.inappproduct);
- }
- buildCounterInappproductsUpdateRequest--;
-}
-
-core.int buildCounterInappproductsUpdateResponse = 0;
-buildInappproductsUpdateResponse() {
- var o = new api.InappproductsUpdateResponse();
- buildCounterInappproductsUpdateResponse++;
- if (buildCounterInappproductsUpdateResponse < 3) {
- o.inappproduct = buildInAppProduct();
- }
- buildCounterInappproductsUpdateResponse--;
- return o;
-}
-
-checkInappproductsUpdateResponse(api.InappproductsUpdateResponse o) {
- buildCounterInappproductsUpdateResponse++;
- if (buildCounterInappproductsUpdateResponse < 3) {
- checkInAppProduct(o.inappproduct);
- }
- buildCounterInappproductsUpdateResponse--;
-}
-
core.int buildCounterListing = 0;
buildListing() {
var o = new api.Listing();
@@ -1053,14 +863,14 @@
buildCounterListing--;
}
-buildUnnamed2668() {
+buildUnnamed2953() {
var o = new core.List<api.Listing>();
o.add(buildListing());
o.add(buildListing());
return o;
}
-checkUnnamed2668(core.List<api.Listing> o) {
+checkUnnamed2953(core.List<api.Listing> o) {
unittest.expect(o, unittest.hasLength(2));
checkListing(o[0]);
checkListing(o[1]);
@@ -1072,7 +882,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed2668();
+ o.listings = buildUnnamed2953();
}
buildCounterListingsListResponse--;
return o;
@@ -1082,7 +892,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2668(o.listings);
+ checkUnnamed2953(o.listings);
}
buildCounterListingsListResponse--;
}
@@ -1202,14 +1012,14 @@
buildCounterProrate--;
}
-buildUnnamed2669() {
+buildUnnamed2954() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed2669(core.List<api.Comment> o) {
+checkUnnamed2954(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1221,7 +1031,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
o.authorName = "foo";
- o.comments = buildUnnamed2669();
+ o.comments = buildUnnamed2954();
o.reviewId = "foo";
}
buildCounterReview--;
@@ -1232,7 +1042,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed2669(o.comments);
+ checkUnnamed2954(o.comments);
unittest.expect(o.reviewId, unittest.equals('foo'));
}
buildCounterReview--;
@@ -1259,14 +1069,14 @@
buildCounterReviewReplyResult--;
}
-buildUnnamed2670() {
+buildUnnamed2955() {
var o = new core.List<api.Review>();
o.add(buildReview());
o.add(buildReview());
return o;
}
-checkUnnamed2670(core.List<api.Review> o) {
+checkUnnamed2955(core.List<api.Review> o) {
unittest.expect(o, unittest.hasLength(2));
checkReview(o[0]);
checkReview(o[1]);
@@ -1278,7 +1088,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.reviews = buildUnnamed2670();
+ o.reviews = buildUnnamed2955();
o.tokenPagination = buildTokenPagination();
}
buildCounterReviewsListResponse--;
@@ -1289,7 +1099,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2670(o.reviews);
+ checkUnnamed2955(o.reviews);
checkTokenPagination(o.tokenPagination);
}
buildCounterReviewsListResponse--;
@@ -1333,14 +1143,14 @@
buildCounterReviewsReplyResponse--;
}
-buildUnnamed2671() {
+buildUnnamed2956() {
var o = new core.List<api.Prorate>();
o.add(buildProrate());
o.add(buildProrate());
return o;
}
-checkUnnamed2671(core.List<api.Prorate> o) {
+checkUnnamed2956(core.List<api.Prorate> o) {
unittest.expect(o, unittest.hasLength(2));
checkProrate(o[0]);
checkProrate(o[1]);
@@ -1352,7 +1162,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
o.end = buildMonthDay();
- o.prorations = buildUnnamed2671();
+ o.prorations = buildUnnamed2956();
o.start = buildMonthDay();
}
buildCounterSeason--;
@@ -1363,7 +1173,7 @@
buildCounterSeason++;
if (buildCounterSeason < 3) {
checkMonthDay(o.end);
- checkUnnamed2671(o.prorations);
+ checkUnnamed2956(o.prorations);
checkMonthDay(o.start);
}
buildCounterSeason--;
@@ -1471,27 +1281,27 @@
buildCounterSubscriptionPurchasesDeferResponse--;
}
-buildUnnamed2672() {
+buildUnnamed2957() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2672(core.List<core.String> o) {
+checkUnnamed2957(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'));
}
-buildUnnamed2673() {
+buildUnnamed2958() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2673(core.List<core.String> o) {
+checkUnnamed2958(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'));
@@ -1502,8 +1312,8 @@
var o = new api.Testers();
buildCounterTesters++;
if (buildCounterTesters < 3) {
- o.googleGroups = buildUnnamed2672();
- o.googlePlusCommunities = buildUnnamed2673();
+ o.googleGroups = buildUnnamed2957();
+ o.googlePlusCommunities = buildUnnamed2958();
}
buildCounterTesters--;
return o;
@@ -1512,8 +1322,8 @@
checkTesters(api.Testers o) {
buildCounterTesters++;
if (buildCounterTesters < 3) {
- checkUnnamed2672(o.googleGroups);
- checkUnnamed2673(o.googlePlusCommunities);
+ checkUnnamed2957(o.googleGroups);
+ checkUnnamed2958(o.googlePlusCommunities);
}
buildCounterTesters--;
}
@@ -1560,14 +1370,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed2674() {
+buildUnnamed2959() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2674(core.List<core.int> o) {
+checkUnnamed2959(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -1580,7 +1390,7 @@
if (buildCounterTrack < 3) {
o.track = "foo";
o.userFraction = 42.0;
- o.versionCodes = buildUnnamed2674();
+ o.versionCodes = buildUnnamed2959();
}
buildCounterTrack--;
return o;
@@ -1591,19 +1401,19 @@
if (buildCounterTrack < 3) {
unittest.expect(o.track, unittest.equals('foo'));
unittest.expect(o.userFraction, unittest.equals(42.0));
- checkUnnamed2674(o.versionCodes);
+ checkUnnamed2959(o.versionCodes);
}
buildCounterTrack--;
}
-buildUnnamed2675() {
+buildUnnamed2960() {
var o = new core.List<api.Track>();
o.add(buildTrack());
o.add(buildTrack());
return o;
}
-checkUnnamed2675(core.List<api.Track> o) {
+checkUnnamed2960(core.List<api.Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrack(o[0]);
checkTrack(o[1]);
@@ -1615,7 +1425,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
o.kind = "foo";
- o.tracks = buildUnnamed2675();
+ o.tracks = buildUnnamed2960();
}
buildCounterTracksListResponse--;
return o;
@@ -1625,7 +1435,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2675(o.tracks);
+ checkUnnamed2960(o.tracks);
}
buildCounterTracksListResponse--;
}
@@ -1696,14 +1506,14 @@
buildCounterVoidedPurchase--;
}
-buildUnnamed2676() {
+buildUnnamed2961() {
var o = new core.List<api.VoidedPurchase>();
o.add(buildVoidedPurchase());
o.add(buildVoidedPurchase());
return o;
}
-checkUnnamed2676(core.List<api.VoidedPurchase> o) {
+checkUnnamed2961(core.List<api.VoidedPurchase> o) {
unittest.expect(o, unittest.hasLength(2));
checkVoidedPurchase(o[0]);
checkVoidedPurchase(o[1]);
@@ -1716,7 +1526,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
- o.voidedPurchases = buildUnnamed2676();
+ o.voidedPurchases = buildUnnamed2961();
}
buildCounterVoidedPurchasesListResponse--;
return o;
@@ -1727,7 +1537,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
- checkUnnamed2676(o.voidedPurchases);
+ checkUnnamed2961(o.voidedPurchases);
}
buildCounterVoidedPurchasesListResponse--;
}
@@ -1941,54 +1751,6 @@
});
});
- unittest.group("obj-schema-InappproductsBatchRequest", () {
- unittest.test("to-json--from-json", () {
- var o = buildInappproductsBatchRequest();
- var od = new api.InappproductsBatchRequest.fromJson(o.toJson());
- checkInappproductsBatchRequest(od);
- });
- });
-
- unittest.group("obj-schema-InappproductsBatchRequestEntry", () {
- unittest.test("to-json--from-json", () {
- var o = buildInappproductsBatchRequestEntry();
- var od = new api.InappproductsBatchRequestEntry.fromJson(o.toJson());
- checkInappproductsBatchRequestEntry(od);
- });
- });
-
- unittest.group("obj-schema-InappproductsBatchResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildInappproductsBatchResponse();
- var od = new api.InappproductsBatchResponse.fromJson(o.toJson());
- checkInappproductsBatchResponse(od);
- });
- });
-
- unittest.group("obj-schema-InappproductsBatchResponseEntry", () {
- unittest.test("to-json--from-json", () {
- var o = buildInappproductsBatchResponseEntry();
- var od = new api.InappproductsBatchResponseEntry.fromJson(o.toJson());
- checkInappproductsBatchResponseEntry(od);
- });
- });
-
- unittest.group("obj-schema-InappproductsInsertRequest", () {
- unittest.test("to-json--from-json", () {
- var o = buildInappproductsInsertRequest();
- var od = new api.InappproductsInsertRequest.fromJson(o.toJson());
- checkInappproductsInsertRequest(od);
- });
- });
-
- unittest.group("obj-schema-InappproductsInsertResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildInappproductsInsertResponse();
- var od = new api.InappproductsInsertResponse.fromJson(o.toJson());
- checkInappproductsInsertResponse(od);
- });
- });
-
unittest.group("obj-schema-InappproductsListResponse", () {
unittest.test("to-json--from-json", () {
var o = buildInappproductsListResponse();
@@ -1997,22 +1759,6 @@
});
});
- unittest.group("obj-schema-InappproductsUpdateRequest", () {
- unittest.test("to-json--from-json", () {
- var o = buildInappproductsUpdateRequest();
- var od = new api.InappproductsUpdateRequest.fromJson(o.toJson());
- checkInappproductsUpdateRequest(od);
- });
- });
-
- unittest.group("obj-schema-InappproductsUpdateResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildInappproductsUpdateResponse();
- var od = new api.InappproductsUpdateResponse.fromJson(o.toJson());
- checkInappproductsUpdateResponse(od);
- });
- });
-
unittest.group("obj-schema-Listing", () {
unittest.test("to-json--from-json", () {
var o = buildListing();
@@ -4333,62 +4079,6 @@
});
unittest.group("resource-InappproductsResourceApi", () {
- unittest.test("method--batch", () {
- var mock = new HttpServerMock();
- api.InappproductsResourceApi res =
- new api.AndroidpublisherApi(mock).inappproducts;
- var arg_request = buildInappproductsBatchRequest();
- var arg_$fields = "foo";
- mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
- var obj = new api.InappproductsBatchRequest.fromJson(json);
- checkInappproductsBatchRequest(obj);
-
- var path = (req.url).path;
- var pathOffset = 0;
- var index;
- var subPart;
- unittest.expect(
- path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
- pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 33),
- unittest.equals("androidpublisher/v2/applications/"));
- pathOffset += 33;
- unittest.expect(path.substring(pathOffset, pathOffset + 19),
- unittest.equals("inappproducts/batch"));
- pathOffset += 19;
-
- var query = (req.url).query;
- var queryOffset = 0;
- var queryMap = {};
- addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
- parseBool(n) {
- if (n == "true") return true;
- if (n == "false") return false;
- if (n == null) return null;
- throw new core.ArgumentError("Invalid boolean: $n");
- }
-
- if (query.length > 0) {
- for (var part in query.split("&")) {
- var keyvalue = part.split("=");
- addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
- core.Uri.decodeQueryComponent(keyvalue[1]));
- }
- }
- unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
-
- var h = {
- "content-type": "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildInappproductsBatchResponse());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res.batch(arg_request, $fields: arg_$fields).then(
- unittest.expectAsync1(((api.InappproductsBatchResponse response) {
- checkInappproductsBatchResponse(response);
- })));
- });
-
unittest.test("method--delete", () {
var mock = new HttpServerMock();
api.InappproductsResourceApi res =
diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart
index 3dac2eb..a8717ec 100644
--- a/generated/googleapis/test/appengine/v1_test.dart
+++ b/generated/googleapis/test/appengine/v1_test.dart
@@ -96,14 +96,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed2809() {
+buildUnnamed3094() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed2809(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3094(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -119,7 +119,7 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed2809();
+ o.dispatchRules = buildUnnamed3094();
o.featureSettings = buildFeatureSettings();
o.gcrDomain = "foo";
o.iap = buildIdentityAwareProxy();
@@ -140,7 +140,7 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed2809(o.dispatchRules);
+ checkUnnamed3094(o.dispatchRules);
checkFeatureSettings(o.featureSettings);
unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
@@ -152,27 +152,27 @@
buildCounterApplication--;
}
-buildUnnamed2810() {
+buildUnnamed3095() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2810(core.List<core.String> o) {
+checkUnnamed3095(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'));
}
-buildUnnamed2811() {
+buildUnnamed3096() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2811(core.List<core.String> o) {
+checkUnnamed3096(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'));
@@ -186,11 +186,11 @@
o.certificateRawData = buildCertificateRawData();
o.displayName = "foo";
o.domainMappingsCount = 42;
- o.domainNames = buildUnnamed2810();
+ o.domainNames = buildUnnamed3095();
o.expireTime = "foo";
o.id = "foo";
o.name = "foo";
- o.visibleDomainMappings = buildUnnamed2811();
+ o.visibleDomainMappings = buildUnnamed3096();
}
buildCounterAuthorizedCertificate--;
return o;
@@ -202,11 +202,11 @@
checkCertificateRawData(o.certificateRawData);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domainMappingsCount, unittest.equals(42));
- checkUnnamed2810(o.domainNames);
+ checkUnnamed3095(o.domainNames);
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2811(o.visibleDomainMappings);
+ checkUnnamed3096(o.visibleDomainMappings);
}
buildCounterAuthorizedCertificate--;
}
@@ -294,14 +294,14 @@
buildCounterBasicScaling--;
}
-buildUnnamed2812() {
+buildUnnamed3097() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed2812(core.List<api.FirewallRule> o) {
+checkUnnamed3097(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -312,7 +312,7 @@
var o = new api.BatchUpdateIngressRulesRequest();
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- o.ingressRules = buildUnnamed2812();
+ o.ingressRules = buildUnnamed3097();
}
buildCounterBatchUpdateIngressRulesRequest--;
return o;
@@ -321,19 +321,19 @@
checkBatchUpdateIngressRulesRequest(api.BatchUpdateIngressRulesRequest o) {
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- checkUnnamed2812(o.ingressRules);
+ checkUnnamed3097(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesRequest--;
}
-buildUnnamed2813() {
+buildUnnamed3098() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed2813(core.List<api.FirewallRule> o) {
+checkUnnamed3098(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -344,7 +344,7 @@
var o = new api.BatchUpdateIngressRulesResponse();
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed2813();
+ o.ingressRules = buildUnnamed3098();
}
buildCounterBatchUpdateIngressRulesResponse--;
return o;
@@ -353,7 +353,7 @@
checkBatchUpdateIngressRulesResponse(api.BatchUpdateIngressRulesResponse o) {
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- checkUnnamed2813(o.ingressRules);
+ checkUnnamed3098(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesResponse--;
}
@@ -438,14 +438,14 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed2814() {
+buildUnnamed3099() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed2814(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3099(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -457,7 +457,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
o.container = buildContainerInfo();
- o.files = buildUnnamed2814();
+ o.files = buildUnnamed3099();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -468,7 +468,7 @@
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
checkContainerInfo(o.container);
- checkUnnamed2814(o.files);
+ checkUnnamed3099(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -499,14 +499,14 @@
buildCounterDiskUtilization--;
}
-buildUnnamed2815() {
+buildUnnamed3100() {
var o = new core.List<api.ResourceRecord>();
o.add(buildResourceRecord());
o.add(buildResourceRecord());
return o;
}
-checkUnnamed2815(core.List<api.ResourceRecord> o) {
+checkUnnamed3100(core.List<api.ResourceRecord> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecord(o[0]);
checkResourceRecord(o[1]);
@@ -519,7 +519,7 @@
if (buildCounterDomainMapping < 3) {
o.id = "foo";
o.name = "foo";
- o.resourceRecords = buildUnnamed2815();
+ o.resourceRecords = buildUnnamed3100();
o.sslSettings = buildSslSettings();
}
buildCounterDomainMapping--;
@@ -531,7 +531,7 @@
if (buildCounterDomainMapping < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2815(o.resourceRecords);
+ checkUnnamed3100(o.resourceRecords);
checkSslSettings(o.sslSettings);
}
buildCounterDomainMapping--;
@@ -789,14 +789,14 @@
buildCounterLibrary--;
}
-buildUnnamed2816() {
+buildUnnamed3101() {
var o = new core.List<api.AuthorizedCertificate>();
o.add(buildAuthorizedCertificate());
o.add(buildAuthorizedCertificate());
return o;
}
-checkUnnamed2816(core.List<api.AuthorizedCertificate> o) {
+checkUnnamed3101(core.List<api.AuthorizedCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedCertificate(o[0]);
checkAuthorizedCertificate(o[1]);
@@ -807,7 +807,7 @@
var o = new api.ListAuthorizedCertificatesResponse();
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- o.certificates = buildUnnamed2816();
+ o.certificates = buildUnnamed3101();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedCertificatesResponse--;
@@ -818,20 +818,20 @@
api.ListAuthorizedCertificatesResponse o) {
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- checkUnnamed2816(o.certificates);
+ checkUnnamed3101(o.certificates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedCertificatesResponse--;
}
-buildUnnamed2817() {
+buildUnnamed3102() {
var o = new core.List<api.AuthorizedDomain>();
o.add(buildAuthorizedDomain());
o.add(buildAuthorizedDomain());
return o;
}
-checkUnnamed2817(core.List<api.AuthorizedDomain> o) {
+checkUnnamed3102(core.List<api.AuthorizedDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedDomain(o[0]);
checkAuthorizedDomain(o[1]);
@@ -842,7 +842,7 @@
var o = new api.ListAuthorizedDomainsResponse();
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- o.domains = buildUnnamed2817();
+ o.domains = buildUnnamed3102();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedDomainsResponse--;
@@ -852,20 +852,20 @@
checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- checkUnnamed2817(o.domains);
+ checkUnnamed3102(o.domains);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedDomainsResponse--;
}
-buildUnnamed2818() {
+buildUnnamed3103() {
var o = new core.List<api.DomainMapping>();
o.add(buildDomainMapping());
o.add(buildDomainMapping());
return o;
}
-checkUnnamed2818(core.List<api.DomainMapping> o) {
+checkUnnamed3103(core.List<api.DomainMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainMapping(o[0]);
checkDomainMapping(o[1]);
@@ -876,7 +876,7 @@
var o = new api.ListDomainMappingsResponse();
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- o.domainMappings = buildUnnamed2818();
+ o.domainMappings = buildUnnamed3103();
o.nextPageToken = "foo";
}
buildCounterListDomainMappingsResponse--;
@@ -886,20 +886,20 @@
checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) {
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- checkUnnamed2818(o.domainMappings);
+ checkUnnamed3103(o.domainMappings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDomainMappingsResponse--;
}
-buildUnnamed2819() {
+buildUnnamed3104() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed2819(core.List<api.FirewallRule> o) {
+checkUnnamed3104(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -910,7 +910,7 @@
var o = new api.ListIngressRulesResponse();
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed2819();
+ o.ingressRules = buildUnnamed3104();
o.nextPageToken = "foo";
}
buildCounterListIngressRulesResponse--;
@@ -920,20 +920,20 @@
checkListIngressRulesResponse(api.ListIngressRulesResponse o) {
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- checkUnnamed2819(o.ingressRules);
+ checkUnnamed3104(o.ingressRules);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListIngressRulesResponse--;
}
-buildUnnamed2820() {
+buildUnnamed3105() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2820(core.List<api.Instance> o) {
+checkUnnamed3105(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -944,7 +944,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed2820();
+ o.instances = buildUnnamed3105();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -954,20 +954,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed2820(o.instances);
+ checkUnnamed3105(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed2821() {
+buildUnnamed3106() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2821(core.List<api.Location> o) {
+checkUnnamed3106(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -978,7 +978,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed2821();
+ o.locations = buildUnnamed3106();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -988,20 +988,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed2821(o.locations);
+ checkUnnamed3106(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed2822() {
+buildUnnamed3107() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2822(core.List<api.Operation> o) {
+checkUnnamed3107(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1013,7 +1013,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2822();
+ o.operations = buildUnnamed3107();
}
buildCounterListOperationsResponse--;
return o;
@@ -1023,19 +1023,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2822(o.operations);
+ checkUnnamed3107(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2823() {
+buildUnnamed3108() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed2823(core.List<api.Service> o) {
+checkUnnamed3108(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1047,7 +1047,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed2823();
+ o.services = buildUnnamed3108();
}
buildCounterListServicesResponse--;
return o;
@@ -1057,19 +1057,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2823(o.services);
+ checkUnnamed3108(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed2824() {
+buildUnnamed3109() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed2824(core.List<api.Version> o) {
+checkUnnamed3109(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -1081,7 +1081,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed2824();
+ o.versions = buildUnnamed3109();
}
buildCounterListVersionsResponse--;
return o;
@@ -1091,7 +1091,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2824(o.versions);
+ checkUnnamed3109(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -1127,20 +1127,20 @@
buildCounterLivenessCheck--;
}
-buildUnnamed2825() {
+buildUnnamed3110() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2825(core.Map<core.String, core.String> o) {
+checkUnnamed3110(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2826() {
+buildUnnamed3111() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1155,7 +1155,7 @@
return o;
}
-checkUnnamed2826(core.Map<core.String, core.Object> o) {
+checkUnnamed3111(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1174,9 +1174,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed2825();
+ o.labels = buildUnnamed3110();
o.locationId = "foo";
- o.metadata = buildUnnamed2826();
+ o.metadata = buildUnnamed3111();
o.name = "foo";
}
buildCounterLocation--;
@@ -1186,9 +1186,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed2825(o.labels);
+ checkUnnamed3110(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed2826(o.metadata);
+ checkUnnamed3111(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -1234,14 +1234,14 @@
buildCounterManualScaling--;
}
-buildUnnamed2827() {
+buildUnnamed3112() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2827(core.List<core.String> o) {
+checkUnnamed3112(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'));
@@ -1252,7 +1252,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed2827();
+ o.forwardedPorts = buildUnnamed3112();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -1264,7 +1264,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed2827(o.forwardedPorts);
+ checkUnnamed3112(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -1297,7 +1297,7 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed2828() {
+buildUnnamed3113() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1312,7 +1312,7 @@
return o;
}
-checkUnnamed2828(core.Map<core.String, core.Object> o) {
+checkUnnamed3113(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1326,7 +1326,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2829() {
+buildUnnamed3114() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1341,7 +1341,7 @@
return o;
}
-checkUnnamed2829(core.Map<core.String, core.Object> o) {
+checkUnnamed3114(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1362,9 +1362,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2828();
+ o.metadata = buildUnnamed3113();
o.name = "foo";
- o.response = buildUnnamed2829();
+ o.response = buildUnnamed3114();
}
buildCounterOperation--;
return o;
@@ -1375,9 +1375,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2828(o.metadata);
+ checkUnnamed3113(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2829(o.response);
+ checkUnnamed3114(o.response);
}
buildCounterOperation--;
}
@@ -1411,41 +1411,14 @@
buildCounterOperationMetadata--;
}
-core.int buildCounterOperationMetadataExperimental = 0;
-buildOperationMetadataExperimental() {
- var o = new api.OperationMetadataExperimental();
- buildCounterOperationMetadataExperimental++;
- if (buildCounterOperationMetadataExperimental < 3) {
- o.endTime = "foo";
- o.insertTime = "foo";
- o.method = "foo";
- o.target = "foo";
- o.user = "foo";
- }
- buildCounterOperationMetadataExperimental--;
- return o;
-}
-
-checkOperationMetadataExperimental(api.OperationMetadataExperimental o) {
- buildCounterOperationMetadataExperimental++;
- if (buildCounterOperationMetadataExperimental < 3) {
- unittest.expect(o.endTime, unittest.equals('foo'));
- unittest.expect(o.insertTime, unittest.equals('foo'));
- unittest.expect(o.method, unittest.equals('foo'));
- unittest.expect(o.target, unittest.equals('foo'));
- unittest.expect(o.user, unittest.equals('foo'));
- }
- buildCounterOperationMetadataExperimental--;
-}
-
-buildUnnamed2830() {
+buildUnnamed3115() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2830(core.List<core.String> o) {
+checkUnnamed3115(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'));
@@ -1462,7 +1435,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2830();
+ o.warning = buildUnnamed3115();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1477,19 +1450,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2830(o.warning);
+ checkUnnamed3115(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed2831() {
+buildUnnamed3116() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2831(core.List<core.String> o) {
+checkUnnamed3116(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'));
@@ -1506,7 +1479,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2831();
+ o.warning = buildUnnamed3116();
}
buildCounterOperationMetadataV1Alpha--;
return o;
@@ -1521,19 +1494,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2831(o.warning);
+ checkUnnamed3116(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed2832() {
+buildUnnamed3117() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2832(core.List<core.String> o) {
+checkUnnamed3117(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'));
@@ -1550,7 +1523,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed2832();
+ o.warning = buildUnnamed3117();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1565,7 +1538,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2832(o.warning);
+ checkUnnamed3117(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1687,14 +1660,14 @@
buildCounterResourceRecord--;
}
-buildUnnamed2833() {
+buildUnnamed3118() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed2833(core.List<api.Volume> o) {
+checkUnnamed3118(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1708,7 +1681,7 @@
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed2833();
+ o.volumes = buildUnnamed3118();
}
buildCounterResources--;
return o;
@@ -1720,7 +1693,7 @@
unittest.expect(o.cpu, unittest.equals(42.0));
unittest.expect(o.diskGb, unittest.equals(42.0));
unittest.expect(o.memoryGb, unittest.equals(42.0));
- checkUnnamed2833(o.volumes);
+ checkUnnamed3118(o.volumes);
}
buildCounterResources--;
}
@@ -1786,14 +1759,14 @@
buildCounterSslSettings--;
}
-buildUnnamed2834() {
+buildUnnamed3119() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2834(core.Map<core.String, core.String> o) {
+checkUnnamed3119(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1806,7 +1779,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed2834();
+ o.httpHeaders = buildUnnamed3119();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1821,7 +1794,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed2834(o.httpHeaders);
+ checkUnnamed3119(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1830,7 +1803,7 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed2835() {
+buildUnnamed3120() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1845,7 +1818,7 @@
return o;
}
-checkUnnamed2835(core.Map<core.String, core.Object> o) {
+checkUnnamed3120(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1859,17 +1832,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2836() {
+buildUnnamed3121() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2835());
- o.add(buildUnnamed2835());
+ o.add(buildUnnamed3120());
+ o.add(buildUnnamed3120());
return o;
}
-checkUnnamed2836(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3121(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2835(o[0]);
- checkUnnamed2835(o[1]);
+ checkUnnamed3120(o[0]);
+ checkUnnamed3120(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1878,7 +1851,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2836();
+ o.details = buildUnnamed3121();
o.message = "foo";
}
buildCounterStatus--;
@@ -1889,20 +1862,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2836(o.details);
+ checkUnnamed3121(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2837() {
+buildUnnamed3122() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed2837(core.Map<core.String, core.double> o) {
+checkUnnamed3122(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -1913,7 +1886,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed2837();
+ o.allocations = buildUnnamed3122();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1923,7 +1896,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed2837(o.allocations);
+ checkUnnamed3122(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1985,79 +1958,79 @@
buildCounterUrlMap--;
}
-buildUnnamed2838() {
+buildUnnamed3123() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2838(core.Map<core.String, core.String> o) {
+checkUnnamed3123(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2839() {
+buildUnnamed3124() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2839(core.Map<core.String, core.String> o) {
+checkUnnamed3124(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2840() {
+buildUnnamed3125() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed2840(core.List<api.ErrorHandler> o) {
+checkUnnamed3125(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed2841() {
+buildUnnamed3126() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2841(core.List<api.UrlMap> o) {
+checkUnnamed3126(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed2842() {
+buildUnnamed3127() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2842(core.List<core.String> o) {
+checkUnnamed3127(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'));
}
-buildUnnamed2843() {
+buildUnnamed3128() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed2843(core.List<api.Library> o) {
+checkUnnamed3128(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -2071,7 +2044,7 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed2838();
+ o.betaSettings = buildUnnamed3123();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -2079,14 +2052,14 @@
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed2839();
- o.errorHandlers = buildUnnamed2840();
- o.handlers = buildUnnamed2841();
+ o.envVariables = buildUnnamed3124();
+ o.errorHandlers = buildUnnamed3125();
+ o.handlers = buildUnnamed3126();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed2842();
+ o.inboundServices = buildUnnamed3127();
o.instanceClass = "foo";
- o.libraries = buildUnnamed2843();
+ o.libraries = buildUnnamed3128();
o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
@@ -2111,7 +2084,7 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed2838(o.betaSettings);
+ checkUnnamed3123(o.betaSettings);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -2119,14 +2092,14 @@
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed2839(o.envVariables);
- checkUnnamed2840(o.errorHandlers);
- checkUnnamed2841(o.handlers);
+ checkUnnamed3124(o.envVariables);
+ checkUnnamed3125(o.errorHandlers);
+ checkUnnamed3126(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2842(o.inboundServices);
+ checkUnnamed3127(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed2843(o.libraries);
+ checkUnnamed3128(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -2533,14 +2506,6 @@
});
});
- unittest.group("obj-schema-OperationMetadataExperimental", () {
- unittest.test("to-json--from-json", () {
- var o = buildOperationMetadataExperimental();
- var od = new api.OperationMetadataExperimental.fromJson(o.toJson());
- checkOperationMetadataExperimental(od);
- });
- });
-
unittest.group("obj-schema-OperationMetadataV1", () {
unittest.test("to-json--from-json", () {
var o = buildOperationMetadataV1();
@@ -3137,9 +3102,9 @@
api.AppsAuthorizedCertificatesResourceApi res =
new api.AppengineApi(mock).apps.authorizedCertificates;
var arg_appsId = "foo";
- var arg_view = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3180,11 +3145,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3196,9 +3161,9 @@
}), true);
res
.list(arg_appsId,
- view: arg_view,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListAuthorizedCertificatesResponse response) {
@@ -3359,6 +3324,7 @@
new api.AppengineApi(mock).apps.domainMappings;
var arg_request = buildDomainMapping();
var arg_appsId = "foo";
+ var arg_overrideStrategy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.DomainMapping.fromJson(json);
@@ -3402,6 +3368,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["overrideStrategy"].first,
+ unittest.equals(arg_overrideStrategy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3411,7 +3379,8 @@
return new async.Future.value(stringResponse(200, h, resp));
}), true);
res
- .create(arg_request, arg_appsId, $fields: arg_$fields)
+ .create(arg_request, arg_appsId,
+ overrideStrategy: arg_overrideStrategy, $fields: arg_$fields)
.then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
@@ -3950,9 +3919,9 @@
api.AppsFirewallIngressRulesResourceApi res =
new api.AppengineApi(mock).apps.firewall.ingressRules;
var arg_appsId = "foo";
+ var arg_matchingAddress = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_matchingAddress = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3993,12 +3962,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["matchingAddress"].first,
+ unittest.equals(arg_matchingAddress));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["matchingAddress"].first,
- unittest.equals(arg_matchingAddress));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4009,9 +3978,9 @@
}), true);
res
.list(arg_appsId,
+ matchingAddress: arg_matchingAddress,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- matchingAddress: arg_matchingAddress,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListIngressRulesResponse response) {
checkListIngressRulesResponse(response);
diff --git a/generated/googleapis/test/appsactivity/v1_test.dart b/generated/googleapis/test/appsactivity/v1_test.dart
index b832764..8b5ef21 100644
--- a/generated/googleapis/test/appsactivity/v1_test.dart
+++ b/generated/googleapis/test/appsactivity/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1130() {
+buildUnnamed1137() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1130(core.List<api.Event> o) {
+checkUnnamed1137(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -69,7 +69,7 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
o.combinedEvent = buildEvent();
- o.singleEvents = buildUnnamed1130();
+ o.singleEvents = buildUnnamed1137();
}
buildCounterActivity--;
return o;
@@ -79,32 +79,32 @@
buildCounterActivity++;
if (buildCounterActivity < 3) {
checkEvent(o.combinedEvent);
- checkUnnamed1130(o.singleEvents);
+ checkUnnamed1137(o.singleEvents);
}
buildCounterActivity--;
}
-buildUnnamed1131() {
+buildUnnamed1138() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1131(core.List<core.String> o) {
+checkUnnamed1138(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'));
}
-buildUnnamed1132() {
+buildUnnamed1139() {
var o = new core.List<api.PermissionChange>();
o.add(buildPermissionChange());
o.add(buildPermissionChange());
return o;
}
-checkUnnamed1132(core.List<api.PermissionChange> o) {
+checkUnnamed1139(core.List<api.PermissionChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionChange(o[0]);
checkPermissionChange(o[1]);
@@ -115,11 +115,11 @@
var o = new api.Event();
buildCounterEvent++;
if (buildCounterEvent < 3) {
- o.additionalEventTypes = buildUnnamed1131();
+ o.additionalEventTypes = buildUnnamed1138();
o.eventTimeMillis = "foo";
o.fromUserDeletion = true;
o.move = buildMove();
- o.permissionChanges = buildUnnamed1132();
+ o.permissionChanges = buildUnnamed1139();
o.primaryEventType = "foo";
o.rename = buildRename();
o.target = buildTarget();
@@ -132,11 +132,11 @@
checkEvent(api.Event o) {
buildCounterEvent++;
if (buildCounterEvent < 3) {
- checkUnnamed1131(o.additionalEventTypes);
+ checkUnnamed1138(o.additionalEventTypes);
unittest.expect(o.eventTimeMillis, unittest.equals('foo'));
unittest.expect(o.fromUserDeletion, unittest.isTrue);
checkMove(o.move);
- checkUnnamed1132(o.permissionChanges);
+ checkUnnamed1139(o.permissionChanges);
unittest.expect(o.primaryEventType, unittest.equals('foo'));
checkRename(o.rename);
checkTarget(o.target);
@@ -145,14 +145,14 @@
buildCounterEvent--;
}
-buildUnnamed1133() {
+buildUnnamed1140() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed1133(core.List<api.Activity> o) {
+checkUnnamed1140(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -163,7 +163,7 @@
var o = new api.ListActivitiesResponse();
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- o.activities = buildUnnamed1133();
+ o.activities = buildUnnamed1140();
o.nextPageToken = "foo";
}
buildCounterListActivitiesResponse--;
@@ -173,33 +173,33 @@
checkListActivitiesResponse(api.ListActivitiesResponse o) {
buildCounterListActivitiesResponse++;
if (buildCounterListActivitiesResponse < 3) {
- checkUnnamed1133(o.activities);
+ checkUnnamed1140(o.activities);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListActivitiesResponse--;
}
-buildUnnamed1134() {
+buildUnnamed1141() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed1134(core.List<api.Parent> o) {
+checkUnnamed1141(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
}
-buildUnnamed1135() {
+buildUnnamed1142() {
var o = new core.List<api.Parent>();
o.add(buildParent());
o.add(buildParent());
return o;
}
-checkUnnamed1135(core.List<api.Parent> o) {
+checkUnnamed1142(core.List<api.Parent> o) {
unittest.expect(o, unittest.hasLength(2));
checkParent(o[0]);
checkParent(o[1]);
@@ -210,8 +210,8 @@
var o = new api.Move();
buildCounterMove++;
if (buildCounterMove < 3) {
- o.addedParents = buildUnnamed1134();
- o.removedParents = buildUnnamed1135();
+ o.addedParents = buildUnnamed1141();
+ o.removedParents = buildUnnamed1142();
}
buildCounterMove--;
return o;
@@ -220,8 +220,8 @@
checkMove(api.Move o) {
buildCounterMove++;
if (buildCounterMove < 3) {
- checkUnnamed1134(o.addedParents);
- checkUnnamed1135(o.removedParents);
+ checkUnnamed1141(o.addedParents);
+ checkUnnamed1142(o.removedParents);
}
buildCounterMove--;
}
@@ -278,27 +278,27 @@
buildCounterPermission--;
}
-buildUnnamed1136() {
+buildUnnamed1143() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1136(core.List<api.Permission> o) {
+checkUnnamed1143(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1137() {
+buildUnnamed1144() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1137(core.List<api.Permission> o) {
+checkUnnamed1144(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -309,8 +309,8 @@
var o = new api.PermissionChange();
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- o.addedPermissions = buildUnnamed1136();
- o.removedPermissions = buildUnnamed1137();
+ o.addedPermissions = buildUnnamed1143();
+ o.removedPermissions = buildUnnamed1144();
}
buildCounterPermissionChange--;
return o;
@@ -319,8 +319,8 @@
checkPermissionChange(api.PermissionChange o) {
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- checkUnnamed1136(o.addedPermissions);
- checkUnnamed1137(o.removedPermissions);
+ checkUnnamed1143(o.addedPermissions);
+ checkUnnamed1144(o.removedPermissions);
}
buildCounterPermissionChange--;
}
diff --git a/generated/googleapis/test/appstate/v1_test.dart b/generated/googleapis/test/appstate/v1_test.dart
index 819ad97..5df3572 100644
--- a/generated/googleapis/test/appstate/v1_test.dart
+++ b/generated/googleapis/test/appstate/v1_test.dart
@@ -75,14 +75,14 @@
buildCounterGetResponse--;
}
-buildUnnamed2643() {
+buildUnnamed2649() {
var o = new core.List<api.GetResponse>();
o.add(buildGetResponse());
o.add(buildGetResponse());
return o;
}
-checkUnnamed2643(core.List<api.GetResponse> o) {
+checkUnnamed2649(core.List<api.GetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGetResponse(o[0]);
checkGetResponse(o[1]);
@@ -93,7 +93,7 @@
var o = new api.ListResponse();
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- o.items = buildUnnamed2643();
+ o.items = buildUnnamed2649();
o.kind = "foo";
o.maximumKeyCount = 42;
}
@@ -104,7 +104,7 @@
checkListResponse(api.ListResponse o) {
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
- checkUnnamed2643(o.items);
+ checkUnnamed2649(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.maximumKeyCount, unittest.equals(42));
}
diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart
index ac3ebe0..77c5991 100644
--- a/generated/googleapis/test/bigquery/v2_test.dart
+++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -79,14 +79,14 @@
buildCounterBigtableColumn--;
}
-buildUnnamed2883() {
+buildUnnamed3168() {
var o = new core.List<api.BigtableColumn>();
o.add(buildBigtableColumn());
o.add(buildBigtableColumn());
return o;
}
-checkUnnamed2883(core.List<api.BigtableColumn> o) {
+checkUnnamed3168(core.List<api.BigtableColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumn(o[0]);
checkBigtableColumn(o[1]);
@@ -97,7 +97,7 @@
var o = new api.BigtableColumnFamily();
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- o.columns = buildUnnamed2883();
+ o.columns = buildUnnamed3168();
o.encoding = "foo";
o.familyId = "foo";
o.onlyReadLatest = true;
@@ -110,7 +110,7 @@
checkBigtableColumnFamily(api.BigtableColumnFamily o) {
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- checkUnnamed2883(o.columns);
+ checkUnnamed3168(o.columns);
unittest.expect(o.encoding, unittest.equals('foo'));
unittest.expect(o.familyId, unittest.equals('foo'));
unittest.expect(o.onlyReadLatest, unittest.isTrue);
@@ -119,14 +119,14 @@
buildCounterBigtableColumnFamily--;
}
-buildUnnamed2884() {
+buildUnnamed3169() {
var o = new core.List<api.BigtableColumnFamily>();
o.add(buildBigtableColumnFamily());
o.add(buildBigtableColumnFamily());
return o;
}
-checkUnnamed2884(core.List<api.BigtableColumnFamily> o) {
+checkUnnamed3169(core.List<api.BigtableColumnFamily> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumnFamily(o[0]);
checkBigtableColumnFamily(o[1]);
@@ -137,7 +137,7 @@
var o = new api.BigtableOptions();
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- o.columnFamilies = buildUnnamed2884();
+ o.columnFamilies = buildUnnamed3169();
o.ignoreUnspecifiedColumnFamilies = true;
o.readRowkeyAsString = true;
}
@@ -148,7 +148,7 @@
checkBigtableOptions(api.BigtableOptions o) {
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- checkUnnamed2884(o.columnFamilies);
+ checkUnnamed3169(o.columnFamilies);
unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue);
unittest.expect(o.readRowkeyAsString, unittest.isTrue);
}
@@ -213,27 +213,27 @@
buildCounterDatasetAccess--;
}
-buildUnnamed2885() {
+buildUnnamed3170() {
var o = new core.List<api.DatasetAccess>();
o.add(buildDatasetAccess());
o.add(buildDatasetAccess());
return o;
}
-checkUnnamed2885(core.List<api.DatasetAccess> o) {
+checkUnnamed3170(core.List<api.DatasetAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetAccess(o[0]);
checkDatasetAccess(o[1]);
}
-buildUnnamed2886() {
+buildUnnamed3171() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2886(core.Map<core.String, core.String> o) {
+checkUnnamed3171(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -244,7 +244,7 @@
var o = new api.Dataset();
buildCounterDataset++;
if (buildCounterDataset < 3) {
- o.access = buildUnnamed2885();
+ o.access = buildUnnamed3170();
o.creationTime = "foo";
o.datasetReference = buildDatasetReference();
o.defaultTableExpirationMs = "foo";
@@ -253,7 +253,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2886();
+ o.labels = buildUnnamed3171();
o.lastModifiedTime = "foo";
o.location = "foo";
o.selfLink = "foo";
@@ -265,7 +265,7 @@
checkDataset(api.Dataset o) {
buildCounterDataset++;
if (buildCounterDataset < 3) {
- checkUnnamed2885(o.access);
+ checkUnnamed3170(o.access);
unittest.expect(o.creationTime, unittest.equals('foo'));
checkDatasetReference(o.datasetReference);
unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo'));
@@ -274,7 +274,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2886(o.labels);
+ checkUnnamed3171(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -282,14 +282,14 @@
buildCounterDataset--;
}
-buildUnnamed2887() {
+buildUnnamed3172() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2887(core.Map<core.String, core.String> o) {
+checkUnnamed3172(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -304,7 +304,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2887();
+ o.labels = buildUnnamed3172();
}
buildCounterDatasetListDatasets--;
return o;
@@ -317,19 +317,19 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2887(o.labels);
+ checkUnnamed3172(o.labels);
}
buildCounterDatasetListDatasets--;
}
-buildUnnamed2888() {
+buildUnnamed3173() {
var o = new core.List<api.DatasetListDatasets>();
o.add(buildDatasetListDatasets());
o.add(buildDatasetListDatasets());
return o;
}
-checkUnnamed2888(core.List<api.DatasetListDatasets> o) {
+checkUnnamed3173(core.List<api.DatasetListDatasets> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetListDatasets(o[0]);
checkDatasetListDatasets(o[1]);
@@ -340,7 +340,7 @@
var o = new api.DatasetList();
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- o.datasets = buildUnnamed2888();
+ o.datasets = buildUnnamed3173();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -352,7 +352,7 @@
checkDatasetList(api.DatasetList o) {
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- checkUnnamed2888(o.datasets);
+ checkUnnamed3173(o.datasets);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -425,14 +425,14 @@
buildCounterErrorProto--;
}
-buildUnnamed2889() {
+buildUnnamed3174() {
var o = new core.List<api.ExplainQueryStep>();
o.add(buildExplainQueryStep());
o.add(buildExplainQueryStep());
return o;
}
-checkUnnamed2889(core.List<api.ExplainQueryStep> o) {
+checkUnnamed3174(core.List<api.ExplainQueryStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStep(o[0]);
checkExplainQueryStep(o[1]);
@@ -458,7 +458,7 @@
o.shuffleOutputBytes = "foo";
o.shuffleOutputBytesSpilled = "foo";
o.status = "foo";
- o.steps = buildUnnamed2889();
+ o.steps = buildUnnamed3174();
o.waitMsAvg = "foo";
o.waitMsMax = "foo";
o.waitRatioAvg = 42.0;
@@ -490,7 +490,7 @@
unittest.expect(o.shuffleOutputBytes, unittest.equals('foo'));
unittest.expect(o.shuffleOutputBytesSpilled, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2889(o.steps);
+ checkUnnamed3174(o.steps);
unittest.expect(o.waitMsAvg, unittest.equals('foo'));
unittest.expect(o.waitMsMax, unittest.equals('foo'));
unittest.expect(o.waitRatioAvg, unittest.equals(42.0));
@@ -503,14 +503,14 @@
buildCounterExplainQueryStage--;
}
-buildUnnamed2890() {
+buildUnnamed3175() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2890(core.List<core.String> o) {
+checkUnnamed3175(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'));
@@ -522,7 +522,7 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
o.kind = "foo";
- o.substeps = buildUnnamed2890();
+ o.substeps = buildUnnamed3175();
}
buildCounterExplainQueryStep--;
return o;
@@ -532,19 +532,19 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2890(o.substeps);
+ checkUnnamed3175(o.substeps);
}
buildCounterExplainQueryStep--;
}
-buildUnnamed2891() {
+buildUnnamed3176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2891(core.List<core.String> o) {
+checkUnnamed3176(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'));
@@ -564,7 +564,7 @@
o.maxBadRecords = 42;
o.schema = buildTableSchema();
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed2891();
+ o.sourceUris = buildUnnamed3176();
}
buildCounterExternalDataConfiguration--;
return o;
@@ -582,32 +582,32 @@
unittest.expect(o.maxBadRecords, unittest.equals(42));
checkTableSchema(o.schema);
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed2891(o.sourceUris);
+ checkUnnamed3176(o.sourceUris);
}
buildCounterExternalDataConfiguration--;
}
-buildUnnamed2892() {
+buildUnnamed3177() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2892(core.List<api.ErrorProto> o) {
+checkUnnamed3177(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed2893() {
+buildUnnamed3178() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed2893(core.List<api.TableRow> o) {
+checkUnnamed3178(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -619,14 +619,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed2892();
+ o.errors = buildUnnamed3177();
o.etag = "foo";
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed2893();
+ o.rows = buildUnnamed3178();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -639,14 +639,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed2892(o.errors);
+ checkUnnamed3177(o.errors);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2893(o.rows);
+ checkUnnamed3178(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -750,14 +750,14 @@
buildCounterJobCancelResponse--;
}
-buildUnnamed2894() {
+buildUnnamed3179() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2894(core.Map<core.String, core.String> o) {
+checkUnnamed3179(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -771,7 +771,7 @@
o.copy = buildJobConfigurationTableCopy();
o.dryRun = true;
o.extract = buildJobConfigurationExtract();
- o.labels = buildUnnamed2894();
+ o.labels = buildUnnamed3179();
o.load = buildJobConfigurationLoad();
o.query = buildJobConfigurationQuery();
}
@@ -785,21 +785,21 @@
checkJobConfigurationTableCopy(o.copy);
unittest.expect(o.dryRun, unittest.isTrue);
checkJobConfigurationExtract(o.extract);
- checkUnnamed2894(o.labels);
+ checkUnnamed3179(o.labels);
checkJobConfigurationLoad(o.load);
checkJobConfigurationQuery(o.query);
}
buildCounterJobConfiguration--;
}
-buildUnnamed2895() {
+buildUnnamed3180() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2895(core.List<core.String> o) {
+checkUnnamed3180(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'));
@@ -813,7 +813,7 @@
o.compression = "foo";
o.destinationFormat = "foo";
o.destinationUri = "foo";
- o.destinationUris = buildUnnamed2895();
+ o.destinationUris = buildUnnamed3180();
o.fieldDelimiter = "foo";
o.printHeader = true;
o.sourceTable = buildTableReference();
@@ -828,7 +828,7 @@
unittest.expect(o.compression, unittest.equals('foo'));
unittest.expect(o.destinationFormat, unittest.equals('foo'));
unittest.expect(o.destinationUri, unittest.equals('foo'));
- checkUnnamed2895(o.destinationUris);
+ checkUnnamed3180(o.destinationUris);
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.printHeader, unittest.isTrue);
checkTableReference(o.sourceTable);
@@ -836,40 +836,40 @@
buildCounterJobConfigurationExtract--;
}
-buildUnnamed2896() {
+buildUnnamed3181() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2896(core.List<core.String> o) {
+checkUnnamed3181(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'));
}
-buildUnnamed2897() {
+buildUnnamed3182() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2897(core.List<core.String> o) {
+checkUnnamed3182(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'));
}
-buildUnnamed2898() {
+buildUnnamed3183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2898(core.List<core.String> o) {
+checkUnnamed3183(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'));
@@ -891,15 +891,15 @@
o.ignoreUnknownValues = true;
o.maxBadRecords = 42;
o.nullMarker = "foo";
- o.projectionFields = buildUnnamed2896();
+ o.projectionFields = buildUnnamed3181();
o.quote = "foo";
o.schema = buildTableSchema();
o.schemaInline = "foo";
o.schemaInlineFormat = "foo";
- o.schemaUpdateOptions = buildUnnamed2897();
+ o.schemaUpdateOptions = buildUnnamed3182();
o.skipLeadingRows = 42;
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed2898();
+ o.sourceUris = buildUnnamed3183();
o.timePartitioning = buildTimePartitioning();
o.writeDisposition = "foo";
}
@@ -921,68 +921,68 @@
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.maxBadRecords, unittest.equals(42));
unittest.expect(o.nullMarker, unittest.equals('foo'));
- checkUnnamed2896(o.projectionFields);
+ checkUnnamed3181(o.projectionFields);
unittest.expect(o.quote, unittest.equals('foo'));
checkTableSchema(o.schema);
unittest.expect(o.schemaInline, unittest.equals('foo'));
unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
- checkUnnamed2897(o.schemaUpdateOptions);
+ checkUnnamed3182(o.schemaUpdateOptions);
unittest.expect(o.skipLeadingRows, unittest.equals(42));
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed2898(o.sourceUris);
+ checkUnnamed3183(o.sourceUris);
checkTimePartitioning(o.timePartitioning);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLoad--;
}
-buildUnnamed2899() {
+buildUnnamed3184() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed2899(core.List<api.QueryParameter> o) {
+checkUnnamed3184(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
}
-buildUnnamed2900() {
+buildUnnamed3185() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2900(core.List<core.String> o) {
+checkUnnamed3185(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'));
}
-buildUnnamed2901() {
+buildUnnamed3186() {
var o = new core.Map<core.String, api.ExternalDataConfiguration>();
o["x"] = buildExternalDataConfiguration();
o["y"] = buildExternalDataConfiguration();
return o;
}
-checkUnnamed2901(core.Map<core.String, api.ExternalDataConfiguration> o) {
+checkUnnamed3186(core.Map<core.String, api.ExternalDataConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalDataConfiguration(o["x"]);
checkExternalDataConfiguration(o["y"]);
}
-buildUnnamed2902() {
+buildUnnamed3187() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed2902(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3187(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -1005,13 +1005,13 @@
o.preserveNulls = true;
o.priority = "foo";
o.query = "foo";
- o.queryParameters = buildUnnamed2899();
- o.schemaUpdateOptions = buildUnnamed2900();
- o.tableDefinitions = buildUnnamed2901();
+ o.queryParameters = buildUnnamed3184();
+ o.schemaUpdateOptions = buildUnnamed3185();
+ o.tableDefinitions = buildUnnamed3186();
o.timePartitioning = buildTimePartitioning();
o.useLegacySql = true;
o.useQueryCache = true;
- o.userDefinedFunctionResources = buildUnnamed2902();
+ o.userDefinedFunctionResources = buildUnnamed3187();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationQuery--;
@@ -1033,26 +1033,26 @@
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.priority, unittest.equals('foo'));
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed2899(o.queryParameters);
- checkUnnamed2900(o.schemaUpdateOptions);
- checkUnnamed2901(o.tableDefinitions);
+ checkUnnamed3184(o.queryParameters);
+ checkUnnamed3185(o.schemaUpdateOptions);
+ checkUnnamed3186(o.tableDefinitions);
checkTimePartitioning(o.timePartitioning);
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
- checkUnnamed2902(o.userDefinedFunctionResources);
+ checkUnnamed3187(o.userDefinedFunctionResources);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationQuery--;
}
-buildUnnamed2903() {
+buildUnnamed3188() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed2903(core.List<api.TableReference> o) {
+checkUnnamed3188(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -1067,7 +1067,7 @@
o.destinationEncryptionConfiguration = buildEncryptionConfiguration();
o.destinationTable = buildTableReference();
o.sourceTable = buildTableReference();
- o.sourceTables = buildUnnamed2903();
+ o.sourceTables = buildUnnamed3188();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationTableCopy--;
@@ -1081,7 +1081,7 @@
checkEncryptionConfiguration(o.destinationEncryptionConfiguration);
checkTableReference(o.destinationTable);
checkTableReference(o.sourceTable);
- checkUnnamed2903(o.sourceTables);
+ checkUnnamed3188(o.sourceTables);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationTableCopy--;
@@ -1122,14 +1122,14 @@
buildCounterJobListJobs--;
}
-buildUnnamed2904() {
+buildUnnamed3189() {
var o = new core.List<api.JobListJobs>();
o.add(buildJobListJobs());
o.add(buildJobListJobs());
return o;
}
-checkUnnamed2904(core.List<api.JobListJobs> o) {
+checkUnnamed3189(core.List<api.JobListJobs> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobListJobs(o[0]);
checkJobListJobs(o[1]);
@@ -1141,7 +1141,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
o.etag = "foo";
- o.jobs = buildUnnamed2904();
+ o.jobs = buildUnnamed3189();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1153,7 +1153,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2904(o.jobs);
+ checkUnnamed3189(o.jobs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1212,40 +1212,40 @@
buildCounterJobStatistics--;
}
-buildUnnamed2905() {
+buildUnnamed3190() {
var o = new core.List<api.ExplainQueryStage>();
o.add(buildExplainQueryStage());
o.add(buildExplainQueryStage());
return o;
}
-checkUnnamed2905(core.List<api.ExplainQueryStage> o) {
+checkUnnamed3190(core.List<api.ExplainQueryStage> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStage(o[0]);
checkExplainQueryStage(o[1]);
}
-buildUnnamed2906() {
+buildUnnamed3191() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed2906(core.List<api.TableReference> o) {
+checkUnnamed3191(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
}
-buildUnnamed2907() {
+buildUnnamed3192() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed2907(core.List<api.QueryParameter> o) {
+checkUnnamed3192(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -1258,15 +1258,17 @@
if (buildCounterJobStatistics2 < 3) {
o.billingTier = 42;
o.cacheHit = true;
+ o.ddlOperationPerformed = "foo";
+ o.ddlTargetTable = buildTableReference();
o.numDmlAffectedRows = "foo";
- o.queryPlan = buildUnnamed2905();
- o.referencedTables = buildUnnamed2906();
+ o.queryPlan = buildUnnamed3190();
+ o.referencedTables = buildUnnamed3191();
o.schema = buildTableSchema();
o.statementType = "foo";
o.totalBytesBilled = "foo";
o.totalBytesProcessed = "foo";
o.totalSlotMs = "foo";
- o.undeclaredQueryParameters = buildUnnamed2907();
+ o.undeclaredQueryParameters = buildUnnamed3192();
}
buildCounterJobStatistics2--;
return o;
@@ -1277,15 +1279,17 @@
if (buildCounterJobStatistics2 < 3) {
unittest.expect(o.billingTier, unittest.equals(42));
unittest.expect(o.cacheHit, unittest.isTrue);
+ unittest.expect(o.ddlOperationPerformed, unittest.equals('foo'));
+ checkTableReference(o.ddlTargetTable);
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
- checkUnnamed2905(o.queryPlan);
- checkUnnamed2906(o.referencedTables);
+ checkUnnamed3190(o.queryPlan);
+ checkUnnamed3191(o.referencedTables);
checkTableSchema(o.schema);
unittest.expect(o.statementType, unittest.equals('foo'));
unittest.expect(o.totalBytesBilled, unittest.equals('foo'));
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalSlotMs, unittest.equals('foo'));
- checkUnnamed2907(o.undeclaredQueryParameters);
+ checkUnnamed3192(o.undeclaredQueryParameters);
}
buildCounterJobStatistics2--;
}
@@ -1317,14 +1321,14 @@
buildCounterJobStatistics3--;
}
-buildUnnamed2908() {
+buildUnnamed3193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2908(core.List<core.String> o) {
+checkUnnamed3193(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'));
@@ -1335,7 +1339,7 @@
var o = new api.JobStatistics4();
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- o.destinationUriFileCounts = buildUnnamed2908();
+ o.destinationUriFileCounts = buildUnnamed3193();
}
buildCounterJobStatistics4--;
return o;
@@ -1344,19 +1348,19 @@
checkJobStatistics4(api.JobStatistics4 o) {
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- checkUnnamed2908(o.destinationUriFileCounts);
+ checkUnnamed3193(o.destinationUriFileCounts);
}
buildCounterJobStatistics4--;
}
-buildUnnamed2909() {
+buildUnnamed3194() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2909(core.List<api.ErrorProto> o) {
+checkUnnamed3194(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1368,7 +1372,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
o.errorResult = buildErrorProto();
- o.errors = buildUnnamed2909();
+ o.errors = buildUnnamed3194();
o.state = "foo";
}
buildCounterJobStatus--;
@@ -1379,7 +1383,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
checkErrorProto(o.errorResult);
- checkUnnamed2909(o.errors);
+ checkUnnamed3194(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterJobStatus--;
@@ -1441,14 +1445,14 @@
buildCounterProjectListProjects--;
}
-buildUnnamed2910() {
+buildUnnamed3195() {
var o = new core.List<api.ProjectListProjects>();
o.add(buildProjectListProjects());
o.add(buildProjectListProjects());
return o;
}
-checkUnnamed2910(core.List<api.ProjectListProjects> o) {
+checkUnnamed3195(core.List<api.ProjectListProjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectListProjects(o[0]);
checkProjectListProjects(o[1]);
@@ -1462,7 +1466,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed2910();
+ o.projects = buildUnnamed3195();
o.totalItems = 42;
}
buildCounterProjectList--;
@@ -1475,7 +1479,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2910(o.projects);
+ checkUnnamed3195(o.projects);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterProjectList--;
@@ -1546,14 +1550,14 @@
buildCounterQueryParameterTypeStructTypes--;
}
-buildUnnamed2911() {
+buildUnnamed3196() {
var o = new core.List<api.QueryParameterTypeStructTypes>();
o.add(buildQueryParameterTypeStructTypes());
o.add(buildQueryParameterTypeStructTypes());
return o;
}
-checkUnnamed2911(core.List<api.QueryParameterTypeStructTypes> o) {
+checkUnnamed3196(core.List<api.QueryParameterTypeStructTypes> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterTypeStructTypes(o[0]);
checkQueryParameterTypeStructTypes(o[1]);
@@ -1565,7 +1569,7 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
o.arrayType = buildQueryParameterType();
- o.structTypes = buildUnnamed2911();
+ o.structTypes = buildUnnamed3196();
o.type = "foo";
}
buildCounterQueryParameterType--;
@@ -1576,33 +1580,33 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
checkQueryParameterType(o.arrayType);
- checkUnnamed2911(o.structTypes);
+ checkUnnamed3196(o.structTypes);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterQueryParameterType--;
}
-buildUnnamed2912() {
+buildUnnamed3197() {
var o = new core.List<api.QueryParameterValue>();
o.add(buildQueryParameterValue());
o.add(buildQueryParameterValue());
return o;
}
-checkUnnamed2912(core.List<api.QueryParameterValue> o) {
+checkUnnamed3197(core.List<api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o[0]);
checkQueryParameterValue(o[1]);
}
-buildUnnamed2913() {
+buildUnnamed3198() {
var o = new core.Map<core.String, api.QueryParameterValue>();
o["x"] = buildQueryParameterValue();
o["y"] = buildQueryParameterValue();
return o;
}
-checkUnnamed2913(core.Map<core.String, api.QueryParameterValue> o) {
+checkUnnamed3198(core.Map<core.String, api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o["x"]);
checkQueryParameterValue(o["y"]);
@@ -1613,8 +1617,8 @@
var o = new api.QueryParameterValue();
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- o.arrayValues = buildUnnamed2912();
- o.structValues = buildUnnamed2913();
+ o.arrayValues = buildUnnamed3197();
+ o.structValues = buildUnnamed3198();
o.value = "foo";
}
buildCounterQueryParameterValue--;
@@ -1624,21 +1628,21 @@
checkQueryParameterValue(api.QueryParameterValue o) {
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- checkUnnamed2912(o.arrayValues);
- checkUnnamed2913(o.structValues);
+ checkUnnamed3197(o.arrayValues);
+ checkUnnamed3198(o.structValues);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterQueryParameterValue--;
}
-buildUnnamed2914() {
+buildUnnamed3199() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed2914(core.List<api.QueryParameter> o) {
+checkUnnamed3199(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -1656,7 +1660,7 @@
o.parameterMode = "foo";
o.preserveNulls = true;
o.query = "foo";
- o.queryParameters = buildUnnamed2914();
+ o.queryParameters = buildUnnamed3199();
o.timeoutMs = 42;
o.useLegacySql = true;
o.useQueryCache = true;
@@ -1675,7 +1679,7 @@
unittest.expect(o.parameterMode, unittest.equals('foo'));
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed2914(o.queryParameters);
+ checkUnnamed3199(o.queryParameters);
unittest.expect(o.timeoutMs, unittest.equals(42));
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
@@ -1683,27 +1687,27 @@
buildCounterQueryRequest--;
}
-buildUnnamed2915() {
+buildUnnamed3200() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2915(core.List<api.ErrorProto> o) {
+checkUnnamed3200(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed2916() {
+buildUnnamed3201() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed2916(core.List<api.TableRow> o) {
+checkUnnamed3201(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1715,13 +1719,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed2915();
+ o.errors = buildUnnamed3200();
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed2916();
+ o.rows = buildUnnamed3201();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -1734,13 +1738,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed2915(o.errors);
+ checkUnnamed3200(o.errors);
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2916(o.rows);
+ checkUnnamed3201(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -1771,14 +1775,14 @@
buildCounterStreamingbuffer--;
}
-buildUnnamed2917() {
+buildUnnamed3202() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2917(core.Map<core.String, core.String> o) {
+checkUnnamed3202(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1798,7 +1802,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2917();
+ o.labels = buildUnnamed3202();
o.lastModifiedTime = "foo";
o.location = "foo";
o.numBytes = "foo";
@@ -1828,7 +1832,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2917(o.labels);
+ checkUnnamed3202(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.numBytes, unittest.equals('foo'));
@@ -1893,14 +1897,14 @@
buildCounterTableDataInsertAllRequestRows--;
}
-buildUnnamed2918() {
+buildUnnamed3203() {
var o = new core.List<api.TableDataInsertAllRequestRows>();
o.add(buildTableDataInsertAllRequestRows());
o.add(buildTableDataInsertAllRequestRows());
return o;
}
-checkUnnamed2918(core.List<api.TableDataInsertAllRequestRows> o) {
+checkUnnamed3203(core.List<api.TableDataInsertAllRequestRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllRequestRows(o[0]);
checkTableDataInsertAllRequestRows(o[1]);
@@ -1913,7 +1917,7 @@
if (buildCounterTableDataInsertAllRequest < 3) {
o.ignoreUnknownValues = true;
o.kind = "foo";
- o.rows = buildUnnamed2918();
+ o.rows = buildUnnamed3203();
o.skipInvalidRows = true;
o.templateSuffix = "foo";
}
@@ -1926,21 +1930,21 @@
if (buildCounterTableDataInsertAllRequest < 3) {
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2918(o.rows);
+ checkUnnamed3203(o.rows);
unittest.expect(o.skipInvalidRows, unittest.isTrue);
unittest.expect(o.templateSuffix, unittest.equals('foo'));
}
buildCounterTableDataInsertAllRequest--;
}
-buildUnnamed2919() {
+buildUnnamed3204() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2919(core.List<api.ErrorProto> o) {
+checkUnnamed3204(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1951,7 +1955,7 @@
var o = new api.TableDataInsertAllResponseInsertErrors();
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- o.errors = buildUnnamed2919();
+ o.errors = buildUnnamed3204();
o.index = 42;
}
buildCounterTableDataInsertAllResponseInsertErrors--;
@@ -1962,20 +1966,20 @@
api.TableDataInsertAllResponseInsertErrors o) {
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- checkUnnamed2919(o.errors);
+ checkUnnamed3204(o.errors);
unittest.expect(o.index, unittest.equals(42));
}
buildCounterTableDataInsertAllResponseInsertErrors--;
}
-buildUnnamed2920() {
+buildUnnamed3205() {
var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
o.add(buildTableDataInsertAllResponseInsertErrors());
o.add(buildTableDataInsertAllResponseInsertErrors());
return o;
}
-checkUnnamed2920(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
+checkUnnamed3205(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllResponseInsertErrors(o[0]);
checkTableDataInsertAllResponseInsertErrors(o[1]);
@@ -1986,7 +1990,7 @@
var o = new api.TableDataInsertAllResponse();
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- o.insertErrors = buildUnnamed2920();
+ o.insertErrors = buildUnnamed3205();
o.kind = "foo";
}
buildCounterTableDataInsertAllResponse--;
@@ -1996,20 +2000,20 @@
checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- checkUnnamed2920(o.insertErrors);
+ checkUnnamed3205(o.insertErrors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTableDataInsertAllResponse--;
}
-buildUnnamed2921() {
+buildUnnamed3206() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed2921(core.List<api.TableRow> o) {
+checkUnnamed3206(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -2023,7 +2027,7 @@
o.etag = "foo";
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed2921();
+ o.rows = buildUnnamed3206();
o.totalRows = "foo";
}
buildCounterTableDataList--;
@@ -2036,20 +2040,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2921(o.rows);
+ checkUnnamed3206(o.rows);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
buildCounterTableDataList--;
}
-buildUnnamed2922() {
+buildUnnamed3207() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed2922(core.List<api.TableFieldSchema> o) {
+checkUnnamed3207(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -2061,7 +2065,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
o.description = "foo";
- o.fields = buildUnnamed2922();
+ o.fields = buildUnnamed3207();
o.mode = "foo";
o.name = "foo";
o.type = "foo";
@@ -2074,7 +2078,7 @@
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2922(o.fields);
+ checkUnnamed3207(o.fields);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2082,14 +2086,14 @@
buildCounterTableFieldSchema--;
}
-buildUnnamed2923() {
+buildUnnamed3208() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2923(core.Map<core.String, core.String> o) {
+checkUnnamed3208(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2124,7 +2128,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed2923();
+ o.labels = buildUnnamed3208();
o.tableReference = buildTableReference();
o.timePartitioning = buildTimePartitioning();
o.type = "foo";
@@ -2142,7 +2146,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2923(o.labels);
+ checkUnnamed3208(o.labels);
checkTableReference(o.tableReference);
checkTimePartitioning(o.timePartitioning);
unittest.expect(o.type, unittest.equals('foo'));
@@ -2151,14 +2155,14 @@
buildCounterTableListTables--;
}
-buildUnnamed2924() {
+buildUnnamed3209() {
var o = new core.List<api.TableListTables>();
o.add(buildTableListTables());
o.add(buildTableListTables());
return o;
}
-checkUnnamed2924(core.List<api.TableListTables> o) {
+checkUnnamed3209(core.List<api.TableListTables> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableListTables(o[0]);
checkTableListTables(o[1]);
@@ -2172,7 +2176,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.tables = buildUnnamed2924();
+ o.tables = buildUnnamed3209();
o.totalItems = 42;
}
buildCounterTableList--;
@@ -2185,7 +2189,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2924(o.tables);
+ checkUnnamed3209(o.tables);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterTableList--;
@@ -2214,14 +2218,14 @@
buildCounterTableReference--;
}
-buildUnnamed2925() {
+buildUnnamed3210() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed2925(core.List<api.TableCell> o) {
+checkUnnamed3210(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2232,7 +2236,7 @@
var o = new api.TableRow();
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- o.f = buildUnnamed2925();
+ o.f = buildUnnamed3210();
}
buildCounterTableRow--;
return o;
@@ -2241,19 +2245,19 @@
checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- checkUnnamed2925(o.f);
+ checkUnnamed3210(o.f);
}
buildCounterTableRow--;
}
-buildUnnamed2926() {
+buildUnnamed3211() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed2926(core.List<api.TableFieldSchema> o) {
+checkUnnamed3211(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -2264,7 +2268,7 @@
var o = new api.TableSchema();
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- o.fields = buildUnnamed2926();
+ o.fields = buildUnnamed3211();
}
buildCounterTableSchema--;
return o;
@@ -2273,7 +2277,7 @@
checkTableSchema(api.TableSchema o) {
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- checkUnnamed2926(o.fields);
+ checkUnnamed3211(o.fields);
}
buildCounterTableSchema--;
}
@@ -2322,14 +2326,14 @@
buildCounterUserDefinedFunctionResource--;
}
-buildUnnamed2927() {
+buildUnnamed3212() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed2927(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3212(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -2342,7 +2346,7 @@
if (buildCounterViewDefinition < 3) {
o.query = "foo";
o.useLegacySql = true;
- o.userDefinedFunctionResources = buildUnnamed2927();
+ o.userDefinedFunctionResources = buildUnnamed3212();
}
buildCounterViewDefinition--;
return o;
@@ -2353,19 +2357,19 @@
if (buildCounterViewDefinition < 3) {
unittest.expect(o.query, unittest.equals('foo'));
unittest.expect(o.useLegacySql, unittest.isTrue);
- checkUnnamed2927(o.userDefinedFunctionResources);
+ checkUnnamed3212(o.userDefinedFunctionResources);
}
buildCounterViewDefinition--;
}
-buildUnnamed2928() {
+buildUnnamed3213() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2928(core.List<core.String> o) {
+checkUnnamed3213(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'));
@@ -3573,7 +3577,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_projection = "foo";
- var arg_stateFilter = buildUnnamed2928();
+ var arg_stateFilter = buildUnnamed3213();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
index 0087686..121d879 100644
--- a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
+++ b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
@@ -84,27 +84,27 @@
buildCounterCheckValidCredsResponse--;
}
-buildUnnamed679() {
+buildUnnamed683() {
var o = new core.List<api.DataSourceParameter>();
o.add(buildDataSourceParameter());
o.add(buildDataSourceParameter());
return o;
}
-checkUnnamed679(core.List<api.DataSourceParameter> o) {
+checkUnnamed683(core.List<api.DataSourceParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceParameter(o[0]);
checkDataSourceParameter(o[1]);
}
-buildUnnamed680() {
+buildUnnamed684() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed680(core.List<core.String> o) {
+checkUnnamed684(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'));
@@ -127,8 +127,8 @@
o.manualRunsDisabled = true;
o.minimumScheduleInterval = "foo";
o.name = "foo";
- o.parameters = buildUnnamed679();
- o.scopes = buildUnnamed680();
+ o.parameters = buildUnnamed683();
+ o.scopes = buildUnnamed684();
o.supportsCustomSchedule = true;
o.supportsMultipleTransfers = true;
o.transferType = "foo";
@@ -153,8 +153,8 @@
unittest.expect(o.manualRunsDisabled, unittest.isTrue);
unittest.expect(o.minimumScheduleInterval, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed679(o.parameters);
- checkUnnamed680(o.scopes);
+ checkUnnamed683(o.parameters);
+ checkUnnamed684(o.scopes);
unittest.expect(o.supportsCustomSchedule, unittest.isTrue);
unittest.expect(o.supportsMultipleTransfers, unittest.isTrue);
unittest.expect(o.transferType, unittest.equals('foo'));
@@ -163,27 +163,27 @@
buildCounterDataSource--;
}
-buildUnnamed681() {
+buildUnnamed685() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed681(core.List<core.String> o) {
+checkUnnamed685(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'));
}
-buildUnnamed682() {
+buildUnnamed686() {
var o = new core.List<api.DataSourceParameter>();
o.add(buildDataSourceParameter());
o.add(buildDataSourceParameter());
return o;
}
-checkUnnamed682(core.List<api.DataSourceParameter> o) {
+checkUnnamed686(core.List<api.DataSourceParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceParameter(o[0]);
checkDataSourceParameter(o[1]);
@@ -194,10 +194,10 @@
var o = new api.DataSourceParameter();
buildCounterDataSourceParameter++;
if (buildCounterDataSourceParameter < 3) {
- o.allowedValues = buildUnnamed681();
+ o.allowedValues = buildUnnamed685();
o.description = "foo";
o.displayName = "foo";
- o.fields = buildUnnamed682();
+ o.fields = buildUnnamed686();
o.immutable = true;
o.maxValue = 42.0;
o.minValue = 42.0;
@@ -217,10 +217,10 @@
checkDataSourceParameter(api.DataSourceParameter o) {
buildCounterDataSourceParameter++;
if (buildCounterDataSourceParameter < 3) {
- checkUnnamed681(o.allowedValues);
+ checkUnnamed685(o.allowedValues);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed682(o.fields);
+ checkUnnamed686(o.fields);
unittest.expect(o.immutable, unittest.isTrue);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
@@ -251,14 +251,14 @@
buildCounterEmpty--;
}
-buildUnnamed683() {
+buildUnnamed687() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed683(core.List<api.DataSource> o) {
+checkUnnamed687(core.List<api.DataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSource(o[0]);
checkDataSource(o[1]);
@@ -269,7 +269,7 @@
var o = new api.ListDataSourcesResponse();
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- o.dataSources = buildUnnamed683();
+ o.dataSources = buildUnnamed687();
o.nextPageToken = "foo";
}
buildCounterListDataSourcesResponse--;
@@ -279,20 +279,20 @@
checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- checkUnnamed683(o.dataSources);
+ checkUnnamed687(o.dataSources);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDataSourcesResponse--;
}
-buildUnnamed684() {
+buildUnnamed688() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed684(core.List<api.Location> o) {
+checkUnnamed688(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -303,7 +303,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed684();
+ o.locations = buildUnnamed688();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -313,20 +313,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed684(o.locations);
+ checkUnnamed688(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed685() {
+buildUnnamed689() {
var o = new core.List<api.TransferConfig>();
o.add(buildTransferConfig());
o.add(buildTransferConfig());
return o;
}
-checkUnnamed685(core.List<api.TransferConfig> o) {
+checkUnnamed689(core.List<api.TransferConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferConfig(o[0]);
checkTransferConfig(o[1]);
@@ -338,7 +338,7 @@
buildCounterListTransferConfigsResponse++;
if (buildCounterListTransferConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.transferConfigs = buildUnnamed685();
+ o.transferConfigs = buildUnnamed689();
}
buildCounterListTransferConfigsResponse--;
return o;
@@ -348,19 +348,19 @@
buildCounterListTransferConfigsResponse++;
if (buildCounterListTransferConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed685(o.transferConfigs);
+ checkUnnamed689(o.transferConfigs);
}
buildCounterListTransferConfigsResponse--;
}
-buildUnnamed686() {
+buildUnnamed690() {
var o = new core.List<api.TransferMessage>();
o.add(buildTransferMessage());
o.add(buildTransferMessage());
return o;
}
-checkUnnamed686(core.List<api.TransferMessage> o) {
+checkUnnamed690(core.List<api.TransferMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferMessage(o[0]);
checkTransferMessage(o[1]);
@@ -372,7 +372,7 @@
buildCounterListTransferLogsResponse++;
if (buildCounterListTransferLogsResponse < 3) {
o.nextPageToken = "foo";
- o.transferMessages = buildUnnamed686();
+ o.transferMessages = buildUnnamed690();
}
buildCounterListTransferLogsResponse--;
return o;
@@ -382,19 +382,19 @@
buildCounterListTransferLogsResponse++;
if (buildCounterListTransferLogsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed686(o.transferMessages);
+ checkUnnamed690(o.transferMessages);
}
buildCounterListTransferLogsResponse--;
}
-buildUnnamed687() {
+buildUnnamed691() {
var o = new core.List<api.TransferRun>();
o.add(buildTransferRun());
o.add(buildTransferRun());
return o;
}
-checkUnnamed687(core.List<api.TransferRun> o) {
+checkUnnamed691(core.List<api.TransferRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferRun(o[0]);
checkTransferRun(o[1]);
@@ -406,7 +406,7 @@
buildCounterListTransferRunsResponse++;
if (buildCounterListTransferRunsResponse < 3) {
o.nextPageToken = "foo";
- o.transferRuns = buildUnnamed687();
+ o.transferRuns = buildUnnamed691();
}
buildCounterListTransferRunsResponse--;
return o;
@@ -416,25 +416,25 @@
buildCounterListTransferRunsResponse++;
if (buildCounterListTransferRunsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed687(o.transferRuns);
+ checkUnnamed691(o.transferRuns);
}
buildCounterListTransferRunsResponse--;
}
-buildUnnamed688() {
+buildUnnamed692() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed688(core.Map<core.String, core.String> o) {
+checkUnnamed692(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed689() {
+buildUnnamed693() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -449,7 +449,7 @@
return o;
}
-checkUnnamed689(core.Map<core.String, core.Object> o) {
+checkUnnamed693(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -468,9 +468,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed688();
+ o.labels = buildUnnamed692();
o.locationId = "foo";
- o.metadata = buildUnnamed689();
+ o.metadata = buildUnnamed693();
o.name = "foo";
}
buildCounterLocation--;
@@ -480,9 +480,9 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed688(o.labels);
+ checkUnnamed692(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed689(o.metadata);
+ checkUnnamed693(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -509,14 +509,14 @@
buildCounterScheduleTransferRunsRequest--;
}
-buildUnnamed690() {
+buildUnnamed694() {
var o = new core.List<api.TransferRun>();
o.add(buildTransferRun());
o.add(buildTransferRun());
return o;
}
-checkUnnamed690(core.List<api.TransferRun> o) {
+checkUnnamed694(core.List<api.TransferRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferRun(o[0]);
checkTransferRun(o[1]);
@@ -527,7 +527,7 @@
var o = new api.ScheduleTransferRunsResponse();
buildCounterScheduleTransferRunsResponse++;
if (buildCounterScheduleTransferRunsResponse < 3) {
- o.runs = buildUnnamed690();
+ o.runs = buildUnnamed694();
}
buildCounterScheduleTransferRunsResponse--;
return o;
@@ -536,12 +536,12 @@
checkScheduleTransferRunsResponse(api.ScheduleTransferRunsResponse o) {
buildCounterScheduleTransferRunsResponse++;
if (buildCounterScheduleTransferRunsResponse < 3) {
- checkUnnamed690(o.runs);
+ checkUnnamed694(o.runs);
}
buildCounterScheduleTransferRunsResponse--;
}
-buildUnnamed691() {
+buildUnnamed695() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -556,7 +556,7 @@
return o;
}
-checkUnnamed691(core.Map<core.String, core.Object> o) {
+checkUnnamed695(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -570,6 +570,71 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
+buildUnnamed696() {
+ var o = new core.List<core.Map<core.String, core.Object>>();
+ o.add(buildUnnamed695());
+ o.add(buildUnnamed695());
+ return o;
+}
+
+checkUnnamed696(core.List<core.Map<core.String, core.Object>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed695(o[0]);
+ checkUnnamed695(o[1]);
+}
+
+core.int buildCounterStatus = 0;
+buildStatus() {
+ var o = new api.Status();
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ o.code = 42;
+ o.details = buildUnnamed696();
+ o.message = "foo";
+ }
+ buildCounterStatus--;
+ return o;
+}
+
+checkStatus(api.Status o) {
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ unittest.expect(o.code, unittest.equals(42));
+ checkUnnamed696(o.details);
+ unittest.expect(o.message, unittest.equals('foo'));
+ }
+ buildCounterStatus--;
+}
+
+buildUnnamed697() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed697(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted5 = (o["x"]) as core.Map;
+ unittest.expect(casted5, unittest.hasLength(3));
+ unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted5["bool"], unittest.equals(true));
+ unittest.expect(casted5["string"], unittest.equals('foo'));
+ var casted6 = (o["y"]) as core.Map;
+ unittest.expect(casted6, unittest.hasLength(3));
+ unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted6["bool"], unittest.equals(true));
+ unittest.expect(casted6["string"], unittest.equals('foo'));
+}
+
core.int buildCounterTransferConfig = 0;
buildTransferConfig() {
var o = new api.TransferConfig();
@@ -583,7 +648,7 @@
o.displayName = "foo";
o.name = "foo";
o.nextRunTime = "foo";
- o.params = buildUnnamed691();
+ o.params = buildUnnamed697();
o.schedule = "foo";
o.state = "foo";
o.updateTime = "foo";
@@ -604,7 +669,7 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nextRunTime, unittest.equals('foo'));
- checkUnnamed691(o.params);
+ checkUnnamed697(o.params);
unittest.expect(o.schedule, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -636,7 +701,7 @@
buildCounterTransferMessage--;
}
-buildUnnamed692() {
+buildUnnamed698() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -651,18 +716,18 @@
return o;
}
-checkUnnamed692(core.Map<core.String, core.Object> o) {
+checkUnnamed698(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted5 = (o["x"]) as core.Map;
- unittest.expect(casted5, unittest.hasLength(3));
- unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted5["bool"], unittest.equals(true));
- unittest.expect(casted5["string"], unittest.equals('foo'));
- var casted6 = (o["y"]) as core.Map;
- unittest.expect(casted6, unittest.hasLength(3));
- unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted6["bool"], unittest.equals(true));
- unittest.expect(casted6["string"], unittest.equals('foo'));
+ var casted7 = (o["x"]) as core.Map;
+ unittest.expect(casted7, unittest.hasLength(3));
+ unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted7["bool"], unittest.equals(true));
+ unittest.expect(casted7["string"], unittest.equals('foo'));
+ var casted8 = (o["y"]) as core.Map;
+ unittest.expect(casted8, unittest.hasLength(3));
+ unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted8["bool"], unittest.equals(true));
+ unittest.expect(casted8["string"], unittest.equals('foo'));
}
core.int buildCounterTransferRun = 0;
@@ -671,11 +736,11 @@
buildCounterTransferRun++;
if (buildCounterTransferRun < 3) {
o.dataSourceId = "foo";
- o.datasetRegion = "foo";
o.destinationDatasetId = "foo";
o.endTime = "foo";
+ o.errorStatus = buildStatus();
o.name = "foo";
- o.params = buildUnnamed692();
+ o.params = buildUnnamed698();
o.runTime = "foo";
o.schedule = "foo";
o.scheduleTime = "foo";
@@ -692,11 +757,11 @@
buildCounterTransferRun++;
if (buildCounterTransferRun < 3) {
unittest.expect(o.dataSourceId, unittest.equals('foo'));
- unittest.expect(o.datasetRegion, unittest.equals('foo'));
unittest.expect(o.destinationDatasetId, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
+ checkStatus(o.errorStatus);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed692(o.params);
+ checkUnnamed698(o.params);
unittest.expect(o.runTime, unittest.equals('foo'));
unittest.expect(o.schedule, unittest.equals('foo'));
unittest.expect(o.scheduleTime, unittest.equals('foo'));
@@ -708,79 +773,79 @@
buildCounterTransferRun--;
}
-buildUnnamed693() {
+buildUnnamed699() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed693(core.List<core.String> o) {
+checkUnnamed699(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'));
}
-buildUnnamed694() {
+buildUnnamed700() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed694(core.List<core.String> o) {
+checkUnnamed700(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'));
}
-buildUnnamed695() {
+buildUnnamed701() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed695(core.List<core.String> o) {
+checkUnnamed701(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'));
}
-buildUnnamed696() {
+buildUnnamed702() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed696(core.List<core.String> o) {
+checkUnnamed702(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'));
}
-buildUnnamed697() {
+buildUnnamed703() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed697(core.List<core.String> o) {
+checkUnnamed703(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'));
}
-buildUnnamed698() {
+buildUnnamed704() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed698(core.List<core.String> o) {
+checkUnnamed704(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'));
@@ -891,6 +956,14 @@
});
});
+ unittest.group("obj-schema-Status", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildStatus();
+ var od = new api.Status.fromJson(o.toJson());
+ checkStatus(od);
+ });
+ });
+
unittest.group("obj-schema-TransferConfig", () {
unittest.test("to-json--from-json", () {
var o = buildTransferConfig();
@@ -1029,8 +1102,8 @@
api.ProjectsDataSourcesResourceApi res =
new api.BigquerydatatransferApi(mock).projects.dataSources;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1063,10 +1136,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1077,8 +1150,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListDataSourcesResponse response) {
checkListDataSourcesResponse(response);
@@ -1559,7 +1632,7 @@
var arg_parent = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_dataSourceIds = buildUnnamed693();
+ var arg_dataSourceIds = buildUnnamed699();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1868,10 +1941,10 @@
.transferConfigs
.runs;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_states = buildUnnamed694();
var arg_runAttempt = "foo";
var arg_pageToken = "foo";
+ var arg_states = buildUnnamed700();
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1904,13 +1977,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(
queryMap["runAttempt"].first, unittest.equals(arg_runAttempt));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["states"], unittest.equals(arg_states));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1921,10 +1994,10 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- states: arg_states,
runAttempt: arg_runAttempt,
pageToken: arg_pageToken,
+ states: arg_states,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTransferRunsResponse response) {
checkListTransferRunsResponse(response);
@@ -1947,7 +2020,7 @@
var arg_parent = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_messageTypes = buildUnnamed695();
+ var arg_messageTypes = buildUnnamed701();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2176,9 +2249,9 @@
api.ProjectsTransferConfigsResourceApi res =
new api.BigquerydatatransferApi(mock).projects.transferConfigs;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_dataSourceIds = buildUnnamed696();
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_dataSourceIds = buildUnnamed702();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2211,12 +2284,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["dataSourceIds"], unittest.equals(arg_dataSourceIds));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2227,9 +2300,9 @@
}), true);
res
.list(arg_parent,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
dataSourceIds: arg_dataSourceIds,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListTransferConfigsResponse response) {
@@ -2243,8 +2316,8 @@
new api.BigquerydatatransferApi(mock).projects.transferConfigs;
var arg_request = buildTransferConfig();
var arg_name = "foo";
- var arg_updateMask = "foo";
var arg_authorizationCode = "foo";
+ var arg_updateMask = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TransferConfig.fromJson(json);
@@ -2280,10 +2353,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["authorizationCode"].first,
unittest.equals(arg_authorizationCode));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2294,8 +2367,8 @@
}), true);
res
.patch(arg_request, arg_name,
- updateMask: arg_updateMask,
authorizationCode: arg_authorizationCode,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.TransferConfig response) {
checkTransferConfig(response);
@@ -2468,10 +2541,10 @@
api.ProjectsTransferConfigsRunsResourceApi res =
new api.BigquerydatatransferApi(mock).projects.transferConfigs.runs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
- var arg_states = buildUnnamed697();
var arg_runAttempt = "foo";
+ var arg_pageToken = "foo";
+ var arg_states = buildUnnamed703();
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2505,12 +2578,12 @@
}
}
unittest.expect(
+ queryMap["runAttempt"].first, unittest.equals(arg_runAttempt));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
- unittest.expect(
- queryMap["runAttempt"].first, unittest.equals(arg_runAttempt));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2521,10 +2594,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- states: arg_states,
runAttempt: arg_runAttempt,
+ pageToken: arg_pageToken,
+ states: arg_states,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTransferRunsResponse response) {
checkListTransferRunsResponse(response);
@@ -2543,9 +2616,9 @@
.runs
.transferLogs;
var arg_parent = "foo";
+ var arg_messageTypes = buildUnnamed704();
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_messageTypes = buildUnnamed698();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2579,11 +2652,11 @@
}
}
unittest.expect(
+ queryMap["messageTypes"], unittest.equals(arg_messageTypes));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["messageTypes"], unittest.equals(arg_messageTypes));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2594,9 +2667,9 @@
}), true);
res
.list(arg_parent,
+ messageTypes: arg_messageTypes,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- messageTypes: arg_messageTypes,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTransferLogsResponse response) {
checkListTransferLogsResponse(response);
diff --git a/generated/googleapis/test/blogger/v3_test.dart b/generated/googleapis/test/blogger/v3_test.dart
index 2655155..3e8424e 100644
--- a/generated/googleapis/test/blogger/v3_test.dart
+++ b/generated/googleapis/test/blogger/v3_test.dart
@@ -94,14 +94,14 @@
buildCounterBlogPages--;
}
-buildUnnamed1314() {
+buildUnnamed1320() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed1314(core.List<api.Post> o) {
+checkUnnamed1320(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -112,7 +112,7 @@
var o = new api.BlogPosts();
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- o.items = buildUnnamed1314();
+ o.items = buildUnnamed1320();
o.selfLink = "foo";
o.totalItems = 42;
}
@@ -123,7 +123,7 @@
checkBlogPosts(api.BlogPosts o) {
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- checkUnnamed1314(o.items);
+ checkUnnamed1320(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -175,27 +175,27 @@
buildCounterBlog--;
}
-buildUnnamed1315() {
+buildUnnamed1321() {
var o = new core.List<api.BlogUserInfo>();
o.add(buildBlogUserInfo());
o.add(buildBlogUserInfo());
return o;
}
-checkUnnamed1315(core.List<api.BlogUserInfo> o) {
+checkUnnamed1321(core.List<api.BlogUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlogUserInfo(o[0]);
checkBlogUserInfo(o[1]);
}
-buildUnnamed1316() {
+buildUnnamed1322() {
var o = new core.List<api.Blog>();
o.add(buildBlog());
o.add(buildBlog());
return o;
}
-checkUnnamed1316(core.List<api.Blog> o) {
+checkUnnamed1322(core.List<api.Blog> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlog(o[0]);
checkBlog(o[1]);
@@ -206,8 +206,8 @@
var o = new api.BlogList();
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- o.blogUserInfos = buildUnnamed1315();
- o.items = buildUnnamed1316();
+ o.blogUserInfos = buildUnnamed1321();
+ o.items = buildUnnamed1322();
o.kind = "foo";
}
buildCounterBlogList--;
@@ -217,8 +217,8 @@
checkBlogList(api.BlogList o) {
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- checkUnnamed1315(o.blogUserInfos);
- checkUnnamed1316(o.items);
+ checkUnnamed1321(o.blogUserInfos);
+ checkUnnamed1322(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBlogList--;
@@ -418,14 +418,14 @@
buildCounterComment--;
}
-buildUnnamed1317() {
+buildUnnamed1323() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1317(core.List<api.Comment> o) {
+checkUnnamed1323(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -437,7 +437,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1317();
+ o.items = buildUnnamed1323();
o.kind = "foo";
o.nextPageToken = "foo";
o.prevPageToken = "foo";
@@ -450,7 +450,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1317(o.items);
+ checkUnnamed1323(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.prevPageToken, unittest.equals('foo'));
@@ -564,14 +564,14 @@
buildCounterPage--;
}
-buildUnnamed1318() {
+buildUnnamed1324() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1318(core.List<api.Page> o) {
+checkUnnamed1324(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -583,7 +583,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1318();
+ o.items = buildUnnamed1324();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -595,7 +595,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1318(o.items);
+ checkUnnamed1324(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -623,14 +623,14 @@
buildCounterPageviewsCounts--;
}
-buildUnnamed1319() {
+buildUnnamed1325() {
var o = new core.List<api.PageviewsCounts>();
o.add(buildPageviewsCounts());
o.add(buildPageviewsCounts());
return o;
}
-checkUnnamed1319(core.List<api.PageviewsCounts> o) {
+checkUnnamed1325(core.List<api.PageviewsCounts> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageviewsCounts(o[0]);
checkPageviewsCounts(o[1]);
@@ -642,7 +642,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
o.blogId = "foo";
- o.counts = buildUnnamed1319();
+ o.counts = buildUnnamed1325();
o.kind = "foo";
}
buildCounterPageviews--;
@@ -653,7 +653,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
unittest.expect(o.blogId, unittest.equals('foo'));
- checkUnnamed1319(o.counts);
+ checkUnnamed1325(o.counts);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPageviews--;
@@ -741,27 +741,27 @@
buildCounterPostImages--;
}
-buildUnnamed1320() {
+buildUnnamed1326() {
var o = new core.List<api.PostImages>();
o.add(buildPostImages());
o.add(buildPostImages());
return o;
}
-checkUnnamed1320(core.List<api.PostImages> o) {
+checkUnnamed1326(core.List<api.PostImages> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostImages(o[0]);
checkPostImages(o[1]);
}
-buildUnnamed1321() {
+buildUnnamed1327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1321(core.List<core.String> o) {
+checkUnnamed1327(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'));
@@ -792,14 +792,14 @@
buildCounterPostLocation--;
}
-buildUnnamed1322() {
+buildUnnamed1328() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1322(core.List<api.Comment> o) {
+checkUnnamed1328(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -810,7 +810,7 @@
var o = new api.PostReplies();
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- o.items = buildUnnamed1322();
+ o.items = buildUnnamed1328();
o.selfLink = "foo";
o.totalItems = "foo";
}
@@ -821,7 +821,7 @@
checkPostReplies(api.PostReplies o) {
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- checkUnnamed1322(o.items);
+ checkUnnamed1328(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals('foo'));
}
@@ -839,9 +839,9 @@
o.customMetaData = "foo";
o.etag = "foo";
o.id = "foo";
- o.images = buildUnnamed1320();
+ o.images = buildUnnamed1326();
o.kind = "foo";
- o.labels = buildUnnamed1321();
+ o.labels = buildUnnamed1327();
o.location = buildPostLocation();
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.readerComments = "foo";
@@ -866,9 +866,9 @@
unittest.expect(o.customMetaData, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1320(o.images);
+ checkUnnamed1326(o.images);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1321(o.labels);
+ checkUnnamed1327(o.labels);
checkPostLocation(o.location);
unittest.expect(o.published,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -885,14 +885,14 @@
buildCounterPost--;
}
-buildUnnamed1323() {
+buildUnnamed1329() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed1323(core.List<api.Post> o) {
+checkUnnamed1329(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -904,7 +904,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1323();
+ o.items = buildUnnamed1329();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -916,7 +916,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1323(o.items);
+ checkUnnamed1329(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -973,14 +973,14 @@
buildCounterPostUserInfo--;
}
-buildUnnamed1324() {
+buildUnnamed1330() {
var o = new core.List<api.PostUserInfo>();
o.add(buildPostUserInfo());
o.add(buildPostUserInfo());
return o;
}
-checkUnnamed1324(core.List<api.PostUserInfo> o) {
+checkUnnamed1330(core.List<api.PostUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostUserInfo(o[0]);
checkPostUserInfo(o[1]);
@@ -991,7 +991,7 @@
var o = new api.PostUserInfosList();
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- o.items = buildUnnamed1324();
+ o.items = buildUnnamed1330();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1002,7 +1002,7 @@
checkPostUserInfosList(api.PostUserInfosList o) {
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- checkUnnamed1324(o.items);
+ checkUnnamed1330(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1087,84 +1087,6 @@
buildCounterUser--;
}
-buildUnnamed1325() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1325(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'));
-}
-
-buildUnnamed1326() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1326(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'));
-}
-
-buildUnnamed1327() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1327(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'));
-}
-
-buildUnnamed1328() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1328(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'));
-}
-
-buildUnnamed1329() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1329(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'));
-}
-
-buildUnnamed1330() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1330(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'));
-}
-
buildUnnamed1331() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1191,6 +1113,84 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1333() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1333(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'));
+}
+
+buildUnnamed1334() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1334(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'));
+}
+
+buildUnnamed1335() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1335(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'));
+}
+
+buildUnnamed1336() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1336(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'));
+}
+
+buildUnnamed1337() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1337(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'));
+}
+
+buildUnnamed1338() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1338(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'));
+}
+
main() {
unittest.group("obj-schema-BlogLocale", () {
unittest.test("to-json--from-json", () {
@@ -1668,8 +1668,8 @@
api.BlogsResourceApi res = new api.BloggerApi(mock).blogs;
var arg_userId = "foo";
var arg_fetchUserInfo = true;
- var arg_role = buildUnnamed1325();
- var arg_status = buildUnnamed1326();
+ var arg_role = buildUnnamed1331();
+ var arg_status = buildUnnamed1332();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1986,7 +1986,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1327();
+ var arg_status = buildUnnamed1333();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2084,7 +2084,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1328();
+ var arg_status = buildUnnamed1334();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2333,7 +2333,7 @@
var mock = new HttpServerMock();
api.PageViewsResourceApi res = new api.BloggerApi(mock).pageViews;
var arg_blogId = "foo";
- var arg_range = buildUnnamed1329();
+ var arg_range = buildUnnamed1335();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2604,7 +2604,7 @@
var arg_fetchBodies = true;
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_status = buildUnnamed1330();
+ var arg_status = buildUnnamed1336();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3074,7 +3074,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1331();
+ var arg_status = buildUnnamed1337();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3479,7 +3479,7 @@
var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_startDate = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_status = buildUnnamed1332();
+ var arg_status = buildUnnamed1338();
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/books/v1_test.dart b/generated/googleapis/test/books/v1_test.dart
index ef692e1..f5a6b35 100644
--- a/generated/googleapis/test/books/v1_test.dart
+++ b/generated/googleapis/test/books/v1_test.dart
@@ -127,14 +127,14 @@
buildCounterAnnotationLayerSummary--;
}
-buildUnnamed933() {
+buildUnnamed940() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed933(core.List<core.String> o) {
+checkUnnamed940(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'));
@@ -157,7 +157,7 @@
o.kind = "foo";
o.layerId = "foo";
o.layerSummary = buildAnnotationLayerSummary();
- o.pageIds = buildUnnamed933();
+ o.pageIds = buildUnnamed940();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -183,7 +183,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
checkAnnotationLayerSummary(o.layerSummary);
- checkUnnamed933(o.pageIds);
+ checkUnnamed940(o.pageIds);
unittest.expect(o.selectedText, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(
@@ -237,14 +237,14 @@
buildCounterAnnotationdata--;
}
-buildUnnamed934() {
+buildUnnamed941() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed934(core.List<api.Annotation> o) {
+checkUnnamed941(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -255,7 +255,7 @@
var o = new api.Annotations();
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- o.items = buildUnnamed934();
+ o.items = buildUnnamed941();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -267,7 +267,7 @@
checkAnnotations(api.Annotations o) {
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- checkUnnamed934(o.items);
+ checkUnnamed941(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -303,14 +303,14 @@
buildCounterAnnotationsSummaryLayers--;
}
-buildUnnamed935() {
+buildUnnamed942() {
var o = new core.List<api.AnnotationsSummaryLayers>();
o.add(buildAnnotationsSummaryLayers());
o.add(buildAnnotationsSummaryLayers());
return o;
}
-checkUnnamed935(core.List<api.AnnotationsSummaryLayers> o) {
+checkUnnamed942(core.List<api.AnnotationsSummaryLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationsSummaryLayers(o[0]);
checkAnnotationsSummaryLayers(o[1]);
@@ -322,7 +322,7 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
o.kind = "foo";
- o.layers = buildUnnamed935();
+ o.layers = buildUnnamed942();
}
buildCounterAnnotationsSummary--;
return o;
@@ -332,19 +332,19 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed935(o.layers);
+ checkUnnamed942(o.layers);
}
buildCounterAnnotationsSummary--;
}
-buildUnnamed936() {
+buildUnnamed943() {
var o = new core.List<api.Annotationdata>();
o.add(buildAnnotationdata());
o.add(buildAnnotationdata());
return o;
}
-checkUnnamed936(core.List<api.Annotationdata> o) {
+checkUnnamed943(core.List<api.Annotationdata> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationdata(o[0]);
checkAnnotationdata(o[1]);
@@ -355,7 +355,7 @@
var o = new api.Annotationsdata();
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- o.items = buildUnnamed936();
+ o.items = buildUnnamed943();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -367,7 +367,7 @@
checkAnnotationsdata(api.Annotationsdata o) {
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- checkUnnamed936(o.items);
+ checkUnnamed943(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -485,14 +485,14 @@
buildCounterBookshelf--;
}
-buildUnnamed937() {
+buildUnnamed944() {
var o = new core.List<api.Bookshelf>();
o.add(buildBookshelf());
o.add(buildBookshelf());
return o;
}
-checkUnnamed937(core.List<api.Bookshelf> o) {
+checkUnnamed944(core.List<api.Bookshelf> o) {
unittest.expect(o, unittest.hasLength(2));
checkBookshelf(o[0]);
checkBookshelf(o[1]);
@@ -503,7 +503,7 @@
var o = new api.Bookshelves();
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- o.items = buildUnnamed937();
+ o.items = buildUnnamed944();
o.kind = "foo";
}
buildCounterBookshelves--;
@@ -513,7 +513,7 @@
checkBookshelves(api.Bookshelves o) {
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- checkUnnamed937(o.items);
+ checkUnnamed944(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBookshelves--;
@@ -542,14 +542,14 @@
buildCounterCategoryItems--;
}
-buildUnnamed938() {
+buildUnnamed945() {
var o = new core.List<api.CategoryItems>();
o.add(buildCategoryItems());
o.add(buildCategoryItems());
return o;
}
-checkUnnamed938(core.List<api.CategoryItems> o) {
+checkUnnamed945(core.List<api.CategoryItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategoryItems(o[0]);
checkCategoryItems(o[1]);
@@ -560,7 +560,7 @@
var o = new api.Category();
buildCounterCategory++;
if (buildCounterCategory < 3) {
- o.items = buildUnnamed938();
+ o.items = buildUnnamed945();
o.kind = "foo";
}
buildCounterCategory--;
@@ -570,7 +570,7 @@
checkCategory(api.Category o) {
buildCounterCategory++;
if (buildCounterCategory < 3) {
- checkUnnamed938(o.items);
+ checkUnnamed945(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCategory--;
@@ -699,14 +699,14 @@
buildCounterDictlayerdataDictWordsDerivatives--;
}
-buildUnnamed939() {
+buildUnnamed946() {
var o = new core.List<api.DictlayerdataDictWordsDerivatives>();
o.add(buildDictlayerdataDictWordsDerivatives());
o.add(buildDictlayerdataDictWordsDerivatives());
return o;
}
-checkUnnamed939(core.List<api.DictlayerdataDictWordsDerivatives> o) {
+checkUnnamed946(core.List<api.DictlayerdataDictWordsDerivatives> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsDerivatives(o[0]);
checkDictlayerdataDictWordsDerivatives(o[1]);
@@ -755,14 +755,14 @@
buildCounterDictlayerdataDictWordsExamples--;
}
-buildUnnamed940() {
+buildUnnamed947() {
var o = new core.List<api.DictlayerdataDictWordsExamples>();
o.add(buildDictlayerdataDictWordsExamples());
o.add(buildDictlayerdataDictWordsExamples());
return o;
}
-checkUnnamed940(core.List<api.DictlayerdataDictWordsExamples> o) {
+checkUnnamed947(core.List<api.DictlayerdataDictWordsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsExamples(o[0]);
checkDictlayerdataDictWordsExamples(o[1]);
@@ -790,14 +790,14 @@
buildCounterDictlayerdataDictWordsSensesConjugations--;
}
-buildUnnamed941() {
+buildUnnamed948() {
var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>();
o.add(buildDictlayerdataDictWordsSensesConjugations());
o.add(buildDictlayerdataDictWordsSensesConjugations());
return o;
}
-checkUnnamed941(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
+checkUnnamed948(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesConjugations(o[0]);
checkDictlayerdataDictWordsSensesConjugations(o[1]);
@@ -847,14 +847,14 @@
buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--;
}
-buildUnnamed942() {
+buildUnnamed949() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>();
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
return o;
}
-checkUnnamed942(
+checkUnnamed949(
core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]);
@@ -867,7 +867,7 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
o.definition = "foo";
- o.examples = buildUnnamed942();
+ o.examples = buildUnnamed949();
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
return o;
@@ -878,19 +878,19 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
unittest.expect(o.definition, unittest.equals('foo'));
- checkUnnamed942(o.examples);
+ checkUnnamed949(o.examples);
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
}
-buildUnnamed943() {
+buildUnnamed950() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>();
o.add(buildDictlayerdataDictWordsSensesDefinitions());
o.add(buildDictlayerdataDictWordsSensesDefinitions());
return o;
}
-checkUnnamed943(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
+checkUnnamed950(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitions(o[0]);
checkDictlayerdataDictWordsSensesDefinitions(o[1]);
@@ -962,14 +962,14 @@
buildCounterDictlayerdataDictWordsSensesSynonyms--;
}
-buildUnnamed944() {
+buildUnnamed951() {
var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>();
o.add(buildDictlayerdataDictWordsSensesSynonyms());
o.add(buildDictlayerdataDictWordsSensesSynonyms());
return o;
}
-checkUnnamed944(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
+checkUnnamed951(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesSynonyms(o[0]);
checkDictlayerdataDictWordsSensesSynonyms(o[1]);
@@ -980,14 +980,14 @@
var o = new api.DictlayerdataDictWordsSenses();
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- o.conjugations = buildUnnamed941();
- o.definitions = buildUnnamed943();
+ o.conjugations = buildUnnamed948();
+ o.definitions = buildUnnamed950();
o.partOfSpeech = "foo";
o.pronunciation = "foo";
o.pronunciationUrl = "foo";
o.source = buildDictlayerdataDictWordsSensesSource();
o.syllabification = "foo";
- o.synonyms = buildUnnamed944();
+ o.synonyms = buildUnnamed951();
}
buildCounterDictlayerdataDictWordsSenses--;
return o;
@@ -996,26 +996,26 @@
checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) {
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- checkUnnamed941(o.conjugations);
- checkUnnamed943(o.definitions);
+ checkUnnamed948(o.conjugations);
+ checkUnnamed950(o.definitions);
unittest.expect(o.partOfSpeech, unittest.equals('foo'));
unittest.expect(o.pronunciation, unittest.equals('foo'));
unittest.expect(o.pronunciationUrl, unittest.equals('foo'));
checkDictlayerdataDictWordsSensesSource(o.source);
unittest.expect(o.syllabification, unittest.equals('foo'));
- checkUnnamed944(o.synonyms);
+ checkUnnamed951(o.synonyms);
}
buildCounterDictlayerdataDictWordsSenses--;
}
-buildUnnamed945() {
+buildUnnamed952() {
var o = new core.List<api.DictlayerdataDictWordsSenses>();
o.add(buildDictlayerdataDictWordsSenses());
o.add(buildDictlayerdataDictWordsSenses());
return o;
}
-checkUnnamed945(core.List<api.DictlayerdataDictWordsSenses> o) {
+checkUnnamed952(core.List<api.DictlayerdataDictWordsSenses> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSenses(o[0]);
checkDictlayerdataDictWordsSenses(o[1]);
@@ -1047,9 +1047,9 @@
var o = new api.DictlayerdataDictWords();
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- o.derivatives = buildUnnamed939();
- o.examples = buildUnnamed940();
- o.senses = buildUnnamed945();
+ o.derivatives = buildUnnamed946();
+ o.examples = buildUnnamed947();
+ o.senses = buildUnnamed952();
o.source = buildDictlayerdataDictWordsSource();
}
buildCounterDictlayerdataDictWords--;
@@ -1059,22 +1059,22 @@
checkDictlayerdataDictWords(api.DictlayerdataDictWords o) {
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- checkUnnamed939(o.derivatives);
- checkUnnamed940(o.examples);
- checkUnnamed945(o.senses);
+ checkUnnamed946(o.derivatives);
+ checkUnnamed947(o.examples);
+ checkUnnamed952(o.senses);
checkDictlayerdataDictWordsSource(o.source);
}
buildCounterDictlayerdataDictWords--;
}
-buildUnnamed946() {
+buildUnnamed953() {
var o = new core.List<api.DictlayerdataDictWords>();
o.add(buildDictlayerdataDictWords());
o.add(buildDictlayerdataDictWords());
return o;
}
-checkUnnamed946(core.List<api.DictlayerdataDictWords> o) {
+checkUnnamed953(core.List<api.DictlayerdataDictWords> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWords(o[0]);
checkDictlayerdataDictWords(o[1]);
@@ -1086,7 +1086,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
o.source = buildDictlayerdataDictSource();
- o.words = buildUnnamed946();
+ o.words = buildUnnamed953();
}
buildCounterDictlayerdataDict--;
return o;
@@ -1096,7 +1096,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
checkDictlayerdataDictSource(o.source);
- checkUnnamed946(o.words);
+ checkUnnamed953(o.words);
}
buildCounterDictlayerdataDict--;
}
@@ -1154,14 +1154,14 @@
buildCounterDiscoveryclustersClustersBannerWithContentContainer--;
}
-buildUnnamed947() {
+buildUnnamed954() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed947(core.List<api.Volume> o) {
+checkUnnamed954(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1178,7 +1178,7 @@
o.title = "foo";
o.totalVolumes = 42;
o.uid = "foo";
- o.volumes = buildUnnamed947();
+ o.volumes = buildUnnamed954();
}
buildCounterDiscoveryclustersClusters--;
return o;
@@ -1193,19 +1193,19 @@
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.totalVolumes, unittest.equals(42));
unittest.expect(o.uid, unittest.equals('foo'));
- checkUnnamed947(o.volumes);
+ checkUnnamed954(o.volumes);
}
buildCounterDiscoveryclustersClusters--;
}
-buildUnnamed948() {
+buildUnnamed955() {
var o = new core.List<api.DiscoveryclustersClusters>();
o.add(buildDiscoveryclustersClusters());
o.add(buildDiscoveryclustersClusters());
return o;
}
-checkUnnamed948(core.List<api.DiscoveryclustersClusters> o) {
+checkUnnamed955(core.List<api.DiscoveryclustersClusters> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiscoveryclustersClusters(o[0]);
checkDiscoveryclustersClusters(o[1]);
@@ -1216,7 +1216,7 @@
var o = new api.Discoveryclusters();
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- o.clusters = buildUnnamed948();
+ o.clusters = buildUnnamed955();
o.kind = "foo";
o.totalClusters = 42;
}
@@ -1227,7 +1227,7 @@
checkDiscoveryclusters(api.Discoveryclusters o) {
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- checkUnnamed948(o.clusters);
+ checkUnnamed955(o.clusters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalClusters, unittest.equals(42));
}
@@ -1275,14 +1275,14 @@
buildCounterDownloadAccessRestriction--;
}
-buildUnnamed949() {
+buildUnnamed956() {
var o = new core.List<api.DownloadAccessRestriction>();
o.add(buildDownloadAccessRestriction());
o.add(buildDownloadAccessRestriction());
return o;
}
-checkUnnamed949(core.List<api.DownloadAccessRestriction> o) {
+checkUnnamed956(core.List<api.DownloadAccessRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkDownloadAccessRestriction(o[0]);
checkDownloadAccessRestriction(o[1]);
@@ -1293,7 +1293,7 @@
var o = new api.DownloadAccesses();
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- o.downloadAccessList = buildUnnamed949();
+ o.downloadAccessList = buildUnnamed956();
o.kind = "foo";
}
buildCounterDownloadAccesses--;
@@ -1303,7 +1303,7 @@
checkDownloadAccesses(api.DownloadAccesses o) {
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- checkUnnamed949(o.downloadAccessList);
+ checkUnnamed956(o.downloadAccessList);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDownloadAccesses--;
@@ -1357,30 +1357,30 @@
buildCounterGeolayerdataGeoBoundary--;
}
-buildUnnamed950() {
+buildUnnamed957() {
var o = new core.List<api.GeolayerdataGeoBoundary>();
o.add(buildGeolayerdataGeoBoundary());
o.add(buildGeolayerdataGeoBoundary());
return o;
}
-checkUnnamed950(core.List<api.GeolayerdataGeoBoundary> o) {
+checkUnnamed957(core.List<api.GeolayerdataGeoBoundary> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeolayerdataGeoBoundary(o[0]);
checkGeolayerdataGeoBoundary(o[1]);
}
-buildUnnamed951() {
+buildUnnamed958() {
var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>();
- o.add(buildUnnamed950());
- o.add(buildUnnamed950());
+ o.add(buildUnnamed957());
+ o.add(buildUnnamed957());
return o;
}
-checkUnnamed951(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
+checkUnnamed958(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed950(o[0]);
- checkUnnamed950(o[1]);
+ checkUnnamed957(o[0]);
+ checkUnnamed957(o[1]);
}
core.int buildCounterGeolayerdataGeoViewportHi = 0;
@@ -1451,7 +1451,7 @@
var o = new api.GeolayerdataGeo();
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- o.boundary = buildUnnamed951();
+ o.boundary = buildUnnamed958();
o.cachePolicy = "foo";
o.countryCode = "foo";
o.latitude = 42.0;
@@ -1467,7 +1467,7 @@
checkGeolayerdataGeo(api.GeolayerdataGeo o) {
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- checkUnnamed951(o.boundary);
+ checkUnnamed958(o.boundary);
unittest.expect(o.cachePolicy, unittest.equals('foo'));
unittest.expect(o.countryCode, unittest.equals('foo'));
unittest.expect(o.latitude, unittest.equals(42.0));
@@ -1502,14 +1502,14 @@
buildCounterGeolayerdata--;
}
-buildUnnamed952() {
+buildUnnamed959() {
var o = new core.List<api.Layersummary>();
o.add(buildLayersummary());
o.add(buildLayersummary());
return o;
}
-checkUnnamed952(core.List<api.Layersummary> o) {
+checkUnnamed959(core.List<api.Layersummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayersummary(o[0]);
checkLayersummary(o[1]);
@@ -1520,7 +1520,7 @@
var o = new api.Layersummaries();
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- o.items = buildUnnamed952();
+ o.items = buildUnnamed959();
o.kind = "foo";
o.totalItems = 42;
}
@@ -1531,21 +1531,21 @@
checkLayersummaries(api.Layersummaries o) {
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- checkUnnamed952(o.items);
+ checkUnnamed959(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterLayersummaries--;
}
-buildUnnamed953() {
+buildUnnamed960() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed953(core.List<core.String> o) {
+checkUnnamed960(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'));
@@ -1557,7 +1557,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
o.annotationCount = 42;
- o.annotationTypes = buildUnnamed953();
+ o.annotationTypes = buildUnnamed960();
o.annotationsDataLink = "foo";
o.annotationsLink = "foo";
o.contentVersion = "foo";
@@ -1578,7 +1578,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
unittest.expect(o.annotationCount, unittest.equals(42));
- checkUnnamed953(o.annotationTypes);
+ checkUnnamed960(o.annotationTypes);
unittest.expect(o.annotationsDataLink, unittest.equals('foo'));
unittest.expect(o.annotationsLink, unittest.equals('foo'));
unittest.expect(o.contentVersion, unittest.equals('foo'));
@@ -1622,14 +1622,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed954() {
+buildUnnamed961() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed954(core.List<api.MetadataItems> o) {
+checkUnnamed961(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -1640,7 +1640,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed954();
+ o.items = buildUnnamed961();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -1650,20 +1650,20 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed954(o.items);
+ checkUnnamed961(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
}
-buildUnnamed955() {
+buildUnnamed962() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed955(core.List<core.String> o) {
+checkUnnamed962(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'));
@@ -1675,7 +1675,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
o.body = "foo";
- o.crmExperimentIds = buildUnnamed955();
+ o.crmExperimentIds = buildUnnamed962();
o.docId = "foo";
o.docType = "foo";
o.dontShowNotification = true;
@@ -1697,7 +1697,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed955(o.crmExperimentIds);
+ checkUnnamed962(o.crmExperimentIds);
unittest.expect(o.docId, unittest.equals('foo'));
unittest.expect(o.docType, unittest.equals('foo'));
unittest.expect(o.dontShowNotification, unittest.isTrue);
@@ -1743,14 +1743,14 @@
buildCounterOffersItemsItems--;
}
-buildUnnamed956() {
+buildUnnamed963() {
var o = new core.List<api.OffersItemsItems>();
o.add(buildOffersItemsItems());
o.add(buildOffersItemsItems());
return o;
}
-checkUnnamed956(core.List<api.OffersItemsItems> o) {
+checkUnnamed963(core.List<api.OffersItemsItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItemsItems(o[0]);
checkOffersItemsItems(o[1]);
@@ -1764,7 +1764,7 @@
o.artUrl = "foo";
o.gservicesKey = "foo";
o.id = "foo";
- o.items = buildUnnamed956();
+ o.items = buildUnnamed963();
}
buildCounterOffersItems--;
return o;
@@ -1776,19 +1776,19 @@
unittest.expect(o.artUrl, unittest.equals('foo'));
unittest.expect(o.gservicesKey, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed956(o.items);
+ checkUnnamed963(o.items);
}
buildCounterOffersItems--;
}
-buildUnnamed957() {
+buildUnnamed964() {
var o = new core.List<api.OffersItems>();
o.add(buildOffersItems());
o.add(buildOffersItems());
return o;
}
-checkUnnamed957(core.List<api.OffersItems> o) {
+checkUnnamed964(core.List<api.OffersItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItems(o[0]);
checkOffersItems(o[1]);
@@ -1799,7 +1799,7 @@
var o = new api.Offers();
buildCounterOffers++;
if (buildCounterOffers < 3) {
- o.items = buildUnnamed957();
+ o.items = buildUnnamed964();
o.kind = "foo";
}
buildCounterOffers--;
@@ -1809,7 +1809,7 @@
checkOffers(api.Offers o) {
buildCounterOffers++;
if (buildCounterOffers < 3) {
- checkUnnamed957(o.items);
+ checkUnnamed964(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOffers--;
@@ -1976,14 +1976,14 @@
buildCounterSeriesSeries--;
}
-buildUnnamed958() {
+buildUnnamed965() {
var o = new core.List<api.SeriesSeries>();
o.add(buildSeriesSeries());
o.add(buildSeriesSeries());
return o;
}
-checkUnnamed958(core.List<api.SeriesSeries> o) {
+checkUnnamed965(core.List<api.SeriesSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkSeriesSeries(o[0]);
checkSeriesSeries(o[1]);
@@ -1995,7 +1995,7 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
o.kind = "foo";
- o.series = buildUnnamed958();
+ o.series = buildUnnamed965();
}
buildCounterSeries--;
return o;
@@ -2005,19 +2005,19 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed958(o.series);
+ checkUnnamed965(o.series);
}
buildCounterSeries--;
}
-buildUnnamed959() {
+buildUnnamed966() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed959(core.List<api.Volume> o) {
+checkUnnamed966(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -2029,7 +2029,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
o.kind = "foo";
- o.member = buildUnnamed959();
+ o.member = buildUnnamed966();
o.nextPageToken = "foo";
}
buildCounterSeriesmembership--;
@@ -2040,7 +2040,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed959(o.member);
+ checkUnnamed966(o.member);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSeriesmembership--;
@@ -2285,14 +2285,14 @@
buildCounterVolumeLayerInfoLayers--;
}
-buildUnnamed960() {
+buildUnnamed967() {
var o = new core.List<api.VolumeLayerInfoLayers>();
o.add(buildVolumeLayerInfoLayers());
o.add(buildVolumeLayerInfoLayers());
return o;
}
-checkUnnamed960(core.List<api.VolumeLayerInfoLayers> o) {
+checkUnnamed967(core.List<api.VolumeLayerInfoLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeLayerInfoLayers(o[0]);
checkVolumeLayerInfoLayers(o[1]);
@@ -2303,7 +2303,7 @@
var o = new api.VolumeLayerInfo();
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- o.layers = buildUnnamed960();
+ o.layers = buildUnnamed967();
}
buildCounterVolumeLayerInfo--;
return o;
@@ -2312,7 +2312,7 @@
checkVolumeLayerInfo(api.VolumeLayerInfo o) {
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- checkUnnamed960(o.layers);
+ checkUnnamed967(o.layers);
}
buildCounterVolumeLayerInfo--;
}
@@ -2448,14 +2448,14 @@
buildCounterVolumeSaleInfoOffers--;
}
-buildUnnamed961() {
+buildUnnamed968() {
var o = new core.List<api.VolumeSaleInfoOffers>();
o.add(buildVolumeSaleInfoOffers());
o.add(buildVolumeSaleInfoOffers());
return o;
}
-checkUnnamed961(core.List<api.VolumeSaleInfoOffers> o) {
+checkUnnamed968(core.List<api.VolumeSaleInfoOffers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeSaleInfoOffers(o[0]);
checkVolumeSaleInfoOffers(o[1]);
@@ -2491,7 +2491,7 @@
o.country = "foo";
o.isEbook = true;
o.listPrice = buildVolumeSaleInfoListPrice();
- o.offers = buildUnnamed961();
+ o.offers = buildUnnamed968();
o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02");
o.retailPrice = buildVolumeSaleInfoRetailPrice();
o.saleability = "foo";
@@ -2507,7 +2507,7 @@
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.isEbook, unittest.isTrue);
checkVolumeSaleInfoListPrice(o.listPrice);
- checkUnnamed961(o.offers);
+ checkUnnamed968(o.offers);
unittest.expect(o.onSaleDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkVolumeSaleInfoRetailPrice(o.retailPrice);
@@ -2682,27 +2682,27 @@
buildCounterVolumeUserInfo--;
}
-buildUnnamed962() {
+buildUnnamed969() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed962(core.List<core.String> o) {
+checkUnnamed969(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'));
}
-buildUnnamed963() {
+buildUnnamed970() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed963(core.List<core.String> o) {
+checkUnnamed970(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'));
@@ -2782,14 +2782,14 @@
buildCounterVolumeVolumeInfoIndustryIdentifiers--;
}
-buildUnnamed964() {
+buildUnnamed971() {
var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
return o;
}
-checkUnnamed964(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
+checkUnnamed971(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeVolumeInfoIndustryIdentifiers(o[0]);
checkVolumeVolumeInfoIndustryIdentifiers(o[1]);
@@ -2827,15 +2827,15 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
o.allowAnonLogging = true;
- o.authors = buildUnnamed962();
+ o.authors = buildUnnamed969();
o.averageRating = 42.0;
o.canonicalVolumeLink = "foo";
- o.categories = buildUnnamed963();
+ o.categories = buildUnnamed970();
o.contentVersion = "foo";
o.description = "foo";
o.dimensions = buildVolumeVolumeInfoDimensions();
o.imageLinks = buildVolumeVolumeInfoImageLinks();
- o.industryIdentifiers = buildUnnamed964();
+ o.industryIdentifiers = buildUnnamed971();
o.infoLink = "foo";
o.language = "foo";
o.mainCategory = "foo";
@@ -2866,15 +2866,15 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
unittest.expect(o.allowAnonLogging, unittest.isTrue);
- checkUnnamed962(o.authors);
+ checkUnnamed969(o.authors);
unittest.expect(o.averageRating, unittest.equals(42.0));
unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
- checkUnnamed963(o.categories);
+ checkUnnamed970(o.categories);
unittest.expect(o.contentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
checkVolumeVolumeInfoDimensions(o.dimensions);
checkVolumeVolumeInfoImageLinks(o.imageLinks);
- checkUnnamed964(o.industryIdentifiers);
+ checkUnnamed971(o.industryIdentifiers);
unittest.expect(o.infoLink, unittest.equals('foo'));
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mainCategory, unittest.equals('foo'));
@@ -2939,14 +2939,14 @@
buildCounterVolume--;
}
-buildUnnamed965() {
+buildUnnamed972() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed965(core.List<api.Volume> o) {
+checkUnnamed972(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -2957,7 +2957,7 @@
var o = new api.Volume2();
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- o.items = buildUnnamed965();
+ o.items = buildUnnamed972();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2968,7 +2968,7 @@
checkVolume2(api.Volume2 o) {
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- checkUnnamed965(o.items);
+ checkUnnamed972(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3000,14 +3000,14 @@
buildCounterVolumeannotationContentRanges--;
}
-buildUnnamed966() {
+buildUnnamed973() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed966(core.List<core.String> o) {
+checkUnnamed973(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'));
@@ -3027,7 +3027,7 @@
o.id = "foo";
o.kind = "foo";
o.layerId = "foo";
- o.pageIds = buildUnnamed966();
+ o.pageIds = buildUnnamed973();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -3049,7 +3049,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
- checkUnnamed966(o.pageIds);
+ checkUnnamed973(o.pageIds);
unittest.expect(o.selectedText, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(
@@ -3059,14 +3059,14 @@
buildCounterVolumeannotation--;
}
-buildUnnamed967() {
+buildUnnamed974() {
var o = new core.List<api.Volumeannotation>();
o.add(buildVolumeannotation());
o.add(buildVolumeannotation());
return o;
}
-checkUnnamed967(core.List<api.Volumeannotation> o) {
+checkUnnamed974(core.List<api.Volumeannotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeannotation(o[0]);
checkVolumeannotation(o[1]);
@@ -3077,7 +3077,7 @@
var o = new api.Volumeannotations();
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- o.items = buildUnnamed967();
+ o.items = buildUnnamed974();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -3090,7 +3090,7 @@
checkVolumeannotations(api.Volumeannotations o) {
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- checkUnnamed967(o.items);
+ checkUnnamed974(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -3099,14 +3099,14 @@
buildCounterVolumeannotations--;
}
-buildUnnamed968() {
+buildUnnamed975() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed968(core.List<api.Volume> o) {
+checkUnnamed975(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -3117,7 +3117,7 @@
var o = new api.Volumes();
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- o.items = buildUnnamed968();
+ o.items = buildUnnamed975();
o.kind = "foo";
o.totalItems = 42;
}
@@ -3128,7 +3128,7 @@
checkVolumes(api.Volumes o) {
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- checkUnnamed968(o.items);
+ checkUnnamed975(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -3157,14 +3157,14 @@
buildCounterVolumeseriesinfoVolumeSeriesIssue--;
}
-buildUnnamed969() {
+buildUnnamed976() {
var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>();
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
return o;
}
-checkUnnamed969(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
+checkUnnamed976(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeriesIssue(o[0]);
checkVolumeseriesinfoVolumeSeriesIssue(o[1]);
@@ -3175,7 +3175,7 @@
var o = new api.VolumeseriesinfoVolumeSeries();
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- o.issue = buildUnnamed969();
+ o.issue = buildUnnamed976();
o.orderNumber = 42;
o.seriesBookType = "foo";
o.seriesId = "foo";
@@ -3187,7 +3187,7 @@
checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) {
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- checkUnnamed969(o.issue);
+ checkUnnamed976(o.issue);
unittest.expect(o.orderNumber, unittest.equals(42));
unittest.expect(o.seriesBookType, unittest.equals('foo'));
unittest.expect(o.seriesId, unittest.equals('foo'));
@@ -3195,14 +3195,14 @@
buildCounterVolumeseriesinfoVolumeSeries--;
}
-buildUnnamed970() {
+buildUnnamed977() {
var o = new core.List<api.VolumeseriesinfoVolumeSeries>();
o.add(buildVolumeseriesinfoVolumeSeries());
o.add(buildVolumeseriesinfoVolumeSeries());
return o;
}
-checkUnnamed970(core.List<api.VolumeseriesinfoVolumeSeries> o) {
+checkUnnamed977(core.List<api.VolumeseriesinfoVolumeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeries(o[0]);
checkVolumeseriesinfoVolumeSeries(o[1]);
@@ -3216,7 +3216,7 @@
o.bookDisplayNumber = "foo";
o.kind = "foo";
o.shortSeriesBookTitle = "foo";
- o.volumeSeries = buildUnnamed970();
+ o.volumeSeries = buildUnnamed977();
}
buildCounterVolumeseriesinfo--;
return o;
@@ -3228,102 +3228,11 @@
unittest.expect(o.bookDisplayNumber, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo'));
- checkUnnamed970(o.volumeSeries);
+ checkUnnamed977(o.volumeSeries);
}
buildCounterVolumeseriesinfo--;
}
-buildUnnamed971() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed971(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'));
-}
-
-buildUnnamed972() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed972(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'));
-}
-
-buildUnnamed973() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed973(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'));
-}
-
-buildUnnamed974() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed974(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'));
-}
-
-buildUnnamed975() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed975(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'));
-}
-
-buildUnnamed976() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed976(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'));
-}
-
-buildUnnamed977() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed977(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'));
-}
-
buildUnnamed978() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3389,6 +3298,97 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed983() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed983(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'));
+}
+
+buildUnnamed984() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed984(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'));
+}
+
+buildUnnamed985() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed985(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'));
+}
+
+buildUnnamed986() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed986(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'));
+}
+
+buildUnnamed987() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed987(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'));
+}
+
+buildUnnamed988() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed988(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'));
+}
+
+buildUnnamed989() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed989(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'));
+}
+
main() {
unittest.group("obj-schema-AnnotationClientVersionRanges", () {
unittest.test("to-json--from-json", () {
@@ -4951,7 +4951,7 @@
var arg_volumeId = "foo";
var arg_layerId = "foo";
var arg_contentVersion = "foo";
- var arg_annotationDataId = buildUnnamed971();
+ var arg_annotationDataId = buildUnnamed978();
var arg_h = 42;
var arg_locale = "foo";
var arg_maxResults = 42;
@@ -5317,7 +5317,7 @@
unittest.test("method--releaseDownloadAccess", () {
var mock = new HttpServerMock();
api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
- var arg_volumeIds = buildUnnamed972();
+ var arg_volumeIds = buildUnnamed979();
var arg_cpksver = "foo";
var arg_locale = "foo";
var arg_source = "foo";
@@ -5452,11 +5452,11 @@
var arg_source = "foo";
var arg_nonce = "foo";
var arg_cpksver = "foo";
- var arg_features = buildUnnamed973();
+ var arg_features = buildUnnamed980();
var arg_includeNonComicsSeries = true;
var arg_locale = "foo";
var arg_showPreorders = true;
- var arg_volumeIds = buildUnnamed974();
+ var arg_volumeIds = buildUnnamed981();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5717,7 +5717,7 @@
new api.BooksApi(mock).mylibrary.annotations;
var arg_contentVersion = "foo";
var arg_layerId = "foo";
- var arg_layerIds = buildUnnamed975();
+ var arg_layerIds = buildUnnamed982();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_showDeleted = true;
@@ -5807,7 +5807,7 @@
var mock = new HttpServerMock();
api.MylibraryAnnotationsResourceApi res =
new api.BooksApi(mock).mylibrary.annotations;
- var arg_layerIds = buildUnnamed976();
+ var arg_layerIds = buildUnnamed983();
var arg_volumeId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6674,7 +6674,7 @@
unittest.test("method--listCategoryVolumes", () {
var mock = new HttpServerMock();
api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding;
- var arg_categoryId = buildUnnamed977();
+ var arg_categoryId = buildUnnamed984();
var arg_locale = "foo";
var arg_maxAllowedMaturityRating = "foo";
var arg_pageSize = 42;
@@ -7046,7 +7046,7 @@
unittest.test("method--get", () {
var mock = new HttpServerMock();
api.SeriesResourceApi res = new api.BooksApi(mock).series;
- var arg_seriesId = buildUnnamed978();
+ var arg_seriesId = buildUnnamed985();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7437,11 +7437,11 @@
var mock = new HttpServerMock();
api.VolumesMybooksResourceApi res =
new api.BooksApi(mock).volumes.mybooks;
- var arg_acquireMethod = buildUnnamed979();
+ var arg_acquireMethod = buildUnnamed986();
var arg_country = "foo";
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed980();
+ var arg_processingState = buildUnnamed987();
var arg_source = "foo";
var arg_startIndex = 42;
var arg_$fields = "foo";
@@ -7652,10 +7652,10 @@
new api.BooksApi(mock).volumes.useruploaded;
var arg_locale = "foo";
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed981();
+ var arg_processingState = buildUnnamed988();
var arg_source = "foo";
var arg_startIndex = 42;
- var arg_volumeId = buildUnnamed982();
+ var arg_volumeId = buildUnnamed989();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart
index dc12a60..d0fde51 100644
--- a/generated/googleapis/test/calendar/v3_test.dart
+++ b/generated/googleapis/test/calendar/v3_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1145() {
+buildUnnamed1152() {
var o = new core.List<api.AclRule>();
o.add(buildAclRule());
o.add(buildAclRule());
return o;
}
-checkUnnamed1145(core.List<api.AclRule> o) {
+checkUnnamed1152(core.List<api.AclRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAclRule(o[0]);
checkAclRule(o[1]);
@@ -69,7 +69,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.etag = "foo";
- o.items = buildUnnamed1145();
+ o.items = buildUnnamed1152();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -82,7 +82,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1145(o.items);
+ checkUnnamed1152(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -169,14 +169,14 @@
buildCounterCalendar--;
}
-buildUnnamed1146() {
+buildUnnamed1153() {
var o = new core.List<api.CalendarListEntry>();
o.add(buildCalendarListEntry());
o.add(buildCalendarListEntry());
return o;
}
-checkUnnamed1146(core.List<api.CalendarListEntry> o) {
+checkUnnamed1153(core.List<api.CalendarListEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarListEntry(o[0]);
checkCalendarListEntry(o[1]);
@@ -188,7 +188,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1146();
+ o.items = buildUnnamed1153();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -201,7 +201,7 @@
buildCounterCalendarList++;
if (buildCounterCalendarList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1146(o.items);
+ checkUnnamed1153(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -209,27 +209,27 @@
buildCounterCalendarList--;
}
-buildUnnamed1147() {
+buildUnnamed1154() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1147(core.List<api.EventReminder> o) {
+checkUnnamed1154(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed1148() {
+buildUnnamed1155() {
var o = new core.List<api.CalendarNotification>();
o.add(buildCalendarNotification());
o.add(buildCalendarNotification());
return o;
}
-checkUnnamed1148(core.List<api.CalendarNotification> o) {
+checkUnnamed1155(core.List<api.CalendarNotification> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarNotification(o[0]);
checkCalendarNotification(o[1]);
@@ -240,7 +240,7 @@
var o = new api.CalendarListEntryNotificationSettings();
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- o.notifications = buildUnnamed1148();
+ o.notifications = buildUnnamed1155();
}
buildCounterCalendarListEntryNotificationSettings--;
return o;
@@ -250,7 +250,7 @@
api.CalendarListEntryNotificationSettings o) {
buildCounterCalendarListEntryNotificationSettings++;
if (buildCounterCalendarListEntryNotificationSettings < 3) {
- checkUnnamed1148(o.notifications);
+ checkUnnamed1155(o.notifications);
}
buildCounterCalendarListEntryNotificationSettings--;
}
@@ -263,7 +263,7 @@
o.accessRole = "foo";
o.backgroundColor = "foo";
o.colorId = "foo";
- o.defaultReminders = buildUnnamed1147();
+ o.defaultReminders = buildUnnamed1154();
o.deleted = true;
o.description = "foo";
o.etag = "foo";
@@ -289,7 +289,7 @@
unittest.expect(o.accessRole, unittest.equals('foo'));
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.colorId, unittest.equals('foo'));
- checkUnnamed1147(o.defaultReminders);
+ checkUnnamed1154(o.defaultReminders);
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
@@ -329,14 +329,14 @@
buildCounterCalendarNotification--;
}
-buildUnnamed1149() {
+buildUnnamed1156() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1149(core.Map<core.String, core.String> o) {
+checkUnnamed1156(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -351,7 +351,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1149();
+ o.params = buildUnnamed1156();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -369,7 +369,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1149(o.params);
+ checkUnnamed1156(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -400,27 +400,27 @@
buildCounterColorDefinition--;
}
-buildUnnamed1150() {
+buildUnnamed1157() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed1150(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed1157(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
}
-buildUnnamed1151() {
+buildUnnamed1158() {
var o = new core.Map<core.String, api.ColorDefinition>();
o["x"] = buildColorDefinition();
o["y"] = buildColorDefinition();
return o;
}
-checkUnnamed1151(core.Map<core.String, api.ColorDefinition> o) {
+checkUnnamed1158(core.Map<core.String, api.ColorDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorDefinition(o["x"]);
checkColorDefinition(o["y"]);
@@ -431,8 +431,8 @@
var o = new api.Colors();
buildCounterColors++;
if (buildCounterColors < 3) {
- o.calendar = buildUnnamed1150();
- o.event = buildUnnamed1151();
+ o.calendar = buildUnnamed1157();
+ o.event = buildUnnamed1158();
o.kind = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
}
@@ -443,8 +443,8 @@
checkColors(api.Colors o) {
buildCounterColors++;
if (buildCounterColors < 3) {
- checkUnnamed1150(o.calendar);
- checkUnnamed1151(o.event);
+ checkUnnamed1157(o.calendar);
+ checkUnnamed1158(o.event);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -473,27 +473,27 @@
buildCounterError--;
}
-buildUnnamed1152() {
+buildUnnamed1159() {
var o = new core.List<api.EventAttachment>();
o.add(buildEventAttachment());
o.add(buildEventAttachment());
return o;
}
-checkUnnamed1152(core.List<api.EventAttachment> o) {
+checkUnnamed1159(core.List<api.EventAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttachment(o[0]);
checkEventAttachment(o[1]);
}
-buildUnnamed1153() {
+buildUnnamed1160() {
var o = new core.List<api.EventAttendee>();
o.add(buildEventAttendee());
o.add(buildEventAttendee());
return o;
}
-checkUnnamed1153(core.List<api.EventAttendee> o) {
+checkUnnamed1160(core.List<api.EventAttendee> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventAttendee(o[0]);
checkEventAttendee(o[1]);
@@ -524,27 +524,27 @@
buildCounterEventCreator--;
}
-buildUnnamed1154() {
+buildUnnamed1161() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1154(core.Map<core.String, core.String> o) {
+checkUnnamed1161(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1155() {
+buildUnnamed1162() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1155(core.Map<core.String, core.String> o) {
+checkUnnamed1162(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -555,8 +555,8 @@
var o = new api.EventExtendedProperties();
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- o.private = buildUnnamed1154();
- o.shared = buildUnnamed1155();
+ o.private = buildUnnamed1161();
+ o.shared = buildUnnamed1162();
}
buildCounterEventExtendedProperties--;
return o;
@@ -565,20 +565,20 @@
checkEventExtendedProperties(api.EventExtendedProperties o) {
buildCounterEventExtendedProperties++;
if (buildCounterEventExtendedProperties < 3) {
- checkUnnamed1154(o.private);
- checkUnnamed1155(o.shared);
+ checkUnnamed1161(o.private);
+ checkUnnamed1162(o.shared);
}
buildCounterEventExtendedProperties--;
}
-buildUnnamed1156() {
+buildUnnamed1163() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1156(core.Map<core.String, core.String> o) {
+checkUnnamed1163(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -593,7 +593,7 @@
o.height = 42;
o.iconLink = "foo";
o.link = "foo";
- o.preferences = buildUnnamed1156();
+ o.preferences = buildUnnamed1163();
o.title = "foo";
o.type = "foo";
o.width = 42;
@@ -609,7 +609,7 @@
unittest.expect(o.height, unittest.equals(42));
unittest.expect(o.iconLink, unittest.equals('foo'));
unittest.expect(o.link, unittest.equals('foo'));
- checkUnnamed1156(o.preferences);
+ checkUnnamed1163(o.preferences);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -642,27 +642,27 @@
buildCounterEventOrganizer--;
}
-buildUnnamed1157() {
+buildUnnamed1164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1157(core.List<core.String> o) {
+checkUnnamed1164(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'));
}
-buildUnnamed1158() {
+buildUnnamed1165() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1158(core.List<api.EventReminder> o) {
+checkUnnamed1165(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
@@ -673,7 +673,7 @@
var o = new api.EventReminders();
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- o.overrides = buildUnnamed1158();
+ o.overrides = buildUnnamed1165();
o.useDefault = true;
}
buildCounterEventReminders--;
@@ -683,7 +683,7 @@
checkEventReminders(api.EventReminders o) {
buildCounterEventReminders++;
if (buildCounterEventReminders < 3) {
- checkUnnamed1158(o.overrides);
+ checkUnnamed1165(o.overrides);
unittest.expect(o.useDefault, unittest.isTrue);
}
buildCounterEventReminders--;
@@ -716,8 +716,8 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
o.anyoneCanAddSelf = true;
- o.attachments = buildUnnamed1152();
- o.attendees = buildUnnamed1153();
+ o.attachments = buildUnnamed1159();
+ o.attendees = buildUnnamed1160();
o.attendeesOmitted = true;
o.colorId = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -741,7 +741,7 @@
o.organizer = buildEventOrganizer();
o.originalStartTime = buildEventDateTime();
o.privateCopy = true;
- o.recurrence = buildUnnamed1157();
+ o.recurrence = buildUnnamed1164();
o.recurringEventId = "foo";
o.reminders = buildEventReminders();
o.sequence = 42;
@@ -761,8 +761,8 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
unittest.expect(o.anyoneCanAddSelf, unittest.isTrue);
- checkUnnamed1152(o.attachments);
- checkUnnamed1153(o.attendees);
+ checkUnnamed1159(o.attachments);
+ checkUnnamed1160(o.attendees);
unittest.expect(o.attendeesOmitted, unittest.isTrue);
unittest.expect(o.colorId, unittest.equals('foo'));
unittest.expect(
@@ -787,7 +787,7 @@
checkEventOrganizer(o.organizer);
checkEventDateTime(o.originalStartTime);
unittest.expect(o.privateCopy, unittest.isTrue);
- checkUnnamed1157(o.recurrence);
+ checkUnnamed1164(o.recurrence);
unittest.expect(o.recurringEventId, unittest.equals('foo'));
checkEventReminders(o.reminders);
unittest.expect(o.sequence, unittest.equals(42));
@@ -913,27 +913,27 @@
buildCounterEventReminder--;
}
-buildUnnamed1159() {
+buildUnnamed1166() {
var o = new core.List<api.EventReminder>();
o.add(buildEventReminder());
o.add(buildEventReminder());
return o;
}
-checkUnnamed1159(core.List<api.EventReminder> o) {
+checkUnnamed1166(core.List<api.EventReminder> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventReminder(o[0]);
checkEventReminder(o[1]);
}
-buildUnnamed1160() {
+buildUnnamed1167() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1160(core.List<api.Event> o) {
+checkUnnamed1167(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
@@ -945,10 +945,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
o.accessRole = "foo";
- o.defaultReminders = buildUnnamed1159();
+ o.defaultReminders = buildUnnamed1166();
o.description = "foo";
o.etag = "foo";
- o.items = buildUnnamed1160();
+ o.items = buildUnnamed1167();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -964,10 +964,10 @@
buildCounterEvents++;
if (buildCounterEvents < 3) {
unittest.expect(o.accessRole, unittest.equals('foo'));
- checkUnnamed1159(o.defaultReminders);
+ checkUnnamed1166(o.defaultReminders);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1160(o.items);
+ checkUnnamed1167(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -979,27 +979,27 @@
buildCounterEvents--;
}
-buildUnnamed1161() {
+buildUnnamed1168() {
var o = new core.List<api.TimePeriod>();
o.add(buildTimePeriod());
o.add(buildTimePeriod());
return o;
}
-checkUnnamed1161(core.List<api.TimePeriod> o) {
+checkUnnamed1168(core.List<api.TimePeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimePeriod(o[0]);
checkTimePeriod(o[1]);
}
-buildUnnamed1162() {
+buildUnnamed1169() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1162(core.List<api.Error> o) {
+checkUnnamed1169(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1010,8 +1010,8 @@
var o = new api.FreeBusyCalendar();
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- o.busy = buildUnnamed1161();
- o.errors = buildUnnamed1162();
+ o.busy = buildUnnamed1168();
+ o.errors = buildUnnamed1169();
}
buildCounterFreeBusyCalendar--;
return o;
@@ -1020,33 +1020,33 @@
checkFreeBusyCalendar(api.FreeBusyCalendar o) {
buildCounterFreeBusyCalendar++;
if (buildCounterFreeBusyCalendar < 3) {
- checkUnnamed1161(o.busy);
- checkUnnamed1162(o.errors);
+ checkUnnamed1168(o.busy);
+ checkUnnamed1169(o.errors);
}
buildCounterFreeBusyCalendar--;
}
-buildUnnamed1163() {
+buildUnnamed1170() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1163(core.List<core.String> o) {
+checkUnnamed1170(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'));
}
-buildUnnamed1164() {
+buildUnnamed1171() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1164(core.List<api.Error> o) {
+checkUnnamed1171(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1057,8 +1057,8 @@
var o = new api.FreeBusyGroup();
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- o.calendars = buildUnnamed1163();
- o.errors = buildUnnamed1164();
+ o.calendars = buildUnnamed1170();
+ o.errors = buildUnnamed1171();
}
buildCounterFreeBusyGroup--;
return o;
@@ -1067,20 +1067,20 @@
checkFreeBusyGroup(api.FreeBusyGroup o) {
buildCounterFreeBusyGroup++;
if (buildCounterFreeBusyGroup < 3) {
- checkUnnamed1163(o.calendars);
- checkUnnamed1164(o.errors);
+ checkUnnamed1170(o.calendars);
+ checkUnnamed1171(o.errors);
}
buildCounterFreeBusyGroup--;
}
-buildUnnamed1165() {
+buildUnnamed1172() {
var o = new core.List<api.FreeBusyRequestItem>();
o.add(buildFreeBusyRequestItem());
o.add(buildFreeBusyRequestItem());
return o;
}
-checkUnnamed1165(core.List<api.FreeBusyRequestItem> o) {
+checkUnnamed1172(core.List<api.FreeBusyRequestItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyRequestItem(o[0]);
checkFreeBusyRequestItem(o[1]);
@@ -1093,7 +1093,7 @@
if (buildCounterFreeBusyRequest < 3) {
o.calendarExpansionMax = 42;
o.groupExpansionMax = 42;
- o.items = buildUnnamed1165();
+ o.items = buildUnnamed1172();
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
o.timeZone = "foo";
@@ -1107,7 +1107,7 @@
if (buildCounterFreeBusyRequest < 3) {
unittest.expect(o.calendarExpansionMax, unittest.equals(42));
unittest.expect(o.groupExpansionMax, unittest.equals(42));
- checkUnnamed1165(o.items);
+ checkUnnamed1172(o.items);
unittest.expect(
o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(
@@ -1136,27 +1136,27 @@
buildCounterFreeBusyRequestItem--;
}
-buildUnnamed1166() {
+buildUnnamed1173() {
var o = new core.Map<core.String, api.FreeBusyCalendar>();
o["x"] = buildFreeBusyCalendar();
o["y"] = buildFreeBusyCalendar();
return o;
}
-checkUnnamed1166(core.Map<core.String, api.FreeBusyCalendar> o) {
+checkUnnamed1173(core.Map<core.String, api.FreeBusyCalendar> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyCalendar(o["x"]);
checkFreeBusyCalendar(o["y"]);
}
-buildUnnamed1167() {
+buildUnnamed1174() {
var o = new core.Map<core.String, api.FreeBusyGroup>();
o["x"] = buildFreeBusyGroup();
o["y"] = buildFreeBusyGroup();
return o;
}
-checkUnnamed1167(core.Map<core.String, api.FreeBusyGroup> o) {
+checkUnnamed1174(core.Map<core.String, api.FreeBusyGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreeBusyGroup(o["x"]);
checkFreeBusyGroup(o["y"]);
@@ -1167,8 +1167,8 @@
var o = new api.FreeBusyResponse();
buildCounterFreeBusyResponse++;
if (buildCounterFreeBusyResponse < 3) {
- o.calendars = buildUnnamed1166();
- o.groups = buildUnnamed1167();
+ o.calendars = buildUnnamed1173();
+ o.groups = buildUnnamed1174();
o.kind = "foo";
o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1180,8 +1180,8 @@
checkFreeBusyResponse(api.FreeBusyResponse o) {
buildCounterFreeBusyResponse++;
if (buildCounterFreeBusyResponse < 3) {
- checkUnnamed1166(o.calendars);
- checkUnnamed1167(o.groups);
+ checkUnnamed1173(o.calendars);
+ checkUnnamed1174(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(
o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -1216,14 +1216,14 @@
buildCounterSetting--;
}
-buildUnnamed1168() {
+buildUnnamed1175() {
var o = new core.List<api.Setting>();
o.add(buildSetting());
o.add(buildSetting());
return o;
}
-checkUnnamed1168(core.List<api.Setting> o) {
+checkUnnamed1175(core.List<api.Setting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetting(o[0]);
checkSetting(o[1]);
@@ -1235,7 +1235,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
o.etag = "foo";
- o.items = buildUnnamed1168();
+ o.items = buildUnnamed1175();
o.kind = "foo";
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
@@ -1248,7 +1248,7 @@
buildCounterSettings++;
if (buildCounterSettings < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1168(o.items);
+ checkUnnamed1175(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
@@ -1279,53 +1279,53 @@
buildCounterTimePeriod--;
}
-buildUnnamed1169() {
+buildUnnamed1176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1169(core.List<core.String> o) {
+checkUnnamed1176(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'));
}
-buildUnnamed1170() {
+buildUnnamed1177() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1170(core.List<core.String> o) {
+checkUnnamed1177(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'));
}
-buildUnnamed1171() {
+buildUnnamed1178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1171(core.List<core.String> o) {
+checkUnnamed1178(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'));
}
-buildUnnamed1172() {
+buildUnnamed1179() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1172(core.List<core.String> o) {
+checkUnnamed1179(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'));
@@ -3434,9 +3434,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed1169();
+ var arg_privateExtendedProperty = buildUnnamed1176();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed1170();
+ var arg_sharedExtendedProperty = buildUnnamed1177();
var arg_showDeleted = true;
var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
@@ -3886,9 +3886,9 @@
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_privateExtendedProperty = buildUnnamed1171();
+ var arg_privateExtendedProperty = buildUnnamed1178();
var arg_q = "foo";
- var arg_sharedExtendedProperty = buildUnnamed1172();
+ var arg_sharedExtendedProperty = buildUnnamed1179();
var arg_showDeleted = true;
var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart
index 4e6910f..6619b6e 100644
--- a/generated/googleapis/test/civicinfo/v2_test.dart
+++ b/generated/googleapis/test/civicinfo/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2601() {
+buildUnnamed2607() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2601(core.List<api.Source> o) {
+checkUnnamed2607(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -72,7 +72,7 @@
o.id = "foo";
o.localJurisdiction = buildAdministrationRegion();
o.name = "foo";
- o.sources = buildUnnamed2601();
+ o.sources = buildUnnamed2607();
}
buildCounterAdministrationRegion--;
return o;
@@ -85,45 +85,45 @@
unittest.expect(o.id, unittest.equals('foo'));
checkAdministrationRegion(o.localJurisdiction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2601(o.sources);
+ checkUnnamed2607(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed2602() {
+buildUnnamed2608() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2602(core.List<core.String> o) {
+checkUnnamed2608(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'));
}
-buildUnnamed2603() {
+buildUnnamed2609() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed2603(core.List<api.ElectionOfficial> o) {
+checkUnnamed2609(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed2604() {
+buildUnnamed2610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2604(core.List<core.String> o) {
+checkUnnamed2610(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'));
@@ -135,18 +135,18 @@
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
o.absenteeVotingInfoUrl = "foo";
- o.addressLines = buildUnnamed2602();
+ o.addressLines = buildUnnamed2608();
o.ballotInfoUrl = "foo";
o.correspondenceAddress = buildSimpleAddressType();
o.electionInfoUrl = "foo";
- o.electionOfficials = buildUnnamed2603();
+ o.electionOfficials = buildUnnamed2609();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed2604();
+ o.voterServices = buildUnnamed2610();
o.votingLocationFinderUrl = "foo";
}
buildCounterAdministrativeBody--;
@@ -157,11 +157,11 @@
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
- checkUnnamed2602(o.addressLines);
+ checkUnnamed2608(o.addressLines);
unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
checkSimpleAddressType(o.correspondenceAddress);
unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
- checkUnnamed2603(o.electionOfficials);
+ checkUnnamed2609(o.electionOfficials);
unittest.expect(
o.electionRegistrationConfirmationUrl, unittest.equals('foo'));
unittest.expect(o.electionRegistrationUrl, unittest.equals('foo'));
@@ -169,20 +169,20 @@
unittest.expect(o.hoursOfOperation, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkSimpleAddressType(o.physicalAddress);
- checkUnnamed2604(o.voterServices);
+ checkUnnamed2610(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed2605() {
+buildUnnamed2611() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2605(core.List<api.Channel> o) {
+checkUnnamed2611(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -194,7 +194,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
o.candidateUrl = "foo";
- o.channels = buildUnnamed2605();
+ o.channels = buildUnnamed2611();
o.email = "foo";
o.name = "foo";
o.orderOnBallot = "foo";
@@ -210,7 +210,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
unittest.expect(o.candidateUrl, unittest.equals('foo'));
- checkUnnamed2605(o.channels);
+ checkUnnamed2611(o.channels);
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.orderOnBallot, unittest.equals('foo'));
@@ -242,66 +242,66 @@
buildCounterChannel--;
}
-buildUnnamed2606() {
+buildUnnamed2612() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed2606(core.List<api.Candidate> o) {
+checkUnnamed2612(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed2607() {
+buildUnnamed2613() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2607(core.List<core.String> o) {
+checkUnnamed2613(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'));
}
-buildUnnamed2608() {
+buildUnnamed2614() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2608(core.List<core.String> o) {
+checkUnnamed2614(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'));
}
-buildUnnamed2609() {
+buildUnnamed2615() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2609(core.List<core.String> o) {
+checkUnnamed2615(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'));
}
-buildUnnamed2610() {
+buildUnnamed2616() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2610(core.List<api.Source> o) {
+checkUnnamed2616(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -313,16 +313,16 @@
buildCounterContest++;
if (buildCounterContest < 3) {
o.ballotPlacement = "foo";
- o.candidates = buildUnnamed2606();
+ o.candidates = buildUnnamed2612();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
- o.level = buildUnnamed2607();
+ o.level = buildUnnamed2613();
o.numberElected = "foo";
o.numberVotingFor = "foo";
o.office = "foo";
o.primaryParty = "foo";
- o.referendumBallotResponses = buildUnnamed2608();
+ o.referendumBallotResponses = buildUnnamed2614();
o.referendumBrief = "foo";
o.referendumConStatement = "foo";
o.referendumEffectOfAbstain = "foo";
@@ -332,8 +332,8 @@
o.referendumText = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.roles = buildUnnamed2609();
- o.sources = buildUnnamed2610();
+ o.roles = buildUnnamed2615();
+ o.sources = buildUnnamed2616();
o.special = "foo";
o.type = "foo";
}
@@ -345,16 +345,16 @@
buildCounterContest++;
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
- checkUnnamed2606(o.candidates);
+ checkUnnamed2612(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2607(o.level);
+ checkUnnamed2613(o.level);
unittest.expect(o.numberElected, unittest.equals('foo'));
unittest.expect(o.numberVotingFor, unittest.equals('foo'));
unittest.expect(o.office, unittest.equals('foo'));
unittest.expect(o.primaryParty, unittest.equals('foo'));
- checkUnnamed2608(o.referendumBallotResponses);
+ checkUnnamed2614(o.referendumBallotResponses);
unittest.expect(o.referendumBrief, unittest.equals('foo'));
unittest.expect(o.referendumConStatement, unittest.equals('foo'));
unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
@@ -364,8 +364,8 @@
unittest.expect(o.referendumText, unittest.equals('foo'));
unittest.expect(o.referendumTitle, unittest.equals('foo'));
unittest.expect(o.referendumUrl, unittest.equals('foo'));
- checkUnnamed2609(o.roles);
- checkUnnamed2610(o.sources);
+ checkUnnamed2615(o.roles);
+ checkUnnamed2616(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -430,14 +430,14 @@
buildCounterDivisionSearchRequest--;
}
-buildUnnamed2611() {
+buildUnnamed2617() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed2611(core.List<api.DivisionSearchResult> o) {
+checkUnnamed2617(core.List<api.DivisionSearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkDivisionSearchResult(o[0]);
checkDivisionSearchResult(o[1]);
@@ -449,7 +449,7 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed2611();
+ o.results = buildUnnamed2617();
}
buildCounterDivisionSearchResponse--;
return o;
@@ -459,19 +459,19 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2611(o.results);
+ checkUnnamed2617(o.results);
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed2612() {
+buildUnnamed2618() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2612(core.List<core.String> o) {
+checkUnnamed2618(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'));
@@ -482,7 +482,7 @@
var o = new api.DivisionSearchResult();
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- o.aliases = buildUnnamed2612();
+ o.aliases = buildUnnamed2618();
o.name = "foo";
o.ocdId = "foo";
}
@@ -493,7 +493,7 @@
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed2612(o.aliases);
+ checkUnnamed2618(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -571,14 +571,14 @@
buildCounterElectionsQueryRequest--;
}
-buildUnnamed2613() {
+buildUnnamed2619() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2613(core.List<api.Election> o) {
+checkUnnamed2619(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
@@ -589,7 +589,7 @@
var o = new api.ElectionsQueryResponse();
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- o.elections = buildUnnamed2613();
+ o.elections = buildUnnamed2619();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -599,7 +599,7 @@
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed2613(o.elections);
+ checkUnnamed2619(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -630,27 +630,27 @@
buildCounterElectoralDistrict--;
}
-buildUnnamed2614() {
+buildUnnamed2620() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2614(core.List<core.String> o) {
+checkUnnamed2620(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'));
}
-buildUnnamed2615() {
+buildUnnamed2621() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2615(core.List<core.int> o) {
+checkUnnamed2621(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -661,9 +661,9 @@
var o = new api.GeographicDivision();
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- o.alsoKnownAs = buildUnnamed2614();
+ o.alsoKnownAs = buildUnnamed2620();
o.name = "foo";
- o.officeIndices = buildUnnamed2615();
+ o.officeIndices = buildUnnamed2621();
}
buildCounterGeographicDivision--;
return o;
@@ -672,120 +672,13 @@
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed2614(o.alsoKnownAs);
+ checkUnnamed2620(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2615(o.officeIndices);
+ checkUnnamed2621(o.officeIndices);
}
buildCounterGeographicDivision--;
}
-buildUnnamed2616() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2616(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'));
-}
-
-buildUnnamed2617() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2617(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed2618() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2618(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'));
-}
-
-buildUnnamed2619() {
- var o = new core.List<api.Source>();
- o.add(buildSource());
- o.add(buildSource());
- return o;
-}
-
-checkUnnamed2619(core.List<api.Source> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSource(o[0]);
- checkSource(o[1]);
-}
-
-core.int buildCounterOffice = 0;
-buildOffice() {
- var o = new api.Office();
- buildCounterOffice++;
- if (buildCounterOffice < 3) {
- o.divisionId = "foo";
- o.levels = buildUnnamed2616();
- o.name = "foo";
- o.officialIndices = buildUnnamed2617();
- o.roles = buildUnnamed2618();
- o.sources = buildUnnamed2619();
- }
- buildCounterOffice--;
- return o;
-}
-
-checkOffice(api.Office o) {
- buildCounterOffice++;
- if (buildCounterOffice < 3) {
- unittest.expect(o.divisionId, unittest.equals('foo'));
- checkUnnamed2616(o.levels);
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2617(o.officialIndices);
- checkUnnamed2618(o.roles);
- checkUnnamed2619(o.sources);
- }
- buildCounterOffice--;
-}
-
-buildUnnamed2620() {
- var o = new core.List<api.SimpleAddressType>();
- o.add(buildSimpleAddressType());
- o.add(buildSimpleAddressType());
- return o;
-}
-
-checkUnnamed2620(core.List<api.SimpleAddressType> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSimpleAddressType(o[0]);
- checkSimpleAddressType(o[1]);
-}
-
-buildUnnamed2621() {
- var o = new core.List<api.Channel>();
- o.add(buildChannel());
- o.add(buildChannel());
- return o;
-}
-
-checkUnnamed2621(core.List<api.Channel> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkChannel(o[0]);
- checkChannel(o[1]);
-}
-
buildUnnamed2622() {
var o = new core.List<core.String>();
o.add("foo");
@@ -800,16 +693,16 @@
}
buildUnnamed2623() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
return o;
}
-checkUnnamed2623(core.List<core.String> o) {
+checkUnnamed2623(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
}
buildUnnamed2624() {
@@ -825,39 +718,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterOfficial = 0;
-buildOfficial() {
- var o = new api.Official();
- buildCounterOfficial++;
- if (buildCounterOfficial < 3) {
- o.address = buildUnnamed2620();
- o.channels = buildUnnamed2621();
- o.emails = buildUnnamed2622();
- o.name = "foo";
- o.party = "foo";
- o.phones = buildUnnamed2623();
- o.photoUrl = "foo";
- o.urls = buildUnnamed2624();
- }
- buildCounterOfficial--;
- return o;
-}
-
-checkOfficial(api.Official o) {
- buildCounterOfficial++;
- if (buildCounterOfficial < 3) {
- checkUnnamed2620(o.address);
- checkUnnamed2621(o.channels);
- checkUnnamed2622(o.emails);
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed2623(o.phones);
- unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2624(o.urls);
- }
- buildCounterOfficial--;
-}
-
buildUnnamed2625() {
var o = new core.List<api.Source>();
o.add(buildSource());
@@ -871,6 +731,146 @@
checkSource(o[1]);
}
+core.int buildCounterOffice = 0;
+buildOffice() {
+ var o = new api.Office();
+ buildCounterOffice++;
+ if (buildCounterOffice < 3) {
+ o.divisionId = "foo";
+ o.levels = buildUnnamed2622();
+ o.name = "foo";
+ o.officialIndices = buildUnnamed2623();
+ o.roles = buildUnnamed2624();
+ o.sources = buildUnnamed2625();
+ }
+ buildCounterOffice--;
+ return o;
+}
+
+checkOffice(api.Office o) {
+ buildCounterOffice++;
+ if (buildCounterOffice < 3) {
+ unittest.expect(o.divisionId, unittest.equals('foo'));
+ checkUnnamed2622(o.levels);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed2623(o.officialIndices);
+ checkUnnamed2624(o.roles);
+ checkUnnamed2625(o.sources);
+ }
+ buildCounterOffice--;
+}
+
+buildUnnamed2626() {
+ var o = new core.List<api.SimpleAddressType>();
+ o.add(buildSimpleAddressType());
+ o.add(buildSimpleAddressType());
+ return o;
+}
+
+checkUnnamed2626(core.List<api.SimpleAddressType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSimpleAddressType(o[0]);
+ checkSimpleAddressType(o[1]);
+}
+
+buildUnnamed2627() {
+ var o = new core.List<api.Channel>();
+ o.add(buildChannel());
+ o.add(buildChannel());
+ return o;
+}
+
+checkUnnamed2627(core.List<api.Channel> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkChannel(o[0]);
+ checkChannel(o[1]);
+}
+
+buildUnnamed2628() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2628(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'));
+}
+
+buildUnnamed2629() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2629(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'));
+}
+
+buildUnnamed2630() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2630(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 buildCounterOfficial = 0;
+buildOfficial() {
+ var o = new api.Official();
+ buildCounterOfficial++;
+ if (buildCounterOfficial < 3) {
+ o.address = buildUnnamed2626();
+ o.channels = buildUnnamed2627();
+ o.emails = buildUnnamed2628();
+ o.name = "foo";
+ o.party = "foo";
+ o.phones = buildUnnamed2629();
+ o.photoUrl = "foo";
+ o.urls = buildUnnamed2630();
+ }
+ buildCounterOfficial--;
+ return o;
+}
+
+checkOfficial(api.Official o) {
+ buildCounterOfficial++;
+ if (buildCounterOfficial < 3) {
+ checkUnnamed2626(o.address);
+ checkUnnamed2627(o.channels);
+ checkUnnamed2628(o.emails);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.party, unittest.equals('foo'));
+ checkUnnamed2629(o.phones);
+ unittest.expect(o.photoUrl, unittest.equals('foo'));
+ checkUnnamed2630(o.urls);
+ }
+ buildCounterOfficial--;
+}
+
+buildUnnamed2631() {
+ var o = new core.List<api.Source>();
+ o.add(buildSource());
+ o.add(buildSource());
+ return o;
+}
+
+checkUnnamed2631(core.List<api.Source> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSource(o[0]);
+ checkSource(o[1]);
+}
+
core.int buildCounterPollingLocation = 0;
buildPollingLocation() {
var o = new api.PollingLocation();
@@ -882,7 +882,7 @@
o.name = "foo";
o.notes = "foo";
o.pollingHours = "foo";
- o.sources = buildUnnamed2625();
+ o.sources = buildUnnamed2631();
o.startDate = "foo";
o.voterServices = "foo";
}
@@ -899,21 +899,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.pollingHours, unittest.equals('foo'));
- checkUnnamed2625(o.sources);
+ checkUnnamed2631(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
buildCounterPollingLocation--;
}
-buildUnnamed2626() {
+buildUnnamed2632() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2626(core.List<core.String> o) {
+checkUnnamed2632(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'));
@@ -924,7 +924,7 @@
var o = new api.PostalAddress();
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- o.addressLines = buildUnnamed2626();
+ o.addressLines = buildUnnamed2632();
o.administrativeAreaName = "foo";
o.countryName = "foo";
o.countryNameCode = "foo";
@@ -963,7 +963,7 @@
checkPostalAddress(api.PostalAddress o) {
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- checkUnnamed2626(o.addressLines);
+ checkUnnamed2632(o.addressLines);
unittest.expect(o.administrativeAreaName, unittest.equals('foo'));
unittest.expect(o.countryName, unittest.equals('foo'));
unittest.expect(o.countryNameCode, unittest.equals('foo'));
@@ -1001,40 +1001,40 @@
buildCounterPostalAddress--;
}
-buildUnnamed2627() {
+buildUnnamed2633() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2627(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2633(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2628() {
+buildUnnamed2634() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2628(core.List<api.Office> o) {
+checkUnnamed2634(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2629() {
+buildUnnamed2635() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2629(core.List<api.Official> o) {
+checkUnnamed2635(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -1045,9 +1045,9 @@
var o = new api.RepresentativeInfoData();
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- o.divisions = buildUnnamed2627();
- o.offices = buildUnnamed2628();
- o.officials = buildUnnamed2629();
+ o.divisions = buildUnnamed2633();
+ o.offices = buildUnnamed2634();
+ o.officials = buildUnnamed2635();
}
buildCounterRepresentativeInfoData--;
return o;
@@ -1056,9 +1056,9 @@
checkRepresentativeInfoData(api.RepresentativeInfoData o) {
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- checkUnnamed2627(o.divisions);
- checkUnnamed2628(o.offices);
- checkUnnamed2629(o.officials);
+ checkUnnamed2633(o.divisions);
+ checkUnnamed2634(o.offices);
+ checkUnnamed2635(o.officials);
}
buildCounterRepresentativeInfoData--;
}
@@ -1082,40 +1082,40 @@
buildCounterRepresentativeInfoRequest--;
}
-buildUnnamed2630() {
+buildUnnamed2636() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2630(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2636(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2631() {
+buildUnnamed2637() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2631(core.List<api.Office> o) {
+checkUnnamed2637(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2632() {
+buildUnnamed2638() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2632(core.List<api.Official> o) {
+checkUnnamed2638(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -1126,11 +1126,11 @@
var o = new api.RepresentativeInfoResponse();
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- o.divisions = buildUnnamed2630();
+ o.divisions = buildUnnamed2636();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed2631();
- o.officials = buildUnnamed2632();
+ o.offices = buildUnnamed2637();
+ o.officials = buildUnnamed2638();
}
buildCounterRepresentativeInfoResponse--;
return o;
@@ -1139,11 +1139,11 @@
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed2630(o.divisions);
+ checkUnnamed2636(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2631(o.offices);
- checkUnnamed2632(o.officials);
+ checkUnnamed2637(o.offices);
+ checkUnnamed2638(o.officials);
}
buildCounterRepresentativeInfoResponse--;
}
@@ -1221,79 +1221,79 @@
buildCounterVoterInfoRequest--;
}
-buildUnnamed2633() {
+buildUnnamed2639() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed2633(core.List<api.Contest> o) {
+checkUnnamed2639(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed2634() {
+buildUnnamed2640() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2634(core.List<api.PollingLocation> o) {
+checkUnnamed2640(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2635() {
+buildUnnamed2641() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2635(core.List<api.PollingLocation> o) {
+checkUnnamed2641(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2636() {
+buildUnnamed2642() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2636(core.List<api.Election> o) {
+checkUnnamed2642(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
}
-buildUnnamed2637() {
+buildUnnamed2643() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2637(core.List<api.PollingLocation> o) {
+checkUnnamed2643(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2638() {
+buildUnnamed2644() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed2638(core.List<api.AdministrationRegion> o) {
+checkUnnamed2644(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -1304,17 +1304,17 @@
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed2633();
- o.dropOffLocations = buildUnnamed2634();
- o.earlyVoteSites = buildUnnamed2635();
+ o.contests = buildUnnamed2639();
+ o.dropOffLocations = buildUnnamed2640();
+ o.earlyVoteSites = buildUnnamed2641();
o.election = buildElection();
o.kind = "foo";
o.mailOnly = true;
o.normalizedInput = buildSimpleAddressType();
- o.otherElections = buildUnnamed2636();
- o.pollingLocations = buildUnnamed2637();
+ o.otherElections = buildUnnamed2642();
+ o.pollingLocations = buildUnnamed2643();
o.precinctId = "foo";
- o.state = buildUnnamed2638();
+ o.state = buildUnnamed2644();
}
buildCounterVoterInfoResponse--;
return o;
@@ -1323,17 +1323,17 @@
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed2633(o.contests);
- checkUnnamed2634(o.dropOffLocations);
- checkUnnamed2635(o.earlyVoteSites);
+ checkUnnamed2639(o.contests);
+ checkUnnamed2640(o.dropOffLocations);
+ checkUnnamed2641(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.mailOnly, unittest.isTrue);
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2636(o.otherElections);
- checkUnnamed2637(o.pollingLocations);
+ checkUnnamed2642(o.otherElections);
+ checkUnnamed2643(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed2638(o.state);
+ checkUnnamed2644(o.state);
}
buildCounterVoterInfoResponse--;
}
@@ -1363,53 +1363,53 @@
buildCounterVoterInfoSegmentResult--;
}
-buildUnnamed2639() {
+buildUnnamed2645() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2639(core.List<core.String> o) {
+checkUnnamed2645(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'));
}
-buildUnnamed2640() {
+buildUnnamed2646() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2640(core.List<core.String> o) {
+checkUnnamed2646(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'));
}
-buildUnnamed2641() {
+buildUnnamed2647() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2641(core.List<core.String> o) {
+checkUnnamed2647(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'));
}
-buildUnnamed2642() {
+buildUnnamed2648() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2642(core.List<core.String> o) {
+checkUnnamed2648(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'));
@@ -1838,8 +1838,8 @@
var arg_request = buildRepresentativeInfoRequest();
var arg_address = "foo";
var arg_includeOffices = true;
- var arg_levels = buildUnnamed2639();
- var arg_roles = buildUnnamed2640();
+ var arg_levels = buildUnnamed2645();
+ var arg_roles = buildUnnamed2646();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.RepresentativeInfoRequest.fromJson(json);
@@ -1910,9 +1910,9 @@
new api.CivicinfoApi(mock).representatives;
var arg_request = buildDivisionRepresentativeInfoRequest();
var arg_ocdId = "foo";
- var arg_levels = buildUnnamed2641();
+ var arg_levels = buildUnnamed2647();
var arg_recursive = true;
- var arg_roles = buildUnnamed2642();
+ var arg_roles = buildUnnamed2648();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json);
diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart
index 045d9db..595c0fa 100644
--- a/generated/googleapis/test/classroom/v1_test.dart
+++ b/generated/googleapis/test/classroom/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed791() {
+buildUnnamed797() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed791(core.List<api.Material> o) {
+checkUnnamed797(core.List<api.Material> o) {
unittest.expect(o, unittest.hasLength(2));
checkMaterial(o[0]);
checkMaterial(o[1]);
@@ -75,7 +75,7 @@
o.creatorUserId = "foo";
o.id = "foo";
o.individualStudentsOptions = buildIndividualStudentsOptions();
- o.materials = buildUnnamed791();
+ o.materials = buildUnnamed797();
o.scheduledTime = "foo";
o.state = "foo";
o.text = "foo";
@@ -95,7 +95,7 @@
unittest.expect(o.creatorUserId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkIndividualStudentsOptions(o.individualStudentsOptions);
- checkUnnamed791(o.materials);
+ checkUnnamed797(o.materials);
unittest.expect(o.scheduledTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.text, unittest.equals('foo'));
@@ -123,14 +123,14 @@
buildCounterAssignment--;
}
-buildUnnamed792() {
+buildUnnamed798() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed792(core.List<api.Attachment> o) {
+checkUnnamed798(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -141,7 +141,7 @@
var o = new api.AssignmentSubmission();
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- o.attachments = buildUnnamed792();
+ o.attachments = buildUnnamed798();
}
buildCounterAssignmentSubmission--;
return o;
@@ -150,7 +150,7 @@
checkAssignmentSubmission(api.AssignmentSubmission o) {
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- checkUnnamed792(o.attachments);
+ checkUnnamed798(o.attachments);
}
buildCounterAssignmentSubmission--;
}
@@ -199,14 +199,14 @@
buildCounterCloudPubsubTopic--;
}
-buildUnnamed793() {
+buildUnnamed799() {
var o = new core.List<api.CourseMaterialSet>();
o.add(buildCourseMaterialSet());
o.add(buildCourseMaterialSet());
return o;
}
-checkUnnamed793(core.List<api.CourseMaterialSet> o) {
+checkUnnamed799(core.List<api.CourseMaterialSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseMaterialSet(o[0]);
checkCourseMaterialSet(o[1]);
@@ -220,7 +220,7 @@
o.alternateLink = "foo";
o.calendarId = "foo";
o.courseGroupEmail = "foo";
- o.courseMaterialSets = buildUnnamed793();
+ o.courseMaterialSets = buildUnnamed799();
o.courseState = "foo";
o.creationTime = "foo";
o.description = "foo";
@@ -246,7 +246,7 @@
unittest.expect(o.alternateLink, unittest.equals('foo'));
unittest.expect(o.calendarId, unittest.equals('foo'));
unittest.expect(o.courseGroupEmail, unittest.equals('foo'));
- checkUnnamed793(o.courseMaterialSets);
+ checkUnnamed799(o.courseMaterialSets);
unittest.expect(o.courseState, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
@@ -309,14 +309,14 @@
buildCounterCourseMaterial--;
}
-buildUnnamed794() {
+buildUnnamed800() {
var o = new core.List<api.CourseMaterial>();
o.add(buildCourseMaterial());
o.add(buildCourseMaterial());
return o;
}
-checkUnnamed794(core.List<api.CourseMaterial> o) {
+checkUnnamed800(core.List<api.CourseMaterial> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseMaterial(o[0]);
checkCourseMaterial(o[1]);
@@ -327,7 +327,7 @@
var o = new api.CourseMaterialSet();
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- o.materials = buildUnnamed794();
+ o.materials = buildUnnamed800();
o.title = "foo";
}
buildCounterCourseMaterialSet--;
@@ -337,7 +337,7 @@
checkCourseMaterialSet(api.CourseMaterialSet o) {
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- checkUnnamed794(o.materials);
+ checkUnnamed800(o.materials);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterCourseMaterialSet--;
@@ -362,14 +362,14 @@
buildCounterCourseRosterChangesInfo--;
}
-buildUnnamed795() {
+buildUnnamed801() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed795(core.List<api.Material> o) {
+checkUnnamed801(core.List<api.Material> o) {
unittest.expect(o, unittest.hasLength(2));
checkMaterial(o[0]);
checkMaterial(o[1]);
@@ -392,7 +392,7 @@
o.dueTime = buildTimeOfDay();
o.id = "foo";
o.individualStudentsOptions = buildIndividualStudentsOptions();
- o.materials = buildUnnamed795();
+ o.materials = buildUnnamed801();
o.maxPoints = 42.0;
o.multipleChoiceQuestion = buildMultipleChoiceQuestion();
o.scheduledTime = "foo";
@@ -421,7 +421,7 @@
checkTimeOfDay(o.dueTime);
unittest.expect(o.id, unittest.equals('foo'));
checkIndividualStudentsOptions(o.individualStudentsOptions);
- checkUnnamed795(o.materials);
+ checkUnnamed801(o.materials);
unittest.expect(o.maxPoints, unittest.equals(42.0));
checkMultipleChoiceQuestion(o.multipleChoiceQuestion);
unittest.expect(o.scheduledTime, unittest.equals('foo'));
@@ -664,14 +664,14 @@
buildCounterGuardianInvitation--;
}
-buildUnnamed796() {
+buildUnnamed802() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed796(core.List<core.String> o) {
+checkUnnamed802(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'));
@@ -682,7 +682,7 @@
var o = new api.IndividualStudentsOptions();
buildCounterIndividualStudentsOptions++;
if (buildCounterIndividualStudentsOptions < 3) {
- o.studentIds = buildUnnamed796();
+ o.studentIds = buildUnnamed802();
}
buildCounterIndividualStudentsOptions--;
return o;
@@ -691,7 +691,7 @@
checkIndividualStudentsOptions(api.IndividualStudentsOptions o) {
buildCounterIndividualStudentsOptions++;
if (buildCounterIndividualStudentsOptions < 3) {
- checkUnnamed796(o.studentIds);
+ checkUnnamed802(o.studentIds);
}
buildCounterIndividualStudentsOptions--;
}
@@ -744,14 +744,14 @@
buildCounterLink--;
}
-buildUnnamed797() {
+buildUnnamed803() {
var o = new core.List<api.Announcement>();
o.add(buildAnnouncement());
o.add(buildAnnouncement());
return o;
}
-checkUnnamed797(core.List<api.Announcement> o) {
+checkUnnamed803(core.List<api.Announcement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnouncement(o[0]);
checkAnnouncement(o[1]);
@@ -762,7 +762,7 @@
var o = new api.ListAnnouncementsResponse();
buildCounterListAnnouncementsResponse++;
if (buildCounterListAnnouncementsResponse < 3) {
- o.announcements = buildUnnamed797();
+ o.announcements = buildUnnamed803();
o.nextPageToken = "foo";
}
buildCounterListAnnouncementsResponse--;
@@ -772,20 +772,20 @@
checkListAnnouncementsResponse(api.ListAnnouncementsResponse o) {
buildCounterListAnnouncementsResponse++;
if (buildCounterListAnnouncementsResponse < 3) {
- checkUnnamed797(o.announcements);
+ checkUnnamed803(o.announcements);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAnnouncementsResponse--;
}
-buildUnnamed798() {
+buildUnnamed804() {
var o = new core.List<api.CourseAlias>();
o.add(buildCourseAlias());
o.add(buildCourseAlias());
return o;
}
-checkUnnamed798(core.List<api.CourseAlias> o) {
+checkUnnamed804(core.List<api.CourseAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseAlias(o[0]);
checkCourseAlias(o[1]);
@@ -796,7 +796,7 @@
var o = new api.ListCourseAliasesResponse();
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- o.aliases = buildUnnamed798();
+ o.aliases = buildUnnamed804();
o.nextPageToken = "foo";
}
buildCounterListCourseAliasesResponse--;
@@ -806,20 +806,20 @@
checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) {
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- checkUnnamed798(o.aliases);
+ checkUnnamed804(o.aliases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseAliasesResponse--;
}
-buildUnnamed799() {
+buildUnnamed805() {
var o = new core.List<api.CourseWork>();
o.add(buildCourseWork());
o.add(buildCourseWork());
return o;
}
-checkUnnamed799(core.List<api.CourseWork> o) {
+checkUnnamed805(core.List<api.CourseWork> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseWork(o[0]);
checkCourseWork(o[1]);
@@ -830,7 +830,7 @@
var o = new api.ListCourseWorkResponse();
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- o.courseWork = buildUnnamed799();
+ o.courseWork = buildUnnamed805();
o.nextPageToken = "foo";
}
buildCounterListCourseWorkResponse--;
@@ -840,20 +840,20 @@
checkListCourseWorkResponse(api.ListCourseWorkResponse o) {
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- checkUnnamed799(o.courseWork);
+ checkUnnamed805(o.courseWork);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseWorkResponse--;
}
-buildUnnamed800() {
+buildUnnamed806() {
var o = new core.List<api.Course>();
o.add(buildCourse());
o.add(buildCourse());
return o;
}
-checkUnnamed800(core.List<api.Course> o) {
+checkUnnamed806(core.List<api.Course> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourse(o[0]);
checkCourse(o[1]);
@@ -864,7 +864,7 @@
var o = new api.ListCoursesResponse();
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- o.courses = buildUnnamed800();
+ o.courses = buildUnnamed806();
o.nextPageToken = "foo";
}
buildCounterListCoursesResponse--;
@@ -874,20 +874,20 @@
checkListCoursesResponse(api.ListCoursesResponse o) {
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- checkUnnamed800(o.courses);
+ checkUnnamed806(o.courses);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoursesResponse--;
}
-buildUnnamed801() {
+buildUnnamed807() {
var o = new core.List<api.GuardianInvitation>();
o.add(buildGuardianInvitation());
o.add(buildGuardianInvitation());
return o;
}
-checkUnnamed801(core.List<api.GuardianInvitation> o) {
+checkUnnamed807(core.List<api.GuardianInvitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardianInvitation(o[0]);
checkGuardianInvitation(o[1]);
@@ -898,7 +898,7 @@
var o = new api.ListGuardianInvitationsResponse();
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- o.guardianInvitations = buildUnnamed801();
+ o.guardianInvitations = buildUnnamed807();
o.nextPageToken = "foo";
}
buildCounterListGuardianInvitationsResponse--;
@@ -908,20 +908,20 @@
checkListGuardianInvitationsResponse(api.ListGuardianInvitationsResponse o) {
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- checkUnnamed801(o.guardianInvitations);
+ checkUnnamed807(o.guardianInvitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardianInvitationsResponse--;
}
-buildUnnamed802() {
+buildUnnamed808() {
var o = new core.List<api.Guardian>();
o.add(buildGuardian());
o.add(buildGuardian());
return o;
}
-checkUnnamed802(core.List<api.Guardian> o) {
+checkUnnamed808(core.List<api.Guardian> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardian(o[0]);
checkGuardian(o[1]);
@@ -932,7 +932,7 @@
var o = new api.ListGuardiansResponse();
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- o.guardians = buildUnnamed802();
+ o.guardians = buildUnnamed808();
o.nextPageToken = "foo";
}
buildCounterListGuardiansResponse--;
@@ -942,20 +942,20 @@
checkListGuardiansResponse(api.ListGuardiansResponse o) {
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- checkUnnamed802(o.guardians);
+ checkUnnamed808(o.guardians);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardiansResponse--;
}
-buildUnnamed803() {
+buildUnnamed809() {
var o = new core.List<api.Invitation>();
o.add(buildInvitation());
o.add(buildInvitation());
return o;
}
-checkUnnamed803(core.List<api.Invitation> o) {
+checkUnnamed809(core.List<api.Invitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInvitation(o[0]);
checkInvitation(o[1]);
@@ -966,7 +966,7 @@
var o = new api.ListInvitationsResponse();
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- o.invitations = buildUnnamed803();
+ o.invitations = buildUnnamed809();
o.nextPageToken = "foo";
}
buildCounterListInvitationsResponse--;
@@ -976,20 +976,20 @@
checkListInvitationsResponse(api.ListInvitationsResponse o) {
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- checkUnnamed803(o.invitations);
+ checkUnnamed809(o.invitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInvitationsResponse--;
}
-buildUnnamed804() {
+buildUnnamed810() {
var o = new core.List<api.StudentSubmission>();
o.add(buildStudentSubmission());
o.add(buildStudentSubmission());
return o;
}
-checkUnnamed804(core.List<api.StudentSubmission> o) {
+checkUnnamed810(core.List<api.StudentSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudentSubmission(o[0]);
checkStudentSubmission(o[1]);
@@ -1001,7 +1001,7 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
o.nextPageToken = "foo";
- o.studentSubmissions = buildUnnamed804();
+ o.studentSubmissions = buildUnnamed810();
}
buildCounterListStudentSubmissionsResponse--;
return o;
@@ -1011,19 +1011,19 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed804(o.studentSubmissions);
+ checkUnnamed810(o.studentSubmissions);
}
buildCounterListStudentSubmissionsResponse--;
}
-buildUnnamed805() {
+buildUnnamed811() {
var o = new core.List<api.Student>();
o.add(buildStudent());
o.add(buildStudent());
return o;
}
-checkUnnamed805(core.List<api.Student> o) {
+checkUnnamed811(core.List<api.Student> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudent(o[0]);
checkStudent(o[1]);
@@ -1035,7 +1035,7 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
o.nextPageToken = "foo";
- o.students = buildUnnamed805();
+ o.students = buildUnnamed811();
}
buildCounterListStudentsResponse--;
return o;
@@ -1045,19 +1045,19 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed805(o.students);
+ checkUnnamed811(o.students);
}
buildCounterListStudentsResponse--;
}
-buildUnnamed806() {
+buildUnnamed812() {
var o = new core.List<api.Teacher>();
o.add(buildTeacher());
o.add(buildTeacher());
return o;
}
-checkUnnamed806(core.List<api.Teacher> o) {
+checkUnnamed812(core.List<api.Teacher> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeacher(o[0]);
checkTeacher(o[1]);
@@ -1069,7 +1069,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
o.nextPageToken = "foo";
- o.teachers = buildUnnamed806();
+ o.teachers = buildUnnamed812();
}
buildCounterListTeachersResponse--;
return o;
@@ -1079,7 +1079,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed806(o.teachers);
+ checkUnnamed812(o.teachers);
}
buildCounterListTeachersResponse--;
}
@@ -1131,14 +1131,14 @@
buildCounterModifyAnnouncementAssigneesRequest--;
}
-buildUnnamed807() {
+buildUnnamed813() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed807(core.List<api.Attachment> o) {
+checkUnnamed813(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -1149,7 +1149,7 @@
var o = new api.ModifyAttachmentsRequest();
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- o.addAttachments = buildUnnamed807();
+ o.addAttachments = buildUnnamed813();
}
buildCounterModifyAttachmentsRequest--;
return o;
@@ -1158,7 +1158,7 @@
checkModifyAttachmentsRequest(api.ModifyAttachmentsRequest o) {
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- checkUnnamed807(o.addAttachments);
+ checkUnnamed813(o.addAttachments);
}
buildCounterModifyAttachmentsRequest--;
}
@@ -1184,27 +1184,27 @@
buildCounterModifyCourseWorkAssigneesRequest--;
}
-buildUnnamed808() {
+buildUnnamed814() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed808(core.List<core.String> o) {
+checkUnnamed814(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'));
}
-buildUnnamed809() {
+buildUnnamed815() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed809(core.List<core.String> o) {
+checkUnnamed815(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'));
@@ -1215,8 +1215,8 @@
var o = new api.ModifyIndividualStudentsOptions();
buildCounterModifyIndividualStudentsOptions++;
if (buildCounterModifyIndividualStudentsOptions < 3) {
- o.addStudentIds = buildUnnamed808();
- o.removeStudentIds = buildUnnamed809();
+ o.addStudentIds = buildUnnamed814();
+ o.removeStudentIds = buildUnnamed815();
}
buildCounterModifyIndividualStudentsOptions--;
return o;
@@ -1225,20 +1225,20 @@
checkModifyIndividualStudentsOptions(api.ModifyIndividualStudentsOptions o) {
buildCounterModifyIndividualStudentsOptions++;
if (buildCounterModifyIndividualStudentsOptions < 3) {
- checkUnnamed808(o.addStudentIds);
- checkUnnamed809(o.removeStudentIds);
+ checkUnnamed814(o.addStudentIds);
+ checkUnnamed815(o.removeStudentIds);
}
buildCounterModifyIndividualStudentsOptions--;
}
-buildUnnamed810() {
+buildUnnamed816() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed810(core.List<core.String> o) {
+checkUnnamed816(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'));
@@ -1249,7 +1249,7 @@
var o = new api.MultipleChoiceQuestion();
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- o.choices = buildUnnamed810();
+ o.choices = buildUnnamed816();
}
buildCounterMultipleChoiceQuestion--;
return o;
@@ -1258,7 +1258,7 @@
checkMultipleChoiceQuestion(api.MultipleChoiceQuestion o) {
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- checkUnnamed810(o.choices);
+ checkUnnamed816(o.choices);
}
buildCounterMultipleChoiceQuestion--;
}
@@ -1448,14 +1448,14 @@
buildCounterStudent--;
}
-buildUnnamed811() {
+buildUnnamed817() {
var o = new core.List<api.SubmissionHistory>();
o.add(buildSubmissionHistory());
o.add(buildSubmissionHistory());
return o;
}
-checkUnnamed811(core.List<api.SubmissionHistory> o) {
+checkUnnamed817(core.List<api.SubmissionHistory> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubmissionHistory(o[0]);
checkSubmissionHistory(o[1]);
@@ -1480,7 +1480,7 @@
o.multipleChoiceSubmission = buildMultipleChoiceSubmission();
o.shortAnswerSubmission = buildShortAnswerSubmission();
o.state = "foo";
- o.submissionHistory = buildUnnamed811();
+ o.submissionHistory = buildUnnamed817();
o.updateTime = "foo";
o.userId = "foo";
}
@@ -1505,7 +1505,7 @@
checkMultipleChoiceSubmission(o.multipleChoiceSubmission);
checkShortAnswerSubmission(o.shortAnswerSubmission);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed811(o.submissionHistory);
+ checkUnnamed817(o.submissionHistory);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.userId, unittest.equals('foo'));
}
@@ -1596,14 +1596,14 @@
buildCounterTurnInStudentSubmissionRequest--;
}
-buildUnnamed812() {
+buildUnnamed818() {
var o = new core.List<api.GlobalPermission>();
o.add(buildGlobalPermission());
o.add(buildGlobalPermission());
return o;
}
-checkUnnamed812(core.List<api.GlobalPermission> o) {
+checkUnnamed818(core.List<api.GlobalPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkGlobalPermission(o[0]);
checkGlobalPermission(o[1]);
@@ -1617,7 +1617,7 @@
o.emailAddress = "foo";
o.id = "foo";
o.name = buildName();
- o.permissions = buildUnnamed812();
+ o.permissions = buildUnnamed818();
o.photoUrl = "foo";
o.verifiedTeacher = true;
}
@@ -1631,7 +1631,7 @@
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkName(o.name);
- checkUnnamed812(o.permissions);
+ checkUnnamed818(o.permissions);
unittest.expect(o.photoUrl, unittest.equals('foo'));
unittest.expect(o.verifiedTeacher, unittest.isTrue);
}
@@ -1663,66 +1663,66 @@
buildCounterYouTubeVideo--;
}
-buildUnnamed813() {
+buildUnnamed819() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed813(core.List<core.String> o) {
+checkUnnamed819(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'));
}
-buildUnnamed814() {
+buildUnnamed820() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed814(core.List<core.String> o) {
+checkUnnamed820(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'));
}
-buildUnnamed815() {
+buildUnnamed821() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed815(core.List<core.String> o) {
+checkUnnamed821(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'));
}
-buildUnnamed816() {
+buildUnnamed822() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed816(core.List<core.String> o) {
+checkUnnamed822(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'));
}
-buildUnnamed817() {
+buildUnnamed823() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed817(core.List<core.String> o) {
+checkUnnamed823(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'));
@@ -2340,11 +2340,11 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CoursesResourceApi res = new api.ClassroomApi(mock).courses;
+ var arg_pageSize = 42;
+ var arg_teacherId = "foo";
+ var arg_courseStates = buildUnnamed819();
var arg_studentId = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
- var arg_courseStates = buildUnnamed813();
- var arg_teacherId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2376,16 +2376,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["teacherId"].first, unittest.equals(arg_teacherId));
+ unittest.expect(
+ queryMap["courseStates"], unittest.equals(arg_courseStates));
unittest.expect(
queryMap["studentId"].first, unittest.equals(arg_studentId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["courseStates"], unittest.equals(arg_courseStates));
- unittest.expect(
- queryMap["teacherId"].first, unittest.equals(arg_teacherId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2396,11 +2396,11 @@
}), true);
res
.list(
+ pageSize: arg_pageSize,
+ teacherId: arg_teacherId,
+ courseStates: arg_courseStates,
studentId: arg_studentId,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- courseStates: arg_courseStates,
- teacherId: arg_teacherId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListCoursesResponse response) {
checkListCoursesResponse(response);
@@ -2924,10 +2924,10 @@
api.CoursesAnnouncementsResourceApi res =
new api.ClassroomApi(mock).courses.announcements;
var arg_courseId = "foo";
- var arg_pageToken = "foo";
+ var arg_announcementStates = buildUnnamed820();
var arg_orderBy = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_announcementStates = buildUnnamed814();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2968,14 +2968,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["announcementStates"],
unittest.equals(arg_announcementStates));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2986,10 +2986,10 @@
}), true);
res
.list(arg_courseId,
- pageToken: arg_pageToken,
- orderBy: arg_orderBy,
- pageSize: arg_pageSize,
announcementStates: arg_announcementStates,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(
unittest.expectAsync1(((api.ListAnnouncementsResponse response) {
@@ -3343,10 +3343,10 @@
api.CoursesCourseWorkResourceApi res =
new api.ClassroomApi(mock).courses.courseWork;
var arg_courseId = "foo";
- var arg_pageToken = "foo";
var arg_orderBy = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_courseWorkStates = buildUnnamed815();
+ var arg_courseWorkStates = buildUnnamed821();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3388,9 +3388,9 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["courseWorkStates"],
@@ -3405,8 +3405,8 @@
}), true);
res
.list(arg_courseId,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
courseWorkStates: arg_courseWorkStates,
$fields: arg_$fields)
@@ -3644,11 +3644,11 @@
new api.ClassroomApi(mock).courses.courseWork.studentSubmissions;
var arg_courseId = "foo";
var arg_courseWorkId = "foo";
- var arg_userId = "foo";
var arg_late = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_states = buildUnnamed816();
+ var arg_states = buildUnnamed822();
+ var arg_userId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3698,13 +3698,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["late"].first, unittest.equals(arg_late));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["states"], unittest.equals(arg_states));
+ unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3715,11 +3715,11 @@
}), true);
res
.list(arg_courseId, arg_courseWorkId,
- userId: arg_userId,
late: arg_late,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
states: arg_states,
+ userId: arg_userId,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListStudentSubmissionsResponse response) {
@@ -4903,8 +4903,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.InvitationsResourceApi res = new api.ClassroomApi(mock).invitations;
- var arg_pageToken = "foo";
var arg_userId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_courseId = "foo";
var arg_$fields = "foo";
@@ -4938,9 +4938,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
@@ -4955,8 +4955,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
userId: arg_userId,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
courseId: arg_courseId,
$fields: arg_$fields)
@@ -5266,9 +5266,9 @@
new api.ClassroomApi(mock).userProfiles.guardianInvitations;
var arg_studentId = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
- var arg_states = buildUnnamed817();
var arg_invitedEmailAddress = "foo";
+ var arg_states = buildUnnamed823();
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5311,11 +5311,11 @@
}
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(queryMap["invitedEmailAddress"].first,
unittest.equals(arg_invitedEmailAddress));
+ unittest.expect(queryMap["states"], unittest.equals(arg_states));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5327,9 +5327,9 @@
res
.list(arg_studentId,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- states: arg_states,
invitedEmailAddress: arg_invitedEmailAddress,
+ states: arg_states,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListGuardianInvitationsResponse response) {
@@ -5545,8 +5545,8 @@
new api.ClassroomApi(mock).userProfiles.guardians;
var arg_studentId = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_invitedEmailAddress = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5589,10 +5589,10 @@
}
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["invitedEmailAddress"].first,
unittest.equals(arg_invitedEmailAddress));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5604,8 +5604,8 @@
res
.list(arg_studentId,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
invitedEmailAddress: arg_invitedEmailAddress,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListGuardiansResponse response) {
checkListGuardiansResponse(response);
diff --git a/generated/googleapis/test/cloudbilling/v1_test.dart b/generated/googleapis/test/cloudbilling/v1_test.dart
index de876e6..d871150 100644
--- a/generated/googleapis/test/cloudbilling/v1_test.dart
+++ b/generated/googleapis/test/cloudbilling/v1_test.dart
@@ -121,14 +121,14 @@
buildCounterCategory--;
}
-buildUnnamed44() {
+buildUnnamed48() {
var o = new core.List<api.BillingAccount>();
o.add(buildBillingAccount());
o.add(buildBillingAccount());
return o;
}
-checkUnnamed44(core.List<api.BillingAccount> o) {
+checkUnnamed48(core.List<api.BillingAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingAccount(o[0]);
checkBillingAccount(o[1]);
@@ -139,7 +139,7 @@
var o = new api.ListBillingAccountsResponse();
buildCounterListBillingAccountsResponse++;
if (buildCounterListBillingAccountsResponse < 3) {
- o.billingAccounts = buildUnnamed44();
+ o.billingAccounts = buildUnnamed48();
o.nextPageToken = "foo";
}
buildCounterListBillingAccountsResponse--;
@@ -149,20 +149,20 @@
checkListBillingAccountsResponse(api.ListBillingAccountsResponse o) {
buildCounterListBillingAccountsResponse++;
if (buildCounterListBillingAccountsResponse < 3) {
- checkUnnamed44(o.billingAccounts);
+ checkUnnamed48(o.billingAccounts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBillingAccountsResponse--;
}
-buildUnnamed45() {
+buildUnnamed49() {
var o = new core.List<api.ProjectBillingInfo>();
o.add(buildProjectBillingInfo());
o.add(buildProjectBillingInfo());
return o;
}
-checkUnnamed45(core.List<api.ProjectBillingInfo> o) {
+checkUnnamed49(core.List<api.ProjectBillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectBillingInfo(o[0]);
checkProjectBillingInfo(o[1]);
@@ -174,7 +174,7 @@
buildCounterListProjectBillingInfoResponse++;
if (buildCounterListProjectBillingInfoResponse < 3) {
o.nextPageToken = "foo";
- o.projectBillingInfo = buildUnnamed45();
+ o.projectBillingInfo = buildUnnamed49();
}
buildCounterListProjectBillingInfoResponse--;
return o;
@@ -184,19 +184,19 @@
buildCounterListProjectBillingInfoResponse++;
if (buildCounterListProjectBillingInfoResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed45(o.projectBillingInfo);
+ checkUnnamed49(o.projectBillingInfo);
}
buildCounterListProjectBillingInfoResponse--;
}
-buildUnnamed46() {
+buildUnnamed50() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed46(core.List<api.Service> o) {
+checkUnnamed50(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -208,7 +208,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed46();
+ o.services = buildUnnamed50();
}
buildCounterListServicesResponse--;
return o;
@@ -218,19 +218,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed46(o.services);
+ checkUnnamed50(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed47() {
+buildUnnamed51() {
var o = new core.List<api.Sku>();
o.add(buildSku());
o.add(buildSku());
return o;
}
-checkUnnamed47(core.List<api.Sku> o) {
+checkUnnamed51(core.List<api.Sku> o) {
unittest.expect(o, unittest.hasLength(2));
checkSku(o[0]);
checkSku(o[1]);
@@ -242,7 +242,7 @@
buildCounterListSkusResponse++;
if (buildCounterListSkusResponse < 3) {
o.nextPageToken = "foo";
- o.skus = buildUnnamed47();
+ o.skus = buildUnnamed51();
}
buildCounterListSkusResponse--;
return o;
@@ -252,7 +252,7 @@
buildCounterListSkusResponse++;
if (buildCounterListSkusResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed47(o.skus);
+ checkUnnamed51(o.skus);
}
buildCounterListSkusResponse--;
}
@@ -280,14 +280,14 @@
buildCounterMoney--;
}
-buildUnnamed48() {
+buildUnnamed52() {
var o = new core.List<api.TierRate>();
o.add(buildTierRate());
o.add(buildTierRate());
return o;
}
-checkUnnamed48(core.List<api.TierRate> o) {
+checkUnnamed52(core.List<api.TierRate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTierRate(o[0]);
checkTierRate(o[1]);
@@ -302,7 +302,7 @@
o.baseUnitConversionFactor = 42.0;
o.baseUnitDescription = "foo";
o.displayQuantity = 42.0;
- o.tieredRates = buildUnnamed48();
+ o.tieredRates = buildUnnamed52();
o.usageUnit = "foo";
o.usageUnitDescription = "foo";
}
@@ -317,7 +317,7 @@
unittest.expect(o.baseUnitConversionFactor, unittest.equals(42.0));
unittest.expect(o.baseUnitDescription, unittest.equals('foo'));
unittest.expect(o.displayQuantity, unittest.equals(42.0));
- checkUnnamed48(o.tieredRates);
+ checkUnnamed52(o.tieredRates);
unittest.expect(o.usageUnit, unittest.equals('foo'));
unittest.expect(o.usageUnitDescription, unittest.equals('foo'));
}
@@ -399,27 +399,27 @@
buildCounterService--;
}
-buildUnnamed49() {
+buildUnnamed53() {
var o = new core.List<api.PricingInfo>();
o.add(buildPricingInfo());
o.add(buildPricingInfo());
return o;
}
-checkUnnamed49(core.List<api.PricingInfo> o) {
+checkUnnamed53(core.List<api.PricingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingInfo(o[0]);
checkPricingInfo(o[1]);
}
-buildUnnamed50() {
+buildUnnamed54() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed50(core.List<core.String> o) {
+checkUnnamed54(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'));
@@ -433,9 +433,9 @@
o.category = buildCategory();
o.description = "foo";
o.name = "foo";
- o.pricingInfo = buildUnnamed49();
+ o.pricingInfo = buildUnnamed53();
o.serviceProviderName = "foo";
- o.serviceRegions = buildUnnamed50();
+ o.serviceRegions = buildUnnamed54();
o.skuId = "foo";
}
buildCounterSku--;
@@ -448,9 +448,9 @@
checkCategory(o.category);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed49(o.pricingInfo);
+ checkUnnamed53(o.pricingInfo);
unittest.expect(o.serviceProviderName, unittest.equals('foo'));
- checkUnnamed50(o.serviceRegions);
+ checkUnnamed54(o.serviceRegions);
unittest.expect(o.skuId, unittest.equals('foo'));
}
buildCounterSku--;
diff --git a/generated/googleapis/test/cloudbuild/v1_test.dart b/generated/googleapis/test/cloudbuild/v1_test.dart
index bf14c5c..4d82a4e 100644
--- a/generated/googleapis/test/cloudbuild/v1_test.dart
+++ b/generated/googleapis/test/cloudbuild/v1_test.dart
@@ -50,66 +50,66 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1446() {
+buildUnnamed1452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1446(core.List<core.String> o) {
+checkUnnamed1452(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'));
}
-buildUnnamed1447() {
+buildUnnamed1453() {
var o = new core.List<api.Secret>();
o.add(buildSecret());
o.add(buildSecret());
return o;
}
-checkUnnamed1447(core.List<api.Secret> o) {
+checkUnnamed1453(core.List<api.Secret> o) {
unittest.expect(o, unittest.hasLength(2));
checkSecret(o[0]);
checkSecret(o[1]);
}
-buildUnnamed1448() {
+buildUnnamed1454() {
var o = new core.List<api.BuildStep>();
o.add(buildBuildStep());
o.add(buildBuildStep());
return o;
}
-checkUnnamed1448(core.List<api.BuildStep> o) {
+checkUnnamed1454(core.List<api.BuildStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildStep(o[0]);
checkBuildStep(o[1]);
}
-buildUnnamed1449() {
+buildUnnamed1455() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1449(core.Map<core.String, core.String> o) {
+checkUnnamed1455(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1450() {
+buildUnnamed1456() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1450(core.List<core.String> o) {
+checkUnnamed1456(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'));
@@ -124,21 +124,21 @@
o.createTime = "foo";
o.finishTime = "foo";
o.id = "foo";
- o.images = buildUnnamed1446();
+ o.images = buildUnnamed1452();
o.logUrl = "foo";
o.logsBucket = "foo";
o.options = buildBuildOptions();
o.projectId = "foo";
o.results = buildResults();
- o.secrets = buildUnnamed1447();
+ o.secrets = buildUnnamed1453();
o.source = buildSource();
o.sourceProvenance = buildSourceProvenance();
o.startTime = "foo";
o.status = "foo";
o.statusDetail = "foo";
- o.steps = buildUnnamed1448();
- o.substitutions = buildUnnamed1449();
- o.tags = buildUnnamed1450();
+ o.steps = buildUnnamed1454();
+ o.substitutions = buildUnnamed1455();
+ o.tags = buildUnnamed1456();
o.timeout = "foo";
}
buildCounterBuild--;
@@ -152,21 +152,21 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.finishTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1446(o.images);
+ checkUnnamed1452(o.images);
unittest.expect(o.logUrl, unittest.equals('foo'));
unittest.expect(o.logsBucket, unittest.equals('foo'));
checkBuildOptions(o.options);
unittest.expect(o.projectId, unittest.equals('foo'));
checkResults(o.results);
- checkUnnamed1447(o.secrets);
+ checkUnnamed1453(o.secrets);
checkSource(o.source);
checkSourceProvenance(o.sourceProvenance);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusDetail, unittest.equals('foo'));
- checkUnnamed1448(o.steps);
- checkUnnamed1449(o.substitutions);
- checkUnnamed1450(o.tags);
+ checkUnnamed1454(o.steps);
+ checkUnnamed1455(o.substitutions);
+ checkUnnamed1456(o.tags);
unittest.expect(o.timeout, unittest.equals('foo'));
}
buildCounterBuild--;
@@ -191,14 +191,14 @@
buildCounterBuildOperationMetadata--;
}
-buildUnnamed1451() {
+buildUnnamed1457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1451(core.List<core.String> o) {
+checkUnnamed1457(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'));
@@ -209,8 +209,9 @@
var o = new api.BuildOptions();
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
+ o.logStreamingOption = "foo";
o.requestedVerifyOption = "foo";
- o.sourceProvenanceHash = buildUnnamed1451();
+ o.sourceProvenanceHash = buildUnnamed1457();
o.substitutionOption = "foo";
}
buildCounterBuildOptions--;
@@ -220,73 +221,74 @@
checkBuildOptions(api.BuildOptions o) {
buildCounterBuildOptions++;
if (buildCounterBuildOptions < 3) {
+ unittest.expect(o.logStreamingOption, unittest.equals('foo'));
unittest.expect(o.requestedVerifyOption, unittest.equals('foo'));
- checkUnnamed1451(o.sourceProvenanceHash);
+ checkUnnamed1457(o.sourceProvenanceHash);
unittest.expect(o.substitutionOption, unittest.equals('foo'));
}
buildCounterBuildOptions--;
}
-buildUnnamed1452() {
+buildUnnamed1458() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1452(core.List<core.String> o) {
+checkUnnamed1458(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'));
}
-buildUnnamed1453() {
+buildUnnamed1459() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1453(core.List<core.String> o) {
+checkUnnamed1459(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'));
}
-buildUnnamed1454() {
+buildUnnamed1460() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1454(core.List<core.String> o) {
+checkUnnamed1460(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'));
}
-buildUnnamed1455() {
+buildUnnamed1461() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed1455(core.List<api.Volume> o) {
+checkUnnamed1461(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
}
-buildUnnamed1456() {
+buildUnnamed1462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1456(core.List<core.String> o) {
+checkUnnamed1462(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'));
@@ -297,15 +299,15 @@
var o = new api.BuildStep();
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- o.args = buildUnnamed1452();
+ o.args = buildUnnamed1458();
o.dir = "foo";
o.entrypoint = "foo";
- o.env = buildUnnamed1453();
+ o.env = buildUnnamed1459();
o.id = "foo";
o.name = "foo";
- o.secretEnv = buildUnnamed1454();
- o.volumes = buildUnnamed1455();
- o.waitFor = buildUnnamed1456();
+ o.secretEnv = buildUnnamed1460();
+ o.volumes = buildUnnamed1461();
+ o.waitFor = buildUnnamed1462();
}
buildCounterBuildStep--;
return o;
@@ -314,27 +316,27 @@
checkBuildStep(api.BuildStep o) {
buildCounterBuildStep++;
if (buildCounterBuildStep < 3) {
- checkUnnamed1452(o.args);
+ checkUnnamed1458(o.args);
unittest.expect(o.dir, unittest.equals('foo'));
unittest.expect(o.entrypoint, unittest.equals('foo'));
- checkUnnamed1453(o.env);
+ checkUnnamed1459(o.env);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1454(o.secretEnv);
- checkUnnamed1455(o.volumes);
- checkUnnamed1456(o.waitFor);
+ checkUnnamed1460(o.secretEnv);
+ checkUnnamed1461(o.volumes);
+ checkUnnamed1462(o.waitFor);
}
buildCounterBuildStep--;
}
-buildUnnamed1457() {
+buildUnnamed1463() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1457(core.Map<core.String, core.String> o) {
+checkUnnamed1463(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -351,7 +353,7 @@
o.disabled = true;
o.filename = "foo";
o.id = "foo";
- o.substitutions = buildUnnamed1457();
+ o.substitutions = buildUnnamed1463();
o.triggerTemplate = buildRepoSource();
}
buildCounterBuildTrigger--;
@@ -367,7 +369,7 @@
unittest.expect(o.disabled, unittest.isTrue);
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1457(o.substitutions);
+ checkUnnamed1463(o.substitutions);
checkRepoSource(o.triggerTemplate);
}
buildCounterBuildTrigger--;
@@ -439,14 +441,14 @@
buildCounterEmpty--;
}
-buildUnnamed1458() {
+buildUnnamed1464() {
var o = new core.List<api.Hash>();
o.add(buildHash());
o.add(buildHash());
return o;
}
-checkUnnamed1458(core.List<api.Hash> o) {
+checkUnnamed1464(core.List<api.Hash> o) {
unittest.expect(o, unittest.hasLength(2));
checkHash(o[0]);
checkHash(o[1]);
@@ -457,7 +459,7 @@
var o = new api.FileHashes();
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- o.fileHash = buildUnnamed1458();
+ o.fileHash = buildUnnamed1464();
}
buildCounterFileHashes--;
return o;
@@ -466,7 +468,7 @@
checkFileHashes(api.FileHashes o) {
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- checkUnnamed1458(o.fileHash);
+ checkUnnamed1464(o.fileHash);
}
buildCounterFileHashes--;
}
@@ -492,14 +494,14 @@
buildCounterHash--;
}
-buildUnnamed1459() {
+buildUnnamed1465() {
var o = new core.List<api.BuildTrigger>();
o.add(buildBuildTrigger());
o.add(buildBuildTrigger());
return o;
}
-checkUnnamed1459(core.List<api.BuildTrigger> o) {
+checkUnnamed1465(core.List<api.BuildTrigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildTrigger(o[0]);
checkBuildTrigger(o[1]);
@@ -510,7 +512,7 @@
var o = new api.ListBuildTriggersResponse();
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- o.triggers = buildUnnamed1459();
+ o.triggers = buildUnnamed1465();
}
buildCounterListBuildTriggersResponse--;
return o;
@@ -519,19 +521,19 @@
checkListBuildTriggersResponse(api.ListBuildTriggersResponse o) {
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
- checkUnnamed1459(o.triggers);
+ checkUnnamed1465(o.triggers);
}
buildCounterListBuildTriggersResponse--;
}
-buildUnnamed1460() {
+buildUnnamed1466() {
var o = new core.List<api.Build>();
o.add(buildBuild());
o.add(buildBuild());
return o;
}
-checkUnnamed1460(core.List<api.Build> o) {
+checkUnnamed1466(core.List<api.Build> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuild(o[0]);
checkBuild(o[1]);
@@ -542,7 +544,7 @@
var o = new api.ListBuildsResponse();
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- o.builds = buildUnnamed1460();
+ o.builds = buildUnnamed1466();
o.nextPageToken = "foo";
}
buildCounterListBuildsResponse--;
@@ -552,20 +554,20 @@
checkListBuildsResponse(api.ListBuildsResponse o) {
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- checkUnnamed1460(o.builds);
+ checkUnnamed1466(o.builds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBuildsResponse--;
}
-buildUnnamed1461() {
+buildUnnamed1467() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1461(core.List<api.Operation> o) {
+checkUnnamed1467(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -577,7 +579,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1461();
+ o.operations = buildUnnamed1467();
}
buildCounterListOperationsResponse--;
return o;
@@ -587,12 +589,12 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1461(o.operations);
+ checkUnnamed1467(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1462() {
+buildUnnamed1468() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -607,7 +609,7 @@
return o;
}
-checkUnnamed1462(core.Map<core.String, core.Object> o) {
+checkUnnamed1468(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -621,7 +623,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1463() {
+buildUnnamed1469() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -636,7 +638,7 @@
return o;
}
-checkUnnamed1463(core.Map<core.String, core.Object> o) {
+checkUnnamed1469(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -657,9 +659,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1462();
+ o.metadata = buildUnnamed1468();
o.name = "foo";
- o.response = buildUnnamed1463();
+ o.response = buildUnnamed1469();
}
buildCounterOperation--;
return o;
@@ -670,9 +672,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1462(o.metadata);
+ checkUnnamed1468(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1463(o.response);
+ checkUnnamed1469(o.response);
}
buildCounterOperation--;
}
@@ -684,6 +686,7 @@
if (buildCounterRepoSource < 3) {
o.branchName = "foo";
o.commitSha = "foo";
+ o.dir = "foo";
o.projectId = "foo";
o.repoName = "foo";
o.tagName = "foo";
@@ -697,6 +700,7 @@
if (buildCounterRepoSource < 3) {
unittest.expect(o.branchName, unittest.equals('foo'));
unittest.expect(o.commitSha, unittest.equals('foo'));
+ unittest.expect(o.dir, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.repoName, unittest.equals('foo'));
unittest.expect(o.tagName, unittest.equals('foo'));
@@ -704,27 +708,27 @@
buildCounterRepoSource--;
}
-buildUnnamed1464() {
+buildUnnamed1470() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1464(core.List<core.String> o) {
+checkUnnamed1470(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'));
}
-buildUnnamed1465() {
+buildUnnamed1471() {
var o = new core.List<api.BuiltImage>();
o.add(buildBuiltImage());
o.add(buildBuiltImage());
return o;
}
-checkUnnamed1465(core.List<api.BuiltImage> o) {
+checkUnnamed1471(core.List<api.BuiltImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltImage(o[0]);
checkBuiltImage(o[1]);
@@ -735,8 +739,8 @@
var o = new api.Results();
buildCounterResults++;
if (buildCounterResults < 3) {
- o.buildStepImages = buildUnnamed1464();
- o.images = buildUnnamed1465();
+ o.buildStepImages = buildUnnamed1470();
+ o.images = buildUnnamed1471();
}
buildCounterResults--;
return o;
@@ -745,20 +749,35 @@
checkResults(api.Results o) {
buildCounterResults++;
if (buildCounterResults < 3) {
- checkUnnamed1464(o.buildStepImages);
- checkUnnamed1465(o.images);
+ checkUnnamed1470(o.buildStepImages);
+ checkUnnamed1471(o.images);
}
buildCounterResults--;
}
-buildUnnamed1466() {
+core.int buildCounterRetryBuildRequest = 0;
+buildRetryBuildRequest() {
+ var o = new api.RetryBuildRequest();
+ buildCounterRetryBuildRequest++;
+ if (buildCounterRetryBuildRequest < 3) {}
+ buildCounterRetryBuildRequest--;
+ return o;
+}
+
+checkRetryBuildRequest(api.RetryBuildRequest o) {
+ buildCounterRetryBuildRequest++;
+ if (buildCounterRetryBuildRequest < 3) {}
+ buildCounterRetryBuildRequest--;
+}
+
+buildUnnamed1472() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1466(core.Map<core.String, core.String> o) {
+checkUnnamed1472(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -770,7 +789,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
o.kmsKeyName = "foo";
- o.secretEnv = buildUnnamed1466();
+ o.secretEnv = buildUnnamed1472();
}
buildCounterSecret--;
return o;
@@ -780,7 +799,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
unittest.expect(o.kmsKeyName, unittest.equals('foo'));
- checkUnnamed1466(o.secretEnv);
+ checkUnnamed1472(o.secretEnv);
}
buildCounterSecret--;
}
@@ -806,14 +825,14 @@
buildCounterSource--;
}
-buildUnnamed1467() {
+buildUnnamed1473() {
var o = new core.Map<core.String, api.FileHashes>();
o["x"] = buildFileHashes();
o["y"] = buildFileHashes();
return o;
}
-checkUnnamed1467(core.Map<core.String, api.FileHashes> o) {
+checkUnnamed1473(core.Map<core.String, api.FileHashes> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileHashes(o["x"]);
checkFileHashes(o["y"]);
@@ -824,7 +843,7 @@
var o = new api.SourceProvenance();
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- o.fileHashes = buildUnnamed1467();
+ o.fileHashes = buildUnnamed1473();
o.resolvedRepoSource = buildRepoSource();
o.resolvedStorageSource = buildStorageSource();
}
@@ -835,14 +854,14 @@
checkSourceProvenance(api.SourceProvenance o) {
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- checkUnnamed1467(o.fileHashes);
+ checkUnnamed1473(o.fileHashes);
checkRepoSource(o.resolvedRepoSource);
checkStorageSource(o.resolvedStorageSource);
}
buildCounterSourceProvenance--;
}
-buildUnnamed1468() {
+buildUnnamed1474() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -857,7 +876,7 @@
return o;
}
-checkUnnamed1468(core.Map<core.String, core.Object> o) {
+checkUnnamed1474(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -871,17 +890,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1469() {
+buildUnnamed1475() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1468());
- o.add(buildUnnamed1468());
+ o.add(buildUnnamed1474());
+ o.add(buildUnnamed1474());
return o;
}
-checkUnnamed1469(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1475(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1468(o[0]);
- checkUnnamed1468(o[1]);
+ checkUnnamed1474(o[0]);
+ checkUnnamed1474(o[1]);
}
core.int buildCounterStatus = 0;
@@ -890,7 +909,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1469();
+ o.details = buildUnnamed1475();
o.message = "foo";
}
buildCounterStatus--;
@@ -901,7 +920,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1469(o.details);
+ checkUnnamed1475(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1088,6 +1107,14 @@
});
});
+ unittest.group("obj-schema-RetryBuildRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRetryBuildRequest();
+ var od = new api.RetryBuildRequest.fromJson(o.toJson());
+ checkRetryBuildRequest(od);
+ });
+ });
+
unittest.group("obj-schema-Secret", () {
unittest.test("to-json--from-json", () {
var o = buildSecret();
@@ -1581,6 +1608,80 @@
checkListBuildsResponse(response);
})));
});
+
+ unittest.test("method--retry", () {
+ var mock = new HttpServerMock();
+ api.ProjectsBuildsResourceApi res =
+ new api.CloudbuildApi(mock).projects.builds;
+ var arg_request = buildRetryBuildRequest();
+ var arg_projectId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.RetryBuildRequest.fromJson(json);
+ checkRetryBuildRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("v1/projects/"));
+ pathOffset += 12;
+ index = path.indexOf("/builds/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 8),
+ unittest.equals("/builds/"));
+ pathOffset += 8;
+ index = path.indexOf(":retry", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals(":retry"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .retry(arg_request, arg_projectId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
});
unittest.group("resource-ProjectsTriggersResourceApi", () {
@@ -1903,5 +2004,79 @@
checkBuildTrigger(response);
})));
});
+
+ unittest.test("method--run", () {
+ var mock = new HttpServerMock();
+ api.ProjectsTriggersResourceApi res =
+ new api.CloudbuildApi(mock).projects.triggers;
+ var arg_request = buildRepoSource();
+ var arg_projectId = "foo";
+ var arg_triggerId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.RepoSource.fromJson(json);
+ checkRepoSource(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("v1/projects/"));
+ pathOffset += 12;
+ index = path.indexOf("/triggers/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/triggers/"));
+ pathOffset += 10;
+ index = path.indexOf(":run", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_triggerId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 4),
+ unittest.equals(":run"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .run(arg_request, arg_projectId, arg_triggerId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Operation response) {
+ checkOperation(response);
+ })));
+ });
});
}
diff --git a/generated/googleapis/test/clouddebugger/v2_test.dart b/generated/googleapis/test/clouddebugger/v2_test.dart
index 6b2c27f..bf1427a 100644
--- a/generated/googleapis/test/clouddebugger/v2_test.dart
+++ b/generated/googleapis/test/clouddebugger/v2_test.dart
@@ -71,66 +71,66 @@
buildCounterAliasContext--;
}
-buildUnnamed917() {
+buildUnnamed924() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed917(core.List<api.Variable> o) {
+checkUnnamed924(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed918() {
+buildUnnamed925() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed918(core.List<core.String> o) {
+checkUnnamed925(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'));
}
-buildUnnamed919() {
+buildUnnamed926() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed919(core.Map<core.String, core.String> o) {
+checkUnnamed926(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed920() {
+buildUnnamed927() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed920(core.List<api.StackFrame> o) {
+checkUnnamed927(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
}
-buildUnnamed921() {
+buildUnnamed928() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed921(core.List<api.Variable> o) {
+checkUnnamed928(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -144,19 +144,19 @@
o.action = "foo";
o.condition = "foo";
o.createTime = "foo";
- o.evaluatedExpressions = buildUnnamed917();
- o.expressions = buildUnnamed918();
+ o.evaluatedExpressions = buildUnnamed924();
+ o.expressions = buildUnnamed925();
o.finalTime = "foo";
o.id = "foo";
o.isFinalState = true;
- o.labels = buildUnnamed919();
+ o.labels = buildUnnamed926();
o.location = buildSourceLocation();
o.logLevel = "foo";
o.logMessageFormat = "foo";
- o.stackFrames = buildUnnamed920();
+ o.stackFrames = buildUnnamed927();
o.status = buildStatusMessage();
o.userEmail = "foo";
- o.variableTable = buildUnnamed921();
+ o.variableTable = buildUnnamed928();
}
buildCounterBreakpoint--;
return o;
@@ -168,19 +168,19 @@
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed917(o.evaluatedExpressions);
- checkUnnamed918(o.expressions);
+ checkUnnamed924(o.evaluatedExpressions);
+ checkUnnamed925(o.expressions);
unittest.expect(o.finalTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isFinalState, unittest.isTrue);
- checkUnnamed919(o.labels);
+ checkUnnamed926(o.labels);
checkSourceLocation(o.location);
unittest.expect(o.logLevel, unittest.equals('foo'));
unittest.expect(o.logMessageFormat, unittest.equals('foo'));
- checkUnnamed920(o.stackFrames);
+ checkUnnamed927(o.stackFrames);
checkStatusMessage(o.status);
unittest.expect(o.userEmail, unittest.equals('foo'));
- checkUnnamed921(o.variableTable);
+ checkUnnamed928(o.variableTable);
}
buildCounterBreakpoint--;
}
@@ -252,40 +252,40 @@
buildCounterCloudWorkspaceSourceContext--;
}
-buildUnnamed922() {
+buildUnnamed929() {
var o = new core.List<api.ExtendedSourceContext>();
o.add(buildExtendedSourceContext());
o.add(buildExtendedSourceContext());
return o;
}
-checkUnnamed922(core.List<api.ExtendedSourceContext> o) {
+checkUnnamed929(core.List<api.ExtendedSourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedSourceContext(o[0]);
checkExtendedSourceContext(o[1]);
}
-buildUnnamed923() {
+buildUnnamed930() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed923(core.Map<core.String, core.String> o) {
+checkUnnamed930(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed924() {
+buildUnnamed931() {
var o = new core.List<api.SourceContext>();
o.add(buildSourceContext());
o.add(buildSourceContext());
return o;
}
-checkUnnamed924(core.List<api.SourceContext> o) {
+checkUnnamed931(core.List<api.SourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceContext(o[0]);
checkSourceContext(o[1]);
@@ -298,13 +298,13 @@
if (buildCounterDebuggee < 3) {
o.agentVersion = "foo";
o.description = "foo";
- o.extSourceContexts = buildUnnamed922();
+ o.extSourceContexts = buildUnnamed929();
o.id = "foo";
o.isDisabled = true;
o.isInactive = true;
- o.labels = buildUnnamed923();
+ o.labels = buildUnnamed930();
o.project = "foo";
- o.sourceContexts = buildUnnamed924();
+ o.sourceContexts = buildUnnamed931();
o.status = buildStatusMessage();
o.uniquifier = "foo";
}
@@ -317,13 +317,13 @@
if (buildCounterDebuggee < 3) {
unittest.expect(o.agentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed922(o.extSourceContexts);
+ checkUnnamed929(o.extSourceContexts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isDisabled, unittest.isTrue);
unittest.expect(o.isInactive, unittest.isTrue);
- checkUnnamed923(o.labels);
+ checkUnnamed930(o.labels);
unittest.expect(o.project, unittest.equals('foo'));
- checkUnnamed924(o.sourceContexts);
+ checkUnnamed931(o.sourceContexts);
checkStatusMessage(o.status);
unittest.expect(o.uniquifier, unittest.equals('foo'));
}
@@ -345,14 +345,14 @@
buildCounterEmpty--;
}
-buildUnnamed925() {
+buildUnnamed932() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed925(core.Map<core.String, core.String> o) {
+checkUnnamed932(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -364,7 +364,7 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
o.context = buildSourceContext();
- o.labels = buildUnnamed925();
+ o.labels = buildUnnamed932();
}
buildCounterExtendedSourceContext--;
return o;
@@ -374,19 +374,19 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
checkSourceContext(o.context);
- checkUnnamed925(o.labels);
+ checkUnnamed932(o.labels);
}
buildCounterExtendedSourceContext--;
}
-buildUnnamed926() {
+buildUnnamed933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed926(core.List<core.String> o) {
+checkUnnamed933(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'));
@@ -398,7 +398,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
o.format = "foo";
- o.parameters = buildUnnamed926();
+ o.parameters = buildUnnamed933();
}
buildCounterFormatMessage--;
return o;
@@ -408,7 +408,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed926(o.parameters);
+ checkUnnamed933(o.parameters);
}
buildCounterFormatMessage--;
}
@@ -480,14 +480,14 @@
buildCounterGitSourceContext--;
}
-buildUnnamed927() {
+buildUnnamed934() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed927(core.List<api.Breakpoint> o) {
+checkUnnamed934(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -498,7 +498,7 @@
var o = new api.ListActiveBreakpointsResponse();
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed927();
+ o.breakpoints = buildUnnamed934();
o.nextWaitToken = "foo";
o.waitExpired = true;
}
@@ -509,21 +509,21 @@
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- checkUnnamed927(o.breakpoints);
+ checkUnnamed934(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
unittest.expect(o.waitExpired, unittest.isTrue);
}
buildCounterListActiveBreakpointsResponse--;
}
-buildUnnamed928() {
+buildUnnamed935() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed928(core.List<api.Breakpoint> o) {
+checkUnnamed935(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -534,7 +534,7 @@
var o = new api.ListBreakpointsResponse();
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed928();
+ o.breakpoints = buildUnnamed935();
o.nextWaitToken = "foo";
}
buildCounterListBreakpointsResponse--;
@@ -544,20 +544,20 @@
checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- checkUnnamed928(o.breakpoints);
+ checkUnnamed935(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
}
buildCounterListBreakpointsResponse--;
}
-buildUnnamed929() {
+buildUnnamed936() {
var o = new core.List<api.Debuggee>();
o.add(buildDebuggee());
o.add(buildDebuggee());
return o;
}
-checkUnnamed929(core.List<api.Debuggee> o) {
+checkUnnamed936(core.List<api.Debuggee> o) {
unittest.expect(o, unittest.hasLength(2));
checkDebuggee(o[0]);
checkDebuggee(o[1]);
@@ -568,7 +568,7 @@
var o = new api.ListDebuggeesResponse();
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- o.debuggees = buildUnnamed929();
+ o.debuggees = buildUnnamed936();
}
buildCounterListDebuggeesResponse--;
return o;
@@ -577,7 +577,7 @@
checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- checkUnnamed929(o.debuggees);
+ checkUnnamed936(o.debuggees);
}
buildCounterListDebuggeesResponse--;
}
@@ -727,27 +727,27 @@
buildCounterSourceLocation--;
}
-buildUnnamed930() {
+buildUnnamed937() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed930(core.List<api.Variable> o) {
+checkUnnamed937(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed931() {
+buildUnnamed938() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed931(core.List<api.Variable> o) {
+checkUnnamed938(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -758,9 +758,9 @@
var o = new api.StackFrame();
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- o.arguments = buildUnnamed930();
+ o.arguments = buildUnnamed937();
o.function = "foo";
- o.locals = buildUnnamed931();
+ o.locals = buildUnnamed938();
o.location = buildSourceLocation();
}
buildCounterStackFrame--;
@@ -770,9 +770,9 @@
checkStackFrame(api.StackFrame o) {
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- checkUnnamed930(o.arguments);
+ checkUnnamed937(o.arguments);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed931(o.locals);
+ checkUnnamed938(o.locals);
checkSourceLocation(o.location);
}
buildCounterStackFrame--;
@@ -835,14 +835,14 @@
buildCounterUpdateActiveBreakpointResponse--;
}
-buildUnnamed932() {
+buildUnnamed939() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed932(core.List<api.Variable> o) {
+checkUnnamed939(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -853,7 +853,7 @@
var o = new api.Variable();
buildCounterVariable++;
if (buildCounterVariable < 3) {
- o.members = buildUnnamed932();
+ o.members = buildUnnamed939();
o.name = "foo";
o.status = buildStatusMessage();
o.type = "foo";
@@ -867,7 +867,7 @@
checkVariable(api.Variable o) {
buildCounterVariable++;
if (buildCounterVariable < 3) {
- checkUnnamed932(o.members);
+ checkUnnamed939(o.members);
unittest.expect(o.name, unittest.equals('foo'));
checkStatusMessage(o.status);
unittest.expect(o.type, unittest.equals('foo'));
@@ -1296,9 +1296,9 @@
var mock = new HttpServerMock();
api.DebuggerDebuggeesResourceApi res =
new api.ClouddebuggerApi(mock).debugger.debuggees;
+ var arg_includeInactive = true;
var arg_project = "foo";
var arg_clientVersion = "foo";
- var arg_includeInactive = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1330,12 +1330,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["includeInactive"].first,
+ unittest.equals("$arg_includeInactive"));
unittest.expect(
queryMap["project"].first, unittest.equals(arg_project));
unittest.expect(queryMap["clientVersion"].first,
unittest.equals(arg_clientVersion));
- unittest.expect(queryMap["includeInactive"].first,
- unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1346,9 +1346,9 @@
}), true);
res
.list(
+ includeInactive: arg_includeInactive,
project: arg_project,
clientVersion: arg_clientVersion,
- includeInactive: arg_includeInactive,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListDebuggeesResponse response) {
checkListDebuggeesResponse(response);
@@ -1498,12 +1498,12 @@
api.DebuggerDebuggeesBreakpointsResourceApi res =
new api.ClouddebuggerApi(mock).debugger.debuggees.breakpoints;
var arg_debuggeeId = "foo";
+ var arg_includeInactive = true;
+ var arg_includeAllUsers = true;
var arg_stripResults = true;
var arg_waitToken = "foo";
var arg_clientVersion = "foo";
var arg_action_value = "foo";
- var arg_includeAllUsers = true;
- var arg_includeInactive = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1544,6 +1544,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["includeInactive"].first,
+ unittest.equals("$arg_includeInactive"));
+ unittest.expect(queryMap["includeAllUsers"].first,
+ unittest.equals("$arg_includeAllUsers"));
unittest.expect(queryMap["stripResults"].first,
unittest.equals("$arg_stripResults"));
unittest.expect(
@@ -1552,10 +1556,6 @@
unittest.equals(arg_clientVersion));
unittest.expect(
queryMap["action.value"].first, unittest.equals(arg_action_value));
- unittest.expect(queryMap["includeAllUsers"].first,
- unittest.equals("$arg_includeAllUsers"));
- unittest.expect(queryMap["includeInactive"].first,
- unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1566,12 +1566,12 @@
}), true);
res
.list(arg_debuggeeId,
+ includeInactive: arg_includeInactive,
+ includeAllUsers: arg_includeAllUsers,
stripResults: arg_stripResults,
waitToken: arg_waitToken,
clientVersion: arg_clientVersion,
action_value: arg_action_value,
- includeAllUsers: arg_includeAllUsers,
- includeInactive: arg_includeInactive,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListBreakpointsResponse response) {
checkListBreakpointsResponse(response);
diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart
index 4a6398b..8f255ed 100644
--- a/generated/googleapis/test/cloudfunctions/v1_test.dart
+++ b/generated/googleapis/test/cloudfunctions/v1_test.dart
@@ -92,14 +92,14 @@
buildCounterCallFunctionResponse--;
}
-buildUnnamed122() {
+buildUnnamed126() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed122(core.Map<core.String, core.String> o) {
+checkUnnamed126(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -115,7 +115,7 @@
o.entryPoint = "foo";
o.eventTrigger = buildEventTrigger();
o.httpsTrigger = buildHttpsTrigger();
- o.labels = buildUnnamed122();
+ o.labels = buildUnnamed126();
o.name = "foo";
o.serviceAccountEmail = "foo";
o.sourceArchiveUrl = "foo";
@@ -138,7 +138,7 @@
unittest.expect(o.entryPoint, unittest.equals('foo'));
checkEventTrigger(o.eventTrigger);
checkHttpsTrigger(o.httpsTrigger);
- checkUnnamed122(o.labels);
+ checkUnnamed126(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.serviceAccountEmail, unittest.equals('foo'));
unittest.expect(o.sourceArchiveUrl, unittest.equals('foo'));
@@ -287,14 +287,14 @@
buildCounterHttpsTrigger--;
}
-buildUnnamed123() {
+buildUnnamed127() {
var o = new core.List<api.CloudFunction>();
o.add(buildCloudFunction());
o.add(buildCloudFunction());
return o;
}
-checkUnnamed123(core.List<api.CloudFunction> o) {
+checkUnnamed127(core.List<api.CloudFunction> o) {
unittest.expect(o, unittest.hasLength(2));
checkCloudFunction(o[0]);
checkCloudFunction(o[1]);
@@ -305,7 +305,7 @@
var o = new api.ListFunctionsResponse();
buildCounterListFunctionsResponse++;
if (buildCounterListFunctionsResponse < 3) {
- o.functions = buildUnnamed123();
+ o.functions = buildUnnamed127();
o.nextPageToken = "foo";
}
buildCounterListFunctionsResponse--;
@@ -315,20 +315,20 @@
checkListFunctionsResponse(api.ListFunctionsResponse o) {
buildCounterListFunctionsResponse++;
if (buildCounterListFunctionsResponse < 3) {
- checkUnnamed123(o.functions);
+ checkUnnamed127(o.functions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFunctionsResponse--;
}
-buildUnnamed124() {
+buildUnnamed128() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed124(core.List<api.Location> o) {
+checkUnnamed128(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -339,7 +339,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed124();
+ o.locations = buildUnnamed128();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -349,20 +349,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed124(o.locations);
+ checkUnnamed128(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed125() {
+buildUnnamed129() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed125(core.List<api.Operation> o) {
+checkUnnamed129(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -374,7 +374,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed125();
+ o.operations = buildUnnamed129();
}
buildCounterListOperationsResponse--;
return o;
@@ -384,25 +384,25 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed125(o.operations);
+ checkUnnamed129(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed126() {
+buildUnnamed130() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed126(core.Map<core.String, core.String> o) {
+checkUnnamed130(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed127() {
+buildUnnamed131() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -417,7 +417,7 @@
return o;
}
-checkUnnamed127(core.Map<core.String, core.Object> o) {
+checkUnnamed131(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -436,9 +436,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed126();
+ o.labels = buildUnnamed130();
o.locationId = "foo";
- o.metadata = buildUnnamed127();
+ o.metadata = buildUnnamed131();
o.name = "foo";
}
buildCounterLocation--;
@@ -448,15 +448,15 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed126(o.labels);
+ checkUnnamed130(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed127(o.metadata);
+ checkUnnamed131(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed128() {
+buildUnnamed132() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -471,7 +471,7 @@
return o;
}
-checkUnnamed128(core.Map<core.String, core.Object> o) {
+checkUnnamed132(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -485,7 +485,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed129() {
+buildUnnamed133() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -500,7 +500,7 @@
return o;
}
-checkUnnamed129(core.Map<core.String, core.Object> o) {
+checkUnnamed133(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -521,9 +521,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed128();
+ o.metadata = buildUnnamed132();
o.name = "foo";
- o.response = buildUnnamed129();
+ o.response = buildUnnamed133();
}
buildCounterOperation--;
return o;
@@ -534,14 +534,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed128(o.metadata);
+ checkUnnamed132(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed129(o.response);
+ checkUnnamed133(o.response);
}
buildCounterOperation--;
}
-buildUnnamed130() {
+buildUnnamed134() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -556,7 +556,7 @@
return o;
}
-checkUnnamed130(core.Map<core.String, core.Object> o) {
+checkUnnamed134(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -575,9 +575,10 @@
var o = new api.OperationMetadataV1();
buildCounterOperationMetadataV1++;
if (buildCounterOperationMetadataV1 < 3) {
- o.request = buildUnnamed130();
+ o.request = buildUnnamed134();
o.target = "foo";
o.type = "foo";
+ o.updateTime = "foo";
o.versionId = "foo";
}
buildCounterOperationMetadataV1--;
@@ -587,15 +588,16 @@
checkOperationMetadataV1(api.OperationMetadataV1 o) {
buildCounterOperationMetadataV1++;
if (buildCounterOperationMetadataV1 < 3) {
- checkUnnamed130(o.request);
+ checkUnnamed134(o.request);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.versionId, unittest.equals('foo'));
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed131() {
+buildUnnamed135() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -610,7 +612,7 @@
return o;
}
-checkUnnamed131(core.Map<core.String, core.Object> o) {
+checkUnnamed135(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -629,9 +631,10 @@
var o = new api.OperationMetadataV1Beta2();
buildCounterOperationMetadataV1Beta2++;
if (buildCounterOperationMetadataV1Beta2 < 3) {
- o.request = buildUnnamed131();
+ o.request = buildUnnamed135();
o.target = "foo";
o.type = "foo";
+ o.updateTime = "foo";
o.versionId = "foo";
}
buildCounterOperationMetadataV1Beta2--;
@@ -641,9 +644,10 @@
checkOperationMetadataV1Beta2(api.OperationMetadataV1Beta2 o) {
buildCounterOperationMetadataV1Beta2++;
if (buildCounterOperationMetadataV1Beta2 < 3) {
- checkUnnamed131(o.request);
+ checkUnnamed135(o.request);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.versionId, unittest.equals('foo'));
}
buildCounterOperationMetadataV1Beta2--;
@@ -685,7 +689,7 @@
buildCounterSourceRepository--;
}
-buildUnnamed132() {
+buildUnnamed136() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -700,7 +704,7 @@
return o;
}
-checkUnnamed132(core.Map<core.String, core.Object> o) {
+checkUnnamed136(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -714,17 +718,17 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed133() {
+buildUnnamed137() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed132());
- o.add(buildUnnamed132());
+ o.add(buildUnnamed136());
+ o.add(buildUnnamed136());
return o;
}
-checkUnnamed133(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed137(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed132(o[0]);
- checkUnnamed132(o[1]);
+ checkUnnamed136(o[0]);
+ checkUnnamed136(o[1]);
}
core.int buildCounterStatus = 0;
@@ -733,7 +737,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed133();
+ o.details = buildUnnamed137();
o.message = "foo";
}
buildCounterStatus--;
@@ -744,7 +748,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed133(o.details);
+ checkUnnamed137(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -968,10 +972,10 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res =
new api.CloudfunctionsApi(mock).operations;
- var arg_filter = "foo";
- var arg_pageToken = "foo";
- var arg_name = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
+ var arg_name = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1003,12 +1007,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1019,10 +1023,10 @@
}), true);
res
.list(
- filter: arg_filter,
- pageToken: arg_pageToken,
- name: arg_name,
pageSize: arg_pageSize,
+ filter: arg_filter,
+ name: arg_name,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
@@ -1036,9 +1040,9 @@
api.ProjectsLocationsResourceApi res =
new api.CloudfunctionsApi(mock).projects.locations;
var arg_name = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1071,11 +1075,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1086,9 +1090,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
@@ -1428,8 +1432,8 @@
api.ProjectsLocationsFunctionsResourceApi res =
new api.CloudfunctionsApi(mock).projects.locations.functions;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1462,10 +1466,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1476,8 +1480,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListFunctionsResponse response) {
checkListFunctionsResponse(response);
diff --git a/generated/googleapis/test/cloudiot/v1_test.dart b/generated/googleapis/test/cloudiot/v1_test.dart
index 8f6978b..7340b62 100644
--- a/generated/googleapis/test/cloudiot/v1_test.dart
+++ b/generated/googleapis/test/cloudiot/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed259() {
+buildUnnamed263() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed259(core.List<api.AuditLogConfig> o) {
+checkUnnamed263(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed260() {
+buildUnnamed264() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed260(core.List<core.String> o) {
+checkUnnamed264(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'));
@@ -81,8 +81,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed259();
- o.exemptedMembers = buildUnnamed260();
+ o.auditLogConfigs = buildUnnamed263();
+ o.exemptedMembers = buildUnnamed264();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -92,21 +92,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed259(o.auditLogConfigs);
- checkUnnamed260(o.exemptedMembers);
+ checkUnnamed263(o.auditLogConfigs);
+ checkUnnamed264(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed261() {
+buildUnnamed265() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed261(core.List<core.String> o) {
+checkUnnamed265(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'));
@@ -117,7 +117,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed261();
+ o.exemptedMembers = buildUnnamed265();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -127,20 +127,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed261(o.exemptedMembers);
+ checkUnnamed265(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed262() {
+buildUnnamed266() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed262(core.List<core.String> o) {
+checkUnnamed266(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'));
@@ -152,7 +152,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed262();
+ o.members = buildUnnamed266();
o.role = "foo";
}
buildCounterBinding--;
@@ -163,33 +163,33 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed262(o.members);
+ checkUnnamed266(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed263() {
+buildUnnamed267() {
var o = new core.List<api.DeviceCredential>();
o.add(buildDeviceCredential());
o.add(buildDeviceCredential());
return o;
}
-checkUnnamed263(core.List<api.DeviceCredential> o) {
+checkUnnamed267(core.List<api.DeviceCredential> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceCredential(o[0]);
checkDeviceCredential(o[1]);
}
-buildUnnamed264() {
+buildUnnamed268() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed264(core.Map<core.String, core.String> o) {
+checkUnnamed268(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -202,7 +202,7 @@
if (buildCounterDevice < 3) {
o.blocked = true;
o.config = buildDeviceConfig();
- o.credentials = buildUnnamed263();
+ o.credentials = buildUnnamed267();
o.id = "foo";
o.lastConfigAckTime = "foo";
o.lastConfigSendTime = "foo";
@@ -211,7 +211,7 @@
o.lastEventTime = "foo";
o.lastHeartbeatTime = "foo";
o.lastStateTime = "foo";
- o.metadata = buildUnnamed264();
+ o.metadata = buildUnnamed268();
o.name = "foo";
o.numId = "foo";
o.state = buildDeviceState();
@@ -225,7 +225,7 @@
if (buildCounterDevice < 3) {
unittest.expect(o.blocked, unittest.isTrue);
checkDeviceConfig(o.config);
- checkUnnamed263(o.credentials);
+ checkUnnamed267(o.credentials);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.lastConfigAckTime, unittest.equals('foo'));
unittest.expect(o.lastConfigSendTime, unittest.equals('foo'));
@@ -234,7 +234,7 @@
unittest.expect(o.lastEventTime, unittest.equals('foo'));
unittest.expect(o.lastHeartbeatTime, unittest.equals('foo'));
unittest.expect(o.lastStateTime, unittest.equals('foo'));
- checkUnnamed264(o.metadata);
+ checkUnnamed268(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.numId, unittest.equals('foo'));
checkDeviceState(o.state);
@@ -288,27 +288,27 @@
buildCounterDeviceCredential--;
}
-buildUnnamed265() {
+buildUnnamed269() {
var o = new core.List<api.RegistryCredential>();
o.add(buildRegistryCredential());
o.add(buildRegistryCredential());
return o;
}
-checkUnnamed265(core.List<api.RegistryCredential> o) {
+checkUnnamed269(core.List<api.RegistryCredential> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegistryCredential(o[0]);
checkRegistryCredential(o[1]);
}
-buildUnnamed266() {
+buildUnnamed270() {
var o = new core.List<api.EventNotificationConfig>();
o.add(buildEventNotificationConfig());
o.add(buildEventNotificationConfig());
return o;
}
-checkUnnamed266(core.List<api.EventNotificationConfig> o) {
+checkUnnamed270(core.List<api.EventNotificationConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventNotificationConfig(o[0]);
checkEventNotificationConfig(o[1]);
@@ -319,8 +319,8 @@
var o = new api.DeviceRegistry();
buildCounterDeviceRegistry++;
if (buildCounterDeviceRegistry < 3) {
- o.credentials = buildUnnamed265();
- o.eventNotificationConfigs = buildUnnamed266();
+ o.credentials = buildUnnamed269();
+ o.eventNotificationConfigs = buildUnnamed270();
o.httpConfig = buildHttpConfig();
o.id = "foo";
o.mqttConfig = buildMqttConfig();
@@ -334,8 +334,8 @@
checkDeviceRegistry(api.DeviceRegistry o) {
buildCounterDeviceRegistry++;
if (buildCounterDeviceRegistry < 3) {
- checkUnnamed265(o.credentials);
- checkUnnamed266(o.eventNotificationConfigs);
+ checkUnnamed269(o.credentials);
+ checkUnnamed270(o.eventNotificationConfigs);
checkHttpConfig(o.httpConfig);
unittest.expect(o.id, unittest.equals('foo'));
checkMqttConfig(o.mqttConfig);
@@ -459,14 +459,14 @@
buildCounterHttpConfig--;
}
-buildUnnamed267() {
+buildUnnamed271() {
var o = new core.List<api.DeviceConfig>();
o.add(buildDeviceConfig());
o.add(buildDeviceConfig());
return o;
}
-checkUnnamed267(core.List<api.DeviceConfig> o) {
+checkUnnamed271(core.List<api.DeviceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceConfig(o[0]);
checkDeviceConfig(o[1]);
@@ -477,7 +477,7 @@
var o = new api.ListDeviceConfigVersionsResponse();
buildCounterListDeviceConfigVersionsResponse++;
if (buildCounterListDeviceConfigVersionsResponse < 3) {
- o.deviceConfigs = buildUnnamed267();
+ o.deviceConfigs = buildUnnamed271();
}
buildCounterListDeviceConfigVersionsResponse--;
return o;
@@ -486,19 +486,19 @@
checkListDeviceConfigVersionsResponse(api.ListDeviceConfigVersionsResponse o) {
buildCounterListDeviceConfigVersionsResponse++;
if (buildCounterListDeviceConfigVersionsResponse < 3) {
- checkUnnamed267(o.deviceConfigs);
+ checkUnnamed271(o.deviceConfigs);
}
buildCounterListDeviceConfigVersionsResponse--;
}
-buildUnnamed268() {
+buildUnnamed272() {
var o = new core.List<api.DeviceRegistry>();
o.add(buildDeviceRegistry());
o.add(buildDeviceRegistry());
return o;
}
-checkUnnamed268(core.List<api.DeviceRegistry> o) {
+checkUnnamed272(core.List<api.DeviceRegistry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceRegistry(o[0]);
checkDeviceRegistry(o[1]);
@@ -509,7 +509,7 @@
var o = new api.ListDeviceRegistriesResponse();
buildCounterListDeviceRegistriesResponse++;
if (buildCounterListDeviceRegistriesResponse < 3) {
- o.deviceRegistries = buildUnnamed268();
+ o.deviceRegistries = buildUnnamed272();
o.nextPageToken = "foo";
}
buildCounterListDeviceRegistriesResponse--;
@@ -519,20 +519,20 @@
checkListDeviceRegistriesResponse(api.ListDeviceRegistriesResponse o) {
buildCounterListDeviceRegistriesResponse++;
if (buildCounterListDeviceRegistriesResponse < 3) {
- checkUnnamed268(o.deviceRegistries);
+ checkUnnamed272(o.deviceRegistries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDeviceRegistriesResponse--;
}
-buildUnnamed269() {
+buildUnnamed273() {
var o = new core.List<api.DeviceState>();
o.add(buildDeviceState());
o.add(buildDeviceState());
return o;
}
-checkUnnamed269(core.List<api.DeviceState> o) {
+checkUnnamed273(core.List<api.DeviceState> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceState(o[0]);
checkDeviceState(o[1]);
@@ -543,7 +543,7 @@
var o = new api.ListDeviceStatesResponse();
buildCounterListDeviceStatesResponse++;
if (buildCounterListDeviceStatesResponse < 3) {
- o.deviceStates = buildUnnamed269();
+ o.deviceStates = buildUnnamed273();
}
buildCounterListDeviceStatesResponse--;
return o;
@@ -552,19 +552,19 @@
checkListDeviceStatesResponse(api.ListDeviceStatesResponse o) {
buildCounterListDeviceStatesResponse++;
if (buildCounterListDeviceStatesResponse < 3) {
- checkUnnamed269(o.deviceStates);
+ checkUnnamed273(o.deviceStates);
}
buildCounterListDeviceStatesResponse--;
}
-buildUnnamed270() {
+buildUnnamed274() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed270(core.List<api.Device> o) {
+checkUnnamed274(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -575,7 +575,7 @@
var o = new api.ListDevicesResponse();
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- o.devices = buildUnnamed270();
+ o.devices = buildUnnamed274();
o.nextPageToken = "foo";
}
buildCounterListDevicesResponse--;
@@ -585,7 +585,7 @@
checkListDevicesResponse(api.ListDevicesResponse o) {
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- checkUnnamed270(o.devices);
+ checkUnnamed274(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDevicesResponse--;
@@ -631,27 +631,27 @@
buildCounterMqttConfig--;
}
-buildUnnamed271() {
+buildUnnamed275() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed271(core.List<api.AuditConfig> o) {
+checkUnnamed275(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed272() {
+buildUnnamed276() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed272(core.List<api.Binding> o) {
+checkUnnamed276(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -662,8 +662,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed271();
- o.bindings = buildUnnamed272();
+ o.auditConfigs = buildUnnamed275();
+ o.bindings = buildUnnamed276();
o.etag = "foo";
o.iamOwned = true;
o.version = 42;
@@ -675,8 +675,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed271(o.auditConfigs);
- checkUnnamed272(o.bindings);
+ checkUnnamed275(o.auditConfigs);
+ checkUnnamed276(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
unittest.expect(o.version, unittest.equals(42));
@@ -787,7 +787,7 @@
buildCounterStateNotificationConfig--;
}
-buildUnnamed273() {
+buildUnnamed277() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -802,7 +802,7 @@
return o;
}
-checkUnnamed273(core.Map<core.String, core.Object> o) {
+checkUnnamed277(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -816,17 +816,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed274() {
+buildUnnamed278() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed273());
- o.add(buildUnnamed273());
+ o.add(buildUnnamed277());
+ o.add(buildUnnamed277());
return o;
}
-checkUnnamed274(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed278(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed273(o[0]);
- checkUnnamed273(o[1]);
+ checkUnnamed277(o[0]);
+ checkUnnamed277(o[1]);
}
core.int buildCounterStatus = 0;
@@ -835,7 +835,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed274();
+ o.details = buildUnnamed278();
o.message = "foo";
}
buildCounterStatus--;
@@ -846,20 +846,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed274(o.details);
+ checkUnnamed278(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed275() {
+buildUnnamed279() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed275(core.List<core.String> o) {
+checkUnnamed279(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'));
@@ -870,7 +870,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed275();
+ o.permissions = buildUnnamed279();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -879,19 +879,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed275(o.permissions);
+ checkUnnamed279(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed276() {
+buildUnnamed280() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed276(core.List<core.String> o) {
+checkUnnamed280(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'));
@@ -902,7 +902,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed276();
+ o.permissions = buildUnnamed280();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -911,7 +911,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed276(o.permissions);
+ checkUnnamed280(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -945,27 +945,27 @@
buildCounterX509CertificateDetails--;
}
-buildUnnamed277() {
+buildUnnamed281() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed277(core.List<core.String> o) {
+checkUnnamed281(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'));
}
-buildUnnamed278() {
+buildUnnamed282() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed278(core.List<core.String> o) {
+checkUnnamed282(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'));
@@ -1426,8 +1426,8 @@
api.ProjectsLocationsRegistriesResourceApi res =
new api.CloudiotApi(mock).projects.locations.registries;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1460,10 +1460,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1474,8 +1474,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListDeviceRegistriesResponse response) {
@@ -1771,6 +1771,7 @@
api.ProjectsLocationsRegistriesDevicesResourceApi res =
new api.CloudiotApi(mock).projects.locations.registries.devices;
var arg_name = "foo";
+ var arg_fieldMask = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1803,6 +1804,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1812,7 +1815,7 @@
return new async.Future.value(stringResponse(200, h, resp));
}), true);
res
- .get(arg_name, $fields: arg_$fields)
+ .get(arg_name, fieldMask: arg_fieldMask, $fields: arg_$fields)
.then(unittest.expectAsync1(((api.Device response) {
checkDevice(response);
})));
@@ -1823,11 +1826,11 @@
api.ProjectsLocationsRegistriesDevicesResourceApi res =
new api.CloudiotApi(mock).projects.locations.registries.devices;
var arg_parent = "foo";
- var arg_deviceNumIds = buildUnnamed277();
var arg_pageToken = "foo";
var arg_fieldMask = "foo";
var arg_pageSize = 42;
- var arg_deviceIds = buildUnnamed278();
+ var arg_deviceIds = buildUnnamed281();
+ var arg_deviceNumIds = buildUnnamed282();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1861,14 +1864,14 @@
}
}
unittest.expect(
- queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
+ unittest.expect(
+ queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1879,11 +1882,11 @@
}), true);
res
.list(arg_parent,
- deviceNumIds: arg_deviceNumIds,
pageToken: arg_pageToken,
fieldMask: arg_fieldMask,
pageSize: arg_pageSize,
deviceIds: arg_deviceIds,
+ deviceNumIds: arg_deviceNumIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListDevicesResponse response) {
checkListDevicesResponse(response);
diff --git a/generated/googleapis/test/cloudkms/v1_test.dart b/generated/googleapis/test/cloudkms/v1_test.dart
index 1e98689..4f868ab 100644
--- a/generated/googleapis/test/cloudkms/v1_test.dart
+++ b/generated/googleapis/test/cloudkms/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1420() {
+buildUnnamed1426() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1420(core.List<api.AuditLogConfig> o) {
+checkUnnamed1426(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1421() {
+buildUnnamed1427() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1421(core.List<core.String> o) {
+checkUnnamed1427(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'));
@@ -81,8 +81,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1420();
- o.exemptedMembers = buildUnnamed1421();
+ o.auditLogConfigs = buildUnnamed1426();
+ o.exemptedMembers = buildUnnamed1427();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -92,21 +92,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1420(o.auditLogConfigs);
- checkUnnamed1421(o.exemptedMembers);
+ checkUnnamed1426(o.auditLogConfigs);
+ checkUnnamed1427(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1422() {
+buildUnnamed1428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1422(core.List<core.String> o) {
+checkUnnamed1428(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'));
@@ -117,7 +117,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1422();
+ o.exemptedMembers = buildUnnamed1428();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -127,20 +127,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1422(o.exemptedMembers);
+ checkUnnamed1428(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1423() {
+buildUnnamed1429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1423(core.List<core.String> o) {
+checkUnnamed1429(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'));
@@ -152,7 +152,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed1423();
+ o.members = buildUnnamed1429();
o.role = "foo";
}
buildCounterBinding--;
@@ -163,20 +163,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed1423(o.members);
+ checkUnnamed1429(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1424() {
+buildUnnamed1430() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1424(core.Map<core.String, core.String> o) {
+checkUnnamed1430(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -188,7 +188,7 @@
buildCounterCryptoKey++;
if (buildCounterCryptoKey < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed1424();
+ o.labels = buildUnnamed1430();
o.name = "foo";
o.nextRotationTime = "foo";
o.primary = buildCryptoKeyVersion();
@@ -203,7 +203,7 @@
buildCounterCryptoKey++;
if (buildCounterCryptoKey < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1424(o.labels);
+ checkUnnamed1430(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nextRotationTime, unittest.equals('foo'));
checkCryptoKeyVersion(o.primary);
@@ -383,14 +383,14 @@
buildCounterKeyRing--;
}
-buildUnnamed1425() {
+buildUnnamed1431() {
var o = new core.List<api.CryptoKeyVersion>();
o.add(buildCryptoKeyVersion());
o.add(buildCryptoKeyVersion());
return o;
}
-checkUnnamed1425(core.List<api.CryptoKeyVersion> o) {
+checkUnnamed1431(core.List<api.CryptoKeyVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKeyVersion(o[0]);
checkCryptoKeyVersion(o[1]);
@@ -401,7 +401,7 @@
var o = new api.ListCryptoKeyVersionsResponse();
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- o.cryptoKeyVersions = buildUnnamed1425();
+ o.cryptoKeyVersions = buildUnnamed1431();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -412,21 +412,21 @@
checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) {
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- checkUnnamed1425(o.cryptoKeyVersions);
+ checkUnnamed1431(o.cryptoKeyVersions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeyVersionsResponse--;
}
-buildUnnamed1426() {
+buildUnnamed1432() {
var o = new core.List<api.CryptoKey>();
o.add(buildCryptoKey());
o.add(buildCryptoKey());
return o;
}
-checkUnnamed1426(core.List<api.CryptoKey> o) {
+checkUnnamed1432(core.List<api.CryptoKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKey(o[0]);
checkCryptoKey(o[1]);
@@ -437,7 +437,7 @@
var o = new api.ListCryptoKeysResponse();
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- o.cryptoKeys = buildUnnamed1426();
+ o.cryptoKeys = buildUnnamed1432();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -448,21 +448,21 @@
checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) {
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- checkUnnamed1426(o.cryptoKeys);
+ checkUnnamed1432(o.cryptoKeys);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeysResponse--;
}
-buildUnnamed1427() {
+buildUnnamed1433() {
var o = new core.List<api.KeyRing>();
o.add(buildKeyRing());
o.add(buildKeyRing());
return o;
}
-checkUnnamed1427(core.List<api.KeyRing> o) {
+checkUnnamed1433(core.List<api.KeyRing> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRing(o[0]);
checkKeyRing(o[1]);
@@ -473,7 +473,7 @@
var o = new api.ListKeyRingsResponse();
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- o.keyRings = buildUnnamed1427();
+ o.keyRings = buildUnnamed1433();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -484,21 +484,21 @@
checkListKeyRingsResponse(api.ListKeyRingsResponse o) {
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- checkUnnamed1427(o.keyRings);
+ checkUnnamed1433(o.keyRings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListKeyRingsResponse--;
}
-buildUnnamed1428() {
+buildUnnamed1434() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1428(core.List<api.Location> o) {
+checkUnnamed1434(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -509,7 +509,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed1428();
+ o.locations = buildUnnamed1434();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -519,26 +519,26 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed1428(o.locations);
+ checkUnnamed1434(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed1429() {
+buildUnnamed1435() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1429(core.Map<core.String, core.String> o) {
+checkUnnamed1435(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1430() {
+buildUnnamed1436() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -553,7 +553,7 @@
return o;
}
-checkUnnamed1430(core.Map<core.String, core.Object> o) {
+checkUnnamed1436(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -572,9 +572,9 @@
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed1429();
+ o.labels = buildUnnamed1435();
o.locationId = "foo";
- o.metadata = buildUnnamed1430();
+ o.metadata = buildUnnamed1436();
o.name = "foo";
}
buildCounterLocation--;
@@ -584,35 +584,35 @@
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed1429(o.labels);
+ checkUnnamed1435(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed1430(o.metadata);
+ checkUnnamed1436(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed1431() {
+buildUnnamed1437() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1431(core.List<api.AuditConfig> o) {
+checkUnnamed1437(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1432() {
+buildUnnamed1438() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1432(core.List<api.Binding> o) {
+checkUnnamed1438(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -623,8 +623,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1431();
- o.bindings = buildUnnamed1432();
+ o.auditConfigs = buildUnnamed1437();
+ o.bindings = buildUnnamed1438();
o.etag = "foo";
o.iamOwned = true;
o.version = 42;
@@ -636,8 +636,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1431(o.auditConfigs);
- checkUnnamed1432(o.bindings);
+ checkUnnamed1437(o.auditConfigs);
+ checkUnnamed1438(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
unittest.expect(o.version, unittest.equals(42));
@@ -681,14 +681,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed1433() {
+buildUnnamed1439() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1433(core.List<core.String> o) {
+checkUnnamed1439(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'));
@@ -699,7 +699,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1433();
+ o.permissions = buildUnnamed1439();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -708,19 +708,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1433(o.permissions);
+ checkUnnamed1439(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1434() {
+buildUnnamed1440() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1434(core.List<core.String> o) {
+checkUnnamed1440(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'));
@@ -731,7 +731,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1434();
+ o.permissions = buildUnnamed1440();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -740,7 +740,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1434(o.permissions);
+ checkUnnamed1440(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1009,9 +1009,9 @@
api.ProjectsLocationsResourceApi res =
new api.CloudkmsApi(mock).projects.locations;
var arg_name = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1044,11 +1044,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1059,9 +1059,9 @@
}), true);
res
.list(arg_name,
+ pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
index 5a9e68a..c09f582 100644
--- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterAncestor--;
}
-buildUnnamed1894() {
+buildUnnamed1900() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1894(core.List<api.AuditLogConfig> o) {
+checkUnnamed1900(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -87,7 +87,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1894();
+ o.auditLogConfigs = buildUnnamed1900();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -97,20 +97,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1894(o.auditLogConfigs);
+ checkUnnamed1900(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1895() {
+buildUnnamed1901() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1895(core.List<core.String> o) {
+checkUnnamed1901(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'));
@@ -121,7 +121,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1895();
+ o.exemptedMembers = buildUnnamed1901();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -131,20 +131,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1895(o.exemptedMembers);
+ checkUnnamed1901(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1896() {
+buildUnnamed1902() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1896(core.List<core.String> o) {
+checkUnnamed1902(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'));
@@ -155,7 +155,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1896();
+ o.members = buildUnnamed1902();
o.role = "foo";
}
buildCounterBinding--;
@@ -165,7 +165,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1896(o.members);
+ checkUnnamed1902(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -331,14 +331,14 @@
buildCounterGetAncestryRequest--;
}
-buildUnnamed1897() {
+buildUnnamed1903() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed1897(core.List<api.Ancestor> o) {
+checkUnnamed1903(core.List<api.Ancestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAncestor(o[0]);
checkAncestor(o[1]);
@@ -349,7 +349,7 @@
var o = new api.GetAncestryResponse();
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- o.ancestor = buildUnnamed1897();
+ o.ancestor = buildUnnamed1903();
}
buildCounterGetAncestryResponse--;
return o;
@@ -358,7 +358,7 @@
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed1897(o.ancestor);
+ checkUnnamed1903(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
@@ -416,14 +416,14 @@
buildCounterGetOrgPolicyRequest--;
}
-buildUnnamed1898() {
+buildUnnamed1904() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1898(core.List<core.String> o) {
+checkUnnamed1904(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'));
@@ -439,7 +439,7 @@
o.origin = "foo";
o.parent = "foo";
o.reason = "foo";
- o.restrictions = buildUnnamed1898();
+ o.restrictions = buildUnnamed1904();
}
buildCounterLien--;
return o;
@@ -453,7 +453,7 @@
unittest.expect(o.origin, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
- checkUnnamed1898(o.restrictions);
+ checkUnnamed1904(o.restrictions);
}
buildCounterLien--;
}
@@ -480,14 +480,14 @@
buildCounterListAvailableOrgPolicyConstraintsRequest--;
}
-buildUnnamed1899() {
+buildUnnamed1905() {
var o = new core.List<api.Constraint>();
o.add(buildConstraint());
o.add(buildConstraint());
return o;
}
-checkUnnamed1899(core.List<api.Constraint> o) {
+checkUnnamed1905(core.List<api.Constraint> o) {
unittest.expect(o, unittest.hasLength(2));
checkConstraint(o[0]);
checkConstraint(o[1]);
@@ -498,7 +498,7 @@
var o = new api.ListAvailableOrgPolicyConstraintsResponse();
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- o.constraints = buildUnnamed1899();
+ o.constraints = buildUnnamed1905();
o.nextPageToken = "foo";
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -509,7 +509,7 @@
api.ListAvailableOrgPolicyConstraintsResponse o) {
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- checkUnnamed1899(o.constraints);
+ checkUnnamed1905(o.constraints);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -534,14 +534,14 @@
buildCounterListConstraint--;
}
-buildUnnamed1900() {
+buildUnnamed1906() {
var o = new core.List<api.Lien>();
o.add(buildLien());
o.add(buildLien());
return o;
}
-checkUnnamed1900(core.List<api.Lien> o) {
+checkUnnamed1906(core.List<api.Lien> o) {
unittest.expect(o, unittest.hasLength(2));
checkLien(o[0]);
checkLien(o[1]);
@@ -552,7 +552,7 @@
var o = new api.ListLiensResponse();
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- o.liens = buildUnnamed1900();
+ o.liens = buildUnnamed1906();
o.nextPageToken = "foo";
}
buildCounterListLiensResponse--;
@@ -562,7 +562,7 @@
checkListLiensResponse(api.ListLiensResponse o) {
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- checkUnnamed1900(o.liens);
+ checkUnnamed1906(o.liens);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLiensResponse--;
@@ -589,14 +589,14 @@
buildCounterListOrgPoliciesRequest--;
}
-buildUnnamed1901() {
+buildUnnamed1907() {
var o = new core.List<api.OrgPolicy>();
o.add(buildOrgPolicy());
o.add(buildOrgPolicy());
return o;
}
-checkUnnamed1901(core.List<api.OrgPolicy> o) {
+checkUnnamed1907(core.List<api.OrgPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgPolicy(o[0]);
checkOrgPolicy(o[1]);
@@ -608,7 +608,7 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed1901();
+ o.policies = buildUnnamed1907();
}
buildCounterListOrgPoliciesResponse--;
return o;
@@ -618,32 +618,32 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1901(o.policies);
+ checkUnnamed1907(o.policies);
}
buildCounterListOrgPoliciesResponse--;
}
-buildUnnamed1902() {
+buildUnnamed1908() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1902(core.List<core.String> o) {
+checkUnnamed1908(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'));
}
-buildUnnamed1903() {
+buildUnnamed1909() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1903(core.List<core.String> o) {
+checkUnnamed1909(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'));
@@ -655,8 +655,8 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
o.allValues = "foo";
- o.allowedValues = buildUnnamed1902();
- o.deniedValues = buildUnnamed1903();
+ o.allowedValues = buildUnnamed1908();
+ o.deniedValues = buildUnnamed1909();
o.inheritFromParent = true;
o.suggestedValue = "foo";
}
@@ -668,22 +668,22 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
unittest.expect(o.allValues, unittest.equals('foo'));
- checkUnnamed1902(o.allowedValues);
- checkUnnamed1903(o.deniedValues);
+ checkUnnamed1908(o.allowedValues);
+ checkUnnamed1909(o.deniedValues);
unittest.expect(o.inheritFromParent, unittest.isTrue);
unittest.expect(o.suggestedValue, unittest.equals('foo'));
}
buildCounterListPolicy--;
}
-buildUnnamed1904() {
+buildUnnamed1910() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed1904(core.List<api.Project> o) {
+checkUnnamed1910(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -695,7 +695,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed1904();
+ o.projects = buildUnnamed1910();
}
buildCounterListProjectsResponse--;
return o;
@@ -705,12 +705,12 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1904(o.projects);
+ checkUnnamed1910(o.projects);
}
buildCounterListProjectsResponse--;
}
-buildUnnamed1905() {
+buildUnnamed1911() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -725,7 +725,7 @@
return o;
}
-checkUnnamed1905(core.Map<core.String, core.Object> o) {
+checkUnnamed1911(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -739,7 +739,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1906() {
+buildUnnamed1912() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -754,7 +754,7 @@
return o;
}
-checkUnnamed1906(core.Map<core.String, core.Object> o) {
+checkUnnamed1912(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -775,9 +775,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1905();
+ o.metadata = buildUnnamed1911();
o.name = "foo";
- o.response = buildUnnamed1906();
+ o.response = buildUnnamed1912();
}
buildCounterOperation--;
return o;
@@ -788,9 +788,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1905(o.metadata);
+ checkUnnamed1911(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1906(o.response);
+ checkUnnamed1912(o.response);
}
buildCounterOperation--;
}
@@ -872,27 +872,27 @@
buildCounterOrganizationOwner--;
}
-buildUnnamed1907() {
+buildUnnamed1913() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1907(core.List<api.AuditConfig> o) {
+checkUnnamed1913(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1908() {
+buildUnnamed1914() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1908(core.List<api.Binding> o) {
+checkUnnamed1914(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -903,8 +903,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1907();
- o.bindings = buildUnnamed1908();
+ o.auditConfigs = buildUnnamed1913();
+ o.bindings = buildUnnamed1914();
o.etag = "foo";
o.version = 42;
}
@@ -915,22 +915,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1907(o.auditConfigs);
- checkUnnamed1908(o.bindings);
+ checkUnnamed1913(o.auditConfigs);
+ checkUnnamed1914(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1909() {
+buildUnnamed1915() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1909(core.Map<core.String, core.String> o) {
+checkUnnamed1915(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -942,7 +942,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed1909();
+ o.labels = buildUnnamed1915();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -957,7 +957,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1909(o.labels);
+ checkUnnamed1915(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -1049,14 +1049,14 @@
buildCounterSearchOrganizationsRequest--;
}
-buildUnnamed1910() {
+buildUnnamed1916() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1910(core.List<api.Organization> o) {
+checkUnnamed1916(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
@@ -1068,7 +1068,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
o.nextPageToken = "foo";
- o.organizations = buildUnnamed1910();
+ o.organizations = buildUnnamed1916();
}
buildCounterSearchOrganizationsResponse--;
return o;
@@ -1078,7 +1078,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1910(o.organizations);
+ checkUnnamed1916(o.organizations);
}
buildCounterSearchOrganizationsResponse--;
}
@@ -1123,7 +1123,7 @@
buildCounterSetOrgPolicyRequest--;
}
-buildUnnamed1911() {
+buildUnnamed1917() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1138,7 +1138,7 @@
return o;
}
-checkUnnamed1911(core.Map<core.String, core.Object> o) {
+checkUnnamed1917(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1152,17 +1152,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1912() {
+buildUnnamed1918() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1911());
- o.add(buildUnnamed1911());
+ o.add(buildUnnamed1917());
+ o.add(buildUnnamed1917());
return o;
}
-checkUnnamed1912(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1918(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1911(o[0]);
- checkUnnamed1911(o[1]);
+ checkUnnamed1917(o[0]);
+ checkUnnamed1917(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1171,7 +1171,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1912();
+ o.details = buildUnnamed1918();
o.message = "foo";
}
buildCounterStatus--;
@@ -1182,20 +1182,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1912(o.details);
+ checkUnnamed1918(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1913() {
+buildUnnamed1919() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1913(core.List<core.String> o) {
+checkUnnamed1919(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'));
@@ -1206,7 +1206,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1913();
+ o.permissions = buildUnnamed1919();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1215,19 +1215,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1913(o.permissions);
+ checkUnnamed1919(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1914() {
+buildUnnamed1920() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1914(core.List<core.String> o) {
+checkUnnamed1920(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'));
@@ -1238,7 +1238,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1914();
+ o.permissions = buildUnnamed1920();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1247,7 +1247,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1914(o.permissions);
+ checkUnnamed1920(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -2057,9 +2057,9 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.LiensResourceApi res = new api.CloudresourcemanagerApi(mock).liens;
+ var arg_parent = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_parent = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2091,11 +2091,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2106,9 +2106,9 @@
}), true);
res
.list(
+ parent: arg_parent,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- parent: arg_parent,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLiensResponse response) {
checkListLiensResponse(response);
@@ -3251,9 +3251,9 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res =
new api.CloudresourcemanagerApi(mock).projects;
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3285,11 +3285,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3300,9 +3300,9 @@
}), true);
res
.list(
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListProjectsResponse response) {
checkListProjectsResponse(response);
diff --git a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
index 4dc6bda..d2c346d 100644
--- a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed64() {
+buildUnnamed68() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed64(core.List<api.AuditLogConfig> o) {
+checkUnnamed68(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed64();
+ o.auditLogConfigs = buildUnnamed68();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -78,20 +78,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed64(o.auditLogConfigs);
+ checkUnnamed68(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed65() {
+buildUnnamed69() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed65(core.List<core.String> o) {
+checkUnnamed69(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'));
@@ -102,7 +102,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed65();
+ o.exemptedMembers = buildUnnamed69();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -112,20 +112,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed65(o.exemptedMembers);
+ checkUnnamed69(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed66() {
+buildUnnamed70() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed66(core.List<core.String> o) {
+checkUnnamed70(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'));
@@ -136,7 +136,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed66();
+ o.members = buildUnnamed70();
o.role = "foo";
}
buildCounterBinding--;
@@ -146,7 +146,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed66(o.members);
+ checkUnnamed70(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -238,14 +238,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed67() {
+buildUnnamed71() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed67(core.List<api.Folder> o) {
+checkUnnamed71(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -256,7 +256,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folders = buildUnnamed67();
+ o.folders = buildUnnamed71();
o.nextPageToken = "foo";
}
buildCounterListFoldersResponse--;
@@ -266,7 +266,7 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed67(o.folders);
+ checkUnnamed71(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFoldersResponse--;
@@ -291,7 +291,7 @@
buildCounterMoveFolderRequest--;
}
-buildUnnamed68() {
+buildUnnamed72() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -306,7 +306,7 @@
return o;
}
-checkUnnamed68(core.Map<core.String, core.Object> o) {
+checkUnnamed72(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -320,7 +320,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed69() {
+buildUnnamed73() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -335,7 +335,7 @@
return o;
}
-checkUnnamed69(core.Map<core.String, core.Object> o) {
+checkUnnamed73(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -356,9 +356,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed68();
+ o.metadata = buildUnnamed72();
o.name = "foo";
- o.response = buildUnnamed69();
+ o.response = buildUnnamed73();
}
buildCounterOperation--;
return o;
@@ -369,34 +369,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed68(o.metadata);
+ checkUnnamed72(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed69(o.response);
+ checkUnnamed73(o.response);
}
buildCounterOperation--;
}
-buildUnnamed70() {
+buildUnnamed74() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed70(core.List<api.AuditConfig> o) {
+checkUnnamed74(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed71() {
+buildUnnamed75() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed71(core.List<api.Binding> o) {
+checkUnnamed75(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -407,8 +407,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed70();
- o.bindings = buildUnnamed71();
+ o.auditConfigs = buildUnnamed74();
+ o.bindings = buildUnnamed75();
o.etag = "foo";
o.version = 42;
}
@@ -419,8 +419,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed70(o.auditConfigs);
- checkUnnamed71(o.bindings);
+ checkUnnamed74(o.auditConfigs);
+ checkUnnamed75(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -473,14 +473,14 @@
buildCounterSearchFoldersRequest--;
}
-buildUnnamed72() {
+buildUnnamed76() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed72(core.List<api.Folder> o) {
+checkUnnamed76(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -491,7 +491,7 @@
var o = new api.SearchFoldersResponse();
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- o.folders = buildUnnamed72();
+ o.folders = buildUnnamed76();
o.nextPageToken = "foo";
}
buildCounterSearchFoldersResponse--;
@@ -501,7 +501,7 @@
checkSearchFoldersResponse(api.SearchFoldersResponse o) {
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- checkUnnamed72(o.folders);
+ checkUnnamed76(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchFoldersResponse--;
@@ -528,7 +528,7 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed73() {
+buildUnnamed77() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -543,7 +543,7 @@
return o;
}
-checkUnnamed73(core.Map<core.String, core.Object> o) {
+checkUnnamed77(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -557,17 +557,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed74() {
+buildUnnamed78() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed73());
- o.add(buildUnnamed73());
+ o.add(buildUnnamed77());
+ o.add(buildUnnamed77());
return o;
}
-checkUnnamed74(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed78(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed73(o[0]);
- checkUnnamed73(o[1]);
+ checkUnnamed77(o[0]);
+ checkUnnamed77(o[1]);
}
core.int buildCounterStatus = 0;
@@ -576,7 +576,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed74();
+ o.details = buildUnnamed78();
o.message = "foo";
}
buildCounterStatus--;
@@ -587,20 +587,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed74(o.details);
+ checkUnnamed78(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed75() {
+buildUnnamed79() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed75(core.List<core.String> o) {
+checkUnnamed79(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'));
@@ -611,7 +611,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed75();
+ o.permissions = buildUnnamed79();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -620,19 +620,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed75(o.permissions);
+ checkUnnamed79(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed76() {
+buildUnnamed80() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed76(core.List<core.String> o) {
+checkUnnamed80(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'));
@@ -643,7 +643,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed76();
+ o.permissions = buildUnnamed80();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -652,7 +652,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed76(o.permissions);
+ checkUnnamed80(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
diff --git a/generated/googleapis/test/cloudtrace/v1_test.dart b/generated/googleapis/test/cloudtrace/v1_test.dart
index 9208f3a..982d2ea 100644
--- a/generated/googleapis/test/cloudtrace/v1_test.dart
+++ b/generated/googleapis/test/cloudtrace/v1_test.dart
@@ -65,14 +65,14 @@
buildCounterEmpty--;
}
-buildUnnamed189() {
+buildUnnamed193() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed189(core.List<api.Trace> o) {
+checkUnnamed193(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -84,7 +84,7 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
o.nextPageToken = "foo";
- o.traces = buildUnnamed189();
+ o.traces = buildUnnamed193();
}
buildCounterListTracesResponse--;
return o;
@@ -94,19 +94,19 @@
buildCounterListTracesResponse++;
if (buildCounterListTracesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed189(o.traces);
+ checkUnnamed193(o.traces);
}
buildCounterListTracesResponse--;
}
-buildUnnamed190() {
+buildUnnamed194() {
var o = new core.List<api.TraceSpan>();
o.add(buildTraceSpan());
o.add(buildTraceSpan());
return o;
}
-checkUnnamed190(core.List<api.TraceSpan> o) {
+checkUnnamed194(core.List<api.TraceSpan> o) {
unittest.expect(o, unittest.hasLength(2));
checkTraceSpan(o[0]);
checkTraceSpan(o[1]);
@@ -118,7 +118,7 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
o.projectId = "foo";
- o.spans = buildUnnamed190();
+ o.spans = buildUnnamed194();
o.traceId = "foo";
}
buildCounterTrace--;
@@ -129,20 +129,20 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed190(o.spans);
+ checkUnnamed194(o.spans);
unittest.expect(o.traceId, unittest.equals('foo'));
}
buildCounterTrace--;
}
-buildUnnamed191() {
+buildUnnamed195() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed191(core.Map<core.String, core.String> o) {
+checkUnnamed195(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -155,7 +155,7 @@
if (buildCounterTraceSpan < 3) {
o.endTime = "foo";
o.kind = "foo";
- o.labels = buildUnnamed191();
+ o.labels = buildUnnamed195();
o.name = "foo";
o.parentSpanId = "foo";
o.spanId = "foo";
@@ -170,7 +170,7 @@
if (buildCounterTraceSpan < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed191(o.labels);
+ checkUnnamed195(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentSpanId, unittest.equals('foo'));
unittest.expect(o.spanId, unittest.equals('foo'));
@@ -179,14 +179,14 @@
buildCounterTraceSpan--;
}
-buildUnnamed192() {
+buildUnnamed196() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed192(core.List<api.Trace> o) {
+checkUnnamed196(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -197,7 +197,7 @@
var o = new api.Traces();
buildCounterTraces++;
if (buildCounterTraces < 3) {
- o.traces = buildUnnamed192();
+ o.traces = buildUnnamed196();
}
buildCounterTraces--;
return o;
@@ -206,7 +206,7 @@
checkTraces(api.Traces o) {
buildCounterTraces++;
if (buildCounterTraces < 3) {
- checkUnnamed192(o.traces);
+ checkUnnamed196(o.traces);
}
buildCounterTraces--;
}
@@ -387,13 +387,13 @@
api.ProjectsTracesResourceApi res =
new api.CloudtraceApi(mock).projects.traces;
var arg_projectId = "foo";
+ var arg_filter = "foo";
+ var arg_endTime = "foo";
+ var arg_startTime = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
var arg_orderBy = "foo";
- var arg_filter = "foo";
- var arg_endTime = "foo";
- var arg_pageToken = "foo";
- var arg_startTime = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -434,18 +434,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["endTime"].first, unittest.equals(arg_endTime));
+ unittest.expect(
+ queryMap["startTime"].first, unittest.equals(arg_startTime));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["endTime"].first, unittest.equals(arg_endTime));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -456,13 +456,13 @@
}), true);
res
.list(arg_projectId,
+ filter: arg_filter,
+ endTime: arg_endTime,
+ startTime: arg_startTime,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
orderBy: arg_orderBy,
- filter: arg_filter,
- endTime: arg_endTime,
- pageToken: arg_pageToken,
- startTime: arg_startTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTracesResponse response) {
checkListTracesResponse(response);
diff --git a/generated/googleapis/test/cloudtrace/v2_test.dart b/generated/googleapis/test/cloudtrace/v2_test.dart
index f80e906..54ba4ba 100644
--- a/generated/googleapis/test/cloudtrace/v2_test.dart
+++ b/generated/googleapis/test/cloudtrace/v2_test.dart
@@ -94,14 +94,14 @@
buildCounterAttributeValue--;
}
-buildUnnamed1138() {
+buildUnnamed1145() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed1138(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed1145(core.Map<core.String, api.AttributeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttributeValue(o["x"]);
checkAttributeValue(o["y"]);
@@ -112,7 +112,7 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.attributeMap = buildUnnamed1138();
+ o.attributeMap = buildUnnamed1145();
o.droppedAttributesCount = 42;
}
buildCounterAttributes--;
@@ -122,20 +122,20 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed1138(o.attributeMap);
+ checkUnnamed1145(o.attributeMap);
unittest.expect(o.droppedAttributesCount, unittest.equals(42));
}
buildCounterAttributes--;
}
-buildUnnamed1139() {
+buildUnnamed1146() {
var o = new core.List<api.Span>();
o.add(buildSpan());
o.add(buildSpan());
return o;
}
-checkUnnamed1139(core.List<api.Span> o) {
+checkUnnamed1146(core.List<api.Span> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpan(o[0]);
checkSpan(o[1]);
@@ -146,7 +146,7 @@
var o = new api.BatchWriteSpansRequest();
buildCounterBatchWriteSpansRequest++;
if (buildCounterBatchWriteSpansRequest < 3) {
- o.spans = buildUnnamed1139();
+ o.spans = buildUnnamed1146();
}
buildCounterBatchWriteSpansRequest--;
return o;
@@ -155,7 +155,7 @@
checkBatchWriteSpansRequest(api.BatchWriteSpansRequest o) {
buildCounterBatchWriteSpansRequest++;
if (buildCounterBatchWriteSpansRequest < 3) {
- checkUnnamed1139(o.spans);
+ checkUnnamed1146(o.spans);
}
buildCounterBatchWriteSpansRequest--;
}
@@ -200,14 +200,14 @@
buildCounterLink--;
}
-buildUnnamed1140() {
+buildUnnamed1147() {
var o = new core.List<api.Link>();
o.add(buildLink());
o.add(buildLink());
return o;
}
-checkUnnamed1140(core.List<api.Link> o) {
+checkUnnamed1147(core.List<api.Link> o) {
unittest.expect(o, unittest.hasLength(2));
checkLink(o[0]);
checkLink(o[1]);
@@ -219,7 +219,7 @@
buildCounterLinks++;
if (buildCounterLinks < 3) {
o.droppedLinksCount = 42;
- o.link = buildUnnamed1140();
+ o.link = buildUnnamed1147();
}
buildCounterLinks--;
return o;
@@ -229,7 +229,7 @@
buildCounterLinks++;
if (buildCounterLinks < 3) {
unittest.expect(o.droppedLinksCount, unittest.equals(42));
- checkUnnamed1140(o.link);
+ checkUnnamed1147(o.link);
}
buildCounterLinks--;
}
@@ -354,14 +354,14 @@
buildCounterStackFrame--;
}
-buildUnnamed1141() {
+buildUnnamed1148() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed1141(core.List<api.StackFrame> o) {
+checkUnnamed1148(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
@@ -373,7 +373,7 @@
buildCounterStackFrames++;
if (buildCounterStackFrames < 3) {
o.droppedFramesCount = 42;
- o.frame = buildUnnamed1141();
+ o.frame = buildUnnamed1148();
}
buildCounterStackFrames--;
return o;
@@ -383,7 +383,7 @@
buildCounterStackFrames++;
if (buildCounterStackFrames < 3) {
unittest.expect(o.droppedFramesCount, unittest.equals(42));
- checkUnnamed1141(o.frame);
+ checkUnnamed1148(o.frame);
}
buildCounterStackFrames--;
}
@@ -409,7 +409,7 @@
buildCounterStackTrace--;
}
-buildUnnamed1142() {
+buildUnnamed1149() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -424,7 +424,7 @@
return o;
}
-checkUnnamed1142(core.Map<core.String, core.Object> o) {
+checkUnnamed1149(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -438,17 +438,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1143() {
+buildUnnamed1150() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1142());
- o.add(buildUnnamed1142());
+ o.add(buildUnnamed1149());
+ o.add(buildUnnamed1149());
return o;
}
-checkUnnamed1143(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1150(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1142(o[0]);
- checkUnnamed1142(o[1]);
+ checkUnnamed1149(o[0]);
+ checkUnnamed1149(o[1]);
}
core.int buildCounterStatus = 0;
@@ -457,7 +457,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1143();
+ o.details = buildUnnamed1150();
o.message = "foo";
}
buildCounterStatus--;
@@ -468,7 +468,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1143(o.details);
+ checkUnnamed1150(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -497,14 +497,14 @@
buildCounterTimeEvent--;
}
-buildUnnamed1144() {
+buildUnnamed1151() {
var o = new core.List<api.TimeEvent>();
o.add(buildTimeEvent());
o.add(buildTimeEvent());
return o;
}
-checkUnnamed1144(core.List<api.TimeEvent> o) {
+checkUnnamed1151(core.List<api.TimeEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeEvent(o[0]);
checkTimeEvent(o[1]);
@@ -517,7 +517,7 @@
if (buildCounterTimeEvents < 3) {
o.droppedAnnotationsCount = 42;
o.droppedMessageEventsCount = 42;
- o.timeEvent = buildUnnamed1144();
+ o.timeEvent = buildUnnamed1151();
}
buildCounterTimeEvents--;
return o;
@@ -528,7 +528,7 @@
if (buildCounterTimeEvents < 3) {
unittest.expect(o.droppedAnnotationsCount, unittest.equals(42));
unittest.expect(o.droppedMessageEventsCount, unittest.equals(42));
- checkUnnamed1144(o.timeEvent);
+ checkUnnamed1151(o.timeEvent);
}
buildCounterTimeEvents--;
}
diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart
index 5211e23..e326a2b 100644
--- a/generated/googleapis/test/compute/v1_test.dart
+++ b/generated/googleapis/test/compute/v1_test.dart
@@ -106,14 +106,14 @@
buildCounterAcceleratorType--;
}
-buildUnnamed2286() {
+buildUnnamed2292() {
var o = new core.Map<core.String, api.AcceleratorTypesScopedList>();
o["x"] = buildAcceleratorTypesScopedList();
o["y"] = buildAcceleratorTypesScopedList();
return o;
}
-checkUnnamed2286(core.Map<core.String, api.AcceleratorTypesScopedList> o) {
+checkUnnamed2292(core.Map<core.String, api.AcceleratorTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypesScopedList(o["x"]);
checkAcceleratorTypesScopedList(o["y"]);
@@ -141,14 +141,14 @@
buildCounterAcceleratorTypeAggregatedListWarningData--;
}
-buildUnnamed2287() {
+buildUnnamed2293() {
var o = new core.List<api.AcceleratorTypeAggregatedListWarningData>();
o.add(buildAcceleratorTypeAggregatedListWarningData());
o.add(buildAcceleratorTypeAggregatedListWarningData());
return o;
}
-checkUnnamed2287(core.List<api.AcceleratorTypeAggregatedListWarningData> o) {
+checkUnnamed2293(core.List<api.AcceleratorTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypeAggregatedListWarningData(o[0]);
checkAcceleratorTypeAggregatedListWarningData(o[1]);
@@ -160,7 +160,7 @@
buildCounterAcceleratorTypeAggregatedListWarning++;
if (buildCounterAcceleratorTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2287();
+ o.data = buildUnnamed2293();
o.message = "foo";
}
buildCounterAcceleratorTypeAggregatedListWarning--;
@@ -172,7 +172,7 @@
buildCounterAcceleratorTypeAggregatedListWarning++;
if (buildCounterAcceleratorTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2287(o.data);
+ checkUnnamed2293(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypeAggregatedListWarning--;
@@ -184,7 +184,7 @@
buildCounterAcceleratorTypeAggregatedList++;
if (buildCounterAcceleratorTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2286();
+ o.items = buildUnnamed2292();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -198,7 +198,7 @@
buildCounterAcceleratorTypeAggregatedList++;
if (buildCounterAcceleratorTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2286(o.items);
+ checkUnnamed2292(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -207,14 +207,14 @@
buildCounterAcceleratorTypeAggregatedList--;
}
-buildUnnamed2288() {
+buildUnnamed2294() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed2288(core.List<api.AcceleratorType> o) {
+checkUnnamed2294(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
@@ -241,14 +241,14 @@
buildCounterAcceleratorTypeListWarningData--;
}
-buildUnnamed2289() {
+buildUnnamed2295() {
var o = new core.List<api.AcceleratorTypeListWarningData>();
o.add(buildAcceleratorTypeListWarningData());
o.add(buildAcceleratorTypeListWarningData());
return o;
}
-checkUnnamed2289(core.List<api.AcceleratorTypeListWarningData> o) {
+checkUnnamed2295(core.List<api.AcceleratorTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypeListWarningData(o[0]);
checkAcceleratorTypeListWarningData(o[1]);
@@ -260,7 +260,7 @@
buildCounterAcceleratorTypeListWarning++;
if (buildCounterAcceleratorTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2289();
+ o.data = buildUnnamed2295();
o.message = "foo";
}
buildCounterAcceleratorTypeListWarning--;
@@ -271,7 +271,7 @@
buildCounterAcceleratorTypeListWarning++;
if (buildCounterAcceleratorTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2289(o.data);
+ checkUnnamed2295(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypeListWarning--;
@@ -283,7 +283,7 @@
buildCounterAcceleratorTypeList++;
if (buildCounterAcceleratorTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2288();
+ o.items = buildUnnamed2294();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -297,7 +297,7 @@
buildCounterAcceleratorTypeList++;
if (buildCounterAcceleratorTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2288(o.items);
+ checkUnnamed2294(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -306,14 +306,14 @@
buildCounterAcceleratorTypeList--;
}
-buildUnnamed2290() {
+buildUnnamed2296() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed2290(core.List<api.AcceleratorType> o) {
+checkUnnamed2296(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
@@ -341,14 +341,14 @@
buildCounterAcceleratorTypesScopedListWarningData--;
}
-buildUnnamed2291() {
+buildUnnamed2297() {
var o = new core.List<api.AcceleratorTypesScopedListWarningData>();
o.add(buildAcceleratorTypesScopedListWarningData());
o.add(buildAcceleratorTypesScopedListWarningData());
return o;
}
-checkUnnamed2291(core.List<api.AcceleratorTypesScopedListWarningData> o) {
+checkUnnamed2297(core.List<api.AcceleratorTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypesScopedListWarningData(o[0]);
checkAcceleratorTypesScopedListWarningData(o[1]);
@@ -360,7 +360,7 @@
buildCounterAcceleratorTypesScopedListWarning++;
if (buildCounterAcceleratorTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2291();
+ o.data = buildUnnamed2297();
o.message = "foo";
}
buildCounterAcceleratorTypesScopedListWarning--;
@@ -372,7 +372,7 @@
buildCounterAcceleratorTypesScopedListWarning++;
if (buildCounterAcceleratorTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2291(o.data);
+ checkUnnamed2297(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypesScopedListWarning--;
@@ -383,7 +383,7 @@
var o = new api.AcceleratorTypesScopedList();
buildCounterAcceleratorTypesScopedList++;
if (buildCounterAcceleratorTypesScopedList < 3) {
- o.acceleratorTypes = buildUnnamed2290();
+ o.acceleratorTypes = buildUnnamed2296();
o.warning = buildAcceleratorTypesScopedListWarning();
}
buildCounterAcceleratorTypesScopedList--;
@@ -393,7 +393,7 @@
checkAcceleratorTypesScopedList(api.AcceleratorTypesScopedList o) {
buildCounterAcceleratorTypesScopedList++;
if (buildCounterAcceleratorTypesScopedList < 3) {
- checkUnnamed2290(o.acceleratorTypes);
+ checkUnnamed2296(o.acceleratorTypes);
checkAcceleratorTypesScopedListWarning(o.warning);
}
buildCounterAcceleratorTypesScopedList--;
@@ -424,14 +424,14 @@
buildCounterAccessConfig--;
}
-buildUnnamed2292() {
+buildUnnamed2298() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2292(core.List<core.String> o) {
+checkUnnamed2298(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'));
@@ -454,7 +454,7 @@
o.selfLink = "foo";
o.status = "foo";
o.subnetwork = "foo";
- o.users = buildUnnamed2292();
+ o.users = buildUnnamed2298();
}
buildCounterAddress--;
return o;
@@ -475,19 +475,19 @@
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
- checkUnnamed2292(o.users);
+ checkUnnamed2298(o.users);
}
buildCounterAddress--;
}
-buildUnnamed2293() {
+buildUnnamed2299() {
var o = new core.Map<core.String, api.AddressesScopedList>();
o["x"] = buildAddressesScopedList();
o["y"] = buildAddressesScopedList();
return o;
}
-checkUnnamed2293(core.Map<core.String, api.AddressesScopedList> o) {
+checkUnnamed2299(core.Map<core.String, api.AddressesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedList(o["x"]);
checkAddressesScopedList(o["y"]);
@@ -514,14 +514,14 @@
buildCounterAddressAggregatedListWarningData--;
}
-buildUnnamed2294() {
+buildUnnamed2300() {
var o = new core.List<api.AddressAggregatedListWarningData>();
o.add(buildAddressAggregatedListWarningData());
o.add(buildAddressAggregatedListWarningData());
return o;
}
-checkUnnamed2294(core.List<api.AddressAggregatedListWarningData> o) {
+checkUnnamed2300(core.List<api.AddressAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressAggregatedListWarningData(o[0]);
checkAddressAggregatedListWarningData(o[1]);
@@ -533,7 +533,7 @@
buildCounterAddressAggregatedListWarning++;
if (buildCounterAddressAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2294();
+ o.data = buildUnnamed2300();
o.message = "foo";
}
buildCounterAddressAggregatedListWarning--;
@@ -544,7 +544,7 @@
buildCounterAddressAggregatedListWarning++;
if (buildCounterAddressAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2294(o.data);
+ checkUnnamed2300(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressAggregatedListWarning--;
@@ -556,7 +556,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2293();
+ o.items = buildUnnamed2299();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -570,7 +570,7 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2293(o.items);
+ checkUnnamed2299(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -579,14 +579,14 @@
buildCounterAddressAggregatedList--;
}
-buildUnnamed2295() {
+buildUnnamed2301() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed2295(core.List<api.Address> o) {
+checkUnnamed2301(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -613,14 +613,14 @@
buildCounterAddressListWarningData--;
}
-buildUnnamed2296() {
+buildUnnamed2302() {
var o = new core.List<api.AddressListWarningData>();
o.add(buildAddressListWarningData());
o.add(buildAddressListWarningData());
return o;
}
-checkUnnamed2296(core.List<api.AddressListWarningData> o) {
+checkUnnamed2302(core.List<api.AddressListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressListWarningData(o[0]);
checkAddressListWarningData(o[1]);
@@ -632,7 +632,7 @@
buildCounterAddressListWarning++;
if (buildCounterAddressListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2296();
+ o.data = buildUnnamed2302();
o.message = "foo";
}
buildCounterAddressListWarning--;
@@ -643,7 +643,7 @@
buildCounterAddressListWarning++;
if (buildCounterAddressListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2296(o.data);
+ checkUnnamed2302(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressListWarning--;
@@ -655,7 +655,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
o.id = "foo";
- o.items = buildUnnamed2295();
+ o.items = buildUnnamed2301();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -669,7 +669,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2295(o.items);
+ checkUnnamed2301(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -678,14 +678,14 @@
buildCounterAddressList--;
}
-buildUnnamed2297() {
+buildUnnamed2303() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed2297(core.List<api.Address> o) {
+checkUnnamed2303(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -712,14 +712,14 @@
buildCounterAddressesScopedListWarningData--;
}
-buildUnnamed2298() {
+buildUnnamed2304() {
var o = new core.List<api.AddressesScopedListWarningData>();
o.add(buildAddressesScopedListWarningData());
o.add(buildAddressesScopedListWarningData());
return o;
}
-checkUnnamed2298(core.List<api.AddressesScopedListWarningData> o) {
+checkUnnamed2304(core.List<api.AddressesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedListWarningData(o[0]);
checkAddressesScopedListWarningData(o[1]);
@@ -731,7 +731,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2298();
+ o.data = buildUnnamed2304();
o.message = "foo";
}
buildCounterAddressesScopedListWarning--;
@@ -742,7 +742,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2298(o.data);
+ checkUnnamed2304(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressesScopedListWarning--;
@@ -753,7 +753,7 @@
var o = new api.AddressesScopedList();
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- o.addresses = buildUnnamed2297();
+ o.addresses = buildUnnamed2303();
o.warning = buildAddressesScopedListWarning();
}
buildCounterAddressesScopedList--;
@@ -763,7 +763,7 @@
checkAddressesScopedList(api.AddressesScopedList o) {
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- checkUnnamed2297(o.addresses);
+ checkUnnamed2303(o.addresses);
checkAddressesScopedListWarning(o.warning);
}
buildCounterAddressesScopedList--;
@@ -790,14 +790,14 @@
buildCounterAliasIpRange--;
}
-buildUnnamed2299() {
+buildUnnamed2305() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2299(core.List<core.String> o) {
+checkUnnamed2305(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'));
@@ -816,7 +816,7 @@
o.initializeParams = buildAttachedDiskInitializeParams();
o.interface = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed2299();
+ o.licenses = buildUnnamed2305();
o.mode = "foo";
o.source = "foo";
o.type = "foo";
@@ -836,7 +836,7 @@
checkAttachedDiskInitializeParams(o.initializeParams);
unittest.expect(o.interface, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2299(o.licenses);
+ checkUnnamed2305(o.licenses);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -871,14 +871,14 @@
buildCounterAttachedDiskInitializeParams--;
}
-buildUnnamed2300() {
+buildUnnamed2306() {
var o = new core.List<api.AutoscalerStatusDetails>();
o.add(buildAutoscalerStatusDetails());
o.add(buildAutoscalerStatusDetails());
return o;
}
-checkUnnamed2300(core.List<api.AutoscalerStatusDetails> o) {
+checkUnnamed2306(core.List<api.AutoscalerStatusDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerStatusDetails(o[0]);
checkAutoscalerStatusDetails(o[1]);
@@ -898,7 +898,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.statusDetails = buildUnnamed2300();
+ o.statusDetails = buildUnnamed2306();
o.target = "foo";
o.zone = "foo";
}
@@ -918,21 +918,21 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2300(o.statusDetails);
+ checkUnnamed2306(o.statusDetails);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterAutoscaler--;
}
-buildUnnamed2301() {
+buildUnnamed2307() {
var o = new core.Map<core.String, api.AutoscalersScopedList>();
o["x"] = buildAutoscalersScopedList();
o["y"] = buildAutoscalersScopedList();
return o;
}
-checkUnnamed2301(core.Map<core.String, api.AutoscalersScopedList> o) {
+checkUnnamed2307(core.Map<core.String, api.AutoscalersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedList(o["x"]);
checkAutoscalersScopedList(o["y"]);
@@ -960,14 +960,14 @@
buildCounterAutoscalerAggregatedListWarningData--;
}
-buildUnnamed2302() {
+buildUnnamed2308() {
var o = new core.List<api.AutoscalerAggregatedListWarningData>();
o.add(buildAutoscalerAggregatedListWarningData());
o.add(buildAutoscalerAggregatedListWarningData());
return o;
}
-checkUnnamed2302(core.List<api.AutoscalerAggregatedListWarningData> o) {
+checkUnnamed2308(core.List<api.AutoscalerAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerAggregatedListWarningData(o[0]);
checkAutoscalerAggregatedListWarningData(o[1]);
@@ -979,7 +979,7 @@
buildCounterAutoscalerAggregatedListWarning++;
if (buildCounterAutoscalerAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2302();
+ o.data = buildUnnamed2308();
o.message = "foo";
}
buildCounterAutoscalerAggregatedListWarning--;
@@ -990,7 +990,7 @@
buildCounterAutoscalerAggregatedListWarning++;
if (buildCounterAutoscalerAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2302(o.data);
+ checkUnnamed2308(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalerAggregatedListWarning--;
@@ -1002,7 +1002,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2301();
+ o.items = buildUnnamed2307();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1016,7 +1016,7 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2301(o.items);
+ checkUnnamed2307(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1025,14 +1025,14 @@
buildCounterAutoscalerAggregatedList--;
}
-buildUnnamed2303() {
+buildUnnamed2309() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2303(core.List<api.Autoscaler> o) {
+checkUnnamed2309(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -1059,14 +1059,14 @@
buildCounterAutoscalerListWarningData--;
}
-buildUnnamed2304() {
+buildUnnamed2310() {
var o = new core.List<api.AutoscalerListWarningData>();
o.add(buildAutoscalerListWarningData());
o.add(buildAutoscalerListWarningData());
return o;
}
-checkUnnamed2304(core.List<api.AutoscalerListWarningData> o) {
+checkUnnamed2310(core.List<api.AutoscalerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerListWarningData(o[0]);
checkAutoscalerListWarningData(o[1]);
@@ -1078,7 +1078,7 @@
buildCounterAutoscalerListWarning++;
if (buildCounterAutoscalerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2304();
+ o.data = buildUnnamed2310();
o.message = "foo";
}
buildCounterAutoscalerListWarning--;
@@ -1089,7 +1089,7 @@
buildCounterAutoscalerListWarning++;
if (buildCounterAutoscalerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2304(o.data);
+ checkUnnamed2310(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalerListWarning--;
@@ -1101,7 +1101,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2303();
+ o.items = buildUnnamed2309();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1115,7 +1115,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2303(o.items);
+ checkUnnamed2309(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1145,14 +1145,14 @@
buildCounterAutoscalerStatusDetails--;
}
-buildUnnamed2305() {
+buildUnnamed2311() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2305(core.List<api.Autoscaler> o) {
+checkUnnamed2311(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -1179,14 +1179,14 @@
buildCounterAutoscalersScopedListWarningData--;
}
-buildUnnamed2306() {
+buildUnnamed2312() {
var o = new core.List<api.AutoscalersScopedListWarningData>();
o.add(buildAutoscalersScopedListWarningData());
o.add(buildAutoscalersScopedListWarningData());
return o;
}
-checkUnnamed2306(core.List<api.AutoscalersScopedListWarningData> o) {
+checkUnnamed2312(core.List<api.AutoscalersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedListWarningData(o[0]);
checkAutoscalersScopedListWarningData(o[1]);
@@ -1198,7 +1198,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2306();
+ o.data = buildUnnamed2312();
o.message = "foo";
}
buildCounterAutoscalersScopedListWarning--;
@@ -1209,7 +1209,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2306(o.data);
+ checkUnnamed2312(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalersScopedListWarning--;
@@ -1220,7 +1220,7 @@
var o = new api.AutoscalersScopedList();
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- o.autoscalers = buildUnnamed2305();
+ o.autoscalers = buildUnnamed2311();
o.warning = buildAutoscalersScopedListWarning();
}
buildCounterAutoscalersScopedList--;
@@ -1230,20 +1230,20 @@
checkAutoscalersScopedList(api.AutoscalersScopedList o) {
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- checkUnnamed2305(o.autoscalers);
+ checkUnnamed2311(o.autoscalers);
checkAutoscalersScopedListWarning(o.warning);
}
buildCounterAutoscalersScopedList--;
}
-buildUnnamed2307() {
+buildUnnamed2313() {
var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>();
o.add(buildAutoscalingPolicyCustomMetricUtilization());
o.add(buildAutoscalingPolicyCustomMetricUtilization());
return o;
}
-checkUnnamed2307(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
+checkUnnamed2313(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalingPolicyCustomMetricUtilization(o[0]);
checkAutoscalingPolicyCustomMetricUtilization(o[1]);
@@ -1256,7 +1256,7 @@
if (buildCounterAutoscalingPolicy < 3) {
o.coolDownPeriodSec = 42;
o.cpuUtilization = buildAutoscalingPolicyCpuUtilization();
- o.customMetricUtilizations = buildUnnamed2307();
+ o.customMetricUtilizations = buildUnnamed2313();
o.loadBalancingUtilization =
buildAutoscalingPolicyLoadBalancingUtilization();
o.maxNumReplicas = 42;
@@ -1271,7 +1271,7 @@
if (buildCounterAutoscalingPolicy < 3) {
unittest.expect(o.coolDownPeriodSec, unittest.equals(42));
checkAutoscalingPolicyCpuUtilization(o.cpuUtilization);
- checkUnnamed2307(o.customMetricUtilizations);
+ checkUnnamed2313(o.customMetricUtilizations);
checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization);
unittest.expect(o.maxNumReplicas, unittest.equals(42));
unittest.expect(o.minNumReplicas, unittest.equals(42));
@@ -1410,14 +1410,14 @@
buildCounterBackendBucket--;
}
-buildUnnamed2308() {
+buildUnnamed2314() {
var o = new core.List<api.BackendBucket>();
o.add(buildBackendBucket());
o.add(buildBackendBucket());
return o;
}
-checkUnnamed2308(core.List<api.BackendBucket> o) {
+checkUnnamed2314(core.List<api.BackendBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendBucket(o[0]);
checkBackendBucket(o[1]);
@@ -1444,14 +1444,14 @@
buildCounterBackendBucketListWarningData--;
}
-buildUnnamed2309() {
+buildUnnamed2315() {
var o = new core.List<api.BackendBucketListWarningData>();
o.add(buildBackendBucketListWarningData());
o.add(buildBackendBucketListWarningData());
return o;
}
-checkUnnamed2309(core.List<api.BackendBucketListWarningData> o) {
+checkUnnamed2315(core.List<api.BackendBucketListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendBucketListWarningData(o[0]);
checkBackendBucketListWarningData(o[1]);
@@ -1463,7 +1463,7 @@
buildCounterBackendBucketListWarning++;
if (buildCounterBackendBucketListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2309();
+ o.data = buildUnnamed2315();
o.message = "foo";
}
buildCounterBackendBucketListWarning--;
@@ -1474,7 +1474,7 @@
buildCounterBackendBucketListWarning++;
if (buildCounterBackendBucketListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2309(o.data);
+ checkUnnamed2315(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendBucketListWarning--;
@@ -1486,7 +1486,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
o.id = "foo";
- o.items = buildUnnamed2308();
+ o.items = buildUnnamed2314();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1500,7 +1500,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2308(o.items);
+ checkUnnamed2314(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1509,27 +1509,27 @@
buildCounterBackendBucketList--;
}
-buildUnnamed2310() {
+buildUnnamed2316() {
var o = new core.List<api.Backend>();
o.add(buildBackend());
o.add(buildBackend());
return o;
}
-checkUnnamed2310(core.List<api.Backend> o) {
+checkUnnamed2316(core.List<api.Backend> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackend(o[0]);
checkBackend(o[1]);
}
-buildUnnamed2311() {
+buildUnnamed2317() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2311(core.List<core.String> o) {
+checkUnnamed2317(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'));
@@ -1541,14 +1541,14 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
o.affinityCookieTtlSec = 42;
- o.backends = buildUnnamed2310();
+ o.backends = buildUnnamed2316();
o.cdnPolicy = buildBackendServiceCdnPolicy();
o.connectionDraining = buildConnectionDraining();
o.creationTimestamp = "foo";
o.description = "foo";
o.enableCDN = true;
o.fingerprint = "foo";
- o.healthChecks = buildUnnamed2311();
+ o.healthChecks = buildUnnamed2317();
o.iap = buildBackendServiceIAP();
o.id = "foo";
o.kind = "foo";
@@ -1570,14 +1570,14 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
unittest.expect(o.affinityCookieTtlSec, unittest.equals(42));
- checkUnnamed2310(o.backends);
+ checkUnnamed2316(o.backends);
checkBackendServiceCdnPolicy(o.cdnPolicy);
checkConnectionDraining(o.connectionDraining);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.enableCDN, unittest.isTrue);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2311(o.healthChecks);
+ checkUnnamed2317(o.healthChecks);
checkBackendServiceIAP(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1594,14 +1594,14 @@
buildCounterBackendService--;
}
-buildUnnamed2312() {
+buildUnnamed2318() {
var o = new core.Map<core.String, api.BackendServicesScopedList>();
o["x"] = buildBackendServicesScopedList();
o["y"] = buildBackendServicesScopedList();
return o;
}
-checkUnnamed2312(core.Map<core.String, api.BackendServicesScopedList> o) {
+checkUnnamed2318(core.Map<core.String, api.BackendServicesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedList(o["x"]);
checkBackendServicesScopedList(o["y"]);
@@ -1629,14 +1629,14 @@
buildCounterBackendServiceAggregatedListWarningData--;
}
-buildUnnamed2313() {
+buildUnnamed2319() {
var o = new core.List<api.BackendServiceAggregatedListWarningData>();
o.add(buildBackendServiceAggregatedListWarningData());
o.add(buildBackendServiceAggregatedListWarningData());
return o;
}
-checkUnnamed2313(core.List<api.BackendServiceAggregatedListWarningData> o) {
+checkUnnamed2319(core.List<api.BackendServiceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServiceAggregatedListWarningData(o[0]);
checkBackendServiceAggregatedListWarningData(o[1]);
@@ -1648,7 +1648,7 @@
buildCounterBackendServiceAggregatedListWarning++;
if (buildCounterBackendServiceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2313();
+ o.data = buildUnnamed2319();
o.message = "foo";
}
buildCounterBackendServiceAggregatedListWarning--;
@@ -1660,7 +1660,7 @@
buildCounterBackendServiceAggregatedListWarning++;
if (buildCounterBackendServiceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2313(o.data);
+ checkUnnamed2319(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServiceAggregatedListWarning--;
@@ -1672,7 +1672,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2312();
+ o.items = buildUnnamed2318();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1686,7 +1686,7 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2312(o.items);
+ checkUnnamed2318(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1714,14 +1714,14 @@
buildCounterBackendServiceCdnPolicy--;
}
-buildUnnamed2314() {
+buildUnnamed2320() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2314(core.List<api.HealthStatus> o) {
+checkUnnamed2320(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -1732,7 +1732,7 @@
var o = new api.BackendServiceGroupHealth();
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- o.healthStatus = buildUnnamed2314();
+ o.healthStatus = buildUnnamed2320();
o.kind = "foo";
}
buildCounterBackendServiceGroupHealth--;
@@ -1742,7 +1742,7 @@
checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) {
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- checkUnnamed2314(o.healthStatus);
+ checkUnnamed2320(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBackendServiceGroupHealth--;
@@ -1773,14 +1773,14 @@
buildCounterBackendServiceIAP--;
}
-buildUnnamed2315() {
+buildUnnamed2321() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed2315(core.List<api.BackendService> o) {
+checkUnnamed2321(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -1807,14 +1807,14 @@
buildCounterBackendServiceListWarningData--;
}
-buildUnnamed2316() {
+buildUnnamed2322() {
var o = new core.List<api.BackendServiceListWarningData>();
o.add(buildBackendServiceListWarningData());
o.add(buildBackendServiceListWarningData());
return o;
}
-checkUnnamed2316(core.List<api.BackendServiceListWarningData> o) {
+checkUnnamed2322(core.List<api.BackendServiceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServiceListWarningData(o[0]);
checkBackendServiceListWarningData(o[1]);
@@ -1826,7 +1826,7 @@
buildCounterBackendServiceListWarning++;
if (buildCounterBackendServiceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2316();
+ o.data = buildUnnamed2322();
o.message = "foo";
}
buildCounterBackendServiceListWarning--;
@@ -1837,7 +1837,7 @@
buildCounterBackendServiceListWarning++;
if (buildCounterBackendServiceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2316(o.data);
+ checkUnnamed2322(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServiceListWarning--;
@@ -1849,7 +1849,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2315();
+ o.items = buildUnnamed2321();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1863,7 +1863,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2315(o.items);
+ checkUnnamed2321(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1872,14 +1872,14 @@
buildCounterBackendServiceList--;
}
-buildUnnamed2317() {
+buildUnnamed2323() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed2317(core.List<api.BackendService> o) {
+checkUnnamed2323(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -1907,14 +1907,14 @@
buildCounterBackendServicesScopedListWarningData--;
}
-buildUnnamed2318() {
+buildUnnamed2324() {
var o = new core.List<api.BackendServicesScopedListWarningData>();
o.add(buildBackendServicesScopedListWarningData());
o.add(buildBackendServicesScopedListWarningData());
return o;
}
-checkUnnamed2318(core.List<api.BackendServicesScopedListWarningData> o) {
+checkUnnamed2324(core.List<api.BackendServicesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedListWarningData(o[0]);
checkBackendServicesScopedListWarningData(o[1]);
@@ -1926,7 +1926,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2318();
+ o.data = buildUnnamed2324();
o.message = "foo";
}
buildCounterBackendServicesScopedListWarning--;
@@ -1937,7 +1937,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2318(o.data);
+ checkUnnamed2324(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServicesScopedListWarning--;
@@ -1948,7 +1948,7 @@
var o = new api.BackendServicesScopedList();
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- o.backendServices = buildUnnamed2317();
+ o.backendServices = buildUnnamed2323();
o.warning = buildBackendServicesScopedListWarning();
}
buildCounterBackendServicesScopedList--;
@@ -1958,7 +1958,7 @@
checkBackendServicesScopedList(api.BackendServicesScopedList o) {
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- checkUnnamed2317(o.backendServices);
+ checkUnnamed2323(o.backendServices);
checkBackendServicesScopedListWarning(o.warning);
}
buildCounterBackendServicesScopedList--;
@@ -1985,27 +1985,27 @@
buildCounterCacheInvalidationRule--;
}
-buildUnnamed2319() {
+buildUnnamed2325() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2319(core.List<core.String> o) {
+checkUnnamed2325(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'));
}
-buildUnnamed2320() {
+buildUnnamed2326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2320(core.List<core.String> o) {
+checkUnnamed2326(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'));
@@ -2019,8 +2019,8 @@
o.includeHost = true;
o.includeProtocol = true;
o.includeQueryString = true;
- o.queryStringBlacklist = buildUnnamed2319();
- o.queryStringWhitelist = buildUnnamed2320();
+ o.queryStringBlacklist = buildUnnamed2325();
+ o.queryStringWhitelist = buildUnnamed2326();
}
buildCounterCacheKeyPolicy--;
return o;
@@ -2032,20 +2032,20 @@
unittest.expect(o.includeHost, unittest.isTrue);
unittest.expect(o.includeProtocol, unittest.isTrue);
unittest.expect(o.includeQueryString, unittest.isTrue);
- checkUnnamed2319(o.queryStringBlacklist);
- checkUnnamed2320(o.queryStringWhitelist);
+ checkUnnamed2325(o.queryStringBlacklist);
+ checkUnnamed2326(o.queryStringWhitelist);
}
buildCounterCacheKeyPolicy--;
}
-buildUnnamed2321() {
+buildUnnamed2327() {
var o = new core.List<api.ResourceCommitment>();
o.add(buildResourceCommitment());
o.add(buildResourceCommitment());
return o;
}
-checkUnnamed2321(core.List<api.ResourceCommitment> o) {
+checkUnnamed2327(core.List<api.ResourceCommitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceCommitment(o[0]);
checkResourceCommitment(o[1]);
@@ -2064,7 +2064,7 @@
o.name = "foo";
o.plan = "foo";
o.region = "foo";
- o.resources = buildUnnamed2321();
+ o.resources = buildUnnamed2327();
o.selfLink = "foo";
o.startTimestamp = "foo";
o.status = "foo";
@@ -2085,7 +2085,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.plan, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2321(o.resources);
+ checkUnnamed2327(o.resources);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.startTimestamp, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -2094,14 +2094,14 @@
buildCounterCommitment--;
}
-buildUnnamed2322() {
+buildUnnamed2328() {
var o = new core.Map<core.String, api.CommitmentsScopedList>();
o["x"] = buildCommitmentsScopedList();
o["y"] = buildCommitmentsScopedList();
return o;
}
-checkUnnamed2322(core.Map<core.String, api.CommitmentsScopedList> o) {
+checkUnnamed2328(core.Map<core.String, api.CommitmentsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentsScopedList(o["x"]);
checkCommitmentsScopedList(o["y"]);
@@ -2129,14 +2129,14 @@
buildCounterCommitmentAggregatedListWarningData--;
}
-buildUnnamed2323() {
+buildUnnamed2329() {
var o = new core.List<api.CommitmentAggregatedListWarningData>();
o.add(buildCommitmentAggregatedListWarningData());
o.add(buildCommitmentAggregatedListWarningData());
return o;
}
-checkUnnamed2323(core.List<api.CommitmentAggregatedListWarningData> o) {
+checkUnnamed2329(core.List<api.CommitmentAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentAggregatedListWarningData(o[0]);
checkCommitmentAggregatedListWarningData(o[1]);
@@ -2148,7 +2148,7 @@
buildCounterCommitmentAggregatedListWarning++;
if (buildCounterCommitmentAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2323();
+ o.data = buildUnnamed2329();
o.message = "foo";
}
buildCounterCommitmentAggregatedListWarning--;
@@ -2159,7 +2159,7 @@
buildCounterCommitmentAggregatedListWarning++;
if (buildCounterCommitmentAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2323(o.data);
+ checkUnnamed2329(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentAggregatedListWarning--;
@@ -2171,7 +2171,7 @@
buildCounterCommitmentAggregatedList++;
if (buildCounterCommitmentAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2322();
+ o.items = buildUnnamed2328();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2185,7 +2185,7 @@
buildCounterCommitmentAggregatedList++;
if (buildCounterCommitmentAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2322(o.items);
+ checkUnnamed2328(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2194,14 +2194,14 @@
buildCounterCommitmentAggregatedList--;
}
-buildUnnamed2324() {
+buildUnnamed2330() {
var o = new core.List<api.Commitment>();
o.add(buildCommitment());
o.add(buildCommitment());
return o;
}
-checkUnnamed2324(core.List<api.Commitment> o) {
+checkUnnamed2330(core.List<api.Commitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitment(o[0]);
checkCommitment(o[1]);
@@ -2228,14 +2228,14 @@
buildCounterCommitmentListWarningData--;
}
-buildUnnamed2325() {
+buildUnnamed2331() {
var o = new core.List<api.CommitmentListWarningData>();
o.add(buildCommitmentListWarningData());
o.add(buildCommitmentListWarningData());
return o;
}
-checkUnnamed2325(core.List<api.CommitmentListWarningData> o) {
+checkUnnamed2331(core.List<api.CommitmentListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentListWarningData(o[0]);
checkCommitmentListWarningData(o[1]);
@@ -2247,7 +2247,7 @@
buildCounterCommitmentListWarning++;
if (buildCounterCommitmentListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2325();
+ o.data = buildUnnamed2331();
o.message = "foo";
}
buildCounterCommitmentListWarning--;
@@ -2258,7 +2258,7 @@
buildCounterCommitmentListWarning++;
if (buildCounterCommitmentListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2325(o.data);
+ checkUnnamed2331(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentListWarning--;
@@ -2270,7 +2270,7 @@
buildCounterCommitmentList++;
if (buildCounterCommitmentList < 3) {
o.id = "foo";
- o.items = buildUnnamed2324();
+ o.items = buildUnnamed2330();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2284,7 +2284,7 @@
buildCounterCommitmentList++;
if (buildCounterCommitmentList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2324(o.items);
+ checkUnnamed2330(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2293,14 +2293,14 @@
buildCounterCommitmentList--;
}
-buildUnnamed2326() {
+buildUnnamed2332() {
var o = new core.List<api.Commitment>();
o.add(buildCommitment());
o.add(buildCommitment());
return o;
}
-checkUnnamed2326(core.List<api.Commitment> o) {
+checkUnnamed2332(core.List<api.Commitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitment(o[0]);
checkCommitment(o[1]);
@@ -2327,14 +2327,14 @@
buildCounterCommitmentsScopedListWarningData--;
}
-buildUnnamed2327() {
+buildUnnamed2333() {
var o = new core.List<api.CommitmentsScopedListWarningData>();
o.add(buildCommitmentsScopedListWarningData());
o.add(buildCommitmentsScopedListWarningData());
return o;
}
-checkUnnamed2327(core.List<api.CommitmentsScopedListWarningData> o) {
+checkUnnamed2333(core.List<api.CommitmentsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentsScopedListWarningData(o[0]);
checkCommitmentsScopedListWarningData(o[1]);
@@ -2346,7 +2346,7 @@
buildCounterCommitmentsScopedListWarning++;
if (buildCounterCommitmentsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2327();
+ o.data = buildUnnamed2333();
o.message = "foo";
}
buildCounterCommitmentsScopedListWarning--;
@@ -2357,7 +2357,7 @@
buildCounterCommitmentsScopedListWarning++;
if (buildCounterCommitmentsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2327(o.data);
+ checkUnnamed2333(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentsScopedListWarning--;
@@ -2368,7 +2368,7 @@
var o = new api.CommitmentsScopedList();
buildCounterCommitmentsScopedList++;
if (buildCounterCommitmentsScopedList < 3) {
- o.commitments = buildUnnamed2326();
+ o.commitments = buildUnnamed2332();
o.warning = buildCommitmentsScopedListWarning();
}
buildCounterCommitmentsScopedList--;
@@ -2378,7 +2378,7 @@
checkCommitmentsScopedList(api.CommitmentsScopedList o) {
buildCounterCommitmentsScopedList++;
if (buildCounterCommitmentsScopedList < 3) {
- checkUnnamed2326(o.commitments);
+ checkUnnamed2332(o.commitments);
checkCommitmentsScopedListWarning(o.warning);
}
buildCounterCommitmentsScopedList--;
@@ -2473,40 +2473,40 @@
buildCounterDeprecationStatus--;
}
-buildUnnamed2328() {
+buildUnnamed2334() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2328(core.Map<core.String, core.String> o) {
+checkUnnamed2334(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2329() {
+buildUnnamed2335() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2329(core.List<core.String> o) {
+checkUnnamed2335(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'));
}
-buildUnnamed2330() {
+buildUnnamed2336() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2330(core.List<core.String> o) {
+checkUnnamed2336(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'));
@@ -2523,10 +2523,10 @@
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2328();
+ o.labels = buildUnnamed2334();
o.lastAttachTimestamp = "foo";
o.lastDetachTimestamp = "foo";
- o.licenses = buildUnnamed2329();
+ o.licenses = buildUnnamed2335();
o.name = "foo";
o.options = "foo";
o.selfLink = "foo";
@@ -2539,7 +2539,7 @@
o.sourceSnapshotId = "foo";
o.status = "foo";
o.type = "foo";
- o.users = buildUnnamed2330();
+ o.users = buildUnnamed2336();
o.zone = "foo";
}
buildCounterDisk--;
@@ -2555,10 +2555,10 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2328(o.labels);
+ checkUnnamed2334(o.labels);
unittest.expect(o.lastAttachTimestamp, unittest.equals('foo'));
unittest.expect(o.lastDetachTimestamp, unittest.equals('foo'));
- checkUnnamed2329(o.licenses);
+ checkUnnamed2335(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.options, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2571,20 +2571,20 @@
unittest.expect(o.sourceSnapshotId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed2330(o.users);
+ checkUnnamed2336(o.users);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterDisk--;
}
-buildUnnamed2331() {
+buildUnnamed2337() {
var o = new core.Map<core.String, api.DisksScopedList>();
o["x"] = buildDisksScopedList();
o["y"] = buildDisksScopedList();
return o;
}
-checkUnnamed2331(core.Map<core.String, api.DisksScopedList> o) {
+checkUnnamed2337(core.Map<core.String, api.DisksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedList(o["x"]);
checkDisksScopedList(o["y"]);
@@ -2611,14 +2611,14 @@
buildCounterDiskAggregatedListWarningData--;
}
-buildUnnamed2332() {
+buildUnnamed2338() {
var o = new core.List<api.DiskAggregatedListWarningData>();
o.add(buildDiskAggregatedListWarningData());
o.add(buildDiskAggregatedListWarningData());
return o;
}
-checkUnnamed2332(core.List<api.DiskAggregatedListWarningData> o) {
+checkUnnamed2338(core.List<api.DiskAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskAggregatedListWarningData(o[0]);
checkDiskAggregatedListWarningData(o[1]);
@@ -2630,7 +2630,7 @@
buildCounterDiskAggregatedListWarning++;
if (buildCounterDiskAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2332();
+ o.data = buildUnnamed2338();
o.message = "foo";
}
buildCounterDiskAggregatedListWarning--;
@@ -2641,7 +2641,7 @@
buildCounterDiskAggregatedListWarning++;
if (buildCounterDiskAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2332(o.data);
+ checkUnnamed2338(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskAggregatedListWarning--;
@@ -2653,7 +2653,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2331();
+ o.items = buildUnnamed2337();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2667,7 +2667,7 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2331(o.items);
+ checkUnnamed2337(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2676,14 +2676,14 @@
buildCounterDiskAggregatedList--;
}
-buildUnnamed2333() {
+buildUnnamed2339() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed2333(core.List<api.Disk> o) {
+checkUnnamed2339(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -2710,14 +2710,14 @@
buildCounterDiskListWarningData--;
}
-buildUnnamed2334() {
+buildUnnamed2340() {
var o = new core.List<api.DiskListWarningData>();
o.add(buildDiskListWarningData());
o.add(buildDiskListWarningData());
return o;
}
-checkUnnamed2334(core.List<api.DiskListWarningData> o) {
+checkUnnamed2340(core.List<api.DiskListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskListWarningData(o[0]);
checkDiskListWarningData(o[1]);
@@ -2729,7 +2729,7 @@
buildCounterDiskListWarning++;
if (buildCounterDiskListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2334();
+ o.data = buildUnnamed2340();
o.message = "foo";
}
buildCounterDiskListWarning--;
@@ -2740,7 +2740,7 @@
buildCounterDiskListWarning++;
if (buildCounterDiskListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2334(o.data);
+ checkUnnamed2340(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskListWarning--;
@@ -2752,7 +2752,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
o.id = "foo";
- o.items = buildUnnamed2333();
+ o.items = buildUnnamed2339();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2766,7 +2766,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2333(o.items);
+ checkUnnamed2339(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2833,14 +2833,14 @@
buildCounterDiskType--;
}
-buildUnnamed2335() {
+buildUnnamed2341() {
var o = new core.Map<core.String, api.DiskTypesScopedList>();
o["x"] = buildDiskTypesScopedList();
o["y"] = buildDiskTypesScopedList();
return o;
}
-checkUnnamed2335(core.Map<core.String, api.DiskTypesScopedList> o) {
+checkUnnamed2341(core.Map<core.String, api.DiskTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedList(o["x"]);
checkDiskTypesScopedList(o["y"]);
@@ -2868,14 +2868,14 @@
buildCounterDiskTypeAggregatedListWarningData--;
}
-buildUnnamed2336() {
+buildUnnamed2342() {
var o = new core.List<api.DiskTypeAggregatedListWarningData>();
o.add(buildDiskTypeAggregatedListWarningData());
o.add(buildDiskTypeAggregatedListWarningData());
return o;
}
-checkUnnamed2336(core.List<api.DiskTypeAggregatedListWarningData> o) {
+checkUnnamed2342(core.List<api.DiskTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypeAggregatedListWarningData(o[0]);
checkDiskTypeAggregatedListWarningData(o[1]);
@@ -2887,7 +2887,7 @@
buildCounterDiskTypeAggregatedListWarning++;
if (buildCounterDiskTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2336();
+ o.data = buildUnnamed2342();
o.message = "foo";
}
buildCounterDiskTypeAggregatedListWarning--;
@@ -2898,7 +2898,7 @@
buildCounterDiskTypeAggregatedListWarning++;
if (buildCounterDiskTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2336(o.data);
+ checkUnnamed2342(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypeAggregatedListWarning--;
@@ -2910,7 +2910,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2335();
+ o.items = buildUnnamed2341();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2924,7 +2924,7 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2335(o.items);
+ checkUnnamed2341(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2933,14 +2933,14 @@
buildCounterDiskTypeAggregatedList--;
}
-buildUnnamed2337() {
+buildUnnamed2343() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2337(core.List<api.DiskType> o) {
+checkUnnamed2343(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -2967,14 +2967,14 @@
buildCounterDiskTypeListWarningData--;
}
-buildUnnamed2338() {
+buildUnnamed2344() {
var o = new core.List<api.DiskTypeListWarningData>();
o.add(buildDiskTypeListWarningData());
o.add(buildDiskTypeListWarningData());
return o;
}
-checkUnnamed2338(core.List<api.DiskTypeListWarningData> o) {
+checkUnnamed2344(core.List<api.DiskTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypeListWarningData(o[0]);
checkDiskTypeListWarningData(o[1]);
@@ -2986,7 +2986,7 @@
buildCounterDiskTypeListWarning++;
if (buildCounterDiskTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2338();
+ o.data = buildUnnamed2344();
o.message = "foo";
}
buildCounterDiskTypeListWarning--;
@@ -2997,7 +2997,7 @@
buildCounterDiskTypeListWarning++;
if (buildCounterDiskTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2338(o.data);
+ checkUnnamed2344(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypeListWarning--;
@@ -3009,7 +3009,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2337();
+ o.items = buildUnnamed2343();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3023,7 +3023,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2337(o.items);
+ checkUnnamed2343(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3032,14 +3032,14 @@
buildCounterDiskTypeList--;
}
-buildUnnamed2339() {
+buildUnnamed2345() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2339(core.List<api.DiskType> o) {
+checkUnnamed2345(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -3066,14 +3066,14 @@
buildCounterDiskTypesScopedListWarningData--;
}
-buildUnnamed2340() {
+buildUnnamed2346() {
var o = new core.List<api.DiskTypesScopedListWarningData>();
o.add(buildDiskTypesScopedListWarningData());
o.add(buildDiskTypesScopedListWarningData());
return o;
}
-checkUnnamed2340(core.List<api.DiskTypesScopedListWarningData> o) {
+checkUnnamed2346(core.List<api.DiskTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedListWarningData(o[0]);
checkDiskTypesScopedListWarningData(o[1]);
@@ -3085,7 +3085,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2340();
+ o.data = buildUnnamed2346();
o.message = "foo";
}
buildCounterDiskTypesScopedListWarning--;
@@ -3096,7 +3096,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2340(o.data);
+ checkUnnamed2346(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypesScopedListWarning--;
@@ -3107,7 +3107,7 @@
var o = new api.DiskTypesScopedList();
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- o.diskTypes = buildUnnamed2339();
+ o.diskTypes = buildUnnamed2345();
o.warning = buildDiskTypesScopedListWarning();
}
buildCounterDiskTypesScopedList--;
@@ -3117,7 +3117,7 @@
checkDiskTypesScopedList(api.DiskTypesScopedList o) {
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- checkUnnamed2339(o.diskTypes);
+ checkUnnamed2345(o.diskTypes);
checkDiskTypesScopedListWarning(o.warning);
}
buildCounterDiskTypesScopedList--;
@@ -3142,14 +3142,14 @@
buildCounterDisksResizeRequest--;
}
-buildUnnamed2341() {
+buildUnnamed2347() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed2341(core.List<api.Disk> o) {
+checkUnnamed2347(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -3176,14 +3176,14 @@
buildCounterDisksScopedListWarningData--;
}
-buildUnnamed2342() {
+buildUnnamed2348() {
var o = new core.List<api.DisksScopedListWarningData>();
o.add(buildDisksScopedListWarningData());
o.add(buildDisksScopedListWarningData());
return o;
}
-checkUnnamed2342(core.List<api.DisksScopedListWarningData> o) {
+checkUnnamed2348(core.List<api.DisksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedListWarningData(o[0]);
checkDisksScopedListWarningData(o[1]);
@@ -3195,7 +3195,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2342();
+ o.data = buildUnnamed2348();
o.message = "foo";
}
buildCounterDisksScopedListWarning--;
@@ -3206,7 +3206,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2342(o.data);
+ checkUnnamed2348(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDisksScopedListWarning--;
@@ -3217,7 +3217,7 @@
var o = new api.DisksScopedList();
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- o.disks = buildUnnamed2341();
+ o.disks = buildUnnamed2347();
o.warning = buildDisksScopedListWarning();
}
buildCounterDisksScopedList--;
@@ -3227,132 +3227,12 @@
checkDisksScopedList(api.DisksScopedList o) {
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- checkUnnamed2341(o.disks);
+ checkUnnamed2347(o.disks);
checkDisksScopedListWarning(o.warning);
}
buildCounterDisksScopedList--;
}
-buildUnnamed2343() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2343(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 buildCounterFirewallAllowed = 0;
-buildFirewallAllowed() {
- var o = new api.FirewallAllowed();
- buildCounterFirewallAllowed++;
- if (buildCounterFirewallAllowed < 3) {
- o.IPProtocol = "foo";
- o.ports = buildUnnamed2343();
- }
- buildCounterFirewallAllowed--;
- return o;
-}
-
-checkFirewallAllowed(api.FirewallAllowed o) {
- buildCounterFirewallAllowed++;
- if (buildCounterFirewallAllowed < 3) {
- unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed2343(o.ports);
- }
- buildCounterFirewallAllowed--;
-}
-
-buildUnnamed2344() {
- var o = new core.List<api.FirewallAllowed>();
- o.add(buildFirewallAllowed());
- o.add(buildFirewallAllowed());
- return o;
-}
-
-checkUnnamed2344(core.List<api.FirewallAllowed> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkFirewallAllowed(o[0]);
- checkFirewallAllowed(o[1]);
-}
-
-buildUnnamed2345() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2345(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 buildCounterFirewallDenied = 0;
-buildFirewallDenied() {
- var o = new api.FirewallDenied();
- buildCounterFirewallDenied++;
- if (buildCounterFirewallDenied < 3) {
- o.IPProtocol = "foo";
- o.ports = buildUnnamed2345();
- }
- buildCounterFirewallDenied--;
- return o;
-}
-
-checkFirewallDenied(api.FirewallDenied o) {
- buildCounterFirewallDenied++;
- if (buildCounterFirewallDenied < 3) {
- unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed2345(o.ports);
- }
- buildCounterFirewallDenied--;
-}
-
-buildUnnamed2346() {
- var o = new core.List<api.FirewallDenied>();
- o.add(buildFirewallDenied());
- o.add(buildFirewallDenied());
- return o;
-}
-
-checkUnnamed2346(core.List<api.FirewallDenied> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkFirewallDenied(o[0]);
- checkFirewallDenied(o[1]);
-}
-
-buildUnnamed2347() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2347(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'));
-}
-
-buildUnnamed2348() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2348(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'));
-}
-
buildUnnamed2349() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3366,17 +3246,38 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2350() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+core.int buildCounterFirewallAllowed = 0;
+buildFirewallAllowed() {
+ var o = new api.FirewallAllowed();
+ buildCounterFirewallAllowed++;
+ if (buildCounterFirewallAllowed < 3) {
+ o.IPProtocol = "foo";
+ o.ports = buildUnnamed2349();
+ }
+ buildCounterFirewallAllowed--;
return o;
}
-checkUnnamed2350(core.List<core.String> o) {
+checkFirewallAllowed(api.FirewallAllowed o) {
+ buildCounterFirewallAllowed++;
+ if (buildCounterFirewallAllowed < 3) {
+ unittest.expect(o.IPProtocol, unittest.equals('foo'));
+ checkUnnamed2349(o.ports);
+ }
+ buildCounterFirewallAllowed--;
+}
+
+buildUnnamed2350() {
+ var o = new core.List<api.FirewallAllowed>();
+ o.add(buildFirewallAllowed());
+ o.add(buildFirewallAllowed());
+ return o;
+}
+
+checkUnnamed2350(core.List<api.FirewallAllowed> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkFirewallAllowed(o[0]);
+ checkFirewallAllowed(o[1]);
}
buildUnnamed2351() {
@@ -3392,14 +3293,113 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterFirewallDenied = 0;
+buildFirewallDenied() {
+ var o = new api.FirewallDenied();
+ buildCounterFirewallDenied++;
+ if (buildCounterFirewallDenied < 3) {
+ o.IPProtocol = "foo";
+ o.ports = buildUnnamed2351();
+ }
+ buildCounterFirewallDenied--;
+ return o;
+}
+
+checkFirewallDenied(api.FirewallDenied o) {
+ buildCounterFirewallDenied++;
+ if (buildCounterFirewallDenied < 3) {
+ unittest.expect(o.IPProtocol, unittest.equals('foo'));
+ checkUnnamed2351(o.ports);
+ }
+ buildCounterFirewallDenied--;
+}
+
buildUnnamed2352() {
+ var o = new core.List<api.FirewallDenied>();
+ o.add(buildFirewallDenied());
+ o.add(buildFirewallDenied());
+ return o;
+}
+
+checkUnnamed2352(core.List<api.FirewallDenied> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFirewallDenied(o[0]);
+ checkFirewallDenied(o[1]);
+}
+
+buildUnnamed2353() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2352(core.List<core.String> o) {
+checkUnnamed2353(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'));
+}
+
+buildUnnamed2354() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2354(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'));
+}
+
+buildUnnamed2355() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2355(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'));
+}
+
+buildUnnamed2356() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2356(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'));
+}
+
+buildUnnamed2357() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2357(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'));
+}
+
+buildUnnamed2358() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2358(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'));
@@ -3410,11 +3410,11 @@
var o = new api.Firewall();
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- o.allowed = buildUnnamed2344();
+ o.allowed = buildUnnamed2350();
o.creationTimestamp = "foo";
- o.denied = buildUnnamed2346();
+ o.denied = buildUnnamed2352();
o.description = "foo";
- o.destinationRanges = buildUnnamed2347();
+ o.destinationRanges = buildUnnamed2353();
o.direction = "foo";
o.id = "foo";
o.kind = "foo";
@@ -3422,11 +3422,11 @@
o.network = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.sourceRanges = buildUnnamed2348();
- o.sourceServiceAccounts = buildUnnamed2349();
- o.sourceTags = buildUnnamed2350();
- o.targetServiceAccounts = buildUnnamed2351();
- o.targetTags = buildUnnamed2352();
+ o.sourceRanges = buildUnnamed2354();
+ o.sourceServiceAccounts = buildUnnamed2355();
+ o.sourceTags = buildUnnamed2356();
+ o.targetServiceAccounts = buildUnnamed2357();
+ o.targetTags = buildUnnamed2358();
}
buildCounterFirewall--;
return o;
@@ -3435,11 +3435,11 @@
checkFirewall(api.Firewall o) {
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- checkUnnamed2344(o.allowed);
+ checkUnnamed2350(o.allowed);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
- checkUnnamed2346(o.denied);
+ checkUnnamed2352(o.denied);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2347(o.destinationRanges);
+ checkUnnamed2353(o.destinationRanges);
unittest.expect(o.direction, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -3447,23 +3447,23 @@
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2348(o.sourceRanges);
- checkUnnamed2349(o.sourceServiceAccounts);
- checkUnnamed2350(o.sourceTags);
- checkUnnamed2351(o.targetServiceAccounts);
- checkUnnamed2352(o.targetTags);
+ checkUnnamed2354(o.sourceRanges);
+ checkUnnamed2355(o.sourceServiceAccounts);
+ checkUnnamed2356(o.sourceTags);
+ checkUnnamed2357(o.targetServiceAccounts);
+ checkUnnamed2358(o.targetTags);
}
buildCounterFirewall--;
}
-buildUnnamed2353() {
+buildUnnamed2359() {
var o = new core.List<api.Firewall>();
o.add(buildFirewall());
o.add(buildFirewall());
return o;
}
-checkUnnamed2353(core.List<api.Firewall> o) {
+checkUnnamed2359(core.List<api.Firewall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewall(o[0]);
checkFirewall(o[1]);
@@ -3490,14 +3490,14 @@
buildCounterFirewallListWarningData--;
}
-buildUnnamed2354() {
+buildUnnamed2360() {
var o = new core.List<api.FirewallListWarningData>();
o.add(buildFirewallListWarningData());
o.add(buildFirewallListWarningData());
return o;
}
-checkUnnamed2354(core.List<api.FirewallListWarningData> o) {
+checkUnnamed2360(core.List<api.FirewallListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallListWarningData(o[0]);
checkFirewallListWarningData(o[1]);
@@ -3509,7 +3509,7 @@
buildCounterFirewallListWarning++;
if (buildCounterFirewallListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2354();
+ o.data = buildUnnamed2360();
o.message = "foo";
}
buildCounterFirewallListWarning--;
@@ -3520,7 +3520,7 @@
buildCounterFirewallListWarning++;
if (buildCounterFirewallListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2354(o.data);
+ checkUnnamed2360(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterFirewallListWarning--;
@@ -3532,7 +3532,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
o.id = "foo";
- o.items = buildUnnamed2353();
+ o.items = buildUnnamed2359();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3546,7 +3546,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2353(o.items);
+ checkUnnamed2359(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3555,14 +3555,14 @@
buildCounterFirewallList--;
}
-buildUnnamed2355() {
+buildUnnamed2361() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2355(core.List<core.String> o) {
+checkUnnamed2361(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'));
@@ -3585,7 +3585,7 @@
o.name = "foo";
o.network = "foo";
o.portRange = "foo";
- o.ports = buildUnnamed2355();
+ o.ports = buildUnnamed2361();
o.region = "foo";
o.selfLink = "foo";
o.subnetwork = "foo";
@@ -3610,7 +3610,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.portRange, unittest.equals('foo'));
- checkUnnamed2355(o.ports);
+ checkUnnamed2361(o.ports);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
@@ -3619,14 +3619,14 @@
buildCounterForwardingRule--;
}
-buildUnnamed2356() {
+buildUnnamed2362() {
var o = new core.Map<core.String, api.ForwardingRulesScopedList>();
o["x"] = buildForwardingRulesScopedList();
o["y"] = buildForwardingRulesScopedList();
return o;
}
-checkUnnamed2356(core.Map<core.String, api.ForwardingRulesScopedList> o) {
+checkUnnamed2362(core.Map<core.String, api.ForwardingRulesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedList(o["x"]);
checkForwardingRulesScopedList(o["y"]);
@@ -3654,14 +3654,14 @@
buildCounterForwardingRuleAggregatedListWarningData--;
}
-buildUnnamed2357() {
+buildUnnamed2363() {
var o = new core.List<api.ForwardingRuleAggregatedListWarningData>();
o.add(buildForwardingRuleAggregatedListWarningData());
o.add(buildForwardingRuleAggregatedListWarningData());
return o;
}
-checkUnnamed2357(core.List<api.ForwardingRuleAggregatedListWarningData> o) {
+checkUnnamed2363(core.List<api.ForwardingRuleAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRuleAggregatedListWarningData(o[0]);
checkForwardingRuleAggregatedListWarningData(o[1]);
@@ -3673,7 +3673,7 @@
buildCounterForwardingRuleAggregatedListWarning++;
if (buildCounterForwardingRuleAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2357();
+ o.data = buildUnnamed2363();
o.message = "foo";
}
buildCounterForwardingRuleAggregatedListWarning--;
@@ -3685,7 +3685,7 @@
buildCounterForwardingRuleAggregatedListWarning++;
if (buildCounterForwardingRuleAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2357(o.data);
+ checkUnnamed2363(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRuleAggregatedListWarning--;
@@ -3697,7 +3697,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2356();
+ o.items = buildUnnamed2362();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3711,7 +3711,7 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2356(o.items);
+ checkUnnamed2362(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3720,14 +3720,14 @@
buildCounterForwardingRuleAggregatedList--;
}
-buildUnnamed2358() {
+buildUnnamed2364() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed2358(core.List<api.ForwardingRule> o) {
+checkUnnamed2364(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -3754,14 +3754,14 @@
buildCounterForwardingRuleListWarningData--;
}
-buildUnnamed2359() {
+buildUnnamed2365() {
var o = new core.List<api.ForwardingRuleListWarningData>();
o.add(buildForwardingRuleListWarningData());
o.add(buildForwardingRuleListWarningData());
return o;
}
-checkUnnamed2359(core.List<api.ForwardingRuleListWarningData> o) {
+checkUnnamed2365(core.List<api.ForwardingRuleListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRuleListWarningData(o[0]);
checkForwardingRuleListWarningData(o[1]);
@@ -3773,7 +3773,7 @@
buildCounterForwardingRuleListWarning++;
if (buildCounterForwardingRuleListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2359();
+ o.data = buildUnnamed2365();
o.message = "foo";
}
buildCounterForwardingRuleListWarning--;
@@ -3784,7 +3784,7 @@
buildCounterForwardingRuleListWarning++;
if (buildCounterForwardingRuleListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2359(o.data);
+ checkUnnamed2365(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRuleListWarning--;
@@ -3796,7 +3796,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
o.id = "foo";
- o.items = buildUnnamed2358();
+ o.items = buildUnnamed2364();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3810,7 +3810,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2358(o.items);
+ checkUnnamed2364(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3819,14 +3819,14 @@
buildCounterForwardingRuleList--;
}
-buildUnnamed2360() {
+buildUnnamed2366() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed2360(core.List<api.ForwardingRule> o) {
+checkUnnamed2366(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -3854,14 +3854,14 @@
buildCounterForwardingRulesScopedListWarningData--;
}
-buildUnnamed2361() {
+buildUnnamed2367() {
var o = new core.List<api.ForwardingRulesScopedListWarningData>();
o.add(buildForwardingRulesScopedListWarningData());
o.add(buildForwardingRulesScopedListWarningData());
return o;
}
-checkUnnamed2361(core.List<api.ForwardingRulesScopedListWarningData> o) {
+checkUnnamed2367(core.List<api.ForwardingRulesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedListWarningData(o[0]);
checkForwardingRulesScopedListWarningData(o[1]);
@@ -3873,7 +3873,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2361();
+ o.data = buildUnnamed2367();
o.message = "foo";
}
buildCounterForwardingRulesScopedListWarning--;
@@ -3884,7 +3884,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2361(o.data);
+ checkUnnamed2367(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRulesScopedListWarning--;
@@ -3895,7 +3895,7 @@
var o = new api.ForwardingRulesScopedList();
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- o.forwardingRules = buildUnnamed2360();
+ o.forwardingRules = buildUnnamed2366();
o.warning = buildForwardingRulesScopedListWarning();
}
buildCounterForwardingRulesScopedList--;
@@ -3905,20 +3905,20 @@
checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) {
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- checkUnnamed2360(o.forwardingRules);
+ checkUnnamed2366(o.forwardingRules);
checkForwardingRulesScopedListWarning(o.warning);
}
buildCounterForwardingRulesScopedList--;
}
-buildUnnamed2362() {
+buildUnnamed2368() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2362(core.Map<core.String, core.String> o) {
+checkUnnamed2368(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3930,7 +3930,7 @@
buildCounterGlobalSetLabelsRequest++;
if (buildCounterGlobalSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2362();
+ o.labels = buildUnnamed2368();
}
buildCounterGlobalSetLabelsRequest--;
return o;
@@ -3940,7 +3940,7 @@
buildCounterGlobalSetLabelsRequest++;
if (buildCounterGlobalSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2362(o.labels);
+ checkUnnamed2368(o.labels);
}
buildCounterGlobalSetLabelsRequest--;
}
@@ -4065,14 +4065,14 @@
buildCounterHealthCheck--;
}
-buildUnnamed2363() {
+buildUnnamed2369() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed2363(core.List<api.HealthCheck> o) {
+checkUnnamed2369(core.List<api.HealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheck(o[0]);
checkHealthCheck(o[1]);
@@ -4099,14 +4099,14 @@
buildCounterHealthCheckListWarningData--;
}
-buildUnnamed2364() {
+buildUnnamed2370() {
var o = new core.List<api.HealthCheckListWarningData>();
o.add(buildHealthCheckListWarningData());
o.add(buildHealthCheckListWarningData());
return o;
}
-checkUnnamed2364(core.List<api.HealthCheckListWarningData> o) {
+checkUnnamed2370(core.List<api.HealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckListWarningData(o[0]);
checkHealthCheckListWarningData(o[1]);
@@ -4118,7 +4118,7 @@
buildCounterHealthCheckListWarning++;
if (buildCounterHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2364();
+ o.data = buildUnnamed2370();
o.message = "foo";
}
buildCounterHealthCheckListWarning--;
@@ -4129,7 +4129,7 @@
buildCounterHealthCheckListWarning++;
if (buildCounterHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2364(o.data);
+ checkUnnamed2370(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHealthCheckListWarning--;
@@ -4141,7 +4141,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2363();
+ o.items = buildUnnamed2369();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4155,7 +4155,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2363(o.items);
+ checkUnnamed2369(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4208,14 +4208,14 @@
buildCounterHealthStatus--;
}
-buildUnnamed2365() {
+buildUnnamed2371() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2365(core.List<core.String> o) {
+checkUnnamed2371(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'));
@@ -4227,7 +4227,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
o.description = "foo";
- o.hosts = buildUnnamed2365();
+ o.hosts = buildUnnamed2371();
o.pathMatcher = "foo";
}
buildCounterHostRule--;
@@ -4238,7 +4238,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2365(o.hosts);
+ checkUnnamed2371(o.hosts);
unittest.expect(o.pathMatcher, unittest.equals('foo'));
}
buildCounterHostRule--;
@@ -4287,14 +4287,14 @@
buildCounterHttpHealthCheck--;
}
-buildUnnamed2366() {
+buildUnnamed2372() {
var o = new core.List<api.HttpHealthCheck>();
o.add(buildHttpHealthCheck());
o.add(buildHttpHealthCheck());
return o;
}
-checkUnnamed2366(core.List<api.HttpHealthCheck> o) {
+checkUnnamed2372(core.List<api.HttpHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheck(o[0]);
checkHttpHealthCheck(o[1]);
@@ -4321,14 +4321,14 @@
buildCounterHttpHealthCheckListWarningData--;
}
-buildUnnamed2367() {
+buildUnnamed2373() {
var o = new core.List<api.HttpHealthCheckListWarningData>();
o.add(buildHttpHealthCheckListWarningData());
o.add(buildHttpHealthCheckListWarningData());
return o;
}
-checkUnnamed2367(core.List<api.HttpHealthCheckListWarningData> o) {
+checkUnnamed2373(core.List<api.HttpHealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheckListWarningData(o[0]);
checkHttpHealthCheckListWarningData(o[1]);
@@ -4340,7 +4340,7 @@
buildCounterHttpHealthCheckListWarning++;
if (buildCounterHttpHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2367();
+ o.data = buildUnnamed2373();
o.message = "foo";
}
buildCounterHttpHealthCheckListWarning--;
@@ -4351,7 +4351,7 @@
buildCounterHttpHealthCheckListWarning++;
if (buildCounterHttpHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2367(o.data);
+ checkUnnamed2373(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHttpHealthCheckListWarning--;
@@ -4363,7 +4363,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2366();
+ o.items = buildUnnamed2372();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4377,7 +4377,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2366(o.items);
+ checkUnnamed2372(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4429,14 +4429,14 @@
buildCounterHttpsHealthCheck--;
}
-buildUnnamed2368() {
+buildUnnamed2374() {
var o = new core.List<api.HttpsHealthCheck>();
o.add(buildHttpsHealthCheck());
o.add(buildHttpsHealthCheck());
return o;
}
-checkUnnamed2368(core.List<api.HttpsHealthCheck> o) {
+checkUnnamed2374(core.List<api.HttpsHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheck(o[0]);
checkHttpsHealthCheck(o[1]);
@@ -4463,14 +4463,14 @@
buildCounterHttpsHealthCheckListWarningData--;
}
-buildUnnamed2369() {
+buildUnnamed2375() {
var o = new core.List<api.HttpsHealthCheckListWarningData>();
o.add(buildHttpsHealthCheckListWarningData());
o.add(buildHttpsHealthCheckListWarningData());
return o;
}
-checkUnnamed2369(core.List<api.HttpsHealthCheckListWarningData> o) {
+checkUnnamed2375(core.List<api.HttpsHealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheckListWarningData(o[0]);
checkHttpsHealthCheckListWarningData(o[1]);
@@ -4482,7 +4482,7 @@
buildCounterHttpsHealthCheckListWarning++;
if (buildCounterHttpsHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2369();
+ o.data = buildUnnamed2375();
o.message = "foo";
}
buildCounterHttpsHealthCheckListWarning--;
@@ -4493,7 +4493,7 @@
buildCounterHttpsHealthCheckListWarning++;
if (buildCounterHttpsHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2369(o.data);
+ checkUnnamed2375(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHttpsHealthCheckListWarning--;
@@ -4505,7 +4505,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed2368();
+ o.items = buildUnnamed2374();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4519,7 +4519,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2368(o.items);
+ checkUnnamed2374(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4528,40 +4528,40 @@
buildCounterHttpsHealthCheckList--;
}
-buildUnnamed2370() {
+buildUnnamed2376() {
var o = new core.List<api.GuestOsFeature>();
o.add(buildGuestOsFeature());
o.add(buildGuestOsFeature());
return o;
}
-checkUnnamed2370(core.List<api.GuestOsFeature> o) {
+checkUnnamed2376(core.List<api.GuestOsFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestOsFeature(o[0]);
checkGuestOsFeature(o[1]);
}
-buildUnnamed2371() {
+buildUnnamed2377() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2371(core.Map<core.String, core.String> o) {
+checkUnnamed2377(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2372() {
+buildUnnamed2378() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2372(core.List<core.String> o) {
+checkUnnamed2378(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'));
@@ -4601,13 +4601,13 @@
o.description = "foo";
o.diskSizeGb = "foo";
o.family = "foo";
- o.guestOsFeatures = buildUnnamed2370();
+ o.guestOsFeatures = buildUnnamed2376();
o.id = "foo";
o.imageEncryptionKey = buildCustomerEncryptionKey();
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2371();
- o.licenses = buildUnnamed2372();
+ o.labels = buildUnnamed2377();
+ o.licenses = buildUnnamed2378();
o.name = "foo";
o.rawDisk = buildImageRawDisk();
o.selfLink = "foo";
@@ -4633,13 +4633,13 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed2370(o.guestOsFeatures);
+ checkUnnamed2376(o.guestOsFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkCustomerEncryptionKey(o.imageEncryptionKey);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2371(o.labels);
- checkUnnamed2372(o.licenses);
+ checkUnnamed2377(o.labels);
+ checkUnnamed2378(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
checkImageRawDisk(o.rawDisk);
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4655,14 +4655,14 @@
buildCounterImage--;
}
-buildUnnamed2373() {
+buildUnnamed2379() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed2373(core.List<api.Image> o) {
+checkUnnamed2379(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -4689,14 +4689,14 @@
buildCounterImageListWarningData--;
}
-buildUnnamed2374() {
+buildUnnamed2380() {
var o = new core.List<api.ImageListWarningData>();
o.add(buildImageListWarningData());
o.add(buildImageListWarningData());
return o;
}
-checkUnnamed2374(core.List<api.ImageListWarningData> o) {
+checkUnnamed2380(core.List<api.ImageListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkImageListWarningData(o[0]);
checkImageListWarningData(o[1]);
@@ -4708,7 +4708,7 @@
buildCounterImageListWarning++;
if (buildCounterImageListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2374();
+ o.data = buildUnnamed2380();
o.message = "foo";
}
buildCounterImageListWarning--;
@@ -4719,7 +4719,7 @@
buildCounterImageListWarning++;
if (buildCounterImageListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2374(o.data);
+ checkUnnamed2380(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterImageListWarning--;
@@ -4731,7 +4731,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
o.id = "foo";
- o.items = buildUnnamed2373();
+ o.items = buildUnnamed2379();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4745,7 +4745,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2373(o.items);
+ checkUnnamed2379(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4754,66 +4754,66 @@
buildCounterImageList--;
}
-buildUnnamed2375() {
+buildUnnamed2381() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed2375(core.List<api.AttachedDisk> o) {
+checkUnnamed2381(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed2376() {
+buildUnnamed2382() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2376(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2382(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed2377() {
+buildUnnamed2383() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2377(core.Map<core.String, core.String> o) {
+checkUnnamed2383(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2378() {
+buildUnnamed2384() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed2378(core.List<api.NetworkInterface> o) {
+checkUnnamed2384(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed2379() {
+buildUnnamed2385() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed2379(core.List<api.ServiceAccount> o) {
+checkUnnamed2385(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -4829,20 +4829,20 @@
o.creationTimestamp = "foo";
o.deletionProtection = true;
o.description = "foo";
- o.disks = buildUnnamed2375();
- o.guestAccelerators = buildUnnamed2376();
+ o.disks = buildUnnamed2381();
+ o.guestAccelerators = buildUnnamed2382();
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2377();
+ o.labels = buildUnnamed2383();
o.machineType = "foo";
o.metadata = buildMetadata();
o.minCpuPlatform = "foo";
o.name = "foo";
- o.networkInterfaces = buildUnnamed2378();
+ o.networkInterfaces = buildUnnamed2384();
o.scheduling = buildScheduling();
o.selfLink = "foo";
- o.serviceAccounts = buildUnnamed2379();
+ o.serviceAccounts = buildUnnamed2385();
o.startRestricted = true;
o.status = "foo";
o.statusMessage = "foo";
@@ -4861,20 +4861,20 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.deletionProtection, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2375(o.disks);
- checkUnnamed2376(o.guestAccelerators);
+ checkUnnamed2381(o.disks);
+ checkUnnamed2382(o.guestAccelerators);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2377(o.labels);
+ checkUnnamed2383(o.labels);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2378(o.networkInterfaces);
+ checkUnnamed2384(o.networkInterfaces);
checkScheduling(o.scheduling);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2379(o.serviceAccounts);
+ checkUnnamed2385(o.serviceAccounts);
unittest.expect(o.startRestricted, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusMessage, unittest.equals('foo'));
@@ -4884,14 +4884,14 @@
buildCounterInstance--;
}
-buildUnnamed2380() {
+buildUnnamed2386() {
var o = new core.Map<core.String, api.InstancesScopedList>();
o["x"] = buildInstancesScopedList();
o["y"] = buildInstancesScopedList();
return o;
}
-checkUnnamed2380(core.Map<core.String, api.InstancesScopedList> o) {
+checkUnnamed2386(core.Map<core.String, api.InstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedList(o["x"]);
checkInstancesScopedList(o["y"]);
@@ -4919,14 +4919,14 @@
buildCounterInstanceAggregatedListWarningData--;
}
-buildUnnamed2381() {
+buildUnnamed2387() {
var o = new core.List<api.InstanceAggregatedListWarningData>();
o.add(buildInstanceAggregatedListWarningData());
o.add(buildInstanceAggregatedListWarningData());
return o;
}
-checkUnnamed2381(core.List<api.InstanceAggregatedListWarningData> o) {
+checkUnnamed2387(core.List<api.InstanceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceAggregatedListWarningData(o[0]);
checkInstanceAggregatedListWarningData(o[1]);
@@ -4938,7 +4938,7 @@
buildCounterInstanceAggregatedListWarning++;
if (buildCounterInstanceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2381();
+ o.data = buildUnnamed2387();
o.message = "foo";
}
buildCounterInstanceAggregatedListWarning--;
@@ -4949,7 +4949,7 @@
buildCounterInstanceAggregatedListWarning++;
if (buildCounterInstanceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2381(o.data);
+ checkUnnamed2387(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceAggregatedListWarning--;
@@ -4961,7 +4961,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2380();
+ o.items = buildUnnamed2386();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4975,7 +4975,7 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2380(o.items);
+ checkUnnamed2386(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4984,14 +4984,14 @@
buildCounterInstanceAggregatedList--;
}
-buildUnnamed2382() {
+buildUnnamed2388() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2382(core.List<api.NamedPort> o) {
+checkUnnamed2388(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -5008,7 +5008,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed2382();
+ o.namedPorts = buildUnnamed2388();
o.network = "foo";
o.region = "foo";
o.selfLink = "foo";
@@ -5029,7 +5029,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2382(o.namedPorts);
+ checkUnnamed2388(o.namedPorts);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5040,14 +5040,14 @@
buildCounterInstanceGroup--;
}
-buildUnnamed2383() {
+buildUnnamed2389() {
var o = new core.Map<core.String, api.InstanceGroupsScopedList>();
o["x"] = buildInstanceGroupsScopedList();
o["y"] = buildInstanceGroupsScopedList();
return o;
}
-checkUnnamed2383(core.Map<core.String, api.InstanceGroupsScopedList> o) {
+checkUnnamed2389(core.Map<core.String, api.InstanceGroupsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedList(o["x"]);
checkInstanceGroupsScopedList(o["y"]);
@@ -5075,14 +5075,14 @@
buildCounterInstanceGroupAggregatedListWarningData--;
}
-buildUnnamed2384() {
+buildUnnamed2390() {
var o = new core.List<api.InstanceGroupAggregatedListWarningData>();
o.add(buildInstanceGroupAggregatedListWarningData());
o.add(buildInstanceGroupAggregatedListWarningData());
return o;
}
-checkUnnamed2384(core.List<api.InstanceGroupAggregatedListWarningData> o) {
+checkUnnamed2390(core.List<api.InstanceGroupAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupAggregatedListWarningData(o[0]);
checkInstanceGroupAggregatedListWarningData(o[1]);
@@ -5094,7 +5094,7 @@
buildCounterInstanceGroupAggregatedListWarning++;
if (buildCounterInstanceGroupAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2384();
+ o.data = buildUnnamed2390();
o.message = "foo";
}
buildCounterInstanceGroupAggregatedListWarning--;
@@ -5106,7 +5106,7 @@
buildCounterInstanceGroupAggregatedListWarning++;
if (buildCounterInstanceGroupAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2384(o.data);
+ checkUnnamed2390(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupAggregatedListWarning--;
@@ -5118,7 +5118,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2383();
+ o.items = buildUnnamed2389();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5132,7 +5132,7 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2383(o.items);
+ checkUnnamed2389(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5141,14 +5141,14 @@
buildCounterInstanceGroupAggregatedList--;
}
-buildUnnamed2385() {
+buildUnnamed2391() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2385(core.List<api.InstanceGroup> o) {
+checkUnnamed2391(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -5175,14 +5175,14 @@
buildCounterInstanceGroupListWarningData--;
}
-buildUnnamed2386() {
+buildUnnamed2392() {
var o = new core.List<api.InstanceGroupListWarningData>();
o.add(buildInstanceGroupListWarningData());
o.add(buildInstanceGroupListWarningData());
return o;
}
-checkUnnamed2386(core.List<api.InstanceGroupListWarningData> o) {
+checkUnnamed2392(core.List<api.InstanceGroupListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupListWarningData(o[0]);
checkInstanceGroupListWarningData(o[1]);
@@ -5194,7 +5194,7 @@
buildCounterInstanceGroupListWarning++;
if (buildCounterInstanceGroupListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2386();
+ o.data = buildUnnamed2392();
o.message = "foo";
}
buildCounterInstanceGroupListWarning--;
@@ -5205,7 +5205,7 @@
buildCounterInstanceGroupListWarning++;
if (buildCounterInstanceGroupListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2386(o.data);
+ checkUnnamed2392(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupListWarning--;
@@ -5217,7 +5217,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2385();
+ o.items = buildUnnamed2391();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5231,7 +5231,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2385(o.items);
+ checkUnnamed2391(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5240,27 +5240,27 @@
buildCounterInstanceGroupList--;
}
-buildUnnamed2387() {
+buildUnnamed2393() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2387(core.List<api.NamedPort> o) {
+checkUnnamed2393(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
}
-buildUnnamed2388() {
+buildUnnamed2394() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2388(core.List<core.String> o) {
+checkUnnamed2394(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'));
@@ -5281,10 +5281,10 @@
o.instanceTemplate = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed2387();
+ o.namedPorts = buildUnnamed2393();
o.region = "foo";
o.selfLink = "foo";
- o.targetPools = buildUnnamed2388();
+ o.targetPools = buildUnnamed2394();
o.targetSize = 42;
o.zone = "foo";
}
@@ -5305,10 +5305,10 @@
unittest.expect(o.instanceTemplate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2387(o.namedPorts);
+ checkUnnamed2393(o.namedPorts);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2388(o.targetPools);
+ checkUnnamed2394(o.targetPools);
unittest.expect(o.targetSize, unittest.equals(42));
unittest.expect(o.zone, unittest.equals('foo'));
}
@@ -5349,14 +5349,14 @@
buildCounterInstanceGroupManagerActionsSummary--;
}
-buildUnnamed2389() {
+buildUnnamed2395() {
var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>();
o["x"] = buildInstanceGroupManagersScopedList();
o["y"] = buildInstanceGroupManagersScopedList();
return o;
}
-checkUnnamed2389(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
+checkUnnamed2395(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedList(o["x"]);
checkInstanceGroupManagersScopedList(o["y"]);
@@ -5384,14 +5384,14 @@
buildCounterInstanceGroupManagerAggregatedListWarningData--;
}
-buildUnnamed2390() {
+buildUnnamed2396() {
var o = new core.List<api.InstanceGroupManagerAggregatedListWarningData>();
o.add(buildInstanceGroupManagerAggregatedListWarningData());
o.add(buildInstanceGroupManagerAggregatedListWarningData());
return o;
}
-checkUnnamed2390(
+checkUnnamed2396(
core.List<api.InstanceGroupManagerAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagerAggregatedListWarningData(o[0]);
@@ -5404,7 +5404,7 @@
buildCounterInstanceGroupManagerAggregatedListWarning++;
if (buildCounterInstanceGroupManagerAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2390();
+ o.data = buildUnnamed2396();
o.message = "foo";
}
buildCounterInstanceGroupManagerAggregatedListWarning--;
@@ -5416,7 +5416,7 @@
buildCounterInstanceGroupManagerAggregatedListWarning++;
if (buildCounterInstanceGroupManagerAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2390(o.data);
+ checkUnnamed2396(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagerAggregatedListWarning--;
@@ -5428,7 +5428,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2389();
+ o.items = buildUnnamed2395();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5443,7 +5443,7 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2389(o.items);
+ checkUnnamed2395(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5452,14 +5452,14 @@
buildCounterInstanceGroupManagerAggregatedList--;
}
-buildUnnamed2391() {
+buildUnnamed2397() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2391(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2397(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -5487,14 +5487,14 @@
buildCounterInstanceGroupManagerListWarningData--;
}
-buildUnnamed2392() {
+buildUnnamed2398() {
var o = new core.List<api.InstanceGroupManagerListWarningData>();
o.add(buildInstanceGroupManagerListWarningData());
o.add(buildInstanceGroupManagerListWarningData());
return o;
}
-checkUnnamed2392(core.List<api.InstanceGroupManagerListWarningData> o) {
+checkUnnamed2398(core.List<api.InstanceGroupManagerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagerListWarningData(o[0]);
checkInstanceGroupManagerListWarningData(o[1]);
@@ -5506,7 +5506,7 @@
buildCounterInstanceGroupManagerListWarning++;
if (buildCounterInstanceGroupManagerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2392();
+ o.data = buildUnnamed2398();
o.message = "foo";
}
buildCounterInstanceGroupManagerListWarning--;
@@ -5517,7 +5517,7 @@
buildCounterInstanceGroupManagerListWarning++;
if (buildCounterInstanceGroupManagerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2392(o.data);
+ checkUnnamed2398(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagerListWarning--;
@@ -5529,7 +5529,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2391();
+ o.items = buildUnnamed2397();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5543,7 +5543,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2391(o.items);
+ checkUnnamed2397(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5552,14 +5552,14 @@
buildCounterInstanceGroupManagerList--;
}
-buildUnnamed2393() {
+buildUnnamed2399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2393(core.List<core.String> o) {
+checkUnnamed2399(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'));
@@ -5570,7 +5570,7 @@
var o = new api.InstanceGroupManagersAbandonInstancesRequest();
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2393();
+ o.instances = buildUnnamed2399();
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -5580,19 +5580,19 @@
api.InstanceGroupManagersAbandonInstancesRequest o) {
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2393(o.instances);
+ checkUnnamed2399(o.instances);
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2394() {
+buildUnnamed2400() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2394(core.List<core.String> o) {
+checkUnnamed2400(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'));
@@ -5603,7 +5603,7 @@
var o = new api.InstanceGroupManagersDeleteInstancesRequest();
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2394();
+ o.instances = buildUnnamed2400();
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -5613,19 +5613,19 @@
api.InstanceGroupManagersDeleteInstancesRequest o) {
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2394(o.instances);
+ checkUnnamed2400(o.instances);
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2395() {
+buildUnnamed2401() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2395(core.List<api.ManagedInstance> o) {
+checkUnnamed2401(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -5636,7 +5636,7 @@
var o = new api.InstanceGroupManagersListManagedInstancesResponse();
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2395();
+ o.managedInstances = buildUnnamed2401();
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
return o;
@@ -5646,19 +5646,19 @@
api.InstanceGroupManagersListManagedInstancesResponse o) {
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- checkUnnamed2395(o.managedInstances);
+ checkUnnamed2401(o.managedInstances);
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
}
-buildUnnamed2396() {
+buildUnnamed2402() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2396(core.List<core.String> o) {
+checkUnnamed2402(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'));
@@ -5669,7 +5669,7 @@
var o = new api.InstanceGroupManagersRecreateInstancesRequest();
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- o.instances = buildUnnamed2396();
+ o.instances = buildUnnamed2402();
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
return o;
@@ -5679,19 +5679,19 @@
api.InstanceGroupManagersRecreateInstancesRequest o) {
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- checkUnnamed2396(o.instances);
+ checkUnnamed2402(o.instances);
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
}
-buildUnnamed2397() {
+buildUnnamed2403() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2397(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2403(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -5719,14 +5719,14 @@
buildCounterInstanceGroupManagersScopedListWarningData--;
}
-buildUnnamed2398() {
+buildUnnamed2404() {
var o = new core.List<api.InstanceGroupManagersScopedListWarningData>();
o.add(buildInstanceGroupManagersScopedListWarningData());
o.add(buildInstanceGroupManagersScopedListWarningData());
return o;
}
-checkUnnamed2398(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
+checkUnnamed2404(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedListWarningData(o[0]);
checkInstanceGroupManagersScopedListWarningData(o[1]);
@@ -5738,7 +5738,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2398();
+ o.data = buildUnnamed2404();
o.message = "foo";
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -5750,7 +5750,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2398(o.data);
+ checkUnnamed2404(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -5761,7 +5761,7 @@
var o = new api.InstanceGroupManagersScopedList();
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- o.instanceGroupManagers = buildUnnamed2397();
+ o.instanceGroupManagers = buildUnnamed2403();
o.warning = buildInstanceGroupManagersScopedListWarning();
}
buildCounterInstanceGroupManagersScopedList--;
@@ -5771,7 +5771,7 @@
checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) {
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- checkUnnamed2397(o.instanceGroupManagers);
+ checkUnnamed2403(o.instanceGroupManagers);
checkInstanceGroupManagersScopedListWarning(o.warning);
}
buildCounterInstanceGroupManagersScopedList--;
@@ -5797,14 +5797,14 @@
buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
}
-buildUnnamed2399() {
+buildUnnamed2405() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2399(core.List<core.String> o) {
+checkUnnamed2405(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'));
@@ -5816,7 +5816,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2399();
+ o.targetPools = buildUnnamed2405();
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -5827,19 +5827,19 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2399(o.targetPools);
+ checkUnnamed2405(o.targetPools);
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
}
-buildUnnamed2400() {
+buildUnnamed2406() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2400(core.List<api.InstanceReference> o) {
+checkUnnamed2406(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -5850,7 +5850,7 @@
var o = new api.InstanceGroupsAddInstancesRequest();
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- o.instances = buildUnnamed2400();
+ o.instances = buildUnnamed2406();
}
buildCounterInstanceGroupsAddInstancesRequest--;
return o;
@@ -5860,19 +5860,19 @@
api.InstanceGroupsAddInstancesRequest o) {
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- checkUnnamed2400(o.instances);
+ checkUnnamed2406(o.instances);
}
buildCounterInstanceGroupsAddInstancesRequest--;
}
-buildUnnamed2401() {
+buildUnnamed2407() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2401(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2407(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -5900,14 +5900,14 @@
buildCounterInstanceGroupsListInstancesWarningData--;
}
-buildUnnamed2402() {
+buildUnnamed2408() {
var o = new core.List<api.InstanceGroupsListInstancesWarningData>();
o.add(buildInstanceGroupsListInstancesWarningData());
o.add(buildInstanceGroupsListInstancesWarningData());
return o;
}
-checkUnnamed2402(core.List<api.InstanceGroupsListInstancesWarningData> o) {
+checkUnnamed2408(core.List<api.InstanceGroupsListInstancesWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsListInstancesWarningData(o[0]);
checkInstanceGroupsListInstancesWarningData(o[1]);
@@ -5919,7 +5919,7 @@
buildCounterInstanceGroupsListInstancesWarning++;
if (buildCounterInstanceGroupsListInstancesWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2402();
+ o.data = buildUnnamed2408();
o.message = "foo";
}
buildCounterInstanceGroupsListInstancesWarning--;
@@ -5931,7 +5931,7 @@
buildCounterInstanceGroupsListInstancesWarning++;
if (buildCounterInstanceGroupsListInstancesWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2402(o.data);
+ checkUnnamed2408(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsListInstancesWarning--;
@@ -5943,7 +5943,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2401();
+ o.items = buildUnnamed2407();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5957,7 +5957,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2401(o.items);
+ checkUnnamed2407(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5986,14 +5986,14 @@
buildCounterInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2403() {
+buildUnnamed2409() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2403(core.List<api.InstanceReference> o) {
+checkUnnamed2409(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -6004,7 +6004,7 @@
var o = new api.InstanceGroupsRemoveInstancesRequest();
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- o.instances = buildUnnamed2403();
+ o.instances = buildUnnamed2409();
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
return o;
@@ -6014,19 +6014,19 @@
api.InstanceGroupsRemoveInstancesRequest o) {
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- checkUnnamed2403(o.instances);
+ checkUnnamed2409(o.instances);
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
}
-buildUnnamed2404() {
+buildUnnamed2410() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2404(core.List<api.InstanceGroup> o) {
+checkUnnamed2410(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -6054,14 +6054,14 @@
buildCounterInstanceGroupsScopedListWarningData--;
}
-buildUnnamed2405() {
+buildUnnamed2411() {
var o = new core.List<api.InstanceGroupsScopedListWarningData>();
o.add(buildInstanceGroupsScopedListWarningData());
o.add(buildInstanceGroupsScopedListWarningData());
return o;
}
-checkUnnamed2405(core.List<api.InstanceGroupsScopedListWarningData> o) {
+checkUnnamed2411(core.List<api.InstanceGroupsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedListWarningData(o[0]);
checkInstanceGroupsScopedListWarningData(o[1]);
@@ -6073,7 +6073,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2405();
+ o.data = buildUnnamed2411();
o.message = "foo";
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -6084,7 +6084,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2405(o.data);
+ checkUnnamed2411(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -6095,7 +6095,7 @@
var o = new api.InstanceGroupsScopedList();
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- o.instanceGroups = buildUnnamed2404();
+ o.instanceGroups = buildUnnamed2410();
o.warning = buildInstanceGroupsScopedListWarning();
}
buildCounterInstanceGroupsScopedList--;
@@ -6105,20 +6105,20 @@
checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) {
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- checkUnnamed2404(o.instanceGroups);
+ checkUnnamed2410(o.instanceGroups);
checkInstanceGroupsScopedListWarning(o.warning);
}
buildCounterInstanceGroupsScopedList--;
}
-buildUnnamed2406() {
+buildUnnamed2412() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2406(core.List<api.NamedPort> o) {
+checkUnnamed2412(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -6130,7 +6130,7 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2406();
+ o.namedPorts = buildUnnamed2412();
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -6141,19 +6141,19 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2406(o.namedPorts);
+ checkUnnamed2412(o.namedPorts);
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2407() {
+buildUnnamed2413() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2407(core.List<api.Instance> o) {
+checkUnnamed2413(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -6180,14 +6180,14 @@
buildCounterInstanceListWarningData--;
}
-buildUnnamed2408() {
+buildUnnamed2414() {
var o = new core.List<api.InstanceListWarningData>();
o.add(buildInstanceListWarningData());
o.add(buildInstanceListWarningData());
return o;
}
-checkUnnamed2408(core.List<api.InstanceListWarningData> o) {
+checkUnnamed2414(core.List<api.InstanceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceListWarningData(o[0]);
checkInstanceListWarningData(o[1]);
@@ -6199,7 +6199,7 @@
buildCounterInstanceListWarning++;
if (buildCounterInstanceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2408();
+ o.data = buildUnnamed2414();
o.message = "foo";
}
buildCounterInstanceListWarning--;
@@ -6210,7 +6210,7 @@
buildCounterInstanceListWarning++;
if (buildCounterInstanceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2408(o.data);
+ checkUnnamed2414(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceListWarning--;
@@ -6222,7 +6222,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2407();
+ o.items = buildUnnamed2413();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6236,7 +6236,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2407(o.items);
+ checkUnnamed2413(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6266,66 +6266,66 @@
buildCounterInstanceMoveRequest--;
}
-buildUnnamed2409() {
+buildUnnamed2415() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed2409(core.List<api.AttachedDisk> o) {
+checkUnnamed2415(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed2410() {
+buildUnnamed2416() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2410(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2416(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed2411() {
+buildUnnamed2417() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2411(core.Map<core.String, core.String> o) {
+checkUnnamed2417(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2412() {
+buildUnnamed2418() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed2412(core.List<api.NetworkInterface> o) {
+checkUnnamed2418(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed2413() {
+buildUnnamed2419() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed2413(core.List<api.ServiceAccount> o) {
+checkUnnamed2419(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -6338,15 +6338,15 @@
if (buildCounterInstanceProperties < 3) {
o.canIpForward = true;
o.description = "foo";
- o.disks = buildUnnamed2409();
- o.guestAccelerators = buildUnnamed2410();
- o.labels = buildUnnamed2411();
+ o.disks = buildUnnamed2415();
+ o.guestAccelerators = buildUnnamed2416();
+ o.labels = buildUnnamed2417();
o.machineType = "foo";
o.metadata = buildMetadata();
o.minCpuPlatform = "foo";
- o.networkInterfaces = buildUnnamed2412();
+ o.networkInterfaces = buildUnnamed2418();
o.scheduling = buildScheduling();
- o.serviceAccounts = buildUnnamed2413();
+ o.serviceAccounts = buildUnnamed2419();
o.tags = buildTags();
}
buildCounterInstanceProperties--;
@@ -6358,15 +6358,15 @@
if (buildCounterInstanceProperties < 3) {
unittest.expect(o.canIpForward, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2409(o.disks);
- checkUnnamed2410(o.guestAccelerators);
- checkUnnamed2411(o.labels);
+ checkUnnamed2415(o.disks);
+ checkUnnamed2416(o.guestAccelerators);
+ checkUnnamed2417(o.labels);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
- checkUnnamed2412(o.networkInterfaces);
+ checkUnnamed2418(o.networkInterfaces);
checkScheduling(o.scheduling);
- checkUnnamed2413(o.serviceAccounts);
+ checkUnnamed2419(o.serviceAccounts);
checkTags(o.tags);
}
buildCounterInstanceProperties--;
@@ -6422,14 +6422,14 @@
buildCounterInstanceTemplate--;
}
-buildUnnamed2414() {
+buildUnnamed2420() {
var o = new core.List<api.InstanceTemplate>();
o.add(buildInstanceTemplate());
o.add(buildInstanceTemplate());
return o;
}
-checkUnnamed2414(core.List<api.InstanceTemplate> o) {
+checkUnnamed2420(core.List<api.InstanceTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplate(o[0]);
checkInstanceTemplate(o[1]);
@@ -6456,14 +6456,14 @@
buildCounterInstanceTemplateListWarningData--;
}
-buildUnnamed2415() {
+buildUnnamed2421() {
var o = new core.List<api.InstanceTemplateListWarningData>();
o.add(buildInstanceTemplateListWarningData());
o.add(buildInstanceTemplateListWarningData());
return o;
}
-checkUnnamed2415(core.List<api.InstanceTemplateListWarningData> o) {
+checkUnnamed2421(core.List<api.InstanceTemplateListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplateListWarningData(o[0]);
checkInstanceTemplateListWarningData(o[1]);
@@ -6475,7 +6475,7 @@
buildCounterInstanceTemplateListWarning++;
if (buildCounterInstanceTemplateListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2415();
+ o.data = buildUnnamed2421();
o.message = "foo";
}
buildCounterInstanceTemplateListWarning--;
@@ -6486,7 +6486,7 @@
buildCounterInstanceTemplateListWarning++;
if (buildCounterInstanceTemplateListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2415(o.data);
+ checkUnnamed2421(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceTemplateListWarning--;
@@ -6498,7 +6498,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2414();
+ o.items = buildUnnamed2420();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6512,7 +6512,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2414(o.items);
+ checkUnnamed2420(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6521,14 +6521,14 @@
buildCounterInstanceTemplateList--;
}
-buildUnnamed2416() {
+buildUnnamed2422() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2416(core.List<api.NamedPort> o) {
+checkUnnamed2422(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -6540,7 +6540,7 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
o.instance = "foo";
- o.namedPorts = buildUnnamed2416();
+ o.namedPorts = buildUnnamed2422();
o.status = "foo";
}
buildCounterInstanceWithNamedPorts--;
@@ -6551,20 +6551,20 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
unittest.expect(o.instance, unittest.equals('foo'));
- checkUnnamed2416(o.namedPorts);
+ checkUnnamed2422(o.namedPorts);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterInstanceWithNamedPorts--;
}
-buildUnnamed2417() {
+buildUnnamed2423() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2417(core.List<api.Instance> o) {
+checkUnnamed2423(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -6591,14 +6591,14 @@
buildCounterInstancesScopedListWarningData--;
}
-buildUnnamed2418() {
+buildUnnamed2424() {
var o = new core.List<api.InstancesScopedListWarningData>();
o.add(buildInstancesScopedListWarningData());
o.add(buildInstancesScopedListWarningData());
return o;
}
-checkUnnamed2418(core.List<api.InstancesScopedListWarningData> o) {
+checkUnnamed2424(core.List<api.InstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedListWarningData(o[0]);
checkInstancesScopedListWarningData(o[1]);
@@ -6610,7 +6610,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2418();
+ o.data = buildUnnamed2424();
o.message = "foo";
}
buildCounterInstancesScopedListWarning--;
@@ -6621,7 +6621,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2418(o.data);
+ checkUnnamed2424(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstancesScopedListWarning--;
@@ -6632,7 +6632,7 @@
var o = new api.InstancesScopedList();
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- o.instances = buildUnnamed2417();
+ o.instances = buildUnnamed2423();
o.warning = buildInstancesScopedListWarning();
}
buildCounterInstancesScopedList--;
@@ -6642,20 +6642,20 @@
checkInstancesScopedList(api.InstancesScopedList o) {
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- checkUnnamed2417(o.instances);
+ checkUnnamed2423(o.instances);
checkInstancesScopedListWarning(o.warning);
}
buildCounterInstancesScopedList--;
}
-buildUnnamed2419() {
+buildUnnamed2425() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2419(core.Map<core.String, core.String> o) {
+checkUnnamed2425(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -6667,7 +6667,7 @@
buildCounterInstancesSetLabelsRequest++;
if (buildCounterInstancesSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2419();
+ o.labels = buildUnnamed2425();
}
buildCounterInstancesSetLabelsRequest--;
return o;
@@ -6677,19 +6677,19 @@
buildCounterInstancesSetLabelsRequest++;
if (buildCounterInstancesSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2419(o.labels);
+ checkUnnamed2425(o.labels);
}
buildCounterInstancesSetLabelsRequest--;
}
-buildUnnamed2420() {
+buildUnnamed2426() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed2420(core.List<api.AcceleratorConfig> o) {
+checkUnnamed2426(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
@@ -6700,7 +6700,7 @@
var o = new api.InstancesSetMachineResourcesRequest();
buildCounterInstancesSetMachineResourcesRequest++;
if (buildCounterInstancesSetMachineResourcesRequest < 3) {
- o.guestAccelerators = buildUnnamed2420();
+ o.guestAccelerators = buildUnnamed2426();
}
buildCounterInstancesSetMachineResourcesRequest--;
return o;
@@ -6710,7 +6710,7 @@
api.InstancesSetMachineResourcesRequest o) {
buildCounterInstancesSetMachineResourcesRequest++;
if (buildCounterInstancesSetMachineResourcesRequest < 3) {
- checkUnnamed2420(o.guestAccelerators);
+ checkUnnamed2426(o.guestAccelerators);
}
buildCounterInstancesSetMachineResourcesRequest--;
}
@@ -6754,14 +6754,14 @@
buildCounterInstancesSetMinCpuPlatformRequest--;
}
-buildUnnamed2421() {
+buildUnnamed2427() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2421(core.List<core.String> o) {
+checkUnnamed2427(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'));
@@ -6773,7 +6773,7 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2421();
+ o.scopes = buildUnnamed2427();
}
buildCounterInstancesSetServiceAccountRequest--;
return o;
@@ -6784,19 +6784,19 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2421(o.scopes);
+ checkUnnamed2427(o.scopes);
}
buildCounterInstancesSetServiceAccountRequest--;
}
-buildUnnamed2422() {
+buildUnnamed2428() {
var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>();
o.add(buildCustomerEncryptionKeyProtectedDisk());
o.add(buildCustomerEncryptionKeyProtectedDisk());
return o;
}
-checkUnnamed2422(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
+checkUnnamed2428(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerEncryptionKeyProtectedDisk(o[0]);
checkCustomerEncryptionKeyProtectedDisk(o[1]);
@@ -6807,7 +6807,7 @@
var o = new api.InstancesStartWithEncryptionKeyRequest();
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- o.disks = buildUnnamed2422();
+ o.disks = buildUnnamed2428();
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
return o;
@@ -6817,45 +6817,45 @@
api.InstancesStartWithEncryptionKeyRequest o) {
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- checkUnnamed2422(o.disks);
+ checkUnnamed2428(o.disks);
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
}
-buildUnnamed2423() {
+buildUnnamed2429() {
var o = new core.List<api.InterconnectCircuitInfo>();
o.add(buildInterconnectCircuitInfo());
o.add(buildInterconnectCircuitInfo());
return o;
}
-checkUnnamed2423(core.List<api.InterconnectCircuitInfo> o) {
+checkUnnamed2429(core.List<api.InterconnectCircuitInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectCircuitInfo(o[0]);
checkInterconnectCircuitInfo(o[1]);
}
-buildUnnamed2424() {
+buildUnnamed2430() {
var o = new core.List<api.InterconnectOutageNotification>();
o.add(buildInterconnectOutageNotification());
o.add(buildInterconnectOutageNotification());
return o;
}
-checkUnnamed2424(core.List<api.InterconnectOutageNotification> o) {
+checkUnnamed2430(core.List<api.InterconnectOutageNotification> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectOutageNotification(o[0]);
checkInterconnectOutageNotification(o[1]);
}
-buildUnnamed2425() {
+buildUnnamed2431() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2425(core.List<core.String> o) {
+checkUnnamed2431(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'));
@@ -6867,15 +6867,15 @@
buildCounterInterconnect++;
if (buildCounterInterconnect < 3) {
o.adminEnabled = true;
- o.circuitInfos = buildUnnamed2423();
+ o.circuitInfos = buildUnnamed2429();
o.creationTimestamp = "foo";
o.customerName = "foo";
o.description = "foo";
- o.expectedOutages = buildUnnamed2424();
+ o.expectedOutages = buildUnnamed2430();
o.googleIpAddress = "foo";
o.googleReferenceId = "foo";
o.id = "foo";
- o.interconnectAttachments = buildUnnamed2425();
+ o.interconnectAttachments = buildUnnamed2431();
o.interconnectType = "foo";
o.kind = "foo";
o.linkType = "foo";
@@ -6896,15 +6896,15 @@
buildCounterInterconnect++;
if (buildCounterInterconnect < 3) {
unittest.expect(o.adminEnabled, unittest.isTrue);
- checkUnnamed2423(o.circuitInfos);
+ checkUnnamed2429(o.circuitInfos);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.customerName, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2424(o.expectedOutages);
+ checkUnnamed2430(o.expectedOutages);
unittest.expect(o.googleIpAddress, unittest.equals('foo'));
unittest.expect(o.googleReferenceId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2425(o.interconnectAttachments);
+ checkUnnamed2431(o.interconnectAttachments);
unittest.expect(o.interconnectType, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.linkType, unittest.equals('foo'));
@@ -6965,14 +6965,14 @@
buildCounterInterconnectAttachment--;
}
-buildUnnamed2426() {
+buildUnnamed2432() {
var o = new core.Map<core.String, api.InterconnectAttachmentsScopedList>();
o["x"] = buildInterconnectAttachmentsScopedList();
o["y"] = buildInterconnectAttachmentsScopedList();
return o;
}
-checkUnnamed2426(
+checkUnnamed2432(
core.Map<core.String, api.InterconnectAttachmentsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentsScopedList(o["x"]);
@@ -7001,14 +7001,14 @@
buildCounterInterconnectAttachmentAggregatedListWarningData--;
}
-buildUnnamed2427() {
+buildUnnamed2433() {
var o = new core.List<api.InterconnectAttachmentAggregatedListWarningData>();
o.add(buildInterconnectAttachmentAggregatedListWarningData());
o.add(buildInterconnectAttachmentAggregatedListWarningData());
return o;
}
-checkUnnamed2427(
+checkUnnamed2433(
core.List<api.InterconnectAttachmentAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentAggregatedListWarningData(o[0]);
@@ -7021,7 +7021,7 @@
buildCounterInterconnectAttachmentAggregatedListWarning++;
if (buildCounterInterconnectAttachmentAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2427();
+ o.data = buildUnnamed2433();
o.message = "foo";
}
buildCounterInterconnectAttachmentAggregatedListWarning--;
@@ -7033,7 +7033,7 @@
buildCounterInterconnectAttachmentAggregatedListWarning++;
if (buildCounterInterconnectAttachmentAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2427(o.data);
+ checkUnnamed2433(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentAggregatedListWarning--;
@@ -7045,7 +7045,7 @@
buildCounterInterconnectAttachmentAggregatedList++;
if (buildCounterInterconnectAttachmentAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2426();
+ o.items = buildUnnamed2432();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7060,7 +7060,7 @@
buildCounterInterconnectAttachmentAggregatedList++;
if (buildCounterInterconnectAttachmentAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2426(o.items);
+ checkUnnamed2432(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7069,14 +7069,14 @@
buildCounterInterconnectAttachmentAggregatedList--;
}
-buildUnnamed2428() {
+buildUnnamed2434() {
var o = new core.List<api.InterconnectAttachment>();
o.add(buildInterconnectAttachment());
o.add(buildInterconnectAttachment());
return o;
}
-checkUnnamed2428(core.List<api.InterconnectAttachment> o) {
+checkUnnamed2434(core.List<api.InterconnectAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachment(o[0]);
checkInterconnectAttachment(o[1]);
@@ -7104,14 +7104,14 @@
buildCounterInterconnectAttachmentListWarningData--;
}
-buildUnnamed2429() {
+buildUnnamed2435() {
var o = new core.List<api.InterconnectAttachmentListWarningData>();
o.add(buildInterconnectAttachmentListWarningData());
o.add(buildInterconnectAttachmentListWarningData());
return o;
}
-checkUnnamed2429(core.List<api.InterconnectAttachmentListWarningData> o) {
+checkUnnamed2435(core.List<api.InterconnectAttachmentListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentListWarningData(o[0]);
checkInterconnectAttachmentListWarningData(o[1]);
@@ -7123,7 +7123,7 @@
buildCounterInterconnectAttachmentListWarning++;
if (buildCounterInterconnectAttachmentListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2429();
+ o.data = buildUnnamed2435();
o.message = "foo";
}
buildCounterInterconnectAttachmentListWarning--;
@@ -7135,7 +7135,7 @@
buildCounterInterconnectAttachmentListWarning++;
if (buildCounterInterconnectAttachmentListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2429(o.data);
+ checkUnnamed2435(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentListWarning--;
@@ -7147,7 +7147,7 @@
buildCounterInterconnectAttachmentList++;
if (buildCounterInterconnectAttachmentList < 3) {
o.id = "foo";
- o.items = buildUnnamed2428();
+ o.items = buildUnnamed2434();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7161,7 +7161,7 @@
buildCounterInterconnectAttachmentList++;
if (buildCounterInterconnectAttachmentList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2428(o.items);
+ checkUnnamed2434(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7190,14 +7190,14 @@
buildCounterInterconnectAttachmentPrivateInfo--;
}
-buildUnnamed2430() {
+buildUnnamed2436() {
var o = new core.List<api.InterconnectAttachment>();
o.add(buildInterconnectAttachment());
o.add(buildInterconnectAttachment());
return o;
}
-checkUnnamed2430(core.List<api.InterconnectAttachment> o) {
+checkUnnamed2436(core.List<api.InterconnectAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachment(o[0]);
checkInterconnectAttachment(o[1]);
@@ -7225,14 +7225,14 @@
buildCounterInterconnectAttachmentsScopedListWarningData--;
}
-buildUnnamed2431() {
+buildUnnamed2437() {
var o = new core.List<api.InterconnectAttachmentsScopedListWarningData>();
o.add(buildInterconnectAttachmentsScopedListWarningData());
o.add(buildInterconnectAttachmentsScopedListWarningData());
return o;
}
-checkUnnamed2431(
+checkUnnamed2437(
core.List<api.InterconnectAttachmentsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentsScopedListWarningData(o[0]);
@@ -7245,7 +7245,7 @@
buildCounterInterconnectAttachmentsScopedListWarning++;
if (buildCounterInterconnectAttachmentsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2431();
+ o.data = buildUnnamed2437();
o.message = "foo";
}
buildCounterInterconnectAttachmentsScopedListWarning--;
@@ -7257,7 +7257,7 @@
buildCounterInterconnectAttachmentsScopedListWarning++;
if (buildCounterInterconnectAttachmentsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2431(o.data);
+ checkUnnamed2437(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentsScopedListWarning--;
@@ -7268,7 +7268,7 @@
var o = new api.InterconnectAttachmentsScopedList();
buildCounterInterconnectAttachmentsScopedList++;
if (buildCounterInterconnectAttachmentsScopedList < 3) {
- o.interconnectAttachments = buildUnnamed2430();
+ o.interconnectAttachments = buildUnnamed2436();
o.warning = buildInterconnectAttachmentsScopedListWarning();
}
buildCounterInterconnectAttachmentsScopedList--;
@@ -7279,7 +7279,7 @@
api.InterconnectAttachmentsScopedList o) {
buildCounterInterconnectAttachmentsScopedList++;
if (buildCounterInterconnectAttachmentsScopedList < 3) {
- checkUnnamed2430(o.interconnectAttachments);
+ checkUnnamed2436(o.interconnectAttachments);
checkInterconnectAttachmentsScopedListWarning(o.warning);
}
buildCounterInterconnectAttachmentsScopedList--;
@@ -7308,14 +7308,14 @@
buildCounterInterconnectCircuitInfo--;
}
-buildUnnamed2432() {
+buildUnnamed2438() {
var o = new core.List<api.Interconnect>();
o.add(buildInterconnect());
o.add(buildInterconnect());
return o;
}
-checkUnnamed2432(core.List<api.Interconnect> o) {
+checkUnnamed2438(core.List<api.Interconnect> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnect(o[0]);
checkInterconnect(o[1]);
@@ -7342,14 +7342,14 @@
buildCounterInterconnectListWarningData--;
}
-buildUnnamed2433() {
+buildUnnamed2439() {
var o = new core.List<api.InterconnectListWarningData>();
o.add(buildInterconnectListWarningData());
o.add(buildInterconnectListWarningData());
return o;
}
-checkUnnamed2433(core.List<api.InterconnectListWarningData> o) {
+checkUnnamed2439(core.List<api.InterconnectListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectListWarningData(o[0]);
checkInterconnectListWarningData(o[1]);
@@ -7361,7 +7361,7 @@
buildCounterInterconnectListWarning++;
if (buildCounterInterconnectListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2433();
+ o.data = buildUnnamed2439();
o.message = "foo";
}
buildCounterInterconnectListWarning--;
@@ -7372,7 +7372,7 @@
buildCounterInterconnectListWarning++;
if (buildCounterInterconnectListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2433(o.data);
+ checkUnnamed2439(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectListWarning--;
@@ -7384,7 +7384,7 @@
buildCounterInterconnectList++;
if (buildCounterInterconnectList < 3) {
o.id = "foo";
- o.items = buildUnnamed2432();
+ o.items = buildUnnamed2438();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7398,7 +7398,7 @@
buildCounterInterconnectList++;
if (buildCounterInterconnectList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2432(o.items);
+ checkUnnamed2438(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7407,14 +7407,14 @@
buildCounterInterconnectList--;
}
-buildUnnamed2434() {
+buildUnnamed2440() {
var o = new core.List<api.InterconnectLocationRegionInfo>();
o.add(buildInterconnectLocationRegionInfo());
o.add(buildInterconnectLocationRegionInfo());
return o;
}
-checkUnnamed2434(core.List<api.InterconnectLocationRegionInfo> o) {
+checkUnnamed2440(core.List<api.InterconnectLocationRegionInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocationRegionInfo(o[0]);
checkInterconnectLocationRegionInfo(o[1]);
@@ -7437,7 +7437,7 @@
o.kind = "foo";
o.name = "foo";
o.peeringdbFacilityId = "foo";
- o.regionInfos = buildUnnamed2434();
+ o.regionInfos = buildUnnamed2440();
o.selfLink = "foo";
}
buildCounterInterconnectLocation--;
@@ -7459,20 +7459,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peeringdbFacilityId, unittest.equals('foo'));
- checkUnnamed2434(o.regionInfos);
+ checkUnnamed2440(o.regionInfos);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterInterconnectLocation--;
}
-buildUnnamed2435() {
+buildUnnamed2441() {
var o = new core.List<api.InterconnectLocation>();
o.add(buildInterconnectLocation());
o.add(buildInterconnectLocation());
return o;
}
-checkUnnamed2435(core.List<api.InterconnectLocation> o) {
+checkUnnamed2441(core.List<api.InterconnectLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocation(o[0]);
checkInterconnectLocation(o[1]);
@@ -7500,14 +7500,14 @@
buildCounterInterconnectLocationListWarningData--;
}
-buildUnnamed2436() {
+buildUnnamed2442() {
var o = new core.List<api.InterconnectLocationListWarningData>();
o.add(buildInterconnectLocationListWarningData());
o.add(buildInterconnectLocationListWarningData());
return o;
}
-checkUnnamed2436(core.List<api.InterconnectLocationListWarningData> o) {
+checkUnnamed2442(core.List<api.InterconnectLocationListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocationListWarningData(o[0]);
checkInterconnectLocationListWarningData(o[1]);
@@ -7519,7 +7519,7 @@
buildCounterInterconnectLocationListWarning++;
if (buildCounterInterconnectLocationListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2436();
+ o.data = buildUnnamed2442();
o.message = "foo";
}
buildCounterInterconnectLocationListWarning--;
@@ -7530,7 +7530,7 @@
buildCounterInterconnectLocationListWarning++;
if (buildCounterInterconnectLocationListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2436(o.data);
+ checkUnnamed2442(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectLocationListWarning--;
@@ -7542,7 +7542,7 @@
buildCounterInterconnectLocationList++;
if (buildCounterInterconnectLocationList < 3) {
o.id = "foo";
- o.items = buildUnnamed2435();
+ o.items = buildUnnamed2441();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7556,7 +7556,7 @@
buildCounterInterconnectLocationList++;
if (buildCounterInterconnectLocationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2435(o.items);
+ checkUnnamed2441(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7588,14 +7588,14 @@
buildCounterInterconnectLocationRegionInfo--;
}
-buildUnnamed2437() {
+buildUnnamed2443() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2437(core.List<core.String> o) {
+checkUnnamed2443(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'));
@@ -7606,7 +7606,7 @@
var o = new api.InterconnectOutageNotification();
buildCounterInterconnectOutageNotification++;
if (buildCounterInterconnectOutageNotification < 3) {
- o.affectedCircuits = buildUnnamed2437();
+ o.affectedCircuits = buildUnnamed2443();
o.description = "foo";
o.endTime = "foo";
o.issueType = "foo";
@@ -7622,7 +7622,7 @@
checkInterconnectOutageNotification(api.InterconnectOutageNotification o) {
buildCounterInterconnectOutageNotification++;
if (buildCounterInterconnectOutageNotification < 3) {
- checkUnnamed2437(o.affectedCircuits);
+ checkUnnamed2443(o.affectedCircuits);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.issueType, unittest.equals('foo'));
@@ -7678,14 +7678,14 @@
buildCounterMachineTypeScratchDisks--;
}
-buildUnnamed2438() {
+buildUnnamed2444() {
var o = new core.List<api.MachineTypeScratchDisks>();
o.add(buildMachineTypeScratchDisks());
o.add(buildMachineTypeScratchDisks());
return o;
}
-checkUnnamed2438(core.List<api.MachineTypeScratchDisks> o) {
+checkUnnamed2444(core.List<api.MachineTypeScratchDisks> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeScratchDisks(o[0]);
checkMachineTypeScratchDisks(o[1]);
@@ -7708,7 +7708,7 @@
o.maximumPersistentDisksSizeGb = "foo";
o.memoryMb = 42;
o.name = "foo";
- o.scratchDisks = buildUnnamed2438();
+ o.scratchDisks = buildUnnamed2444();
o.selfLink = "foo";
o.zone = "foo";
}
@@ -7731,21 +7731,21 @@
unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo'));
unittest.expect(o.memoryMb, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2438(o.scratchDisks);
+ checkUnnamed2444(o.scratchDisks);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterMachineType--;
}
-buildUnnamed2439() {
+buildUnnamed2445() {
var o = new core.Map<core.String, api.MachineTypesScopedList>();
o["x"] = buildMachineTypesScopedList();
o["y"] = buildMachineTypesScopedList();
return o;
}
-checkUnnamed2439(core.Map<core.String, api.MachineTypesScopedList> o) {
+checkUnnamed2445(core.Map<core.String, api.MachineTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedList(o["x"]);
checkMachineTypesScopedList(o["y"]);
@@ -7773,14 +7773,14 @@
buildCounterMachineTypeAggregatedListWarningData--;
}
-buildUnnamed2440() {
+buildUnnamed2446() {
var o = new core.List<api.MachineTypeAggregatedListWarningData>();
o.add(buildMachineTypeAggregatedListWarningData());
o.add(buildMachineTypeAggregatedListWarningData());
return o;
}
-checkUnnamed2440(core.List<api.MachineTypeAggregatedListWarningData> o) {
+checkUnnamed2446(core.List<api.MachineTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeAggregatedListWarningData(o[0]);
checkMachineTypeAggregatedListWarningData(o[1]);
@@ -7792,7 +7792,7 @@
buildCounterMachineTypeAggregatedListWarning++;
if (buildCounterMachineTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2440();
+ o.data = buildUnnamed2446();
o.message = "foo";
}
buildCounterMachineTypeAggregatedListWarning--;
@@ -7803,7 +7803,7 @@
buildCounterMachineTypeAggregatedListWarning++;
if (buildCounterMachineTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2440(o.data);
+ checkUnnamed2446(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypeAggregatedListWarning--;
@@ -7815,7 +7815,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2439();
+ o.items = buildUnnamed2445();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7829,7 +7829,7 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2439(o.items);
+ checkUnnamed2445(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7838,14 +7838,14 @@
buildCounterMachineTypeAggregatedList--;
}
-buildUnnamed2441() {
+buildUnnamed2447() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed2441(core.List<api.MachineType> o) {
+checkUnnamed2447(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -7872,14 +7872,14 @@
buildCounterMachineTypeListWarningData--;
}
-buildUnnamed2442() {
+buildUnnamed2448() {
var o = new core.List<api.MachineTypeListWarningData>();
o.add(buildMachineTypeListWarningData());
o.add(buildMachineTypeListWarningData());
return o;
}
-checkUnnamed2442(core.List<api.MachineTypeListWarningData> o) {
+checkUnnamed2448(core.List<api.MachineTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeListWarningData(o[0]);
checkMachineTypeListWarningData(o[1]);
@@ -7891,7 +7891,7 @@
buildCounterMachineTypeListWarning++;
if (buildCounterMachineTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2442();
+ o.data = buildUnnamed2448();
o.message = "foo";
}
buildCounterMachineTypeListWarning--;
@@ -7902,7 +7902,7 @@
buildCounterMachineTypeListWarning++;
if (buildCounterMachineTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2442(o.data);
+ checkUnnamed2448(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypeListWarning--;
@@ -7914,7 +7914,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2441();
+ o.items = buildUnnamed2447();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7928,7 +7928,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2441(o.items);
+ checkUnnamed2447(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7937,14 +7937,14 @@
buildCounterMachineTypeList--;
}
-buildUnnamed2443() {
+buildUnnamed2449() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed2443(core.List<api.MachineType> o) {
+checkUnnamed2449(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -7972,14 +7972,14 @@
buildCounterMachineTypesScopedListWarningData--;
}
-buildUnnamed2444() {
+buildUnnamed2450() {
var o = new core.List<api.MachineTypesScopedListWarningData>();
o.add(buildMachineTypesScopedListWarningData());
o.add(buildMachineTypesScopedListWarningData());
return o;
}
-checkUnnamed2444(core.List<api.MachineTypesScopedListWarningData> o) {
+checkUnnamed2450(core.List<api.MachineTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedListWarningData(o[0]);
checkMachineTypesScopedListWarningData(o[1]);
@@ -7991,7 +7991,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2444();
+ o.data = buildUnnamed2450();
o.message = "foo";
}
buildCounterMachineTypesScopedListWarning--;
@@ -8002,7 +8002,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2444(o.data);
+ checkUnnamed2450(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypesScopedListWarning--;
@@ -8013,7 +8013,7 @@
var o = new api.MachineTypesScopedList();
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- o.machineTypes = buildUnnamed2443();
+ o.machineTypes = buildUnnamed2449();
o.warning = buildMachineTypesScopedListWarning();
}
buildCounterMachineTypesScopedList--;
@@ -8023,7 +8023,7 @@
checkMachineTypesScopedList(api.MachineTypesScopedList o) {
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- checkUnnamed2443(o.machineTypes);
+ checkUnnamed2449(o.machineTypes);
checkMachineTypesScopedListWarning(o.warning);
}
buildCounterMachineTypesScopedList--;
@@ -8080,14 +8080,14 @@
buildCounterManagedInstanceLastAttemptErrorsErrors--;
}
-buildUnnamed2445() {
+buildUnnamed2451() {
var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>();
o.add(buildManagedInstanceLastAttemptErrorsErrors());
o.add(buildManagedInstanceLastAttemptErrorsErrors());
return o;
}
-checkUnnamed2445(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
+checkUnnamed2451(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstanceLastAttemptErrorsErrors(o[0]);
checkManagedInstanceLastAttemptErrorsErrors(o[1]);
@@ -8098,7 +8098,7 @@
var o = new api.ManagedInstanceLastAttemptErrors();
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- o.errors = buildUnnamed2445();
+ o.errors = buildUnnamed2451();
}
buildCounterManagedInstanceLastAttemptErrors--;
return o;
@@ -8107,7 +8107,7 @@
checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) {
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- checkUnnamed2445(o.errors);
+ checkUnnamed2451(o.errors);
}
buildCounterManagedInstanceLastAttemptErrors--;
}
@@ -8152,14 +8152,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed2446() {
+buildUnnamed2452() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed2446(core.List<api.MetadataItems> o) {
+checkUnnamed2452(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -8171,7 +8171,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2446();
+ o.items = buildUnnamed2452();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -8182,7 +8182,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2446(o.items);
+ checkUnnamed2452(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -8209,27 +8209,27 @@
buildCounterNamedPort--;
}
-buildUnnamed2447() {
+buildUnnamed2453() {
var o = new core.List<api.NetworkPeering>();
o.add(buildNetworkPeering());
o.add(buildNetworkPeering());
return o;
}
-checkUnnamed2447(core.List<api.NetworkPeering> o) {
+checkUnnamed2453(core.List<api.NetworkPeering> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkPeering(o[0]);
checkNetworkPeering(o[1]);
}
-buildUnnamed2448() {
+buildUnnamed2454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2448(core.List<core.String> o) {
+checkUnnamed2454(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'));
@@ -8248,10 +8248,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.peerings = buildUnnamed2447();
+ o.peerings = buildUnnamed2453();
o.routingConfig = buildNetworkRoutingConfig();
o.selfLink = "foo";
- o.subnetworks = buildUnnamed2448();
+ o.subnetworks = buildUnnamed2454();
}
buildCounterNetwork--;
return o;
@@ -8268,35 +8268,35 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2447(o.peerings);
+ checkUnnamed2453(o.peerings);
checkNetworkRoutingConfig(o.routingConfig);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2448(o.subnetworks);
+ checkUnnamed2454(o.subnetworks);
}
buildCounterNetwork--;
}
-buildUnnamed2449() {
+buildUnnamed2455() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed2449(core.List<api.AccessConfig> o) {
+checkUnnamed2455(core.List<api.AccessConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessConfig(o[0]);
checkAccessConfig(o[1]);
}
-buildUnnamed2450() {
+buildUnnamed2456() {
var o = new core.List<api.AliasIpRange>();
o.add(buildAliasIpRange());
o.add(buildAliasIpRange());
return o;
}
-checkUnnamed2450(core.List<api.AliasIpRange> o) {
+checkUnnamed2456(core.List<api.AliasIpRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkAliasIpRange(o[0]);
checkAliasIpRange(o[1]);
@@ -8307,8 +8307,8 @@
var o = new api.NetworkInterface();
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- o.accessConfigs = buildUnnamed2449();
- o.aliasIpRanges = buildUnnamed2450();
+ o.accessConfigs = buildUnnamed2455();
+ o.aliasIpRanges = buildUnnamed2456();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -8322,8 +8322,8 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed2449(o.accessConfigs);
- checkUnnamed2450(o.aliasIpRanges);
+ checkUnnamed2455(o.accessConfigs);
+ checkUnnamed2456(o.aliasIpRanges);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -8333,14 +8333,14 @@
buildCounterNetworkInterface--;
}
-buildUnnamed2451() {
+buildUnnamed2457() {
var o = new core.List<api.Network>();
o.add(buildNetwork());
o.add(buildNetwork());
return o;
}
-checkUnnamed2451(core.List<api.Network> o) {
+checkUnnamed2457(core.List<api.Network> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetwork(o[0]);
checkNetwork(o[1]);
@@ -8367,14 +8367,14 @@
buildCounterNetworkListWarningData--;
}
-buildUnnamed2452() {
+buildUnnamed2458() {
var o = new core.List<api.NetworkListWarningData>();
o.add(buildNetworkListWarningData());
o.add(buildNetworkListWarningData());
return o;
}
-checkUnnamed2452(core.List<api.NetworkListWarningData> o) {
+checkUnnamed2458(core.List<api.NetworkListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkListWarningData(o[0]);
checkNetworkListWarningData(o[1]);
@@ -8386,7 +8386,7 @@
buildCounterNetworkListWarning++;
if (buildCounterNetworkListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2452();
+ o.data = buildUnnamed2458();
o.message = "foo";
}
buildCounterNetworkListWarning--;
@@ -8397,7 +8397,7 @@
buildCounterNetworkListWarning++;
if (buildCounterNetworkListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2452(o.data);
+ checkUnnamed2458(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNetworkListWarning--;
@@ -8409,7 +8409,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2451();
+ o.items = buildUnnamed2457();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8423,7 +8423,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2451(o.items);
+ checkUnnamed2457(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8543,14 +8543,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed2453() {
+buildUnnamed2459() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed2453(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2459(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -8561,7 +8561,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed2453();
+ o.errors = buildUnnamed2459();
}
buildCounterOperationError--;
return o;
@@ -8570,7 +8570,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed2453(o.errors);
+ checkUnnamed2459(o.errors);
}
buildCounterOperationError--;
}
@@ -8596,14 +8596,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed2454() {
+buildUnnamed2460() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed2454(core.List<api.OperationWarningsData> o) {
+checkUnnamed2460(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -8615,7 +8615,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2454();
+ o.data = buildUnnamed2460();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -8626,20 +8626,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2454(o.data);
+ checkUnnamed2460(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed2455() {
+buildUnnamed2461() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed2455(core.List<api.OperationWarnings> o) {
+checkUnnamed2461(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -8671,7 +8671,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed2455();
+ o.warnings = buildUnnamed2461();
o.zone = "foo";
}
buildCounterOperation--;
@@ -8702,20 +8702,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2455(o.warnings);
+ checkUnnamed2461(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed2456() {
+buildUnnamed2462() {
var o = new core.Map<core.String, api.OperationsScopedList>();
o["x"] = buildOperationsScopedList();
o["y"] = buildOperationsScopedList();
return o;
}
-checkUnnamed2456(core.Map<core.String, api.OperationsScopedList> o) {
+checkUnnamed2462(core.Map<core.String, api.OperationsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedList(o["x"]);
checkOperationsScopedList(o["y"]);
@@ -8743,14 +8743,14 @@
buildCounterOperationAggregatedListWarningData--;
}
-buildUnnamed2457() {
+buildUnnamed2463() {
var o = new core.List<api.OperationAggregatedListWarningData>();
o.add(buildOperationAggregatedListWarningData());
o.add(buildOperationAggregatedListWarningData());
return o;
}
-checkUnnamed2457(core.List<api.OperationAggregatedListWarningData> o) {
+checkUnnamed2463(core.List<api.OperationAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationAggregatedListWarningData(o[0]);
checkOperationAggregatedListWarningData(o[1]);
@@ -8762,7 +8762,7 @@
buildCounterOperationAggregatedListWarning++;
if (buildCounterOperationAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2457();
+ o.data = buildUnnamed2463();
o.message = "foo";
}
buildCounterOperationAggregatedListWarning--;
@@ -8773,7 +8773,7 @@
buildCounterOperationAggregatedListWarning++;
if (buildCounterOperationAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2457(o.data);
+ checkUnnamed2463(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationAggregatedListWarning--;
@@ -8785,7 +8785,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2456();
+ o.items = buildUnnamed2462();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8799,7 +8799,7 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2456(o.items);
+ checkUnnamed2462(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8808,14 +8808,14 @@
buildCounterOperationAggregatedList--;
}
-buildUnnamed2458() {
+buildUnnamed2464() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2458(core.List<api.Operation> o) {
+checkUnnamed2464(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -8842,14 +8842,14 @@
buildCounterOperationListWarningData--;
}
-buildUnnamed2459() {
+buildUnnamed2465() {
var o = new core.List<api.OperationListWarningData>();
o.add(buildOperationListWarningData());
o.add(buildOperationListWarningData());
return o;
}
-checkUnnamed2459(core.List<api.OperationListWarningData> o) {
+checkUnnamed2465(core.List<api.OperationListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationListWarningData(o[0]);
checkOperationListWarningData(o[1]);
@@ -8861,7 +8861,7 @@
buildCounterOperationListWarning++;
if (buildCounterOperationListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2459();
+ o.data = buildUnnamed2465();
o.message = "foo";
}
buildCounterOperationListWarning--;
@@ -8872,7 +8872,7 @@
buildCounterOperationListWarning++;
if (buildCounterOperationListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2459(o.data);
+ checkUnnamed2465(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationListWarning--;
@@ -8884,7 +8884,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed2458();
+ o.items = buildUnnamed2464();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8898,7 +8898,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2458(o.items);
+ checkUnnamed2464(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8907,14 +8907,14 @@
buildCounterOperationList--;
}
-buildUnnamed2460() {
+buildUnnamed2466() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2460(core.List<api.Operation> o) {
+checkUnnamed2466(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -8941,14 +8941,14 @@
buildCounterOperationsScopedListWarningData--;
}
-buildUnnamed2461() {
+buildUnnamed2467() {
var o = new core.List<api.OperationsScopedListWarningData>();
o.add(buildOperationsScopedListWarningData());
o.add(buildOperationsScopedListWarningData());
return o;
}
-checkUnnamed2461(core.List<api.OperationsScopedListWarningData> o) {
+checkUnnamed2467(core.List<api.OperationsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedListWarningData(o[0]);
checkOperationsScopedListWarningData(o[1]);
@@ -8960,7 +8960,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2461();
+ o.data = buildUnnamed2467();
o.message = "foo";
}
buildCounterOperationsScopedListWarning--;
@@ -8971,7 +8971,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2461(o.data);
+ checkUnnamed2467(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationsScopedListWarning--;
@@ -8982,7 +8982,7 @@
var o = new api.OperationsScopedList();
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- o.operations = buildUnnamed2460();
+ o.operations = buildUnnamed2466();
o.warning = buildOperationsScopedListWarning();
}
buildCounterOperationsScopedList--;
@@ -8992,20 +8992,20 @@
checkOperationsScopedList(api.OperationsScopedList o) {
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- checkUnnamed2460(o.operations);
+ checkUnnamed2466(o.operations);
checkOperationsScopedListWarning(o.warning);
}
buildCounterOperationsScopedList--;
}
-buildUnnamed2462() {
+buildUnnamed2468() {
var o = new core.List<api.PathRule>();
o.add(buildPathRule());
o.add(buildPathRule());
return o;
}
-checkUnnamed2462(core.List<api.PathRule> o) {
+checkUnnamed2468(core.List<api.PathRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathRule(o[0]);
checkPathRule(o[1]);
@@ -9019,7 +9019,7 @@
o.defaultService = "foo";
o.description = "foo";
o.name = "foo";
- o.pathRules = buildUnnamed2462();
+ o.pathRules = buildUnnamed2468();
}
buildCounterPathMatcher--;
return o;
@@ -9031,19 +9031,19 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2462(o.pathRules);
+ checkUnnamed2468(o.pathRules);
}
buildCounterPathMatcher--;
}
-buildUnnamed2463() {
+buildUnnamed2469() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2463(core.List<core.String> o) {
+checkUnnamed2469(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'));
@@ -9054,7 +9054,7 @@
var o = new api.PathRule();
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- o.paths = buildUnnamed2463();
+ o.paths = buildUnnamed2469();
o.service = "foo";
}
buildCounterPathRule--;
@@ -9064,33 +9064,33 @@
checkPathRule(api.PathRule o) {
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- checkUnnamed2463(o.paths);
+ checkUnnamed2469(o.paths);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterPathRule--;
}
-buildUnnamed2464() {
+buildUnnamed2470() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2464(core.List<core.String> o) {
+checkUnnamed2470(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'));
}
-buildUnnamed2465() {
+buildUnnamed2471() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2465(core.List<api.Quota> o) {
+checkUnnamed2471(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
@@ -9105,11 +9105,11 @@
o.creationTimestamp = "foo";
o.defaultServiceAccount = "foo";
o.description = "foo";
- o.enabledFeatures = buildUnnamed2464();
+ o.enabledFeatures = buildUnnamed2470();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2465();
+ o.quotas = buildUnnamed2471();
o.selfLink = "foo";
o.usageExportLocation = buildUsageExportLocation();
o.xpnProjectStatus = "foo";
@@ -9125,11 +9125,11 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.defaultServiceAccount, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2464(o.enabledFeatures);
+ checkUnnamed2470(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2465(o.quotas);
+ checkUnnamed2471(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkUsageExportLocation(o.usageExportLocation);
unittest.expect(o.xpnProjectStatus, unittest.equals('foo'));
@@ -9176,14 +9176,14 @@
buildCounterProjectsEnableXpnResourceRequest--;
}
-buildUnnamed2466() {
+buildUnnamed2472() {
var o = new core.List<api.XpnResourceId>();
o.add(buildXpnResourceId());
o.add(buildXpnResourceId());
return o;
}
-checkUnnamed2466(core.List<api.XpnResourceId> o) {
+checkUnnamed2472(core.List<api.XpnResourceId> o) {
unittest.expect(o, unittest.hasLength(2));
checkXpnResourceId(o[0]);
checkXpnResourceId(o[1]);
@@ -9196,7 +9196,7 @@
if (buildCounterProjectsGetXpnResources < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed2466();
+ o.resources = buildUnnamed2472();
}
buildCounterProjectsGetXpnResources--;
return o;
@@ -9207,7 +9207,7 @@
if (buildCounterProjectsGetXpnResources < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2466(o.resources);
+ checkUnnamed2472(o.resources);
}
buildCounterProjectsGetXpnResources--;
}
@@ -9254,27 +9254,27 @@
buildCounterQuota--;
}
-buildUnnamed2467() {
+buildUnnamed2473() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2467(core.List<api.Quota> o) {
+checkUnnamed2473(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
}
-buildUnnamed2468() {
+buildUnnamed2474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2468(core.List<core.String> o) {
+checkUnnamed2474(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'));
@@ -9291,10 +9291,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2467();
+ o.quotas = buildUnnamed2473();
o.selfLink = "foo";
o.status = "foo";
- o.zones = buildUnnamed2468();
+ o.zones = buildUnnamed2474();
}
buildCounterRegion--;
return o;
@@ -9309,22 +9309,22 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2467(o.quotas);
+ checkUnnamed2473(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2468(o.zones);
+ checkUnnamed2474(o.zones);
}
buildCounterRegion--;
}
-buildUnnamed2469() {
+buildUnnamed2475() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2469(core.List<api.Autoscaler> o) {
+checkUnnamed2475(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -9351,14 +9351,14 @@
buildCounterRegionAutoscalerListWarningData--;
}
-buildUnnamed2470() {
+buildUnnamed2476() {
var o = new core.List<api.RegionAutoscalerListWarningData>();
o.add(buildRegionAutoscalerListWarningData());
o.add(buildRegionAutoscalerListWarningData());
return o;
}
-checkUnnamed2470(core.List<api.RegionAutoscalerListWarningData> o) {
+checkUnnamed2476(core.List<api.RegionAutoscalerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionAutoscalerListWarningData(o[0]);
checkRegionAutoscalerListWarningData(o[1]);
@@ -9370,7 +9370,7 @@
buildCounterRegionAutoscalerListWarning++;
if (buildCounterRegionAutoscalerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2470();
+ o.data = buildUnnamed2476();
o.message = "foo";
}
buildCounterRegionAutoscalerListWarning--;
@@ -9381,7 +9381,7 @@
buildCounterRegionAutoscalerListWarning++;
if (buildCounterRegionAutoscalerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2470(o.data);
+ checkUnnamed2476(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionAutoscalerListWarning--;
@@ -9393,7 +9393,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2469();
+ o.items = buildUnnamed2475();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9407,7 +9407,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2469(o.items);
+ checkUnnamed2475(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9416,14 +9416,14 @@
buildCounterRegionAutoscalerList--;
}
-buildUnnamed2471() {
+buildUnnamed2477() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2471(core.List<api.InstanceGroup> o) {
+checkUnnamed2477(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -9451,14 +9451,14 @@
buildCounterRegionInstanceGroupListWarningData--;
}
-buildUnnamed2472() {
+buildUnnamed2478() {
var o = new core.List<api.RegionInstanceGroupListWarningData>();
o.add(buildRegionInstanceGroupListWarningData());
o.add(buildRegionInstanceGroupListWarningData());
return o;
}
-checkUnnamed2472(core.List<api.RegionInstanceGroupListWarningData> o) {
+checkUnnamed2478(core.List<api.RegionInstanceGroupListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupListWarningData(o[0]);
checkRegionInstanceGroupListWarningData(o[1]);
@@ -9470,7 +9470,7 @@
buildCounterRegionInstanceGroupListWarning++;
if (buildCounterRegionInstanceGroupListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2472();
+ o.data = buildUnnamed2478();
o.message = "foo";
}
buildCounterRegionInstanceGroupListWarning--;
@@ -9481,7 +9481,7 @@
buildCounterRegionInstanceGroupListWarning++;
if (buildCounterRegionInstanceGroupListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2472(o.data);
+ checkUnnamed2478(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupListWarning--;
@@ -9493,7 +9493,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2471();
+ o.items = buildUnnamed2477();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9507,7 +9507,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2471(o.items);
+ checkUnnamed2477(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9516,14 +9516,14 @@
buildCounterRegionInstanceGroupList--;
}
-buildUnnamed2473() {
+buildUnnamed2479() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2473(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2479(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -9551,14 +9551,14 @@
buildCounterRegionInstanceGroupManagerListWarningData--;
}
-buildUnnamed2474() {
+buildUnnamed2480() {
var o = new core.List<api.RegionInstanceGroupManagerListWarningData>();
o.add(buildRegionInstanceGroupManagerListWarningData());
o.add(buildRegionInstanceGroupManagerListWarningData());
return o;
}
-checkUnnamed2474(core.List<api.RegionInstanceGroupManagerListWarningData> o) {
+checkUnnamed2480(core.List<api.RegionInstanceGroupManagerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupManagerListWarningData(o[0]);
checkRegionInstanceGroupManagerListWarningData(o[1]);
@@ -9570,7 +9570,7 @@
buildCounterRegionInstanceGroupManagerListWarning++;
if (buildCounterRegionInstanceGroupManagerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2474();
+ o.data = buildUnnamed2480();
o.message = "foo";
}
buildCounterRegionInstanceGroupManagerListWarning--;
@@ -9582,7 +9582,7 @@
buildCounterRegionInstanceGroupManagerListWarning++;
if (buildCounterRegionInstanceGroupManagerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2474(o.data);
+ checkUnnamed2480(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupManagerListWarning--;
@@ -9594,7 +9594,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2473();
+ o.items = buildUnnamed2479();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9608,7 +9608,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2473(o.items);
+ checkUnnamed2479(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9617,14 +9617,14 @@
buildCounterRegionInstanceGroupManagerList--;
}
-buildUnnamed2475() {
+buildUnnamed2481() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2475(core.List<core.String> o) {
+checkUnnamed2481(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'));
@@ -9635,7 +9635,7 @@
var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest();
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2475();
+ o.instances = buildUnnamed2481();
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -9645,19 +9645,19 @@
api.RegionInstanceGroupManagersAbandonInstancesRequest o) {
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2475(o.instances);
+ checkUnnamed2481(o.instances);
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
}
-buildUnnamed2476() {
+buildUnnamed2482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2476(core.List<core.String> o) {
+checkUnnamed2482(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'));
@@ -9668,7 +9668,7 @@
var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest();
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2476();
+ o.instances = buildUnnamed2482();
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -9678,19 +9678,19 @@
api.RegionInstanceGroupManagersDeleteInstancesRequest o) {
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2476(o.instances);
+ checkUnnamed2482(o.instances);
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2477() {
+buildUnnamed2483() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2477(core.List<api.ManagedInstance> o) {
+checkUnnamed2483(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -9701,7 +9701,7 @@
var o = new api.RegionInstanceGroupManagersListInstancesResponse();
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2477();
+ o.managedInstances = buildUnnamed2483();
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
return o;
@@ -9711,19 +9711,19 @@
api.RegionInstanceGroupManagersListInstancesResponse o) {
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- checkUnnamed2477(o.managedInstances);
+ checkUnnamed2483(o.managedInstances);
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
}
-buildUnnamed2478() {
+buildUnnamed2484() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2478(core.List<core.String> o) {
+checkUnnamed2484(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'));
@@ -9734,7 +9734,7 @@
var o = new api.RegionInstanceGroupManagersRecreateRequest();
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- o.instances = buildUnnamed2478();
+ o.instances = buildUnnamed2484();
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
return o;
@@ -9744,19 +9744,19 @@
api.RegionInstanceGroupManagersRecreateRequest o) {
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- checkUnnamed2478(o.instances);
+ checkUnnamed2484(o.instances);
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
}
-buildUnnamed2479() {
+buildUnnamed2485() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2479(core.List<core.String> o) {
+checkUnnamed2485(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'));
@@ -9768,7 +9768,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2479();
+ o.targetPools = buildUnnamed2485();
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -9779,7 +9779,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2479(o.targetPools);
+ checkUnnamed2485(o.targetPools);
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
}
@@ -9804,14 +9804,14 @@
buildCounterRegionInstanceGroupManagersSetTemplateRequest--;
}
-buildUnnamed2480() {
+buildUnnamed2486() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2480(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2486(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -9839,14 +9839,14 @@
buildCounterRegionInstanceGroupsListInstancesWarningData--;
}
-buildUnnamed2481() {
+buildUnnamed2487() {
var o = new core.List<api.RegionInstanceGroupsListInstancesWarningData>();
o.add(buildRegionInstanceGroupsListInstancesWarningData());
o.add(buildRegionInstanceGroupsListInstancesWarningData());
return o;
}
-checkUnnamed2481(
+checkUnnamed2487(
core.List<api.RegionInstanceGroupsListInstancesWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupsListInstancesWarningData(o[0]);
@@ -9859,7 +9859,7 @@
buildCounterRegionInstanceGroupsListInstancesWarning++;
if (buildCounterRegionInstanceGroupsListInstancesWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2481();
+ o.data = buildUnnamed2487();
o.message = "foo";
}
buildCounterRegionInstanceGroupsListInstancesWarning--;
@@ -9871,7 +9871,7 @@
buildCounterRegionInstanceGroupsListInstancesWarning++;
if (buildCounterRegionInstanceGroupsListInstancesWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2481(o.data);
+ checkUnnamed2487(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupsListInstancesWarning--;
@@ -9883,7 +9883,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2480();
+ o.items = buildUnnamed2486();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9898,7 +9898,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2480(o.items);
+ checkUnnamed2486(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9929,14 +9929,14 @@
buildCounterRegionInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2482() {
+buildUnnamed2488() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2482(core.List<api.NamedPort> o) {
+checkUnnamed2488(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -9948,7 +9948,7 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2482();
+ o.namedPorts = buildUnnamed2488();
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -9959,19 +9959,19 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2482(o.namedPorts);
+ checkUnnamed2488(o.namedPorts);
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2483() {
+buildUnnamed2489() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2483(core.List<api.Region> o) {
+checkUnnamed2489(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -9998,14 +9998,14 @@
buildCounterRegionListWarningData--;
}
-buildUnnamed2484() {
+buildUnnamed2490() {
var o = new core.List<api.RegionListWarningData>();
o.add(buildRegionListWarningData());
o.add(buildRegionListWarningData());
return o;
}
-checkUnnamed2484(core.List<api.RegionListWarningData> o) {
+checkUnnamed2490(core.List<api.RegionListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionListWarningData(o[0]);
checkRegionListWarningData(o[1]);
@@ -10017,7 +10017,7 @@
buildCounterRegionListWarning++;
if (buildCounterRegionListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2484();
+ o.data = buildUnnamed2490();
o.message = "foo";
}
buildCounterRegionListWarning--;
@@ -10028,7 +10028,7 @@
buildCounterRegionListWarning++;
if (buildCounterRegionListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2484(o.data);
+ checkUnnamed2490(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionListWarning--;
@@ -10040,7 +10040,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
o.id = "foo";
- o.items = buildUnnamed2483();
+ o.items = buildUnnamed2489();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10054,7 +10054,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2483(o.items);
+ checkUnnamed2489(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10103,14 +10103,14 @@
buildCounterResourceGroupReference--;
}
-buildUnnamed2485() {
+buildUnnamed2491() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2485(core.List<core.String> o) {
+checkUnnamed2491(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'));
@@ -10137,14 +10137,14 @@
buildCounterRouteWarningsData--;
}
-buildUnnamed2486() {
+buildUnnamed2492() {
var o = new core.List<api.RouteWarningsData>();
o.add(buildRouteWarningsData());
o.add(buildRouteWarningsData());
return o;
}
-checkUnnamed2486(core.List<api.RouteWarningsData> o) {
+checkUnnamed2492(core.List<api.RouteWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarningsData(o[0]);
checkRouteWarningsData(o[1]);
@@ -10156,7 +10156,7 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2486();
+ o.data = buildUnnamed2492();
o.message = "foo";
}
buildCounterRouteWarnings--;
@@ -10167,20 +10167,20 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2486(o.data);
+ checkUnnamed2492(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteWarnings--;
}
-buildUnnamed2487() {
+buildUnnamed2493() {
var o = new core.List<api.RouteWarnings>();
o.add(buildRouteWarnings());
o.add(buildRouteWarnings());
return o;
}
-checkUnnamed2487(core.List<api.RouteWarnings> o) {
+checkUnnamed2493(core.List<api.RouteWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarnings(o[0]);
checkRouteWarnings(o[1]);
@@ -10206,8 +10206,8 @@
o.nextHopVpnTunnel = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.tags = buildUnnamed2485();
- o.warnings = buildUnnamed2487();
+ o.tags = buildUnnamed2491();
+ o.warnings = buildUnnamed2493();
}
buildCounterRoute--;
return o;
@@ -10231,20 +10231,20 @@
unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2485(o.tags);
- checkUnnamed2487(o.warnings);
+ checkUnnamed2491(o.tags);
+ checkUnnamed2493(o.warnings);
}
buildCounterRoute--;
}
-buildUnnamed2488() {
+buildUnnamed2494() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2488(core.List<api.Route> o) {
+checkUnnamed2494(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -10271,14 +10271,14 @@
buildCounterRouteListWarningData--;
}
-buildUnnamed2489() {
+buildUnnamed2495() {
var o = new core.List<api.RouteListWarningData>();
o.add(buildRouteListWarningData());
o.add(buildRouteListWarningData());
return o;
}
-checkUnnamed2489(core.List<api.RouteListWarningData> o) {
+checkUnnamed2495(core.List<api.RouteListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteListWarningData(o[0]);
checkRouteListWarningData(o[1]);
@@ -10290,7 +10290,7 @@
buildCounterRouteListWarning++;
if (buildCounterRouteListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2489();
+ o.data = buildUnnamed2495();
o.message = "foo";
}
buildCounterRouteListWarning--;
@@ -10301,7 +10301,7 @@
buildCounterRouteListWarning++;
if (buildCounterRouteListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2489(o.data);
+ checkUnnamed2495(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteListWarning--;
@@ -10313,7 +10313,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
o.id = "foo";
- o.items = buildUnnamed2488();
+ o.items = buildUnnamed2494();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10327,7 +10327,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2488(o.items);
+ checkUnnamed2494(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10336,27 +10336,27 @@
buildCounterRouteList--;
}
-buildUnnamed2490() {
+buildUnnamed2496() {
var o = new core.List<api.RouterBgpPeer>();
o.add(buildRouterBgpPeer());
o.add(buildRouterBgpPeer());
return o;
}
-checkUnnamed2490(core.List<api.RouterBgpPeer> o) {
+checkUnnamed2496(core.List<api.RouterBgpPeer> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterBgpPeer(o[0]);
checkRouterBgpPeer(o[1]);
}
-buildUnnamed2491() {
+buildUnnamed2497() {
var o = new core.List<api.RouterInterface>();
o.add(buildRouterInterface());
o.add(buildRouterInterface());
return o;
}
-checkUnnamed2491(core.List<api.RouterInterface> o) {
+checkUnnamed2497(core.List<api.RouterInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterInterface(o[0]);
checkRouterInterface(o[1]);
@@ -10368,11 +10368,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
o.bgp = buildRouterBgp();
- o.bgpPeers = buildUnnamed2490();
+ o.bgpPeers = buildUnnamed2496();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
- o.interfaces = buildUnnamed2491();
+ o.interfaces = buildUnnamed2497();
o.kind = "foo";
o.name = "foo";
o.network = "foo";
@@ -10387,11 +10387,11 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
checkRouterBgp(o.bgp);
- checkUnnamed2490(o.bgpPeers);
+ checkUnnamed2496(o.bgpPeers);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2491(o.interfaces);
+ checkUnnamed2497(o.interfaces);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -10401,14 +10401,14 @@
buildCounterRouter--;
}
-buildUnnamed2492() {
+buildUnnamed2498() {
var o = new core.Map<core.String, api.RoutersScopedList>();
o["x"] = buildRoutersScopedList();
o["y"] = buildRoutersScopedList();
return o;
}
-checkUnnamed2492(core.Map<core.String, api.RoutersScopedList> o) {
+checkUnnamed2498(core.Map<core.String, api.RoutersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedList(o["x"]);
checkRoutersScopedList(o["y"]);
@@ -10435,14 +10435,14 @@
buildCounterRouterAggregatedListWarningData--;
}
-buildUnnamed2493() {
+buildUnnamed2499() {
var o = new core.List<api.RouterAggregatedListWarningData>();
o.add(buildRouterAggregatedListWarningData());
o.add(buildRouterAggregatedListWarningData());
return o;
}
-checkUnnamed2493(core.List<api.RouterAggregatedListWarningData> o) {
+checkUnnamed2499(core.List<api.RouterAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterAggregatedListWarningData(o[0]);
checkRouterAggregatedListWarningData(o[1]);
@@ -10454,7 +10454,7 @@
buildCounterRouterAggregatedListWarning++;
if (buildCounterRouterAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2493();
+ o.data = buildUnnamed2499();
o.message = "foo";
}
buildCounterRouterAggregatedListWarning--;
@@ -10465,7 +10465,7 @@
buildCounterRouterAggregatedListWarning++;
if (buildCounterRouterAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2493(o.data);
+ checkUnnamed2499(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouterAggregatedListWarning--;
@@ -10477,7 +10477,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2492();
+ o.items = buildUnnamed2498();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10491,7 +10491,7 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2492(o.items);
+ checkUnnamed2498(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10573,14 +10573,14 @@
buildCounterRouterInterface--;
}
-buildUnnamed2494() {
+buildUnnamed2500() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2494(core.List<api.Router> o) {
+checkUnnamed2500(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -10607,14 +10607,14 @@
buildCounterRouterListWarningData--;
}
-buildUnnamed2495() {
+buildUnnamed2501() {
var o = new core.List<api.RouterListWarningData>();
o.add(buildRouterListWarningData());
o.add(buildRouterListWarningData());
return o;
}
-checkUnnamed2495(core.List<api.RouterListWarningData> o) {
+checkUnnamed2501(core.List<api.RouterListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterListWarningData(o[0]);
checkRouterListWarningData(o[1]);
@@ -10626,7 +10626,7 @@
buildCounterRouterListWarning++;
if (buildCounterRouterListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2495();
+ o.data = buildUnnamed2501();
o.message = "foo";
}
buildCounterRouterListWarning--;
@@ -10637,7 +10637,7 @@
buildCounterRouterListWarning++;
if (buildCounterRouterListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2495(o.data);
+ checkUnnamed2501(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouterListWarning--;
@@ -10649,7 +10649,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
o.id = "foo";
- o.items = buildUnnamed2494();
+ o.items = buildUnnamed2500();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10663,7 +10663,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2494(o.items);
+ checkUnnamed2500(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10672,40 +10672,40 @@
buildCounterRouterList--;
}
-buildUnnamed2496() {
+buildUnnamed2502() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2496(core.List<api.Route> o) {
+checkUnnamed2502(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed2497() {
+buildUnnamed2503() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2497(core.List<api.Route> o) {
+checkUnnamed2503(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed2498() {
+buildUnnamed2504() {
var o = new core.List<api.RouterStatusBgpPeerStatus>();
o.add(buildRouterStatusBgpPeerStatus());
o.add(buildRouterStatusBgpPeerStatus());
return o;
}
-checkUnnamed2498(core.List<api.RouterStatusBgpPeerStatus> o) {
+checkUnnamed2504(core.List<api.RouterStatusBgpPeerStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterStatusBgpPeerStatus(o[0]);
checkRouterStatusBgpPeerStatus(o[1]);
@@ -10716,9 +10716,9 @@
var o = new api.RouterStatus();
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- o.bestRoutes = buildUnnamed2496();
- o.bestRoutesForRouter = buildUnnamed2497();
- o.bgpPeerStatus = buildUnnamed2498();
+ o.bestRoutes = buildUnnamed2502();
+ o.bestRoutesForRouter = buildUnnamed2503();
+ o.bgpPeerStatus = buildUnnamed2504();
o.network = "foo";
}
buildCounterRouterStatus--;
@@ -10728,22 +10728,22 @@
checkRouterStatus(api.RouterStatus o) {
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- checkUnnamed2496(o.bestRoutes);
- checkUnnamed2497(o.bestRoutesForRouter);
- checkUnnamed2498(o.bgpPeerStatus);
+ checkUnnamed2502(o.bestRoutes);
+ checkUnnamed2503(o.bestRoutesForRouter);
+ checkUnnamed2504(o.bgpPeerStatus);
unittest.expect(o.network, unittest.equals('foo'));
}
buildCounterRouterStatus--;
}
-buildUnnamed2499() {
+buildUnnamed2505() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2499(core.List<api.Route> o) {
+checkUnnamed2505(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -10754,7 +10754,7 @@
var o = new api.RouterStatusBgpPeerStatus();
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- o.advertisedRoutes = buildUnnamed2499();
+ o.advertisedRoutes = buildUnnamed2505();
o.ipAddress = "foo";
o.linkedVpnTunnel = "foo";
o.name = "foo";
@@ -10772,7 +10772,7 @@
checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) {
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- checkUnnamed2499(o.advertisedRoutes);
+ checkUnnamed2505(o.advertisedRoutes);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.linkedVpnTunnel, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -10826,14 +10826,14 @@
buildCounterRoutersPreviewResponse--;
}
-buildUnnamed2500() {
+buildUnnamed2506() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2500(core.List<api.Router> o) {
+checkUnnamed2506(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -10860,14 +10860,14 @@
buildCounterRoutersScopedListWarningData--;
}
-buildUnnamed2501() {
+buildUnnamed2507() {
var o = new core.List<api.RoutersScopedListWarningData>();
o.add(buildRoutersScopedListWarningData());
o.add(buildRoutersScopedListWarningData());
return o;
}
-checkUnnamed2501(core.List<api.RoutersScopedListWarningData> o) {
+checkUnnamed2507(core.List<api.RoutersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedListWarningData(o[0]);
checkRoutersScopedListWarningData(o[1]);
@@ -10879,7 +10879,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2501();
+ o.data = buildUnnamed2507();
o.message = "foo";
}
buildCounterRoutersScopedListWarning--;
@@ -10890,7 +10890,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2501(o.data);
+ checkUnnamed2507(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRoutersScopedListWarning--;
@@ -10901,7 +10901,7 @@
var o = new api.RoutersScopedList();
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- o.routers = buildUnnamed2500();
+ o.routers = buildUnnamed2506();
o.warning = buildRoutersScopedListWarning();
}
buildCounterRoutersScopedList--;
@@ -10911,7 +10911,7 @@
checkRoutersScopedList(api.RoutersScopedList o) {
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- checkUnnamed2500(o.routers);
+ checkUnnamed2506(o.routers);
checkRoutersScopedListWarning(o.warning);
}
buildCounterRoutersScopedList--;
@@ -10994,14 +10994,14 @@
buildCounterSerialPortOutput--;
}
-buildUnnamed2502() {
+buildUnnamed2508() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2502(core.List<core.String> o) {
+checkUnnamed2508(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'));
@@ -11013,7 +11013,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2502();
+ o.scopes = buildUnnamed2508();
}
buildCounterServiceAccount--;
return o;
@@ -11023,32 +11023,32 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2502(o.scopes);
+ checkUnnamed2508(o.scopes);
}
buildCounterServiceAccount--;
}
-buildUnnamed2503() {
+buildUnnamed2509() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2503(core.Map<core.String, core.String> o) {
+checkUnnamed2509(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2504() {
+buildUnnamed2510() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2504(core.List<core.String> o) {
+checkUnnamed2510(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'));
@@ -11065,8 +11065,8 @@
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2503();
- o.licenses = buildUnnamed2504();
+ o.labels = buildUnnamed2509();
+ o.licenses = buildUnnamed2510();
o.name = "foo";
o.selfLink = "foo";
o.snapshotEncryptionKey = buildCustomerEncryptionKey();
@@ -11090,8 +11090,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2503(o.labels);
- checkUnnamed2504(o.licenses);
+ checkUnnamed2509(o.labels);
+ checkUnnamed2510(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkCustomerEncryptionKey(o.snapshotEncryptionKey);
@@ -11105,14 +11105,14 @@
buildCounterSnapshot--;
}
-buildUnnamed2505() {
+buildUnnamed2511() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed2505(core.List<api.Snapshot> o) {
+checkUnnamed2511(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -11139,14 +11139,14 @@
buildCounterSnapshotListWarningData--;
}
-buildUnnamed2506() {
+buildUnnamed2512() {
var o = new core.List<api.SnapshotListWarningData>();
o.add(buildSnapshotListWarningData());
o.add(buildSnapshotListWarningData());
return o;
}
-checkUnnamed2506(core.List<api.SnapshotListWarningData> o) {
+checkUnnamed2512(core.List<api.SnapshotListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshotListWarningData(o[0]);
checkSnapshotListWarningData(o[1]);
@@ -11158,7 +11158,7 @@
buildCounterSnapshotListWarning++;
if (buildCounterSnapshotListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2506();
+ o.data = buildUnnamed2512();
o.message = "foo";
}
buildCounterSnapshotListWarning--;
@@ -11169,7 +11169,7 @@
buildCounterSnapshotListWarning++;
if (buildCounterSnapshotListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2506(o.data);
+ checkUnnamed2512(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSnapshotListWarning--;
@@ -11181,7 +11181,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
o.id = "foo";
- o.items = buildUnnamed2505();
+ o.items = buildUnnamed2511();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11195,7 +11195,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2505(o.items);
+ checkUnnamed2511(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11237,14 +11237,14 @@
buildCounterSslCertificate--;
}
-buildUnnamed2507() {
+buildUnnamed2513() {
var o = new core.List<api.SslCertificate>();
o.add(buildSslCertificate());
o.add(buildSslCertificate());
return o;
}
-checkUnnamed2507(core.List<api.SslCertificate> o) {
+checkUnnamed2513(core.List<api.SslCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificate(o[0]);
checkSslCertificate(o[1]);
@@ -11271,14 +11271,14 @@
buildCounterSslCertificateListWarningData--;
}
-buildUnnamed2508() {
+buildUnnamed2514() {
var o = new core.List<api.SslCertificateListWarningData>();
o.add(buildSslCertificateListWarningData());
o.add(buildSslCertificateListWarningData());
return o;
}
-checkUnnamed2508(core.List<api.SslCertificateListWarningData> o) {
+checkUnnamed2514(core.List<api.SslCertificateListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificateListWarningData(o[0]);
checkSslCertificateListWarningData(o[1]);
@@ -11290,7 +11290,7 @@
buildCounterSslCertificateListWarning++;
if (buildCounterSslCertificateListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2508();
+ o.data = buildUnnamed2514();
o.message = "foo";
}
buildCounterSslCertificateListWarning--;
@@ -11301,7 +11301,7 @@
buildCounterSslCertificateListWarning++;
if (buildCounterSslCertificateListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2508(o.data);
+ checkUnnamed2514(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSslCertificateListWarning--;
@@ -11313,7 +11313,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2507();
+ o.items = buildUnnamed2513();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11327,7 +11327,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2507(o.items);
+ checkUnnamed2513(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11336,14 +11336,14 @@
buildCounterSslCertificateList--;
}
-buildUnnamed2509() {
+buildUnnamed2515() {
var o = new core.List<api.SubnetworkSecondaryRange>();
o.add(buildSubnetworkSecondaryRange());
o.add(buildSubnetworkSecondaryRange());
return o;
}
-checkUnnamed2509(core.List<api.SubnetworkSecondaryRange> o) {
+checkUnnamed2515(core.List<api.SubnetworkSecondaryRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkSecondaryRange(o[0]);
checkSubnetworkSecondaryRange(o[1]);
@@ -11364,7 +11364,7 @@
o.network = "foo";
o.privateIpGoogleAccess = true;
o.region = "foo";
- o.secondaryIpRanges = buildUnnamed2509();
+ o.secondaryIpRanges = buildUnnamed2515();
o.selfLink = "foo";
}
buildCounterSubnetwork--;
@@ -11384,20 +11384,20 @@
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.privateIpGoogleAccess, unittest.isTrue);
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2509(o.secondaryIpRanges);
+ checkUnnamed2515(o.secondaryIpRanges);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterSubnetwork--;
}
-buildUnnamed2510() {
+buildUnnamed2516() {
var o = new core.Map<core.String, api.SubnetworksScopedList>();
o["x"] = buildSubnetworksScopedList();
o["y"] = buildSubnetworksScopedList();
return o;
}
-checkUnnamed2510(core.Map<core.String, api.SubnetworksScopedList> o) {
+checkUnnamed2516(core.Map<core.String, api.SubnetworksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedList(o["x"]);
checkSubnetworksScopedList(o["y"]);
@@ -11425,14 +11425,14 @@
buildCounterSubnetworkAggregatedListWarningData--;
}
-buildUnnamed2511() {
+buildUnnamed2517() {
var o = new core.List<api.SubnetworkAggregatedListWarningData>();
o.add(buildSubnetworkAggregatedListWarningData());
o.add(buildSubnetworkAggregatedListWarningData());
return o;
}
-checkUnnamed2511(core.List<api.SubnetworkAggregatedListWarningData> o) {
+checkUnnamed2517(core.List<api.SubnetworkAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkAggregatedListWarningData(o[0]);
checkSubnetworkAggregatedListWarningData(o[1]);
@@ -11444,7 +11444,7 @@
buildCounterSubnetworkAggregatedListWarning++;
if (buildCounterSubnetworkAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2511();
+ o.data = buildUnnamed2517();
o.message = "foo";
}
buildCounterSubnetworkAggregatedListWarning--;
@@ -11455,7 +11455,7 @@
buildCounterSubnetworkAggregatedListWarning++;
if (buildCounterSubnetworkAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2511(o.data);
+ checkUnnamed2517(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworkAggregatedListWarning--;
@@ -11467,7 +11467,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2510();
+ o.items = buildUnnamed2516();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11481,7 +11481,7 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2510(o.items);
+ checkUnnamed2516(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11490,14 +11490,14 @@
buildCounterSubnetworkAggregatedList--;
}
-buildUnnamed2512() {
+buildUnnamed2518() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2512(core.List<api.Subnetwork> o) {
+checkUnnamed2518(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -11524,14 +11524,14 @@
buildCounterSubnetworkListWarningData--;
}
-buildUnnamed2513() {
+buildUnnamed2519() {
var o = new core.List<api.SubnetworkListWarningData>();
o.add(buildSubnetworkListWarningData());
o.add(buildSubnetworkListWarningData());
return o;
}
-checkUnnamed2513(core.List<api.SubnetworkListWarningData> o) {
+checkUnnamed2519(core.List<api.SubnetworkListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkListWarningData(o[0]);
checkSubnetworkListWarningData(o[1]);
@@ -11543,7 +11543,7 @@
buildCounterSubnetworkListWarning++;
if (buildCounterSubnetworkListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2513();
+ o.data = buildUnnamed2519();
o.message = "foo";
}
buildCounterSubnetworkListWarning--;
@@ -11554,7 +11554,7 @@
buildCounterSubnetworkListWarning++;
if (buildCounterSubnetworkListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2513(o.data);
+ checkUnnamed2519(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworkListWarning--;
@@ -11566,7 +11566,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2512();
+ o.items = buildUnnamed2518();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11580,7 +11580,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2512(o.items);
+ checkUnnamed2518(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11630,14 +11630,14 @@
buildCounterSubnetworksExpandIpCidrRangeRequest--;
}
-buildUnnamed2514() {
+buildUnnamed2520() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2514(core.List<api.Subnetwork> o) {
+checkUnnamed2520(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -11664,14 +11664,14 @@
buildCounterSubnetworksScopedListWarningData--;
}
-buildUnnamed2515() {
+buildUnnamed2521() {
var o = new core.List<api.SubnetworksScopedListWarningData>();
o.add(buildSubnetworksScopedListWarningData());
o.add(buildSubnetworksScopedListWarningData());
return o;
}
-checkUnnamed2515(core.List<api.SubnetworksScopedListWarningData> o) {
+checkUnnamed2521(core.List<api.SubnetworksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedListWarningData(o[0]);
checkSubnetworksScopedListWarningData(o[1]);
@@ -11683,7 +11683,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2515();
+ o.data = buildUnnamed2521();
o.message = "foo";
}
buildCounterSubnetworksScopedListWarning--;
@@ -11694,7 +11694,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2515(o.data);
+ checkUnnamed2521(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworksScopedListWarning--;
@@ -11705,7 +11705,7 @@
var o = new api.SubnetworksScopedList();
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- o.subnetworks = buildUnnamed2514();
+ o.subnetworks = buildUnnamed2520();
o.warning = buildSubnetworksScopedListWarning();
}
buildCounterSubnetworksScopedList--;
@@ -11715,7 +11715,7 @@
checkSubnetworksScopedList(api.SubnetworksScopedList o) {
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- checkUnnamed2514(o.subnetworks);
+ checkUnnamed2520(o.subnetworks);
checkSubnetworksScopedListWarning(o.warning);
}
buildCounterSubnetworksScopedList--;
@@ -11768,14 +11768,14 @@
buildCounterTCPHealthCheck--;
}
-buildUnnamed2516() {
+buildUnnamed2522() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2516(core.List<core.String> o) {
+checkUnnamed2522(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'));
@@ -11787,7 +11787,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2516();
+ o.items = buildUnnamed2522();
}
buildCounterTags--;
return o;
@@ -11797,7 +11797,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2516(o.items);
+ checkUnnamed2522(o.items);
}
buildCounterTags--;
}
@@ -11833,14 +11833,14 @@
buildCounterTargetHttpProxy--;
}
-buildUnnamed2517() {
+buildUnnamed2523() {
var o = new core.List<api.TargetHttpProxy>();
o.add(buildTargetHttpProxy());
o.add(buildTargetHttpProxy());
return o;
}
-checkUnnamed2517(core.List<api.TargetHttpProxy> o) {
+checkUnnamed2523(core.List<api.TargetHttpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxy(o[0]);
checkTargetHttpProxy(o[1]);
@@ -11867,14 +11867,14 @@
buildCounterTargetHttpProxyListWarningData--;
}
-buildUnnamed2518() {
+buildUnnamed2524() {
var o = new core.List<api.TargetHttpProxyListWarningData>();
o.add(buildTargetHttpProxyListWarningData());
o.add(buildTargetHttpProxyListWarningData());
return o;
}
-checkUnnamed2518(core.List<api.TargetHttpProxyListWarningData> o) {
+checkUnnamed2524(core.List<api.TargetHttpProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxyListWarningData(o[0]);
checkTargetHttpProxyListWarningData(o[1]);
@@ -11886,7 +11886,7 @@
buildCounterTargetHttpProxyListWarning++;
if (buildCounterTargetHttpProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2518();
+ o.data = buildUnnamed2524();
o.message = "foo";
}
buildCounterTargetHttpProxyListWarning--;
@@ -11897,7 +11897,7 @@
buildCounterTargetHttpProxyListWarning++;
if (buildCounterTargetHttpProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2518(o.data);
+ checkUnnamed2524(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpProxyListWarning--;
@@ -11909,7 +11909,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2517();
+ o.items = buildUnnamed2523();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11923,7 +11923,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2517(o.items);
+ checkUnnamed2523(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11932,14 +11932,14 @@
buildCounterTargetHttpProxyList--;
}
-buildUnnamed2519() {
+buildUnnamed2525() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2519(core.List<core.String> o) {
+checkUnnamed2525(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'));
@@ -11950,7 +11950,7 @@
var o = new api.TargetHttpsProxiesSetSslCertificatesRequest();
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2519();
+ o.sslCertificates = buildUnnamed2525();
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
return o;
@@ -11960,19 +11960,19 @@
api.TargetHttpsProxiesSetSslCertificatesRequest o) {
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2519(o.sslCertificates);
+ checkUnnamed2525(o.sslCertificates);
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2520() {
+buildUnnamed2526() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2520(core.List<core.String> o) {
+checkUnnamed2526(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'));
@@ -11989,7 +11989,7 @@
o.kind = "foo";
o.name = "foo";
o.selfLink = "foo";
- o.sslCertificates = buildUnnamed2520();
+ o.sslCertificates = buildUnnamed2526();
o.urlMap = "foo";
}
buildCounterTargetHttpsProxy--;
@@ -12005,20 +12005,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2520(o.sslCertificates);
+ checkUnnamed2526(o.sslCertificates);
unittest.expect(o.urlMap, unittest.equals('foo'));
}
buildCounterTargetHttpsProxy--;
}
-buildUnnamed2521() {
+buildUnnamed2527() {
var o = new core.List<api.TargetHttpsProxy>();
o.add(buildTargetHttpsProxy());
o.add(buildTargetHttpsProxy());
return o;
}
-checkUnnamed2521(core.List<api.TargetHttpsProxy> o) {
+checkUnnamed2527(core.List<api.TargetHttpsProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxy(o[0]);
checkTargetHttpsProxy(o[1]);
@@ -12045,14 +12045,14 @@
buildCounterTargetHttpsProxyListWarningData--;
}
-buildUnnamed2522() {
+buildUnnamed2528() {
var o = new core.List<api.TargetHttpsProxyListWarningData>();
o.add(buildTargetHttpsProxyListWarningData());
o.add(buildTargetHttpsProxyListWarningData());
return o;
}
-checkUnnamed2522(core.List<api.TargetHttpsProxyListWarningData> o) {
+checkUnnamed2528(core.List<api.TargetHttpsProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxyListWarningData(o[0]);
checkTargetHttpsProxyListWarningData(o[1]);
@@ -12064,7 +12064,7 @@
buildCounterTargetHttpsProxyListWarning++;
if (buildCounterTargetHttpsProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2522();
+ o.data = buildUnnamed2528();
o.message = "foo";
}
buildCounterTargetHttpsProxyListWarning--;
@@ -12075,7 +12075,7 @@
buildCounterTargetHttpsProxyListWarning++;
if (buildCounterTargetHttpsProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2522(o.data);
+ checkUnnamed2528(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpsProxyListWarning--;
@@ -12087,7 +12087,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2521();
+ o.items = buildUnnamed2527();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12101,7 +12101,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2521(o.items);
+ checkUnnamed2527(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12145,14 +12145,14 @@
buildCounterTargetInstance--;
}
-buildUnnamed2523() {
+buildUnnamed2529() {
var o = new core.Map<core.String, api.TargetInstancesScopedList>();
o["x"] = buildTargetInstancesScopedList();
o["y"] = buildTargetInstancesScopedList();
return o;
}
-checkUnnamed2523(core.Map<core.String, api.TargetInstancesScopedList> o) {
+checkUnnamed2529(core.Map<core.String, api.TargetInstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedList(o["x"]);
checkTargetInstancesScopedList(o["y"]);
@@ -12180,14 +12180,14 @@
buildCounterTargetInstanceAggregatedListWarningData--;
}
-buildUnnamed2524() {
+buildUnnamed2530() {
var o = new core.List<api.TargetInstanceAggregatedListWarningData>();
o.add(buildTargetInstanceAggregatedListWarningData());
o.add(buildTargetInstanceAggregatedListWarningData());
return o;
}
-checkUnnamed2524(core.List<api.TargetInstanceAggregatedListWarningData> o) {
+checkUnnamed2530(core.List<api.TargetInstanceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstanceAggregatedListWarningData(o[0]);
checkTargetInstanceAggregatedListWarningData(o[1]);
@@ -12199,7 +12199,7 @@
buildCounterTargetInstanceAggregatedListWarning++;
if (buildCounterTargetInstanceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2524();
+ o.data = buildUnnamed2530();
o.message = "foo";
}
buildCounterTargetInstanceAggregatedListWarning--;
@@ -12211,7 +12211,7 @@
buildCounterTargetInstanceAggregatedListWarning++;
if (buildCounterTargetInstanceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2524(o.data);
+ checkUnnamed2530(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstanceAggregatedListWarning--;
@@ -12223,7 +12223,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2523();
+ o.items = buildUnnamed2529();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12237,7 +12237,7 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2523(o.items);
+ checkUnnamed2529(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12246,14 +12246,14 @@
buildCounterTargetInstanceAggregatedList--;
}
-buildUnnamed2525() {
+buildUnnamed2531() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2525(core.List<api.TargetInstance> o) {
+checkUnnamed2531(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -12280,14 +12280,14 @@
buildCounterTargetInstanceListWarningData--;
}
-buildUnnamed2526() {
+buildUnnamed2532() {
var o = new core.List<api.TargetInstanceListWarningData>();
o.add(buildTargetInstanceListWarningData());
o.add(buildTargetInstanceListWarningData());
return o;
}
-checkUnnamed2526(core.List<api.TargetInstanceListWarningData> o) {
+checkUnnamed2532(core.List<api.TargetInstanceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstanceListWarningData(o[0]);
checkTargetInstanceListWarningData(o[1]);
@@ -12299,7 +12299,7 @@
buildCounterTargetInstanceListWarning++;
if (buildCounterTargetInstanceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2526();
+ o.data = buildUnnamed2532();
o.message = "foo";
}
buildCounterTargetInstanceListWarning--;
@@ -12310,7 +12310,7 @@
buildCounterTargetInstanceListWarning++;
if (buildCounterTargetInstanceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2526(o.data);
+ checkUnnamed2532(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstanceListWarning--;
@@ -12322,7 +12322,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2525();
+ o.items = buildUnnamed2531();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12336,7 +12336,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2525(o.items);
+ checkUnnamed2531(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12345,14 +12345,14 @@
buildCounterTargetInstanceList--;
}
-buildUnnamed2527() {
+buildUnnamed2533() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2527(core.List<api.TargetInstance> o) {
+checkUnnamed2533(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -12380,14 +12380,14 @@
buildCounterTargetInstancesScopedListWarningData--;
}
-buildUnnamed2528() {
+buildUnnamed2534() {
var o = new core.List<api.TargetInstancesScopedListWarningData>();
o.add(buildTargetInstancesScopedListWarningData());
o.add(buildTargetInstancesScopedListWarningData());
return o;
}
-checkUnnamed2528(core.List<api.TargetInstancesScopedListWarningData> o) {
+checkUnnamed2534(core.List<api.TargetInstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedListWarningData(o[0]);
checkTargetInstancesScopedListWarningData(o[1]);
@@ -12399,7 +12399,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2528();
+ o.data = buildUnnamed2534();
o.message = "foo";
}
buildCounterTargetInstancesScopedListWarning--;
@@ -12410,7 +12410,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2528(o.data);
+ checkUnnamed2534(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstancesScopedListWarning--;
@@ -12421,7 +12421,7 @@
var o = new api.TargetInstancesScopedList();
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- o.targetInstances = buildUnnamed2527();
+ o.targetInstances = buildUnnamed2533();
o.warning = buildTargetInstancesScopedListWarning();
}
buildCounterTargetInstancesScopedList--;
@@ -12431,33 +12431,33 @@
checkTargetInstancesScopedList(api.TargetInstancesScopedList o) {
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- checkUnnamed2527(o.targetInstances);
+ checkUnnamed2533(o.targetInstances);
checkTargetInstancesScopedListWarning(o.warning);
}
buildCounterTargetInstancesScopedList--;
}
-buildUnnamed2529() {
+buildUnnamed2535() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2529(core.List<core.String> o) {
+checkUnnamed2535(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'));
}
-buildUnnamed2530() {
+buildUnnamed2536() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2530(core.List<core.String> o) {
+checkUnnamed2536(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'));
@@ -12472,9 +12472,9 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.failoverRatio = 42.0;
- o.healthChecks = buildUnnamed2529();
+ o.healthChecks = buildUnnamed2535();
o.id = "foo";
- o.instances = buildUnnamed2530();
+ o.instances = buildUnnamed2536();
o.kind = "foo";
o.name = "foo";
o.region = "foo";
@@ -12492,9 +12492,9 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.failoverRatio, unittest.equals(42.0));
- checkUnnamed2529(o.healthChecks);
+ checkUnnamed2535(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2530(o.instances);
+ checkUnnamed2536(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
@@ -12504,14 +12504,14 @@
buildCounterTargetPool--;
}
-buildUnnamed2531() {
+buildUnnamed2537() {
var o = new core.Map<core.String, api.TargetPoolsScopedList>();
o["x"] = buildTargetPoolsScopedList();
o["y"] = buildTargetPoolsScopedList();
return o;
}
-checkUnnamed2531(core.Map<core.String, api.TargetPoolsScopedList> o) {
+checkUnnamed2537(core.Map<core.String, api.TargetPoolsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedList(o["x"]);
checkTargetPoolsScopedList(o["y"]);
@@ -12539,14 +12539,14 @@
buildCounterTargetPoolAggregatedListWarningData--;
}
-buildUnnamed2532() {
+buildUnnamed2538() {
var o = new core.List<api.TargetPoolAggregatedListWarningData>();
o.add(buildTargetPoolAggregatedListWarningData());
o.add(buildTargetPoolAggregatedListWarningData());
return o;
}
-checkUnnamed2532(core.List<api.TargetPoolAggregatedListWarningData> o) {
+checkUnnamed2538(core.List<api.TargetPoolAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolAggregatedListWarningData(o[0]);
checkTargetPoolAggregatedListWarningData(o[1]);
@@ -12558,7 +12558,7 @@
buildCounterTargetPoolAggregatedListWarning++;
if (buildCounterTargetPoolAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2532();
+ o.data = buildUnnamed2538();
o.message = "foo";
}
buildCounterTargetPoolAggregatedListWarning--;
@@ -12569,7 +12569,7 @@
buildCounterTargetPoolAggregatedListWarning++;
if (buildCounterTargetPoolAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2532(o.data);
+ checkUnnamed2538(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolAggregatedListWarning--;
@@ -12581,7 +12581,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2531();
+ o.items = buildUnnamed2537();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12595,7 +12595,7 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2531(o.items);
+ checkUnnamed2537(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12604,14 +12604,14 @@
buildCounterTargetPoolAggregatedList--;
}
-buildUnnamed2533() {
+buildUnnamed2539() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2533(core.List<api.HealthStatus> o) {
+checkUnnamed2539(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -12622,7 +12622,7 @@
var o = new api.TargetPoolInstanceHealth();
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- o.healthStatus = buildUnnamed2533();
+ o.healthStatus = buildUnnamed2539();
o.kind = "foo";
}
buildCounterTargetPoolInstanceHealth--;
@@ -12632,20 +12632,20 @@
checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) {
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- checkUnnamed2533(o.healthStatus);
+ checkUnnamed2539(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTargetPoolInstanceHealth--;
}
-buildUnnamed2534() {
+buildUnnamed2540() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2534(core.List<api.TargetPool> o) {
+checkUnnamed2540(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -12672,14 +12672,14 @@
buildCounterTargetPoolListWarningData--;
}
-buildUnnamed2535() {
+buildUnnamed2541() {
var o = new core.List<api.TargetPoolListWarningData>();
o.add(buildTargetPoolListWarningData());
o.add(buildTargetPoolListWarningData());
return o;
}
-checkUnnamed2535(core.List<api.TargetPoolListWarningData> o) {
+checkUnnamed2541(core.List<api.TargetPoolListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolListWarningData(o[0]);
checkTargetPoolListWarningData(o[1]);
@@ -12691,7 +12691,7 @@
buildCounterTargetPoolListWarning++;
if (buildCounterTargetPoolListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2535();
+ o.data = buildUnnamed2541();
o.message = "foo";
}
buildCounterTargetPoolListWarning--;
@@ -12702,7 +12702,7 @@
buildCounterTargetPoolListWarning++;
if (buildCounterTargetPoolListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2535(o.data);
+ checkUnnamed2541(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolListWarning--;
@@ -12714,7 +12714,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
o.id = "foo";
- o.items = buildUnnamed2534();
+ o.items = buildUnnamed2540();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12728,7 +12728,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2534(o.items);
+ checkUnnamed2540(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12737,14 +12737,14 @@
buildCounterTargetPoolList--;
}
-buildUnnamed2536() {
+buildUnnamed2542() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2536(core.List<api.HealthCheckReference> o) {
+checkUnnamed2542(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -12755,7 +12755,7 @@
var o = new api.TargetPoolsAddHealthCheckRequest();
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2536();
+ o.healthChecks = buildUnnamed2542();
}
buildCounterTargetPoolsAddHealthCheckRequest--;
return o;
@@ -12764,19 +12764,19 @@
checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
buildCounterTargetPoolsAddHealthCheckRequest++;
if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- checkUnnamed2536(o.healthChecks);
+ checkUnnamed2542(o.healthChecks);
}
buildCounterTargetPoolsAddHealthCheckRequest--;
}
-buildUnnamed2537() {
+buildUnnamed2543() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2537(core.List<api.InstanceReference> o) {
+checkUnnamed2543(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -12787,7 +12787,7 @@
var o = new api.TargetPoolsAddInstanceRequest();
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- o.instances = buildUnnamed2537();
+ o.instances = buildUnnamed2543();
}
buildCounterTargetPoolsAddInstanceRequest--;
return o;
@@ -12796,19 +12796,19 @@
checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
buildCounterTargetPoolsAddInstanceRequest++;
if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- checkUnnamed2537(o.instances);
+ checkUnnamed2543(o.instances);
}
buildCounterTargetPoolsAddInstanceRequest--;
}
-buildUnnamed2538() {
+buildUnnamed2544() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
o.add(buildHealthCheckReference());
return o;
}
-checkUnnamed2538(core.List<api.HealthCheckReference> o) {
+checkUnnamed2544(core.List<api.HealthCheckReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckReference(o[0]);
checkHealthCheckReference(o[1]);
@@ -12819,7 +12819,7 @@
var o = new api.TargetPoolsRemoveHealthCheckRequest();
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2538();
+ o.healthChecks = buildUnnamed2544();
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
return o;
@@ -12829,19 +12829,19 @@
api.TargetPoolsRemoveHealthCheckRequest o) {
buildCounterTargetPoolsRemoveHealthCheckRequest++;
if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
- checkUnnamed2538(o.healthChecks);
+ checkUnnamed2544(o.healthChecks);
}
buildCounterTargetPoolsRemoveHealthCheckRequest--;
}
-buildUnnamed2539() {
+buildUnnamed2545() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed2539(core.List<api.InstanceReference> o) {
+checkUnnamed2545(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -12852,7 +12852,7 @@
var o = new api.TargetPoolsRemoveInstanceRequest();
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- o.instances = buildUnnamed2539();
+ o.instances = buildUnnamed2545();
}
buildCounterTargetPoolsRemoveInstanceRequest--;
return o;
@@ -12861,19 +12861,19 @@
checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) {
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- checkUnnamed2539(o.instances);
+ checkUnnamed2545(o.instances);
}
buildCounterTargetPoolsRemoveInstanceRequest--;
}
-buildUnnamed2540() {
+buildUnnamed2546() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2540(core.List<api.TargetPool> o) {
+checkUnnamed2546(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -12900,14 +12900,14 @@
buildCounterTargetPoolsScopedListWarningData--;
}
-buildUnnamed2541() {
+buildUnnamed2547() {
var o = new core.List<api.TargetPoolsScopedListWarningData>();
o.add(buildTargetPoolsScopedListWarningData());
o.add(buildTargetPoolsScopedListWarningData());
return o;
}
-checkUnnamed2541(core.List<api.TargetPoolsScopedListWarningData> o) {
+checkUnnamed2547(core.List<api.TargetPoolsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedListWarningData(o[0]);
checkTargetPoolsScopedListWarningData(o[1]);
@@ -12919,7 +12919,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2541();
+ o.data = buildUnnamed2547();
o.message = "foo";
}
buildCounterTargetPoolsScopedListWarning--;
@@ -12930,7 +12930,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2541(o.data);
+ checkUnnamed2547(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolsScopedListWarning--;
@@ -12941,7 +12941,7 @@
var o = new api.TargetPoolsScopedList();
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- o.targetPools = buildUnnamed2540();
+ o.targetPools = buildUnnamed2546();
o.warning = buildTargetPoolsScopedListWarning();
}
buildCounterTargetPoolsScopedList--;
@@ -12951,7 +12951,7 @@
checkTargetPoolsScopedList(api.TargetPoolsScopedList o) {
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- checkUnnamed2540(o.targetPools);
+ checkUnnamed2546(o.targetPools);
checkTargetPoolsScopedListWarning(o.warning);
}
buildCounterTargetPoolsScopedList--;
@@ -13016,14 +13016,14 @@
buildCounterTargetSslProxiesSetProxyHeaderRequest--;
}
-buildUnnamed2542() {
+buildUnnamed2548() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2542(core.List<core.String> o) {
+checkUnnamed2548(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'));
@@ -13034,7 +13034,7 @@
var o = new api.TargetSslProxiesSetSslCertificatesRequest();
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2542();
+ o.sslCertificates = buildUnnamed2548();
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
return o;
@@ -13044,19 +13044,19 @@
api.TargetSslProxiesSetSslCertificatesRequest o) {
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2542(o.sslCertificates);
+ checkUnnamed2548(o.sslCertificates);
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2543() {
+buildUnnamed2549() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2543(core.List<core.String> o) {
+checkUnnamed2549(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'));
@@ -13075,7 +13075,7 @@
o.proxyHeader = "foo";
o.selfLink = "foo";
o.service = "foo";
- o.sslCertificates = buildUnnamed2543();
+ o.sslCertificates = buildUnnamed2549();
}
buildCounterTargetSslProxy--;
return o;
@@ -13092,19 +13092,19 @@
unittest.expect(o.proxyHeader, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
- checkUnnamed2543(o.sslCertificates);
+ checkUnnamed2549(o.sslCertificates);
}
buildCounterTargetSslProxy--;
}
-buildUnnamed2544() {
+buildUnnamed2550() {
var o = new core.List<api.TargetSslProxy>();
o.add(buildTargetSslProxy());
o.add(buildTargetSslProxy());
return o;
}
-checkUnnamed2544(core.List<api.TargetSslProxy> o) {
+checkUnnamed2550(core.List<api.TargetSslProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxy(o[0]);
checkTargetSslProxy(o[1]);
@@ -13131,14 +13131,14 @@
buildCounterTargetSslProxyListWarningData--;
}
-buildUnnamed2545() {
+buildUnnamed2551() {
var o = new core.List<api.TargetSslProxyListWarningData>();
o.add(buildTargetSslProxyListWarningData());
o.add(buildTargetSslProxyListWarningData());
return o;
}
-checkUnnamed2545(core.List<api.TargetSslProxyListWarningData> o) {
+checkUnnamed2551(core.List<api.TargetSslProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxyListWarningData(o[0]);
checkTargetSslProxyListWarningData(o[1]);
@@ -13150,7 +13150,7 @@
buildCounterTargetSslProxyListWarning++;
if (buildCounterTargetSslProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2545();
+ o.data = buildUnnamed2551();
o.message = "foo";
}
buildCounterTargetSslProxyListWarning--;
@@ -13161,7 +13161,7 @@
buildCounterTargetSslProxyListWarning++;
if (buildCounterTargetSslProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2545(o.data);
+ checkUnnamed2551(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetSslProxyListWarning--;
@@ -13173,7 +13173,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2544();
+ o.items = buildUnnamed2550();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13187,7 +13187,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2544(o.items);
+ checkUnnamed2550(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13269,14 +13269,14 @@
buildCounterTargetTcpProxy--;
}
-buildUnnamed2546() {
+buildUnnamed2552() {
var o = new core.List<api.TargetTcpProxy>();
o.add(buildTargetTcpProxy());
o.add(buildTargetTcpProxy());
return o;
}
-checkUnnamed2546(core.List<api.TargetTcpProxy> o) {
+checkUnnamed2552(core.List<api.TargetTcpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetTcpProxy(o[0]);
checkTargetTcpProxy(o[1]);
@@ -13303,14 +13303,14 @@
buildCounterTargetTcpProxyListWarningData--;
}
-buildUnnamed2547() {
+buildUnnamed2553() {
var o = new core.List<api.TargetTcpProxyListWarningData>();
o.add(buildTargetTcpProxyListWarningData());
o.add(buildTargetTcpProxyListWarningData());
return o;
}
-checkUnnamed2547(core.List<api.TargetTcpProxyListWarningData> o) {
+checkUnnamed2553(core.List<api.TargetTcpProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetTcpProxyListWarningData(o[0]);
checkTargetTcpProxyListWarningData(o[1]);
@@ -13322,7 +13322,7 @@
buildCounterTargetTcpProxyListWarning++;
if (buildCounterTargetTcpProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2547();
+ o.data = buildUnnamed2553();
o.message = "foo";
}
buildCounterTargetTcpProxyListWarning--;
@@ -13333,7 +13333,7 @@
buildCounterTargetTcpProxyListWarning++;
if (buildCounterTargetTcpProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2547(o.data);
+ checkUnnamed2553(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetTcpProxyListWarning--;
@@ -13345,7 +13345,7 @@
buildCounterTargetTcpProxyList++;
if (buildCounterTargetTcpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2546();
+ o.items = buildUnnamed2552();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13359,7 +13359,7 @@
buildCounterTargetTcpProxyList++;
if (buildCounterTargetTcpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2546(o.items);
+ checkUnnamed2552(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13368,27 +13368,27 @@
buildCounterTargetTcpProxyList--;
}
-buildUnnamed2548() {
+buildUnnamed2554() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2548(core.List<core.String> o) {
+checkUnnamed2554(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'));
}
-buildUnnamed2549() {
+buildUnnamed2555() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2549(core.List<core.String> o) {
+checkUnnamed2555(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'));
@@ -13401,7 +13401,7 @@
if (buildCounterTargetVpnGateway < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.forwardingRules = buildUnnamed2548();
+ o.forwardingRules = buildUnnamed2554();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -13409,7 +13409,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.tunnels = buildUnnamed2549();
+ o.tunnels = buildUnnamed2555();
}
buildCounterTargetVpnGateway--;
return o;
@@ -13420,7 +13420,7 @@
if (buildCounterTargetVpnGateway < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2548(o.forwardingRules);
+ checkUnnamed2554(o.forwardingRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -13428,19 +13428,19 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2549(o.tunnels);
+ checkUnnamed2555(o.tunnels);
}
buildCounterTargetVpnGateway--;
}
-buildUnnamed2550() {
+buildUnnamed2556() {
var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>();
o["x"] = buildTargetVpnGatewaysScopedList();
o["y"] = buildTargetVpnGatewaysScopedList();
return o;
}
-checkUnnamed2550(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
+checkUnnamed2556(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedList(o["x"]);
checkTargetVpnGatewaysScopedList(o["y"]);
@@ -13468,14 +13468,14 @@
buildCounterTargetVpnGatewayAggregatedListWarningData--;
}
-buildUnnamed2551() {
+buildUnnamed2557() {
var o = new core.List<api.TargetVpnGatewayAggregatedListWarningData>();
o.add(buildTargetVpnGatewayAggregatedListWarningData());
o.add(buildTargetVpnGatewayAggregatedListWarningData());
return o;
}
-checkUnnamed2551(core.List<api.TargetVpnGatewayAggregatedListWarningData> o) {
+checkUnnamed2557(core.List<api.TargetVpnGatewayAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewayAggregatedListWarningData(o[0]);
checkTargetVpnGatewayAggregatedListWarningData(o[1]);
@@ -13487,7 +13487,7 @@
buildCounterTargetVpnGatewayAggregatedListWarning++;
if (buildCounterTargetVpnGatewayAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2551();
+ o.data = buildUnnamed2557();
o.message = "foo";
}
buildCounterTargetVpnGatewayAggregatedListWarning--;
@@ -13499,7 +13499,7 @@
buildCounterTargetVpnGatewayAggregatedListWarning++;
if (buildCounterTargetVpnGatewayAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2551(o.data);
+ checkUnnamed2557(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewayAggregatedListWarning--;
@@ -13511,7 +13511,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2550();
+ o.items = buildUnnamed2556();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13525,7 +13525,7 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2550(o.items);
+ checkUnnamed2556(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13534,14 +13534,14 @@
buildCounterTargetVpnGatewayAggregatedList--;
}
-buildUnnamed2552() {
+buildUnnamed2558() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2552(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2558(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -13568,14 +13568,14 @@
buildCounterTargetVpnGatewayListWarningData--;
}
-buildUnnamed2553() {
+buildUnnamed2559() {
var o = new core.List<api.TargetVpnGatewayListWarningData>();
o.add(buildTargetVpnGatewayListWarningData());
o.add(buildTargetVpnGatewayListWarningData());
return o;
}
-checkUnnamed2553(core.List<api.TargetVpnGatewayListWarningData> o) {
+checkUnnamed2559(core.List<api.TargetVpnGatewayListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewayListWarningData(o[0]);
checkTargetVpnGatewayListWarningData(o[1]);
@@ -13587,7 +13587,7 @@
buildCounterTargetVpnGatewayListWarning++;
if (buildCounterTargetVpnGatewayListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2553();
+ o.data = buildUnnamed2559();
o.message = "foo";
}
buildCounterTargetVpnGatewayListWarning--;
@@ -13598,7 +13598,7 @@
buildCounterTargetVpnGatewayListWarning++;
if (buildCounterTargetVpnGatewayListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2553(o.data);
+ checkUnnamed2559(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewayListWarning--;
@@ -13610,7 +13610,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
o.id = "foo";
- o.items = buildUnnamed2552();
+ o.items = buildUnnamed2558();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13624,7 +13624,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2552(o.items);
+ checkUnnamed2558(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13633,14 +13633,14 @@
buildCounterTargetVpnGatewayList--;
}
-buildUnnamed2554() {
+buildUnnamed2560() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2554(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2560(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -13668,14 +13668,14 @@
buildCounterTargetVpnGatewaysScopedListWarningData--;
}
-buildUnnamed2555() {
+buildUnnamed2561() {
var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>();
o.add(buildTargetVpnGatewaysScopedListWarningData());
o.add(buildTargetVpnGatewaysScopedListWarningData());
return o;
}
-checkUnnamed2555(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
+checkUnnamed2561(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedListWarningData(o[0]);
checkTargetVpnGatewaysScopedListWarningData(o[1]);
@@ -13687,7 +13687,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2555();
+ o.data = buildUnnamed2561();
o.message = "foo";
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -13699,7 +13699,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2555(o.data);
+ checkUnnamed2561(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -13710,7 +13710,7 @@
var o = new api.TargetVpnGatewaysScopedList();
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- o.targetVpnGateways = buildUnnamed2554();
+ o.targetVpnGateways = buildUnnamed2560();
o.warning = buildTargetVpnGatewaysScopedListWarning();
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -13720,7 +13720,7 @@
checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) {
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- checkUnnamed2554(o.targetVpnGateways);
+ checkUnnamed2560(o.targetVpnGateways);
checkTargetVpnGatewaysScopedListWarning(o.warning);
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -13751,40 +13751,40 @@
buildCounterTestFailure--;
}
-buildUnnamed2556() {
+buildUnnamed2562() {
var o = new core.List<api.HostRule>();
o.add(buildHostRule());
o.add(buildHostRule());
return o;
}
-checkUnnamed2556(core.List<api.HostRule> o) {
+checkUnnamed2562(core.List<api.HostRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHostRule(o[0]);
checkHostRule(o[1]);
}
-buildUnnamed2557() {
+buildUnnamed2563() {
var o = new core.List<api.PathMatcher>();
o.add(buildPathMatcher());
o.add(buildPathMatcher());
return o;
}
-checkUnnamed2557(core.List<api.PathMatcher> o) {
+checkUnnamed2563(core.List<api.PathMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathMatcher(o[0]);
checkPathMatcher(o[1]);
}
-buildUnnamed2558() {
+buildUnnamed2564() {
var o = new core.List<api.UrlMapTest>();
o.add(buildUrlMapTest());
o.add(buildUrlMapTest());
return o;
}
-checkUnnamed2558(core.List<api.UrlMapTest> o) {
+checkUnnamed2564(core.List<api.UrlMapTest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapTest(o[0]);
checkUrlMapTest(o[1]);
@@ -13799,13 +13799,13 @@
o.defaultService = "foo";
o.description = "foo";
o.fingerprint = "foo";
- o.hostRules = buildUnnamed2556();
+ o.hostRules = buildUnnamed2562();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.pathMatchers = buildUnnamed2557();
+ o.pathMatchers = buildUnnamed2563();
o.selfLink = "foo";
- o.tests = buildUnnamed2558();
+ o.tests = buildUnnamed2564();
}
buildCounterUrlMap--;
return o;
@@ -13818,25 +13818,25 @@
unittest.expect(o.defaultService, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2556(o.hostRules);
+ checkUnnamed2562(o.hostRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2557(o.pathMatchers);
+ checkUnnamed2563(o.pathMatchers);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2558(o.tests);
+ checkUnnamed2564(o.tests);
}
buildCounterUrlMap--;
}
-buildUnnamed2559() {
+buildUnnamed2565() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2559(core.List<api.UrlMap> o) {
+checkUnnamed2565(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
@@ -13863,14 +13863,14 @@
buildCounterUrlMapListWarningData--;
}
-buildUnnamed2560() {
+buildUnnamed2566() {
var o = new core.List<api.UrlMapListWarningData>();
o.add(buildUrlMapListWarningData());
o.add(buildUrlMapListWarningData());
return o;
}
-checkUnnamed2560(core.List<api.UrlMapListWarningData> o) {
+checkUnnamed2566(core.List<api.UrlMapListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapListWarningData(o[0]);
checkUrlMapListWarningData(o[1]);
@@ -13882,7 +13882,7 @@
buildCounterUrlMapListWarning++;
if (buildCounterUrlMapListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2560();
+ o.data = buildUnnamed2566();
o.message = "foo";
}
buildCounterUrlMapListWarning--;
@@ -13893,7 +13893,7 @@
buildCounterUrlMapListWarning++;
if (buildCounterUrlMapListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2560(o.data);
+ checkUnnamed2566(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUrlMapListWarning--;
@@ -13905,7 +13905,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
o.id = "foo";
- o.items = buildUnnamed2559();
+ o.items = buildUnnamed2565();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13919,7 +13919,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2559(o.items);
+ checkUnnamed2565(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13972,27 +13972,27 @@
buildCounterUrlMapTest--;
}
-buildUnnamed2561() {
+buildUnnamed2567() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2561(core.List<core.String> o) {
+checkUnnamed2567(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'));
}
-buildUnnamed2562() {
+buildUnnamed2568() {
var o = new core.List<api.TestFailure>();
o.add(buildTestFailure());
o.add(buildTestFailure());
return o;
}
-checkUnnamed2562(core.List<api.TestFailure> o) {
+checkUnnamed2568(core.List<api.TestFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestFailure(o[0]);
checkTestFailure(o[1]);
@@ -14003,9 +14003,9 @@
var o = new api.UrlMapValidationResult();
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- o.loadErrors = buildUnnamed2561();
+ o.loadErrors = buildUnnamed2567();
o.loadSucceeded = true;
- o.testFailures = buildUnnamed2562();
+ o.testFailures = buildUnnamed2568();
o.testPassed = true;
}
buildCounterUrlMapValidationResult--;
@@ -14015,9 +14015,9 @@
checkUrlMapValidationResult(api.UrlMapValidationResult o) {
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- checkUnnamed2561(o.loadErrors);
+ checkUnnamed2567(o.loadErrors);
unittest.expect(o.loadSucceeded, unittest.isTrue);
- checkUnnamed2562(o.testFailures);
+ checkUnnamed2568(o.testFailures);
unittest.expect(o.testPassed, unittest.isTrue);
}
buildCounterUrlMapValidationResult--;
@@ -14082,27 +14082,27 @@
buildCounterUsageExportLocation--;
}
-buildUnnamed2563() {
+buildUnnamed2569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2563(core.List<core.String> o) {
+checkUnnamed2569(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'));
}
-buildUnnamed2564() {
+buildUnnamed2570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2564(core.List<core.String> o) {
+checkUnnamed2570(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'));
@@ -14119,11 +14119,11 @@
o.id = "foo";
o.ikeVersion = 42;
o.kind = "foo";
- o.localTrafficSelector = buildUnnamed2563();
+ o.localTrafficSelector = buildUnnamed2569();
o.name = "foo";
o.peerIp = "foo";
o.region = "foo";
- o.remoteTrafficSelector = buildUnnamed2564();
+ o.remoteTrafficSelector = buildUnnamed2570();
o.router = "foo";
o.selfLink = "foo";
o.sharedSecret = "foo";
@@ -14144,11 +14144,11 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.ikeVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2563(o.localTrafficSelector);
+ checkUnnamed2569(o.localTrafficSelector);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peerIp, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2564(o.remoteTrafficSelector);
+ checkUnnamed2570(o.remoteTrafficSelector);
unittest.expect(o.router, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sharedSecret, unittest.equals('foo'));
@@ -14159,14 +14159,14 @@
buildCounterVpnTunnel--;
}
-buildUnnamed2565() {
+buildUnnamed2571() {
var o = new core.Map<core.String, api.VpnTunnelsScopedList>();
o["x"] = buildVpnTunnelsScopedList();
o["y"] = buildVpnTunnelsScopedList();
return o;
}
-checkUnnamed2565(core.Map<core.String, api.VpnTunnelsScopedList> o) {
+checkUnnamed2571(core.Map<core.String, api.VpnTunnelsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedList(o["x"]);
checkVpnTunnelsScopedList(o["y"]);
@@ -14194,14 +14194,14 @@
buildCounterVpnTunnelAggregatedListWarningData--;
}
-buildUnnamed2566() {
+buildUnnamed2572() {
var o = new core.List<api.VpnTunnelAggregatedListWarningData>();
o.add(buildVpnTunnelAggregatedListWarningData());
o.add(buildVpnTunnelAggregatedListWarningData());
return o;
}
-checkUnnamed2566(core.List<api.VpnTunnelAggregatedListWarningData> o) {
+checkUnnamed2572(core.List<api.VpnTunnelAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelAggregatedListWarningData(o[0]);
checkVpnTunnelAggregatedListWarningData(o[1]);
@@ -14213,7 +14213,7 @@
buildCounterVpnTunnelAggregatedListWarning++;
if (buildCounterVpnTunnelAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2566();
+ o.data = buildUnnamed2572();
o.message = "foo";
}
buildCounterVpnTunnelAggregatedListWarning--;
@@ -14224,7 +14224,7 @@
buildCounterVpnTunnelAggregatedListWarning++;
if (buildCounterVpnTunnelAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2566(o.data);
+ checkUnnamed2572(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelAggregatedListWarning--;
@@ -14236,7 +14236,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2565();
+ o.items = buildUnnamed2571();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14250,7 +14250,7 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2565(o.items);
+ checkUnnamed2571(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14259,14 +14259,14 @@
buildCounterVpnTunnelAggregatedList--;
}
-buildUnnamed2567() {
+buildUnnamed2573() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2567(core.List<api.VpnTunnel> o) {
+checkUnnamed2573(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -14293,14 +14293,14 @@
buildCounterVpnTunnelListWarningData--;
}
-buildUnnamed2568() {
+buildUnnamed2574() {
var o = new core.List<api.VpnTunnelListWarningData>();
o.add(buildVpnTunnelListWarningData());
o.add(buildVpnTunnelListWarningData());
return o;
}
-checkUnnamed2568(core.List<api.VpnTunnelListWarningData> o) {
+checkUnnamed2574(core.List<api.VpnTunnelListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelListWarningData(o[0]);
checkVpnTunnelListWarningData(o[1]);
@@ -14312,7 +14312,7 @@
buildCounterVpnTunnelListWarning++;
if (buildCounterVpnTunnelListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2568();
+ o.data = buildUnnamed2574();
o.message = "foo";
}
buildCounterVpnTunnelListWarning--;
@@ -14323,7 +14323,7 @@
buildCounterVpnTunnelListWarning++;
if (buildCounterVpnTunnelListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2568(o.data);
+ checkUnnamed2574(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelListWarning--;
@@ -14335,7 +14335,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
o.id = "foo";
- o.items = buildUnnamed2567();
+ o.items = buildUnnamed2573();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14349,7 +14349,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2567(o.items);
+ checkUnnamed2573(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14358,14 +14358,14 @@
buildCounterVpnTunnelList--;
}
-buildUnnamed2569() {
+buildUnnamed2575() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2569(core.List<api.VpnTunnel> o) {
+checkUnnamed2575(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -14392,14 +14392,14 @@
buildCounterVpnTunnelsScopedListWarningData--;
}
-buildUnnamed2570() {
+buildUnnamed2576() {
var o = new core.List<api.VpnTunnelsScopedListWarningData>();
o.add(buildVpnTunnelsScopedListWarningData());
o.add(buildVpnTunnelsScopedListWarningData());
return o;
}
-checkUnnamed2570(core.List<api.VpnTunnelsScopedListWarningData> o) {
+checkUnnamed2576(core.List<api.VpnTunnelsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedListWarningData(o[0]);
checkVpnTunnelsScopedListWarningData(o[1]);
@@ -14411,7 +14411,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2570();
+ o.data = buildUnnamed2576();
o.message = "foo";
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -14422,7 +14422,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2570(o.data);
+ checkUnnamed2576(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -14433,7 +14433,7 @@
var o = new api.VpnTunnelsScopedList();
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- o.vpnTunnels = buildUnnamed2569();
+ o.vpnTunnels = buildUnnamed2575();
o.warning = buildVpnTunnelsScopedListWarning();
}
buildCounterVpnTunnelsScopedList--;
@@ -14443,20 +14443,20 @@
checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) {
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- checkUnnamed2569(o.vpnTunnels);
+ checkUnnamed2575(o.vpnTunnels);
checkVpnTunnelsScopedListWarning(o.warning);
}
buildCounterVpnTunnelsScopedList--;
}
-buildUnnamed2571() {
+buildUnnamed2577() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2571(core.List<api.Project> o) {
+checkUnnamed2577(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -14483,14 +14483,14 @@
buildCounterXpnHostListWarningData--;
}
-buildUnnamed2572() {
+buildUnnamed2578() {
var o = new core.List<api.XpnHostListWarningData>();
o.add(buildXpnHostListWarningData());
o.add(buildXpnHostListWarningData());
return o;
}
-checkUnnamed2572(core.List<api.XpnHostListWarningData> o) {
+checkUnnamed2578(core.List<api.XpnHostListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkXpnHostListWarningData(o[0]);
checkXpnHostListWarningData(o[1]);
@@ -14502,7 +14502,7 @@
buildCounterXpnHostListWarning++;
if (buildCounterXpnHostListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2572();
+ o.data = buildUnnamed2578();
o.message = "foo";
}
buildCounterXpnHostListWarning--;
@@ -14513,7 +14513,7 @@
buildCounterXpnHostListWarning++;
if (buildCounterXpnHostListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2572(o.data);
+ checkUnnamed2578(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterXpnHostListWarning--;
@@ -14525,7 +14525,7 @@
buildCounterXpnHostList++;
if (buildCounterXpnHostList < 3) {
o.id = "foo";
- o.items = buildUnnamed2571();
+ o.items = buildUnnamed2577();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14539,7 +14539,7 @@
buildCounterXpnHostList++;
if (buildCounterXpnHostList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2571(o.items);
+ checkUnnamed2577(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14569,14 +14569,14 @@
buildCounterXpnResourceId--;
}
-buildUnnamed2573() {
+buildUnnamed2579() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2573(core.List<core.String> o) {
+checkUnnamed2579(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'));
@@ -14587,7 +14587,7 @@
var o = new api.Zone();
buildCounterZone++;
if (buildCounterZone < 3) {
- o.availableCpuPlatforms = buildUnnamed2573();
+ o.availableCpuPlatforms = buildUnnamed2579();
o.creationTimestamp = "foo";
o.deprecated = buildDeprecationStatus();
o.description = "foo";
@@ -14605,7 +14605,7 @@
checkZone(api.Zone o) {
buildCounterZone++;
if (buildCounterZone < 3) {
- checkUnnamed2573(o.availableCpuPlatforms);
+ checkUnnamed2579(o.availableCpuPlatforms);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
checkDeprecationStatus(o.deprecated);
unittest.expect(o.description, unittest.equals('foo'));
@@ -14619,14 +14619,14 @@
buildCounterZone--;
}
-buildUnnamed2574() {
+buildUnnamed2580() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed2574(core.List<api.Zone> o) {
+checkUnnamed2580(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -14653,14 +14653,14 @@
buildCounterZoneListWarningData--;
}
-buildUnnamed2575() {
+buildUnnamed2581() {
var o = new core.List<api.ZoneListWarningData>();
o.add(buildZoneListWarningData());
o.add(buildZoneListWarningData());
return o;
}
-checkUnnamed2575(core.List<api.ZoneListWarningData> o) {
+checkUnnamed2581(core.List<api.ZoneListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkZoneListWarningData(o[0]);
checkZoneListWarningData(o[1]);
@@ -14672,7 +14672,7 @@
buildCounterZoneListWarning++;
if (buildCounterZoneListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2575();
+ o.data = buildUnnamed2581();
o.message = "foo";
}
buildCounterZoneListWarning--;
@@ -14683,7 +14683,7 @@
buildCounterZoneListWarning++;
if (buildCounterZoneListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2575(o.data);
+ checkUnnamed2581(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterZoneListWarning--;
@@ -14695,7 +14695,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
o.id = "foo";
- o.items = buildUnnamed2574();
+ o.items = buildUnnamed2580();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14709,7 +14709,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2574(o.items);
+ checkUnnamed2580(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14718,14 +14718,14 @@
buildCounterZoneList--;
}
-buildUnnamed2576() {
+buildUnnamed2582() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2576(core.Map<core.String, core.String> o) {
+checkUnnamed2582(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -14737,7 +14737,7 @@
buildCounterZoneSetLabelsRequest++;
if (buildCounterZoneSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2576();
+ o.labels = buildUnnamed2582();
}
buildCounterZoneSetLabelsRequest--;
return o;
@@ -14747,7 +14747,7 @@
buildCounterZoneSetLabelsRequest++;
if (buildCounterZoneSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2576(o.labels);
+ checkUnnamed2582(o.labels);
}
buildCounterZoneSetLabelsRequest--;
}
diff --git a/generated/googleapis/test/consumersurveys/v2_test.dart b/generated/googleapis/test/consumersurveys/v2_test.dart
index 6505a10..9dfee64 100644
--- a/generated/googleapis/test/consumersurveys/v2_test.dart
+++ b/generated/googleapis/test/consumersurveys/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed51() {
+buildUnnamed55() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed51(core.List<api.FieldMask> o) {
+checkUnnamed55(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -68,7 +68,7 @@
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed51();
+ o.fields = buildUnnamed55();
o.id = 42;
}
buildCounterFieldMask--;
@@ -78,20 +78,20 @@
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed51(o.fields);
+ checkUnnamed55(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed52() {
+buildUnnamed56() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed52(core.List<core.String> o) {
+checkUnnamed56(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'));
@@ -107,7 +107,7 @@
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed52();
+ o.owners = buildUnnamed56();
}
buildCounterMobileAppPanel--;
return o;
@@ -121,19 +121,19 @@
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed52(o.owners);
+ checkUnnamed56(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed53() {
+buildUnnamed57() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed53(core.List<api.MobileAppPanel> o) {
+checkUnnamed57(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -146,7 +146,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed53();
+ o.resources = buildUnnamed57();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -158,7 +158,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed53(o.resources);
+ checkUnnamed57(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -206,14 +206,14 @@
buildCounterResultsGetRequest--;
}
-buildUnnamed54() {
+buildUnnamed58() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed54(core.List<api.FieldMask> o) {
+checkUnnamed58(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -224,7 +224,7 @@
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed54();
+ o.fields = buildUnnamed58();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -234,33 +234,33 @@
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed54(o.fields);
+ checkUnnamed58(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed55() {
+buildUnnamed59() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed55(core.List<core.String> o) {
+checkUnnamed59(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'));
}
-buildUnnamed56() {
+buildUnnamed60() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed56(core.List<api.SurveyQuestion> o) {
+checkUnnamed60(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -275,8 +275,8 @@
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed55();
- o.questions = buildUnnamed56();
+ o.owners = buildUnnamed59();
+ o.questions = buildUnnamed60();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -294,8 +294,8 @@
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed55(o.owners);
- checkUnnamed56(o.questions);
+ checkUnnamed59(o.owners);
+ checkUnnamed60(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -305,27 +305,27 @@
buildCounterSurvey--;
}
-buildUnnamed57() {
+buildUnnamed61() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed57(core.List<core.String> o) {
+checkUnnamed61(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'));
}
-buildUnnamed58() {
+buildUnnamed62() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed58(core.List<core.String> o) {
+checkUnnamed62(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'));
@@ -336,11 +336,11 @@
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed57();
+ o.ages = buildUnnamed61();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed58();
+ o.languages = buildUnnamed62();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -351,11 +351,11 @@
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed57(o.ages);
+ checkUnnamed61(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed58(o.languages);
+ checkUnnamed62(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -387,53 +387,53 @@
buildCounterSurveyCost--;
}
-buildUnnamed59() {
+buildUnnamed63() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed59(core.List<core.String> o) {
+checkUnnamed63(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'));
}
-buildUnnamed60() {
+buildUnnamed64() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed60(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed64(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed61() {
+buildUnnamed65() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed61(core.List<core.String> o) {
+checkUnnamed65(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'));
}
-buildUnnamed62() {
+buildUnnamed66() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed62(core.List<core.String> o) {
+checkUnnamed66(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'));
@@ -445,20 +445,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed59();
+ o.answers = buildUnnamed63();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed60();
+ o.images = buildUnnamed64();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed61();
+ o.openTextSuggestions = buildUnnamed65();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed62();
+ o.thresholdAnswers = buildUnnamed66();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -471,20 +471,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed59(o.answers);
+ checkUnnamed63(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed60(o.images);
+ checkUnnamed64(o.images);
unittest.expect(o.lastAnswerPositionPinned, unittest.isTrue);
unittest.expect(o.lowValueLabel, unittest.equals('foo'));
unittest.expect(o.mustPickSuggestion, unittest.isTrue);
unittest.expect(o.numStars, unittest.equals('foo'));
unittest.expect(o.openTextPlaceholder, unittest.equals('foo'));
- checkUnnamed61(o.openTextSuggestions);
+ checkUnnamed65(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed62(o.thresholdAnswers);
+ checkUnnamed66(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -576,14 +576,14 @@
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed63() {
+buildUnnamed67() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed63(core.List<api.Survey> o) {
+checkUnnamed67(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -596,7 +596,7 @@
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed63();
+ o.resources = buildUnnamed67();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -608,7 +608,7 @@
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed63(o.resources);
+ checkUnnamed67(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart
index a7ac0c6..12a2977 100644
--- a/generated/googleapis/test/container/v1_test.dart
+++ b/generated/googleapis/test/container/v1_test.dart
@@ -172,53 +172,53 @@
buildCounterClientCertificateConfig--;
}
-buildUnnamed1915() {
+buildUnnamed1921() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1915(core.List<core.String> o) {
+checkUnnamed1921(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'));
}
-buildUnnamed1916() {
+buildUnnamed1922() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1916(core.List<core.String> o) {
+checkUnnamed1922(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'));
}
-buildUnnamed1917() {
+buildUnnamed1923() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1917(core.List<api.NodePool> o) {
+checkUnnamed1923(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
}
-buildUnnamed1918() {
+buildUnnamed1924() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1918(core.Map<core.String, core.String> o) {
+checkUnnamed1924(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -241,11 +241,11 @@
o.expireTime = "foo";
o.initialClusterVersion = "foo";
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1915();
+ o.instanceGroupUrls = buildUnnamed1921();
o.ipAllocationPolicy = buildIPAllocationPolicy();
o.labelFingerprint = "foo";
o.legacyAbac = buildLegacyAbac();
- o.locations = buildUnnamed1916();
+ o.locations = buildUnnamed1922();
o.loggingService = "foo";
o.maintenancePolicy = buildMaintenancePolicy();
o.masterAuth = buildMasterAuth();
@@ -256,8 +256,8 @@
o.networkPolicy = buildNetworkPolicy();
o.nodeConfig = buildNodeConfig();
o.nodeIpv4CidrSize = 42;
- o.nodePools = buildUnnamed1917();
- o.resourceLabels = buildUnnamed1918();
+ o.nodePools = buildUnnamed1923();
+ o.resourceLabels = buildUnnamed1924();
o.selfLink = "foo";
o.servicesIpv4Cidr = "foo";
o.status = "foo";
@@ -284,11 +284,11 @@
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.initialClusterVersion, unittest.equals('foo'));
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1915(o.instanceGroupUrls);
+ checkUnnamed1921(o.instanceGroupUrls);
checkIPAllocationPolicy(o.ipAllocationPolicy);
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
checkLegacyAbac(o.legacyAbac);
- checkUnnamed1916(o.locations);
+ checkUnnamed1922(o.locations);
unittest.expect(o.loggingService, unittest.equals('foo'));
checkMaintenancePolicy(o.maintenancePolicy);
checkMasterAuth(o.masterAuth);
@@ -299,8 +299,8 @@
checkNetworkPolicy(o.networkPolicy);
checkNodeConfig(o.nodeConfig);
unittest.expect(o.nodeIpv4CidrSize, unittest.equals(42));
- checkUnnamed1917(o.nodePools);
- checkUnnamed1918(o.resourceLabels);
+ checkUnnamed1923(o.nodePools);
+ checkUnnamed1924(o.resourceLabels);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.servicesIpv4Cidr, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -311,14 +311,14 @@
buildCounterCluster--;
}
-buildUnnamed1919() {
+buildUnnamed1925() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1919(core.List<core.String> o) {
+checkUnnamed1925(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'));
@@ -331,7 +331,7 @@
if (buildCounterClusterUpdate < 3) {
o.desiredAddonsConfig = buildAddonsConfig();
o.desiredImageType = "foo";
- o.desiredLocations = buildUnnamed1919();
+ o.desiredLocations = buildUnnamed1925();
o.desiredMasterAuthorizedNetworksConfig =
buildMasterAuthorizedNetworksConfig();
o.desiredMasterVersion = "foo";
@@ -349,7 +349,7 @@
if (buildCounterClusterUpdate < 3) {
checkAddonsConfig(o.desiredAddonsConfig);
unittest.expect(o.desiredImageType, unittest.equals('foo'));
- checkUnnamed1919(o.desiredLocations);
+ checkUnnamed1925(o.desiredLocations);
checkMasterAuthorizedNetworksConfig(
o.desiredMasterAuthorizedNetworksConfig);
unittest.expect(o.desiredMasterVersion, unittest.equals('foo'));
@@ -565,27 +565,27 @@
buildCounterLegacyAbac--;
}
-buildUnnamed1920() {
+buildUnnamed1926() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed1920(core.List<api.Cluster> o) {
+checkUnnamed1926(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
}
-buildUnnamed1921() {
+buildUnnamed1927() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1921(core.List<core.String> o) {
+checkUnnamed1927(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'));
@@ -596,8 +596,8 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed1920();
- o.missingZones = buildUnnamed1921();
+ o.clusters = buildUnnamed1926();
+ o.missingZones = buildUnnamed1927();
}
buildCounterListClustersResponse--;
return o;
@@ -606,20 +606,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed1920(o.clusters);
- checkUnnamed1921(o.missingZones);
+ checkUnnamed1926(o.clusters);
+ checkUnnamed1927(o.missingZones);
}
buildCounterListClustersResponse--;
}
-buildUnnamed1922() {
+buildUnnamed1928() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed1922(core.List<api.NodePool> o) {
+checkUnnamed1928(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
@@ -630,7 +630,7 @@
var o = new api.ListNodePoolsResponse();
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- o.nodePools = buildUnnamed1922();
+ o.nodePools = buildUnnamed1928();
}
buildCounterListNodePoolsResponse--;
return o;
@@ -639,32 +639,32 @@
checkListNodePoolsResponse(api.ListNodePoolsResponse o) {
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- checkUnnamed1922(o.nodePools);
+ checkUnnamed1928(o.nodePools);
}
buildCounterListNodePoolsResponse--;
}
-buildUnnamed1923() {
+buildUnnamed1929() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1923(core.List<core.String> o) {
+checkUnnamed1929(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'));
}
-buildUnnamed1924() {
+buildUnnamed1930() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1924(core.List<api.Operation> o) {
+checkUnnamed1930(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -675,8 +675,8 @@
var o = new api.ListOperationsResponse();
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- o.missingZones = buildUnnamed1923();
- o.operations = buildUnnamed1924();
+ o.missingZones = buildUnnamed1929();
+ o.operations = buildUnnamed1930();
}
buildCounterListOperationsResponse--;
return o;
@@ -685,8 +685,8 @@
checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- checkUnnamed1923(o.missingZones);
- checkUnnamed1924(o.operations);
+ checkUnnamed1929(o.missingZones);
+ checkUnnamed1930(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -758,14 +758,14 @@
buildCounterMasterAuth--;
}
-buildUnnamed1925() {
+buildUnnamed1931() {
var o = new core.List<api.CidrBlock>();
o.add(buildCidrBlock());
o.add(buildCidrBlock());
return o;
}
-checkUnnamed1925(core.List<api.CidrBlock> o) {
+checkUnnamed1931(core.List<api.CidrBlock> o) {
unittest.expect(o, unittest.hasLength(2));
checkCidrBlock(o[0]);
checkCidrBlock(o[1]);
@@ -776,7 +776,7 @@
var o = new api.MasterAuthorizedNetworksConfig();
buildCounterMasterAuthorizedNetworksConfig++;
if (buildCounterMasterAuthorizedNetworksConfig < 3) {
- o.cidrBlocks = buildUnnamed1925();
+ o.cidrBlocks = buildUnnamed1931();
o.enabled = true;
}
buildCounterMasterAuthorizedNetworksConfig--;
@@ -786,7 +786,7 @@
checkMasterAuthorizedNetworksConfig(api.MasterAuthorizedNetworksConfig o) {
buildCounterMasterAuthorizedNetworksConfig++;
if (buildCounterMasterAuthorizedNetworksConfig < 3) {
- checkUnnamed1925(o.cidrBlocks);
+ checkUnnamed1931(o.cidrBlocks);
unittest.expect(o.enabled, unittest.isTrue);
}
buildCounterMasterAuthorizedNetworksConfig--;
@@ -832,66 +832,66 @@
buildCounterNetworkPolicyConfig--;
}
-buildUnnamed1926() {
+buildUnnamed1932() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed1926(core.List<api.AcceleratorConfig> o) {
+checkUnnamed1932(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed1927() {
+buildUnnamed1933() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1927(core.Map<core.String, core.String> o) {
+checkUnnamed1933(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1928() {
+buildUnnamed1934() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1928(core.Map<core.String, core.String> o) {
+checkUnnamed1934(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1929() {
+buildUnnamed1935() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1929(core.List<core.String> o) {
+checkUnnamed1935(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'));
}
-buildUnnamed1930() {
+buildUnnamed1936() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1930(core.List<core.String> o) {
+checkUnnamed1936(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'));
@@ -902,18 +902,18 @@
var o = new api.NodeConfig();
buildCounterNodeConfig++;
if (buildCounterNodeConfig < 3) {
- o.accelerators = buildUnnamed1926();
+ o.accelerators = buildUnnamed1932();
o.diskSizeGb = 42;
o.imageType = "foo";
- o.labels = buildUnnamed1927();
+ o.labels = buildUnnamed1933();
o.localSsdCount = 42;
o.machineType = "foo";
- o.metadata = buildUnnamed1928();
+ o.metadata = buildUnnamed1934();
o.minCpuPlatform = "foo";
- o.oauthScopes = buildUnnamed1929();
+ o.oauthScopes = buildUnnamed1935();
o.preemptible = true;
o.serviceAccount = "foo";
- o.tags = buildUnnamed1930();
+ o.tags = buildUnnamed1936();
}
buildCounterNodeConfig--;
return o;
@@ -922,18 +922,18 @@
checkNodeConfig(api.NodeConfig o) {
buildCounterNodeConfig++;
if (buildCounterNodeConfig < 3) {
- checkUnnamed1926(o.accelerators);
+ checkUnnamed1932(o.accelerators);
unittest.expect(o.diskSizeGb, unittest.equals(42));
unittest.expect(o.imageType, unittest.equals('foo'));
- checkUnnamed1927(o.labels);
+ checkUnnamed1933(o.labels);
unittest.expect(o.localSsdCount, unittest.equals(42));
unittest.expect(o.machineType, unittest.equals('foo'));
- checkUnnamed1928(o.metadata);
+ checkUnnamed1934(o.metadata);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
- checkUnnamed1929(o.oauthScopes);
+ checkUnnamed1935(o.oauthScopes);
unittest.expect(o.preemptible, unittest.isTrue);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed1930(o.tags);
+ checkUnnamed1936(o.tags);
}
buildCounterNodeConfig--;
}
@@ -961,14 +961,14 @@
buildCounterNodeManagement--;
}
-buildUnnamed1931() {
+buildUnnamed1937() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1931(core.List<core.String> o) {
+checkUnnamed1937(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'));
@@ -982,7 +982,7 @@
o.autoscaling = buildNodePoolAutoscaling();
o.config = buildNodeConfig();
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed1931();
+ o.instanceGroupUrls = buildUnnamed1937();
o.management = buildNodeManagement();
o.name = "foo";
o.selfLink = "foo";
@@ -1000,7 +1000,7 @@
checkNodePoolAutoscaling(o.autoscaling);
checkNodeConfig(o.config);
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed1931(o.instanceGroupUrls);
+ checkUnnamed1937(o.instanceGroupUrls);
checkNodeManagement(o.management);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1086,40 +1086,40 @@
buildCounterRollbackNodePoolUpgradeRequest--;
}
-buildUnnamed1932() {
+buildUnnamed1938() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1932(core.List<core.String> o) {
+checkUnnamed1938(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'));
}
-buildUnnamed1933() {
+buildUnnamed1939() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1933(core.List<core.String> o) {
+checkUnnamed1939(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'));
}
-buildUnnamed1934() {
+buildUnnamed1940() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1934(core.List<core.String> o) {
+checkUnnamed1940(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'));
@@ -1132,9 +1132,9 @@
if (buildCounterServerConfig < 3) {
o.defaultClusterVersion = "foo";
o.defaultImageType = "foo";
- o.validImageTypes = buildUnnamed1932();
- o.validMasterVersions = buildUnnamed1933();
- o.validNodeVersions = buildUnnamed1934();
+ o.validImageTypes = buildUnnamed1938();
+ o.validMasterVersions = buildUnnamed1939();
+ o.validNodeVersions = buildUnnamed1940();
}
buildCounterServerConfig--;
return o;
@@ -1145,9 +1145,9 @@
if (buildCounterServerConfig < 3) {
unittest.expect(o.defaultClusterVersion, unittest.equals('foo'));
unittest.expect(o.defaultImageType, unittest.equals('foo'));
- checkUnnamed1932(o.validImageTypes);
- checkUnnamed1933(o.validMasterVersions);
- checkUnnamed1934(o.validNodeVersions);
+ checkUnnamed1938(o.validImageTypes);
+ checkUnnamed1939(o.validMasterVersions);
+ checkUnnamed1940(o.validNodeVersions);
}
buildCounterServerConfig--;
}
@@ -1171,14 +1171,14 @@
buildCounterSetAddonsConfigRequest--;
}
-buildUnnamed1935() {
+buildUnnamed1941() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1935(core.Map<core.String, core.String> o) {
+checkUnnamed1941(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1190,7 +1190,7 @@
buildCounterSetLabelsRequest++;
if (buildCounterSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.resourceLabels = buildUnnamed1935();
+ o.resourceLabels = buildUnnamed1941();
}
buildCounterSetLabelsRequest--;
return o;
@@ -1200,7 +1200,7 @@
buildCounterSetLabelsRequest++;
if (buildCounterSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1935(o.resourceLabels);
+ checkUnnamed1941(o.resourceLabels);
}
buildCounterSetLabelsRequest--;
}
@@ -1224,14 +1224,14 @@
buildCounterSetLegacyAbacRequest--;
}
-buildUnnamed1936() {
+buildUnnamed1942() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1936(core.List<core.String> o) {
+checkUnnamed1942(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'));
@@ -1242,7 +1242,7 @@
var o = new api.SetLocationsRequest();
buildCounterSetLocationsRequest++;
if (buildCounterSetLocationsRequest < 3) {
- o.locations = buildUnnamed1936();
+ o.locations = buildUnnamed1942();
}
buildCounterSetLocationsRequest--;
return o;
@@ -1251,7 +1251,7 @@
checkSetLocationsRequest(api.SetLocationsRequest o) {
buildCounterSetLocationsRequest++;
if (buildCounterSetLocationsRequest < 3) {
- checkUnnamed1936(o.locations);
+ checkUnnamed1942(o.locations);
}
buildCounterSetLocationsRequest--;
}
diff --git a/generated/googleapis/test/content/v2_test.dart b/generated/googleapis/test/content/v2_test.dart
index 0024e48..820a26b 100644
--- a/generated/googleapis/test/content/v2_test.dart
+++ b/generated/googleapis/test/content/v2_test.dart
@@ -50,40 +50,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed333() {
+buildUnnamed337() {
var o = new core.List<api.AccountAdwordsLink>();
o.add(buildAccountAdwordsLink());
o.add(buildAccountAdwordsLink());
return o;
}
-checkUnnamed333(core.List<api.AccountAdwordsLink> o) {
+checkUnnamed337(core.List<api.AccountAdwordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountAdwordsLink(o[0]);
checkAccountAdwordsLink(o[1]);
}
-buildUnnamed334() {
+buildUnnamed338() {
var o = new core.List<api.AccountUser>();
o.add(buildAccountUser());
o.add(buildAccountUser());
return o;
}
-checkUnnamed334(core.List<api.AccountUser> o) {
+checkUnnamed338(core.List<api.AccountUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUser(o[0]);
checkAccountUser(o[1]);
}
-buildUnnamed335() {
+buildUnnamed339() {
var o = new core.List<api.AccountYouTubeChannelLink>();
o.add(buildAccountYouTubeChannelLink());
o.add(buildAccountYouTubeChannelLink());
return o;
}
-checkUnnamed335(core.List<api.AccountYouTubeChannelLink> o) {
+checkUnnamed339(core.List<api.AccountYouTubeChannelLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountYouTubeChannelLink(o[0]);
checkAccountYouTubeChannelLink(o[1]);
@@ -95,15 +95,15 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
o.adultContent = true;
- o.adwordsLinks = buildUnnamed333();
+ o.adwordsLinks = buildUnnamed337();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
o.reviewsUrl = "foo";
o.sellerId = "foo";
- o.users = buildUnnamed334();
+ o.users = buildUnnamed338();
o.websiteUrl = "foo";
- o.youtubeChannelLinks = buildUnnamed335();
+ o.youtubeChannelLinks = buildUnnamed339();
}
buildCounterAccount--;
return o;
@@ -113,15 +113,15 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
unittest.expect(o.adultContent, unittest.isTrue);
- checkUnnamed333(o.adwordsLinks);
+ checkUnnamed337(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'));
- checkUnnamed334(o.users);
+ checkUnnamed338(o.users);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
- checkUnnamed335(o.youtubeChannelLinks);
+ checkUnnamed339(o.youtubeChannelLinks);
}
buildCounterAccount--;
}
@@ -168,27 +168,27 @@
buildCounterAccountIdentifier--;
}
-buildUnnamed336() {
+buildUnnamed340() {
var o = new core.List<api.AccountStatusAccountLevelIssue>();
o.add(buildAccountStatusAccountLevelIssue());
o.add(buildAccountStatusAccountLevelIssue());
return o;
}
-checkUnnamed336(core.List<api.AccountStatusAccountLevelIssue> o) {
+checkUnnamed340(core.List<api.AccountStatusAccountLevelIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusAccountLevelIssue(o[0]);
checkAccountStatusAccountLevelIssue(o[1]);
}
-buildUnnamed337() {
+buildUnnamed341() {
var o = new core.List<api.AccountStatusDataQualityIssue>();
o.add(buildAccountStatusDataQualityIssue());
o.add(buildAccountStatusDataQualityIssue());
return o;
}
-checkUnnamed337(core.List<api.AccountStatusDataQualityIssue> o) {
+checkUnnamed341(core.List<api.AccountStatusDataQualityIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusDataQualityIssue(o[0]);
checkAccountStatusDataQualityIssue(o[1]);
@@ -200,8 +200,8 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
o.accountId = "foo";
- o.accountLevelIssues = buildUnnamed336();
- o.dataQualityIssues = buildUnnamed337();
+ o.accountLevelIssues = buildUnnamed340();
+ o.dataQualityIssues = buildUnnamed341();
o.kind = "foo";
o.websiteClaimed = true;
}
@@ -213,8 +213,8 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed336(o.accountLevelIssues);
- checkUnnamed337(o.dataQualityIssues);
+ checkUnnamed340(o.accountLevelIssues);
+ checkUnnamed341(o.dataQualityIssues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.websiteClaimed, unittest.isTrue);
}
@@ -248,14 +248,14 @@
buildCounterAccountStatusAccountLevelIssue--;
}
-buildUnnamed338() {
+buildUnnamed342() {
var o = new core.List<api.AccountStatusExampleItem>();
o.add(buildAccountStatusExampleItem());
o.add(buildAccountStatusExampleItem());
return o;
}
-checkUnnamed338(core.List<api.AccountStatusExampleItem> o) {
+checkUnnamed342(core.List<api.AccountStatusExampleItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusExampleItem(o[0]);
checkAccountStatusExampleItem(o[1]);
@@ -269,7 +269,7 @@
o.country = "foo";
o.detail = "foo";
o.displayedValue = "foo";
- o.exampleItems = buildUnnamed338();
+ o.exampleItems = buildUnnamed342();
o.id = "foo";
o.lastChecked = "foo";
o.location = "foo";
@@ -287,7 +287,7 @@
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.detail, unittest.equals('foo'));
unittest.expect(o.displayedValue, unittest.equals('foo'));
- checkUnnamed338(o.exampleItems);
+ checkUnnamed342(o.exampleItems);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.lastChecked, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
@@ -325,14 +325,14 @@
buildCounterAccountStatusExampleItem--;
}
-buildUnnamed339() {
+buildUnnamed343() {
var o = new core.List<api.AccountTaxTaxRule>();
o.add(buildAccountTaxTaxRule());
o.add(buildAccountTaxTaxRule());
return o;
}
-checkUnnamed339(core.List<api.AccountTaxTaxRule> o) {
+checkUnnamed343(core.List<api.AccountTaxTaxRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountTaxTaxRule(o[0]);
checkAccountTaxTaxRule(o[1]);
@@ -345,7 +345,7 @@
if (buildCounterAccountTax < 3) {
o.accountId = "foo";
o.kind = "foo";
- o.rules = buildUnnamed339();
+ o.rules = buildUnnamed343();
}
buildCounterAccountTax--;
return o;
@@ -356,7 +356,7 @@
if (buildCounterAccountTax < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed339(o.rules);
+ checkUnnamed343(o.rules);
}
buildCounterAccountTax--;
}
@@ -430,14 +430,14 @@
buildCounterAccountYouTubeChannelLink--;
}
-buildUnnamed340() {
+buildUnnamed344() {
var o = new core.List<api.AccountIdentifier>();
o.add(buildAccountIdentifier());
o.add(buildAccountIdentifier());
return o;
}
-checkUnnamed340(core.List<api.AccountIdentifier> o) {
+checkUnnamed344(core.List<api.AccountIdentifier> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountIdentifier(o[0]);
checkAccountIdentifier(o[1]);
@@ -448,7 +448,7 @@
var o = new api.AccountsAuthInfoResponse();
buildCounterAccountsAuthInfoResponse++;
if (buildCounterAccountsAuthInfoResponse < 3) {
- o.accountIdentifiers = buildUnnamed340();
+ o.accountIdentifiers = buildUnnamed344();
o.kind = "foo";
}
buildCounterAccountsAuthInfoResponse--;
@@ -458,7 +458,7 @@
checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) {
buildCounterAccountsAuthInfoResponse++;
if (buildCounterAccountsAuthInfoResponse < 3) {
- checkUnnamed340(o.accountIdentifiers);
+ checkUnnamed344(o.accountIdentifiers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsAuthInfoResponse--;
@@ -483,14 +483,14 @@
buildCounterAccountsClaimWebsiteResponse--;
}
-buildUnnamed341() {
+buildUnnamed345() {
var o = new core.List<api.AccountsCustomBatchRequestEntry>();
o.add(buildAccountsCustomBatchRequestEntry());
o.add(buildAccountsCustomBatchRequestEntry());
return o;
}
-checkUnnamed341(core.List<api.AccountsCustomBatchRequestEntry> o) {
+checkUnnamed345(core.List<api.AccountsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountsCustomBatchRequestEntry(o[0]);
checkAccountsCustomBatchRequestEntry(o[1]);
@@ -501,7 +501,7 @@
var o = new api.AccountsCustomBatchRequest();
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- o.entries = buildUnnamed341();
+ o.entries = buildUnnamed345();
}
buildCounterAccountsCustomBatchRequest--;
return o;
@@ -510,7 +510,7 @@
checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) {
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- checkUnnamed341(o.entries);
+ checkUnnamed345(o.entries);
}
buildCounterAccountsCustomBatchRequest--;
}
@@ -546,14 +546,14 @@
buildCounterAccountsCustomBatchRequestEntry--;
}
-buildUnnamed342() {
+buildUnnamed346() {
var o = new core.List<api.AccountsCustomBatchResponseEntry>();
o.add(buildAccountsCustomBatchResponseEntry());
o.add(buildAccountsCustomBatchResponseEntry());
return o;
}
-checkUnnamed342(core.List<api.AccountsCustomBatchResponseEntry> o) {
+checkUnnamed346(core.List<api.AccountsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountsCustomBatchResponseEntry(o[0]);
checkAccountsCustomBatchResponseEntry(o[1]);
@@ -564,7 +564,7 @@
var o = new api.AccountsCustomBatchResponse();
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- o.entries = buildUnnamed342();
+ o.entries = buildUnnamed346();
o.kind = "foo";
}
buildCounterAccountsCustomBatchResponse--;
@@ -574,7 +574,7 @@
checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) {
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- checkUnnamed342(o.entries);
+ checkUnnamed346(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsCustomBatchResponse--;
@@ -605,14 +605,14 @@
buildCounterAccountsCustomBatchResponseEntry--;
}
-buildUnnamed343() {
+buildUnnamed347() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed343(core.List<api.Account> o) {
+checkUnnamed347(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -625,7 +625,7 @@
if (buildCounterAccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed343();
+ o.resources = buildUnnamed347();
}
buildCounterAccountsListResponse--;
return o;
@@ -636,19 +636,19 @@
if (buildCounterAccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed343(o.resources);
+ checkUnnamed347(o.resources);
}
buildCounterAccountsListResponse--;
}
-buildUnnamed344() {
+buildUnnamed348() {
var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>();
o.add(buildAccountstatusesCustomBatchRequestEntry());
o.add(buildAccountstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed344(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
+checkUnnamed348(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountstatusesCustomBatchRequestEntry(o[0]);
checkAccountstatusesCustomBatchRequestEntry(o[1]);
@@ -659,7 +659,7 @@
var o = new api.AccountstatusesCustomBatchRequest();
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed344();
+ o.entries = buildUnnamed348();
}
buildCounterAccountstatusesCustomBatchRequest--;
return o;
@@ -669,7 +669,7 @@
api.AccountstatusesCustomBatchRequest o) {
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- checkUnnamed344(o.entries);
+ checkUnnamed348(o.entries);
}
buildCounterAccountstatusesCustomBatchRequest--;
}
@@ -700,14 +700,14 @@
buildCounterAccountstatusesCustomBatchRequestEntry--;
}
-buildUnnamed345() {
+buildUnnamed349() {
var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>();
o.add(buildAccountstatusesCustomBatchResponseEntry());
o.add(buildAccountstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed345(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
+checkUnnamed349(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountstatusesCustomBatchResponseEntry(o[0]);
checkAccountstatusesCustomBatchResponseEntry(o[1]);
@@ -718,7 +718,7 @@
var o = new api.AccountstatusesCustomBatchResponse();
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed345();
+ o.entries = buildUnnamed349();
o.kind = "foo";
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -729,7 +729,7 @@
api.AccountstatusesCustomBatchResponse o) {
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- checkUnnamed345(o.entries);
+ checkUnnamed349(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -759,14 +759,14 @@
buildCounterAccountstatusesCustomBatchResponseEntry--;
}
-buildUnnamed346() {
+buildUnnamed350() {
var o = new core.List<api.AccountStatus>();
o.add(buildAccountStatus());
o.add(buildAccountStatus());
return o;
}
-checkUnnamed346(core.List<api.AccountStatus> o) {
+checkUnnamed350(core.List<api.AccountStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatus(o[0]);
checkAccountStatus(o[1]);
@@ -779,7 +779,7 @@
if (buildCounterAccountstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed346();
+ o.resources = buildUnnamed350();
}
buildCounterAccountstatusesListResponse--;
return o;
@@ -790,19 +790,19 @@
if (buildCounterAccountstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed346(o.resources);
+ checkUnnamed350(o.resources);
}
buildCounterAccountstatusesListResponse--;
}
-buildUnnamed347() {
+buildUnnamed351() {
var o = new core.List<api.AccounttaxCustomBatchRequestEntry>();
o.add(buildAccounttaxCustomBatchRequestEntry());
o.add(buildAccounttaxCustomBatchRequestEntry());
return o;
}
-checkUnnamed347(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
+checkUnnamed351(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccounttaxCustomBatchRequestEntry(o[0]);
checkAccounttaxCustomBatchRequestEntry(o[1]);
@@ -813,7 +813,7 @@
var o = new api.AccounttaxCustomBatchRequest();
buildCounterAccounttaxCustomBatchRequest++;
if (buildCounterAccounttaxCustomBatchRequest < 3) {
- o.entries = buildUnnamed347();
+ o.entries = buildUnnamed351();
}
buildCounterAccounttaxCustomBatchRequest--;
return o;
@@ -822,7 +822,7 @@
checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) {
buildCounterAccounttaxCustomBatchRequest++;
if (buildCounterAccounttaxCustomBatchRequest < 3) {
- checkUnnamed347(o.entries);
+ checkUnnamed351(o.entries);
}
buildCounterAccounttaxCustomBatchRequest--;
}
@@ -855,14 +855,14 @@
buildCounterAccounttaxCustomBatchRequestEntry--;
}
-buildUnnamed348() {
+buildUnnamed352() {
var o = new core.List<api.AccounttaxCustomBatchResponseEntry>();
o.add(buildAccounttaxCustomBatchResponseEntry());
o.add(buildAccounttaxCustomBatchResponseEntry());
return o;
}
-checkUnnamed348(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
+checkUnnamed352(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccounttaxCustomBatchResponseEntry(o[0]);
checkAccounttaxCustomBatchResponseEntry(o[1]);
@@ -873,7 +873,7 @@
var o = new api.AccounttaxCustomBatchResponse();
buildCounterAccounttaxCustomBatchResponse++;
if (buildCounterAccounttaxCustomBatchResponse < 3) {
- o.entries = buildUnnamed348();
+ o.entries = buildUnnamed352();
o.kind = "foo";
}
buildCounterAccounttaxCustomBatchResponse--;
@@ -883,7 +883,7 @@
checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) {
buildCounterAccounttaxCustomBatchResponse++;
if (buildCounterAccounttaxCustomBatchResponse < 3) {
- checkUnnamed348(o.entries);
+ checkUnnamed352(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounttaxCustomBatchResponse--;
@@ -915,14 +915,14 @@
buildCounterAccounttaxCustomBatchResponseEntry--;
}
-buildUnnamed349() {
+buildUnnamed353() {
var o = new core.List<api.AccountTax>();
o.add(buildAccountTax());
o.add(buildAccountTax());
return o;
}
-checkUnnamed349(core.List<api.AccountTax> o) {
+checkUnnamed353(core.List<api.AccountTax> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountTax(o[0]);
checkAccountTax(o[1]);
@@ -935,7 +935,7 @@
if (buildCounterAccounttaxListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed349();
+ o.resources = buildUnnamed353();
}
buildCounterAccounttaxListResponse--;
return o;
@@ -946,7 +946,7 @@
if (buildCounterAccounttaxListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed349(o.resources);
+ checkUnnamed353(o.resources);
}
buildCounterAccounttaxListResponse--;
}
@@ -980,14 +980,14 @@
buildCounterCarrierRate--;
}
-buildUnnamed350() {
+buildUnnamed354() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed350(core.List<core.String> o) {
+checkUnnamed354(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'));
@@ -1000,7 +1000,7 @@
if (buildCounterCarriersCarrier < 3) {
o.country = "foo";
o.name = "foo";
- o.services = buildUnnamed350();
+ o.services = buildUnnamed354();
}
buildCounterCarriersCarrier--;
return o;
@@ -1011,32 +1011,32 @@
if (buildCounterCarriersCarrier < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed350(o.services);
+ checkUnnamed354(o.services);
}
buildCounterCarriersCarrier--;
}
-buildUnnamed351() {
+buildUnnamed355() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed351(core.List<core.String> o) {
+checkUnnamed355(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'));
}
-buildUnnamed352() {
+buildUnnamed356() {
var o = new core.List<api.DatafeedTarget>();
o.add(buildDatafeedTarget());
o.add(buildDatafeedTarget());
return o;
}
-checkUnnamed352(core.List<api.DatafeedTarget> o) {
+checkUnnamed356(core.List<api.DatafeedTarget> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedTarget(o[0]);
checkDatafeedTarget(o[1]);
@@ -1054,11 +1054,11 @@
o.fileName = "foo";
o.format = buildDatafeedFormat();
o.id = "foo";
- o.intendedDestinations = buildUnnamed351();
+ o.intendedDestinations = buildUnnamed355();
o.kind = "foo";
o.name = "foo";
o.targetCountry = "foo";
- o.targets = buildUnnamed352();
+ o.targets = buildUnnamed356();
}
buildCounterDatafeed--;
return o;
@@ -1074,11 +1074,11 @@
unittest.expect(o.fileName, unittest.equals('foo'));
checkDatafeedFormat(o.format);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed351(o.intendedDestinations);
+ checkUnnamed355(o.intendedDestinations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
- checkUnnamed352(o.targets);
+ checkUnnamed356(o.targets);
}
buildCounterDatafeed--;
}
@@ -1141,27 +1141,27 @@
buildCounterDatafeedFormat--;
}
-buildUnnamed353() {
+buildUnnamed357() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
o.add(buildDatafeedStatusError());
return o;
}
-checkUnnamed353(core.List<api.DatafeedStatusError> o) {
+checkUnnamed357(core.List<api.DatafeedStatusError> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusError(o[0]);
checkDatafeedStatusError(o[1]);
}
-buildUnnamed354() {
+buildUnnamed358() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
o.add(buildDatafeedStatusError());
return o;
}
-checkUnnamed354(core.List<api.DatafeedStatusError> o) {
+checkUnnamed358(core.List<api.DatafeedStatusError> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusError(o[0]);
checkDatafeedStatusError(o[1]);
@@ -1174,14 +1174,14 @@
if (buildCounterDatafeedStatus < 3) {
o.country = "foo";
o.datafeedId = "foo";
- o.errors = buildUnnamed353();
+ o.errors = buildUnnamed357();
o.itemsTotal = "foo";
o.itemsValid = "foo";
o.kind = "foo";
o.language = "foo";
o.lastUploadDate = "foo";
o.processingStatus = "foo";
- o.warnings = buildUnnamed354();
+ o.warnings = buildUnnamed358();
}
buildCounterDatafeedStatus--;
return o;
@@ -1192,26 +1192,26 @@
if (buildCounterDatafeedStatus < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.datafeedId, unittest.equals('foo'));
- checkUnnamed353(o.errors);
+ checkUnnamed357(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.language, unittest.equals('foo'));
unittest.expect(o.lastUploadDate, unittest.equals('foo'));
unittest.expect(o.processingStatus, unittest.equals('foo'));
- checkUnnamed354(o.warnings);
+ checkUnnamed358(o.warnings);
}
buildCounterDatafeedStatus--;
}
-buildUnnamed355() {
+buildUnnamed359() {
var o = new core.List<api.DatafeedStatusExample>();
o.add(buildDatafeedStatusExample());
o.add(buildDatafeedStatusExample());
return o;
}
-checkUnnamed355(core.List<api.DatafeedStatusExample> o) {
+checkUnnamed359(core.List<api.DatafeedStatusExample> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusExample(o[0]);
checkDatafeedStatusExample(o[1]);
@@ -1224,7 +1224,7 @@
if (buildCounterDatafeedStatusError < 3) {
o.code = "foo";
o.count = "foo";
- o.examples = buildUnnamed355();
+ o.examples = buildUnnamed359();
o.message = "foo";
}
buildCounterDatafeedStatusError--;
@@ -1236,7 +1236,7 @@
if (buildCounterDatafeedStatusError < 3) {
unittest.expect(o.code, unittest.equals('foo'));
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed355(o.examples);
+ checkUnnamed359(o.examples);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDatafeedStatusError--;
@@ -1265,27 +1265,27 @@
buildCounterDatafeedStatusExample--;
}
-buildUnnamed356() {
+buildUnnamed360() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed356(core.List<core.String> o) {
+checkUnnamed360(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'));
}
-buildUnnamed357() {
+buildUnnamed361() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed357(core.List<core.String> o) {
+checkUnnamed361(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'));
@@ -1297,8 +1297,8 @@
buildCounterDatafeedTarget++;
if (buildCounterDatafeedTarget < 3) {
o.country = "foo";
- o.excludedDestinations = buildUnnamed356();
- o.includedDestinations = buildUnnamed357();
+ o.excludedDestinations = buildUnnamed360();
+ o.includedDestinations = buildUnnamed361();
o.language = "foo";
}
buildCounterDatafeedTarget--;
@@ -1309,21 +1309,21 @@
buildCounterDatafeedTarget++;
if (buildCounterDatafeedTarget < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed356(o.excludedDestinations);
- checkUnnamed357(o.includedDestinations);
+ checkUnnamed360(o.excludedDestinations);
+ checkUnnamed361(o.includedDestinations);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterDatafeedTarget--;
}
-buildUnnamed358() {
+buildUnnamed362() {
var o = new core.List<api.DatafeedsCustomBatchRequestEntry>();
o.add(buildDatafeedsCustomBatchRequestEntry());
o.add(buildDatafeedsCustomBatchRequestEntry());
return o;
}
-checkUnnamed358(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
+checkUnnamed362(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedsCustomBatchRequestEntry(o[0]);
checkDatafeedsCustomBatchRequestEntry(o[1]);
@@ -1334,7 +1334,7 @@
var o = new api.DatafeedsCustomBatchRequest();
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- o.entries = buildUnnamed358();
+ o.entries = buildUnnamed362();
}
buildCounterDatafeedsCustomBatchRequest--;
return o;
@@ -1343,7 +1343,7 @@
checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) {
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- checkUnnamed358(o.entries);
+ checkUnnamed362(o.entries);
}
buildCounterDatafeedsCustomBatchRequest--;
}
@@ -1375,14 +1375,14 @@
buildCounterDatafeedsCustomBatchRequestEntry--;
}
-buildUnnamed359() {
+buildUnnamed363() {
var o = new core.List<api.DatafeedsCustomBatchResponseEntry>();
o.add(buildDatafeedsCustomBatchResponseEntry());
o.add(buildDatafeedsCustomBatchResponseEntry());
return o;
}
-checkUnnamed359(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
+checkUnnamed363(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedsCustomBatchResponseEntry(o[0]);
checkDatafeedsCustomBatchResponseEntry(o[1]);
@@ -1393,7 +1393,7 @@
var o = new api.DatafeedsCustomBatchResponse();
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- o.entries = buildUnnamed359();
+ o.entries = buildUnnamed363();
o.kind = "foo";
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -1403,7 +1403,7 @@
checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) {
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- checkUnnamed359(o.entries);
+ checkUnnamed363(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -1433,14 +1433,14 @@
buildCounterDatafeedsCustomBatchResponseEntry--;
}
-buildUnnamed360() {
+buildUnnamed364() {
var o = new core.List<api.Datafeed>();
o.add(buildDatafeed());
o.add(buildDatafeed());
return o;
}
-checkUnnamed360(core.List<api.Datafeed> o) {
+checkUnnamed364(core.List<api.Datafeed> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeed(o[0]);
checkDatafeed(o[1]);
@@ -1453,7 +1453,7 @@
if (buildCounterDatafeedsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed360();
+ o.resources = buildUnnamed364();
}
buildCounterDatafeedsListResponse--;
return o;
@@ -1464,19 +1464,19 @@
if (buildCounterDatafeedsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed360(o.resources);
+ checkUnnamed364(o.resources);
}
buildCounterDatafeedsListResponse--;
}
-buildUnnamed361() {
+buildUnnamed365() {
var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed361(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
+checkUnnamed365(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedstatusesCustomBatchRequestEntry(o[0]);
checkDatafeedstatusesCustomBatchRequestEntry(o[1]);
@@ -1487,7 +1487,7 @@
var o = new api.DatafeedstatusesCustomBatchRequest();
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed361();
+ o.entries = buildUnnamed365();
}
buildCounterDatafeedstatusesCustomBatchRequest--;
return o;
@@ -1497,7 +1497,7 @@
api.DatafeedstatusesCustomBatchRequest o) {
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- checkUnnamed361(o.entries);
+ checkUnnamed365(o.entries);
}
buildCounterDatafeedstatusesCustomBatchRequest--;
}
@@ -1532,14 +1532,14 @@
buildCounterDatafeedstatusesCustomBatchRequestEntry--;
}
-buildUnnamed362() {
+buildUnnamed366() {
var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed362(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
+checkUnnamed366(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedstatusesCustomBatchResponseEntry(o[0]);
checkDatafeedstatusesCustomBatchResponseEntry(o[1]);
@@ -1550,7 +1550,7 @@
var o = new api.DatafeedstatusesCustomBatchResponse();
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed362();
+ o.entries = buildUnnamed366();
o.kind = "foo";
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -1561,7 +1561,7 @@
api.DatafeedstatusesCustomBatchResponse o) {
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- checkUnnamed362(o.entries);
+ checkUnnamed366(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -1591,14 +1591,14 @@
buildCounterDatafeedstatusesCustomBatchResponseEntry--;
}
-buildUnnamed363() {
+buildUnnamed367() {
var o = new core.List<api.DatafeedStatus>();
o.add(buildDatafeedStatus());
o.add(buildDatafeedStatus());
return o;
}
-checkUnnamed363(core.List<api.DatafeedStatus> o) {
+checkUnnamed367(core.List<api.DatafeedStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatus(o[0]);
checkDatafeedStatus(o[1]);
@@ -1611,7 +1611,7 @@
if (buildCounterDatafeedstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed363();
+ o.resources = buildUnnamed367();
}
buildCounterDatafeedstatusesListResponse--;
return o;
@@ -1622,7 +1622,7 @@
if (buildCounterDatafeedstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed363(o.resources);
+ checkUnnamed367(o.resources);
}
buildCounterDatafeedstatusesListResponse--;
}
@@ -1671,14 +1671,14 @@
buildCounterError--;
}
-buildUnnamed364() {
+buildUnnamed368() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed364(core.List<api.Error> o) {
+checkUnnamed368(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -1690,7 +1690,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = 42;
- o.errors = buildUnnamed364();
+ o.errors = buildUnnamed368();
o.message = "foo";
}
buildCounterErrors--;
@@ -1701,72 +1701,72 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed364(o.errors);
+ checkUnnamed368(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
}
-buildUnnamed365() {
+buildUnnamed369() {
var o = new core.List<api.LocationIdSet>();
o.add(buildLocationIdSet());
o.add(buildLocationIdSet());
return o;
}
-checkUnnamed365(core.List<api.LocationIdSet> o) {
+checkUnnamed369(core.List<api.LocationIdSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationIdSet(o[0]);
checkLocationIdSet(o[1]);
}
-buildUnnamed366() {
+buildUnnamed370() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed366(core.List<core.String> o) {
+checkUnnamed370(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'));
}
-buildUnnamed367() {
+buildUnnamed371() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed367(core.List<core.String> o) {
+checkUnnamed371(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'));
}
-buildUnnamed368() {
+buildUnnamed372() {
var o = new core.List<api.Price>();
o.add(buildPrice());
o.add(buildPrice());
return o;
}
-checkUnnamed368(core.List<api.Price> o) {
+checkUnnamed372(core.List<api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o[0]);
checkPrice(o[1]);
}
-buildUnnamed369() {
+buildUnnamed373() {
var o = new core.List<api.Weight>();
o.add(buildWeight());
o.add(buildWeight());
return o;
}
-checkUnnamed369(core.List<api.Weight> o) {
+checkUnnamed373(core.List<api.Weight> o) {
unittest.expect(o, unittest.hasLength(2));
checkWeight(o[0]);
checkWeight(o[1]);
@@ -1777,11 +1777,11 @@
var o = new api.Headers();
buildCounterHeaders++;
if (buildCounterHeaders < 3) {
- o.locations = buildUnnamed365();
- o.numberOfItems = buildUnnamed366();
- o.postalCodeGroupNames = buildUnnamed367();
- o.prices = buildUnnamed368();
- o.weights = buildUnnamed369();
+ o.locations = buildUnnamed369();
+ o.numberOfItems = buildUnnamed370();
+ o.postalCodeGroupNames = buildUnnamed371();
+ o.prices = buildUnnamed372();
+ o.weights = buildUnnamed373();
}
buildCounterHeaders--;
return o;
@@ -1790,11 +1790,11 @@
checkHeaders(api.Headers o) {
buildCounterHeaders++;
if (buildCounterHeaders < 3) {
- checkUnnamed365(o.locations);
- checkUnnamed366(o.numberOfItems);
- checkUnnamed367(o.postalCodeGroupNames);
- checkUnnamed368(o.prices);
- checkUnnamed369(o.weights);
+ checkUnnamed369(o.locations);
+ checkUnnamed370(o.numberOfItems);
+ checkUnnamed371(o.postalCodeGroupNames);
+ checkUnnamed372(o.prices);
+ checkUnnamed373(o.weights);
}
buildCounterHeaders--;
}
@@ -1857,14 +1857,14 @@
buildCounterInventory--;
}
-buildUnnamed370() {
+buildUnnamed374() {
var o = new core.List<api.InventoryCustomBatchRequestEntry>();
o.add(buildInventoryCustomBatchRequestEntry());
o.add(buildInventoryCustomBatchRequestEntry());
return o;
}
-checkUnnamed370(core.List<api.InventoryCustomBatchRequestEntry> o) {
+checkUnnamed374(core.List<api.InventoryCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryCustomBatchRequestEntry(o[0]);
checkInventoryCustomBatchRequestEntry(o[1]);
@@ -1875,7 +1875,7 @@
var o = new api.InventoryCustomBatchRequest();
buildCounterInventoryCustomBatchRequest++;
if (buildCounterInventoryCustomBatchRequest < 3) {
- o.entries = buildUnnamed370();
+ o.entries = buildUnnamed374();
}
buildCounterInventoryCustomBatchRequest--;
return o;
@@ -1884,7 +1884,7 @@
checkInventoryCustomBatchRequest(api.InventoryCustomBatchRequest o) {
buildCounterInventoryCustomBatchRequest++;
if (buildCounterInventoryCustomBatchRequest < 3) {
- checkUnnamed370(o.entries);
+ checkUnnamed374(o.entries);
}
buildCounterInventoryCustomBatchRequest--;
}
@@ -1916,14 +1916,14 @@
buildCounterInventoryCustomBatchRequestEntry--;
}
-buildUnnamed371() {
+buildUnnamed375() {
var o = new core.List<api.InventoryCustomBatchResponseEntry>();
o.add(buildInventoryCustomBatchResponseEntry());
o.add(buildInventoryCustomBatchResponseEntry());
return o;
}
-checkUnnamed371(core.List<api.InventoryCustomBatchResponseEntry> o) {
+checkUnnamed375(core.List<api.InventoryCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryCustomBatchResponseEntry(o[0]);
checkInventoryCustomBatchResponseEntry(o[1]);
@@ -1934,7 +1934,7 @@
var o = new api.InventoryCustomBatchResponse();
buildCounterInventoryCustomBatchResponse++;
if (buildCounterInventoryCustomBatchResponse < 3) {
- o.entries = buildUnnamed371();
+ o.entries = buildUnnamed375();
o.kind = "foo";
}
buildCounterInventoryCustomBatchResponse--;
@@ -1944,7 +1944,7 @@
checkInventoryCustomBatchResponse(api.InventoryCustomBatchResponse o) {
buildCounterInventoryCustomBatchResponse++;
if (buildCounterInventoryCustomBatchResponse < 3) {
- checkUnnamed371(o.entries);
+ checkUnnamed375(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInventoryCustomBatchResponse--;
@@ -2049,14 +2049,14 @@
buildCounterInventorySetResponse--;
}
-buildUnnamed372() {
+buildUnnamed376() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed372(core.List<core.String> o) {
+checkUnnamed376(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'));
@@ -2067,7 +2067,7 @@
var o = new api.LocationIdSet();
buildCounterLocationIdSet++;
if (buildCounterLocationIdSet < 3) {
- o.locationIds = buildUnnamed372();
+ o.locationIds = buildUnnamed376();
}
buildCounterLocationIdSet--;
return o;
@@ -2076,7 +2076,7 @@
checkLocationIdSet(api.LocationIdSet o) {
buildCounterLocationIdSet++;
if (buildCounterLocationIdSet < 3) {
- checkUnnamed372(o.locationIds);
+ checkUnnamed376(o.locationIds);
}
buildCounterLocationIdSet--;
}
@@ -2104,53 +2104,53 @@
buildCounterLoyaltyPoints--;
}
-buildUnnamed373() {
+buildUnnamed377() {
var o = new core.List<api.OrderLineItem>();
o.add(buildOrderLineItem());
o.add(buildOrderLineItem());
return o;
}
-checkUnnamed373(core.List<api.OrderLineItem> o) {
+checkUnnamed377(core.List<api.OrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItem(o[0]);
checkOrderLineItem(o[1]);
}
-buildUnnamed374() {
+buildUnnamed378() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed374(core.List<api.OrderPromotion> o) {
+checkUnnamed378(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
}
-buildUnnamed375() {
+buildUnnamed379() {
var o = new core.List<api.OrderRefund>();
o.add(buildOrderRefund());
o.add(buildOrderRefund());
return o;
}
-checkUnnamed375(core.List<api.OrderRefund> o) {
+checkUnnamed379(core.List<api.OrderRefund> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderRefund(o[0]);
checkOrderRefund(o[1]);
}
-buildUnnamed376() {
+buildUnnamed380() {
var o = new core.List<api.OrderShipment>();
o.add(buildOrderShipment());
o.add(buildOrderShipment());
return o;
}
-checkUnnamed376(core.List<api.OrderShipment> o) {
+checkUnnamed380(core.List<api.OrderShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipment(o[0]);
checkOrderShipment(o[1]);
@@ -2167,16 +2167,16 @@
o.deliveryDetails = buildOrderDeliveryDetails();
o.id = "foo";
o.kind = "foo";
- o.lineItems = buildUnnamed373();
+ o.lineItems = buildUnnamed377();
o.merchantId = "foo";
o.merchantOrderId = "foo";
o.netAmount = buildPrice();
o.paymentMethod = buildOrderPaymentMethod();
o.paymentStatus = "foo";
o.placedDate = "foo";
- o.promotions = buildUnnamed374();
- o.refunds = buildUnnamed375();
- o.shipments = buildUnnamed376();
+ o.promotions = buildUnnamed378();
+ o.refunds = buildUnnamed379();
+ o.shipments = buildUnnamed380();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -2195,16 +2195,16 @@
checkOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed373(o.lineItems);
+ checkUnnamed377(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'));
- checkUnnamed374(o.promotions);
- checkUnnamed375(o.refunds);
- checkUnnamed376(o.shipments);
+ checkUnnamed378(o.promotions);
+ checkUnnamed379(o.refunds);
+ checkUnnamed380(o.shipments);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -2213,27 +2213,27 @@
buildCounterOrder--;
}
-buildUnnamed377() {
+buildUnnamed381() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed377(core.List<core.String> o) {
+checkUnnamed381(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'));
}
-buildUnnamed378() {
+buildUnnamed382() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed378(core.List<core.String> o) {
+checkUnnamed382(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'));
@@ -2245,13 +2245,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed377();
+ o.fullAddress = buildUnnamed381();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed378();
+ o.streetAddress = buildUnnamed382();
}
buildCounterOrderAddress--;
return o;
@@ -2261,13 +2261,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed377(o.fullAddress);
+ checkUnnamed381(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'));
- checkUnnamed378(o.streetAddress);
+ checkUnnamed382(o.streetAddress);
}
buildCounterOrderAddress--;
}
@@ -2343,27 +2343,27 @@
buildCounterOrderDeliveryDetails--;
}
-buildUnnamed379() {
+buildUnnamed383() {
var o = new core.List<api.OrderCancellation>();
o.add(buildOrderCancellation());
o.add(buildOrderCancellation());
return o;
}
-checkUnnamed379(core.List<api.OrderCancellation> o) {
+checkUnnamed383(core.List<api.OrderCancellation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderCancellation(o[0]);
checkOrderCancellation(o[1]);
}
-buildUnnamed380() {
+buildUnnamed384() {
var o = new core.List<api.OrderReturn>();
o.add(buildOrderReturn());
o.add(buildOrderReturn());
return o;
}
-checkUnnamed380(core.List<api.OrderReturn> o) {
+checkUnnamed384(core.List<api.OrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReturn(o[0]);
checkOrderReturn(o[1]);
@@ -2374,8 +2374,7 @@
var o = new api.OrderLineItem();
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- o.cancellations = buildUnnamed379();
- o.channelType = "foo";
+ o.cancellations = buildUnnamed383();
o.id = "foo";
o.price = buildPrice();
o.product = buildOrderLineItemProduct();
@@ -2386,7 +2385,7 @@
o.quantityReturned = 42;
o.quantityShipped = 42;
o.returnInfo = buildOrderLineItemReturnInfo();
- o.returns = buildUnnamed380();
+ o.returns = buildUnnamed384();
o.shippingDetails = buildOrderLineItemShippingDetails();
o.tax = buildPrice();
}
@@ -2397,8 +2396,7 @@
checkOrderLineItem(api.OrderLineItem o) {
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- checkUnnamed379(o.cancellations);
- unittest.expect(o.channelType, unittest.equals('foo'));
+ checkUnnamed383(o.cancellations);
unittest.expect(o.id, unittest.equals('foo'));
checkPrice(o.price);
checkOrderLineItemProduct(o.product);
@@ -2409,21 +2407,21 @@
unittest.expect(o.quantityReturned, unittest.equals(42));
unittest.expect(o.quantityShipped, unittest.equals(42));
checkOrderLineItemReturnInfo(o.returnInfo);
- checkUnnamed380(o.returns);
+ checkUnnamed384(o.returns);
checkOrderLineItemShippingDetails(o.shippingDetails);
checkPrice(o.tax);
}
buildCounterOrderLineItem--;
}
-buildUnnamed381() {
+buildUnnamed385() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed381(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed385(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -2448,7 +2446,7 @@
o.shownImage = "foo";
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed381();
+ o.variantAttributes = buildUnnamed385();
}
buildCounterOrderLineItemProduct--;
return o;
@@ -2471,7 +2469,7 @@
unittest.expect(o.shownImage, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed381(o.variantAttributes);
+ checkUnnamed385(o.variantAttributes);
}
buildCounterOrderLineItemProduct--;
}
@@ -2599,14 +2597,14 @@
buildCounterOrderPaymentMethod--;
}
-buildUnnamed382() {
+buildUnnamed386() {
var o = new core.List<api.OrderPromotionBenefit>();
o.add(buildOrderPromotionBenefit());
o.add(buildOrderPromotionBenefit());
return o;
}
-checkUnnamed382(core.List<api.OrderPromotionBenefit> o) {
+checkUnnamed386(core.List<api.OrderPromotionBenefit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotionBenefit(o[0]);
checkOrderPromotionBenefit(o[1]);
@@ -2617,7 +2615,7 @@
var o = new api.OrderPromotion();
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- o.benefits = buildUnnamed382();
+ o.benefits = buildUnnamed386();
o.effectiveDates = "foo";
o.genericRedemptionCode = "foo";
o.id = "foo";
@@ -2632,7 +2630,7 @@
checkOrderPromotion(api.OrderPromotion o) {
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- checkUnnamed382(o.benefits);
+ checkUnnamed386(o.benefits);
unittest.expect(o.effectiveDates, unittest.equals('foo'));
unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -2643,14 +2641,14 @@
buildCounterOrderPromotion--;
}
-buildUnnamed383() {
+buildUnnamed387() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed383(core.List<core.String> o) {
+checkUnnamed387(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'));
@@ -2662,7 +2660,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
o.discount = buildPrice();
- o.offerIds = buildUnnamed383();
+ o.offerIds = buildUnnamed387();
o.subType = "foo";
o.taxImpact = buildPrice();
o.type = "foo";
@@ -2675,7 +2673,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
checkPrice(o.discount);
- checkUnnamed383(o.offerIds);
+ checkUnnamed387(o.offerIds);
unittest.expect(o.subType, unittest.equals('foo'));
checkPrice(o.taxImpact);
unittest.expect(o.type, unittest.equals('foo'));
@@ -2737,14 +2735,14 @@
buildCounterOrderReturn--;
}
-buildUnnamed384() {
+buildUnnamed388() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed384(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed388(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -2759,7 +2757,7 @@
o.creationDate = "foo";
o.deliveryDate = "foo";
o.id = "foo";
- o.lineItems = buildUnnamed384();
+ o.lineItems = buildUnnamed388();
o.status = "foo";
o.trackingId = "foo";
}
@@ -2774,7 +2772,7 @@
unittest.expect(o.creationDate, unittest.equals('foo'));
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed384(o.lineItems);
+ checkUnnamed388(o.lineItems);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -2997,14 +2995,14 @@
buildCounterOrdersCreateTestOrderResponse--;
}
-buildUnnamed385() {
+buildUnnamed389() {
var o = new core.List<api.OrdersCustomBatchRequestEntry>();
o.add(buildOrdersCustomBatchRequestEntry());
o.add(buildOrdersCustomBatchRequestEntry());
return o;
}
-checkUnnamed385(core.List<api.OrdersCustomBatchRequestEntry> o) {
+checkUnnamed389(core.List<api.OrdersCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntry(o[0]);
checkOrdersCustomBatchRequestEntry(o[1]);
@@ -3015,7 +3013,7 @@
var o = new api.OrdersCustomBatchRequest();
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- o.entries = buildUnnamed385();
+ o.entries = buildUnnamed389();
}
buildCounterOrdersCustomBatchRequest--;
return o;
@@ -3024,7 +3022,7 @@
checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- checkUnnamed385(o.entries);
+ checkUnnamed389(o.entries);
}
buildCounterOrdersCustomBatchRequest--;
}
@@ -3170,20 +3168,20 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
}
-buildUnnamed386() {
+buildUnnamed390() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed386(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed390(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
}
-buildUnnamed387() {
+buildUnnamed391() {
var o = new core
.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>();
o.add(buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo());
@@ -3191,7 +3189,7 @@
return o;
}
-checkUnnamed387(
+checkUnnamed391(
core.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(o[0]);
@@ -3204,9 +3202,9 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed386();
+ o.lineItems = buildUnnamed390();
o.shipmentId = "foo";
- o.shipmentInfos = buildUnnamed387();
+ o.shipmentInfos = buildUnnamed391();
o.trackingId = "foo";
}
buildCounterOrdersCustomBatchRequestEntryShipLineItems--;
@@ -3218,9 +3216,9 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed386(o.lineItems);
+ checkUnnamed390(o.lineItems);
unittest.expect(o.shipmentId, unittest.equals('foo'));
- checkUnnamed387(o.shipmentInfos);
+ checkUnnamed391(o.shipmentInfos);
unittest.expect(o.trackingId, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchRequestEntryShipLineItems--;
@@ -3276,14 +3274,14 @@
buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
}
-buildUnnamed388() {
+buildUnnamed392() {
var o = new core.List<api.OrdersCustomBatchResponseEntry>();
o.add(buildOrdersCustomBatchResponseEntry());
o.add(buildOrdersCustomBatchResponseEntry());
return o;
}
-checkUnnamed388(core.List<api.OrdersCustomBatchResponseEntry> o) {
+checkUnnamed392(core.List<api.OrdersCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchResponseEntry(o[0]);
checkOrdersCustomBatchResponseEntry(o[1]);
@@ -3294,7 +3292,7 @@
var o = new api.OrdersCustomBatchResponse();
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- o.entries = buildUnnamed388();
+ o.entries = buildUnnamed392();
o.kind = "foo";
}
buildCounterOrdersCustomBatchResponse--;
@@ -3304,7 +3302,7 @@
checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- checkUnnamed388(o.entries);
+ checkUnnamed392(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchResponse--;
@@ -3381,14 +3379,14 @@
buildCounterOrdersGetTestOrderTemplateResponse--;
}
-buildUnnamed389() {
+buildUnnamed393() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed389(core.List<api.Order> o) {
+checkUnnamed393(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -3401,7 +3399,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed389();
+ o.resources = buildUnnamed393();
}
buildCounterOrdersListResponse--;
return o;
@@ -3412,7 +3410,7 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed389(o.resources);
+ checkUnnamed393(o.resources);
}
buildCounterOrdersListResponse--;
}
@@ -3511,20 +3509,20 @@
buildCounterOrdersReturnLineItemResponse--;
}
-buildUnnamed390() {
+buildUnnamed394() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed390(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed394(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
}
-buildUnnamed391() {
+buildUnnamed395() {
var o = new core
.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>();
o.add(buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo());
@@ -3532,7 +3530,7 @@
return o;
}
-checkUnnamed391(
+checkUnnamed395(
core.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(o[0]);
@@ -3545,10 +3543,10 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed390();
+ o.lineItems = buildUnnamed394();
o.operationId = "foo";
o.shipmentId = "foo";
- o.shipmentInfos = buildUnnamed391();
+ o.shipmentInfos = buildUnnamed395();
o.trackingId = "foo";
}
buildCounterOrdersShipLineItemsRequest--;
@@ -3559,10 +3557,10 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed390(o.lineItems);
+ checkUnnamed394(o.lineItems);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentId, unittest.equals('foo'));
- checkUnnamed391(o.shipmentInfos);
+ checkUnnamed395(o.shipmentInfos);
unittest.expect(o.trackingId, unittest.equals('foo'));
}
buildCounterOrdersShipLineItemsRequest--;
@@ -3681,14 +3679,14 @@
buildCounterOrdersUpdateShipmentResponse--;
}
-buildUnnamed392() {
+buildUnnamed396() {
var o = new core.List<api.PostalCodeRange>();
o.add(buildPostalCodeRange());
o.add(buildPostalCodeRange());
return o;
}
-checkUnnamed392(core.List<api.PostalCodeRange> o) {
+checkUnnamed396(core.List<api.PostalCodeRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCodeRange(o[0]);
checkPostalCodeRange(o[1]);
@@ -3701,7 +3699,7 @@
if (buildCounterPostalCodeGroup < 3) {
o.country = "foo";
o.name = "foo";
- o.postalCodeRanges = buildUnnamed392();
+ o.postalCodeRanges = buildUnnamed396();
}
buildCounterPostalCodeGroup--;
return o;
@@ -3712,7 +3710,7 @@
if (buildCounterPostalCodeGroup < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed392(o.postalCodeRanges);
+ checkUnnamed396(o.postalCodeRanges);
}
buildCounterPostalCodeGroup--;
}
@@ -3759,160 +3757,108 @@
buildCounterPrice--;
}
-buildUnnamed393() {
+buildUnnamed397() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed393(core.List<core.String> o) {
+checkUnnamed397(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'));
}
-buildUnnamed394() {
+buildUnnamed398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed394(core.List<core.String> o) {
+checkUnnamed398(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'));
}
-buildUnnamed395() {
+buildUnnamed399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed395(core.List<core.String> o) {
+checkUnnamed399(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'));
}
-buildUnnamed396() {
+buildUnnamed400() {
var o = new core.List<api.ProductAspect>();
o.add(buildProductAspect());
o.add(buildProductAspect());
return o;
}
-checkUnnamed396(core.List<api.ProductAspect> o) {
+checkUnnamed400(core.List<api.ProductAspect> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductAspect(o[0]);
checkProductAspect(o[1]);
}
-buildUnnamed397() {
+buildUnnamed401() {
var o = new core.List<api.ProductCustomAttribute>();
o.add(buildProductCustomAttribute());
o.add(buildProductCustomAttribute());
return o;
}
-checkUnnamed397(core.List<api.ProductCustomAttribute> o) {
+checkUnnamed401(core.List<api.ProductCustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomAttribute(o[0]);
checkProductCustomAttribute(o[1]);
}
-buildUnnamed398() {
+buildUnnamed402() {
var o = new core.List<api.ProductCustomGroup>();
o.add(buildProductCustomGroup());
o.add(buildProductCustomGroup());
return o;
}
-checkUnnamed398(core.List<api.ProductCustomGroup> o) {
+checkUnnamed402(core.List<api.ProductCustomGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomGroup(o[0]);
checkProductCustomGroup(o[1]);
}
-buildUnnamed399() {
+buildUnnamed403() {
var o = new core.List<api.ProductDestination>();
o.add(buildProductDestination());
o.add(buildProductDestination());
return o;
}
-checkUnnamed399(core.List<api.ProductDestination> o) {
+checkUnnamed403(core.List<api.ProductDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDestination(o[0]);
checkProductDestination(o[1]);
}
-buildUnnamed400() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed400(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'));
-}
-
-buildUnnamed401() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed401(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'));
-}
-
-buildUnnamed402() {
- var o = new core.List<api.ProductShipping>();
- o.add(buildProductShipping());
- o.add(buildProductShipping());
- return o;
-}
-
-checkUnnamed402(core.List<api.ProductShipping> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkProductShipping(o[0]);
- checkProductShipping(o[1]);
-}
-
-buildUnnamed403() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed403(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'));
-}
-
buildUnnamed404() {
- var o = new core.List<api.ProductTax>();
- o.add(buildProductTax());
- o.add(buildProductTax());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed404(core.List<api.ProductTax> o) {
+checkUnnamed404(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkProductTax(o[0]);
- checkProductTax(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed405() {
@@ -3929,13 +3875,65 @@
}
buildUnnamed406() {
+ var o = new core.List<api.ProductShipping>();
+ o.add(buildProductShipping());
+ o.add(buildProductShipping());
+ return o;
+}
+
+checkUnnamed406(core.List<api.ProductShipping> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProductShipping(o[0]);
+ checkProductShipping(o[1]);
+}
+
+buildUnnamed407() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed407(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'));
+}
+
+buildUnnamed408() {
+ var o = new core.List<api.ProductTax>();
+ o.add(buildProductTax());
+ o.add(buildProductTax());
+ return o;
+}
+
+checkUnnamed408(core.List<api.ProductTax> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProductTax(o[0]);
+ checkProductTax(o[1]);
+}
+
+buildUnnamed409() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed409(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'));
+}
+
+buildUnnamed410() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed406(core.List<api.Error> o) {
+checkUnnamed410(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -3946,14 +3944,14 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.additionalImageLinks = buildUnnamed393();
- o.additionalProductTypes = buildUnnamed394();
+ o.additionalImageLinks = buildUnnamed397();
+ o.additionalProductTypes = buildUnnamed398();
o.adult = true;
o.adwordsGrouping = "foo";
- o.adwordsLabels = buildUnnamed395();
+ o.adwordsLabels = buildUnnamed399();
o.adwordsRedirect = "foo";
o.ageGroup = "foo";
- o.aspects = buildUnnamed396();
+ o.aspects = buildUnnamed400();
o.availability = "foo";
o.availabilityDate = "foo";
o.brand = "foo";
@@ -3961,18 +3959,18 @@
o.color = "foo";
o.condition = "foo";
o.contentLanguage = "foo";
- o.customAttributes = buildUnnamed397();
- o.customGroups = buildUnnamed398();
+ o.customAttributes = buildUnnamed401();
+ o.customGroups = buildUnnamed402();
o.customLabel0 = "foo";
o.customLabel1 = "foo";
o.customLabel2 = "foo";
o.customLabel3 = "foo";
o.customLabel4 = "foo";
o.description = "foo";
- o.destinations = buildUnnamed399();
+ o.destinations = buildUnnamed403();
o.displayAdsId = "foo";
o.displayAdsLink = "foo";
- o.displayAdsSimilarIds = buildUnnamed400();
+ o.displayAdsSimilarIds = buildUnnamed404();
o.displayAdsTitle = "foo";
o.displayAdsValue = 42.0;
o.energyEfficiencyClass = "foo";
@@ -4000,11 +3998,11 @@
o.pattern = "foo";
o.price = buildPrice();
o.productType = "foo";
- o.promotionIds = buildUnnamed401();
+ o.promotionIds = buildUnnamed405();
o.salePrice = buildPrice();
o.salePriceEffectiveDate = "foo";
o.sellOnGoogleQuantity = "foo";
- o.shipping = buildUnnamed402();
+ o.shipping = buildUnnamed406();
o.shippingHeight = buildProductShippingDimension();
o.shippingLabel = "foo";
o.shippingLength = buildProductShippingDimension();
@@ -4012,14 +4010,14 @@
o.shippingWidth = buildProductShippingDimension();
o.sizeSystem = "foo";
o.sizeType = "foo";
- o.sizes = buildUnnamed403();
+ o.sizes = buildUnnamed407();
o.targetCountry = "foo";
- o.taxes = buildUnnamed404();
+ o.taxes = buildUnnamed408();
o.title = "foo";
o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
o.unitPricingMeasure = buildProductUnitPricingMeasure();
- o.validatedDestinations = buildUnnamed405();
- o.warnings = buildUnnamed406();
+ o.validatedDestinations = buildUnnamed409();
+ o.warnings = buildUnnamed410();
}
buildCounterProduct--;
return o;
@@ -4028,14 +4026,14 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed393(o.additionalImageLinks);
- checkUnnamed394(o.additionalProductTypes);
+ checkUnnamed397(o.additionalImageLinks);
+ checkUnnamed398(o.additionalProductTypes);
unittest.expect(o.adult, unittest.isTrue);
unittest.expect(o.adwordsGrouping, unittest.equals('foo'));
- checkUnnamed395(o.adwordsLabels);
+ checkUnnamed399(o.adwordsLabels);
unittest.expect(o.adwordsRedirect, unittest.equals('foo'));
unittest.expect(o.ageGroup, unittest.equals('foo'));
- checkUnnamed396(o.aspects);
+ checkUnnamed400(o.aspects);
unittest.expect(o.availability, unittest.equals('foo'));
unittest.expect(o.availabilityDate, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -4043,18 +4041,18 @@
unittest.expect(o.color, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.contentLanguage, unittest.equals('foo'));
- checkUnnamed397(o.customAttributes);
- checkUnnamed398(o.customGroups);
+ checkUnnamed401(o.customAttributes);
+ checkUnnamed402(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'));
- checkUnnamed399(o.destinations);
+ checkUnnamed403(o.destinations);
unittest.expect(o.displayAdsId, unittest.equals('foo'));
unittest.expect(o.displayAdsLink, unittest.equals('foo'));
- checkUnnamed400(o.displayAdsSimilarIds);
+ checkUnnamed404(o.displayAdsSimilarIds);
unittest.expect(o.displayAdsTitle, unittest.equals('foo'));
unittest.expect(o.displayAdsValue, unittest.equals(42.0));
unittest.expect(o.energyEfficiencyClass, unittest.equals('foo'));
@@ -4082,11 +4080,11 @@
unittest.expect(o.pattern, unittest.equals('foo'));
checkPrice(o.price);
unittest.expect(o.productType, unittest.equals('foo'));
- checkUnnamed401(o.promotionIds);
+ checkUnnamed405(o.promotionIds);
checkPrice(o.salePrice);
unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo'));
- checkUnnamed402(o.shipping);
+ checkUnnamed406(o.shipping);
checkProductShippingDimension(o.shippingHeight);
unittest.expect(o.shippingLabel, unittest.equals('foo'));
checkProductShippingDimension(o.shippingLength);
@@ -4094,14 +4092,14 @@
checkProductShippingDimension(o.shippingWidth);
unittest.expect(o.sizeSystem, unittest.equals('foo'));
unittest.expect(o.sizeType, unittest.equals('foo'));
- checkUnnamed403(o.sizes);
+ checkUnnamed407(o.sizes);
unittest.expect(o.targetCountry, unittest.equals('foo'));
- checkUnnamed404(o.taxes);
+ checkUnnamed408(o.taxes);
unittest.expect(o.title, unittest.equals('foo'));
checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
checkProductUnitPricingMeasure(o.unitPricingMeasure);
- checkUnnamed405(o.validatedDestinations);
- checkUnnamed406(o.warnings);
+ checkUnnamed409(o.validatedDestinations);
+ checkUnnamed410(o.warnings);
}
buildCounterProduct--;
}
@@ -4154,14 +4152,14 @@
buildCounterProductCustomAttribute--;
}
-buildUnnamed407() {
+buildUnnamed411() {
var o = new core.List<api.ProductCustomAttribute>();
o.add(buildProductCustomAttribute());
o.add(buildProductCustomAttribute());
return o;
}
-checkUnnamed407(core.List<api.ProductCustomAttribute> o) {
+checkUnnamed411(core.List<api.ProductCustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductCustomAttribute(o[0]);
checkProductCustomAttribute(o[1]);
@@ -4172,7 +4170,7 @@
var o = new api.ProductCustomGroup();
buildCounterProductCustomGroup++;
if (buildCounterProductCustomGroup < 3) {
- o.attributes = buildUnnamed407();
+ o.attributes = buildUnnamed411();
o.name = "foo";
}
buildCounterProductCustomGroup--;
@@ -4182,7 +4180,7 @@
checkProductCustomGroup(api.ProductCustomGroup o) {
buildCounterProductCustomGroup++;
if (buildCounterProductCustomGroup < 3) {
- checkUnnamed407(o.attributes);
+ checkUnnamed411(o.attributes);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterProductCustomGroup--;
@@ -4282,27 +4280,27 @@
buildCounterProductShippingWeight--;
}
-buildUnnamed408() {
+buildUnnamed412() {
var o = new core.List<api.ProductStatusDataQualityIssue>();
o.add(buildProductStatusDataQualityIssue());
o.add(buildProductStatusDataQualityIssue());
return o;
}
-checkUnnamed408(core.List<api.ProductStatusDataQualityIssue> o) {
+checkUnnamed412(core.List<api.ProductStatusDataQualityIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusDataQualityIssue(o[0]);
checkProductStatusDataQualityIssue(o[1]);
}
-buildUnnamed409() {
+buildUnnamed413() {
var o = new core.List<api.ProductStatusDestinationStatus>();
o.add(buildProductStatusDestinationStatus());
o.add(buildProductStatusDestinationStatus());
return o;
}
-checkUnnamed409(core.List<api.ProductStatusDestinationStatus> o) {
+checkUnnamed413(core.List<api.ProductStatusDestinationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusDestinationStatus(o[0]);
checkProductStatusDestinationStatus(o[1]);
@@ -4314,8 +4312,8 @@
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
o.creationDate = "foo";
- o.dataQualityIssues = buildUnnamed408();
- o.destinationStatuses = buildUnnamed409();
+ o.dataQualityIssues = buildUnnamed412();
+ o.destinationStatuses = buildUnnamed413();
o.googleExpirationDate = "foo";
o.kind = "foo";
o.lastUpdateDate = "foo";
@@ -4332,8 +4330,8 @@
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
unittest.expect(o.creationDate, unittest.equals('foo'));
- checkUnnamed408(o.dataQualityIssues);
- checkUnnamed409(o.destinationStatuses);
+ checkUnnamed412(o.dataQualityIssues);
+ checkUnnamed413(o.destinationStatuses);
unittest.expect(o.googleExpirationDate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdateDate, unittest.equals('foo'));
@@ -4472,14 +4470,14 @@
buildCounterProductUnitPricingMeasure--;
}
-buildUnnamed410() {
+buildUnnamed414() {
var o = new core.List<api.ProductsCustomBatchRequestEntry>();
o.add(buildProductsCustomBatchRequestEntry());
o.add(buildProductsCustomBatchRequestEntry());
return o;
}
-checkUnnamed410(core.List<api.ProductsCustomBatchRequestEntry> o) {
+checkUnnamed414(core.List<api.ProductsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductsCustomBatchRequestEntry(o[0]);
checkProductsCustomBatchRequestEntry(o[1]);
@@ -4490,7 +4488,7 @@
var o = new api.ProductsCustomBatchRequest();
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- o.entries = buildUnnamed410();
+ o.entries = buildUnnamed414();
}
buildCounterProductsCustomBatchRequest--;
return o;
@@ -4499,7 +4497,7 @@
checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- checkUnnamed410(o.entries);
+ checkUnnamed414(o.entries);
}
buildCounterProductsCustomBatchRequest--;
}
@@ -4531,14 +4529,14 @@
buildCounterProductsCustomBatchRequestEntry--;
}
-buildUnnamed411() {
+buildUnnamed415() {
var o = new core.List<api.ProductsCustomBatchResponseEntry>();
o.add(buildProductsCustomBatchResponseEntry());
o.add(buildProductsCustomBatchResponseEntry());
return o;
}
-checkUnnamed411(core.List<api.ProductsCustomBatchResponseEntry> o) {
+checkUnnamed415(core.List<api.ProductsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductsCustomBatchResponseEntry(o[0]);
checkProductsCustomBatchResponseEntry(o[1]);
@@ -4549,7 +4547,7 @@
var o = new api.ProductsCustomBatchResponse();
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- o.entries = buildUnnamed411();
+ o.entries = buildUnnamed415();
o.kind = "foo";
}
buildCounterProductsCustomBatchResponse--;
@@ -4559,7 +4557,7 @@
checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- checkUnnamed411(o.entries);
+ checkUnnamed415(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductsCustomBatchResponse--;
@@ -4590,14 +4588,14 @@
buildCounterProductsCustomBatchResponseEntry--;
}
-buildUnnamed412() {
+buildUnnamed416() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed412(core.List<api.Product> o) {
+checkUnnamed416(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -4610,7 +4608,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed412();
+ o.resources = buildUnnamed416();
}
buildCounterProductsListResponse--;
return o;
@@ -4621,19 +4619,19 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed412(o.resources);
+ checkUnnamed416(o.resources);
}
buildCounterProductsListResponse--;
}
-buildUnnamed413() {
+buildUnnamed417() {
var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
o.add(buildProductstatusesCustomBatchRequestEntry());
o.add(buildProductstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed413(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
+checkUnnamed417(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductstatusesCustomBatchRequestEntry(o[0]);
checkProductstatusesCustomBatchRequestEntry(o[1]);
@@ -4644,7 +4642,7 @@
var o = new api.ProductstatusesCustomBatchRequest();
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed413();
+ o.entries = buildUnnamed417();
}
buildCounterProductstatusesCustomBatchRequest--;
return o;
@@ -4654,7 +4652,7 @@
api.ProductstatusesCustomBatchRequest o) {
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- checkUnnamed413(o.entries);
+ checkUnnamed417(o.entries);
}
buildCounterProductstatusesCustomBatchRequest--;
}
@@ -4687,14 +4685,14 @@
buildCounterProductstatusesCustomBatchRequestEntry--;
}
-buildUnnamed414() {
+buildUnnamed418() {
var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
o.add(buildProductstatusesCustomBatchResponseEntry());
o.add(buildProductstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed414(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
+checkUnnamed418(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductstatusesCustomBatchResponseEntry(o[0]);
checkProductstatusesCustomBatchResponseEntry(o[1]);
@@ -4705,7 +4703,7 @@
var o = new api.ProductstatusesCustomBatchResponse();
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed414();
+ o.entries = buildUnnamed418();
o.kind = "foo";
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -4716,7 +4714,7 @@
api.ProductstatusesCustomBatchResponse o) {
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- checkUnnamed414(o.entries);
+ checkUnnamed418(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -4748,14 +4746,14 @@
buildCounterProductstatusesCustomBatchResponseEntry--;
}
-buildUnnamed415() {
+buildUnnamed419() {
var o = new core.List<api.ProductStatus>();
o.add(buildProductStatus());
o.add(buildProductStatus());
return o;
}
-checkUnnamed415(core.List<api.ProductStatus> o) {
+checkUnnamed419(core.List<api.ProductStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatus(o[0]);
checkProductStatus(o[1]);
@@ -4768,7 +4766,7 @@
if (buildCounterProductstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed415();
+ o.resources = buildUnnamed419();
}
buildCounterProductstatusesListResponse--;
return o;
@@ -4779,45 +4777,45 @@
if (buildCounterProductstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed415(o.resources);
+ checkUnnamed419(o.resources);
}
buildCounterProductstatusesListResponse--;
}
-buildUnnamed416() {
+buildUnnamed420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed416(core.List<core.String> o) {
+checkUnnamed420(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'));
}
-buildUnnamed417() {
+buildUnnamed421() {
var o = new core.List<api.CarrierRate>();
o.add(buildCarrierRate());
o.add(buildCarrierRate());
return o;
}
-checkUnnamed417(core.List<api.CarrierRate> o) {
+checkUnnamed421(core.List<api.CarrierRate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarrierRate(o[0]);
checkCarrierRate(o[1]);
}
-buildUnnamed418() {
+buildUnnamed422() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed418(core.List<api.Table> o) {
+checkUnnamed422(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -4828,11 +4826,11 @@
var o = new api.RateGroup();
buildCounterRateGroup++;
if (buildCounterRateGroup < 3) {
- o.applicableShippingLabels = buildUnnamed416();
- o.carrierRates = buildUnnamed417();
+ o.applicableShippingLabels = buildUnnamed420();
+ o.carrierRates = buildUnnamed421();
o.mainTable = buildTable();
o.singleValue = buildValue();
- o.subtables = buildUnnamed418();
+ o.subtables = buildUnnamed422();
}
buildCounterRateGroup--;
return o;
@@ -4841,23 +4839,23 @@
checkRateGroup(api.RateGroup o) {
buildCounterRateGroup++;
if (buildCounterRateGroup < 3) {
- checkUnnamed416(o.applicableShippingLabels);
- checkUnnamed417(o.carrierRates);
+ checkUnnamed420(o.applicableShippingLabels);
+ checkUnnamed421(o.carrierRates);
checkTable(o.mainTable);
checkValue(o.singleValue);
- checkUnnamed418(o.subtables);
+ checkUnnamed422(o.subtables);
}
buildCounterRateGroup--;
}
-buildUnnamed419() {
+buildUnnamed423() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed419(core.List<api.Value> o) {
+checkUnnamed423(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -4868,7 +4866,7 @@
var o = new api.Row();
buildCounterRow++;
if (buildCounterRow < 3) {
- o.cells = buildUnnamed419();
+ o.cells = buildUnnamed423();
}
buildCounterRow--;
return o;
@@ -4877,19 +4875,19 @@
checkRow(api.Row o) {
buildCounterRow++;
if (buildCounterRow < 3) {
- checkUnnamed419(o.cells);
+ checkUnnamed423(o.cells);
}
buildCounterRow--;
}
-buildUnnamed420() {
+buildUnnamed424() {
var o = new core.List<api.RateGroup>();
o.add(buildRateGroup());
o.add(buildRateGroup());
return o;
}
-checkUnnamed420(core.List<api.RateGroup> o) {
+checkUnnamed424(core.List<api.RateGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkRateGroup(o[0]);
checkRateGroup(o[1]);
@@ -4906,7 +4904,7 @@
o.deliveryTime = buildDeliveryTime();
o.minimumOrderValue = buildPrice();
o.name = "foo";
- o.rateGroups = buildUnnamed420();
+ o.rateGroups = buildUnnamed424();
}
buildCounterService--;
return o;
@@ -4921,32 +4919,32 @@
checkDeliveryTime(o.deliveryTime);
checkPrice(o.minimumOrderValue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed420(o.rateGroups);
+ checkUnnamed424(o.rateGroups);
}
buildCounterService--;
}
-buildUnnamed421() {
+buildUnnamed425() {
var o = new core.List<api.PostalCodeGroup>();
o.add(buildPostalCodeGroup());
o.add(buildPostalCodeGroup());
return o;
}
-checkUnnamed421(core.List<api.PostalCodeGroup> o) {
+checkUnnamed425(core.List<api.PostalCodeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCodeGroup(o[0]);
checkPostalCodeGroup(o[1]);
}
-buildUnnamed422() {
+buildUnnamed426() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed422(core.List<api.Service> o) {
+checkUnnamed426(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -4958,8 +4956,8 @@
buildCounterShippingSettings++;
if (buildCounterShippingSettings < 3) {
o.accountId = "foo";
- o.postalCodeGroups = buildUnnamed421();
- o.services = buildUnnamed422();
+ o.postalCodeGroups = buildUnnamed425();
+ o.services = buildUnnamed426();
}
buildCounterShippingSettings--;
return o;
@@ -4969,20 +4967,20 @@
buildCounterShippingSettings++;
if (buildCounterShippingSettings < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed421(o.postalCodeGroups);
- checkUnnamed422(o.services);
+ checkUnnamed425(o.postalCodeGroups);
+ checkUnnamed426(o.services);
}
buildCounterShippingSettings--;
}
-buildUnnamed423() {
+buildUnnamed427() {
var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>();
o.add(buildShippingsettingsCustomBatchRequestEntry());
o.add(buildShippingsettingsCustomBatchRequestEntry());
return o;
}
-checkUnnamed423(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) {
+checkUnnamed427(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingsettingsCustomBatchRequestEntry(o[0]);
checkShippingsettingsCustomBatchRequestEntry(o[1]);
@@ -4993,7 +4991,7 @@
var o = new api.ShippingsettingsCustomBatchRequest();
buildCounterShippingsettingsCustomBatchRequest++;
if (buildCounterShippingsettingsCustomBatchRequest < 3) {
- o.entries = buildUnnamed423();
+ o.entries = buildUnnamed427();
}
buildCounterShippingsettingsCustomBatchRequest--;
return o;
@@ -5003,7 +5001,7 @@
api.ShippingsettingsCustomBatchRequest o) {
buildCounterShippingsettingsCustomBatchRequest++;
if (buildCounterShippingsettingsCustomBatchRequest < 3) {
- checkUnnamed423(o.entries);
+ checkUnnamed427(o.entries);
}
buildCounterShippingsettingsCustomBatchRequest--;
}
@@ -5036,14 +5034,14 @@
buildCounterShippingsettingsCustomBatchRequestEntry--;
}
-buildUnnamed424() {
+buildUnnamed428() {
var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>();
o.add(buildShippingsettingsCustomBatchResponseEntry());
o.add(buildShippingsettingsCustomBatchResponseEntry());
return o;
}
-checkUnnamed424(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) {
+checkUnnamed428(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingsettingsCustomBatchResponseEntry(o[0]);
checkShippingsettingsCustomBatchResponseEntry(o[1]);
@@ -5054,7 +5052,7 @@
var o = new api.ShippingsettingsCustomBatchResponse();
buildCounterShippingsettingsCustomBatchResponse++;
if (buildCounterShippingsettingsCustomBatchResponse < 3) {
- o.entries = buildUnnamed424();
+ o.entries = buildUnnamed428();
o.kind = "foo";
}
buildCounterShippingsettingsCustomBatchResponse--;
@@ -5065,7 +5063,7 @@
api.ShippingsettingsCustomBatchResponse o) {
buildCounterShippingsettingsCustomBatchResponse++;
if (buildCounterShippingsettingsCustomBatchResponse < 3) {
- checkUnnamed424(o.entries);
+ checkUnnamed428(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsCustomBatchResponse--;
@@ -5097,14 +5095,14 @@
buildCounterShippingsettingsCustomBatchResponseEntry--;
}
-buildUnnamed425() {
+buildUnnamed429() {
var o = new core.List<api.CarriersCarrier>();
o.add(buildCarriersCarrier());
o.add(buildCarriersCarrier());
return o;
}
-checkUnnamed425(core.List<api.CarriersCarrier> o) {
+checkUnnamed429(core.List<api.CarriersCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarriersCarrier(o[0]);
checkCarriersCarrier(o[1]);
@@ -5115,7 +5113,7 @@
var o = new api.ShippingsettingsGetSupportedCarriersResponse();
buildCounterShippingsettingsGetSupportedCarriersResponse++;
if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) {
- o.carriers = buildUnnamed425();
+ o.carriers = buildUnnamed429();
o.kind = "foo";
}
buildCounterShippingsettingsGetSupportedCarriersResponse--;
@@ -5126,20 +5124,20 @@
api.ShippingsettingsGetSupportedCarriersResponse o) {
buildCounterShippingsettingsGetSupportedCarriersResponse++;
if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) {
- checkUnnamed425(o.carriers);
+ checkUnnamed429(o.carriers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsGetSupportedCarriersResponse--;
}
-buildUnnamed426() {
+buildUnnamed430() {
var o = new core.List<api.ShippingSettings>();
o.add(buildShippingSettings());
o.add(buildShippingSettings());
return o;
}
-checkUnnamed426(core.List<api.ShippingSettings> o) {
+checkUnnamed430(core.List<api.ShippingSettings> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingSettings(o[0]);
checkShippingSettings(o[1]);
@@ -5152,7 +5150,7 @@
if (buildCounterShippingsettingsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed426();
+ o.resources = buildUnnamed430();
}
buildCounterShippingsettingsListResponse--;
return o;
@@ -5163,19 +5161,19 @@
if (buildCounterShippingsettingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed426(o.resources);
+ checkUnnamed430(o.resources);
}
buildCounterShippingsettingsListResponse--;
}
-buildUnnamed427() {
+buildUnnamed431() {
var o = new core.List<api.Row>();
o.add(buildRow());
o.add(buildRow());
return o;
}
-checkUnnamed427(core.List<api.Row> o) {
+checkUnnamed431(core.List<api.Row> o) {
unittest.expect(o, unittest.hasLength(2));
checkRow(o[0]);
checkRow(o[1]);
@@ -5189,7 +5187,7 @@
o.columnHeaders = buildHeaders();
o.name = "foo";
o.rowHeaders = buildHeaders();
- o.rows = buildUnnamed427();
+ o.rows = buildUnnamed431();
}
buildCounterTable--;
return o;
@@ -5201,32 +5199,32 @@
checkHeaders(o.columnHeaders);
unittest.expect(o.name, unittest.equals('foo'));
checkHeaders(o.rowHeaders);
- checkUnnamed427(o.rows);
+ checkUnnamed431(o.rows);
}
buildCounterTable--;
}
-buildUnnamed428() {
+buildUnnamed432() {
var o = new core.List<api.TestOrderLineItem>();
o.add(buildTestOrderLineItem());
o.add(buildTestOrderLineItem());
return o;
}
-checkUnnamed428(core.List<api.TestOrderLineItem> o) {
+checkUnnamed432(core.List<api.TestOrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderLineItem(o[0]);
checkTestOrderLineItem(o[1]);
}
-buildUnnamed429() {
+buildUnnamed433() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed429(core.List<api.OrderPromotion> o) {
+checkUnnamed433(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
@@ -5239,10 +5237,10 @@
if (buildCounterTestOrder < 3) {
o.customer = buildTestOrderCustomer();
o.kind = "foo";
- o.lineItems = buildUnnamed428();
+ o.lineItems = buildUnnamed432();
o.paymentMethod = buildTestOrderPaymentMethod();
o.predefinedDeliveryAddress = "foo";
- o.promotions = buildUnnamed429();
+ o.promotions = buildUnnamed433();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -5256,10 +5254,10 @@
if (buildCounterTestOrder < 3) {
checkTestOrderCustomer(o.customer);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed428(o.lineItems);
+ checkUnnamed432(o.lineItems);
checkTestOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
- checkUnnamed429(o.promotions);
+ checkUnnamed433(o.promotions);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -5317,14 +5315,14 @@
buildCounterTestOrderLineItem--;
}
-buildUnnamed430() {
+buildUnnamed434() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed430(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed434(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -5347,7 +5345,7 @@
o.price = buildPrice();
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed430();
+ o.variantAttributes = buildUnnamed434();
}
buildCounterTestOrderLineItemProduct--;
return o;
@@ -5368,7 +5366,7 @@
checkPrice(o.price);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed430(o.variantAttributes);
+ checkUnnamed434(o.variantAttributes);
}
buildCounterTestOrderLineItemProduct--;
}
@@ -5448,14 +5446,14 @@
buildCounterWeight--;
}
-buildUnnamed431() {
+buildUnnamed435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed431(core.List<core.String> o) {
+checkUnnamed435(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'));
@@ -8832,7 +8830,7 @@
var arg_pageToken = "foo";
var arg_placedDateEnd = "foo";
var arg_placedDateStart = "foo";
- var arg_statuses = buildUnnamed431();
+ var arg_statuses = buildUnnamed435();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/content/v2sandbox_test.dart b/generated/googleapis/test/content/v2sandbox_test.dart
index adde633..ba7d23b 100644
--- a/generated/googleapis/test/content/v2sandbox_test.dart
+++ b/generated/googleapis/test/content/v2sandbox_test.dart
@@ -73,14 +73,14 @@
buildCounterError--;
}
-buildUnnamed1543() {
+buildUnnamed1549() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1543(core.List<api.Error> o) {
+checkUnnamed1549(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -92,7 +92,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = 42;
- o.errors = buildUnnamed1543();
+ o.errors = buildUnnamed1549();
o.message = "foo";
}
buildCounterErrors--;
@@ -103,59 +103,59 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1543(o.errors);
+ checkUnnamed1549(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
}
-buildUnnamed1544() {
+buildUnnamed1550() {
var o = new core.List<api.OrderLineItem>();
o.add(buildOrderLineItem());
o.add(buildOrderLineItem());
return o;
}
-checkUnnamed1544(core.List<api.OrderLineItem> o) {
+checkUnnamed1550(core.List<api.OrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItem(o[0]);
checkOrderLineItem(o[1]);
}
-buildUnnamed1545() {
+buildUnnamed1551() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1545(core.List<api.OrderPromotion> o) {
+checkUnnamed1551(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
}
-buildUnnamed1546() {
+buildUnnamed1552() {
var o = new core.List<api.OrderRefund>();
o.add(buildOrderRefund());
o.add(buildOrderRefund());
return o;
}
-checkUnnamed1546(core.List<api.OrderRefund> o) {
+checkUnnamed1552(core.List<api.OrderRefund> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderRefund(o[0]);
checkOrderRefund(o[1]);
}
-buildUnnamed1547() {
+buildUnnamed1553() {
var o = new core.List<api.OrderShipment>();
o.add(buildOrderShipment());
o.add(buildOrderShipment());
return o;
}
-checkUnnamed1547(core.List<api.OrderShipment> o) {
+checkUnnamed1553(core.List<api.OrderShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipment(o[0]);
checkOrderShipment(o[1]);
@@ -172,16 +172,16 @@
o.deliveryDetails = buildOrderDeliveryDetails();
o.id = "foo";
o.kind = "foo";
- o.lineItems = buildUnnamed1544();
+ o.lineItems = buildUnnamed1550();
o.merchantId = "foo";
o.merchantOrderId = "foo";
o.netAmount = buildPrice();
o.paymentMethod = buildOrderPaymentMethod();
o.paymentStatus = "foo";
o.placedDate = "foo";
- o.promotions = buildUnnamed1545();
- o.refunds = buildUnnamed1546();
- o.shipments = buildUnnamed1547();
+ o.promotions = buildUnnamed1551();
+ o.refunds = buildUnnamed1552();
+ o.shipments = buildUnnamed1553();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -200,16 +200,16 @@
checkOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1544(o.lineItems);
+ checkUnnamed1550(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'));
- checkUnnamed1545(o.promotions);
- checkUnnamed1546(o.refunds);
- checkUnnamed1547(o.shipments);
+ checkUnnamed1551(o.promotions);
+ checkUnnamed1552(o.refunds);
+ checkUnnamed1553(o.shipments);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -218,27 +218,27 @@
buildCounterOrder--;
}
-buildUnnamed1548() {
+buildUnnamed1554() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1548(core.List<core.String> o) {
+checkUnnamed1554(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'));
}
-buildUnnamed1549() {
+buildUnnamed1555() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1549(core.List<core.String> o) {
+checkUnnamed1555(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'));
@@ -250,13 +250,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed1548();
+ o.fullAddress = buildUnnamed1554();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed1549();
+ o.streetAddress = buildUnnamed1555();
}
buildCounterOrderAddress--;
return o;
@@ -266,13 +266,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed1548(o.fullAddress);
+ checkUnnamed1554(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'));
- checkUnnamed1549(o.streetAddress);
+ checkUnnamed1555(o.streetAddress);
}
buildCounterOrderAddress--;
}
@@ -348,27 +348,27 @@
buildCounterOrderDeliveryDetails--;
}
-buildUnnamed1550() {
+buildUnnamed1556() {
var o = new core.List<api.OrderCancellation>();
o.add(buildOrderCancellation());
o.add(buildOrderCancellation());
return o;
}
-checkUnnamed1550(core.List<api.OrderCancellation> o) {
+checkUnnamed1556(core.List<api.OrderCancellation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderCancellation(o[0]);
checkOrderCancellation(o[1]);
}
-buildUnnamed1551() {
+buildUnnamed1557() {
var o = new core.List<api.OrderReturn>();
o.add(buildOrderReturn());
o.add(buildOrderReturn());
return o;
}
-checkUnnamed1551(core.List<api.OrderReturn> o) {
+checkUnnamed1557(core.List<api.OrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReturn(o[0]);
checkOrderReturn(o[1]);
@@ -379,8 +379,7 @@
var o = new api.OrderLineItem();
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- o.cancellations = buildUnnamed1550();
- o.channelType = "foo";
+ o.cancellations = buildUnnamed1556();
o.id = "foo";
o.price = buildPrice();
o.product = buildOrderLineItemProduct();
@@ -391,7 +390,7 @@
o.quantityReturned = 42;
o.quantityShipped = 42;
o.returnInfo = buildOrderLineItemReturnInfo();
- o.returns = buildUnnamed1551();
+ o.returns = buildUnnamed1557();
o.shippingDetails = buildOrderLineItemShippingDetails();
o.tax = buildPrice();
}
@@ -402,8 +401,7 @@
checkOrderLineItem(api.OrderLineItem o) {
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- checkUnnamed1550(o.cancellations);
- unittest.expect(o.channelType, unittest.equals('foo'));
+ checkUnnamed1556(o.cancellations);
unittest.expect(o.id, unittest.equals('foo'));
checkPrice(o.price);
checkOrderLineItemProduct(o.product);
@@ -414,21 +412,21 @@
unittest.expect(o.quantityReturned, unittest.equals(42));
unittest.expect(o.quantityShipped, unittest.equals(42));
checkOrderLineItemReturnInfo(o.returnInfo);
- checkUnnamed1551(o.returns);
+ checkUnnamed1557(o.returns);
checkOrderLineItemShippingDetails(o.shippingDetails);
checkPrice(o.tax);
}
buildCounterOrderLineItem--;
}
-buildUnnamed1552() {
+buildUnnamed1558() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1552(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1558(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -453,7 +451,7 @@
o.shownImage = "foo";
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1552();
+ o.variantAttributes = buildUnnamed1558();
}
buildCounterOrderLineItemProduct--;
return o;
@@ -476,7 +474,7 @@
unittest.expect(o.shownImage, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1552(o.variantAttributes);
+ checkUnnamed1558(o.variantAttributes);
}
buildCounterOrderLineItemProduct--;
}
@@ -604,14 +602,14 @@
buildCounterOrderPaymentMethod--;
}
-buildUnnamed1553() {
+buildUnnamed1559() {
var o = new core.List<api.OrderPromotionBenefit>();
o.add(buildOrderPromotionBenefit());
o.add(buildOrderPromotionBenefit());
return o;
}
-checkUnnamed1553(core.List<api.OrderPromotionBenefit> o) {
+checkUnnamed1559(core.List<api.OrderPromotionBenefit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotionBenefit(o[0]);
checkOrderPromotionBenefit(o[1]);
@@ -622,7 +620,7 @@
var o = new api.OrderPromotion();
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- o.benefits = buildUnnamed1553();
+ o.benefits = buildUnnamed1559();
o.effectiveDates = "foo";
o.genericRedemptionCode = "foo";
o.id = "foo";
@@ -637,7 +635,7 @@
checkOrderPromotion(api.OrderPromotion o) {
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- checkUnnamed1553(o.benefits);
+ checkUnnamed1559(o.benefits);
unittest.expect(o.effectiveDates, unittest.equals('foo'));
unittest.expect(o.genericRedemptionCode, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -648,14 +646,14 @@
buildCounterOrderPromotion--;
}
-buildUnnamed1554() {
+buildUnnamed1560() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1554(core.List<core.String> o) {
+checkUnnamed1560(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'));
@@ -667,7 +665,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
o.discount = buildPrice();
- o.offerIds = buildUnnamed1554();
+ o.offerIds = buildUnnamed1560();
o.subType = "foo";
o.taxImpact = buildPrice();
o.type = "foo";
@@ -680,7 +678,7 @@
buildCounterOrderPromotionBenefit++;
if (buildCounterOrderPromotionBenefit < 3) {
checkPrice(o.discount);
- checkUnnamed1554(o.offerIds);
+ checkUnnamed1560(o.offerIds);
unittest.expect(o.subType, unittest.equals('foo'));
checkPrice(o.taxImpact);
unittest.expect(o.type, unittest.equals('foo'));
@@ -742,14 +740,14 @@
buildCounterOrderReturn--;
}
-buildUnnamed1555() {
+buildUnnamed1561() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1555(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1561(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -764,7 +762,7 @@
o.creationDate = "foo";
o.deliveryDate = "foo";
o.id = "foo";
- o.lineItems = buildUnnamed1555();
+ o.lineItems = buildUnnamed1561();
o.status = "foo";
o.trackingId = "foo";
}
@@ -779,7 +777,7 @@
unittest.expect(o.creationDate, unittest.equals('foo'));
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1555(o.lineItems);
+ checkUnnamed1561(o.lineItems);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.trackingId, unittest.equals('foo'));
}
@@ -1002,14 +1000,14 @@
buildCounterOrdersCreateTestOrderResponse--;
}
-buildUnnamed1556() {
+buildUnnamed1562() {
var o = new core.List<api.OrdersCustomBatchRequestEntry>();
o.add(buildOrdersCustomBatchRequestEntry());
o.add(buildOrdersCustomBatchRequestEntry());
return o;
}
-checkUnnamed1556(core.List<api.OrdersCustomBatchRequestEntry> o) {
+checkUnnamed1562(core.List<api.OrdersCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntry(o[0]);
checkOrdersCustomBatchRequestEntry(o[1]);
@@ -1020,7 +1018,7 @@
var o = new api.OrdersCustomBatchRequest();
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- o.entries = buildUnnamed1556();
+ o.entries = buildUnnamed1562();
}
buildCounterOrdersCustomBatchRequest--;
return o;
@@ -1029,7 +1027,7 @@
checkOrdersCustomBatchRequest(api.OrdersCustomBatchRequest o) {
buildCounterOrdersCustomBatchRequest++;
if (buildCounterOrdersCustomBatchRequest < 3) {
- checkUnnamed1556(o.entries);
+ checkUnnamed1562(o.entries);
}
buildCounterOrdersCustomBatchRequest--;
}
@@ -1175,20 +1173,20 @@
buildCounterOrdersCustomBatchRequestEntryReturnLineItem--;
}
-buildUnnamed1557() {
+buildUnnamed1563() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1557(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1563(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
}
-buildUnnamed1558() {
+buildUnnamed1564() {
var o = new core
.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>();
o.add(buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo());
@@ -1196,7 +1194,7 @@
return o;
}
-checkUnnamed1558(
+checkUnnamed1564(
core.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(o[0]);
@@ -1209,9 +1207,9 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed1557();
+ o.lineItems = buildUnnamed1563();
o.shipmentId = "foo";
- o.shipmentInfos = buildUnnamed1558();
+ o.shipmentInfos = buildUnnamed1564();
o.trackingId = "foo";
}
buildCounterOrdersCustomBatchRequestEntryShipLineItems--;
@@ -1223,9 +1221,9 @@
buildCounterOrdersCustomBatchRequestEntryShipLineItems++;
if (buildCounterOrdersCustomBatchRequestEntryShipLineItems < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed1557(o.lineItems);
+ checkUnnamed1563(o.lineItems);
unittest.expect(o.shipmentId, unittest.equals('foo'));
- checkUnnamed1558(o.shipmentInfos);
+ checkUnnamed1564(o.shipmentInfos);
unittest.expect(o.trackingId, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchRequestEntryShipLineItems--;
@@ -1281,14 +1279,14 @@
buildCounterOrdersCustomBatchRequestEntryUpdateShipment--;
}
-buildUnnamed1559() {
+buildUnnamed1565() {
var o = new core.List<api.OrdersCustomBatchResponseEntry>();
o.add(buildOrdersCustomBatchResponseEntry());
o.add(buildOrdersCustomBatchResponseEntry());
return o;
}
-checkUnnamed1559(core.List<api.OrdersCustomBatchResponseEntry> o) {
+checkUnnamed1565(core.List<api.OrdersCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchResponseEntry(o[0]);
checkOrdersCustomBatchResponseEntry(o[1]);
@@ -1299,7 +1297,7 @@
var o = new api.OrdersCustomBatchResponse();
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- o.entries = buildUnnamed1559();
+ o.entries = buildUnnamed1565();
o.kind = "foo";
}
buildCounterOrdersCustomBatchResponse--;
@@ -1309,7 +1307,7 @@
checkOrdersCustomBatchResponse(api.OrdersCustomBatchResponse o) {
buildCounterOrdersCustomBatchResponse++;
if (buildCounterOrdersCustomBatchResponse < 3) {
- checkUnnamed1559(o.entries);
+ checkUnnamed1565(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOrdersCustomBatchResponse--;
@@ -1386,14 +1384,14 @@
buildCounterOrdersGetTestOrderTemplateResponse--;
}
-buildUnnamed1560() {
+buildUnnamed1566() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed1560(core.List<api.Order> o) {
+checkUnnamed1566(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -1406,7 +1404,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1560();
+ o.resources = buildUnnamed1566();
}
buildCounterOrdersListResponse--;
return o;
@@ -1417,7 +1415,7 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1560(o.resources);
+ checkUnnamed1566(o.resources);
}
buildCounterOrdersListResponse--;
}
@@ -1516,20 +1514,20 @@
buildCounterOrdersReturnLineItemResponse--;
}
-buildUnnamed1561() {
+buildUnnamed1567() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1561(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1567(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
}
-buildUnnamed1562() {
+buildUnnamed1568() {
var o = new core
.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>();
o.add(buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo());
@@ -1537,7 +1535,7 @@
return o;
}
-checkUnnamed1562(
+checkUnnamed1568(
core.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(o[0]);
@@ -1550,10 +1548,10 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
o.carrier = "foo";
- o.lineItems = buildUnnamed1561();
+ o.lineItems = buildUnnamed1567();
o.operationId = "foo";
o.shipmentId = "foo";
- o.shipmentInfos = buildUnnamed1562();
+ o.shipmentInfos = buildUnnamed1568();
o.trackingId = "foo";
}
buildCounterOrdersShipLineItemsRequest--;
@@ -1564,10 +1562,10 @@
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
unittest.expect(o.carrier, unittest.equals('foo'));
- checkUnnamed1561(o.lineItems);
+ checkUnnamed1567(o.lineItems);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentId, unittest.equals('foo'));
- checkUnnamed1562(o.shipmentInfos);
+ checkUnnamed1568(o.shipmentInfos);
unittest.expect(o.trackingId, unittest.equals('foo'));
}
buildCounterOrdersShipLineItemsRequest--;
@@ -1707,27 +1705,27 @@
buildCounterPrice--;
}
-buildUnnamed1563() {
+buildUnnamed1569() {
var o = new core.List<api.TestOrderLineItem>();
o.add(buildTestOrderLineItem());
o.add(buildTestOrderLineItem());
return o;
}
-checkUnnamed1563(core.List<api.TestOrderLineItem> o) {
+checkUnnamed1569(core.List<api.TestOrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderLineItem(o[0]);
checkTestOrderLineItem(o[1]);
}
-buildUnnamed1564() {
+buildUnnamed1570() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1564(core.List<api.OrderPromotion> o) {
+checkUnnamed1570(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
@@ -1740,10 +1738,10 @@
if (buildCounterTestOrder < 3) {
o.customer = buildTestOrderCustomer();
o.kind = "foo";
- o.lineItems = buildUnnamed1563();
+ o.lineItems = buildUnnamed1569();
o.paymentMethod = buildTestOrderPaymentMethod();
o.predefinedDeliveryAddress = "foo";
- o.promotions = buildUnnamed1564();
+ o.promotions = buildUnnamed1570();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.shippingOption = "foo";
@@ -1757,10 +1755,10 @@
if (buildCounterTestOrder < 3) {
checkTestOrderCustomer(o.customer);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1563(o.lineItems);
+ checkUnnamed1569(o.lineItems);
checkTestOrderPaymentMethod(o.paymentMethod);
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
- checkUnnamed1564(o.promotions);
+ checkUnnamed1570(o.promotions);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.shippingOption, unittest.equals('foo'));
@@ -1818,14 +1816,14 @@
buildCounterTestOrderLineItem--;
}
-buildUnnamed1565() {
+buildUnnamed1571() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1565(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1571(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -1848,7 +1846,7 @@
o.price = buildPrice();
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1565();
+ o.variantAttributes = buildUnnamed1571();
}
buildCounterTestOrderLineItemProduct--;
return o;
@@ -1869,7 +1867,7 @@
checkPrice(o.price);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1565(o.variantAttributes);
+ checkUnnamed1571(o.variantAttributes);
}
buildCounterTestOrderLineItemProduct--;
}
@@ -1901,14 +1899,14 @@
buildCounterTestOrderPaymentMethod--;
}
-buildUnnamed1566() {
+buildUnnamed1572() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1566(core.List<core.String> o) {
+checkUnnamed1572(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'));
@@ -2873,7 +2871,7 @@
var arg_pageToken = "foo";
var arg_placedDateEnd = "foo";
var arg_placedDateStart = "foo";
- var arg_statuses = buildUnnamed1566();
+ var arg_statuses = buildUnnamed1572();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart
index 029d36a..789429f 100644
--- a/generated/googleapis/test/customsearch/v1_test.dart
+++ b/generated/googleapis/test/customsearch/v1_test.dart
@@ -73,30 +73,30 @@
buildCounterContextFacets--;
}
-buildUnnamed302() {
+buildUnnamed306() {
var o = new core.List<api.ContextFacets>();
o.add(buildContextFacets());
o.add(buildContextFacets());
return o;
}
-checkUnnamed302(core.List<api.ContextFacets> o) {
+checkUnnamed306(core.List<api.ContextFacets> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextFacets(o[0]);
checkContextFacets(o[1]);
}
-buildUnnamed303() {
+buildUnnamed307() {
var o = new core.List<core.List<api.ContextFacets>>();
- o.add(buildUnnamed302());
- o.add(buildUnnamed302());
+ o.add(buildUnnamed306());
+ o.add(buildUnnamed306());
return o;
}
-checkUnnamed303(core.List<core.List<api.ContextFacets>> o) {
+checkUnnamed307(core.List<core.List<api.ContextFacets>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed302(o[0]);
- checkUnnamed302(o[1]);
+ checkUnnamed306(o[0]);
+ checkUnnamed306(o[1]);
}
core.int buildCounterContext = 0;
@@ -104,7 +104,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.facets = buildUnnamed303();
+ o.facets = buildUnnamed307();
o.title = "foo";
}
buildCounterContext--;
@@ -114,7 +114,7 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed303(o.facets);
+ checkUnnamed307(o.facets);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterContext--;
@@ -145,14 +145,14 @@
buildCounterPromotionBodyLines--;
}
-buildUnnamed304() {
+buildUnnamed308() {
var o = new core.List<api.PromotionBodyLines>();
o.add(buildPromotionBodyLines());
o.add(buildPromotionBodyLines());
return o;
}
-checkUnnamed304(core.List<api.PromotionBodyLines> o) {
+checkUnnamed308(core.List<api.PromotionBodyLines> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotionBodyLines(o[0]);
checkPromotionBodyLines(o[1]);
@@ -186,7 +186,7 @@
var o = new api.Promotion();
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- o.bodyLines = buildUnnamed304();
+ o.bodyLines = buildUnnamed308();
o.displayLink = "foo";
o.htmlTitle = "foo";
o.image = buildPromotionImage();
@@ -200,7 +200,7 @@
checkPromotion(api.Promotion o) {
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- checkUnnamed304(o.bodyLines);
+ checkUnnamed308(o.bodyLines);
unittest.expect(o.displayLink, unittest.equals('foo'));
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkPromotionImage(o.image);
@@ -353,20 +353,20 @@
buildCounterResultLabels--;
}
-buildUnnamed305() {
+buildUnnamed309() {
var o = new core.List<api.ResultLabels>();
o.add(buildResultLabels());
o.add(buildResultLabels());
return o;
}
-checkUnnamed305(core.List<api.ResultLabels> o) {
+checkUnnamed309(core.List<api.ResultLabels> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultLabels(o[0]);
checkResultLabels(o[1]);
}
-buildUnnamed306() {
+buildUnnamed310() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -381,7 +381,7 @@
return o;
}
-checkUnnamed306(core.Map<core.String, core.Object> o) {
+checkUnnamed310(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -395,32 +395,32 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed307() {
+buildUnnamed311() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed306());
- o.add(buildUnnamed306());
+ o.add(buildUnnamed310());
+ o.add(buildUnnamed310());
return o;
}
-checkUnnamed307(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed311(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed306(o[0]);
- checkUnnamed306(o[1]);
+ checkUnnamed310(o[0]);
+ checkUnnamed310(o[1]);
}
-buildUnnamed308() {
+buildUnnamed312() {
var o = new core
.Map<core.String, core.List<core.Map<core.String, core.Object>>>();
- o["x"] = buildUnnamed307();
- o["y"] = buildUnnamed307();
+ o["x"] = buildUnnamed311();
+ o["y"] = buildUnnamed311();
return o;
}
-checkUnnamed308(
+checkUnnamed312(
core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed307(o["x"]);
- checkUnnamed307(o["y"]);
+ checkUnnamed311(o["x"]);
+ checkUnnamed311(o["y"]);
}
core.int buildCounterResult = 0;
@@ -437,10 +437,10 @@
o.htmlTitle = "foo";
o.image = buildResultImage();
o.kind = "foo";
- o.labels = buildUnnamed305();
+ o.labels = buildUnnamed309();
o.link = "foo";
o.mime = "foo";
- o.pagemap = buildUnnamed308();
+ o.pagemap = buildUnnamed312();
o.snippet = "foo";
o.title = "foo";
}
@@ -460,66 +460,66 @@
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkResultImage(o.image);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed305(o.labels);
+ checkUnnamed309(o.labels);
unittest.expect(o.link, unittest.equals('foo'));
unittest.expect(o.mime, unittest.equals('foo'));
- checkUnnamed308(o.pagemap);
+ checkUnnamed312(o.pagemap);
unittest.expect(o.snippet, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterResult--;
}
-buildUnnamed309() {
+buildUnnamed313() {
var o = new core.List<api.Result>();
o.add(buildResult());
o.add(buildResult());
return o;
}
-checkUnnamed309(core.List<api.Result> o) {
+checkUnnamed313(core.List<api.Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkResult(o[0]);
checkResult(o[1]);
}
-buildUnnamed310() {
+buildUnnamed314() {
var o = new core.List<api.Promotion>();
o.add(buildPromotion());
o.add(buildPromotion());
return o;
}
-checkUnnamed310(core.List<api.Promotion> o) {
+checkUnnamed314(core.List<api.Promotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotion(o[0]);
checkPromotion(o[1]);
}
-buildUnnamed311() {
+buildUnnamed315() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed311(core.List<api.Query> o) {
+checkUnnamed315(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
}
-buildUnnamed312() {
+buildUnnamed316() {
var o = new core.Map<core.String, core.List<api.Query>>();
- o["x"] = buildUnnamed311();
- o["y"] = buildUnnamed311();
+ o["x"] = buildUnnamed315();
+ o["y"] = buildUnnamed315();
return o;
}
-checkUnnamed312(core.Map<core.String, core.List<api.Query>> o) {
+checkUnnamed316(core.Map<core.String, core.List<api.Query>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed311(o["x"]);
- checkUnnamed311(o["y"]);
+ checkUnnamed315(o["x"]);
+ checkUnnamed315(o["y"]);
}
core.int buildCounterSearchSearchInformation = 0;
@@ -595,10 +595,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
o.context = buildContext();
- o.items = buildUnnamed309();
+ o.items = buildUnnamed313();
o.kind = "foo";
- o.promotions = buildUnnamed310();
- o.queries = buildUnnamed312();
+ o.promotions = buildUnnamed314();
+ o.queries = buildUnnamed316();
o.searchInformation = buildSearchSearchInformation();
o.spelling = buildSearchSpelling();
o.url = buildSearchUrl();
@@ -611,10 +611,10 @@
buildCounterSearch++;
if (buildCounterSearch < 3) {
checkContext(o.context);
- checkUnnamed309(o.items);
+ checkUnnamed313(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed310(o.promotions);
- checkUnnamed312(o.queries);
+ checkUnnamed314(o.promotions);
+ checkUnnamed316(o.queries);
checkSearchSearchInformation(o.searchInformation);
checkSearchSpelling(o.spelling);
checkSearchUrl(o.url);
diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart
index 040429f..a984ed8 100644
--- a/generated/googleapis/test/dataproc/v1_test.dart
+++ b/generated/googleapis/test/dataproc/v1_test.dart
@@ -86,27 +86,27 @@
buildCounterCancelJobRequest--;
}
-buildUnnamed533() {
+buildUnnamed537() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed533(core.Map<core.String, core.String> o) {
+checkUnnamed537(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed534() {
+buildUnnamed538() {
var o = new core.List<api.ClusterStatus>();
o.add(buildClusterStatus());
o.add(buildClusterStatus());
return o;
}
-checkUnnamed534(core.List<api.ClusterStatus> o) {
+checkUnnamed538(core.List<api.ClusterStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterStatus(o[0]);
checkClusterStatus(o[1]);
@@ -120,11 +120,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.config = buildClusterConfig();
- o.labels = buildUnnamed533();
+ o.labels = buildUnnamed537();
o.metrics = buildClusterMetrics();
o.projectId = "foo";
o.status = buildClusterStatus();
- o.statusHistory = buildUnnamed534();
+ o.statusHistory = buildUnnamed538();
}
buildCounterCluster--;
return o;
@@ -136,23 +136,23 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
checkClusterConfig(o.config);
- checkUnnamed533(o.labels);
+ checkUnnamed537(o.labels);
checkClusterMetrics(o.metrics);
unittest.expect(o.projectId, unittest.equals('foo'));
checkClusterStatus(o.status);
- checkUnnamed534(o.statusHistory);
+ checkUnnamed538(o.statusHistory);
}
buildCounterCluster--;
}
-buildUnnamed535() {
+buildUnnamed539() {
var o = new core.List<api.NodeInitializationAction>();
o.add(buildNodeInitializationAction());
o.add(buildNodeInitializationAction());
return o;
}
-checkUnnamed535(core.List<api.NodeInitializationAction> o) {
+checkUnnamed539(core.List<api.NodeInitializationAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeInitializationAction(o[0]);
checkNodeInitializationAction(o[1]);
@@ -165,7 +165,7 @@
if (buildCounterClusterConfig < 3) {
o.configBucket = "foo";
o.gceClusterConfig = buildGceClusterConfig();
- o.initializationActions = buildUnnamed535();
+ o.initializationActions = buildUnnamed539();
o.masterConfig = buildInstanceGroupConfig();
o.secondaryWorkerConfig = buildInstanceGroupConfig();
o.softwareConfig = buildSoftwareConfig();
@@ -180,7 +180,7 @@
if (buildCounterClusterConfig < 3) {
unittest.expect(o.configBucket, unittest.equals('foo'));
checkGceClusterConfig(o.gceClusterConfig);
- checkUnnamed535(o.initializationActions);
+ checkUnnamed539(o.initializationActions);
checkInstanceGroupConfig(o.masterConfig);
checkInstanceGroupConfig(o.secondaryWorkerConfig);
checkSoftwareConfig(o.softwareConfig);
@@ -189,27 +189,27 @@
buildCounterClusterConfig--;
}
-buildUnnamed536() {
+buildUnnamed540() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed536(core.Map<core.String, core.String> o) {
+checkUnnamed540(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed537() {
+buildUnnamed541() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed537(core.Map<core.String, core.String> o) {
+checkUnnamed541(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -220,8 +220,8 @@
var o = new api.ClusterMetrics();
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- o.hdfsMetrics = buildUnnamed536();
- o.yarnMetrics = buildUnnamed537();
+ o.hdfsMetrics = buildUnnamed540();
+ o.yarnMetrics = buildUnnamed541();
}
buildCounterClusterMetrics--;
return o;
@@ -230,46 +230,46 @@
checkClusterMetrics(api.ClusterMetrics o) {
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- checkUnnamed536(o.hdfsMetrics);
- checkUnnamed537(o.yarnMetrics);
+ checkUnnamed540(o.hdfsMetrics);
+ checkUnnamed541(o.yarnMetrics);
}
buildCounterClusterMetrics--;
}
-buildUnnamed538() {
+buildUnnamed542() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed538(core.Map<core.String, core.String> o) {
+checkUnnamed542(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed539() {
+buildUnnamed543() {
var o = new core.List<api.ClusterOperationStatus>();
o.add(buildClusterOperationStatus());
o.add(buildClusterOperationStatus());
return o;
}
-checkUnnamed539(core.List<api.ClusterOperationStatus> o) {
+checkUnnamed543(core.List<api.ClusterOperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterOperationStatus(o[0]);
checkClusterOperationStatus(o[1]);
}
-buildUnnamed540() {
+buildUnnamed544() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed540(core.List<core.String> o) {
+checkUnnamed544(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'));
@@ -283,11 +283,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.description = "foo";
- o.labels = buildUnnamed538();
+ o.labels = buildUnnamed542();
o.operationType = "foo";
o.status = buildClusterOperationStatus();
- o.statusHistory = buildUnnamed539();
- o.warnings = buildUnnamed540();
+ o.statusHistory = buildUnnamed543();
+ o.warnings = buildUnnamed544();
}
buildCounterClusterOperationMetadata--;
return o;
@@ -299,11 +299,11 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed538(o.labels);
+ checkUnnamed542(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
checkClusterOperationStatus(o.status);
- checkUnnamed539(o.statusHistory);
- checkUnnamed540(o.warnings);
+ checkUnnamed543(o.statusHistory);
+ checkUnnamed544(o.warnings);
}
buildCounterClusterOperationMetadata--;
}
@@ -428,104 +428,19 @@
buildCounterEmpty--;
}
-buildUnnamed541() {
+buildUnnamed545() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed541(core.Map<core.String, core.String> o) {
+checkUnnamed545(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed542() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed542(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'));
-}
-
-buildUnnamed543() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed543(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 buildCounterGceClusterConfig = 0;
-buildGceClusterConfig() {
- var o = new api.GceClusterConfig();
- buildCounterGceClusterConfig++;
- if (buildCounterGceClusterConfig < 3) {
- o.internalIpOnly = true;
- o.metadata = buildUnnamed541();
- o.networkUri = "foo";
- o.serviceAccount = "foo";
- o.serviceAccountScopes = buildUnnamed542();
- o.subnetworkUri = "foo";
- o.tags = buildUnnamed543();
- o.zoneUri = "foo";
- }
- buildCounterGceClusterConfig--;
- return o;
-}
-
-checkGceClusterConfig(api.GceClusterConfig o) {
- buildCounterGceClusterConfig++;
- if (buildCounterGceClusterConfig < 3) {
- unittest.expect(o.internalIpOnly, unittest.isTrue);
- checkUnnamed541(o.metadata);
- unittest.expect(o.networkUri, unittest.equals('foo'));
- unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed542(o.serviceAccountScopes);
- unittest.expect(o.subnetworkUri, unittest.equals('foo'));
- checkUnnamed543(o.tags);
- unittest.expect(o.zoneUri, unittest.equals('foo'));
- }
- buildCounterGceClusterConfig--;
-}
-
-buildUnnamed544() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed544(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'));
-}
-
-buildUnnamed545() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed545(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'));
-}
-
buildUnnamed546() {
var o = new core.List<core.String>();
o.add("foo");
@@ -552,50 +467,50 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterGceClusterConfig = 0;
+buildGceClusterConfig() {
+ var o = new api.GceClusterConfig();
+ buildCounterGceClusterConfig++;
+ if (buildCounterGceClusterConfig < 3) {
+ o.internalIpOnly = true;
+ o.metadata = buildUnnamed545();
+ o.networkUri = "foo";
+ o.serviceAccount = "foo";
+ o.serviceAccountScopes = buildUnnamed546();
+ o.subnetworkUri = "foo";
+ o.tags = buildUnnamed547();
+ o.zoneUri = "foo";
+ }
+ buildCounterGceClusterConfig--;
+ return o;
+}
+
+checkGceClusterConfig(api.GceClusterConfig o) {
+ buildCounterGceClusterConfig++;
+ if (buildCounterGceClusterConfig < 3) {
+ unittest.expect(o.internalIpOnly, unittest.isTrue);
+ checkUnnamed545(o.metadata);
+ unittest.expect(o.networkUri, unittest.equals('foo'));
+ unittest.expect(o.serviceAccount, unittest.equals('foo'));
+ checkUnnamed546(o.serviceAccountScopes);
+ unittest.expect(o.subnetworkUri, unittest.equals('foo'));
+ checkUnnamed547(o.tags);
+ unittest.expect(o.zoneUri, unittest.equals('foo'));
+ }
+ buildCounterGceClusterConfig--;
+}
+
buildUnnamed548() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed548(core.Map<core.String, core.String> o) {
+checkUnnamed548(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterHadoopJob = 0;
-buildHadoopJob() {
- var o = new api.HadoopJob();
- buildCounterHadoopJob++;
- if (buildCounterHadoopJob < 3) {
- o.archiveUris = buildUnnamed544();
- o.args = buildUnnamed545();
- o.fileUris = buildUnnamed546();
- o.jarFileUris = buildUnnamed547();
- o.loggingConfig = buildLoggingConfig();
- o.mainClass = "foo";
- o.mainJarFileUri = "foo";
- o.properties = buildUnnamed548();
- }
- buildCounterHadoopJob--;
- return o;
-}
-
-checkHadoopJob(api.HadoopJob o) {
- buildCounterHadoopJob++;
- if (buildCounterHadoopJob < 3) {
- checkUnnamed544(o.archiveUris);
- checkUnnamed545(o.args);
- checkUnnamed546(o.fileUris);
- checkUnnamed547(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainClass, unittest.equals('foo'));
- unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed548(o.properties);
- }
- buildCounterHadoopJob--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed549() {
@@ -612,71 +527,75 @@
}
buildUnnamed550() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed550(core.Map<core.String, core.String> o) {
+checkUnnamed550(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed551() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed551(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'));
+}
+
+buildUnnamed552() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed551(core.Map<core.String, core.String> o) {
+checkUnnamed552(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-core.int buildCounterHiveJob = 0;
-buildHiveJob() {
- var o = new api.HiveJob();
- buildCounterHiveJob++;
- if (buildCounterHiveJob < 3) {
- o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed549();
- o.properties = buildUnnamed550();
- o.queryFileUri = "foo";
- o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed551();
+core.int buildCounterHadoopJob = 0;
+buildHadoopJob() {
+ var o = new api.HadoopJob();
+ buildCounterHadoopJob++;
+ if (buildCounterHadoopJob < 3) {
+ o.archiveUris = buildUnnamed548();
+ o.args = buildUnnamed549();
+ o.fileUris = buildUnnamed550();
+ o.jarFileUris = buildUnnamed551();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainClass = "foo";
+ o.mainJarFileUri = "foo";
+ o.properties = buildUnnamed552();
}
- buildCounterHiveJob--;
+ buildCounterHadoopJob--;
return o;
}
-checkHiveJob(api.HiveJob o) {
- buildCounterHiveJob++;
- if (buildCounterHiveJob < 3) {
- unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed549(o.jarFileUris);
- checkUnnamed550(o.properties);
- unittest.expect(o.queryFileUri, unittest.equals('foo'));
- checkQueryList(o.queryList);
- checkUnnamed551(o.scriptVariables);
+checkHadoopJob(api.HadoopJob o) {
+ buildCounterHadoopJob++;
+ if (buildCounterHadoopJob < 3) {
+ checkUnnamed548(o.archiveUris);
+ checkUnnamed549(o.args);
+ checkUnnamed550(o.fileUris);
+ checkUnnamed551(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainClass, unittest.equals('foo'));
+ unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
+ checkUnnamed552(o.properties);
}
- buildCounterHiveJob--;
-}
-
-buildUnnamed552() {
- var o = new core.List<api.AcceleratorConfig>();
- o.add(buildAcceleratorConfig());
- o.add(buildAcceleratorConfig());
- return o;
-}
-
-checkUnnamed552(core.List<api.AcceleratorConfig> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAcceleratorConfig(o[0]);
- checkAcceleratorConfig(o[1]);
+ buildCounterHadoopJob--;
}
buildUnnamed553() {
@@ -692,39 +611,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterInstanceGroupConfig = 0;
-buildInstanceGroupConfig() {
- var o = new api.InstanceGroupConfig();
- buildCounterInstanceGroupConfig++;
- if (buildCounterInstanceGroupConfig < 3) {
- o.accelerators = buildUnnamed552();
- o.diskConfig = buildDiskConfig();
- o.imageUri = "foo";
- o.instanceNames = buildUnnamed553();
- o.isPreemptible = true;
- o.machineTypeUri = "foo";
- o.managedGroupConfig = buildManagedGroupConfig();
- o.numInstances = 42;
- }
- buildCounterInstanceGroupConfig--;
- return o;
-}
-
-checkInstanceGroupConfig(api.InstanceGroupConfig o) {
- buildCounterInstanceGroupConfig++;
- if (buildCounterInstanceGroupConfig < 3) {
- checkUnnamed552(o.accelerators);
- checkDiskConfig(o.diskConfig);
- unittest.expect(o.imageUri, unittest.equals('foo'));
- checkUnnamed553(o.instanceNames);
- unittest.expect(o.isPreemptible, unittest.isTrue);
- unittest.expect(o.machineTypeUri, unittest.equals('foo'));
- checkManagedGroupConfig(o.managedGroupConfig);
- unittest.expect(o.numInstances, unittest.equals(42));
- }
- buildCounterInstanceGroupConfig--;
-}
-
buildUnnamed554() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -739,26 +625,140 @@
}
buildUnnamed555() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed555(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterHiveJob = 0;
+buildHiveJob() {
+ var o = new api.HiveJob();
+ buildCounterHiveJob++;
+ if (buildCounterHiveJob < 3) {
+ o.continueOnFailure = true;
+ o.jarFileUris = buildUnnamed553();
+ o.properties = buildUnnamed554();
+ o.queryFileUri = "foo";
+ o.queryList = buildQueryList();
+ o.scriptVariables = buildUnnamed555();
+ }
+ buildCounterHiveJob--;
+ return o;
+}
+
+checkHiveJob(api.HiveJob o) {
+ buildCounterHiveJob++;
+ if (buildCounterHiveJob < 3) {
+ unittest.expect(o.continueOnFailure, unittest.isTrue);
+ checkUnnamed553(o.jarFileUris);
+ checkUnnamed554(o.properties);
+ unittest.expect(o.queryFileUri, unittest.equals('foo'));
+ checkQueryList(o.queryList);
+ checkUnnamed555(o.scriptVariables);
+ }
+ buildCounterHiveJob--;
+}
+
+buildUnnamed556() {
+ var o = new core.List<api.AcceleratorConfig>();
+ o.add(buildAcceleratorConfig());
+ o.add(buildAcceleratorConfig());
+ return o;
+}
+
+checkUnnamed556(core.List<api.AcceleratorConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAcceleratorConfig(o[0]);
+ checkAcceleratorConfig(o[1]);
+}
+
+buildUnnamed557() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed557(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 buildCounterInstanceGroupConfig = 0;
+buildInstanceGroupConfig() {
+ var o = new api.InstanceGroupConfig();
+ buildCounterInstanceGroupConfig++;
+ if (buildCounterInstanceGroupConfig < 3) {
+ o.accelerators = buildUnnamed556();
+ o.diskConfig = buildDiskConfig();
+ o.imageUri = "foo";
+ o.instanceNames = buildUnnamed557();
+ o.isPreemptible = true;
+ o.machineTypeUri = "foo";
+ o.managedGroupConfig = buildManagedGroupConfig();
+ o.numInstances = 42;
+ }
+ buildCounterInstanceGroupConfig--;
+ return o;
+}
+
+checkInstanceGroupConfig(api.InstanceGroupConfig o) {
+ buildCounterInstanceGroupConfig++;
+ if (buildCounterInstanceGroupConfig < 3) {
+ checkUnnamed556(o.accelerators);
+ checkDiskConfig(o.diskConfig);
+ unittest.expect(o.imageUri, unittest.equals('foo'));
+ checkUnnamed557(o.instanceNames);
+ unittest.expect(o.isPreemptible, unittest.isTrue);
+ unittest.expect(o.machineTypeUri, unittest.equals('foo'));
+ checkManagedGroupConfig(o.managedGroupConfig);
+ unittest.expect(o.numInstances, unittest.equals(42));
+ }
+ buildCounterInstanceGroupConfig--;
+}
+
+buildUnnamed558() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed558(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed559() {
var o = new core.List<api.JobStatus>();
o.add(buildJobStatus());
o.add(buildJobStatus());
return o;
}
-checkUnnamed555(core.List<api.JobStatus> o) {
+checkUnnamed559(core.List<api.JobStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatus(o[0]);
checkJobStatus(o[1]);
}
-buildUnnamed556() {
+buildUnnamed560() {
var o = new core.List<api.YarnApplication>();
o.add(buildYarnApplication());
o.add(buildYarnApplication());
return o;
}
-checkUnnamed556(core.List<api.YarnApplication> o) {
+checkUnnamed560(core.List<api.YarnApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkYarnApplication(o[0]);
checkYarnApplication(o[1]);
@@ -773,7 +773,7 @@
o.driverOutputResourceUri = "foo";
o.hadoopJob = buildHadoopJob();
o.hiveJob = buildHiveJob();
- o.labels = buildUnnamed554();
+ o.labels = buildUnnamed558();
o.pigJob = buildPigJob();
o.placement = buildJobPlacement();
o.pysparkJob = buildPySparkJob();
@@ -782,8 +782,8 @@
o.sparkJob = buildSparkJob();
o.sparkSqlJob = buildSparkSqlJob();
o.status = buildJobStatus();
- o.statusHistory = buildUnnamed555();
- o.yarnApplications = buildUnnamed556();
+ o.statusHistory = buildUnnamed559();
+ o.yarnApplications = buildUnnamed560();
}
buildCounterJob--;
return o;
@@ -796,7 +796,7 @@
unittest.expect(o.driverOutputResourceUri, unittest.equals('foo'));
checkHadoopJob(o.hadoopJob);
checkHiveJob(o.hiveJob);
- checkUnnamed554(o.labels);
+ checkUnnamed558(o.labels);
checkPigJob(o.pigJob);
checkJobPlacement(o.placement);
checkPySparkJob(o.pysparkJob);
@@ -805,8 +805,8 @@
checkSparkJob(o.sparkJob);
checkSparkSqlJob(o.sparkSqlJob);
checkJobStatus(o.status);
- checkUnnamed555(o.statusHistory);
- checkUnnamed556(o.yarnApplications);
+ checkUnnamed559(o.statusHistory);
+ checkUnnamed560(o.yarnApplications);
}
buildCounterJob--;
}
@@ -897,14 +897,14 @@
buildCounterJobStatus--;
}
-buildUnnamed557() {
+buildUnnamed561() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed557(core.List<api.Cluster> o) {
+checkUnnamed561(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
@@ -915,7 +915,7 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed557();
+ o.clusters = buildUnnamed561();
o.nextPageToken = "foo";
}
buildCounterListClustersResponse--;
@@ -925,20 +925,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed557(o.clusters);
+ checkUnnamed561(o.clusters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClustersResponse--;
}
-buildUnnamed558() {
+buildUnnamed562() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed558(core.List<api.Job> o) {
+checkUnnamed562(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -949,7 +949,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed558();
+ o.jobs = buildUnnamed562();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -959,20 +959,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed558(o.jobs);
+ checkUnnamed562(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed559() {
+buildUnnamed563() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed559(core.List<api.Operation> o) {
+checkUnnamed563(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -984,7 +984,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed559();
+ o.operations = buildUnnamed563();
}
buildCounterListOperationsResponse--;
return o;
@@ -994,19 +994,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed559(o.operations);
+ checkUnnamed563(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed560() {
+buildUnnamed564() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed560(core.Map<core.String, core.String> o) {
+checkUnnamed564(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1017,7 +1017,7 @@
var o = new api.LoggingConfig();
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- o.driverLogLevels = buildUnnamed560();
+ o.driverLogLevels = buildUnnamed564();
}
buildCounterLoggingConfig--;
return o;
@@ -1026,7 +1026,7 @@
checkLoggingConfig(api.LoggingConfig o) {
buildCounterLoggingConfig++;
if (buildCounterLoggingConfig < 3) {
- checkUnnamed560(o.driverLogLevels);
+ checkUnnamed564(o.driverLogLevels);
}
buildCounterLoggingConfig--;
}
@@ -1073,7 +1073,7 @@
buildCounterNodeInitializationAction--;
}
-buildUnnamed561() {
+buildUnnamed565() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1088,7 +1088,7 @@
return o;
}
-checkUnnamed561(core.Map<core.String, core.Object> o) {
+checkUnnamed565(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1102,7 +1102,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed562() {
+buildUnnamed566() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1117,7 +1117,7 @@
return o;
}
-checkUnnamed562(core.Map<core.String, core.Object> o) {
+checkUnnamed566(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1138,9 +1138,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed561();
+ o.metadata = buildUnnamed565();
o.name = "foo";
- o.response = buildUnnamed562();
+ o.response = buildUnnamed566();
}
buildCounterOperation--;
return o;
@@ -1151,96 +1151,13 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed561(o.metadata);
+ checkUnnamed565(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed562(o.response);
+ checkUnnamed566(o.response);
}
buildCounterOperation--;
}
-buildUnnamed563() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed563(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'));
-}
-
-buildUnnamed564() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed564(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-buildUnnamed565() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed565(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterPigJob = 0;
-buildPigJob() {
- var o = new api.PigJob();
- buildCounterPigJob++;
- if (buildCounterPigJob < 3) {
- o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed563();
- o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed564();
- o.queryFileUri = "foo";
- o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed565();
- }
- buildCounterPigJob--;
- return o;
-}
-
-checkPigJob(api.PigJob o) {
- buildCounterPigJob++;
- if (buildCounterPigJob < 3) {
- unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed563(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- checkUnnamed564(o.properties);
- unittest.expect(o.queryFileUri, unittest.equals('foo'));
- checkQueryList(o.queryList);
- checkUnnamed565(o.scriptVariables);
- }
- buildCounterPigJob--;
-}
-
-buildUnnamed566() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed566(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'));
-}
-
buildUnnamed567() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1255,44 +1172,75 @@
}
buildUnnamed568() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed568(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'));
-}
-
-buildUnnamed569() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed569(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'));
-}
-
-buildUnnamed570() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed570(core.Map<core.String, core.String> o) {
+checkUnnamed568(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed569() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed569(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+core.int buildCounterPigJob = 0;
+buildPigJob() {
+ var o = new api.PigJob();
+ buildCounterPigJob++;
+ if (buildCounterPigJob < 3) {
+ o.continueOnFailure = true;
+ o.jarFileUris = buildUnnamed567();
+ o.loggingConfig = buildLoggingConfig();
+ o.properties = buildUnnamed568();
+ o.queryFileUri = "foo";
+ o.queryList = buildQueryList();
+ o.scriptVariables = buildUnnamed569();
+ }
+ buildCounterPigJob--;
+ return o;
+}
+
+checkPigJob(api.PigJob o) {
+ buildCounterPigJob++;
+ if (buildCounterPigJob < 3) {
+ unittest.expect(o.continueOnFailure, unittest.isTrue);
+ checkUnnamed567(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ checkUnnamed568(o.properties);
+ unittest.expect(o.queryFileUri, unittest.equals('foo'));
+ checkQueryList(o.queryList);
+ checkUnnamed569(o.scriptVariables);
+ }
+ buildCounterPigJob--;
+}
+
+buildUnnamed570() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed570(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'));
+}
+
buildUnnamed571() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1306,39 +1254,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterPySparkJob = 0;
-buildPySparkJob() {
- var o = new api.PySparkJob();
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- o.archiveUris = buildUnnamed566();
- o.args = buildUnnamed567();
- o.fileUris = buildUnnamed568();
- o.jarFileUris = buildUnnamed569();
- o.loggingConfig = buildLoggingConfig();
- o.mainPythonFileUri = "foo";
- o.properties = buildUnnamed570();
- o.pythonFileUris = buildUnnamed571();
- }
- buildCounterPySparkJob--;
- return o;
-}
-
-checkPySparkJob(api.PySparkJob o) {
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- checkUnnamed566(o.archiveUris);
- checkUnnamed567(o.args);
- checkUnnamed568(o.fileUris);
- checkUnnamed569(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
- checkUnnamed570(o.properties);
- checkUnnamed571(o.pythonFileUris);
- }
- buildCounterPySparkJob--;
-}
-
buildUnnamed572() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1352,72 +1267,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterQueryList = 0;
-buildQueryList() {
- var o = new api.QueryList();
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- o.queries = buildUnnamed572();
- }
- buildCounterQueryList--;
- return o;
-}
-
-checkQueryList(api.QueryList o) {
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- checkUnnamed572(o.queries);
- }
- buildCounterQueryList--;
-}
-
buildUnnamed573() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed573(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterSoftwareConfig = 0;
-buildSoftwareConfig() {
- var o = new api.SoftwareConfig();
- buildCounterSoftwareConfig++;
- if (buildCounterSoftwareConfig < 3) {
- o.imageVersion = "foo";
- o.properties = buildUnnamed573();
- }
- buildCounterSoftwareConfig--;
- return o;
-}
-
-checkSoftwareConfig(api.SoftwareConfig o) {
- buildCounterSoftwareConfig++;
- if (buildCounterSoftwareConfig < 3) {
- unittest.expect(o.imageVersion, unittest.equals('foo'));
- checkUnnamed573(o.properties);
- }
- buildCounterSoftwareConfig--;
-}
-
-buildUnnamed574() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed574(core.List<core.String> o) {
+checkUnnamed573(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'));
}
+buildUnnamed574() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed574(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
buildUnnamed575() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1431,6 +1306,39 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterPySparkJob = 0;
+buildPySparkJob() {
+ var o = new api.PySparkJob();
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ o.archiveUris = buildUnnamed570();
+ o.args = buildUnnamed571();
+ o.fileUris = buildUnnamed572();
+ o.jarFileUris = buildUnnamed573();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainPythonFileUri = "foo";
+ o.properties = buildUnnamed574();
+ o.pythonFileUris = buildUnnamed575();
+ }
+ buildCounterPySparkJob--;
+ return o;
+}
+
+checkPySparkJob(api.PySparkJob o) {
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ checkUnnamed570(o.archiveUris);
+ checkUnnamed571(o.args);
+ checkUnnamed572(o.fileUris);
+ checkUnnamed573(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
+ checkUnnamed574(o.properties);
+ checkUnnamed575(o.pythonFileUris);
+ }
+ buildCounterPySparkJob--;
+}
+
buildUnnamed576() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1444,63 +1352,70 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed577() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+core.int buildCounterQueryList = 0;
+buildQueryList() {
+ var o = new api.QueryList();
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ o.queries = buildUnnamed576();
+ }
+ buildCounterQueryList--;
return o;
}
-checkUnnamed577(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'));
+checkQueryList(api.QueryList o) {
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ checkUnnamed576(o.queries);
+ }
+ buildCounterQueryList--;
}
-buildUnnamed578() {
+buildUnnamed577() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed578(core.Map<core.String, core.String> o) {
+checkUnnamed577(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-core.int buildCounterSparkJob = 0;
-buildSparkJob() {
- var o = new api.SparkJob();
- buildCounterSparkJob++;
- if (buildCounterSparkJob < 3) {
- o.archiveUris = buildUnnamed574();
- o.args = buildUnnamed575();
- o.fileUris = buildUnnamed576();
- o.jarFileUris = buildUnnamed577();
- o.loggingConfig = buildLoggingConfig();
- o.mainClass = "foo";
- o.mainJarFileUri = "foo";
- o.properties = buildUnnamed578();
+core.int buildCounterSoftwareConfig = 0;
+buildSoftwareConfig() {
+ var o = new api.SoftwareConfig();
+ buildCounterSoftwareConfig++;
+ if (buildCounterSoftwareConfig < 3) {
+ o.imageVersion = "foo";
+ o.properties = buildUnnamed577();
}
- buildCounterSparkJob--;
+ buildCounterSoftwareConfig--;
return o;
}
-checkSparkJob(api.SparkJob o) {
- buildCounterSparkJob++;
- if (buildCounterSparkJob < 3) {
- checkUnnamed574(o.archiveUris);
- checkUnnamed575(o.args);
- checkUnnamed576(o.fileUris);
- checkUnnamed577(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainClass, unittest.equals('foo'));
- unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed578(o.properties);
+checkSoftwareConfig(api.SoftwareConfig o) {
+ buildCounterSoftwareConfig++;
+ if (buildCounterSoftwareConfig < 3) {
+ unittest.expect(o.imageVersion, unittest.equals('foo'));
+ checkUnnamed577(o.properties);
}
- buildCounterSparkJob--;
+ buildCounterSoftwareConfig--;
+}
+
+buildUnnamed578() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed578(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'));
}
buildUnnamed579() {
@@ -1517,26 +1432,111 @@
}
buildUnnamed580() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed580(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'));
+}
+
+buildUnnamed581() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed581(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() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed580(core.Map<core.String, core.String> o) {
+checkUnnamed582(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed581() {
+core.int buildCounterSparkJob = 0;
+buildSparkJob() {
+ var o = new api.SparkJob();
+ buildCounterSparkJob++;
+ if (buildCounterSparkJob < 3) {
+ o.archiveUris = buildUnnamed578();
+ o.args = buildUnnamed579();
+ o.fileUris = buildUnnamed580();
+ o.jarFileUris = buildUnnamed581();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainClass = "foo";
+ o.mainJarFileUri = "foo";
+ o.properties = buildUnnamed582();
+ }
+ buildCounterSparkJob--;
+ return o;
+}
+
+checkSparkJob(api.SparkJob o) {
+ buildCounterSparkJob++;
+ if (buildCounterSparkJob < 3) {
+ checkUnnamed578(o.archiveUris);
+ checkUnnamed579(o.args);
+ checkUnnamed580(o.fileUris);
+ checkUnnamed581(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainClass, unittest.equals('foo'));
+ unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
+ checkUnnamed582(o.properties);
+ }
+ buildCounterSparkJob--;
+}
+
+buildUnnamed583() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed583(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'));
+}
+
+buildUnnamed584() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed581(core.Map<core.String, core.String> o) {
+checkUnnamed584(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed585() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed585(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1547,12 +1547,12 @@
var o = new api.SparkSqlJob();
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- o.jarFileUris = buildUnnamed579();
+ o.jarFileUris = buildUnnamed583();
o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed580();
+ o.properties = buildUnnamed584();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed581();
+ o.scriptVariables = buildUnnamed585();
}
buildCounterSparkSqlJob--;
return o;
@@ -1561,17 +1561,17 @@
checkSparkSqlJob(api.SparkSqlJob o) {
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- checkUnnamed579(o.jarFileUris);
+ checkUnnamed583(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- checkUnnamed580(o.properties);
+ checkUnnamed584(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed581(o.scriptVariables);
+ checkUnnamed585(o.scriptVariables);
}
buildCounterSparkSqlJob--;
}
-buildUnnamed582() {
+buildUnnamed586() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1586,7 +1586,7 @@
return o;
}
-checkUnnamed582(core.Map<core.String, core.Object> o) {
+checkUnnamed586(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1600,17 +1600,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed583() {
+buildUnnamed587() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed582());
- o.add(buildUnnamed582());
+ o.add(buildUnnamed586());
+ o.add(buildUnnamed586());
return o;
}
-checkUnnamed583(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed587(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed582(o[0]);
- checkUnnamed582(o[1]);
+ checkUnnamed586(o[0]);
+ checkUnnamed586(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1619,7 +1619,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed583();
+ o.details = buildUnnamed587();
o.message = "foo";
}
buildCounterStatus--;
@@ -1630,7 +1630,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed583(o.details);
+ checkUnnamed587(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2292,9 +2292,9 @@
new api.DataprocApi(mock).projects.regions.clusters;
var arg_projectId = "foo";
var arg_region = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2344,11 +2344,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2359,9 +2359,9 @@
}), true);
res
.list(arg_projectId, arg_region,
+ pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListClustersResponse response) {
checkListClustersResponse(response);
@@ -2691,11 +2691,11 @@
new api.DataprocApi(mock).projects.regions.jobs;
var arg_projectId = "foo";
var arg_region = "foo";
+ var arg_clusterName = "foo";
var arg_filter = "foo";
var arg_jobStateMatcher = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_clusterName = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2745,6 +2745,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["clusterName"].first, unittest.equals(arg_clusterName));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["jobStateMatcher"].first,
unittest.equals(arg_jobStateMatcher));
@@ -2752,8 +2754,6 @@
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["clusterName"].first, unittest.equals(arg_clusterName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2764,11 +2764,11 @@
}), true);
res
.list(arg_projectId, arg_region,
+ clusterName: arg_clusterName,
filter: arg_filter,
jobStateMatcher: arg_jobStateMatcher,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- clusterName: arg_clusterName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListJobsResponse response) {
checkListJobsResponse(response);
diff --git a/generated/googleapis/test/datastore/v1_test.dart b/generated/googleapis/test/datastore/v1_test.dart
index fadcacc..49b7a41 100644
--- a/generated/googleapis/test/datastore/v1_test.dart
+++ b/generated/googleapis/test/datastore/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed651() {
+buildUnnamed655() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed651(core.List<api.Key> o) {
+checkUnnamed655(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AllocateIdsRequest();
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- o.keys = buildUnnamed651();
+ o.keys = buildUnnamed655();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -77,19 +77,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed651(o.keys);
+ checkUnnamed655(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed652() {
+buildUnnamed656() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed652(core.List<api.Key> o) {
+checkUnnamed656(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -100,7 +100,7 @@
var o = new api.AllocateIdsResponse();
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- o.keys = buildUnnamed652();
+ o.keys = buildUnnamed656();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -109,19 +109,19 @@
checkAllocateIdsResponse(api.AllocateIdsResponse o) {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- checkUnnamed652(o.keys);
+ checkUnnamed656(o.keys);
}
buildCounterAllocateIdsResponse--;
}
-buildUnnamed653() {
+buildUnnamed657() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed653(core.List<api.Value> o) {
+checkUnnamed657(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -132,7 +132,7 @@
var o = new api.ArrayValue();
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- o.values = buildUnnamed653();
+ o.values = buildUnnamed657();
}
buildCounterArrayValue--;
return o;
@@ -141,7 +141,7 @@
checkArrayValue(api.ArrayValue o) {
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- checkUnnamed653(o.values);
+ checkUnnamed657(o.values);
}
buildCounterArrayValue--;
}
@@ -184,14 +184,14 @@
buildCounterBeginTransactionResponse--;
}
-buildUnnamed654() {
+buildUnnamed658() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed654(core.List<api.Mutation> o) {
+checkUnnamed658(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -203,7 +203,7 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
o.mode = "foo";
- o.mutations = buildUnnamed654();
+ o.mutations = buildUnnamed658();
o.transaction = "foo";
}
buildCounterCommitRequest--;
@@ -214,20 +214,20 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
unittest.expect(o.mode, unittest.equals('foo'));
- checkUnnamed654(o.mutations);
+ checkUnnamed658(o.mutations);
unittest.expect(o.transaction, unittest.equals('foo'));
}
buildCounterCommitRequest--;
}
-buildUnnamed655() {
+buildUnnamed659() {
var o = new core.List<api.MutationResult>();
o.add(buildMutationResult());
o.add(buildMutationResult());
return o;
}
-checkUnnamed655(core.List<api.MutationResult> o) {
+checkUnnamed659(core.List<api.MutationResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutationResult(o[0]);
checkMutationResult(o[1]);
@@ -239,7 +239,7 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
o.indexUpdates = 42;
- o.mutationResults = buildUnnamed655();
+ o.mutationResults = buildUnnamed659();
}
buildCounterCommitResponse--;
return o;
@@ -249,19 +249,19 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed655(o.mutationResults);
+ checkUnnamed659(o.mutationResults);
}
buildCounterCommitResponse--;
}
-buildUnnamed656() {
+buildUnnamed660() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed656(core.List<api.Filter> o) {
+checkUnnamed660(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -272,7 +272,7 @@
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed656();
+ o.filters = buildUnnamed660();
o.op = "foo";
}
buildCounterCompositeFilter--;
@@ -282,7 +282,7 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed656(o.filters);
+ checkUnnamed660(o.filters);
unittest.expect(o.op, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
@@ -303,14 +303,14 @@
buildCounterEmpty--;
}
-buildUnnamed657() {
+buildUnnamed661() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed657(core.Map<core.String, api.Value> o) {
+checkUnnamed661(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -322,7 +322,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
o.key = buildKey();
- o.properties = buildUnnamed657();
+ o.properties = buildUnnamed661();
}
buildCounterEntity--;
return o;
@@ -332,7 +332,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed657(o.properties);
+ checkUnnamed661(o.properties);
}
buildCounterEntity--;
}
@@ -381,14 +381,14 @@
buildCounterFilter--;
}
-buildUnnamed658() {
+buildUnnamed662() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed658(core.Map<core.String, core.String> o) {
+checkUnnamed662(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -400,7 +400,7 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata++;
if (buildCounterGoogleDatastoreAdminV1beta1CommonMetadata < 3) {
o.endTime = "foo";
- o.labels = buildUnnamed658();
+ o.labels = buildUnnamed662();
o.operationType = "foo";
o.startTime = "foo";
o.state = "foo";
@@ -414,7 +414,7 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata++;
if (buildCounterGoogleDatastoreAdminV1beta1CommonMetadata < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed658(o.labels);
+ checkUnnamed662(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -422,27 +422,27 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata--;
}
-buildUnnamed659() {
+buildUnnamed663() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed659(core.List<core.String> o) {
+checkUnnamed663(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'));
}
-buildUnnamed660() {
+buildUnnamed664() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed660(core.List<core.String> o) {
+checkUnnamed664(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'));
@@ -453,8 +453,8 @@
var o = new api.GoogleDatastoreAdminV1beta1EntityFilter();
buildCounterGoogleDatastoreAdminV1beta1EntityFilter++;
if (buildCounterGoogleDatastoreAdminV1beta1EntityFilter < 3) {
- o.kinds = buildUnnamed659();
- o.namespaceIds = buildUnnamed660();
+ o.kinds = buildUnnamed663();
+ o.namespaceIds = buildUnnamed664();
}
buildCounterGoogleDatastoreAdminV1beta1EntityFilter--;
return o;
@@ -464,8 +464,8 @@
api.GoogleDatastoreAdminV1beta1EntityFilter o) {
buildCounterGoogleDatastoreAdminV1beta1EntityFilter++;
if (buildCounterGoogleDatastoreAdminV1beta1EntityFilter < 3) {
- checkUnnamed659(o.kinds);
- checkUnnamed660(o.namespaceIds);
+ checkUnnamed663(o.kinds);
+ checkUnnamed664(o.namespaceIds);
}
buildCounterGoogleDatastoreAdminV1beta1EntityFilter--;
}
@@ -568,14 +568,14 @@
buildCounterGoogleDatastoreAdminV1beta1Progress--;
}
-buildUnnamed661() {
+buildUnnamed665() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed661(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed665(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -587,7 +587,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed661();
+ o.operations = buildUnnamed665();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -598,12 +598,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed661(o.operations);
+ checkUnnamed665(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed662() {
+buildUnnamed666() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -618,7 +618,7 @@
return o;
}
-checkUnnamed662(core.Map<core.String, core.Object> o) {
+checkUnnamed666(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -632,7 +632,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed663() {
+buildUnnamed667() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -647,7 +647,7 @@
return o;
}
-checkUnnamed663(core.Map<core.String, core.Object> o) {
+checkUnnamed667(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -668,9 +668,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed662();
+ o.metadata = buildUnnamed666();
o.name = "foo";
- o.response = buildUnnamed663();
+ o.response = buildUnnamed667();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -681,34 +681,34 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed662(o.metadata);
+ checkUnnamed666(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed663(o.response);
+ checkUnnamed667(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
-buildUnnamed664() {
+buildUnnamed668() {
var o = new core.Map<core.String, api.GqlQueryParameter>();
o["x"] = buildGqlQueryParameter();
o["y"] = buildGqlQueryParameter();
return o;
}
-checkUnnamed664(core.Map<core.String, api.GqlQueryParameter> o) {
+checkUnnamed668(core.Map<core.String, api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o["x"]);
checkGqlQueryParameter(o["y"]);
}
-buildUnnamed665() {
+buildUnnamed669() {
var o = new core.List<api.GqlQueryParameter>();
o.add(buildGqlQueryParameter());
o.add(buildGqlQueryParameter());
return o;
}
-checkUnnamed665(core.List<api.GqlQueryParameter> o) {
+checkUnnamed669(core.List<api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o[0]);
checkGqlQueryParameter(o[1]);
@@ -720,8 +720,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiterals = true;
- o.namedBindings = buildUnnamed664();
- o.positionalBindings = buildUnnamed665();
+ o.namedBindings = buildUnnamed668();
+ o.positionalBindings = buildUnnamed669();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -732,8 +732,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiterals, unittest.isTrue);
- checkUnnamed664(o.namedBindings);
- checkUnnamed665(o.positionalBindings);
+ checkUnnamed668(o.namedBindings);
+ checkUnnamed669(o.positionalBindings);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -760,14 +760,14 @@
buildCounterGqlQueryParameter--;
}
-buildUnnamed666() {
+buildUnnamed670() {
var o = new core.List<api.PathElement>();
o.add(buildPathElement());
o.add(buildPathElement());
return o;
}
-checkUnnamed666(core.List<api.PathElement> o) {
+checkUnnamed670(core.List<api.PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathElement(o[0]);
checkPathElement(o[1]);
@@ -779,7 +779,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed666();
+ o.path = buildUnnamed670();
}
buildCounterKey--;
return o;
@@ -789,7 +789,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed666(o.path);
+ checkUnnamed670(o.path);
}
buildCounterKey--;
}
@@ -834,14 +834,14 @@
buildCounterLatLng--;
}
-buildUnnamed667() {
+buildUnnamed671() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed667(core.List<api.Key> o) {
+checkUnnamed671(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -852,7 +852,7 @@
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed667();
+ o.keys = buildUnnamed671();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -862,46 +862,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed667(o.keys);
+ checkUnnamed671(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed668() {
+buildUnnamed672() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed668(core.List<api.Key> o) {
+checkUnnamed672(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed669() {
+buildUnnamed673() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed669(core.List<api.EntityResult> o) {
+checkUnnamed673(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed670() {
+buildUnnamed674() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed670(core.List<api.EntityResult> o) {
+checkUnnamed674(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -912,9 +912,9 @@
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed668();
- o.found = buildUnnamed669();
- o.missing = buildUnnamed670();
+ o.deferred = buildUnnamed672();
+ o.found = buildUnnamed673();
+ o.missing = buildUnnamed674();
}
buildCounterLookupResponse--;
return o;
@@ -923,9 +923,9 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed668(o.deferred);
- checkUnnamed669(o.found);
- checkUnnamed670(o.missing);
+ checkUnnamed672(o.deferred);
+ checkUnnamed673(o.found);
+ checkUnnamed674(o.missing);
}
buildCounterLookupResponse--;
}
@@ -1106,53 +1106,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed671() {
+buildUnnamed675() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed671(core.List<api.PropertyReference> o) {
+checkUnnamed675(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed672() {
+buildUnnamed676() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed672(core.List<api.KindExpression> o) {
+checkUnnamed676(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed673() {
+buildUnnamed677() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed673(core.List<api.PropertyOrder> o) {
+checkUnnamed677(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed674() {
+buildUnnamed678() {
var o = new core.List<api.Projection>();
o.add(buildProjection());
o.add(buildProjection());
return o;
}
-checkUnnamed674(core.List<api.Projection> o) {
+checkUnnamed678(core.List<api.Projection> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjection(o[0]);
checkProjection(o[1]);
@@ -1163,14 +1163,14 @@
var o = new api.Query();
buildCounterQuery++;
if (buildCounterQuery < 3) {
- o.distinctOn = buildUnnamed671();
+ o.distinctOn = buildUnnamed675();
o.endCursor = "foo";
o.filter = buildFilter();
- o.kind = buildUnnamed672();
+ o.kind = buildUnnamed676();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed673();
- o.projection = buildUnnamed674();
+ o.order = buildUnnamed677();
+ o.projection = buildUnnamed678();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -1180,27 +1180,27 @@
checkQuery(api.Query o) {
buildCounterQuery++;
if (buildCounterQuery < 3) {
- checkUnnamed671(o.distinctOn);
+ checkUnnamed675(o.distinctOn);
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed672(o.kind);
+ checkUnnamed676(o.kind);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed673(o.order);
- checkUnnamed674(o.projection);
+ checkUnnamed677(o.order);
+ checkUnnamed678(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed675() {
+buildUnnamed679() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed675(core.List<api.EntityResult> o) {
+checkUnnamed679(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -1213,7 +1213,7 @@
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed675();
+ o.entityResults = buildUnnamed679();
o.moreResults = "foo";
o.skippedCursor = "foo";
o.skippedResults = 42;
@@ -1228,7 +1228,7 @@
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed675(o.entityResults);
+ checkUnnamed679(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedCursor, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
@@ -1292,14 +1292,14 @@
buildCounterReadWrite--;
}
-buildUnnamed676() {
+buildUnnamed680() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed676(core.List<api.Key> o) {
+checkUnnamed680(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -1311,7 +1311,7 @@
buildCounterReserveIdsRequest++;
if (buildCounterReserveIdsRequest < 3) {
o.databaseId = "foo";
- o.keys = buildUnnamed676();
+ o.keys = buildUnnamed680();
}
buildCounterReserveIdsRequest--;
return o;
@@ -1321,7 +1321,7 @@
buildCounterReserveIdsRequest++;
if (buildCounterReserveIdsRequest < 3) {
unittest.expect(o.databaseId, unittest.equals('foo'));
- checkUnnamed676(o.keys);
+ checkUnnamed680(o.keys);
}
buildCounterReserveIdsRequest--;
}
@@ -1421,7 +1421,7 @@
buildCounterRunQueryResponse--;
}
-buildUnnamed677() {
+buildUnnamed681() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1436,7 +1436,7 @@
return o;
}
-checkUnnamed677(core.Map<core.String, core.Object> o) {
+checkUnnamed681(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1450,17 +1450,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed678() {
+buildUnnamed682() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed677());
- o.add(buildUnnamed677());
+ o.add(buildUnnamed681());
+ o.add(buildUnnamed681());
return o;
}
-checkUnnamed678(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed682(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed677(o[0]);
- checkUnnamed677(o[1]);
+ checkUnnamed681(o[0]);
+ checkUnnamed681(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1469,7 +1469,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed678();
+ o.details = buildUnnamed682();
o.message = "foo";
}
buildCounterStatus--;
@@ -1480,7 +1480,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed678(o.details);
+ checkUnnamed682(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2559,9 +2559,9 @@
api.ProjectsOperationsResourceApi res =
new api.DatastoreApi(mock).projects.operations;
var arg_name = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2594,11 +2594,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2610,9 +2610,9 @@
}), true);
res
.list(arg_name,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(
((api.GoogleLongrunningListOperationsResponse response) {
diff --git a/generated/googleapis/test/deploymentmanager/v2_test.dart b/generated/googleapis/test/deploymentmanager/v2_test.dart
index 976701e..146d218 100644
--- a/generated/googleapis/test/deploymentmanager/v2_test.dart
+++ b/generated/googleapis/test/deploymentmanager/v2_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2241() {
+buildUnnamed2247() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed2241(core.List<api.AuditLogConfig> o) {
+checkUnnamed2247(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed2242() {
+buildUnnamed2248() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2242(core.List<core.String> o) {
+checkUnnamed2248(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'));
@@ -81,8 +81,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed2241();
- o.exemptedMembers = buildUnnamed2242();
+ o.auditLogConfigs = buildUnnamed2247();
+ o.exemptedMembers = buildUnnamed2248();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -92,21 +92,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed2241(o.auditLogConfigs);
- checkUnnamed2242(o.exemptedMembers);
+ checkUnnamed2247(o.auditLogConfigs);
+ checkUnnamed2248(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed2243() {
+buildUnnamed2249() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2243(core.List<core.String> o) {
+checkUnnamed2249(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'));
@@ -117,7 +117,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed2243();
+ o.exemptedMembers = buildUnnamed2249();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -127,7 +127,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed2243(o.exemptedMembers);
+ checkUnnamed2249(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -152,14 +152,14 @@
buildCounterAuthorizationLoggingOptions--;
}
-buildUnnamed2244() {
+buildUnnamed2250() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2244(core.List<core.String> o) {
+checkUnnamed2250(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'));
@@ -171,7 +171,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed2244();
+ o.members = buildUnnamed2250();
o.role = "foo";
}
buildCounterBinding--;
@@ -182,20 +182,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed2244(o.members);
+ checkUnnamed2250(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2245() {
+buildUnnamed2251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2245(core.List<core.String> o) {
+checkUnnamed2251(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'));
@@ -211,7 +211,7 @@
o.svc = "foo";
o.sys = "foo";
o.value = "foo";
- o.values = buildUnnamed2245();
+ o.values = buildUnnamed2251();
}
buildCounterCondition--;
return o;
@@ -225,7 +225,7 @@
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
- checkUnnamed2245(o.values);
+ checkUnnamed2251(o.values);
}
buildCounterCondition--;
}
@@ -249,14 +249,14 @@
buildCounterConfigFile--;
}
-buildUnnamed2246() {
+buildUnnamed2252() {
var o = new core.List<api.DeploymentLabelEntry>();
o.add(buildDeploymentLabelEntry());
o.add(buildDeploymentLabelEntry());
return o;
}
-checkUnnamed2246(core.List<api.DeploymentLabelEntry> o) {
+checkUnnamed2252(core.List<api.DeploymentLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentLabelEntry(o[0]);
checkDeploymentLabelEntry(o[1]);
@@ -271,7 +271,7 @@
o.fingerprint = "foo";
o.id = "foo";
o.insertTime = "foo";
- o.labels = buildUnnamed2246();
+ o.labels = buildUnnamed2252();
o.manifest = "foo";
o.name = "foo";
o.operation = buildOperation();
@@ -290,7 +290,7 @@
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.insertTime, unittest.equals('foo'));
- checkUnnamed2246(o.labels);
+ checkUnnamed2252(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkOperation(o.operation);
@@ -322,14 +322,14 @@
buildCounterDeploymentLabelEntry--;
}
-buildUnnamed2247() {
+buildUnnamed2253() {
var o = new core.List<api.DeploymentUpdateLabelEntry>();
o.add(buildDeploymentUpdateLabelEntry());
o.add(buildDeploymentUpdateLabelEntry());
return o;
}
-checkUnnamed2247(core.List<api.DeploymentUpdateLabelEntry> o) {
+checkUnnamed2253(core.List<api.DeploymentUpdateLabelEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeploymentUpdateLabelEntry(o[0]);
checkDeploymentUpdateLabelEntry(o[1]);
@@ -341,7 +341,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
o.description = "foo";
- o.labels = buildUnnamed2247();
+ o.labels = buildUnnamed2253();
o.manifest = "foo";
}
buildCounterDeploymentUpdate--;
@@ -352,7 +352,7 @@
buildCounterDeploymentUpdate++;
if (buildCounterDeploymentUpdate < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2247(o.labels);
+ checkUnnamed2253(o.labels);
unittest.expect(o.manifest, unittest.equals('foo'));
}
buildCounterDeploymentUpdate--;
@@ -398,14 +398,14 @@
buildCounterDeploymentsCancelPreviewRequest--;
}
-buildUnnamed2248() {
+buildUnnamed2254() {
var o = new core.List<api.Deployment>();
o.add(buildDeployment());
o.add(buildDeployment());
return o;
}
-checkUnnamed2248(core.List<api.Deployment> o) {
+checkUnnamed2254(core.List<api.Deployment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeployment(o[0]);
checkDeployment(o[1]);
@@ -416,7 +416,7 @@
var o = new api.DeploymentsListResponse();
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- o.deployments = buildUnnamed2248();
+ o.deployments = buildUnnamed2254();
o.nextPageToken = "foo";
}
buildCounterDeploymentsListResponse--;
@@ -426,7 +426,7 @@
checkDeploymentsListResponse(api.DeploymentsListResponse o) {
buildCounterDeploymentsListResponse++;
if (buildCounterDeploymentsListResponse < 3) {
- checkUnnamed2248(o.deployments);
+ checkUnnamed2254(o.deployments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDeploymentsListResponse--;
@@ -581,14 +581,14 @@
buildCounterLogConfigDataAccessOptions--;
}
-buildUnnamed2249() {
+buildUnnamed2255() {
var o = new core.List<api.ImportFile>();
o.add(buildImportFile());
o.add(buildImportFile());
return o;
}
-checkUnnamed2249(core.List<api.ImportFile> o) {
+checkUnnamed2255(core.List<api.ImportFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportFile(o[0]);
checkImportFile(o[1]);
@@ -602,7 +602,7 @@
o.config = buildConfigFile();
o.expandedConfig = "foo";
o.id = "foo";
- o.imports = buildUnnamed2249();
+ o.imports = buildUnnamed2255();
o.insertTime = "foo";
o.layout = "foo";
o.name = "foo";
@@ -618,7 +618,7 @@
checkConfigFile(o.config);
unittest.expect(o.expandedConfig, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2249(o.imports);
+ checkUnnamed2255(o.imports);
unittest.expect(o.insertTime, unittest.equals('foo'));
unittest.expect(o.layout, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -627,14 +627,14 @@
buildCounterManifest--;
}
-buildUnnamed2250() {
+buildUnnamed2256() {
var o = new core.List<api.Manifest>();
o.add(buildManifest());
o.add(buildManifest());
return o;
}
-checkUnnamed2250(core.List<api.Manifest> o) {
+checkUnnamed2256(core.List<api.Manifest> o) {
unittest.expect(o, unittest.hasLength(2));
checkManifest(o[0]);
checkManifest(o[1]);
@@ -645,7 +645,7 @@
var o = new api.ManifestsListResponse();
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- o.manifests = buildUnnamed2250();
+ o.manifests = buildUnnamed2256();
o.nextPageToken = "foo";
}
buildCounterManifestsListResponse--;
@@ -655,7 +655,7 @@
checkManifestsListResponse(api.ManifestsListResponse o) {
buildCounterManifestsListResponse++;
if (buildCounterManifestsListResponse < 3) {
- checkUnnamed2250(o.manifests);
+ checkUnnamed2256(o.manifests);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManifestsListResponse--;
@@ -684,14 +684,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed2251() {
+buildUnnamed2257() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed2251(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2257(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -702,7 +702,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed2251();
+ o.errors = buildUnnamed2257();
}
buildCounterOperationError--;
return o;
@@ -711,7 +711,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed2251(o.errors);
+ checkUnnamed2257(o.errors);
}
buildCounterOperationError--;
}
@@ -737,14 +737,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed2252() {
+buildUnnamed2258() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed2252(core.List<api.OperationWarningsData> o) {
+checkUnnamed2258(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -756,7 +756,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2252();
+ o.data = buildUnnamed2258();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -767,20 +767,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2252(o.data);
+ checkUnnamed2258(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed2253() {
+buildUnnamed2259() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed2253(core.List<api.OperationWarnings> o) {
+checkUnnamed2259(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -812,7 +812,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed2253();
+ o.warnings = buildUnnamed2259();
o.zone = "foo";
}
buildCounterOperation--;
@@ -843,20 +843,20 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2253(o.warnings);
+ checkUnnamed2259(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed2254() {
+buildUnnamed2260() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2254(core.List<api.Operation> o) {
+checkUnnamed2260(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -868,7 +868,7 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2254();
+ o.operations = buildUnnamed2260();
}
buildCounterOperationsListResponse--;
return o;
@@ -878,45 +878,45 @@
buildCounterOperationsListResponse++;
if (buildCounterOperationsListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2254(o.operations);
+ checkUnnamed2260(o.operations);
}
buildCounterOperationsListResponse--;
}
-buildUnnamed2255() {
+buildUnnamed2261() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed2255(core.List<api.AuditConfig> o) {
+checkUnnamed2261(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed2256() {
+buildUnnamed2262() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2256(core.List<api.Binding> o) {
+checkUnnamed2262(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed2257() {
+buildUnnamed2263() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2257(core.List<api.Rule> o) {
+checkUnnamed2263(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -927,11 +927,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed2255();
- o.bindings = buildUnnamed2256();
+ o.auditConfigs = buildUnnamed2261();
+ o.bindings = buildUnnamed2262();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed2257();
+ o.rules = buildUnnamed2263();
o.version = 42;
}
buildCounterPolicy--;
@@ -941,11 +941,11 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2255(o.auditConfigs);
- checkUnnamed2256(o.bindings);
+ checkUnnamed2261(o.auditConfigs);
+ checkUnnamed2262(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed2257(o.rules);
+ checkUnnamed2263(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
@@ -972,14 +972,14 @@
buildCounterResourceWarningsData--;
}
-buildUnnamed2258() {
+buildUnnamed2264() {
var o = new core.List<api.ResourceWarningsData>();
o.add(buildResourceWarningsData());
o.add(buildResourceWarningsData());
return o;
}
-checkUnnamed2258(core.List<api.ResourceWarningsData> o) {
+checkUnnamed2264(core.List<api.ResourceWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarningsData(o[0]);
checkResourceWarningsData(o[1]);
@@ -991,7 +991,7 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2258();
+ o.data = buildUnnamed2264();
o.message = "foo";
}
buildCounterResourceWarnings--;
@@ -1002,20 +1002,20 @@
buildCounterResourceWarnings++;
if (buildCounterResourceWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2258(o.data);
+ checkUnnamed2264(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceWarnings--;
}
-buildUnnamed2259() {
+buildUnnamed2265() {
var o = new core.List<api.ResourceWarnings>();
o.add(buildResourceWarnings());
o.add(buildResourceWarnings());
return o;
}
-checkUnnamed2259(core.List<api.ResourceWarnings> o) {
+checkUnnamed2265(core.List<api.ResourceWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceWarnings(o[0]);
checkResourceWarnings(o[1]);
@@ -1037,7 +1037,7 @@
o.update = buildResourceUpdate();
o.updateTime = "foo";
o.url = "foo";
- o.warnings = buildUnnamed2259();
+ o.warnings = buildUnnamed2265();
}
buildCounterResource--;
return o;
@@ -1057,7 +1057,7 @@
checkResourceUpdate(o.update);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed2259(o.warnings);
+ checkUnnamed2265(o.warnings);
}
buildCounterResource--;
}
@@ -1104,14 +1104,14 @@
buildCounterResourceUpdateErrorErrors--;
}
-buildUnnamed2260() {
+buildUnnamed2266() {
var o = new core.List<api.ResourceUpdateErrorErrors>();
o.add(buildResourceUpdateErrorErrors());
o.add(buildResourceUpdateErrorErrors());
return o;
}
-checkUnnamed2260(core.List<api.ResourceUpdateErrorErrors> o) {
+checkUnnamed2266(core.List<api.ResourceUpdateErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateErrorErrors(o[0]);
checkResourceUpdateErrorErrors(o[1]);
@@ -1122,7 +1122,7 @@
var o = new api.ResourceUpdateError();
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- o.errors = buildUnnamed2260();
+ o.errors = buildUnnamed2266();
}
buildCounterResourceUpdateError--;
return o;
@@ -1131,7 +1131,7 @@
checkResourceUpdateError(api.ResourceUpdateError o) {
buildCounterResourceUpdateError++;
if (buildCounterResourceUpdateError < 3) {
- checkUnnamed2260(o.errors);
+ checkUnnamed2266(o.errors);
}
buildCounterResourceUpdateError--;
}
@@ -1157,14 +1157,14 @@
buildCounterResourceUpdateWarningsData--;
}
-buildUnnamed2261() {
+buildUnnamed2267() {
var o = new core.List<api.ResourceUpdateWarningsData>();
o.add(buildResourceUpdateWarningsData());
o.add(buildResourceUpdateWarningsData());
return o;
}
-checkUnnamed2261(core.List<api.ResourceUpdateWarningsData> o) {
+checkUnnamed2267(core.List<api.ResourceUpdateWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarningsData(o[0]);
checkResourceUpdateWarningsData(o[1]);
@@ -1176,7 +1176,7 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2261();
+ o.data = buildUnnamed2267();
o.message = "foo";
}
buildCounterResourceUpdateWarnings--;
@@ -1187,20 +1187,20 @@
buildCounterResourceUpdateWarnings++;
if (buildCounterResourceUpdateWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2261(o.data);
+ checkUnnamed2267(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourceUpdateWarnings--;
}
-buildUnnamed2262() {
+buildUnnamed2268() {
var o = new core.List<api.ResourceUpdateWarnings>();
o.add(buildResourceUpdateWarnings());
o.add(buildResourceUpdateWarnings());
return o;
}
-checkUnnamed2262(core.List<api.ResourceUpdateWarnings> o) {
+checkUnnamed2268(core.List<api.ResourceUpdateWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceUpdateWarnings(o[0]);
checkResourceUpdateWarnings(o[1]);
@@ -1218,7 +1218,7 @@
o.manifest = "foo";
o.properties = "foo";
o.state = "foo";
- o.warnings = buildUnnamed2262();
+ o.warnings = buildUnnamed2268();
}
buildCounterResourceUpdate--;
return o;
@@ -1234,19 +1234,19 @@
unittest.expect(o.manifest, unittest.equals('foo'));
unittest.expect(o.properties, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed2262(o.warnings);
+ checkUnnamed2268(o.warnings);
}
buildCounterResourceUpdate--;
}
-buildUnnamed2263() {
+buildUnnamed2269() {
var o = new core.List<api.Resource>();
o.add(buildResource());
o.add(buildResource());
return o;
}
-checkUnnamed2263(core.List<api.Resource> o) {
+checkUnnamed2269(core.List<api.Resource> o) {
unittest.expect(o, unittest.hasLength(2));
checkResource(o[0]);
checkResource(o[1]);
@@ -1258,7 +1258,7 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
o.nextPageToken = "foo";
- o.resources = buildUnnamed2263();
+ o.resources = buildUnnamed2269();
}
buildCounterResourcesListResponse--;
return o;
@@ -1268,173 +1268,24 @@
buildCounterResourcesListResponse++;
if (buildCounterResourcesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2263(o.resources);
+ checkUnnamed2269(o.resources);
}
buildCounterResourcesListResponse--;
}
-buildUnnamed2264() {
+buildUnnamed2270() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed2264(core.List<api.Condition> o) {
+checkUnnamed2270(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed2265() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2265(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'));
-}
-
-buildUnnamed2266() {
- var o = new core.List<api.LogConfig>();
- o.add(buildLogConfig());
- o.add(buildLogConfig());
- return o;
-}
-
-checkUnnamed2266(core.List<api.LogConfig> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLogConfig(o[0]);
- checkLogConfig(o[1]);
-}
-
-buildUnnamed2267() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2267(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'));
-}
-
-buildUnnamed2268() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2268(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 buildCounterRule = 0;
-buildRule() {
- var o = new api.Rule();
- buildCounterRule++;
- if (buildCounterRule < 3) {
- o.action = "foo";
- o.conditions = buildUnnamed2264();
- o.description = "foo";
- o.ins = buildUnnamed2265();
- o.logConfigs = buildUnnamed2266();
- o.notIns = buildUnnamed2267();
- o.permissions = buildUnnamed2268();
- }
- buildCounterRule--;
- return o;
-}
-
-checkRule(api.Rule o) {
- buildCounterRule++;
- if (buildCounterRule < 3) {
- unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed2264(o.conditions);
- unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2265(o.ins);
- checkUnnamed2266(o.logConfigs);
- checkUnnamed2267(o.notIns);
- checkUnnamed2268(o.permissions);
- }
- buildCounterRule--;
-}
-
-buildUnnamed2269() {
- var o = new core.List<api.ImportFile>();
- o.add(buildImportFile());
- o.add(buildImportFile());
- return o;
-}
-
-checkUnnamed2269(core.List<api.ImportFile> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkImportFile(o[0]);
- checkImportFile(o[1]);
-}
-
-core.int buildCounterTargetConfiguration = 0;
-buildTargetConfiguration() {
- var o = new api.TargetConfiguration();
- buildCounterTargetConfiguration++;
- if (buildCounterTargetConfiguration < 3) {
- o.config = buildConfigFile();
- o.imports = buildUnnamed2269();
- }
- buildCounterTargetConfiguration--;
- return o;
-}
-
-checkTargetConfiguration(api.TargetConfiguration o) {
- buildCounterTargetConfiguration++;
- if (buildCounterTargetConfiguration < 3) {
- checkConfigFile(o.config);
- checkUnnamed2269(o.imports);
- }
- buildCounterTargetConfiguration--;
-}
-
-buildUnnamed2270() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2270(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 buildCounterTestPermissionsRequest = 0;
-buildTestPermissionsRequest() {
- var o = new api.TestPermissionsRequest();
- buildCounterTestPermissionsRequest++;
- if (buildCounterTestPermissionsRequest < 3) {
- o.permissions = buildUnnamed2270();
- }
- buildCounterTestPermissionsRequest--;
- return o;
-}
-
-checkTestPermissionsRequest(api.TestPermissionsRequest o) {
- buildCounterTestPermissionsRequest++;
- if (buildCounterTestPermissionsRequest < 3) {
- checkUnnamed2270(o.permissions);
- }
- buildCounterTestPermissionsRequest--;
-}
-
buildUnnamed2271() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1448,12 +1299,161 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2272() {
+ var o = new core.List<api.LogConfig>();
+ o.add(buildLogConfig());
+ o.add(buildLogConfig());
+ return o;
+}
+
+checkUnnamed2272(core.List<api.LogConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLogConfig(o[0]);
+ checkLogConfig(o[1]);
+}
+
+buildUnnamed2273() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2273(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'));
+}
+
+buildUnnamed2274() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2274(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 buildCounterRule = 0;
+buildRule() {
+ var o = new api.Rule();
+ buildCounterRule++;
+ if (buildCounterRule < 3) {
+ o.action = "foo";
+ o.conditions = buildUnnamed2270();
+ o.description = "foo";
+ o.ins = buildUnnamed2271();
+ o.logConfigs = buildUnnamed2272();
+ o.notIns = buildUnnamed2273();
+ o.permissions = buildUnnamed2274();
+ }
+ buildCounterRule--;
+ return o;
+}
+
+checkRule(api.Rule o) {
+ buildCounterRule++;
+ if (buildCounterRule < 3) {
+ unittest.expect(o.action, unittest.equals('foo'));
+ checkUnnamed2270(o.conditions);
+ unittest.expect(o.description, unittest.equals('foo'));
+ checkUnnamed2271(o.ins);
+ checkUnnamed2272(o.logConfigs);
+ checkUnnamed2273(o.notIns);
+ checkUnnamed2274(o.permissions);
+ }
+ buildCounterRule--;
+}
+
+buildUnnamed2275() {
+ var o = new core.List<api.ImportFile>();
+ o.add(buildImportFile());
+ o.add(buildImportFile());
+ return o;
+}
+
+checkUnnamed2275(core.List<api.ImportFile> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkImportFile(o[0]);
+ checkImportFile(o[1]);
+}
+
+core.int buildCounterTargetConfiguration = 0;
+buildTargetConfiguration() {
+ var o = new api.TargetConfiguration();
+ buildCounterTargetConfiguration++;
+ if (buildCounterTargetConfiguration < 3) {
+ o.config = buildConfigFile();
+ o.imports = buildUnnamed2275();
+ }
+ buildCounterTargetConfiguration--;
+ return o;
+}
+
+checkTargetConfiguration(api.TargetConfiguration o) {
+ buildCounterTargetConfiguration++;
+ if (buildCounterTargetConfiguration < 3) {
+ checkConfigFile(o.config);
+ checkUnnamed2275(o.imports);
+ }
+ buildCounterTargetConfiguration--;
+}
+
+buildUnnamed2276() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2276(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 buildCounterTestPermissionsRequest = 0;
+buildTestPermissionsRequest() {
+ var o = new api.TestPermissionsRequest();
+ buildCounterTestPermissionsRequest++;
+ if (buildCounterTestPermissionsRequest < 3) {
+ o.permissions = buildUnnamed2276();
+ }
+ buildCounterTestPermissionsRequest--;
+ return o;
+}
+
+checkTestPermissionsRequest(api.TestPermissionsRequest o) {
+ buildCounterTestPermissionsRequest++;
+ if (buildCounterTestPermissionsRequest < 3) {
+ checkUnnamed2276(o.permissions);
+ }
+ buildCounterTestPermissionsRequest--;
+}
+
+buildUnnamed2277() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2277(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 buildCounterTestPermissionsResponse = 0;
buildTestPermissionsResponse() {
var o = new api.TestPermissionsResponse();
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- o.permissions = buildUnnamed2271();
+ o.permissions = buildUnnamed2277();
}
buildCounterTestPermissionsResponse--;
return o;
@@ -1462,7 +1462,7 @@
checkTestPermissionsResponse(api.TestPermissionsResponse o) {
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- checkUnnamed2271(o.permissions);
+ checkUnnamed2277(o.permissions);
}
buildCounterTestPermissionsResponse--;
}
@@ -1494,14 +1494,14 @@
buildCounterType--;
}
-buildUnnamed2272() {
+buildUnnamed2278() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed2272(core.List<api.Type> o) {
+checkUnnamed2278(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -1513,7 +1513,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
o.nextPageToken = "foo";
- o.types = buildUnnamed2272();
+ o.types = buildUnnamed2278();
}
buildCounterTypesListResponse--;
return o;
@@ -1523,7 +1523,7 @@
buildCounterTypesListResponse++;
if (buildCounterTypesListResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2272(o.types);
+ checkUnnamed2278(o.types);
}
buildCounterTypesListResponse--;
}
diff --git a/generated/googleapis/test/dfareporting/v2_8_test.dart b/generated/googleapis/test/dfareporting/v2_8_test.dart
index 4f27d36..28a87d0 100644
--- a/generated/googleapis/test/dfareporting/v2_8_test.dart
+++ b/generated/googleapis/test/dfareporting/v2_8_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2929() {
+buildUnnamed3214() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2929(core.List<core.String> o) {
+checkUnnamed3214(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'));
}
-buildUnnamed2930() {
+buildUnnamed3215() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2930(core.List<core.String> o) {
+checkUnnamed3215(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'));
@@ -81,12 +81,12 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.accountPermissionIds = buildUnnamed2929();
+ o.accountPermissionIds = buildUnnamed3214();
o.accountProfile = "foo";
o.active = true;
o.activeAdsLimitTier = "foo";
o.activeViewOptOut = true;
- o.availablePermissionIds = buildUnnamed2930();
+ o.availablePermissionIds = buildUnnamed3215();
o.countryId = "foo";
o.currencyId = "foo";
o.defaultCreativeSizeId = "foo";
@@ -108,12 +108,12 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed2929(o.accountPermissionIds);
+ checkUnnamed3214(o.accountPermissionIds);
unittest.expect(o.accountProfile, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
unittest.expect(o.activeViewOptOut, unittest.isTrue);
- checkUnnamed2930(o.availablePermissionIds);
+ checkUnnamed3215(o.availablePermissionIds);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo'));
@@ -158,14 +158,14 @@
buildCounterAccountActiveAdSummary--;
}
-buildUnnamed2931() {
+buildUnnamed3216() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2931(core.List<core.String> o) {
+checkUnnamed3216(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'));
@@ -176,7 +176,7 @@
var o = new api.AccountPermission();
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- o.accountProfiles = buildUnnamed2931();
+ o.accountProfiles = buildUnnamed3216();
o.id = "foo";
o.kind = "foo";
o.level = "foo";
@@ -190,7 +190,7 @@
checkAccountPermission(api.AccountPermission o) {
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- checkUnnamed2931(o.accountProfiles);
+ checkUnnamed3216(o.accountProfiles);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
@@ -223,14 +223,14 @@
buildCounterAccountPermissionGroup--;
}
-buildUnnamed2932() {
+buildUnnamed3217() {
var o = new core.List<api.AccountPermissionGroup>();
o.add(buildAccountPermissionGroup());
o.add(buildAccountPermissionGroup());
return o;
}
-checkUnnamed2932(core.List<api.AccountPermissionGroup> o) {
+checkUnnamed3217(core.List<api.AccountPermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermissionGroup(o[0]);
checkAccountPermissionGroup(o[1]);
@@ -241,7 +241,7 @@
var o = new api.AccountPermissionGroupsListResponse();
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- o.accountPermissionGroups = buildUnnamed2932();
+ o.accountPermissionGroups = buildUnnamed3217();
o.kind = "foo";
}
buildCounterAccountPermissionGroupsListResponse--;
@@ -252,20 +252,20 @@
api.AccountPermissionGroupsListResponse o) {
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- checkUnnamed2932(o.accountPermissionGroups);
+ checkUnnamed3217(o.accountPermissionGroups);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionGroupsListResponse--;
}
-buildUnnamed2933() {
+buildUnnamed3218() {
var o = new core.List<api.AccountPermission>();
o.add(buildAccountPermission());
o.add(buildAccountPermission());
return o;
}
-checkUnnamed2933(core.List<api.AccountPermission> o) {
+checkUnnamed3218(core.List<api.AccountPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermission(o[0]);
checkAccountPermission(o[1]);
@@ -276,7 +276,7 @@
var o = new api.AccountPermissionsListResponse();
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- o.accountPermissions = buildUnnamed2933();
+ o.accountPermissions = buildUnnamed3218();
o.kind = "foo";
}
buildCounterAccountPermissionsListResponse--;
@@ -286,7 +286,7 @@
checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- checkUnnamed2933(o.accountPermissions);
+ checkUnnamed3218(o.accountPermissions);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionsListResponse--;
@@ -341,14 +341,14 @@
buildCounterAccountUserProfile--;
}
-buildUnnamed2934() {
+buildUnnamed3219() {
var o = new core.List<api.AccountUserProfile>();
o.add(buildAccountUserProfile());
o.add(buildAccountUserProfile());
return o;
}
-checkUnnamed2934(core.List<api.AccountUserProfile> o) {
+checkUnnamed3219(core.List<api.AccountUserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUserProfile(o[0]);
checkAccountUserProfile(o[1]);
@@ -359,7 +359,7 @@
var o = new api.AccountUserProfilesListResponse();
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- o.accountUserProfiles = buildUnnamed2934();
+ o.accountUserProfiles = buildUnnamed3219();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -370,21 +370,21 @@
checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- checkUnnamed2934(o.accountUserProfiles);
+ checkUnnamed3219(o.accountUserProfiles);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountUserProfilesListResponse--;
}
-buildUnnamed2935() {
+buildUnnamed3220() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed2935(core.List<api.Account> o) {
+checkUnnamed3220(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -395,7 +395,7 @@
var o = new api.AccountsListResponse();
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- o.accounts = buildUnnamed2935();
+ o.accounts = buildUnnamed3220();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,34 +406,34 @@
checkAccountsListResponse(api.AccountsListResponse o) {
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- checkUnnamed2935(o.accounts);
+ checkUnnamed3220(o.accounts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListResponse--;
}
-buildUnnamed2936() {
+buildUnnamed3221() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2936(core.List<api.DimensionValue> o) {
+checkUnnamed3221(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed2937() {
+buildUnnamed3222() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2937(core.List<core.String> o) {
+checkUnnamed3222(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'));
@@ -444,9 +444,9 @@
var o = new api.Activities();
buildCounterActivities++;
if (buildCounterActivities < 3) {
- o.filters = buildUnnamed2936();
+ o.filters = buildUnnamed3221();
o.kind = "foo";
- o.metricNames = buildUnnamed2937();
+ o.metricNames = buildUnnamed3222();
}
buildCounterActivities--;
return o;
@@ -455,47 +455,47 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed2936(o.filters);
+ checkUnnamed3221(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2937(o.metricNames);
+ checkUnnamed3222(o.metricNames);
}
buildCounterActivities--;
}
-buildUnnamed2938() {
+buildUnnamed3223() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2938(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed3223(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2939() {
+buildUnnamed3224() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2939(core.List<api.EventTagOverride> o) {
+checkUnnamed3224(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2940() {
+buildUnnamed3225() {
var o = new core.List<api.PlacementAssignment>();
o.add(buildPlacementAssignment());
o.add(buildPlacementAssignment());
return o;
}
-checkUnnamed2940(core.List<api.PlacementAssignment> o) {
+checkUnnamed3225(core.List<api.PlacementAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementAssignment(o[0]);
checkPlacementAssignment(o[1]);
@@ -519,7 +519,7 @@
o.comments = "foo";
o.compatibility = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupAssignments = buildUnnamed2938();
+ o.creativeGroupAssignments = buildUnnamed3223();
o.creativeRotation = buildCreativeRotation();
o.dayPartTargeting = buildDayPartTargeting();
o.defaultClickThroughEventTagProperties =
@@ -527,7 +527,7 @@
o.deliverySchedule = buildDeliverySchedule();
o.dynamicClickTracker = true;
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.eventTagOverrides = buildUnnamed2939();
+ o.eventTagOverrides = buildUnnamed3224();
o.geoTargeting = buildGeoTargeting();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -536,7 +536,7 @@
o.languageTargeting = buildLanguageTargeting();
o.lastModifiedInfo = buildLastModifiedInfo();
o.name = "foo";
- o.placementAssignments = buildUnnamed2940();
+ o.placementAssignments = buildUnnamed3225();
o.remarketingListExpression = buildListTargetingExpression();
o.size = buildSize();
o.sslCompliant = true;
@@ -567,7 +567,7 @@
unittest.expect(o.comments, unittest.equals('foo'));
unittest.expect(o.compatibility, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2938(o.creativeGroupAssignments);
+ checkUnnamed3223(o.creativeGroupAssignments);
checkCreativeRotation(o.creativeRotation);
checkDayPartTargeting(o.dayPartTargeting);
checkDefaultClickThroughEventTagProperties(
@@ -576,7 +576,7 @@
unittest.expect(o.dynamicClickTracker, unittest.isTrue);
unittest.expect(
o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2939(o.eventTagOverrides);
+ checkUnnamed3224(o.eventTagOverrides);
checkGeoTargeting(o.geoTargeting);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -585,7 +585,7 @@
checkLanguageTargeting(o.languageTargeting);
checkLastModifiedInfo(o.lastModifiedInfo);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2940(o.placementAssignments);
+ checkUnnamed3225(o.placementAssignments);
checkListTargetingExpression(o.remarketingListExpression);
checkSize(o.size);
unittest.expect(o.sslCompliant, unittest.isTrue);
@@ -658,14 +658,14 @@
buildCounterAdSlot--;
}
-buildUnnamed2941() {
+buildUnnamed3226() {
var o = new core.List<api.Ad>();
o.add(buildAd());
o.add(buildAd());
return o;
}
-checkUnnamed2941(core.List<api.Ad> o) {
+checkUnnamed3226(core.List<api.Ad> o) {
unittest.expect(o, unittest.hasLength(2));
checkAd(o[0]);
checkAd(o[1]);
@@ -676,7 +676,7 @@
var o = new api.AdsListResponse();
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- o.ads = buildUnnamed2941();
+ o.ads = buildUnnamed3226();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -687,7 +687,7 @@
checkAdsListResponse(api.AdsListResponse o) {
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- checkUnnamed2941(o.ads);
+ checkUnnamed3226(o.ads);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -767,14 +767,14 @@
buildCounterAdvertiserGroup--;
}
-buildUnnamed2942() {
+buildUnnamed3227() {
var o = new core.List<api.AdvertiserGroup>();
o.add(buildAdvertiserGroup());
o.add(buildAdvertiserGroup());
return o;
}
-checkUnnamed2942(core.List<api.AdvertiserGroup> o) {
+checkUnnamed3227(core.List<api.AdvertiserGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiserGroup(o[0]);
checkAdvertiserGroup(o[1]);
@@ -785,7 +785,7 @@
var o = new api.AdvertiserGroupsListResponse();
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- o.advertiserGroups = buildUnnamed2942();
+ o.advertiserGroups = buildUnnamed3227();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -796,21 +796,21 @@
checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- checkUnnamed2942(o.advertiserGroups);
+ checkUnnamed3227(o.advertiserGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserGroupsListResponse--;
}
-buildUnnamed2943() {
+buildUnnamed3228() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed2943(core.List<api.Advertiser> o) {
+checkUnnamed3228(core.List<api.Advertiser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiser(o[0]);
checkAdvertiser(o[1]);
@@ -821,7 +821,7 @@
var o = new api.AdvertisersListResponse();
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- o.advertisers = buildUnnamed2943();
+ o.advertisers = buildUnnamed3228();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -832,7 +832,7 @@
checkAdvertisersListResponse(api.AdvertisersListResponse o) {
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- checkUnnamed2943(o.advertisers);
+ checkUnnamed3228(o.advertisers);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -862,14 +862,14 @@
buildCounterAudienceSegment--;
}
-buildUnnamed2944() {
+buildUnnamed3229() {
var o = new core.List<api.AudienceSegment>();
o.add(buildAudienceSegment());
o.add(buildAudienceSegment());
return o;
}
-checkUnnamed2944(core.List<api.AudienceSegment> o) {
+checkUnnamed3229(core.List<api.AudienceSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegment(o[0]);
checkAudienceSegment(o[1]);
@@ -880,7 +880,7 @@
var o = new api.AudienceSegmentGroup();
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- o.audienceSegments = buildUnnamed2944();
+ o.audienceSegments = buildUnnamed3229();
o.id = "foo";
o.name = "foo";
}
@@ -891,7 +891,7 @@
checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- checkUnnamed2944(o.audienceSegments);
+ checkUnnamed3229(o.audienceSegments);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -927,14 +927,14 @@
buildCounterBrowser--;
}
-buildUnnamed2945() {
+buildUnnamed3230() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed2945(core.List<api.Browser> o) {
+checkUnnamed3230(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
@@ -945,7 +945,7 @@
var o = new api.BrowsersListResponse();
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- o.browsers = buildUnnamed2945();
+ o.browsers = buildUnnamed3230();
o.kind = "foo";
}
buildCounterBrowsersListResponse--;
@@ -955,72 +955,72 @@
checkBrowsersListResponse(api.BrowsersListResponse o) {
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- checkUnnamed2945(o.browsers);
+ checkUnnamed3230(o.browsers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBrowsersListResponse--;
}
-buildUnnamed2946() {
+buildUnnamed3231() {
var o = new core.List<api.CreativeOptimizationConfiguration>();
o.add(buildCreativeOptimizationConfiguration());
o.add(buildCreativeOptimizationConfiguration());
return o;
}
-checkUnnamed2946(core.List<api.CreativeOptimizationConfiguration> o) {
+checkUnnamed3231(core.List<api.CreativeOptimizationConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeOptimizationConfiguration(o[0]);
checkCreativeOptimizationConfiguration(o[1]);
}
-buildUnnamed2947() {
+buildUnnamed3232() {
var o = new core.List<api.AudienceSegmentGroup>();
o.add(buildAudienceSegmentGroup());
o.add(buildAudienceSegmentGroup());
return o;
}
-checkUnnamed2947(core.List<api.AudienceSegmentGroup> o) {
+checkUnnamed3232(core.List<api.AudienceSegmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegmentGroup(o[0]);
checkAudienceSegmentGroup(o[1]);
}
-buildUnnamed2948() {
+buildUnnamed3233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2948(core.List<core.String> o) {
+checkUnnamed3233(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'));
}
-buildUnnamed2949() {
+buildUnnamed3234() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed2949(core.List<api.EventTagOverride> o) {
+checkUnnamed3234(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed2950() {
+buildUnnamed3235() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2950(core.List<core.String> o) {
+checkUnnamed3235(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'));
@@ -1033,23 +1033,23 @@
if (buildCounterCampaign < 3) {
o.accountId = "foo";
o.adBlockingConfiguration = buildAdBlockingConfiguration();
- o.additionalCreativeOptimizationConfigurations = buildUnnamed2946();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed3231();
o.advertiserGroupId = "foo";
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
- o.audienceSegmentGroups = buildUnnamed2947();
+ o.audienceSegmentGroups = buildUnnamed3232();
o.billingInvoiceCode = "foo";
o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
o.comment = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupIds = buildUnnamed2948();
+ o.creativeGroupIds = buildUnnamed3233();
o.creativeOptimizationConfiguration =
buildCreativeOptimizationConfiguration();
o.defaultClickThroughEventTagProperties =
buildDefaultClickThroughEventTagProperties();
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.eventTagOverrides = buildUnnamed2949();
+ o.eventTagOverrides = buildUnnamed3234();
o.externalId = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -1060,7 +1060,7 @@
o.nielsenOcrEnabled = true;
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.subaccountId = "foo";
- o.traffickerEmails = buildUnnamed2950();
+ o.traffickerEmails = buildUnnamed3235();
}
buildCounterCampaign--;
return o;
@@ -1071,23 +1071,23 @@
if (buildCounterCampaign < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
checkAdBlockingConfiguration(o.adBlockingConfiguration);
- checkUnnamed2946(o.additionalCreativeOptimizationConfigurations);
+ checkUnnamed3231(o.additionalCreativeOptimizationConfigurations);
unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.archived, unittest.isTrue);
- checkUnnamed2947(o.audienceSegmentGroups);
+ checkUnnamed3232(o.audienceSegmentGroups);
unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
unittest.expect(o.comment, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed2948(o.creativeGroupIds);
+ checkUnnamed3233(o.creativeGroupIds);
checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
checkDefaultClickThroughEventTagProperties(
o.defaultClickThroughEventTagProperties);
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed2949(o.eventTagOverrides);
+ checkUnnamed3234(o.eventTagOverrides);
unittest.expect(o.externalId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -1099,7 +1099,7 @@
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed2950(o.traffickerEmails);
+ checkUnnamed3235(o.traffickerEmails);
}
buildCounterCampaign--;
}
@@ -1125,14 +1125,14 @@
buildCounterCampaignCreativeAssociation--;
}
-buildUnnamed2951() {
+buildUnnamed3236() {
var o = new core.List<api.CampaignCreativeAssociation>();
o.add(buildCampaignCreativeAssociation());
o.add(buildCampaignCreativeAssociation());
return o;
}
-checkUnnamed2951(core.List<api.CampaignCreativeAssociation> o) {
+checkUnnamed3236(core.List<api.CampaignCreativeAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaignCreativeAssociation(o[0]);
checkCampaignCreativeAssociation(o[1]);
@@ -1143,7 +1143,7 @@
var o = new api.CampaignCreativeAssociationsListResponse();
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- o.campaignCreativeAssociations = buildUnnamed2951();
+ o.campaignCreativeAssociations = buildUnnamed3236();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1155,21 +1155,21 @@
api.CampaignCreativeAssociationsListResponse o) {
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- checkUnnamed2951(o.campaignCreativeAssociations);
+ checkUnnamed3236(o.campaignCreativeAssociations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCampaignCreativeAssociationsListResponse--;
}
-buildUnnamed2952() {
+buildUnnamed3237() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed2952(core.List<api.Campaign> o) {
+checkUnnamed3237(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -1180,7 +1180,7 @@
var o = new api.CampaignsListResponse();
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- o.campaigns = buildUnnamed2952();
+ o.campaigns = buildUnnamed3237();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1191,7 +1191,7 @@
checkCampaignsListResponse(api.CampaignsListResponse o) {
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- checkUnnamed2952(o.campaigns);
+ checkUnnamed3237(o.campaigns);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1244,14 +1244,14 @@
buildCounterChangeLog--;
}
-buildUnnamed2953() {
+buildUnnamed3238() {
var o = new core.List<api.ChangeLog>();
o.add(buildChangeLog());
o.add(buildChangeLog());
return o;
}
-checkUnnamed2953(core.List<api.ChangeLog> o) {
+checkUnnamed3238(core.List<api.ChangeLog> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeLog(o[0]);
checkChangeLog(o[1]);
@@ -1262,7 +1262,7 @@
var o = new api.ChangeLogsListResponse();
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- o.changeLogs = buildUnnamed2953();
+ o.changeLogs = buildUnnamed3238();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1273,21 +1273,21 @@
checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- checkUnnamed2953(o.changeLogs);
+ checkUnnamed3238(o.changeLogs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangeLogsListResponse--;
}
-buildUnnamed2954() {
+buildUnnamed3239() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed2954(core.List<api.City> o) {
+checkUnnamed3239(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
@@ -1298,7 +1298,7 @@
var o = new api.CitiesListResponse();
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- o.cities = buildUnnamed2954();
+ o.cities = buildUnnamed3239();
o.kind = "foo";
}
buildCounterCitiesListResponse--;
@@ -1308,7 +1308,7 @@
checkCitiesListResponse(api.CitiesListResponse o) {
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- checkUnnamed2954(o.cities);
+ checkUnnamed3239(o.cities);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCitiesListResponse--;
@@ -1439,14 +1439,14 @@
buildCounterCompanionClickThroughOverride--;
}
-buildUnnamed2955() {
+buildUnnamed3240() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed2955(core.List<api.Size> o) {
+checkUnnamed3240(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -1458,7 +1458,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
o.companionsDisabled = true;
- o.enabledSizes = buildUnnamed2955();
+ o.enabledSizes = buildUnnamed3240();
o.imageOnly = true;
o.kind = "foo";
}
@@ -1470,7 +1470,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
unittest.expect(o.companionsDisabled, unittest.isTrue);
- checkUnnamed2955(o.enabledSizes);
+ checkUnnamed3240(o.enabledSizes);
unittest.expect(o.imageOnly, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -1534,14 +1534,14 @@
buildCounterConnectionType--;
}
-buildUnnamed2956() {
+buildUnnamed3241() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed2956(core.List<api.ConnectionType> o) {
+checkUnnamed3241(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
@@ -1552,7 +1552,7 @@
var o = new api.ConnectionTypesListResponse();
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- o.connectionTypes = buildUnnamed2956();
+ o.connectionTypes = buildUnnamed3241();
o.kind = "foo";
}
buildCounterConnectionTypesListResponse--;
@@ -1562,20 +1562,20 @@
checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- checkUnnamed2956(o.connectionTypes);
+ checkUnnamed3241(o.connectionTypes);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConnectionTypesListResponse--;
}
-buildUnnamed2957() {
+buildUnnamed3242() {
var o = new core.List<api.ContentCategory>();
o.add(buildContentCategory());
o.add(buildContentCategory());
return o;
}
-checkUnnamed2957(core.List<api.ContentCategory> o) {
+checkUnnamed3242(core.List<api.ContentCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentCategory(o[0]);
checkContentCategory(o[1]);
@@ -1586,7 +1586,7 @@
var o = new api.ContentCategoriesListResponse();
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- o.contentCategories = buildUnnamed2957();
+ o.contentCategories = buildUnnamed3242();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1597,7 +1597,7 @@
checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- checkUnnamed2957(o.contentCategories);
+ checkUnnamed3242(o.contentCategories);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1629,27 +1629,27 @@
buildCounterContentCategory--;
}
-buildUnnamed2958() {
+buildUnnamed3243() {
var o = new core.List<api.CustomFloodlightVariable>();
o.add(buildCustomFloodlightVariable());
o.add(buildCustomFloodlightVariable());
return o;
}
-checkUnnamed2958(core.List<api.CustomFloodlightVariable> o) {
+checkUnnamed3243(core.List<api.CustomFloodlightVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomFloodlightVariable(o[0]);
checkCustomFloodlightVariable(o[1]);
}
-buildUnnamed2959() {
+buildUnnamed3244() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2959(core.List<core.String> o) {
+checkUnnamed3244(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'));
@@ -1661,9 +1661,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
o.childDirectedTreatment = true;
- o.customVariables = buildUnnamed2958();
+ o.customVariables = buildUnnamed3243();
o.encryptedUserId = "foo";
- o.encryptedUserIdCandidates = buildUnnamed2959();
+ o.encryptedUserIdCandidates = buildUnnamed3244();
o.floodlightActivityId = "foo";
o.floodlightConfigurationId = "foo";
o.gclid = "foo";
@@ -1683,9 +1683,9 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
unittest.expect(o.childDirectedTreatment, unittest.isTrue);
- checkUnnamed2958(o.customVariables);
+ checkUnnamed3243(o.customVariables);
unittest.expect(o.encryptedUserId, unittest.equals('foo'));
- checkUnnamed2959(o.encryptedUserIdCandidates);
+ checkUnnamed3244(o.encryptedUserIdCandidates);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
unittest.expect(o.gclid, unittest.equals('foo'));
@@ -1723,14 +1723,14 @@
buildCounterConversionError--;
}
-buildUnnamed2960() {
+buildUnnamed3245() {
var o = new core.List<api.ConversionError>();
o.add(buildConversionError());
o.add(buildConversionError());
return o;
}
-checkUnnamed2960(core.List<api.ConversionError> o) {
+checkUnnamed3245(core.List<api.ConversionError> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionError(o[0]);
checkConversionError(o[1]);
@@ -1742,7 +1742,7 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
o.conversion = buildConversion();
- o.errors = buildUnnamed2960();
+ o.errors = buildUnnamed3245();
o.kind = "foo";
}
buildCounterConversionStatus--;
@@ -1753,20 +1753,20 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
checkConversion(o.conversion);
- checkUnnamed2960(o.errors);
+ checkUnnamed3245(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionStatus--;
}
-buildUnnamed2961() {
+buildUnnamed3246() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed2961(core.List<api.Conversion> o) {
+checkUnnamed3246(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1777,7 +1777,7 @@
var o = new api.ConversionsBatchInsertRequest();
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- o.conversions = buildUnnamed2961();
+ o.conversions = buildUnnamed3246();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1788,21 +1788,21 @@
checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- checkUnnamed2961(o.conversions);
+ checkUnnamed3246(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchInsertRequest--;
}
-buildUnnamed2962() {
+buildUnnamed3247() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed2962(core.List<api.ConversionStatus> o) {
+checkUnnamed3247(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1815,7 +1815,7 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed2962();
+ o.status = buildUnnamed3247();
}
buildCounterConversionsBatchInsertResponse--;
return o;
@@ -1826,19 +1826,19 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2962(o.status);
+ checkUnnamed3247(o.status);
}
buildCounterConversionsBatchInsertResponse--;
}
-buildUnnamed2963() {
+buildUnnamed3248() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed2963(core.List<api.Conversion> o) {
+checkUnnamed3248(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1849,7 +1849,7 @@
var o = new api.ConversionsBatchUpdateRequest();
buildCounterConversionsBatchUpdateRequest++;
if (buildCounterConversionsBatchUpdateRequest < 3) {
- o.conversions = buildUnnamed2963();
+ o.conversions = buildUnnamed3248();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1860,21 +1860,21 @@
checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) {
buildCounterConversionsBatchUpdateRequest++;
if (buildCounterConversionsBatchUpdateRequest < 3) {
- checkUnnamed2963(o.conversions);
+ checkUnnamed3248(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchUpdateRequest--;
}
-buildUnnamed2964() {
+buildUnnamed3249() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed2964(core.List<api.ConversionStatus> o) {
+checkUnnamed3249(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1887,7 +1887,7 @@
if (buildCounterConversionsBatchUpdateResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed2964();
+ o.status = buildUnnamed3249();
}
buildCounterConversionsBatchUpdateResponse--;
return o;
@@ -1898,19 +1898,19 @@
if (buildCounterConversionsBatchUpdateResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2964(o.status);
+ checkUnnamed3249(o.status);
}
buildCounterConversionsBatchUpdateResponse--;
}
-buildUnnamed2965() {
+buildUnnamed3250() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed2965(core.List<api.Country> o) {
+checkUnnamed3250(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
@@ -1921,7 +1921,7 @@
var o = new api.CountriesListResponse();
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- o.countries = buildUnnamed2965();
+ o.countries = buildUnnamed3250();
o.kind = "foo";
}
buildCounterCountriesListResponse--;
@@ -1931,7 +1931,7 @@
checkCountriesListResponse(api.CountriesListResponse o) {
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- checkUnnamed2965(o.countries);
+ checkUnnamed3250(o.countries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCountriesListResponse--;
@@ -1964,157 +1964,157 @@
buildCounterCountry--;
}
-buildUnnamed2966() {
+buildUnnamed3251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2966(core.List<core.String> o) {
+checkUnnamed3251(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'));
}
-buildUnnamed2967() {
+buildUnnamed3252() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2967(core.List<core.String> o) {
+checkUnnamed3252(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'));
}
-buildUnnamed2968() {
+buildUnnamed3253() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2968(core.List<api.ClickTag> o) {
+checkUnnamed3253(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2969() {
+buildUnnamed3254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2969(core.List<core.String> o) {
+checkUnnamed3254(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'));
}
-buildUnnamed2970() {
+buildUnnamed3255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2970(core.List<core.String> o) {
+checkUnnamed3255(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'));
}
-buildUnnamed2971() {
+buildUnnamed3256() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2971(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed3256(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2972() {
+buildUnnamed3257() {
var o = new core.List<api.CreativeAsset>();
o.add(buildCreativeAsset());
o.add(buildCreativeAsset());
return o;
}
-checkUnnamed2972(core.List<api.CreativeAsset> o) {
+checkUnnamed3257(core.List<api.CreativeAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAsset(o[0]);
checkCreativeAsset(o[1]);
}
-buildUnnamed2973() {
+buildUnnamed3258() {
var o = new core.List<api.CreativeFieldAssignment>();
o.add(buildCreativeFieldAssignment());
o.add(buildCreativeFieldAssignment());
return o;
}
-checkUnnamed2973(core.List<api.CreativeFieldAssignment> o) {
+checkUnnamed3258(core.List<api.CreativeFieldAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldAssignment(o[0]);
checkCreativeFieldAssignment(o[1]);
}
-buildUnnamed2974() {
+buildUnnamed3259() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2974(core.List<core.String> o) {
+checkUnnamed3259(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'));
}
-buildUnnamed2975() {
+buildUnnamed3260() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2975(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed3260(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed2976() {
+buildUnnamed3261() {
var o = new core.List<api.ThirdPartyTrackingUrl>();
o.add(buildThirdPartyTrackingUrl());
o.add(buildThirdPartyTrackingUrl());
return o;
}
-checkUnnamed2976(core.List<api.ThirdPartyTrackingUrl> o) {
+checkUnnamed3261(core.List<api.ThirdPartyTrackingUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyTrackingUrl(o[0]);
checkThirdPartyTrackingUrl(o[1]);
}
-buildUnnamed2977() {
+buildUnnamed3262() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed2977(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed3262(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
@@ -2128,7 +2128,7 @@
o.accountId = "foo";
o.active = true;
o.adParameters = "foo";
- o.adTagKeys = buildUnnamed2966();
+ o.adTagKeys = buildUnnamed3251();
o.advertiserId = "foo";
o.allowScriptAccess = true;
o.archived = true;
@@ -2138,21 +2138,21 @@
o.autoAdvanceImages = true;
o.backgroundColor = "foo";
o.backupImageClickThroughUrl = "foo";
- o.backupImageFeatures = buildUnnamed2967();
+ o.backupImageFeatures = buildUnnamed3252();
o.backupImageReportingLabel = "foo";
o.backupImageTargetWindow = buildTargetWindow();
- o.clickTags = buildUnnamed2968();
+ o.clickTags = buildUnnamed3253();
o.commercialId = "foo";
- o.companionCreatives = buildUnnamed2969();
- o.compatibility = buildUnnamed2970();
+ o.companionCreatives = buildUnnamed3254();
+ o.compatibility = buildUnnamed3255();
o.convertFlashToHtml5 = true;
- o.counterCustomEvents = buildUnnamed2971();
+ o.counterCustomEvents = buildUnnamed3256();
o.creativeAssetSelection = buildCreativeAssetSelection();
- o.creativeAssets = buildUnnamed2972();
- o.creativeFieldAssignments = buildUnnamed2973();
- o.customKeyValues = buildUnnamed2974();
+ o.creativeAssets = buildUnnamed3257();
+ o.creativeFieldAssignments = buildUnnamed3258();
+ o.customKeyValues = buildUnnamed3259();
o.dynamicAssetSelection = true;
- o.exitCustomEvents = buildUnnamed2975();
+ o.exitCustomEvents = buildUnnamed3260();
o.fsCommand = buildFsCommand();
o.htmlCode = "foo";
o.htmlCodeLocked = true;
@@ -2180,8 +2180,8 @@
o.subaccountId = "foo";
o.thirdPartyBackupImageImpressionsUrl = "foo";
o.thirdPartyRichMediaImpressionsUrl = "foo";
- o.thirdPartyUrls = buildUnnamed2976();
- o.timerCustomEvents = buildUnnamed2977();
+ o.thirdPartyUrls = buildUnnamed3261();
+ o.timerCustomEvents = buildUnnamed3262();
o.totalFileSize = "foo";
o.type = "foo";
o.universalAdId = buildUniversalAdId();
@@ -2199,7 +2199,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.adParameters, unittest.equals('foo'));
- checkUnnamed2966(o.adTagKeys);
+ checkUnnamed3251(o.adTagKeys);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.allowScriptAccess, unittest.isTrue);
unittest.expect(o.archived, unittest.isTrue);
@@ -2209,21 +2209,21 @@
unittest.expect(o.autoAdvanceImages, unittest.isTrue);
unittest.expect(o.backgroundColor, unittest.equals('foo'));
unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo'));
- checkUnnamed2967(o.backupImageFeatures);
+ checkUnnamed3252(o.backupImageFeatures);
unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
checkTargetWindow(o.backupImageTargetWindow);
- checkUnnamed2968(o.clickTags);
+ checkUnnamed3253(o.clickTags);
unittest.expect(o.commercialId, unittest.equals('foo'));
- checkUnnamed2969(o.companionCreatives);
- checkUnnamed2970(o.compatibility);
+ checkUnnamed3254(o.companionCreatives);
+ checkUnnamed3255(o.compatibility);
unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
- checkUnnamed2971(o.counterCustomEvents);
+ checkUnnamed3256(o.counterCustomEvents);
checkCreativeAssetSelection(o.creativeAssetSelection);
- checkUnnamed2972(o.creativeAssets);
- checkUnnamed2973(o.creativeFieldAssignments);
- checkUnnamed2974(o.customKeyValues);
+ checkUnnamed3257(o.creativeAssets);
+ checkUnnamed3258(o.creativeFieldAssignments);
+ checkUnnamed3259(o.customKeyValues);
unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
- checkUnnamed2975(o.exitCustomEvents);
+ checkUnnamed3260(o.exitCustomEvents);
checkFsCommand(o.fsCommand);
unittest.expect(o.htmlCode, unittest.equals('foo'));
unittest.expect(o.htmlCodeLocked, unittest.isTrue);
@@ -2253,8 +2253,8 @@
o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
unittest.expect(
o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
- checkUnnamed2976(o.thirdPartyUrls);
- checkUnnamed2977(o.timerCustomEvents);
+ checkUnnamed3261(o.thirdPartyUrls);
+ checkUnnamed3262(o.timerCustomEvents);
unittest.expect(o.totalFileSize, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
checkUniversalAdId(o.universalAdId);
@@ -2265,27 +2265,27 @@
buildCounterCreative--;
}
-buildUnnamed2978() {
+buildUnnamed3263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2978(core.List<core.String> o) {
+checkUnnamed3263(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'));
}
-buildUnnamed2979() {
+buildUnnamed3264() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2979(core.List<core.String> o) {
+checkUnnamed3264(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'));
@@ -2305,9 +2305,9 @@
o.bitRate = 42;
o.childAssetType = "foo";
o.collapsedSize = buildSize();
- o.companionCreativeIds = buildUnnamed2978();
+ o.companionCreativeIds = buildUnnamed3263();
o.customStartTimeValue = 42;
- o.detectedFeatures = buildUnnamed2979();
+ o.detectedFeatures = buildUnnamed3264();
o.displayType = "foo";
o.duration = 42;
o.durationType = "foo";
@@ -2357,9 +2357,9 @@
unittest.expect(o.bitRate, unittest.equals(42));
unittest.expect(o.childAssetType, unittest.equals('foo'));
checkSize(o.collapsedSize);
- checkUnnamed2978(o.companionCreativeIds);
+ checkUnnamed3263(o.companionCreativeIds);
unittest.expect(o.customStartTimeValue, unittest.equals(42));
- checkUnnamed2979(o.detectedFeatures);
+ checkUnnamed3264(o.detectedFeatures);
unittest.expect(o.displayType, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.durationType, unittest.equals('foo'));
@@ -2417,40 +2417,40 @@
buildCounterCreativeAssetId--;
}
-buildUnnamed2980() {
+buildUnnamed3265() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed2980(core.List<api.ClickTag> o) {
+checkUnnamed3265(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed2981() {
+buildUnnamed3266() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2981(core.List<core.String> o) {
+checkUnnamed3266(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'));
}
-buildUnnamed2982() {
+buildUnnamed3267() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2982(core.List<core.String> o) {
+checkUnnamed3267(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'));
@@ -2462,12 +2462,12 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
o.assetIdentifier = buildCreativeAssetId();
- o.clickTags = buildUnnamed2980();
- o.detectedFeatures = buildUnnamed2981();
+ o.clickTags = buildUnnamed3265();
+ o.detectedFeatures = buildUnnamed3266();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
o.kind = "foo";
- o.warnedValidationRules = buildUnnamed2982();
+ o.warnedValidationRules = buildUnnamed3267();
}
buildCounterCreativeAssetMetadata--;
return o;
@@ -2477,24 +2477,24 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
checkCreativeAssetId(o.assetIdentifier);
- checkUnnamed2980(o.clickTags);
- checkUnnamed2981(o.detectedFeatures);
+ checkUnnamed3265(o.clickTags);
+ checkUnnamed3266(o.detectedFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2982(o.warnedValidationRules);
+ checkUnnamed3267(o.warnedValidationRules);
}
buildCounterCreativeAssetMetadata--;
}
-buildUnnamed2983() {
+buildUnnamed3268() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2983(core.List<api.Rule> o) {
+checkUnnamed3268(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2506,7 +2506,7 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
o.defaultAssetId = "foo";
- o.rules = buildUnnamed2983();
+ o.rules = buildUnnamed3268();
}
buildCounterCreativeAssetSelection--;
return o;
@@ -2516,45 +2516,45 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
unittest.expect(o.defaultAssetId, unittest.equals('foo'));
- checkUnnamed2983(o.rules);
+ checkUnnamed3268(o.rules);
}
buildCounterCreativeAssetSelection--;
}
-buildUnnamed2984() {
+buildUnnamed3269() {
var o = new core.List<api.CompanionClickThroughOverride>();
o.add(buildCompanionClickThroughOverride());
o.add(buildCompanionClickThroughOverride());
return o;
}
-checkUnnamed2984(core.List<api.CompanionClickThroughOverride> o) {
+checkUnnamed3269(core.List<api.CompanionClickThroughOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanionClickThroughOverride(o[0]);
checkCompanionClickThroughOverride(o[1]);
}
-buildUnnamed2985() {
+buildUnnamed3270() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed2985(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed3270(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed2986() {
+buildUnnamed3271() {
var o = new core.List<api.RichMediaExitOverride>();
o.add(buildRichMediaExitOverride());
o.add(buildRichMediaExitOverride());
return o;
}
-checkUnnamed2986(core.List<api.RichMediaExitOverride> o) {
+checkUnnamed3271(core.List<api.RichMediaExitOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkRichMediaExitOverride(o[0]);
checkRichMediaExitOverride(o[1]);
@@ -2568,12 +2568,12 @@
o.active = true;
o.applyEventTags = true;
o.clickThroughUrl = buildClickThroughUrl();
- o.companionCreativeOverrides = buildUnnamed2984();
- o.creativeGroupAssignments = buildUnnamed2985();
+ o.companionCreativeOverrides = buildUnnamed3269();
+ o.creativeGroupAssignments = buildUnnamed3270();
o.creativeId = "foo";
o.creativeIdDimensionValue = buildDimensionValue();
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.richMediaExitOverrides = buildUnnamed2986();
+ o.richMediaExitOverrides = buildUnnamed3271();
o.sequence = 42;
o.sslCompliant = true;
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2589,13 +2589,13 @@
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.applyEventTags, unittest.isTrue);
checkClickThroughUrl(o.clickThroughUrl);
- checkUnnamed2984(o.companionCreativeOverrides);
- checkUnnamed2985(o.creativeGroupAssignments);
+ checkUnnamed3269(o.companionCreativeOverrides);
+ checkUnnamed3270(o.creativeGroupAssignments);
unittest.expect(o.creativeId, unittest.equals('foo'));
checkDimensionValue(o.creativeIdDimensionValue);
unittest.expect(
o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed2986(o.richMediaExitOverrides);
+ checkUnnamed3271(o.richMediaExitOverrides);
unittest.expect(o.sequence, unittest.equals(42));
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.startTime,
@@ -2717,14 +2717,14 @@
buildCounterCreativeFieldValue--;
}
-buildUnnamed2987() {
+buildUnnamed3272() {
var o = new core.List<api.CreativeFieldValue>();
o.add(buildCreativeFieldValue());
o.add(buildCreativeFieldValue());
return o;
}
-checkUnnamed2987(core.List<api.CreativeFieldValue> o) {
+checkUnnamed3272(core.List<api.CreativeFieldValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldValue(o[0]);
checkCreativeFieldValue(o[1]);
@@ -2735,7 +2735,7 @@
var o = new api.CreativeFieldValuesListResponse();
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- o.creativeFieldValues = buildUnnamed2987();
+ o.creativeFieldValues = buildUnnamed3272();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2746,21 +2746,21 @@
checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- checkUnnamed2987(o.creativeFieldValues);
+ checkUnnamed3272(o.creativeFieldValues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeFieldValuesListResponse--;
}
-buildUnnamed2988() {
+buildUnnamed3273() {
var o = new core.List<api.CreativeField>();
o.add(buildCreativeField());
o.add(buildCreativeField());
return o;
}
-checkUnnamed2988(core.List<api.CreativeField> o) {
+checkUnnamed3273(core.List<api.CreativeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeField(o[0]);
checkCreativeField(o[1]);
@@ -2771,7 +2771,7 @@
var o = new api.CreativeFieldsListResponse();
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- o.creativeFields = buildUnnamed2988();
+ o.creativeFields = buildUnnamed3273();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2782,7 +2782,7 @@
checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- checkUnnamed2988(o.creativeFields);
+ checkUnnamed3273(o.creativeFields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2843,14 +2843,14 @@
buildCounterCreativeGroupAssignment--;
}
-buildUnnamed2989() {
+buildUnnamed3274() {
var o = new core.List<api.CreativeGroup>();
o.add(buildCreativeGroup());
o.add(buildCreativeGroup());
return o;
}
-checkUnnamed2989(core.List<api.CreativeGroup> o) {
+checkUnnamed3274(core.List<api.CreativeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroup(o[0]);
checkCreativeGroup(o[1]);
@@ -2861,7 +2861,7 @@
var o = new api.CreativeGroupsListResponse();
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- o.creativeGroups = buildUnnamed2989();
+ o.creativeGroups = buildUnnamed3274();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2872,21 +2872,21 @@
checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- checkUnnamed2989(o.creativeGroups);
+ checkUnnamed3274(o.creativeGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeGroupsListResponse--;
}
-buildUnnamed2990() {
+buildUnnamed3275() {
var o = new core.List<api.OptimizationActivity>();
o.add(buildOptimizationActivity());
o.add(buildOptimizationActivity());
return o;
}
-checkUnnamed2990(core.List<api.OptimizationActivity> o) {
+checkUnnamed3275(core.List<api.OptimizationActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkOptimizationActivity(o[0]);
checkOptimizationActivity(o[1]);
@@ -2899,7 +2899,7 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
o.id = "foo";
o.name = "foo";
- o.optimizationActivitys = buildUnnamed2990();
+ o.optimizationActivitys = buildUnnamed3275();
o.optimizationModel = "foo";
}
buildCounterCreativeOptimizationConfiguration--;
@@ -2912,20 +2912,20 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2990(o.optimizationActivitys);
+ checkUnnamed3275(o.optimizationActivitys);
unittest.expect(o.optimizationModel, unittest.equals('foo'));
}
buildCounterCreativeOptimizationConfiguration--;
}
-buildUnnamed2991() {
+buildUnnamed3276() {
var o = new core.List<api.CreativeAssignment>();
o.add(buildCreativeAssignment());
o.add(buildCreativeAssignment());
return o;
}
-checkUnnamed2991(core.List<api.CreativeAssignment> o) {
+checkUnnamed3276(core.List<api.CreativeAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAssignment(o[0]);
checkCreativeAssignment(o[1]);
@@ -2936,7 +2936,7 @@
var o = new api.CreativeRotation();
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- o.creativeAssignments = buildUnnamed2991();
+ o.creativeAssignments = buildUnnamed3276();
o.creativeOptimizationConfigurationId = "foo";
o.type = "foo";
o.weightCalculationStrategy = "foo";
@@ -2948,7 +2948,7 @@
checkCreativeRotation(api.CreativeRotation o) {
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- checkUnnamed2991(o.creativeAssignments);
+ checkUnnamed3276(o.creativeAssignments);
unittest.expect(
o.creativeOptimizationConfigurationId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2978,14 +2978,14 @@
buildCounterCreativeSettings--;
}
-buildUnnamed2992() {
+buildUnnamed3277() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed2992(core.List<api.Creative> o) {
+checkUnnamed3277(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -2996,7 +2996,7 @@
var o = new api.CreativesListResponse();
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- o.creatives = buildUnnamed2992();
+ o.creatives = buildUnnamed3277();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3007,60 +3007,60 @@
checkCreativesListResponse(api.CreativesListResponse o) {
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- checkUnnamed2992(o.creatives);
+ checkUnnamed3277(o.creatives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativesListResponse--;
}
-buildUnnamed2993() {
+buildUnnamed3278() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2993(core.List<api.Dimension> o) {
+checkUnnamed3278(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2994() {
+buildUnnamed3279() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2994(core.List<api.Dimension> o) {
+checkUnnamed3279(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2995() {
+buildUnnamed3280() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2995(core.List<api.Metric> o) {
+checkUnnamed3280(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2996() {
+buildUnnamed3281() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2996(core.List<api.Metric> o) {
+checkUnnamed3281(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -3071,11 +3071,11 @@
var o = new api.CrossDimensionReachReportCompatibleFields();
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- o.breakdown = buildUnnamed2993();
- o.dimensionFilters = buildUnnamed2994();
+ o.breakdown = buildUnnamed3278();
+ o.dimensionFilters = buildUnnamed3279();
o.kind = "foo";
- o.metrics = buildUnnamed2995();
- o.overlapMetrics = buildUnnamed2996();
+ o.metrics = buildUnnamed3280();
+ o.overlapMetrics = buildUnnamed3281();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -3085,11 +3085,11 @@
api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed2993(o.breakdown);
- checkUnnamed2994(o.dimensionFilters);
+ checkUnnamed3278(o.breakdown);
+ checkUnnamed3279(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2995(o.metrics);
- checkUnnamed2996(o.overlapMetrics);
+ checkUnnamed3280(o.metrics);
+ checkUnnamed3281(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
@@ -3117,14 +3117,14 @@
buildCounterCustomFloodlightVariable--;
}
-buildUnnamed2997() {
+buildUnnamed3282() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed2997(core.List<api.DimensionValue> o) {
+checkUnnamed3282(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3135,7 +3135,7 @@
var o = new api.CustomRichMediaEvents();
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- o.filteredEventIds = buildUnnamed2997();
+ o.filteredEventIds = buildUnnamed3282();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -3145,7 +3145,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed2997(o.filteredEventIds);
+ checkUnnamed3282(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -3178,27 +3178,27 @@
buildCounterDateRange--;
}
-buildUnnamed2998() {
+buildUnnamed3283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2998(core.List<core.String> o) {
+checkUnnamed3283(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'));
}
-buildUnnamed2999() {
+buildUnnamed3284() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2999(core.List<core.int> o) {
+checkUnnamed3284(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -3209,8 +3209,8 @@
var o = new api.DayPartTargeting();
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- o.daysOfWeek = buildUnnamed2998();
- o.hoursOfDay = buildUnnamed2999();
+ o.daysOfWeek = buildUnnamed3283();
+ o.hoursOfDay = buildUnnamed3284();
o.userLocalTime = true;
}
buildCounterDayPartTargeting--;
@@ -3220,8 +3220,8 @@
checkDayPartTargeting(api.DayPartTargeting o) {
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- checkUnnamed2998(o.daysOfWeek);
- checkUnnamed2999(o.hoursOfDay);
+ checkUnnamed3283(o.daysOfWeek);
+ checkUnnamed3284(o.hoursOfDay);
unittest.expect(o.userLocalTime, unittest.isTrue);
}
buildCounterDayPartTargeting--;
@@ -3374,14 +3374,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed3000() {
+buildUnnamed3285() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3000(core.List<api.DimensionValue> o) {
+checkUnnamed3285(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3393,7 +3393,7 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
o.etag = "foo";
- o.items = buildUnnamed3000();
+ o.items = buildUnnamed3285();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3405,21 +3405,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3000(o.items);
+ checkUnnamed3285(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed3001() {
+buildUnnamed3286() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed3001(core.List<api.DimensionFilter> o) {
+checkUnnamed3286(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -3432,7 +3432,7 @@
if (buildCounterDimensionValueRequest < 3) {
o.dimensionName = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.filters = buildUnnamed3001();
+ o.filters = buildUnnamed3286();
o.kind = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -3446,7 +3446,7 @@
unittest.expect(o.dimensionName, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed3001(o.filters);
+ checkUnnamed3286(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -3454,40 +3454,40 @@
buildCounterDimensionValueRequest--;
}
-buildUnnamed3002() {
+buildUnnamed3287() {
var o = new core.List<api.DirectorySiteContactAssignment>();
o.add(buildDirectorySiteContactAssignment());
o.add(buildDirectorySiteContactAssignment());
return o;
}
-checkUnnamed3002(core.List<api.DirectorySiteContactAssignment> o) {
+checkUnnamed3287(core.List<api.DirectorySiteContactAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContactAssignment(o[0]);
checkDirectorySiteContactAssignment(o[1]);
}
-buildUnnamed3003() {
+buildUnnamed3288() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3003(core.List<core.String> o) {
+checkUnnamed3288(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'));
}
-buildUnnamed3004() {
+buildUnnamed3289() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3004(core.List<core.String> o) {
+checkUnnamed3289(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'));
@@ -3499,14 +3499,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
o.active = true;
- o.contactAssignments = buildUnnamed3002();
+ o.contactAssignments = buildUnnamed3287();
o.countryId = "foo";
o.currencyId = "foo";
o.description = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
- o.inpageTagFormats = buildUnnamed3003();
- o.interstitialTagFormats = buildUnnamed3004();
+ o.inpageTagFormats = buildUnnamed3288();
+ o.interstitialTagFormats = buildUnnamed3289();
o.kind = "foo";
o.name = "foo";
o.parentId = "foo";
@@ -3521,14 +3521,14 @@
buildCounterDirectorySite++;
if (buildCounterDirectorySite < 3) {
unittest.expect(o.active, unittest.isTrue);
- checkUnnamed3002(o.contactAssignments);
+ checkUnnamed3287(o.contactAssignments);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
- checkUnnamed3003(o.inpageTagFormats);
- checkUnnamed3004(o.interstitialTagFormats);
+ checkUnnamed3288(o.inpageTagFormats);
+ checkUnnamed3289(o.interstitialTagFormats);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentId, unittest.equals('foo'));
@@ -3596,14 +3596,14 @@
buildCounterDirectorySiteContactAssignment--;
}
-buildUnnamed3005() {
+buildUnnamed3290() {
var o = new core.List<api.DirectorySiteContact>();
o.add(buildDirectorySiteContact());
o.add(buildDirectorySiteContact());
return o;
}
-checkUnnamed3005(core.List<api.DirectorySiteContact> o) {
+checkUnnamed3290(core.List<api.DirectorySiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySiteContact(o[0]);
checkDirectorySiteContact(o[1]);
@@ -3614,7 +3614,7 @@
var o = new api.DirectorySiteContactsListResponse();
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- o.directorySiteContacts = buildUnnamed3005();
+ o.directorySiteContacts = buildUnnamed3290();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3626,7 +3626,7 @@
api.DirectorySiteContactsListResponse o) {
buildCounterDirectorySiteContactsListResponse++;
if (buildCounterDirectorySiteContactsListResponse < 3) {
- checkUnnamed3005(o.directorySiteContacts);
+ checkUnnamed3290(o.directorySiteContacts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3664,14 +3664,14 @@
buildCounterDirectorySiteSettings--;
}
-buildUnnamed3006() {
+buildUnnamed3291() {
var o = new core.List<api.DirectorySite>();
o.add(buildDirectorySite());
o.add(buildDirectorySite());
return o;
}
-checkUnnamed3006(core.List<api.DirectorySite> o) {
+checkUnnamed3291(core.List<api.DirectorySite> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySite(o[0]);
checkDirectorySite(o[1]);
@@ -3682,7 +3682,7 @@
var o = new api.DirectorySitesListResponse();
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- o.directorySites = buildUnnamed3006();
+ o.directorySites = buildUnnamed3291();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3693,7 +3693,7 @@
checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- checkUnnamed3006(o.directorySites);
+ checkUnnamed3291(o.directorySites);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3725,14 +3725,14 @@
buildCounterDynamicTargetingKey--;
}
-buildUnnamed3007() {
+buildUnnamed3292() {
var o = new core.List<api.DynamicTargetingKey>();
o.add(buildDynamicTargetingKey());
o.add(buildDynamicTargetingKey());
return o;
}
-checkUnnamed3007(core.List<api.DynamicTargetingKey> o) {
+checkUnnamed3292(core.List<api.DynamicTargetingKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicTargetingKey(o[0]);
checkDynamicTargetingKey(o[1]);
@@ -3743,7 +3743,7 @@
var o = new api.DynamicTargetingKeysListResponse();
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- o.dynamicTargetingKeys = buildUnnamed3007();
+ o.dynamicTargetingKeys = buildUnnamed3292();
o.kind = "foo";
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3753,7 +3753,7 @@
checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- checkUnnamed3007(o.dynamicTargetingKeys);
+ checkUnnamed3292(o.dynamicTargetingKeys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -3784,14 +3784,14 @@
buildCounterEncryptionInfo--;
}
-buildUnnamed3008() {
+buildUnnamed3293() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3008(core.List<core.String> o) {
+checkUnnamed3293(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'));
@@ -3813,7 +3813,7 @@
o.kind = "foo";
o.name = "foo";
o.siteFilterType = "foo";
- o.siteIds = buildUnnamed3008();
+ o.siteIds = buildUnnamed3293();
o.sslCompliant = true;
o.status = "foo";
o.subaccountId = "foo";
@@ -3839,7 +3839,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.siteFilterType, unittest.equals('foo'));
- checkUnnamed3008(o.siteIds);
+ checkUnnamed3293(o.siteIds);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
@@ -3871,14 +3871,14 @@
buildCounterEventTagOverride--;
}
-buildUnnamed3009() {
+buildUnnamed3294() {
var o = new core.List<api.EventTag>();
o.add(buildEventTag());
o.add(buildEventTag());
return o;
}
-checkUnnamed3009(core.List<api.EventTag> o) {
+checkUnnamed3294(core.List<api.EventTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTag(o[0]);
checkEventTag(o[1]);
@@ -3889,7 +3889,7 @@
var o = new api.EventTagsListResponse();
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- o.eventTags = buildUnnamed3009();
+ o.eventTags = buildUnnamed3294();
o.kind = "foo";
}
buildCounterEventTagsListResponse--;
@@ -3899,7 +3899,7 @@
checkEventTagsListResponse(api.EventTagsListResponse o) {
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- checkUnnamed3009(o.eventTags);
+ checkUnnamed3294(o.eventTags);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventTagsListResponse--;
@@ -3963,14 +3963,14 @@
buildCounterFile--;
}
-buildUnnamed3010() {
+buildUnnamed3295() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed3010(core.List<api.File> o) {
+checkUnnamed3295(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -3982,7 +3982,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed3010();
+ o.items = buildUnnamed3295();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3994,7 +3994,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3010(o.items);
+ checkUnnamed3295(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4050,14 +4050,14 @@
buildCounterFloodlightActivitiesGenerateTagResponse--;
}
-buildUnnamed3011() {
+buildUnnamed3296() {
var o = new core.List<api.FloodlightActivity>();
o.add(buildFloodlightActivity());
o.add(buildFloodlightActivity());
return o;
}
-checkUnnamed3011(core.List<api.FloodlightActivity> o) {
+checkUnnamed3296(core.List<api.FloodlightActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivity(o[0]);
checkFloodlightActivity(o[1]);
@@ -4068,7 +4068,7 @@
var o = new api.FloodlightActivitiesListResponse();
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- o.floodlightActivities = buildUnnamed3011();
+ o.floodlightActivities = buildUnnamed3296();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4079,47 +4079,47 @@
checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- checkUnnamed3011(o.floodlightActivities);
+ checkUnnamed3296(o.floodlightActivities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFloodlightActivitiesListResponse--;
}
-buildUnnamed3012() {
+buildUnnamed3297() {
var o = new core.List<api.FloodlightActivityDynamicTag>();
o.add(buildFloodlightActivityDynamicTag());
o.add(buildFloodlightActivityDynamicTag());
return o;
}
-checkUnnamed3012(core.List<api.FloodlightActivityDynamicTag> o) {
+checkUnnamed3297(core.List<api.FloodlightActivityDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityDynamicTag(o[0]);
checkFloodlightActivityDynamicTag(o[1]);
}
-buildUnnamed3013() {
+buildUnnamed3298() {
var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
o.add(buildFloodlightActivityPublisherDynamicTag());
o.add(buildFloodlightActivityPublisherDynamicTag());
return o;
}
-checkUnnamed3013(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+checkUnnamed3298(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityPublisherDynamicTag(o[0]);
checkFloodlightActivityPublisherDynamicTag(o[1]);
}
-buildUnnamed3014() {
+buildUnnamed3299() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3014(core.List<core.String> o) {
+checkUnnamed3299(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'));
@@ -4135,7 +4135,7 @@
o.advertiserIdDimensionValue = buildDimensionValue();
o.cacheBustingType = "foo";
o.countingMethod = "foo";
- o.defaultTags = buildUnnamed3012();
+ o.defaultTags = buildUnnamed3297();
o.expectedUrl = "foo";
o.floodlightActivityGroupId = "foo";
o.floodlightActivityGroupName = "foo";
@@ -4150,14 +4150,14 @@
o.kind = "foo";
o.name = "foo";
o.notes = "foo";
- o.publisherTags = buildUnnamed3013();
+ o.publisherTags = buildUnnamed3298();
o.secure = true;
o.sslCompliant = true;
o.sslRequired = true;
o.subaccountId = "foo";
o.tagFormat = "foo";
o.tagString = "foo";
- o.userDefinedVariableTypes = buildUnnamed3014();
+ o.userDefinedVariableTypes = buildUnnamed3299();
}
buildCounterFloodlightActivity--;
return o;
@@ -4171,7 +4171,7 @@
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.cacheBustingType, unittest.equals('foo'));
unittest.expect(o.countingMethod, unittest.equals('foo'));
- checkUnnamed3012(o.defaultTags);
+ checkUnnamed3297(o.defaultTags);
unittest.expect(o.expectedUrl, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
@@ -4186,14 +4186,14 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed3013(o.publisherTags);
+ checkUnnamed3298(o.publisherTags);
unittest.expect(o.secure, unittest.isTrue);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.tagFormat, unittest.equals('foo'));
unittest.expect(o.tagString, unittest.equals('foo'));
- checkUnnamed3014(o.userDefinedVariableTypes);
+ checkUnnamed3299(o.userDefinedVariableTypes);
}
buildCounterFloodlightActivity--;
}
@@ -4262,14 +4262,14 @@
buildCounterFloodlightActivityGroup--;
}
-buildUnnamed3015() {
+buildUnnamed3300() {
var o = new core.List<api.FloodlightActivityGroup>();
o.add(buildFloodlightActivityGroup());
o.add(buildFloodlightActivityGroup());
return o;
}
-checkUnnamed3015(core.List<api.FloodlightActivityGroup> o) {
+checkUnnamed3300(core.List<api.FloodlightActivityGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityGroup(o[0]);
checkFloodlightActivityGroup(o[1]);
@@ -4280,7 +4280,7 @@
var o = new api.FloodlightActivityGroupsListResponse();
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- o.floodlightActivityGroups = buildUnnamed3015();
+ o.floodlightActivityGroups = buildUnnamed3300();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4292,7 +4292,7 @@
api.FloodlightActivityGroupsListResponse o) {
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- checkUnnamed3015(o.floodlightActivityGroups);
+ checkUnnamed3300(o.floodlightActivityGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4329,27 +4329,27 @@
buildCounterFloodlightActivityPublisherDynamicTag--;
}
-buildUnnamed3016() {
+buildUnnamed3301() {
var o = new core.List<api.ThirdPartyAuthenticationToken>();
o.add(buildThirdPartyAuthenticationToken());
o.add(buildThirdPartyAuthenticationToken());
return o;
}
-checkUnnamed3016(core.List<api.ThirdPartyAuthenticationToken> o) {
+checkUnnamed3301(core.List<api.ThirdPartyAuthenticationToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyAuthenticationToken(o[0]);
checkThirdPartyAuthenticationToken(o[1]);
}
-buildUnnamed3017() {
+buildUnnamed3302() {
var o = new core.List<api.UserDefinedVariableConfiguration>();
o.add(buildUserDefinedVariableConfiguration());
o.add(buildUserDefinedVariableConfiguration());
return o;
}
-checkUnnamed3017(core.List<api.UserDefinedVariableConfiguration> o) {
+checkUnnamed3302(core.List<api.UserDefinedVariableConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedVariableConfiguration(o[0]);
checkUserDefinedVariableConfiguration(o[1]);
@@ -4375,8 +4375,8 @@
o.omnitureSettings = buildOmnitureSettings();
o.subaccountId = "foo";
o.tagSettings = buildTagSettings();
- o.thirdPartyAuthenticationTokens = buildUnnamed3016();
- o.userDefinedVariableConfigurations = buildUnnamed3017();
+ o.thirdPartyAuthenticationTokens = buildUnnamed3301();
+ o.userDefinedVariableConfigurations = buildUnnamed3302();
}
buildCounterFloodlightConfiguration--;
return o;
@@ -4401,20 +4401,20 @@
checkOmnitureSettings(o.omnitureSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkTagSettings(o.tagSettings);
- checkUnnamed3016(o.thirdPartyAuthenticationTokens);
- checkUnnamed3017(o.userDefinedVariableConfigurations);
+ checkUnnamed3301(o.thirdPartyAuthenticationTokens);
+ checkUnnamed3302(o.userDefinedVariableConfigurations);
}
buildCounterFloodlightConfiguration--;
}
-buildUnnamed3018() {
+buildUnnamed3303() {
var o = new core.List<api.FloodlightConfiguration>();
o.add(buildFloodlightConfiguration());
o.add(buildFloodlightConfiguration());
return o;
}
-checkUnnamed3018(core.List<api.FloodlightConfiguration> o) {
+checkUnnamed3303(core.List<api.FloodlightConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightConfiguration(o[0]);
checkFloodlightConfiguration(o[1]);
@@ -4425,7 +4425,7 @@
var o = new api.FloodlightConfigurationsListResponse();
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- o.floodlightConfigurations = buildUnnamed3018();
+ o.floodlightConfigurations = buildUnnamed3303();
o.kind = "foo";
}
buildCounterFloodlightConfigurationsListResponse--;
@@ -4436,46 +4436,46 @@
api.FloodlightConfigurationsListResponse o) {
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- checkUnnamed3018(o.floodlightConfigurations);
+ checkUnnamed3303(o.floodlightConfigurations);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFloodlightConfigurationsListResponse--;
}
-buildUnnamed3019() {
+buildUnnamed3304() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3019(core.List<api.Dimension> o) {
+checkUnnamed3304(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3020() {
+buildUnnamed3305() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3020(core.List<api.Dimension> o) {
+checkUnnamed3305(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3021() {
+buildUnnamed3306() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3021(core.List<api.Metric> o) {
+checkUnnamed3306(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -4486,10 +4486,10 @@
var o = new api.FloodlightReportCompatibleFields();
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed3019();
- o.dimensions = buildUnnamed3020();
+ o.dimensionFilters = buildUnnamed3304();
+ o.dimensions = buildUnnamed3305();
o.kind = "foo";
- o.metrics = buildUnnamed3021();
+ o.metrics = buildUnnamed3306();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -4498,10 +4498,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed3019(o.dimensionFilters);
- checkUnnamed3020(o.dimensions);
+ checkUnnamed3304(o.dimensionFilters);
+ checkUnnamed3305(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3021(o.metrics);
+ checkUnnamed3306(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -4554,66 +4554,66 @@
buildCounterFsCommand--;
}
-buildUnnamed3022() {
+buildUnnamed3307() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed3022(core.List<api.City> o) {
+checkUnnamed3307(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
}
-buildUnnamed3023() {
+buildUnnamed3308() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed3023(core.List<api.Country> o) {
+checkUnnamed3308(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
}
-buildUnnamed3024() {
+buildUnnamed3309() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed3024(core.List<api.Metro> o) {
+checkUnnamed3309(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
}
-buildUnnamed3025() {
+buildUnnamed3310() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed3025(core.List<api.PostalCode> o) {
+checkUnnamed3310(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
}
-buildUnnamed3026() {
+buildUnnamed3311() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed3026(core.List<api.Region> o) {
+checkUnnamed3311(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -4624,12 +4624,12 @@
var o = new api.GeoTargeting();
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- o.cities = buildUnnamed3022();
- o.countries = buildUnnamed3023();
+ o.cities = buildUnnamed3307();
+ o.countries = buildUnnamed3308();
o.excludeCountries = true;
- o.metros = buildUnnamed3024();
- o.postalCodes = buildUnnamed3025();
- o.regions = buildUnnamed3026();
+ o.metros = buildUnnamed3309();
+ o.postalCodes = buildUnnamed3310();
+ o.regions = buildUnnamed3311();
}
buildCounterGeoTargeting--;
return o;
@@ -4638,24 +4638,24 @@
checkGeoTargeting(api.GeoTargeting o) {
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- checkUnnamed3022(o.cities);
- checkUnnamed3023(o.countries);
+ checkUnnamed3307(o.cities);
+ checkUnnamed3308(o.countries);
unittest.expect(o.excludeCountries, unittest.isTrue);
- checkUnnamed3024(o.metros);
- checkUnnamed3025(o.postalCodes);
- checkUnnamed3026(o.regions);
+ checkUnnamed3309(o.metros);
+ checkUnnamed3310(o.postalCodes);
+ checkUnnamed3311(o.regions);
}
buildCounterGeoTargeting--;
}
-buildUnnamed3027() {
+buildUnnamed3312() {
var o = new core.List<api.AdSlot>();
o.add(buildAdSlot());
o.add(buildAdSlot());
return o;
}
-checkUnnamed3027(core.List<api.AdSlot> o) {
+checkUnnamed3312(core.List<api.AdSlot> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdSlot(o[0]);
checkAdSlot(o[1]);
@@ -4667,7 +4667,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
o.accountId = "foo";
- o.adSlots = buildUnnamed3027();
+ o.adSlots = buildUnnamed3312();
o.advertiserId = "foo";
o.contentCategoryId = "foo";
o.estimatedClickThroughRate = "foo";
@@ -4695,7 +4695,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed3027(o.adSlots);
+ checkUnnamed3312(o.adSlots);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
@@ -4718,14 +4718,14 @@
buildCounterInventoryItem--;
}
-buildUnnamed3028() {
+buildUnnamed3313() {
var o = new core.List<api.InventoryItem>();
o.add(buildInventoryItem());
o.add(buildInventoryItem());
return o;
}
-checkUnnamed3028(core.List<api.InventoryItem> o) {
+checkUnnamed3313(core.List<api.InventoryItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryItem(o[0]);
checkInventoryItem(o[1]);
@@ -4736,7 +4736,7 @@
var o = new api.InventoryItemsListResponse();
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- o.inventoryItems = buildUnnamed3028();
+ o.inventoryItems = buildUnnamed3313();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4747,7 +4747,7 @@
checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- checkUnnamed3028(o.inventoryItems);
+ checkUnnamed3313(o.inventoryItems);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4800,14 +4800,14 @@
buildCounterLandingPage--;
}
-buildUnnamed3029() {
+buildUnnamed3314() {
var o = new core.List<api.LandingPage>();
o.add(buildLandingPage());
o.add(buildLandingPage());
return o;
}
-checkUnnamed3029(core.List<api.LandingPage> o) {
+checkUnnamed3314(core.List<api.LandingPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandingPage(o[0]);
checkLandingPage(o[1]);
@@ -4819,7 +4819,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
o.kind = "foo";
- o.landingPages = buildUnnamed3029();
+ o.landingPages = buildUnnamed3314();
}
buildCounterLandingPagesListResponse--;
return o;
@@ -4829,7 +4829,7 @@
buildCounterLandingPagesListResponse++;
if (buildCounterLandingPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3029(o.landingPages);
+ checkUnnamed3314(o.landingPages);
}
buildCounterLandingPagesListResponse--;
}
@@ -4859,14 +4859,14 @@
buildCounterLanguage--;
}
-buildUnnamed3030() {
+buildUnnamed3315() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed3030(core.List<api.Language> o) {
+checkUnnamed3315(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4877,7 +4877,7 @@
var o = new api.LanguageTargeting();
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- o.languages = buildUnnamed3030();
+ o.languages = buildUnnamed3315();
}
buildCounterLanguageTargeting--;
return o;
@@ -4886,19 +4886,19 @@
checkLanguageTargeting(api.LanguageTargeting o) {
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- checkUnnamed3030(o.languages);
+ checkUnnamed3315(o.languages);
}
buildCounterLanguageTargeting--;
}
-buildUnnamed3031() {
+buildUnnamed3316() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed3031(core.List<api.Language> o) {
+checkUnnamed3316(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -4910,7 +4910,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
o.kind = "foo";
- o.languages = buildUnnamed3031();
+ o.languages = buildUnnamed3316();
}
buildCounterLanguagesListResponse--;
return o;
@@ -4920,7 +4920,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3031(o.languages);
+ checkUnnamed3316(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -4944,14 +4944,14 @@
buildCounterLastModifiedInfo--;
}
-buildUnnamed3032() {
+buildUnnamed3317() {
var o = new core.List<api.ListPopulationTerm>();
o.add(buildListPopulationTerm());
o.add(buildListPopulationTerm());
return o;
}
-checkUnnamed3032(core.List<api.ListPopulationTerm> o) {
+checkUnnamed3317(core.List<api.ListPopulationTerm> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationTerm(o[0]);
checkListPopulationTerm(o[1]);
@@ -4962,7 +4962,7 @@
var o = new api.ListPopulationClause();
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- o.terms = buildUnnamed3032();
+ o.terms = buildUnnamed3317();
}
buildCounterListPopulationClause--;
return o;
@@ -4971,19 +4971,19 @@
checkListPopulationClause(api.ListPopulationClause o) {
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- checkUnnamed3032(o.terms);
+ checkUnnamed3317(o.terms);
}
buildCounterListPopulationClause--;
}
-buildUnnamed3033() {
+buildUnnamed3318() {
var o = new core.List<api.ListPopulationClause>();
o.add(buildListPopulationClause());
o.add(buildListPopulationClause());
return o;
}
-checkUnnamed3033(core.List<api.ListPopulationClause> o) {
+checkUnnamed3318(core.List<api.ListPopulationClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationClause(o[0]);
checkListPopulationClause(o[1]);
@@ -4996,7 +4996,7 @@
if (buildCounterListPopulationRule < 3) {
o.floodlightActivityId = "foo";
o.floodlightActivityName = "foo";
- o.listPopulationClauses = buildUnnamed3033();
+ o.listPopulationClauses = buildUnnamed3318();
}
buildCounterListPopulationRule--;
return o;
@@ -5007,7 +5007,7 @@
if (buildCounterListPopulationRule < 3) {
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
- checkUnnamed3033(o.listPopulationClauses);
+ checkUnnamed3318(o.listPopulationClauses);
}
buildCounterListPopulationRule--;
}
@@ -5137,14 +5137,14 @@
buildCounterMetro--;
}
-buildUnnamed3034() {
+buildUnnamed3319() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed3034(core.List<api.Metro> o) {
+checkUnnamed3319(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
@@ -5156,7 +5156,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
o.kind = "foo";
- o.metros = buildUnnamed3034();
+ o.metros = buildUnnamed3319();
}
buildCounterMetrosListResponse--;
return o;
@@ -5166,7 +5166,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3034(o.metros);
+ checkUnnamed3319(o.metros);
}
buildCounterMetrosListResponse--;
}
@@ -5198,14 +5198,14 @@
buildCounterMobileCarrier--;
}
-buildUnnamed3035() {
+buildUnnamed3320() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed3035(core.List<api.MobileCarrier> o) {
+checkUnnamed3320(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
@@ -5217,7 +5217,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
o.kind = "foo";
- o.mobileCarriers = buildUnnamed3035();
+ o.mobileCarriers = buildUnnamed3320();
}
buildCounterMobileCarriersListResponse--;
return o;
@@ -5227,19 +5227,19 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3035(o.mobileCarriers);
+ checkUnnamed3320(o.mobileCarriers);
}
buildCounterMobileCarriersListResponse--;
}
-buildUnnamed3036() {
+buildUnnamed3321() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3036(core.List<core.String> o) {
+checkUnnamed3321(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'));
@@ -5251,7 +5251,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
o.kind = "foo";
- o.objectIds = buildUnnamed3036();
+ o.objectIds = buildUnnamed3321();
o.status = "foo";
}
buildCounterObjectFilter--;
@@ -5262,7 +5262,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3036(o.objectIds);
+ checkUnnamed3321(o.objectIds);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterObjectFilter--;
@@ -5366,14 +5366,14 @@
buildCounterOperatingSystemVersion--;
}
-buildUnnamed3037() {
+buildUnnamed3322() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed3037(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed3322(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
@@ -5385,7 +5385,7 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
o.kind = "foo";
- o.operatingSystemVersions = buildUnnamed3037();
+ o.operatingSystemVersions = buildUnnamed3322();
}
buildCounterOperatingSystemVersionsListResponse--;
return o;
@@ -5396,19 +5396,19 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3037(o.operatingSystemVersions);
+ checkUnnamed3322(o.operatingSystemVersions);
}
buildCounterOperatingSystemVersionsListResponse--;
}
-buildUnnamed3038() {
+buildUnnamed3323() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed3038(core.List<api.OperatingSystem> o) {
+checkUnnamed3323(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
@@ -5420,7 +5420,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
o.kind = "foo";
- o.operatingSystems = buildUnnamed3038();
+ o.operatingSystems = buildUnnamed3323();
}
buildCounterOperatingSystemsListResponse--;
return o;
@@ -5430,7 +5430,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3038(o.operatingSystems);
+ checkUnnamed3323(o.operatingSystems);
}
buildCounterOperatingSystemsListResponse--;
}
@@ -5458,53 +5458,53 @@
buildCounterOptimizationActivity--;
}
-buildUnnamed3039() {
+buildUnnamed3324() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3039(core.List<core.String> o) {
+checkUnnamed3324(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'));
}
-buildUnnamed3040() {
+buildUnnamed3325() {
var o = new core.List<api.OrderContact>();
o.add(buildOrderContact());
o.add(buildOrderContact());
return o;
}
-checkUnnamed3040(core.List<api.OrderContact> o) {
+checkUnnamed3325(core.List<api.OrderContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderContact(o[0]);
checkOrderContact(o[1]);
}
-buildUnnamed3041() {
+buildUnnamed3326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3041(core.List<core.String> o) {
+checkUnnamed3326(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'));
}
-buildUnnamed3042() {
+buildUnnamed3327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3042(core.List<core.String> o) {
+checkUnnamed3327(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'));
@@ -5517,11 +5517,11 @@
if (buildCounterOrder < 3) {
o.accountId = "foo";
o.advertiserId = "foo";
- o.approverUserProfileIds = buildUnnamed3039();
+ o.approverUserProfileIds = buildUnnamed3324();
o.buyerInvoiceId = "foo";
o.buyerOrganizationName = "foo";
o.comments = "foo";
- o.contacts = buildUnnamed3040();
+ o.contacts = buildUnnamed3325();
o.id = "foo";
o.kind = "foo";
o.lastModifiedInfo = buildLastModifiedInfo();
@@ -5531,8 +5531,8 @@
o.projectId = "foo";
o.sellerOrderId = "foo";
o.sellerOrganizationName = "foo";
- o.siteId = buildUnnamed3041();
- o.siteNames = buildUnnamed3042();
+ o.siteId = buildUnnamed3326();
+ o.siteNames = buildUnnamed3327();
o.subaccountId = "foo";
o.termsAndConditions = "foo";
}
@@ -5545,11 +5545,11 @@
if (buildCounterOrder < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed3039(o.approverUserProfileIds);
+ checkUnnamed3324(o.approverUserProfileIds);
unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
- checkUnnamed3040(o.contacts);
+ checkUnnamed3325(o.contacts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkLastModifiedInfo(o.lastModifiedInfo);
@@ -5559,8 +5559,8 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.sellerOrderId, unittest.equals('foo'));
unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
- checkUnnamed3041(o.siteId);
- checkUnnamed3042(o.siteNames);
+ checkUnnamed3326(o.siteId);
+ checkUnnamed3327(o.siteNames);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.termsAndConditions, unittest.equals('foo'));
}
@@ -5594,27 +5594,27 @@
buildCounterOrderContact--;
}
-buildUnnamed3043() {
+buildUnnamed3328() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3043(core.List<core.String> o) {
+checkUnnamed3328(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'));
}
-buildUnnamed3044() {
+buildUnnamed3329() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3044(core.List<core.String> o) {
+checkUnnamed3329(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'));
@@ -5628,13 +5628,13 @@
o.accountId = "foo";
o.advertiserId = "foo";
o.amendedOrderDocumentId = "foo";
- o.approvedByUserProfileIds = buildUnnamed3043();
+ o.approvedByUserProfileIds = buildUnnamed3328();
o.cancelled = true;
o.createdInfo = buildLastModifiedInfo();
o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.id = "foo";
o.kind = "foo";
- o.lastSentRecipients = buildUnnamed3044();
+ o.lastSentRecipients = buildUnnamed3329();
o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
o.orderId = "foo";
o.projectId = "foo";
@@ -5653,14 +5653,14 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
- checkUnnamed3043(o.approvedByUserProfileIds);
+ checkUnnamed3328(o.approvedByUserProfileIds);
unittest.expect(o.cancelled, unittest.isTrue);
checkLastModifiedInfo(o.createdInfo);
unittest.expect(o.effectiveDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3044(o.lastSentRecipients);
+ checkUnnamed3329(o.lastSentRecipients);
unittest.expect(o.lastSentTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.orderId, unittest.equals('foo'));
@@ -5673,14 +5673,14 @@
buildCounterOrderDocument--;
}
-buildUnnamed3045() {
+buildUnnamed3330() {
var o = new core.List<api.OrderDocument>();
o.add(buildOrderDocument());
o.add(buildOrderDocument());
return o;
}
-checkUnnamed3045(core.List<api.OrderDocument> o) {
+checkUnnamed3330(core.List<api.OrderDocument> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderDocument(o[0]);
checkOrderDocument(o[1]);
@@ -5693,7 +5693,7 @@
if (buildCounterOrderDocumentsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orderDocuments = buildUnnamed3045();
+ o.orderDocuments = buildUnnamed3330();
}
buildCounterOrderDocumentsListResponse--;
return o;
@@ -5704,19 +5704,19 @@
if (buildCounterOrderDocumentsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3045(o.orderDocuments);
+ checkUnnamed3330(o.orderDocuments);
}
buildCounterOrderDocumentsListResponse--;
}
-buildUnnamed3046() {
+buildUnnamed3331() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed3046(core.List<api.Order> o) {
+checkUnnamed3331(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -5729,7 +5729,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orders = buildUnnamed3046();
+ o.orders = buildUnnamed3331();
}
buildCounterOrdersListResponse--;
return o;
@@ -5740,58 +5740,58 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3046(o.orders);
+ checkUnnamed3331(o.orders);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed3047() {
+buildUnnamed3332() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3047(core.List<api.Dimension> o) {
+checkUnnamed3332(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3048() {
+buildUnnamed3333() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3048(core.List<api.Dimension> o) {
+checkUnnamed3333(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3049() {
+buildUnnamed3334() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3049(core.List<api.Metric> o) {
+checkUnnamed3334(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3050() {
+buildUnnamed3335() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3050(core.List<api.Dimension> o) {
+checkUnnamed3335(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -5802,11 +5802,11 @@
var o = new api.PathToConversionReportCompatibleFields();
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- o.conversionDimensions = buildUnnamed3047();
- o.customFloodlightVariables = buildUnnamed3048();
+ o.conversionDimensions = buildUnnamed3332();
+ o.customFloodlightVariables = buildUnnamed3333();
o.kind = "foo";
- o.metrics = buildUnnamed3049();
- o.perInteractionDimensions = buildUnnamed3050();
+ o.metrics = buildUnnamed3334();
+ o.perInteractionDimensions = buildUnnamed3335();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -5816,23 +5816,23 @@
api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed3047(o.conversionDimensions);
- checkUnnamed3048(o.customFloodlightVariables);
+ checkUnnamed3332(o.conversionDimensions);
+ checkUnnamed3333(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3049(o.metrics);
- checkUnnamed3050(o.perInteractionDimensions);
+ checkUnnamed3334(o.metrics);
+ checkUnnamed3335(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed3051() {
+buildUnnamed3336() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3051(core.List<core.String> o) {
+checkUnnamed3336(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'));
@@ -5878,7 +5878,7 @@
o.sslRequired = true;
o.status = "foo";
o.subaccountId = "foo";
- o.tagFormats = buildUnnamed3051();
+ o.tagFormats = buildUnnamed3336();
o.tagSetting = buildTagSetting();
o.videoActiveViewOptOut = true;
o.videoSettings = buildVideoSettings();
@@ -5926,7 +5926,7 @@
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed3051(o.tagFormats);
+ checkUnnamed3336(o.tagFormats);
checkTagSetting(o.tagSetting);
unittest.expect(o.videoActiveViewOptOut, unittest.isTrue);
checkVideoSettings(o.videoSettings);
@@ -5960,14 +5960,14 @@
buildCounterPlacementAssignment--;
}
-buildUnnamed3052() {
+buildUnnamed3337() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3052(core.List<core.String> o) {
+checkUnnamed3337(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'));
@@ -5984,7 +5984,7 @@
o.archived = true;
o.campaignId = "foo";
o.campaignIdDimensionValue = buildDimensionValue();
- o.childPlacementIds = buildUnnamed3052();
+ o.childPlacementIds = buildUnnamed3337();
o.comment = "foo";
o.contentCategoryId = "foo";
o.createInfo = buildLastModifiedInfo();
@@ -6018,7 +6018,7 @@
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkDimensionValue(o.campaignIdDimensionValue);
- checkUnnamed3052(o.childPlacementIds);
+ checkUnnamed3337(o.childPlacementIds);
unittest.expect(o.comment, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
@@ -6042,14 +6042,14 @@
buildCounterPlacementGroup--;
}
-buildUnnamed3053() {
+buildUnnamed3338() {
var o = new core.List<api.PlacementGroup>();
o.add(buildPlacementGroup());
o.add(buildPlacementGroup());
return o;
}
-checkUnnamed3053(core.List<api.PlacementGroup> o) {
+checkUnnamed3338(core.List<api.PlacementGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementGroup(o[0]);
checkPlacementGroup(o[1]);
@@ -6062,7 +6062,7 @@
if (buildCounterPlacementGroupsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementGroups = buildUnnamed3053();
+ o.placementGroups = buildUnnamed3338();
}
buildCounterPlacementGroupsListResponse--;
return o;
@@ -6073,19 +6073,19 @@
if (buildCounterPlacementGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3053(o.placementGroups);
+ checkUnnamed3338(o.placementGroups);
}
buildCounterPlacementGroupsListResponse--;
}
-buildUnnamed3054() {
+buildUnnamed3339() {
var o = new core.List<api.PlacementStrategy>();
o.add(buildPlacementStrategy());
o.add(buildPlacementStrategy());
return o;
}
-checkUnnamed3054(core.List<api.PlacementStrategy> o) {
+checkUnnamed3339(core.List<api.PlacementStrategy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementStrategy(o[0]);
checkPlacementStrategy(o[1]);
@@ -6098,7 +6098,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementStrategies = buildUnnamed3054();
+ o.placementStrategies = buildUnnamed3339();
}
buildCounterPlacementStrategiesListResponse--;
return o;
@@ -6109,7 +6109,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3054(o.placementStrategies);
+ checkUnnamed3339(o.placementStrategies);
}
buildCounterPlacementStrategiesListResponse--;
}
@@ -6139,14 +6139,14 @@
buildCounterPlacementStrategy--;
}
-buildUnnamed3055() {
+buildUnnamed3340() {
var o = new core.List<api.TagData>();
o.add(buildTagData());
o.add(buildTagData());
return o;
}
-checkUnnamed3055(core.List<api.TagData> o) {
+checkUnnamed3340(core.List<api.TagData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagData(o[0]);
checkTagData(o[1]);
@@ -6158,7 +6158,7 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
o.placementId = "foo";
- o.tagDatas = buildUnnamed3055();
+ o.tagDatas = buildUnnamed3340();
}
buildCounterPlacementTag--;
return o;
@@ -6168,19 +6168,19 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
unittest.expect(o.placementId, unittest.equals('foo'));
- checkUnnamed3055(o.tagDatas);
+ checkUnnamed3340(o.tagDatas);
}
buildCounterPlacementTag--;
}
-buildUnnamed3056() {
+buildUnnamed3341() {
var o = new core.List<api.PlacementTag>();
o.add(buildPlacementTag());
o.add(buildPlacementTag());
return o;
}
-checkUnnamed3056(core.List<api.PlacementTag> o) {
+checkUnnamed3341(core.List<api.PlacementTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementTag(o[0]);
checkPlacementTag(o[1]);
@@ -6192,7 +6192,7 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
o.kind = "foo";
- o.placementTags = buildUnnamed3056();
+ o.placementTags = buildUnnamed3341();
}
buildCounterPlacementsGenerateTagsResponse--;
return o;
@@ -6202,19 +6202,19 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3056(o.placementTags);
+ checkUnnamed3341(o.placementTags);
}
buildCounterPlacementsGenerateTagsResponse--;
}
-buildUnnamed3057() {
+buildUnnamed3342() {
var o = new core.List<api.Placement>();
o.add(buildPlacement());
o.add(buildPlacement());
return o;
}
-checkUnnamed3057(core.List<api.Placement> o) {
+checkUnnamed3342(core.List<api.Placement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacement(o[0]);
checkPlacement(o[1]);
@@ -6227,7 +6227,7 @@
if (buildCounterPlacementsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placements = buildUnnamed3057();
+ o.placements = buildUnnamed3342();
}
buildCounterPlacementsListResponse--;
return o;
@@ -6238,7 +6238,7 @@
if (buildCounterPlacementsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3057(o.placements);
+ checkUnnamed3342(o.placements);
}
buildCounterPlacementsListResponse--;
}
@@ -6266,14 +6266,14 @@
buildCounterPlatformType--;
}
-buildUnnamed3058() {
+buildUnnamed3343() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed3058(core.List<api.PlatformType> o) {
+checkUnnamed3343(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -6285,7 +6285,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
o.kind = "foo";
- o.platformTypes = buildUnnamed3058();
+ o.platformTypes = buildUnnamed3343();
}
buildCounterPlatformTypesListResponse--;
return o;
@@ -6295,7 +6295,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3058(o.platformTypes);
+ checkUnnamed3343(o.platformTypes);
}
buildCounterPlatformTypesListResponse--;
}
@@ -6362,14 +6362,14 @@
buildCounterPostalCode--;
}
-buildUnnamed3059() {
+buildUnnamed3344() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed3059(core.List<api.PostalCode> o) {
+checkUnnamed3344(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
@@ -6381,7 +6381,7 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
o.kind = "foo";
- o.postalCodes = buildUnnamed3059();
+ o.postalCodes = buildUnnamed3344();
}
buildCounterPostalCodesListResponse--;
return o;
@@ -6391,19 +6391,19 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3059(o.postalCodes);
+ checkUnnamed3344(o.postalCodes);
}
buildCounterPostalCodesListResponse--;
}
-buildUnnamed3060() {
+buildUnnamed3345() {
var o = new core.List<api.Flight>();
o.add(buildFlight());
o.add(buildFlight());
return o;
}
-checkUnnamed3060(core.List<api.Flight> o) {
+checkUnnamed3345(core.List<api.Flight> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlight(o[0]);
checkFlight(o[1]);
@@ -6416,7 +6416,7 @@
if (buildCounterPricing < 3) {
o.capCostType = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.flights = buildUnnamed3060();
+ o.flights = buildUnnamed3345();
o.groupType = "foo";
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6431,7 +6431,7 @@
unittest.expect(o.capCostType, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed3060(o.flights);
+ checkUnnamed3345(o.flights);
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate,
@@ -6440,14 +6440,14 @@
buildCounterPricing--;
}
-buildUnnamed3061() {
+buildUnnamed3346() {
var o = new core.List<api.PricingSchedulePricingPeriod>();
o.add(buildPricingSchedulePricingPeriod());
o.add(buildPricingSchedulePricingPeriod());
return o;
}
-checkUnnamed3061(core.List<api.PricingSchedulePricingPeriod> o) {
+checkUnnamed3346(core.List<api.PricingSchedulePricingPeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingSchedulePricingPeriod(o[0]);
checkPricingSchedulePricingPeriod(o[1]);
@@ -6463,7 +6463,7 @@
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.flighted = true;
o.floodlightActivityId = "foo";
- o.pricingPeriods = buildUnnamed3061();
+ o.pricingPeriods = buildUnnamed3346();
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -6481,7 +6481,7 @@
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.flighted, unittest.isTrue);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
- checkUnnamed3061(o.pricingPeriods);
+ checkUnnamed3346(o.pricingPeriods);
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -6583,14 +6583,14 @@
buildCounterProject--;
}
-buildUnnamed3062() {
+buildUnnamed3347() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed3062(core.List<api.Project> o) {
+checkUnnamed3347(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -6603,7 +6603,7 @@
if (buildCounterProjectsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed3062();
+ o.projects = buildUnnamed3347();
}
buildCounterProjectsListResponse--;
return o;
@@ -6614,71 +6614,71 @@
if (buildCounterProjectsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3062(o.projects);
+ checkUnnamed3347(o.projects);
}
buildCounterProjectsListResponse--;
}
-buildUnnamed3063() {
+buildUnnamed3348() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3063(core.List<api.Dimension> o) {
+checkUnnamed3348(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3064() {
+buildUnnamed3349() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3064(core.List<api.Dimension> o) {
+checkUnnamed3349(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3065() {
+buildUnnamed3350() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3065(core.List<api.Metric> o) {
+checkUnnamed3350(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3066() {
+buildUnnamed3351() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3066(core.List<api.Metric> o) {
+checkUnnamed3351(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3067() {
+buildUnnamed3352() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3067(core.List<api.Metric> o) {
+checkUnnamed3352(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -6689,12 +6689,12 @@
var o = new api.ReachReportCompatibleFields();
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed3063();
- o.dimensions = buildUnnamed3064();
+ o.dimensionFilters = buildUnnamed3348();
+ o.dimensions = buildUnnamed3349();
o.kind = "foo";
- o.metrics = buildUnnamed3065();
- o.pivotedActivityMetrics = buildUnnamed3066();
- o.reachByFrequencyMetrics = buildUnnamed3067();
+ o.metrics = buildUnnamed3350();
+ o.pivotedActivityMetrics = buildUnnamed3351();
+ o.reachByFrequencyMetrics = buildUnnamed3352();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -6703,12 +6703,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed3063(o.dimensionFilters);
- checkUnnamed3064(o.dimensions);
+ checkUnnamed3348(o.dimensionFilters);
+ checkUnnamed3349(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3065(o.metrics);
- checkUnnamed3066(o.pivotedActivityMetrics);
- checkUnnamed3067(o.reachByFrequencyMetrics);
+ checkUnnamed3350(o.metrics);
+ checkUnnamed3351(o.pivotedActivityMetrics);
+ checkUnnamed3352(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -6765,14 +6765,14 @@
buildCounterRegion--;
}
-buildUnnamed3068() {
+buildUnnamed3353() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed3068(core.List<api.Region> o) {
+checkUnnamed3353(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -6784,7 +6784,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
o.kind = "foo";
- o.regions = buildUnnamed3068();
+ o.regions = buildUnnamed3353();
}
buildCounterRegionsListResponse--;
return o;
@@ -6794,7 +6794,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3068(o.regions);
+ checkUnnamed3353(o.regions);
}
buildCounterRegionsListResponse--;
}
@@ -6842,27 +6842,27 @@
buildCounterRemarketingList--;
}
-buildUnnamed3069() {
+buildUnnamed3354() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3069(core.List<core.String> o) {
+checkUnnamed3354(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'));
}
-buildUnnamed3070() {
+buildUnnamed3355() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3070(core.List<core.String> o) {
+checkUnnamed3355(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'));
@@ -6875,8 +6875,8 @@
if (buildCounterRemarketingListShare < 3) {
o.kind = "foo";
o.remarketingListId = "foo";
- o.sharedAccountIds = buildUnnamed3069();
- o.sharedAdvertiserIds = buildUnnamed3070();
+ o.sharedAccountIds = buildUnnamed3354();
+ o.sharedAdvertiserIds = buildUnnamed3355();
}
buildCounterRemarketingListShare--;
return o;
@@ -6887,20 +6887,20 @@
if (buildCounterRemarketingListShare < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.remarketingListId, unittest.equals('foo'));
- checkUnnamed3069(o.sharedAccountIds);
- checkUnnamed3070(o.sharedAdvertiserIds);
+ checkUnnamed3354(o.sharedAccountIds);
+ checkUnnamed3355(o.sharedAdvertiserIds);
}
buildCounterRemarketingListShare--;
}
-buildUnnamed3071() {
+buildUnnamed3356() {
var o = new core.List<api.RemarketingList>();
o.add(buildRemarketingList());
o.add(buildRemarketingList());
return o;
}
-checkUnnamed3071(core.List<api.RemarketingList> o) {
+checkUnnamed3356(core.List<api.RemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingList(o[0]);
checkRemarketingList(o[1]);
@@ -6913,7 +6913,7 @@
if (buildCounterRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.remarketingLists = buildUnnamed3071();
+ o.remarketingLists = buildUnnamed3356();
}
buildCounterRemarketingListsListResponse--;
return o;
@@ -6924,45 +6924,45 @@
if (buildCounterRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3071(o.remarketingLists);
+ checkUnnamed3356(o.remarketingLists);
}
buildCounterRemarketingListsListResponse--;
}
-buildUnnamed3072() {
+buildUnnamed3357() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3072(core.List<api.DimensionValue> o) {
+checkUnnamed3357(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3073() {
+buildUnnamed3358() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3073(core.List<api.SortedDimension> o) {
+checkUnnamed3358(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3074() {
+buildUnnamed3359() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3074(core.List<core.String> o) {
+checkUnnamed3359(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'));
@@ -6976,9 +6976,9 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed3072();
- o.dimensions = buildUnnamed3073();
- o.metricNames = buildUnnamed3074();
+ o.dimensionFilters = buildUnnamed3357();
+ o.dimensions = buildUnnamed3358();
+ o.metricNames = buildUnnamed3359();
}
buildCounterReportCriteria--;
return o;
@@ -6990,60 +6990,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed3072(o.dimensionFilters);
- checkUnnamed3073(o.dimensions);
- checkUnnamed3074(o.metricNames);
+ checkUnnamed3357(o.dimensionFilters);
+ checkUnnamed3358(o.dimensions);
+ checkUnnamed3359(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed3075() {
+buildUnnamed3360() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3075(core.List<api.SortedDimension> o) {
+checkUnnamed3360(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3076() {
+buildUnnamed3361() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3076(core.List<api.DimensionValue> o) {
+checkUnnamed3361(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3077() {
+buildUnnamed3362() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3077(core.List<core.String> o) {
+checkUnnamed3362(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'));
}
-buildUnnamed3078() {
+buildUnnamed3363() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3078(core.List<core.String> o) {
+checkUnnamed3363(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'));
@@ -7054,12 +7054,12 @@
var o = new api.ReportCrossDimensionReachCriteria();
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- o.breakdown = buildUnnamed3075();
+ o.breakdown = buildUnnamed3360();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed3076();
- o.metricNames = buildUnnamed3077();
- o.overlapMetricNames = buildUnnamed3078();
+ o.dimensionFilters = buildUnnamed3361();
+ o.metricNames = buildUnnamed3362();
+ o.overlapMetricNames = buildUnnamed3363();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -7070,25 +7070,25 @@
api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed3075(o.breakdown);
+ checkUnnamed3360(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed3076(o.dimensionFilters);
- checkUnnamed3077(o.metricNames);
- checkUnnamed3078(o.overlapMetricNames);
+ checkUnnamed3361(o.dimensionFilters);
+ checkUnnamed3362(o.metricNames);
+ checkUnnamed3363(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed3079() {
+buildUnnamed3364() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed3079(core.List<api.Recipient> o) {
+checkUnnamed3364(core.List<api.Recipient> o) {
unittest.expect(o, unittest.hasLength(2));
checkRecipient(o[0]);
checkRecipient(o[1]);
@@ -7102,7 +7102,7 @@
o.emailOwner = true;
o.emailOwnerDeliveryType = "foo";
o.message = "foo";
- o.recipients = buildUnnamed3079();
+ o.recipients = buildUnnamed3364();
}
buildCounterReportDelivery--;
return o;
@@ -7114,58 +7114,58 @@
unittest.expect(o.emailOwner, unittest.isTrue);
unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
unittest.expect(o.message, unittest.equals('foo'));
- checkUnnamed3079(o.recipients);
+ checkUnnamed3364(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed3080() {
+buildUnnamed3365() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3080(core.List<api.DimensionValue> o) {
+checkUnnamed3365(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3081() {
+buildUnnamed3366() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3081(core.List<api.DimensionValue> o) {
+checkUnnamed3366(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3082() {
+buildUnnamed3367() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3082(core.List<api.SortedDimension> o) {
+checkUnnamed3367(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3083() {
+buildUnnamed3368() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3083(core.List<core.String> o) {
+checkUnnamed3368(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'));
@@ -7200,12 +7200,12 @@
var o = new api.ReportFloodlightCriteria();
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- o.customRichMediaEvents = buildUnnamed3080();
+ o.customRichMediaEvents = buildUnnamed3365();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed3081();
- o.dimensions = buildUnnamed3082();
+ o.dimensionFilters = buildUnnamed3366();
+ o.dimensions = buildUnnamed3367();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed3083();
+ o.metricNames = buildUnnamed3368();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -7215,90 +7215,90 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed3080(o.customRichMediaEvents);
+ checkUnnamed3365(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed3081(o.dimensionFilters);
- checkUnnamed3082(o.dimensions);
+ checkUnnamed3366(o.dimensionFilters);
+ checkUnnamed3367(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed3083(o.metricNames);
+ checkUnnamed3368(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed3084() {
+buildUnnamed3369() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3084(core.List<api.DimensionValue> o) {
+checkUnnamed3369(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3085() {
+buildUnnamed3370() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3085(core.List<api.SortedDimension> o) {
+checkUnnamed3370(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3086() {
+buildUnnamed3371() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3086(core.List<api.SortedDimension> o) {
+checkUnnamed3371(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3087() {
+buildUnnamed3372() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3087(core.List<api.DimensionValue> o) {
+checkUnnamed3372(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3088() {
+buildUnnamed3373() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3088(core.List<core.String> o) {
+checkUnnamed3373(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'));
}
-buildUnnamed3089() {
+buildUnnamed3374() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3089(core.List<api.SortedDimension> o) {
+checkUnnamed3374(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
@@ -7345,14 +7345,14 @@
var o = new api.ReportPathToConversionCriteria();
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- o.activityFilters = buildUnnamed3084();
- o.conversionDimensions = buildUnnamed3085();
- o.customFloodlightVariables = buildUnnamed3086();
- o.customRichMediaEvents = buildUnnamed3087();
+ o.activityFilters = buildUnnamed3369();
+ o.conversionDimensions = buildUnnamed3370();
+ o.customFloodlightVariables = buildUnnamed3371();
+ o.customRichMediaEvents = buildUnnamed3372();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed3088();
- o.perInteractionDimensions = buildUnnamed3089();
+ o.metricNames = buildUnnamed3373();
+ o.perInteractionDimensions = buildUnnamed3374();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -7362,66 +7362,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed3084(o.activityFilters);
- checkUnnamed3085(o.conversionDimensions);
- checkUnnamed3086(o.customFloodlightVariables);
- checkUnnamed3087(o.customRichMediaEvents);
+ checkUnnamed3369(o.activityFilters);
+ checkUnnamed3370(o.conversionDimensions);
+ checkUnnamed3371(o.customFloodlightVariables);
+ checkUnnamed3372(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed3088(o.metricNames);
- checkUnnamed3089(o.perInteractionDimensions);
+ checkUnnamed3373(o.metricNames);
+ checkUnnamed3374(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed3090() {
+buildUnnamed3375() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed3090(core.List<api.DimensionValue> o) {
+checkUnnamed3375(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed3091() {
+buildUnnamed3376() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed3091(core.List<api.SortedDimension> o) {
+checkUnnamed3376(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed3092() {
+buildUnnamed3377() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3092(core.List<core.String> o) {
+checkUnnamed3377(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'));
}
-buildUnnamed3093() {
+buildUnnamed3378() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3093(core.List<core.String> o) {
+checkUnnamed3378(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'));
@@ -7435,11 +7435,11 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed3090();
- o.dimensions = buildUnnamed3091();
+ o.dimensionFilters = buildUnnamed3375();
+ o.dimensions = buildUnnamed3376();
o.enableAllDimensionCombinations = true;
- o.metricNames = buildUnnamed3092();
- o.reachByFrequencyMetricNames = buildUnnamed3093();
+ o.metricNames = buildUnnamed3377();
+ o.reachByFrequencyMetricNames = buildUnnamed3378();
}
buildCounterReportReachCriteria--;
return o;
@@ -7451,23 +7451,23 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed3090(o.dimensionFilters);
- checkUnnamed3091(o.dimensions);
+ checkUnnamed3375(o.dimensionFilters);
+ checkUnnamed3376(o.dimensions);
unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
- checkUnnamed3092(o.metricNames);
- checkUnnamed3093(o.reachByFrequencyMetricNames);
+ checkUnnamed3377(o.metricNames);
+ checkUnnamed3378(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed3094() {
+buildUnnamed3379() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3094(core.List<core.String> o) {
+checkUnnamed3379(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'));
@@ -7482,7 +7482,7 @@
o.every = 42;
o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.repeats = "foo";
- o.repeatsOnWeekDays = buildUnnamed3094();
+ o.repeatsOnWeekDays = buildUnnamed3379();
o.runsOnDayOfMonth = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -7498,7 +7498,7 @@
unittest.expect(o.expirationDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.repeats, unittest.equals('foo'));
- checkUnnamed3094(o.repeatsOnWeekDays);
+ checkUnnamed3379(o.repeatsOnWeekDays);
unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -7559,53 +7559,53 @@
buildCounterReport--;
}
-buildUnnamed3095() {
+buildUnnamed3380() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3095(core.List<api.Dimension> o) {
+checkUnnamed3380(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3096() {
+buildUnnamed3381() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed3096(core.List<api.Dimension> o) {
+checkUnnamed3381(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed3097() {
+buildUnnamed3382() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3097(core.List<api.Metric> o) {
+checkUnnamed3382(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed3098() {
+buildUnnamed3383() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed3098(core.List<api.Metric> o) {
+checkUnnamed3383(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -7616,11 +7616,11 @@
var o = new api.ReportCompatibleFields();
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed3095();
- o.dimensions = buildUnnamed3096();
+ o.dimensionFilters = buildUnnamed3380();
+ o.dimensions = buildUnnamed3381();
o.kind = "foo";
- o.metrics = buildUnnamed3097();
- o.pivotedActivityMetrics = buildUnnamed3098();
+ o.metrics = buildUnnamed3382();
+ o.pivotedActivityMetrics = buildUnnamed3383();
}
buildCounterReportCompatibleFields--;
return o;
@@ -7629,23 +7629,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed3095(o.dimensionFilters);
- checkUnnamed3096(o.dimensions);
+ checkUnnamed3380(o.dimensionFilters);
+ checkUnnamed3381(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3097(o.metrics);
- checkUnnamed3098(o.pivotedActivityMetrics);
+ checkUnnamed3382(o.metrics);
+ checkUnnamed3383(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed3099() {
+buildUnnamed3384() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed3099(core.List<api.Report> o) {
+checkUnnamed3384(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -7657,7 +7657,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
o.etag = "foo";
- o.items = buildUnnamed3099();
+ o.items = buildUnnamed3384();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -7669,7 +7669,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3099(o.items);
+ checkUnnamed3384(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -7745,14 +7745,14 @@
buildCounterRule--;
}
-buildUnnamed3100() {
+buildUnnamed3385() {
var o = new core.List<api.SiteContact>();
o.add(buildSiteContact());
o.add(buildSiteContact());
return o;
}
-checkUnnamed3100(core.List<api.SiteContact> o) {
+checkUnnamed3385(core.List<api.SiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteContact(o[0]);
checkSiteContact(o[1]);
@@ -7772,7 +7772,7 @@
o.keyName = "foo";
o.kind = "foo";
o.name = "foo";
- o.siteContacts = buildUnnamed3100();
+ o.siteContacts = buildUnnamed3385();
o.siteSettings = buildSiteSettings();
o.subaccountId = "foo";
}
@@ -7792,7 +7792,7 @@
unittest.expect(o.keyName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3100(o.siteContacts);
+ checkUnnamed3385(o.siteContacts);
checkSiteSettings(o.siteSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
@@ -7865,14 +7865,14 @@
buildCounterSiteSettings--;
}
-buildUnnamed3101() {
+buildUnnamed3386() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed3101(core.List<api.Site> o) {
+checkUnnamed3386(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -7885,7 +7885,7 @@
if (buildCounterSitesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.sites = buildUnnamed3101();
+ o.sites = buildUnnamed3386();
}
buildCounterSitesListResponse--;
return o;
@@ -7896,7 +7896,7 @@
if (buildCounterSitesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3101(o.sites);
+ checkUnnamed3386(o.sites);
}
buildCounterSitesListResponse--;
}
@@ -7928,14 +7928,14 @@
buildCounterSize--;
}
-buildUnnamed3102() {
+buildUnnamed3387() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed3102(core.List<api.Size> o) {
+checkUnnamed3387(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -7947,7 +7947,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
o.kind = "foo";
- o.sizes = buildUnnamed3102();
+ o.sizes = buildUnnamed3387();
}
buildCounterSizesListResponse--;
return o;
@@ -7957,7 +7957,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3102(o.sizes);
+ checkUnnamed3387(o.sizes);
}
buildCounterSizesListResponse--;
}
@@ -8010,14 +8010,14 @@
buildCounterSortedDimension--;
}
-buildUnnamed3103() {
+buildUnnamed3388() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3103(core.List<core.String> o) {
+checkUnnamed3388(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'));
@@ -8029,7 +8029,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
o.accountId = "foo";
- o.availablePermissionIds = buildUnnamed3103();
+ o.availablePermissionIds = buildUnnamed3388();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -8042,7 +8042,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed3103(o.availablePermissionIds);
+ checkUnnamed3388(o.availablePermissionIds);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -8050,14 +8050,14 @@
buildCounterSubaccount--;
}
-buildUnnamed3104() {
+buildUnnamed3389() {
var o = new core.List<api.Subaccount>();
o.add(buildSubaccount());
o.add(buildSubaccount());
return o;
}
-checkUnnamed3104(core.List<api.Subaccount> o) {
+checkUnnamed3389(core.List<api.Subaccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubaccount(o[0]);
checkSubaccount(o[1]);
@@ -8070,7 +8070,7 @@
if (buildCounterSubaccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subaccounts = buildUnnamed3104();
+ o.subaccounts = buildUnnamed3389();
}
buildCounterSubaccountsListResponse--;
return o;
@@ -8081,7 +8081,7 @@
if (buildCounterSubaccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3104(o.subaccounts);
+ checkUnnamed3389(o.subaccounts);
}
buildCounterSubaccountsListResponse--;
}
@@ -8221,14 +8221,14 @@
buildCounterTargetableRemarketingList--;
}
-buildUnnamed3105() {
+buildUnnamed3390() {
var o = new core.List<api.TargetableRemarketingList>();
o.add(buildTargetableRemarketingList());
o.add(buildTargetableRemarketingList());
return o;
}
-checkUnnamed3105(core.List<api.TargetableRemarketingList> o) {
+checkUnnamed3390(core.List<api.TargetableRemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetableRemarketingList(o[0]);
checkTargetableRemarketingList(o[1]);
@@ -8241,7 +8241,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetableRemarketingLists = buildUnnamed3105();
+ o.targetableRemarketingLists = buildUnnamed3390();
}
buildCounterTargetableRemarketingListsListResponse--;
return o;
@@ -8253,7 +8253,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3105(o.targetableRemarketingLists);
+ checkUnnamed3390(o.targetableRemarketingLists);
}
buildCounterTargetableRemarketingListsListResponse--;
}
@@ -8301,14 +8301,14 @@
buildCounterTargetingTemplate--;
}
-buildUnnamed3106() {
+buildUnnamed3391() {
var o = new core.List<api.TargetingTemplate>();
o.add(buildTargetingTemplate());
o.add(buildTargetingTemplate());
return o;
}
-checkUnnamed3106(core.List<api.TargetingTemplate> o) {
+checkUnnamed3391(core.List<api.TargetingTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingTemplate(o[0]);
checkTargetingTemplate(o[1]);
@@ -8321,7 +8321,7 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetingTemplates = buildUnnamed3106();
+ o.targetingTemplates = buildUnnamed3391();
}
buildCounterTargetingTemplatesListResponse--;
return o;
@@ -8332,84 +8332,84 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3106(o.targetingTemplates);
+ checkUnnamed3391(o.targetingTemplates);
}
buildCounterTargetingTemplatesListResponse--;
}
-buildUnnamed3107() {
+buildUnnamed3392() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed3107(core.List<api.Browser> o) {
+checkUnnamed3392(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
}
-buildUnnamed3108() {
+buildUnnamed3393() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed3108(core.List<api.ConnectionType> o) {
+checkUnnamed3393(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
}
-buildUnnamed3109() {
+buildUnnamed3394() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed3109(core.List<api.MobileCarrier> o) {
+checkUnnamed3394(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
}
-buildUnnamed3110() {
+buildUnnamed3395() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed3110(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed3395(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
}
-buildUnnamed3111() {
+buildUnnamed3396() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed3111(core.List<api.OperatingSystem> o) {
+checkUnnamed3396(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
}
-buildUnnamed3112() {
+buildUnnamed3397() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed3112(core.List<api.PlatformType> o) {
+checkUnnamed3397(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -8420,12 +8420,12 @@
var o = new api.TechnologyTargeting();
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- o.browsers = buildUnnamed3107();
- o.connectionTypes = buildUnnamed3108();
- o.mobileCarriers = buildUnnamed3109();
- o.operatingSystemVersions = buildUnnamed3110();
- o.operatingSystems = buildUnnamed3111();
- o.platformTypes = buildUnnamed3112();
+ o.browsers = buildUnnamed3392();
+ o.connectionTypes = buildUnnamed3393();
+ o.mobileCarriers = buildUnnamed3394();
+ o.operatingSystemVersions = buildUnnamed3395();
+ o.operatingSystems = buildUnnamed3396();
+ o.platformTypes = buildUnnamed3397();
}
buildCounterTechnologyTargeting--;
return o;
@@ -8434,12 +8434,12 @@
checkTechnologyTargeting(api.TechnologyTargeting o) {
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- checkUnnamed3107(o.browsers);
- checkUnnamed3108(o.connectionTypes);
- checkUnnamed3109(o.mobileCarriers);
- checkUnnamed3110(o.operatingSystemVersions);
- checkUnnamed3111(o.operatingSystems);
- checkUnnamed3112(o.platformTypes);
+ checkUnnamed3392(o.browsers);
+ checkUnnamed3393(o.connectionTypes);
+ checkUnnamed3394(o.mobileCarriers);
+ checkUnnamed3395(o.operatingSystemVersions);
+ checkUnnamed3396(o.operatingSystems);
+ checkUnnamed3397(o.platformTypes);
}
buildCounterTechnologyTargeting--;
}
@@ -8486,14 +8486,14 @@
buildCounterThirdPartyTrackingUrl--;
}
-buildUnnamed3113() {
+buildUnnamed3398() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3113(core.List<core.int> o) {
+checkUnnamed3398(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -8504,7 +8504,7 @@
var o = new api.TranscodeSetting();
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- o.enabledVideoFormats = buildUnnamed3113();
+ o.enabledVideoFormats = buildUnnamed3398();
o.kind = "foo";
}
buildCounterTranscodeSetting--;
@@ -8514,7 +8514,7 @@
checkTranscodeSetting(api.TranscodeSetting o) {
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- checkUnnamed3113(o.enabledVideoFormats);
+ checkUnnamed3398(o.enabledVideoFormats);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTranscodeSetting--;
@@ -8597,14 +8597,14 @@
buildCounterUserProfile--;
}
-buildUnnamed3114() {
+buildUnnamed3399() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed3114(core.List<api.UserProfile> o) {
+checkUnnamed3399(core.List<api.UserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserProfile(o[0]);
checkUserProfile(o[1]);
@@ -8616,7 +8616,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed3114();
+ o.items = buildUnnamed3399();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -8627,20 +8627,20 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3114(o.items);
+ checkUnnamed3399(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUserProfileList--;
}
-buildUnnamed3115() {
+buildUnnamed3400() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed3115(core.List<api.UserRolePermission> o) {
+checkUnnamed3400(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8657,7 +8657,7 @@
o.kind = "foo";
o.name = "foo";
o.parentUserRoleId = "foo";
- o.permissions = buildUnnamed3115();
+ o.permissions = buildUnnamed3400();
o.subaccountId = "foo";
}
buildCounterUserRole--;
@@ -8673,7 +8673,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
- checkUnnamed3115(o.permissions);
+ checkUnnamed3400(o.permissions);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
buildCounterUserRole--;
@@ -8729,14 +8729,14 @@
buildCounterUserRolePermissionGroup--;
}
-buildUnnamed3116() {
+buildUnnamed3401() {
var o = new core.List<api.UserRolePermissionGroup>();
o.add(buildUserRolePermissionGroup());
o.add(buildUserRolePermissionGroup());
return o;
}
-checkUnnamed3116(core.List<api.UserRolePermissionGroup> o) {
+checkUnnamed3401(core.List<api.UserRolePermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermissionGroup(o[0]);
checkUserRolePermissionGroup(o[1]);
@@ -8748,7 +8748,7 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissionGroups = buildUnnamed3116();
+ o.userRolePermissionGroups = buildUnnamed3401();
}
buildCounterUserRolePermissionGroupsListResponse--;
return o;
@@ -8759,19 +8759,19 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3116(o.userRolePermissionGroups);
+ checkUnnamed3401(o.userRolePermissionGroups);
}
buildCounterUserRolePermissionGroupsListResponse--;
}
-buildUnnamed3117() {
+buildUnnamed3402() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed3117(core.List<api.UserRolePermission> o) {
+checkUnnamed3402(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -8783,7 +8783,7 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissions = buildUnnamed3117();
+ o.userRolePermissions = buildUnnamed3402();
}
buildCounterUserRolePermissionsListResponse--;
return o;
@@ -8793,19 +8793,19 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3117(o.userRolePermissions);
+ checkUnnamed3402(o.userRolePermissions);
}
buildCounterUserRolePermissionsListResponse--;
}
-buildUnnamed3118() {
+buildUnnamed3403() {
var o = new core.List<api.UserRole>();
o.add(buildUserRole());
o.add(buildUserRole());
return o;
}
-checkUnnamed3118(core.List<api.UserRole> o) {
+checkUnnamed3403(core.List<api.UserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRole(o[0]);
checkUserRole(o[1]);
@@ -8818,7 +8818,7 @@
if (buildCounterUserRolesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.userRoles = buildUnnamed3118();
+ o.userRoles = buildUnnamed3403();
}
buildCounterUserRolesListResponse--;
return o;
@@ -8829,7 +8829,7 @@
if (buildCounterUserRolesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3118(o.userRoles);
+ checkUnnamed3403(o.userRoles);
}
buildCounterUserRolesListResponse--;
}
@@ -8861,14 +8861,14 @@
buildCounterVideoFormat--;
}
-buildUnnamed3119() {
+buildUnnamed3404() {
var o = new core.List<api.VideoFormat>();
o.add(buildVideoFormat());
o.add(buildVideoFormat());
return o;
}
-checkUnnamed3119(core.List<api.VideoFormat> o) {
+checkUnnamed3404(core.List<api.VideoFormat> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFormat(o[0]);
checkVideoFormat(o[1]);
@@ -8880,7 +8880,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
o.kind = "foo";
- o.videoFormats = buildUnnamed3119();
+ o.videoFormats = buildUnnamed3404();
}
buildCounterVideoFormatsListResponse--;
return o;
@@ -8890,7 +8890,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3119(o.videoFormats);
+ checkUnnamed3404(o.videoFormats);
}
buildCounterVideoFormatsListResponse--;
}
@@ -8941,1145 +8941,1145 @@
buildCounterVideoSettings--;
}
-buildUnnamed3120() {
+buildUnnamed3405() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3120(core.List<core.String> o) {
+checkUnnamed3405(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'));
}
-buildUnnamed3121() {
+buildUnnamed3406() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3121(core.List<core.String> o) {
+checkUnnamed3406(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'));
}
-buildUnnamed3122() {
+buildUnnamed3407() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3122(core.List<core.String> o) {
+checkUnnamed3407(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'));
}
-buildUnnamed3123() {
+buildUnnamed3408() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3123(core.List<core.String> o) {
+checkUnnamed3408(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'));
}
-buildUnnamed3124() {
+buildUnnamed3409() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3124(core.List<core.String> o) {
+checkUnnamed3409(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'));
}
-buildUnnamed3125() {
+buildUnnamed3410() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3125(core.List<core.String> o) {
+checkUnnamed3410(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'));
}
-buildUnnamed3126() {
+buildUnnamed3411() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3126(core.List<core.String> o) {
+checkUnnamed3411(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'));
}
-buildUnnamed3127() {
+buildUnnamed3412() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3127(core.List<core.String> o) {
+checkUnnamed3412(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'));
}
-buildUnnamed3128() {
+buildUnnamed3413() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3128(core.List<core.String> o) {
+checkUnnamed3413(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'));
}
-buildUnnamed3129() {
+buildUnnamed3414() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3129(core.List<core.String> o) {
+checkUnnamed3414(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'));
}
-buildUnnamed3130() {
+buildUnnamed3415() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3130(core.List<core.String> o) {
+checkUnnamed3415(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'));
}
-buildUnnamed3131() {
+buildUnnamed3416() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3131(core.List<core.String> o) {
+checkUnnamed3416(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'));
}
-buildUnnamed3132() {
+buildUnnamed3417() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3132(core.List<core.String> o) {
+checkUnnamed3417(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'));
}
-buildUnnamed3133() {
+buildUnnamed3418() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3133(core.List<core.String> o) {
+checkUnnamed3418(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'));
}
-buildUnnamed3134() {
+buildUnnamed3419() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3134(core.List<core.String> o) {
+checkUnnamed3419(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'));
}
-buildUnnamed3135() {
+buildUnnamed3420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3135(core.List<core.String> o) {
+checkUnnamed3420(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'));
}
-buildUnnamed3136() {
+buildUnnamed3421() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3136(core.List<core.String> o) {
+checkUnnamed3421(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'));
}
-buildUnnamed3137() {
+buildUnnamed3422() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3137(core.List<core.String> o) {
+checkUnnamed3422(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'));
}
-buildUnnamed3138() {
+buildUnnamed3423() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3138(core.List<core.String> o) {
+checkUnnamed3423(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'));
}
-buildUnnamed3139() {
+buildUnnamed3424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3139(core.List<core.String> o) {
+checkUnnamed3424(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'));
}
-buildUnnamed3140() {
+buildUnnamed3425() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3140(core.List<core.String> o) {
+checkUnnamed3425(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'));
}
-buildUnnamed3141() {
+buildUnnamed3426() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3141(core.List<core.String> o) {
+checkUnnamed3426(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'));
}
-buildUnnamed3142() {
+buildUnnamed3427() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3142(core.List<core.String> o) {
+checkUnnamed3427(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'));
}
-buildUnnamed3143() {
+buildUnnamed3428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3143(core.List<core.String> o) {
+checkUnnamed3428(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'));
}
-buildUnnamed3144() {
+buildUnnamed3429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3144(core.List<core.String> o) {
+checkUnnamed3429(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'));
}
-buildUnnamed3145() {
+buildUnnamed3430() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3145(core.List<core.String> o) {
+checkUnnamed3430(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'));
}
-buildUnnamed3146() {
+buildUnnamed3431() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3146(core.List<core.String> o) {
+checkUnnamed3431(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'));
}
-buildUnnamed3147() {
+buildUnnamed3432() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3147(core.List<core.String> o) {
+checkUnnamed3432(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'));
}
-buildUnnamed3148() {
+buildUnnamed3433() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3148(core.List<core.String> o) {
+checkUnnamed3433(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'));
}
-buildUnnamed3149() {
+buildUnnamed3434() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3149(core.List<core.String> o) {
+checkUnnamed3434(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'));
}
-buildUnnamed3150() {
+buildUnnamed3435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3150(core.List<core.String> o) {
+checkUnnamed3435(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'));
}
-buildUnnamed3151() {
+buildUnnamed3436() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3151(core.List<core.String> o) {
+checkUnnamed3436(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'));
}
-buildUnnamed3152() {
+buildUnnamed3437() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3152(core.List<core.String> o) {
+checkUnnamed3437(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'));
}
-buildUnnamed3153() {
+buildUnnamed3438() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3153(core.List<core.String> o) {
+checkUnnamed3438(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'));
}
-buildUnnamed3154() {
+buildUnnamed3439() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3154(core.List<core.String> o) {
+checkUnnamed3439(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'));
}
-buildUnnamed3155() {
+buildUnnamed3440() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3155(core.List<core.String> o) {
+checkUnnamed3440(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'));
}
-buildUnnamed3156() {
+buildUnnamed3441() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3156(core.List<core.String> o) {
+checkUnnamed3441(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'));
}
-buildUnnamed3157() {
+buildUnnamed3442() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3157(core.List<core.String> o) {
+checkUnnamed3442(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'));
}
-buildUnnamed3158() {
+buildUnnamed3443() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3158(core.List<core.String> o) {
+checkUnnamed3443(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'));
}
-buildUnnamed3159() {
+buildUnnamed3444() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3159(core.List<core.String> o) {
+checkUnnamed3444(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'));
}
-buildUnnamed3160() {
+buildUnnamed3445() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3160(core.List<core.String> o) {
+checkUnnamed3445(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'));
}
-buildUnnamed3161() {
+buildUnnamed3446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3161(core.List<core.String> o) {
+checkUnnamed3446(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'));
}
-buildUnnamed3162() {
+buildUnnamed3447() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3162(core.List<core.String> o) {
+checkUnnamed3447(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'));
}
-buildUnnamed3163() {
+buildUnnamed3448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3163(core.List<core.String> o) {
+checkUnnamed3448(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'));
}
-buildUnnamed3164() {
+buildUnnamed3449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3164(core.List<core.String> o) {
+checkUnnamed3449(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'));
}
-buildUnnamed3165() {
+buildUnnamed3450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3165(core.List<core.String> o) {
+checkUnnamed3450(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'));
}
-buildUnnamed3166() {
+buildUnnamed3451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3166(core.List<core.String> o) {
+checkUnnamed3451(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'));
}
-buildUnnamed3167() {
+buildUnnamed3452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3167(core.List<core.String> o) {
+checkUnnamed3452(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'));
}
-buildUnnamed3168() {
+buildUnnamed3453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3168(core.List<core.String> o) {
+checkUnnamed3453(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'));
}
-buildUnnamed3169() {
+buildUnnamed3454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3169(core.List<core.String> o) {
+checkUnnamed3454(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'));
}
-buildUnnamed3170() {
+buildUnnamed3455() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3170(core.List<core.String> o) {
+checkUnnamed3455(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'));
}
-buildUnnamed3171() {
+buildUnnamed3456() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3171(core.List<core.String> o) {
+checkUnnamed3456(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'));
}
-buildUnnamed3172() {
+buildUnnamed3457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3172(core.List<core.String> o) {
+checkUnnamed3457(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'));
}
-buildUnnamed3173() {
+buildUnnamed3458() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3173(core.List<core.String> o) {
+checkUnnamed3458(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'));
}
-buildUnnamed3174() {
+buildUnnamed3459() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3174(core.List<core.String> o) {
+checkUnnamed3459(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'));
}
-buildUnnamed3175() {
+buildUnnamed3460() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3175(core.List<core.String> o) {
+checkUnnamed3460(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'));
}
-buildUnnamed3176() {
+buildUnnamed3461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3176(core.List<core.String> o) {
+checkUnnamed3461(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'));
}
-buildUnnamed3177() {
+buildUnnamed3462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3177(core.List<core.String> o) {
+checkUnnamed3462(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'));
}
-buildUnnamed3178() {
+buildUnnamed3463() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3178(core.List<core.String> o) {
+checkUnnamed3463(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'));
}
-buildUnnamed3179() {
+buildUnnamed3464() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3179(core.List<core.String> o) {
+checkUnnamed3464(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'));
}
-buildUnnamed3180() {
+buildUnnamed3465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3180(core.List<core.String> o) {
+checkUnnamed3465(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'));
}
-buildUnnamed3181() {
+buildUnnamed3466() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3181(core.List<core.String> o) {
+checkUnnamed3466(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'));
}
-buildUnnamed3182() {
+buildUnnamed3467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3182(core.List<core.String> o) {
+checkUnnamed3467(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'));
}
-buildUnnamed3183() {
+buildUnnamed3468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3183(core.List<core.String> o) {
+checkUnnamed3468(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'));
}
-buildUnnamed3184() {
+buildUnnamed3469() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3184(core.List<core.String> o) {
+checkUnnamed3469(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'));
}
-buildUnnamed3185() {
+buildUnnamed3470() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3185(core.List<core.String> o) {
+checkUnnamed3470(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'));
}
-buildUnnamed3186() {
+buildUnnamed3471() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3186(core.List<core.String> o) {
+checkUnnamed3471(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'));
}
-buildUnnamed3187() {
+buildUnnamed3472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3187(core.List<core.String> o) {
+checkUnnamed3472(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'));
}
-buildUnnamed3188() {
+buildUnnamed3473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3188(core.List<core.String> o) {
+checkUnnamed3473(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'));
}
-buildUnnamed3189() {
+buildUnnamed3474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3189(core.List<core.String> o) {
+checkUnnamed3474(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'));
}
-buildUnnamed3190() {
+buildUnnamed3475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3190(core.List<core.String> o) {
+checkUnnamed3475(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'));
}
-buildUnnamed3191() {
+buildUnnamed3476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3191(core.List<core.String> o) {
+checkUnnamed3476(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'));
}
-buildUnnamed3192() {
+buildUnnamed3477() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3192(core.List<core.String> o) {
+checkUnnamed3477(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'));
}
-buildUnnamed3193() {
+buildUnnamed3478() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3193(core.List<core.String> o) {
+checkUnnamed3478(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'));
}
-buildUnnamed3194() {
+buildUnnamed3479() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3194(core.List<core.String> o) {
+checkUnnamed3479(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'));
}
-buildUnnamed3195() {
+buildUnnamed3480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3195(core.List<core.String> o) {
+checkUnnamed3480(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'));
}
-buildUnnamed3196() {
+buildUnnamed3481() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3196(core.List<core.String> o) {
+checkUnnamed3481(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'));
}
-buildUnnamed3197() {
+buildUnnamed3482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3197(core.List<core.String> o) {
+checkUnnamed3482(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'));
}
-buildUnnamed3198() {
+buildUnnamed3483() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3198(core.List<core.String> o) {
+checkUnnamed3483(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'));
}
-buildUnnamed3199() {
+buildUnnamed3484() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3199(core.List<core.String> o) {
+checkUnnamed3484(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'));
}
-buildUnnamed3200() {
+buildUnnamed3485() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3200(core.List<core.String> o) {
+checkUnnamed3485(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'));
}
-buildUnnamed3201() {
+buildUnnamed3486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3201(core.List<core.String> o) {
+checkUnnamed3486(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'));
}
-buildUnnamed3202() {
+buildUnnamed3487() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3202(core.List<core.String> o) {
+checkUnnamed3487(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'));
}
-buildUnnamed3203() {
+buildUnnamed3488() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3203(core.List<core.String> o) {
+checkUnnamed3488(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'));
}
-buildUnnamed3204() {
+buildUnnamed3489() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3204(core.List<core.String> o) {
+checkUnnamed3489(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'));
}
-buildUnnamed3205() {
+buildUnnamed3490() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3205(core.List<core.String> o) {
+checkUnnamed3490(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'));
}
-buildUnnamed3206() {
+buildUnnamed3491() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3206(core.List<core.String> o) {
+checkUnnamed3491(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'));
}
-buildUnnamed3207() {
+buildUnnamed3492() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3207(core.List<core.String> o) {
+checkUnnamed3492(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'));
@@ -12332,7 +12332,7 @@
new api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed3120();
+ var arg_ids = buildUnnamed3405();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12635,7 +12635,7 @@
api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
var arg_profileId = "foo";
var arg_active = true;
- var arg_ids = buildUnnamed3121();
+ var arg_ids = buildUnnamed3406();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -12995,26 +12995,26 @@
var arg_active = true;
var arg_advertiserId = "foo";
var arg_archived = true;
- var arg_audienceSegmentIds = buildUnnamed3122();
- var arg_campaignIds = buildUnnamed3123();
+ var arg_audienceSegmentIds = buildUnnamed3407();
+ var arg_campaignIds = buildUnnamed3408();
var arg_compatibility = "foo";
- var arg_creativeIds = buildUnnamed3124();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed3125();
+ var arg_creativeIds = buildUnnamed3409();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed3410();
var arg_dynamicClickTracker = true;
- var arg_ids = buildUnnamed3126();
- var arg_landingPageIds = buildUnnamed3127();
+ var arg_ids = buildUnnamed3411();
+ var arg_landingPageIds = buildUnnamed3412();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
- var arg_placementIds = buildUnnamed3128();
- var arg_remarketingListIds = buildUnnamed3129();
+ var arg_placementIds = buildUnnamed3413();
+ var arg_remarketingListIds = buildUnnamed3414();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed3130();
+ var arg_sizeIds = buildUnnamed3415();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_sslCompliant = true;
var arg_sslRequired = true;
- var arg_type = buildUnnamed3131();
+ var arg_type = buildUnnamed3416();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13481,7 +13481,7 @@
api.AdvertiserGroupsResourceApi res =
new api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3132();
+ var arg_ids = buildUnnamed3417();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -13841,9 +13841,9 @@
api.AdvertisersResourceApi res =
new api.DfareportingApi(mock).advertisers;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed3133();
- var arg_floodlightConfigurationIds = buildUnnamed3134();
- var arg_ids = buildUnnamed3135();
+ var arg_advertiserGroupIds = buildUnnamed3418();
+ var arg_floodlightConfigurationIds = buildUnnamed3419();
+ var arg_ids = buildUnnamed3420();
var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_maxResults = 42;
var arg_onlyParent = true;
@@ -14462,12 +14462,12 @@
var mock = new HttpServerMock();
api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
var arg_profileId = "foo";
- var arg_advertiserGroupIds = buildUnnamed3136();
- var arg_advertiserIds = buildUnnamed3137();
+ var arg_advertiserGroupIds = buildUnnamed3421();
+ var arg_advertiserIds = buildUnnamed3422();
var arg_archived = true;
var arg_atLeastOneOptimizationActivity = true;
- var arg_excludedIds = buildUnnamed3138();
- var arg_ids = buildUnnamed3139();
+ var arg_excludedIds = buildUnnamed3423();
+ var arg_ids = buildUnnamed3424();
var arg_maxResults = 42;
var arg_overriddenEventTagId = "foo";
var arg_pageToken = "foo";
@@ -14780,15 +14780,15 @@
api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
var arg_profileId = "foo";
var arg_action = "foo";
- var arg_ids = buildUnnamed3140();
+ var arg_ids = buildUnnamed3425();
var arg_maxChangeTime = "foo";
var arg_maxResults = 42;
var arg_minChangeTime = "foo";
- var arg_objectIds = buildUnnamed3141();
+ var arg_objectIds = buildUnnamed3426();
var arg_objectType = "foo";
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_userProfileIds = buildUnnamed3142();
+ var arg_userProfileIds = buildUnnamed3427();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14881,10 +14881,10 @@
var mock = new HttpServerMock();
api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
var arg_profileId = "foo";
- var arg_countryDartIds = buildUnnamed3143();
- var arg_dartIds = buildUnnamed3144();
+ var arg_countryDartIds = buildUnnamed3428();
+ var arg_dartIds = buildUnnamed3429();
var arg_namePrefix = "foo";
- var arg_regionDartIds = buildUnnamed3145();
+ var arg_regionDartIds = buildUnnamed3430();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15292,7 +15292,7 @@
api.ContentCategoriesResourceApi res =
new api.DfareportingApi(mock).contentCategories;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3146();
+ var arg_ids = buildUnnamed3431();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16097,7 +16097,7 @@
new api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = "foo";
var arg_creativeFieldId = "foo";
- var arg_ids = buildUnnamed3147();
+ var arg_ids = buildUnnamed3432();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16553,8 +16553,8 @@
api.CreativeFieldsResourceApi res =
new api.DfareportingApi(mock).creativeFields;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3148();
- var arg_ids = buildUnnamed3149();
+ var arg_advertiserIds = buildUnnamed3433();
+ var arg_ids = buildUnnamed3434();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -16917,9 +16917,9 @@
api.CreativeGroupsResourceApi res =
new api.DfareportingApi(mock).creativeGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3150();
+ var arg_advertiserIds = buildUnnamed3435();
var arg_groupNumber = 42;
- var arg_ids = buildUnnamed3151();
+ var arg_ids = buildUnnamed3436();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -17286,18 +17286,18 @@
var arg_advertiserId = "foo";
var arg_archived = true;
var arg_campaignId = "foo";
- var arg_companionCreativeIds = buildUnnamed3152();
- var arg_creativeFieldIds = buildUnnamed3153();
- var arg_ids = buildUnnamed3154();
+ var arg_companionCreativeIds = buildUnnamed3437();
+ var arg_creativeFieldIds = buildUnnamed3438();
+ var arg_ids = buildUnnamed3439();
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_renderingIds = buildUnnamed3155();
+ var arg_renderingIds = buildUnnamed3440();
var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed3156();
+ var arg_sizeIds = buildUnnamed3441();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_studioCreativeId = "foo";
- var arg_types = buildUnnamed3157();
+ var arg_types = buildUnnamed3442();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -17688,8 +17688,8 @@
api.DirectorySiteContactsResourceApi res =
new api.DfareportingApi(mock).directorySiteContacts;
var arg_profileId = "foo";
- var arg_directorySiteIds = buildUnnamed3158();
- var arg_ids = buildUnnamed3159();
+ var arg_directorySiteIds = buildUnnamed3443();
+ var arg_ids = buildUnnamed3444();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -17923,7 +17923,7 @@
var arg_active = true;
var arg_countryId = "foo";
var arg_dfpNetworkCode = "foo";
- var arg_ids = buildUnnamed3160();
+ var arg_ids = buildUnnamed3445();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_parentId = "foo";
@@ -18176,7 +18176,7 @@
new api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_names = buildUnnamed3161();
+ var arg_names = buildUnnamed3446();
var arg_objectId = "foo";
var arg_objectType = "foo";
var arg_$fields = "foo";
@@ -18457,8 +18457,8 @@
var arg_campaignId = "foo";
var arg_definitionsOnly = true;
var arg_enabled = true;
- var arg_eventTagTypes = buildUnnamed3162();
- var arg_ids = buildUnnamed3163();
+ var arg_eventTagTypes = buildUnnamed3447();
+ var arg_ids = buildUnnamed3448();
var arg_searchString = "foo";
var arg_sortField = "foo";
var arg_sortOrder = "foo";
@@ -19113,12 +19113,12 @@
new api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_floodlightActivityGroupIds = buildUnnamed3164();
+ var arg_floodlightActivityGroupIds = buildUnnamed3449();
var arg_floodlightActivityGroupName = "foo";
var arg_floodlightActivityGroupTagString = "foo";
var arg_floodlightActivityGroupType = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed3165();
+ var arg_ids = buildUnnamed3450();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -19503,7 +19503,7 @@
var arg_profileId = "foo";
var arg_advertiserId = "foo";
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed3166();
+ var arg_ids = buildUnnamed3451();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -19806,7 +19806,7 @@
api.FloodlightConfigurationsResourceApi res =
new api.DfareportingApi(mock).floodlightConfigurations;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3167();
+ var arg_ids = buildUnnamed3452();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -20087,12 +20087,12 @@
new api.DfareportingApi(mock).inventoryItems;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed3168();
+ var arg_ids = buildUnnamed3453();
var arg_inPlan = true;
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed3169();
+ var arg_orderId = buildUnnamed3454();
var arg_pageToken = "foo";
- var arg_siteId = buildUnnamed3170();
+ var arg_siteId = buildUnnamed3455();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_type = "foo";
@@ -21259,12 +21259,12 @@
var arg_profileId = "foo";
var arg_projectId = "foo";
var arg_approved = true;
- var arg_ids = buildUnnamed3171();
+ var arg_ids = buildUnnamed3456();
var arg_maxResults = 42;
- var arg_orderId = buildUnnamed3172();
+ var arg_orderId = buildUnnamed3457();
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed3173();
+ var arg_siteId = buildUnnamed3458();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -21443,11 +21443,11 @@
api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_ids = buildUnnamed3174();
+ var arg_ids = buildUnnamed3459();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
- var arg_siteId = buildUnnamed3175();
+ var arg_siteId = buildUnnamed3460();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -21678,12 +21678,12 @@
api.PlacementGroupsResourceApi res =
new api.DfareportingApi(mock).placementGroups;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3176();
+ var arg_advertiserIds = buildUnnamed3461();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed3177();
- var arg_contentCategoryIds = buildUnnamed3178();
- var arg_directorySiteIds = buildUnnamed3179();
- var arg_ids = buildUnnamed3180();
+ var arg_campaignIds = buildUnnamed3462();
+ var arg_contentCategoryIds = buildUnnamed3463();
+ var arg_directorySiteIds = buildUnnamed3464();
+ var arg_ids = buildUnnamed3465();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -21691,10 +21691,10 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_placementGroupType = "foo";
- var arg_placementStrategyIds = buildUnnamed3181();
- var arg_pricingTypes = buildUnnamed3182();
+ var arg_placementStrategyIds = buildUnnamed3466();
+ var arg_pricingTypes = buildUnnamed3467();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed3183();
+ var arg_siteIds = buildUnnamed3468();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -22154,7 +22154,7 @@
api.PlacementStrategiesResourceApi res =
new api.DfareportingApi(mock).placementStrategies;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3184();
+ var arg_ids = buildUnnamed3469();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -22380,8 +22380,8 @@
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
var arg_campaignId = "foo";
- var arg_placementIds = buildUnnamed3185();
- var arg_tagFormats = buildUnnamed3186();
+ var arg_placementIds = buildUnnamed3470();
+ var arg_tagFormats = buildUnnamed3471();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22587,14 +22587,14 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3187();
+ var arg_advertiserIds = buildUnnamed3472();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed3188();
- var arg_compatibilities = buildUnnamed3189();
- var arg_contentCategoryIds = buildUnnamed3190();
- var arg_directorySiteIds = buildUnnamed3191();
- var arg_groupIds = buildUnnamed3192();
- var arg_ids = buildUnnamed3193();
+ var arg_campaignIds = buildUnnamed3473();
+ var arg_compatibilities = buildUnnamed3474();
+ var arg_contentCategoryIds = buildUnnamed3475();
+ var arg_directorySiteIds = buildUnnamed3476();
+ var arg_groupIds = buildUnnamed3477();
+ var arg_ids = buildUnnamed3478();
var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_maxStartDate = "foo";
@@ -22602,11 +22602,11 @@
var arg_minStartDate = "foo";
var arg_pageToken = "foo";
var arg_paymentSource = "foo";
- var arg_placementStrategyIds = buildUnnamed3194();
- var arg_pricingTypes = buildUnnamed3195();
+ var arg_placementStrategyIds = buildUnnamed3479();
+ var arg_pricingTypes = buildUnnamed3480();
var arg_searchString = "foo";
- var arg_siteIds = buildUnnamed3196();
- var arg_sizeIds = buildUnnamed3197();
+ var arg_siteIds = buildUnnamed3481();
+ var arg_sizeIds = buildUnnamed3482();
var arg_sortField = "foo";
var arg_sortOrder = "foo";
var arg_$fields = "foo";
@@ -23199,8 +23199,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed3198();
- var arg_ids = buildUnnamed3199();
+ var arg_advertiserIds = buildUnnamed3483();
+ var arg_ids = buildUnnamed3484();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -24804,9 +24804,9 @@
var arg_acceptsPublisherPaidPlacements = true;
var arg_adWordsSite = true;
var arg_approved = true;
- var arg_campaignIds = buildUnnamed3200();
- var arg_directorySiteIds = buildUnnamed3201();
- var arg_ids = buildUnnamed3202();
+ var arg_campaignIds = buildUnnamed3485();
+ var arg_directorySiteIds = buildUnnamed3486();
+ var arg_ids = buildUnnamed3487();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -25193,7 +25193,7 @@
var arg_profileId = "foo";
var arg_height = 42;
var arg_iabStandard = true;
- var arg_ids = buildUnnamed3203();
+ var arg_ids = buildUnnamed3488();
var arg_width = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -25406,7 +25406,7 @@
api.SubaccountsResourceApi res =
new api.DfareportingApi(mock).subaccounts;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3204();
+ var arg_ids = buildUnnamed3489();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -25926,7 +25926,7 @@
new api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed3205();
+ var arg_ids = buildUnnamed3490();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
@@ -26466,7 +26466,7 @@
api.UserRolePermissionsResourceApi res =
new api.DfareportingApi(mock).userRolePermissions;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed3206();
+ var arg_ids = buildUnnamed3491();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26728,7 +26728,7 @@
api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
var arg_profileId = "foo";
var arg_accountUserRoleOnly = true;
- var arg_ids = buildUnnamed3207();
+ var arg_ids = buildUnnamed3492();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_searchString = "foo";
diff --git a/generated/googleapis/test/dfareporting/v3_0_test.dart b/generated/googleapis/test/dfareporting/v3_0_test.dart
new file mode 100644
index 0000000..d02957e
--- /dev/null
+++ b/generated/googleapis/test/dfareporting/v3_0_test.dart
@@ -0,0 +1,27060 @@
+library googleapis.dfareporting.v3_0.test;
+
+import "dart:core" as core;
+import "dart:async" as async;
+import "dart:convert" as convert;
+
+import 'package:http/http.dart' as http;
+import 'package:test/test.dart' as unittest;
+
+import 'package:googleapis/dfareporting/v3_0.dart' as api;
+
+class HttpServerMock extends http.BaseClient {
+ core.Function _callback;
+ core.bool _expectJson;
+
+ void register(core.Function callback, core.bool expectJson) {
+ _callback = callback;
+ _expectJson = expectJson;
+ }
+
+ async.Future<http.StreamedResponse> send(http.BaseRequest request) {
+ if (_expectJson) {
+ return request
+ .finalize()
+ .transform(convert.UTF8.decoder)
+ .join('')
+ .then((core.String jsonString) {
+ if (jsonString.isEmpty) {
+ return _callback(request, null);
+ } else {
+ return _callback(request, convert.JSON.decode(jsonString));
+ }
+ });
+ } else {
+ var stream = request.finalize();
+ if (stream == null) {
+ return _callback(request, []);
+ } else {
+ return stream.toBytes().then((data) {
+ return _callback(request, data);
+ });
+ }
+ }
+ }
+}
+
+http.StreamedResponse stringResponse(core.int status,
+ core.Map<core.String, core.String> headers, core.String body) {
+ var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
+ return new http.StreamedResponse(stream, status, headers: headers);
+}
+
+buildUnnamed2660() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2660(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'));
+}
+
+buildUnnamed2661() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2661(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 buildCounterAccount = 0;
+buildAccount() {
+ var o = new api.Account();
+ buildCounterAccount++;
+ if (buildCounterAccount < 3) {
+ o.accountPermissionIds = buildUnnamed2660();
+ o.accountProfile = "foo";
+ o.active = true;
+ o.activeAdsLimitTier = "foo";
+ o.activeViewOptOut = true;
+ o.availablePermissionIds = buildUnnamed2661();
+ o.countryId = "foo";
+ o.currencyId = "foo";
+ o.defaultCreativeSizeId = "foo";
+ o.description = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.locale = "foo";
+ o.maximumImageSize = "foo";
+ o.name = "foo";
+ o.nielsenOcrEnabled = true;
+ o.reportsConfiguration = buildReportsConfiguration();
+ o.shareReportsWithTwitter = true;
+ o.teaserSizeLimit = "foo";
+ }
+ buildCounterAccount--;
+ return o;
+}
+
+checkAccount(api.Account o) {
+ buildCounterAccount++;
+ if (buildCounterAccount < 3) {
+ checkUnnamed2660(o.accountPermissionIds);
+ unittest.expect(o.accountProfile, unittest.equals('foo'));
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
+ unittest.expect(o.activeViewOptOut, unittest.isTrue);
+ checkUnnamed2661(o.availablePermissionIds);
+ unittest.expect(o.countryId, unittest.equals('foo'));
+ unittest.expect(o.currencyId, unittest.equals('foo'));
+ unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.locale, unittest.equals('foo'));
+ unittest.expect(o.maximumImageSize, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.nielsenOcrEnabled, unittest.isTrue);
+ checkReportsConfiguration(o.reportsConfiguration);
+ unittest.expect(o.shareReportsWithTwitter, unittest.isTrue);
+ unittest.expect(o.teaserSizeLimit, unittest.equals('foo'));
+ }
+ buildCounterAccount--;
+}
+
+core.int buildCounterAccountActiveAdSummary = 0;
+buildAccountActiveAdSummary() {
+ var o = new api.AccountActiveAdSummary();
+ buildCounterAccountActiveAdSummary++;
+ if (buildCounterAccountActiveAdSummary < 3) {
+ o.accountId = "foo";
+ o.activeAds = "foo";
+ o.activeAdsLimitTier = "foo";
+ o.availableAds = "foo";
+ o.kind = "foo";
+ }
+ buildCounterAccountActiveAdSummary--;
+ return o;
+}
+
+checkAccountActiveAdSummary(api.AccountActiveAdSummary o) {
+ buildCounterAccountActiveAdSummary++;
+ if (buildCounterAccountActiveAdSummary < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.activeAds, unittest.equals('foo'));
+ unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
+ unittest.expect(o.availableAds, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterAccountActiveAdSummary--;
+}
+
+buildUnnamed2662() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2662(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 buildCounterAccountPermission = 0;
+buildAccountPermission() {
+ var o = new api.AccountPermission();
+ buildCounterAccountPermission++;
+ if (buildCounterAccountPermission < 3) {
+ o.accountProfiles = buildUnnamed2662();
+ o.id = "foo";
+ o.kind = "foo";
+ o.level = "foo";
+ o.name = "foo";
+ o.permissionGroupId = "foo";
+ }
+ buildCounterAccountPermission--;
+ return o;
+}
+
+checkAccountPermission(api.AccountPermission o) {
+ buildCounterAccountPermission++;
+ if (buildCounterAccountPermission < 3) {
+ checkUnnamed2662(o.accountProfiles);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.level, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.permissionGroupId, unittest.equals('foo'));
+ }
+ buildCounterAccountPermission--;
+}
+
+core.int buildCounterAccountPermissionGroup = 0;
+buildAccountPermissionGroup() {
+ var o = new api.AccountPermissionGroup();
+ buildCounterAccountPermissionGroup++;
+ if (buildCounterAccountPermissionGroup < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterAccountPermissionGroup--;
+ return o;
+}
+
+checkAccountPermissionGroup(api.AccountPermissionGroup o) {
+ buildCounterAccountPermissionGroup++;
+ if (buildCounterAccountPermissionGroup < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterAccountPermissionGroup--;
+}
+
+buildUnnamed2663() {
+ var o = new core.List<api.AccountPermissionGroup>();
+ o.add(buildAccountPermissionGroup());
+ o.add(buildAccountPermissionGroup());
+ return o;
+}
+
+checkUnnamed2663(core.List<api.AccountPermissionGroup> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAccountPermissionGroup(o[0]);
+ checkAccountPermissionGroup(o[1]);
+}
+
+core.int buildCounterAccountPermissionGroupsListResponse = 0;
+buildAccountPermissionGroupsListResponse() {
+ var o = new api.AccountPermissionGroupsListResponse();
+ buildCounterAccountPermissionGroupsListResponse++;
+ if (buildCounterAccountPermissionGroupsListResponse < 3) {
+ o.accountPermissionGroups = buildUnnamed2663();
+ o.kind = "foo";
+ }
+ buildCounterAccountPermissionGroupsListResponse--;
+ return o;
+}
+
+checkAccountPermissionGroupsListResponse(
+ api.AccountPermissionGroupsListResponse o) {
+ buildCounterAccountPermissionGroupsListResponse++;
+ if (buildCounterAccountPermissionGroupsListResponse < 3) {
+ checkUnnamed2663(o.accountPermissionGroups);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterAccountPermissionGroupsListResponse--;
+}
+
+buildUnnamed2664() {
+ var o = new core.List<api.AccountPermission>();
+ o.add(buildAccountPermission());
+ o.add(buildAccountPermission());
+ return o;
+}
+
+checkUnnamed2664(core.List<api.AccountPermission> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAccountPermission(o[0]);
+ checkAccountPermission(o[1]);
+}
+
+core.int buildCounterAccountPermissionsListResponse = 0;
+buildAccountPermissionsListResponse() {
+ var o = new api.AccountPermissionsListResponse();
+ buildCounterAccountPermissionsListResponse++;
+ if (buildCounterAccountPermissionsListResponse < 3) {
+ o.accountPermissions = buildUnnamed2664();
+ o.kind = "foo";
+ }
+ buildCounterAccountPermissionsListResponse--;
+ return o;
+}
+
+checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
+ buildCounterAccountPermissionsListResponse++;
+ if (buildCounterAccountPermissionsListResponse < 3) {
+ checkUnnamed2664(o.accountPermissions);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterAccountPermissionsListResponse--;
+}
+
+core.int buildCounterAccountUserProfile = 0;
+buildAccountUserProfile() {
+ var o = new api.AccountUserProfile();
+ buildCounterAccountUserProfile++;
+ if (buildCounterAccountUserProfile < 3) {
+ o.accountId = "foo";
+ o.active = true;
+ o.advertiserFilter = buildObjectFilter();
+ o.campaignFilter = buildObjectFilter();
+ o.comments = "foo";
+ o.email = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.locale = "foo";
+ o.name = "foo";
+ o.siteFilter = buildObjectFilter();
+ o.subaccountId = "foo";
+ o.traffickerType = "foo";
+ o.userAccessType = "foo";
+ o.userRoleFilter = buildObjectFilter();
+ o.userRoleId = "foo";
+ }
+ buildCounterAccountUserProfile--;
+ return o;
+}
+
+checkAccountUserProfile(api.AccountUserProfile o) {
+ buildCounterAccountUserProfile++;
+ if (buildCounterAccountUserProfile < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.active, unittest.isTrue);
+ checkObjectFilter(o.advertiserFilter);
+ checkObjectFilter(o.campaignFilter);
+ unittest.expect(o.comments, unittest.equals('foo'));
+ unittest.expect(o.email, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.locale, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkObjectFilter(o.siteFilter);
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.traffickerType, unittest.equals('foo'));
+ unittest.expect(o.userAccessType, unittest.equals('foo'));
+ checkObjectFilter(o.userRoleFilter);
+ unittest.expect(o.userRoleId, unittest.equals('foo'));
+ }
+ buildCounterAccountUserProfile--;
+}
+
+buildUnnamed2665() {
+ var o = new core.List<api.AccountUserProfile>();
+ o.add(buildAccountUserProfile());
+ o.add(buildAccountUserProfile());
+ return o;
+}
+
+checkUnnamed2665(core.List<api.AccountUserProfile> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAccountUserProfile(o[0]);
+ checkAccountUserProfile(o[1]);
+}
+
+core.int buildCounterAccountUserProfilesListResponse = 0;
+buildAccountUserProfilesListResponse() {
+ var o = new api.AccountUserProfilesListResponse();
+ buildCounterAccountUserProfilesListResponse++;
+ if (buildCounterAccountUserProfilesListResponse < 3) {
+ o.accountUserProfiles = buildUnnamed2665();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterAccountUserProfilesListResponse--;
+ return o;
+}
+
+checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
+ buildCounterAccountUserProfilesListResponse++;
+ if (buildCounterAccountUserProfilesListResponse < 3) {
+ checkUnnamed2665(o.accountUserProfiles);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterAccountUserProfilesListResponse--;
+}
+
+buildUnnamed2666() {
+ var o = new core.List<api.Account>();
+ o.add(buildAccount());
+ o.add(buildAccount());
+ return o;
+}
+
+checkUnnamed2666(core.List<api.Account> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAccount(o[0]);
+ checkAccount(o[1]);
+}
+
+core.int buildCounterAccountsListResponse = 0;
+buildAccountsListResponse() {
+ var o = new api.AccountsListResponse();
+ buildCounterAccountsListResponse++;
+ if (buildCounterAccountsListResponse < 3) {
+ o.accounts = buildUnnamed2666();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterAccountsListResponse--;
+ return o;
+}
+
+checkAccountsListResponse(api.AccountsListResponse o) {
+ buildCounterAccountsListResponse++;
+ if (buildCounterAccountsListResponse < 3) {
+ checkUnnamed2666(o.accounts);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterAccountsListResponse--;
+}
+
+buildUnnamed2667() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2667(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+buildUnnamed2668() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2668(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 buildCounterActivities = 0;
+buildActivities() {
+ var o = new api.Activities();
+ buildCounterActivities++;
+ if (buildCounterActivities < 3) {
+ o.filters = buildUnnamed2667();
+ o.kind = "foo";
+ o.metricNames = buildUnnamed2668();
+ }
+ buildCounterActivities--;
+ return o;
+}
+
+checkActivities(api.Activities o) {
+ buildCounterActivities++;
+ if (buildCounterActivities < 3) {
+ checkUnnamed2667(o.filters);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2668(o.metricNames);
+ }
+ buildCounterActivities--;
+}
+
+buildUnnamed2669() {
+ var o = new core.List<api.CreativeGroupAssignment>();
+ o.add(buildCreativeGroupAssignment());
+ o.add(buildCreativeGroupAssignment());
+ return o;
+}
+
+checkUnnamed2669(core.List<api.CreativeGroupAssignment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeGroupAssignment(o[0]);
+ checkCreativeGroupAssignment(o[1]);
+}
+
+buildUnnamed2670() {
+ var o = new core.List<api.EventTagOverride>();
+ o.add(buildEventTagOverride());
+ o.add(buildEventTagOverride());
+ return o;
+}
+
+checkUnnamed2670(core.List<api.EventTagOverride> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEventTagOverride(o[0]);
+ checkEventTagOverride(o[1]);
+}
+
+buildUnnamed2671() {
+ var o = new core.List<api.PlacementAssignment>();
+ o.add(buildPlacementAssignment());
+ o.add(buildPlacementAssignment());
+ return o;
+}
+
+checkUnnamed2671(core.List<api.PlacementAssignment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPlacementAssignment(o[0]);
+ checkPlacementAssignment(o[1]);
+}
+
+core.int buildCounterAd = 0;
+buildAd() {
+ var o = new api.Ad();
+ buildCounterAd++;
+ if (buildCounterAd < 3) {
+ o.accountId = "foo";
+ o.active = true;
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.archived = true;
+ o.audienceSegmentId = "foo";
+ o.campaignId = "foo";
+ o.campaignIdDimensionValue = buildDimensionValue();
+ o.clickThroughUrl = buildClickThroughUrl();
+ o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
+ o.comments = "foo";
+ o.compatibility = "foo";
+ o.createInfo = buildLastModifiedInfo();
+ o.creativeGroupAssignments = buildUnnamed2669();
+ o.creativeRotation = buildCreativeRotation();
+ o.dayPartTargeting = buildDayPartTargeting();
+ o.defaultClickThroughEventTagProperties =
+ buildDefaultClickThroughEventTagProperties();
+ o.deliverySchedule = buildDeliverySchedule();
+ o.dynamicClickTracker = true;
+ o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
+ o.eventTagOverrides = buildUnnamed2670();
+ o.geoTargeting = buildGeoTargeting();
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.keyValueTargetingExpression = buildKeyValueTargetingExpression();
+ o.kind = "foo";
+ o.languageTargeting = buildLanguageTargeting();
+ o.lastModifiedInfo = buildLastModifiedInfo();
+ o.name = "foo";
+ o.placementAssignments = buildUnnamed2671();
+ o.remarketingListExpression = buildListTargetingExpression();
+ o.size = buildSize();
+ o.sslCompliant = true;
+ o.sslRequired = true;
+ o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
+ o.subaccountId = "foo";
+ o.targetingTemplateId = "foo";
+ o.technologyTargeting = buildTechnologyTargeting();
+ o.type = "foo";
+ }
+ buildCounterAd--;
+ return o;
+}
+
+checkAd(api.Ad o) {
+ buildCounterAd++;
+ if (buildCounterAd < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.archived, unittest.isTrue);
+ unittest.expect(o.audienceSegmentId, unittest.equals('foo'));
+ unittest.expect(o.campaignId, unittest.equals('foo'));
+ checkDimensionValue(o.campaignIdDimensionValue);
+ checkClickThroughUrl(o.clickThroughUrl);
+ checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
+ unittest.expect(o.comments, unittest.equals('foo'));
+ unittest.expect(o.compatibility, unittest.equals('foo'));
+ checkLastModifiedInfo(o.createInfo);
+ checkUnnamed2669(o.creativeGroupAssignments);
+ checkCreativeRotation(o.creativeRotation);
+ checkDayPartTargeting(o.dayPartTargeting);
+ checkDefaultClickThroughEventTagProperties(
+ o.defaultClickThroughEventTagProperties);
+ checkDeliverySchedule(o.deliverySchedule);
+ unittest.expect(o.dynamicClickTracker, unittest.isTrue);
+ unittest.expect(
+ o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ checkUnnamed2670(o.eventTagOverrides);
+ checkGeoTargeting(o.geoTargeting);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ checkKeyValueTargetingExpression(o.keyValueTargetingExpression);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLanguageTargeting(o.languageTargeting);
+ checkLastModifiedInfo(o.lastModifiedInfo);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed2671(o.placementAssignments);
+ checkListTargetingExpression(o.remarketingListExpression);
+ checkSize(o.size);
+ unittest.expect(o.sslCompliant, unittest.isTrue);
+ unittest.expect(o.sslRequired, unittest.isTrue);
+ unittest.expect(o.startTime,
+ unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.targetingTemplateId, unittest.equals('foo'));
+ checkTechnologyTargeting(o.technologyTargeting);
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterAd--;
+}
+
+core.int buildCounterAdBlockingConfiguration = 0;
+buildAdBlockingConfiguration() {
+ var o = new api.AdBlockingConfiguration();
+ buildCounterAdBlockingConfiguration++;
+ if (buildCounterAdBlockingConfiguration < 3) {
+ o.clickThroughUrl = "foo";
+ o.creativeBundleId = "foo";
+ o.enabled = true;
+ o.overrideClickThroughUrl = true;
+ }
+ buildCounterAdBlockingConfiguration--;
+ return o;
+}
+
+checkAdBlockingConfiguration(api.AdBlockingConfiguration o) {
+ buildCounterAdBlockingConfiguration++;
+ if (buildCounterAdBlockingConfiguration < 3) {
+ unittest.expect(o.clickThroughUrl, unittest.equals('foo'));
+ unittest.expect(o.creativeBundleId, unittest.equals('foo'));
+ unittest.expect(o.enabled, unittest.isTrue);
+ unittest.expect(o.overrideClickThroughUrl, unittest.isTrue);
+ }
+ buildCounterAdBlockingConfiguration--;
+}
+
+core.int buildCounterAdSlot = 0;
+buildAdSlot() {
+ var o = new api.AdSlot();
+ buildCounterAdSlot++;
+ if (buildCounterAdSlot < 3) {
+ o.comment = "foo";
+ o.compatibility = "foo";
+ o.height = "foo";
+ o.linkedPlacementId = "foo";
+ o.name = "foo";
+ o.paymentSourceType = "foo";
+ o.primary = true;
+ o.width = "foo";
+ }
+ buildCounterAdSlot--;
+ return o;
+}
+
+checkAdSlot(api.AdSlot o) {
+ buildCounterAdSlot++;
+ if (buildCounterAdSlot < 3) {
+ unittest.expect(o.comment, unittest.equals('foo'));
+ unittest.expect(o.compatibility, unittest.equals('foo'));
+ unittest.expect(o.height, unittest.equals('foo'));
+ unittest.expect(o.linkedPlacementId, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.paymentSourceType, unittest.equals('foo'));
+ unittest.expect(o.primary, unittest.isTrue);
+ unittest.expect(o.width, unittest.equals('foo'));
+ }
+ buildCounterAdSlot--;
+}
+
+buildUnnamed2672() {
+ var o = new core.List<api.Ad>();
+ o.add(buildAd());
+ o.add(buildAd());
+ return o;
+}
+
+checkUnnamed2672(core.List<api.Ad> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAd(o[0]);
+ checkAd(o[1]);
+}
+
+core.int buildCounterAdsListResponse = 0;
+buildAdsListResponse() {
+ var o = new api.AdsListResponse();
+ buildCounterAdsListResponse++;
+ if (buildCounterAdsListResponse < 3) {
+ o.ads = buildUnnamed2672();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterAdsListResponse--;
+ return o;
+}
+
+checkAdsListResponse(api.AdsListResponse o) {
+ buildCounterAdsListResponse++;
+ if (buildCounterAdsListResponse < 3) {
+ checkUnnamed2672(o.ads);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterAdsListResponse--;
+}
+
+core.int buildCounterAdvertiser = 0;
+buildAdvertiser() {
+ var o = new api.Advertiser();
+ buildCounterAdvertiser++;
+ if (buildCounterAdvertiser < 3) {
+ o.accountId = "foo";
+ o.advertiserGroupId = "foo";
+ o.clickThroughUrlSuffix = "foo";
+ o.defaultClickThroughEventTagId = "foo";
+ o.defaultEmail = "foo";
+ o.floodlightConfigurationId = "foo";
+ o.floodlightConfigurationIdDimensionValue = buildDimensionValue();
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.kind = "foo";
+ o.name = "foo";
+ o.originalFloodlightConfigurationId = "foo";
+ o.status = "foo";
+ o.subaccountId = "foo";
+ o.suspended = true;
+ }
+ buildCounterAdvertiser--;
+ return o;
+}
+
+checkAdvertiser(api.Advertiser o) {
+ buildCounterAdvertiser++;
+ if (buildCounterAdvertiser < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
+ unittest.expect(o.clickThroughUrlSuffix, unittest.equals('foo'));
+ unittest.expect(o.defaultClickThroughEventTagId, unittest.equals('foo'));
+ unittest.expect(o.defaultEmail, unittest.equals('foo'));
+ unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
+ checkDimensionValue(o.floodlightConfigurationIdDimensionValue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(
+ o.originalFloodlightConfigurationId, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.suspended, unittest.isTrue);
+ }
+ buildCounterAdvertiser--;
+}
+
+core.int buildCounterAdvertiserGroup = 0;
+buildAdvertiserGroup() {
+ var o = new api.AdvertiserGroup();
+ buildCounterAdvertiserGroup++;
+ if (buildCounterAdvertiserGroup < 3) {
+ o.accountId = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterAdvertiserGroup--;
+ return o;
+}
+
+checkAdvertiserGroup(api.AdvertiserGroup o) {
+ buildCounterAdvertiserGroup++;
+ if (buildCounterAdvertiserGroup < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterAdvertiserGroup--;
+}
+
+buildUnnamed2673() {
+ var o = new core.List<api.AdvertiserGroup>();
+ o.add(buildAdvertiserGroup());
+ o.add(buildAdvertiserGroup());
+ return o;
+}
+
+checkUnnamed2673(core.List<api.AdvertiserGroup> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAdvertiserGroup(o[0]);
+ checkAdvertiserGroup(o[1]);
+}
+
+core.int buildCounterAdvertiserGroupsListResponse = 0;
+buildAdvertiserGroupsListResponse() {
+ var o = new api.AdvertiserGroupsListResponse();
+ buildCounterAdvertiserGroupsListResponse++;
+ if (buildCounterAdvertiserGroupsListResponse < 3) {
+ o.advertiserGroups = buildUnnamed2673();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterAdvertiserGroupsListResponse--;
+ return o;
+}
+
+checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
+ buildCounterAdvertiserGroupsListResponse++;
+ if (buildCounterAdvertiserGroupsListResponse < 3) {
+ checkUnnamed2673(o.advertiserGroups);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterAdvertiserGroupsListResponse--;
+}
+
+buildUnnamed2674() {
+ var o = new core.List<api.LandingPage>();
+ o.add(buildLandingPage());
+ o.add(buildLandingPage());
+ return o;
+}
+
+checkUnnamed2674(core.List<api.LandingPage> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLandingPage(o[0]);
+ checkLandingPage(o[1]);
+}
+
+core.int buildCounterAdvertiserLandingPagesListResponse = 0;
+buildAdvertiserLandingPagesListResponse() {
+ var o = new api.AdvertiserLandingPagesListResponse();
+ buildCounterAdvertiserLandingPagesListResponse++;
+ if (buildCounterAdvertiserLandingPagesListResponse < 3) {
+ o.kind = "foo";
+ o.landingPages = buildUnnamed2674();
+ o.nextPageToken = "foo";
+ }
+ buildCounterAdvertiserLandingPagesListResponse--;
+ return o;
+}
+
+checkAdvertiserLandingPagesListResponse(
+ api.AdvertiserLandingPagesListResponse o) {
+ buildCounterAdvertiserLandingPagesListResponse++;
+ if (buildCounterAdvertiserLandingPagesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2674(o.landingPages);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterAdvertiserLandingPagesListResponse--;
+}
+
+buildUnnamed2675() {
+ var o = new core.List<api.Advertiser>();
+ o.add(buildAdvertiser());
+ o.add(buildAdvertiser());
+ return o;
+}
+
+checkUnnamed2675(core.List<api.Advertiser> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAdvertiser(o[0]);
+ checkAdvertiser(o[1]);
+}
+
+core.int buildCounterAdvertisersListResponse = 0;
+buildAdvertisersListResponse() {
+ var o = new api.AdvertisersListResponse();
+ buildCounterAdvertisersListResponse++;
+ if (buildCounterAdvertisersListResponse < 3) {
+ o.advertisers = buildUnnamed2675();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterAdvertisersListResponse--;
+ return o;
+}
+
+checkAdvertisersListResponse(api.AdvertisersListResponse o) {
+ buildCounterAdvertisersListResponse++;
+ if (buildCounterAdvertisersListResponse < 3) {
+ checkUnnamed2675(o.advertisers);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterAdvertisersListResponse--;
+}
+
+core.int buildCounterAudienceSegment = 0;
+buildAudienceSegment() {
+ var o = new api.AudienceSegment();
+ buildCounterAudienceSegment++;
+ if (buildCounterAudienceSegment < 3) {
+ o.allocation = 42;
+ o.id = "foo";
+ o.name = "foo";
+ }
+ buildCounterAudienceSegment--;
+ return o;
+}
+
+checkAudienceSegment(api.AudienceSegment o) {
+ buildCounterAudienceSegment++;
+ if (buildCounterAudienceSegment < 3) {
+ unittest.expect(o.allocation, unittest.equals(42));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterAudienceSegment--;
+}
+
+buildUnnamed2676() {
+ var o = new core.List<api.AudienceSegment>();
+ o.add(buildAudienceSegment());
+ o.add(buildAudienceSegment());
+ return o;
+}
+
+checkUnnamed2676(core.List<api.AudienceSegment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAudienceSegment(o[0]);
+ checkAudienceSegment(o[1]);
+}
+
+core.int buildCounterAudienceSegmentGroup = 0;
+buildAudienceSegmentGroup() {
+ var o = new api.AudienceSegmentGroup();
+ buildCounterAudienceSegmentGroup++;
+ if (buildCounterAudienceSegmentGroup < 3) {
+ o.audienceSegments = buildUnnamed2676();
+ o.id = "foo";
+ o.name = "foo";
+ }
+ buildCounterAudienceSegmentGroup--;
+ return o;
+}
+
+checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
+ buildCounterAudienceSegmentGroup++;
+ if (buildCounterAudienceSegmentGroup < 3) {
+ checkUnnamed2676(o.audienceSegments);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterAudienceSegmentGroup--;
+}
+
+core.int buildCounterBrowser = 0;
+buildBrowser() {
+ var o = new api.Browser();
+ buildCounterBrowser++;
+ if (buildCounterBrowser < 3) {
+ o.browserVersionId = "foo";
+ o.dartId = "foo";
+ o.kind = "foo";
+ o.majorVersion = "foo";
+ o.minorVersion = "foo";
+ o.name = "foo";
+ }
+ buildCounterBrowser--;
+ return o;
+}
+
+checkBrowser(api.Browser o) {
+ buildCounterBrowser++;
+ if (buildCounterBrowser < 3) {
+ unittest.expect(o.browserVersionId, unittest.equals('foo'));
+ unittest.expect(o.dartId, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.majorVersion, unittest.equals('foo'));
+ unittest.expect(o.minorVersion, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterBrowser--;
+}
+
+buildUnnamed2677() {
+ var o = new core.List<api.Browser>();
+ o.add(buildBrowser());
+ o.add(buildBrowser());
+ return o;
+}
+
+checkUnnamed2677(core.List<api.Browser> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBrowser(o[0]);
+ checkBrowser(o[1]);
+}
+
+core.int buildCounterBrowsersListResponse = 0;
+buildBrowsersListResponse() {
+ var o = new api.BrowsersListResponse();
+ buildCounterBrowsersListResponse++;
+ if (buildCounterBrowsersListResponse < 3) {
+ o.browsers = buildUnnamed2677();
+ o.kind = "foo";
+ }
+ buildCounterBrowsersListResponse--;
+ return o;
+}
+
+checkBrowsersListResponse(api.BrowsersListResponse o) {
+ buildCounterBrowsersListResponse++;
+ if (buildCounterBrowsersListResponse < 3) {
+ checkUnnamed2677(o.browsers);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterBrowsersListResponse--;
+}
+
+buildUnnamed2678() {
+ var o = new core.List<api.CreativeOptimizationConfiguration>();
+ o.add(buildCreativeOptimizationConfiguration());
+ o.add(buildCreativeOptimizationConfiguration());
+ return o;
+}
+
+checkUnnamed2678(core.List<api.CreativeOptimizationConfiguration> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeOptimizationConfiguration(o[0]);
+ checkCreativeOptimizationConfiguration(o[1]);
+}
+
+buildUnnamed2679() {
+ var o = new core.List<api.AudienceSegmentGroup>();
+ o.add(buildAudienceSegmentGroup());
+ o.add(buildAudienceSegmentGroup());
+ return o;
+}
+
+checkUnnamed2679(core.List<api.AudienceSegmentGroup> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAudienceSegmentGroup(o[0]);
+ checkAudienceSegmentGroup(o[1]);
+}
+
+buildUnnamed2680() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2680(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'));
+}
+
+buildUnnamed2681() {
+ var o = new core.List<api.EventTagOverride>();
+ o.add(buildEventTagOverride());
+ o.add(buildEventTagOverride());
+ return o;
+}
+
+checkUnnamed2681(core.List<api.EventTagOverride> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEventTagOverride(o[0]);
+ checkEventTagOverride(o[1]);
+}
+
+buildUnnamed2682() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2682(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 buildCounterCampaign = 0;
+buildCampaign() {
+ var o = new api.Campaign();
+ buildCounterCampaign++;
+ if (buildCounterCampaign < 3) {
+ o.accountId = "foo";
+ o.adBlockingConfiguration = buildAdBlockingConfiguration();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed2678();
+ o.advertiserGroupId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.archived = true;
+ o.audienceSegmentGroups = buildUnnamed2679();
+ o.billingInvoiceCode = "foo";
+ o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
+ o.comment = "foo";
+ o.createInfo = buildLastModifiedInfo();
+ o.creativeGroupIds = buildUnnamed2680();
+ o.creativeOptimizationConfiguration =
+ buildCreativeOptimizationConfiguration();
+ o.defaultClickThroughEventTagProperties =
+ buildDefaultClickThroughEventTagProperties();
+ o.defaultLandingPageId = "foo";
+ o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.eventTagOverrides = buildUnnamed2681();
+ o.externalId = "foo";
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.kind = "foo";
+ o.lastModifiedInfo = buildLastModifiedInfo();
+ o.lookbackConfiguration = buildLookbackConfiguration();
+ o.name = "foo";
+ o.nielsenOcrEnabled = true;
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.subaccountId = "foo";
+ o.traffickerEmails = buildUnnamed2682();
+ }
+ buildCounterCampaign--;
+ return o;
+}
+
+checkCampaign(api.Campaign o) {
+ buildCounterCampaign++;
+ if (buildCounterCampaign < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ checkAdBlockingConfiguration(o.adBlockingConfiguration);
+ checkUnnamed2678(o.additionalCreativeOptimizationConfigurations);
+ unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.archived, unittest.isTrue);
+ checkUnnamed2679(o.audienceSegmentGroups);
+ unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
+ checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
+ unittest.expect(o.comment, unittest.equals('foo'));
+ checkLastModifiedInfo(o.createInfo);
+ checkUnnamed2680(o.creativeGroupIds);
+ checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
+ checkDefaultClickThroughEventTagProperties(
+ o.defaultClickThroughEventTagProperties);
+ unittest.expect(o.defaultLandingPageId, unittest.equals('foo'));
+ unittest.expect(
+ o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ checkUnnamed2681(o.eventTagOverrides);
+ unittest.expect(o.externalId, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLastModifiedInfo(o.lastModifiedInfo);
+ checkLookbackConfiguration(o.lookbackConfiguration);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.nielsenOcrEnabled, unittest.isTrue);
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ checkUnnamed2682(o.traffickerEmails);
+ }
+ buildCounterCampaign--;
+}
+
+core.int buildCounterCampaignCreativeAssociation = 0;
+buildCampaignCreativeAssociation() {
+ var o = new api.CampaignCreativeAssociation();
+ buildCounterCampaignCreativeAssociation++;
+ if (buildCounterCampaignCreativeAssociation < 3) {
+ o.creativeId = "foo";
+ o.kind = "foo";
+ }
+ buildCounterCampaignCreativeAssociation--;
+ return o;
+}
+
+checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) {
+ buildCounterCampaignCreativeAssociation++;
+ if (buildCounterCampaignCreativeAssociation < 3) {
+ unittest.expect(o.creativeId, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterCampaignCreativeAssociation--;
+}
+
+buildUnnamed2683() {
+ var o = new core.List<api.CampaignCreativeAssociation>();
+ o.add(buildCampaignCreativeAssociation());
+ o.add(buildCampaignCreativeAssociation());
+ return o;
+}
+
+checkUnnamed2683(core.List<api.CampaignCreativeAssociation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCampaignCreativeAssociation(o[0]);
+ checkCampaignCreativeAssociation(o[1]);
+}
+
+core.int buildCounterCampaignCreativeAssociationsListResponse = 0;
+buildCampaignCreativeAssociationsListResponse() {
+ var o = new api.CampaignCreativeAssociationsListResponse();
+ buildCounterCampaignCreativeAssociationsListResponse++;
+ if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
+ o.campaignCreativeAssociations = buildUnnamed2683();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterCampaignCreativeAssociationsListResponse--;
+ return o;
+}
+
+checkCampaignCreativeAssociationsListResponse(
+ api.CampaignCreativeAssociationsListResponse o) {
+ buildCounterCampaignCreativeAssociationsListResponse++;
+ if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
+ checkUnnamed2683(o.campaignCreativeAssociations);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterCampaignCreativeAssociationsListResponse--;
+}
+
+buildUnnamed2684() {
+ var o = new core.List<api.Campaign>();
+ o.add(buildCampaign());
+ o.add(buildCampaign());
+ return o;
+}
+
+checkUnnamed2684(core.List<api.Campaign> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCampaign(o[0]);
+ checkCampaign(o[1]);
+}
+
+core.int buildCounterCampaignsListResponse = 0;
+buildCampaignsListResponse() {
+ var o = new api.CampaignsListResponse();
+ buildCounterCampaignsListResponse++;
+ if (buildCounterCampaignsListResponse < 3) {
+ o.campaigns = buildUnnamed2684();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterCampaignsListResponse--;
+ return o;
+}
+
+checkCampaignsListResponse(api.CampaignsListResponse o) {
+ buildCounterCampaignsListResponse++;
+ if (buildCounterCampaignsListResponse < 3) {
+ checkUnnamed2684(o.campaigns);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterCampaignsListResponse--;
+}
+
+core.int buildCounterChangeLog = 0;
+buildChangeLog() {
+ var o = new api.ChangeLog();
+ buildCounterChangeLog++;
+ if (buildCounterChangeLog < 3) {
+ o.accountId = "foo";
+ o.action = "foo";
+ o.changeTime = core.DateTime.parse("2002-02-27T14:01:02");
+ o.fieldName = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.newValue = "foo";
+ o.objectId = "foo";
+ o.objectType = "foo";
+ o.oldValue = "foo";
+ o.subaccountId = "foo";
+ o.transactionId = "foo";
+ o.userProfileId = "foo";
+ o.userProfileName = "foo";
+ }
+ buildCounterChangeLog--;
+ return o;
+}
+
+checkChangeLog(api.ChangeLog o) {
+ buildCounterChangeLog++;
+ if (buildCounterChangeLog < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.action, unittest.equals('foo'));
+ unittest.expect(o.changeTime,
+ unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ unittest.expect(o.fieldName, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.newValue, unittest.equals('foo'));
+ unittest.expect(o.objectId, unittest.equals('foo'));
+ unittest.expect(o.objectType, unittest.equals('foo'));
+ unittest.expect(o.oldValue, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.transactionId, unittest.equals('foo'));
+ unittest.expect(o.userProfileId, unittest.equals('foo'));
+ unittest.expect(o.userProfileName, unittest.equals('foo'));
+ }
+ buildCounterChangeLog--;
+}
+
+buildUnnamed2685() {
+ var o = new core.List<api.ChangeLog>();
+ o.add(buildChangeLog());
+ o.add(buildChangeLog());
+ return o;
+}
+
+checkUnnamed2685(core.List<api.ChangeLog> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkChangeLog(o[0]);
+ checkChangeLog(o[1]);
+}
+
+core.int buildCounterChangeLogsListResponse = 0;
+buildChangeLogsListResponse() {
+ var o = new api.ChangeLogsListResponse();
+ buildCounterChangeLogsListResponse++;
+ if (buildCounterChangeLogsListResponse < 3) {
+ o.changeLogs = buildUnnamed2685();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterChangeLogsListResponse--;
+ return o;
+}
+
+checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
+ buildCounterChangeLogsListResponse++;
+ if (buildCounterChangeLogsListResponse < 3) {
+ checkUnnamed2685(o.changeLogs);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterChangeLogsListResponse--;
+}
+
+buildUnnamed2686() {
+ var o = new core.List<api.City>();
+ o.add(buildCity());
+ o.add(buildCity());
+ return o;
+}
+
+checkUnnamed2686(core.List<api.City> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCity(o[0]);
+ checkCity(o[1]);
+}
+
+core.int buildCounterCitiesListResponse = 0;
+buildCitiesListResponse() {
+ var o = new api.CitiesListResponse();
+ buildCounterCitiesListResponse++;
+ if (buildCounterCitiesListResponse < 3) {
+ o.cities = buildUnnamed2686();
+ o.kind = "foo";
+ }
+ buildCounterCitiesListResponse--;
+ return o;
+}
+
+checkCitiesListResponse(api.CitiesListResponse o) {
+ buildCounterCitiesListResponse++;
+ if (buildCounterCitiesListResponse < 3) {
+ checkUnnamed2686(o.cities);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterCitiesListResponse--;
+}
+
+core.int buildCounterCity = 0;
+buildCity() {
+ var o = new api.City();
+ buildCounterCity++;
+ if (buildCounterCity < 3) {
+ o.countryCode = "foo";
+ o.countryDartId = "foo";
+ o.dartId = "foo";
+ o.kind = "foo";
+ o.metroCode = "foo";
+ o.metroDmaId = "foo";
+ o.name = "foo";
+ o.regionCode = "foo";
+ o.regionDartId = "foo";
+ }
+ buildCounterCity--;
+ return o;
+}
+
+checkCity(api.City o) {
+ buildCounterCity++;
+ if (buildCounterCity < 3) {
+ unittest.expect(o.countryCode, unittest.equals('foo'));
+ unittest.expect(o.countryDartId, unittest.equals('foo'));
+ unittest.expect(o.dartId, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.metroCode, unittest.equals('foo'));
+ unittest.expect(o.metroDmaId, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.regionCode, unittest.equals('foo'));
+ unittest.expect(o.regionDartId, unittest.equals('foo'));
+ }
+ buildCounterCity--;
+}
+
+core.int buildCounterClickTag = 0;
+buildClickTag() {
+ var o = new api.ClickTag();
+ buildCounterClickTag++;
+ if (buildCounterClickTag < 3) {
+ o.clickThroughUrl = buildCreativeClickThroughUrl();
+ o.eventName = "foo";
+ o.name = "foo";
+ }
+ buildCounterClickTag--;
+ return o;
+}
+
+checkClickTag(api.ClickTag o) {
+ buildCounterClickTag++;
+ if (buildCounterClickTag < 3) {
+ checkCreativeClickThroughUrl(o.clickThroughUrl);
+ unittest.expect(o.eventName, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterClickTag--;
+}
+
+core.int buildCounterClickThroughUrl = 0;
+buildClickThroughUrl() {
+ var o = new api.ClickThroughUrl();
+ buildCounterClickThroughUrl++;
+ if (buildCounterClickThroughUrl < 3) {
+ o.computedClickThroughUrl = "foo";
+ o.customClickThroughUrl = "foo";
+ o.defaultLandingPage = true;
+ o.landingPageId = "foo";
+ }
+ buildCounterClickThroughUrl--;
+ return o;
+}
+
+checkClickThroughUrl(api.ClickThroughUrl o) {
+ buildCounterClickThroughUrl++;
+ if (buildCounterClickThroughUrl < 3) {
+ unittest.expect(o.computedClickThroughUrl, unittest.equals('foo'));
+ unittest.expect(o.customClickThroughUrl, unittest.equals('foo'));
+ unittest.expect(o.defaultLandingPage, unittest.isTrue);
+ unittest.expect(o.landingPageId, unittest.equals('foo'));
+ }
+ buildCounterClickThroughUrl--;
+}
+
+core.int buildCounterClickThroughUrlSuffixProperties = 0;
+buildClickThroughUrlSuffixProperties() {
+ var o = new api.ClickThroughUrlSuffixProperties();
+ buildCounterClickThroughUrlSuffixProperties++;
+ if (buildCounterClickThroughUrlSuffixProperties < 3) {
+ o.clickThroughUrlSuffix = "foo";
+ o.overrideInheritedSuffix = true;
+ }
+ buildCounterClickThroughUrlSuffixProperties--;
+ return o;
+}
+
+checkClickThroughUrlSuffixProperties(api.ClickThroughUrlSuffixProperties o) {
+ buildCounterClickThroughUrlSuffixProperties++;
+ if (buildCounterClickThroughUrlSuffixProperties < 3) {
+ unittest.expect(o.clickThroughUrlSuffix, unittest.equals('foo'));
+ unittest.expect(o.overrideInheritedSuffix, unittest.isTrue);
+ }
+ buildCounterClickThroughUrlSuffixProperties--;
+}
+
+core.int buildCounterCompanionClickThroughOverride = 0;
+buildCompanionClickThroughOverride() {
+ var o = new api.CompanionClickThroughOverride();
+ buildCounterCompanionClickThroughOverride++;
+ if (buildCounterCompanionClickThroughOverride < 3) {
+ o.clickThroughUrl = buildClickThroughUrl();
+ o.creativeId = "foo";
+ }
+ buildCounterCompanionClickThroughOverride--;
+ return o;
+}
+
+checkCompanionClickThroughOverride(api.CompanionClickThroughOverride o) {
+ buildCounterCompanionClickThroughOverride++;
+ if (buildCounterCompanionClickThroughOverride < 3) {
+ checkClickThroughUrl(o.clickThroughUrl);
+ unittest.expect(o.creativeId, unittest.equals('foo'));
+ }
+ buildCounterCompanionClickThroughOverride--;
+}
+
+buildUnnamed2687() {
+ var o = new core.List<api.Size>();
+ o.add(buildSize());
+ o.add(buildSize());
+ return o;
+}
+
+checkUnnamed2687(core.List<api.Size> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSize(o[0]);
+ checkSize(o[1]);
+}
+
+core.int buildCounterCompanionSetting = 0;
+buildCompanionSetting() {
+ var o = new api.CompanionSetting();
+ buildCounterCompanionSetting++;
+ if (buildCounterCompanionSetting < 3) {
+ o.companionsDisabled = true;
+ o.enabledSizes = buildUnnamed2687();
+ o.imageOnly = true;
+ o.kind = "foo";
+ }
+ buildCounterCompanionSetting--;
+ return o;
+}
+
+checkCompanionSetting(api.CompanionSetting o) {
+ buildCounterCompanionSetting++;
+ if (buildCounterCompanionSetting < 3) {
+ unittest.expect(o.companionsDisabled, unittest.isTrue);
+ checkUnnamed2687(o.enabledSizes);
+ unittest.expect(o.imageOnly, unittest.isTrue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterCompanionSetting--;
+}
+
+core.int buildCounterCompatibleFields = 0;
+buildCompatibleFields() {
+ var o = new api.CompatibleFields();
+ buildCounterCompatibleFields++;
+ if (buildCounterCompatibleFields < 3) {
+ o.crossDimensionReachReportCompatibleFields =
+ buildCrossDimensionReachReportCompatibleFields();
+ o.floodlightReportCompatibleFields =
+ buildFloodlightReportCompatibleFields();
+ o.kind = "foo";
+ o.pathToConversionReportCompatibleFields =
+ buildPathToConversionReportCompatibleFields();
+ o.reachReportCompatibleFields = buildReachReportCompatibleFields();
+ o.reportCompatibleFields = buildReportCompatibleFields();
+ }
+ buildCounterCompatibleFields--;
+ return o;
+}
+
+checkCompatibleFields(api.CompatibleFields o) {
+ buildCounterCompatibleFields++;
+ if (buildCounterCompatibleFields < 3) {
+ checkCrossDimensionReachReportCompatibleFields(
+ o.crossDimensionReachReportCompatibleFields);
+ checkFloodlightReportCompatibleFields(o.floodlightReportCompatibleFields);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkPathToConversionReportCompatibleFields(
+ o.pathToConversionReportCompatibleFields);
+ checkReachReportCompatibleFields(o.reachReportCompatibleFields);
+ checkReportCompatibleFields(o.reportCompatibleFields);
+ }
+ buildCounterCompatibleFields--;
+}
+
+core.int buildCounterConnectionType = 0;
+buildConnectionType() {
+ var o = new api.ConnectionType();
+ buildCounterConnectionType++;
+ if (buildCounterConnectionType < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterConnectionType--;
+ return o;
+}
+
+checkConnectionType(api.ConnectionType o) {
+ buildCounterConnectionType++;
+ if (buildCounterConnectionType < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterConnectionType--;
+}
+
+buildUnnamed2688() {
+ var o = new core.List<api.ConnectionType>();
+ o.add(buildConnectionType());
+ o.add(buildConnectionType());
+ return o;
+}
+
+checkUnnamed2688(core.List<api.ConnectionType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConnectionType(o[0]);
+ checkConnectionType(o[1]);
+}
+
+core.int buildCounterConnectionTypesListResponse = 0;
+buildConnectionTypesListResponse() {
+ var o = new api.ConnectionTypesListResponse();
+ buildCounterConnectionTypesListResponse++;
+ if (buildCounterConnectionTypesListResponse < 3) {
+ o.connectionTypes = buildUnnamed2688();
+ o.kind = "foo";
+ }
+ buildCounterConnectionTypesListResponse--;
+ return o;
+}
+
+checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
+ buildCounterConnectionTypesListResponse++;
+ if (buildCounterConnectionTypesListResponse < 3) {
+ checkUnnamed2688(o.connectionTypes);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterConnectionTypesListResponse--;
+}
+
+buildUnnamed2689() {
+ var o = new core.List<api.ContentCategory>();
+ o.add(buildContentCategory());
+ o.add(buildContentCategory());
+ return o;
+}
+
+checkUnnamed2689(core.List<api.ContentCategory> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkContentCategory(o[0]);
+ checkContentCategory(o[1]);
+}
+
+core.int buildCounterContentCategoriesListResponse = 0;
+buildContentCategoriesListResponse() {
+ var o = new api.ContentCategoriesListResponse();
+ buildCounterContentCategoriesListResponse++;
+ if (buildCounterContentCategoriesListResponse < 3) {
+ o.contentCategories = buildUnnamed2689();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterContentCategoriesListResponse--;
+ return o;
+}
+
+checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
+ buildCounterContentCategoriesListResponse++;
+ if (buildCounterContentCategoriesListResponse < 3) {
+ checkUnnamed2689(o.contentCategories);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterContentCategoriesListResponse--;
+}
+
+core.int buildCounterContentCategory = 0;
+buildContentCategory() {
+ var o = new api.ContentCategory();
+ buildCounterContentCategory++;
+ if (buildCounterContentCategory < 3) {
+ o.accountId = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterContentCategory--;
+ return o;
+}
+
+checkContentCategory(api.ContentCategory o) {
+ buildCounterContentCategory++;
+ if (buildCounterContentCategory < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterContentCategory--;
+}
+
+buildUnnamed2690() {
+ var o = new core.List<api.CustomFloodlightVariable>();
+ o.add(buildCustomFloodlightVariable());
+ o.add(buildCustomFloodlightVariable());
+ return o;
+}
+
+checkUnnamed2690(core.List<api.CustomFloodlightVariable> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCustomFloodlightVariable(o[0]);
+ checkCustomFloodlightVariable(o[1]);
+}
+
+buildUnnamed2691() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2691(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 buildCounterConversion = 0;
+buildConversion() {
+ var o = new api.Conversion();
+ buildCounterConversion++;
+ if (buildCounterConversion < 3) {
+ o.childDirectedTreatment = true;
+ o.customVariables = buildUnnamed2690();
+ o.encryptedUserId = "foo";
+ o.encryptedUserIdCandidates = buildUnnamed2691();
+ o.floodlightActivityId = "foo";
+ o.floodlightConfigurationId = "foo";
+ o.gclid = "foo";
+ o.kind = "foo";
+ o.limitAdTracking = true;
+ o.mobileDeviceId = "foo";
+ o.ordinal = "foo";
+ o.quantity = "foo";
+ o.timestampMicros = "foo";
+ o.value = 42.0;
+ }
+ buildCounterConversion--;
+ return o;
+}
+
+checkConversion(api.Conversion o) {
+ buildCounterConversion++;
+ if (buildCounterConversion < 3) {
+ unittest.expect(o.childDirectedTreatment, unittest.isTrue);
+ checkUnnamed2690(o.customVariables);
+ unittest.expect(o.encryptedUserId, unittest.equals('foo'));
+ checkUnnamed2691(o.encryptedUserIdCandidates);
+ unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
+ unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
+ unittest.expect(o.gclid, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.limitAdTracking, unittest.isTrue);
+ unittest.expect(o.mobileDeviceId, unittest.equals('foo'));
+ unittest.expect(o.ordinal, unittest.equals('foo'));
+ unittest.expect(o.quantity, unittest.equals('foo'));
+ unittest.expect(o.timestampMicros, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals(42.0));
+ }
+ buildCounterConversion--;
+}
+
+core.int buildCounterConversionError = 0;
+buildConversionError() {
+ var o = new api.ConversionError();
+ buildCounterConversionError++;
+ if (buildCounterConversionError < 3) {
+ o.code = "foo";
+ o.kind = "foo";
+ o.message = "foo";
+ }
+ buildCounterConversionError--;
+ return o;
+}
+
+checkConversionError(api.ConversionError o) {
+ buildCounterConversionError++;
+ if (buildCounterConversionError < 3) {
+ unittest.expect(o.code, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.message, unittest.equals('foo'));
+ }
+ buildCounterConversionError--;
+}
+
+buildUnnamed2692() {
+ var o = new core.List<api.ConversionError>();
+ o.add(buildConversionError());
+ o.add(buildConversionError());
+ return o;
+}
+
+checkUnnamed2692(core.List<api.ConversionError> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConversionError(o[0]);
+ checkConversionError(o[1]);
+}
+
+core.int buildCounterConversionStatus = 0;
+buildConversionStatus() {
+ var o = new api.ConversionStatus();
+ buildCounterConversionStatus++;
+ if (buildCounterConversionStatus < 3) {
+ o.conversion = buildConversion();
+ o.errors = buildUnnamed2692();
+ o.kind = "foo";
+ }
+ buildCounterConversionStatus--;
+ return o;
+}
+
+checkConversionStatus(api.ConversionStatus o) {
+ buildCounterConversionStatus++;
+ if (buildCounterConversionStatus < 3) {
+ checkConversion(o.conversion);
+ checkUnnamed2692(o.errors);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterConversionStatus--;
+}
+
+buildUnnamed2693() {
+ var o = new core.List<api.Conversion>();
+ o.add(buildConversion());
+ o.add(buildConversion());
+ return o;
+}
+
+checkUnnamed2693(core.List<api.Conversion> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConversion(o[0]);
+ checkConversion(o[1]);
+}
+
+core.int buildCounterConversionsBatchInsertRequest = 0;
+buildConversionsBatchInsertRequest() {
+ var o = new api.ConversionsBatchInsertRequest();
+ buildCounterConversionsBatchInsertRequest++;
+ if (buildCounterConversionsBatchInsertRequest < 3) {
+ o.conversions = buildUnnamed2693();
+ o.encryptionInfo = buildEncryptionInfo();
+ o.kind = "foo";
+ }
+ buildCounterConversionsBatchInsertRequest--;
+ return o;
+}
+
+checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
+ buildCounterConversionsBatchInsertRequest++;
+ if (buildCounterConversionsBatchInsertRequest < 3) {
+ checkUnnamed2693(o.conversions);
+ checkEncryptionInfo(o.encryptionInfo);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterConversionsBatchInsertRequest--;
+}
+
+buildUnnamed2694() {
+ var o = new core.List<api.ConversionStatus>();
+ o.add(buildConversionStatus());
+ o.add(buildConversionStatus());
+ return o;
+}
+
+checkUnnamed2694(core.List<api.ConversionStatus> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConversionStatus(o[0]);
+ checkConversionStatus(o[1]);
+}
+
+core.int buildCounterConversionsBatchInsertResponse = 0;
+buildConversionsBatchInsertResponse() {
+ var o = new api.ConversionsBatchInsertResponse();
+ buildCounterConversionsBatchInsertResponse++;
+ if (buildCounterConversionsBatchInsertResponse < 3) {
+ o.hasFailures = true;
+ o.kind = "foo";
+ o.status = buildUnnamed2694();
+ }
+ buildCounterConversionsBatchInsertResponse--;
+ return o;
+}
+
+checkConversionsBatchInsertResponse(api.ConversionsBatchInsertResponse o) {
+ buildCounterConversionsBatchInsertResponse++;
+ if (buildCounterConversionsBatchInsertResponse < 3) {
+ unittest.expect(o.hasFailures, unittest.isTrue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2694(o.status);
+ }
+ buildCounterConversionsBatchInsertResponse--;
+}
+
+buildUnnamed2695() {
+ var o = new core.List<api.Conversion>();
+ o.add(buildConversion());
+ o.add(buildConversion());
+ return o;
+}
+
+checkUnnamed2695(core.List<api.Conversion> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConversion(o[0]);
+ checkConversion(o[1]);
+}
+
+core.int buildCounterConversionsBatchUpdateRequest = 0;
+buildConversionsBatchUpdateRequest() {
+ var o = new api.ConversionsBatchUpdateRequest();
+ buildCounterConversionsBatchUpdateRequest++;
+ if (buildCounterConversionsBatchUpdateRequest < 3) {
+ o.conversions = buildUnnamed2695();
+ o.encryptionInfo = buildEncryptionInfo();
+ o.kind = "foo";
+ }
+ buildCounterConversionsBatchUpdateRequest--;
+ return o;
+}
+
+checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) {
+ buildCounterConversionsBatchUpdateRequest++;
+ if (buildCounterConversionsBatchUpdateRequest < 3) {
+ checkUnnamed2695(o.conversions);
+ checkEncryptionInfo(o.encryptionInfo);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterConversionsBatchUpdateRequest--;
+}
+
+buildUnnamed2696() {
+ var o = new core.List<api.ConversionStatus>();
+ o.add(buildConversionStatus());
+ o.add(buildConversionStatus());
+ return o;
+}
+
+checkUnnamed2696(core.List<api.ConversionStatus> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConversionStatus(o[0]);
+ checkConversionStatus(o[1]);
+}
+
+core.int buildCounterConversionsBatchUpdateResponse = 0;
+buildConversionsBatchUpdateResponse() {
+ var o = new api.ConversionsBatchUpdateResponse();
+ buildCounterConversionsBatchUpdateResponse++;
+ if (buildCounterConversionsBatchUpdateResponse < 3) {
+ o.hasFailures = true;
+ o.kind = "foo";
+ o.status = buildUnnamed2696();
+ }
+ buildCounterConversionsBatchUpdateResponse--;
+ return o;
+}
+
+checkConversionsBatchUpdateResponse(api.ConversionsBatchUpdateResponse o) {
+ buildCounterConversionsBatchUpdateResponse++;
+ if (buildCounterConversionsBatchUpdateResponse < 3) {
+ unittest.expect(o.hasFailures, unittest.isTrue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2696(o.status);
+ }
+ buildCounterConversionsBatchUpdateResponse--;
+}
+
+buildUnnamed2697() {
+ var o = new core.List<api.Country>();
+ o.add(buildCountry());
+ o.add(buildCountry());
+ return o;
+}
+
+checkUnnamed2697(core.List<api.Country> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCountry(o[0]);
+ checkCountry(o[1]);
+}
+
+core.int buildCounterCountriesListResponse = 0;
+buildCountriesListResponse() {
+ var o = new api.CountriesListResponse();
+ buildCounterCountriesListResponse++;
+ if (buildCounterCountriesListResponse < 3) {
+ o.countries = buildUnnamed2697();
+ o.kind = "foo";
+ }
+ buildCounterCountriesListResponse--;
+ return o;
+}
+
+checkCountriesListResponse(api.CountriesListResponse o) {
+ buildCounterCountriesListResponse++;
+ if (buildCounterCountriesListResponse < 3) {
+ checkUnnamed2697(o.countries);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterCountriesListResponse--;
+}
+
+core.int buildCounterCountry = 0;
+buildCountry() {
+ var o = new api.Country();
+ buildCounterCountry++;
+ if (buildCounterCountry < 3) {
+ o.countryCode = "foo";
+ o.dartId = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.sslEnabled = true;
+ }
+ buildCounterCountry--;
+ return o;
+}
+
+checkCountry(api.Country o) {
+ buildCounterCountry++;
+ if (buildCounterCountry < 3) {
+ unittest.expect(o.countryCode, unittest.equals('foo'));
+ unittest.expect(o.dartId, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.sslEnabled, unittest.isTrue);
+ }
+ buildCounterCountry--;
+}
+
+buildUnnamed2698() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2698(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'));
+}
+
+buildUnnamed2699() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2699(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'));
+}
+
+buildUnnamed2700() {
+ var o = new core.List<api.ClickTag>();
+ o.add(buildClickTag());
+ o.add(buildClickTag());
+ return o;
+}
+
+checkUnnamed2700(core.List<api.ClickTag> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkClickTag(o[0]);
+ checkClickTag(o[1]);
+}
+
+buildUnnamed2701() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2701(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'));
+}
+
+buildUnnamed2702() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2702(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'));
+}
+
+buildUnnamed2703() {
+ var o = new core.List<api.CreativeCustomEvent>();
+ o.add(buildCreativeCustomEvent());
+ o.add(buildCreativeCustomEvent());
+ return o;
+}
+
+checkUnnamed2703(core.List<api.CreativeCustomEvent> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeCustomEvent(o[0]);
+ checkCreativeCustomEvent(o[1]);
+}
+
+buildUnnamed2704() {
+ var o = new core.List<api.CreativeAsset>();
+ o.add(buildCreativeAsset());
+ o.add(buildCreativeAsset());
+ return o;
+}
+
+checkUnnamed2704(core.List<api.CreativeAsset> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeAsset(o[0]);
+ checkCreativeAsset(o[1]);
+}
+
+buildUnnamed2705() {
+ var o = new core.List<api.CreativeFieldAssignment>();
+ o.add(buildCreativeFieldAssignment());
+ o.add(buildCreativeFieldAssignment());
+ return o;
+}
+
+checkUnnamed2705(core.List<api.CreativeFieldAssignment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeFieldAssignment(o[0]);
+ checkCreativeFieldAssignment(o[1]);
+}
+
+buildUnnamed2706() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2706(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'));
+}
+
+buildUnnamed2707() {
+ var o = new core.List<api.CreativeCustomEvent>();
+ o.add(buildCreativeCustomEvent());
+ o.add(buildCreativeCustomEvent());
+ return o;
+}
+
+checkUnnamed2707(core.List<api.CreativeCustomEvent> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeCustomEvent(o[0]);
+ checkCreativeCustomEvent(o[1]);
+}
+
+buildUnnamed2708() {
+ var o = new core.List<api.ThirdPartyTrackingUrl>();
+ o.add(buildThirdPartyTrackingUrl());
+ o.add(buildThirdPartyTrackingUrl());
+ return o;
+}
+
+checkUnnamed2708(core.List<api.ThirdPartyTrackingUrl> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkThirdPartyTrackingUrl(o[0]);
+ checkThirdPartyTrackingUrl(o[1]);
+}
+
+buildUnnamed2709() {
+ var o = new core.List<api.CreativeCustomEvent>();
+ o.add(buildCreativeCustomEvent());
+ o.add(buildCreativeCustomEvent());
+ return o;
+}
+
+checkUnnamed2709(core.List<api.CreativeCustomEvent> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeCustomEvent(o[0]);
+ checkCreativeCustomEvent(o[1]);
+}
+
+core.int buildCounterCreative = 0;
+buildCreative() {
+ var o = new api.Creative();
+ buildCounterCreative++;
+ if (buildCounterCreative < 3) {
+ o.accountId = "foo";
+ o.active = true;
+ o.adParameters = "foo";
+ o.adTagKeys = buildUnnamed2698();
+ o.advertiserId = "foo";
+ o.allowScriptAccess = true;
+ o.archived = true;
+ o.artworkType = "foo";
+ o.authoringSource = "foo";
+ o.authoringTool = "foo";
+ o.autoAdvanceImages = true;
+ o.backgroundColor = "foo";
+ o.backupImageClickThroughUrl = buildCreativeClickThroughUrl();
+ o.backupImageFeatures = buildUnnamed2699();
+ o.backupImageReportingLabel = "foo";
+ o.backupImageTargetWindow = buildTargetWindow();
+ o.clickTags = buildUnnamed2700();
+ o.commercialId = "foo";
+ o.companionCreatives = buildUnnamed2701();
+ o.compatibility = buildUnnamed2702();
+ o.convertFlashToHtml5 = true;
+ o.counterCustomEvents = buildUnnamed2703();
+ o.creativeAssetSelection = buildCreativeAssetSelection();
+ o.creativeAssets = buildUnnamed2704();
+ o.creativeFieldAssignments = buildUnnamed2705();
+ o.customKeyValues = buildUnnamed2706();
+ o.dynamicAssetSelection = true;
+ o.exitCustomEvents = buildUnnamed2707();
+ o.fsCommand = buildFsCommand();
+ o.htmlCode = "foo";
+ o.htmlCodeLocked = true;
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.kind = "foo";
+ o.lastModifiedInfo = buildLastModifiedInfo();
+ o.latestTraffickedCreativeId = "foo";
+ o.name = "foo";
+ o.overrideCss = "foo";
+ o.politeLoadAssetId = "foo";
+ o.progressOffset = buildVideoOffset();
+ o.redirectUrl = "foo";
+ o.renderingId = "foo";
+ o.renderingIdDimensionValue = buildDimensionValue();
+ o.requiredFlashPluginVersion = "foo";
+ o.requiredFlashVersion = 42;
+ o.size = buildSize();
+ o.skipOffset = buildVideoOffset();
+ o.skippable = true;
+ o.sslCompliant = true;
+ o.sslOverride = true;
+ o.studioAdvertiserId = "foo";
+ o.studioCreativeId = "foo";
+ o.studioTraffickedCreativeId = "foo";
+ o.subaccountId = "foo";
+ o.thirdPartyBackupImageImpressionsUrl = "foo";
+ o.thirdPartyRichMediaImpressionsUrl = "foo";
+ o.thirdPartyUrls = buildUnnamed2708();
+ o.timerCustomEvents = buildUnnamed2709();
+ o.totalFileSize = "foo";
+ o.type = "foo";
+ o.universalAdId = buildUniversalAdId();
+ o.version = 42;
+ o.videoDescription = "foo";
+ o.videoDuration = 42.0;
+ }
+ buildCounterCreative--;
+ return o;
+}
+
+checkCreative(api.Creative o) {
+ buildCounterCreative++;
+ if (buildCounterCreative < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.adParameters, unittest.equals('foo'));
+ checkUnnamed2698(o.adTagKeys);
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ unittest.expect(o.allowScriptAccess, unittest.isTrue);
+ unittest.expect(o.archived, unittest.isTrue);
+ unittest.expect(o.artworkType, unittest.equals('foo'));
+ unittest.expect(o.authoringSource, unittest.equals('foo'));
+ unittest.expect(o.authoringTool, unittest.equals('foo'));
+ unittest.expect(o.autoAdvanceImages, unittest.isTrue);
+ unittest.expect(o.backgroundColor, unittest.equals('foo'));
+ checkCreativeClickThroughUrl(o.backupImageClickThroughUrl);
+ checkUnnamed2699(o.backupImageFeatures);
+ unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
+ checkTargetWindow(o.backupImageTargetWindow);
+ checkUnnamed2700(o.clickTags);
+ unittest.expect(o.commercialId, unittest.equals('foo'));
+ checkUnnamed2701(o.companionCreatives);
+ checkUnnamed2702(o.compatibility);
+ unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
+ checkUnnamed2703(o.counterCustomEvents);
+ checkCreativeAssetSelection(o.creativeAssetSelection);
+ checkUnnamed2704(o.creativeAssets);
+ checkUnnamed2705(o.creativeFieldAssignments);
+ checkUnnamed2706(o.customKeyValues);
+ unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
+ checkUnnamed2707(o.exitCustomEvents);
+ checkFsCommand(o.fsCommand);
+ unittest.expect(o.htmlCode, unittest.equals('foo'));
+ unittest.expect(o.htmlCodeLocked, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLastModifiedInfo(o.lastModifiedInfo);
+ unittest.expect(o.latestTraffickedCreativeId, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.overrideCss, unittest.equals('foo'));
+ unittest.expect(o.politeLoadAssetId, unittest.equals('foo'));
+ checkVideoOffset(o.progressOffset);
+ unittest.expect(o.redirectUrl, unittest.equals('foo'));
+ unittest.expect(o.renderingId, unittest.equals('foo'));
+ checkDimensionValue(o.renderingIdDimensionValue);
+ unittest.expect(o.requiredFlashPluginVersion, unittest.equals('foo'));
+ unittest.expect(o.requiredFlashVersion, unittest.equals(42));
+ checkSize(o.size);
+ checkVideoOffset(o.skipOffset);
+ unittest.expect(o.skippable, unittest.isTrue);
+ unittest.expect(o.sslCompliant, unittest.isTrue);
+ unittest.expect(o.sslOverride, unittest.isTrue);
+ unittest.expect(o.studioAdvertiserId, unittest.equals('foo'));
+ unittest.expect(o.studioCreativeId, unittest.equals('foo'));
+ unittest.expect(o.studioTraffickedCreativeId, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(
+ o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
+ unittest.expect(
+ o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
+ checkUnnamed2708(o.thirdPartyUrls);
+ checkUnnamed2709(o.timerCustomEvents);
+ unittest.expect(o.totalFileSize, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ checkUniversalAdId(o.universalAdId);
+ unittest.expect(o.version, unittest.equals(42));
+ unittest.expect(o.videoDescription, unittest.equals('foo'));
+ unittest.expect(o.videoDuration, unittest.equals(42.0));
+ }
+ buildCounterCreative--;
+}
+
+buildUnnamed2710() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2710(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'));
+}
+
+buildUnnamed2711() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2711(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 buildCounterCreativeAsset = 0;
+buildCreativeAsset() {
+ var o = new api.CreativeAsset();
+ buildCounterCreativeAsset++;
+ if (buildCounterCreativeAsset < 3) {
+ o.actionScript3 = true;
+ o.active = true;
+ o.alignment = "foo";
+ o.artworkType = "foo";
+ o.assetIdentifier = buildCreativeAssetId();
+ o.backupImageExit = buildCreativeCustomEvent();
+ o.bitRate = 42;
+ o.childAssetType = "foo";
+ o.collapsedSize = buildSize();
+ o.companionCreativeIds = buildUnnamed2710();
+ o.customStartTimeValue = 42;
+ o.detectedFeatures = buildUnnamed2711();
+ o.displayType = "foo";
+ o.duration = 42;
+ o.durationType = "foo";
+ o.expandedDimension = buildSize();
+ o.fileSize = "foo";
+ o.flashVersion = 42;
+ o.hideFlashObjects = true;
+ o.hideSelectionBoxes = true;
+ o.horizontallyLocked = true;
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.mimeType = "foo";
+ o.offset = buildOffsetPosition();
+ o.orientation = "foo";
+ o.originalBackup = true;
+ o.position = buildOffsetPosition();
+ o.positionLeftUnit = "foo";
+ o.positionTopUnit = "foo";
+ o.progressiveServingUrl = "foo";
+ o.pushdown = true;
+ o.pushdownDuration = 42.0;
+ o.role = "foo";
+ o.size = buildSize();
+ o.sslCompliant = true;
+ o.startTimeType = "foo";
+ o.streamingServingUrl = "foo";
+ o.transparency = true;
+ o.verticallyLocked = true;
+ o.videoDuration = 42.0;
+ o.windowMode = "foo";
+ o.zIndex = 42;
+ o.zipFilename = "foo";
+ o.zipFilesize = "foo";
+ }
+ buildCounterCreativeAsset--;
+ return o;
+}
+
+checkCreativeAsset(api.CreativeAsset o) {
+ buildCounterCreativeAsset++;
+ if (buildCounterCreativeAsset < 3) {
+ unittest.expect(o.actionScript3, unittest.isTrue);
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.alignment, unittest.equals('foo'));
+ unittest.expect(o.artworkType, unittest.equals('foo'));
+ checkCreativeAssetId(o.assetIdentifier);
+ checkCreativeCustomEvent(o.backupImageExit);
+ unittest.expect(o.bitRate, unittest.equals(42));
+ unittest.expect(o.childAssetType, unittest.equals('foo'));
+ checkSize(o.collapsedSize);
+ checkUnnamed2710(o.companionCreativeIds);
+ unittest.expect(o.customStartTimeValue, unittest.equals(42));
+ checkUnnamed2711(o.detectedFeatures);
+ unittest.expect(o.displayType, unittest.equals('foo'));
+ unittest.expect(o.duration, unittest.equals(42));
+ unittest.expect(o.durationType, unittest.equals('foo'));
+ checkSize(o.expandedDimension);
+ unittest.expect(o.fileSize, unittest.equals('foo'));
+ unittest.expect(o.flashVersion, unittest.equals(42));
+ unittest.expect(o.hideFlashObjects, unittest.isTrue);
+ unittest.expect(o.hideSelectionBoxes, unittest.isTrue);
+ unittest.expect(o.horizontallyLocked, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.mimeType, unittest.equals('foo'));
+ checkOffsetPosition(o.offset);
+ unittest.expect(o.orientation, unittest.equals('foo'));
+ unittest.expect(o.originalBackup, unittest.isTrue);
+ checkOffsetPosition(o.position);
+ unittest.expect(o.positionLeftUnit, unittest.equals('foo'));
+ unittest.expect(o.positionTopUnit, unittest.equals('foo'));
+ unittest.expect(o.progressiveServingUrl, unittest.equals('foo'));
+ unittest.expect(o.pushdown, unittest.isTrue);
+ unittest.expect(o.pushdownDuration, unittest.equals(42.0));
+ unittest.expect(o.role, unittest.equals('foo'));
+ checkSize(o.size);
+ unittest.expect(o.sslCompliant, unittest.isTrue);
+ unittest.expect(o.startTimeType, unittest.equals('foo'));
+ unittest.expect(o.streamingServingUrl, unittest.equals('foo'));
+ unittest.expect(o.transparency, unittest.isTrue);
+ unittest.expect(o.verticallyLocked, unittest.isTrue);
+ unittest.expect(o.videoDuration, unittest.equals(42.0));
+ unittest.expect(o.windowMode, unittest.equals('foo'));
+ unittest.expect(o.zIndex, unittest.equals(42));
+ unittest.expect(o.zipFilename, unittest.equals('foo'));
+ unittest.expect(o.zipFilesize, unittest.equals('foo'));
+ }
+ buildCounterCreativeAsset--;
+}
+
+core.int buildCounterCreativeAssetId = 0;
+buildCreativeAssetId() {
+ var o = new api.CreativeAssetId();
+ buildCounterCreativeAssetId++;
+ if (buildCounterCreativeAssetId < 3) {
+ o.name = "foo";
+ o.type = "foo";
+ }
+ buildCounterCreativeAssetId--;
+ return o;
+}
+
+checkCreativeAssetId(api.CreativeAssetId o) {
+ buildCounterCreativeAssetId++;
+ if (buildCounterCreativeAssetId < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterCreativeAssetId--;
+}
+
+buildUnnamed2712() {
+ var o = new core.List<api.ClickTag>();
+ o.add(buildClickTag());
+ o.add(buildClickTag());
+ return o;
+}
+
+checkUnnamed2712(core.List<api.ClickTag> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkClickTag(o[0]);
+ checkClickTag(o[1]);
+}
+
+buildUnnamed2713() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2713(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'));
+}
+
+buildUnnamed2714() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2714(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 buildCounterCreativeAssetMetadata = 0;
+buildCreativeAssetMetadata() {
+ var o = new api.CreativeAssetMetadata();
+ buildCounterCreativeAssetMetadata++;
+ if (buildCounterCreativeAssetMetadata < 3) {
+ o.assetIdentifier = buildCreativeAssetId();
+ o.clickTags = buildUnnamed2712();
+ o.detectedFeatures = buildUnnamed2713();
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.kind = "foo";
+ o.warnedValidationRules = buildUnnamed2714();
+ }
+ buildCounterCreativeAssetMetadata--;
+ return o;
+}
+
+checkCreativeAssetMetadata(api.CreativeAssetMetadata o) {
+ buildCounterCreativeAssetMetadata++;
+ if (buildCounterCreativeAssetMetadata < 3) {
+ checkCreativeAssetId(o.assetIdentifier);
+ checkUnnamed2712(o.clickTags);
+ checkUnnamed2713(o.detectedFeatures);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2714(o.warnedValidationRules);
+ }
+ buildCounterCreativeAssetMetadata--;
+}
+
+buildUnnamed2715() {
+ var o = new core.List<api.Rule>();
+ o.add(buildRule());
+ o.add(buildRule());
+ return o;
+}
+
+checkUnnamed2715(core.List<api.Rule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRule(o[0]);
+ checkRule(o[1]);
+}
+
+core.int buildCounterCreativeAssetSelection = 0;
+buildCreativeAssetSelection() {
+ var o = new api.CreativeAssetSelection();
+ buildCounterCreativeAssetSelection++;
+ if (buildCounterCreativeAssetSelection < 3) {
+ o.defaultAssetId = "foo";
+ o.rules = buildUnnamed2715();
+ }
+ buildCounterCreativeAssetSelection--;
+ return o;
+}
+
+checkCreativeAssetSelection(api.CreativeAssetSelection o) {
+ buildCounterCreativeAssetSelection++;
+ if (buildCounterCreativeAssetSelection < 3) {
+ unittest.expect(o.defaultAssetId, unittest.equals('foo'));
+ checkUnnamed2715(o.rules);
+ }
+ buildCounterCreativeAssetSelection--;
+}
+
+buildUnnamed2716() {
+ var o = new core.List<api.CompanionClickThroughOverride>();
+ o.add(buildCompanionClickThroughOverride());
+ o.add(buildCompanionClickThroughOverride());
+ return o;
+}
+
+checkUnnamed2716(core.List<api.CompanionClickThroughOverride> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCompanionClickThroughOverride(o[0]);
+ checkCompanionClickThroughOverride(o[1]);
+}
+
+buildUnnamed2717() {
+ var o = new core.List<api.CreativeGroupAssignment>();
+ o.add(buildCreativeGroupAssignment());
+ o.add(buildCreativeGroupAssignment());
+ return o;
+}
+
+checkUnnamed2717(core.List<api.CreativeGroupAssignment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeGroupAssignment(o[0]);
+ checkCreativeGroupAssignment(o[1]);
+}
+
+buildUnnamed2718() {
+ var o = new core.List<api.RichMediaExitOverride>();
+ o.add(buildRichMediaExitOverride());
+ o.add(buildRichMediaExitOverride());
+ return o;
+}
+
+checkUnnamed2718(core.List<api.RichMediaExitOverride> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRichMediaExitOverride(o[0]);
+ checkRichMediaExitOverride(o[1]);
+}
+
+core.int buildCounterCreativeAssignment = 0;
+buildCreativeAssignment() {
+ var o = new api.CreativeAssignment();
+ buildCounterCreativeAssignment++;
+ if (buildCounterCreativeAssignment < 3) {
+ o.active = true;
+ o.applyEventTags = true;
+ o.clickThroughUrl = buildClickThroughUrl();
+ o.companionCreativeOverrides = buildUnnamed2716();
+ o.creativeGroupAssignments = buildUnnamed2717();
+ o.creativeId = "foo";
+ o.creativeIdDimensionValue = buildDimensionValue();
+ o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
+ o.richMediaExitOverrides = buildUnnamed2718();
+ o.sequence = 42;
+ o.sslCompliant = true;
+ o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
+ o.weight = 42;
+ }
+ buildCounterCreativeAssignment--;
+ return o;
+}
+
+checkCreativeAssignment(api.CreativeAssignment o) {
+ buildCounterCreativeAssignment++;
+ if (buildCounterCreativeAssignment < 3) {
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.applyEventTags, unittest.isTrue);
+ checkClickThroughUrl(o.clickThroughUrl);
+ checkUnnamed2716(o.companionCreativeOverrides);
+ checkUnnamed2717(o.creativeGroupAssignments);
+ unittest.expect(o.creativeId, unittest.equals('foo'));
+ checkDimensionValue(o.creativeIdDimensionValue);
+ unittest.expect(
+ o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ checkUnnamed2718(o.richMediaExitOverrides);
+ unittest.expect(o.sequence, unittest.equals(42));
+ unittest.expect(o.sslCompliant, unittest.isTrue);
+ unittest.expect(o.startTime,
+ unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ unittest.expect(o.weight, unittest.equals(42));
+ }
+ buildCounterCreativeAssignment--;
+}
+
+core.int buildCounterCreativeClickThroughUrl = 0;
+buildCreativeClickThroughUrl() {
+ var o = new api.CreativeClickThroughUrl();
+ buildCounterCreativeClickThroughUrl++;
+ if (buildCounterCreativeClickThroughUrl < 3) {
+ o.computedClickThroughUrl = "foo";
+ o.customClickThroughUrl = "foo";
+ o.landingPageId = "foo";
+ }
+ buildCounterCreativeClickThroughUrl--;
+ return o;
+}
+
+checkCreativeClickThroughUrl(api.CreativeClickThroughUrl o) {
+ buildCounterCreativeClickThroughUrl++;
+ if (buildCounterCreativeClickThroughUrl < 3) {
+ unittest.expect(o.computedClickThroughUrl, unittest.equals('foo'));
+ unittest.expect(o.customClickThroughUrl, unittest.equals('foo'));
+ unittest.expect(o.landingPageId, unittest.equals('foo'));
+ }
+ buildCounterCreativeClickThroughUrl--;
+}
+
+core.int buildCounterCreativeCustomEvent = 0;
+buildCreativeCustomEvent() {
+ var o = new api.CreativeCustomEvent();
+ buildCounterCreativeCustomEvent++;
+ if (buildCounterCreativeCustomEvent < 3) {
+ o.advertiserCustomEventId = "foo";
+ o.advertiserCustomEventName = "foo";
+ o.advertiserCustomEventType = "foo";
+ o.artworkLabel = "foo";
+ o.artworkType = "foo";
+ o.exitClickThroughUrl = buildCreativeClickThroughUrl();
+ o.id = "foo";
+ o.popupWindowProperties = buildPopupWindowProperties();
+ o.targetType = "foo";
+ o.videoReportingId = "foo";
+ }
+ buildCounterCreativeCustomEvent--;
+ return o;
+}
+
+checkCreativeCustomEvent(api.CreativeCustomEvent o) {
+ buildCounterCreativeCustomEvent++;
+ if (buildCounterCreativeCustomEvent < 3) {
+ unittest.expect(o.advertiserCustomEventId, unittest.equals('foo'));
+ unittest.expect(o.advertiserCustomEventName, unittest.equals('foo'));
+ unittest.expect(o.advertiserCustomEventType, unittest.equals('foo'));
+ unittest.expect(o.artworkLabel, unittest.equals('foo'));
+ unittest.expect(o.artworkType, unittest.equals('foo'));
+ checkCreativeClickThroughUrl(o.exitClickThroughUrl);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkPopupWindowProperties(o.popupWindowProperties);
+ unittest.expect(o.targetType, unittest.equals('foo'));
+ unittest.expect(o.videoReportingId, unittest.equals('foo'));
+ }
+ buildCounterCreativeCustomEvent--;
+}
+
+core.int buildCounterCreativeField = 0;
+buildCreativeField() {
+ var o = new api.CreativeField();
+ buildCounterCreativeField++;
+ if (buildCounterCreativeField < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.subaccountId = "foo";
+ }
+ buildCounterCreativeField--;
+ return o;
+}
+
+checkCreativeField(api.CreativeField o) {
+ buildCounterCreativeField++;
+ if (buildCounterCreativeField < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ }
+ buildCounterCreativeField--;
+}
+
+core.int buildCounterCreativeFieldAssignment = 0;
+buildCreativeFieldAssignment() {
+ var o = new api.CreativeFieldAssignment();
+ buildCounterCreativeFieldAssignment++;
+ if (buildCounterCreativeFieldAssignment < 3) {
+ o.creativeFieldId = "foo";
+ o.creativeFieldValueId = "foo";
+ }
+ buildCounterCreativeFieldAssignment--;
+ return o;
+}
+
+checkCreativeFieldAssignment(api.CreativeFieldAssignment o) {
+ buildCounterCreativeFieldAssignment++;
+ if (buildCounterCreativeFieldAssignment < 3) {
+ unittest.expect(o.creativeFieldId, unittest.equals('foo'));
+ unittest.expect(o.creativeFieldValueId, unittest.equals('foo'));
+ }
+ buildCounterCreativeFieldAssignment--;
+}
+
+core.int buildCounterCreativeFieldValue = 0;
+buildCreativeFieldValue() {
+ var o = new api.CreativeFieldValue();
+ buildCounterCreativeFieldValue++;
+ if (buildCounterCreativeFieldValue < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.value = "foo";
+ }
+ buildCounterCreativeFieldValue--;
+ return o;
+}
+
+checkCreativeFieldValue(api.CreativeFieldValue o) {
+ buildCounterCreativeFieldValue++;
+ if (buildCounterCreativeFieldValue < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterCreativeFieldValue--;
+}
+
+buildUnnamed2719() {
+ var o = new core.List<api.CreativeFieldValue>();
+ o.add(buildCreativeFieldValue());
+ o.add(buildCreativeFieldValue());
+ return o;
+}
+
+checkUnnamed2719(core.List<api.CreativeFieldValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeFieldValue(o[0]);
+ checkCreativeFieldValue(o[1]);
+}
+
+core.int buildCounterCreativeFieldValuesListResponse = 0;
+buildCreativeFieldValuesListResponse() {
+ var o = new api.CreativeFieldValuesListResponse();
+ buildCounterCreativeFieldValuesListResponse++;
+ if (buildCounterCreativeFieldValuesListResponse < 3) {
+ o.creativeFieldValues = buildUnnamed2719();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterCreativeFieldValuesListResponse--;
+ return o;
+}
+
+checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
+ buildCounterCreativeFieldValuesListResponse++;
+ if (buildCounterCreativeFieldValuesListResponse < 3) {
+ checkUnnamed2719(o.creativeFieldValues);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterCreativeFieldValuesListResponse--;
+}
+
+buildUnnamed2720() {
+ var o = new core.List<api.CreativeField>();
+ o.add(buildCreativeField());
+ o.add(buildCreativeField());
+ return o;
+}
+
+checkUnnamed2720(core.List<api.CreativeField> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeField(o[0]);
+ checkCreativeField(o[1]);
+}
+
+core.int buildCounterCreativeFieldsListResponse = 0;
+buildCreativeFieldsListResponse() {
+ var o = new api.CreativeFieldsListResponse();
+ buildCounterCreativeFieldsListResponse++;
+ if (buildCounterCreativeFieldsListResponse < 3) {
+ o.creativeFields = buildUnnamed2720();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterCreativeFieldsListResponse--;
+ return o;
+}
+
+checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
+ buildCounterCreativeFieldsListResponse++;
+ if (buildCounterCreativeFieldsListResponse < 3) {
+ checkUnnamed2720(o.creativeFields);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterCreativeFieldsListResponse--;
+}
+
+core.int buildCounterCreativeGroup = 0;
+buildCreativeGroup() {
+ var o = new api.CreativeGroup();
+ buildCounterCreativeGroup++;
+ if (buildCounterCreativeGroup < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.groupNumber = 42;
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.subaccountId = "foo";
+ }
+ buildCounterCreativeGroup--;
+ return o;
+}
+
+checkCreativeGroup(api.CreativeGroup o) {
+ buildCounterCreativeGroup++;
+ if (buildCounterCreativeGroup < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.groupNumber, unittest.equals(42));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ }
+ buildCounterCreativeGroup--;
+}
+
+core.int buildCounterCreativeGroupAssignment = 0;
+buildCreativeGroupAssignment() {
+ var o = new api.CreativeGroupAssignment();
+ buildCounterCreativeGroupAssignment++;
+ if (buildCounterCreativeGroupAssignment < 3) {
+ o.creativeGroupId = "foo";
+ o.creativeGroupNumber = "foo";
+ }
+ buildCounterCreativeGroupAssignment--;
+ return o;
+}
+
+checkCreativeGroupAssignment(api.CreativeGroupAssignment o) {
+ buildCounterCreativeGroupAssignment++;
+ if (buildCounterCreativeGroupAssignment < 3) {
+ unittest.expect(o.creativeGroupId, unittest.equals('foo'));
+ unittest.expect(o.creativeGroupNumber, unittest.equals('foo'));
+ }
+ buildCounterCreativeGroupAssignment--;
+}
+
+buildUnnamed2721() {
+ var o = new core.List<api.CreativeGroup>();
+ o.add(buildCreativeGroup());
+ o.add(buildCreativeGroup());
+ return o;
+}
+
+checkUnnamed2721(core.List<api.CreativeGroup> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeGroup(o[0]);
+ checkCreativeGroup(o[1]);
+}
+
+core.int buildCounterCreativeGroupsListResponse = 0;
+buildCreativeGroupsListResponse() {
+ var o = new api.CreativeGroupsListResponse();
+ buildCounterCreativeGroupsListResponse++;
+ if (buildCounterCreativeGroupsListResponse < 3) {
+ o.creativeGroups = buildUnnamed2721();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterCreativeGroupsListResponse--;
+ return o;
+}
+
+checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
+ buildCounterCreativeGroupsListResponse++;
+ if (buildCounterCreativeGroupsListResponse < 3) {
+ checkUnnamed2721(o.creativeGroups);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterCreativeGroupsListResponse--;
+}
+
+buildUnnamed2722() {
+ var o = new core.List<api.OptimizationActivity>();
+ o.add(buildOptimizationActivity());
+ o.add(buildOptimizationActivity());
+ return o;
+}
+
+checkUnnamed2722(core.List<api.OptimizationActivity> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOptimizationActivity(o[0]);
+ checkOptimizationActivity(o[1]);
+}
+
+core.int buildCounterCreativeOptimizationConfiguration = 0;
+buildCreativeOptimizationConfiguration() {
+ var o = new api.CreativeOptimizationConfiguration();
+ buildCounterCreativeOptimizationConfiguration++;
+ if (buildCounterCreativeOptimizationConfiguration < 3) {
+ o.id = "foo";
+ o.name = "foo";
+ o.optimizationActivitys = buildUnnamed2722();
+ o.optimizationModel = "foo";
+ }
+ buildCounterCreativeOptimizationConfiguration--;
+ return o;
+}
+
+checkCreativeOptimizationConfiguration(
+ api.CreativeOptimizationConfiguration o) {
+ buildCounterCreativeOptimizationConfiguration++;
+ if (buildCounterCreativeOptimizationConfiguration < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed2722(o.optimizationActivitys);
+ unittest.expect(o.optimizationModel, unittest.equals('foo'));
+ }
+ buildCounterCreativeOptimizationConfiguration--;
+}
+
+buildUnnamed2723() {
+ var o = new core.List<api.CreativeAssignment>();
+ o.add(buildCreativeAssignment());
+ o.add(buildCreativeAssignment());
+ return o;
+}
+
+checkUnnamed2723(core.List<api.CreativeAssignment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreativeAssignment(o[0]);
+ checkCreativeAssignment(o[1]);
+}
+
+core.int buildCounterCreativeRotation = 0;
+buildCreativeRotation() {
+ var o = new api.CreativeRotation();
+ buildCounterCreativeRotation++;
+ if (buildCounterCreativeRotation < 3) {
+ o.creativeAssignments = buildUnnamed2723();
+ o.creativeOptimizationConfigurationId = "foo";
+ o.type = "foo";
+ o.weightCalculationStrategy = "foo";
+ }
+ buildCounterCreativeRotation--;
+ return o;
+}
+
+checkCreativeRotation(api.CreativeRotation o) {
+ buildCounterCreativeRotation++;
+ if (buildCounterCreativeRotation < 3) {
+ checkUnnamed2723(o.creativeAssignments);
+ unittest.expect(
+ o.creativeOptimizationConfigurationId, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.weightCalculationStrategy, unittest.equals('foo'));
+ }
+ buildCounterCreativeRotation--;
+}
+
+core.int buildCounterCreativeSettings = 0;
+buildCreativeSettings() {
+ var o = new api.CreativeSettings();
+ buildCounterCreativeSettings++;
+ if (buildCounterCreativeSettings < 3) {
+ o.iFrameFooter = "foo";
+ o.iFrameHeader = "foo";
+ }
+ buildCounterCreativeSettings--;
+ return o;
+}
+
+checkCreativeSettings(api.CreativeSettings o) {
+ buildCounterCreativeSettings++;
+ if (buildCounterCreativeSettings < 3) {
+ unittest.expect(o.iFrameFooter, unittest.equals('foo'));
+ unittest.expect(o.iFrameHeader, unittest.equals('foo'));
+ }
+ buildCounterCreativeSettings--;
+}
+
+buildUnnamed2724() {
+ var o = new core.List<api.Creative>();
+ o.add(buildCreative());
+ o.add(buildCreative());
+ return o;
+}
+
+checkUnnamed2724(core.List<api.Creative> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCreative(o[0]);
+ checkCreative(o[1]);
+}
+
+core.int buildCounterCreativesListResponse = 0;
+buildCreativesListResponse() {
+ var o = new api.CreativesListResponse();
+ buildCounterCreativesListResponse++;
+ if (buildCounterCreativesListResponse < 3) {
+ o.creatives = buildUnnamed2724();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterCreativesListResponse--;
+ return o;
+}
+
+checkCreativesListResponse(api.CreativesListResponse o) {
+ buildCounterCreativesListResponse++;
+ if (buildCounterCreativesListResponse < 3) {
+ checkUnnamed2724(o.creatives);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterCreativesListResponse--;
+}
+
+buildUnnamed2725() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2725(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2726() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2726(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2727() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2727(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+buildUnnamed2728() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2728(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+core.int buildCounterCrossDimensionReachReportCompatibleFields = 0;
+buildCrossDimensionReachReportCompatibleFields() {
+ var o = new api.CrossDimensionReachReportCompatibleFields();
+ buildCounterCrossDimensionReachReportCompatibleFields++;
+ if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
+ o.breakdown = buildUnnamed2725();
+ o.dimensionFilters = buildUnnamed2726();
+ o.kind = "foo";
+ o.metrics = buildUnnamed2727();
+ o.overlapMetrics = buildUnnamed2728();
+ }
+ buildCounterCrossDimensionReachReportCompatibleFields--;
+ return o;
+}
+
+checkCrossDimensionReachReportCompatibleFields(
+ api.CrossDimensionReachReportCompatibleFields o) {
+ buildCounterCrossDimensionReachReportCompatibleFields++;
+ if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
+ checkUnnamed2725(o.breakdown);
+ checkUnnamed2726(o.dimensionFilters);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2727(o.metrics);
+ checkUnnamed2728(o.overlapMetrics);
+ }
+ buildCounterCrossDimensionReachReportCompatibleFields--;
+}
+
+core.int buildCounterCustomFloodlightVariable = 0;
+buildCustomFloodlightVariable() {
+ var o = new api.CustomFloodlightVariable();
+ buildCounterCustomFloodlightVariable++;
+ if (buildCounterCustomFloodlightVariable < 3) {
+ o.kind = "foo";
+ o.type = "foo";
+ o.value = "foo";
+ }
+ buildCounterCustomFloodlightVariable--;
+ return o;
+}
+
+checkCustomFloodlightVariable(api.CustomFloodlightVariable o) {
+ buildCounterCustomFloodlightVariable++;
+ if (buildCounterCustomFloodlightVariable < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterCustomFloodlightVariable--;
+}
+
+buildUnnamed2729() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2729(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+core.int buildCounterCustomRichMediaEvents = 0;
+buildCustomRichMediaEvents() {
+ var o = new api.CustomRichMediaEvents();
+ buildCounterCustomRichMediaEvents++;
+ if (buildCounterCustomRichMediaEvents < 3) {
+ o.filteredEventIds = buildUnnamed2729();
+ o.kind = "foo";
+ }
+ buildCounterCustomRichMediaEvents--;
+ return o;
+}
+
+checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
+ buildCounterCustomRichMediaEvents++;
+ if (buildCounterCustomRichMediaEvents < 3) {
+ checkUnnamed2729(o.filteredEventIds);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterCustomRichMediaEvents--;
+}
+
+core.int buildCounterDateRange = 0;
+buildDateRange() {
+ var o = new api.DateRange();
+ buildCounterDateRange++;
+ if (buildCounterDateRange < 3) {
+ o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.kind = "foo";
+ o.relativeDateRange = "foo";
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ }
+ buildCounterDateRange--;
+ return o;
+}
+
+checkDateRange(api.DateRange o) {
+ buildCounterDateRange++;
+ if (buildCounterDateRange < 3) {
+ unittest.expect(
+ o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.relativeDateRange, unittest.equals('foo'));
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ }
+ buildCounterDateRange--;
+}
+
+buildUnnamed2730() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2730(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'));
+}
+
+buildUnnamed2731() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2731(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+core.int buildCounterDayPartTargeting = 0;
+buildDayPartTargeting() {
+ var o = new api.DayPartTargeting();
+ buildCounterDayPartTargeting++;
+ if (buildCounterDayPartTargeting < 3) {
+ o.daysOfWeek = buildUnnamed2730();
+ o.hoursOfDay = buildUnnamed2731();
+ o.userLocalTime = true;
+ }
+ buildCounterDayPartTargeting--;
+ return o;
+}
+
+checkDayPartTargeting(api.DayPartTargeting o) {
+ buildCounterDayPartTargeting++;
+ if (buildCounterDayPartTargeting < 3) {
+ checkUnnamed2730(o.daysOfWeek);
+ checkUnnamed2731(o.hoursOfDay);
+ unittest.expect(o.userLocalTime, unittest.isTrue);
+ }
+ buildCounterDayPartTargeting--;
+}
+
+core.int buildCounterDefaultClickThroughEventTagProperties = 0;
+buildDefaultClickThroughEventTagProperties() {
+ var o = new api.DefaultClickThroughEventTagProperties();
+ buildCounterDefaultClickThroughEventTagProperties++;
+ if (buildCounterDefaultClickThroughEventTagProperties < 3) {
+ o.defaultClickThroughEventTagId = "foo";
+ o.overrideInheritedEventTag = true;
+ }
+ buildCounterDefaultClickThroughEventTagProperties--;
+ return o;
+}
+
+checkDefaultClickThroughEventTagProperties(
+ api.DefaultClickThroughEventTagProperties o) {
+ buildCounterDefaultClickThroughEventTagProperties++;
+ if (buildCounterDefaultClickThroughEventTagProperties < 3) {
+ unittest.expect(o.defaultClickThroughEventTagId, unittest.equals('foo'));
+ unittest.expect(o.overrideInheritedEventTag, unittest.isTrue);
+ }
+ buildCounterDefaultClickThroughEventTagProperties--;
+}
+
+core.int buildCounterDeliverySchedule = 0;
+buildDeliverySchedule() {
+ var o = new api.DeliverySchedule();
+ buildCounterDeliverySchedule++;
+ if (buildCounterDeliverySchedule < 3) {
+ o.frequencyCap = buildFrequencyCap();
+ o.hardCutoff = true;
+ o.impressionRatio = "foo";
+ o.priority = "foo";
+ }
+ buildCounterDeliverySchedule--;
+ return o;
+}
+
+checkDeliverySchedule(api.DeliverySchedule o) {
+ buildCounterDeliverySchedule++;
+ if (buildCounterDeliverySchedule < 3) {
+ checkFrequencyCap(o.frequencyCap);
+ unittest.expect(o.hardCutoff, unittest.isTrue);
+ unittest.expect(o.impressionRatio, unittest.equals('foo'));
+ unittest.expect(o.priority, unittest.equals('foo'));
+ }
+ buildCounterDeliverySchedule--;
+}
+
+core.int buildCounterDfpSettings = 0;
+buildDfpSettings() {
+ var o = new api.DfpSettings();
+ buildCounterDfpSettings++;
+ if (buildCounterDfpSettings < 3) {
+ o.dfpNetworkCode = "foo";
+ o.dfpNetworkName = "foo";
+ o.programmaticPlacementAccepted = true;
+ o.pubPaidPlacementAccepted = true;
+ o.publisherPortalOnly = true;
+ }
+ buildCounterDfpSettings--;
+ return o;
+}
+
+checkDfpSettings(api.DfpSettings o) {
+ buildCounterDfpSettings++;
+ if (buildCounterDfpSettings < 3) {
+ unittest.expect(o.dfpNetworkCode, unittest.equals('foo'));
+ unittest.expect(o.dfpNetworkName, unittest.equals('foo'));
+ unittest.expect(o.programmaticPlacementAccepted, unittest.isTrue);
+ unittest.expect(o.pubPaidPlacementAccepted, unittest.isTrue);
+ unittest.expect(o.publisherPortalOnly, unittest.isTrue);
+ }
+ buildCounterDfpSettings--;
+}
+
+core.int buildCounterDimension = 0;
+buildDimension() {
+ var o = new api.Dimension();
+ buildCounterDimension++;
+ if (buildCounterDimension < 3) {
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterDimension--;
+ return o;
+}
+
+checkDimension(api.Dimension o) {
+ buildCounterDimension++;
+ if (buildCounterDimension < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterDimension--;
+}
+
+core.int buildCounterDimensionFilter = 0;
+buildDimensionFilter() {
+ var o = new api.DimensionFilter();
+ buildCounterDimensionFilter++;
+ if (buildCounterDimensionFilter < 3) {
+ o.dimensionName = "foo";
+ o.kind = "foo";
+ o.value = "foo";
+ }
+ buildCounterDimensionFilter--;
+ return o;
+}
+
+checkDimensionFilter(api.DimensionFilter o) {
+ buildCounterDimensionFilter++;
+ if (buildCounterDimensionFilter < 3) {
+ unittest.expect(o.dimensionName, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterDimensionFilter--;
+}
+
+core.int buildCounterDimensionValue = 0;
+buildDimensionValue() {
+ var o = new api.DimensionValue();
+ buildCounterDimensionValue++;
+ if (buildCounterDimensionValue < 3) {
+ o.dimensionName = "foo";
+ o.etag = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.matchType = "foo";
+ o.value = "foo";
+ }
+ buildCounterDimensionValue--;
+ return o;
+}
+
+checkDimensionValue(api.DimensionValue o) {
+ buildCounterDimensionValue++;
+ if (buildCounterDimensionValue < 3) {
+ unittest.expect(o.dimensionName, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.matchType, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterDimensionValue--;
+}
+
+buildUnnamed2732() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2732(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+core.int buildCounterDimensionValueList = 0;
+buildDimensionValueList() {
+ var o = new api.DimensionValueList();
+ buildCounterDimensionValueList++;
+ if (buildCounterDimensionValueList < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed2732();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterDimensionValueList--;
+ return o;
+}
+
+checkDimensionValueList(api.DimensionValueList o) {
+ buildCounterDimensionValueList++;
+ if (buildCounterDimensionValueList < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed2732(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterDimensionValueList--;
+}
+
+buildUnnamed2733() {
+ var o = new core.List<api.DimensionFilter>();
+ o.add(buildDimensionFilter());
+ o.add(buildDimensionFilter());
+ return o;
+}
+
+checkUnnamed2733(core.List<api.DimensionFilter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionFilter(o[0]);
+ checkDimensionFilter(o[1]);
+}
+
+core.int buildCounterDimensionValueRequest = 0;
+buildDimensionValueRequest() {
+ var o = new api.DimensionValueRequest();
+ buildCounterDimensionValueRequest++;
+ if (buildCounterDimensionValueRequest < 3) {
+ o.dimensionName = "foo";
+ o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.filters = buildUnnamed2733();
+ o.kind = "foo";
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ }
+ buildCounterDimensionValueRequest--;
+ return o;
+}
+
+checkDimensionValueRequest(api.DimensionValueRequest o) {
+ buildCounterDimensionValueRequest++;
+ if (buildCounterDimensionValueRequest < 3) {
+ unittest.expect(o.dimensionName, unittest.equals('foo'));
+ unittest.expect(
+ o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ checkUnnamed2733(o.filters);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ }
+ buildCounterDimensionValueRequest--;
+}
+
+buildUnnamed2734() {
+ var o = new core.List<api.DirectorySiteContactAssignment>();
+ o.add(buildDirectorySiteContactAssignment());
+ o.add(buildDirectorySiteContactAssignment());
+ return o;
+}
+
+checkUnnamed2734(core.List<api.DirectorySiteContactAssignment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDirectorySiteContactAssignment(o[0]);
+ checkDirectorySiteContactAssignment(o[1]);
+}
+
+buildUnnamed2735() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2735(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'));
+}
+
+buildUnnamed2736() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2736(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 buildCounterDirectorySite = 0;
+buildDirectorySite() {
+ var o = new api.DirectorySite();
+ buildCounterDirectorySite++;
+ if (buildCounterDirectorySite < 3) {
+ o.active = true;
+ o.contactAssignments = buildUnnamed2734();
+ o.countryId = "foo";
+ o.currencyId = "foo";
+ o.description = "foo";
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.inpageTagFormats = buildUnnamed2735();
+ o.interstitialTagFormats = buildUnnamed2736();
+ o.kind = "foo";
+ o.name = "foo";
+ o.parentId = "foo";
+ o.settings = buildDirectorySiteSettings();
+ o.url = "foo";
+ }
+ buildCounterDirectorySite--;
+ return o;
+}
+
+checkDirectorySite(api.DirectorySite o) {
+ buildCounterDirectorySite++;
+ if (buildCounterDirectorySite < 3) {
+ unittest.expect(o.active, unittest.isTrue);
+ checkUnnamed2734(o.contactAssignments);
+ unittest.expect(o.countryId, unittest.equals('foo'));
+ unittest.expect(o.currencyId, unittest.equals('foo'));
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ checkUnnamed2735(o.inpageTagFormats);
+ checkUnnamed2736(o.interstitialTagFormats);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.parentId, unittest.equals('foo'));
+ checkDirectorySiteSettings(o.settings);
+ unittest.expect(o.url, unittest.equals('foo'));
+ }
+ buildCounterDirectorySite--;
+}
+
+core.int buildCounterDirectorySiteContact = 0;
+buildDirectorySiteContact() {
+ var o = new api.DirectorySiteContact();
+ buildCounterDirectorySiteContact++;
+ if (buildCounterDirectorySiteContact < 3) {
+ o.address = "foo";
+ o.email = "foo";
+ o.firstName = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.lastName = "foo";
+ o.phone = "foo";
+ o.role = "foo";
+ o.title = "foo";
+ o.type = "foo";
+ }
+ buildCounterDirectorySiteContact--;
+ return o;
+}
+
+checkDirectorySiteContact(api.DirectorySiteContact o) {
+ buildCounterDirectorySiteContact++;
+ if (buildCounterDirectorySiteContact < 3) {
+ unittest.expect(o.address, unittest.equals('foo'));
+ unittest.expect(o.email, unittest.equals('foo'));
+ unittest.expect(o.firstName, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.lastName, unittest.equals('foo'));
+ unittest.expect(o.phone, unittest.equals('foo'));
+ unittest.expect(o.role, unittest.equals('foo'));
+ unittest.expect(o.title, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterDirectorySiteContact--;
+}
+
+core.int buildCounterDirectorySiteContactAssignment = 0;
+buildDirectorySiteContactAssignment() {
+ var o = new api.DirectorySiteContactAssignment();
+ buildCounterDirectorySiteContactAssignment++;
+ if (buildCounterDirectorySiteContactAssignment < 3) {
+ o.contactId = "foo";
+ o.visibility = "foo";
+ }
+ buildCounterDirectorySiteContactAssignment--;
+ return o;
+}
+
+checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) {
+ buildCounterDirectorySiteContactAssignment++;
+ if (buildCounterDirectorySiteContactAssignment < 3) {
+ unittest.expect(o.contactId, unittest.equals('foo'));
+ unittest.expect(o.visibility, unittest.equals('foo'));
+ }
+ buildCounterDirectorySiteContactAssignment--;
+}
+
+buildUnnamed2737() {
+ var o = new core.List<api.DirectorySiteContact>();
+ o.add(buildDirectorySiteContact());
+ o.add(buildDirectorySiteContact());
+ return o;
+}
+
+checkUnnamed2737(core.List<api.DirectorySiteContact> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDirectorySiteContact(o[0]);
+ checkDirectorySiteContact(o[1]);
+}
+
+core.int buildCounterDirectorySiteContactsListResponse = 0;
+buildDirectorySiteContactsListResponse() {
+ var o = new api.DirectorySiteContactsListResponse();
+ buildCounterDirectorySiteContactsListResponse++;
+ if (buildCounterDirectorySiteContactsListResponse < 3) {
+ o.directorySiteContacts = buildUnnamed2737();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterDirectorySiteContactsListResponse--;
+ return o;
+}
+
+checkDirectorySiteContactsListResponse(
+ api.DirectorySiteContactsListResponse o) {
+ buildCounterDirectorySiteContactsListResponse++;
+ if (buildCounterDirectorySiteContactsListResponse < 3) {
+ checkUnnamed2737(o.directorySiteContacts);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterDirectorySiteContactsListResponse--;
+}
+
+core.int buildCounterDirectorySiteSettings = 0;
+buildDirectorySiteSettings() {
+ var o = new api.DirectorySiteSettings();
+ buildCounterDirectorySiteSettings++;
+ if (buildCounterDirectorySiteSettings < 3) {
+ o.activeViewOptOut = true;
+ o.dfpSettings = buildDfpSettings();
+ o.instreamVideoPlacementAccepted = true;
+ o.interstitialPlacementAccepted = true;
+ o.nielsenOcrOptOut = true;
+ o.verificationTagOptOut = true;
+ o.videoActiveViewOptOut = true;
+ }
+ buildCounterDirectorySiteSettings--;
+ return o;
+}
+
+checkDirectorySiteSettings(api.DirectorySiteSettings o) {
+ buildCounterDirectorySiteSettings++;
+ if (buildCounterDirectorySiteSettings < 3) {
+ unittest.expect(o.activeViewOptOut, unittest.isTrue);
+ checkDfpSettings(o.dfpSettings);
+ unittest.expect(o.instreamVideoPlacementAccepted, unittest.isTrue);
+ unittest.expect(o.interstitialPlacementAccepted, unittest.isTrue);
+ unittest.expect(o.nielsenOcrOptOut, unittest.isTrue);
+ unittest.expect(o.verificationTagOptOut, unittest.isTrue);
+ unittest.expect(o.videoActiveViewOptOut, unittest.isTrue);
+ }
+ buildCounterDirectorySiteSettings--;
+}
+
+buildUnnamed2738() {
+ var o = new core.List<api.DirectorySite>();
+ o.add(buildDirectorySite());
+ o.add(buildDirectorySite());
+ return o;
+}
+
+checkUnnamed2738(core.List<api.DirectorySite> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDirectorySite(o[0]);
+ checkDirectorySite(o[1]);
+}
+
+core.int buildCounterDirectorySitesListResponse = 0;
+buildDirectorySitesListResponse() {
+ var o = new api.DirectorySitesListResponse();
+ buildCounterDirectorySitesListResponse++;
+ if (buildCounterDirectorySitesListResponse < 3) {
+ o.directorySites = buildUnnamed2738();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterDirectorySitesListResponse--;
+ return o;
+}
+
+checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
+ buildCounterDirectorySitesListResponse++;
+ if (buildCounterDirectorySitesListResponse < 3) {
+ checkUnnamed2738(o.directorySites);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterDirectorySitesListResponse--;
+}
+
+core.int buildCounterDynamicTargetingKey = 0;
+buildDynamicTargetingKey() {
+ var o = new api.DynamicTargetingKey();
+ buildCounterDynamicTargetingKey++;
+ if (buildCounterDynamicTargetingKey < 3) {
+ o.kind = "foo";
+ o.name = "foo";
+ o.objectId = "foo";
+ o.objectType = "foo";
+ }
+ buildCounterDynamicTargetingKey--;
+ return o;
+}
+
+checkDynamicTargetingKey(api.DynamicTargetingKey o) {
+ buildCounterDynamicTargetingKey++;
+ if (buildCounterDynamicTargetingKey < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.objectId, unittest.equals('foo'));
+ unittest.expect(o.objectType, unittest.equals('foo'));
+ }
+ buildCounterDynamicTargetingKey--;
+}
+
+buildUnnamed2739() {
+ var o = new core.List<api.DynamicTargetingKey>();
+ o.add(buildDynamicTargetingKey());
+ o.add(buildDynamicTargetingKey());
+ return o;
+}
+
+checkUnnamed2739(core.List<api.DynamicTargetingKey> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDynamicTargetingKey(o[0]);
+ checkDynamicTargetingKey(o[1]);
+}
+
+core.int buildCounterDynamicTargetingKeysListResponse = 0;
+buildDynamicTargetingKeysListResponse() {
+ var o = new api.DynamicTargetingKeysListResponse();
+ buildCounterDynamicTargetingKeysListResponse++;
+ if (buildCounterDynamicTargetingKeysListResponse < 3) {
+ o.dynamicTargetingKeys = buildUnnamed2739();
+ o.kind = "foo";
+ }
+ buildCounterDynamicTargetingKeysListResponse--;
+ return o;
+}
+
+checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
+ buildCounterDynamicTargetingKeysListResponse++;
+ if (buildCounterDynamicTargetingKeysListResponse < 3) {
+ checkUnnamed2739(o.dynamicTargetingKeys);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterDynamicTargetingKeysListResponse--;
+}
+
+core.int buildCounterEncryptionInfo = 0;
+buildEncryptionInfo() {
+ var o = new api.EncryptionInfo();
+ buildCounterEncryptionInfo++;
+ if (buildCounterEncryptionInfo < 3) {
+ o.encryptionEntityId = "foo";
+ o.encryptionEntityType = "foo";
+ o.encryptionSource = "foo";
+ o.kind = "foo";
+ }
+ buildCounterEncryptionInfo--;
+ return o;
+}
+
+checkEncryptionInfo(api.EncryptionInfo o) {
+ buildCounterEncryptionInfo++;
+ if (buildCounterEncryptionInfo < 3) {
+ unittest.expect(o.encryptionEntityId, unittest.equals('foo'));
+ unittest.expect(o.encryptionEntityType, unittest.equals('foo'));
+ unittest.expect(o.encryptionSource, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterEncryptionInfo--;
+}
+
+buildUnnamed2740() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2740(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 buildCounterEventTag = 0;
+buildEventTag() {
+ var o = new api.EventTag();
+ buildCounterEventTag++;
+ if (buildCounterEventTag < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.campaignId = "foo";
+ o.campaignIdDimensionValue = buildDimensionValue();
+ o.enabledByDefault = true;
+ o.excludeFromAdxRequests = true;
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.siteFilterType = "foo";
+ o.siteIds = buildUnnamed2740();
+ o.sslCompliant = true;
+ o.status = "foo";
+ o.subaccountId = "foo";
+ o.type = "foo";
+ o.url = "foo";
+ o.urlEscapeLevels = 42;
+ }
+ buildCounterEventTag--;
+ return o;
+}
+
+checkEventTag(api.EventTag o) {
+ buildCounterEventTag++;
+ if (buildCounterEventTag < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.campaignId, unittest.equals('foo'));
+ checkDimensionValue(o.campaignIdDimensionValue);
+ unittest.expect(o.enabledByDefault, unittest.isTrue);
+ unittest.expect(o.excludeFromAdxRequests, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.siteFilterType, unittest.equals('foo'));
+ checkUnnamed2740(o.siteIds);
+ unittest.expect(o.sslCompliant, unittest.isTrue);
+ unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.url, unittest.equals('foo'));
+ unittest.expect(o.urlEscapeLevels, unittest.equals(42));
+ }
+ buildCounterEventTag--;
+}
+
+core.int buildCounterEventTagOverride = 0;
+buildEventTagOverride() {
+ var o = new api.EventTagOverride();
+ buildCounterEventTagOverride++;
+ if (buildCounterEventTagOverride < 3) {
+ o.enabled = true;
+ o.id = "foo";
+ }
+ buildCounterEventTagOverride--;
+ return o;
+}
+
+checkEventTagOverride(api.EventTagOverride o) {
+ buildCounterEventTagOverride++;
+ if (buildCounterEventTagOverride < 3) {
+ unittest.expect(o.enabled, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ }
+ buildCounterEventTagOverride--;
+}
+
+buildUnnamed2741() {
+ var o = new core.List<api.EventTag>();
+ o.add(buildEventTag());
+ o.add(buildEventTag());
+ return o;
+}
+
+checkUnnamed2741(core.List<api.EventTag> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEventTag(o[0]);
+ checkEventTag(o[1]);
+}
+
+core.int buildCounterEventTagsListResponse = 0;
+buildEventTagsListResponse() {
+ var o = new api.EventTagsListResponse();
+ buildCounterEventTagsListResponse++;
+ if (buildCounterEventTagsListResponse < 3) {
+ o.eventTags = buildUnnamed2741();
+ o.kind = "foo";
+ }
+ buildCounterEventTagsListResponse--;
+ return o;
+}
+
+checkEventTagsListResponse(api.EventTagsListResponse o) {
+ buildCounterEventTagsListResponse++;
+ if (buildCounterEventTagsListResponse < 3) {
+ checkUnnamed2741(o.eventTags);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterEventTagsListResponse--;
+}
+
+core.int buildCounterFileUrls = 0;
+buildFileUrls() {
+ var o = new api.FileUrls();
+ buildCounterFileUrls++;
+ if (buildCounterFileUrls < 3) {
+ o.apiUrl = "foo";
+ o.browserUrl = "foo";
+ }
+ buildCounterFileUrls--;
+ return o;
+}
+
+checkFileUrls(api.FileUrls o) {
+ buildCounterFileUrls++;
+ if (buildCounterFileUrls < 3) {
+ unittest.expect(o.apiUrl, unittest.equals('foo'));
+ unittest.expect(o.browserUrl, unittest.equals('foo'));
+ }
+ buildCounterFileUrls--;
+}
+
+core.int buildCounterFile = 0;
+buildFile() {
+ var o = new api.File();
+ buildCounterFile++;
+ if (buildCounterFile < 3) {
+ o.dateRange = buildDateRange();
+ o.etag = "foo";
+ o.fileName = "foo";
+ o.format = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.lastModifiedTime = "foo";
+ o.reportId = "foo";
+ o.status = "foo";
+ o.urls = buildFileUrls();
+ }
+ buildCounterFile--;
+ return o;
+}
+
+checkFile(api.File o) {
+ buildCounterFile++;
+ if (buildCounterFile < 3) {
+ checkDateRange(o.dateRange);
+ unittest.expect(o.etag, unittest.equals('foo'));
+ unittest.expect(o.fileName, unittest.equals('foo'));
+ unittest.expect(o.format, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
+ unittest.expect(o.reportId, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ checkFileUrls(o.urls);
+ }
+ buildCounterFile--;
+}
+
+buildUnnamed2742() {
+ var o = new core.List<api.File>();
+ o.add(buildFile());
+ o.add(buildFile());
+ return o;
+}
+
+checkUnnamed2742(core.List<api.File> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFile(o[0]);
+ checkFile(o[1]);
+}
+
+core.int buildCounterFileList = 0;
+buildFileList() {
+ var o = new api.FileList();
+ buildCounterFileList++;
+ if (buildCounterFileList < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed2742();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterFileList--;
+ return o;
+}
+
+checkFileList(api.FileList o) {
+ buildCounterFileList++;
+ if (buildCounterFileList < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed2742(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterFileList--;
+}
+
+core.int buildCounterFlight = 0;
+buildFlight() {
+ var o = new api.Flight();
+ buildCounterFlight++;
+ if (buildCounterFlight < 3) {
+ o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.rateOrCost = "foo";
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.units = "foo";
+ }
+ buildCounterFlight--;
+ return o;
+}
+
+checkFlight(api.Flight o) {
+ buildCounterFlight++;
+ if (buildCounterFlight < 3) {
+ unittest.expect(
+ o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.rateOrCost, unittest.equals('foo'));
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.units, unittest.equals('foo'));
+ }
+ buildCounterFlight--;
+}
+
+core.int buildCounterFloodlightActivitiesGenerateTagResponse = 0;
+buildFloodlightActivitiesGenerateTagResponse() {
+ var o = new api.FloodlightActivitiesGenerateTagResponse();
+ buildCounterFloodlightActivitiesGenerateTagResponse++;
+ if (buildCounterFloodlightActivitiesGenerateTagResponse < 3) {
+ o.floodlightActivityTag = "foo";
+ o.globalSiteTagGlobalSnippet = "foo";
+ o.kind = "foo";
+ }
+ buildCounterFloodlightActivitiesGenerateTagResponse--;
+ return o;
+}
+
+checkFloodlightActivitiesGenerateTagResponse(
+ api.FloodlightActivitiesGenerateTagResponse o) {
+ buildCounterFloodlightActivitiesGenerateTagResponse++;
+ if (buildCounterFloodlightActivitiesGenerateTagResponse < 3) {
+ unittest.expect(o.floodlightActivityTag, unittest.equals('foo'));
+ unittest.expect(o.globalSiteTagGlobalSnippet, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterFloodlightActivitiesGenerateTagResponse--;
+}
+
+buildUnnamed2743() {
+ var o = new core.List<api.FloodlightActivity>();
+ o.add(buildFloodlightActivity());
+ o.add(buildFloodlightActivity());
+ return o;
+}
+
+checkUnnamed2743(core.List<api.FloodlightActivity> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFloodlightActivity(o[0]);
+ checkFloodlightActivity(o[1]);
+}
+
+core.int buildCounterFloodlightActivitiesListResponse = 0;
+buildFloodlightActivitiesListResponse() {
+ var o = new api.FloodlightActivitiesListResponse();
+ buildCounterFloodlightActivitiesListResponse++;
+ if (buildCounterFloodlightActivitiesListResponse < 3) {
+ o.floodlightActivities = buildUnnamed2743();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterFloodlightActivitiesListResponse--;
+ return o;
+}
+
+checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
+ buildCounterFloodlightActivitiesListResponse++;
+ if (buildCounterFloodlightActivitiesListResponse < 3) {
+ checkUnnamed2743(o.floodlightActivities);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterFloodlightActivitiesListResponse--;
+}
+
+buildUnnamed2744() {
+ var o = new core.List<api.FloodlightActivityDynamicTag>();
+ o.add(buildFloodlightActivityDynamicTag());
+ o.add(buildFloodlightActivityDynamicTag());
+ return o;
+}
+
+checkUnnamed2744(core.List<api.FloodlightActivityDynamicTag> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFloodlightActivityDynamicTag(o[0]);
+ checkFloodlightActivityDynamicTag(o[1]);
+}
+
+buildUnnamed2745() {
+ var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
+ o.add(buildFloodlightActivityPublisherDynamicTag());
+ o.add(buildFloodlightActivityPublisherDynamicTag());
+ return o;
+}
+
+checkUnnamed2745(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFloodlightActivityPublisherDynamicTag(o[0]);
+ checkFloodlightActivityPublisherDynamicTag(o[1]);
+}
+
+buildUnnamed2746() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2746(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 buildCounterFloodlightActivity = 0;
+buildFloodlightActivity() {
+ var o = new api.FloodlightActivity();
+ buildCounterFloodlightActivity++;
+ if (buildCounterFloodlightActivity < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.cacheBustingType = "foo";
+ o.countingMethod = "foo";
+ o.defaultTags = buildUnnamed2744();
+ o.expectedUrl = "foo";
+ o.floodlightActivityGroupId = "foo";
+ o.floodlightActivityGroupName = "foo";
+ o.floodlightActivityGroupTagString = "foo";
+ o.floodlightActivityGroupType = "foo";
+ o.floodlightConfigurationId = "foo";
+ o.floodlightConfigurationIdDimensionValue = buildDimensionValue();
+ o.floodlightTagType = "foo";
+ o.hidden = true;
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.kind = "foo";
+ o.name = "foo";
+ o.notes = "foo";
+ o.publisherTags = buildUnnamed2745();
+ o.secure = true;
+ o.sslCompliant = true;
+ o.sslRequired = true;
+ o.subaccountId = "foo";
+ o.tagFormat = "foo";
+ o.tagString = "foo";
+ o.userDefinedVariableTypes = buildUnnamed2746();
+ }
+ buildCounterFloodlightActivity--;
+ return o;
+}
+
+checkFloodlightActivity(api.FloodlightActivity o) {
+ buildCounterFloodlightActivity++;
+ if (buildCounterFloodlightActivity < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.cacheBustingType, unittest.equals('foo'));
+ unittest.expect(o.countingMethod, unittest.equals('foo'));
+ checkUnnamed2744(o.defaultTags);
+ unittest.expect(o.expectedUrl, unittest.equals('foo'));
+ unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
+ unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
+ unittest.expect(o.floodlightActivityGroupTagString, unittest.equals('foo'));
+ unittest.expect(o.floodlightActivityGroupType, unittest.equals('foo'));
+ unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
+ checkDimensionValue(o.floodlightConfigurationIdDimensionValue);
+ unittest.expect(o.floodlightTagType, unittest.equals('foo'));
+ unittest.expect(o.hidden, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.notes, unittest.equals('foo'));
+ checkUnnamed2745(o.publisherTags);
+ unittest.expect(o.secure, unittest.isTrue);
+ unittest.expect(o.sslCompliant, unittest.isTrue);
+ unittest.expect(o.sslRequired, unittest.isTrue);
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.tagFormat, unittest.equals('foo'));
+ unittest.expect(o.tagString, unittest.equals('foo'));
+ checkUnnamed2746(o.userDefinedVariableTypes);
+ }
+ buildCounterFloodlightActivity--;
+}
+
+core.int buildCounterFloodlightActivityDynamicTag = 0;
+buildFloodlightActivityDynamicTag() {
+ var o = new api.FloodlightActivityDynamicTag();
+ buildCounterFloodlightActivityDynamicTag++;
+ if (buildCounterFloodlightActivityDynamicTag < 3) {
+ o.id = "foo";
+ o.name = "foo";
+ o.tag = "foo";
+ }
+ buildCounterFloodlightActivityDynamicTag--;
+ return o;
+}
+
+checkFloodlightActivityDynamicTag(api.FloodlightActivityDynamicTag o) {
+ buildCounterFloodlightActivityDynamicTag++;
+ if (buildCounterFloodlightActivityDynamicTag < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.tag, unittest.equals('foo'));
+ }
+ buildCounterFloodlightActivityDynamicTag--;
+}
+
+core.int buildCounterFloodlightActivityGroup = 0;
+buildFloodlightActivityGroup() {
+ var o = new api.FloodlightActivityGroup();
+ buildCounterFloodlightActivityGroup++;
+ if (buildCounterFloodlightActivityGroup < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.floodlightConfigurationId = "foo";
+ o.floodlightConfigurationIdDimensionValue = buildDimensionValue();
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.kind = "foo";
+ o.name = "foo";
+ o.subaccountId = "foo";
+ o.tagString = "foo";
+ o.type = "foo";
+ }
+ buildCounterFloodlightActivityGroup--;
+ return o;
+}
+
+checkFloodlightActivityGroup(api.FloodlightActivityGroup o) {
+ buildCounterFloodlightActivityGroup++;
+ if (buildCounterFloodlightActivityGroup < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
+ checkDimensionValue(o.floodlightConfigurationIdDimensionValue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.tagString, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterFloodlightActivityGroup--;
+}
+
+buildUnnamed2747() {
+ var o = new core.List<api.FloodlightActivityGroup>();
+ o.add(buildFloodlightActivityGroup());
+ o.add(buildFloodlightActivityGroup());
+ return o;
+}
+
+checkUnnamed2747(core.List<api.FloodlightActivityGroup> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFloodlightActivityGroup(o[0]);
+ checkFloodlightActivityGroup(o[1]);
+}
+
+core.int buildCounterFloodlightActivityGroupsListResponse = 0;
+buildFloodlightActivityGroupsListResponse() {
+ var o = new api.FloodlightActivityGroupsListResponse();
+ buildCounterFloodlightActivityGroupsListResponse++;
+ if (buildCounterFloodlightActivityGroupsListResponse < 3) {
+ o.floodlightActivityGroups = buildUnnamed2747();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterFloodlightActivityGroupsListResponse--;
+ return o;
+}
+
+checkFloodlightActivityGroupsListResponse(
+ api.FloodlightActivityGroupsListResponse o) {
+ buildCounterFloodlightActivityGroupsListResponse++;
+ if (buildCounterFloodlightActivityGroupsListResponse < 3) {
+ checkUnnamed2747(o.floodlightActivityGroups);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterFloodlightActivityGroupsListResponse--;
+}
+
+core.int buildCounterFloodlightActivityPublisherDynamicTag = 0;
+buildFloodlightActivityPublisherDynamicTag() {
+ var o = new api.FloodlightActivityPublisherDynamicTag();
+ buildCounterFloodlightActivityPublisherDynamicTag++;
+ if (buildCounterFloodlightActivityPublisherDynamicTag < 3) {
+ o.clickThrough = true;
+ o.directorySiteId = "foo";
+ o.dynamicTag = buildFloodlightActivityDynamicTag();
+ o.siteId = "foo";
+ o.siteIdDimensionValue = buildDimensionValue();
+ o.viewThrough = true;
+ }
+ buildCounterFloodlightActivityPublisherDynamicTag--;
+ return o;
+}
+
+checkFloodlightActivityPublisherDynamicTag(
+ api.FloodlightActivityPublisherDynamicTag o) {
+ buildCounterFloodlightActivityPublisherDynamicTag++;
+ if (buildCounterFloodlightActivityPublisherDynamicTag < 3) {
+ unittest.expect(o.clickThrough, unittest.isTrue);
+ unittest.expect(o.directorySiteId, unittest.equals('foo'));
+ checkFloodlightActivityDynamicTag(o.dynamicTag);
+ unittest.expect(o.siteId, unittest.equals('foo'));
+ checkDimensionValue(o.siteIdDimensionValue);
+ unittest.expect(o.viewThrough, unittest.isTrue);
+ }
+ buildCounterFloodlightActivityPublisherDynamicTag--;
+}
+
+buildUnnamed2748() {
+ var o = new core.List<api.ThirdPartyAuthenticationToken>();
+ o.add(buildThirdPartyAuthenticationToken());
+ o.add(buildThirdPartyAuthenticationToken());
+ return o;
+}
+
+checkUnnamed2748(core.List<api.ThirdPartyAuthenticationToken> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkThirdPartyAuthenticationToken(o[0]);
+ checkThirdPartyAuthenticationToken(o[1]);
+}
+
+buildUnnamed2749() {
+ var o = new core.List<api.UserDefinedVariableConfiguration>();
+ o.add(buildUserDefinedVariableConfiguration());
+ o.add(buildUserDefinedVariableConfiguration());
+ return o;
+}
+
+checkUnnamed2749(core.List<api.UserDefinedVariableConfiguration> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUserDefinedVariableConfiguration(o[0]);
+ checkUserDefinedVariableConfiguration(o[1]);
+}
+
+core.int buildCounterFloodlightConfiguration = 0;
+buildFloodlightConfiguration() {
+ var o = new api.FloodlightConfiguration();
+ buildCounterFloodlightConfiguration++;
+ if (buildCounterFloodlightConfiguration < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.analyticsDataSharingEnabled = true;
+ o.exposureToConversionEnabled = true;
+ o.firstDayOfWeek = "foo";
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.inAppAttributionTrackingEnabled = true;
+ o.kind = "foo";
+ o.lookbackConfiguration = buildLookbackConfiguration();
+ o.naturalSearchConversionAttributionOption = "foo";
+ o.omnitureSettings = buildOmnitureSettings();
+ o.subaccountId = "foo";
+ o.tagSettings = buildTagSettings();
+ o.thirdPartyAuthenticationTokens = buildUnnamed2748();
+ o.userDefinedVariableConfigurations = buildUnnamed2749();
+ }
+ buildCounterFloodlightConfiguration--;
+ return o;
+}
+
+checkFloodlightConfiguration(api.FloodlightConfiguration o) {
+ buildCounterFloodlightConfiguration++;
+ if (buildCounterFloodlightConfiguration < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.analyticsDataSharingEnabled, unittest.isTrue);
+ unittest.expect(o.exposureToConversionEnabled, unittest.isTrue);
+ unittest.expect(o.firstDayOfWeek, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.inAppAttributionTrackingEnabled, unittest.isTrue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLookbackConfiguration(o.lookbackConfiguration);
+ unittest.expect(
+ o.naturalSearchConversionAttributionOption, unittest.equals('foo'));
+ checkOmnitureSettings(o.omnitureSettings);
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ checkTagSettings(o.tagSettings);
+ checkUnnamed2748(o.thirdPartyAuthenticationTokens);
+ checkUnnamed2749(o.userDefinedVariableConfigurations);
+ }
+ buildCounterFloodlightConfiguration--;
+}
+
+buildUnnamed2750() {
+ var o = new core.List<api.FloodlightConfiguration>();
+ o.add(buildFloodlightConfiguration());
+ o.add(buildFloodlightConfiguration());
+ return o;
+}
+
+checkUnnamed2750(core.List<api.FloodlightConfiguration> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFloodlightConfiguration(o[0]);
+ checkFloodlightConfiguration(o[1]);
+}
+
+core.int buildCounterFloodlightConfigurationsListResponse = 0;
+buildFloodlightConfigurationsListResponse() {
+ var o = new api.FloodlightConfigurationsListResponse();
+ buildCounterFloodlightConfigurationsListResponse++;
+ if (buildCounterFloodlightConfigurationsListResponse < 3) {
+ o.floodlightConfigurations = buildUnnamed2750();
+ o.kind = "foo";
+ }
+ buildCounterFloodlightConfigurationsListResponse--;
+ return o;
+}
+
+checkFloodlightConfigurationsListResponse(
+ api.FloodlightConfigurationsListResponse o) {
+ buildCounterFloodlightConfigurationsListResponse++;
+ if (buildCounterFloodlightConfigurationsListResponse < 3) {
+ checkUnnamed2750(o.floodlightConfigurations);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterFloodlightConfigurationsListResponse--;
+}
+
+buildUnnamed2751() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2751(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2752() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2752(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2753() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2753(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+core.int buildCounterFloodlightReportCompatibleFields = 0;
+buildFloodlightReportCompatibleFields() {
+ var o = new api.FloodlightReportCompatibleFields();
+ buildCounterFloodlightReportCompatibleFields++;
+ if (buildCounterFloodlightReportCompatibleFields < 3) {
+ o.dimensionFilters = buildUnnamed2751();
+ o.dimensions = buildUnnamed2752();
+ o.kind = "foo";
+ o.metrics = buildUnnamed2753();
+ }
+ buildCounterFloodlightReportCompatibleFields--;
+ return o;
+}
+
+checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
+ buildCounterFloodlightReportCompatibleFields++;
+ if (buildCounterFloodlightReportCompatibleFields < 3) {
+ checkUnnamed2751(o.dimensionFilters);
+ checkUnnamed2752(o.dimensions);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2753(o.metrics);
+ }
+ buildCounterFloodlightReportCompatibleFields--;
+}
+
+core.int buildCounterFrequencyCap = 0;
+buildFrequencyCap() {
+ var o = new api.FrequencyCap();
+ buildCounterFrequencyCap++;
+ if (buildCounterFrequencyCap < 3) {
+ o.duration = "foo";
+ o.impressions = "foo";
+ }
+ buildCounterFrequencyCap--;
+ return o;
+}
+
+checkFrequencyCap(api.FrequencyCap o) {
+ buildCounterFrequencyCap++;
+ if (buildCounterFrequencyCap < 3) {
+ unittest.expect(o.duration, unittest.equals('foo'));
+ unittest.expect(o.impressions, unittest.equals('foo'));
+ }
+ buildCounterFrequencyCap--;
+}
+
+core.int buildCounterFsCommand = 0;
+buildFsCommand() {
+ var o = new api.FsCommand();
+ buildCounterFsCommand++;
+ if (buildCounterFsCommand < 3) {
+ o.left = 42;
+ o.positionOption = "foo";
+ o.top = 42;
+ o.windowHeight = 42;
+ o.windowWidth = 42;
+ }
+ buildCounterFsCommand--;
+ return o;
+}
+
+checkFsCommand(api.FsCommand o) {
+ buildCounterFsCommand++;
+ if (buildCounterFsCommand < 3) {
+ unittest.expect(o.left, unittest.equals(42));
+ unittest.expect(o.positionOption, unittest.equals('foo'));
+ unittest.expect(o.top, unittest.equals(42));
+ unittest.expect(o.windowHeight, unittest.equals(42));
+ unittest.expect(o.windowWidth, unittest.equals(42));
+ }
+ buildCounterFsCommand--;
+}
+
+buildUnnamed2754() {
+ var o = new core.List<api.City>();
+ o.add(buildCity());
+ o.add(buildCity());
+ return o;
+}
+
+checkUnnamed2754(core.List<api.City> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCity(o[0]);
+ checkCity(o[1]);
+}
+
+buildUnnamed2755() {
+ var o = new core.List<api.Country>();
+ o.add(buildCountry());
+ o.add(buildCountry());
+ return o;
+}
+
+checkUnnamed2755(core.List<api.Country> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCountry(o[0]);
+ checkCountry(o[1]);
+}
+
+buildUnnamed2756() {
+ var o = new core.List<api.Metro>();
+ o.add(buildMetro());
+ o.add(buildMetro());
+ return o;
+}
+
+checkUnnamed2756(core.List<api.Metro> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetro(o[0]);
+ checkMetro(o[1]);
+}
+
+buildUnnamed2757() {
+ var o = new core.List<api.PostalCode>();
+ o.add(buildPostalCode());
+ o.add(buildPostalCode());
+ return o;
+}
+
+checkUnnamed2757(core.List<api.PostalCode> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPostalCode(o[0]);
+ checkPostalCode(o[1]);
+}
+
+buildUnnamed2758() {
+ var o = new core.List<api.Region>();
+ o.add(buildRegion());
+ o.add(buildRegion());
+ return o;
+}
+
+checkUnnamed2758(core.List<api.Region> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRegion(o[0]);
+ checkRegion(o[1]);
+}
+
+core.int buildCounterGeoTargeting = 0;
+buildGeoTargeting() {
+ var o = new api.GeoTargeting();
+ buildCounterGeoTargeting++;
+ if (buildCounterGeoTargeting < 3) {
+ o.cities = buildUnnamed2754();
+ o.countries = buildUnnamed2755();
+ o.excludeCountries = true;
+ o.metros = buildUnnamed2756();
+ o.postalCodes = buildUnnamed2757();
+ o.regions = buildUnnamed2758();
+ }
+ buildCounterGeoTargeting--;
+ return o;
+}
+
+checkGeoTargeting(api.GeoTargeting o) {
+ buildCounterGeoTargeting++;
+ if (buildCounterGeoTargeting < 3) {
+ checkUnnamed2754(o.cities);
+ checkUnnamed2755(o.countries);
+ unittest.expect(o.excludeCountries, unittest.isTrue);
+ checkUnnamed2756(o.metros);
+ checkUnnamed2757(o.postalCodes);
+ checkUnnamed2758(o.regions);
+ }
+ buildCounterGeoTargeting--;
+}
+
+buildUnnamed2759() {
+ var o = new core.List<api.AdSlot>();
+ o.add(buildAdSlot());
+ o.add(buildAdSlot());
+ return o;
+}
+
+checkUnnamed2759(core.List<api.AdSlot> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAdSlot(o[0]);
+ checkAdSlot(o[1]);
+}
+
+core.int buildCounterInventoryItem = 0;
+buildInventoryItem() {
+ var o = new api.InventoryItem();
+ buildCounterInventoryItem++;
+ if (buildCounterInventoryItem < 3) {
+ o.accountId = "foo";
+ o.adSlots = buildUnnamed2759();
+ o.advertiserId = "foo";
+ o.contentCategoryId = "foo";
+ o.estimatedClickThroughRate = "foo";
+ o.estimatedConversionRate = "foo";
+ o.id = "foo";
+ o.inPlan = true;
+ o.kind = "foo";
+ o.lastModifiedInfo = buildLastModifiedInfo();
+ o.name = "foo";
+ o.negotiationChannelId = "foo";
+ o.orderId = "foo";
+ o.placementStrategyId = "foo";
+ o.pricing = buildPricing();
+ o.projectId = "foo";
+ o.rfpId = "foo";
+ o.siteId = "foo";
+ o.subaccountId = "foo";
+ o.type = "foo";
+ }
+ buildCounterInventoryItem--;
+ return o;
+}
+
+checkInventoryItem(api.InventoryItem o) {
+ buildCounterInventoryItem++;
+ if (buildCounterInventoryItem < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ checkUnnamed2759(o.adSlots);
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ unittest.expect(o.contentCategoryId, unittest.equals('foo'));
+ unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
+ unittest.expect(o.estimatedConversionRate, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.inPlan, unittest.isTrue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLastModifiedInfo(o.lastModifiedInfo);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.negotiationChannelId, unittest.equals('foo'));
+ unittest.expect(o.orderId, unittest.equals('foo'));
+ unittest.expect(o.placementStrategyId, unittest.equals('foo'));
+ checkPricing(o.pricing);
+ unittest.expect(o.projectId, unittest.equals('foo'));
+ unittest.expect(o.rfpId, unittest.equals('foo'));
+ unittest.expect(o.siteId, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterInventoryItem--;
+}
+
+buildUnnamed2760() {
+ var o = new core.List<api.InventoryItem>();
+ o.add(buildInventoryItem());
+ o.add(buildInventoryItem());
+ return o;
+}
+
+checkUnnamed2760(core.List<api.InventoryItem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkInventoryItem(o[0]);
+ checkInventoryItem(o[1]);
+}
+
+core.int buildCounterInventoryItemsListResponse = 0;
+buildInventoryItemsListResponse() {
+ var o = new api.InventoryItemsListResponse();
+ buildCounterInventoryItemsListResponse++;
+ if (buildCounterInventoryItemsListResponse < 3) {
+ o.inventoryItems = buildUnnamed2760();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterInventoryItemsListResponse--;
+ return o;
+}
+
+checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
+ buildCounterInventoryItemsListResponse++;
+ if (buildCounterInventoryItemsListResponse < 3) {
+ checkUnnamed2760(o.inventoryItems);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterInventoryItemsListResponse--;
+}
+
+core.int buildCounterKeyValueTargetingExpression = 0;
+buildKeyValueTargetingExpression() {
+ var o = new api.KeyValueTargetingExpression();
+ buildCounterKeyValueTargetingExpression++;
+ if (buildCounterKeyValueTargetingExpression < 3) {
+ o.expression = "foo";
+ }
+ buildCounterKeyValueTargetingExpression--;
+ return o;
+}
+
+checkKeyValueTargetingExpression(api.KeyValueTargetingExpression o) {
+ buildCounterKeyValueTargetingExpression++;
+ if (buildCounterKeyValueTargetingExpression < 3) {
+ unittest.expect(o.expression, unittest.equals('foo'));
+ }
+ buildCounterKeyValueTargetingExpression--;
+}
+
+core.int buildCounterLandingPage = 0;
+buildLandingPage() {
+ var o = new api.LandingPage();
+ buildCounterLandingPage++;
+ if (buildCounterLandingPage < 3) {
+ o.advertiserId = "foo";
+ o.archived = true;
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.url = "foo";
+ }
+ buildCounterLandingPage--;
+ return o;
+}
+
+checkLandingPage(api.LandingPage o) {
+ buildCounterLandingPage++;
+ if (buildCounterLandingPage < 3) {
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ unittest.expect(o.archived, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.url, unittest.equals('foo'));
+ }
+ buildCounterLandingPage--;
+}
+
+core.int buildCounterLanguage = 0;
+buildLanguage() {
+ var o = new api.Language();
+ buildCounterLanguage++;
+ if (buildCounterLanguage < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.languageCode = "foo";
+ o.name = "foo";
+ }
+ buildCounterLanguage--;
+ return o;
+}
+
+checkLanguage(api.Language o) {
+ buildCounterLanguage++;
+ if (buildCounterLanguage < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.languageCode, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterLanguage--;
+}
+
+buildUnnamed2761() {
+ var o = new core.List<api.Language>();
+ o.add(buildLanguage());
+ o.add(buildLanguage());
+ return o;
+}
+
+checkUnnamed2761(core.List<api.Language> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLanguage(o[0]);
+ checkLanguage(o[1]);
+}
+
+core.int buildCounterLanguageTargeting = 0;
+buildLanguageTargeting() {
+ var o = new api.LanguageTargeting();
+ buildCounterLanguageTargeting++;
+ if (buildCounterLanguageTargeting < 3) {
+ o.languages = buildUnnamed2761();
+ }
+ buildCounterLanguageTargeting--;
+ return o;
+}
+
+checkLanguageTargeting(api.LanguageTargeting o) {
+ buildCounterLanguageTargeting++;
+ if (buildCounterLanguageTargeting < 3) {
+ checkUnnamed2761(o.languages);
+ }
+ buildCounterLanguageTargeting--;
+}
+
+buildUnnamed2762() {
+ var o = new core.List<api.Language>();
+ o.add(buildLanguage());
+ o.add(buildLanguage());
+ return o;
+}
+
+checkUnnamed2762(core.List<api.Language> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLanguage(o[0]);
+ checkLanguage(o[1]);
+}
+
+core.int buildCounterLanguagesListResponse = 0;
+buildLanguagesListResponse() {
+ var o = new api.LanguagesListResponse();
+ buildCounterLanguagesListResponse++;
+ if (buildCounterLanguagesListResponse < 3) {
+ o.kind = "foo";
+ o.languages = buildUnnamed2762();
+ }
+ buildCounterLanguagesListResponse--;
+ return o;
+}
+
+checkLanguagesListResponse(api.LanguagesListResponse o) {
+ buildCounterLanguagesListResponse++;
+ if (buildCounterLanguagesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2762(o.languages);
+ }
+ buildCounterLanguagesListResponse--;
+}
+
+core.int buildCounterLastModifiedInfo = 0;
+buildLastModifiedInfo() {
+ var o = new api.LastModifiedInfo();
+ buildCounterLastModifiedInfo++;
+ if (buildCounterLastModifiedInfo < 3) {
+ o.time = "foo";
+ }
+ buildCounterLastModifiedInfo--;
+ return o;
+}
+
+checkLastModifiedInfo(api.LastModifiedInfo o) {
+ buildCounterLastModifiedInfo++;
+ if (buildCounterLastModifiedInfo < 3) {
+ unittest.expect(o.time, unittest.equals('foo'));
+ }
+ buildCounterLastModifiedInfo--;
+}
+
+buildUnnamed2763() {
+ var o = new core.List<api.ListPopulationTerm>();
+ o.add(buildListPopulationTerm());
+ o.add(buildListPopulationTerm());
+ return o;
+}
+
+checkUnnamed2763(core.List<api.ListPopulationTerm> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkListPopulationTerm(o[0]);
+ checkListPopulationTerm(o[1]);
+}
+
+core.int buildCounterListPopulationClause = 0;
+buildListPopulationClause() {
+ var o = new api.ListPopulationClause();
+ buildCounterListPopulationClause++;
+ if (buildCounterListPopulationClause < 3) {
+ o.terms = buildUnnamed2763();
+ }
+ buildCounterListPopulationClause--;
+ return o;
+}
+
+checkListPopulationClause(api.ListPopulationClause o) {
+ buildCounterListPopulationClause++;
+ if (buildCounterListPopulationClause < 3) {
+ checkUnnamed2763(o.terms);
+ }
+ buildCounterListPopulationClause--;
+}
+
+buildUnnamed2764() {
+ var o = new core.List<api.ListPopulationClause>();
+ o.add(buildListPopulationClause());
+ o.add(buildListPopulationClause());
+ return o;
+}
+
+checkUnnamed2764(core.List<api.ListPopulationClause> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkListPopulationClause(o[0]);
+ checkListPopulationClause(o[1]);
+}
+
+core.int buildCounterListPopulationRule = 0;
+buildListPopulationRule() {
+ var o = new api.ListPopulationRule();
+ buildCounterListPopulationRule++;
+ if (buildCounterListPopulationRule < 3) {
+ o.floodlightActivityId = "foo";
+ o.floodlightActivityName = "foo";
+ o.listPopulationClauses = buildUnnamed2764();
+ }
+ buildCounterListPopulationRule--;
+ return o;
+}
+
+checkListPopulationRule(api.ListPopulationRule o) {
+ buildCounterListPopulationRule++;
+ if (buildCounterListPopulationRule < 3) {
+ unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
+ unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
+ checkUnnamed2764(o.listPopulationClauses);
+ }
+ buildCounterListPopulationRule--;
+}
+
+core.int buildCounterListPopulationTerm = 0;
+buildListPopulationTerm() {
+ var o = new api.ListPopulationTerm();
+ buildCounterListPopulationTerm++;
+ if (buildCounterListPopulationTerm < 3) {
+ o.contains = true;
+ o.negation = true;
+ o.operator = "foo";
+ o.remarketingListId = "foo";
+ o.type = "foo";
+ o.value = "foo";
+ o.variableFriendlyName = "foo";
+ o.variableName = "foo";
+ }
+ buildCounterListPopulationTerm--;
+ return o;
+}
+
+checkListPopulationTerm(api.ListPopulationTerm o) {
+ buildCounterListPopulationTerm++;
+ if (buildCounterListPopulationTerm < 3) {
+ unittest.expect(o.contains, unittest.isTrue);
+ unittest.expect(o.negation, unittest.isTrue);
+ unittest.expect(o.operator, unittest.equals('foo'));
+ unittest.expect(o.remarketingListId, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ unittest.expect(o.variableFriendlyName, unittest.equals('foo'));
+ unittest.expect(o.variableName, unittest.equals('foo'));
+ }
+ buildCounterListPopulationTerm--;
+}
+
+core.int buildCounterListTargetingExpression = 0;
+buildListTargetingExpression() {
+ var o = new api.ListTargetingExpression();
+ buildCounterListTargetingExpression++;
+ if (buildCounterListTargetingExpression < 3) {
+ o.expression = "foo";
+ }
+ buildCounterListTargetingExpression--;
+ return o;
+}
+
+checkListTargetingExpression(api.ListTargetingExpression o) {
+ buildCounterListTargetingExpression++;
+ if (buildCounterListTargetingExpression < 3) {
+ unittest.expect(o.expression, unittest.equals('foo'));
+ }
+ buildCounterListTargetingExpression--;
+}
+
+core.int buildCounterLookbackConfiguration = 0;
+buildLookbackConfiguration() {
+ var o = new api.LookbackConfiguration();
+ buildCounterLookbackConfiguration++;
+ if (buildCounterLookbackConfiguration < 3) {
+ o.clickDuration = 42;
+ o.postImpressionActivitiesDuration = 42;
+ }
+ buildCounterLookbackConfiguration--;
+ return o;
+}
+
+checkLookbackConfiguration(api.LookbackConfiguration o) {
+ buildCounterLookbackConfiguration++;
+ if (buildCounterLookbackConfiguration < 3) {
+ unittest.expect(o.clickDuration, unittest.equals(42));
+ unittest.expect(o.postImpressionActivitiesDuration, unittest.equals(42));
+ }
+ buildCounterLookbackConfiguration--;
+}
+
+core.int buildCounterMetric = 0;
+buildMetric() {
+ var o = new api.Metric();
+ buildCounterMetric++;
+ if (buildCounterMetric < 3) {
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterMetric--;
+ return o;
+}
+
+checkMetric(api.Metric o) {
+ buildCounterMetric++;
+ if (buildCounterMetric < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterMetric--;
+}
+
+core.int buildCounterMetro = 0;
+buildMetro() {
+ var o = new api.Metro();
+ buildCounterMetro++;
+ if (buildCounterMetro < 3) {
+ o.countryCode = "foo";
+ o.countryDartId = "foo";
+ o.dartId = "foo";
+ o.dmaId = "foo";
+ o.kind = "foo";
+ o.metroCode = "foo";
+ o.name = "foo";
+ }
+ buildCounterMetro--;
+ return o;
+}
+
+checkMetro(api.Metro o) {
+ buildCounterMetro++;
+ if (buildCounterMetro < 3) {
+ unittest.expect(o.countryCode, unittest.equals('foo'));
+ unittest.expect(o.countryDartId, unittest.equals('foo'));
+ unittest.expect(o.dartId, unittest.equals('foo'));
+ unittest.expect(o.dmaId, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.metroCode, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterMetro--;
+}
+
+buildUnnamed2765() {
+ var o = new core.List<api.Metro>();
+ o.add(buildMetro());
+ o.add(buildMetro());
+ return o;
+}
+
+checkUnnamed2765(core.List<api.Metro> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetro(o[0]);
+ checkMetro(o[1]);
+}
+
+core.int buildCounterMetrosListResponse = 0;
+buildMetrosListResponse() {
+ var o = new api.MetrosListResponse();
+ buildCounterMetrosListResponse++;
+ if (buildCounterMetrosListResponse < 3) {
+ o.kind = "foo";
+ o.metros = buildUnnamed2765();
+ }
+ buildCounterMetrosListResponse--;
+ return o;
+}
+
+checkMetrosListResponse(api.MetrosListResponse o) {
+ buildCounterMetrosListResponse++;
+ if (buildCounterMetrosListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2765(o.metros);
+ }
+ buildCounterMetrosListResponse--;
+}
+
+core.int buildCounterMobileCarrier = 0;
+buildMobileCarrier() {
+ var o = new api.MobileCarrier();
+ buildCounterMobileCarrier++;
+ if (buildCounterMobileCarrier < 3) {
+ o.countryCode = "foo";
+ o.countryDartId = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterMobileCarrier--;
+ return o;
+}
+
+checkMobileCarrier(api.MobileCarrier o) {
+ buildCounterMobileCarrier++;
+ if (buildCounterMobileCarrier < 3) {
+ unittest.expect(o.countryCode, unittest.equals('foo'));
+ unittest.expect(o.countryDartId, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterMobileCarrier--;
+}
+
+buildUnnamed2766() {
+ var o = new core.List<api.MobileCarrier>();
+ o.add(buildMobileCarrier());
+ o.add(buildMobileCarrier());
+ return o;
+}
+
+checkUnnamed2766(core.List<api.MobileCarrier> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMobileCarrier(o[0]);
+ checkMobileCarrier(o[1]);
+}
+
+core.int buildCounterMobileCarriersListResponse = 0;
+buildMobileCarriersListResponse() {
+ var o = new api.MobileCarriersListResponse();
+ buildCounterMobileCarriersListResponse++;
+ if (buildCounterMobileCarriersListResponse < 3) {
+ o.kind = "foo";
+ o.mobileCarriers = buildUnnamed2766();
+ }
+ buildCounterMobileCarriersListResponse--;
+ return o;
+}
+
+checkMobileCarriersListResponse(api.MobileCarriersListResponse o) {
+ buildCounterMobileCarriersListResponse++;
+ if (buildCounterMobileCarriersListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2766(o.mobileCarriers);
+ }
+ buildCounterMobileCarriersListResponse--;
+}
+
+buildUnnamed2767() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2767(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 buildCounterObjectFilter = 0;
+buildObjectFilter() {
+ var o = new api.ObjectFilter();
+ buildCounterObjectFilter++;
+ if (buildCounterObjectFilter < 3) {
+ o.kind = "foo";
+ o.objectIds = buildUnnamed2767();
+ o.status = "foo";
+ }
+ buildCounterObjectFilter--;
+ return o;
+}
+
+checkObjectFilter(api.ObjectFilter o) {
+ buildCounterObjectFilter++;
+ if (buildCounterObjectFilter < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2767(o.objectIds);
+ unittest.expect(o.status, unittest.equals('foo'));
+ }
+ buildCounterObjectFilter--;
+}
+
+core.int buildCounterOffsetPosition = 0;
+buildOffsetPosition() {
+ var o = new api.OffsetPosition();
+ buildCounterOffsetPosition++;
+ if (buildCounterOffsetPosition < 3) {
+ o.left = 42;
+ o.top = 42;
+ }
+ buildCounterOffsetPosition--;
+ return o;
+}
+
+checkOffsetPosition(api.OffsetPosition o) {
+ buildCounterOffsetPosition++;
+ if (buildCounterOffsetPosition < 3) {
+ unittest.expect(o.left, unittest.equals(42));
+ unittest.expect(o.top, unittest.equals(42));
+ }
+ buildCounterOffsetPosition--;
+}
+
+core.int buildCounterOmnitureSettings = 0;
+buildOmnitureSettings() {
+ var o = new api.OmnitureSettings();
+ buildCounterOmnitureSettings++;
+ if (buildCounterOmnitureSettings < 3) {
+ o.omnitureCostDataEnabled = true;
+ o.omnitureIntegrationEnabled = true;
+ }
+ buildCounterOmnitureSettings--;
+ return o;
+}
+
+checkOmnitureSettings(api.OmnitureSettings o) {
+ buildCounterOmnitureSettings++;
+ if (buildCounterOmnitureSettings < 3) {
+ unittest.expect(o.omnitureCostDataEnabled, unittest.isTrue);
+ unittest.expect(o.omnitureIntegrationEnabled, unittest.isTrue);
+ }
+ buildCounterOmnitureSettings--;
+}
+
+core.int buildCounterOperatingSystem = 0;
+buildOperatingSystem() {
+ var o = new api.OperatingSystem();
+ buildCounterOperatingSystem++;
+ if (buildCounterOperatingSystem < 3) {
+ o.dartId = "foo";
+ o.desktop = true;
+ o.kind = "foo";
+ o.mobile = true;
+ o.name = "foo";
+ }
+ buildCounterOperatingSystem--;
+ return o;
+}
+
+checkOperatingSystem(api.OperatingSystem o) {
+ buildCounterOperatingSystem++;
+ if (buildCounterOperatingSystem < 3) {
+ unittest.expect(o.dartId, unittest.equals('foo'));
+ unittest.expect(o.desktop, unittest.isTrue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.mobile, unittest.isTrue);
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterOperatingSystem--;
+}
+
+core.int buildCounterOperatingSystemVersion = 0;
+buildOperatingSystemVersion() {
+ var o = new api.OperatingSystemVersion();
+ buildCounterOperatingSystemVersion++;
+ if (buildCounterOperatingSystemVersion < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.majorVersion = "foo";
+ o.minorVersion = "foo";
+ o.name = "foo";
+ o.operatingSystem = buildOperatingSystem();
+ }
+ buildCounterOperatingSystemVersion--;
+ return o;
+}
+
+checkOperatingSystemVersion(api.OperatingSystemVersion o) {
+ buildCounterOperatingSystemVersion++;
+ if (buildCounterOperatingSystemVersion < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.majorVersion, unittest.equals('foo'));
+ unittest.expect(o.minorVersion, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkOperatingSystem(o.operatingSystem);
+ }
+ buildCounterOperatingSystemVersion--;
+}
+
+buildUnnamed2768() {
+ var o = new core.List<api.OperatingSystemVersion>();
+ o.add(buildOperatingSystemVersion());
+ o.add(buildOperatingSystemVersion());
+ return o;
+}
+
+checkUnnamed2768(core.List<api.OperatingSystemVersion> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperatingSystemVersion(o[0]);
+ checkOperatingSystemVersion(o[1]);
+}
+
+core.int buildCounterOperatingSystemVersionsListResponse = 0;
+buildOperatingSystemVersionsListResponse() {
+ var o = new api.OperatingSystemVersionsListResponse();
+ buildCounterOperatingSystemVersionsListResponse++;
+ if (buildCounterOperatingSystemVersionsListResponse < 3) {
+ o.kind = "foo";
+ o.operatingSystemVersions = buildUnnamed2768();
+ }
+ buildCounterOperatingSystemVersionsListResponse--;
+ return o;
+}
+
+checkOperatingSystemVersionsListResponse(
+ api.OperatingSystemVersionsListResponse o) {
+ buildCounterOperatingSystemVersionsListResponse++;
+ if (buildCounterOperatingSystemVersionsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2768(o.operatingSystemVersions);
+ }
+ buildCounterOperatingSystemVersionsListResponse--;
+}
+
+buildUnnamed2769() {
+ var o = new core.List<api.OperatingSystem>();
+ o.add(buildOperatingSystem());
+ o.add(buildOperatingSystem());
+ return o;
+}
+
+checkUnnamed2769(core.List<api.OperatingSystem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperatingSystem(o[0]);
+ checkOperatingSystem(o[1]);
+}
+
+core.int buildCounterOperatingSystemsListResponse = 0;
+buildOperatingSystemsListResponse() {
+ var o = new api.OperatingSystemsListResponse();
+ buildCounterOperatingSystemsListResponse++;
+ if (buildCounterOperatingSystemsListResponse < 3) {
+ o.kind = "foo";
+ o.operatingSystems = buildUnnamed2769();
+ }
+ buildCounterOperatingSystemsListResponse--;
+ return o;
+}
+
+checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) {
+ buildCounterOperatingSystemsListResponse++;
+ if (buildCounterOperatingSystemsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2769(o.operatingSystems);
+ }
+ buildCounterOperatingSystemsListResponse--;
+}
+
+core.int buildCounterOptimizationActivity = 0;
+buildOptimizationActivity() {
+ var o = new api.OptimizationActivity();
+ buildCounterOptimizationActivity++;
+ if (buildCounterOptimizationActivity < 3) {
+ o.floodlightActivityId = "foo";
+ o.floodlightActivityIdDimensionValue = buildDimensionValue();
+ o.weight = 42;
+ }
+ buildCounterOptimizationActivity--;
+ return o;
+}
+
+checkOptimizationActivity(api.OptimizationActivity o) {
+ buildCounterOptimizationActivity++;
+ if (buildCounterOptimizationActivity < 3) {
+ unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
+ checkDimensionValue(o.floodlightActivityIdDimensionValue);
+ unittest.expect(o.weight, unittest.equals(42));
+ }
+ buildCounterOptimizationActivity--;
+}
+
+buildUnnamed2770() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2770(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'));
+}
+
+buildUnnamed2771() {
+ var o = new core.List<api.OrderContact>();
+ o.add(buildOrderContact());
+ o.add(buildOrderContact());
+ return o;
+}
+
+checkUnnamed2771(core.List<api.OrderContact> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOrderContact(o[0]);
+ checkOrderContact(o[1]);
+}
+
+buildUnnamed2772() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2772(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'));
+}
+
+buildUnnamed2773() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2773(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 buildCounterOrder = 0;
+buildOrder() {
+ var o = new api.Order();
+ buildCounterOrder++;
+ if (buildCounterOrder < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.approverUserProfileIds = buildUnnamed2770();
+ o.buyerInvoiceId = "foo";
+ o.buyerOrganizationName = "foo";
+ o.comments = "foo";
+ o.contacts = buildUnnamed2771();
+ o.id = "foo";
+ o.kind = "foo";
+ o.lastModifiedInfo = buildLastModifiedInfo();
+ o.name = "foo";
+ o.notes = "foo";
+ o.planningTermId = "foo";
+ o.projectId = "foo";
+ o.sellerOrderId = "foo";
+ o.sellerOrganizationName = "foo";
+ o.siteId = buildUnnamed2772();
+ o.siteNames = buildUnnamed2773();
+ o.subaccountId = "foo";
+ o.termsAndConditions = "foo";
+ }
+ buildCounterOrder--;
+ return o;
+}
+
+checkOrder(api.Order o) {
+ buildCounterOrder++;
+ if (buildCounterOrder < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkUnnamed2770(o.approverUserProfileIds);
+ unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
+ unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
+ unittest.expect(o.comments, unittest.equals('foo'));
+ checkUnnamed2771(o.contacts);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLastModifiedInfo(o.lastModifiedInfo);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.notes, unittest.equals('foo'));
+ unittest.expect(o.planningTermId, unittest.equals('foo'));
+ unittest.expect(o.projectId, unittest.equals('foo'));
+ unittest.expect(o.sellerOrderId, unittest.equals('foo'));
+ unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
+ checkUnnamed2772(o.siteId);
+ checkUnnamed2773(o.siteNames);
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.termsAndConditions, unittest.equals('foo'));
+ }
+ buildCounterOrder--;
+}
+
+core.int buildCounterOrderContact = 0;
+buildOrderContact() {
+ var o = new api.OrderContact();
+ buildCounterOrderContact++;
+ if (buildCounterOrderContact < 3) {
+ o.contactInfo = "foo";
+ o.contactName = "foo";
+ o.contactTitle = "foo";
+ o.contactType = "foo";
+ o.signatureUserProfileId = "foo";
+ }
+ buildCounterOrderContact--;
+ return o;
+}
+
+checkOrderContact(api.OrderContact o) {
+ buildCounterOrderContact++;
+ if (buildCounterOrderContact < 3) {
+ unittest.expect(o.contactInfo, unittest.equals('foo'));
+ unittest.expect(o.contactName, unittest.equals('foo'));
+ unittest.expect(o.contactTitle, unittest.equals('foo'));
+ unittest.expect(o.contactType, unittest.equals('foo'));
+ unittest.expect(o.signatureUserProfileId, unittest.equals('foo'));
+ }
+ buildCounterOrderContact--;
+}
+
+buildUnnamed2774() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2774(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'));
+}
+
+buildUnnamed2775() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2775(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 buildCounterOrderDocument = 0;
+buildOrderDocument() {
+ var o = new api.OrderDocument();
+ buildCounterOrderDocument++;
+ if (buildCounterOrderDocument < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.amendedOrderDocumentId = "foo";
+ o.approvedByUserProfileIds = buildUnnamed2774();
+ o.cancelled = true;
+ o.createdInfo = buildLastModifiedInfo();
+ o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.id = "foo";
+ o.kind = "foo";
+ o.lastSentRecipients = buildUnnamed2775();
+ o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
+ o.orderId = "foo";
+ o.projectId = "foo";
+ o.signed = true;
+ o.subaccountId = "foo";
+ o.title = "foo";
+ o.type = "foo";
+ }
+ buildCounterOrderDocument--;
+ return o;
+}
+
+checkOrderDocument(api.OrderDocument o) {
+ buildCounterOrderDocument++;
+ if (buildCounterOrderDocument < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
+ checkUnnamed2774(o.approvedByUserProfileIds);
+ unittest.expect(o.cancelled, unittest.isTrue);
+ checkLastModifiedInfo(o.createdInfo);
+ unittest.expect(o.effectiveDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2775(o.lastSentRecipients);
+ unittest.expect(o.lastSentTime,
+ unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
+ unittest.expect(o.orderId, unittest.equals('foo'));
+ unittest.expect(o.projectId, unittest.equals('foo'));
+ unittest.expect(o.signed, unittest.isTrue);
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.title, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterOrderDocument--;
+}
+
+buildUnnamed2776() {
+ var o = new core.List<api.OrderDocument>();
+ o.add(buildOrderDocument());
+ o.add(buildOrderDocument());
+ return o;
+}
+
+checkUnnamed2776(core.List<api.OrderDocument> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOrderDocument(o[0]);
+ checkOrderDocument(o[1]);
+}
+
+core.int buildCounterOrderDocumentsListResponse = 0;
+buildOrderDocumentsListResponse() {
+ var o = new api.OrderDocumentsListResponse();
+ buildCounterOrderDocumentsListResponse++;
+ if (buildCounterOrderDocumentsListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.orderDocuments = buildUnnamed2776();
+ }
+ buildCounterOrderDocumentsListResponse--;
+ return o;
+}
+
+checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) {
+ buildCounterOrderDocumentsListResponse++;
+ if (buildCounterOrderDocumentsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2776(o.orderDocuments);
+ }
+ buildCounterOrderDocumentsListResponse--;
+}
+
+buildUnnamed2777() {
+ var o = new core.List<api.Order>();
+ o.add(buildOrder());
+ o.add(buildOrder());
+ return o;
+}
+
+checkUnnamed2777(core.List<api.Order> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOrder(o[0]);
+ checkOrder(o[1]);
+}
+
+core.int buildCounterOrdersListResponse = 0;
+buildOrdersListResponse() {
+ var o = new api.OrdersListResponse();
+ buildCounterOrdersListResponse++;
+ if (buildCounterOrdersListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.orders = buildUnnamed2777();
+ }
+ buildCounterOrdersListResponse--;
+ return o;
+}
+
+checkOrdersListResponse(api.OrdersListResponse o) {
+ buildCounterOrdersListResponse++;
+ if (buildCounterOrdersListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2777(o.orders);
+ }
+ buildCounterOrdersListResponse--;
+}
+
+buildUnnamed2778() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2778(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2779() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2779(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2780() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2780(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+buildUnnamed2781() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2781(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+core.int buildCounterPathToConversionReportCompatibleFields = 0;
+buildPathToConversionReportCompatibleFields() {
+ var o = new api.PathToConversionReportCompatibleFields();
+ buildCounterPathToConversionReportCompatibleFields++;
+ if (buildCounterPathToConversionReportCompatibleFields < 3) {
+ o.conversionDimensions = buildUnnamed2778();
+ o.customFloodlightVariables = buildUnnamed2779();
+ o.kind = "foo";
+ o.metrics = buildUnnamed2780();
+ o.perInteractionDimensions = buildUnnamed2781();
+ }
+ buildCounterPathToConversionReportCompatibleFields--;
+ return o;
+}
+
+checkPathToConversionReportCompatibleFields(
+ api.PathToConversionReportCompatibleFields o) {
+ buildCounterPathToConversionReportCompatibleFields++;
+ if (buildCounterPathToConversionReportCompatibleFields < 3) {
+ checkUnnamed2778(o.conversionDimensions);
+ checkUnnamed2779(o.customFloodlightVariables);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2780(o.metrics);
+ checkUnnamed2781(o.perInteractionDimensions);
+ }
+ buildCounterPathToConversionReportCompatibleFields--;
+}
+
+buildUnnamed2782() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2782(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 buildCounterPlacement = 0;
+buildPlacement() {
+ var o = new api.Placement();
+ buildCounterPlacement++;
+ if (buildCounterPlacement < 3) {
+ o.accountId = "foo";
+ o.adBlockingOptOut = true;
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.archived = true;
+ o.campaignId = "foo";
+ o.campaignIdDimensionValue = buildDimensionValue();
+ o.comment = "foo";
+ o.compatibility = "foo";
+ o.contentCategoryId = "foo";
+ o.createInfo = buildLastModifiedInfo();
+ o.directorySiteId = "foo";
+ o.directorySiteIdDimensionValue = buildDimensionValue();
+ o.externalId = "foo";
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.keyName = "foo";
+ o.kind = "foo";
+ o.lastModifiedInfo = buildLastModifiedInfo();
+ o.lookbackConfiguration = buildLookbackConfiguration();
+ o.name = "foo";
+ o.paymentApproved = true;
+ o.paymentSource = "foo";
+ o.placementGroupId = "foo";
+ o.placementGroupIdDimensionValue = buildDimensionValue();
+ o.placementStrategyId = "foo";
+ o.pricingSchedule = buildPricingSchedule();
+ o.primary = true;
+ o.publisherUpdateInfo = buildLastModifiedInfo();
+ o.siteId = "foo";
+ o.siteIdDimensionValue = buildDimensionValue();
+ o.size = buildSize();
+ o.sslRequired = true;
+ o.status = "foo";
+ o.subaccountId = "foo";
+ o.tagFormats = buildUnnamed2782();
+ o.tagSetting = buildTagSetting();
+ o.videoActiveViewOptOut = true;
+ o.videoSettings = buildVideoSettings();
+ o.vpaidAdapterChoice = "foo";
+ }
+ buildCounterPlacement--;
+ return o;
+}
+
+checkPlacement(api.Placement o) {
+ buildCounterPlacement++;
+ if (buildCounterPlacement < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.adBlockingOptOut, unittest.isTrue);
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.archived, unittest.isTrue);
+ unittest.expect(o.campaignId, unittest.equals('foo'));
+ checkDimensionValue(o.campaignIdDimensionValue);
+ unittest.expect(o.comment, unittest.equals('foo'));
+ unittest.expect(o.compatibility, unittest.equals('foo'));
+ unittest.expect(o.contentCategoryId, unittest.equals('foo'));
+ checkLastModifiedInfo(o.createInfo);
+ unittest.expect(o.directorySiteId, unittest.equals('foo'));
+ checkDimensionValue(o.directorySiteIdDimensionValue);
+ unittest.expect(o.externalId, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.keyName, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLastModifiedInfo(o.lastModifiedInfo);
+ checkLookbackConfiguration(o.lookbackConfiguration);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.paymentApproved, unittest.isTrue);
+ unittest.expect(o.paymentSource, unittest.equals('foo'));
+ unittest.expect(o.placementGroupId, unittest.equals('foo'));
+ checkDimensionValue(o.placementGroupIdDimensionValue);
+ unittest.expect(o.placementStrategyId, unittest.equals('foo'));
+ checkPricingSchedule(o.pricingSchedule);
+ unittest.expect(o.primary, unittest.isTrue);
+ checkLastModifiedInfo(o.publisherUpdateInfo);
+ unittest.expect(o.siteId, unittest.equals('foo'));
+ checkDimensionValue(o.siteIdDimensionValue);
+ checkSize(o.size);
+ unittest.expect(o.sslRequired, unittest.isTrue);
+ unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ checkUnnamed2782(o.tagFormats);
+ checkTagSetting(o.tagSetting);
+ unittest.expect(o.videoActiveViewOptOut, unittest.isTrue);
+ checkVideoSettings(o.videoSettings);
+ unittest.expect(o.vpaidAdapterChoice, unittest.equals('foo'));
+ }
+ buildCounterPlacement--;
+}
+
+core.int buildCounterPlacementAssignment = 0;
+buildPlacementAssignment() {
+ var o = new api.PlacementAssignment();
+ buildCounterPlacementAssignment++;
+ if (buildCounterPlacementAssignment < 3) {
+ o.active = true;
+ o.placementId = "foo";
+ o.placementIdDimensionValue = buildDimensionValue();
+ o.sslRequired = true;
+ }
+ buildCounterPlacementAssignment--;
+ return o;
+}
+
+checkPlacementAssignment(api.PlacementAssignment o) {
+ buildCounterPlacementAssignment++;
+ if (buildCounterPlacementAssignment < 3) {
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.placementId, unittest.equals('foo'));
+ checkDimensionValue(o.placementIdDimensionValue);
+ unittest.expect(o.sslRequired, unittest.isTrue);
+ }
+ buildCounterPlacementAssignment--;
+}
+
+buildUnnamed2783() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2783(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 buildCounterPlacementGroup = 0;
+buildPlacementGroup() {
+ var o = new api.PlacementGroup();
+ buildCounterPlacementGroup++;
+ if (buildCounterPlacementGroup < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.archived = true;
+ o.campaignId = "foo";
+ o.campaignIdDimensionValue = buildDimensionValue();
+ o.childPlacementIds = buildUnnamed2783();
+ o.comment = "foo";
+ o.contentCategoryId = "foo";
+ o.createInfo = buildLastModifiedInfo();
+ o.directorySiteId = "foo";
+ o.directorySiteIdDimensionValue = buildDimensionValue();
+ o.externalId = "foo";
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.kind = "foo";
+ o.lastModifiedInfo = buildLastModifiedInfo();
+ o.name = "foo";
+ o.placementGroupType = "foo";
+ o.placementStrategyId = "foo";
+ o.pricingSchedule = buildPricingSchedule();
+ o.primaryPlacementId = "foo";
+ o.primaryPlacementIdDimensionValue = buildDimensionValue();
+ o.siteId = "foo";
+ o.siteIdDimensionValue = buildDimensionValue();
+ o.subaccountId = "foo";
+ }
+ buildCounterPlacementGroup--;
+ return o;
+}
+
+checkPlacementGroup(api.PlacementGroup o) {
+ buildCounterPlacementGroup++;
+ if (buildCounterPlacementGroup < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.archived, unittest.isTrue);
+ unittest.expect(o.campaignId, unittest.equals('foo'));
+ checkDimensionValue(o.campaignIdDimensionValue);
+ checkUnnamed2783(o.childPlacementIds);
+ unittest.expect(o.comment, unittest.equals('foo'));
+ unittest.expect(o.contentCategoryId, unittest.equals('foo'));
+ checkLastModifiedInfo(o.createInfo);
+ unittest.expect(o.directorySiteId, unittest.equals('foo'));
+ checkDimensionValue(o.directorySiteIdDimensionValue);
+ unittest.expect(o.externalId, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLastModifiedInfo(o.lastModifiedInfo);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.placementGroupType, unittest.equals('foo'));
+ unittest.expect(o.placementStrategyId, unittest.equals('foo'));
+ checkPricingSchedule(o.pricingSchedule);
+ unittest.expect(o.primaryPlacementId, unittest.equals('foo'));
+ checkDimensionValue(o.primaryPlacementIdDimensionValue);
+ unittest.expect(o.siteId, unittest.equals('foo'));
+ checkDimensionValue(o.siteIdDimensionValue);
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ }
+ buildCounterPlacementGroup--;
+}
+
+buildUnnamed2784() {
+ var o = new core.List<api.PlacementGroup>();
+ o.add(buildPlacementGroup());
+ o.add(buildPlacementGroup());
+ return o;
+}
+
+checkUnnamed2784(core.List<api.PlacementGroup> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPlacementGroup(o[0]);
+ checkPlacementGroup(o[1]);
+}
+
+core.int buildCounterPlacementGroupsListResponse = 0;
+buildPlacementGroupsListResponse() {
+ var o = new api.PlacementGroupsListResponse();
+ buildCounterPlacementGroupsListResponse++;
+ if (buildCounterPlacementGroupsListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.placementGroups = buildUnnamed2784();
+ }
+ buildCounterPlacementGroupsListResponse--;
+ return o;
+}
+
+checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) {
+ buildCounterPlacementGroupsListResponse++;
+ if (buildCounterPlacementGroupsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2784(o.placementGroups);
+ }
+ buildCounterPlacementGroupsListResponse--;
+}
+
+buildUnnamed2785() {
+ var o = new core.List<api.PlacementStrategy>();
+ o.add(buildPlacementStrategy());
+ o.add(buildPlacementStrategy());
+ return o;
+}
+
+checkUnnamed2785(core.List<api.PlacementStrategy> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPlacementStrategy(o[0]);
+ checkPlacementStrategy(o[1]);
+}
+
+core.int buildCounterPlacementStrategiesListResponse = 0;
+buildPlacementStrategiesListResponse() {
+ var o = new api.PlacementStrategiesListResponse();
+ buildCounterPlacementStrategiesListResponse++;
+ if (buildCounterPlacementStrategiesListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.placementStrategies = buildUnnamed2785();
+ }
+ buildCounterPlacementStrategiesListResponse--;
+ return o;
+}
+
+checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) {
+ buildCounterPlacementStrategiesListResponse++;
+ if (buildCounterPlacementStrategiesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2785(o.placementStrategies);
+ }
+ buildCounterPlacementStrategiesListResponse--;
+}
+
+core.int buildCounterPlacementStrategy = 0;
+buildPlacementStrategy() {
+ var o = new api.PlacementStrategy();
+ buildCounterPlacementStrategy++;
+ if (buildCounterPlacementStrategy < 3) {
+ o.accountId = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterPlacementStrategy--;
+ return o;
+}
+
+checkPlacementStrategy(api.PlacementStrategy o) {
+ buildCounterPlacementStrategy++;
+ if (buildCounterPlacementStrategy < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterPlacementStrategy--;
+}
+
+buildUnnamed2786() {
+ var o = new core.List<api.TagData>();
+ o.add(buildTagData());
+ o.add(buildTagData());
+ return o;
+}
+
+checkUnnamed2786(core.List<api.TagData> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTagData(o[0]);
+ checkTagData(o[1]);
+}
+
+core.int buildCounterPlacementTag = 0;
+buildPlacementTag() {
+ var o = new api.PlacementTag();
+ buildCounterPlacementTag++;
+ if (buildCounterPlacementTag < 3) {
+ o.placementId = "foo";
+ o.tagDatas = buildUnnamed2786();
+ }
+ buildCounterPlacementTag--;
+ return o;
+}
+
+checkPlacementTag(api.PlacementTag o) {
+ buildCounterPlacementTag++;
+ if (buildCounterPlacementTag < 3) {
+ unittest.expect(o.placementId, unittest.equals('foo'));
+ checkUnnamed2786(o.tagDatas);
+ }
+ buildCounterPlacementTag--;
+}
+
+buildUnnamed2787() {
+ var o = new core.List<api.PlacementTag>();
+ o.add(buildPlacementTag());
+ o.add(buildPlacementTag());
+ return o;
+}
+
+checkUnnamed2787(core.List<api.PlacementTag> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPlacementTag(o[0]);
+ checkPlacementTag(o[1]);
+}
+
+core.int buildCounterPlacementsGenerateTagsResponse = 0;
+buildPlacementsGenerateTagsResponse() {
+ var o = new api.PlacementsGenerateTagsResponse();
+ buildCounterPlacementsGenerateTagsResponse++;
+ if (buildCounterPlacementsGenerateTagsResponse < 3) {
+ o.kind = "foo";
+ o.placementTags = buildUnnamed2787();
+ }
+ buildCounterPlacementsGenerateTagsResponse--;
+ return o;
+}
+
+checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) {
+ buildCounterPlacementsGenerateTagsResponse++;
+ if (buildCounterPlacementsGenerateTagsResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2787(o.placementTags);
+ }
+ buildCounterPlacementsGenerateTagsResponse--;
+}
+
+buildUnnamed2788() {
+ var o = new core.List<api.Placement>();
+ o.add(buildPlacement());
+ o.add(buildPlacement());
+ return o;
+}
+
+checkUnnamed2788(core.List<api.Placement> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPlacement(o[0]);
+ checkPlacement(o[1]);
+}
+
+core.int buildCounterPlacementsListResponse = 0;
+buildPlacementsListResponse() {
+ var o = new api.PlacementsListResponse();
+ buildCounterPlacementsListResponse++;
+ if (buildCounterPlacementsListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.placements = buildUnnamed2788();
+ }
+ buildCounterPlacementsListResponse--;
+ return o;
+}
+
+checkPlacementsListResponse(api.PlacementsListResponse o) {
+ buildCounterPlacementsListResponse++;
+ if (buildCounterPlacementsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2788(o.placements);
+ }
+ buildCounterPlacementsListResponse--;
+}
+
+core.int buildCounterPlatformType = 0;
+buildPlatformType() {
+ var o = new api.PlatformType();
+ buildCounterPlatformType++;
+ if (buildCounterPlatformType < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterPlatformType--;
+ return o;
+}
+
+checkPlatformType(api.PlatformType o) {
+ buildCounterPlatformType++;
+ if (buildCounterPlatformType < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterPlatformType--;
+}
+
+buildUnnamed2789() {
+ var o = new core.List<api.PlatformType>();
+ o.add(buildPlatformType());
+ o.add(buildPlatformType());
+ return o;
+}
+
+checkUnnamed2789(core.List<api.PlatformType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPlatformType(o[0]);
+ checkPlatformType(o[1]);
+}
+
+core.int buildCounterPlatformTypesListResponse = 0;
+buildPlatformTypesListResponse() {
+ var o = new api.PlatformTypesListResponse();
+ buildCounterPlatformTypesListResponse++;
+ if (buildCounterPlatformTypesListResponse < 3) {
+ o.kind = "foo";
+ o.platformTypes = buildUnnamed2789();
+ }
+ buildCounterPlatformTypesListResponse--;
+ return o;
+}
+
+checkPlatformTypesListResponse(api.PlatformTypesListResponse o) {
+ buildCounterPlatformTypesListResponse++;
+ if (buildCounterPlatformTypesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2789(o.platformTypes);
+ }
+ buildCounterPlatformTypesListResponse--;
+}
+
+core.int buildCounterPopupWindowProperties = 0;
+buildPopupWindowProperties() {
+ var o = new api.PopupWindowProperties();
+ buildCounterPopupWindowProperties++;
+ if (buildCounterPopupWindowProperties < 3) {
+ o.dimension = buildSize();
+ o.offset = buildOffsetPosition();
+ o.positionType = "foo";
+ o.showAddressBar = true;
+ o.showMenuBar = true;
+ o.showScrollBar = true;
+ o.showStatusBar = true;
+ o.showToolBar = true;
+ o.title = "foo";
+ }
+ buildCounterPopupWindowProperties--;
+ return o;
+}
+
+checkPopupWindowProperties(api.PopupWindowProperties o) {
+ buildCounterPopupWindowProperties++;
+ if (buildCounterPopupWindowProperties < 3) {
+ checkSize(o.dimension);
+ checkOffsetPosition(o.offset);
+ unittest.expect(o.positionType, unittest.equals('foo'));
+ unittest.expect(o.showAddressBar, unittest.isTrue);
+ unittest.expect(o.showMenuBar, unittest.isTrue);
+ unittest.expect(o.showScrollBar, unittest.isTrue);
+ unittest.expect(o.showStatusBar, unittest.isTrue);
+ unittest.expect(o.showToolBar, unittest.isTrue);
+ unittest.expect(o.title, unittest.equals('foo'));
+ }
+ buildCounterPopupWindowProperties--;
+}
+
+core.int buildCounterPostalCode = 0;
+buildPostalCode() {
+ var o = new api.PostalCode();
+ buildCounterPostalCode++;
+ if (buildCounterPostalCode < 3) {
+ o.code = "foo";
+ o.countryCode = "foo";
+ o.countryDartId = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ }
+ buildCounterPostalCode--;
+ return o;
+}
+
+checkPostalCode(api.PostalCode o) {
+ buildCounterPostalCode++;
+ if (buildCounterPostalCode < 3) {
+ unittest.expect(o.code, unittest.equals('foo'));
+ unittest.expect(o.countryCode, unittest.equals('foo'));
+ unittest.expect(o.countryDartId, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterPostalCode--;
+}
+
+buildUnnamed2790() {
+ var o = new core.List<api.PostalCode>();
+ o.add(buildPostalCode());
+ o.add(buildPostalCode());
+ return o;
+}
+
+checkUnnamed2790(core.List<api.PostalCode> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPostalCode(o[0]);
+ checkPostalCode(o[1]);
+}
+
+core.int buildCounterPostalCodesListResponse = 0;
+buildPostalCodesListResponse() {
+ var o = new api.PostalCodesListResponse();
+ buildCounterPostalCodesListResponse++;
+ if (buildCounterPostalCodesListResponse < 3) {
+ o.kind = "foo";
+ o.postalCodes = buildUnnamed2790();
+ }
+ buildCounterPostalCodesListResponse--;
+ return o;
+}
+
+checkPostalCodesListResponse(api.PostalCodesListResponse o) {
+ buildCounterPostalCodesListResponse++;
+ if (buildCounterPostalCodesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2790(o.postalCodes);
+ }
+ buildCounterPostalCodesListResponse--;
+}
+
+buildUnnamed2791() {
+ var o = new core.List<api.Flight>();
+ o.add(buildFlight());
+ o.add(buildFlight());
+ return o;
+}
+
+checkUnnamed2791(core.List<api.Flight> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFlight(o[0]);
+ checkFlight(o[1]);
+}
+
+core.int buildCounterPricing = 0;
+buildPricing() {
+ var o = new api.Pricing();
+ buildCounterPricing++;
+ if (buildCounterPricing < 3) {
+ o.capCostType = "foo";
+ o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.flights = buildUnnamed2791();
+ o.groupType = "foo";
+ o.pricingType = "foo";
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ }
+ buildCounterPricing--;
+ return o;
+}
+
+checkPricing(api.Pricing o) {
+ buildCounterPricing++;
+ if (buildCounterPricing < 3) {
+ unittest.expect(o.capCostType, unittest.equals('foo'));
+ unittest.expect(
+ o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ checkUnnamed2791(o.flights);
+ unittest.expect(o.groupType, unittest.equals('foo'));
+ unittest.expect(o.pricingType, unittest.equals('foo'));
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ }
+ buildCounterPricing--;
+}
+
+buildUnnamed2792() {
+ var o = new core.List<api.PricingSchedulePricingPeriod>();
+ o.add(buildPricingSchedulePricingPeriod());
+ o.add(buildPricingSchedulePricingPeriod());
+ return o;
+}
+
+checkUnnamed2792(core.List<api.PricingSchedulePricingPeriod> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPricingSchedulePricingPeriod(o[0]);
+ checkPricingSchedulePricingPeriod(o[1]);
+}
+
+core.int buildCounterPricingSchedule = 0;
+buildPricingSchedule() {
+ var o = new api.PricingSchedule();
+ buildCounterPricingSchedule++;
+ if (buildCounterPricingSchedule < 3) {
+ o.capCostOption = "foo";
+ o.disregardOverdelivery = true;
+ o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.flighted = true;
+ o.floodlightActivityId = "foo";
+ o.pricingPeriods = buildUnnamed2792();
+ o.pricingType = "foo";
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ }
+ buildCounterPricingSchedule--;
+ return o;
+}
+
+checkPricingSchedule(api.PricingSchedule o) {
+ buildCounterPricingSchedule++;
+ if (buildCounterPricingSchedule < 3) {
+ unittest.expect(o.capCostOption, unittest.equals('foo'));
+ unittest.expect(o.disregardOverdelivery, unittest.isTrue);
+ unittest.expect(
+ o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.flighted, unittest.isTrue);
+ unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
+ checkUnnamed2792(o.pricingPeriods);
+ unittest.expect(o.pricingType, unittest.equals('foo'));
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.testingStartDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ }
+ buildCounterPricingSchedule--;
+}
+
+core.int buildCounterPricingSchedulePricingPeriod = 0;
+buildPricingSchedulePricingPeriod() {
+ var o = new api.PricingSchedulePricingPeriod();
+ buildCounterPricingSchedulePricingPeriod++;
+ if (buildCounterPricingSchedulePricingPeriod < 3) {
+ o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.pricingComment = "foo";
+ o.rateOrCostNanos = "foo";
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.units = "foo";
+ }
+ buildCounterPricingSchedulePricingPeriod--;
+ return o;
+}
+
+checkPricingSchedulePricingPeriod(api.PricingSchedulePricingPeriod o) {
+ buildCounterPricingSchedulePricingPeriod++;
+ if (buildCounterPricingSchedulePricingPeriod < 3) {
+ unittest.expect(
+ o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.pricingComment, unittest.equals('foo'));
+ unittest.expect(o.rateOrCostNanos, unittest.equals('foo'));
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.units, unittest.equals('foo'));
+ }
+ buildCounterPricingSchedulePricingPeriod--;
+}
+
+core.int buildCounterProject = 0;
+buildProject() {
+ var o = new api.Project();
+ buildCounterProject++;
+ if (buildCounterProject < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.audienceAgeGroup = "foo";
+ o.audienceGender = "foo";
+ o.budget = "foo";
+ o.clientBillingCode = "foo";
+ o.clientName = "foo";
+ o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.id = "foo";
+ o.kind = "foo";
+ o.lastModifiedInfo = buildLastModifiedInfo();
+ o.name = "foo";
+ o.overview = "foo";
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.subaccountId = "foo";
+ o.targetClicks = "foo";
+ o.targetConversions = "foo";
+ o.targetCpaNanos = "foo";
+ o.targetCpcNanos = "foo";
+ o.targetCpmActiveViewNanos = "foo";
+ o.targetCpmNanos = "foo";
+ o.targetImpressions = "foo";
+ }
+ buildCounterProject--;
+ return o;
+}
+
+checkProject(api.Project o) {
+ buildCounterProject++;
+ if (buildCounterProject < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ unittest.expect(o.audienceAgeGroup, unittest.equals('foo'));
+ unittest.expect(o.audienceGender, unittest.equals('foo'));
+ unittest.expect(o.budget, unittest.equals('foo'));
+ unittest.expect(o.clientBillingCode, unittest.equals('foo'));
+ unittest.expect(o.clientName, unittest.equals('foo'));
+ unittest.expect(
+ o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLastModifiedInfo(o.lastModifiedInfo);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.overview, unittest.equals('foo'));
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ unittest.expect(o.targetClicks, unittest.equals('foo'));
+ unittest.expect(o.targetConversions, unittest.equals('foo'));
+ unittest.expect(o.targetCpaNanos, unittest.equals('foo'));
+ unittest.expect(o.targetCpcNanos, unittest.equals('foo'));
+ unittest.expect(o.targetCpmActiveViewNanos, unittest.equals('foo'));
+ unittest.expect(o.targetCpmNanos, unittest.equals('foo'));
+ unittest.expect(o.targetImpressions, unittest.equals('foo'));
+ }
+ buildCounterProject--;
+}
+
+buildUnnamed2793() {
+ var o = new core.List<api.Project>();
+ o.add(buildProject());
+ o.add(buildProject());
+ return o;
+}
+
+checkUnnamed2793(core.List<api.Project> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProject(o[0]);
+ checkProject(o[1]);
+}
+
+core.int buildCounterProjectsListResponse = 0;
+buildProjectsListResponse() {
+ var o = new api.ProjectsListResponse();
+ buildCounterProjectsListResponse++;
+ if (buildCounterProjectsListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.projects = buildUnnamed2793();
+ }
+ buildCounterProjectsListResponse--;
+ return o;
+}
+
+checkProjectsListResponse(api.ProjectsListResponse o) {
+ buildCounterProjectsListResponse++;
+ if (buildCounterProjectsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2793(o.projects);
+ }
+ buildCounterProjectsListResponse--;
+}
+
+buildUnnamed2794() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2794(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2795() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2795(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2796() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2796(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+buildUnnamed2797() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2797(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+buildUnnamed2798() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2798(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+core.int buildCounterReachReportCompatibleFields = 0;
+buildReachReportCompatibleFields() {
+ var o = new api.ReachReportCompatibleFields();
+ buildCounterReachReportCompatibleFields++;
+ if (buildCounterReachReportCompatibleFields < 3) {
+ o.dimensionFilters = buildUnnamed2794();
+ o.dimensions = buildUnnamed2795();
+ o.kind = "foo";
+ o.metrics = buildUnnamed2796();
+ o.pivotedActivityMetrics = buildUnnamed2797();
+ o.reachByFrequencyMetrics = buildUnnamed2798();
+ }
+ buildCounterReachReportCompatibleFields--;
+ return o;
+}
+
+checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
+ buildCounterReachReportCompatibleFields++;
+ if (buildCounterReachReportCompatibleFields < 3) {
+ checkUnnamed2794(o.dimensionFilters);
+ checkUnnamed2795(o.dimensions);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2796(o.metrics);
+ checkUnnamed2797(o.pivotedActivityMetrics);
+ checkUnnamed2798(o.reachByFrequencyMetrics);
+ }
+ buildCounterReachReportCompatibleFields--;
+}
+
+core.int buildCounterRecipient = 0;
+buildRecipient() {
+ var o = new api.Recipient();
+ buildCounterRecipient++;
+ if (buildCounterRecipient < 3) {
+ o.deliveryType = "foo";
+ o.email = "foo";
+ o.kind = "foo";
+ }
+ buildCounterRecipient--;
+ return o;
+}
+
+checkRecipient(api.Recipient o) {
+ buildCounterRecipient++;
+ if (buildCounterRecipient < 3) {
+ unittest.expect(o.deliveryType, unittest.equals('foo'));
+ unittest.expect(o.email, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterRecipient--;
+}
+
+core.int buildCounterRegion = 0;
+buildRegion() {
+ var o = new api.Region();
+ buildCounterRegion++;
+ if (buildCounterRegion < 3) {
+ o.countryCode = "foo";
+ o.countryDartId = "foo";
+ o.dartId = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.regionCode = "foo";
+ }
+ buildCounterRegion--;
+ return o;
+}
+
+checkRegion(api.Region o) {
+ buildCounterRegion++;
+ if (buildCounterRegion < 3) {
+ unittest.expect(o.countryCode, unittest.equals('foo'));
+ unittest.expect(o.countryDartId, unittest.equals('foo'));
+ unittest.expect(o.dartId, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.regionCode, unittest.equals('foo'));
+ }
+ buildCounterRegion--;
+}
+
+buildUnnamed2799() {
+ var o = new core.List<api.Region>();
+ o.add(buildRegion());
+ o.add(buildRegion());
+ return o;
+}
+
+checkUnnamed2799(core.List<api.Region> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRegion(o[0]);
+ checkRegion(o[1]);
+}
+
+core.int buildCounterRegionsListResponse = 0;
+buildRegionsListResponse() {
+ var o = new api.RegionsListResponse();
+ buildCounterRegionsListResponse++;
+ if (buildCounterRegionsListResponse < 3) {
+ o.kind = "foo";
+ o.regions = buildUnnamed2799();
+ }
+ buildCounterRegionsListResponse--;
+ return o;
+}
+
+checkRegionsListResponse(api.RegionsListResponse o) {
+ buildCounterRegionsListResponse++;
+ if (buildCounterRegionsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2799(o.regions);
+ }
+ buildCounterRegionsListResponse--;
+}
+
+core.int buildCounterRemarketingList = 0;
+buildRemarketingList() {
+ var o = new api.RemarketingList();
+ buildCounterRemarketingList++;
+ if (buildCounterRemarketingList < 3) {
+ o.accountId = "foo";
+ o.active = true;
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.description = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.lifeSpan = "foo";
+ o.listPopulationRule = buildListPopulationRule();
+ o.listSize = "foo";
+ o.listSource = "foo";
+ o.name = "foo";
+ o.subaccountId = "foo";
+ }
+ buildCounterRemarketingList--;
+ return o;
+}
+
+checkRemarketingList(api.RemarketingList o) {
+ buildCounterRemarketingList++;
+ if (buildCounterRemarketingList < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.lifeSpan, unittest.equals('foo'));
+ checkListPopulationRule(o.listPopulationRule);
+ unittest.expect(o.listSize, unittest.equals('foo'));
+ unittest.expect(o.listSource, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ }
+ buildCounterRemarketingList--;
+}
+
+buildUnnamed2800() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2800(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'));
+}
+
+buildUnnamed2801() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2801(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 buildCounterRemarketingListShare = 0;
+buildRemarketingListShare() {
+ var o = new api.RemarketingListShare();
+ buildCounterRemarketingListShare++;
+ if (buildCounterRemarketingListShare < 3) {
+ o.kind = "foo";
+ o.remarketingListId = "foo";
+ o.sharedAccountIds = buildUnnamed2800();
+ o.sharedAdvertiserIds = buildUnnamed2801();
+ }
+ buildCounterRemarketingListShare--;
+ return o;
+}
+
+checkRemarketingListShare(api.RemarketingListShare o) {
+ buildCounterRemarketingListShare++;
+ if (buildCounterRemarketingListShare < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.remarketingListId, unittest.equals('foo'));
+ checkUnnamed2800(o.sharedAccountIds);
+ checkUnnamed2801(o.sharedAdvertiserIds);
+ }
+ buildCounterRemarketingListShare--;
+}
+
+buildUnnamed2802() {
+ var o = new core.List<api.RemarketingList>();
+ o.add(buildRemarketingList());
+ o.add(buildRemarketingList());
+ return o;
+}
+
+checkUnnamed2802(core.List<api.RemarketingList> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRemarketingList(o[0]);
+ checkRemarketingList(o[1]);
+}
+
+core.int buildCounterRemarketingListsListResponse = 0;
+buildRemarketingListsListResponse() {
+ var o = new api.RemarketingListsListResponse();
+ buildCounterRemarketingListsListResponse++;
+ if (buildCounterRemarketingListsListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.remarketingLists = buildUnnamed2802();
+ }
+ buildCounterRemarketingListsListResponse--;
+ return o;
+}
+
+checkRemarketingListsListResponse(api.RemarketingListsListResponse o) {
+ buildCounterRemarketingListsListResponse++;
+ if (buildCounterRemarketingListsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2802(o.remarketingLists);
+ }
+ buildCounterRemarketingListsListResponse--;
+}
+
+buildUnnamed2803() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2803(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+buildUnnamed2804() {
+ var o = new core.List<api.SortedDimension>();
+ o.add(buildSortedDimension());
+ o.add(buildSortedDimension());
+ return o;
+}
+
+checkUnnamed2804(core.List<api.SortedDimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSortedDimension(o[0]);
+ checkSortedDimension(o[1]);
+}
+
+buildUnnamed2805() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2805(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 buildCounterReportCriteria = 0;
+buildReportCriteria() {
+ var o = new api.ReportCriteria();
+ buildCounterReportCriteria++;
+ if (buildCounterReportCriteria < 3) {
+ o.activities = buildActivities();
+ o.customRichMediaEvents = buildCustomRichMediaEvents();
+ o.dateRange = buildDateRange();
+ o.dimensionFilters = buildUnnamed2803();
+ o.dimensions = buildUnnamed2804();
+ o.metricNames = buildUnnamed2805();
+ }
+ buildCounterReportCriteria--;
+ return o;
+}
+
+checkReportCriteria(api.ReportCriteria o) {
+ buildCounterReportCriteria++;
+ if (buildCounterReportCriteria < 3) {
+ checkActivities(o.activities);
+ checkCustomRichMediaEvents(o.customRichMediaEvents);
+ checkDateRange(o.dateRange);
+ checkUnnamed2803(o.dimensionFilters);
+ checkUnnamed2804(o.dimensions);
+ checkUnnamed2805(o.metricNames);
+ }
+ buildCounterReportCriteria--;
+}
+
+buildUnnamed2806() {
+ var o = new core.List<api.SortedDimension>();
+ o.add(buildSortedDimension());
+ o.add(buildSortedDimension());
+ return o;
+}
+
+checkUnnamed2806(core.List<api.SortedDimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSortedDimension(o[0]);
+ checkSortedDimension(o[1]);
+}
+
+buildUnnamed2807() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2807(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+buildUnnamed2808() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2808(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'));
+}
+
+buildUnnamed2809() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2809(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 buildCounterReportCrossDimensionReachCriteria = 0;
+buildReportCrossDimensionReachCriteria() {
+ var o = new api.ReportCrossDimensionReachCriteria();
+ buildCounterReportCrossDimensionReachCriteria++;
+ if (buildCounterReportCrossDimensionReachCriteria < 3) {
+ o.breakdown = buildUnnamed2806();
+ o.dateRange = buildDateRange();
+ o.dimension = "foo";
+ o.dimensionFilters = buildUnnamed2807();
+ o.metricNames = buildUnnamed2808();
+ o.overlapMetricNames = buildUnnamed2809();
+ o.pivoted = true;
+ }
+ buildCounterReportCrossDimensionReachCriteria--;
+ return o;
+}
+
+checkReportCrossDimensionReachCriteria(
+ api.ReportCrossDimensionReachCriteria o) {
+ buildCounterReportCrossDimensionReachCriteria++;
+ if (buildCounterReportCrossDimensionReachCriteria < 3) {
+ checkUnnamed2806(o.breakdown);
+ checkDateRange(o.dateRange);
+ unittest.expect(o.dimension, unittest.equals('foo'));
+ checkUnnamed2807(o.dimensionFilters);
+ checkUnnamed2808(o.metricNames);
+ checkUnnamed2809(o.overlapMetricNames);
+ unittest.expect(o.pivoted, unittest.isTrue);
+ }
+ buildCounterReportCrossDimensionReachCriteria--;
+}
+
+buildUnnamed2810() {
+ var o = new core.List<api.Recipient>();
+ o.add(buildRecipient());
+ o.add(buildRecipient());
+ return o;
+}
+
+checkUnnamed2810(core.List<api.Recipient> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRecipient(o[0]);
+ checkRecipient(o[1]);
+}
+
+core.int buildCounterReportDelivery = 0;
+buildReportDelivery() {
+ var o = new api.ReportDelivery();
+ buildCounterReportDelivery++;
+ if (buildCounterReportDelivery < 3) {
+ o.emailOwner = true;
+ o.emailOwnerDeliveryType = "foo";
+ o.message = "foo";
+ o.recipients = buildUnnamed2810();
+ }
+ buildCounterReportDelivery--;
+ return o;
+}
+
+checkReportDelivery(api.ReportDelivery o) {
+ buildCounterReportDelivery++;
+ if (buildCounterReportDelivery < 3) {
+ unittest.expect(o.emailOwner, unittest.isTrue);
+ unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
+ unittest.expect(o.message, unittest.equals('foo'));
+ checkUnnamed2810(o.recipients);
+ }
+ buildCounterReportDelivery--;
+}
+
+buildUnnamed2811() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2811(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+buildUnnamed2812() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2812(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+buildUnnamed2813() {
+ var o = new core.List<api.SortedDimension>();
+ o.add(buildSortedDimension());
+ o.add(buildSortedDimension());
+ return o;
+}
+
+checkUnnamed2813(core.List<api.SortedDimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSortedDimension(o[0]);
+ checkSortedDimension(o[1]);
+}
+
+buildUnnamed2814() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2814(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 buildCounterReportFloodlightCriteriaReportProperties = 0;
+buildReportFloodlightCriteriaReportProperties() {
+ var o = new api.ReportFloodlightCriteriaReportProperties();
+ buildCounterReportFloodlightCriteriaReportProperties++;
+ if (buildCounterReportFloodlightCriteriaReportProperties < 3) {
+ o.includeAttributedIPConversions = true;
+ o.includeUnattributedCookieConversions = true;
+ o.includeUnattributedIPConversions = true;
+ }
+ buildCounterReportFloodlightCriteriaReportProperties--;
+ return o;
+}
+
+checkReportFloodlightCriteriaReportProperties(
+ api.ReportFloodlightCriteriaReportProperties o) {
+ buildCounterReportFloodlightCriteriaReportProperties++;
+ if (buildCounterReportFloodlightCriteriaReportProperties < 3) {
+ unittest.expect(o.includeAttributedIPConversions, unittest.isTrue);
+ unittest.expect(o.includeUnattributedCookieConversions, unittest.isTrue);
+ unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue);
+ }
+ buildCounterReportFloodlightCriteriaReportProperties--;
+}
+
+core.int buildCounterReportFloodlightCriteria = 0;
+buildReportFloodlightCriteria() {
+ var o = new api.ReportFloodlightCriteria();
+ buildCounterReportFloodlightCriteria++;
+ if (buildCounterReportFloodlightCriteria < 3) {
+ o.customRichMediaEvents = buildUnnamed2811();
+ o.dateRange = buildDateRange();
+ o.dimensionFilters = buildUnnamed2812();
+ o.dimensions = buildUnnamed2813();
+ o.floodlightConfigId = buildDimensionValue();
+ o.metricNames = buildUnnamed2814();
+ o.reportProperties = buildReportFloodlightCriteriaReportProperties();
+ }
+ buildCounterReportFloodlightCriteria--;
+ return o;
+}
+
+checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
+ buildCounterReportFloodlightCriteria++;
+ if (buildCounterReportFloodlightCriteria < 3) {
+ checkUnnamed2811(o.customRichMediaEvents);
+ checkDateRange(o.dateRange);
+ checkUnnamed2812(o.dimensionFilters);
+ checkUnnamed2813(o.dimensions);
+ checkDimensionValue(o.floodlightConfigId);
+ checkUnnamed2814(o.metricNames);
+ checkReportFloodlightCriteriaReportProperties(o.reportProperties);
+ }
+ buildCounterReportFloodlightCriteria--;
+}
+
+buildUnnamed2815() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2815(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+buildUnnamed2816() {
+ var o = new core.List<api.SortedDimension>();
+ o.add(buildSortedDimension());
+ o.add(buildSortedDimension());
+ return o;
+}
+
+checkUnnamed2816(core.List<api.SortedDimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSortedDimension(o[0]);
+ checkSortedDimension(o[1]);
+}
+
+buildUnnamed2817() {
+ var o = new core.List<api.SortedDimension>();
+ o.add(buildSortedDimension());
+ o.add(buildSortedDimension());
+ return o;
+}
+
+checkUnnamed2817(core.List<api.SortedDimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSortedDimension(o[0]);
+ checkSortedDimension(o[1]);
+}
+
+buildUnnamed2818() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2818(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+buildUnnamed2819() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2819(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'));
+}
+
+buildUnnamed2820() {
+ var o = new core.List<api.SortedDimension>();
+ o.add(buildSortedDimension());
+ o.add(buildSortedDimension());
+ return o;
+}
+
+checkUnnamed2820(core.List<api.SortedDimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSortedDimension(o[0]);
+ checkSortedDimension(o[1]);
+}
+
+core.int buildCounterReportPathToConversionCriteriaReportProperties = 0;
+buildReportPathToConversionCriteriaReportProperties() {
+ var o = new api.ReportPathToConversionCriteriaReportProperties();
+ buildCounterReportPathToConversionCriteriaReportProperties++;
+ if (buildCounterReportPathToConversionCriteriaReportProperties < 3) {
+ o.clicksLookbackWindow = 42;
+ o.impressionsLookbackWindow = 42;
+ o.includeAttributedIPConversions = true;
+ o.includeUnattributedCookieConversions = true;
+ o.includeUnattributedIPConversions = true;
+ o.maximumClickInteractions = 42;
+ o.maximumImpressionInteractions = 42;
+ o.maximumInteractionGap = 42;
+ o.pivotOnInteractionPath = true;
+ }
+ buildCounterReportPathToConversionCriteriaReportProperties--;
+ return o;
+}
+
+checkReportPathToConversionCriteriaReportProperties(
+ api.ReportPathToConversionCriteriaReportProperties o) {
+ buildCounterReportPathToConversionCriteriaReportProperties++;
+ if (buildCounterReportPathToConversionCriteriaReportProperties < 3) {
+ unittest.expect(o.clicksLookbackWindow, unittest.equals(42));
+ unittest.expect(o.impressionsLookbackWindow, unittest.equals(42));
+ unittest.expect(o.includeAttributedIPConversions, unittest.isTrue);
+ unittest.expect(o.includeUnattributedCookieConversions, unittest.isTrue);
+ unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue);
+ unittest.expect(o.maximumClickInteractions, unittest.equals(42));
+ unittest.expect(o.maximumImpressionInteractions, unittest.equals(42));
+ unittest.expect(o.maximumInteractionGap, unittest.equals(42));
+ unittest.expect(o.pivotOnInteractionPath, unittest.isTrue);
+ }
+ buildCounterReportPathToConversionCriteriaReportProperties--;
+}
+
+core.int buildCounterReportPathToConversionCriteria = 0;
+buildReportPathToConversionCriteria() {
+ var o = new api.ReportPathToConversionCriteria();
+ buildCounterReportPathToConversionCriteria++;
+ if (buildCounterReportPathToConversionCriteria < 3) {
+ o.activityFilters = buildUnnamed2815();
+ o.conversionDimensions = buildUnnamed2816();
+ o.customFloodlightVariables = buildUnnamed2817();
+ o.customRichMediaEvents = buildUnnamed2818();
+ o.dateRange = buildDateRange();
+ o.floodlightConfigId = buildDimensionValue();
+ o.metricNames = buildUnnamed2819();
+ o.perInteractionDimensions = buildUnnamed2820();
+ o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
+ }
+ buildCounterReportPathToConversionCriteria--;
+ return o;
+}
+
+checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
+ buildCounterReportPathToConversionCriteria++;
+ if (buildCounterReportPathToConversionCriteria < 3) {
+ checkUnnamed2815(o.activityFilters);
+ checkUnnamed2816(o.conversionDimensions);
+ checkUnnamed2817(o.customFloodlightVariables);
+ checkUnnamed2818(o.customRichMediaEvents);
+ checkDateRange(o.dateRange);
+ checkDimensionValue(o.floodlightConfigId);
+ checkUnnamed2819(o.metricNames);
+ checkUnnamed2820(o.perInteractionDimensions);
+ checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
+ }
+ buildCounterReportPathToConversionCriteria--;
+}
+
+buildUnnamed2821() {
+ var o = new core.List<api.DimensionValue>();
+ o.add(buildDimensionValue());
+ o.add(buildDimensionValue());
+ return o;
+}
+
+checkUnnamed2821(core.List<api.DimensionValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimensionValue(o[0]);
+ checkDimensionValue(o[1]);
+}
+
+buildUnnamed2822() {
+ var o = new core.List<api.SortedDimension>();
+ o.add(buildSortedDimension());
+ o.add(buildSortedDimension());
+ return o;
+}
+
+checkUnnamed2822(core.List<api.SortedDimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSortedDimension(o[0]);
+ checkSortedDimension(o[1]);
+}
+
+buildUnnamed2823() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2823(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'));
+}
+
+buildUnnamed2824() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2824(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 buildCounterReportReachCriteria = 0;
+buildReportReachCriteria() {
+ var o = new api.ReportReachCriteria();
+ buildCounterReportReachCriteria++;
+ if (buildCounterReportReachCriteria < 3) {
+ o.activities = buildActivities();
+ o.customRichMediaEvents = buildCustomRichMediaEvents();
+ o.dateRange = buildDateRange();
+ o.dimensionFilters = buildUnnamed2821();
+ o.dimensions = buildUnnamed2822();
+ o.enableAllDimensionCombinations = true;
+ o.metricNames = buildUnnamed2823();
+ o.reachByFrequencyMetricNames = buildUnnamed2824();
+ }
+ buildCounterReportReachCriteria--;
+ return o;
+}
+
+checkReportReachCriteria(api.ReportReachCriteria o) {
+ buildCounterReportReachCriteria++;
+ if (buildCounterReportReachCriteria < 3) {
+ checkActivities(o.activities);
+ checkCustomRichMediaEvents(o.customRichMediaEvents);
+ checkDateRange(o.dateRange);
+ checkUnnamed2821(o.dimensionFilters);
+ checkUnnamed2822(o.dimensions);
+ unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
+ checkUnnamed2823(o.metricNames);
+ checkUnnamed2824(o.reachByFrequencyMetricNames);
+ }
+ buildCounterReportReachCriteria--;
+}
+
+buildUnnamed2825() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2825(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 buildCounterReportSchedule = 0;
+buildReportSchedule() {
+ var o = new api.ReportSchedule();
+ buildCounterReportSchedule++;
+ if (buildCounterReportSchedule < 3) {
+ o.active = true;
+ o.every = 42;
+ o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ o.repeats = "foo";
+ o.repeatsOnWeekDays = buildUnnamed2825();
+ o.runsOnDayOfMonth = "foo";
+ o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
+ }
+ buildCounterReportSchedule--;
+ return o;
+}
+
+checkReportSchedule(api.ReportSchedule o) {
+ buildCounterReportSchedule++;
+ if (buildCounterReportSchedule < 3) {
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.every, unittest.equals(42));
+ unittest.expect(o.expirationDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ unittest.expect(o.repeats, unittest.equals('foo'));
+ checkUnnamed2825(o.repeatsOnWeekDays);
+ unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
+ unittest.expect(o.startDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
+ }
+ buildCounterReportSchedule--;
+}
+
+core.int buildCounterReport = 0;
+buildReport() {
+ var o = new api.Report();
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ o.accountId = "foo";
+ o.criteria = buildReportCriteria();
+ o.crossDimensionReachCriteria = buildReportCrossDimensionReachCriteria();
+ o.delivery = buildReportDelivery();
+ o.etag = "foo";
+ o.fileName = "foo";
+ o.floodlightCriteria = buildReportFloodlightCriteria();
+ o.format = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.lastModifiedTime = "foo";
+ o.name = "foo";
+ o.ownerProfileId = "foo";
+ o.pathToConversionCriteria = buildReportPathToConversionCriteria();
+ o.reachCriteria = buildReportReachCriteria();
+ o.schedule = buildReportSchedule();
+ o.subAccountId = "foo";
+ o.type = "foo";
+ }
+ buildCounterReport--;
+ return o;
+}
+
+checkReport(api.Report o) {
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ checkReportCriteria(o.criteria);
+ checkReportCrossDimensionReachCriteria(o.crossDimensionReachCriteria);
+ checkReportDelivery(o.delivery);
+ unittest.expect(o.etag, unittest.equals('foo'));
+ unittest.expect(o.fileName, unittest.equals('foo'));
+ checkReportFloodlightCriteria(o.floodlightCriteria);
+ unittest.expect(o.format, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.ownerProfileId, unittest.equals('foo'));
+ checkReportPathToConversionCriteria(o.pathToConversionCriteria);
+ checkReportReachCriteria(o.reachCriteria);
+ checkReportSchedule(o.schedule);
+ unittest.expect(o.subAccountId, unittest.equals('foo'));
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterReport--;
+}
+
+buildUnnamed2826() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2826(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2827() {
+ var o = new core.List<api.Dimension>();
+ o.add(buildDimension());
+ o.add(buildDimension());
+ return o;
+}
+
+checkUnnamed2827(core.List<api.Dimension> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDimension(o[0]);
+ checkDimension(o[1]);
+}
+
+buildUnnamed2828() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2828(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+buildUnnamed2829() {
+ var o = new core.List<api.Metric>();
+ o.add(buildMetric());
+ o.add(buildMetric());
+ return o;
+}
+
+checkUnnamed2829(core.List<api.Metric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetric(o[0]);
+ checkMetric(o[1]);
+}
+
+core.int buildCounterReportCompatibleFields = 0;
+buildReportCompatibleFields() {
+ var o = new api.ReportCompatibleFields();
+ buildCounterReportCompatibleFields++;
+ if (buildCounterReportCompatibleFields < 3) {
+ o.dimensionFilters = buildUnnamed2826();
+ o.dimensions = buildUnnamed2827();
+ o.kind = "foo";
+ o.metrics = buildUnnamed2828();
+ o.pivotedActivityMetrics = buildUnnamed2829();
+ }
+ buildCounterReportCompatibleFields--;
+ return o;
+}
+
+checkReportCompatibleFields(api.ReportCompatibleFields o) {
+ buildCounterReportCompatibleFields++;
+ if (buildCounterReportCompatibleFields < 3) {
+ checkUnnamed2826(o.dimensionFilters);
+ checkUnnamed2827(o.dimensions);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2828(o.metrics);
+ checkUnnamed2829(o.pivotedActivityMetrics);
+ }
+ buildCounterReportCompatibleFields--;
+}
+
+buildUnnamed2830() {
+ var o = new core.List<api.Report>();
+ o.add(buildReport());
+ o.add(buildReport());
+ return o;
+}
+
+checkUnnamed2830(core.List<api.Report> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReport(o[0]);
+ checkReport(o[1]);
+}
+
+core.int buildCounterReportList = 0;
+buildReportList() {
+ var o = new api.ReportList();
+ buildCounterReportList++;
+ if (buildCounterReportList < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed2830();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterReportList--;
+ return o;
+}
+
+checkReportList(api.ReportList o) {
+ buildCounterReportList++;
+ if (buildCounterReportList < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed2830(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterReportList--;
+}
+
+core.int buildCounterReportsConfiguration = 0;
+buildReportsConfiguration() {
+ var o = new api.ReportsConfiguration();
+ buildCounterReportsConfiguration++;
+ if (buildCounterReportsConfiguration < 3) {
+ o.exposureToConversionEnabled = true;
+ o.lookbackConfiguration = buildLookbackConfiguration();
+ o.reportGenerationTimeZoneId = "foo";
+ }
+ buildCounterReportsConfiguration--;
+ return o;
+}
+
+checkReportsConfiguration(api.ReportsConfiguration o) {
+ buildCounterReportsConfiguration++;
+ if (buildCounterReportsConfiguration < 3) {
+ unittest.expect(o.exposureToConversionEnabled, unittest.isTrue);
+ checkLookbackConfiguration(o.lookbackConfiguration);
+ unittest.expect(o.reportGenerationTimeZoneId, unittest.equals('foo'));
+ }
+ buildCounterReportsConfiguration--;
+}
+
+core.int buildCounterRichMediaExitOverride = 0;
+buildRichMediaExitOverride() {
+ var o = new api.RichMediaExitOverride();
+ buildCounterRichMediaExitOverride++;
+ if (buildCounterRichMediaExitOverride < 3) {
+ o.clickThroughUrl = buildClickThroughUrl();
+ o.enabled = true;
+ o.exitId = "foo";
+ }
+ buildCounterRichMediaExitOverride--;
+ return o;
+}
+
+checkRichMediaExitOverride(api.RichMediaExitOverride o) {
+ buildCounterRichMediaExitOverride++;
+ if (buildCounterRichMediaExitOverride < 3) {
+ checkClickThroughUrl(o.clickThroughUrl);
+ unittest.expect(o.enabled, unittest.isTrue);
+ unittest.expect(o.exitId, unittest.equals('foo'));
+ }
+ buildCounterRichMediaExitOverride--;
+}
+
+core.int buildCounterRule = 0;
+buildRule() {
+ var o = new api.Rule();
+ buildCounterRule++;
+ if (buildCounterRule < 3) {
+ o.assetId = "foo";
+ o.name = "foo";
+ o.targetingTemplateId = "foo";
+ }
+ buildCounterRule--;
+ return o;
+}
+
+checkRule(api.Rule o) {
+ buildCounterRule++;
+ if (buildCounterRule < 3) {
+ unittest.expect(o.assetId, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.targetingTemplateId, unittest.equals('foo'));
+ }
+ buildCounterRule--;
+}
+
+buildUnnamed2831() {
+ var o = new core.List<api.SiteContact>();
+ o.add(buildSiteContact());
+ o.add(buildSiteContact());
+ return o;
+}
+
+checkUnnamed2831(core.List<api.SiteContact> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSiteContact(o[0]);
+ checkSiteContact(o[1]);
+}
+
+core.int buildCounterSite = 0;
+buildSite() {
+ var o = new api.Site();
+ buildCounterSite++;
+ if (buildCounterSite < 3) {
+ o.accountId = "foo";
+ o.approved = true;
+ o.directorySiteId = "foo";
+ o.directorySiteIdDimensionValue = buildDimensionValue();
+ o.id = "foo";
+ o.idDimensionValue = buildDimensionValue();
+ o.keyName = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.siteContacts = buildUnnamed2831();
+ o.siteSettings = buildSiteSettings();
+ o.subaccountId = "foo";
+ }
+ buildCounterSite--;
+ return o;
+}
+
+checkSite(api.Site o) {
+ buildCounterSite++;
+ if (buildCounterSite < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.approved, unittest.isTrue);
+ unittest.expect(o.directorySiteId, unittest.equals('foo'));
+ checkDimensionValue(o.directorySiteIdDimensionValue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkDimensionValue(o.idDimensionValue);
+ unittest.expect(o.keyName, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed2831(o.siteContacts);
+ checkSiteSettings(o.siteSettings);
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ }
+ buildCounterSite--;
+}
+
+core.int buildCounterSiteContact = 0;
+buildSiteContact() {
+ var o = new api.SiteContact();
+ buildCounterSiteContact++;
+ if (buildCounterSiteContact < 3) {
+ o.address = "foo";
+ o.contactType = "foo";
+ o.email = "foo";
+ o.firstName = "foo";
+ o.id = "foo";
+ o.lastName = "foo";
+ o.phone = "foo";
+ o.title = "foo";
+ }
+ buildCounterSiteContact--;
+ return o;
+}
+
+checkSiteContact(api.SiteContact o) {
+ buildCounterSiteContact++;
+ if (buildCounterSiteContact < 3) {
+ unittest.expect(o.address, unittest.equals('foo'));
+ unittest.expect(o.contactType, unittest.equals('foo'));
+ unittest.expect(o.email, unittest.equals('foo'));
+ unittest.expect(o.firstName, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.lastName, unittest.equals('foo'));
+ unittest.expect(o.phone, unittest.equals('foo'));
+ unittest.expect(o.title, unittest.equals('foo'));
+ }
+ buildCounterSiteContact--;
+}
+
+core.int buildCounterSiteSettings = 0;
+buildSiteSettings() {
+ var o = new api.SiteSettings();
+ buildCounterSiteSettings++;
+ if (buildCounterSiteSettings < 3) {
+ o.activeViewOptOut = true;
+ o.adBlockingOptOut = true;
+ o.creativeSettings = buildCreativeSettings();
+ o.disableNewCookie = true;
+ o.lookbackConfiguration = buildLookbackConfiguration();
+ o.tagSetting = buildTagSetting();
+ o.videoActiveViewOptOutTemplate = true;
+ o.vpaidAdapterChoiceTemplate = "foo";
+ }
+ buildCounterSiteSettings--;
+ return o;
+}
+
+checkSiteSettings(api.SiteSettings o) {
+ buildCounterSiteSettings++;
+ if (buildCounterSiteSettings < 3) {
+ unittest.expect(o.activeViewOptOut, unittest.isTrue);
+ unittest.expect(o.adBlockingOptOut, unittest.isTrue);
+ checkCreativeSettings(o.creativeSettings);
+ unittest.expect(o.disableNewCookie, unittest.isTrue);
+ checkLookbackConfiguration(o.lookbackConfiguration);
+ checkTagSetting(o.tagSetting);
+ unittest.expect(o.videoActiveViewOptOutTemplate, unittest.isTrue);
+ unittest.expect(o.vpaidAdapterChoiceTemplate, unittest.equals('foo'));
+ }
+ buildCounterSiteSettings--;
+}
+
+buildUnnamed2832() {
+ var o = new core.List<api.Site>();
+ o.add(buildSite());
+ o.add(buildSite());
+ return o;
+}
+
+checkUnnamed2832(core.List<api.Site> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSite(o[0]);
+ checkSite(o[1]);
+}
+
+core.int buildCounterSitesListResponse = 0;
+buildSitesListResponse() {
+ var o = new api.SitesListResponse();
+ buildCounterSitesListResponse++;
+ if (buildCounterSitesListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.sites = buildUnnamed2832();
+ }
+ buildCounterSitesListResponse--;
+ return o;
+}
+
+checkSitesListResponse(api.SitesListResponse o) {
+ buildCounterSitesListResponse++;
+ if (buildCounterSitesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2832(o.sites);
+ }
+ buildCounterSitesListResponse--;
+}
+
+core.int buildCounterSize = 0;
+buildSize() {
+ var o = new api.Size();
+ buildCounterSize++;
+ if (buildCounterSize < 3) {
+ o.height = 42;
+ o.iab = true;
+ o.id = "foo";
+ o.kind = "foo";
+ o.width = 42;
+ }
+ buildCounterSize--;
+ return o;
+}
+
+checkSize(api.Size o) {
+ buildCounterSize++;
+ if (buildCounterSize < 3) {
+ unittest.expect(o.height, unittest.equals(42));
+ unittest.expect(o.iab, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.width, unittest.equals(42));
+ }
+ buildCounterSize--;
+}
+
+buildUnnamed2833() {
+ var o = new core.List<api.Size>();
+ o.add(buildSize());
+ o.add(buildSize());
+ return o;
+}
+
+checkUnnamed2833(core.List<api.Size> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSize(o[0]);
+ checkSize(o[1]);
+}
+
+core.int buildCounterSizesListResponse = 0;
+buildSizesListResponse() {
+ var o = new api.SizesListResponse();
+ buildCounterSizesListResponse++;
+ if (buildCounterSizesListResponse < 3) {
+ o.kind = "foo";
+ o.sizes = buildUnnamed2833();
+ }
+ buildCounterSizesListResponse--;
+ return o;
+}
+
+checkSizesListResponse(api.SizesListResponse o) {
+ buildCounterSizesListResponse++;
+ if (buildCounterSizesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2833(o.sizes);
+ }
+ buildCounterSizesListResponse--;
+}
+
+core.int buildCounterSkippableSetting = 0;
+buildSkippableSetting() {
+ var o = new api.SkippableSetting();
+ buildCounterSkippableSetting++;
+ if (buildCounterSkippableSetting < 3) {
+ o.kind = "foo";
+ o.progressOffset = buildVideoOffset();
+ o.skipOffset = buildVideoOffset();
+ o.skippable = true;
+ }
+ buildCounterSkippableSetting--;
+ return o;
+}
+
+checkSkippableSetting(api.SkippableSetting o) {
+ buildCounterSkippableSetting++;
+ if (buildCounterSkippableSetting < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkVideoOffset(o.progressOffset);
+ checkVideoOffset(o.skipOffset);
+ unittest.expect(o.skippable, unittest.isTrue);
+ }
+ buildCounterSkippableSetting--;
+}
+
+core.int buildCounterSortedDimension = 0;
+buildSortedDimension() {
+ var o = new api.SortedDimension();
+ buildCounterSortedDimension++;
+ if (buildCounterSortedDimension < 3) {
+ o.kind = "foo";
+ o.name = "foo";
+ o.sortOrder = "foo";
+ }
+ buildCounterSortedDimension--;
+ return o;
+}
+
+checkSortedDimension(api.SortedDimension o) {
+ buildCounterSortedDimension++;
+ if (buildCounterSortedDimension < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.sortOrder, unittest.equals('foo'));
+ }
+ buildCounterSortedDimension--;
+}
+
+buildUnnamed2834() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2834(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 buildCounterSubaccount = 0;
+buildSubaccount() {
+ var o = new api.Subaccount();
+ buildCounterSubaccount++;
+ if (buildCounterSubaccount < 3) {
+ o.accountId = "foo";
+ o.availablePermissionIds = buildUnnamed2834();
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterSubaccount--;
+ return o;
+}
+
+checkSubaccount(api.Subaccount o) {
+ buildCounterSubaccount++;
+ if (buildCounterSubaccount < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ checkUnnamed2834(o.availablePermissionIds);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterSubaccount--;
+}
+
+buildUnnamed2835() {
+ var o = new core.List<api.Subaccount>();
+ o.add(buildSubaccount());
+ o.add(buildSubaccount());
+ return o;
+}
+
+checkUnnamed2835(core.List<api.Subaccount> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSubaccount(o[0]);
+ checkSubaccount(o[1]);
+}
+
+core.int buildCounterSubaccountsListResponse = 0;
+buildSubaccountsListResponse() {
+ var o = new api.SubaccountsListResponse();
+ buildCounterSubaccountsListResponse++;
+ if (buildCounterSubaccountsListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.subaccounts = buildUnnamed2835();
+ }
+ buildCounterSubaccountsListResponse--;
+ return o;
+}
+
+checkSubaccountsListResponse(api.SubaccountsListResponse o) {
+ buildCounterSubaccountsListResponse++;
+ if (buildCounterSubaccountsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2835(o.subaccounts);
+ }
+ buildCounterSubaccountsListResponse--;
+}
+
+core.int buildCounterTagData = 0;
+buildTagData() {
+ var o = new api.TagData();
+ buildCounterTagData++;
+ if (buildCounterTagData < 3) {
+ o.adId = "foo";
+ o.clickTag = "foo";
+ o.creativeId = "foo";
+ o.format = "foo";
+ o.impressionTag = "foo";
+ }
+ buildCounterTagData--;
+ return o;
+}
+
+checkTagData(api.TagData o) {
+ buildCounterTagData++;
+ if (buildCounterTagData < 3) {
+ unittest.expect(o.adId, unittest.equals('foo'));
+ unittest.expect(o.clickTag, unittest.equals('foo'));
+ unittest.expect(o.creativeId, unittest.equals('foo'));
+ unittest.expect(o.format, unittest.equals('foo'));
+ unittest.expect(o.impressionTag, unittest.equals('foo'));
+ }
+ buildCounterTagData--;
+}
+
+core.int buildCounterTagSetting = 0;
+buildTagSetting() {
+ var o = new api.TagSetting();
+ buildCounterTagSetting++;
+ if (buildCounterTagSetting < 3) {
+ o.additionalKeyValues = "foo";
+ o.includeClickThroughUrls = true;
+ o.includeClickTracking = true;
+ o.keywordOption = "foo";
+ }
+ buildCounterTagSetting--;
+ return o;
+}
+
+checkTagSetting(api.TagSetting o) {
+ buildCounterTagSetting++;
+ if (buildCounterTagSetting < 3) {
+ unittest.expect(o.additionalKeyValues, unittest.equals('foo'));
+ unittest.expect(o.includeClickThroughUrls, unittest.isTrue);
+ unittest.expect(o.includeClickTracking, unittest.isTrue);
+ unittest.expect(o.keywordOption, unittest.equals('foo'));
+ }
+ buildCounterTagSetting--;
+}
+
+core.int buildCounterTagSettings = 0;
+buildTagSettings() {
+ var o = new api.TagSettings();
+ buildCounterTagSettings++;
+ if (buildCounterTagSettings < 3) {
+ o.dynamicTagEnabled = true;
+ o.imageTagEnabled = true;
+ }
+ buildCounterTagSettings--;
+ return o;
+}
+
+checkTagSettings(api.TagSettings o) {
+ buildCounterTagSettings++;
+ if (buildCounterTagSettings < 3) {
+ unittest.expect(o.dynamicTagEnabled, unittest.isTrue);
+ unittest.expect(o.imageTagEnabled, unittest.isTrue);
+ }
+ buildCounterTagSettings--;
+}
+
+core.int buildCounterTargetWindow = 0;
+buildTargetWindow() {
+ var o = new api.TargetWindow();
+ buildCounterTargetWindow++;
+ if (buildCounterTargetWindow < 3) {
+ o.customHtml = "foo";
+ o.targetWindowOption = "foo";
+ }
+ buildCounterTargetWindow--;
+ return o;
+}
+
+checkTargetWindow(api.TargetWindow o) {
+ buildCounterTargetWindow++;
+ if (buildCounterTargetWindow < 3) {
+ unittest.expect(o.customHtml, unittest.equals('foo'));
+ unittest.expect(o.targetWindowOption, unittest.equals('foo'));
+ }
+ buildCounterTargetWindow--;
+}
+
+core.int buildCounterTargetableRemarketingList = 0;
+buildTargetableRemarketingList() {
+ var o = new api.TargetableRemarketingList();
+ buildCounterTargetableRemarketingList++;
+ if (buildCounterTargetableRemarketingList < 3) {
+ o.accountId = "foo";
+ o.active = true;
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.description = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.lifeSpan = "foo";
+ o.listSize = "foo";
+ o.listSource = "foo";
+ o.name = "foo";
+ o.subaccountId = "foo";
+ }
+ buildCounterTargetableRemarketingList--;
+ return o;
+}
+
+checkTargetableRemarketingList(api.TargetableRemarketingList o) {
+ buildCounterTargetableRemarketingList++;
+ if (buildCounterTargetableRemarketingList < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.active, unittest.isTrue);
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.lifeSpan, unittest.equals('foo'));
+ unittest.expect(o.listSize, unittest.equals('foo'));
+ unittest.expect(o.listSource, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ }
+ buildCounterTargetableRemarketingList--;
+}
+
+buildUnnamed2836() {
+ var o = new core.List<api.TargetableRemarketingList>();
+ o.add(buildTargetableRemarketingList());
+ o.add(buildTargetableRemarketingList());
+ return o;
+}
+
+checkUnnamed2836(core.List<api.TargetableRemarketingList> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTargetableRemarketingList(o[0]);
+ checkTargetableRemarketingList(o[1]);
+}
+
+core.int buildCounterTargetableRemarketingListsListResponse = 0;
+buildTargetableRemarketingListsListResponse() {
+ var o = new api.TargetableRemarketingListsListResponse();
+ buildCounterTargetableRemarketingListsListResponse++;
+ if (buildCounterTargetableRemarketingListsListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.targetableRemarketingLists = buildUnnamed2836();
+ }
+ buildCounterTargetableRemarketingListsListResponse--;
+ return o;
+}
+
+checkTargetableRemarketingListsListResponse(
+ api.TargetableRemarketingListsListResponse o) {
+ buildCounterTargetableRemarketingListsListResponse++;
+ if (buildCounterTargetableRemarketingListsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2836(o.targetableRemarketingLists);
+ }
+ buildCounterTargetableRemarketingListsListResponse--;
+}
+
+core.int buildCounterTargetingTemplate = 0;
+buildTargetingTemplate() {
+ var o = new api.TargetingTemplate();
+ buildCounterTargetingTemplate++;
+ if (buildCounterTargetingTemplate < 3) {
+ o.accountId = "foo";
+ o.advertiserId = "foo";
+ o.advertiserIdDimensionValue = buildDimensionValue();
+ o.dayPartTargeting = buildDayPartTargeting();
+ o.geoTargeting = buildGeoTargeting();
+ o.id = "foo";
+ o.keyValueTargetingExpression = buildKeyValueTargetingExpression();
+ o.kind = "foo";
+ o.languageTargeting = buildLanguageTargeting();
+ o.listTargetingExpression = buildListTargetingExpression();
+ o.name = "foo";
+ o.subaccountId = "foo";
+ o.technologyTargeting = buildTechnologyTargeting();
+ }
+ buildCounterTargetingTemplate--;
+ return o;
+}
+
+checkTargetingTemplate(api.TargetingTemplate o) {
+ buildCounterTargetingTemplate++;
+ if (buildCounterTargetingTemplate < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.advertiserId, unittest.equals('foo'));
+ checkDimensionValue(o.advertiserIdDimensionValue);
+ checkDayPartTargeting(o.dayPartTargeting);
+ checkGeoTargeting(o.geoTargeting);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkKeyValueTargetingExpression(o.keyValueTargetingExpression);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkLanguageTargeting(o.languageTargeting);
+ checkListTargetingExpression(o.listTargetingExpression);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ checkTechnologyTargeting(o.technologyTargeting);
+ }
+ buildCounterTargetingTemplate--;
+}
+
+buildUnnamed2837() {
+ var o = new core.List<api.TargetingTemplate>();
+ o.add(buildTargetingTemplate());
+ o.add(buildTargetingTemplate());
+ return o;
+}
+
+checkUnnamed2837(core.List<api.TargetingTemplate> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTargetingTemplate(o[0]);
+ checkTargetingTemplate(o[1]);
+}
+
+core.int buildCounterTargetingTemplatesListResponse = 0;
+buildTargetingTemplatesListResponse() {
+ var o = new api.TargetingTemplatesListResponse();
+ buildCounterTargetingTemplatesListResponse++;
+ if (buildCounterTargetingTemplatesListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.targetingTemplates = buildUnnamed2837();
+ }
+ buildCounterTargetingTemplatesListResponse--;
+ return o;
+}
+
+checkTargetingTemplatesListResponse(api.TargetingTemplatesListResponse o) {
+ buildCounterTargetingTemplatesListResponse++;
+ if (buildCounterTargetingTemplatesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2837(o.targetingTemplates);
+ }
+ buildCounterTargetingTemplatesListResponse--;
+}
+
+buildUnnamed2838() {
+ var o = new core.List<api.Browser>();
+ o.add(buildBrowser());
+ o.add(buildBrowser());
+ return o;
+}
+
+checkUnnamed2838(core.List<api.Browser> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBrowser(o[0]);
+ checkBrowser(o[1]);
+}
+
+buildUnnamed2839() {
+ var o = new core.List<api.ConnectionType>();
+ o.add(buildConnectionType());
+ o.add(buildConnectionType());
+ return o;
+}
+
+checkUnnamed2839(core.List<api.ConnectionType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConnectionType(o[0]);
+ checkConnectionType(o[1]);
+}
+
+buildUnnamed2840() {
+ var o = new core.List<api.MobileCarrier>();
+ o.add(buildMobileCarrier());
+ o.add(buildMobileCarrier());
+ return o;
+}
+
+checkUnnamed2840(core.List<api.MobileCarrier> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMobileCarrier(o[0]);
+ checkMobileCarrier(o[1]);
+}
+
+buildUnnamed2841() {
+ var o = new core.List<api.OperatingSystemVersion>();
+ o.add(buildOperatingSystemVersion());
+ o.add(buildOperatingSystemVersion());
+ return o;
+}
+
+checkUnnamed2841(core.List<api.OperatingSystemVersion> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperatingSystemVersion(o[0]);
+ checkOperatingSystemVersion(o[1]);
+}
+
+buildUnnamed2842() {
+ var o = new core.List<api.OperatingSystem>();
+ o.add(buildOperatingSystem());
+ o.add(buildOperatingSystem());
+ return o;
+}
+
+checkUnnamed2842(core.List<api.OperatingSystem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperatingSystem(o[0]);
+ checkOperatingSystem(o[1]);
+}
+
+buildUnnamed2843() {
+ var o = new core.List<api.PlatformType>();
+ o.add(buildPlatformType());
+ o.add(buildPlatformType());
+ return o;
+}
+
+checkUnnamed2843(core.List<api.PlatformType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPlatformType(o[0]);
+ checkPlatformType(o[1]);
+}
+
+core.int buildCounterTechnologyTargeting = 0;
+buildTechnologyTargeting() {
+ var o = new api.TechnologyTargeting();
+ buildCounterTechnologyTargeting++;
+ if (buildCounterTechnologyTargeting < 3) {
+ o.browsers = buildUnnamed2838();
+ o.connectionTypes = buildUnnamed2839();
+ o.mobileCarriers = buildUnnamed2840();
+ o.operatingSystemVersions = buildUnnamed2841();
+ o.operatingSystems = buildUnnamed2842();
+ o.platformTypes = buildUnnamed2843();
+ }
+ buildCounterTechnologyTargeting--;
+ return o;
+}
+
+checkTechnologyTargeting(api.TechnologyTargeting o) {
+ buildCounterTechnologyTargeting++;
+ if (buildCounterTechnologyTargeting < 3) {
+ checkUnnamed2838(o.browsers);
+ checkUnnamed2839(o.connectionTypes);
+ checkUnnamed2840(o.mobileCarriers);
+ checkUnnamed2841(o.operatingSystemVersions);
+ checkUnnamed2842(o.operatingSystems);
+ checkUnnamed2843(o.platformTypes);
+ }
+ buildCounterTechnologyTargeting--;
+}
+
+core.int buildCounterThirdPartyAuthenticationToken = 0;
+buildThirdPartyAuthenticationToken() {
+ var o = new api.ThirdPartyAuthenticationToken();
+ buildCounterThirdPartyAuthenticationToken++;
+ if (buildCounterThirdPartyAuthenticationToken < 3) {
+ o.name = "foo";
+ o.value = "foo";
+ }
+ buildCounterThirdPartyAuthenticationToken--;
+ return o;
+}
+
+checkThirdPartyAuthenticationToken(api.ThirdPartyAuthenticationToken o) {
+ buildCounterThirdPartyAuthenticationToken++;
+ if (buildCounterThirdPartyAuthenticationToken < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterThirdPartyAuthenticationToken--;
+}
+
+core.int buildCounterThirdPartyTrackingUrl = 0;
+buildThirdPartyTrackingUrl() {
+ var o = new api.ThirdPartyTrackingUrl();
+ buildCounterThirdPartyTrackingUrl++;
+ if (buildCounterThirdPartyTrackingUrl < 3) {
+ o.thirdPartyUrlType = "foo";
+ o.url = "foo";
+ }
+ buildCounterThirdPartyTrackingUrl--;
+ return o;
+}
+
+checkThirdPartyTrackingUrl(api.ThirdPartyTrackingUrl o) {
+ buildCounterThirdPartyTrackingUrl++;
+ if (buildCounterThirdPartyTrackingUrl < 3) {
+ unittest.expect(o.thirdPartyUrlType, unittest.equals('foo'));
+ unittest.expect(o.url, unittest.equals('foo'));
+ }
+ buildCounterThirdPartyTrackingUrl--;
+}
+
+buildUnnamed2844() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2844(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+core.int buildCounterTranscodeSetting = 0;
+buildTranscodeSetting() {
+ var o = new api.TranscodeSetting();
+ buildCounterTranscodeSetting++;
+ if (buildCounterTranscodeSetting < 3) {
+ o.enabledVideoFormats = buildUnnamed2844();
+ o.kind = "foo";
+ }
+ buildCounterTranscodeSetting--;
+ return o;
+}
+
+checkTranscodeSetting(api.TranscodeSetting o) {
+ buildCounterTranscodeSetting++;
+ if (buildCounterTranscodeSetting < 3) {
+ checkUnnamed2844(o.enabledVideoFormats);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterTranscodeSetting--;
+}
+
+core.int buildCounterUniversalAdId = 0;
+buildUniversalAdId() {
+ var o = new api.UniversalAdId();
+ buildCounterUniversalAdId++;
+ if (buildCounterUniversalAdId < 3) {
+ o.registry = "foo";
+ o.value = "foo";
+ }
+ buildCounterUniversalAdId--;
+ return o;
+}
+
+checkUniversalAdId(api.UniversalAdId o) {
+ buildCounterUniversalAdId++;
+ if (buildCounterUniversalAdId < 3) {
+ unittest.expect(o.registry, unittest.equals('foo'));
+ unittest.expect(o.value, unittest.equals('foo'));
+ }
+ buildCounterUniversalAdId--;
+}
+
+core.int buildCounterUserDefinedVariableConfiguration = 0;
+buildUserDefinedVariableConfiguration() {
+ var o = new api.UserDefinedVariableConfiguration();
+ buildCounterUserDefinedVariableConfiguration++;
+ if (buildCounterUserDefinedVariableConfiguration < 3) {
+ o.dataType = "foo";
+ o.reportName = "foo";
+ o.variableType = "foo";
+ }
+ buildCounterUserDefinedVariableConfiguration--;
+ return o;
+}
+
+checkUserDefinedVariableConfiguration(api.UserDefinedVariableConfiguration o) {
+ buildCounterUserDefinedVariableConfiguration++;
+ if (buildCounterUserDefinedVariableConfiguration < 3) {
+ unittest.expect(o.dataType, unittest.equals('foo'));
+ unittest.expect(o.reportName, unittest.equals('foo'));
+ unittest.expect(o.variableType, unittest.equals('foo'));
+ }
+ buildCounterUserDefinedVariableConfiguration--;
+}
+
+core.int buildCounterUserProfile = 0;
+buildUserProfile() {
+ var o = new api.UserProfile();
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ o.accountId = "foo";
+ o.accountName = "foo";
+ o.etag = "foo";
+ o.kind = "foo";
+ o.profileId = "foo";
+ o.subAccountId = "foo";
+ o.subAccountName = "foo";
+ o.userName = "foo";
+ }
+ buildCounterUserProfile--;
+ return o;
+}
+
+checkUserProfile(api.UserProfile o) {
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.accountName, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.profileId, unittest.equals('foo'));
+ unittest.expect(o.subAccountId, unittest.equals('foo'));
+ unittest.expect(o.subAccountName, unittest.equals('foo'));
+ unittest.expect(o.userName, unittest.equals('foo'));
+ }
+ buildCounterUserProfile--;
+}
+
+buildUnnamed2845() {
+ var o = new core.List<api.UserProfile>();
+ o.add(buildUserProfile());
+ o.add(buildUserProfile());
+ return o;
+}
+
+checkUnnamed2845(core.List<api.UserProfile> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUserProfile(o[0]);
+ checkUserProfile(o[1]);
+}
+
+core.int buildCounterUserProfileList = 0;
+buildUserProfileList() {
+ var o = new api.UserProfileList();
+ buildCounterUserProfileList++;
+ if (buildCounterUserProfileList < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed2845();
+ o.kind = "foo";
+ }
+ buildCounterUserProfileList--;
+ return o;
+}
+
+checkUserProfileList(api.UserProfileList o) {
+ buildCounterUserProfileList++;
+ if (buildCounterUserProfileList < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed2845(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ }
+ buildCounterUserProfileList--;
+}
+
+buildUnnamed2846() {
+ var o = new core.List<api.UserRolePermission>();
+ o.add(buildUserRolePermission());
+ o.add(buildUserRolePermission());
+ return o;
+}
+
+checkUnnamed2846(core.List<api.UserRolePermission> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUserRolePermission(o[0]);
+ checkUserRolePermission(o[1]);
+}
+
+core.int buildCounterUserRole = 0;
+buildUserRole() {
+ var o = new api.UserRole();
+ buildCounterUserRole++;
+ if (buildCounterUserRole < 3) {
+ o.accountId = "foo";
+ o.defaultUserRole = true;
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.parentUserRoleId = "foo";
+ o.permissions = buildUnnamed2846();
+ o.subaccountId = "foo";
+ }
+ buildCounterUserRole--;
+ return o;
+}
+
+checkUserRole(api.UserRole o) {
+ buildCounterUserRole++;
+ if (buildCounterUserRole < 3) {
+ unittest.expect(o.accountId, unittest.equals('foo'));
+ unittest.expect(o.defaultUserRole, unittest.isTrue);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
+ checkUnnamed2846(o.permissions);
+ unittest.expect(o.subaccountId, unittest.equals('foo'));
+ }
+ buildCounterUserRole--;
+}
+
+core.int buildCounterUserRolePermission = 0;
+buildUserRolePermission() {
+ var o = new api.UserRolePermission();
+ buildCounterUserRolePermission++;
+ if (buildCounterUserRolePermission < 3) {
+ o.availability = "foo";
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ o.permissionGroupId = "foo";
+ }
+ buildCounterUserRolePermission--;
+ return o;
+}
+
+checkUserRolePermission(api.UserRolePermission o) {
+ buildCounterUserRolePermission++;
+ if (buildCounterUserRolePermission < 3) {
+ unittest.expect(o.availability, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.permissionGroupId, unittest.equals('foo'));
+ }
+ buildCounterUserRolePermission--;
+}
+
+core.int buildCounterUserRolePermissionGroup = 0;
+buildUserRolePermissionGroup() {
+ var o = new api.UserRolePermissionGroup();
+ buildCounterUserRolePermissionGroup++;
+ if (buildCounterUserRolePermissionGroup < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.name = "foo";
+ }
+ buildCounterUserRolePermissionGroup--;
+ return o;
+}
+
+checkUserRolePermissionGroup(api.UserRolePermissionGroup o) {
+ buildCounterUserRolePermissionGroup++;
+ if (buildCounterUserRolePermissionGroup < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterUserRolePermissionGroup--;
+}
+
+buildUnnamed2847() {
+ var o = new core.List<api.UserRolePermissionGroup>();
+ o.add(buildUserRolePermissionGroup());
+ o.add(buildUserRolePermissionGroup());
+ return o;
+}
+
+checkUnnamed2847(core.List<api.UserRolePermissionGroup> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUserRolePermissionGroup(o[0]);
+ checkUserRolePermissionGroup(o[1]);
+}
+
+core.int buildCounterUserRolePermissionGroupsListResponse = 0;
+buildUserRolePermissionGroupsListResponse() {
+ var o = new api.UserRolePermissionGroupsListResponse();
+ buildCounterUserRolePermissionGroupsListResponse++;
+ if (buildCounterUserRolePermissionGroupsListResponse < 3) {
+ o.kind = "foo";
+ o.userRolePermissionGroups = buildUnnamed2847();
+ }
+ buildCounterUserRolePermissionGroupsListResponse--;
+ return o;
+}
+
+checkUserRolePermissionGroupsListResponse(
+ api.UserRolePermissionGroupsListResponse o) {
+ buildCounterUserRolePermissionGroupsListResponse++;
+ if (buildCounterUserRolePermissionGroupsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2847(o.userRolePermissionGroups);
+ }
+ buildCounterUserRolePermissionGroupsListResponse--;
+}
+
+buildUnnamed2848() {
+ var o = new core.List<api.UserRolePermission>();
+ o.add(buildUserRolePermission());
+ o.add(buildUserRolePermission());
+ return o;
+}
+
+checkUnnamed2848(core.List<api.UserRolePermission> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUserRolePermission(o[0]);
+ checkUserRolePermission(o[1]);
+}
+
+core.int buildCounterUserRolePermissionsListResponse = 0;
+buildUserRolePermissionsListResponse() {
+ var o = new api.UserRolePermissionsListResponse();
+ buildCounterUserRolePermissionsListResponse++;
+ if (buildCounterUserRolePermissionsListResponse < 3) {
+ o.kind = "foo";
+ o.userRolePermissions = buildUnnamed2848();
+ }
+ buildCounterUserRolePermissionsListResponse--;
+ return o;
+}
+
+checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) {
+ buildCounterUserRolePermissionsListResponse++;
+ if (buildCounterUserRolePermissionsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2848(o.userRolePermissions);
+ }
+ buildCounterUserRolePermissionsListResponse--;
+}
+
+buildUnnamed2849() {
+ var o = new core.List<api.UserRole>();
+ o.add(buildUserRole());
+ o.add(buildUserRole());
+ return o;
+}
+
+checkUnnamed2849(core.List<api.UserRole> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUserRole(o[0]);
+ checkUserRole(o[1]);
+}
+
+core.int buildCounterUserRolesListResponse = 0;
+buildUserRolesListResponse() {
+ var o = new api.UserRolesListResponse();
+ buildCounterUserRolesListResponse++;
+ if (buildCounterUserRolesListResponse < 3) {
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ o.userRoles = buildUnnamed2849();
+ }
+ buildCounterUserRolesListResponse--;
+ return o;
+}
+
+checkUserRolesListResponse(api.UserRolesListResponse o) {
+ buildCounterUserRolesListResponse++;
+ if (buildCounterUserRolesListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2849(o.userRoles);
+ }
+ buildCounterUserRolesListResponse--;
+}
+
+core.int buildCounterVideoFormat = 0;
+buildVideoFormat() {
+ var o = new api.VideoFormat();
+ buildCounterVideoFormat++;
+ if (buildCounterVideoFormat < 3) {
+ o.fileType = "foo";
+ o.id = 42;
+ o.kind = "foo";
+ o.resolution = buildSize();
+ o.targetBitRate = 42;
+ }
+ buildCounterVideoFormat--;
+ return o;
+}
+
+checkVideoFormat(api.VideoFormat o) {
+ buildCounterVideoFormat++;
+ if (buildCounterVideoFormat < 3) {
+ unittest.expect(o.fileType, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals(42));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkSize(o.resolution);
+ unittest.expect(o.targetBitRate, unittest.equals(42));
+ }
+ buildCounterVideoFormat--;
+}
+
+buildUnnamed2850() {
+ var o = new core.List<api.VideoFormat>();
+ o.add(buildVideoFormat());
+ o.add(buildVideoFormat());
+ return o;
+}
+
+checkUnnamed2850(core.List<api.VideoFormat> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkVideoFormat(o[0]);
+ checkVideoFormat(o[1]);
+}
+
+core.int buildCounterVideoFormatsListResponse = 0;
+buildVideoFormatsListResponse() {
+ var o = new api.VideoFormatsListResponse();
+ buildCounterVideoFormatsListResponse++;
+ if (buildCounterVideoFormatsListResponse < 3) {
+ o.kind = "foo";
+ o.videoFormats = buildUnnamed2850();
+ }
+ buildCounterVideoFormatsListResponse--;
+ return o;
+}
+
+checkVideoFormatsListResponse(api.VideoFormatsListResponse o) {
+ buildCounterVideoFormatsListResponse++;
+ if (buildCounterVideoFormatsListResponse < 3) {
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed2850(o.videoFormats);
+ }
+ buildCounterVideoFormatsListResponse--;
+}
+
+core.int buildCounterVideoOffset = 0;
+buildVideoOffset() {
+ var o = new api.VideoOffset();
+ buildCounterVideoOffset++;
+ if (buildCounterVideoOffset < 3) {
+ o.offsetPercentage = 42;
+ o.offsetSeconds = 42;
+ }
+ buildCounterVideoOffset--;
+ return o;
+}
+
+checkVideoOffset(api.VideoOffset o) {
+ buildCounterVideoOffset++;
+ if (buildCounterVideoOffset < 3) {
+ unittest.expect(o.offsetPercentage, unittest.equals(42));
+ unittest.expect(o.offsetSeconds, unittest.equals(42));
+ }
+ buildCounterVideoOffset--;
+}
+
+core.int buildCounterVideoSettings = 0;
+buildVideoSettings() {
+ var o = new api.VideoSettings();
+ buildCounterVideoSettings++;
+ if (buildCounterVideoSettings < 3) {
+ o.companionSettings = buildCompanionSetting();
+ o.kind = "foo";
+ o.orientation = "foo";
+ o.skippableSettings = buildSkippableSetting();
+ o.transcodeSettings = buildTranscodeSetting();
+ }
+ buildCounterVideoSettings--;
+ return o;
+}
+
+checkVideoSettings(api.VideoSettings o) {
+ buildCounterVideoSettings++;
+ if (buildCounterVideoSettings < 3) {
+ checkCompanionSetting(o.companionSettings);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.orientation, unittest.equals('foo'));
+ checkSkippableSetting(o.skippableSettings);
+ checkTranscodeSetting(o.transcodeSettings);
+ }
+ buildCounterVideoSettings--;
+}
+
+buildUnnamed2851() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2851(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'));
+}
+
+buildUnnamed2852() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2852(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'));
+}
+
+buildUnnamed2853() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2853(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'));
+}
+
+buildUnnamed2854() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2854(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'));
+}
+
+buildUnnamed2855() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2855(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'));
+}
+
+buildUnnamed2856() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2856(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'));
+}
+
+buildUnnamed2857() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2857(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'));
+}
+
+buildUnnamed2858() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2858(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'));
+}
+
+buildUnnamed2859() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2859(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'));
+}
+
+buildUnnamed2860() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2860(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'));
+}
+
+buildUnnamed2861() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2861(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'));
+}
+
+buildUnnamed2862() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2862(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'));
+}
+
+buildUnnamed2863() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2863(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'));
+}
+
+buildUnnamed2864() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2864(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'));
+}
+
+buildUnnamed2865() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2865(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'));
+}
+
+buildUnnamed2866() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2866(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'));
+}
+
+buildUnnamed2867() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2867(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'));
+}
+
+buildUnnamed2868() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2868(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'));
+}
+
+buildUnnamed2869() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2869(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'));
+}
+
+buildUnnamed2870() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2870(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'));
+}
+
+buildUnnamed2871() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2871(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'));
+}
+
+buildUnnamed2872() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2872(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'));
+}
+
+buildUnnamed2873() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2873(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'));
+}
+
+buildUnnamed2874() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2874(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'));
+}
+
+buildUnnamed2875() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2875(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'));
+}
+
+buildUnnamed2876() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2876(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'));
+}
+
+buildUnnamed2877() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2877(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'));
+}
+
+buildUnnamed2878() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2878(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'));
+}
+
+buildUnnamed2879() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2879(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'));
+}
+
+buildUnnamed2880() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2880(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'));
+}
+
+buildUnnamed2881() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2881(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'));
+}
+
+buildUnnamed2882() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2882(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'));
+}
+
+buildUnnamed2883() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2883(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'));
+}
+
+buildUnnamed2884() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2884(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'));
+}
+
+buildUnnamed2885() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2885(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'));
+}
+
+buildUnnamed2886() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2886(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'));
+}
+
+buildUnnamed2887() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2887(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'));
+}
+
+buildUnnamed2888() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2888(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'));
+}
+
+buildUnnamed2889() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2889(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'));
+}
+
+buildUnnamed2890() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2890(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'));
+}
+
+buildUnnamed2891() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2891(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'));
+}
+
+buildUnnamed2892() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2892(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'));
+}
+
+buildUnnamed2893() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2893(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'));
+}
+
+buildUnnamed2894() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2894(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'));
+}
+
+buildUnnamed2895() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2895(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'));
+}
+
+buildUnnamed2896() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2896(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'));
+}
+
+buildUnnamed2897() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2897(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'));
+}
+
+buildUnnamed2898() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2898(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'));
+}
+
+buildUnnamed2899() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2899(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'));
+}
+
+buildUnnamed2900() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2900(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'));
+}
+
+buildUnnamed2901() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2901(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'));
+}
+
+buildUnnamed2902() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2902(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'));
+}
+
+buildUnnamed2903() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2903(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'));
+}
+
+buildUnnamed2904() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2904(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'));
+}
+
+buildUnnamed2905() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2905(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'));
+}
+
+buildUnnamed2906() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2906(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'));
+}
+
+buildUnnamed2907() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2907(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'));
+}
+
+buildUnnamed2908() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2908(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'));
+}
+
+buildUnnamed2909() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2909(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'));
+}
+
+buildUnnamed2910() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2910(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'));
+}
+
+buildUnnamed2911() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2911(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'));
+}
+
+buildUnnamed2912() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2912(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'));
+}
+
+buildUnnamed2913() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2913(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'));
+}
+
+buildUnnamed2914() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2914(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'));
+}
+
+buildUnnamed2915() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2915(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'));
+}
+
+buildUnnamed2916() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2916(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'));
+}
+
+buildUnnamed2917() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2917(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'));
+}
+
+buildUnnamed2918() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2918(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'));
+}
+
+buildUnnamed2919() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2919(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'));
+}
+
+buildUnnamed2920() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2920(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'));
+}
+
+buildUnnamed2921() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2921(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'));
+}
+
+buildUnnamed2922() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2922(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'));
+}
+
+buildUnnamed2923() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2923(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'));
+}
+
+buildUnnamed2924() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2924(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'));
+}
+
+buildUnnamed2925() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2925(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'));
+}
+
+buildUnnamed2926() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2926(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'));
+}
+
+buildUnnamed2927() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2927(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'));
+}
+
+buildUnnamed2928() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2928(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'));
+}
+
+buildUnnamed2929() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2929(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'));
+}
+
+buildUnnamed2930() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2930(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'));
+}
+
+buildUnnamed2931() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2931(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'));
+}
+
+buildUnnamed2932() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2932(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'));
+}
+
+buildUnnamed2933() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2933(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'));
+}
+
+buildUnnamed2934() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2934(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'));
+}
+
+buildUnnamed2935() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2935(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'));
+}
+
+buildUnnamed2936() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2936(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'));
+}
+
+buildUnnamed2937() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2937(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'));
+}
+
+buildUnnamed2938() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2938(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'));
+}
+
+buildUnnamed2939() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2939(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'));
+}
+
+buildUnnamed2940() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2940(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'));
+}
+
+main() {
+ unittest.group("obj-schema-Account", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccount();
+ var od = new api.Account.fromJson(o.toJson());
+ checkAccount(od);
+ });
+ });
+
+ unittest.group("obj-schema-AccountActiveAdSummary", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountActiveAdSummary();
+ var od = new api.AccountActiveAdSummary.fromJson(o.toJson());
+ checkAccountActiveAdSummary(od);
+ });
+ });
+
+ unittest.group("obj-schema-AccountPermission", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountPermission();
+ var od = new api.AccountPermission.fromJson(o.toJson());
+ checkAccountPermission(od);
+ });
+ });
+
+ unittest.group("obj-schema-AccountPermissionGroup", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountPermissionGroup();
+ var od = new api.AccountPermissionGroup.fromJson(o.toJson());
+ checkAccountPermissionGroup(od);
+ });
+ });
+
+ unittest.group("obj-schema-AccountPermissionGroupsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountPermissionGroupsListResponse();
+ var od = new api.AccountPermissionGroupsListResponse.fromJson(o.toJson());
+ checkAccountPermissionGroupsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-AccountPermissionsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountPermissionsListResponse();
+ var od = new api.AccountPermissionsListResponse.fromJson(o.toJson());
+ checkAccountPermissionsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-AccountUserProfile", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountUserProfile();
+ var od = new api.AccountUserProfile.fromJson(o.toJson());
+ checkAccountUserProfile(od);
+ });
+ });
+
+ unittest.group("obj-schema-AccountUserProfilesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountUserProfilesListResponse();
+ var od = new api.AccountUserProfilesListResponse.fromJson(o.toJson());
+ checkAccountUserProfilesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-AccountsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAccountsListResponse();
+ var od = new api.AccountsListResponse.fromJson(o.toJson());
+ checkAccountsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-Activities", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildActivities();
+ var od = new api.Activities.fromJson(o.toJson());
+ checkActivities(od);
+ });
+ });
+
+ unittest.group("obj-schema-Ad", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAd();
+ var od = new api.Ad.fromJson(o.toJson());
+ checkAd(od);
+ });
+ });
+
+ unittest.group("obj-schema-AdBlockingConfiguration", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdBlockingConfiguration();
+ var od = new api.AdBlockingConfiguration.fromJson(o.toJson());
+ checkAdBlockingConfiguration(od);
+ });
+ });
+
+ unittest.group("obj-schema-AdSlot", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdSlot();
+ var od = new api.AdSlot.fromJson(o.toJson());
+ checkAdSlot(od);
+ });
+ });
+
+ unittest.group("obj-schema-AdsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdsListResponse();
+ var od = new api.AdsListResponse.fromJson(o.toJson());
+ checkAdsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-Advertiser", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdvertiser();
+ var od = new api.Advertiser.fromJson(o.toJson());
+ checkAdvertiser(od);
+ });
+ });
+
+ unittest.group("obj-schema-AdvertiserGroup", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdvertiserGroup();
+ var od = new api.AdvertiserGroup.fromJson(o.toJson());
+ checkAdvertiserGroup(od);
+ });
+ });
+
+ unittest.group("obj-schema-AdvertiserGroupsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdvertiserGroupsListResponse();
+ var od = new api.AdvertiserGroupsListResponse.fromJson(o.toJson());
+ checkAdvertiserGroupsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-AdvertiserLandingPagesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdvertiserLandingPagesListResponse();
+ var od = new api.AdvertiserLandingPagesListResponse.fromJson(o.toJson());
+ checkAdvertiserLandingPagesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-AdvertisersListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAdvertisersListResponse();
+ var od = new api.AdvertisersListResponse.fromJson(o.toJson());
+ checkAdvertisersListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-AudienceSegment", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAudienceSegment();
+ var od = new api.AudienceSegment.fromJson(o.toJson());
+ checkAudienceSegment(od);
+ });
+ });
+
+ unittest.group("obj-schema-AudienceSegmentGroup", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildAudienceSegmentGroup();
+ var od = new api.AudienceSegmentGroup.fromJson(o.toJson());
+ checkAudienceSegmentGroup(od);
+ });
+ });
+
+ unittest.group("obj-schema-Browser", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBrowser();
+ var od = new api.Browser.fromJson(o.toJson());
+ checkBrowser(od);
+ });
+ });
+
+ unittest.group("obj-schema-BrowsersListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildBrowsersListResponse();
+ var od = new api.BrowsersListResponse.fromJson(o.toJson());
+ checkBrowsersListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-Campaign", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCampaign();
+ var od = new api.Campaign.fromJson(o.toJson());
+ checkCampaign(od);
+ });
+ });
+
+ unittest.group("obj-schema-CampaignCreativeAssociation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCampaignCreativeAssociation();
+ var od = new api.CampaignCreativeAssociation.fromJson(o.toJson());
+ checkCampaignCreativeAssociation(od);
+ });
+ });
+
+ unittest.group("obj-schema-CampaignCreativeAssociationsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCampaignCreativeAssociationsListResponse();
+ var od =
+ new api.CampaignCreativeAssociationsListResponse.fromJson(o.toJson());
+ checkCampaignCreativeAssociationsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-CampaignsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCampaignsListResponse();
+ var od = new api.CampaignsListResponse.fromJson(o.toJson());
+ checkCampaignsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ChangeLog", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildChangeLog();
+ var od = new api.ChangeLog.fromJson(o.toJson());
+ checkChangeLog(od);
+ });
+ });
+
+ unittest.group("obj-schema-ChangeLogsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildChangeLogsListResponse();
+ var od = new api.ChangeLogsListResponse.fromJson(o.toJson());
+ checkChangeLogsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-CitiesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCitiesListResponse();
+ var od = new api.CitiesListResponse.fromJson(o.toJson());
+ checkCitiesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-City", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCity();
+ var od = new api.City.fromJson(o.toJson());
+ checkCity(od);
+ });
+ });
+
+ unittest.group("obj-schema-ClickTag", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildClickTag();
+ var od = new api.ClickTag.fromJson(o.toJson());
+ checkClickTag(od);
+ });
+ });
+
+ unittest.group("obj-schema-ClickThroughUrl", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildClickThroughUrl();
+ var od = new api.ClickThroughUrl.fromJson(o.toJson());
+ checkClickThroughUrl(od);
+ });
+ });
+
+ unittest.group("obj-schema-ClickThroughUrlSuffixProperties", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildClickThroughUrlSuffixProperties();
+ var od = new api.ClickThroughUrlSuffixProperties.fromJson(o.toJson());
+ checkClickThroughUrlSuffixProperties(od);
+ });
+ });
+
+ unittest.group("obj-schema-CompanionClickThroughOverride", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCompanionClickThroughOverride();
+ var od = new api.CompanionClickThroughOverride.fromJson(o.toJson());
+ checkCompanionClickThroughOverride(od);
+ });
+ });
+
+ unittest.group("obj-schema-CompanionSetting", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCompanionSetting();
+ var od = new api.CompanionSetting.fromJson(o.toJson());
+ checkCompanionSetting(od);
+ });
+ });
+
+ unittest.group("obj-schema-CompatibleFields", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCompatibleFields();
+ var od = new api.CompatibleFields.fromJson(o.toJson());
+ checkCompatibleFields(od);
+ });
+ });
+
+ unittest.group("obj-schema-ConnectionType", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConnectionType();
+ var od = new api.ConnectionType.fromJson(o.toJson());
+ checkConnectionType(od);
+ });
+ });
+
+ unittest.group("obj-schema-ConnectionTypesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConnectionTypesListResponse();
+ var od = new api.ConnectionTypesListResponse.fromJson(o.toJson());
+ checkConnectionTypesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ContentCategoriesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildContentCategoriesListResponse();
+ var od = new api.ContentCategoriesListResponse.fromJson(o.toJson());
+ checkContentCategoriesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ContentCategory", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildContentCategory();
+ var od = new api.ContentCategory.fromJson(o.toJson());
+ checkContentCategory(od);
+ });
+ });
+
+ unittest.group("obj-schema-Conversion", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConversion();
+ var od = new api.Conversion.fromJson(o.toJson());
+ checkConversion(od);
+ });
+ });
+
+ unittest.group("obj-schema-ConversionError", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConversionError();
+ var od = new api.ConversionError.fromJson(o.toJson());
+ checkConversionError(od);
+ });
+ });
+
+ unittest.group("obj-schema-ConversionStatus", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConversionStatus();
+ var od = new api.ConversionStatus.fromJson(o.toJson());
+ checkConversionStatus(od);
+ });
+ });
+
+ unittest.group("obj-schema-ConversionsBatchInsertRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConversionsBatchInsertRequest();
+ var od = new api.ConversionsBatchInsertRequest.fromJson(o.toJson());
+ checkConversionsBatchInsertRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-ConversionsBatchInsertResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConversionsBatchInsertResponse();
+ var od = new api.ConversionsBatchInsertResponse.fromJson(o.toJson());
+ checkConversionsBatchInsertResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ConversionsBatchUpdateRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConversionsBatchUpdateRequest();
+ var od = new api.ConversionsBatchUpdateRequest.fromJson(o.toJson());
+ checkConversionsBatchUpdateRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-ConversionsBatchUpdateResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildConversionsBatchUpdateResponse();
+ var od = new api.ConversionsBatchUpdateResponse.fromJson(o.toJson());
+ checkConversionsBatchUpdateResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-CountriesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCountriesListResponse();
+ var od = new api.CountriesListResponse.fromJson(o.toJson());
+ checkCountriesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-Country", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCountry();
+ var od = new api.Country.fromJson(o.toJson());
+ checkCountry(od);
+ });
+ });
+
+ unittest.group("obj-schema-Creative", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreative();
+ var od = new api.Creative.fromJson(o.toJson());
+ checkCreative(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeAsset", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeAsset();
+ var od = new api.CreativeAsset.fromJson(o.toJson());
+ checkCreativeAsset(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeAssetId", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeAssetId();
+ var od = new api.CreativeAssetId.fromJson(o.toJson());
+ checkCreativeAssetId(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeAssetMetadata", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeAssetMetadata();
+ var od = new api.CreativeAssetMetadata.fromJson(o.toJson());
+ checkCreativeAssetMetadata(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeAssetSelection", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeAssetSelection();
+ var od = new api.CreativeAssetSelection.fromJson(o.toJson());
+ checkCreativeAssetSelection(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeAssignment", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeAssignment();
+ var od = new api.CreativeAssignment.fromJson(o.toJson());
+ checkCreativeAssignment(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeClickThroughUrl", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeClickThroughUrl();
+ var od = new api.CreativeClickThroughUrl.fromJson(o.toJson());
+ checkCreativeClickThroughUrl(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeCustomEvent", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeCustomEvent();
+ var od = new api.CreativeCustomEvent.fromJson(o.toJson());
+ checkCreativeCustomEvent(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeField", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeField();
+ var od = new api.CreativeField.fromJson(o.toJson());
+ checkCreativeField(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeFieldAssignment", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeFieldAssignment();
+ var od = new api.CreativeFieldAssignment.fromJson(o.toJson());
+ checkCreativeFieldAssignment(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeFieldValue", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeFieldValue();
+ var od = new api.CreativeFieldValue.fromJson(o.toJson());
+ checkCreativeFieldValue(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeFieldValuesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeFieldValuesListResponse();
+ var od = new api.CreativeFieldValuesListResponse.fromJson(o.toJson());
+ checkCreativeFieldValuesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeFieldsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeFieldsListResponse();
+ var od = new api.CreativeFieldsListResponse.fromJson(o.toJson());
+ checkCreativeFieldsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeGroup", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeGroup();
+ var od = new api.CreativeGroup.fromJson(o.toJson());
+ checkCreativeGroup(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeGroupAssignment", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeGroupAssignment();
+ var od = new api.CreativeGroupAssignment.fromJson(o.toJson());
+ checkCreativeGroupAssignment(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeGroupsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeGroupsListResponse();
+ var od = new api.CreativeGroupsListResponse.fromJson(o.toJson());
+ checkCreativeGroupsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeOptimizationConfiguration", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeOptimizationConfiguration();
+ var od = new api.CreativeOptimizationConfiguration.fromJson(o.toJson());
+ checkCreativeOptimizationConfiguration(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeRotation", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeRotation();
+ var od = new api.CreativeRotation.fromJson(o.toJson());
+ checkCreativeRotation(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativeSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativeSettings();
+ var od = new api.CreativeSettings.fromJson(o.toJson());
+ checkCreativeSettings(od);
+ });
+ });
+
+ unittest.group("obj-schema-CreativesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCreativesListResponse();
+ var od = new api.CreativesListResponse.fromJson(o.toJson());
+ checkCreativesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-CrossDimensionReachReportCompatibleFields", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCrossDimensionReachReportCompatibleFields();
+ var od = new api.CrossDimensionReachReportCompatibleFields.fromJson(
+ o.toJson());
+ checkCrossDimensionReachReportCompatibleFields(od);
+ });
+ });
+
+ unittest.group("obj-schema-CustomFloodlightVariable", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomFloodlightVariable();
+ var od = new api.CustomFloodlightVariable.fromJson(o.toJson());
+ checkCustomFloodlightVariable(od);
+ });
+ });
+
+ unittest.group("obj-schema-CustomRichMediaEvents", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCustomRichMediaEvents();
+ var od = new api.CustomRichMediaEvents.fromJson(o.toJson());
+ checkCustomRichMediaEvents(od);
+ });
+ });
+
+ unittest.group("obj-schema-DateRange", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDateRange();
+ var od = new api.DateRange.fromJson(o.toJson());
+ checkDateRange(od);
+ });
+ });
+
+ unittest.group("obj-schema-DayPartTargeting", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDayPartTargeting();
+ var od = new api.DayPartTargeting.fromJson(o.toJson());
+ checkDayPartTargeting(od);
+ });
+ });
+
+ unittest.group("obj-schema-DefaultClickThroughEventTagProperties", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDefaultClickThroughEventTagProperties();
+ var od =
+ new api.DefaultClickThroughEventTagProperties.fromJson(o.toJson());
+ checkDefaultClickThroughEventTagProperties(od);
+ });
+ });
+
+ unittest.group("obj-schema-DeliverySchedule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDeliverySchedule();
+ var od = new api.DeliverySchedule.fromJson(o.toJson());
+ checkDeliverySchedule(od);
+ });
+ });
+
+ unittest.group("obj-schema-DfpSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDfpSettings();
+ var od = new api.DfpSettings.fromJson(o.toJson());
+ checkDfpSettings(od);
+ });
+ });
+
+ unittest.group("obj-schema-Dimension", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDimension();
+ var od = new api.Dimension.fromJson(o.toJson());
+ checkDimension(od);
+ });
+ });
+
+ unittest.group("obj-schema-DimensionFilter", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDimensionFilter();
+ var od = new api.DimensionFilter.fromJson(o.toJson());
+ checkDimensionFilter(od);
+ });
+ });
+
+ unittest.group("obj-schema-DimensionValue", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDimensionValue();
+ var od = new api.DimensionValue.fromJson(o.toJson());
+ checkDimensionValue(od);
+ });
+ });
+
+ unittest.group("obj-schema-DimensionValueList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDimensionValueList();
+ var od = new api.DimensionValueList.fromJson(o.toJson());
+ checkDimensionValueList(od);
+ });
+ });
+
+ unittest.group("obj-schema-DimensionValueRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDimensionValueRequest();
+ var od = new api.DimensionValueRequest.fromJson(o.toJson());
+ checkDimensionValueRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-DirectorySite", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDirectorySite();
+ var od = new api.DirectorySite.fromJson(o.toJson());
+ checkDirectorySite(od);
+ });
+ });
+
+ unittest.group("obj-schema-DirectorySiteContact", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDirectorySiteContact();
+ var od = new api.DirectorySiteContact.fromJson(o.toJson());
+ checkDirectorySiteContact(od);
+ });
+ });
+
+ unittest.group("obj-schema-DirectorySiteContactAssignment", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDirectorySiteContactAssignment();
+ var od = new api.DirectorySiteContactAssignment.fromJson(o.toJson());
+ checkDirectorySiteContactAssignment(od);
+ });
+ });
+
+ unittest.group("obj-schema-DirectorySiteContactsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDirectorySiteContactsListResponse();
+ var od = new api.DirectorySiteContactsListResponse.fromJson(o.toJson());
+ checkDirectorySiteContactsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-DirectorySiteSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDirectorySiteSettings();
+ var od = new api.DirectorySiteSettings.fromJson(o.toJson());
+ checkDirectorySiteSettings(od);
+ });
+ });
+
+ unittest.group("obj-schema-DirectorySitesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDirectorySitesListResponse();
+ var od = new api.DirectorySitesListResponse.fromJson(o.toJson());
+ checkDirectorySitesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-DynamicTargetingKey", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDynamicTargetingKey();
+ var od = new api.DynamicTargetingKey.fromJson(o.toJson());
+ checkDynamicTargetingKey(od);
+ });
+ });
+
+ unittest.group("obj-schema-DynamicTargetingKeysListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDynamicTargetingKeysListResponse();
+ var od = new api.DynamicTargetingKeysListResponse.fromJson(o.toJson());
+ checkDynamicTargetingKeysListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-EncryptionInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEncryptionInfo();
+ var od = new api.EncryptionInfo.fromJson(o.toJson());
+ checkEncryptionInfo(od);
+ });
+ });
+
+ unittest.group("obj-schema-EventTag", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEventTag();
+ var od = new api.EventTag.fromJson(o.toJson());
+ checkEventTag(od);
+ });
+ });
+
+ unittest.group("obj-schema-EventTagOverride", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEventTagOverride();
+ var od = new api.EventTagOverride.fromJson(o.toJson());
+ checkEventTagOverride(od);
+ });
+ });
+
+ unittest.group("obj-schema-EventTagsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildEventTagsListResponse();
+ var od = new api.EventTagsListResponse.fromJson(o.toJson());
+ checkEventTagsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-FileUrls", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFileUrls();
+ var od = new api.FileUrls.fromJson(o.toJson());
+ checkFileUrls(od);
+ });
+ });
+
+ unittest.group("obj-schema-File", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFile();
+ var od = new api.File.fromJson(o.toJson());
+ checkFile(od);
+ });
+ });
+
+ unittest.group("obj-schema-FileList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFileList();
+ var od = new api.FileList.fromJson(o.toJson());
+ checkFileList(od);
+ });
+ });
+
+ unittest.group("obj-schema-Flight", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFlight();
+ var od = new api.Flight.fromJson(o.toJson());
+ checkFlight(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightActivitiesGenerateTagResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightActivitiesGenerateTagResponse();
+ var od =
+ new api.FloodlightActivitiesGenerateTagResponse.fromJson(o.toJson());
+ checkFloodlightActivitiesGenerateTagResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightActivitiesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightActivitiesListResponse();
+ var od = new api.FloodlightActivitiesListResponse.fromJson(o.toJson());
+ checkFloodlightActivitiesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightActivity", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightActivity();
+ var od = new api.FloodlightActivity.fromJson(o.toJson());
+ checkFloodlightActivity(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightActivityDynamicTag", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightActivityDynamicTag();
+ var od = new api.FloodlightActivityDynamicTag.fromJson(o.toJson());
+ checkFloodlightActivityDynamicTag(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightActivityGroup", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightActivityGroup();
+ var od = new api.FloodlightActivityGroup.fromJson(o.toJson());
+ checkFloodlightActivityGroup(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightActivityGroupsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightActivityGroupsListResponse();
+ var od =
+ new api.FloodlightActivityGroupsListResponse.fromJson(o.toJson());
+ checkFloodlightActivityGroupsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightActivityPublisherDynamicTag", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightActivityPublisherDynamicTag();
+ var od =
+ new api.FloodlightActivityPublisherDynamicTag.fromJson(o.toJson());
+ checkFloodlightActivityPublisherDynamicTag(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightConfiguration", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightConfiguration();
+ var od = new api.FloodlightConfiguration.fromJson(o.toJson());
+ checkFloodlightConfiguration(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightConfigurationsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightConfigurationsListResponse();
+ var od =
+ new api.FloodlightConfigurationsListResponse.fromJson(o.toJson());
+ checkFloodlightConfigurationsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-FloodlightReportCompatibleFields", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFloodlightReportCompatibleFields();
+ var od = new api.FloodlightReportCompatibleFields.fromJson(o.toJson());
+ checkFloodlightReportCompatibleFields(od);
+ });
+ });
+
+ unittest.group("obj-schema-FrequencyCap", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFrequencyCap();
+ var od = new api.FrequencyCap.fromJson(o.toJson());
+ checkFrequencyCap(od);
+ });
+ });
+
+ unittest.group("obj-schema-FsCommand", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildFsCommand();
+ var od = new api.FsCommand.fromJson(o.toJson());
+ checkFsCommand(od);
+ });
+ });
+
+ unittest.group("obj-schema-GeoTargeting", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGeoTargeting();
+ var od = new api.GeoTargeting.fromJson(o.toJson());
+ checkGeoTargeting(od);
+ });
+ });
+
+ unittest.group("obj-schema-InventoryItem", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInventoryItem();
+ var od = new api.InventoryItem.fromJson(o.toJson());
+ checkInventoryItem(od);
+ });
+ });
+
+ unittest.group("obj-schema-InventoryItemsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildInventoryItemsListResponse();
+ var od = new api.InventoryItemsListResponse.fromJson(o.toJson());
+ checkInventoryItemsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-KeyValueTargetingExpression", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildKeyValueTargetingExpression();
+ var od = new api.KeyValueTargetingExpression.fromJson(o.toJson());
+ checkKeyValueTargetingExpression(od);
+ });
+ });
+
+ unittest.group("obj-schema-LandingPage", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLandingPage();
+ var od = new api.LandingPage.fromJson(o.toJson());
+ checkLandingPage(od);
+ });
+ });
+
+ unittest.group("obj-schema-Language", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLanguage();
+ var od = new api.Language.fromJson(o.toJson());
+ checkLanguage(od);
+ });
+ });
+
+ unittest.group("obj-schema-LanguageTargeting", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLanguageTargeting();
+ var od = new api.LanguageTargeting.fromJson(o.toJson());
+ checkLanguageTargeting(od);
+ });
+ });
+
+ unittest.group("obj-schema-LanguagesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLanguagesListResponse();
+ var od = new api.LanguagesListResponse.fromJson(o.toJson());
+ checkLanguagesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-LastModifiedInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLastModifiedInfo();
+ var od = new api.LastModifiedInfo.fromJson(o.toJson());
+ checkLastModifiedInfo(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListPopulationClause", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListPopulationClause();
+ var od = new api.ListPopulationClause.fromJson(o.toJson());
+ checkListPopulationClause(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListPopulationRule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListPopulationRule();
+ var od = new api.ListPopulationRule.fromJson(o.toJson());
+ checkListPopulationRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListPopulationTerm", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListPopulationTerm();
+ var od = new api.ListPopulationTerm.fromJson(o.toJson());
+ checkListPopulationTerm(od);
+ });
+ });
+
+ unittest.group("obj-schema-ListTargetingExpression", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildListTargetingExpression();
+ var od = new api.ListTargetingExpression.fromJson(o.toJson());
+ checkListTargetingExpression(od);
+ });
+ });
+
+ unittest.group("obj-schema-LookbackConfiguration", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLookbackConfiguration();
+ var od = new api.LookbackConfiguration.fromJson(o.toJson());
+ checkLookbackConfiguration(od);
+ });
+ });
+
+ unittest.group("obj-schema-Metric", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMetric();
+ var od = new api.Metric.fromJson(o.toJson());
+ checkMetric(od);
+ });
+ });
+
+ unittest.group("obj-schema-Metro", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMetro();
+ var od = new api.Metro.fromJson(o.toJson());
+ checkMetro(od);
+ });
+ });
+
+ unittest.group("obj-schema-MetrosListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMetrosListResponse();
+ var od = new api.MetrosListResponse.fromJson(o.toJson());
+ checkMetrosListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-MobileCarrier", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMobileCarrier();
+ var od = new api.MobileCarrier.fromJson(o.toJson());
+ checkMobileCarrier(od);
+ });
+ });
+
+ unittest.group("obj-schema-MobileCarriersListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMobileCarriersListResponse();
+ var od = new api.MobileCarriersListResponse.fromJson(o.toJson());
+ checkMobileCarriersListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ObjectFilter", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildObjectFilter();
+ var od = new api.ObjectFilter.fromJson(o.toJson());
+ checkObjectFilter(od);
+ });
+ });
+
+ unittest.group("obj-schema-OffsetPosition", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOffsetPosition();
+ var od = new api.OffsetPosition.fromJson(o.toJson());
+ checkOffsetPosition(od);
+ });
+ });
+
+ unittest.group("obj-schema-OmnitureSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOmnitureSettings();
+ var od = new api.OmnitureSettings.fromJson(o.toJson());
+ checkOmnitureSettings(od);
+ });
+ });
+
+ unittest.group("obj-schema-OperatingSystem", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperatingSystem();
+ var od = new api.OperatingSystem.fromJson(o.toJson());
+ checkOperatingSystem(od);
+ });
+ });
+
+ unittest.group("obj-schema-OperatingSystemVersion", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperatingSystemVersion();
+ var od = new api.OperatingSystemVersion.fromJson(o.toJson());
+ checkOperatingSystemVersion(od);
+ });
+ });
+
+ unittest.group("obj-schema-OperatingSystemVersionsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperatingSystemVersionsListResponse();
+ var od = new api.OperatingSystemVersionsListResponse.fromJson(o.toJson());
+ checkOperatingSystemVersionsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-OperatingSystemsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOperatingSystemsListResponse();
+ var od = new api.OperatingSystemsListResponse.fromJson(o.toJson());
+ checkOperatingSystemsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-OptimizationActivity", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOptimizationActivity();
+ var od = new api.OptimizationActivity.fromJson(o.toJson());
+ checkOptimizationActivity(od);
+ });
+ });
+
+ unittest.group("obj-schema-Order", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrder();
+ var od = new api.Order.fromJson(o.toJson());
+ checkOrder(od);
+ });
+ });
+
+ unittest.group("obj-schema-OrderContact", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrderContact();
+ var od = new api.OrderContact.fromJson(o.toJson());
+ checkOrderContact(od);
+ });
+ });
+
+ unittest.group("obj-schema-OrderDocument", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrderDocument();
+ var od = new api.OrderDocument.fromJson(o.toJson());
+ checkOrderDocument(od);
+ });
+ });
+
+ unittest.group("obj-schema-OrderDocumentsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrderDocumentsListResponse();
+ var od = new api.OrderDocumentsListResponse.fromJson(o.toJson());
+ checkOrderDocumentsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-OrdersListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrdersListResponse();
+ var od = new api.OrdersListResponse.fromJson(o.toJson());
+ checkOrdersListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-PathToConversionReportCompatibleFields", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPathToConversionReportCompatibleFields();
+ var od =
+ new api.PathToConversionReportCompatibleFields.fromJson(o.toJson());
+ checkPathToConversionReportCompatibleFields(od);
+ });
+ });
+
+ unittest.group("obj-schema-Placement", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacement();
+ var od = new api.Placement.fromJson(o.toJson());
+ checkPlacement(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlacementAssignment", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacementAssignment();
+ var od = new api.PlacementAssignment.fromJson(o.toJson());
+ checkPlacementAssignment(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlacementGroup", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacementGroup();
+ var od = new api.PlacementGroup.fromJson(o.toJson());
+ checkPlacementGroup(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlacementGroupsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacementGroupsListResponse();
+ var od = new api.PlacementGroupsListResponse.fromJson(o.toJson());
+ checkPlacementGroupsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlacementStrategiesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacementStrategiesListResponse();
+ var od = new api.PlacementStrategiesListResponse.fromJson(o.toJson());
+ checkPlacementStrategiesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlacementStrategy", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacementStrategy();
+ var od = new api.PlacementStrategy.fromJson(o.toJson());
+ checkPlacementStrategy(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlacementTag", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacementTag();
+ var od = new api.PlacementTag.fromJson(o.toJson());
+ checkPlacementTag(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlacementsGenerateTagsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacementsGenerateTagsResponse();
+ var od = new api.PlacementsGenerateTagsResponse.fromJson(o.toJson());
+ checkPlacementsGenerateTagsResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlacementsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlacementsListResponse();
+ var od = new api.PlacementsListResponse.fromJson(o.toJson());
+ checkPlacementsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlatformType", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlatformType();
+ var od = new api.PlatformType.fromJson(o.toJson());
+ checkPlatformType(od);
+ });
+ });
+
+ unittest.group("obj-schema-PlatformTypesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPlatformTypesListResponse();
+ var od = new api.PlatformTypesListResponse.fromJson(o.toJson());
+ checkPlatformTypesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-PopupWindowProperties", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPopupWindowProperties();
+ var od = new api.PopupWindowProperties.fromJson(o.toJson());
+ checkPopupWindowProperties(od);
+ });
+ });
+
+ unittest.group("obj-schema-PostalCode", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPostalCode();
+ var od = new api.PostalCode.fromJson(o.toJson());
+ checkPostalCode(od);
+ });
+ });
+
+ unittest.group("obj-schema-PostalCodesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPostalCodesListResponse();
+ var od = new api.PostalCodesListResponse.fromJson(o.toJson());
+ checkPostalCodesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-Pricing", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPricing();
+ var od = new api.Pricing.fromJson(o.toJson());
+ checkPricing(od);
+ });
+ });
+
+ unittest.group("obj-schema-PricingSchedule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPricingSchedule();
+ var od = new api.PricingSchedule.fromJson(o.toJson());
+ checkPricingSchedule(od);
+ });
+ });
+
+ unittest.group("obj-schema-PricingSchedulePricingPeriod", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildPricingSchedulePricingPeriod();
+ var od = new api.PricingSchedulePricingPeriod.fromJson(o.toJson());
+ checkPricingSchedulePricingPeriod(od);
+ });
+ });
+
+ unittest.group("obj-schema-Project", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildProject();
+ var od = new api.Project.fromJson(o.toJson());
+ checkProject(od);
+ });
+ });
+
+ unittest.group("obj-schema-ProjectsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildProjectsListResponse();
+ var od = new api.ProjectsListResponse.fromJson(o.toJson());
+ checkProjectsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReachReportCompatibleFields", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReachReportCompatibleFields();
+ var od = new api.ReachReportCompatibleFields.fromJson(o.toJson());
+ checkReachReportCompatibleFields(od);
+ });
+ });
+
+ unittest.group("obj-schema-Recipient", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRecipient();
+ var od = new api.Recipient.fromJson(o.toJson());
+ checkRecipient(od);
+ });
+ });
+
+ unittest.group("obj-schema-Region", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRegion();
+ var od = new api.Region.fromJson(o.toJson());
+ checkRegion(od);
+ });
+ });
+
+ unittest.group("obj-schema-RegionsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRegionsListResponse();
+ var od = new api.RegionsListResponse.fromJson(o.toJson());
+ checkRegionsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-RemarketingList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRemarketingList();
+ var od = new api.RemarketingList.fromJson(o.toJson());
+ checkRemarketingList(od);
+ });
+ });
+
+ unittest.group("obj-schema-RemarketingListShare", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRemarketingListShare();
+ var od = new api.RemarketingListShare.fromJson(o.toJson());
+ checkRemarketingListShare(od);
+ });
+ });
+
+ unittest.group("obj-schema-RemarketingListsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRemarketingListsListResponse();
+ var od = new api.RemarketingListsListResponse.fromJson(o.toJson());
+ checkRemarketingListsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportCriteria", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportCriteria();
+ var od = new api.ReportCriteria.fromJson(o.toJson());
+ checkReportCriteria(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportCrossDimensionReachCriteria", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportCrossDimensionReachCriteria();
+ var od = new api.ReportCrossDimensionReachCriteria.fromJson(o.toJson());
+ checkReportCrossDimensionReachCriteria(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportDelivery", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportDelivery();
+ var od = new api.ReportDelivery.fromJson(o.toJson());
+ checkReportDelivery(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportFloodlightCriteriaReportProperties", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportFloodlightCriteriaReportProperties();
+ var od =
+ new api.ReportFloodlightCriteriaReportProperties.fromJson(o.toJson());
+ checkReportFloodlightCriteriaReportProperties(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportFloodlightCriteria", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportFloodlightCriteria();
+ var od = new api.ReportFloodlightCriteria.fromJson(o.toJson());
+ checkReportFloodlightCriteria(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportPathToConversionCriteriaReportProperties",
+ () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportPathToConversionCriteriaReportProperties();
+ var od = new api.ReportPathToConversionCriteriaReportProperties.fromJson(
+ o.toJson());
+ checkReportPathToConversionCriteriaReportProperties(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportPathToConversionCriteria", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportPathToConversionCriteria();
+ var od = new api.ReportPathToConversionCriteria.fromJson(o.toJson());
+ checkReportPathToConversionCriteria(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportReachCriteria", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportReachCriteria();
+ var od = new api.ReportReachCriteria.fromJson(o.toJson());
+ checkReportReachCriteria(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportSchedule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportSchedule();
+ var od = new api.ReportSchedule.fromJson(o.toJson());
+ checkReportSchedule(od);
+ });
+ });
+
+ unittest.group("obj-schema-Report", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReport();
+ var od = new api.Report.fromJson(o.toJson());
+ checkReport(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportCompatibleFields", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportCompatibleFields();
+ var od = new api.ReportCompatibleFields.fromJson(o.toJson());
+ checkReportCompatibleFields(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportList();
+ var od = new api.ReportList.fromJson(o.toJson());
+ checkReportList(od);
+ });
+ });
+
+ unittest.group("obj-schema-ReportsConfiguration", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReportsConfiguration();
+ var od = new api.ReportsConfiguration.fromJson(o.toJson());
+ checkReportsConfiguration(od);
+ });
+ });
+
+ unittest.group("obj-schema-RichMediaExitOverride", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRichMediaExitOverride();
+ var od = new api.RichMediaExitOverride.fromJson(o.toJson());
+ checkRichMediaExitOverride(od);
+ });
+ });
+
+ unittest.group("obj-schema-Rule", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildRule();
+ var od = new api.Rule.fromJson(o.toJson());
+ checkRule(od);
+ });
+ });
+
+ unittest.group("obj-schema-Site", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSite();
+ var od = new api.Site.fromJson(o.toJson());
+ checkSite(od);
+ });
+ });
+
+ unittest.group("obj-schema-SiteContact", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSiteContact();
+ var od = new api.SiteContact.fromJson(o.toJson());
+ checkSiteContact(od);
+ });
+ });
+
+ unittest.group("obj-schema-SiteSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSiteSettings();
+ var od = new api.SiteSettings.fromJson(o.toJson());
+ checkSiteSettings(od);
+ });
+ });
+
+ unittest.group("obj-schema-SitesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSitesListResponse();
+ var od = new api.SitesListResponse.fromJson(o.toJson());
+ checkSitesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-Size", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSize();
+ var od = new api.Size.fromJson(o.toJson());
+ checkSize(od);
+ });
+ });
+
+ unittest.group("obj-schema-SizesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSizesListResponse();
+ var od = new api.SizesListResponse.fromJson(o.toJson());
+ checkSizesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-SkippableSetting", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSkippableSetting();
+ var od = new api.SkippableSetting.fromJson(o.toJson());
+ checkSkippableSetting(od);
+ });
+ });
+
+ unittest.group("obj-schema-SortedDimension", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSortedDimension();
+ var od = new api.SortedDimension.fromJson(o.toJson());
+ checkSortedDimension(od);
+ });
+ });
+
+ unittest.group("obj-schema-Subaccount", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSubaccount();
+ var od = new api.Subaccount.fromJson(o.toJson());
+ checkSubaccount(od);
+ });
+ });
+
+ unittest.group("obj-schema-SubaccountsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildSubaccountsListResponse();
+ var od = new api.SubaccountsListResponse.fromJson(o.toJson());
+ checkSubaccountsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-TagData", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTagData();
+ var od = new api.TagData.fromJson(o.toJson());
+ checkTagData(od);
+ });
+ });
+
+ unittest.group("obj-schema-TagSetting", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTagSetting();
+ var od = new api.TagSetting.fromJson(o.toJson());
+ checkTagSetting(od);
+ });
+ });
+
+ unittest.group("obj-schema-TagSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTagSettings();
+ var od = new api.TagSettings.fromJson(o.toJson());
+ checkTagSettings(od);
+ });
+ });
+
+ unittest.group("obj-schema-TargetWindow", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTargetWindow();
+ var od = new api.TargetWindow.fromJson(o.toJson());
+ checkTargetWindow(od);
+ });
+ });
+
+ unittest.group("obj-schema-TargetableRemarketingList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTargetableRemarketingList();
+ var od = new api.TargetableRemarketingList.fromJson(o.toJson());
+ checkTargetableRemarketingList(od);
+ });
+ });
+
+ unittest.group("obj-schema-TargetableRemarketingListsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTargetableRemarketingListsListResponse();
+ var od =
+ new api.TargetableRemarketingListsListResponse.fromJson(o.toJson());
+ checkTargetableRemarketingListsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-TargetingTemplate", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTargetingTemplate();
+ var od = new api.TargetingTemplate.fromJson(o.toJson());
+ checkTargetingTemplate(od);
+ });
+ });
+
+ unittest.group("obj-schema-TargetingTemplatesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTargetingTemplatesListResponse();
+ var od = new api.TargetingTemplatesListResponse.fromJson(o.toJson());
+ checkTargetingTemplatesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-TechnologyTargeting", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTechnologyTargeting();
+ var od = new api.TechnologyTargeting.fromJson(o.toJson());
+ checkTechnologyTargeting(od);
+ });
+ });
+
+ unittest.group("obj-schema-ThirdPartyAuthenticationToken", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildThirdPartyAuthenticationToken();
+ var od = new api.ThirdPartyAuthenticationToken.fromJson(o.toJson());
+ checkThirdPartyAuthenticationToken(od);
+ });
+ });
+
+ unittest.group("obj-schema-ThirdPartyTrackingUrl", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildThirdPartyTrackingUrl();
+ var od = new api.ThirdPartyTrackingUrl.fromJson(o.toJson());
+ checkThirdPartyTrackingUrl(od);
+ });
+ });
+
+ unittest.group("obj-schema-TranscodeSetting", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTranscodeSetting();
+ var od = new api.TranscodeSetting.fromJson(o.toJson());
+ checkTranscodeSetting(od);
+ });
+ });
+
+ unittest.group("obj-schema-UniversalAdId", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUniversalAdId();
+ var od = new api.UniversalAdId.fromJson(o.toJson());
+ checkUniversalAdId(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserDefinedVariableConfiguration", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserDefinedVariableConfiguration();
+ var od = new api.UserDefinedVariableConfiguration.fromJson(o.toJson());
+ checkUserDefinedVariableConfiguration(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserProfile", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserProfile();
+ var od = new api.UserProfile.fromJson(o.toJson());
+ checkUserProfile(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserProfileList", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserProfileList();
+ var od = new api.UserProfileList.fromJson(o.toJson());
+ checkUserProfileList(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserRole", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserRole();
+ var od = new api.UserRole.fromJson(o.toJson());
+ checkUserRole(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserRolePermission", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserRolePermission();
+ var od = new api.UserRolePermission.fromJson(o.toJson());
+ checkUserRolePermission(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserRolePermissionGroup", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserRolePermissionGroup();
+ var od = new api.UserRolePermissionGroup.fromJson(o.toJson());
+ checkUserRolePermissionGroup(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserRolePermissionGroupsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserRolePermissionGroupsListResponse();
+ var od =
+ new api.UserRolePermissionGroupsListResponse.fromJson(o.toJson());
+ checkUserRolePermissionGroupsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserRolePermissionsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserRolePermissionsListResponse();
+ var od = new api.UserRolePermissionsListResponse.fromJson(o.toJson());
+ checkUserRolePermissionsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-UserRolesListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserRolesListResponse();
+ var od = new api.UserRolesListResponse.fromJson(o.toJson());
+ checkUserRolesListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-VideoFormat", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildVideoFormat();
+ var od = new api.VideoFormat.fromJson(o.toJson());
+ checkVideoFormat(od);
+ });
+ });
+
+ unittest.group("obj-schema-VideoFormatsListResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildVideoFormatsListResponse();
+ var od = new api.VideoFormatsListResponse.fromJson(o.toJson());
+ checkVideoFormatsListResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-VideoOffset", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildVideoOffset();
+ var od = new api.VideoOffset.fromJson(o.toJson());
+ checkVideoOffset(od);
+ });
+ });
+
+ unittest.group("obj-schema-VideoSettings", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildVideoSettings();
+ var od = new api.VideoSettings.fromJson(o.toJson());
+ checkVideoSettings(od);
+ });
+ });
+
+ unittest.group("resource-AccountActiveAdSummariesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AccountActiveAdSummariesResourceApi res =
+ new api.DfareportingApi(mock).accountActiveAdSummaries;
+ var arg_profileId = "foo";
+ var arg_summaryAccountId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountActiveAdSummaries/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 26),
+ unittest.equals("/accountActiveAdSummaries/"));
+ pathOffset += 26;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_summaryAccountId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountActiveAdSummary());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_summaryAccountId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AccountActiveAdSummary response) {
+ checkAccountActiveAdSummary(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-AccountPermissionGroupsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AccountPermissionGroupsResourceApi res =
+ new api.DfareportingApi(mock).accountPermissionGroups;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountPermissionGroups/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/accountPermissionGroups/"));
+ pathOffset += 25;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountPermissionGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AccountPermissionGroup response) {
+ checkAccountPermissionGroup(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AccountPermissionGroupsResourceApi res =
+ new api.DfareportingApi(mock).accountPermissionGroups;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountPermissionGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24),
+ unittest.equals("/accountPermissionGroups"));
+ pathOffset += 24;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildAccountPermissionGroupsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, $fields: arg_$fields).then(unittest
+ .expectAsync1(((api.AccountPermissionGroupsListResponse response) {
+ checkAccountPermissionGroupsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-AccountPermissionsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AccountPermissionsResourceApi res =
+ new api.DfareportingApi(mock).accountPermissions;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountPermissions/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/accountPermissions/"));
+ pathOffset += 20;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountPermission());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AccountPermission response) {
+ checkAccountPermission(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AccountPermissionsResourceApi res =
+ new api.DfareportingApi(mock).accountPermissions;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountPermissions", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 19),
+ unittest.equals("/accountPermissions"));
+ pathOffset += 19;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountPermissionsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, $fields: arg_$fields).then(
+ unittest.expectAsync1(((api.AccountPermissionsListResponse response) {
+ checkAccountPermissionsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-AccountUserProfilesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AccountUserProfilesResourceApi res =
+ new api.DfareportingApi(mock).accountUserProfiles;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountUserProfiles/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/accountUserProfiles/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountUserProfile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AccountUserProfile response) {
+ checkAccountUserProfile(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.AccountUserProfilesResourceApi res =
+ new api.DfareportingApi(mock).accountUserProfiles;
+ var arg_request = buildAccountUserProfile();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.AccountUserProfile.fromJson(json);
+ checkAccountUserProfile(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountUserProfiles", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/accountUserProfiles"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountUserProfile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AccountUserProfile response) {
+ checkAccountUserProfile(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AccountUserProfilesResourceApi res =
+ new api.DfareportingApi(mock).accountUserProfiles;
+ var arg_profileId = "foo";
+ var arg_active = true;
+ var arg_ids = buildUnnamed2851();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_subaccountId = "foo";
+ var arg_userRoleId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountUserProfiles", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/accountUserProfiles"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(
+ queryMap["userRoleId"].first, unittest.equals(arg_userRoleId));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountUserProfilesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ active: arg_active,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
+ userRoleId: arg_userRoleId,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.AccountUserProfilesListResponse response) {
+ checkAccountUserProfilesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.AccountUserProfilesResourceApi res =
+ new api.DfareportingApi(mock).accountUserProfiles;
+ var arg_request = buildAccountUserProfile();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.AccountUserProfile.fromJson(json);
+ checkAccountUserProfile(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountUserProfiles", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/accountUserProfiles"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountUserProfile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AccountUserProfile response) {
+ checkAccountUserProfile(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.AccountUserProfilesResourceApi res =
+ new api.DfareportingApi(mock).accountUserProfiles;
+ var arg_request = buildAccountUserProfile();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.AccountUserProfile.fromJson(json);
+ checkAccountUserProfile(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accountUserProfiles", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/accountUserProfiles"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountUserProfile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AccountUserProfile response) {
+ checkAccountUserProfile(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-AccountsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accounts/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/accounts/"));
+ pathOffset += 10;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccount());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Account response) {
+ checkAccount(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
+ var arg_profileId = "foo";
+ var arg_active = true;
+ var arg_ids = buildUnnamed2852();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accounts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/accounts"));
+ pathOffset += 9;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccountsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ active: arg_active,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AccountsListResponse response) {
+ checkAccountsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
+ var arg_request = buildAccount();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Account.fromJson(json);
+ checkAccount(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accounts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/accounts"));
+ pathOffset += 9;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccount());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Account response) {
+ checkAccount(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
+ var arg_request = buildAccount();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Account.fromJson(json);
+ checkAccount(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/accounts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/accounts"));
+ pathOffset += 9;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAccount());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Account response) {
+ checkAccount(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-AdsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/ads/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 5),
+ unittest.equals("/ads/"));
+ pathOffset += 5;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAd());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Ad response) {
+ checkAd(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
+ var arg_request = buildAd();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Ad.fromJson(json);
+ checkAd(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/ads", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 4),
+ unittest.equals("/ads"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAd());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Ad response) {
+ checkAd(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
+ var arg_profileId = "foo";
+ var arg_active = true;
+ var arg_advertiserId = "foo";
+ var arg_archived = true;
+ var arg_audienceSegmentIds = buildUnnamed2853();
+ var arg_campaignIds = buildUnnamed2854();
+ var arg_compatibility = "foo";
+ var arg_creativeIds = buildUnnamed2855();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed2856();
+ var arg_dynamicClickTracker = true;
+ var arg_ids = buildUnnamed2857();
+ var arg_landingPageIds = buildUnnamed2858();
+ var arg_maxResults = 42;
+ var arg_overriddenEventTagId = "foo";
+ var arg_pageToken = "foo";
+ var arg_placementIds = buildUnnamed2859();
+ var arg_remarketingListIds = buildUnnamed2860();
+ var arg_searchString = "foo";
+ var arg_sizeIds = buildUnnamed2861();
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_sslCompliant = true;
+ var arg_sslRequired = true;
+ var arg_type = buildUnnamed2862();
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/ads", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 4),
+ unittest.equals("/ads"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["archived"].first, unittest.equals("$arg_archived"));
+ unittest.expect(queryMap["audienceSegmentIds"],
+ unittest.equals(arg_audienceSegmentIds));
+ unittest.expect(
+ queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ unittest.expect(queryMap["compatibility"].first,
+ unittest.equals(arg_compatibility));
+ unittest.expect(
+ queryMap["creativeIds"], unittest.equals(arg_creativeIds));
+ unittest.expect(queryMap["creativeOptimizationConfigurationIds"],
+ unittest.equals(arg_creativeOptimizationConfigurationIds));
+ unittest.expect(queryMap["dynamicClickTracker"].first,
+ unittest.equals("$arg_dynamicClickTracker"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["landingPageIds"], unittest.equals(arg_landingPageIds));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["overriddenEventTagId"].first,
+ unittest.equals(arg_overriddenEventTagId));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["placementIds"], unittest.equals(arg_placementIds));
+ unittest.expect(queryMap["remarketingListIds"],
+ unittest.equals(arg_remarketingListIds));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["sslCompliant"].first,
+ unittest.equals("$arg_sslCompliant"));
+ unittest.expect(
+ queryMap["sslRequired"].first, unittest.equals("$arg_sslRequired"));
+ unittest.expect(queryMap["type"], unittest.equals(arg_type));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ active: arg_active,
+ advertiserId: arg_advertiserId,
+ archived: arg_archived,
+ audienceSegmentIds: arg_audienceSegmentIds,
+ campaignIds: arg_campaignIds,
+ compatibility: arg_compatibility,
+ creativeIds: arg_creativeIds,
+ creativeOptimizationConfigurationIds:
+ arg_creativeOptimizationConfigurationIds,
+ dynamicClickTracker: arg_dynamicClickTracker,
+ ids: arg_ids,
+ landingPageIds: arg_landingPageIds,
+ maxResults: arg_maxResults,
+ overriddenEventTagId: arg_overriddenEventTagId,
+ pageToken: arg_pageToken,
+ placementIds: arg_placementIds,
+ remarketingListIds: arg_remarketingListIds,
+ searchString: arg_searchString,
+ sizeIds: arg_sizeIds,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ sslCompliant: arg_sslCompliant,
+ sslRequired: arg_sslRequired,
+ type: arg_type,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AdsListResponse response) {
+ checkAdsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
+ var arg_request = buildAd();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Ad.fromJson(json);
+ checkAd(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/ads", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 4),
+ unittest.equals("/ads"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAd());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Ad response) {
+ checkAd(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
+ var arg_request = buildAd();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Ad.fromJson(json);
+ checkAd(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/ads", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 4),
+ unittest.equals("/ads"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAd());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Ad response) {
+ checkAd(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-AdvertiserGroupsResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserGroupsResourceApi res =
+ new api.DfareportingApi(mock).advertiserGroups;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserGroups/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("/advertiserGroups/"));
+ pathOffset += 18;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserGroupsResourceApi res =
+ new api.DfareportingApi(mock).advertiserGroups;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserGroups/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("/advertiserGroups/"));
+ pathOffset += 18;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiserGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AdvertiserGroup response) {
+ checkAdvertiserGroup(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserGroupsResourceApi res =
+ new api.DfareportingApi(mock).advertiserGroups;
+ var arg_request = buildAdvertiserGroup();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.AdvertiserGroup.fromJson(json);
+ checkAdvertiserGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/advertiserGroups"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiserGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AdvertiserGroup response) {
+ checkAdvertiserGroup(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserGroupsResourceApi res =
+ new api.DfareportingApi(mock).advertiserGroups;
+ var arg_profileId = "foo";
+ var arg_ids = buildUnnamed2863();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/advertiserGroups"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiserGroupsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.AdvertiserGroupsListResponse response) {
+ checkAdvertiserGroupsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserGroupsResourceApi res =
+ new api.DfareportingApi(mock).advertiserGroups;
+ var arg_request = buildAdvertiserGroup();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.AdvertiserGroup.fromJson(json);
+ checkAdvertiserGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/advertiserGroups"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiserGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AdvertiserGroup response) {
+ checkAdvertiserGroup(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserGroupsResourceApi res =
+ new api.DfareportingApi(mock).advertiserGroups;
+ var arg_request = buildAdvertiserGroup();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.AdvertiserGroup.fromJson(json);
+ checkAdvertiserGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/advertiserGroups"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiserGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AdvertiserGroup response) {
+ checkAdvertiserGroup(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-AdvertiserLandingPagesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserLandingPagesResourceApi res =
+ new api.DfareportingApi(mock).advertiserLandingPages;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserLandingPages/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24),
+ unittest.equals("/advertiserLandingPages/"));
+ pathOffset += 24;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLandingPage());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LandingPage response) {
+ checkLandingPage(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserLandingPagesResourceApi res =
+ new api.DfareportingApi(mock).advertiserLandingPages;
+ var arg_request = buildLandingPage();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LandingPage.fromJson(json);
+ checkLandingPage(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserLandingPages", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23),
+ unittest.equals("/advertiserLandingPages"));
+ pathOffset += 23;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLandingPage());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LandingPage response) {
+ checkLandingPage(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserLandingPagesResourceApi res =
+ new api.DfareportingApi(mock).advertiserLandingPages;
+ var arg_profileId = "foo";
+ var arg_advertiserIds = buildUnnamed2864();
+ var arg_archived = true;
+ var arg_ids = buildUnnamed2865();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_subaccountId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserLandingPages", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23),
+ unittest.equals("/advertiserLandingPages"));
+ pathOffset += 23;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(
+ queryMap["archived"].first, unittest.equals("$arg_archived"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildAdvertiserLandingPagesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserIds: arg_advertiserIds,
+ archived: arg_archived,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.AdvertiserLandingPagesListResponse response) {
+ checkAdvertiserLandingPagesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserLandingPagesResourceApi res =
+ new api.DfareportingApi(mock).advertiserLandingPages;
+ var arg_request = buildLandingPage();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LandingPage.fromJson(json);
+ checkLandingPage(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserLandingPages", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23),
+ unittest.equals("/advertiserLandingPages"));
+ pathOffset += 23;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLandingPage());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LandingPage response) {
+ checkLandingPage(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.AdvertiserLandingPagesResourceApi res =
+ new api.DfareportingApi(mock).advertiserLandingPages;
+ var arg_request = buildLandingPage();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LandingPage.fromJson(json);
+ checkLandingPage(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertiserLandingPages", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23),
+ unittest.equals("/advertiserLandingPages"));
+ pathOffset += 23;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLandingPage());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LandingPage response) {
+ checkLandingPage(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-AdvertisersResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.AdvertisersResourceApi res =
+ new api.DfareportingApi(mock).advertisers;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertisers/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("/advertisers/"));
+ pathOffset += 13;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiser());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Advertiser response) {
+ checkAdvertiser(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.AdvertisersResourceApi res =
+ new api.DfareportingApi(mock).advertisers;
+ var arg_request = buildAdvertiser();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Advertiser.fromJson(json);
+ checkAdvertiser(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertisers", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/advertisers"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiser());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Advertiser response) {
+ checkAdvertiser(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.AdvertisersResourceApi res =
+ new api.DfareportingApi(mock).advertisers;
+ var arg_profileId = "foo";
+ var arg_advertiserGroupIds = buildUnnamed2866();
+ var arg_floodlightConfigurationIds = buildUnnamed2867();
+ var arg_ids = buildUnnamed2868();
+ var arg_includeAdvertisersWithoutGroupsOnly = true;
+ var arg_maxResults = 42;
+ var arg_onlyParent = true;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_status = "foo";
+ var arg_subaccountId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertisers", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/advertisers"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["advertiserGroupIds"],
+ unittest.equals(arg_advertiserGroupIds));
+ unittest.expect(queryMap["floodlightConfigurationIds"],
+ unittest.equals(arg_floodlightConfigurationIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(queryMap["includeAdvertisersWithoutGroupsOnly"].first,
+ unittest.equals("$arg_includeAdvertisersWithoutGroupsOnly"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["onlyParent"].first, unittest.equals("$arg_onlyParent"));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertisersListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserGroupIds: arg_advertiserGroupIds,
+ floodlightConfigurationIds: arg_floodlightConfigurationIds,
+ ids: arg_ids,
+ includeAdvertisersWithoutGroupsOnly:
+ arg_includeAdvertisersWithoutGroupsOnly,
+ maxResults: arg_maxResults,
+ onlyParent: arg_onlyParent,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ status: arg_status,
+ subaccountId: arg_subaccountId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.AdvertisersListResponse response) {
+ checkAdvertisersListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.AdvertisersResourceApi res =
+ new api.DfareportingApi(mock).advertisers;
+ var arg_request = buildAdvertiser();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Advertiser.fromJson(json);
+ checkAdvertiser(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertisers", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/advertisers"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiser());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Advertiser response) {
+ checkAdvertiser(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.AdvertisersResourceApi res =
+ new api.DfareportingApi(mock).advertisers;
+ var arg_request = buildAdvertiser();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Advertiser.fromJson(json);
+ checkAdvertiser(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/advertisers", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/advertisers"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildAdvertiser());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Advertiser response) {
+ checkAdvertiser(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-BrowsersResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.BrowsersResourceApi res = new api.DfareportingApi(mock).browsers;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/browsers", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/browsers"));
+ pathOffset += 9;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildBrowsersListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.BrowsersListResponse response) {
+ checkBrowsersListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CampaignCreativeAssociationsResourceApi", () {
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.CampaignCreativeAssociationsResourceApi res =
+ new api.DfareportingApi(mock).campaignCreativeAssociations;
+ var arg_request = buildCampaignCreativeAssociation();
+ var arg_profileId = "foo";
+ var arg_campaignId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CampaignCreativeAssociation.fromJson(json);
+ checkCampaignCreativeAssociation(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/campaigns/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/campaigns/"));
+ pathOffset += 11;
+ index = path.indexOf("/campaignCreativeAssociations", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_campaignId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 29),
+ unittest.equals("/campaignCreativeAssociations"));
+ pathOffset += 29;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCampaignCreativeAssociation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, arg_campaignId,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.CampaignCreativeAssociation response) {
+ checkCampaignCreativeAssociation(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.CampaignCreativeAssociationsResourceApi res =
+ new api.DfareportingApi(mock).campaignCreativeAssociations;
+ var arg_profileId = "foo";
+ var arg_campaignId = "foo";
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/campaigns/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/campaigns/"));
+ pathOffset += 11;
+ index = path.indexOf("/campaignCreativeAssociations", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_campaignId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 29),
+ unittest.equals("/campaignCreativeAssociations"));
+ pathOffset += 29;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON
+ .encode(buildCampaignCreativeAssociationsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, arg_campaignId,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(
+ ((api.CampaignCreativeAssociationsListResponse response) {
+ checkCampaignCreativeAssociationsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CampaignsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/campaigns/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/campaigns/"));
+ pathOffset += 11;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCampaign());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Campaign response) {
+ checkCampaign(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
+ var arg_request = buildCampaign();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Campaign.fromJson(json);
+ checkCampaign(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/campaigns", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/campaigns"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCampaign());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Campaign response) {
+ checkCampaign(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
+ var arg_profileId = "foo";
+ var arg_advertiserGroupIds = buildUnnamed2869();
+ var arg_advertiserIds = buildUnnamed2870();
+ var arg_archived = true;
+ var arg_atLeastOneOptimizationActivity = true;
+ var arg_excludedIds = buildUnnamed2871();
+ var arg_ids = buildUnnamed2872();
+ var arg_maxResults = 42;
+ var arg_overriddenEventTagId = "foo";
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_subaccountId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/campaigns", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/campaigns"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["advertiserGroupIds"],
+ unittest.equals(arg_advertiserGroupIds));
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(
+ queryMap["archived"].first, unittest.equals("$arg_archived"));
+ unittest.expect(queryMap["atLeastOneOptimizationActivity"].first,
+ unittest.equals("$arg_atLeastOneOptimizationActivity"));
+ unittest.expect(
+ queryMap["excludedIds"], unittest.equals(arg_excludedIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["overriddenEventTagId"].first,
+ unittest.equals(arg_overriddenEventTagId));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCampaignsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserGroupIds: arg_advertiserGroupIds,
+ advertiserIds: arg_advertiserIds,
+ archived: arg_archived,
+ atLeastOneOptimizationActivity:
+ arg_atLeastOneOptimizationActivity,
+ excludedIds: arg_excludedIds,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ overriddenEventTagId: arg_overriddenEventTagId,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CampaignsListResponse response) {
+ checkCampaignsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
+ var arg_request = buildCampaign();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Campaign.fromJson(json);
+ checkCampaign(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/campaigns", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/campaigns"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCampaign());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Campaign response) {
+ checkCampaign(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
+ var arg_request = buildCampaign();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Campaign.fromJson(json);
+ checkCampaign(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/campaigns", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/campaigns"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCampaign());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Campaign response) {
+ checkCampaign(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ChangeLogsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/changeLogs/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/changeLogs/"));
+ pathOffset += 12;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildChangeLog());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ChangeLog response) {
+ checkChangeLog(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
+ var arg_profileId = "foo";
+ var arg_action = "foo";
+ var arg_ids = buildUnnamed2873();
+ var arg_maxChangeTime = "foo";
+ var arg_maxResults = 42;
+ var arg_minChangeTime = "foo";
+ var arg_objectIds = buildUnnamed2874();
+ var arg_objectType = "foo";
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_userProfileIds = buildUnnamed2875();
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/changeLogs", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/changeLogs"));
+ pathOffset += 11;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(queryMap["maxChangeTime"].first,
+ unittest.equals(arg_maxChangeTime));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["minChangeTime"].first,
+ unittest.equals(arg_minChangeTime));
+ unittest.expect(queryMap["objectIds"], unittest.equals(arg_objectIds));
+ unittest.expect(
+ queryMap["objectType"].first, unittest.equals(arg_objectType));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["userProfileIds"], unittest.equals(arg_userProfileIds));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildChangeLogsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ action: arg_action,
+ ids: arg_ids,
+ maxChangeTime: arg_maxChangeTime,
+ maxResults: arg_maxResults,
+ minChangeTime: arg_minChangeTime,
+ objectIds: arg_objectIds,
+ objectType: arg_objectType,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ userProfileIds: arg_userProfileIds,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ChangeLogsListResponse response) {
+ checkChangeLogsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CitiesResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
+ var arg_profileId = "foo";
+ var arg_countryDartIds = buildUnnamed2876();
+ var arg_dartIds = buildUnnamed2877();
+ var arg_namePrefix = "foo";
+ var arg_regionDartIds = buildUnnamed2878();
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/cities", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/cities"));
+ pathOffset += 7;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["countryDartIds"], unittest.equals(arg_countryDartIds));
+ unittest.expect(queryMap["dartIds"], unittest.equals(arg_dartIds));
+ unittest.expect(
+ queryMap["namePrefix"].first, unittest.equals(arg_namePrefix));
+ unittest.expect(
+ queryMap["regionDartIds"], unittest.equals(arg_regionDartIds));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCitiesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ countryDartIds: arg_countryDartIds,
+ dartIds: arg_dartIds,
+ namePrefix: arg_namePrefix,
+ regionDartIds: arg_regionDartIds,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CitiesListResponse response) {
+ checkCitiesListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ConnectionTypesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.ConnectionTypesResourceApi res =
+ new api.DfareportingApi(mock).connectionTypes;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/connectionTypes/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/connectionTypes/"));
+ pathOffset += 17;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildConnectionType());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ConnectionType response) {
+ checkConnectionType(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ConnectionTypesResourceApi res =
+ new api.DfareportingApi(mock).connectionTypes;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/connectionTypes", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/connectionTypes"));
+ pathOffset += 16;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildConnectionTypesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, $fields: arg_$fields).then(
+ unittest.expectAsync1(((api.ConnectionTypesListResponse response) {
+ checkConnectionTypesListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ContentCategoriesResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.ContentCategoriesResourceApi res =
+ new api.DfareportingApi(mock).contentCategories;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/contentCategories/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 19),
+ unittest.equals("/contentCategories/"));
+ pathOffset += 19;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.ContentCategoriesResourceApi res =
+ new api.DfareportingApi(mock).contentCategories;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/contentCategories/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 19),
+ unittest.equals("/contentCategories/"));
+ pathOffset += 19;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildContentCategory());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ContentCategory response) {
+ checkContentCategory(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.ContentCategoriesResourceApi res =
+ new api.DfareportingApi(mock).contentCategories;
+ var arg_request = buildContentCategory();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.ContentCategory.fromJson(json);
+ checkContentCategory(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/contentCategories", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("/contentCategories"));
+ pathOffset += 18;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildContentCategory());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ContentCategory response) {
+ checkContentCategory(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ContentCategoriesResourceApi res =
+ new api.DfareportingApi(mock).contentCategories;
+ var arg_profileId = "foo";
+ var arg_ids = buildUnnamed2879();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/contentCategories", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("/contentCategories"));
+ pathOffset += 18;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildContentCategoriesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.ContentCategoriesListResponse response) {
+ checkContentCategoriesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.ContentCategoriesResourceApi res =
+ new api.DfareportingApi(mock).contentCategories;
+ var arg_request = buildContentCategory();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.ContentCategory.fromJson(json);
+ checkContentCategory(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/contentCategories", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("/contentCategories"));
+ pathOffset += 18;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildContentCategory());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ContentCategory response) {
+ checkContentCategory(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.ContentCategoriesResourceApi res =
+ new api.DfareportingApi(mock).contentCategories;
+ var arg_request = buildContentCategory();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.ContentCategory.fromJson(json);
+ checkContentCategory(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/contentCategories", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("/contentCategories"));
+ pathOffset += 18;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildContentCategory());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ContentCategory response) {
+ checkContentCategory(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ConversionsResourceApi", () {
+ unittest.test("method--batchinsert", () {
+ var mock = new HttpServerMock();
+ api.ConversionsResourceApi res =
+ new api.DfareportingApi(mock).conversions;
+ var arg_request = buildConversionsBatchInsertRequest();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.ConversionsBatchInsertRequest.fromJson(json);
+ checkConversionsBatchInsertRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/conversions/batchinsert", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24),
+ unittest.equals("/conversions/batchinsert"));
+ pathOffset += 24;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildConversionsBatchInsertResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.batchinsert(arg_request, arg_profileId, $fields: arg_$fields).then(
+ unittest.expectAsync1(((api.ConversionsBatchInsertResponse response) {
+ checkConversionsBatchInsertResponse(response);
+ })));
+ });
+
+ unittest.test("method--batchupdate", () {
+ var mock = new HttpServerMock();
+ api.ConversionsResourceApi res =
+ new api.DfareportingApi(mock).conversions;
+ var arg_request = buildConversionsBatchUpdateRequest();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.ConversionsBatchUpdateRequest.fromJson(json);
+ checkConversionsBatchUpdateRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/conversions/batchupdate", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24),
+ unittest.equals("/conversions/batchupdate"));
+ pathOffset += 24;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildConversionsBatchUpdateResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.batchupdate(arg_request, arg_profileId, $fields: arg_$fields).then(
+ unittest.expectAsync1(((api.ConversionsBatchUpdateResponse response) {
+ checkConversionsBatchUpdateResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CountriesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.CountriesResourceApi res = new api.DfareportingApi(mock).countries;
+ var arg_profileId = "foo";
+ var arg_dartId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/countries/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/countries/"));
+ pathOffset += 11;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_dartId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCountry());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_dartId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Country response) {
+ checkCountry(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.CountriesResourceApi res = new api.DfareportingApi(mock).countries;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/countries", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/countries"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCountriesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CountriesListResponse response) {
+ checkCountriesListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CreativeAssetsResourceApi", () {
+ unittest.test("method--insert", () {
+ // TODO: Implement tests for media upload;
+ // TODO: Implement tests for media download;
+
+ var mock = new HttpServerMock();
+ api.CreativeAssetsResourceApi res =
+ new api.DfareportingApi(mock).creativeAssets;
+ var arg_request = buildCreativeAssetMetadata();
+ var arg_profileId = "foo";
+ var arg_advertiserId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeAssetMetadata.fromJson(json);
+ checkCreativeAssetMetadata(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeAssets/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeAssets/"));
+ pathOffset += 16;
+ index = path.indexOf("/creativeAssets", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_advertiserId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeAssets"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeAssetMetadata());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, arg_advertiserId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeAssetMetadata response) {
+ checkCreativeAssetMetadata(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CreativeFieldValuesResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldValuesResourceApi res =
+ new api.DfareportingApi(mock).creativeFieldValues;
+ var arg_profileId = "foo";
+ var arg_creativeFieldId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeFields/"));
+ pathOffset += 16;
+ index = path.indexOf("/creativeFieldValues/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_creativeFieldId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/creativeFieldValues/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_creativeFieldId, arg_id,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldValuesResourceApi res =
+ new api.DfareportingApi(mock).creativeFieldValues;
+ var arg_profileId = "foo";
+ var arg_creativeFieldId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeFields/"));
+ pathOffset += 16;
+ index = path.indexOf("/creativeFieldValues/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_creativeFieldId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/creativeFieldValues/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeFieldValue());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_creativeFieldId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeFieldValue response) {
+ checkCreativeFieldValue(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldValuesResourceApi res =
+ new api.DfareportingApi(mock).creativeFieldValues;
+ var arg_request = buildCreativeFieldValue();
+ var arg_profileId = "foo";
+ var arg_creativeFieldId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeFieldValue.fromJson(json);
+ checkCreativeFieldValue(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeFields/"));
+ pathOffset += 16;
+ index = path.indexOf("/creativeFieldValues", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_creativeFieldId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/creativeFieldValues"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeFieldValue());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, arg_creativeFieldId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeFieldValue response) {
+ checkCreativeFieldValue(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldValuesResourceApi res =
+ new api.DfareportingApi(mock).creativeFieldValues;
+ var arg_profileId = "foo";
+ var arg_creativeFieldId = "foo";
+ var arg_ids = buildUnnamed2880();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeFields/"));
+ pathOffset += 16;
+ index = path.indexOf("/creativeFieldValues", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_creativeFieldId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/creativeFieldValues"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeFieldValuesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, arg_creativeFieldId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.CreativeFieldValuesListResponse response) {
+ checkCreativeFieldValuesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldValuesResourceApi res =
+ new api.DfareportingApi(mock).creativeFieldValues;
+ var arg_request = buildCreativeFieldValue();
+ var arg_profileId = "foo";
+ var arg_creativeFieldId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeFieldValue.fromJson(json);
+ checkCreativeFieldValue(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeFields/"));
+ pathOffset += 16;
+ index = path.indexOf("/creativeFieldValues", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_creativeFieldId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/creativeFieldValues"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeFieldValue());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_creativeFieldId, arg_id,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeFieldValue response) {
+ checkCreativeFieldValue(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldValuesResourceApi res =
+ new api.DfareportingApi(mock).creativeFieldValues;
+ var arg_request = buildCreativeFieldValue();
+ var arg_profileId = "foo";
+ var arg_creativeFieldId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeFieldValue.fromJson(json);
+ checkCreativeFieldValue(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeFields/"));
+ pathOffset += 16;
+ index = path.indexOf("/creativeFieldValues", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_creativeFieldId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/creativeFieldValues"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeFieldValue());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, arg_creativeFieldId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeFieldValue response) {
+ checkCreativeFieldValue(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CreativeFieldsResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldsResourceApi res =
+ new api.DfareportingApi(mock).creativeFields;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeFields/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldsResourceApi res =
+ new api.DfareportingApi(mock).creativeFields;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeFields/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeField());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeField response) {
+ checkCreativeField(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldsResourceApi res =
+ new api.DfareportingApi(mock).creativeFields;
+ var arg_request = buildCreativeField();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeField.fromJson(json);
+ checkCreativeField(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeFields"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeField());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeField response) {
+ checkCreativeField(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldsResourceApi res =
+ new api.DfareportingApi(mock).creativeFields;
+ var arg_profileId = "foo";
+ var arg_advertiserIds = buildUnnamed2881();
+ var arg_ids = buildUnnamed2882();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeFields"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeFieldsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserIds: arg_advertiserIds,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(
+ unittest.expectAsync1(((api.CreativeFieldsListResponse response) {
+ checkCreativeFieldsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldsResourceApi res =
+ new api.DfareportingApi(mock).creativeFields;
+ var arg_request = buildCreativeField();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeField.fromJson(json);
+ checkCreativeField(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeFields"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeField());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeField response) {
+ checkCreativeField(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.CreativeFieldsResourceApi res =
+ new api.DfareportingApi(mock).creativeFields;
+ var arg_request = buildCreativeField();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeField.fromJson(json);
+ checkCreativeField(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeFields", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeFields"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeField());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeField response) {
+ checkCreativeField(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CreativeGroupsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.CreativeGroupsResourceApi res =
+ new api.DfareportingApi(mock).creativeGroups;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeGroups/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/creativeGroups/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeGroup response) {
+ checkCreativeGroup(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.CreativeGroupsResourceApi res =
+ new api.DfareportingApi(mock).creativeGroups;
+ var arg_request = buildCreativeGroup();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeGroup.fromJson(json);
+ checkCreativeGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeGroups"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeGroup response) {
+ checkCreativeGroup(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.CreativeGroupsResourceApi res =
+ new api.DfareportingApi(mock).creativeGroups;
+ var arg_profileId = "foo";
+ var arg_advertiserIds = buildUnnamed2883();
+ var arg_groupNumber = 42;
+ var arg_ids = buildUnnamed2884();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeGroups"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(core.int.parse(queryMap["groupNumber"].first),
+ unittest.equals(arg_groupNumber));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeGroupsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserIds: arg_advertiserIds,
+ groupNumber: arg_groupNumber,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(
+ unittest.expectAsync1(((api.CreativeGroupsListResponse response) {
+ checkCreativeGroupsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.CreativeGroupsResourceApi res =
+ new api.DfareportingApi(mock).creativeGroups;
+ var arg_request = buildCreativeGroup();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeGroup.fromJson(json);
+ checkCreativeGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeGroups"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeGroup response) {
+ checkCreativeGroup(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.CreativeGroupsResourceApi res =
+ new api.DfareportingApi(mock).creativeGroups;
+ var arg_request = buildCreativeGroup();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CreativeGroup.fromJson(json);
+ checkCreativeGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creativeGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/creativeGroups"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativeGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativeGroup response) {
+ checkCreativeGroup(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-CreativesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creatives/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/creatives/"));
+ pathOffset += 11;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreative());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Creative response) {
+ checkCreative(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
+ var arg_request = buildCreative();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Creative.fromJson(json);
+ checkCreative(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creatives", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/creatives"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreative());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Creative response) {
+ checkCreative(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
+ var arg_profileId = "foo";
+ var arg_active = true;
+ var arg_advertiserId = "foo";
+ var arg_archived = true;
+ var arg_campaignId = "foo";
+ var arg_companionCreativeIds = buildUnnamed2885();
+ var arg_creativeFieldIds = buildUnnamed2886();
+ var arg_ids = buildUnnamed2887();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_renderingIds = buildUnnamed2888();
+ var arg_searchString = "foo";
+ var arg_sizeIds = buildUnnamed2889();
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_studioCreativeId = "foo";
+ var arg_types = buildUnnamed2890();
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creatives", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/creatives"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["archived"].first, unittest.equals("$arg_archived"));
+ unittest.expect(
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ unittest.expect(queryMap["companionCreativeIds"],
+ unittest.equals(arg_companionCreativeIds));
+ unittest.expect(queryMap["creativeFieldIds"],
+ unittest.equals(arg_creativeFieldIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["renderingIds"], unittest.equals(arg_renderingIds));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["studioCreativeId"].first,
+ unittest.equals(arg_studioCreativeId));
+ unittest.expect(queryMap["types"], unittest.equals(arg_types));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreativesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ active: arg_active,
+ advertiserId: arg_advertiserId,
+ archived: arg_archived,
+ campaignId: arg_campaignId,
+ companionCreativeIds: arg_companionCreativeIds,
+ creativeFieldIds: arg_creativeFieldIds,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ renderingIds: arg_renderingIds,
+ searchString: arg_searchString,
+ sizeIds: arg_sizeIds,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ studioCreativeId: arg_studioCreativeId,
+ types: arg_types,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CreativesListResponse response) {
+ checkCreativesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
+ var arg_request = buildCreative();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Creative.fromJson(json);
+ checkCreative(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creatives", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/creatives"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreative());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Creative response) {
+ checkCreative(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
+ var arg_request = buildCreative();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Creative.fromJson(json);
+ checkCreative(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/creatives", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/creatives"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCreative());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Creative response) {
+ checkCreative(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-DimensionValuesResourceApi", () {
+ unittest.test("method--query", () {
+ var mock = new HttpServerMock();
+ api.DimensionValuesResourceApi res =
+ new api.DfareportingApi(mock).dimensionValues;
+ var arg_request = buildDimensionValueRequest();
+ var arg_profileId = "foo";
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.DimensionValueRequest.fromJson(json);
+ checkDimensionValueRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/dimensionvalues/query", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22),
+ unittest.equals("/dimensionvalues/query"));
+ pathOffset += 22;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDimensionValueList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .query(arg_request, arg_profileId,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.DimensionValueList response) {
+ checkDimensionValueList(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-DirectorySiteContactsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.DirectorySiteContactsResourceApi res =
+ new api.DfareportingApi(mock).directorySiteContacts;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/directorySiteContacts/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23),
+ unittest.equals("/directorySiteContacts/"));
+ pathOffset += 23;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDirectorySiteContact());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.DirectorySiteContact response) {
+ checkDirectorySiteContact(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.DirectorySiteContactsResourceApi res =
+ new api.DfareportingApi(mock).directorySiteContacts;
+ var arg_profileId = "foo";
+ var arg_directorySiteIds = buildUnnamed2891();
+ var arg_ids = buildUnnamed2892();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/directorySiteContacts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22),
+ unittest.equals("/directorySiteContacts"));
+ pathOffset += 22;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["directorySiteIds"],
+ unittest.equals(arg_directorySiteIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildDirectorySiteContactsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ directorySiteIds: arg_directorySiteIds,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.DirectorySiteContactsListResponse response) {
+ checkDirectorySiteContactsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-DirectorySitesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.DirectorySitesResourceApi res =
+ new api.DfareportingApi(mock).directorySites;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/directorySites/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/directorySites/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDirectorySite());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.DirectorySite response) {
+ checkDirectorySite(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.DirectorySitesResourceApi res =
+ new api.DfareportingApi(mock).directorySites;
+ var arg_request = buildDirectorySite();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.DirectorySite.fromJson(json);
+ checkDirectorySite(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/directorySites", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/directorySites"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDirectorySite());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.DirectorySite response) {
+ checkDirectorySite(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.DirectorySitesResourceApi res =
+ new api.DfareportingApi(mock).directorySites;
+ var arg_profileId = "foo";
+ var arg_acceptsInStreamVideoPlacements = true;
+ var arg_acceptsInterstitialPlacements = true;
+ var arg_acceptsPublisherPaidPlacements = true;
+ var arg_active = true;
+ var arg_countryId = "foo";
+ var arg_dfpNetworkCode = "foo";
+ var arg_ids = buildUnnamed2893();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_parentId = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/directorySites", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/directorySites"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["acceptsInStreamVideoPlacements"].first,
+ unittest.equals("$arg_acceptsInStreamVideoPlacements"));
+ unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
+ unittest.equals("$arg_acceptsInterstitialPlacements"));
+ unittest.expect(queryMap["acceptsPublisherPaidPlacements"].first,
+ unittest.equals("$arg_acceptsPublisherPaidPlacements"));
+ unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(
+ queryMap["countryId"].first, unittest.equals(arg_countryId));
+ unittest.expect(queryMap["dfpNetworkCode"].first,
+ unittest.equals(arg_dfpNetworkCode));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["parentId"].first, unittest.equals(arg_parentId));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDirectorySitesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ acceptsInStreamVideoPlacements:
+ arg_acceptsInStreamVideoPlacements,
+ acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
+ acceptsPublisherPaidPlacements:
+ arg_acceptsPublisherPaidPlacements,
+ active: arg_active,
+ countryId: arg_countryId,
+ dfpNetworkCode: arg_dfpNetworkCode,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ parentId: arg_parentId,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(
+ unittest.expectAsync1(((api.DirectorySitesListResponse response) {
+ checkDirectorySitesListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-DynamicTargetingKeysResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.DynamicTargetingKeysResourceApi res =
+ new api.DfareportingApi(mock).dynamicTargetingKeys;
+ var arg_profileId = "foo";
+ var arg_objectId = "foo";
+ var arg_name = "foo";
+ var arg_objectType = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/dynamicTargetingKeys/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22),
+ unittest.equals("/dynamicTargetingKeys/"));
+ pathOffset += 22;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_objectId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
+ unittest.expect(
+ queryMap["objectType"].first, unittest.equals(arg_objectType));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_objectId, arg_name, arg_objectType,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.DynamicTargetingKeysResourceApi res =
+ new api.DfareportingApi(mock).dynamicTargetingKeys;
+ var arg_request = buildDynamicTargetingKey();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.DynamicTargetingKey.fromJson(json);
+ checkDynamicTargetingKey(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/dynamicTargetingKeys", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/dynamicTargetingKeys"));
+ pathOffset += 21;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDynamicTargetingKey());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.DynamicTargetingKey response) {
+ checkDynamicTargetingKey(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.DynamicTargetingKeysResourceApi res =
+ new api.DfareportingApi(mock).dynamicTargetingKeys;
+ var arg_profileId = "foo";
+ var arg_advertiserId = "foo";
+ var arg_names = buildUnnamed2894();
+ var arg_objectId = "foo";
+ var arg_objectType = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/dynamicTargetingKeys", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/dynamicTargetingKeys"));
+ pathOffset += 21;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["names"], unittest.equals(arg_names));
+ unittest.expect(
+ queryMap["objectId"].first, unittest.equals(arg_objectId));
+ unittest.expect(
+ queryMap["objectType"].first, unittest.equals(arg_objectType));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildDynamicTargetingKeysListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserId: arg_advertiserId,
+ names: arg_names,
+ objectId: arg_objectId,
+ objectType: arg_objectType,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.DynamicTargetingKeysListResponse response) {
+ checkDynamicTargetingKeysListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-EventTagsResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/eventTags/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/eventTags/"));
+ pathOffset += 11;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/eventTags/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/eventTags/"));
+ pathOffset += 11;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEventTag());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.EventTag response) {
+ checkEventTag(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
+ var arg_request = buildEventTag();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.EventTag.fromJson(json);
+ checkEventTag(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/eventTags", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/eventTags"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEventTag());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.EventTag response) {
+ checkEventTag(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
+ var arg_profileId = "foo";
+ var arg_adId = "foo";
+ var arg_advertiserId = "foo";
+ var arg_campaignId = "foo";
+ var arg_definitionsOnly = true;
+ var arg_enabled = true;
+ var arg_eventTagTypes = buildUnnamed2895();
+ var arg_ids = buildUnnamed2896();
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/eventTags", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/eventTags"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["adId"].first, unittest.equals(arg_adId));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ unittest.expect(queryMap["definitionsOnly"].first,
+ unittest.equals("$arg_definitionsOnly"));
+ unittest.expect(
+ queryMap["enabled"].first, unittest.equals("$arg_enabled"));
+ unittest.expect(
+ queryMap["eventTagTypes"], unittest.equals(arg_eventTagTypes));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEventTagsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ adId: arg_adId,
+ advertiserId: arg_advertiserId,
+ campaignId: arg_campaignId,
+ definitionsOnly: arg_definitionsOnly,
+ enabled: arg_enabled,
+ eventTagTypes: arg_eventTagTypes,
+ ids: arg_ids,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.EventTagsListResponse response) {
+ checkEventTagsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
+ var arg_request = buildEventTag();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.EventTag.fromJson(json);
+ checkEventTag(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/eventTags", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/eventTags"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEventTag());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.EventTag response) {
+ checkEventTag(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
+ var arg_request = buildEventTag();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.EventTag.fromJson(json);
+ checkEventTag(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/eventTags", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/eventTags"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEventTag());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.EventTag response) {
+ checkEventTag(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-FilesResourceApi", () {
+ unittest.test("method--get", () {
+ // TODO: Implement tests for media upload;
+ // TODO: Implement tests for media download;
+
+ var mock = new HttpServerMock();
+ api.FilesResourceApi res = new api.DfareportingApi(mock).files;
+ var arg_reportId = "foo";
+ var arg_fileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 8),
+ unittest.equals("reports/"));
+ pathOffset += 8;
+ index = path.indexOf("/files/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_reportId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/files/"));
+ pathOffset += 7;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_fileId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_reportId, arg_fileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.File response) {
+ checkFile(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.FilesResourceApi res = new api.DfareportingApi(mock).files;
+ var arg_profileId = "foo";
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_scope = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/files", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals("/files"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFileList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ scope: arg_scope,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FileList response) {
+ checkFileList(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-FloodlightActivitiesResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivitiesResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivities;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivities/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22),
+ unittest.equals("/floodlightActivities/"));
+ pathOffset += 22;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--generatetag", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivitiesResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivities;
+ var arg_profileId = "foo";
+ var arg_floodlightActivityId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivities/generatetag", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 33),
+ unittest.equals("/floodlightActivities/generatetag"));
+ pathOffset += 33;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["floodlightActivityId"].first,
+ unittest.equals(arg_floodlightActivityId));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildFloodlightActivitiesGenerateTagResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .generatetag(arg_profileId,
+ floodlightActivityId: arg_floodlightActivityId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(
+ ((api.FloodlightActivitiesGenerateTagResponse response) {
+ checkFloodlightActivitiesGenerateTagResponse(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivitiesResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivities;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivities/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22),
+ unittest.equals("/floodlightActivities/"));
+ pathOffset += 22;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivity());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightActivity response) {
+ checkFloodlightActivity(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivitiesResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivities;
+ var arg_request = buildFloodlightActivity();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.FloodlightActivity.fromJson(json);
+ checkFloodlightActivity(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivities", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/floodlightActivities"));
+ pathOffset += 21;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivity());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightActivity response) {
+ checkFloodlightActivity(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivitiesResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivities;
+ var arg_profileId = "foo";
+ var arg_advertiserId = "foo";
+ var arg_floodlightActivityGroupIds = buildUnnamed2897();
+ var arg_floodlightActivityGroupName = "foo";
+ var arg_floodlightActivityGroupTagString = "foo";
+ var arg_floodlightActivityGroupType = "foo";
+ var arg_floodlightConfigurationId = "foo";
+ var arg_ids = buildUnnamed2898();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_tagString = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivities", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/floodlightActivities"));
+ pathOffset += 21;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["floodlightActivityGroupIds"],
+ unittest.equals(arg_floodlightActivityGroupIds));
+ unittest.expect(queryMap["floodlightActivityGroupName"].first,
+ unittest.equals(arg_floodlightActivityGroupName));
+ unittest.expect(queryMap["floodlightActivityGroupTagString"].first,
+ unittest.equals(arg_floodlightActivityGroupTagString));
+ unittest.expect(queryMap["floodlightActivityGroupType"].first,
+ unittest.equals(arg_floodlightActivityGroupType));
+ unittest.expect(queryMap["floodlightConfigurationId"].first,
+ unittest.equals(arg_floodlightConfigurationId));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["tagString"].first, unittest.equals(arg_tagString));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivitiesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserId: arg_advertiserId,
+ floodlightActivityGroupIds: arg_floodlightActivityGroupIds,
+ floodlightActivityGroupName: arg_floodlightActivityGroupName,
+ floodlightActivityGroupTagString:
+ arg_floodlightActivityGroupTagString,
+ floodlightActivityGroupType: arg_floodlightActivityGroupType,
+ floodlightConfigurationId: arg_floodlightConfigurationId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ tagString: arg_tagString,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.FloodlightActivitiesListResponse response) {
+ checkFloodlightActivitiesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivitiesResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivities;
+ var arg_request = buildFloodlightActivity();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.FloodlightActivity.fromJson(json);
+ checkFloodlightActivity(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivities", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/floodlightActivities"));
+ pathOffset += 21;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivity());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightActivity response) {
+ checkFloodlightActivity(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivitiesResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivities;
+ var arg_request = buildFloodlightActivity();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.FloodlightActivity.fromJson(json);
+ checkFloodlightActivity(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivities", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/floodlightActivities"));
+ pathOffset += 21;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivity());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightActivity response) {
+ checkFloodlightActivity(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-FloodlightActivityGroupsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivityGroupsResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivityGroups;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivityGroups/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 26),
+ unittest.equals("/floodlightActivityGroups/"));
+ pathOffset += 26;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivityGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightActivityGroup response) {
+ checkFloodlightActivityGroup(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivityGroupsResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivityGroups;
+ var arg_request = buildFloodlightActivityGroup();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.FloodlightActivityGroup.fromJson(json);
+ checkFloodlightActivityGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivityGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/floodlightActivityGroups"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivityGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightActivityGroup response) {
+ checkFloodlightActivityGroup(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivityGroupsResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivityGroups;
+ var arg_profileId = "foo";
+ var arg_advertiserId = "foo";
+ var arg_floodlightConfigurationId = "foo";
+ var arg_ids = buildUnnamed2899();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_type = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivityGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/floodlightActivityGroups"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["floodlightConfigurationId"].first,
+ unittest.equals(arg_floodlightConfigurationId));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildFloodlightActivityGroupsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserId: arg_advertiserId,
+ floodlightConfigurationId: arg_floodlightConfigurationId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ type: arg_type,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(
+ ((api.FloodlightActivityGroupsListResponse response) {
+ checkFloodlightActivityGroupsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivityGroupsResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivityGroups;
+ var arg_request = buildFloodlightActivityGroup();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.FloodlightActivityGroup.fromJson(json);
+ checkFloodlightActivityGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivityGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/floodlightActivityGroups"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivityGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightActivityGroup response) {
+ checkFloodlightActivityGroup(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.FloodlightActivityGroupsResourceApi res =
+ new api.DfareportingApi(mock).floodlightActivityGroups;
+ var arg_request = buildFloodlightActivityGroup();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.FloodlightActivityGroup.fromJson(json);
+ checkFloodlightActivityGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightActivityGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/floodlightActivityGroups"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightActivityGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightActivityGroup response) {
+ checkFloodlightActivityGroup(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-FloodlightConfigurationsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.FloodlightConfigurationsResourceApi res =
+ new api.DfareportingApi(mock).floodlightConfigurations;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightConfigurations/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 26),
+ unittest.equals("/floodlightConfigurations/"));
+ pathOffset += 26;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightConfiguration());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightConfiguration response) {
+ checkFloodlightConfiguration(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.FloodlightConfigurationsResourceApi res =
+ new api.DfareportingApi(mock).floodlightConfigurations;
+ var arg_profileId = "foo";
+ var arg_ids = buildUnnamed2900();
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightConfigurations", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/floodlightConfigurations"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildFloodlightConfigurationsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, ids: arg_ids, $fields: arg_$fields).then(unittest
+ .expectAsync1(((api.FloodlightConfigurationsListResponse response) {
+ checkFloodlightConfigurationsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.FloodlightConfigurationsResourceApi res =
+ new api.DfareportingApi(mock).floodlightConfigurations;
+ var arg_request = buildFloodlightConfiguration();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.FloodlightConfiguration.fromJson(json);
+ checkFloodlightConfiguration(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightConfigurations", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/floodlightConfigurations"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightConfiguration());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightConfiguration response) {
+ checkFloodlightConfiguration(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.FloodlightConfigurationsResourceApi res =
+ new api.DfareportingApi(mock).floodlightConfigurations;
+ var arg_request = buildFloodlightConfiguration();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.FloodlightConfiguration.fromJson(json);
+ checkFloodlightConfiguration(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/floodlightConfigurations", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/floodlightConfigurations"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFloodlightConfiguration());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FloodlightConfiguration response) {
+ checkFloodlightConfiguration(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-InventoryItemsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.InventoryItemsResourceApi res =
+ new api.DfareportingApi(mock).inventoryItems;
+ var arg_profileId = "foo";
+ var arg_projectId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/projects/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/projects/"));
+ pathOffset += 10;
+ index = path.indexOf("/inventoryItems/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/inventoryItems/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildInventoryItem());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_projectId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.InventoryItem response) {
+ checkInventoryItem(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.InventoryItemsResourceApi res =
+ new api.DfareportingApi(mock).inventoryItems;
+ var arg_profileId = "foo";
+ var arg_projectId = "foo";
+ var arg_ids = buildUnnamed2901();
+ var arg_inPlan = true;
+ var arg_maxResults = 42;
+ var arg_orderId = buildUnnamed2902();
+ var arg_pageToken = "foo";
+ var arg_siteId = buildUnnamed2903();
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_type = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/projects/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/projects/"));
+ pathOffset += 10;
+ index = path.indexOf("/inventoryItems", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/inventoryItems"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["inPlan"].first, unittest.equals("$arg_inPlan"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildInventoryItemsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, arg_projectId,
+ ids: arg_ids,
+ inPlan: arg_inPlan,
+ maxResults: arg_maxResults,
+ orderId: arg_orderId,
+ pageToken: arg_pageToken,
+ siteId: arg_siteId,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ type: arg_type,
+ $fields: arg_$fields)
+ .then(
+ unittest.expectAsync1(((api.InventoryItemsListResponse response) {
+ checkInventoryItemsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-LanguagesResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.LanguagesResourceApi res = new api.DfareportingApi(mock).languages;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/languages", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/languages"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLanguagesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LanguagesListResponse response) {
+ checkLanguagesListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-MetrosResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.MetrosResourceApi res = new api.DfareportingApi(mock).metros;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/metros", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/metros"));
+ pathOffset += 7;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildMetrosListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.MetrosListResponse response) {
+ checkMetrosListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-MobileCarriersResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.MobileCarriersResourceApi res =
+ new api.DfareportingApi(mock).mobileCarriers;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/mobileCarriers/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/mobileCarriers/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildMobileCarrier());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.MobileCarrier response) {
+ checkMobileCarrier(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.MobileCarriersResourceApi res =
+ new api.DfareportingApi(mock).mobileCarriers;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/mobileCarriers", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/mobileCarriers"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildMobileCarriersListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, $fields: arg_$fields).then(
+ unittest.expectAsync1(((api.MobileCarriersListResponse response) {
+ checkMobileCarriersListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-OperatingSystemVersionsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.OperatingSystemVersionsResourceApi res =
+ new api.DfareportingApi(mock).operatingSystemVersions;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/operatingSystemVersions/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/operatingSystemVersions/"));
+ pathOffset += 25;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperatingSystemVersion());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.OperatingSystemVersion response) {
+ checkOperatingSystemVersion(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.OperatingSystemVersionsResourceApi res =
+ new api.DfareportingApi(mock).operatingSystemVersions;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/operatingSystemVersions", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24),
+ unittest.equals("/operatingSystemVersions"));
+ pathOffset += 24;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildOperatingSystemVersionsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, $fields: arg_$fields).then(unittest
+ .expectAsync1(((api.OperatingSystemVersionsListResponse response) {
+ checkOperatingSystemVersionsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-OperatingSystemsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.OperatingSystemsResourceApi res =
+ new api.DfareportingApi(mock).operatingSystems;
+ var arg_profileId = "foo";
+ var arg_dartId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/operatingSystems/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("/operatingSystems/"));
+ pathOffset += 18;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_dartId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperatingSystem());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_dartId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.OperatingSystem response) {
+ checkOperatingSystem(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.OperatingSystemsResourceApi res =
+ new api.DfareportingApi(mock).operatingSystems;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/operatingSystems", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/operatingSystems"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOperatingSystemsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, $fields: arg_$fields).then(
+ unittest.expectAsync1(((api.OperatingSystemsListResponse response) {
+ checkOperatingSystemsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-OrderDocumentsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.OrderDocumentsResourceApi res =
+ new api.DfareportingApi(mock).orderDocuments;
+ var arg_profileId = "foo";
+ var arg_projectId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/projects/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/projects/"));
+ pathOffset += 10;
+ index = path.indexOf("/orderDocuments/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/orderDocuments/"));
+ pathOffset += 16;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrderDocument());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_projectId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.OrderDocument response) {
+ checkOrderDocument(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.OrderDocumentsResourceApi res =
+ new api.DfareportingApi(mock).orderDocuments;
+ var arg_profileId = "foo";
+ var arg_projectId = "foo";
+ var arg_approved = true;
+ var arg_ids = buildUnnamed2904();
+ var arg_maxResults = 42;
+ var arg_orderId = buildUnnamed2905();
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_siteId = buildUnnamed2906();
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/projects/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/projects/"));
+ pathOffset += 10;
+ index = path.indexOf("/orderDocuments", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/orderDocuments"));
+ pathOffset += 15;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["approved"].first, unittest.equals("$arg_approved"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrderDocumentsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, arg_projectId,
+ approved: arg_approved,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ orderId: arg_orderId,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ siteId: arg_siteId,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(
+ unittest.expectAsync1(((api.OrderDocumentsListResponse response) {
+ checkOrderDocumentsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-OrdersResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
+ var arg_profileId = "foo";
+ var arg_projectId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/projects/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/projects/"));
+ pathOffset += 10;
+ index = path.indexOf("/orders/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 8),
+ unittest.equals("/orders/"));
+ pathOffset += 8;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrder());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_projectId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Order response) {
+ checkOrder(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
+ var arg_profileId = "foo";
+ var arg_projectId = "foo";
+ var arg_ids = buildUnnamed2907();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_siteId = buildUnnamed2908();
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/projects/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/projects/"));
+ pathOffset += 10;
+ index = path.indexOf("/orders", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_projectId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/orders"));
+ pathOffset += 7;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildOrdersListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, arg_projectId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ siteId: arg_siteId,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.OrdersListResponse response) {
+ checkOrdersListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-PlacementGroupsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.PlacementGroupsResourceApi res =
+ new api.DfareportingApi(mock).placementGroups;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementGroups/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/placementGroups/"));
+ pathOffset += 17;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementGroup response) {
+ checkPlacementGroup(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.PlacementGroupsResourceApi res =
+ new api.DfareportingApi(mock).placementGroups;
+ var arg_request = buildPlacementGroup();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.PlacementGroup.fromJson(json);
+ checkPlacementGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/placementGroups"));
+ pathOffset += 16;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementGroup response) {
+ checkPlacementGroup(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.PlacementGroupsResourceApi res =
+ new api.DfareportingApi(mock).placementGroups;
+ var arg_profileId = "foo";
+ var arg_advertiserIds = buildUnnamed2909();
+ var arg_archived = true;
+ var arg_campaignIds = buildUnnamed2910();
+ var arg_contentCategoryIds = buildUnnamed2911();
+ var arg_directorySiteIds = buildUnnamed2912();
+ var arg_ids = buildUnnamed2913();
+ var arg_maxEndDate = "foo";
+ var arg_maxResults = 42;
+ var arg_maxStartDate = "foo";
+ var arg_minEndDate = "foo";
+ var arg_minStartDate = "foo";
+ var arg_pageToken = "foo";
+ var arg_placementGroupType = "foo";
+ var arg_placementStrategyIds = buildUnnamed2914();
+ var arg_pricingTypes = buildUnnamed2915();
+ var arg_searchString = "foo";
+ var arg_siteIds = buildUnnamed2916();
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/placementGroups"));
+ pathOffset += 16;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(
+ queryMap["archived"].first, unittest.equals("$arg_archived"));
+ unittest.expect(
+ queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ unittest.expect(queryMap["contentCategoryIds"],
+ unittest.equals(arg_contentCategoryIds));
+ unittest.expect(queryMap["directorySiteIds"],
+ unittest.equals(arg_directorySiteIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["maxEndDate"].first, unittest.equals(arg_maxEndDate));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
+ unittest.expect(
+ queryMap["minEndDate"].first, unittest.equals(arg_minEndDate));
+ unittest.expect(
+ queryMap["minStartDate"].first, unittest.equals(arg_minStartDate));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["placementGroupType"].first,
+ unittest.equals(arg_placementGroupType));
+ unittest.expect(queryMap["placementStrategyIds"],
+ unittest.equals(arg_placementStrategyIds));
+ unittest.expect(
+ queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementGroupsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserIds: arg_advertiserIds,
+ archived: arg_archived,
+ campaignIds: arg_campaignIds,
+ contentCategoryIds: arg_contentCategoryIds,
+ directorySiteIds: arg_directorySiteIds,
+ ids: arg_ids,
+ maxEndDate: arg_maxEndDate,
+ maxResults: arg_maxResults,
+ maxStartDate: arg_maxStartDate,
+ minEndDate: arg_minEndDate,
+ minStartDate: arg_minStartDate,
+ pageToken: arg_pageToken,
+ placementGroupType: arg_placementGroupType,
+ placementStrategyIds: arg_placementStrategyIds,
+ pricingTypes: arg_pricingTypes,
+ searchString: arg_searchString,
+ siteIds: arg_siteIds,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.PlacementGroupsListResponse response) {
+ checkPlacementGroupsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.PlacementGroupsResourceApi res =
+ new api.DfareportingApi(mock).placementGroups;
+ var arg_request = buildPlacementGroup();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.PlacementGroup.fromJson(json);
+ checkPlacementGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/placementGroups"));
+ pathOffset += 16;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementGroup response) {
+ checkPlacementGroup(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.PlacementGroupsResourceApi res =
+ new api.DfareportingApi(mock).placementGroups;
+ var arg_request = buildPlacementGroup();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.PlacementGroup.fromJson(json);
+ checkPlacementGroup(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 16),
+ unittest.equals("/placementGroups"));
+ pathOffset += 16;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementGroup response) {
+ checkPlacementGroup(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-PlacementStrategiesResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.PlacementStrategiesResourceApi res =
+ new api.DfareportingApi(mock).placementStrategies;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementStrategies/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/placementStrategies/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.PlacementStrategiesResourceApi res =
+ new api.DfareportingApi(mock).placementStrategies;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementStrategies/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/placementStrategies/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementStrategy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementStrategy response) {
+ checkPlacementStrategy(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.PlacementStrategiesResourceApi res =
+ new api.DfareportingApi(mock).placementStrategies;
+ var arg_request = buildPlacementStrategy();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.PlacementStrategy.fromJson(json);
+ checkPlacementStrategy(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementStrategies", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/placementStrategies"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementStrategy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementStrategy response) {
+ checkPlacementStrategy(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.PlacementStrategiesResourceApi res =
+ new api.DfareportingApi(mock).placementStrategies;
+ var arg_profileId = "foo";
+ var arg_ids = buildUnnamed2917();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementStrategies", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/placementStrategies"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementStrategiesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.PlacementStrategiesListResponse response) {
+ checkPlacementStrategiesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.PlacementStrategiesResourceApi res =
+ new api.DfareportingApi(mock).placementStrategies;
+ var arg_request = buildPlacementStrategy();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.PlacementStrategy.fromJson(json);
+ checkPlacementStrategy(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementStrategies", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/placementStrategies"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementStrategy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementStrategy response) {
+ checkPlacementStrategy(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.PlacementStrategiesResourceApi res =
+ new api.DfareportingApi(mock).placementStrategies;
+ var arg_request = buildPlacementStrategy();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.PlacementStrategy.fromJson(json);
+ checkPlacementStrategy(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placementStrategies", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/placementStrategies"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementStrategy());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementStrategy response) {
+ checkPlacementStrategy(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-PlacementsResourceApi", () {
+ unittest.test("method--generatetags", () {
+ var mock = new HttpServerMock();
+ api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
+ var arg_profileId = "foo";
+ var arg_campaignId = "foo";
+ var arg_placementIds = buildUnnamed2918();
+ var arg_tagFormats = buildUnnamed2919();
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placements/generatetags", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 24),
+ unittest.equals("/placements/generatetags"));
+ pathOffset += 24;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ unittest.expect(
+ queryMap["placementIds"], unittest.equals(arg_placementIds));
+ unittest.expect(
+ queryMap["tagFormats"], unittest.equals(arg_tagFormats));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementsGenerateTagsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .generatetags(arg_profileId,
+ campaignId: arg_campaignId,
+ placementIds: arg_placementIds,
+ tagFormats: arg_tagFormats,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.PlacementsGenerateTagsResponse response) {
+ checkPlacementsGenerateTagsResponse(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placements/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/placements/"));
+ pathOffset += 12;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacement());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Placement response) {
+ checkPlacement(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
+ var arg_request = buildPlacement();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Placement.fromJson(json);
+ checkPlacement(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placements", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/placements"));
+ pathOffset += 11;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacement());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Placement response) {
+ checkPlacement(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
+ var arg_profileId = "foo";
+ var arg_advertiserIds = buildUnnamed2920();
+ var arg_archived = true;
+ var arg_campaignIds = buildUnnamed2921();
+ var arg_compatibilities = buildUnnamed2922();
+ var arg_contentCategoryIds = buildUnnamed2923();
+ var arg_directorySiteIds = buildUnnamed2924();
+ var arg_groupIds = buildUnnamed2925();
+ var arg_ids = buildUnnamed2926();
+ var arg_maxEndDate = "foo";
+ var arg_maxResults = 42;
+ var arg_maxStartDate = "foo";
+ var arg_minEndDate = "foo";
+ var arg_minStartDate = "foo";
+ var arg_pageToken = "foo";
+ var arg_paymentSource = "foo";
+ var arg_placementStrategyIds = buildUnnamed2927();
+ var arg_pricingTypes = buildUnnamed2928();
+ var arg_searchString = "foo";
+ var arg_siteIds = buildUnnamed2929();
+ var arg_sizeIds = buildUnnamed2930();
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placements", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/placements"));
+ pathOffset += 11;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(
+ queryMap["archived"].first, unittest.equals("$arg_archived"));
+ unittest.expect(
+ queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ unittest.expect(
+ queryMap["compatibilities"], unittest.equals(arg_compatibilities));
+ unittest.expect(queryMap["contentCategoryIds"],
+ unittest.equals(arg_contentCategoryIds));
+ unittest.expect(queryMap["directorySiteIds"],
+ unittest.equals(arg_directorySiteIds));
+ unittest.expect(queryMap["groupIds"], unittest.equals(arg_groupIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["maxEndDate"].first, unittest.equals(arg_maxEndDate));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
+ unittest.expect(
+ queryMap["minEndDate"].first, unittest.equals(arg_minEndDate));
+ unittest.expect(
+ queryMap["minStartDate"].first, unittest.equals(arg_minStartDate));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["paymentSource"].first,
+ unittest.equals(arg_paymentSource));
+ unittest.expect(queryMap["placementStrategyIds"],
+ unittest.equals(arg_placementStrategyIds));
+ unittest.expect(
+ queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
+ unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacementsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserIds: arg_advertiserIds,
+ archived: arg_archived,
+ campaignIds: arg_campaignIds,
+ compatibilities: arg_compatibilities,
+ contentCategoryIds: arg_contentCategoryIds,
+ directorySiteIds: arg_directorySiteIds,
+ groupIds: arg_groupIds,
+ ids: arg_ids,
+ maxEndDate: arg_maxEndDate,
+ maxResults: arg_maxResults,
+ maxStartDate: arg_maxStartDate,
+ minEndDate: arg_minEndDate,
+ minStartDate: arg_minStartDate,
+ pageToken: arg_pageToken,
+ paymentSource: arg_paymentSource,
+ placementStrategyIds: arg_placementStrategyIds,
+ pricingTypes: arg_pricingTypes,
+ searchString: arg_searchString,
+ siteIds: arg_siteIds,
+ sizeIds: arg_sizeIds,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlacementsListResponse response) {
+ checkPlacementsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
+ var arg_request = buildPlacement();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Placement.fromJson(json);
+ checkPlacement(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placements", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/placements"));
+ pathOffset += 11;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacement());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Placement response) {
+ checkPlacement(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
+ var arg_request = buildPlacement();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Placement.fromJson(json);
+ checkPlacement(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/placements", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/placements"));
+ pathOffset += 11;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlacement());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Placement response) {
+ checkPlacement(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-PlatformTypesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.PlatformTypesResourceApi res =
+ new api.DfareportingApi(mock).platformTypes;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/platformTypes/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 15),
+ unittest.equals("/platformTypes/"));
+ pathOffset += 15;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlatformType());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PlatformType response) {
+ checkPlatformType(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.PlatformTypesResourceApi res =
+ new api.DfareportingApi(mock).platformTypes;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/platformTypes", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 14),
+ unittest.equals("/platformTypes"));
+ pathOffset += 14;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPlatformTypesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, $fields: arg_$fields).then(
+ unittest.expectAsync1(((api.PlatformTypesListResponse response) {
+ checkPlatformTypesListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-PostalCodesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.PostalCodesResourceApi res =
+ new api.DfareportingApi(mock).postalCodes;
+ var arg_profileId = "foo";
+ var arg_code = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/postalCodes/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("/postalCodes/"));
+ pathOffset += 13;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_code"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPostalCode());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_code, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PostalCode response) {
+ checkPostalCode(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.PostalCodesResourceApi res =
+ new api.DfareportingApi(mock).postalCodes;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/postalCodes", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/postalCodes"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildPostalCodesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.PostalCodesListResponse response) {
+ checkPostalCodesListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ProjectsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/projects/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/projects/"));
+ pathOffset += 10;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildProject());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Project response) {
+ checkProject(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
+ var arg_profileId = "foo";
+ var arg_advertiserIds = buildUnnamed2931();
+ var arg_ids = buildUnnamed2932();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/projects", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/projects"));
+ pathOffset += 9;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildProjectsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserIds: arg_advertiserIds,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ProjectsListResponse response) {
+ checkProjectsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-RegionsResourceApi", () {
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.RegionsResourceApi res = new api.DfareportingApi(mock).regions;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/regions", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 8),
+ unittest.equals("/regions"));
+ pathOffset += 8;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRegionsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.RegionsListResponse response) {
+ checkRegionsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-RemarketingListSharesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.RemarketingListSharesResourceApi res =
+ new api.DfareportingApi(mock).remarketingListShares;
+ var arg_profileId = "foo";
+ var arg_remarketingListId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/remarketingListShares/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 23),
+ unittest.equals("/remarketingListShares/"));
+ pathOffset += 23;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_remarketingListId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRemarketingListShare());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_remarketingListId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.RemarketingListShare response) {
+ checkRemarketingListShare(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.RemarketingListSharesResourceApi res =
+ new api.DfareportingApi(mock).remarketingListShares;
+ var arg_request = buildRemarketingListShare();
+ var arg_profileId = "foo";
+ var arg_remarketingListId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.RemarketingListShare.fromJson(json);
+ checkRemarketingListShare(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/remarketingListShares", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22),
+ unittest.equals("/remarketingListShares"));
+ pathOffset += 22;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["remarketingListId"].first,
+ unittest.equals(arg_remarketingListId));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRemarketingListShare());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_remarketingListId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.RemarketingListShare response) {
+ checkRemarketingListShare(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.RemarketingListSharesResourceApi res =
+ new api.DfareportingApi(mock).remarketingListShares;
+ var arg_request = buildRemarketingListShare();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.RemarketingListShare.fromJson(json);
+ checkRemarketingListShare(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/remarketingListShares", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 22),
+ unittest.equals("/remarketingListShares"));
+ pathOffset += 22;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRemarketingListShare());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.RemarketingListShare response) {
+ checkRemarketingListShare(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-RemarketingListsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.RemarketingListsResourceApi res =
+ new api.DfareportingApi(mock).remarketingLists;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/remarketingLists/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("/remarketingLists/"));
+ pathOffset += 18;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRemarketingList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.RemarketingList response) {
+ checkRemarketingList(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.RemarketingListsResourceApi res =
+ new api.DfareportingApi(mock).remarketingLists;
+ var arg_request = buildRemarketingList();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.RemarketingList.fromJson(json);
+ checkRemarketingList(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/remarketingLists", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/remarketingLists"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRemarketingList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.RemarketingList response) {
+ checkRemarketingList(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.RemarketingListsResourceApi res =
+ new api.DfareportingApi(mock).remarketingLists;
+ var arg_profileId = "foo";
+ var arg_advertiserId = "foo";
+ var arg_active = true;
+ var arg_floodlightActivityId = "foo";
+ var arg_maxResults = 42;
+ var arg_name = "foo";
+ var arg_pageToken = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/remarketingLists", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/remarketingLists"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(queryMap["floodlightActivityId"].first,
+ unittest.equals(arg_floodlightActivityId));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRemarketingListsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, arg_advertiserId,
+ active: arg_active,
+ floodlightActivityId: arg_floodlightActivityId,
+ maxResults: arg_maxResults,
+ name: arg_name,
+ pageToken: arg_pageToken,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.RemarketingListsListResponse response) {
+ checkRemarketingListsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.RemarketingListsResourceApi res =
+ new api.DfareportingApi(mock).remarketingLists;
+ var arg_request = buildRemarketingList();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.RemarketingList.fromJson(json);
+ checkRemarketingList(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/remarketingLists", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/remarketingLists"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRemarketingList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.RemarketingList response) {
+ checkRemarketingList(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.RemarketingListsResourceApi res =
+ new api.DfareportingApi(mock).remarketingLists;
+ var arg_request = buildRemarketingList();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.RemarketingList.fromJson(json);
+ checkRemarketingList(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/remarketingLists", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 17),
+ unittest.equals("/remarketingLists"));
+ pathOffset += 17;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildRemarketingList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.RemarketingList response) {
+ checkRemarketingList(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ReportsResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
+ var arg_profileId = "foo";
+ var arg_reportId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/reports/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_reportId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_reportId, $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
+ var arg_profileId = "foo";
+ var arg_reportId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/reports/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_reportId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildReport());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_reportId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Report response) {
+ checkReport(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
+ var arg_request = buildReport();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Report.fromJson(json);
+ checkReport(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 8),
+ unittest.equals("/reports"));
+ pathOffset += 8;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildReport());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Report response) {
+ checkReport(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
+ var arg_profileId = "foo";
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_scope = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 8),
+ unittest.equals("/reports"));
+ pathOffset += 8;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildReportList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ scope: arg_scope,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ReportList response) {
+ checkReportList(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
+ var arg_request = buildReport();
+ var arg_profileId = "foo";
+ var arg_reportId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Report.fromJson(json);
+ checkReport(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/reports/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_reportId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildReport());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_reportId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Report response) {
+ checkReport(response);
+ })));
+ });
+
+ unittest.test("method--run", () {
+ var mock = new HttpServerMock();
+ api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
+ var arg_profileId = "foo";
+ var arg_reportId = "foo";
+ var arg_synchronous = true;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/reports/"));
+ pathOffset += 9;
+ index = path.indexOf("/run", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_reportId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 4),
+ unittest.equals("/run"));
+ pathOffset += 4;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["synchronous"].first, unittest.equals("$arg_synchronous"));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .run(arg_profileId, arg_reportId,
+ synchronous: arg_synchronous, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.File response) {
+ checkFile(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.ReportsResourceApi res = new api.DfareportingApi(mock).reports;
+ var arg_request = buildReport();
+ var arg_profileId = "foo";
+ var arg_reportId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Report.fromJson(json);
+ checkReport(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/reports/"));
+ pathOffset += 9;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_reportId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildReport());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, arg_reportId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Report response) {
+ checkReport(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ReportsCompatibleFieldsResourceApi", () {
+ unittest.test("method--query", () {
+ var mock = new HttpServerMock();
+ api.ReportsCompatibleFieldsResourceApi res =
+ new api.DfareportingApi(mock).reports.compatibleFields;
+ var arg_request = buildReport();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Report.fromJson(json);
+ checkReport(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports/compatiblefields/query", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 31),
+ unittest.equals("/reports/compatiblefields/query"));
+ pathOffset += 31;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildCompatibleFields());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .query(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.CompatibleFields response) {
+ checkCompatibleFields(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ReportsFilesResourceApi", () {
+ unittest.test("method--get", () {
+ // TODO: Implement tests for media upload;
+ // TODO: Implement tests for media download;
+
+ var mock = new HttpServerMock();
+ api.ReportsFilesResourceApi res =
+ new api.DfareportingApi(mock).reports.files;
+ var arg_profileId = "foo";
+ var arg_reportId = "foo";
+ var arg_fileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/reports/"));
+ pathOffset += 9;
+ index = path.indexOf("/files/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_reportId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/files/"));
+ pathOffset += 7;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_fileId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_reportId, arg_fileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.File response) {
+ checkFile(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ReportsFilesResourceApi res =
+ new api.DfareportingApi(mock).reports.files;
+ var arg_profileId = "foo";
+ var arg_reportId = "foo";
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/reports/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 9),
+ unittest.equals("/reports/"));
+ pathOffset += 9;
+ index = path.indexOf("/files", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_reportId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals("/files"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildFileList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, arg_reportId,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.FileList response) {
+ checkFileList(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-SitesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/sites/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/sites/"));
+ pathOffset += 7;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSite());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Site response) {
+ checkSite(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
+ var arg_request = buildSite();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Site.fromJson(json);
+ checkSite(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/sites", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals("/sites"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSite());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Site response) {
+ checkSite(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
+ var arg_profileId = "foo";
+ var arg_acceptsInStreamVideoPlacements = true;
+ var arg_acceptsInterstitialPlacements = true;
+ var arg_acceptsPublisherPaidPlacements = true;
+ var arg_adWordsSite = true;
+ var arg_approved = true;
+ var arg_campaignIds = buildUnnamed2933();
+ var arg_directorySiteIds = buildUnnamed2934();
+ var arg_ids = buildUnnamed2935();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_subaccountId = "foo";
+ var arg_unmappedSite = true;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/sites", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals("/sites"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["acceptsInStreamVideoPlacements"].first,
+ unittest.equals("$arg_acceptsInStreamVideoPlacements"));
+ unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
+ unittest.equals("$arg_acceptsInterstitialPlacements"));
+ unittest.expect(queryMap["acceptsPublisherPaidPlacements"].first,
+ unittest.equals("$arg_acceptsPublisherPaidPlacements"));
+ unittest.expect(
+ queryMap["adWordsSite"].first, unittest.equals("$arg_adWordsSite"));
+ unittest.expect(
+ queryMap["approved"].first, unittest.equals("$arg_approved"));
+ unittest.expect(
+ queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ unittest.expect(queryMap["directorySiteIds"],
+ unittest.equals(arg_directorySiteIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(queryMap["unmappedSite"].first,
+ unittest.equals("$arg_unmappedSite"));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSitesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ acceptsInStreamVideoPlacements:
+ arg_acceptsInStreamVideoPlacements,
+ acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
+ acceptsPublisherPaidPlacements:
+ arg_acceptsPublisherPaidPlacements,
+ adWordsSite: arg_adWordsSite,
+ approved: arg_approved,
+ campaignIds: arg_campaignIds,
+ directorySiteIds: arg_directorySiteIds,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
+ unmappedSite: arg_unmappedSite,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.SitesListResponse response) {
+ checkSitesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
+ var arg_request = buildSite();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Site.fromJson(json);
+ checkSite(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/sites", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals("/sites"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSite());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Site response) {
+ checkSite(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
+ var arg_request = buildSite();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Site.fromJson(json);
+ checkSite(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/sites", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals("/sites"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSite());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Site response) {
+ checkSite(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-SizesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.SizesResourceApi res = new api.DfareportingApi(mock).sizes;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/sizes/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 7),
+ unittest.equals("/sizes/"));
+ pathOffset += 7;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSize());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Size response) {
+ checkSize(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.SizesResourceApi res = new api.DfareportingApi(mock).sizes;
+ var arg_request = buildSize();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Size.fromJson(json);
+ checkSize(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/sizes", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals("/sizes"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSize());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Size response) {
+ checkSize(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.SizesResourceApi res = new api.DfareportingApi(mock).sizes;
+ var arg_profileId = "foo";
+ var arg_height = 42;
+ var arg_iabStandard = true;
+ var arg_ids = buildUnnamed2936();
+ var arg_width = 42;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/sizes", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 6),
+ unittest.equals("/sizes"));
+ pathOffset += 6;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(core.int.parse(queryMap["height"].first),
+ unittest.equals(arg_height));
+ unittest.expect(
+ queryMap["iabStandard"].first, unittest.equals("$arg_iabStandard"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["width"].first),
+ unittest.equals(arg_width));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSizesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ height: arg_height,
+ iabStandard: arg_iabStandard,
+ ids: arg_ids,
+ width: arg_width,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.SizesListResponse response) {
+ checkSizesListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-SubaccountsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.SubaccountsResourceApi res =
+ new api.DfareportingApi(mock).subaccounts;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/subaccounts/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("/subaccounts/"));
+ pathOffset += 13;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSubaccount());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Subaccount response) {
+ checkSubaccount(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.SubaccountsResourceApi res =
+ new api.DfareportingApi(mock).subaccounts;
+ var arg_request = buildSubaccount();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Subaccount.fromJson(json);
+ checkSubaccount(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/subaccounts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/subaccounts"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSubaccount());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Subaccount response) {
+ checkSubaccount(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.SubaccountsResourceApi res =
+ new api.DfareportingApi(mock).subaccounts;
+ var arg_profileId = "foo";
+ var arg_ids = buildUnnamed2937();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/subaccounts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/subaccounts"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSubaccountsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.SubaccountsListResponse response) {
+ checkSubaccountsListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.SubaccountsResourceApi res =
+ new api.DfareportingApi(mock).subaccounts;
+ var arg_request = buildSubaccount();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Subaccount.fromJson(json);
+ checkSubaccount(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/subaccounts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/subaccounts"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSubaccount());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Subaccount response) {
+ checkSubaccount(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.SubaccountsResourceApi res =
+ new api.DfareportingApi(mock).subaccounts;
+ var arg_request = buildSubaccount();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.Subaccount.fromJson(json);
+ checkSubaccount(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/subaccounts", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("/subaccounts"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildSubaccount());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Subaccount response) {
+ checkSubaccount(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-TargetableRemarketingListsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.TargetableRemarketingListsResourceApi res =
+ new api.DfareportingApi(mock).targetableRemarketingLists;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/targetableRemarketingLists/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 28),
+ unittest.equals("/targetableRemarketingLists/"));
+ pathOffset += 28;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildTargetableRemarketingList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get(arg_profileId, arg_id, $fields: arg_$fields).then(
+ unittest.expectAsync1(((api.TargetableRemarketingList response) {
+ checkTargetableRemarketingList(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.TargetableRemarketingListsResourceApi res =
+ new api.DfareportingApi(mock).targetableRemarketingLists;
+ var arg_profileId = "foo";
+ var arg_advertiserId = "foo";
+ var arg_active = true;
+ var arg_maxResults = 42;
+ var arg_name = "foo";
+ var arg_pageToken = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/targetableRemarketingLists", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 27),
+ unittest.equals("/targetableRemarketingLists"));
+ pathOffset += 27;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildTargetableRemarketingListsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, arg_advertiserId,
+ active: arg_active,
+ maxResults: arg_maxResults,
+ name: arg_name,
+ pageToken: arg_pageToken,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(
+ ((api.TargetableRemarketingListsListResponse response) {
+ checkTargetableRemarketingListsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-TargetingTemplatesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.TargetingTemplatesResourceApi res =
+ new api.DfareportingApi(mock).targetingTemplates;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/targetingTemplates/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/targetingTemplates/"));
+ pathOffset += 20;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildTargetingTemplate());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.TargetingTemplate response) {
+ checkTargetingTemplate(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.TargetingTemplatesResourceApi res =
+ new api.DfareportingApi(mock).targetingTemplates;
+ var arg_request = buildTargetingTemplate();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.TargetingTemplate.fromJson(json);
+ checkTargetingTemplate(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/targetingTemplates", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 19),
+ unittest.equals("/targetingTemplates"));
+ pathOffset += 19;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildTargetingTemplate());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.TargetingTemplate response) {
+ checkTargetingTemplate(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.TargetingTemplatesResourceApi res =
+ new api.DfareportingApi(mock).targetingTemplates;
+ var arg_profileId = "foo";
+ var arg_advertiserId = "foo";
+ var arg_ids = buildUnnamed2938();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/targetingTemplates", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 19),
+ unittest.equals("/targetingTemplates"));
+ pathOffset += 19;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildTargetingTemplatesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ advertiserId: arg_advertiserId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ $fields: arg_$fields)
+ .then(unittest
+ .expectAsync1(((api.TargetingTemplatesListResponse response) {
+ checkTargetingTemplatesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.TargetingTemplatesResourceApi res =
+ new api.DfareportingApi(mock).targetingTemplates;
+ var arg_request = buildTargetingTemplate();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.TargetingTemplate.fromJson(json);
+ checkTargetingTemplate(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/targetingTemplates", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 19),
+ unittest.equals("/targetingTemplates"));
+ pathOffset += 19;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildTargetingTemplate());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.TargetingTemplate response) {
+ checkTargetingTemplate(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.TargetingTemplatesResourceApi res =
+ new api.DfareportingApi(mock).targetingTemplates;
+ var arg_request = buildTargetingTemplate();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.TargetingTemplate.fromJson(json);
+ checkTargetingTemplate(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/targetingTemplates", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 19),
+ unittest.equals("/targetingTemplates"));
+ pathOffset += 19;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildTargetingTemplate());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.TargetingTemplate response) {
+ checkTargetingTemplate(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UserProfilesResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.UserProfilesResourceApi res =
+ new api.DfareportingApi(mock).userProfiles;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserProfile());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserProfile response) {
+ checkUserProfile(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.UserProfilesResourceApi res =
+ new api.DfareportingApi(mock).userProfiles;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 12),
+ unittest.equals("userprofiles"));
+ pathOffset += 12;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserProfileList());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list($fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserProfileList response) {
+ checkUserProfileList(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UserRolePermissionGroupsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.UserRolePermissionGroupsResourceApi res =
+ new api.DfareportingApi(mock).userRolePermissionGroups;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRolePermissionGroups/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 26),
+ unittest.equals("/userRolePermissionGroups/"));
+ pathOffset += 26;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserRolePermissionGroup());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserRolePermissionGroup response) {
+ checkUserRolePermissionGroup(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.UserRolePermissionGroupsResourceApi res =
+ new api.DfareportingApi(mock).userRolePermissionGroups;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRolePermissionGroups", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("/userRolePermissionGroups"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.JSON.encode(buildUserRolePermissionGroupsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, $fields: arg_$fields).then(unittest
+ .expectAsync1(((api.UserRolePermissionGroupsListResponse response) {
+ checkUserRolePermissionGroupsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UserRolePermissionsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.UserRolePermissionsResourceApi res =
+ new api.DfareportingApi(mock).userRolePermissions;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRolePermissions/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 21),
+ unittest.equals("/userRolePermissions/"));
+ pathOffset += 21;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserRolePermission());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserRolePermission response) {
+ checkUserRolePermission(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.UserRolePermissionsResourceApi res =
+ new api.DfareportingApi(mock).userRolePermissions;
+ var arg_profileId = "foo";
+ var arg_ids = buildUnnamed2939();
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRolePermissions", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 20),
+ unittest.equals("/userRolePermissions"));
+ pathOffset += 20;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserRolePermissionsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.list(arg_profileId, ids: arg_ids, $fields: arg_$fields).then(unittest
+ .expectAsync1(((api.UserRolePermissionsListResponse response) {
+ checkUserRolePermissionsListResponse(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UserRolesResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRoles/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/userRoles/"));
+ pathOffset += 11;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = "";
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1((_) {}));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRoles/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 11),
+ unittest.equals("/userRoles/"));
+ pathOffset += 11;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserRole());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserRole response) {
+ checkUserRole(response);
+ })));
+ });
+
+ unittest.test("method--insert", () {
+ var mock = new HttpServerMock();
+ api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
+ var arg_request = buildUserRole();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.UserRole.fromJson(json);
+ checkUserRole(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRoles", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/userRoles"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserRole());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .insert(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserRole response) {
+ checkUserRole(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
+ var arg_profileId = "foo";
+ var arg_accountUserRoleOnly = true;
+ var arg_ids = buildUnnamed2940();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_subaccountId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRoles", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/userRoles"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["accountUserRoleOnly"].first,
+ unittest.equals("$arg_accountUserRoleOnly"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserRolesListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId,
+ accountUserRoleOnly: arg_accountUserRoleOnly,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserRolesListResponse response) {
+ checkUserRolesListResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
+ var arg_request = buildUserRole();
+ var arg_profileId = "foo";
+ var arg_id = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.UserRole.fromJson(json);
+ checkUserRole(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRoles", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/userRoles"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserRole());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserRole response) {
+ checkUserRole(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
+ var arg_request = buildUserRole();
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.UserRole.fromJson(json);
+ checkUserRole(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/userRoles", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 10),
+ unittest.equals("/userRoles"));
+ pathOffset += 10;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildUserRole());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.UserRole response) {
+ checkUserRole(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-VideoFormatsResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.VideoFormatsResourceApi res =
+ new api.DfareportingApi(mock).videoFormats;
+ var arg_profileId = "foo";
+ var arg_id = 42;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/videoFormats/", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 14),
+ unittest.equals("/videoFormats/"));
+ pathOffset += 14;
+ subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
+ pathOffset = path.length;
+ unittest.expect(subPart, unittest.equals("$arg_id"));
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildVideoFormat());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_profileId, arg_id, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.VideoFormat response) {
+ checkVideoFormat(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.VideoFormatsResourceApi res =
+ new api.DfareportingApi(mock).videoFormats;
+ var arg_profileId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("dfareporting/v3.0/"));
+ pathOffset += 18;
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("userprofiles/"));
+ pathOffset += 13;
+ index = path.indexOf("/videoFormats", pathOffset);
+ unittest.expect(index >= 0, unittest.isTrue);
+ subPart =
+ core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
+ pathOffset = index;
+ unittest.expect(subPart, unittest.equals("$arg_profileId"));
+ unittest.expect(path.substring(pathOffset, pathOffset + 13),
+ unittest.equals("/videoFormats"));
+ pathOffset += 13;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildVideoFormatsListResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_profileId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.VideoFormatsListResponse response) {
+ checkVideoFormatsListResponse(response);
+ })));
+ });
+ });
+}
diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart
index 5fb1c5d..d648a80 100644
--- a/generated/googleapis/test/discovery/v1_test.dart
+++ b/generated/googleapis/test/discovery/v1_test.dart
@@ -71,14 +71,14 @@
buildCounterDirectoryListItemsIcons--;
}
-buildUnnamed313() {
+buildUnnamed317() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed313(core.List<core.String> o) {
+checkUnnamed317(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'));
@@ -96,7 +96,7 @@
o.icons = buildDirectoryListItemsIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed313();
+ o.labels = buildUnnamed317();
o.name = "foo";
o.preferred = true;
o.title = "foo";
@@ -116,7 +116,7 @@
checkDirectoryListItemsIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed313(o.labels);
+ checkUnnamed317(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.preferred, unittest.isTrue);
unittest.expect(o.title, unittest.equals('foo'));
@@ -125,14 +125,14 @@
buildCounterDirectoryListItems--;
}
-buildUnnamed314() {
+buildUnnamed318() {
var o = new core.List<api.DirectoryListItems>();
o.add(buildDirectoryListItems());
o.add(buildDirectoryListItems());
return o;
}
-checkUnnamed314(core.List<api.DirectoryListItems> o) {
+checkUnnamed318(core.List<api.DirectoryListItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectoryListItems(o[0]);
checkDirectoryListItems(o[1]);
@@ -144,7 +144,7 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
o.discoveryVersion = "foo";
- o.items = buildUnnamed314();
+ o.items = buildUnnamed318();
o.kind = "foo";
}
buildCounterDirectoryList--;
@@ -155,20 +155,20 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
unittest.expect(o.discoveryVersion, unittest.equals('foo'));
- checkUnnamed314(o.items);
+ checkUnnamed318(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectoryList--;
}
-buildUnnamed315() {
+buildUnnamed319() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed315(core.List<core.String> o) {
+checkUnnamed319(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'));
@@ -179,7 +179,7 @@
var o = new api.JsonSchemaAnnotations();
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- o.required = buildUnnamed315();
+ o.required = buildUnnamed319();
}
buildCounterJsonSchemaAnnotations--;
return o;
@@ -188,45 +188,45 @@
checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- checkUnnamed315(o.required);
+ checkUnnamed319(o.required);
}
buildCounterJsonSchemaAnnotations--;
}
-buildUnnamed316() {
+buildUnnamed320() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed316(core.List<core.String> o) {
+checkUnnamed320(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'));
}
-buildUnnamed317() {
+buildUnnamed321() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed317(core.List<core.String> o) {
+checkUnnamed321(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'));
}
-buildUnnamed318() {
+buildUnnamed322() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed318(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed322(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -253,14 +253,14 @@
buildCounterJsonSchemaVariantMap--;
}
-buildUnnamed319() {
+buildUnnamed323() {
var o = new core.List<api.JsonSchemaVariantMap>();
o.add(buildJsonSchemaVariantMap());
o.add(buildJsonSchemaVariantMap());
return o;
}
-checkUnnamed319(core.List<api.JsonSchemaVariantMap> o) {
+checkUnnamed323(core.List<api.JsonSchemaVariantMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchemaVariantMap(o[0]);
checkJsonSchemaVariantMap(o[1]);
@@ -272,7 +272,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
o.discriminant = "foo";
- o.map = buildUnnamed319();
+ o.map = buildUnnamed323();
}
buildCounterJsonSchemaVariant--;
return o;
@@ -282,7 +282,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
unittest.expect(o.discriminant, unittest.equals('foo'));
- checkUnnamed319(o.map);
+ checkUnnamed323(o.map);
}
buildCounterJsonSchemaVariant--;
}
@@ -297,8 +297,8 @@
o.annotations = buildJsonSchemaAnnotations();
o.default_ = "foo";
o.description = "foo";
- o.enum_ = buildUnnamed316();
- o.enumDescriptions = buildUnnamed317();
+ o.enum_ = buildUnnamed320();
+ o.enumDescriptions = buildUnnamed321();
o.format = "foo";
o.id = "foo";
o.items = buildJsonSchema();
@@ -306,7 +306,7 @@
o.maximum = "foo";
o.minimum = "foo";
o.pattern = "foo";
- o.properties = buildUnnamed318();
+ o.properties = buildUnnamed322();
o.readOnly = true;
o.repeated = true;
o.required = true;
@@ -325,8 +325,8 @@
checkJsonSchemaAnnotations(o.annotations);
unittest.expect(o.default_, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed316(o.enum_);
- checkUnnamed317(o.enumDescriptions);
+ checkUnnamed320(o.enum_);
+ checkUnnamed321(o.enumDescriptions);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkJsonSchema(o.items);
@@ -334,7 +334,7 @@
unittest.expect(o.maximum, unittest.equals('foo'));
unittest.expect(o.minimum, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed318(o.properties);
+ checkUnnamed322(o.properties);
unittest.expect(o.readOnly, unittest.isTrue);
unittest.expect(o.repeated, unittest.isTrue);
unittest.expect(o.required, unittest.isTrue);
@@ -364,14 +364,14 @@
buildCounterRestDescriptionAuthOauth2ScopesValue--;
}
-buildUnnamed320() {
+buildUnnamed324() {
var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
return o;
}
-checkUnnamed320(
+checkUnnamed324(
core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestDescriptionAuthOauth2ScopesValue(o["x"]);
@@ -383,7 +383,7 @@
var o = new api.RestDescriptionAuthOauth2();
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- o.scopes = buildUnnamed320();
+ o.scopes = buildUnnamed324();
}
buildCounterRestDescriptionAuthOauth2--;
return o;
@@ -392,7 +392,7 @@
checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- checkUnnamed320(o.scopes);
+ checkUnnamed324(o.scopes);
}
buildCounterRestDescriptionAuthOauth2--;
}
@@ -416,14 +416,14 @@
buildCounterRestDescriptionAuth--;
}
-buildUnnamed321() {
+buildUnnamed325() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed321(core.List<core.String> o) {
+checkUnnamed325(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'));
@@ -450,66 +450,66 @@
buildCounterRestDescriptionIcons--;
}
-buildUnnamed322() {
+buildUnnamed326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed322(core.List<core.String> o) {
+checkUnnamed326(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'));
}
-buildUnnamed323() {
+buildUnnamed327() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed323(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed327(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed324() {
+buildUnnamed328() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed324(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed328(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
}
-buildUnnamed325() {
+buildUnnamed329() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed325(core.Map<core.String, api.RestResource> o) {
+checkUnnamed329(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
}
-buildUnnamed326() {
+buildUnnamed330() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed326(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed330(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -530,22 +530,22 @@
o.documentationLink = "foo";
o.etag = "foo";
o.exponentialBackoffDefault = true;
- o.features = buildUnnamed321();
+ o.features = buildUnnamed325();
o.icons = buildRestDescriptionIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed322();
- o.methods = buildUnnamed323();
+ o.labels = buildUnnamed326();
+ o.methods = buildUnnamed327();
o.name = "foo";
o.ownerDomain = "foo";
o.ownerName = "foo";
o.packagePath = "foo";
- o.parameters = buildUnnamed324();
+ o.parameters = buildUnnamed328();
o.protocol = "foo";
- o.resources = buildUnnamed325();
+ o.resources = buildUnnamed329();
o.revision = "foo";
o.rootUrl = "foo";
- o.schemas = buildUnnamed326();
+ o.schemas = buildUnnamed330();
o.servicePath = "foo";
o.title = "foo";
o.version = "foo";
@@ -568,22 +568,22 @@
unittest.expect(o.documentationLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.exponentialBackoffDefault, unittest.isTrue);
- checkUnnamed321(o.features);
+ checkUnnamed325(o.features);
checkRestDescriptionIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed322(o.labels);
- checkUnnamed323(o.methods);
+ checkUnnamed326(o.labels);
+ checkUnnamed327(o.methods);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ownerDomain, unittest.equals('foo'));
unittest.expect(o.ownerName, unittest.equals('foo'));
unittest.expect(o.packagePath, unittest.equals('foo'));
- checkUnnamed324(o.parameters);
+ checkUnnamed328(o.parameters);
unittest.expect(o.protocol, unittest.equals('foo'));
- checkUnnamed325(o.resources);
+ checkUnnamed329(o.resources);
unittest.expect(o.revision, unittest.equals('foo'));
unittest.expect(o.rootUrl, unittest.equals('foo'));
- checkUnnamed326(o.schemas);
+ checkUnnamed330(o.schemas);
unittest.expect(o.servicePath, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -592,14 +592,14 @@
buildCounterRestDescription--;
}
-buildUnnamed327() {
+buildUnnamed331() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed327(core.List<core.String> o) {
+checkUnnamed331(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'));
@@ -675,7 +675,7 @@
var o = new api.RestMethodMediaUpload();
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- o.accept = buildUnnamed327();
+ o.accept = buildUnnamed331();
o.maxSize = "foo";
o.protocols = buildRestMethodMediaUploadProtocols();
}
@@ -686,34 +686,34 @@
checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- checkUnnamed327(o.accept);
+ checkUnnamed331(o.accept);
unittest.expect(o.maxSize, unittest.equals('foo'));
checkRestMethodMediaUploadProtocols(o.protocols);
}
buildCounterRestMethodMediaUpload--;
}
-buildUnnamed328() {
+buildUnnamed332() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed328(core.List<core.String> o) {
+checkUnnamed332(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'));
}
-buildUnnamed329() {
+buildUnnamed333() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed329(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed333(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -759,14 +759,14 @@
buildCounterRestMethodResponse--;
}
-buildUnnamed330() {
+buildUnnamed334() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed330(core.List<core.String> o) {
+checkUnnamed334(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'));
@@ -782,12 +782,12 @@
o.httpMethod = "foo";
o.id = "foo";
o.mediaUpload = buildRestMethodMediaUpload();
- o.parameterOrder = buildUnnamed328();
- o.parameters = buildUnnamed329();
+ o.parameterOrder = buildUnnamed332();
+ o.parameters = buildUnnamed333();
o.path = "foo";
o.request = buildRestMethodRequest();
o.response = buildRestMethodResponse();
- o.scopes = buildUnnamed330();
+ o.scopes = buildUnnamed334();
o.supportsMediaDownload = true;
o.supportsMediaUpload = true;
o.supportsSubscription = true;
@@ -805,12 +805,12 @@
unittest.expect(o.httpMethod, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkRestMethodMediaUpload(o.mediaUpload);
- checkUnnamed328(o.parameterOrder);
- checkUnnamed329(o.parameters);
+ checkUnnamed332(o.parameterOrder);
+ checkUnnamed333(o.parameters);
unittest.expect(o.path, unittest.equals('foo'));
checkRestMethodRequest(o.request);
checkRestMethodResponse(o.response);
- checkUnnamed330(o.scopes);
+ checkUnnamed334(o.scopes);
unittest.expect(o.supportsMediaDownload, unittest.isTrue);
unittest.expect(o.supportsMediaUpload, unittest.isTrue);
unittest.expect(o.supportsSubscription, unittest.isTrue);
@@ -819,27 +819,27 @@
buildCounterRestMethod--;
}
-buildUnnamed331() {
+buildUnnamed335() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed331(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed335(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed332() {
+buildUnnamed336() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed332(core.Map<core.String, api.RestResource> o) {
+checkUnnamed336(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
@@ -850,8 +850,8 @@
var o = new api.RestResource();
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- o.methods = buildUnnamed331();
- o.resources = buildUnnamed332();
+ o.methods = buildUnnamed335();
+ o.resources = buildUnnamed336();
}
buildCounterRestResource--;
return o;
@@ -860,8 +860,8 @@
checkRestResource(api.RestResource o) {
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- checkUnnamed331(o.methods);
- checkUnnamed332(o.resources);
+ checkUnnamed335(o.methods);
+ checkUnnamed336(o.resources);
}
buildCounterRestResource--;
}
diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart
index 648bc24..f7a2f69 100644
--- a/generated/googleapis/test/dns/v1_test.dart
+++ b/generated/googleapis/test/dns/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed823() {
+buildUnnamed829() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed823(core.List<api.ResourceRecordSet> o) {
+checkUnnamed829(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
}
-buildUnnamed824() {
+buildUnnamed830() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed824(core.List<api.ResourceRecordSet> o) {
+checkUnnamed830(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -81,8 +81,8 @@
var o = new api.Change();
buildCounterChange++;
if (buildCounterChange < 3) {
- o.additions = buildUnnamed823();
- o.deletions = buildUnnamed824();
+ o.additions = buildUnnamed829();
+ o.deletions = buildUnnamed830();
o.id = "foo";
o.kind = "foo";
o.startTime = "foo";
@@ -95,8 +95,8 @@
checkChange(api.Change o) {
buildCounterChange++;
if (buildCounterChange < 3) {
- checkUnnamed823(o.additions);
- checkUnnamed824(o.deletions);
+ checkUnnamed829(o.additions);
+ checkUnnamed830(o.deletions);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -105,14 +105,14 @@
buildCounterChange--;
}
-buildUnnamed825() {
+buildUnnamed831() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed825(core.List<api.Change> o) {
+checkUnnamed831(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -123,7 +123,7 @@
var o = new api.ChangesListResponse();
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- o.changes = buildUnnamed825();
+ o.changes = buildUnnamed831();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -134,21 +134,21 @@
checkChangesListResponse(api.ChangesListResponse o) {
buildCounterChangesListResponse++;
if (buildCounterChangesListResponse < 3) {
- checkUnnamed825(o.changes);
+ checkUnnamed831(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangesListResponse--;
}
-buildUnnamed826() {
+buildUnnamed832() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed826(core.List<core.String> o) {
+checkUnnamed832(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'));
@@ -166,7 +166,7 @@
o.kind = "foo";
o.name = "foo";
o.nameServerSet = "foo";
- o.nameServers = buildUnnamed826();
+ o.nameServers = buildUnnamed832();
}
buildCounterManagedZone--;
return o;
@@ -182,19 +182,19 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nameServerSet, unittest.equals('foo'));
- checkUnnamed826(o.nameServers);
+ checkUnnamed832(o.nameServers);
}
buildCounterManagedZone--;
}
-buildUnnamed827() {
+buildUnnamed833() {
var o = new core.List<api.ManagedZone>();
o.add(buildManagedZone());
o.add(buildManagedZone());
return o;
}
-checkUnnamed827(core.List<api.ManagedZone> o) {
+checkUnnamed833(core.List<api.ManagedZone> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedZone(o[0]);
checkManagedZone(o[1]);
@@ -206,7 +206,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
o.kind = "foo";
- o.managedZones = buildUnnamed827();
+ o.managedZones = buildUnnamed833();
o.nextPageToken = "foo";
}
buildCounterManagedZonesListResponse--;
@@ -217,7 +217,7 @@
buildCounterManagedZonesListResponse++;
if (buildCounterManagedZonesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed827(o.managedZones);
+ checkUnnamed833(o.managedZones);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterManagedZonesListResponse--;
@@ -279,14 +279,14 @@
buildCounterQuota--;
}
-buildUnnamed828() {
+buildUnnamed834() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed828(core.List<core.String> o) {
+checkUnnamed834(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'));
@@ -299,7 +299,7 @@
if (buildCounterResourceRecordSet < 3) {
o.kind = "foo";
o.name = "foo";
- o.rrdatas = buildUnnamed828();
+ o.rrdatas = buildUnnamed834();
o.ttl = 42;
o.type = "foo";
}
@@ -312,21 +312,21 @@
if (buildCounterResourceRecordSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed828(o.rrdatas);
+ checkUnnamed834(o.rrdatas);
unittest.expect(o.ttl, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterResourceRecordSet--;
}
-buildUnnamed829() {
+buildUnnamed835() {
var o = new core.List<api.ResourceRecordSet>();
o.add(buildResourceRecordSet());
o.add(buildResourceRecordSet());
return o;
}
-checkUnnamed829(core.List<api.ResourceRecordSet> o) {
+checkUnnamed835(core.List<api.ResourceRecordSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecordSet(o[0]);
checkResourceRecordSet(o[1]);
@@ -339,7 +339,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.rrsets = buildUnnamed829();
+ o.rrsets = buildUnnamed835();
}
buildCounterResourceRecordSetsListResponse--;
return o;
@@ -350,7 +350,7 @@
if (buildCounterResourceRecordSetsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed829(o.rrsets);
+ checkUnnamed835(o.rrsets);
}
buildCounterResourceRecordSetsListResponse--;
}
diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
index 5b3b158..f2fe83f 100644
--- a/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
+++ b/generated/googleapis/test/doubleclickbidmanager/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1288() {
+buildUnnamed1294() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1288(core.List<core.String> o) {
+checkUnnamed1294(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'));
@@ -69,7 +69,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
o.fileSpec = "foo";
- o.filterIds = buildUnnamed1288();
+ o.filterIds = buildUnnamed1294();
o.filterType = "foo";
o.format = "foo";
}
@@ -81,7 +81,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
unittest.expect(o.fileSpec, unittest.equals('foo'));
- checkUnnamed1288(o.filterIds);
+ checkUnnamed1294(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
}
@@ -107,27 +107,27 @@
buildCounterDownloadLineItemsResponse--;
}
-buildUnnamed1289() {
+buildUnnamed1295() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1289(core.List<core.String> o) {
+checkUnnamed1295(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'));
}
-buildUnnamed1290() {
+buildUnnamed1296() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1290(core.List<core.String> o) {
+checkUnnamed1296(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'));
@@ -138,8 +138,8 @@
var o = new api.DownloadRequest();
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- o.fileTypes = buildUnnamed1289();
- o.filterIds = buildUnnamed1290();
+ o.fileTypes = buildUnnamed1295();
+ o.filterIds = buildUnnamed1296();
o.filterType = "foo";
o.version = "foo";
}
@@ -150,8 +150,8 @@
checkDownloadRequest(api.DownloadRequest o) {
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- checkUnnamed1289(o.fileTypes);
- checkUnnamed1290(o.filterIds);
+ checkUnnamed1295(o.fileTypes);
+ checkUnnamed1296(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -204,14 +204,14 @@
buildCounterFilterPair--;
}
-buildUnnamed1291() {
+buildUnnamed1297() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed1291(core.List<api.Query> o) {
+checkUnnamed1297(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
@@ -223,7 +223,7 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
o.kind = "foo";
- o.queries = buildUnnamed1291();
+ o.queries = buildUnnamed1297();
}
buildCounterListQueriesResponse--;
return o;
@@ -233,19 +233,19 @@
buildCounterListQueriesResponse++;
if (buildCounterListQueriesResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1291(o.queries);
+ checkUnnamed1297(o.queries);
}
buildCounterListQueriesResponse--;
}
-buildUnnamed1292() {
+buildUnnamed1298() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed1292(core.List<api.Report> o) {
+checkUnnamed1298(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -257,7 +257,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.kind = "foo";
- o.reports = buildUnnamed1292();
+ o.reports = buildUnnamed1298();
}
buildCounterListReportsResponse--;
return o;
@@ -267,45 +267,45 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1292(o.reports);
+ checkUnnamed1298(o.reports);
}
buildCounterListReportsResponse--;
}
-buildUnnamed1293() {
+buildUnnamed1299() {
var o = new core.List<api.FilterPair>();
o.add(buildFilterPair());
o.add(buildFilterPair());
return o;
}
-checkUnnamed1293(core.List<api.FilterPair> o) {
+checkUnnamed1299(core.List<api.FilterPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterPair(o[0]);
checkFilterPair(o[1]);
}
-buildUnnamed1294() {
+buildUnnamed1300() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1294(core.List<core.String> o) {
+checkUnnamed1300(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'));
}
-buildUnnamed1295() {
+buildUnnamed1301() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1295(core.List<core.String> o) {
+checkUnnamed1301(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'));
@@ -316,10 +316,10 @@
var o = new api.Parameters();
buildCounterParameters++;
if (buildCounterParameters < 3) {
- o.filters = buildUnnamed1293();
- o.groupBys = buildUnnamed1294();
+ o.filters = buildUnnamed1299();
+ o.groupBys = buildUnnamed1300();
o.includeInviteData = true;
- o.metrics = buildUnnamed1295();
+ o.metrics = buildUnnamed1301();
o.type = "foo";
}
buildCounterParameters--;
@@ -329,10 +329,10 @@
checkParameters(api.Parameters o) {
buildCounterParameters++;
if (buildCounterParameters < 3) {
- checkUnnamed1293(o.filters);
- checkUnnamed1294(o.groupBys);
+ checkUnnamed1299(o.filters);
+ checkUnnamed1300(o.groupBys);
unittest.expect(o.includeInviteData, unittest.isTrue);
- checkUnnamed1295(o.metrics);
+ checkUnnamed1301(o.metrics);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterParameters--;
@@ -371,14 +371,14 @@
buildCounterQuery--;
}
-buildUnnamed1296() {
+buildUnnamed1302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1296(core.List<core.String> o) {
+checkUnnamed1302(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'));
@@ -398,7 +398,7 @@
o.reportCount = 42;
o.running = true;
o.sendNotification = true;
- o.shareEmailAddress = buildUnnamed1296();
+ o.shareEmailAddress = buildUnnamed1302();
o.title = "foo";
}
buildCounterQueryMetadata--;
@@ -418,7 +418,7 @@
unittest.expect(o.reportCount, unittest.equals(42));
unittest.expect(o.running, unittest.isTrue);
unittest.expect(o.sendNotification, unittest.isTrue);
- checkUnnamed1296(o.shareEmailAddress);
+ checkUnnamed1302(o.shareEmailAddress);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterQueryMetadata--;
@@ -562,14 +562,14 @@
buildCounterReportStatus--;
}
-buildUnnamed1297() {
+buildUnnamed1303() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1297(core.List<core.String> o) {
+checkUnnamed1303(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'));
@@ -583,7 +583,7 @@
o.changed = true;
o.entityId = "foo";
o.entityName = "foo";
- o.errors = buildUnnamed1297();
+ o.errors = buildUnnamed1303();
o.persisted = true;
o.rowNumber = 42;
}
@@ -597,7 +597,7 @@
unittest.expect(o.changed, unittest.isTrue);
unittest.expect(o.entityId, unittest.equals('foo'));
unittest.expect(o.entityName, unittest.equals('foo'));
- checkUnnamed1297(o.errors);
+ checkUnnamed1303(o.errors);
unittest.expect(o.persisted, unittest.isTrue);
unittest.expect(o.rowNumber, unittest.equals(42));
}
@@ -671,27 +671,27 @@
buildCounterUploadLineItemsResponse--;
}
-buildUnnamed1298() {
+buildUnnamed1304() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1298(core.List<core.String> o) {
+checkUnnamed1304(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'));
}
-buildUnnamed1299() {
+buildUnnamed1305() {
var o = new core.List<api.RowStatus>();
o.add(buildRowStatus());
o.add(buildRowStatus());
return o;
}
-checkUnnamed1299(core.List<api.RowStatus> o) {
+checkUnnamed1305(core.List<api.RowStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowStatus(o[0]);
checkRowStatus(o[1]);
@@ -702,8 +702,8 @@
var o = new api.UploadStatus();
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- o.errors = buildUnnamed1298();
- o.rowStatus = buildUnnamed1299();
+ o.errors = buildUnnamed1304();
+ o.rowStatus = buildUnnamed1305();
}
buildCounterUploadStatus--;
return o;
@@ -712,8 +712,8 @@
checkUploadStatus(api.UploadStatus o) {
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- checkUnnamed1298(o.errors);
- checkUnnamed1299(o.rowStatus);
+ checkUnnamed1304(o.errors);
+ checkUnnamed1305(o.rowStatus);
}
buildCounterUploadStatus--;
}
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart
index 334c09f..3863fb5 100644
--- a/generated/googleapis/test/doubleclicksearch/v2_test.dart
+++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -79,27 +79,27 @@
buildCounterAvailability--;
}
-buildUnnamed1470() {
+buildUnnamed1476() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed1470(core.List<api.CustomDimension> o) {
+checkUnnamed1476(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
}
-buildUnnamed1471() {
+buildUnnamed1477() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed1471(core.List<api.CustomMetric> o) {
+checkUnnamed1477(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -124,8 +124,8 @@
o.countMillis = "foo";
o.criterionId = "foo";
o.currencyCode = "foo";
- o.customDimension = buildUnnamed1470();
- o.customMetric = buildUnnamed1471();
+ o.customDimension = buildUnnamed1476();
+ o.customMetric = buildUnnamed1477();
o.deviceType = "foo";
o.dsConversionId = "foo";
o.engineAccountId = "foo";
@@ -165,8 +165,8 @@
unittest.expect(o.countMillis, unittest.equals('foo'));
unittest.expect(o.criterionId, unittest.equals('foo'));
unittest.expect(o.currencyCode, unittest.equals('foo'));
- checkUnnamed1470(o.customDimension);
- checkUnnamed1471(o.customMetric);
+ checkUnnamed1476(o.customDimension);
+ checkUnnamed1477(o.customMetric);
unittest.expect(o.deviceType, unittest.equals('foo'));
unittest.expect(o.dsConversionId, unittest.equals('foo'));
unittest.expect(o.engineAccountId, unittest.equals('foo'));
@@ -188,14 +188,14 @@
buildCounterConversion--;
}
-buildUnnamed1472() {
+buildUnnamed1478() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed1472(core.List<api.Conversion> o) {
+checkUnnamed1478(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -206,7 +206,7 @@
var o = new api.ConversionList();
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- o.conversion = buildUnnamed1472();
+ o.conversion = buildUnnamed1478();
o.kind = "foo";
}
buildCounterConversionList--;
@@ -216,7 +216,7 @@
checkConversionList(api.ConversionList o) {
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- checkUnnamed1472(o.conversion);
+ checkUnnamed1478(o.conversion);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionList--;
@@ -285,27 +285,27 @@
buildCounterReportFiles--;
}
-buildUnnamed1473() {
+buildUnnamed1479() {
var o = new core.List<api.ReportFiles>();
o.add(buildReportFiles());
o.add(buildReportFiles());
return o;
}
-checkUnnamed1473(core.List<api.ReportFiles> o) {
+checkUnnamed1479(core.List<api.ReportFiles> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportFiles(o[0]);
checkReportFiles(o[1]);
}
-buildUnnamed1474() {
+buildUnnamed1480() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed1474(core.List<api.ReportRow> o) {
+checkUnnamed1480(core.List<api.ReportRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRow(o[0]);
checkReportRow(o[1]);
@@ -316,13 +316,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.files = buildUnnamed1473();
+ o.files = buildUnnamed1479();
o.id = "foo";
o.isReportReady = true;
o.kind = "foo";
o.request = buildReportRequest();
o.rowCount = 42;
- o.rows = buildUnnamed1474();
+ o.rows = buildUnnamed1480();
o.statisticsCurrencyCode = "foo";
o.statisticsTimeZone = "foo";
}
@@ -333,13 +333,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed1473(o.files);
+ checkUnnamed1479(o.files);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isReportReady, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkReportRequest(o.request);
unittest.expect(o.rowCount, unittest.equals(42));
- checkUnnamed1474(o.rows);
+ checkUnnamed1480(o.rows);
unittest.expect(o.statisticsCurrencyCode, unittest.equals('foo'));
unittest.expect(o.statisticsTimeZone, unittest.equals('foo'));
}
@@ -383,20 +383,20 @@
buildCounterReportApiColumnSpec--;
}
-buildUnnamed1475() {
+buildUnnamed1481() {
var o = new core.List<api.ReportApiColumnSpec>();
o.add(buildReportApiColumnSpec());
o.add(buildReportApiColumnSpec());
return o;
}
-checkUnnamed1475(core.List<api.ReportApiColumnSpec> o) {
+checkUnnamed1481(core.List<api.ReportApiColumnSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportApiColumnSpec(o[0]);
checkReportApiColumnSpec(o[1]);
}
-buildUnnamed1476() {
+buildUnnamed1482() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -411,7 +411,7 @@
return o;
}
-checkUnnamed1476(core.List<core.Object> o) {
+checkUnnamed1482(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -432,7 +432,7 @@
if (buildCounterReportRequestFilters < 3) {
o.column = buildReportApiColumnSpec();
o.operator = "foo";
- o.values = buildUnnamed1476();
+ o.values = buildUnnamed1482();
}
buildCounterReportRequestFilters--;
return o;
@@ -443,19 +443,19 @@
if (buildCounterReportRequestFilters < 3) {
checkReportApiColumnSpec(o.column);
unittest.expect(o.operator, unittest.equals('foo'));
- checkUnnamed1476(o.values);
+ checkUnnamed1482(o.values);
}
buildCounterReportRequestFilters--;
}
-buildUnnamed1477() {
+buildUnnamed1483() {
var o = new core.List<api.ReportRequestFilters>();
o.add(buildReportRequestFilters());
o.add(buildReportRequestFilters());
return o;
}
-checkUnnamed1477(core.List<api.ReportRequestFilters> o) {
+checkUnnamed1483(core.List<api.ReportRequestFilters> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestFilters(o[0]);
checkReportRequestFilters(o[1]);
@@ -482,14 +482,14 @@
buildCounterReportRequestOrderBy--;
}
-buildUnnamed1478() {
+buildUnnamed1484() {
var o = new core.List<api.ReportRequestOrderBy>();
o.add(buildReportRequestOrderBy());
o.add(buildReportRequestOrderBy());
return o;
}
-checkUnnamed1478(core.List<api.ReportRequestOrderBy> o) {
+checkUnnamed1484(core.List<api.ReportRequestOrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestOrderBy(o[0]);
checkReportRequestOrderBy(o[1]);
@@ -559,13 +559,13 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.columns = buildUnnamed1475();
+ o.columns = buildUnnamed1481();
o.downloadFormat = "foo";
- o.filters = buildUnnamed1477();
+ o.filters = buildUnnamed1483();
o.includeDeletedEntities = true;
o.includeRemovedEntities = true;
o.maxRowsPerFile = 42;
- o.orderBy = buildUnnamed1478();
+ o.orderBy = buildUnnamed1484();
o.reportScope = buildReportRequestReportScope();
o.reportType = "foo";
o.rowCount = 42;
@@ -581,13 +581,13 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1475(o.columns);
+ checkUnnamed1481(o.columns);
unittest.expect(o.downloadFormat, unittest.equals('foo'));
- checkUnnamed1477(o.filters);
+ checkUnnamed1483(o.filters);
unittest.expect(o.includeDeletedEntities, unittest.isTrue);
unittest.expect(o.includeRemovedEntities, unittest.isTrue);
unittest.expect(o.maxRowsPerFile, unittest.equals(42));
- checkUnnamed1478(o.orderBy);
+ checkUnnamed1484(o.orderBy);
checkReportRequestReportScope(o.reportScope);
unittest.expect(o.reportType, unittest.equals('foo'));
unittest.expect(o.rowCount, unittest.equals(42));
@@ -651,14 +651,14 @@
buildCounterSavedColumn--;
}
-buildUnnamed1479() {
+buildUnnamed1485() {
var o = new core.List<api.SavedColumn>();
o.add(buildSavedColumn());
o.add(buildSavedColumn());
return o;
}
-checkUnnamed1479(core.List<api.SavedColumn> o) {
+checkUnnamed1485(core.List<api.SavedColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedColumn(o[0]);
checkSavedColumn(o[1]);
@@ -669,7 +669,7 @@
var o = new api.SavedColumnList();
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- o.items = buildUnnamed1479();
+ o.items = buildUnnamed1485();
o.kind = "foo";
}
buildCounterSavedColumnList--;
@@ -679,20 +679,20 @@
checkSavedColumnList(api.SavedColumnList o) {
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- checkUnnamed1479(o.items);
+ checkUnnamed1485(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSavedColumnList--;
}
-buildUnnamed1480() {
+buildUnnamed1486() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1480(core.List<api.Availability> o) {
+checkUnnamed1486(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -703,7 +703,7 @@
var o = new api.UpdateAvailabilityRequest();
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- o.availabilities = buildUnnamed1480();
+ o.availabilities = buildUnnamed1486();
}
buildCounterUpdateAvailabilityRequest--;
return o;
@@ -712,19 +712,19 @@
checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) {
buildCounterUpdateAvailabilityRequest++;
if (buildCounterUpdateAvailabilityRequest < 3) {
- checkUnnamed1480(o.availabilities);
+ checkUnnamed1486(o.availabilities);
}
buildCounterUpdateAvailabilityRequest--;
}
-buildUnnamed1481() {
+buildUnnamed1487() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
o.add(buildAvailability());
return o;
}
-checkUnnamed1481(core.List<api.Availability> o) {
+checkUnnamed1487(core.List<api.Availability> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailability(o[0]);
checkAvailability(o[1]);
@@ -735,7 +735,7 @@
var o = new api.UpdateAvailabilityResponse();
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- o.availabilities = buildUnnamed1481();
+ o.availabilities = buildUnnamed1487();
}
buildCounterUpdateAvailabilityResponse--;
return o;
@@ -744,7 +744,7 @@
checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) {
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- checkUnnamed1481(o.availabilities);
+ checkUnnamed1487(o.availabilities);
}
buildCounterUpdateAvailabilityResponse--;
}
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart
index 7ddeafb..b4b552e 100644
--- a/generated/googleapis/test/drive/v2_test.dart
+++ b/generated/googleapis/test/drive/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed724() {
+buildUnnamed730() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed724(core.List<core.String> o) {
+checkUnnamed730(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'));
@@ -68,7 +68,7 @@
var o = new api.AboutAdditionalRoleInfoRoleSets();
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- o.additionalRoles = buildUnnamed724();
+ o.additionalRoles = buildUnnamed730();
o.primaryRole = "foo";
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
@@ -78,20 +78,20 @@
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- checkUnnamed724(o.additionalRoles);
+ checkUnnamed730(o.additionalRoles);
unittest.expect(o.primaryRole, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
}
-buildUnnamed725() {
+buildUnnamed731() {
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
o.add(buildAboutAdditionalRoleInfoRoleSets());
o.add(buildAboutAdditionalRoleInfoRoleSets());
return o;
}
-checkUnnamed725(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
+checkUnnamed731(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfoRoleSets(o[0]);
checkAboutAdditionalRoleInfoRoleSets(o[1]);
@@ -102,7 +102,7 @@
var o = new api.AboutAdditionalRoleInfo();
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- o.roleSets = buildUnnamed725();
+ o.roleSets = buildUnnamed731();
o.type = "foo";
}
buildCounterAboutAdditionalRoleInfo--;
@@ -112,33 +112,33 @@
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- checkUnnamed725(o.roleSets);
+ checkUnnamed731(o.roleSets);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfo--;
}
-buildUnnamed726() {
+buildUnnamed732() {
var o = new core.List<api.AboutAdditionalRoleInfo>();
o.add(buildAboutAdditionalRoleInfo());
o.add(buildAboutAdditionalRoleInfo());
return o;
}
-checkUnnamed726(core.List<api.AboutAdditionalRoleInfo> o) {
+checkUnnamed732(core.List<api.AboutAdditionalRoleInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfo(o[0]);
checkAboutAdditionalRoleInfo(o[1]);
}
-buildUnnamed727() {
+buildUnnamed733() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed727(core.List<core.String> o) {
+checkUnnamed733(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'));
@@ -150,7 +150,7 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed727();
+ o.targets = buildUnnamed733();
}
buildCounterAboutExportFormats--;
return o;
@@ -160,19 +160,19 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed727(o.targets);
+ checkUnnamed733(o.targets);
}
buildCounterAboutExportFormats--;
}
-buildUnnamed728() {
+buildUnnamed734() {
var o = new core.List<api.AboutExportFormats>();
o.add(buildAboutExportFormats());
o.add(buildAboutExportFormats());
return o;
}
-checkUnnamed728(core.List<api.AboutExportFormats> o) {
+checkUnnamed734(core.List<api.AboutExportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutExportFormats(o[0]);
checkAboutExportFormats(o[1]);
@@ -199,40 +199,40 @@
buildCounterAboutFeatures--;
}
-buildUnnamed729() {
+buildUnnamed735() {
var o = new core.List<api.AboutFeatures>();
o.add(buildAboutFeatures());
o.add(buildAboutFeatures());
return o;
}
-checkUnnamed729(core.List<api.AboutFeatures> o) {
+checkUnnamed735(core.List<api.AboutFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutFeatures(o[0]);
checkAboutFeatures(o[1]);
}
-buildUnnamed730() {
+buildUnnamed736() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed730(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'));
}
-buildUnnamed731() {
+buildUnnamed737() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed731(core.List<core.String> o) {
+checkUnnamed737(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'));
@@ -244,7 +244,7 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed731();
+ o.targets = buildUnnamed737();
}
buildCounterAboutImportFormats--;
return o;
@@ -254,19 +254,19 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed731(o.targets);
+ checkUnnamed737(o.targets);
}
buildCounterAboutImportFormats--;
}
-buildUnnamed732() {
+buildUnnamed738() {
var o = new core.List<api.AboutImportFormats>();
o.add(buildAboutImportFormats());
o.add(buildAboutImportFormats());
return o;
}
-checkUnnamed732(core.List<api.AboutImportFormats> o) {
+checkUnnamed738(core.List<api.AboutImportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutImportFormats(o[0]);
checkAboutImportFormats(o[1]);
@@ -293,14 +293,14 @@
buildCounterAboutMaxUploadSizes--;
}
-buildUnnamed733() {
+buildUnnamed739() {
var o = new core.List<api.AboutMaxUploadSizes>();
o.add(buildAboutMaxUploadSizes());
o.add(buildAboutMaxUploadSizes());
return o;
}
-checkUnnamed733(core.List<api.AboutMaxUploadSizes> o) {
+checkUnnamed739(core.List<api.AboutMaxUploadSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutMaxUploadSizes(o[0]);
checkAboutMaxUploadSizes(o[1]);
@@ -327,14 +327,14 @@
buildCounterAboutQuotaBytesByService--;
}
-buildUnnamed734() {
+buildUnnamed740() {
var o = new core.List<api.AboutQuotaBytesByService>();
o.add(buildAboutQuotaBytesByService());
o.add(buildAboutQuotaBytesByService());
return o;
}
-checkUnnamed734(core.List<api.AboutQuotaBytesByService> o) {
+checkUnnamed740(core.List<api.AboutQuotaBytesByService> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutQuotaBytesByService(o[0]);
checkAboutQuotaBytesByService(o[1]);
@@ -363,14 +363,14 @@
buildCounterAboutTeamDriveThemes--;
}
-buildUnnamed735() {
+buildUnnamed741() {
var o = new core.List<api.AboutTeamDriveThemes>();
o.add(buildAboutTeamDriveThemes());
o.add(buildAboutTeamDriveThemes());
return o;
}
-checkUnnamed735(core.List<api.AboutTeamDriveThemes> o) {
+checkUnnamed741(core.List<api.AboutTeamDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutTeamDriveThemes(o[0]);
checkAboutTeamDriveThemes(o[1]);
@@ -381,21 +381,21 @@
var o = new api.About();
buildCounterAbout++;
if (buildCounterAbout < 3) {
- o.additionalRoleInfo = buildUnnamed726();
+ o.additionalRoleInfo = buildUnnamed732();
o.domainSharingPolicy = "foo";
o.etag = "foo";
- o.exportFormats = buildUnnamed728();
- o.features = buildUnnamed729();
- o.folderColorPalette = buildUnnamed730();
- o.importFormats = buildUnnamed732();
+ o.exportFormats = buildUnnamed734();
+ o.features = buildUnnamed735();
+ o.folderColorPalette = buildUnnamed736();
+ o.importFormats = buildUnnamed738();
o.isCurrentAppInstalled = true;
o.kind = "foo";
o.languageCode = "foo";
o.largestChangeId = "foo";
- o.maxUploadSizes = buildUnnamed733();
+ o.maxUploadSizes = buildUnnamed739();
o.name = "foo";
o.permissionId = "foo";
- o.quotaBytesByService = buildUnnamed734();
+ o.quotaBytesByService = buildUnnamed740();
o.quotaBytesTotal = "foo";
o.quotaBytesUsed = "foo";
o.quotaBytesUsedAggregate = "foo";
@@ -404,7 +404,7 @@
o.remainingChangeIds = "foo";
o.rootFolderId = "foo";
o.selfLink = "foo";
- o.teamDriveThemes = buildUnnamed735();
+ o.teamDriveThemes = buildUnnamed741();
o.user = buildUser();
}
buildCounterAbout--;
@@ -414,21 +414,21 @@
checkAbout(api.About o) {
buildCounterAbout++;
if (buildCounterAbout < 3) {
- checkUnnamed726(o.additionalRoleInfo);
+ checkUnnamed732(o.additionalRoleInfo);
unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed728(o.exportFormats);
- checkUnnamed729(o.features);
- checkUnnamed730(o.folderColorPalette);
- checkUnnamed732(o.importFormats);
+ checkUnnamed734(o.exportFormats);
+ checkUnnamed735(o.features);
+ checkUnnamed736(o.folderColorPalette);
+ checkUnnamed738(o.importFormats);
unittest.expect(o.isCurrentAppInstalled, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.largestChangeId, unittest.equals('foo'));
- checkUnnamed733(o.maxUploadSizes);
+ checkUnnamed739(o.maxUploadSizes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
- checkUnnamed734(o.quotaBytesByService);
+ checkUnnamed740(o.quotaBytesByService);
unittest.expect(o.quotaBytesTotal, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo'));
@@ -437,7 +437,7 @@
unittest.expect(o.remainingChangeIds, unittest.equals('foo'));
unittest.expect(o.rootFolderId, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed735(o.teamDriveThemes);
+ checkUnnamed741(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -466,66 +466,66 @@
buildCounterAppIcons--;
}
-buildUnnamed736() {
+buildUnnamed742() {
var o = new core.List<api.AppIcons>();
o.add(buildAppIcons());
o.add(buildAppIcons());
return o;
}
-checkUnnamed736(core.List<api.AppIcons> o) {
+checkUnnamed742(core.List<api.AppIcons> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppIcons(o[0]);
checkAppIcons(o[1]);
}
-buildUnnamed737() {
+buildUnnamed743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed737(core.List<core.String> o) {
+checkUnnamed743(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'));
}
-buildUnnamed738() {
+buildUnnamed744() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed738(core.List<core.String> o) {
+checkUnnamed744(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'));
}
-buildUnnamed739() {
+buildUnnamed745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed739(core.List<core.String> o) {
+checkUnnamed745(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'));
}
-buildUnnamed740() {
+buildUnnamed746() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed740(core.List<core.String> o) {
+checkUnnamed746(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'));
@@ -540,7 +540,7 @@
o.createInFolderTemplate = "foo";
o.createUrl = "foo";
o.hasDriveWideScope = true;
- o.icons = buildUnnamed736();
+ o.icons = buildUnnamed742();
o.id = "foo";
o.installed = true;
o.kind = "foo";
@@ -548,12 +548,12 @@
o.name = "foo";
o.objectType = "foo";
o.openUrlTemplate = "foo";
- o.primaryFileExtensions = buildUnnamed737();
- o.primaryMimeTypes = buildUnnamed738();
+ o.primaryFileExtensions = buildUnnamed743();
+ o.primaryMimeTypes = buildUnnamed744();
o.productId = "foo";
o.productUrl = "foo";
- o.secondaryFileExtensions = buildUnnamed739();
- o.secondaryMimeTypes = buildUnnamed740();
+ o.secondaryFileExtensions = buildUnnamed745();
+ o.secondaryMimeTypes = buildUnnamed746();
o.shortDescription = "foo";
o.supportsCreate = true;
o.supportsImport = true;
@@ -572,7 +572,7 @@
unittest.expect(o.createInFolderTemplate, unittest.equals('foo'));
unittest.expect(o.createUrl, unittest.equals('foo'));
unittest.expect(o.hasDriveWideScope, unittest.isTrue);
- checkUnnamed736(o.icons);
+ checkUnnamed742(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.installed, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -580,12 +580,12 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.openUrlTemplate, unittest.equals('foo'));
- checkUnnamed737(o.primaryFileExtensions);
- checkUnnamed738(o.primaryMimeTypes);
+ checkUnnamed743(o.primaryFileExtensions);
+ checkUnnamed744(o.primaryMimeTypes);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productUrl, unittest.equals('foo'));
- checkUnnamed739(o.secondaryFileExtensions);
- checkUnnamed740(o.secondaryMimeTypes);
+ checkUnnamed745(o.secondaryFileExtensions);
+ checkUnnamed746(o.secondaryMimeTypes);
unittest.expect(o.shortDescription, unittest.equals('foo'));
unittest.expect(o.supportsCreate, unittest.isTrue);
unittest.expect(o.supportsImport, unittest.isTrue);
@@ -596,27 +596,27 @@
buildCounterApp--;
}
-buildUnnamed741() {
+buildUnnamed747() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed741(core.List<core.String> o) {
+checkUnnamed747(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'));
}
-buildUnnamed742() {
+buildUnnamed748() {
var o = new core.List<api.App>();
o.add(buildApp());
o.add(buildApp());
return o;
}
-checkUnnamed742(core.List<api.App> o) {
+checkUnnamed748(core.List<api.App> o) {
unittest.expect(o, unittest.hasLength(2));
checkApp(o[0]);
checkApp(o[1]);
@@ -627,9 +627,9 @@
var o = new api.AppList();
buildCounterAppList++;
if (buildCounterAppList < 3) {
- o.defaultAppIds = buildUnnamed741();
+ o.defaultAppIds = buildUnnamed747();
o.etag = "foo";
- o.items = buildUnnamed742();
+ o.items = buildUnnamed748();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -640,9 +640,9 @@
checkAppList(api.AppList o) {
buildCounterAppList++;
if (buildCounterAppList < 3) {
- checkUnnamed741(o.defaultAppIds);
+ checkUnnamed747(o.defaultAppIds);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed742(o.items);
+ checkUnnamed748(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -687,14 +687,14 @@
buildCounterChange--;
}
-buildUnnamed743() {
+buildUnnamed749() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed743(core.List<api.Change> o) {
+checkUnnamed749(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -706,7 +706,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
o.etag = "foo";
- o.items = buildUnnamed743();
+ o.items = buildUnnamed749();
o.kind = "foo";
o.largestChangeId = "foo";
o.newStartPageToken = "foo";
@@ -722,7 +722,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed743(o.items);
+ checkUnnamed749(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.largestChangeId, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
@@ -733,14 +733,14 @@
buildCounterChangeList--;
}
-buildUnnamed744() {
+buildUnnamed750() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed744(core.Map<core.String, core.String> o) {
+checkUnnamed750(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -755,7 +755,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed744();
+ o.params = buildUnnamed750();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -773,7 +773,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed744(o.params);
+ checkUnnamed750(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -783,14 +783,14 @@
buildCounterChannel--;
}
-buildUnnamed745() {
+buildUnnamed751() {
var o = new core.List<api.ChildReference>();
o.add(buildChildReference());
o.add(buildChildReference());
return o;
}
-checkUnnamed745(core.List<api.ChildReference> o) {
+checkUnnamed751(core.List<api.ChildReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildReference(o[0]);
checkChildReference(o[1]);
@@ -802,7 +802,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
o.etag = "foo";
- o.items = buildUnnamed745();
+ o.items = buildUnnamed751();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -816,7 +816,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed745(o.items);
+ checkUnnamed751(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -871,14 +871,14 @@
buildCounterCommentContext--;
}
-buildUnnamed746() {
+buildUnnamed752() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed746(core.List<api.CommentReply> o) {
+checkUnnamed752(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -901,7 +901,7 @@
o.htmlContent = "foo";
o.kind = "foo";
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.replies = buildUnnamed746();
+ o.replies = buildUnnamed752();
o.selfLink = "foo";
o.status = "foo";
}
@@ -926,21 +926,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed746(o.replies);
+ checkUnnamed752(o.replies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterComment--;
}
-buildUnnamed747() {
+buildUnnamed753() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed747(core.List<api.Comment> o) {
+checkUnnamed753(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -951,7 +951,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.items = buildUnnamed747();
+ o.items = buildUnnamed753();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -964,7 +964,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed747(o.items);
+ checkUnnamed753(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1010,14 +1010,14 @@
buildCounterCommentReply--;
}
-buildUnnamed748() {
+buildUnnamed754() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed748(core.List<api.CommentReply> o) {
+checkUnnamed754(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -1028,7 +1028,7 @@
var o = new api.CommentReplyList();
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- o.items = buildUnnamed748();
+ o.items = buildUnnamed754();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1041,7 +1041,7 @@
checkCommentReplyList(api.CommentReplyList o) {
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- checkUnnamed748(o.items);
+ checkUnnamed754(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1101,14 +1101,14 @@
buildCounterFileCapabilities--;
}
-buildUnnamed749() {
+buildUnnamed755() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed749(core.Map<core.String, core.String> o) {
+checkUnnamed755(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1244,97 +1244,19 @@
buildCounterFileLabels--;
}
-buildUnnamed750() {
+buildUnnamed756() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed750(core.Map<core.String, core.String> o) {
+checkUnnamed756(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed751() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed751(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'));
-}
-
-buildUnnamed752() {
- var o = new core.List<api.User>();
- o.add(buildUser());
- o.add(buildUser());
- return o;
-}
-
-checkUnnamed752(core.List<api.User> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkUser(o[0]);
- checkUser(o[1]);
-}
-
-buildUnnamed753() {
- var o = new core.List<api.ParentReference>();
- o.add(buildParentReference());
- o.add(buildParentReference());
- return o;
-}
-
-checkUnnamed753(core.List<api.ParentReference> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkParentReference(o[0]);
- checkParentReference(o[1]);
-}
-
-buildUnnamed754() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed754(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'));
-}
-
-buildUnnamed755() {
- var o = new core.List<api.Permission>();
- o.add(buildPermission());
- o.add(buildPermission());
- return o;
-}
-
-checkUnnamed755(core.List<api.Permission> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPermission(o[0]);
- checkPermission(o[1]);
-}
-
-buildUnnamed756() {
- var o = new core.List<api.Property>();
- o.add(buildProperty());
- o.add(buildProperty());
- return o;
-}
-
-checkUnnamed756(core.List<api.Property> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkProperty(o[0]);
- checkProperty(o[1]);
-}
-
buildUnnamed757() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1348,6 +1270,84 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed758() {
+ var o = new core.List<api.User>();
+ o.add(buildUser());
+ o.add(buildUser());
+ return o;
+}
+
+checkUnnamed758(core.List<api.User> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUser(o[0]);
+ checkUser(o[1]);
+}
+
+buildUnnamed759() {
+ var o = new core.List<api.ParentReference>();
+ o.add(buildParentReference());
+ o.add(buildParentReference());
+ return o;
+}
+
+checkUnnamed759(core.List<api.ParentReference> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkParentReference(o[0]);
+ checkParentReference(o[1]);
+}
+
+buildUnnamed760() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed760(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'));
+}
+
+buildUnnamed761() {
+ var o = new core.List<api.Permission>();
+ o.add(buildPermission());
+ o.add(buildPermission());
+ return o;
+}
+
+checkUnnamed761(core.List<api.Permission> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPermission(o[0]);
+ checkPermission(o[1]);
+}
+
+buildUnnamed762() {
+ var o = new core.List<api.Property>();
+ o.add(buildProperty());
+ o.add(buildProperty());
+ return o;
+}
+
+checkUnnamed762(core.List<api.Property> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProperty(o[0]);
+ checkProperty(o[1]);
+}
+
+buildUnnamed763() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed763(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 buildCounterFileThumbnail = 0;
buildFileThumbnail() {
var o = new api.FileThumbnail();
@@ -1411,7 +1411,7 @@
o.embedLink = "foo";
o.etag = "foo";
o.explicitlyTrashed = true;
- o.exportLinks = buildUnnamed749();
+ o.exportLinks = buildUnnamed755();
o.fileExtension = "foo";
o.fileSize = "foo";
o.folderColorRgb = "foo";
@@ -1434,22 +1434,22 @@
o.mimeType = "foo";
o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.openWithLinks = buildUnnamed750();
+ o.openWithLinks = buildUnnamed756();
o.originalFilename = "foo";
o.ownedByMe = true;
- o.ownerNames = buildUnnamed751();
- o.owners = buildUnnamed752();
- o.parents = buildUnnamed753();
- o.permissionIds = buildUnnamed754();
- o.permissions = buildUnnamed755();
- o.properties = buildUnnamed756();
+ o.ownerNames = buildUnnamed757();
+ o.owners = buildUnnamed758();
+ o.parents = buildUnnamed759();
+ o.permissionIds = buildUnnamed760();
+ o.permissions = buildUnnamed761();
+ o.properties = buildUnnamed762();
o.quotaBytesUsed = "foo";
o.selfLink = "foo";
o.shareable = true;
o.shared = true;
o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
- o.spaces = buildUnnamed757();
+ o.spaces = buildUnnamed763();
o.teamDriveId = "foo";
o.thumbnail = buildFileThumbnail();
o.thumbnailLink = "foo";
@@ -1486,7 +1486,7 @@
unittest.expect(o.embedLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.explicitlyTrashed, unittest.isTrue);
- checkUnnamed749(o.exportLinks);
+ checkUnnamed755(o.exportLinks);
unittest.expect(o.fileExtension, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.folderColorRgb, unittest.equals('foo'));
@@ -1513,15 +1513,15 @@
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.modifiedDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed750(o.openWithLinks);
+ checkUnnamed756(o.openWithLinks);
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed751(o.ownerNames);
- checkUnnamed752(o.owners);
- checkUnnamed753(o.parents);
- checkUnnamed754(o.permissionIds);
- checkUnnamed755(o.permissions);
- checkUnnamed756(o.properties);
+ checkUnnamed757(o.ownerNames);
+ checkUnnamed758(o.owners);
+ checkUnnamed759(o.parents);
+ checkUnnamed760(o.permissionIds);
+ checkUnnamed761(o.permissions);
+ checkUnnamed762(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.shareable, unittest.isTrue);
@@ -1529,7 +1529,7 @@
unittest.expect(o.sharedWithMeDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
- checkUnnamed757(o.spaces);
+ checkUnnamed763(o.spaces);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
checkFileThumbnail(o.thumbnail);
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -1548,14 +1548,14 @@
buildCounterFile--;
}
-buildUnnamed758() {
+buildUnnamed764() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed758(core.List<api.File> o) {
+checkUnnamed764(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -1568,7 +1568,7 @@
if (buildCounterFileList < 3) {
o.etag = "foo";
o.incompleteSearch = true;
- o.items = buildUnnamed758();
+ o.items = buildUnnamed764();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1583,7 +1583,7 @@
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.incompleteSearch, unittest.isTrue);
- checkUnnamed758(o.items);
+ checkUnnamed764(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1592,14 +1592,14 @@
buildCounterFileList--;
}
-buildUnnamed759() {
+buildUnnamed765() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed759(core.List<core.String> o) {
+checkUnnamed765(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'));
@@ -1610,7 +1610,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed759();
+ o.ids = buildUnnamed765();
o.kind = "foo";
o.space = "foo";
}
@@ -1621,21 +1621,21 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed759(o.ids);
+ checkUnnamed765(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
buildCounterGeneratedIds--;
}
-buildUnnamed760() {
+buildUnnamed766() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed760(core.List<api.ParentReference> o) {
+checkUnnamed766(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
@@ -1647,7 +1647,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed760();
+ o.items = buildUnnamed766();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1659,7 +1659,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed760(o.items);
+ checkUnnamed766(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1693,27 +1693,27 @@
buildCounterParentReference--;
}
-buildUnnamed761() {
+buildUnnamed767() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed761(core.List<core.String> o) {
+checkUnnamed767(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'));
}
-buildUnnamed762() {
+buildUnnamed768() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed762(core.List<core.String> o) {
+checkUnnamed768(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'));
@@ -1724,7 +1724,7 @@
var o = new api.PermissionTeamDrivePermissionDetails();
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- o.additionalRoles = buildUnnamed762();
+ o.additionalRoles = buildUnnamed768();
o.inherited = true;
o.inheritedFrom = "foo";
o.role = "foo";
@@ -1738,7 +1738,7 @@
api.PermissionTeamDrivePermissionDetails o) {
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- checkUnnamed762(o.additionalRoles);
+ checkUnnamed768(o.additionalRoles);
unittest.expect(o.inherited, unittest.isTrue);
unittest.expect(o.inheritedFrom, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
@@ -1747,14 +1747,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed763() {
+buildUnnamed769() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed763(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed769(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -1765,7 +1765,7 @@
var o = new api.Permission();
buildCounterPermission++;
if (buildCounterPermission < 3) {
- o.additionalRoles = buildUnnamed761();
+ o.additionalRoles = buildUnnamed767();
o.authKey = "foo";
o.deleted = true;
o.domain = "foo";
@@ -1778,7 +1778,7 @@
o.photoLink = "foo";
o.role = "foo";
o.selfLink = "foo";
- o.teamDrivePermissionDetails = buildUnnamed763();
+ o.teamDrivePermissionDetails = buildUnnamed769();
o.type = "foo";
o.value = "foo";
o.withLink = true;
@@ -1790,7 +1790,7 @@
checkPermission(api.Permission o) {
buildCounterPermission++;
if (buildCounterPermission < 3) {
- checkUnnamed761(o.additionalRoles);
+ checkUnnamed767(o.additionalRoles);
unittest.expect(o.authKey, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.domain, unittest.equals('foo'));
@@ -1804,7 +1804,7 @@
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed763(o.teamDrivePermissionDetails);
+ checkUnnamed769(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
unittest.expect(o.withLink, unittest.isTrue);
@@ -1833,14 +1833,14 @@
buildCounterPermissionId--;
}
-buildUnnamed764() {
+buildUnnamed770() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed764(core.List<api.Permission> o) {
+checkUnnamed770(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1852,7 +1852,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed764();
+ o.items = buildUnnamed770();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1865,7 +1865,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed764(o.items);
+ checkUnnamed770(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1902,14 +1902,14 @@
buildCounterProperty--;
}
-buildUnnamed765() {
+buildUnnamed771() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed765(core.List<api.Property> o) {
+checkUnnamed771(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -1921,7 +1921,7 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
o.etag = "foo";
- o.items = buildUnnamed765();
+ o.items = buildUnnamed771();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1933,21 +1933,21 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed765(o.items);
+ checkUnnamed771(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterPropertyList--;
}
-buildUnnamed766() {
+buildUnnamed772() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed766(core.Map<core.String, core.String> o) {
+checkUnnamed772(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1960,7 +1960,7 @@
if (buildCounterRevision < 3) {
o.downloadUrl = "foo";
o.etag = "foo";
- o.exportLinks = buildUnnamed766();
+ o.exportLinks = buildUnnamed772();
o.fileSize = "foo";
o.id = "foo";
o.kind = "foo";
@@ -1986,7 +1986,7 @@
if (buildCounterRevision < 3) {
unittest.expect(o.downloadUrl, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed766(o.exportLinks);
+ checkUnnamed772(o.exportLinks);
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -2007,14 +2007,14 @@
buildCounterRevision--;
}
-buildUnnamed767() {
+buildUnnamed773() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed767(core.List<api.Revision> o) {
+checkUnnamed773(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -2026,7 +2026,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed767();
+ o.items = buildUnnamed773();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2039,7 +2039,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed767(o.items);
+ checkUnnamed773(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2147,6 +2147,7 @@
o.backgroundImageLink = "foo";
o.capabilities = buildTeamDriveCapabilities();
o.colorRgb = "foo";
+ o.createdDate = core.DateTime.parse("2002-02-27T14:01:02");
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -2163,6 +2164,8 @@
unittest.expect(o.backgroundImageLink, unittest.equals('foo'));
checkTeamDriveCapabilities(o.capabilities);
unittest.expect(o.colorRgb, unittest.equals('foo'));
+ unittest.expect(o.createdDate,
+ unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -2171,14 +2174,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed768() {
+buildUnnamed774() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed768(core.List<api.TeamDrive> o) {
+checkUnnamed774(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -2189,7 +2192,7 @@
var o = new api.TeamDriveList();
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- o.items = buildUnnamed768();
+ o.items = buildUnnamed774();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2200,7 +2203,7 @@
checkTeamDriveList(api.TeamDriveList o) {
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- checkUnnamed768(o.items);
+ checkUnnamed774(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -5307,6 +5310,7 @@
var arg_fileId = "foo";
var arg_permissionId = "foo";
var arg_supportsTeamDrives = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5355,6 +5359,8 @@
}
unittest.expect(queryMap["supportsTeamDrives"].first,
unittest.equals("$arg_supportsTeamDrives"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5365,7 +5371,9 @@
}), true);
res
.delete(arg_fileId, arg_permissionId,
- supportsTeamDrives: arg_supportsTeamDrives, $fields: arg_$fields)
+ supportsTeamDrives: arg_supportsTeamDrives,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
+ $fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
@@ -5375,6 +5383,7 @@
var arg_fileId = "foo";
var arg_permissionId = "foo";
var arg_supportsTeamDrives = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5423,6 +5432,8 @@
}
unittest.expect(queryMap["supportsTeamDrives"].first,
unittest.equals("$arg_supportsTeamDrives"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5433,7 +5444,9 @@
}), true);
res
.get(arg_fileId, arg_permissionId,
- supportsTeamDrives: arg_supportsTeamDrives, $fields: arg_$fields)
+ supportsTeamDrives: arg_supportsTeamDrives,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
+ $fields: arg_$fields)
.then(unittest.expectAsync1(((api.Permission response) {
checkPermission(response);
})));
@@ -5503,6 +5516,7 @@
var arg_emailMessage = "foo";
var arg_sendNotificationEmails = true;
var arg_supportsTeamDrives = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Permission.fromJson(json);
@@ -5555,6 +5569,8 @@
unittest.equals("$arg_sendNotificationEmails"));
unittest.expect(queryMap["supportsTeamDrives"].first,
unittest.equals("$arg_supportsTeamDrives"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5568,6 +5584,7 @@
emailMessage: arg_emailMessage,
sendNotificationEmails: arg_sendNotificationEmails,
supportsTeamDrives: arg_supportsTeamDrives,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Permission response) {
checkPermission(response);
@@ -5581,6 +5598,7 @@
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_supportsTeamDrives = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5630,6 +5648,8 @@
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["supportsTeamDrives"].first,
unittest.equals("$arg_supportsTeamDrives"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5643,6 +5663,7 @@
maxResults: arg_maxResults,
pageToken: arg_pageToken,
supportsTeamDrives: arg_supportsTeamDrives,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.PermissionList response) {
checkPermissionList(response);
@@ -5658,6 +5679,7 @@
var arg_removeExpiration = true;
var arg_supportsTeamDrives = true;
var arg_transferOwnership = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Permission.fromJson(json);
@@ -5713,6 +5735,8 @@
unittest.equals("$arg_supportsTeamDrives"));
unittest.expect(queryMap["transferOwnership"].first,
unittest.equals("$arg_transferOwnership"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5726,6 +5750,7 @@
removeExpiration: arg_removeExpiration,
supportsTeamDrives: arg_supportsTeamDrives,
transferOwnership: arg_transferOwnership,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Permission response) {
checkPermission(response);
@@ -5741,6 +5766,7 @@
var arg_removeExpiration = true;
var arg_supportsTeamDrives = true;
var arg_transferOwnership = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Permission.fromJson(json);
@@ -5796,6 +5822,8 @@
unittest.equals("$arg_supportsTeamDrives"));
unittest.expect(queryMap["transferOwnership"].first,
unittest.equals("$arg_transferOwnership"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5809,6 +5837,7 @@
removeExpiration: arg_removeExpiration,
supportsTeamDrives: arg_supportsTeamDrives,
transferOwnership: arg_transferOwnership,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Permission response) {
checkPermission(response);
@@ -7248,6 +7277,7 @@
var mock = new HttpServerMock();
api.TeamdrivesResourceApi res = new api.DriveApi(mock).teamdrives;
var arg_teamDriveId = "foo";
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7285,6 +7315,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7294,7 +7326,9 @@
return new async.Future.value(stringResponse(200, h, resp));
}), true);
res
- .get(arg_teamDriveId, $fields: arg_$fields)
+ .get(arg_teamDriveId,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
+ $fields: arg_$fields)
.then(unittest.expectAsync1(((api.TeamDrive response) {
checkTeamDrive(response);
})));
@@ -7364,6 +7398,8 @@
api.TeamdrivesResourceApi res = new api.DriveApi(mock).teamdrives;
var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_q = "foo";
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7402,6 +7438,9 @@
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7414,6 +7453,8 @@
.list(
maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ q: arg_q,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.TeamDriveList response) {
checkTeamDriveList(response);
diff --git a/generated/googleapis/test/drive/v3_test.dart b/generated/googleapis/test/drive/v3_test.dart
index 62d64f3..eb039e4 100644
--- a/generated/googleapis/test/drive/v3_test.dart
+++ b/generated/googleapis/test/drive/v3_test.dart
@@ -50,79 +50,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1652() {
+buildUnnamed1658() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1652(core.List<core.String> o) {
+checkUnnamed1658(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'));
}
-buildUnnamed1653() {
+buildUnnamed1659() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1652();
- o["y"] = buildUnnamed1652();
+ o["x"] = buildUnnamed1658();
+ o["y"] = buildUnnamed1658();
return o;
}
-checkUnnamed1653(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1659(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1652(o["x"]);
- checkUnnamed1652(o["y"]);
+ checkUnnamed1658(o["x"]);
+ checkUnnamed1658(o["y"]);
}
-buildUnnamed1654() {
+buildUnnamed1660() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1654(core.List<core.String> o) {
+checkUnnamed1660(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'));
}
-buildUnnamed1655() {
+buildUnnamed1661() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1655(core.List<core.String> o) {
+checkUnnamed1661(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'));
}
-buildUnnamed1656() {
+buildUnnamed1662() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed1655();
- o["y"] = buildUnnamed1655();
+ o["x"] = buildUnnamed1661();
+ o["y"] = buildUnnamed1661();
return o;
}
-checkUnnamed1656(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed1662(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1655(o["x"]);
- checkUnnamed1655(o["y"]);
+ checkUnnamed1661(o["x"]);
+ checkUnnamed1661(o["y"]);
}
-buildUnnamed1657() {
+buildUnnamed1663() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1657(core.Map<core.String, core.String> o) {
+checkUnnamed1663(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -176,14 +176,14 @@
buildCounterAboutTeamDriveThemes--;
}
-buildUnnamed1658() {
+buildUnnamed1664() {
var o = new core.List<api.AboutTeamDriveThemes>();
o.add(buildAboutTeamDriveThemes());
o.add(buildAboutTeamDriveThemes());
return o;
}
-checkUnnamed1658(core.List<api.AboutTeamDriveThemes> o) {
+checkUnnamed1664(core.List<api.AboutTeamDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutTeamDriveThemes(o[0]);
checkAboutTeamDriveThemes(o[1]);
@@ -195,14 +195,14 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
o.appInstalled = true;
- o.exportFormats = buildUnnamed1653();
- o.folderColorPalette = buildUnnamed1654();
- o.importFormats = buildUnnamed1656();
+ o.exportFormats = buildUnnamed1659();
+ o.folderColorPalette = buildUnnamed1660();
+ o.importFormats = buildUnnamed1662();
o.kind = "foo";
- o.maxImportSizes = buildUnnamed1657();
+ o.maxImportSizes = buildUnnamed1663();
o.maxUploadSize = "foo";
o.storageQuota = buildAboutStorageQuota();
- o.teamDriveThemes = buildUnnamed1658();
+ o.teamDriveThemes = buildUnnamed1664();
o.user = buildUser();
}
buildCounterAbout--;
@@ -213,14 +213,14 @@
buildCounterAbout++;
if (buildCounterAbout < 3) {
unittest.expect(o.appInstalled, unittest.isTrue);
- checkUnnamed1653(o.exportFormats);
- checkUnnamed1654(o.folderColorPalette);
- checkUnnamed1656(o.importFormats);
+ checkUnnamed1659(o.exportFormats);
+ checkUnnamed1660(o.folderColorPalette);
+ checkUnnamed1662(o.importFormats);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1657(o.maxImportSizes);
+ checkUnnamed1663(o.maxImportSizes);
unittest.expect(o.maxUploadSize, unittest.equals('foo'));
checkAboutStorageQuota(o.storageQuota);
- checkUnnamed1658(o.teamDriveThemes);
+ checkUnnamed1664(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -260,14 +260,14 @@
buildCounterChange--;
}
-buildUnnamed1659() {
+buildUnnamed1665() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed1659(core.List<api.Change> o) {
+checkUnnamed1665(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -278,7 +278,7 @@
var o = new api.ChangeList();
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- o.changes = buildUnnamed1659();
+ o.changes = buildUnnamed1665();
o.kind = "foo";
o.newStartPageToken = "foo";
o.nextPageToken = "foo";
@@ -290,7 +290,7 @@
checkChangeList(api.ChangeList o) {
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- checkUnnamed1659(o.changes);
+ checkUnnamed1665(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -298,14 +298,14 @@
buildCounterChangeList--;
}
-buildUnnamed1660() {
+buildUnnamed1666() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1660(core.Map<core.String, core.String> o) {
+checkUnnamed1666(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -320,7 +320,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1660();
+ o.params = buildUnnamed1666();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -338,7 +338,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1660(o.params);
+ checkUnnamed1666(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -369,14 +369,14 @@
buildCounterCommentQuotedFileContent--;
}
-buildUnnamed1661() {
+buildUnnamed1667() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1661(core.List<api.Reply> o) {
+checkUnnamed1667(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -397,7 +397,7 @@
o.kind = "foo";
o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02");
o.quotedFileContent = buildCommentQuotedFileContent();
- o.replies = buildUnnamed1661();
+ o.replies = buildUnnamed1667();
o.resolved = true;
}
buildCounterComment--;
@@ -419,20 +419,20 @@
unittest.expect(o.modifiedTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkCommentQuotedFileContent(o.quotedFileContent);
- checkUnnamed1661(o.replies);
+ checkUnnamed1667(o.replies);
unittest.expect(o.resolved, unittest.isTrue);
}
buildCounterComment--;
}
-buildUnnamed1662() {
+buildUnnamed1668() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1662(core.List<api.Comment> o) {
+checkUnnamed1668(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -443,7 +443,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.comments = buildUnnamed1662();
+ o.comments = buildUnnamed1668();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -454,21 +454,21 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed1662(o.comments);
+ checkUnnamed1668(o.comments);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCommentList--;
}
-buildUnnamed1663() {
+buildUnnamed1669() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1663(core.Map<core.String, core.String> o) {
+checkUnnamed1669(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -649,79 +649,79 @@
buildCounterFileImageMediaMetadata--;
}
-buildUnnamed1664() {
+buildUnnamed1670() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1664(core.List<api.User> o) {
+checkUnnamed1670(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed1665() {
+buildUnnamed1671() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1665(core.List<core.String> o) {
+checkUnnamed1671(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'));
}
-buildUnnamed1666() {
+buildUnnamed1672() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1666(core.List<core.String> o) {
+checkUnnamed1672(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'));
}
-buildUnnamed1667() {
+buildUnnamed1673() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1667(core.List<api.Permission> o) {
+checkUnnamed1673(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1668() {
+buildUnnamed1674() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1668(core.Map<core.String, core.String> o) {
+checkUnnamed1674(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1669() {
+buildUnnamed1675() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1669(core.List<core.String> o) {
+checkUnnamed1675(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'));
@@ -755,7 +755,7 @@
var o = new api.File();
buildCounterFile++;
if (buildCounterFile < 3) {
- o.appProperties = buildUnnamed1663();
+ o.appProperties = buildUnnamed1669();
o.capabilities = buildFileCapabilities();
o.contentHints = buildFileContentHints();
o.createdTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -781,17 +781,17 @@
o.name = "foo";
o.originalFilename = "foo";
o.ownedByMe = true;
- o.owners = buildUnnamed1664();
- o.parents = buildUnnamed1665();
- o.permissionIds = buildUnnamed1666();
- o.permissions = buildUnnamed1667();
- o.properties = buildUnnamed1668();
+ o.owners = buildUnnamed1670();
+ o.parents = buildUnnamed1671();
+ o.permissionIds = buildUnnamed1672();
+ o.permissions = buildUnnamed1673();
+ o.properties = buildUnnamed1674();
o.quotaBytesUsed = "foo";
o.shared = true;
o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
o.size = "foo";
- o.spaces = buildUnnamed1669();
+ o.spaces = buildUnnamed1675();
o.starred = true;
o.teamDriveId = "foo";
o.thumbnailLink = "foo";
@@ -815,7 +815,7 @@
checkFile(api.File o) {
buildCounterFile++;
if (buildCounterFile < 3) {
- checkUnnamed1663(o.appProperties);
+ checkUnnamed1669(o.appProperties);
checkFileCapabilities(o.capabilities);
checkFileContentHints(o.contentHints);
unittest.expect(o.createdTime,
@@ -844,18 +844,18 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed1664(o.owners);
- checkUnnamed1665(o.parents);
- checkUnnamed1666(o.permissionIds);
- checkUnnamed1667(o.permissions);
- checkUnnamed1668(o.properties);
+ checkUnnamed1670(o.owners);
+ checkUnnamed1671(o.parents);
+ checkUnnamed1672(o.permissionIds);
+ checkUnnamed1673(o.permissions);
+ checkUnnamed1674(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.shared, unittest.isTrue);
unittest.expect(o.sharedWithMeTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
unittest.expect(o.size, unittest.equals('foo'));
- checkUnnamed1669(o.spaces);
+ checkUnnamed1675(o.spaces);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -877,14 +877,14 @@
buildCounterFile--;
}
-buildUnnamed1670() {
+buildUnnamed1676() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed1670(core.List<api.File> o) {
+checkUnnamed1676(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -895,7 +895,7 @@
var o = new api.FileList();
buildCounterFileList++;
if (buildCounterFileList < 3) {
- o.files = buildUnnamed1670();
+ o.files = buildUnnamed1676();
o.incompleteSearch = true;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -907,7 +907,7 @@
checkFileList(api.FileList o) {
buildCounterFileList++;
if (buildCounterFileList < 3) {
- checkUnnamed1670(o.files);
+ checkUnnamed1676(o.files);
unittest.expect(o.incompleteSearch, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -915,14 +915,14 @@
buildCounterFileList--;
}
-buildUnnamed1671() {
+buildUnnamed1677() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1671(core.List<core.String> o) {
+checkUnnamed1677(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'));
@@ -933,7 +933,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed1671();
+ o.ids = buildUnnamed1677();
o.kind = "foo";
o.space = "foo";
}
@@ -944,7 +944,7 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed1671(o.ids);
+ checkUnnamed1677(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
@@ -977,14 +977,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed1672() {
+buildUnnamed1678() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed1672(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed1678(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -1005,7 +1005,7 @@
o.kind = "foo";
o.photoLink = "foo";
o.role = "foo";
- o.teamDrivePermissionDetails = buildUnnamed1672();
+ o.teamDrivePermissionDetails = buildUnnamed1678();
o.type = "foo";
}
buildCounterPermission--;
@@ -1026,20 +1026,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
- checkUnnamed1672(o.teamDrivePermissionDetails);
+ checkUnnamed1678(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPermission--;
}
-buildUnnamed1673() {
+buildUnnamed1679() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1673(core.List<api.Permission> o) {
+checkUnnamed1679(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1052,7 +1052,7 @@
if (buildCounterPermissionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.permissions = buildUnnamed1673();
+ o.permissions = buildUnnamed1679();
}
buildCounterPermissionList--;
return o;
@@ -1063,7 +1063,7 @@
if (buildCounterPermissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1673(o.permissions);
+ checkUnnamed1679(o.permissions);
}
buildCounterPermissionList--;
}
@@ -1105,14 +1105,14 @@
buildCounterReply--;
}
-buildUnnamed1674() {
+buildUnnamed1680() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed1674(core.List<api.Reply> o) {
+checkUnnamed1680(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -1125,7 +1125,7 @@
if (buildCounterReplyList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.replies = buildUnnamed1674();
+ o.replies = buildUnnamed1680();
}
buildCounterReplyList--;
return o;
@@ -1136,7 +1136,7 @@
if (buildCounterReplyList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1674(o.replies);
+ checkUnnamed1680(o.replies);
}
buildCounterReplyList--;
}
@@ -1183,14 +1183,14 @@
buildCounterRevision--;
}
-buildUnnamed1675() {
+buildUnnamed1681() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed1675(core.List<api.Revision> o) {
+checkUnnamed1681(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1203,7 +1203,7 @@
if (buildCounterRevisionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.revisions = buildUnnamed1675();
+ o.revisions = buildUnnamed1681();
}
buildCounterRevisionList--;
return o;
@@ -1214,7 +1214,7 @@
if (buildCounterRevisionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1675(o.revisions);
+ checkUnnamed1681(o.revisions);
}
buildCounterRevisionList--;
}
@@ -1319,6 +1319,7 @@
o.backgroundImageLink = "foo";
o.capabilities = buildTeamDriveCapabilities();
o.colorRgb = "foo";
+ o.createdTime = core.DateTime.parse("2002-02-27T14:01:02");
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -1335,6 +1336,8 @@
unittest.expect(o.backgroundImageLink, unittest.equals('foo'));
checkTeamDriveCapabilities(o.capabilities);
unittest.expect(o.colorRgb, unittest.equals('foo'));
+ unittest.expect(o.createdTime,
+ unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -1343,14 +1346,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed1676() {
+buildUnnamed1682() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed1676(core.List<api.TeamDrive> o) {
+checkUnnamed1682(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -1363,7 +1366,7 @@
if (buildCounterTeamDriveList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.teamDrives = buildUnnamed1676();
+ o.teamDrives = buildUnnamed1682();
}
buildCounterTeamDriveList--;
return o;
@@ -1374,7 +1377,7 @@
if (buildCounterTeamDriveList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1676(o.teamDrives);
+ checkUnnamed1682(o.teamDrives);
}
buildCounterTeamDriveList--;
}
@@ -3088,6 +3091,7 @@
var arg_sendNotificationEmail = true;
var arg_supportsTeamDrives = true;
var arg_transferOwnership = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Permission.fromJson(json);
@@ -3142,6 +3146,8 @@
unittest.equals("$arg_supportsTeamDrives"));
unittest.expect(queryMap["transferOwnership"].first,
unittest.equals("$arg_transferOwnership"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3156,6 +3162,7 @@
sendNotificationEmail: arg_sendNotificationEmail,
supportsTeamDrives: arg_supportsTeamDrives,
transferOwnership: arg_transferOwnership,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Permission response) {
checkPermission(response);
@@ -3168,6 +3175,7 @@
var arg_fileId = "foo";
var arg_permissionId = "foo";
var arg_supportsTeamDrives = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3216,6 +3224,8 @@
}
unittest.expect(queryMap["supportsTeamDrives"].first,
unittest.equals("$arg_supportsTeamDrives"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3226,7 +3236,9 @@
}), true);
res
.delete(arg_fileId, arg_permissionId,
- supportsTeamDrives: arg_supportsTeamDrives, $fields: arg_$fields)
+ supportsTeamDrives: arg_supportsTeamDrives,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
+ $fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
@@ -3236,6 +3248,7 @@
var arg_fileId = "foo";
var arg_permissionId = "foo";
var arg_supportsTeamDrives = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3284,6 +3297,8 @@
}
unittest.expect(queryMap["supportsTeamDrives"].first,
unittest.equals("$arg_supportsTeamDrives"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3294,7 +3309,9 @@
}), true);
res
.get(arg_fileId, arg_permissionId,
- supportsTeamDrives: arg_supportsTeamDrives, $fields: arg_$fields)
+ supportsTeamDrives: arg_supportsTeamDrives,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
+ $fields: arg_$fields)
.then(unittest.expectAsync1(((api.Permission response) {
checkPermission(response);
})));
@@ -3307,6 +3324,7 @@
var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_supportsTeamDrives = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3356,6 +3374,8 @@
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["supportsTeamDrives"].first,
unittest.equals("$arg_supportsTeamDrives"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3369,6 +3389,7 @@
pageSize: arg_pageSize,
pageToken: arg_pageToken,
supportsTeamDrives: arg_supportsTeamDrives,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.PermissionList response) {
checkPermissionList(response);
@@ -3384,6 +3405,7 @@
var arg_removeExpiration = true;
var arg_supportsTeamDrives = true;
var arg_transferOwnership = true;
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Permission.fromJson(json);
@@ -3439,6 +3461,8 @@
unittest.equals("$arg_supportsTeamDrives"));
unittest.expect(queryMap["transferOwnership"].first,
unittest.equals("$arg_transferOwnership"));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3452,6 +3476,7 @@
removeExpiration: arg_removeExpiration,
supportsTeamDrives: arg_supportsTeamDrives,
transferOwnership: arg_transferOwnership,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Permission response) {
checkPermission(response);
@@ -4255,6 +4280,7 @@
var mock = new HttpServerMock();
api.TeamdrivesResourceApi res = new api.DriveApi(mock).teamdrives;
var arg_teamDriveId = "foo";
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4292,6 +4318,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4301,7 +4329,9 @@
return new async.Future.value(stringResponse(200, h, resp));
}), true);
res
- .get(arg_teamDriveId, $fields: arg_$fields)
+ .get(arg_teamDriveId,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
+ $fields: arg_$fields)
.then(unittest.expectAsync1(((api.TeamDrive response) {
checkTeamDrive(response);
})));
@@ -4312,6 +4342,8 @@
api.TeamdrivesResourceApi res = new api.DriveApi(mock).teamdrives;
var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_q = "foo";
+ var arg_useDomainAdminAccess = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4350,6 +4382,9 @@
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(queryMap["useDomainAdminAccess"].first,
+ unittest.equals("$arg_useDomainAdminAccess"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4362,6 +4397,8 @@
.list(
pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ q: arg_q,
+ useDomainAdminAccess: arg_useDomainAdminAccess,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.TeamDriveList response) {
checkTeamDriveList(response);
diff --git a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
index 5c4a7a1..16de78d 100644
--- a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
+++ b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart
@@ -119,14 +119,14 @@
buildCounterCreateShortDynamicLinkRequest--;
}
-buildUnnamed2239() {
+buildUnnamed2245() {
var o = new core.List<api.DynamicLinkWarning>();
o.add(buildDynamicLinkWarning());
o.add(buildDynamicLinkWarning());
return o;
}
-checkUnnamed2239(core.List<api.DynamicLinkWarning> o) {
+checkUnnamed2245(core.List<api.DynamicLinkWarning> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicLinkWarning(o[0]);
checkDynamicLinkWarning(o[1]);
@@ -139,7 +139,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
o.previewLink = "foo";
o.shortLink = "foo";
- o.warning = buildUnnamed2239();
+ o.warning = buildUnnamed2245();
}
buildCounterCreateShortDynamicLinkResponse--;
return o;
@@ -150,7 +150,7 @@
if (buildCounterCreateShortDynamicLinkResponse < 3) {
unittest.expect(o.previewLink, unittest.equals('foo'));
unittest.expect(o.shortLink, unittest.equals('foo'));
- checkUnnamed2239(o.warning);
+ checkUnnamed2245(o.warning);
}
buildCounterCreateShortDynamicLinkResponse--;
}
@@ -181,6 +181,7 @@
if (buildCounterDeviceInfo < 3) {
o.deviceModelName = "foo";
o.languageCode = "foo";
+ o.languageCodeRaw = "foo";
o.screenResolutionHeight = "foo";
o.screenResolutionWidth = "foo";
o.timezone = "foo";
@@ -194,6 +195,7 @@
if (buildCounterDeviceInfo < 3) {
unittest.expect(o.deviceModelName, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
+ unittest.expect(o.languageCodeRaw, unittest.equals('foo'));
unittest.expect(o.screenResolutionHeight, unittest.equals('foo'));
unittest.expect(o.screenResolutionWidth, unittest.equals('foo'));
unittest.expect(o.timezone, unittest.equals('foo'));
@@ -257,14 +259,14 @@
buildCounterDynamicLinkInfo--;
}
-buildUnnamed2240() {
+buildUnnamed2246() {
var o = new core.List<api.DynamicLinkEventStat>();
o.add(buildDynamicLinkEventStat());
o.add(buildDynamicLinkEventStat());
return o;
}
-checkUnnamed2240(core.List<api.DynamicLinkEventStat> o) {
+checkUnnamed2246(core.List<api.DynamicLinkEventStat> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicLinkEventStat(o[0]);
checkDynamicLinkEventStat(o[1]);
@@ -275,7 +277,7 @@
var o = new api.DynamicLinkStats();
buildCounterDynamicLinkStats++;
if (buildCounterDynamicLinkStats < 3) {
- o.linkEventStats = buildUnnamed2240();
+ o.linkEventStats = buildUnnamed2246();
}
buildCounterDynamicLinkStats--;
return o;
@@ -284,7 +286,7 @@
checkDynamicLinkStats(api.DynamicLinkStats o) {
buildCounterDynamicLinkStats++;
if (buildCounterDynamicLinkStats < 3) {
- checkUnnamed2240(o.linkEventStats);
+ checkUnnamed2246(o.linkEventStats);
}
buildCounterDynamicLinkStats--;
}
diff --git a/generated/googleapis/test/firebaseremoteconfig/v1_test.dart b/generated/googleapis/test/firebaseremoteconfig/v1_test.dart
index ce627e9..0f2c253 100644
--- a/generated/googleapis/test/firebaseremoteconfig/v1_test.dart
+++ b/generated/googleapis/test/firebaseremoteconfig/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed780() {
+buildUnnamed786() {
var o = new core.List<api.RemoteConfigCondition>();
o.add(buildRemoteConfigCondition());
o.add(buildRemoteConfigCondition());
return o;
}
-checkUnnamed780(core.List<api.RemoteConfigCondition> o) {
+checkUnnamed786(core.List<api.RemoteConfigCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemoteConfigCondition(o[0]);
checkRemoteConfigCondition(o[1]);
}
-buildUnnamed781() {
+buildUnnamed787() {
var o = new core.Map<core.String, api.RemoteConfigParameter>();
o["x"] = buildRemoteConfigParameter();
o["y"] = buildRemoteConfigParameter();
return o;
}
-checkUnnamed781(core.Map<core.String, api.RemoteConfigParameter> o) {
+checkUnnamed787(core.Map<core.String, api.RemoteConfigParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemoteConfigParameter(o["x"]);
checkRemoteConfigParameter(o["y"]);
@@ -81,8 +81,8 @@
var o = new api.RemoteConfig();
buildCounterRemoteConfig++;
if (buildCounterRemoteConfig < 3) {
- o.conditions = buildUnnamed780();
- o.parameters = buildUnnamed781();
+ o.conditions = buildUnnamed786();
+ o.parameters = buildUnnamed787();
}
buildCounterRemoteConfig--;
return o;
@@ -91,8 +91,8 @@
checkRemoteConfig(api.RemoteConfig o) {
buildCounterRemoteConfig++;
if (buildCounterRemoteConfig < 3) {
- checkUnnamed780(o.conditions);
- checkUnnamed781(o.parameters);
+ checkUnnamed786(o.conditions);
+ checkUnnamed787(o.parameters);
}
buildCounterRemoteConfig--;
}
@@ -102,6 +102,7 @@
var o = new api.RemoteConfigCondition();
buildCounterRemoteConfigCondition++;
if (buildCounterRemoteConfigCondition < 3) {
+ o.description = "foo";
o.expression = "foo";
o.name = "foo";
o.tagColor = "foo";
@@ -113,6 +114,7 @@
checkRemoteConfigCondition(api.RemoteConfigCondition o) {
buildCounterRemoteConfigCondition++;
if (buildCounterRemoteConfigCondition < 3) {
+ unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.expression, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.tagColor, unittest.equals('foo'));
@@ -120,14 +122,14 @@
buildCounterRemoteConfigCondition--;
}
-buildUnnamed782() {
+buildUnnamed788() {
var o = new core.Map<core.String, api.RemoteConfigParameterValue>();
o["x"] = buildRemoteConfigParameterValue();
o["y"] = buildRemoteConfigParameterValue();
return o;
}
-checkUnnamed782(core.Map<core.String, api.RemoteConfigParameterValue> o) {
+checkUnnamed788(core.Map<core.String, api.RemoteConfigParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemoteConfigParameterValue(o["x"]);
checkRemoteConfigParameterValue(o["y"]);
@@ -138,8 +140,9 @@
var o = new api.RemoteConfigParameter();
buildCounterRemoteConfigParameter++;
if (buildCounterRemoteConfigParameter < 3) {
- o.conditionalValues = buildUnnamed782();
+ o.conditionalValues = buildUnnamed788();
o.defaultValue = buildRemoteConfigParameterValue();
+ o.description = "foo";
}
buildCounterRemoteConfigParameter--;
return o;
@@ -148,8 +151,9 @@
checkRemoteConfigParameter(api.RemoteConfigParameter o) {
buildCounterRemoteConfigParameter++;
if (buildCounterRemoteConfigParameter < 3) {
- checkUnnamed782(o.conditionalValues);
+ checkUnnamed788(o.conditionalValues);
checkRemoteConfigParameterValue(o.defaultValue);
+ unittest.expect(o.description, unittest.equals('foo'));
}
buildCounterRemoteConfigParameter--;
}
diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart
index c3b362d..9ba10e8 100644
--- a/generated/googleapis/test/firebaserules/v1_test.dart
+++ b/generated/googleapis/test/firebaserules/v1_test.dart
@@ -117,7 +117,7 @@
buildCounterFile--;
}
-buildUnnamed3244() {
+buildUnnamed3506() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -132,7 +132,7 @@
return o;
}
-checkUnnamed3244(core.List<core.Object> o) {
+checkUnnamed3506(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted2 = (o[0]) as core.Map;
unittest.expect(casted2, unittest.hasLength(3));
@@ -151,7 +151,7 @@
var o = new api.FunctionCall();
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- o.args = buildUnnamed3244();
+ o.args = buildUnnamed3506();
o.function = "foo";
}
buildCounterFunctionCall--;
@@ -161,20 +161,20 @@
checkFunctionCall(api.FunctionCall o) {
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- checkUnnamed3244(o.args);
+ checkUnnamed3506(o.args);
unittest.expect(o.function, unittest.equals('foo'));
}
buildCounterFunctionCall--;
}
-buildUnnamed3245() {
+buildUnnamed3507() {
var o = new core.List<api.Arg>();
o.add(buildArg());
o.add(buildArg());
return o;
}
-checkUnnamed3245(core.List<api.Arg> o) {
+checkUnnamed3507(core.List<api.Arg> o) {
unittest.expect(o, unittest.hasLength(2));
checkArg(o[0]);
checkArg(o[1]);
@@ -185,7 +185,7 @@
var o = new api.FunctionMock();
buildCounterFunctionMock++;
if (buildCounterFunctionMock < 3) {
- o.args = buildUnnamed3245();
+ o.args = buildUnnamed3507();
o.function = "foo";
o.result = buildResult();
}
@@ -196,7 +196,7 @@
checkFunctionMock(api.FunctionMock o) {
buildCounterFunctionMock++;
if (buildCounterFunctionMock < 3) {
- checkUnnamed3245(o.args);
+ checkUnnamed3507(o.args);
unittest.expect(o.function, unittest.equals('foo'));
checkResult(o.result);
}
@@ -253,14 +253,14 @@
buildCounterIssue--;
}
-buildUnnamed3246() {
+buildUnnamed3508() {
var o = new core.List<api.Release>();
o.add(buildRelease());
o.add(buildRelease());
return o;
}
-checkUnnamed3246(core.List<api.Release> o) {
+checkUnnamed3508(core.List<api.Release> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelease(o[0]);
checkRelease(o[1]);
@@ -272,7 +272,7 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
o.nextPageToken = "foo";
- o.releases = buildUnnamed3246();
+ o.releases = buildUnnamed3508();
}
buildCounterListReleasesResponse--;
return o;
@@ -282,19 +282,19 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3246(o.releases);
+ checkUnnamed3508(o.releases);
}
buildCounterListReleasesResponse--;
}
-buildUnnamed3247() {
+buildUnnamed3509() {
var o = new core.List<api.Ruleset>();
o.add(buildRuleset());
o.add(buildRuleset());
return o;
}
-checkUnnamed3247(core.List<api.Ruleset> o) {
+checkUnnamed3509(core.List<api.Ruleset> o) {
unittest.expect(o, unittest.hasLength(2));
checkRuleset(o[0]);
checkRuleset(o[1]);
@@ -306,7 +306,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
o.nextPageToken = "foo";
- o.rulesets = buildUnnamed3247();
+ o.rulesets = buildUnnamed3509();
}
buildCounterListRulesetsResponse--;
return o;
@@ -316,7 +316,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3247(o.rulesets);
+ checkUnnamed3509(o.rulesets);
}
buildCounterListRulesetsResponse--;
}
@@ -398,14 +398,14 @@
buildCounterRuleset--;
}
-buildUnnamed3248() {
+buildUnnamed3510() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed3248(core.List<api.File> o) {
+checkUnnamed3510(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -416,7 +416,7 @@
var o = new api.Source();
buildCounterSource++;
if (buildCounterSource < 3) {
- o.files = buildUnnamed3248();
+ o.files = buildUnnamed3510();
}
buildCounterSource--;
return o;
@@ -425,7 +425,7 @@
checkSource(api.Source o) {
buildCounterSource++;
if (buildCounterSource < 3) {
- checkUnnamed3248(o.files);
+ checkUnnamed3510(o.files);
}
buildCounterSource--;
}
@@ -453,14 +453,14 @@
buildCounterSourcePosition--;
}
-buildUnnamed3249() {
+buildUnnamed3511() {
var o = new core.List<api.FunctionMock>();
o.add(buildFunctionMock());
o.add(buildFunctionMock());
return o;
}
-checkUnnamed3249(core.List<api.FunctionMock> o) {
+checkUnnamed3511(core.List<api.FunctionMock> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionMock(o[0]);
checkFunctionMock(o[1]);
@@ -472,7 +472,7 @@
buildCounterTestCase++;
if (buildCounterTestCase < 3) {
o.expectation = "foo";
- o.functionMocks = buildUnnamed3249();
+ o.functionMocks = buildUnnamed3511();
o.request = {
'list': [1, 2, 3],
'bool': true,
@@ -492,7 +492,7 @@
buildCounterTestCase++;
if (buildCounterTestCase < 3) {
unittest.expect(o.expectation, unittest.equals('foo'));
- checkUnnamed3249(o.functionMocks);
+ checkUnnamed3511(o.functionMocks);
var casted5 = (o.request) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
@@ -507,27 +507,27 @@
buildCounterTestCase--;
}
-buildUnnamed3250() {
+buildUnnamed3512() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3250(core.List<core.String> o) {
+checkUnnamed3512(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'));
}
-buildUnnamed3251() {
+buildUnnamed3513() {
var o = new core.List<api.FunctionCall>();
o.add(buildFunctionCall());
o.add(buildFunctionCall());
return o;
}
-checkUnnamed3251(core.List<api.FunctionCall> o) {
+checkUnnamed3513(core.List<api.FunctionCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionCall(o[0]);
checkFunctionCall(o[1]);
@@ -538,9 +538,9 @@
var o = new api.TestResult();
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- o.debugMessages = buildUnnamed3250();
+ o.debugMessages = buildUnnamed3512();
o.errorPosition = buildSourcePosition();
- o.functionCalls = buildUnnamed3251();
+ o.functionCalls = buildUnnamed3513();
o.state = "foo";
}
buildCounterTestResult--;
@@ -550,9 +550,9 @@
checkTestResult(api.TestResult o) {
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- checkUnnamed3250(o.debugMessages);
+ checkUnnamed3512(o.debugMessages);
checkSourcePosition(o.errorPosition);
- checkUnnamed3251(o.functionCalls);
+ checkUnnamed3513(o.functionCalls);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterTestResult--;
@@ -579,27 +579,27 @@
buildCounterTestRulesetRequest--;
}
-buildUnnamed3252() {
+buildUnnamed3514() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed3252(core.List<api.Issue> o) {
+checkUnnamed3514(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed3253() {
+buildUnnamed3515() {
var o = new core.List<api.TestResult>();
o.add(buildTestResult());
o.add(buildTestResult());
return o;
}
-checkUnnamed3253(core.List<api.TestResult> o) {
+checkUnnamed3515(core.List<api.TestResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestResult(o[0]);
checkTestResult(o[1]);
@@ -610,8 +610,8 @@
var o = new api.TestRulesetResponse();
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- o.issues = buildUnnamed3252();
- o.testResults = buildUnnamed3253();
+ o.issues = buildUnnamed3514();
+ o.testResults = buildUnnamed3515();
}
buildCounterTestRulesetResponse--;
return o;
@@ -620,20 +620,20 @@
checkTestRulesetResponse(api.TestRulesetResponse o) {
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- checkUnnamed3252(o.issues);
- checkUnnamed3253(o.testResults);
+ checkUnnamed3514(o.issues);
+ checkUnnamed3515(o.testResults);
}
buildCounterTestRulesetResponse--;
}
-buildUnnamed3254() {
+buildUnnamed3516() {
var o = new core.List<api.TestCase>();
o.add(buildTestCase());
o.add(buildTestCase());
return o;
}
-checkUnnamed3254(core.List<api.TestCase> o) {
+checkUnnamed3516(core.List<api.TestCase> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestCase(o[0]);
checkTestCase(o[1]);
@@ -644,7 +644,7 @@
var o = new api.TestSuite();
buildCounterTestSuite++;
if (buildCounterTestSuite < 3) {
- o.testCases = buildUnnamed3254();
+ o.testCases = buildUnnamed3516();
}
buildCounterTestSuite--;
return o;
@@ -653,7 +653,7 @@
checkTestSuite(api.TestSuite o) {
buildCounterTestSuite++;
if (buildCounterTestSuite < 3) {
- checkUnnamed3254(o.testCases);
+ checkUnnamed3516(o.testCases);
}
buildCounterTestSuite--;
}
@@ -1120,9 +1120,9 @@
api.ProjectsReleasesResourceApi res =
new api.FirebaserulesApi(mock).projects.releases;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1155,11 +1155,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1170,9 +1170,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListReleasesResponse response) {
checkListReleasesResponse(response);
@@ -1458,9 +1458,9 @@
api.ProjectsRulesetsResourceApi res =
new api.FirebaserulesApi(mock).projects.rulesets;
var arg_name = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1493,11 +1493,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1508,9 +1508,9 @@
}), true);
res
.list(arg_name,
+ pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListRulesetsResponse response) {
checkListRulesetsResponse(response);
diff --git a/generated/googleapis/test/fitness/v1_test.dart b/generated/googleapis/test/fitness/v1_test.dart
index bfa871f..cad08ac 100644
--- a/generated/googleapis/test/fitness/v1_test.dart
+++ b/generated/googleapis/test/fitness/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1984() {
+buildUnnamed1990() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed1984(core.List<api.Dataset> o) {
+checkUnnamed1990(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -69,7 +69,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
o.activity = 42;
- o.dataset = buildUnnamed1984();
+ o.dataset = buildUnnamed1990();
o.endTimeMillis = "foo";
o.session = buildSession();
o.startTimeMillis = "foo";
@@ -83,7 +83,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
unittest.expect(o.activity, unittest.equals(42));
- checkUnnamed1984(o.dataset);
+ checkUnnamed1990(o.dataset);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
checkSession(o.session);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
@@ -113,27 +113,27 @@
buildCounterAggregateBy--;
}
-buildUnnamed1985() {
+buildUnnamed1991() {
var o = new core.List<api.AggregateBy>();
o.add(buildAggregateBy());
o.add(buildAggregateBy());
return o;
}
-checkUnnamed1985(core.List<api.AggregateBy> o) {
+checkUnnamed1991(core.List<api.AggregateBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBy(o[0]);
checkAggregateBy(o[1]);
}
-buildUnnamed1986() {
+buildUnnamed1992() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1986(core.List<core.String> o) {
+checkUnnamed1992(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'));
@@ -144,13 +144,13 @@
var o = new api.AggregateRequest();
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- o.aggregateBy = buildUnnamed1985();
+ o.aggregateBy = buildUnnamed1991();
o.bucketByActivitySegment = buildBucketByActivity();
o.bucketByActivityType = buildBucketByActivity();
o.bucketBySession = buildBucketBySession();
o.bucketByTime = buildBucketByTime();
o.endTimeMillis = "foo";
- o.filteredDataQualityStandard = buildUnnamed1986();
+ o.filteredDataQualityStandard = buildUnnamed1992();
o.startTimeMillis = "foo";
}
buildCounterAggregateRequest--;
@@ -160,26 +160,26 @@
checkAggregateRequest(api.AggregateRequest o) {
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- checkUnnamed1985(o.aggregateBy);
+ checkUnnamed1991(o.aggregateBy);
checkBucketByActivity(o.bucketByActivitySegment);
checkBucketByActivity(o.bucketByActivityType);
checkBucketBySession(o.bucketBySession);
checkBucketByTime(o.bucketByTime);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
- checkUnnamed1986(o.filteredDataQualityStandard);
+ checkUnnamed1992(o.filteredDataQualityStandard);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
}
buildCounterAggregateRequest--;
}
-buildUnnamed1987() {
+buildUnnamed1993() {
var o = new core.List<api.AggregateBucket>();
o.add(buildAggregateBucket());
o.add(buildAggregateBucket());
return o;
}
-checkUnnamed1987(core.List<api.AggregateBucket> o) {
+checkUnnamed1993(core.List<api.AggregateBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBucket(o[0]);
checkAggregateBucket(o[1]);
@@ -190,7 +190,7 @@
var o = new api.AggregateResponse();
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- o.bucket = buildUnnamed1987();
+ o.bucket = buildUnnamed1993();
}
buildCounterAggregateResponse--;
return o;
@@ -199,7 +199,7 @@
checkAggregateResponse(api.AggregateResponse o) {
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- checkUnnamed1987(o.bucket);
+ checkUnnamed1993(o.bucket);
}
buildCounterAggregateResponse--;
}
@@ -313,14 +313,14 @@
buildCounterBucketByTimePeriod--;
}
-buildUnnamed1988() {
+buildUnnamed1994() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1988(core.List<api.Value> o) {
+checkUnnamed1994(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -338,7 +338,7 @@
o.originDataSourceId = "foo";
o.rawTimestampNanos = "foo";
o.startTimeNanos = "foo";
- o.value = buildUnnamed1988();
+ o.value = buildUnnamed1994();
}
buildCounterDataPoint--;
return o;
@@ -354,19 +354,19 @@
unittest.expect(o.originDataSourceId, unittest.equals('foo'));
unittest.expect(o.rawTimestampNanos, unittest.equals('foo'));
unittest.expect(o.startTimeNanos, unittest.equals('foo'));
- checkUnnamed1988(o.value);
+ checkUnnamed1994(o.value);
}
buildCounterDataPoint--;
}
-buildUnnamed1989() {
+buildUnnamed1995() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1989(core.List<core.String> o) {
+checkUnnamed1995(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'));
@@ -378,7 +378,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
o.application = buildApplication();
- o.dataQualityStandard = buildUnnamed1989();
+ o.dataQualityStandard = buildUnnamed1995();
o.dataStreamId = "foo";
o.dataStreamName = "foo";
o.dataType = buildDataType();
@@ -394,7 +394,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
checkApplication(o.application);
- checkUnnamed1989(o.dataQualityStandard);
+ checkUnnamed1995(o.dataQualityStandard);
unittest.expect(o.dataStreamId, unittest.equals('foo'));
unittest.expect(o.dataStreamName, unittest.equals('foo'));
checkDataType(o.dataType);
@@ -405,14 +405,14 @@
buildCounterDataSource--;
}
-buildUnnamed1990() {
+buildUnnamed1996() {
var o = new core.List<api.DataTypeField>();
o.add(buildDataTypeField());
o.add(buildDataTypeField());
return o;
}
-checkUnnamed1990(core.List<api.DataTypeField> o) {
+checkUnnamed1996(core.List<api.DataTypeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTypeField(o[0]);
checkDataTypeField(o[1]);
@@ -423,7 +423,7 @@
var o = new api.DataType();
buildCounterDataType++;
if (buildCounterDataType < 3) {
- o.field = buildUnnamed1990();
+ o.field = buildUnnamed1996();
o.name = "foo";
}
buildCounterDataType--;
@@ -433,7 +433,7 @@
checkDataType(api.DataType o) {
buildCounterDataType++;
if (buildCounterDataType < 3) {
- checkUnnamed1990(o.field);
+ checkUnnamed1996(o.field);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDataType--;
@@ -462,14 +462,14 @@
buildCounterDataTypeField--;
}
-buildUnnamed1991() {
+buildUnnamed1997() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1991(core.List<api.DataPoint> o) {
+checkUnnamed1997(core.List<api.DataPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataPoint(o[0]);
checkDataPoint(o[1]);
@@ -484,7 +484,7 @@
o.maxEndTimeNs = "foo";
o.minStartTimeNs = "foo";
o.nextPageToken = "foo";
- o.point = buildUnnamed1991();
+ o.point = buildUnnamed1997();
}
buildCounterDataset--;
return o;
@@ -497,7 +497,7 @@
unittest.expect(o.maxEndTimeNs, unittest.equals('foo'));
unittest.expect(o.minStartTimeNs, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1991(o.point);
+ checkUnnamed1997(o.point);
}
buildCounterDataset--;
}
@@ -529,27 +529,27 @@
buildCounterDevice--;
}
-buildUnnamed1992() {
+buildUnnamed1998() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1992(core.List<api.DataPoint> o) {
+checkUnnamed1998(core.List<api.DataPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataPoint(o[0]);
checkDataPoint(o[1]);
}
-buildUnnamed1993() {
+buildUnnamed1999() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1993(core.List<api.DataPoint> o) {
+checkUnnamed1999(core.List<api.DataPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataPoint(o[0]);
checkDataPoint(o[1]);
@@ -561,8 +561,8 @@
buildCounterListDataPointChangesResponse++;
if (buildCounterListDataPointChangesResponse < 3) {
o.dataSourceId = "foo";
- o.deletedDataPoint = buildUnnamed1992();
- o.insertedDataPoint = buildUnnamed1993();
+ o.deletedDataPoint = buildUnnamed1998();
+ o.insertedDataPoint = buildUnnamed1999();
o.nextPageToken = "foo";
}
buildCounterListDataPointChangesResponse--;
@@ -573,21 +573,21 @@
buildCounterListDataPointChangesResponse++;
if (buildCounterListDataPointChangesResponse < 3) {
unittest.expect(o.dataSourceId, unittest.equals('foo'));
- checkUnnamed1992(o.deletedDataPoint);
- checkUnnamed1993(o.insertedDataPoint);
+ checkUnnamed1998(o.deletedDataPoint);
+ checkUnnamed1999(o.insertedDataPoint);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDataPointChangesResponse--;
}
-buildUnnamed1994() {
+buildUnnamed2000() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed1994(core.List<api.DataSource> o) {
+checkUnnamed2000(core.List<api.DataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSource(o[0]);
checkDataSource(o[1]);
@@ -598,7 +598,7 @@
var o = new api.ListDataSourcesResponse();
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- o.dataSource = buildUnnamed1994();
+ o.dataSource = buildUnnamed2000();
}
buildCounterListDataSourcesResponse--;
return o;
@@ -607,32 +607,32 @@
checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- checkUnnamed1994(o.dataSource);
+ checkUnnamed2000(o.dataSource);
}
buildCounterListDataSourcesResponse--;
}
-buildUnnamed1995() {
+buildUnnamed2001() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed1995(core.List<api.Session> o) {
+checkUnnamed2001(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
}
-buildUnnamed1996() {
+buildUnnamed2002() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed1996(core.List<api.Session> o) {
+checkUnnamed2002(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
@@ -643,10 +643,10 @@
var o = new api.ListSessionsResponse();
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- o.deletedSession = buildUnnamed1995();
+ o.deletedSession = buildUnnamed2001();
o.hasMoreData = true;
o.nextPageToken = "foo";
- o.session = buildUnnamed1996();
+ o.session = buildUnnamed2002();
}
buildCounterListSessionsResponse--;
return o;
@@ -655,10 +655,10 @@
checkListSessionsResponse(api.ListSessionsResponse o) {
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- checkUnnamed1995(o.deletedSession);
+ checkUnnamed2001(o.deletedSession);
unittest.expect(o.hasMoreData, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1996(o.session);
+ checkUnnamed2002(o.session);
}
buildCounterListSessionsResponse--;
}
@@ -717,14 +717,14 @@
buildCounterSession--;
}
-buildUnnamed1997() {
+buildUnnamed2003() {
var o = new core.List<api.ValueMapValEntry>();
o.add(buildValueMapValEntry());
o.add(buildValueMapValEntry());
return o;
}
-checkUnnamed1997(core.List<api.ValueMapValEntry> o) {
+checkUnnamed2003(core.List<api.ValueMapValEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueMapValEntry(o[0]);
checkValueMapValEntry(o[1]);
@@ -737,7 +737,7 @@
if (buildCounterValue < 3) {
o.fpVal = 42.0;
o.intVal = 42;
- o.mapVal = buildUnnamed1997();
+ o.mapVal = buildUnnamed2003();
o.stringVal = "foo";
}
buildCounterValue--;
@@ -749,7 +749,7 @@
if (buildCounterValue < 3) {
unittest.expect(o.fpVal, unittest.equals(42.0));
unittest.expect(o.intVal, unittest.equals(42));
- checkUnnamed1997(o.mapVal);
+ checkUnnamed2003(o.mapVal);
unittest.expect(o.stringVal, unittest.equals('foo'));
}
buildCounterValue--;
@@ -776,14 +776,14 @@
buildCounterValueMapValEntry--;
}
-buildUnnamed1998() {
+buildUnnamed2004() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1998(core.List<core.String> o) {
+checkUnnamed2004(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'));
@@ -1122,7 +1122,7 @@
api.UsersDataSourcesResourceApi res =
new api.FitnessApi(mock).users.dataSources;
var arg_userId = "foo";
- var arg_dataTypeName = buildUnnamed1998();
+ var arg_dataTypeName = buildUnnamed2004();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/fusiontables/v1_test.dart b/generated/googleapis/test/fusiontables/v1_test.dart
index 7d07f38..9548be3 100644
--- a/generated/googleapis/test/fusiontables/v1_test.dart
+++ b/generated/googleapis/test/fusiontables/v1_test.dart
@@ -131,14 +131,14 @@
buildCounterColumn--;
}
-buildUnnamed2789() {
+buildUnnamed3074() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2789(core.List<api.Column> o) {
+checkUnnamed3074(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -149,7 +149,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed2789();
+ o.items = buildUnnamed3074();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -161,7 +161,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed2789(o.items);
+ checkUnnamed3074(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -169,7 +169,7 @@
buildCounterColumnList--;
}
-buildUnnamed2790() {
+buildUnnamed3075() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -184,7 +184,7 @@
return o;
}
-checkUnnamed2790(core.List<core.Object> o) {
+checkUnnamed3075(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -203,7 +203,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed2790();
+ o.geometries = buildUnnamed3075();
o.geometry = {
'list': [1, 2, 3],
'bool': true,
@@ -218,7 +218,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed2790(o.geometries);
+ checkUnnamed3075(o.geometries);
var casted3 = (o.geometry) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -250,30 +250,30 @@
buildCounterImport--;
}
-buildUnnamed2791() {
+buildUnnamed3076() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2791(core.List<core.double> o) {
+checkUnnamed3076(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed2792() {
+buildUnnamed3077() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2791());
- o.add(buildUnnamed2791());
+ o.add(buildUnnamed3076());
+ o.add(buildUnnamed3076());
return o;
}
-checkUnnamed2792(core.List<core.List<core.double>> o) {
+checkUnnamed3077(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2791(o[0]);
- checkUnnamed2791(o[1]);
+ checkUnnamed3076(o[0]);
+ checkUnnamed3076(o[1]);
}
core.int buildCounterLine = 0;
@@ -281,7 +281,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed2792();
+ o.coordinates = buildUnnamed3077();
o.type = "foo";
}
buildCounterLine--;
@@ -291,7 +291,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed2792(o.coordinates);
+ checkUnnamed3077(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -324,14 +324,14 @@
buildCounterLineStyle--;
}
-buildUnnamed2793() {
+buildUnnamed3078() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2793(core.List<core.double> o) {
+checkUnnamed3078(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -342,7 +342,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed2793();
+ o.coordinates = buildUnnamed3078();
o.type = "foo";
}
buildCounterPoint--;
@@ -352,7 +352,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed2793(o.coordinates);
+ checkUnnamed3078(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -379,43 +379,43 @@
buildCounterPointStyle--;
}
-buildUnnamed2794() {
+buildUnnamed3079() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2794(core.List<core.double> o) {
+checkUnnamed3079(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed2795() {
+buildUnnamed3080() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed2794());
- o.add(buildUnnamed2794());
+ o.add(buildUnnamed3079());
+ o.add(buildUnnamed3079());
return o;
}
-checkUnnamed2795(core.List<core.List<core.double>> o) {
+checkUnnamed3080(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2794(o[0]);
- checkUnnamed2794(o[1]);
+ checkUnnamed3079(o[0]);
+ checkUnnamed3079(o[1]);
}
-buildUnnamed2796() {
+buildUnnamed3081() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed2795());
- o.add(buildUnnamed2795());
+ o.add(buildUnnamed3080());
+ o.add(buildUnnamed3080());
return o;
}
-checkUnnamed2796(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed3081(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2795(o[0]);
- checkUnnamed2795(o[1]);
+ checkUnnamed3080(o[0]);
+ checkUnnamed3080(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -423,7 +423,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed2796();
+ o.coordinates = buildUnnamed3081();
o.type = "foo";
}
buildCounterPolygon--;
@@ -433,7 +433,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed2796(o.coordinates);
+ checkUnnamed3081(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -472,20 +472,20 @@
buildCounterPolygonStyle--;
}
-buildUnnamed2797() {
+buildUnnamed3082() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2797(core.List<core.String> o) {
+checkUnnamed3082(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'));
}
-buildUnnamed2798() {
+buildUnnamed3083() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -500,7 +500,7 @@
return o;
}
-checkUnnamed2798(core.List<core.Object> o) {
+checkUnnamed3083(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) as core.Map;
unittest.expect(casted4, unittest.hasLength(3));
@@ -514,17 +514,17 @@
unittest.expect(casted5["string"], unittest.equals('foo'));
}
-buildUnnamed2799() {
+buildUnnamed3084() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2798());
- o.add(buildUnnamed2798());
+ o.add(buildUnnamed3083());
+ o.add(buildUnnamed3083());
return o;
}
-checkUnnamed2799(core.List<core.List<core.Object>> o) {
+checkUnnamed3084(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2798(o[0]);
- checkUnnamed2798(o[1]);
+ checkUnnamed3083(o[0]);
+ checkUnnamed3083(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -532,9 +532,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed2797();
+ o.columns = buildUnnamed3082();
o.kind = "foo";
- o.rows = buildUnnamed2799();
+ o.rows = buildUnnamed3084();
}
buildCounterSqlresponse--;
return o;
@@ -543,21 +543,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed2797(o.columns);
+ checkUnnamed3082(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2799(o.rows);
+ checkUnnamed3084(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed2800() {
+buildUnnamed3085() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed2800(core.List<api.Bucket> o) {
+checkUnnamed3085(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -584,14 +584,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed2801() {
+buildUnnamed3086() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed2801(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed3086(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -602,7 +602,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed2801();
+ o.colors = buildUnnamed3086();
o.max = 42.0;
o.min = 42.0;
}
@@ -613,7 +613,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed2801(o.colors);
+ checkUnnamed3086(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -625,7 +625,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed2800();
+ o.buckets = buildUnnamed3085();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -637,7 +637,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed2800(o.buckets);
+ checkUnnamed3085(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -676,14 +676,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed2802() {
+buildUnnamed3087() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed2802(core.List<api.StyleSetting> o) {
+checkUnnamed3087(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -694,7 +694,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed2802();
+ o.items = buildUnnamed3087();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -706,7 +706,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed2802(o.items);
+ checkUnnamed3087(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -714,27 +714,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed2803() {
+buildUnnamed3088() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2803(core.List<core.String> o) {
+checkUnnamed3088(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'));
}
-buildUnnamed2804() {
+buildUnnamed3089() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed2804(core.List<api.Column> o) {
+checkUnnamed3089(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -747,8 +747,8 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed2803();
- o.columns = buildUnnamed2804();
+ o.baseTableIds = buildUnnamed3088();
+ o.columns = buildUnnamed3089();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -765,8 +765,8 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed2803(o.baseTableIds);
- checkUnnamed2804(o.columns);
+ checkUnnamed3088(o.baseTableIds);
+ checkUnnamed3089(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -777,14 +777,14 @@
buildCounterTable--;
}
-buildUnnamed2805() {
+buildUnnamed3090() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed2805(core.List<api.Table> o) {
+checkUnnamed3090(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -795,7 +795,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed2805();
+ o.items = buildUnnamed3090();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -806,7 +806,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed2805(o.items);
+ checkUnnamed3090(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -840,14 +840,14 @@
buildCounterTask--;
}
-buildUnnamed2806() {
+buildUnnamed3091() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2806(core.List<api.Task> o) {
+checkUnnamed3091(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -858,7 +858,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed2806();
+ o.items = buildUnnamed3091();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -870,7 +870,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed2806(o.items);
+ checkUnnamed3091(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -878,14 +878,14 @@
buildCounterTaskList--;
}
-buildUnnamed2807() {
+buildUnnamed3092() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2807(core.List<core.String> o) {
+checkUnnamed3092(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'));
@@ -896,7 +896,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed2807();
+ o.automaticColumnNames = buildUnnamed3092();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -910,7 +910,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed2807(o.automaticColumnNames);
+ checkUnnamed3092(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -920,14 +920,14 @@
buildCounterTemplate--;
}
-buildUnnamed2808() {
+buildUnnamed3093() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed2808(core.List<api.Template> o) {
+checkUnnamed3093(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -938,7 +938,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed2808();
+ o.items = buildUnnamed3093();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -950,7 +950,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed2808(o.items);
+ checkUnnamed3093(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
diff --git a/generated/googleapis/test/fusiontables/v2_test.dart b/generated/googleapis/test/fusiontables/v2_test.dart
index e3119e1..e633a2c 100644
--- a/generated/googleapis/test/fusiontables/v2_test.dart
+++ b/generated/googleapis/test/fusiontables/v2_test.dart
@@ -100,14 +100,14 @@
buildCounterColumnBaseColumn--;
}
-buildUnnamed503() {
+buildUnnamed507() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed503(core.List<core.String> o) {
+checkUnnamed507(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'));
@@ -128,7 +128,7 @@
o.kind = "foo";
o.name = "foo";
o.type = "foo";
- o.validValues = buildUnnamed503();
+ o.validValues = buildUnnamed507();
o.validateData = true;
}
buildCounterColumn--;
@@ -148,20 +148,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed503(o.validValues);
+ checkUnnamed507(o.validValues);
unittest.expect(o.validateData, unittest.isTrue);
}
buildCounterColumn--;
}
-buildUnnamed504() {
+buildUnnamed508() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed504(core.List<api.Column> o) {
+checkUnnamed508(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -172,7 +172,7 @@
var o = new api.ColumnList();
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- o.items = buildUnnamed504();
+ o.items = buildUnnamed508();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -184,7 +184,7 @@
checkColumnList(api.ColumnList o) {
buildCounterColumnList++;
if (buildCounterColumnList < 3) {
- checkUnnamed504(o.items);
+ checkUnnamed508(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -192,7 +192,7 @@
buildCounterColumnList--;
}
-buildUnnamed505() {
+buildUnnamed509() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -207,7 +207,7 @@
return o;
}
-checkUnnamed505(core.List<core.Object> o) {
+checkUnnamed509(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -226,7 +226,7 @@
var o = new api.Geometry();
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- o.geometries = buildUnnamed505();
+ o.geometries = buildUnnamed509();
o.geometry = {
'list': [1, 2, 3],
'bool': true,
@@ -241,7 +241,7 @@
checkGeometry(api.Geometry o) {
buildCounterGeometry++;
if (buildCounterGeometry < 3) {
- checkUnnamed505(o.geometries);
+ checkUnnamed509(o.geometries);
var casted3 = (o.geometry) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -273,30 +273,30 @@
buildCounterImport--;
}
-buildUnnamed506() {
+buildUnnamed510() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed506(core.List<core.double> o) {
+checkUnnamed510(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed507() {
+buildUnnamed511() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed506());
- o.add(buildUnnamed506());
+ o.add(buildUnnamed510());
+ o.add(buildUnnamed510());
return o;
}
-checkUnnamed507(core.List<core.List<core.double>> o) {
+checkUnnamed511(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed506(o[0]);
- checkUnnamed506(o[1]);
+ checkUnnamed510(o[0]);
+ checkUnnamed510(o[1]);
}
core.int buildCounterLine = 0;
@@ -304,7 +304,7 @@
var o = new api.Line();
buildCounterLine++;
if (buildCounterLine < 3) {
- o.coordinates = buildUnnamed507();
+ o.coordinates = buildUnnamed511();
o.type = "foo";
}
buildCounterLine--;
@@ -314,7 +314,7 @@
checkLine(api.Line o) {
buildCounterLine++;
if (buildCounterLine < 3) {
- checkUnnamed507(o.coordinates);
+ checkUnnamed511(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterLine--;
@@ -347,14 +347,14 @@
buildCounterLineStyle--;
}
-buildUnnamed508() {
+buildUnnamed512() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed508(core.List<core.double> o) {
+checkUnnamed512(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -365,7 +365,7 @@
var o = new api.Point();
buildCounterPoint++;
if (buildCounterPoint < 3) {
- o.coordinates = buildUnnamed508();
+ o.coordinates = buildUnnamed512();
o.type = "foo";
}
buildCounterPoint--;
@@ -375,7 +375,7 @@
checkPoint(api.Point o) {
buildCounterPoint++;
if (buildCounterPoint < 3) {
- checkUnnamed508(o.coordinates);
+ checkUnnamed512(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPoint--;
@@ -402,43 +402,43 @@
buildCounterPointStyle--;
}
-buildUnnamed509() {
+buildUnnamed513() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed509(core.List<core.double> o) {
+checkUnnamed513(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed510() {
+buildUnnamed514() {
var o = new core.List<core.List<core.double>>();
- o.add(buildUnnamed509());
- o.add(buildUnnamed509());
+ o.add(buildUnnamed513());
+ o.add(buildUnnamed513());
return o;
}
-checkUnnamed510(core.List<core.List<core.double>> o) {
+checkUnnamed514(core.List<core.List<core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed509(o[0]);
- checkUnnamed509(o[1]);
+ checkUnnamed513(o[0]);
+ checkUnnamed513(o[1]);
}
-buildUnnamed511() {
+buildUnnamed515() {
var o = new core.List<core.List<core.List<core.double>>>();
- o.add(buildUnnamed510());
- o.add(buildUnnamed510());
+ o.add(buildUnnamed514());
+ o.add(buildUnnamed514());
return o;
}
-checkUnnamed511(core.List<core.List<core.List<core.double>>> o) {
+checkUnnamed515(core.List<core.List<core.List<core.double>>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed510(o[0]);
- checkUnnamed510(o[1]);
+ checkUnnamed514(o[0]);
+ checkUnnamed514(o[1]);
}
core.int buildCounterPolygon = 0;
@@ -446,7 +446,7 @@
var o = new api.Polygon();
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- o.coordinates = buildUnnamed511();
+ o.coordinates = buildUnnamed515();
o.type = "foo";
}
buildCounterPolygon--;
@@ -456,7 +456,7 @@
checkPolygon(api.Polygon o) {
buildCounterPolygon++;
if (buildCounterPolygon < 3) {
- checkUnnamed511(o.coordinates);
+ checkUnnamed515(o.coordinates);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterPolygon--;
@@ -495,20 +495,20 @@
buildCounterPolygonStyle--;
}
-buildUnnamed512() {
+buildUnnamed516() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed512(core.List<core.String> o) {
+checkUnnamed516(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'));
}
-buildUnnamed513() {
+buildUnnamed517() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -523,7 +523,7 @@
return o;
}
-checkUnnamed513(core.List<core.Object> o) {
+checkUnnamed517(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o[0]) as core.Map;
unittest.expect(casted4, unittest.hasLength(3));
@@ -537,17 +537,17 @@
unittest.expect(casted5["string"], unittest.equals('foo'));
}
-buildUnnamed514() {
+buildUnnamed518() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed513());
- o.add(buildUnnamed513());
+ o.add(buildUnnamed517());
+ o.add(buildUnnamed517());
return o;
}
-checkUnnamed514(core.List<core.List<core.Object>> o) {
+checkUnnamed518(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed513(o[0]);
- checkUnnamed513(o[1]);
+ checkUnnamed517(o[0]);
+ checkUnnamed517(o[1]);
}
core.int buildCounterSqlresponse = 0;
@@ -555,9 +555,9 @@
var o = new api.Sqlresponse();
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- o.columns = buildUnnamed512();
+ o.columns = buildUnnamed516();
o.kind = "foo";
- o.rows = buildUnnamed514();
+ o.rows = buildUnnamed518();
}
buildCounterSqlresponse--;
return o;
@@ -566,21 +566,21 @@
checkSqlresponse(api.Sqlresponse o) {
buildCounterSqlresponse++;
if (buildCounterSqlresponse < 3) {
- checkUnnamed512(o.columns);
+ checkUnnamed516(o.columns);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed514(o.rows);
+ checkUnnamed518(o.rows);
}
buildCounterSqlresponse--;
}
-buildUnnamed515() {
+buildUnnamed519() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed515(core.List<api.Bucket> o) {
+checkUnnamed519(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -607,14 +607,14 @@
buildCounterStyleFunctionGradientColors--;
}
-buildUnnamed516() {
+buildUnnamed520() {
var o = new core.List<api.StyleFunctionGradientColors>();
o.add(buildStyleFunctionGradientColors());
o.add(buildStyleFunctionGradientColors());
return o;
}
-checkUnnamed516(core.List<api.StyleFunctionGradientColors> o) {
+checkUnnamed520(core.List<api.StyleFunctionGradientColors> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleFunctionGradientColors(o[0]);
checkStyleFunctionGradientColors(o[1]);
@@ -625,7 +625,7 @@
var o = new api.StyleFunctionGradient();
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- o.colors = buildUnnamed516();
+ o.colors = buildUnnamed520();
o.max = 42.0;
o.min = 42.0;
}
@@ -636,7 +636,7 @@
checkStyleFunctionGradient(api.StyleFunctionGradient o) {
buildCounterStyleFunctionGradient++;
if (buildCounterStyleFunctionGradient < 3) {
- checkUnnamed516(o.colors);
+ checkUnnamed520(o.colors);
unittest.expect(o.max, unittest.equals(42.0));
unittest.expect(o.min, unittest.equals(42.0));
}
@@ -648,7 +648,7 @@
var o = new api.StyleFunction();
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- o.buckets = buildUnnamed515();
+ o.buckets = buildUnnamed519();
o.columnName = "foo";
o.gradient = buildStyleFunctionGradient();
o.kind = "foo";
@@ -660,7 +660,7 @@
checkStyleFunction(api.StyleFunction o) {
buildCounterStyleFunction++;
if (buildCounterStyleFunction < 3) {
- checkUnnamed515(o.buckets);
+ checkUnnamed519(o.buckets);
unittest.expect(o.columnName, unittest.equals('foo'));
checkStyleFunctionGradient(o.gradient);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -699,14 +699,14 @@
buildCounterStyleSetting--;
}
-buildUnnamed517() {
+buildUnnamed521() {
var o = new core.List<api.StyleSetting>();
o.add(buildStyleSetting());
o.add(buildStyleSetting());
return o;
}
-checkUnnamed517(core.List<api.StyleSetting> o) {
+checkUnnamed521(core.List<api.StyleSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkStyleSetting(o[0]);
checkStyleSetting(o[1]);
@@ -717,7 +717,7 @@
var o = new api.StyleSettingList();
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- o.items = buildUnnamed517();
+ o.items = buildUnnamed521();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -729,7 +729,7 @@
checkStyleSettingList(api.StyleSettingList o) {
buildCounterStyleSettingList++;
if (buildCounterStyleSettingList < 3) {
- checkUnnamed517(o.items);
+ checkUnnamed521(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -737,27 +737,27 @@
buildCounterStyleSettingList--;
}
-buildUnnamed518() {
+buildUnnamed522() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed518(core.List<core.String> o) {
+checkUnnamed522(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'));
}
-buildUnnamed519() {
+buildUnnamed523() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed519(core.List<api.Column> o) {
+checkUnnamed523(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -770,9 +770,9 @@
if (buildCounterTable < 3) {
o.attribution = "foo";
o.attributionLink = "foo";
- o.baseTableIds = buildUnnamed518();
+ o.baseTableIds = buildUnnamed522();
o.columnPropertiesJsonSchema = "foo";
- o.columns = buildUnnamed519();
+ o.columns = buildUnnamed523();
o.description = "foo";
o.isExportable = true;
o.kind = "foo";
@@ -791,9 +791,9 @@
if (buildCounterTable < 3) {
unittest.expect(o.attribution, unittest.equals('foo'));
unittest.expect(o.attributionLink, unittest.equals('foo'));
- checkUnnamed518(o.baseTableIds);
+ checkUnnamed522(o.baseTableIds);
unittest.expect(o.columnPropertiesJsonSchema, unittest.equals('foo'));
- checkUnnamed519(o.columns);
+ checkUnnamed523(o.columns);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.isExportable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -806,14 +806,14 @@
buildCounterTable--;
}
-buildUnnamed520() {
+buildUnnamed524() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed520(core.List<api.Table> o) {
+checkUnnamed524(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -824,7 +824,7 @@
var o = new api.TableList();
buildCounterTableList++;
if (buildCounterTableList < 3) {
- o.items = buildUnnamed520();
+ o.items = buildUnnamed524();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -835,7 +835,7 @@
checkTableList(api.TableList o) {
buildCounterTableList++;
if (buildCounterTableList < 3) {
- checkUnnamed520(o.items);
+ checkUnnamed524(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -869,14 +869,14 @@
buildCounterTask--;
}
-buildUnnamed521() {
+buildUnnamed525() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed521(core.List<api.Task> o) {
+checkUnnamed525(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -887,7 +887,7 @@
var o = new api.TaskList();
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- o.items = buildUnnamed521();
+ o.items = buildUnnamed525();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -899,7 +899,7 @@
checkTaskList(api.TaskList o) {
buildCounterTaskList++;
if (buildCounterTaskList < 3) {
- checkUnnamed521(o.items);
+ checkUnnamed525(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -907,14 +907,14 @@
buildCounterTaskList--;
}
-buildUnnamed522() {
+buildUnnamed526() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed522(core.List<core.String> o) {
+checkUnnamed526(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'));
@@ -925,7 +925,7 @@
var o = new api.Template();
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- o.automaticColumnNames = buildUnnamed522();
+ o.automaticColumnNames = buildUnnamed526();
o.body = "foo";
o.kind = "foo";
o.name = "foo";
@@ -939,7 +939,7 @@
checkTemplate(api.Template o) {
buildCounterTemplate++;
if (buildCounterTemplate < 3) {
- checkUnnamed522(o.automaticColumnNames);
+ checkUnnamed526(o.automaticColumnNames);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -949,14 +949,14 @@
buildCounterTemplate--;
}
-buildUnnamed523() {
+buildUnnamed527() {
var o = new core.List<api.Template>();
o.add(buildTemplate());
o.add(buildTemplate());
return o;
}
-checkUnnamed523(core.List<api.Template> o) {
+checkUnnamed527(core.List<api.Template> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplate(o[0]);
checkTemplate(o[1]);
@@ -967,7 +967,7 @@
var o = new api.TemplateList();
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- o.items = buildUnnamed523();
+ o.items = buildUnnamed527();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -979,7 +979,7 @@
checkTemplateList(api.TemplateList o) {
buildCounterTemplateList++;
if (buildCounterTemplateList < 3) {
- checkUnnamed523(o.items);
+ checkUnnamed527(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
diff --git a/generated/googleapis/test/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart
index 4ad0892..5ce011e 100644
--- a/generated/googleapis/test/games/v1_test.dart
+++ b/generated/googleapis/test/games/v1_test.dart
@@ -93,14 +93,14 @@
buildCounterAchievementDefinition--;
}
-buildUnnamed77() {
+buildUnnamed81() {
var o = new core.List<api.AchievementDefinition>();
o.add(buildAchievementDefinition());
o.add(buildAchievementDefinition());
return o;
}
-checkUnnamed77(core.List<api.AchievementDefinition> o) {
+checkUnnamed81(core.List<api.AchievementDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementDefinition(o[0]);
checkAchievementDefinition(o[1]);
@@ -111,7 +111,7 @@
var o = new api.AchievementDefinitionsListResponse();
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- o.items = buildUnnamed77();
+ o.items = buildUnnamed81();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -123,7 +123,7 @@
api.AchievementDefinitionsListResponse o) {
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- checkUnnamed77(o.items);
+ checkUnnamed81(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -219,14 +219,14 @@
buildCounterAchievementUnlockResponse--;
}
-buildUnnamed78() {
+buildUnnamed82() {
var o = new core.List<api.AchievementUpdateRequest>();
o.add(buildAchievementUpdateRequest());
o.add(buildAchievementUpdateRequest());
return o;
}
-checkUnnamed78(core.List<api.AchievementUpdateRequest> o) {
+checkUnnamed82(core.List<api.AchievementUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementUpdateRequest(o[0]);
checkAchievementUpdateRequest(o[1]);
@@ -238,7 +238,7 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
o.kind = "foo";
- o.updates = buildUnnamed78();
+ o.updates = buildUnnamed82();
}
buildCounterAchievementUpdateMultipleRequest--;
return o;
@@ -248,19 +248,19 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed78(o.updates);
+ checkUnnamed82(o.updates);
}
buildCounterAchievementUpdateMultipleRequest--;
}
-buildUnnamed79() {
+buildUnnamed83() {
var o = new core.List<api.AchievementUpdateResponse>();
o.add(buildAchievementUpdateResponse());
o.add(buildAchievementUpdateResponse());
return o;
}
-checkUnnamed79(core.List<api.AchievementUpdateResponse> o) {
+checkUnnamed83(core.List<api.AchievementUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementUpdateResponse(o[0]);
checkAchievementUpdateResponse(o[1]);
@@ -272,7 +272,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
o.kind = "foo";
- o.updatedAchievements = buildUnnamed79();
+ o.updatedAchievements = buildUnnamed83();
}
buildCounterAchievementUpdateMultipleResponse--;
return o;
@@ -283,7 +283,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed79(o.updatedAchievements);
+ checkUnnamed83(o.updatedAchievements);
}
buildCounterAchievementUpdateMultipleResponse--;
}
@@ -394,40 +394,40 @@
buildCounterAnonymousPlayer--;
}
-buildUnnamed80() {
+buildUnnamed84() {
var o = new core.List<api.ImageAsset>();
o.add(buildImageAsset());
o.add(buildImageAsset());
return o;
}
-checkUnnamed80(core.List<api.ImageAsset> o) {
+checkUnnamed84(core.List<api.ImageAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkImageAsset(o[0]);
checkImageAsset(o[1]);
}
-buildUnnamed81() {
+buildUnnamed85() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed81(core.List<core.String> o) {
+checkUnnamed85(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'));
}
-buildUnnamed82() {
+buildUnnamed86() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed82(core.List<api.Instance> o) {
+checkUnnamed86(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -439,13 +439,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
o.achievementCount = 42;
- o.assets = buildUnnamed80();
+ o.assets = buildUnnamed84();
o.author = "foo";
o.category = buildApplicationCategory();
o.description = "foo";
- o.enabledFeatures = buildUnnamed81();
+ o.enabledFeatures = buildUnnamed85();
o.id = "foo";
- o.instances = buildUnnamed82();
+ o.instances = buildUnnamed86();
o.kind = "foo";
o.lastUpdatedTimestamp = "foo";
o.leaderboardCount = 42;
@@ -460,13 +460,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
unittest.expect(o.achievementCount, unittest.equals(42));
- checkUnnamed80(o.assets);
+ checkUnnamed84(o.assets);
unittest.expect(o.author, unittest.equals('foo'));
checkApplicationCategory(o.category);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed81(o.enabledFeatures);
+ checkUnnamed85(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed82(o.instances);
+ checkUnnamed86(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo'));
unittest.expect(o.leaderboardCount, unittest.equals(42));
@@ -545,14 +545,14 @@
buildCounterCategory--;
}
-buildUnnamed83() {
+buildUnnamed87() {
var o = new core.List<api.Category>();
o.add(buildCategory());
o.add(buildCategory());
return o;
}
-checkUnnamed83(core.List<api.Category> o) {
+checkUnnamed87(core.List<api.Category> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategory(o[0]);
checkCategory(o[1]);
@@ -563,7 +563,7 @@
var o = new api.CategoryListResponse();
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- o.items = buildUnnamed83();
+ o.items = buildUnnamed87();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -574,7 +574,7 @@
checkCategoryListResponse(api.CategoryListResponse o) {
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- checkUnnamed83(o.items);
+ checkUnnamed87(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -625,14 +625,14 @@
buildCounterEventChild--;
}
-buildUnnamed84() {
+buildUnnamed88() {
var o = new core.List<api.EventChild>();
o.add(buildEventChild());
o.add(buildEventChild());
return o;
}
-checkUnnamed84(core.List<api.EventChild> o) {
+checkUnnamed88(core.List<api.EventChild> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventChild(o[0]);
checkEventChild(o[1]);
@@ -643,7 +643,7 @@
var o = new api.EventDefinition();
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- o.childEvents = buildUnnamed84();
+ o.childEvents = buildUnnamed88();
o.description = "foo";
o.displayName = "foo";
o.id = "foo";
@@ -659,7 +659,7 @@
checkEventDefinition(api.EventDefinition o) {
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- checkUnnamed84(o.childEvents);
+ checkUnnamed88(o.childEvents);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -671,14 +671,14 @@
buildCounterEventDefinition--;
}
-buildUnnamed85() {
+buildUnnamed89() {
var o = new core.List<api.EventDefinition>();
o.add(buildEventDefinition());
o.add(buildEventDefinition());
return o;
}
-checkUnnamed85(core.List<api.EventDefinition> o) {
+checkUnnamed89(core.List<api.EventDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventDefinition(o[0]);
checkEventDefinition(o[1]);
@@ -689,7 +689,7 @@
var o = new api.EventDefinitionListResponse();
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- o.items = buildUnnamed85();
+ o.items = buildUnnamed89();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -700,7 +700,7 @@
checkEventDefinitionListResponse(api.EventDefinitionListResponse o) {
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- checkUnnamed85(o.items);
+ checkUnnamed89(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -730,14 +730,14 @@
buildCounterEventPeriodRange--;
}
-buildUnnamed86() {
+buildUnnamed90() {
var o = new core.List<api.EventUpdateRequest>();
o.add(buildEventUpdateRequest());
o.add(buildEventUpdateRequest());
return o;
}
-checkUnnamed86(core.List<api.EventUpdateRequest> o) {
+checkUnnamed90(core.List<api.EventUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventUpdateRequest(o[0]);
checkEventUpdateRequest(o[1]);
@@ -750,7 +750,7 @@
if (buildCounterEventPeriodUpdate < 3) {
o.kind = "foo";
o.timePeriod = buildEventPeriodRange();
- o.updates = buildUnnamed86();
+ o.updates = buildUnnamed90();
}
buildCounterEventPeriodUpdate--;
return o;
@@ -761,7 +761,7 @@
if (buildCounterEventPeriodUpdate < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkEventPeriodRange(o.timePeriod);
- checkUnnamed86(o.updates);
+ checkUnnamed90(o.updates);
}
buildCounterEventPeriodUpdate--;
}
@@ -789,14 +789,14 @@
buildCounterEventRecordFailure--;
}
-buildUnnamed87() {
+buildUnnamed91() {
var o = new core.List<api.EventPeriodUpdate>();
o.add(buildEventPeriodUpdate());
o.add(buildEventPeriodUpdate());
return o;
}
-checkUnnamed87(core.List<api.EventPeriodUpdate> o) {
+checkUnnamed91(core.List<api.EventPeriodUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventPeriodUpdate(o[0]);
checkEventPeriodUpdate(o[1]);
@@ -810,7 +810,7 @@
o.currentTimeMillis = "foo";
o.kind = "foo";
o.requestId = "foo";
- o.timePeriods = buildUnnamed87();
+ o.timePeriods = buildUnnamed91();
}
buildCounterEventRecordRequest--;
return o;
@@ -822,7 +822,7 @@
unittest.expect(o.currentTimeMillis, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed87(o.timePeriods);
+ checkUnnamed91(o.timePeriods);
}
buildCounterEventRecordRequest--;
}
@@ -850,40 +850,40 @@
buildCounterEventUpdateRequest--;
}
-buildUnnamed88() {
+buildUnnamed92() {
var o = new core.List<api.EventBatchRecordFailure>();
o.add(buildEventBatchRecordFailure());
o.add(buildEventBatchRecordFailure());
return o;
}
-checkUnnamed88(core.List<api.EventBatchRecordFailure> o) {
+checkUnnamed92(core.List<api.EventBatchRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventBatchRecordFailure(o[0]);
checkEventBatchRecordFailure(o[1]);
}
-buildUnnamed89() {
+buildUnnamed93() {
var o = new core.List<api.EventRecordFailure>();
o.add(buildEventRecordFailure());
o.add(buildEventRecordFailure());
return o;
}
-checkUnnamed89(core.List<api.EventRecordFailure> o) {
+checkUnnamed93(core.List<api.EventRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventRecordFailure(o[0]);
checkEventRecordFailure(o[1]);
}
-buildUnnamed90() {
+buildUnnamed94() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed90(core.List<api.PlayerEvent> o) {
+checkUnnamed94(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -894,10 +894,10 @@
var o = new api.EventUpdateResponse();
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- o.batchFailures = buildUnnamed88();
- o.eventFailures = buildUnnamed89();
+ o.batchFailures = buildUnnamed92();
+ o.eventFailures = buildUnnamed93();
o.kind = "foo";
- o.playerEvents = buildUnnamed90();
+ o.playerEvents = buildUnnamed94();
}
buildCounterEventUpdateResponse--;
return o;
@@ -906,10 +906,10 @@
checkEventUpdateResponse(api.EventUpdateResponse o) {
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- checkUnnamed88(o.batchFailures);
- checkUnnamed89(o.eventFailures);
+ checkUnnamed92(o.batchFailures);
+ checkUnnamed93(o.eventFailures);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed90(o.playerEvents);
+ checkUnnamed94(o.playerEvents);
}
buildCounterEventUpdateResponse--;
}
@@ -1163,14 +1163,14 @@
buildCounterLeaderboardEntry--;
}
-buildUnnamed91() {
+buildUnnamed95() {
var o = new core.List<api.Leaderboard>();
o.add(buildLeaderboard());
o.add(buildLeaderboard());
return o;
}
-checkUnnamed91(core.List<api.Leaderboard> o) {
+checkUnnamed95(core.List<api.Leaderboard> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboard(o[0]);
checkLeaderboard(o[1]);
@@ -1181,7 +1181,7 @@
var o = new api.LeaderboardListResponse();
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- o.items = buildUnnamed91();
+ o.items = buildUnnamed95();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1192,7 +1192,7 @@
checkLeaderboardListResponse(api.LeaderboardListResponse o) {
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- checkUnnamed91(o.items);
+ checkUnnamed95(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1226,14 +1226,14 @@
buildCounterLeaderboardScoreRank--;
}
-buildUnnamed92() {
+buildUnnamed96() {
var o = new core.List<api.LeaderboardEntry>();
o.add(buildLeaderboardEntry());
o.add(buildLeaderboardEntry());
return o;
}
-checkUnnamed92(core.List<api.LeaderboardEntry> o) {
+checkUnnamed96(core.List<api.LeaderboardEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardEntry(o[0]);
checkLeaderboardEntry(o[1]);
@@ -1244,7 +1244,7 @@
var o = new api.LeaderboardScores();
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- o.items = buildUnnamed92();
+ o.items = buildUnnamed96();
o.kind = "foo";
o.nextPageToken = "foo";
o.numScores = "foo";
@@ -1258,7 +1258,7 @@
checkLeaderboardScores(api.LeaderboardScores o) {
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- checkUnnamed92(o.items);
+ checkUnnamed96(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.numScores, unittest.equals('foo'));
@@ -1268,14 +1268,14 @@
buildCounterLeaderboardScores--;
}
-buildUnnamed93() {
+buildUnnamed97() {
var o = new core.List<api.PlayerLevel>();
o.add(buildPlayerLevel());
o.add(buildPlayerLevel());
return o;
}
-checkUnnamed93(core.List<api.PlayerLevel> o) {
+checkUnnamed97(core.List<api.PlayerLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLevel(o[0]);
checkPlayerLevel(o[1]);
@@ -1288,7 +1288,7 @@
if (buildCounterMetagameConfig < 3) {
o.currentVersion = 42;
o.kind = "foo";
- o.playerLevels = buildUnnamed93();
+ o.playerLevels = buildUnnamed97();
}
buildCounterMetagameConfig--;
return o;
@@ -1299,7 +1299,7 @@
if (buildCounterMetagameConfig < 3) {
unittest.expect(o.currentVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed93(o.playerLevels);
+ checkUnnamed97(o.playerLevels);
}
buildCounterMetagameConfig--;
}
@@ -1536,14 +1536,14 @@
buildCounterPlayerAchievement--;
}
-buildUnnamed94() {
+buildUnnamed98() {
var o = new core.List<api.PlayerAchievement>();
o.add(buildPlayerAchievement());
o.add(buildPlayerAchievement());
return o;
}
-checkUnnamed94(core.List<api.PlayerAchievement> o) {
+checkUnnamed98(core.List<api.PlayerAchievement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerAchievement(o[0]);
checkPlayerAchievement(o[1]);
@@ -1554,7 +1554,7 @@
var o = new api.PlayerAchievementListResponse();
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- o.items = buildUnnamed94();
+ o.items = buildUnnamed98();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1565,7 +1565,7 @@
checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) {
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- checkUnnamed94(o.items);
+ checkUnnamed98(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1599,14 +1599,14 @@
buildCounterPlayerEvent--;
}
-buildUnnamed95() {
+buildUnnamed99() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed95(core.List<api.PlayerEvent> o) {
+checkUnnamed99(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -1617,7 +1617,7 @@
var o = new api.PlayerEventListResponse();
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- o.items = buildUnnamed95();
+ o.items = buildUnnamed99();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1628,7 +1628,7 @@
checkPlayerEventListResponse(api.PlayerEventListResponse o) {
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- checkUnnamed95(o.items);
+ checkUnnamed99(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1697,14 +1697,14 @@
buildCounterPlayerLeaderboardScore--;
}
-buildUnnamed96() {
+buildUnnamed100() {
var o = new core.List<api.PlayerLeaderboardScore>();
o.add(buildPlayerLeaderboardScore());
o.add(buildPlayerLeaderboardScore());
return o;
}
-checkUnnamed96(core.List<api.PlayerLeaderboardScore> o) {
+checkUnnamed100(core.List<api.PlayerLeaderboardScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLeaderboardScore(o[0]);
checkPlayerLeaderboardScore(o[1]);
@@ -1715,7 +1715,7 @@
var o = new api.PlayerLeaderboardScoreListResponse();
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- o.items = buildUnnamed96();
+ o.items = buildUnnamed100();
o.kind = "foo";
o.nextPageToken = "foo";
o.player = buildPlayer();
@@ -1728,7 +1728,7 @@
api.PlayerLeaderboardScoreListResponse o) {
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- checkUnnamed96(o.items);
+ checkUnnamed100(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPlayer(o.player);
@@ -1761,14 +1761,14 @@
buildCounterPlayerLevel--;
}
-buildUnnamed97() {
+buildUnnamed101() {
var o = new core.List<api.Player>();
o.add(buildPlayer());
o.add(buildPlayer());
return o;
}
-checkUnnamed97(core.List<api.Player> o) {
+checkUnnamed101(core.List<api.Player> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayer(o[0]);
checkPlayer(o[1]);
@@ -1779,7 +1779,7 @@
var o = new api.PlayerListResponse();
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- o.items = buildUnnamed97();
+ o.items = buildUnnamed101();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1790,7 +1790,7 @@
checkPlayerListResponse(api.PlayerListResponse o) {
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- checkUnnamed97(o.items);
+ checkUnnamed101(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1824,14 +1824,14 @@
buildCounterPlayerScore--;
}
-buildUnnamed98() {
+buildUnnamed102() {
var o = new core.List<api.PlayerScoreResponse>();
o.add(buildPlayerScoreResponse());
o.add(buildPlayerScoreResponse());
return o;
}
-checkUnnamed98(core.List<api.PlayerScoreResponse> o) {
+checkUnnamed102(core.List<api.PlayerScoreResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResponse(o[0]);
checkPlayerScoreResponse(o[1]);
@@ -1843,7 +1843,7 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
o.kind = "foo";
- o.submittedScores = buildUnnamed98();
+ o.submittedScores = buildUnnamed102();
}
buildCounterPlayerScoreListResponse--;
return o;
@@ -1853,32 +1853,32 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed98(o.submittedScores);
+ checkUnnamed102(o.submittedScores);
}
buildCounterPlayerScoreListResponse--;
}
-buildUnnamed99() {
+buildUnnamed103() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed99(core.List<core.String> o) {
+checkUnnamed103(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'));
}
-buildUnnamed100() {
+buildUnnamed104() {
var o = new core.List<api.PlayerScore>();
o.add(buildPlayerScore());
o.add(buildPlayerScore());
return o;
}
-checkUnnamed100(core.List<api.PlayerScore> o) {
+checkUnnamed104(core.List<api.PlayerScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScore(o[0]);
checkPlayerScore(o[1]);
@@ -1889,12 +1889,12 @@
var o = new api.PlayerScoreResponse();
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- o.beatenScoreTimeSpans = buildUnnamed99();
+ o.beatenScoreTimeSpans = buildUnnamed103();
o.formattedScore = "foo";
o.kind = "foo";
o.leaderboardId = "foo";
o.scoreTag = "foo";
- o.unbeatenScores = buildUnnamed100();
+ o.unbeatenScores = buildUnnamed104();
}
buildCounterPlayerScoreResponse--;
return o;
@@ -1903,24 +1903,24 @@
checkPlayerScoreResponse(api.PlayerScoreResponse o) {
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- checkUnnamed99(o.beatenScoreTimeSpans);
+ checkUnnamed103(o.beatenScoreTimeSpans);
unittest.expect(o.formattedScore, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.leaderboardId, unittest.equals('foo'));
unittest.expect(o.scoreTag, unittest.equals('foo'));
- checkUnnamed100(o.unbeatenScores);
+ checkUnnamed104(o.unbeatenScores);
}
buildCounterPlayerScoreResponse--;
}
-buildUnnamed101() {
+buildUnnamed105() {
var o = new core.List<api.ScoreSubmission>();
o.add(buildScoreSubmission());
o.add(buildScoreSubmission());
return o;
}
-checkUnnamed101(core.List<api.ScoreSubmission> o) {
+checkUnnamed105(core.List<api.ScoreSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkScoreSubmission(o[0]);
checkScoreSubmission(o[1]);
@@ -1932,7 +1932,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
o.kind = "foo";
- o.scores = buildUnnamed101();
+ o.scores = buildUnnamed105();
}
buildCounterPlayerScoreSubmissionList--;
return o;
@@ -1942,7 +1942,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed101(o.scores);
+ checkUnnamed105(o.scores);
}
buildCounterPlayerScoreSubmissionList--;
}
@@ -2035,14 +2035,14 @@
buildCounterPushTokenId--;
}
-buildUnnamed102() {
+buildUnnamed106() {
var o = new core.List<api.QuestMilestone>();
o.add(buildQuestMilestone());
o.add(buildQuestMilestone());
return o;
}
-checkUnnamed102(core.List<api.QuestMilestone> o) {
+checkUnnamed106(core.List<api.QuestMilestone> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuestMilestone(o[0]);
checkQuestMilestone(o[1]);
@@ -2064,7 +2064,7 @@
o.isDefaultIconUrl = true;
o.kind = "foo";
o.lastUpdatedTimestampMillis = "foo";
- o.milestones = buildUnnamed102();
+ o.milestones = buildUnnamed106();
o.name = "foo";
o.notifyTimestampMillis = "foo";
o.startTimestampMillis = "foo";
@@ -2088,7 +2088,7 @@
unittest.expect(o.isDefaultIconUrl, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo'));
- checkUnnamed102(o.milestones);
+ checkUnnamed106(o.milestones);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notifyTimestampMillis, unittest.equals('foo'));
unittest.expect(o.startTimestampMillis, unittest.equals('foo'));
@@ -2147,14 +2147,14 @@
buildCounterQuestCriterion--;
}
-buildUnnamed103() {
+buildUnnamed107() {
var o = new core.List<api.Quest>();
o.add(buildQuest());
o.add(buildQuest());
return o;
}
-checkUnnamed103(core.List<api.Quest> o) {
+checkUnnamed107(core.List<api.Quest> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuest(o[0]);
checkQuest(o[1]);
@@ -2165,7 +2165,7 @@
var o = new api.QuestListResponse();
buildCounterQuestListResponse++;
if (buildCounterQuestListResponse < 3) {
- o.items = buildUnnamed103();
+ o.items = buildUnnamed107();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2176,21 +2176,21 @@
checkQuestListResponse(api.QuestListResponse o) {
buildCounterQuestListResponse++;
if (buildCounterQuestListResponse < 3) {
- checkUnnamed103(o.items);
+ checkUnnamed107(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterQuestListResponse--;
}
-buildUnnamed104() {
+buildUnnamed108() {
var o = new core.List<api.QuestCriterion>();
o.add(buildQuestCriterion());
o.add(buildQuestCriterion());
return o;
}
-checkUnnamed104(core.List<api.QuestCriterion> o) {
+checkUnnamed108(core.List<api.QuestCriterion> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuestCriterion(o[0]);
checkQuestCriterion(o[1]);
@@ -2202,7 +2202,7 @@
buildCounterQuestMilestone++;
if (buildCounterQuestMilestone < 3) {
o.completionRewardData = "foo";
- o.criteria = buildUnnamed104();
+ o.criteria = buildUnnamed108();
o.id = "foo";
o.kind = "foo";
o.state = "foo";
@@ -2215,7 +2215,7 @@
buildCounterQuestMilestone++;
if (buildCounterQuestMilestone < 3) {
unittest.expect(o.completionRewardData, unittest.equals('foo'));
- checkUnnamed104(o.criteria);
+ checkUnnamed108(o.criteria);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -2246,14 +2246,14 @@
buildCounterRevisionCheckResponse--;
}
-buildUnnamed105() {
+buildUnnamed109() {
var o = new core.List<api.RoomParticipant>();
o.add(buildRoomParticipant());
o.add(buildRoomParticipant());
return o;
}
-checkUnnamed105(core.List<api.RoomParticipant> o) {
+checkUnnamed109(core.List<api.RoomParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomParticipant(o[0]);
checkRoomParticipant(o[1]);
@@ -2272,7 +2272,7 @@
o.inviterId = "foo";
o.kind = "foo";
o.lastUpdateDetails = buildRoomModification();
- o.participants = buildUnnamed105();
+ o.participants = buildUnnamed109();
o.roomId = "foo";
o.roomStatusVersion = 42;
o.status = "foo";
@@ -2293,7 +2293,7 @@
unittest.expect(o.inviterId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRoomModification(o.lastUpdateDetails);
- checkUnnamed105(o.participants);
+ checkUnnamed109(o.participants);
unittest.expect(o.roomId, unittest.equals('foo'));
unittest.expect(o.roomStatusVersion, unittest.equals(42));
unittest.expect(o.status, unittest.equals('foo'));
@@ -2369,27 +2369,27 @@
buildCounterRoomClientAddress--;
}
-buildUnnamed106() {
+buildUnnamed110() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed106(core.List<core.String> o) {
+checkUnnamed110(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'));
}
-buildUnnamed107() {
+buildUnnamed111() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed107(core.List<core.String> o) {
+checkUnnamed111(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'));
@@ -2401,9 +2401,9 @@
buildCounterRoomCreateRequest++;
if (buildCounterRoomCreateRequest < 3) {
o.autoMatchingCriteria = buildRoomAutoMatchingCriteria();
- o.capabilities = buildUnnamed106();
+ o.capabilities = buildUnnamed110();
o.clientAddress = buildRoomClientAddress();
- o.invitedPlayerIds = buildUnnamed107();
+ o.invitedPlayerIds = buildUnnamed111();
o.kind = "foo";
o.networkDiagnostics = buildNetworkDiagnostics();
o.requestId = "foo";
@@ -2417,9 +2417,9 @@
buildCounterRoomCreateRequest++;
if (buildCounterRoomCreateRequest < 3) {
checkRoomAutoMatchingCriteria(o.autoMatchingCriteria);
- checkUnnamed106(o.capabilities);
+ checkUnnamed110(o.capabilities);
checkRoomClientAddress(o.clientAddress);
- checkUnnamed107(o.invitedPlayerIds);
+ checkUnnamed111(o.invitedPlayerIds);
unittest.expect(o.kind, unittest.equals('foo'));
checkNetworkDiagnostics(o.networkDiagnostics);
unittest.expect(o.requestId, unittest.equals('foo'));
@@ -2428,14 +2428,14 @@
buildCounterRoomCreateRequest--;
}
-buildUnnamed108() {
+buildUnnamed112() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed108(core.List<core.String> o) {
+checkUnnamed112(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'));
@@ -2446,7 +2446,7 @@
var o = new api.RoomJoinRequest();
buildCounterRoomJoinRequest++;
if (buildCounterRoomJoinRequest < 3) {
- o.capabilities = buildUnnamed108();
+ o.capabilities = buildUnnamed112();
o.clientAddress = buildRoomClientAddress();
o.kind = "foo";
o.networkDiagnostics = buildNetworkDiagnostics();
@@ -2458,7 +2458,7 @@
checkRoomJoinRequest(api.RoomJoinRequest o) {
buildCounterRoomJoinRequest++;
if (buildCounterRoomJoinRequest < 3) {
- checkUnnamed108(o.capabilities);
+ checkUnnamed112(o.capabilities);
checkRoomClientAddress(o.clientAddress);
unittest.expect(o.kind, unittest.equals('foo'));
checkNetworkDiagnostics(o.networkDiagnostics);
@@ -2466,14 +2466,14 @@
buildCounterRoomJoinRequest--;
}
-buildUnnamed109() {
+buildUnnamed113() {
var o = new core.List<api.PeerSessionDiagnostics>();
o.add(buildPeerSessionDiagnostics());
o.add(buildPeerSessionDiagnostics());
return o;
}
-checkUnnamed109(core.List<api.PeerSessionDiagnostics> o) {
+checkUnnamed113(core.List<api.PeerSessionDiagnostics> o) {
unittest.expect(o, unittest.hasLength(2));
checkPeerSessionDiagnostics(o[0]);
checkPeerSessionDiagnostics(o[1]);
@@ -2490,7 +2490,7 @@
o.kind = "foo";
o.networkOperatorCode = "foo";
o.networkOperatorName = "foo";
- o.peerSession = buildUnnamed109();
+ o.peerSession = buildUnnamed113();
o.socketsUsed = true;
}
buildCounterRoomLeaveDiagnostics--;
@@ -2506,7 +2506,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.networkOperatorCode, unittest.equals('foo'));
unittest.expect(o.networkOperatorName, unittest.equals('foo'));
- checkUnnamed109(o.peerSession);
+ checkUnnamed113(o.peerSession);
unittest.expect(o.socketsUsed, unittest.isTrue);
}
buildCounterRoomLeaveDiagnostics--;
@@ -2535,14 +2535,14 @@
buildCounterRoomLeaveRequest--;
}
-buildUnnamed110() {
+buildUnnamed114() {
var o = new core.List<api.Room>();
o.add(buildRoom());
o.add(buildRoom());
return o;
}
-checkUnnamed110(core.List<api.Room> o) {
+checkUnnamed114(core.List<api.Room> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoom(o[0]);
checkRoom(o[1]);
@@ -2553,7 +2553,7 @@
var o = new api.RoomList();
buildCounterRoomList++;
if (buildCounterRoomList < 3) {
- o.items = buildUnnamed110();
+ o.items = buildUnnamed114();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2564,7 +2564,7 @@
checkRoomList(api.RoomList o) {
buildCounterRoomList++;
if (buildCounterRoomList < 3) {
- checkUnnamed110(o.items);
+ checkUnnamed114(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2625,14 +2625,14 @@
buildCounterRoomP2PStatus--;
}
-buildUnnamed111() {
+buildUnnamed115() {
var o = new core.List<api.RoomP2PStatus>();
o.add(buildRoomP2PStatus());
o.add(buildRoomP2PStatus());
return o;
}
-checkUnnamed111(core.List<api.RoomP2PStatus> o) {
+checkUnnamed115(core.List<api.RoomP2PStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomP2PStatus(o[0]);
checkRoomP2PStatus(o[1]);
@@ -2644,7 +2644,7 @@
buildCounterRoomP2PStatuses++;
if (buildCounterRoomP2PStatuses < 3) {
o.kind = "foo";
- o.updates = buildUnnamed111();
+ o.updates = buildUnnamed115();
}
buildCounterRoomP2PStatuses--;
return o;
@@ -2654,19 +2654,19 @@
buildCounterRoomP2PStatuses++;
if (buildCounterRoomP2PStatuses < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed111(o.updates);
+ checkUnnamed115(o.updates);
}
buildCounterRoomP2PStatuses--;
}
-buildUnnamed112() {
+buildUnnamed116() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed112(core.List<core.String> o) {
+checkUnnamed116(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'));
@@ -2679,7 +2679,7 @@
if (buildCounterRoomParticipant < 3) {
o.autoMatched = true;
o.autoMatchedPlayer = buildAnonymousPlayer();
- o.capabilities = buildUnnamed112();
+ o.capabilities = buildUnnamed116();
o.clientAddress = buildRoomClientAddress();
o.connected = true;
o.id = "foo";
@@ -2697,7 +2697,7 @@
if (buildCounterRoomParticipant < 3) {
unittest.expect(o.autoMatched, unittest.isTrue);
checkAnonymousPlayer(o.autoMatchedPlayer);
- checkUnnamed112(o.capabilities);
+ checkUnnamed116(o.capabilities);
checkRoomClientAddress(o.clientAddress);
unittest.expect(o.connected, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
@@ -2709,14 +2709,14 @@
buildCounterRoomParticipant--;
}
-buildUnnamed113() {
+buildUnnamed117() {
var o = new core.List<api.RoomParticipant>();
o.add(buildRoomParticipant());
o.add(buildRoomParticipant());
return o;
}
-checkUnnamed113(core.List<api.RoomParticipant> o) {
+checkUnnamed117(core.List<api.RoomParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoomParticipant(o[0]);
checkRoomParticipant(o[1]);
@@ -2729,7 +2729,7 @@
if (buildCounterRoomStatus < 3) {
o.autoMatchingStatus = buildRoomAutoMatchStatus();
o.kind = "foo";
- o.participants = buildUnnamed113();
+ o.participants = buildUnnamed117();
o.roomId = "foo";
o.status = "foo";
o.statusVersion = 42;
@@ -2743,7 +2743,7 @@
if (buildCounterRoomStatus < 3) {
checkRoomAutoMatchStatus(o.autoMatchingStatus);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed113(o.participants);
+ checkUnnamed117(o.participants);
unittest.expect(o.roomId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusVersion, unittest.equals(42));
@@ -2844,14 +2844,14 @@
buildCounterSnapshotImage--;
}
-buildUnnamed114() {
+buildUnnamed118() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed114(core.List<api.Snapshot> o) {
+checkUnnamed118(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -2862,7 +2862,7 @@
var o = new api.SnapshotListResponse();
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- o.items = buildUnnamed114();
+ o.items = buildUnnamed118();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2873,7 +2873,7 @@
checkSnapshotListResponse(api.SnapshotListResponse o) {
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- checkUnnamed114(o.items);
+ checkUnnamed118(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2905,27 +2905,27 @@
buildCounterTurnBasedAutoMatchingCriteria--;
}
-buildUnnamed115() {
+buildUnnamed119() {
var o = new core.List<api.TurnBasedMatchParticipant>();
o.add(buildTurnBasedMatchParticipant());
o.add(buildTurnBasedMatchParticipant());
return o;
}
-checkUnnamed115(core.List<api.TurnBasedMatchParticipant> o) {
+checkUnnamed119(core.List<api.TurnBasedMatchParticipant> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatchParticipant(o[0]);
checkTurnBasedMatchParticipant(o[1]);
}
-buildUnnamed116() {
+buildUnnamed120() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed116(core.List<api.ParticipantResult> o) {
+checkUnnamed120(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -2947,11 +2947,11 @@
o.matchId = "foo";
o.matchNumber = 42;
o.matchVersion = 42;
- o.participants = buildUnnamed115();
+ o.participants = buildUnnamed119();
o.pendingParticipantId = "foo";
o.previousMatchData = buildTurnBasedMatchData();
o.rematchId = "foo";
- o.results = buildUnnamed116();
+ o.results = buildUnnamed120();
o.status = "foo";
o.userMatchStatus = "foo";
o.variant = 42;
@@ -2975,11 +2975,11 @@
unittest.expect(o.matchId, unittest.equals('foo'));
unittest.expect(o.matchNumber, unittest.equals(42));
unittest.expect(o.matchVersion, unittest.equals(42));
- checkUnnamed115(o.participants);
+ checkUnnamed119(o.participants);
unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
checkTurnBasedMatchData(o.previousMatchData);
unittest.expect(o.rematchId, unittest.equals('foo'));
- checkUnnamed116(o.results);
+ checkUnnamed120(o.results);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.userMatchStatus, unittest.equals('foo'));
unittest.expect(o.variant, unittest.equals(42));
@@ -2988,14 +2988,14 @@
buildCounterTurnBasedMatch--;
}
-buildUnnamed117() {
+buildUnnamed121() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed117(core.List<core.String> o) {
+checkUnnamed121(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'));
@@ -3007,7 +3007,7 @@
buildCounterTurnBasedMatchCreateRequest++;
if (buildCounterTurnBasedMatchCreateRequest < 3) {
o.autoMatchingCriteria = buildTurnBasedAutoMatchingCriteria();
- o.invitedPlayerIds = buildUnnamed117();
+ o.invitedPlayerIds = buildUnnamed121();
o.kind = "foo";
o.requestId = "foo";
o.variant = 42;
@@ -3020,7 +3020,7 @@
buildCounterTurnBasedMatchCreateRequest++;
if (buildCounterTurnBasedMatchCreateRequest < 3) {
checkTurnBasedAutoMatchingCriteria(o.autoMatchingCriteria);
- checkUnnamed117(o.invitedPlayerIds);
+ checkUnnamed121(o.invitedPlayerIds);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.variant, unittest.equals(42));
@@ -3072,14 +3072,14 @@
buildCounterTurnBasedMatchDataRequest--;
}
-buildUnnamed118() {
+buildUnnamed122() {
var o = new core.List<api.TurnBasedMatch>();
o.add(buildTurnBasedMatch());
o.add(buildTurnBasedMatch());
return o;
}
-checkUnnamed118(core.List<api.TurnBasedMatch> o) {
+checkUnnamed122(core.List<api.TurnBasedMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatch(o[0]);
checkTurnBasedMatch(o[1]);
@@ -3090,7 +3090,7 @@
var o = new api.TurnBasedMatchList();
buildCounterTurnBasedMatchList++;
if (buildCounterTurnBasedMatchList < 3) {
- o.items = buildUnnamed118();
+ o.items = buildUnnamed122();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3101,7 +3101,7 @@
checkTurnBasedMatchList(api.TurnBasedMatchList o) {
buildCounterTurnBasedMatchList++;
if (buildCounterTurnBasedMatchList < 3) {
- checkUnnamed118(o.items);
+ checkUnnamed122(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3183,14 +3183,14 @@
buildCounterTurnBasedMatchRematch--;
}
-buildUnnamed119() {
+buildUnnamed123() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed119(core.List<api.ParticipantResult> o) {
+checkUnnamed123(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -3204,7 +3204,7 @@
o.data = buildTurnBasedMatchDataRequest();
o.kind = "foo";
o.matchVersion = 42;
- o.results = buildUnnamed119();
+ o.results = buildUnnamed123();
}
buildCounterTurnBasedMatchResults--;
return o;
@@ -3216,19 +3216,19 @@
checkTurnBasedMatchDataRequest(o.data);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchVersion, unittest.equals(42));
- checkUnnamed119(o.results);
+ checkUnnamed123(o.results);
}
buildCounterTurnBasedMatchResults--;
}
-buildUnnamed120() {
+buildUnnamed124() {
var o = new core.List<api.TurnBasedMatch>();
o.add(buildTurnBasedMatch());
o.add(buildTurnBasedMatch());
return o;
}
-checkUnnamed120(core.List<api.TurnBasedMatch> o) {
+checkUnnamed124(core.List<api.TurnBasedMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkTurnBasedMatch(o[0]);
checkTurnBasedMatch(o[1]);
@@ -3239,7 +3239,7 @@
var o = new api.TurnBasedMatchSync();
buildCounterTurnBasedMatchSync++;
if (buildCounterTurnBasedMatchSync < 3) {
- o.items = buildUnnamed120();
+ o.items = buildUnnamed124();
o.kind = "foo";
o.moreAvailable = true;
o.nextPageToken = "foo";
@@ -3251,7 +3251,7 @@
checkTurnBasedMatchSync(api.TurnBasedMatchSync o) {
buildCounterTurnBasedMatchSync++;
if (buildCounterTurnBasedMatchSync < 3) {
- checkUnnamed120(o.items);
+ checkUnnamed124(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.moreAvailable, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -3259,14 +3259,14 @@
buildCounterTurnBasedMatchSync--;
}
-buildUnnamed121() {
+buildUnnamed125() {
var o = new core.List<api.ParticipantResult>();
o.add(buildParticipantResult());
o.add(buildParticipantResult());
return o;
}
-checkUnnamed121(core.List<api.ParticipantResult> o) {
+checkUnnamed125(core.List<api.ParticipantResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkParticipantResult(o[0]);
checkParticipantResult(o[1]);
@@ -3281,7 +3281,7 @@
o.kind = "foo";
o.matchVersion = 42;
o.pendingParticipantId = "foo";
- o.results = buildUnnamed121();
+ o.results = buildUnnamed125();
}
buildCounterTurnBasedMatchTurn--;
return o;
@@ -3294,7 +3294,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchVersion, unittest.equals(42));
unittest.expect(o.pendingParticipantId, unittest.equals('foo'));
- checkUnnamed121(o.results);
+ checkUnnamed125(o.results);
}
buildCounterTurnBasedMatchTurn--;
}
diff --git a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
index d6d1cdf..5ba5139 100644
--- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
+++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
@@ -112,14 +112,14 @@
buildCounterAchievementConfigurationDetail--;
}
-buildUnnamed777() {
+buildUnnamed783() {
var o = new core.List<api.AchievementConfiguration>();
o.add(buildAchievementConfiguration());
o.add(buildAchievementConfiguration());
return o;
}
-checkUnnamed777(core.List<api.AchievementConfiguration> o) {
+checkUnnamed783(core.List<api.AchievementConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementConfiguration(o[0]);
checkAchievementConfiguration(o[1]);
@@ -130,7 +130,7 @@
var o = new api.AchievementConfigurationListResponse();
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- o.items = buildUnnamed777();
+ o.items = buildUnnamed783();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -142,7 +142,7 @@
api.AchievementConfigurationListResponse o) {
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- checkUnnamed777(o.items);
+ checkUnnamed783(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -288,14 +288,14 @@
buildCounterLeaderboardConfigurationDetail--;
}
-buildUnnamed778() {
+buildUnnamed784() {
var o = new core.List<api.LeaderboardConfiguration>();
o.add(buildLeaderboardConfiguration());
o.add(buildLeaderboardConfiguration());
return o;
}
-checkUnnamed778(core.List<api.LeaderboardConfiguration> o) {
+checkUnnamed784(core.List<api.LeaderboardConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardConfiguration(o[0]);
checkLeaderboardConfiguration(o[1]);
@@ -306,7 +306,7 @@
var o = new api.LeaderboardConfigurationListResponse();
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- o.items = buildUnnamed778();
+ o.items = buildUnnamed784();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -318,7 +318,7 @@
api.LeaderboardConfigurationListResponse o) {
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- checkUnnamed778(o.items);
+ checkUnnamed784(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -348,14 +348,14 @@
buildCounterLocalizedString--;
}
-buildUnnamed779() {
+buildUnnamed785() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed779(core.List<api.LocalizedString> o) {
+checkUnnamed785(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -367,7 +367,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
o.kind = "foo";
- o.translations = buildUnnamed779();
+ o.translations = buildUnnamed785();
}
buildCounterLocalizedStringBundle--;
return o;
@@ -377,7 +377,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed779(o.translations);
+ checkUnnamed785(o.translations);
}
buildCounterLocalizedStringBundle--;
}
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart
index 8d1e7fc..6ecf5e7 100644
--- a/generated/googleapis/test/gamesmanagement/v1management_test.dart
+++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed769() {
+buildUnnamed775() {
var o = new core.List<api.AchievementResetResponse>();
o.add(buildAchievementResetResponse());
o.add(buildAchievementResetResponse());
return o;
}
-checkUnnamed769(core.List<api.AchievementResetResponse> o) {
+checkUnnamed775(core.List<api.AchievementResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementResetResponse(o[0]);
checkAchievementResetResponse(o[1]);
@@ -69,7 +69,7 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed769();
+ o.results = buildUnnamed775();
}
buildCounterAchievementResetAllResponse--;
return o;
@@ -79,19 +79,19 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed769(o.results);
+ checkUnnamed775(o.results);
}
buildCounterAchievementResetAllResponse--;
}
-buildUnnamed770() {
+buildUnnamed776() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed770(core.List<core.String> o) {
+checkUnnamed776(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'));
@@ -102,7 +102,7 @@
var o = new api.AchievementResetMultipleForAllRequest();
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- o.achievementIds = buildUnnamed770();
+ o.achievementIds = buildUnnamed776();
o.kind = "foo";
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -113,7 +113,7 @@
api.AchievementResetMultipleForAllRequest o) {
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- checkUnnamed770(o.achievementIds);
+ checkUnnamed776(o.achievementIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -144,14 +144,14 @@
buildCounterAchievementResetResponse--;
}
-buildUnnamed771() {
+buildUnnamed777() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed771(core.List<core.String> o) {
+checkUnnamed777(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'));
@@ -162,7 +162,7 @@
var o = new api.EventsResetMultipleForAllRequest();
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- o.eventIds = buildUnnamed771();
+ o.eventIds = buildUnnamed777();
o.kind = "foo";
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -172,7 +172,7 @@
checkEventsResetMultipleForAllRequest(api.EventsResetMultipleForAllRequest o) {
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- checkUnnamed771(o.eventIds);
+ checkUnnamed777(o.eventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -271,14 +271,14 @@
buildCounterHiddenPlayer--;
}
-buildUnnamed772() {
+buildUnnamed778() {
var o = new core.List<api.HiddenPlayer>();
o.add(buildHiddenPlayer());
o.add(buildHiddenPlayer());
return o;
}
-checkUnnamed772(core.List<api.HiddenPlayer> o) {
+checkUnnamed778(core.List<api.HiddenPlayer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHiddenPlayer(o[0]);
checkHiddenPlayer(o[1]);
@@ -289,7 +289,7 @@
var o = new api.HiddenPlayerList();
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- o.items = buildUnnamed772();
+ o.items = buildUnnamed778();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -300,7 +300,7 @@
checkHiddenPlayerList(api.HiddenPlayerList o) {
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- checkUnnamed772(o.items);
+ checkUnnamed778(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -369,14 +369,14 @@
buildCounterPlayer--;
}
-buildUnnamed773() {
+buildUnnamed779() {
var o = new core.List<api.PlayerScoreResetResponse>();
o.add(buildPlayerScoreResetResponse());
o.add(buildPlayerScoreResetResponse());
return o;
}
-checkUnnamed773(core.List<api.PlayerScoreResetResponse> o) {
+checkUnnamed779(core.List<api.PlayerScoreResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResetResponse(o[0]);
checkPlayerScoreResetResponse(o[1]);
@@ -388,7 +388,7 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed773();
+ o.results = buildUnnamed779();
}
buildCounterPlayerScoreResetAllResponse--;
return o;
@@ -398,19 +398,19 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed773(o.results);
+ checkUnnamed779(o.results);
}
buildCounterPlayerScoreResetAllResponse--;
}
-buildUnnamed774() {
+buildUnnamed780() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed774(core.List<core.String> o) {
+checkUnnamed780(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'));
@@ -423,7 +423,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
o.definitionId = "foo";
o.kind = "foo";
- o.resetScoreTimeSpans = buildUnnamed774();
+ o.resetScoreTimeSpans = buildUnnamed780();
}
buildCounterPlayerScoreResetResponse--;
return o;
@@ -434,7 +434,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
unittest.expect(o.definitionId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed774(o.resetScoreTimeSpans);
+ checkUnnamed780(o.resetScoreTimeSpans);
}
buildCounterPlayerScoreResetResponse--;
}
@@ -460,14 +460,14 @@
buildCounterProfileSettings--;
}
-buildUnnamed775() {
+buildUnnamed781() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed775(core.List<core.String> o) {
+checkUnnamed781(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'));
@@ -479,7 +479,7 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.questIds = buildUnnamed775();
+ o.questIds = buildUnnamed781();
}
buildCounterQuestsResetMultipleForAllRequest--;
return o;
@@ -489,19 +489,19 @@
buildCounterQuestsResetMultipleForAllRequest++;
if (buildCounterQuestsResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed775(o.questIds);
+ checkUnnamed781(o.questIds);
}
buildCounterQuestsResetMultipleForAllRequest--;
}
-buildUnnamed776() {
+buildUnnamed782() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed776(core.List<core.String> o) {
+checkUnnamed782(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'));
@@ -513,7 +513,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.leaderboardIds = buildUnnamed776();
+ o.leaderboardIds = buildUnnamed782();
}
buildCounterScoresResetMultipleForAllRequest--;
return o;
@@ -523,7 +523,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed776(o.leaderboardIds);
+ checkUnnamed782(o.leaderboardIds);
}
buildCounterScoresResetMultipleForAllRequest--;
}
diff --git a/generated/googleapis/test/genomics/v1_test.dart b/generated/googleapis/test/genomics/v1_test.dart
index bed3f94..d85e4ce 100644
--- a/generated/googleapis/test/genomics/v1_test.dart
+++ b/generated/googleapis/test/genomics/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2677() {
+buildUnnamed2962() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed2677(core.List<core.Object> o) {
+checkUnnamed2962(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -79,17 +79,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2678() {
+buildUnnamed2963() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2677();
- o["y"] = buildUnnamed2677();
+ o["x"] = buildUnnamed2962();
+ o["y"] = buildUnnamed2962();
return o;
}
-checkUnnamed2678(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2963(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2677(o["x"]);
- checkUnnamed2677(o["y"]);
+ checkUnnamed2962(o["x"]);
+ checkUnnamed2962(o["y"]);
}
core.int buildCounterAnnotation = 0;
@@ -100,7 +100,7 @@
o.annotationSetId = "foo";
o.end = "foo";
o.id = "foo";
- o.info = buildUnnamed2678();
+ o.info = buildUnnamed2963();
o.name = "foo";
o.referenceId = "foo";
o.referenceName = "foo";
@@ -120,7 +120,7 @@
unittest.expect(o.annotationSetId, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2678(o.info);
+ checkUnnamed2963(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceId, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -133,7 +133,7 @@
buildCounterAnnotation--;
}
-buildUnnamed2679() {
+buildUnnamed2964() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -148,7 +148,7 @@
return o;
}
-checkUnnamed2679(core.List<core.Object> o) {
+checkUnnamed2964(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -162,17 +162,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2680() {
+buildUnnamed2965() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2679();
- o["y"] = buildUnnamed2679();
+ o["x"] = buildUnnamed2964();
+ o["y"] = buildUnnamed2964();
return o;
}
-checkUnnamed2680(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2965(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2679(o["x"]);
- checkUnnamed2679(o["y"]);
+ checkUnnamed2964(o["x"]);
+ checkUnnamed2964(o["y"]);
}
core.int buildCounterAnnotationSet = 0;
@@ -182,7 +182,7 @@
if (buildCounterAnnotationSet < 3) {
o.datasetId = "foo";
o.id = "foo";
- o.info = buildUnnamed2680();
+ o.info = buildUnnamed2965();
o.name = "foo";
o.referenceSetId = "foo";
o.sourceUri = "foo";
@@ -197,7 +197,7 @@
if (buildCounterAnnotationSet < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2680(o.info);
+ checkUnnamed2965(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sourceUri, unittest.equals('foo'));
@@ -206,14 +206,14 @@
buildCounterAnnotationSet--;
}
-buildUnnamed2681() {
+buildUnnamed2966() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2681(core.List<api.Annotation> o) {
+checkUnnamed2966(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -224,7 +224,7 @@
var o = new api.BatchCreateAnnotationsRequest();
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- o.annotations = buildUnnamed2681();
+ o.annotations = buildUnnamed2966();
o.requestId = "foo";
}
buildCounterBatchCreateAnnotationsRequest--;
@@ -234,20 +234,20 @@
checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) {
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- checkUnnamed2681(o.annotations);
+ checkUnnamed2966(o.annotations);
unittest.expect(o.requestId, unittest.equals('foo'));
}
buildCounterBatchCreateAnnotationsRequest--;
}
-buildUnnamed2682() {
+buildUnnamed2967() {
var o = new core.List<api.Entry>();
o.add(buildEntry());
o.add(buildEntry());
return o;
}
-checkUnnamed2682(core.List<api.Entry> o) {
+checkUnnamed2967(core.List<api.Entry> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntry(o[0]);
checkEntry(o[1]);
@@ -258,7 +258,7 @@
var o = new api.BatchCreateAnnotationsResponse();
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- o.entries = buildUnnamed2682();
+ o.entries = buildUnnamed2967();
}
buildCounterBatchCreateAnnotationsResponse--;
return o;
@@ -267,19 +267,19 @@
checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) {
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- checkUnnamed2682(o.entries);
+ checkUnnamed2967(o.entries);
}
buildCounterBatchCreateAnnotationsResponse--;
}
-buildUnnamed2683() {
+buildUnnamed2968() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2683(core.List<core.String> o) {
+checkUnnamed2968(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'));
@@ -290,7 +290,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed2683();
+ o.members = buildUnnamed2968();
o.role = "foo";
}
buildCounterBinding--;
@@ -300,13 +300,13 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed2683(o.members);
+ checkUnnamed2968(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2684() {
+buildUnnamed2969() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -321,7 +321,7 @@
return o;
}
-checkUnnamed2684(core.List<core.Object> o) {
+checkUnnamed2969(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -335,27 +335,27 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2685() {
+buildUnnamed2970() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2684();
- o["y"] = buildUnnamed2684();
+ o["x"] = buildUnnamed2969();
+ o["y"] = buildUnnamed2969();
return o;
}
-checkUnnamed2685(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2970(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2684(o["x"]);
- checkUnnamed2684(o["y"]);
+ checkUnnamed2969(o["x"]);
+ checkUnnamed2969(o["y"]);
}
-buildUnnamed2686() {
+buildUnnamed2971() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2686(core.List<core.String> o) {
+checkUnnamed2971(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'));
@@ -368,10 +368,10 @@
if (buildCounterCallSet < 3) {
o.created = "foo";
o.id = "foo";
- o.info = buildUnnamed2685();
+ o.info = buildUnnamed2970();
o.name = "foo";
o.sampleId = "foo";
- o.variantSetIds = buildUnnamed2686();
+ o.variantSetIds = buildUnnamed2971();
}
buildCounterCallSet--;
return o;
@@ -382,10 +382,10 @@
if (buildCounterCallSet < 3) {
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2685(o.info);
+ checkUnnamed2970(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
- checkUnnamed2686(o.variantSetIds);
+ checkUnnamed2971(o.variantSetIds);
}
buildCounterCallSet--;
}
@@ -428,27 +428,27 @@
buildCounterCigarUnit--;
}
-buildUnnamed2687() {
+buildUnnamed2972() {
var o = new core.List<api.ExternalId>();
o.add(buildExternalId());
o.add(buildExternalId());
return o;
}
-checkUnnamed2687(core.List<api.ExternalId> o) {
+checkUnnamed2972(core.List<api.ExternalId> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalId(o[0]);
checkExternalId(o[1]);
}
-buildUnnamed2688() {
+buildUnnamed2973() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2688(core.List<core.String> o) {
+checkUnnamed2973(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'));
@@ -460,8 +460,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
o.conceptId = "foo";
- o.externalIds = buildUnnamed2687();
- o.names = buildUnnamed2688();
+ o.externalIds = buildUnnamed2972();
+ o.names = buildUnnamed2973();
o.omimId = "foo";
}
buildCounterClinicalCondition--;
@@ -472,8 +472,8 @@
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
unittest.expect(o.conceptId, unittest.equals('foo'));
- checkUnnamed2687(o.externalIds);
- checkUnnamed2688(o.names);
+ checkUnnamed2972(o.externalIds);
+ checkUnnamed2973(o.names);
unittest.expect(o.omimId, unittest.equals('foo'));
}
buildCounterClinicalCondition--;
@@ -500,14 +500,14 @@
buildCounterCodingSequence--;
}
-buildUnnamed2689() {
+buildUnnamed2974() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2689(core.List<core.String> o) {
+checkUnnamed2974(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'));
@@ -518,7 +518,7 @@
var o = new api.ComputeEngine();
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- o.diskNames = buildUnnamed2689();
+ o.diskNames = buildUnnamed2974();
o.instanceName = "foo";
o.machineType = "foo";
o.zone = "foo";
@@ -530,7 +530,7 @@
checkComputeEngine(api.ComputeEngine o) {
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- checkUnnamed2689(o.diskNames);
+ checkUnnamed2974(o.diskNames);
unittest.expect(o.instanceName, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
@@ -668,14 +668,14 @@
buildCounterExperiment--;
}
-buildUnnamed2690() {
+buildUnnamed2975() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2690(core.List<core.String> o) {
+checkUnnamed2975(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'));
@@ -688,7 +688,7 @@
if (buildCounterExportReadGroupSetRequest < 3) {
o.exportUri = "foo";
o.projectId = "foo";
- o.referenceNames = buildUnnamed2690();
+ o.referenceNames = buildUnnamed2975();
}
buildCounterExportReadGroupSetRequest--;
return o;
@@ -699,19 +699,19 @@
if (buildCounterExportReadGroupSetRequest < 3) {
unittest.expect(o.exportUri, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2690(o.referenceNames);
+ checkUnnamed2975(o.referenceNames);
}
buildCounterExportReadGroupSetRequest--;
}
-buildUnnamed2691() {
+buildUnnamed2976() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2691(core.List<core.String> o) {
+checkUnnamed2976(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'));
@@ -724,7 +724,7 @@
if (buildCounterExportVariantSetRequest < 3) {
o.bigqueryDataset = "foo";
o.bigqueryTable = "foo";
- o.callSetIds = buildUnnamed2691();
+ o.callSetIds = buildUnnamed2976();
o.format = "foo";
o.projectId = "foo";
}
@@ -737,7 +737,7 @@
if (buildCounterExportVariantSetRequest < 3) {
unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
unittest.expect(o.bigqueryTable, unittest.equals('foo'));
- checkUnnamed2691(o.callSetIds);
+ checkUnnamed2976(o.callSetIds);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
}
@@ -780,14 +780,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2692() {
+buildUnnamed2977() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2692(core.List<core.String> o) {
+checkUnnamed2977(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'));
@@ -801,7 +801,7 @@
o.datasetId = "foo";
o.partitionStrategy = "foo";
o.referenceSetId = "foo";
- o.sourceUris = buildUnnamed2692();
+ o.sourceUris = buildUnnamed2977();
}
buildCounterImportReadGroupSetsRequest--;
return o;
@@ -813,19 +813,19 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.partitionStrategy, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2692(o.sourceUris);
+ checkUnnamed2977(o.sourceUris);
}
buildCounterImportReadGroupSetsRequest--;
}
-buildUnnamed2693() {
+buildUnnamed2978() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2693(core.List<core.String> o) {
+checkUnnamed2978(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'));
@@ -836,7 +836,7 @@
var o = new api.ImportReadGroupSetsResponse();
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- o.readGroupSetIds = buildUnnamed2693();
+ o.readGroupSetIds = buildUnnamed2978();
}
buildCounterImportReadGroupSetsResponse--;
return o;
@@ -845,32 +845,32 @@
checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) {
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- checkUnnamed2693(o.readGroupSetIds);
+ checkUnnamed2978(o.readGroupSetIds);
}
buildCounterImportReadGroupSetsResponse--;
}
-buildUnnamed2694() {
+buildUnnamed2979() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2694(core.Map<core.String, core.String> o) {
+checkUnnamed2979(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2695() {
+buildUnnamed2980() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2695(core.List<core.String> o) {
+checkUnnamed2980(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'));
@@ -882,9 +882,9 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
o.format = "foo";
- o.infoMergeConfig = buildUnnamed2694();
+ o.infoMergeConfig = buildUnnamed2979();
o.normalizeReferenceNames = true;
- o.sourceUris = buildUnnamed2695();
+ o.sourceUris = buildUnnamed2980();
o.variantSetId = "foo";
}
buildCounterImportVariantsRequest--;
@@ -895,22 +895,22 @@
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed2694(o.infoMergeConfig);
+ checkUnnamed2979(o.infoMergeConfig);
unittest.expect(o.normalizeReferenceNames, unittest.isTrue);
- checkUnnamed2695(o.sourceUris);
+ checkUnnamed2980(o.sourceUris);
unittest.expect(o.variantSetId, unittest.equals('foo'));
}
buildCounterImportVariantsRequest--;
}
-buildUnnamed2696() {
+buildUnnamed2981() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2696(core.List<core.String> o) {
+checkUnnamed2981(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'));
@@ -921,7 +921,7 @@
var o = new api.ImportVariantsResponse();
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- o.callSetIds = buildUnnamed2696();
+ o.callSetIds = buildUnnamed2981();
}
buildCounterImportVariantsResponse--;
return o;
@@ -930,19 +930,19 @@
checkImportVariantsResponse(api.ImportVariantsResponse o) {
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- checkUnnamed2696(o.callSetIds);
+ checkUnnamed2981(o.callSetIds);
}
buildCounterImportVariantsResponse--;
}
-buildUnnamed2697() {
+buildUnnamed2982() {
var o = new core.List<api.CigarUnit>();
o.add(buildCigarUnit());
o.add(buildCigarUnit());
return o;
}
-checkUnnamed2697(core.List<api.CigarUnit> o) {
+checkUnnamed2982(core.List<api.CigarUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkCigarUnit(o[0]);
checkCigarUnit(o[1]);
@@ -953,7 +953,7 @@
var o = new api.LinearAlignment();
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- o.cigar = buildUnnamed2697();
+ o.cigar = buildUnnamed2982();
o.mappingQuality = 42;
o.position = buildPosition();
}
@@ -964,7 +964,7 @@
checkLinearAlignment(api.LinearAlignment o) {
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- checkUnnamed2697(o.cigar);
+ checkUnnamed2982(o.cigar);
unittest.expect(o.mappingQuality, unittest.equals(42));
checkPosition(o.position);
}
@@ -994,14 +994,14 @@
buildCounterListBasesResponse--;
}
-buildUnnamed2698() {
+buildUnnamed2983() {
var o = new core.List<api.CoverageBucket>();
o.add(buildCoverageBucket());
o.add(buildCoverageBucket());
return o;
}
-checkUnnamed2698(core.List<api.CoverageBucket> o) {
+checkUnnamed2983(core.List<api.CoverageBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverageBucket(o[0]);
checkCoverageBucket(o[1]);
@@ -1013,7 +1013,7 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
o.bucketWidth = "foo";
- o.coverageBuckets = buildUnnamed2698();
+ o.coverageBuckets = buildUnnamed2983();
o.nextPageToken = "foo";
}
buildCounterListCoverageBucketsResponse--;
@@ -1024,20 +1024,20 @@
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
unittest.expect(o.bucketWidth, unittest.equals('foo'));
- checkUnnamed2698(o.coverageBuckets);
+ checkUnnamed2983(o.coverageBuckets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoverageBucketsResponse--;
}
-buildUnnamed2699() {
+buildUnnamed2984() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed2699(core.List<api.Dataset> o) {
+checkUnnamed2984(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -1048,7 +1048,7 @@
var o = new api.ListDatasetsResponse();
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- o.datasets = buildUnnamed2699();
+ o.datasets = buildUnnamed2984();
o.nextPageToken = "foo";
}
buildCounterListDatasetsResponse--;
@@ -1058,20 +1058,20 @@
checkListDatasetsResponse(api.ListDatasetsResponse o) {
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- checkUnnamed2699(o.datasets);
+ checkUnnamed2984(o.datasets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatasetsResponse--;
}
-buildUnnamed2700() {
+buildUnnamed2985() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2700(core.List<api.Operation> o) {
+checkUnnamed2985(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1083,7 +1083,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2700();
+ o.operations = buildUnnamed2985();
}
buildCounterListOperationsResponse--;
return o;
@@ -1093,32 +1093,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2700(o.operations);
+ checkUnnamed2985(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2701() {
+buildUnnamed2986() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2701(core.Map<core.String, core.String> o) {
+checkUnnamed2986(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2702() {
+buildUnnamed2987() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2702(core.List<api.Variant> o) {
+checkUnnamed2987(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -1129,9 +1129,9 @@
var o = new api.MergeVariantsRequest();
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- o.infoMergeConfig = buildUnnamed2701();
+ o.infoMergeConfig = buildUnnamed2986();
o.variantSetId = "foo";
- o.variants = buildUnnamed2702();
+ o.variants = buildUnnamed2987();
}
buildCounterMergeVariantsRequest--;
return o;
@@ -1140,14 +1140,14 @@
checkMergeVariantsRequest(api.MergeVariantsRequest o) {
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- checkUnnamed2701(o.infoMergeConfig);
+ checkUnnamed2986(o.infoMergeConfig);
unittest.expect(o.variantSetId, unittest.equals('foo'));
- checkUnnamed2702(o.variants);
+ checkUnnamed2987(o.variants);
}
buildCounterMergeVariantsRequest--;
}
-buildUnnamed2703() {
+buildUnnamed2988() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1162,7 +1162,7 @@
return o;
}
-checkUnnamed2703(core.Map<core.String, core.Object> o) {
+checkUnnamed2988(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1176,7 +1176,7 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2704() {
+buildUnnamed2989() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1191,7 +1191,7 @@
return o;
}
-checkUnnamed2704(core.Map<core.String, core.Object> o) {
+checkUnnamed2989(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -1212,9 +1212,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2703();
+ o.metadata = buildUnnamed2988();
o.name = "foo";
- o.response = buildUnnamed2704();
+ o.response = buildUnnamed2989();
}
buildCounterOperation--;
return o;
@@ -1225,9 +1225,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2703(o.metadata);
+ checkUnnamed2988(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2704(o.response);
+ checkUnnamed2989(o.response);
}
buildCounterOperation--;
}
@@ -1255,33 +1255,33 @@
buildCounterOperationEvent--;
}
-buildUnnamed2705() {
+buildUnnamed2990() {
var o = new core.List<api.OperationEvent>();
o.add(buildOperationEvent());
o.add(buildOperationEvent());
return o;
}
-checkUnnamed2705(core.List<api.OperationEvent> o) {
+checkUnnamed2990(core.List<api.OperationEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationEvent(o[0]);
checkOperationEvent(o[1]);
}
-buildUnnamed2706() {
+buildUnnamed2991() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2706(core.Map<core.String, core.String> o) {
+checkUnnamed2991(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2707() {
+buildUnnamed2992() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1296,7 +1296,7 @@
return o;
}
-checkUnnamed2707(core.Map<core.String, core.Object> o) {
+checkUnnamed2992(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -1310,7 +1310,7 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2708() {
+buildUnnamed2993() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1325,7 +1325,7 @@
return o;
}
-checkUnnamed2708(core.Map<core.String, core.Object> o) {
+checkUnnamed2993(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
@@ -1347,11 +1347,11 @@
o.clientId = "foo";
o.createTime = "foo";
o.endTime = "foo";
- o.events = buildUnnamed2705();
- o.labels = buildUnnamed2706();
+ o.events = buildUnnamed2990();
+ o.labels = buildUnnamed2991();
o.projectId = "foo";
- o.request = buildUnnamed2707();
- o.runtimeMetadata = buildUnnamed2708();
+ o.request = buildUnnamed2992();
+ o.runtimeMetadata = buildUnnamed2993();
o.startTime = "foo";
}
buildCounterOperationMetadata--;
@@ -1364,24 +1364,24 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed2705(o.events);
- checkUnnamed2706(o.labels);
+ checkUnnamed2990(o.events);
+ checkUnnamed2991(o.labels);
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2707(o.request);
- checkUnnamed2708(o.runtimeMetadata);
+ checkUnnamed2992(o.request);
+ checkUnnamed2993(o.runtimeMetadata);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterOperationMetadata--;
}
-buildUnnamed2709() {
+buildUnnamed2994() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2709(core.List<api.Binding> o) {
+checkUnnamed2994(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1392,7 +1392,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2709();
+ o.bindings = buildUnnamed2994();
o.etag = "foo";
o.version = 42;
}
@@ -1403,7 +1403,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2709(o.bindings);
+ checkUnnamed2994(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1483,20 +1483,20 @@
buildCounterRange--;
}
-buildUnnamed2710() {
+buildUnnamed2995() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2710(core.List<core.int> o) {
+checkUnnamed2995(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed2711() {
+buildUnnamed2996() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1511,7 +1511,7 @@
return o;
}
-checkUnnamed2711(core.List<core.Object> o) {
+checkUnnamed2996(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o[0]) as core.Map;
unittest.expect(casted15, unittest.hasLength(3));
@@ -1525,17 +1525,17 @@
unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed2712() {
+buildUnnamed2997() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2711();
- o["y"] = buildUnnamed2711();
+ o["x"] = buildUnnamed2996();
+ o["y"] = buildUnnamed2996();
return o;
}
-checkUnnamed2712(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2997(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2711(o["x"]);
- checkUnnamed2711(o["y"]);
+ checkUnnamed2996(o["x"]);
+ checkUnnamed2996(o["y"]);
}
core.int buildCounterRead = 0;
@@ -1543,7 +1543,7 @@
var o = new api.Read();
buildCounterRead++;
if (buildCounterRead < 3) {
- o.alignedQuality = buildUnnamed2710();
+ o.alignedQuality = buildUnnamed2995();
o.alignedSequence = "foo";
o.alignment = buildLinearAlignment();
o.duplicateFragment = true;
@@ -1551,7 +1551,7 @@
o.fragmentLength = 42;
o.fragmentName = "foo";
o.id = "foo";
- o.info = buildUnnamed2712();
+ o.info = buildUnnamed2997();
o.nextMatePosition = buildPosition();
o.numberReads = 42;
o.properPlacement = true;
@@ -1568,7 +1568,7 @@
checkRead(api.Read o) {
buildCounterRead++;
if (buildCounterRead < 3) {
- checkUnnamed2710(o.alignedQuality);
+ checkUnnamed2995(o.alignedQuality);
unittest.expect(o.alignedSequence, unittest.equals('foo'));
checkLinearAlignment(o.alignment);
unittest.expect(o.duplicateFragment, unittest.isTrue);
@@ -1576,7 +1576,7 @@
unittest.expect(o.fragmentLength, unittest.equals(42));
unittest.expect(o.fragmentName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2712(o.info);
+ checkUnnamed2997(o.info);
checkPosition(o.nextMatePosition);
unittest.expect(o.numberReads, unittest.equals(42));
unittest.expect(o.properPlacement, unittest.isTrue);
@@ -1589,7 +1589,7 @@
buildCounterRead--;
}
-buildUnnamed2713() {
+buildUnnamed2998() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1604,7 +1604,7 @@
return o;
}
-checkUnnamed2713(core.List<core.Object> o) {
+checkUnnamed2998(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map;
unittest.expect(casted17, unittest.hasLength(3));
@@ -1618,27 +1618,27 @@
unittest.expect(casted18["string"], unittest.equals('foo'));
}
-buildUnnamed2714() {
+buildUnnamed2999() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2713();
- o["y"] = buildUnnamed2713();
+ o["x"] = buildUnnamed2998();
+ o["y"] = buildUnnamed2998();
return o;
}
-checkUnnamed2714(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2999(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2713(o["x"]);
- checkUnnamed2713(o["y"]);
+ checkUnnamed2998(o["x"]);
+ checkUnnamed2998(o["y"]);
}
-buildUnnamed2715() {
+buildUnnamed3000() {
var o = new core.List<api.Program>();
o.add(buildProgram());
o.add(buildProgram());
return o;
}
-checkUnnamed2715(core.List<api.Program> o) {
+checkUnnamed3000(core.List<api.Program> o) {
unittest.expect(o, unittest.hasLength(2));
checkProgram(o[0]);
checkProgram(o[1]);
@@ -1653,10 +1653,10 @@
o.description = "foo";
o.experiment = buildExperiment();
o.id = "foo";
- o.info = buildUnnamed2714();
+ o.info = buildUnnamed2999();
o.name = "foo";
o.predictedInsertSize = 42;
- o.programs = buildUnnamed2715();
+ o.programs = buildUnnamed3000();
o.referenceSetId = "foo";
o.sampleId = "foo";
}
@@ -1671,17 +1671,17 @@
unittest.expect(o.description, unittest.equals('foo'));
checkExperiment(o.experiment);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2714(o.info);
+ checkUnnamed2999(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.predictedInsertSize, unittest.equals(42));
- checkUnnamed2715(o.programs);
+ checkUnnamed3000(o.programs);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
}
buildCounterReadGroup--;
}
-buildUnnamed2716() {
+buildUnnamed3001() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1696,7 +1696,7 @@
return o;
}
-checkUnnamed2716(core.List<core.Object> o) {
+checkUnnamed3001(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o[0]) as core.Map;
unittest.expect(casted19, unittest.hasLength(3));
@@ -1710,27 +1710,27 @@
unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed2717() {
+buildUnnamed3002() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2716();
- o["y"] = buildUnnamed2716();
+ o["x"] = buildUnnamed3001();
+ o["y"] = buildUnnamed3001();
return o;
}
-checkUnnamed2717(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3002(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2716(o["x"]);
- checkUnnamed2716(o["y"]);
+ checkUnnamed3001(o["x"]);
+ checkUnnamed3001(o["y"]);
}
-buildUnnamed2718() {
+buildUnnamed3003() {
var o = new core.List<api.ReadGroup>();
o.add(buildReadGroup());
o.add(buildReadGroup());
return o;
}
-checkUnnamed2718(core.List<api.ReadGroup> o) {
+checkUnnamed3003(core.List<api.ReadGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroup(o[0]);
checkReadGroup(o[1]);
@@ -1744,9 +1744,9 @@
o.datasetId = "foo";
o.filename = "foo";
o.id = "foo";
- o.info = buildUnnamed2717();
+ o.info = buildUnnamed3002();
o.name = "foo";
- o.readGroups = buildUnnamed2718();
+ o.readGroups = buildUnnamed3003();
o.referenceSetId = "foo";
}
buildCounterReadGroupSet--;
@@ -1759,22 +1759,22 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2717(o.info);
+ checkUnnamed3002(o.info);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2718(o.readGroups);
+ checkUnnamed3003(o.readGroups);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterReadGroupSet--;
}
-buildUnnamed2719() {
+buildUnnamed3004() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2719(core.List<core.String> o) {
+checkUnnamed3004(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'));
@@ -1790,7 +1790,7 @@
o.md5checksum = "foo";
o.name = "foo";
o.ncbiTaxonId = 42;
- o.sourceAccessions = buildUnnamed2719();
+ o.sourceAccessions = buildUnnamed3004();
o.sourceUri = "foo";
}
buildCounterReference--;
@@ -1805,7 +1805,7 @@
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2719(o.sourceAccessions);
+ checkUnnamed3004(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReference--;
@@ -1832,27 +1832,27 @@
buildCounterReferenceBound--;
}
-buildUnnamed2720() {
+buildUnnamed3005() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2720(core.List<core.String> o) {
+checkUnnamed3005(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'));
}
-buildUnnamed2721() {
+buildUnnamed3006() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2721(core.List<core.String> o) {
+checkUnnamed3006(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'));
@@ -1868,8 +1868,8 @@
o.id = "foo";
o.md5checksum = "foo";
o.ncbiTaxonId = 42;
- o.referenceIds = buildUnnamed2720();
- o.sourceAccessions = buildUnnamed2721();
+ o.referenceIds = buildUnnamed3005();
+ o.sourceAccessions = buildUnnamed3006();
o.sourceUri = "foo";
}
buildCounterReferenceSet--;
@@ -1884,8 +1884,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2720(o.referenceIds);
- checkUnnamed2721(o.sourceAccessions);
+ checkUnnamed3005(o.referenceIds);
+ checkUnnamed3006(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReferenceSet--;
@@ -1910,27 +1910,27 @@
buildCounterRuntimeMetadata--;
}
-buildUnnamed2722() {
+buildUnnamed3007() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2722(core.List<core.String> o) {
+checkUnnamed3007(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'));
}
-buildUnnamed2723() {
+buildUnnamed3008() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2723(core.List<core.String> o) {
+checkUnnamed3008(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'));
@@ -1941,12 +1941,12 @@
var o = new api.SearchAnnotationSetsRequest();
buildCounterSearchAnnotationSetsRequest++;
if (buildCounterSearchAnnotationSetsRequest < 3) {
- o.datasetIds = buildUnnamed2722();
+ o.datasetIds = buildUnnamed3007();
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
- o.types = buildUnnamed2723();
+ o.types = buildUnnamed3008();
}
buildCounterSearchAnnotationSetsRequest--;
return o;
@@ -1955,24 +1955,24 @@
checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
buildCounterSearchAnnotationSetsRequest++;
if (buildCounterSearchAnnotationSetsRequest < 3) {
- checkUnnamed2722(o.datasetIds);
+ checkUnnamed3007(o.datasetIds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2723(o.types);
+ checkUnnamed3008(o.types);
}
buildCounterSearchAnnotationSetsRequest--;
}
-buildUnnamed2724() {
+buildUnnamed3009() {
var o = new core.List<api.AnnotationSet>();
o.add(buildAnnotationSet());
o.add(buildAnnotationSet());
return o;
}
-checkUnnamed2724(core.List<api.AnnotationSet> o) {
+checkUnnamed3009(core.List<api.AnnotationSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationSet(o[0]);
checkAnnotationSet(o[1]);
@@ -1983,7 +1983,7 @@
var o = new api.SearchAnnotationSetsResponse();
buildCounterSearchAnnotationSetsResponse++;
if (buildCounterSearchAnnotationSetsResponse < 3) {
- o.annotationSets = buildUnnamed2724();
+ o.annotationSets = buildUnnamed3009();
o.nextPageToken = "foo";
}
buildCounterSearchAnnotationSetsResponse--;
@@ -1993,20 +1993,20 @@
checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
buildCounterSearchAnnotationSetsResponse++;
if (buildCounterSearchAnnotationSetsResponse < 3) {
- checkUnnamed2724(o.annotationSets);
+ checkUnnamed3009(o.annotationSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAnnotationSetsResponse--;
}
-buildUnnamed2725() {
+buildUnnamed3010() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2725(core.List<core.String> o) {
+checkUnnamed3010(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'));
@@ -2017,7 +2017,7 @@
var o = new api.SearchAnnotationsRequest();
buildCounterSearchAnnotationsRequest++;
if (buildCounterSearchAnnotationsRequest < 3) {
- o.annotationSetIds = buildUnnamed2725();
+ o.annotationSetIds = buildUnnamed3010();
o.end = "foo";
o.pageSize = 42;
o.pageToken = "foo";
@@ -2032,7 +2032,7 @@
checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
buildCounterSearchAnnotationsRequest++;
if (buildCounterSearchAnnotationsRequest < 3) {
- checkUnnamed2725(o.annotationSetIds);
+ checkUnnamed3010(o.annotationSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -2043,14 +2043,14 @@
buildCounterSearchAnnotationsRequest--;
}
-buildUnnamed2726() {
+buildUnnamed3011() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2726(core.List<api.Annotation> o) {
+checkUnnamed3011(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -2061,7 +2061,7 @@
var o = new api.SearchAnnotationsResponse();
buildCounterSearchAnnotationsResponse++;
if (buildCounterSearchAnnotationsResponse < 3) {
- o.annotations = buildUnnamed2726();
+ o.annotations = buildUnnamed3011();
o.nextPageToken = "foo";
}
buildCounterSearchAnnotationsResponse--;
@@ -2071,20 +2071,20 @@
checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
buildCounterSearchAnnotationsResponse++;
if (buildCounterSearchAnnotationsResponse < 3) {
- checkUnnamed2726(o.annotations);
+ checkUnnamed3011(o.annotations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAnnotationsResponse--;
}
-buildUnnamed2727() {
+buildUnnamed3012() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2727(core.List<core.String> o) {
+checkUnnamed3012(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'));
@@ -2098,7 +2098,7 @@
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.variantSetIds = buildUnnamed2727();
+ o.variantSetIds = buildUnnamed3012();
}
buildCounterSearchCallSetsRequest--;
return o;
@@ -2110,19 +2110,19 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2727(o.variantSetIds);
+ checkUnnamed3012(o.variantSetIds);
}
buildCounterSearchCallSetsRequest--;
}
-buildUnnamed2728() {
+buildUnnamed3013() {
var o = new core.List<api.CallSet>();
o.add(buildCallSet());
o.add(buildCallSet());
return o;
}
-checkUnnamed2728(core.List<api.CallSet> o) {
+checkUnnamed3013(core.List<api.CallSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCallSet(o[0]);
checkCallSet(o[1]);
@@ -2133,7 +2133,7 @@
var o = new api.SearchCallSetsResponse();
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- o.callSets = buildUnnamed2728();
+ o.callSets = buildUnnamed3013();
o.nextPageToken = "foo";
}
buildCounterSearchCallSetsResponse--;
@@ -2143,20 +2143,20 @@
checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- checkUnnamed2728(o.callSets);
+ checkUnnamed3013(o.callSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchCallSetsResponse--;
}
-buildUnnamed2729() {
+buildUnnamed3014() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2729(core.List<core.String> o) {
+checkUnnamed3014(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'));
@@ -2167,7 +2167,7 @@
var o = new api.SearchReadGroupSetsRequest();
buildCounterSearchReadGroupSetsRequest++;
if (buildCounterSearchReadGroupSetsRequest < 3) {
- o.datasetIds = buildUnnamed2729();
+ o.datasetIds = buildUnnamed3014();
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
@@ -2179,7 +2179,7 @@
checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
buildCounterSearchReadGroupSetsRequest++;
if (buildCounterSearchReadGroupSetsRequest < 3) {
- checkUnnamed2729(o.datasetIds);
+ checkUnnamed3014(o.datasetIds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -2187,14 +2187,14 @@
buildCounterSearchReadGroupSetsRequest--;
}
-buildUnnamed2730() {
+buildUnnamed3015() {
var o = new core.List<api.ReadGroupSet>();
o.add(buildReadGroupSet());
o.add(buildReadGroupSet());
return o;
}
-checkUnnamed2730(core.List<api.ReadGroupSet> o) {
+checkUnnamed3015(core.List<api.ReadGroupSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroupSet(o[0]);
checkReadGroupSet(o[1]);
@@ -2206,7 +2206,7 @@
buildCounterSearchReadGroupSetsResponse++;
if (buildCounterSearchReadGroupSetsResponse < 3) {
o.nextPageToken = "foo";
- o.readGroupSets = buildUnnamed2730();
+ o.readGroupSets = buildUnnamed3015();
}
buildCounterSearchReadGroupSetsResponse--;
return o;
@@ -2216,32 +2216,32 @@
buildCounterSearchReadGroupSetsResponse++;
if (buildCounterSearchReadGroupSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2730(o.readGroupSets);
+ checkUnnamed3015(o.readGroupSets);
}
buildCounterSearchReadGroupSetsResponse--;
}
-buildUnnamed2731() {
+buildUnnamed3016() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2731(core.List<core.String> o) {
+checkUnnamed3016(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'));
}
-buildUnnamed2732() {
+buildUnnamed3017() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2732(core.List<core.String> o) {
+checkUnnamed3017(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'));
@@ -2255,8 +2255,8 @@
o.end = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.readGroupIds = buildUnnamed2731();
- o.readGroupSetIds = buildUnnamed2732();
+ o.readGroupIds = buildUnnamed3016();
+ o.readGroupSetIds = buildUnnamed3017();
o.referenceName = "foo";
o.start = "foo";
}
@@ -2270,22 +2270,22 @@
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2731(o.readGroupIds);
- checkUnnamed2732(o.readGroupSetIds);
+ checkUnnamed3016(o.readGroupIds);
+ checkUnnamed3017(o.readGroupSetIds);
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
}
buildCounterSearchReadsRequest--;
}
-buildUnnamed2733() {
+buildUnnamed3018() {
var o = new core.List<api.Read>();
o.add(buildRead());
o.add(buildRead());
return o;
}
-checkUnnamed2733(core.List<api.Read> o) {
+checkUnnamed3018(core.List<api.Read> o) {
unittest.expect(o, unittest.hasLength(2));
checkRead(o[0]);
checkRead(o[1]);
@@ -2296,7 +2296,7 @@
var o = new api.SearchReadsResponse();
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
- o.alignments = buildUnnamed2733();
+ o.alignments = buildUnnamed3018();
o.nextPageToken = "foo";
}
buildCounterSearchReadsResponse--;
@@ -2306,33 +2306,33 @@
checkSearchReadsResponse(api.SearchReadsResponse o) {
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
- checkUnnamed2733(o.alignments);
+ checkUnnamed3018(o.alignments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchReadsResponse--;
}
-buildUnnamed2734() {
+buildUnnamed3019() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2734(core.List<core.String> o) {
+checkUnnamed3019(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'));
}
-buildUnnamed2735() {
+buildUnnamed3020() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2735(core.List<core.String> o) {
+checkUnnamed3020(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'));
@@ -2343,9 +2343,9 @@
var o = new api.SearchReferenceSetsRequest();
buildCounterSearchReferenceSetsRequest++;
if (buildCounterSearchReferenceSetsRequest < 3) {
- o.accessions = buildUnnamed2734();
+ o.accessions = buildUnnamed3019();
o.assemblyId = "foo";
- o.md5checksums = buildUnnamed2735();
+ o.md5checksums = buildUnnamed3020();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -2356,23 +2356,23 @@
checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
buildCounterSearchReferenceSetsRequest++;
if (buildCounterSearchReferenceSetsRequest < 3) {
- checkUnnamed2734(o.accessions);
+ checkUnnamed3019(o.accessions);
unittest.expect(o.assemblyId, unittest.equals('foo'));
- checkUnnamed2735(o.md5checksums);
+ checkUnnamed3020(o.md5checksums);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchReferenceSetsRequest--;
}
-buildUnnamed2736() {
+buildUnnamed3021() {
var o = new core.List<api.ReferenceSet>();
o.add(buildReferenceSet());
o.add(buildReferenceSet());
return o;
}
-checkUnnamed2736(core.List<api.ReferenceSet> o) {
+checkUnnamed3021(core.List<api.ReferenceSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceSet(o[0]);
checkReferenceSet(o[1]);
@@ -2384,7 +2384,7 @@
buildCounterSearchReferenceSetsResponse++;
if (buildCounterSearchReferenceSetsResponse < 3) {
o.nextPageToken = "foo";
- o.referenceSets = buildUnnamed2736();
+ o.referenceSets = buildUnnamed3021();
}
buildCounterSearchReferenceSetsResponse--;
return o;
@@ -2394,32 +2394,32 @@
buildCounterSearchReferenceSetsResponse++;
if (buildCounterSearchReferenceSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2736(o.referenceSets);
+ checkUnnamed3021(o.referenceSets);
}
buildCounterSearchReferenceSetsResponse--;
}
-buildUnnamed2737() {
+buildUnnamed3022() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2737(core.List<core.String> o) {
+checkUnnamed3022(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'));
}
-buildUnnamed2738() {
+buildUnnamed3023() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2738(core.List<core.String> o) {
+checkUnnamed3023(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'));
@@ -2430,8 +2430,8 @@
var o = new api.SearchReferencesRequest();
buildCounterSearchReferencesRequest++;
if (buildCounterSearchReferencesRequest < 3) {
- o.accessions = buildUnnamed2737();
- o.md5checksums = buildUnnamed2738();
+ o.accessions = buildUnnamed3022();
+ o.md5checksums = buildUnnamed3023();
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
@@ -2443,8 +2443,8 @@
checkSearchReferencesRequest(api.SearchReferencesRequest o) {
buildCounterSearchReferencesRequest++;
if (buildCounterSearchReferencesRequest < 3) {
- checkUnnamed2737(o.accessions);
- checkUnnamed2738(o.md5checksums);
+ checkUnnamed3022(o.accessions);
+ checkUnnamed3023(o.md5checksums);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
@@ -2452,14 +2452,14 @@
buildCounterSearchReferencesRequest--;
}
-buildUnnamed2739() {
+buildUnnamed3024() {
var o = new core.List<api.Reference>();
o.add(buildReference());
o.add(buildReference());
return o;
}
-checkUnnamed2739(core.List<api.Reference> o) {
+checkUnnamed3024(core.List<api.Reference> o) {
unittest.expect(o, unittest.hasLength(2));
checkReference(o[0]);
checkReference(o[1]);
@@ -2471,7 +2471,7 @@
buildCounterSearchReferencesResponse++;
if (buildCounterSearchReferencesResponse < 3) {
o.nextPageToken = "foo";
- o.references = buildUnnamed2739();
+ o.references = buildUnnamed3024();
}
buildCounterSearchReferencesResponse--;
return o;
@@ -2481,19 +2481,19 @@
buildCounterSearchReferencesResponse++;
if (buildCounterSearchReferencesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2739(o.references);
+ checkUnnamed3024(o.references);
}
buildCounterSearchReferencesResponse--;
}
-buildUnnamed2740() {
+buildUnnamed3025() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2740(core.List<core.String> o) {
+checkUnnamed3025(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'));
@@ -2504,7 +2504,7 @@
var o = new api.SearchVariantSetsRequest();
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- o.datasetIds = buildUnnamed2740();
+ o.datasetIds = buildUnnamed3025();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -2515,21 +2515,21 @@
checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- checkUnnamed2740(o.datasetIds);
+ checkUnnamed3025(o.datasetIds);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchVariantSetsRequest--;
}
-buildUnnamed2741() {
+buildUnnamed3026() {
var o = new core.List<api.VariantSet>();
o.add(buildVariantSet());
o.add(buildVariantSet());
return o;
}
-checkUnnamed2741(core.List<api.VariantSet> o) {
+checkUnnamed3026(core.List<api.VariantSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSet(o[0]);
checkVariantSet(o[1]);
@@ -2541,7 +2541,7 @@
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
o.nextPageToken = "foo";
- o.variantSets = buildUnnamed2741();
+ o.variantSets = buildUnnamed3026();
}
buildCounterSearchVariantSetsResponse--;
return o;
@@ -2551,32 +2551,32 @@
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2741(o.variantSets);
+ checkUnnamed3026(o.variantSets);
}
buildCounterSearchVariantSetsResponse--;
}
-buildUnnamed2742() {
+buildUnnamed3027() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2742(core.List<core.String> o) {
+checkUnnamed3027(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'));
}
-buildUnnamed2743() {
+buildUnnamed3028() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2743(core.List<core.String> o) {
+checkUnnamed3028(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'));
@@ -2587,7 +2587,7 @@
var o = new api.SearchVariantsRequest();
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- o.callSetIds = buildUnnamed2742();
+ o.callSetIds = buildUnnamed3027();
o.end = "foo";
o.maxCalls = 42;
o.pageSize = 42;
@@ -2595,7 +2595,7 @@
o.referenceName = "foo";
o.start = "foo";
o.variantName = "foo";
- o.variantSetIds = buildUnnamed2743();
+ o.variantSetIds = buildUnnamed3028();
}
buildCounterSearchVariantsRequest--;
return o;
@@ -2604,7 +2604,7 @@
checkSearchVariantsRequest(api.SearchVariantsRequest o) {
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- checkUnnamed2742(o.callSetIds);
+ checkUnnamed3027(o.callSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.maxCalls, unittest.equals(42));
unittest.expect(o.pageSize, unittest.equals(42));
@@ -2612,19 +2612,19 @@
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
unittest.expect(o.variantName, unittest.equals('foo'));
- checkUnnamed2743(o.variantSetIds);
+ checkUnnamed3028(o.variantSetIds);
}
buildCounterSearchVariantsRequest--;
}
-buildUnnamed2744() {
+buildUnnamed3029() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2744(core.List<api.Variant> o) {
+checkUnnamed3029(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -2636,7 +2636,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
o.nextPageToken = "foo";
- o.variants = buildUnnamed2744();
+ o.variants = buildUnnamed3029();
}
buildCounterSearchVariantsResponse--;
return o;
@@ -2646,7 +2646,7 @@
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2744(o.variants);
+ checkUnnamed3029(o.variants);
}
buildCounterSearchVariantsResponse--;
}
@@ -2670,7 +2670,7 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2745() {
+buildUnnamed3030() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2685,7 +2685,7 @@
return o;
}
-checkUnnamed2745(core.Map<core.String, core.Object> o) {
+checkUnnamed3030(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map;
unittest.expect(casted21, unittest.hasLength(3));
@@ -2699,17 +2699,17 @@
unittest.expect(casted22["string"], unittest.equals('foo'));
}
-buildUnnamed2746() {
+buildUnnamed3031() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2745());
- o.add(buildUnnamed2745());
+ o.add(buildUnnamed3030());
+ o.add(buildUnnamed3030());
return o;
}
-checkUnnamed2746(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3031(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2745(o[0]);
- checkUnnamed2745(o[1]);
+ checkUnnamed3030(o[0]);
+ checkUnnamed3030(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2718,7 +2718,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2746();
+ o.details = buildUnnamed3031();
o.message = "foo";
}
buildCounterStatus--;
@@ -2729,20 +2729,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2746(o.details);
+ checkUnnamed3031(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2747() {
+buildUnnamed3032() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2747(core.List<core.String> o) {
+checkUnnamed3032(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'));
@@ -2753,7 +2753,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2747();
+ o.permissions = buildUnnamed3032();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2762,19 +2762,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2747(o.permissions);
+ checkUnnamed3032(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2748() {
+buildUnnamed3033() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2748(core.List<core.String> o) {
+checkUnnamed3033(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'));
@@ -2785,7 +2785,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2748();
+ o.permissions = buildUnnamed3033();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2794,19 +2794,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2748(o.permissions);
+ checkUnnamed3033(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed2749() {
+buildUnnamed3034() {
var o = new core.List<api.Exon>();
o.add(buildExon());
o.add(buildExon());
return o;
}
-checkUnnamed2749(core.List<api.Exon> o) {
+checkUnnamed3034(core.List<api.Exon> o) {
unittest.expect(o, unittest.hasLength(2));
checkExon(o[0]);
checkExon(o[1]);
@@ -2818,7 +2818,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
o.codingSequence = buildCodingSequence();
- o.exons = buildUnnamed2749();
+ o.exons = buildUnnamed3034();
o.geneId = "foo";
}
buildCounterTranscript--;
@@ -2829,7 +2829,7 @@
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
checkCodingSequence(o.codingSequence);
- checkUnnamed2749(o.exons);
+ checkUnnamed3034(o.exons);
unittest.expect(o.geneId, unittest.equals('foo'));
}
buildCounterTranscript--;
@@ -2850,46 +2850,46 @@
buildCounterUndeleteDatasetRequest--;
}
-buildUnnamed2750() {
+buildUnnamed3035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2750(core.List<core.String> o) {
+checkUnnamed3035(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'));
}
-buildUnnamed2751() {
+buildUnnamed3036() {
var o = new core.List<api.VariantCall>();
o.add(buildVariantCall());
o.add(buildVariantCall());
return o;
}
-checkUnnamed2751(core.List<api.VariantCall> o) {
+checkUnnamed3036(core.List<api.VariantCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantCall(o[0]);
checkVariantCall(o[1]);
}
-buildUnnamed2752() {
+buildUnnamed3037() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2752(core.List<core.String> o) {
+checkUnnamed3037(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'));
}
-buildUnnamed2753() {
+buildUnnamed3038() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2904,7 +2904,7 @@
return o;
}
-checkUnnamed2753(core.List<core.Object> o) {
+checkUnnamed3038(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map;
unittest.expect(casted23, unittest.hasLength(3));
@@ -2918,27 +2918,27 @@
unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed2754() {
+buildUnnamed3039() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2753();
- o["y"] = buildUnnamed2753();
+ o["x"] = buildUnnamed3038();
+ o["y"] = buildUnnamed3038();
return o;
}
-checkUnnamed2754(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3039(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2753(o["x"]);
- checkUnnamed2753(o["y"]);
+ checkUnnamed3038(o["x"]);
+ checkUnnamed3038(o["y"]);
}
-buildUnnamed2755() {
+buildUnnamed3040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2755(core.List<core.String> o) {
+checkUnnamed3040(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'));
@@ -2949,14 +2949,14 @@
var o = new api.Variant();
buildCounterVariant++;
if (buildCounterVariant < 3) {
- o.alternateBases = buildUnnamed2750();
- o.calls = buildUnnamed2751();
+ o.alternateBases = buildUnnamed3035();
+ o.calls = buildUnnamed3036();
o.created = "foo";
o.end = "foo";
- o.filter = buildUnnamed2752();
+ o.filter = buildUnnamed3037();
o.id = "foo";
- o.info = buildUnnamed2754();
- o.names = buildUnnamed2755();
+ o.info = buildUnnamed3039();
+ o.names = buildUnnamed3040();
o.quality = 42.0;
o.referenceBases = "foo";
o.referenceName = "foo";
@@ -2970,14 +2970,14 @@
checkVariant(api.Variant o) {
buildCounterVariant++;
if (buildCounterVariant < 3) {
- checkUnnamed2750(o.alternateBases);
- checkUnnamed2751(o.calls);
+ checkUnnamed3035(o.alternateBases);
+ checkUnnamed3036(o.calls);
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
- checkUnnamed2752(o.filter);
+ checkUnnamed3037(o.filter);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2754(o.info);
- checkUnnamed2755(o.names);
+ checkUnnamed3039(o.info);
+ checkUnnamed3040(o.names);
unittest.expect(o.quality, unittest.equals(42.0));
unittest.expect(o.referenceBases, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -2987,27 +2987,27 @@
buildCounterVariant--;
}
-buildUnnamed2756() {
+buildUnnamed3041() {
var o = new core.List<api.ClinicalCondition>();
o.add(buildClinicalCondition());
o.add(buildClinicalCondition());
return o;
}
-checkUnnamed2756(core.List<api.ClinicalCondition> o) {
+checkUnnamed3041(core.List<api.ClinicalCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkClinicalCondition(o[0]);
checkClinicalCondition(o[1]);
}
-buildUnnamed2757() {
+buildUnnamed3042() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2757(core.List<core.String> o) {
+checkUnnamed3042(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'));
@@ -3020,10 +3020,10 @@
if (buildCounterVariantAnnotation < 3) {
o.alternateBases = "foo";
o.clinicalSignificance = "foo";
- o.conditions = buildUnnamed2756();
+ o.conditions = buildUnnamed3041();
o.effect = "foo";
o.geneId = "foo";
- o.transcriptIds = buildUnnamed2757();
+ o.transcriptIds = buildUnnamed3042();
o.type = "foo";
}
buildCounterVariantAnnotation--;
@@ -3035,42 +3035,42 @@
if (buildCounterVariantAnnotation < 3) {
unittest.expect(o.alternateBases, unittest.equals('foo'));
unittest.expect(o.clinicalSignificance, unittest.equals('foo'));
- checkUnnamed2756(o.conditions);
+ checkUnnamed3041(o.conditions);
unittest.expect(o.effect, unittest.equals('foo'));
unittest.expect(o.geneId, unittest.equals('foo'));
- checkUnnamed2757(o.transcriptIds);
+ checkUnnamed3042(o.transcriptIds);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterVariantAnnotation--;
}
-buildUnnamed2758() {
+buildUnnamed3043() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2758(core.List<core.int> o) {
+checkUnnamed3043(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed2759() {
+buildUnnamed3044() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2759(core.List<core.double> o) {
+checkUnnamed3044(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed2760() {
+buildUnnamed3045() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -3085,7 +3085,7 @@
return o;
}
-checkUnnamed2760(core.List<core.Object> o) {
+checkUnnamed3045(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o[0]) as core.Map;
unittest.expect(casted25, unittest.hasLength(3));
@@ -3099,17 +3099,17 @@
unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed2761() {
+buildUnnamed3046() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2760();
- o["y"] = buildUnnamed2760();
+ o["x"] = buildUnnamed3045();
+ o["y"] = buildUnnamed3045();
return o;
}
-checkUnnamed2761(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3046(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2760(o["x"]);
- checkUnnamed2760(o["y"]);
+ checkUnnamed3045(o["x"]);
+ checkUnnamed3045(o["y"]);
}
core.int buildCounterVariantCall = 0;
@@ -3119,9 +3119,9 @@
if (buildCounterVariantCall < 3) {
o.callSetId = "foo";
o.callSetName = "foo";
- o.genotype = buildUnnamed2758();
- o.genotypeLikelihood = buildUnnamed2759();
- o.info = buildUnnamed2761();
+ o.genotype = buildUnnamed3043();
+ o.genotypeLikelihood = buildUnnamed3044();
+ o.info = buildUnnamed3046();
o.phaseset = "foo";
}
buildCounterVariantCall--;
@@ -3133,35 +3133,35 @@
if (buildCounterVariantCall < 3) {
unittest.expect(o.callSetId, unittest.equals('foo'));
unittest.expect(o.callSetName, unittest.equals('foo'));
- checkUnnamed2758(o.genotype);
- checkUnnamed2759(o.genotypeLikelihood);
- checkUnnamed2761(o.info);
+ checkUnnamed3043(o.genotype);
+ checkUnnamed3044(o.genotypeLikelihood);
+ checkUnnamed3046(o.info);
unittest.expect(o.phaseset, unittest.equals('foo'));
}
buildCounterVariantCall--;
}
-buildUnnamed2762() {
+buildUnnamed3047() {
var o = new core.List<api.VariantSetMetadata>();
o.add(buildVariantSetMetadata());
o.add(buildVariantSetMetadata());
return o;
}
-checkUnnamed2762(core.List<api.VariantSetMetadata> o) {
+checkUnnamed3047(core.List<api.VariantSetMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSetMetadata(o[0]);
checkVariantSetMetadata(o[1]);
}
-buildUnnamed2763() {
+buildUnnamed3048() {
var o = new core.List<api.ReferenceBound>();
o.add(buildReferenceBound());
o.add(buildReferenceBound());
return o;
}
-checkUnnamed2763(core.List<api.ReferenceBound> o) {
+checkUnnamed3048(core.List<api.ReferenceBound> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceBound(o[0]);
checkReferenceBound(o[1]);
@@ -3175,9 +3175,9 @@
o.datasetId = "foo";
o.description = "foo";
o.id = "foo";
- o.metadata = buildUnnamed2762();
+ o.metadata = buildUnnamed3047();
o.name = "foo";
- o.referenceBounds = buildUnnamed2763();
+ o.referenceBounds = buildUnnamed3048();
o.referenceSetId = "foo";
}
buildCounterVariantSet--;
@@ -3190,15 +3190,15 @@
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2762(o.metadata);
+ checkUnnamed3047(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2763(o.referenceBounds);
+ checkUnnamed3048(o.referenceBounds);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterVariantSet--;
}
-buildUnnamed2764() {
+buildUnnamed3049() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -3213,7 +3213,7 @@
return o;
}
-checkUnnamed2764(core.List<core.Object> o) {
+checkUnnamed3049(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o[0]) as core.Map;
unittest.expect(casted27, unittest.hasLength(3));
@@ -3227,17 +3227,17 @@
unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed2765() {
+buildUnnamed3050() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2764();
- o["y"] = buildUnnamed2764();
+ o["x"] = buildUnnamed3049();
+ o["y"] = buildUnnamed3049();
return o;
}
-checkUnnamed2765(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed3050(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2764(o["x"]);
- checkUnnamed2764(o["y"]);
+ checkUnnamed3049(o["x"]);
+ checkUnnamed3049(o["y"]);
}
core.int buildCounterVariantSetMetadata = 0;
@@ -3247,7 +3247,7 @@
if (buildCounterVariantSetMetadata < 3) {
o.description = "foo";
o.id = "foo";
- o.info = buildUnnamed2765();
+ o.info = buildUnnamed3050();
o.key = "foo";
o.number = "foo";
o.type = "foo";
@@ -3262,7 +3262,7 @@
if (buildCounterVariantSetMetadata < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2765(o.info);
+ checkUnnamed3050(o.info);
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -5777,12 +5777,12 @@
api.ReadgroupsetsCoveragebucketsResourceApi res =
new api.GenomicsApi(mock).readgroupsets.coveragebuckets;
var arg_readGroupSetId = "foo";
- var arg_end = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_start = "foo";
var arg_targetBucketWidth = "foo";
var arg_referenceName = "foo";
+ var arg_end = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5823,7 +5823,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
@@ -5833,6 +5832,7 @@
unittest.equals(arg_targetBucketWidth));
unittest.expect(queryMap["referenceName"].first,
unittest.equals(arg_referenceName));
+ unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5843,12 +5843,12 @@
}), true);
res
.list(arg_readGroupSetId,
- end: arg_end,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
start: arg_start,
targetBucketWidth: arg_targetBucketWidth,
referenceName: arg_referenceName,
+ end: arg_end,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListCoverageBucketsResponse response) {
diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart
index 06a6feb..8ce1f78 100644
--- a/generated/googleapis/test/gmail/v1_test.dart
+++ b/generated/googleapis/test/gmail/v1_test.dart
@@ -73,14 +73,14 @@
buildCounterAutoForwarding--;
}
-buildUnnamed153() {
+buildUnnamed157() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed153(core.List<core.String> o) {
+checkUnnamed157(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'));
@@ -91,7 +91,7 @@
var o = new api.BatchDeleteMessagesRequest();
buildCounterBatchDeleteMessagesRequest++;
if (buildCounterBatchDeleteMessagesRequest < 3) {
- o.ids = buildUnnamed153();
+ o.ids = buildUnnamed157();
}
buildCounterBatchDeleteMessagesRequest--;
return o;
@@ -100,45 +100,45 @@
checkBatchDeleteMessagesRequest(api.BatchDeleteMessagesRequest o) {
buildCounterBatchDeleteMessagesRequest++;
if (buildCounterBatchDeleteMessagesRequest < 3) {
- checkUnnamed153(o.ids);
+ checkUnnamed157(o.ids);
}
buildCounterBatchDeleteMessagesRequest--;
}
-buildUnnamed154() {
+buildUnnamed158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed154(core.List<core.String> o) {
+checkUnnamed158(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'));
}
-buildUnnamed155() {
+buildUnnamed159() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed155(core.List<core.String> o) {
+checkUnnamed159(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'));
}
-buildUnnamed156() {
+buildUnnamed160() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed156(core.List<core.String> o) {
+checkUnnamed160(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'));
@@ -149,9 +149,9 @@
var o = new api.BatchModifyMessagesRequest();
buildCounterBatchModifyMessagesRequest++;
if (buildCounterBatchModifyMessagesRequest < 3) {
- o.addLabelIds = buildUnnamed154();
- o.ids = buildUnnamed155();
- o.removeLabelIds = buildUnnamed156();
+ o.addLabelIds = buildUnnamed158();
+ o.ids = buildUnnamed159();
+ o.removeLabelIds = buildUnnamed160();
}
buildCounterBatchModifyMessagesRequest--;
return o;
@@ -160,9 +160,9 @@
checkBatchModifyMessagesRequest(api.BatchModifyMessagesRequest o) {
buildCounterBatchModifyMessagesRequest++;
if (buildCounterBatchModifyMessagesRequest < 3) {
- checkUnnamed154(o.addLabelIds);
- checkUnnamed155(o.ids);
- checkUnnamed156(o.removeLabelIds);
+ checkUnnamed158(o.addLabelIds);
+ checkUnnamed159(o.ids);
+ checkUnnamed160(o.removeLabelIds);
}
buildCounterBatchModifyMessagesRequest--;
}
@@ -211,27 +211,27 @@
buildCounterFilter--;
}
-buildUnnamed157() {
+buildUnnamed161() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed157(core.List<core.String> o) {
+checkUnnamed161(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'));
}
-buildUnnamed158() {
+buildUnnamed162() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed158(core.List<core.String> o) {
+checkUnnamed162(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'));
@@ -242,9 +242,9 @@
var o = new api.FilterAction();
buildCounterFilterAction++;
if (buildCounterFilterAction < 3) {
- o.addLabelIds = buildUnnamed157();
+ o.addLabelIds = buildUnnamed161();
o.forward = "foo";
- o.removeLabelIds = buildUnnamed158();
+ o.removeLabelIds = buildUnnamed162();
}
buildCounterFilterAction--;
return o;
@@ -253,9 +253,9 @@
checkFilterAction(api.FilterAction o) {
buildCounterFilterAction++;
if (buildCounterFilterAction < 3) {
- checkUnnamed157(o.addLabelIds);
+ checkUnnamed161(o.addLabelIds);
unittest.expect(o.forward, unittest.equals('foo'));
- checkUnnamed158(o.removeLabelIds);
+ checkUnnamed162(o.removeLabelIds);
}
buildCounterFilterAction--;
}
@@ -316,66 +316,66 @@
buildCounterForwardingAddress--;
}
-buildUnnamed159() {
+buildUnnamed163() {
var o = new core.List<api.HistoryLabelAdded>();
o.add(buildHistoryLabelAdded());
o.add(buildHistoryLabelAdded());
return o;
}
-checkUnnamed159(core.List<api.HistoryLabelAdded> o) {
+checkUnnamed163(core.List<api.HistoryLabelAdded> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryLabelAdded(o[0]);
checkHistoryLabelAdded(o[1]);
}
-buildUnnamed160() {
+buildUnnamed164() {
var o = new core.List<api.HistoryLabelRemoved>();
o.add(buildHistoryLabelRemoved());
o.add(buildHistoryLabelRemoved());
return o;
}
-checkUnnamed160(core.List<api.HistoryLabelRemoved> o) {
+checkUnnamed164(core.List<api.HistoryLabelRemoved> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryLabelRemoved(o[0]);
checkHistoryLabelRemoved(o[1]);
}
-buildUnnamed161() {
+buildUnnamed165() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed161(core.List<api.Message> o) {
+checkUnnamed165(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
}
-buildUnnamed162() {
+buildUnnamed166() {
var o = new core.List<api.HistoryMessageAdded>();
o.add(buildHistoryMessageAdded());
o.add(buildHistoryMessageAdded());
return o;
}
-checkUnnamed162(core.List<api.HistoryMessageAdded> o) {
+checkUnnamed166(core.List<api.HistoryMessageAdded> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryMessageAdded(o[0]);
checkHistoryMessageAdded(o[1]);
}
-buildUnnamed163() {
+buildUnnamed167() {
var o = new core.List<api.HistoryMessageDeleted>();
o.add(buildHistoryMessageDeleted());
o.add(buildHistoryMessageDeleted());
return o;
}
-checkUnnamed163(core.List<api.HistoryMessageDeleted> o) {
+checkUnnamed167(core.List<api.HistoryMessageDeleted> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryMessageDeleted(o[0]);
checkHistoryMessageDeleted(o[1]);
@@ -387,11 +387,11 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
o.id = "foo";
- o.labelsAdded = buildUnnamed159();
- o.labelsRemoved = buildUnnamed160();
- o.messages = buildUnnamed161();
- o.messagesAdded = buildUnnamed162();
- o.messagesDeleted = buildUnnamed163();
+ o.labelsAdded = buildUnnamed163();
+ o.labelsRemoved = buildUnnamed164();
+ o.messages = buildUnnamed165();
+ o.messagesAdded = buildUnnamed166();
+ o.messagesDeleted = buildUnnamed167();
}
buildCounterHistory--;
return o;
@@ -401,23 +401,23 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed159(o.labelsAdded);
- checkUnnamed160(o.labelsRemoved);
- checkUnnamed161(o.messages);
- checkUnnamed162(o.messagesAdded);
- checkUnnamed163(o.messagesDeleted);
+ checkUnnamed163(o.labelsAdded);
+ checkUnnamed164(o.labelsRemoved);
+ checkUnnamed165(o.messages);
+ checkUnnamed166(o.messagesAdded);
+ checkUnnamed167(o.messagesDeleted);
}
buildCounterHistory--;
}
-buildUnnamed164() {
+buildUnnamed168() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed164(core.List<core.String> o) {
+checkUnnamed168(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'));
@@ -428,7 +428,7 @@
var o = new api.HistoryLabelAdded();
buildCounterHistoryLabelAdded++;
if (buildCounterHistoryLabelAdded < 3) {
- o.labelIds = buildUnnamed164();
+ o.labelIds = buildUnnamed168();
o.message = buildMessage();
}
buildCounterHistoryLabelAdded--;
@@ -438,20 +438,20 @@
checkHistoryLabelAdded(api.HistoryLabelAdded o) {
buildCounterHistoryLabelAdded++;
if (buildCounterHistoryLabelAdded < 3) {
- checkUnnamed164(o.labelIds);
+ checkUnnamed168(o.labelIds);
checkMessage(o.message);
}
buildCounterHistoryLabelAdded--;
}
-buildUnnamed165() {
+buildUnnamed169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed165(core.List<core.String> o) {
+checkUnnamed169(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'));
@@ -462,7 +462,7 @@
var o = new api.HistoryLabelRemoved();
buildCounterHistoryLabelRemoved++;
if (buildCounterHistoryLabelRemoved < 3) {
- o.labelIds = buildUnnamed165();
+ o.labelIds = buildUnnamed169();
o.message = buildMessage();
}
buildCounterHistoryLabelRemoved--;
@@ -472,7 +472,7 @@
checkHistoryLabelRemoved(api.HistoryLabelRemoved o) {
buildCounterHistoryLabelRemoved++;
if (buildCounterHistoryLabelRemoved < 3) {
- checkUnnamed165(o.labelIds);
+ checkUnnamed169(o.labelIds);
checkMessage(o.message);
}
buildCounterHistoryLabelRemoved--;
@@ -576,14 +576,14 @@
buildCounterLabel--;
}
-buildUnnamed166() {
+buildUnnamed170() {
var o = new core.List<api.Draft>();
o.add(buildDraft());
o.add(buildDraft());
return o;
}
-checkUnnamed166(core.List<api.Draft> o) {
+checkUnnamed170(core.List<api.Draft> o) {
unittest.expect(o, unittest.hasLength(2));
checkDraft(o[0]);
checkDraft(o[1]);
@@ -594,7 +594,7 @@
var o = new api.ListDraftsResponse();
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- o.drafts = buildUnnamed166();
+ o.drafts = buildUnnamed170();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -605,21 +605,21 @@
checkListDraftsResponse(api.ListDraftsResponse o) {
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- checkUnnamed166(o.drafts);
+ checkUnnamed170(o.drafts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListDraftsResponse--;
}
-buildUnnamed167() {
+buildUnnamed171() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed167(core.List<api.Filter> o) {
+checkUnnamed171(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -630,7 +630,7 @@
var o = new api.ListFiltersResponse();
buildCounterListFiltersResponse++;
if (buildCounterListFiltersResponse < 3) {
- o.filter = buildUnnamed167();
+ o.filter = buildUnnamed171();
}
buildCounterListFiltersResponse--;
return o;
@@ -639,19 +639,19 @@
checkListFiltersResponse(api.ListFiltersResponse o) {
buildCounterListFiltersResponse++;
if (buildCounterListFiltersResponse < 3) {
- checkUnnamed167(o.filter);
+ checkUnnamed171(o.filter);
}
buildCounterListFiltersResponse--;
}
-buildUnnamed168() {
+buildUnnamed172() {
var o = new core.List<api.ForwardingAddress>();
o.add(buildForwardingAddress());
o.add(buildForwardingAddress());
return o;
}
-checkUnnamed168(core.List<api.ForwardingAddress> o) {
+checkUnnamed172(core.List<api.ForwardingAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingAddress(o[0]);
checkForwardingAddress(o[1]);
@@ -662,7 +662,7 @@
var o = new api.ListForwardingAddressesResponse();
buildCounterListForwardingAddressesResponse++;
if (buildCounterListForwardingAddressesResponse < 3) {
- o.forwardingAddresses = buildUnnamed168();
+ o.forwardingAddresses = buildUnnamed172();
}
buildCounterListForwardingAddressesResponse--;
return o;
@@ -671,19 +671,19 @@
checkListForwardingAddressesResponse(api.ListForwardingAddressesResponse o) {
buildCounterListForwardingAddressesResponse++;
if (buildCounterListForwardingAddressesResponse < 3) {
- checkUnnamed168(o.forwardingAddresses);
+ checkUnnamed172(o.forwardingAddresses);
}
buildCounterListForwardingAddressesResponse--;
}
-buildUnnamed169() {
+buildUnnamed173() {
var o = new core.List<api.History>();
o.add(buildHistory());
o.add(buildHistory());
return o;
}
-checkUnnamed169(core.List<api.History> o) {
+checkUnnamed173(core.List<api.History> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistory(o[0]);
checkHistory(o[1]);
@@ -694,7 +694,7 @@
var o = new api.ListHistoryResponse();
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- o.history = buildUnnamed169();
+ o.history = buildUnnamed173();
o.historyId = "foo";
o.nextPageToken = "foo";
}
@@ -705,21 +705,21 @@
checkListHistoryResponse(api.ListHistoryResponse o) {
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- checkUnnamed169(o.history);
+ checkUnnamed173(o.history);
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHistoryResponse--;
}
-buildUnnamed170() {
+buildUnnamed174() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed170(core.List<api.Label> o) {
+checkUnnamed174(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
@@ -730,7 +730,7 @@
var o = new api.ListLabelsResponse();
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- o.labels = buildUnnamed170();
+ o.labels = buildUnnamed174();
}
buildCounterListLabelsResponse--;
return o;
@@ -739,19 +739,19 @@
checkListLabelsResponse(api.ListLabelsResponse o) {
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- checkUnnamed170(o.labels);
+ checkUnnamed174(o.labels);
}
buildCounterListLabelsResponse--;
}
-buildUnnamed171() {
+buildUnnamed175() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed171(core.List<api.Message> o) {
+checkUnnamed175(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -762,7 +762,7 @@
var o = new api.ListMessagesResponse();
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- o.messages = buildUnnamed171();
+ o.messages = buildUnnamed175();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -773,21 +773,21 @@
checkListMessagesResponse(api.ListMessagesResponse o) {
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- checkUnnamed171(o.messages);
+ checkUnnamed175(o.messages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListMessagesResponse--;
}
-buildUnnamed172() {
+buildUnnamed176() {
var o = new core.List<api.SendAs>();
o.add(buildSendAs());
o.add(buildSendAs());
return o;
}
-checkUnnamed172(core.List<api.SendAs> o) {
+checkUnnamed176(core.List<api.SendAs> o) {
unittest.expect(o, unittest.hasLength(2));
checkSendAs(o[0]);
checkSendAs(o[1]);
@@ -798,7 +798,7 @@
var o = new api.ListSendAsResponse();
buildCounterListSendAsResponse++;
if (buildCounterListSendAsResponse < 3) {
- o.sendAs = buildUnnamed172();
+ o.sendAs = buildUnnamed176();
}
buildCounterListSendAsResponse--;
return o;
@@ -807,19 +807,19 @@
checkListSendAsResponse(api.ListSendAsResponse o) {
buildCounterListSendAsResponse++;
if (buildCounterListSendAsResponse < 3) {
- checkUnnamed172(o.sendAs);
+ checkUnnamed176(o.sendAs);
}
buildCounterListSendAsResponse--;
}
-buildUnnamed173() {
+buildUnnamed177() {
var o = new core.List<api.SmimeInfo>();
o.add(buildSmimeInfo());
o.add(buildSmimeInfo());
return o;
}
-checkUnnamed173(core.List<api.SmimeInfo> o) {
+checkUnnamed177(core.List<api.SmimeInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSmimeInfo(o[0]);
checkSmimeInfo(o[1]);
@@ -830,7 +830,7 @@
var o = new api.ListSmimeInfoResponse();
buildCounterListSmimeInfoResponse++;
if (buildCounterListSmimeInfoResponse < 3) {
- o.smimeInfo = buildUnnamed173();
+ o.smimeInfo = buildUnnamed177();
}
buildCounterListSmimeInfoResponse--;
return o;
@@ -839,19 +839,19 @@
checkListSmimeInfoResponse(api.ListSmimeInfoResponse o) {
buildCounterListSmimeInfoResponse++;
if (buildCounterListSmimeInfoResponse < 3) {
- checkUnnamed173(o.smimeInfo);
+ checkUnnamed177(o.smimeInfo);
}
buildCounterListSmimeInfoResponse--;
}
-buildUnnamed174() {
+buildUnnamed178() {
var o = new core.List<api.Thread>();
o.add(buildThread());
o.add(buildThread());
return o;
}
-checkUnnamed174(core.List<api.Thread> o) {
+checkUnnamed178(core.List<api.Thread> o) {
unittest.expect(o, unittest.hasLength(2));
checkThread(o[0]);
checkThread(o[1]);
@@ -864,7 +864,7 @@
if (buildCounterListThreadsResponse < 3) {
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
- o.threads = buildUnnamed174();
+ o.threads = buildUnnamed178();
}
buildCounterListThreadsResponse--;
return o;
@@ -875,19 +875,19 @@
if (buildCounterListThreadsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
- checkUnnamed174(o.threads);
+ checkUnnamed178(o.threads);
}
buildCounterListThreadsResponse--;
}
-buildUnnamed175() {
+buildUnnamed179() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed175(core.List<core.String> o) {
+checkUnnamed179(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'));
@@ -901,7 +901,7 @@
o.historyId = "foo";
o.id = "foo";
o.internalDate = "foo";
- o.labelIds = buildUnnamed175();
+ o.labelIds = buildUnnamed179();
o.payload = buildMessagePart();
o.raw = "foo";
o.sizeEstimate = 42;
@@ -918,7 +918,7 @@
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalDate, unittest.equals('foo'));
- checkUnnamed175(o.labelIds);
+ checkUnnamed179(o.labelIds);
checkMessagePart(o.payload);
unittest.expect(o.raw, unittest.equals('foo'));
unittest.expect(o.sizeEstimate, unittest.equals(42));
@@ -928,27 +928,27 @@
buildCounterMessage--;
}
-buildUnnamed176() {
+buildUnnamed180() {
var o = new core.List<api.MessagePartHeader>();
o.add(buildMessagePartHeader());
o.add(buildMessagePartHeader());
return o;
}
-checkUnnamed176(core.List<api.MessagePartHeader> o) {
+checkUnnamed180(core.List<api.MessagePartHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePartHeader(o[0]);
checkMessagePartHeader(o[1]);
}
-buildUnnamed177() {
+buildUnnamed181() {
var o = new core.List<api.MessagePart>();
o.add(buildMessagePart());
o.add(buildMessagePart());
return o;
}
-checkUnnamed177(core.List<api.MessagePart> o) {
+checkUnnamed181(core.List<api.MessagePart> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePart(o[0]);
checkMessagePart(o[1]);
@@ -961,10 +961,10 @@
if (buildCounterMessagePart < 3) {
o.body = buildMessagePartBody();
o.filename = "foo";
- o.headers = buildUnnamed176();
+ o.headers = buildUnnamed180();
o.mimeType = "foo";
o.partId = "foo";
- o.parts = buildUnnamed177();
+ o.parts = buildUnnamed181();
}
buildCounterMessagePart--;
return o;
@@ -975,10 +975,10 @@
if (buildCounterMessagePart < 3) {
checkMessagePartBody(o.body);
unittest.expect(o.filename, unittest.equals('foo'));
- checkUnnamed176(o.headers);
+ checkUnnamed180(o.headers);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.partId, unittest.equals('foo'));
- checkUnnamed177(o.parts);
+ checkUnnamed181(o.parts);
}
buildCounterMessagePart--;
}
@@ -1027,27 +1027,27 @@
buildCounterMessagePartHeader--;
}
-buildUnnamed178() {
+buildUnnamed182() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed178(core.List<core.String> o) {
+checkUnnamed182(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'));
}
-buildUnnamed179() {
+buildUnnamed183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed179(core.List<core.String> o) {
+checkUnnamed183(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'));
@@ -1058,8 +1058,8 @@
var o = new api.ModifyMessageRequest();
buildCounterModifyMessageRequest++;
if (buildCounterModifyMessageRequest < 3) {
- o.addLabelIds = buildUnnamed178();
- o.removeLabelIds = buildUnnamed179();
+ o.addLabelIds = buildUnnamed182();
+ o.removeLabelIds = buildUnnamed183();
}
buildCounterModifyMessageRequest--;
return o;
@@ -1068,33 +1068,33 @@
checkModifyMessageRequest(api.ModifyMessageRequest o) {
buildCounterModifyMessageRequest++;
if (buildCounterModifyMessageRequest < 3) {
- checkUnnamed178(o.addLabelIds);
- checkUnnamed179(o.removeLabelIds);
+ checkUnnamed182(o.addLabelIds);
+ checkUnnamed183(o.removeLabelIds);
}
buildCounterModifyMessageRequest--;
}
-buildUnnamed180() {
+buildUnnamed184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed180(core.List<core.String> o) {
+checkUnnamed184(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'));
}
-buildUnnamed181() {
+buildUnnamed185() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed181(core.List<core.String> o) {
+checkUnnamed185(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'));
@@ -1105,8 +1105,8 @@
var o = new api.ModifyThreadRequest();
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- o.addLabelIds = buildUnnamed180();
- o.removeLabelIds = buildUnnamed181();
+ o.addLabelIds = buildUnnamed184();
+ o.removeLabelIds = buildUnnamed185();
}
buildCounterModifyThreadRequest--;
return o;
@@ -1115,8 +1115,8 @@
checkModifyThreadRequest(api.ModifyThreadRequest o) {
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- checkUnnamed180(o.addLabelIds);
- checkUnnamed181(o.removeLabelIds);
+ checkUnnamed184(o.addLabelIds);
+ checkUnnamed185(o.removeLabelIds);
}
buildCounterModifyThreadRequest--;
}
@@ -1260,14 +1260,14 @@
buildCounterSmtpMsa--;
}
-buildUnnamed182() {
+buildUnnamed186() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed182(core.List<api.Message> o) {
+checkUnnamed186(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -1280,7 +1280,7 @@
if (buildCounterThread < 3) {
o.historyId = "foo";
o.id = "foo";
- o.messages = buildUnnamed182();
+ o.messages = buildUnnamed186();
o.snippet = "foo";
}
buildCounterThread--;
@@ -1292,7 +1292,7 @@
if (buildCounterThread < 3) {
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed182(o.messages);
+ checkUnnamed186(o.messages);
unittest.expect(o.snippet, unittest.equals('foo'));
}
buildCounterThread--;
@@ -1331,14 +1331,14 @@
buildCounterVacationSettings--;
}
-buildUnnamed183() {
+buildUnnamed187() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed183(core.List<core.String> o) {
+checkUnnamed187(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'));
@@ -1350,7 +1350,7 @@
buildCounterWatchRequest++;
if (buildCounterWatchRequest < 3) {
o.labelFilterAction = "foo";
- o.labelIds = buildUnnamed183();
+ o.labelIds = buildUnnamed187();
o.topicName = "foo";
}
buildCounterWatchRequest--;
@@ -1361,7 +1361,7 @@
buildCounterWatchRequest++;
if (buildCounterWatchRequest < 3) {
unittest.expect(o.labelFilterAction, unittest.equals('foo'));
- checkUnnamed183(o.labelIds);
+ checkUnnamed187(o.labelIds);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterWatchRequest--;
@@ -1388,58 +1388,6 @@
buildCounterWatchResponse--;
}
-buildUnnamed184() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed184(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'));
-}
-
-buildUnnamed185() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed185(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'));
-}
-
-buildUnnamed186() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed186(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'));
-}
-
-buildUnnamed187() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed187(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'));
-}
-
buildUnnamed188() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1453,6 +1401,58 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed189() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed189(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'));
+}
+
+buildUnnamed190() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed190(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'));
+}
+
+buildUnnamed191() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed191(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'));
+}
+
+buildUnnamed192() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed192(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'));
+}
+
main() {
unittest.group("obj-schema-AutoForwarding", () {
unittest.test("to-json--from-json", () {
@@ -2240,7 +2240,7 @@
var mock = new HttpServerMock();
api.UsersHistoryResourceApi res = new api.GmailApi(mock).users.history;
var arg_userId = "foo";
- var arg_historyTypes = buildUnnamed184();
+ var arg_historyTypes = buildUnnamed188();
var arg_labelId = "foo";
var arg_maxResults = 42;
var arg_pageToken = "foo";
@@ -2754,7 +2754,7 @@
var arg_userId = "foo";
var arg_id = "foo";
var arg_format = "foo";
- var arg_metadataHeaders = buildUnnamed185();
+ var arg_metadataHeaders = buildUnnamed189();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2943,7 +2943,7 @@
api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages;
var arg_userId = "foo";
var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed186();
+ var arg_labelIds = buildUnnamed190();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_q = "foo";
@@ -4704,7 +4704,7 @@
var arg_userId = "foo";
var arg_id = "foo";
var arg_format = "foo";
- var arg_metadataHeaders = buildUnnamed187();
+ var arg_metadataHeaders = buildUnnamed191();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4759,7 +4759,7 @@
api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads;
var arg_userId = "foo";
var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed188();
+ var arg_labelIds = buildUnnamed192();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_q = "foo";
diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart
index 1ae3fce..b995152 100644
--- a/generated/googleapis/test/iam/v1_test.dart
+++ b/generated/googleapis/test/iam/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterAuditData--;
}
-buildUnnamed1262() {
+buildUnnamed1268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1262(core.List<core.String> o) {
+checkUnnamed1268(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'));
@@ -87,7 +87,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1262();
+ o.members = buildUnnamed1268();
o.role = "foo";
}
buildCounterBinding--;
@@ -97,7 +97,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1262(o.members);
+ checkUnnamed1268(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -231,14 +231,14 @@
buildCounterExpr--;
}
-buildUnnamed1263() {
+buildUnnamed1269() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed1263(core.List<api.Role> o) {
+checkUnnamed1269(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -250,7 +250,7 @@
buildCounterListRolesResponse++;
if (buildCounterListRolesResponse < 3) {
o.nextPageToken = "foo";
- o.roles = buildUnnamed1263();
+ o.roles = buildUnnamed1269();
}
buildCounterListRolesResponse--;
return o;
@@ -260,19 +260,19 @@
buildCounterListRolesResponse++;
if (buildCounterListRolesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1263(o.roles);
+ checkUnnamed1269(o.roles);
}
buildCounterListRolesResponse--;
}
-buildUnnamed1264() {
+buildUnnamed1270() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed1264(core.List<api.ServiceAccountKey> o) {
+checkUnnamed1270(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -283,7 +283,7 @@
var o = new api.ListServiceAccountKeysResponse();
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- o.keys = buildUnnamed1264();
+ o.keys = buildUnnamed1270();
}
buildCounterListServiceAccountKeysResponse--;
return o;
@@ -292,19 +292,19 @@
checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- checkUnnamed1264(o.keys);
+ checkUnnamed1270(o.keys);
}
buildCounterListServiceAccountKeysResponse--;
}
-buildUnnamed1265() {
+buildUnnamed1271() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1265(core.List<api.ServiceAccount> o) {
+checkUnnamed1271(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -315,7 +315,7 @@
var o = new api.ListServiceAccountsResponse();
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- o.accounts = buildUnnamed1265();
+ o.accounts = buildUnnamed1271();
o.nextPageToken = "foo";
}
buildCounterListServiceAccountsResponse--;
@@ -325,7 +325,7 @@
checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- checkUnnamed1265(o.accounts);
+ checkUnnamed1271(o.accounts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListServiceAccountsResponse--;
@@ -360,14 +360,14 @@
buildCounterPermission--;
}
-buildUnnamed1266() {
+buildUnnamed1272() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1266(core.List<api.Binding> o) {
+checkUnnamed1272(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -378,7 +378,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1266();
+ o.bindings = buildUnnamed1272();
o.etag = "foo";
o.version = 42;
}
@@ -389,21 +389,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1266(o.bindings);
+ checkUnnamed1272(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1267() {
+buildUnnamed1273() {
var o = new core.List<api.BindingDelta>();
o.add(buildBindingDelta());
o.add(buildBindingDelta());
return o;
}
-checkUnnamed1267(core.List<api.BindingDelta> o) {
+checkUnnamed1273(core.List<api.BindingDelta> o) {
unittest.expect(o, unittest.hasLength(2));
checkBindingDelta(o[0]);
checkBindingDelta(o[1]);
@@ -414,7 +414,7 @@
var o = new api.PolicyDelta();
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- o.bindingDeltas = buildUnnamed1267();
+ o.bindingDeltas = buildUnnamed1273();
}
buildCounterPolicyDelta--;
return o;
@@ -423,7 +423,7 @@
checkPolicyDelta(api.PolicyDelta o) {
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- checkUnnamed1267(o.bindingDeltas);
+ checkUnnamed1273(o.bindingDeltas);
}
buildCounterPolicyDelta--;
}
@@ -453,14 +453,14 @@
buildCounterQueryGrantableRolesRequest--;
}
-buildUnnamed1268() {
+buildUnnamed1274() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed1268(core.List<api.Role> o) {
+checkUnnamed1274(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -472,7 +472,7 @@
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
o.nextPageToken = "foo";
- o.roles = buildUnnamed1268();
+ o.roles = buildUnnamed1274();
}
buildCounterQueryGrantableRolesResponse--;
return o;
@@ -482,7 +482,7 @@
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1268(o.roles);
+ checkUnnamed1274(o.roles);
}
buildCounterQueryGrantableRolesResponse--;
}
@@ -510,14 +510,14 @@
buildCounterQueryTestablePermissionsRequest--;
}
-buildUnnamed1269() {
+buildUnnamed1275() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1269(core.List<api.Permission> o) {
+checkUnnamed1275(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -529,7 +529,7 @@
buildCounterQueryTestablePermissionsResponse++;
if (buildCounterQueryTestablePermissionsResponse < 3) {
o.nextPageToken = "foo";
- o.permissions = buildUnnamed1269();
+ o.permissions = buildUnnamed1275();
}
buildCounterQueryTestablePermissionsResponse--;
return o;
@@ -539,19 +539,19 @@
buildCounterQueryTestablePermissionsResponse++;
if (buildCounterQueryTestablePermissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1269(o.permissions);
+ checkUnnamed1275(o.permissions);
}
buildCounterQueryTestablePermissionsResponse--;
}
-buildUnnamed1270() {
+buildUnnamed1276() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1270(core.List<core.String> o) {
+checkUnnamed1276(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'));
@@ -565,7 +565,7 @@
o.deleted = true;
o.description = "foo";
o.etag = "foo";
- o.includedPermissions = buildUnnamed1270();
+ o.includedPermissions = buildUnnamed1276();
o.name = "foo";
o.stage = "foo";
o.title = "foo";
@@ -580,7 +580,7 @@
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1270(o.includedPermissions);
+ checkUnnamed1276(o.includedPermissions);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stage, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -749,14 +749,14 @@
buildCounterSignJwtResponse--;
}
-buildUnnamed1271() {
+buildUnnamed1277() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1271(core.List<core.String> o) {
+checkUnnamed1277(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'));
@@ -767,7 +767,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1271();
+ o.permissions = buildUnnamed1277();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -776,19 +776,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1271(o.permissions);
+ checkUnnamed1277(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1272() {
+buildUnnamed1278() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1272(core.List<core.String> o) {
+checkUnnamed1278(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'));
@@ -799,7 +799,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1272();
+ o.permissions = buildUnnamed1278();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -808,7 +808,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1272(o.permissions);
+ checkUnnamed1278(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -832,14 +832,14 @@
buildCounterUndeleteRoleRequest--;
}
-buildUnnamed1273() {
+buildUnnamed1279() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1273(core.List<core.String> o) {
+checkUnnamed1279(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'));
@@ -1246,10 +1246,10 @@
api.OrganizationsRolesResourceApi res =
new api.IamApi(mock).organizations.roles;
var arg_parent = "foo";
- var arg_showDeleted = true;
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_showDeleted = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1283,12 +1283,12 @@
}
}
unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1299,10 +1299,10 @@
}), true);
res
.list(arg_parent,
- showDeleted: arg_showDeleted,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
+ showDeleted: arg_showDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListRolesResponse response) {
checkListRolesResponse(response);
@@ -1645,10 +1645,10 @@
var mock = new HttpServerMock();
api.ProjectsRolesResourceApi res = new api.IamApi(mock).projects.roles;
var arg_parent = "foo";
- var arg_showDeleted = true;
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_showDeleted = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1682,12 +1682,12 @@
}
}
unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1698,10 +1698,10 @@
}), true);
res
.list(arg_parent,
- showDeleted: arg_showDeleted,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
+ showDeleted: arg_showDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListRolesResponse response) {
checkListRolesResponse(response);
@@ -2549,7 +2549,7 @@
api.ProjectsServiceAccountsKeysResourceApi res =
new api.IamApi(mock).projects.serviceAccounts.keys;
var arg_name = "foo";
- var arg_keyTypes = buildUnnamed1273();
+ var arg_keyTypes = buildUnnamed1279();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2653,11 +2653,11 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.RolesResourceApi res = new api.IamApi(mock).roles;
- var arg_view = "foo";
var arg_parent = "foo";
var arg_showDeleted = true;
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2689,7 +2689,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
@@ -2697,6 +2696,7 @@
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2707,11 +2707,11 @@
}), true);
res
.list(
- view: arg_view,
parent: arg_parent,
showDeleted: arg_showDeleted,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListRolesResponse response) {
checkListRolesResponse(response);
diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart
index 94bb15d..ae6a0a1 100644
--- a/generated/googleapis/test/identitytoolkit/v3_test.dart
+++ b/generated/googleapis/test/identitytoolkit/v3_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2580() {
+buildUnnamed2586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2580(core.List<core.String> o) {
+checkUnnamed2586(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'));
}
-buildUnnamed2581() {
+buildUnnamed2587() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2581(core.List<core.String> o) {
+checkUnnamed2587(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'));
@@ -81,7 +81,7 @@
var o = new api.CreateAuthUriResponse();
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- o.allProviders = buildUnnamed2580();
+ o.allProviders = buildUnnamed2586();
o.authUri = "foo";
o.captchaRequired = true;
o.forExistingProvider = true;
@@ -89,7 +89,7 @@
o.providerId = "foo";
o.registered = true;
o.sessionId = "foo";
- o.signinMethods = buildUnnamed2581();
+ o.signinMethods = buildUnnamed2587();
}
buildCounterCreateAuthUriResponse--;
return o;
@@ -98,7 +98,7 @@
checkCreateAuthUriResponse(api.CreateAuthUriResponse o) {
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- checkUnnamed2580(o.allProviders);
+ checkUnnamed2586(o.allProviders);
unittest.expect(o.authUri, unittest.equals('foo'));
unittest.expect(o.captchaRequired, unittest.isTrue);
unittest.expect(o.forExistingProvider, unittest.isTrue);
@@ -106,7 +106,7 @@
unittest.expect(o.providerId, unittest.equals('foo'));
unittest.expect(o.registered, unittest.isTrue);
unittest.expect(o.sessionId, unittest.equals('foo'));
- checkUnnamed2581(o.signinMethods);
+ checkUnnamed2587(o.signinMethods);
}
buildCounterCreateAuthUriResponse--;
}
@@ -130,14 +130,14 @@
buildCounterDeleteAccountResponse--;
}
-buildUnnamed2582() {
+buildUnnamed2588() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2582(core.List<api.UserInfo> o) {
+checkUnnamed2588(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -150,7 +150,7 @@
if (buildCounterDownloadAccountResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.users = buildUnnamed2582();
+ o.users = buildUnnamed2588();
}
buildCounterDownloadAccountResponse--;
return o;
@@ -161,7 +161,7 @@
if (buildCounterDownloadAccountResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2582(o.users);
+ checkUnnamed2588(o.users);
}
buildCounterDownloadAccountResponse--;
}
@@ -226,14 +226,14 @@
buildCounterEmailTemplate--;
}
-buildUnnamed2583() {
+buildUnnamed2589() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2583(core.List<api.UserInfo> o) {
+checkUnnamed2589(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -245,7 +245,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
o.kind = "foo";
- o.users = buildUnnamed2583();
+ o.users = buildUnnamed2589();
}
buildCounterGetAccountInfoResponse--;
return o;
@@ -255,7 +255,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2583(o.users);
+ checkUnnamed2589(o.users);
}
buildCounterGetAccountInfoResponse--;
}
@@ -306,14 +306,14 @@
buildCounterGetRecaptchaParamResponse--;
}
-buildUnnamed2584() {
+buildUnnamed2590() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2584(core.Map<core.String, core.String> o) {
+checkUnnamed2590(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -329,7 +329,7 @@
o.clientId = "foo";
o.context = "foo";
o.continueUri = "foo";
- o.customParameter = buildUnnamed2584();
+ o.customParameter = buildUnnamed2590();
o.hostedDomain = "foo";
o.identifier = "foo";
o.oauthConsumerKey = "foo";
@@ -352,7 +352,7 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.context, unittest.equals('foo'));
unittest.expect(o.continueUri, unittest.equals('foo'));
- checkUnnamed2584(o.customParameter);
+ checkUnnamed2590(o.customParameter);
unittest.expect(o.hostedDomain, unittest.equals('foo'));
unittest.expect(o.identifier, unittest.equals('foo'));
unittest.expect(o.oauthConsumerKey, unittest.equals('foo'));
@@ -439,40 +439,40 @@
buildCounterIdentitytoolkitRelyingpartyEmailLinkSigninRequest--;
}
-buildUnnamed2585() {
+buildUnnamed2591() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2585(core.List<core.String> o) {
+checkUnnamed2591(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'));
}
-buildUnnamed2586() {
+buildUnnamed2592() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2586(core.List<core.String> o) {
+checkUnnamed2592(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'));
}
-buildUnnamed2587() {
+buildUnnamed2593() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2587(core.List<core.String> o) {
+checkUnnamed2593(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'));
@@ -484,10 +484,10 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
o.delegatedProjectNumber = "foo";
- o.email = buildUnnamed2585();
+ o.email = buildUnnamed2591();
o.idToken = "foo";
- o.localId = buildUnnamed2586();
- o.phoneNumber = buildUnnamed2587();
+ o.localId = buildUnnamed2592();
+ o.phoneNumber = buildUnnamed2593();
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
return o;
@@ -498,35 +498,35 @@
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2585(o.email);
+ checkUnnamed2591(o.email);
unittest.expect(o.idToken, unittest.equals('foo'));
- checkUnnamed2586(o.localId);
- checkUnnamed2587(o.phoneNumber);
+ checkUnnamed2592(o.localId);
+ checkUnnamed2593(o.phoneNumber);
}
buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
}
-buildUnnamed2588() {
+buildUnnamed2594() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2588(core.List<core.String> o) {
+checkUnnamed2594(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'));
}
-buildUnnamed2589() {
+buildUnnamed2595() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2589(core.List<api.IdpConfig> o) {
+checkUnnamed2595(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -539,11 +539,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2588();
+ o.authorizedDomains = buildUnnamed2594();
o.changeEmailTemplate = buildEmailTemplate();
o.dynamicLinksDomain = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2589();
+ o.idpConfig = buildUnnamed2595();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.projectId = "foo";
o.resetPasswordTemplate = buildEmailTemplate();
@@ -560,11 +560,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2588(o.authorizedDomains);
+ checkUnnamed2594(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.dynamicLinksDomain, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2589(o.idpConfig);
+ checkUnnamed2595(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
unittest.expect(o.projectId, unittest.equals('foo'));
checkEmailTemplate(o.resetPasswordTemplate);
@@ -661,40 +661,40 @@
buildCounterIdentitytoolkitRelyingpartySendVerificationCodeResponse--;
}
-buildUnnamed2590() {
+buildUnnamed2596() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2590(core.List<core.String> o) {
+checkUnnamed2596(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'));
}
-buildUnnamed2591() {
+buildUnnamed2597() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2591(core.List<core.String> o) {
+checkUnnamed2597(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'));
}
-buildUnnamed2592() {
+buildUnnamed2598() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2592(core.List<core.String> o) {
+checkUnnamed2598(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'));
@@ -710,8 +710,8 @@
o.createdAt = "foo";
o.customAttributes = "foo";
o.delegatedProjectNumber = "foo";
- o.deleteAttribute = buildUnnamed2590();
- o.deleteProvider = buildUnnamed2591();
+ o.deleteAttribute = buildUnnamed2596();
+ o.deleteProvider = buildUnnamed2597();
o.disableUser = true;
o.displayName = "foo";
o.email = "foo";
@@ -724,7 +724,7 @@
o.password = "foo";
o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.provider = buildUnnamed2592();
+ o.provider = buildUnnamed2598();
o.returnSecureToken = true;
o.upgradeToFederatedLogin = true;
o.validSince = "foo";
@@ -742,8 +742,8 @@
unittest.expect(o.createdAt, unittest.equals('foo'));
unittest.expect(o.customAttributes, unittest.equals('foo'));
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed2590(o.deleteAttribute);
- checkUnnamed2591(o.deleteProvider);
+ checkUnnamed2596(o.deleteAttribute);
+ checkUnnamed2597(o.deleteProvider);
unittest.expect(o.disableUser, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -756,7 +756,7 @@
unittest.expect(o.password, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2592(o.provider);
+ checkUnnamed2598(o.provider);
unittest.expect(o.returnSecureToken, unittest.isTrue);
unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue);
unittest.expect(o.validSince, unittest.equals('foo'));
@@ -764,27 +764,27 @@
buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
}
-buildUnnamed2593() {
+buildUnnamed2599() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2593(core.List<core.String> o) {
+checkUnnamed2599(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'));
}
-buildUnnamed2594() {
+buildUnnamed2600() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed2594(core.List<api.IdpConfig> o) {
+checkUnnamed2600(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -797,11 +797,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed2593();
+ o.authorizedDomains = buildUnnamed2599();
o.changeEmailTemplate = buildEmailTemplate();
o.delegatedProjectNumber = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed2594();
+ o.idpConfig = buildUnnamed2600();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.resetPasswordTemplate = buildEmailTemplate();
o.useEmailSending = true;
@@ -817,11 +817,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed2593(o.authorizedDomains);
+ checkUnnamed2599(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed2594(o.idpConfig);
+ checkUnnamed2600(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
checkEmailTemplate(o.resetPasswordTemplate);
unittest.expect(o.useEmailSending, unittest.isTrue);
@@ -934,14 +934,14 @@
buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--;
}
-buildUnnamed2595() {
+buildUnnamed2601() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed2595(core.List<api.UserInfo> o) {
+checkUnnamed2601(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -965,7 +965,7 @@
o.sanityCheck = true;
o.signerKey = "foo";
o.targetProjectId = "foo";
- o.users = buildUnnamed2595();
+ o.users = buildUnnamed2601();
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
return o;
@@ -988,7 +988,7 @@
unittest.expect(o.sanityCheck, unittest.isTrue);
unittest.expect(o.signerKey, unittest.equals('foo'));
unittest.expect(o.targetProjectId, unittest.equals('foo'));
- checkUnnamed2595(o.users);
+ checkUnnamed2601(o.users);
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
}
@@ -1165,14 +1165,14 @@
buildCounterIdentitytoolkitRelyingpartyVerifyPhoneNumberResponse--;
}
-buildUnnamed2596() {
+buildUnnamed2602() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2596(core.List<core.String> o) {
+checkUnnamed2602(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'));
@@ -1188,7 +1188,7 @@
o.experimentPercent = 42;
o.provider = "foo";
o.secret = "foo";
- o.whitelistedAudiences = buildUnnamed2596();
+ o.whitelistedAudiences = buildUnnamed2602();
}
buildCounterIdpConfig--;
return o;
@@ -1202,7 +1202,7 @@
unittest.expect(o.experimentPercent, unittest.equals(42));
unittest.expect(o.provider, unittest.equals('foo'));
unittest.expect(o.secret, unittest.equals('foo'));
- checkUnnamed2596(o.whitelistedAudiences);
+ checkUnnamed2602(o.whitelistedAudiences);
}
buildCounterIdpConfig--;
}
@@ -1305,14 +1305,14 @@
buildCounterSetAccountInfoResponseProviderUserInfo--;
}
-buildUnnamed2597() {
+buildUnnamed2603() {
var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>();
o.add(buildSetAccountInfoResponseProviderUserInfo());
o.add(buildSetAccountInfoResponseProviderUserInfo());
return o;
}
-checkUnnamed2597(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
+checkUnnamed2603(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetAccountInfoResponseProviderUserInfo(o[0]);
checkSetAccountInfoResponseProviderUserInfo(o[1]);
@@ -1333,7 +1333,7 @@
o.newEmail = "foo";
o.passwordHash = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2597();
+ o.providerUserInfo = buildUnnamed2603();
o.refreshToken = "foo";
}
buildCounterSetAccountInfoResponse--;
@@ -1353,7 +1353,7 @@
unittest.expect(o.newEmail, unittest.equals('foo'));
unittest.expect(o.passwordHash, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2597(o.providerUserInfo);
+ checkUnnamed2603(o.providerUserInfo);
unittest.expect(o.refreshToken, unittest.equals('foo'));
}
buildCounterSetAccountInfoResponse--;
@@ -1411,14 +1411,14 @@
buildCounterUploadAccountResponseError--;
}
-buildUnnamed2598() {
+buildUnnamed2604() {
var o = new core.List<api.UploadAccountResponseError>();
o.add(buildUploadAccountResponseError());
o.add(buildUploadAccountResponseError());
return o;
}
-checkUnnamed2598(core.List<api.UploadAccountResponseError> o) {
+checkUnnamed2604(core.List<api.UploadAccountResponseError> o) {
unittest.expect(o, unittest.hasLength(2));
checkUploadAccountResponseError(o[0]);
checkUploadAccountResponseError(o[1]);
@@ -1429,7 +1429,7 @@
var o = new api.UploadAccountResponse();
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- o.error = buildUnnamed2598();
+ o.error = buildUnnamed2604();
o.kind = "foo";
}
buildCounterUploadAccountResponse--;
@@ -1439,7 +1439,7 @@
checkUploadAccountResponse(api.UploadAccountResponse o) {
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- checkUnnamed2598(o.error);
+ checkUnnamed2604(o.error);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUploadAccountResponse--;
@@ -1478,14 +1478,14 @@
buildCounterUserInfoProviderUserInfo--;
}
-buildUnnamed2599() {
+buildUnnamed2605() {
var o = new core.List<api.UserInfoProviderUserInfo>();
o.add(buildUserInfoProviderUserInfo());
o.add(buildUserInfoProviderUserInfo());
return o;
}
-checkUnnamed2599(core.List<api.UserInfoProviderUserInfo> o) {
+checkUnnamed2605(core.List<api.UserInfoProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfoProviderUserInfo(o[0]);
checkUserInfoProviderUserInfo(o[1]);
@@ -1509,7 +1509,7 @@
o.passwordUpdatedAt = 42.0;
o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed2599();
+ o.providerUserInfo = buildUnnamed2605();
o.rawPassword = "foo";
o.salt = "foo";
o.screenName = "foo";
@@ -1536,7 +1536,7 @@
unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2599(o.providerUserInfo);
+ checkUnnamed2605(o.providerUserInfo);
unittest.expect(o.rawPassword, unittest.equals('foo'));
unittest.expect(o.salt, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
@@ -1546,14 +1546,14 @@
buildCounterUserInfo--;
}
-buildUnnamed2600() {
+buildUnnamed2606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2600(core.List<core.String> o) {
+checkUnnamed2606(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'));
@@ -1602,7 +1602,7 @@
o.refreshToken = "foo";
o.screenName = "foo";
o.timeZone = "foo";
- o.verifiedProvider = buildUnnamed2600();
+ o.verifiedProvider = buildUnnamed2606();
}
buildCounterVerifyAssertionResponse--;
return o;
@@ -1649,7 +1649,7 @@
unittest.expect(o.refreshToken, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
unittest.expect(o.timeZone, unittest.equals('foo'));
- checkUnnamed2600(o.verifiedProvider);
+ checkUnnamed2606(o.verifiedProvider);
}
buildCounterVerifyAssertionResponse--;
}
diff --git a/generated/googleapis/test/kgsearch/v1_test.dart b/generated/googleapis/test/kgsearch/v1_test.dart
index 27bad36..ec274cb 100644
--- a/generated/googleapis/test/kgsearch/v1_test.dart
+++ b/generated/googleapis/test/kgsearch/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1029() {
+buildUnnamed1036() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed1029(core.List<core.Object> o) {
+checkUnnamed1036(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -94,7 +94,7 @@
'bool': true,
'string': 'foo'
};
- o.itemListElement = buildUnnamed1029();
+ o.itemListElement = buildUnnamed1036();
}
buildCounterSearchResponse--;
return o;
@@ -113,45 +113,45 @@
unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
unittest.expect(casted4["bool"], unittest.equals(true));
unittest.expect(casted4["string"], unittest.equals('foo'));
- checkUnnamed1029(o.itemListElement);
+ checkUnnamed1036(o.itemListElement);
}
buildCounterSearchResponse--;
}
-buildUnnamed1030() {
+buildUnnamed1037() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1030(core.List<core.String> o) {
+checkUnnamed1037(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'));
}
-buildUnnamed1031() {
+buildUnnamed1038() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1031(core.List<core.String> o) {
+checkUnnamed1038(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'));
}
-buildUnnamed1032() {
+buildUnnamed1039() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1032(core.List<core.String> o) {
+checkUnnamed1039(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'));
@@ -170,13 +170,13 @@
unittest.test("method--search", () {
var mock = new HttpServerMock();
api.EntitiesResourceApi res = new api.KgsearchApi(mock).entities;
- var arg_languages = buildUnnamed1030();
- var arg_ids = buildUnnamed1031();
var arg_limit = 42;
var arg_prefix = true;
var arg_query = "foo";
- var arg_types = buildUnnamed1032();
+ var arg_types = buildUnnamed1037();
var arg_indent = true;
+ var arg_languages = buildUnnamed1038();
+ var arg_ids = buildUnnamed1039();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -208,8 +208,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["limit"].first),
unittest.equals(arg_limit));
unittest.expect(
@@ -218,6 +216,8 @@
unittest.expect(queryMap["types"], unittest.equals(arg_types));
unittest.expect(
queryMap["indent"].first, unittest.equals("$arg_indent"));
+ unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -228,13 +228,13 @@
}), true);
res
.search(
- languages: arg_languages,
- ids: arg_ids,
limit: arg_limit,
prefix: arg_prefix,
query: arg_query,
types: arg_types,
indent: arg_indent,
+ languages: arg_languages,
+ ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.SearchResponse response) {
checkSearchResponse(response);
diff --git a/generated/googleapis/test/language/v1_test.dart b/generated/googleapis/test/language/v1_test.dart
index 78dd6d3..98c0f9e 100644
--- a/generated/googleapis/test/language/v1_test.dart
+++ b/generated/googleapis/test/language/v1_test.dart
@@ -71,14 +71,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed905() {
+buildUnnamed910() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed905(core.List<api.Entity> o) {
+checkUnnamed910(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -89,7 +89,7 @@
var o = new api.AnalyzeEntitiesResponse();
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- o.entities = buildUnnamed905();
+ o.entities = buildUnnamed910();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -99,7 +99,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed905(o.entities);
+ checkUnnamed910(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -126,14 +126,14 @@
buildCounterAnalyzeEntitySentimentRequest--;
}
-buildUnnamed906() {
+buildUnnamed911() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed906(core.List<api.Entity> o) {
+checkUnnamed911(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -144,7 +144,7 @@
var o = new api.AnalyzeEntitySentimentResponse();
buildCounterAnalyzeEntitySentimentResponse++;
if (buildCounterAnalyzeEntitySentimentResponse < 3) {
- o.entities = buildUnnamed906();
+ o.entities = buildUnnamed911();
o.language = "foo";
}
buildCounterAnalyzeEntitySentimentResponse--;
@@ -154,7 +154,7 @@
checkAnalyzeEntitySentimentResponse(api.AnalyzeEntitySentimentResponse o) {
buildCounterAnalyzeEntitySentimentResponse++;
if (buildCounterAnalyzeEntitySentimentResponse < 3) {
- checkUnnamed906(o.entities);
+ checkUnnamed911(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitySentimentResponse--;
@@ -181,14 +181,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed907() {
+buildUnnamed912() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed907(core.List<api.Sentence> o) {
+checkUnnamed912(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
@@ -201,7 +201,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
o.documentSentiment = buildSentiment();
o.language = "foo";
- o.sentences = buildUnnamed907();
+ o.sentences = buildUnnamed912();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -212,7 +212,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed907(o.sentences);
+ checkUnnamed912(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -238,27 +238,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed908() {
+buildUnnamed913() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed908(core.List<api.Sentence> o) {
+checkUnnamed913(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed909() {
+buildUnnamed914() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed909(core.List<api.Token> o) {
+checkUnnamed914(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -270,8 +270,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
o.language = "foo";
- o.sentences = buildUnnamed908();
- o.tokens = buildUnnamed909();
+ o.sentences = buildUnnamed913();
+ o.tokens = buildUnnamed914();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -281,8 +281,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed908(o.sentences);
- checkUnnamed909(o.tokens);
+ checkUnnamed913(o.sentences);
+ checkUnnamed914(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -310,40 +310,53 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed910() {
+buildUnnamed915() {
+ var o = new core.List<api.ClassificationCategory>();
+ o.add(buildClassificationCategory());
+ o.add(buildClassificationCategory());
+ return o;
+}
+
+checkUnnamed915(core.List<api.ClassificationCategory> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkClassificationCategory(o[0]);
+ checkClassificationCategory(o[1]);
+}
+
+buildUnnamed916() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed910(core.List<api.Entity> o) {
+checkUnnamed916(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed911() {
+buildUnnamed917() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed911(core.List<api.Sentence> o) {
+checkUnnamed917(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed912() {
+buildUnnamed918() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed912(core.List<api.Token> o) {
+checkUnnamed918(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -354,11 +367,12 @@
var o = new api.AnnotateTextResponse();
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
+ o.categories = buildUnnamed915();
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed910();
+ o.entities = buildUnnamed916();
o.language = "foo";
- o.sentences = buildUnnamed911();
- o.tokens = buildUnnamed912();
+ o.sentences = buildUnnamed917();
+ o.tokens = buildUnnamed918();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -367,15 +381,88 @@
checkAnnotateTextResponse(api.AnnotateTextResponse o) {
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
+ checkUnnamed915(o.categories);
checkSentiment(o.documentSentiment);
- checkUnnamed910(o.entities);
+ checkUnnamed916(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed911(o.sentences);
- checkUnnamed912(o.tokens);
+ checkUnnamed917(o.sentences);
+ checkUnnamed918(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
+core.int buildCounterClassificationCategory = 0;
+buildClassificationCategory() {
+ var o = new api.ClassificationCategory();
+ buildCounterClassificationCategory++;
+ if (buildCounterClassificationCategory < 3) {
+ o.confidence = 42.0;
+ o.name = "foo";
+ }
+ buildCounterClassificationCategory--;
+ return o;
+}
+
+checkClassificationCategory(api.ClassificationCategory o) {
+ buildCounterClassificationCategory++;
+ if (buildCounterClassificationCategory < 3) {
+ unittest.expect(o.confidence, unittest.equals(42.0));
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterClassificationCategory--;
+}
+
+core.int buildCounterClassifyTextRequest = 0;
+buildClassifyTextRequest() {
+ var o = new api.ClassifyTextRequest();
+ buildCounterClassifyTextRequest++;
+ if (buildCounterClassifyTextRequest < 3) {
+ o.document = buildDocument();
+ }
+ buildCounterClassifyTextRequest--;
+ return o;
+}
+
+checkClassifyTextRequest(api.ClassifyTextRequest o) {
+ buildCounterClassifyTextRequest++;
+ if (buildCounterClassifyTextRequest < 3) {
+ checkDocument(o.document);
+ }
+ buildCounterClassifyTextRequest--;
+}
+
+buildUnnamed919() {
+ var o = new core.List<api.ClassificationCategory>();
+ o.add(buildClassificationCategory());
+ o.add(buildClassificationCategory());
+ return o;
+}
+
+checkUnnamed919(core.List<api.ClassificationCategory> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkClassificationCategory(o[0]);
+ checkClassificationCategory(o[1]);
+}
+
+core.int buildCounterClassifyTextResponse = 0;
+buildClassifyTextResponse() {
+ var o = new api.ClassifyTextResponse();
+ buildCounterClassifyTextResponse++;
+ if (buildCounterClassifyTextResponse < 3) {
+ o.categories = buildUnnamed919();
+ }
+ buildCounterClassifyTextResponse--;
+ return o;
+}
+
+checkClassifyTextResponse(api.ClassifyTextResponse o) {
+ buildCounterClassifyTextResponse++;
+ if (buildCounterClassifyTextResponse < 3) {
+ checkUnnamed919(o.categories);
+ }
+ buildCounterClassifyTextResponse--;
+}
+
core.int buildCounterDependencyEdge = 0;
buildDependencyEdge() {
var o = new api.DependencyEdge();
@@ -422,27 +509,27 @@
buildCounterDocument--;
}
-buildUnnamed913() {
+buildUnnamed920() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed913(core.List<api.EntityMention> o) {
+checkUnnamed920(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed914() {
+buildUnnamed921() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed914(core.Map<core.String, core.String> o) {
+checkUnnamed921(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -453,8 +540,8 @@
var o = new api.Entity();
buildCounterEntity++;
if (buildCounterEntity < 3) {
- o.mentions = buildUnnamed913();
- o.metadata = buildUnnamed914();
+ o.mentions = buildUnnamed920();
+ o.metadata = buildUnnamed921();
o.name = "foo";
o.salience = 42.0;
o.sentiment = buildSentiment();
@@ -467,8 +554,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed913(o.mentions);
- checkUnnamed914(o.metadata);
+ checkUnnamed920(o.mentions);
+ checkUnnamed921(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.salience, unittest.equals(42.0));
checkSentiment(o.sentiment);
@@ -505,6 +592,7 @@
var o = new api.Features();
buildCounterFeatures++;
if (buildCounterFeatures < 3) {
+ o.classifyText = true;
o.extractDocumentSentiment = true;
o.extractEntities = true;
o.extractEntitySentiment = true;
@@ -517,6 +605,7 @@
checkFeatures(api.Features o) {
buildCounterFeatures++;
if (buildCounterFeatures < 3) {
+ unittest.expect(o.classifyText, unittest.isTrue);
unittest.expect(o.extractDocumentSentiment, unittest.isTrue);
unittest.expect(o.extractEntities, unittest.isTrue);
unittest.expect(o.extractEntitySentiment, unittest.isTrue);
@@ -608,7 +697,7 @@
buildCounterSentiment--;
}
-buildUnnamed915() {
+buildUnnamed922() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -623,7 +712,7 @@
return o;
}
-checkUnnamed915(core.Map<core.String, core.Object> o) {
+checkUnnamed922(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -637,17 +726,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed916() {
+buildUnnamed923() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed915());
- o.add(buildUnnamed915());
+ o.add(buildUnnamed922());
+ o.add(buildUnnamed922());
return o;
}
-checkUnnamed916(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed923(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed915(o[0]);
- checkUnnamed915(o[1]);
+ checkUnnamed922(o[0]);
+ checkUnnamed922(o[1]);
}
core.int buildCounterStatus = 0;
@@ -656,7 +745,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed916();
+ o.details = buildUnnamed923();
o.message = "foo";
}
buildCounterStatus--;
@@ -667,7 +756,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed916(o.details);
+ checkUnnamed923(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -800,6 +889,30 @@
});
});
+ unittest.group("obj-schema-ClassificationCategory", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildClassificationCategory();
+ var od = new api.ClassificationCategory.fromJson(o.toJson());
+ checkClassificationCategory(od);
+ });
+ });
+
+ unittest.group("obj-schema-ClassifyTextRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildClassifyTextRequest();
+ var od = new api.ClassifyTextRequest.fromJson(o.toJson());
+ checkClassifyTextRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-ClassifyTextResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildClassifyTextResponse();
+ var od = new api.ClassifyTextResponse.fromJson(o.toJson());
+ checkClassifyTextResponse(od);
+ });
+ });
+
unittest.group("obj-schema-DependencyEdge", () {
unittest.test("to-json--from-json", () {
var o = buildDependencyEdge();
@@ -1152,5 +1265,58 @@
checkAnnotateTextResponse(response);
})));
});
+
+ unittest.test("method--classifyText", () {
+ var mock = new HttpServerMock();
+ api.DocumentsResourceApi res = new api.LanguageApi(mock).documents;
+ var arg_request = buildClassifyTextRequest();
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.ClassifyTextRequest.fromJson(json);
+ checkClassifyTextRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 25),
+ unittest.equals("v1/documents:classifyText"));
+ pathOffset += 25;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildClassifyTextResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .classifyText(arg_request, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ClassifyTextResponse response) {
+ checkClassifyTextResponse(response);
+ })));
+ });
});
}
diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart
index 7a9b00b..ce956c0 100644
--- a/generated/googleapis/test/licensing/v1_test.dart
+++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -102,14 +102,14 @@
buildCounterLicenseAssignmentInsert--;
}
-buildUnnamed2157() {
+buildUnnamed2163() {
var o = new core.List<api.LicenseAssignment>();
o.add(buildLicenseAssignment());
o.add(buildLicenseAssignment());
return o;
}
-checkUnnamed2157(core.List<api.LicenseAssignment> o) {
+checkUnnamed2163(core.List<api.LicenseAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkLicenseAssignment(o[0]);
checkLicenseAssignment(o[1]);
@@ -121,7 +121,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2157();
+ o.items = buildUnnamed2163();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -133,7 +133,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2157(o.items);
+ checkUnnamed2163(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/logging/v2_test.dart b/generated/googleapis/test/logging/v2_test.dart
index 76568db..d08df78 100644
--- a/generated/googleapis/test/logging/v2_test.dart
+++ b/generated/googleapis/test/logging/v2_test.dart
@@ -88,14 +88,14 @@
buildCounterEmpty--;
}
-buildUnnamed234() {
+buildUnnamed238() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed234(core.List<core.double> o) {
+checkUnnamed238(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -106,7 +106,7 @@
var o = new api.Explicit();
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- o.bounds = buildUnnamed234();
+ o.bounds = buildUnnamed238();
}
buildCounterExplicit--;
return o;
@@ -115,7 +115,7 @@
checkExplicit(api.Explicit o) {
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- checkUnnamed234(o.bounds);
+ checkUnnamed238(o.bounds);
}
buildCounterExplicit--;
}
@@ -236,14 +236,14 @@
buildCounterLinear--;
}
-buildUnnamed235() {
+buildUnnamed239() {
var o = new core.List<api.LogExclusion>();
o.add(buildLogExclusion());
o.add(buildLogExclusion());
return o;
}
-checkUnnamed235(core.List<api.LogExclusion> o) {
+checkUnnamed239(core.List<api.LogExclusion> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogExclusion(o[0]);
checkLogExclusion(o[1]);
@@ -254,7 +254,7 @@
var o = new api.ListExclusionsResponse();
buildCounterListExclusionsResponse++;
if (buildCounterListExclusionsResponse < 3) {
- o.exclusions = buildUnnamed235();
+ o.exclusions = buildUnnamed239();
o.nextPageToken = "foo";
}
buildCounterListExclusionsResponse--;
@@ -264,135 +264,12 @@
checkListExclusionsResponse(api.ListExclusionsResponse o) {
buildCounterListExclusionsResponse++;
if (buildCounterListExclusionsResponse < 3) {
- checkUnnamed235(o.exclusions);
+ checkUnnamed239(o.exclusions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListExclusionsResponse--;
}
-buildUnnamed236() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed236(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'));
-}
-
-buildUnnamed237() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed237(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 buildCounterListLogEntriesRequest = 0;
-buildListLogEntriesRequest() {
- var o = new api.ListLogEntriesRequest();
- buildCounterListLogEntriesRequest++;
- if (buildCounterListLogEntriesRequest < 3) {
- o.filter = "foo";
- o.orderBy = "foo";
- o.pageSize = 42;
- o.pageToken = "foo";
- o.projectIds = buildUnnamed236();
- o.resourceNames = buildUnnamed237();
- }
- buildCounterListLogEntriesRequest--;
- return o;
-}
-
-checkListLogEntriesRequest(api.ListLogEntriesRequest o) {
- buildCounterListLogEntriesRequest++;
- if (buildCounterListLogEntriesRequest < 3) {
- unittest.expect(o.filter, unittest.equals('foo'));
- unittest.expect(o.orderBy, unittest.equals('foo'));
- unittest.expect(o.pageSize, unittest.equals(42));
- unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed236(o.projectIds);
- checkUnnamed237(o.resourceNames);
- }
- buildCounterListLogEntriesRequest--;
-}
-
-buildUnnamed238() {
- var o = new core.List<api.LogEntry>();
- o.add(buildLogEntry());
- o.add(buildLogEntry());
- return o;
-}
-
-checkUnnamed238(core.List<api.LogEntry> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLogEntry(o[0]);
- checkLogEntry(o[1]);
-}
-
-core.int buildCounterListLogEntriesResponse = 0;
-buildListLogEntriesResponse() {
- var o = new api.ListLogEntriesResponse();
- buildCounterListLogEntriesResponse++;
- if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed238();
- o.nextPageToken = "foo";
- }
- buildCounterListLogEntriesResponse--;
- return o;
-}
-
-checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
- buildCounterListLogEntriesResponse++;
- if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed238(o.entries);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterListLogEntriesResponse--;
-}
-
-buildUnnamed239() {
- var o = new core.List<api.LogMetric>();
- o.add(buildLogMetric());
- o.add(buildLogMetric());
- return o;
-}
-
-checkUnnamed239(core.List<api.LogMetric> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLogMetric(o[0]);
- checkLogMetric(o[1]);
-}
-
-core.int buildCounterListLogMetricsResponse = 0;
-buildListLogMetricsResponse() {
- var o = new api.ListLogMetricsResponse();
- buildCounterListLogMetricsResponse++;
- if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed239();
- o.nextPageToken = "foo";
- }
- buildCounterListLogMetricsResponse--;
- return o;
-}
-
-checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
- buildCounterListLogMetricsResponse++;
- if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed239(o.metrics);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterListLogMetricsResponse--;
-}
-
buildUnnamed240() {
var o = new core.List<core.String>();
o.add("foo");
@@ -406,12 +283,135 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed241() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed241(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 buildCounterListLogEntriesRequest = 0;
+buildListLogEntriesRequest() {
+ var o = new api.ListLogEntriesRequest();
+ buildCounterListLogEntriesRequest++;
+ if (buildCounterListLogEntriesRequest < 3) {
+ o.filter = "foo";
+ o.orderBy = "foo";
+ o.pageSize = 42;
+ o.pageToken = "foo";
+ o.projectIds = buildUnnamed240();
+ o.resourceNames = buildUnnamed241();
+ }
+ buildCounterListLogEntriesRequest--;
+ return o;
+}
+
+checkListLogEntriesRequest(api.ListLogEntriesRequest o) {
+ buildCounterListLogEntriesRequest++;
+ if (buildCounterListLogEntriesRequest < 3) {
+ unittest.expect(o.filter, unittest.equals('foo'));
+ unittest.expect(o.orderBy, unittest.equals('foo'));
+ unittest.expect(o.pageSize, unittest.equals(42));
+ unittest.expect(o.pageToken, unittest.equals('foo'));
+ checkUnnamed240(o.projectIds);
+ checkUnnamed241(o.resourceNames);
+ }
+ buildCounterListLogEntriesRequest--;
+}
+
+buildUnnamed242() {
+ var o = new core.List<api.LogEntry>();
+ o.add(buildLogEntry());
+ o.add(buildLogEntry());
+ return o;
+}
+
+checkUnnamed242(core.List<api.LogEntry> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLogEntry(o[0]);
+ checkLogEntry(o[1]);
+}
+
+core.int buildCounterListLogEntriesResponse = 0;
+buildListLogEntriesResponse() {
+ var o = new api.ListLogEntriesResponse();
+ buildCounterListLogEntriesResponse++;
+ if (buildCounterListLogEntriesResponse < 3) {
+ o.entries = buildUnnamed242();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListLogEntriesResponse--;
+ return o;
+}
+
+checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
+ buildCounterListLogEntriesResponse++;
+ if (buildCounterListLogEntriesResponse < 3) {
+ checkUnnamed242(o.entries);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListLogEntriesResponse--;
+}
+
+buildUnnamed243() {
+ var o = new core.List<api.LogMetric>();
+ o.add(buildLogMetric());
+ o.add(buildLogMetric());
+ return o;
+}
+
+checkUnnamed243(core.List<api.LogMetric> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLogMetric(o[0]);
+ checkLogMetric(o[1]);
+}
+
+core.int buildCounterListLogMetricsResponse = 0;
+buildListLogMetricsResponse() {
+ var o = new api.ListLogMetricsResponse();
+ buildCounterListLogMetricsResponse++;
+ if (buildCounterListLogMetricsResponse < 3) {
+ o.metrics = buildUnnamed243();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListLogMetricsResponse--;
+ return o;
+}
+
+checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
+ buildCounterListLogMetricsResponse++;
+ if (buildCounterListLogMetricsResponse < 3) {
+ checkUnnamed243(o.metrics);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListLogMetricsResponse--;
+}
+
+buildUnnamed244() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed244(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 buildCounterListLogsResponse = 0;
buildListLogsResponse() {
var o = new api.ListLogsResponse();
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- o.logNames = buildUnnamed240();
+ o.logNames = buildUnnamed244();
o.nextPageToken = "foo";
}
buildCounterListLogsResponse--;
@@ -421,20 +421,20 @@
checkListLogsResponse(api.ListLogsResponse o) {
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- checkUnnamed240(o.logNames);
+ checkUnnamed244(o.logNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogsResponse--;
}
-buildUnnamed241() {
+buildUnnamed245() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed241(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed245(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -446,7 +446,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed241();
+ o.resourceDescriptors = buildUnnamed245();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -457,19 +457,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed241(o.resourceDescriptors);
+ checkUnnamed245(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed242() {
+buildUnnamed246() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed242(core.List<api.LogSink> o) {
+checkUnnamed246(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -481,7 +481,7 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed242();
+ o.sinks = buildUnnamed246();
}
buildCounterListSinksResponse--;
return o;
@@ -491,12 +491,12 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed242(o.sinks);
+ checkUnnamed246(o.sinks);
}
buildCounterListSinksResponse--;
}
-buildUnnamed243() {
+buildUnnamed247() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -511,7 +511,7 @@
return o;
}
-checkUnnamed243(core.Map<core.String, core.Object> o) {
+checkUnnamed247(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -525,20 +525,20 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed244() {
+buildUnnamed248() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed244(core.Map<core.String, core.String> o) {
+checkUnnamed248(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed245() {
+buildUnnamed249() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -553,7 +553,7 @@
return o;
}
-checkUnnamed245(core.Map<core.String, core.Object> o) {
+checkUnnamed249(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -574,15 +574,16 @@
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed243();
- o.labels = buildUnnamed244();
+ o.jsonPayload = buildUnnamed247();
+ o.labels = buildUnnamed248();
o.logName = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed245();
+ o.protoPayload = buildUnnamed249();
o.receiveTimestamp = "foo";
o.resource = buildMonitoredResource();
o.severity = "foo";
o.sourceLocation = buildLogEntrySourceLocation();
+ o.spanId = "foo";
o.textPayload = "foo";
o.timestamp = "foo";
o.trace = "foo";
@@ -596,15 +597,16 @@
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed243(o.jsonPayload);
- checkUnnamed244(o.labels);
+ checkUnnamed247(o.jsonPayload);
+ checkUnnamed248(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed245(o.protoPayload);
+ checkUnnamed249(o.protoPayload);
unittest.expect(o.receiveTimestamp, unittest.equals('foo'));
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
checkLogEntrySourceLocation(o.sourceLocation);
+ unittest.expect(o.spanId, unittest.equals('foo'));
unittest.expect(o.textPayload, unittest.equals('foo'));
unittest.expect(o.timestamp, unittest.equals('foo'));
unittest.expect(o.trace, unittest.equals('foo'));
@@ -710,14 +712,14 @@
buildCounterLogLine--;
}
-buildUnnamed246() {
+buildUnnamed250() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed246(core.Map<core.String, core.String> o) {
+checkUnnamed250(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -731,7 +733,7 @@
o.bucketOptions = buildBucketOptions();
o.description = "foo";
o.filter = "foo";
- o.labelExtractors = buildUnnamed246();
+ o.labelExtractors = buildUnnamed250();
o.metricDescriptor = buildMetricDescriptor();
o.name = "foo";
o.valueExtractor = "foo";
@@ -747,7 +749,7 @@
checkBucketOptions(o.bucketOptions);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.filter, unittest.equals('foo'));
- checkUnnamed246(o.labelExtractors);
+ checkUnnamed250(o.labelExtractors);
checkMetricDescriptor(o.metricDescriptor);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.valueExtractor, unittest.equals('foo'));
@@ -789,14 +791,14 @@
buildCounterLogSink--;
}
-buildUnnamed247() {
+buildUnnamed251() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed247(core.List<api.LabelDescriptor> o) {
+checkUnnamed251(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -809,7 +811,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed247();
+ o.labels = buildUnnamed251();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -825,7 +827,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed247(o.labels);
+ checkUnnamed251(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -835,14 +837,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed248() {
+buildUnnamed252() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed248(core.Map<core.String, core.String> o) {
+checkUnnamed252(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -853,7 +855,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed248();
+ o.labels = buildUnnamed252();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -863,20 +865,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed248(o.labels);
+ checkUnnamed252(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed249() {
+buildUnnamed253() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed249(core.List<api.LabelDescriptor> o) {
+checkUnnamed253(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -889,7 +891,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed249();
+ o.labels = buildUnnamed253();
o.name = "foo";
o.type = "foo";
}
@@ -902,34 +904,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed249(o.labels);
+ checkUnnamed253(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed250() {
+buildUnnamed254() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed250(core.List<api.LogLine> o) {
+checkUnnamed254(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed251() {
+buildUnnamed255() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed251(core.List<api.SourceReference> o) {
+checkUnnamed255(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -952,7 +954,7 @@
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed250();
+ o.line = buildUnnamed254();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -962,7 +964,7 @@
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed251();
+ o.sourceReference = buildUnnamed255();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -992,7 +994,7 @@
unittest.expect(o.instanceIndex, unittest.equals(42));
unittest.expect(o.ip, unittest.equals('foo'));
unittest.expect(o.latency, unittest.equals('foo'));
- checkUnnamed250(o.line);
+ checkUnnamed254(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -1002,7 +1004,7 @@
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.responseSize, unittest.equals('foo'));
- checkUnnamed251(o.sourceReference);
+ checkUnnamed255(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -1060,27 +1062,27 @@
buildCounterSourceReference--;
}
-buildUnnamed252() {
+buildUnnamed256() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed252(core.List<api.LogEntry> o) {
+checkUnnamed256(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed253() {
+buildUnnamed257() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed253(core.Map<core.String, core.String> o) {
+checkUnnamed257(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1091,8 +1093,8 @@
var o = new api.WriteLogEntriesRequest();
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- o.entries = buildUnnamed252();
- o.labels = buildUnnamed253();
+ o.entries = buildUnnamed256();
+ o.labels = buildUnnamed257();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -1104,8 +1106,8 @@
checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) {
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- checkUnnamed252(o.entries);
- checkUnnamed253(o.labels);
+ checkUnnamed256(o.entries);
+ checkUnnamed257(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);
@@ -1703,8 +1705,8 @@
api.BillingAccountsLogsResourceApi res =
new api.LoggingApi(mock).billingAccounts.logs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1737,10 +1739,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1751,8 +1753,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
@@ -2226,6 +2228,284 @@
});
});
+ unittest.group("resource-ExclusionsResourceApi", () {
+ unittest.test("method--create", () {
+ var mock = new HttpServerMock();
+ api.ExclusionsResourceApi res = new api.LoggingApi(mock).exclusions;
+ var arg_request = buildLogExclusion();
+ var arg_parent = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LogExclusion.fromJson(json);
+ checkLogExclusion(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogExclusion());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .create(arg_request, arg_parent, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LogExclusion response) {
+ checkLogExclusion(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.ExclusionsResourceApi res = new api.LoggingApi(mock).exclusions;
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.ExclusionsResourceApi res = new api.LoggingApi(mock).exclusions;
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogExclusion());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LogExclusion response) {
+ checkLogExclusion(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.ExclusionsResourceApi res = new api.LoggingApi(mock).exclusions;
+ var arg_parent = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListExclusionsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_parent,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListExclusionsResponse response) {
+ checkListExclusionsResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.ExclusionsResourceApi res = new api.LoggingApi(mock).exclusions;
+ var arg_request = buildLogExclusion();
+ var arg_name = "foo";
+ var arg_updateMask = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LogExclusion.fromJson(json);
+ checkLogExclusion(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogExclusion());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_name,
+ updateMask: arg_updateMask, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LogExclusion response) {
+ checkLogExclusion(response);
+ })));
+ });
+ });
+
unittest.group("resource-FoldersExclusionsResourceApi", () {
unittest.test("method--create", () {
var mock = new HttpServerMock();
@@ -2565,8 +2845,8 @@
var mock = new HttpServerMock();
api.FoldersLogsResourceApi res = new api.LoggingApi(mock).folders.logs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2599,10 +2879,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2613,8 +2893,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
@@ -2789,8 +3069,8 @@
var mock = new HttpServerMock();
api.FoldersSinksResourceApi res = new api.LoggingApi(mock).folders.sinks;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2823,10 +3103,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2837,8 +3117,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListSinksResponse response) {
checkListSinksResponse(response);
@@ -2974,13 +3254,126 @@
});
});
+ unittest.group("resource-LogsResourceApi", () {
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.LogsResourceApi res = new api.LoggingApi(mock).logs;
+ var arg_logName = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_logName, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.LogsResourceApi res = new api.LoggingApi(mock).logs;
+ var arg_parent = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListLogsResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_parent,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListLogsResponse response) {
+ checkListLogsResponse(response);
+ })));
+ });
+ });
+
unittest.group("resource-MonitoredResourceDescriptorsResourceApi", () {
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.MonitoredResourceDescriptorsResourceApi res =
new api.LoggingApi(mock).monitoredResourceDescriptors;
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3012,10 +3405,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3027,8 +3420,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(
((api.ListMonitoredResourceDescriptorsResponse response) {
@@ -4132,8 +4525,8 @@
var mock = new HttpServerMock();
api.ProjectsLogsResourceApi res = new api.LoggingApi(mock).projects.logs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4166,10 +4559,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4180,8 +4573,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLogsResponse response) {
checkListLogsResponse(response);
@@ -4639,8 +5032,8 @@
api.ProjectsSinksResourceApi res =
new api.LoggingApi(mock).projects.sinks;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4673,10 +5066,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4687,8 +5080,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListSinksResponse response) {
checkListSinksResponse(response);
@@ -4825,4 +5218,292 @@
})));
});
});
+
+ unittest.group("resource-SinksResourceApi", () {
+ unittest.test("method--create", () {
+ var mock = new HttpServerMock();
+ api.SinksResourceApi res = new api.LoggingApi(mock).sinks;
+ var arg_request = buildLogSink();
+ var arg_parent = "foo";
+ var arg_uniqueWriterIdentity = true;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LogSink.fromJson(json);
+ checkLogSink(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["uniqueWriterIdentity"].first,
+ unittest.equals("$arg_uniqueWriterIdentity"));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogSink());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .create(arg_request, arg_parent,
+ uniqueWriterIdentity: arg_uniqueWriterIdentity,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LogSink response) {
+ checkLogSink(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.SinksResourceApi res = new api.LoggingApi(mock).sinks;
+ var arg_sinkName = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildEmpty());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_sinkName, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.Empty response) {
+ checkEmpty(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.SinksResourceApi res = new api.LoggingApi(mock).sinks;
+ var arg_sinkName = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogSink());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_sinkName, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LogSink response) {
+ checkLogSink(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.SinksResourceApi res = new api.LoggingApi(mock).sinks;
+ var arg_parent = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildListSinksResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_parent,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.ListSinksResponse response) {
+ checkListSinksResponse(response);
+ })));
+ });
+
+ unittest.test("method--update", () {
+ var mock = new HttpServerMock();
+ api.SinksResourceApi res = new api.LoggingApi(mock).sinks;
+ var arg_request = buildLogSink();
+ var arg_sinkName = "foo";
+ var arg_uniqueWriterIdentity = true;
+ var arg_updateMask = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.LogSink.fromJson(json);
+ checkLogSink(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v2/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["uniqueWriterIdentity"].first,
+ unittest.equals("$arg_uniqueWriterIdentity"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildLogSink());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .update(arg_request, arg_sinkName,
+ uniqueWriterIdentity: arg_uniqueWriterIdentity,
+ updateMask: arg_updateMask,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.LogSink response) {
+ checkLogSink(response);
+ })));
+ });
+ });
}
diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart
index 4e4898e..fd7a60b 100644
--- a/generated/googleapis/test/manufacturers/v1_test.dart
+++ b/generated/googleapis/test/manufacturers/v1_test.dart
@@ -50,79 +50,79 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1643() {
+buildUnnamed1649() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed1643(core.List<api.Image> o) {
+checkUnnamed1649(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
}
-buildUnnamed1644() {
+buildUnnamed1650() {
var o = new core.List<api.FeatureDescription>();
o.add(buildFeatureDescription());
o.add(buildFeatureDescription());
return o;
}
-checkUnnamed1644(core.List<api.FeatureDescription> o) {
+checkUnnamed1650(core.List<api.FeatureDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeatureDescription(o[0]);
checkFeatureDescription(o[1]);
}
-buildUnnamed1645() {
+buildUnnamed1651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1645(core.List<core.String> o) {
+checkUnnamed1651(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'));
}
-buildUnnamed1646() {
+buildUnnamed1652() {
var o = new core.List<api.ProductDetail>();
o.add(buildProductDetail());
o.add(buildProductDetail());
return o;
}
-checkUnnamed1646(core.List<api.ProductDetail> o) {
+checkUnnamed1652(core.List<api.ProductDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductDetail(o[0]);
checkProductDetail(o[1]);
}
-buildUnnamed1647() {
+buildUnnamed1653() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1647(core.List<core.String> o) {
+checkUnnamed1653(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'));
}
-buildUnnamed1648() {
+buildUnnamed1654() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1648(core.List<core.String> o) {
+checkUnnamed1654(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'));
@@ -133,7 +133,7 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.additionalImageLink = buildUnnamed1643();
+ o.additionalImageLink = buildUnnamed1649();
o.ageGroup = "foo";
o.brand = "foo";
o.capacity = buildCapacity();
@@ -141,21 +141,21 @@
o.count = buildCount();
o.description = "foo";
o.disclosureDate = "foo";
- o.featureDescription = buildUnnamed1644();
+ o.featureDescription = buildUnnamed1650();
o.flavor = "foo";
o.format = "foo";
o.gender = "foo";
- o.gtin = buildUnnamed1645();
+ o.gtin = buildUnnamed1651();
o.imageLink = buildImage();
o.itemGroupId = "foo";
o.material = "foo";
o.mpn = "foo";
o.pattern = "foo";
- o.productDetail = buildUnnamed1646();
+ o.productDetail = buildUnnamed1652();
o.productLine = "foo";
o.productName = "foo";
o.productPageUrl = "foo";
- o.productType = buildUnnamed1647();
+ o.productType = buildUnnamed1653();
o.releaseDate = "foo";
o.scent = "foo";
o.size = "foo";
@@ -165,7 +165,7 @@
o.targetClientId = "foo";
o.theme = "foo";
o.title = "foo";
- o.videoLink = buildUnnamed1648();
+ o.videoLink = buildUnnamed1654();
}
buildCounterAttributes--;
return o;
@@ -174,7 +174,7 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed1643(o.additionalImageLink);
+ checkUnnamed1649(o.additionalImageLink);
unittest.expect(o.ageGroup, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
checkCapacity(o.capacity);
@@ -182,21 +182,21 @@
checkCount(o.count);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.disclosureDate, unittest.equals('foo'));
- checkUnnamed1644(o.featureDescription);
+ checkUnnamed1650(o.featureDescription);
unittest.expect(o.flavor, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed1645(o.gtin);
+ checkUnnamed1651(o.gtin);
checkImage(o.imageLink);
unittest.expect(o.itemGroupId, unittest.equals('foo'));
unittest.expect(o.material, unittest.equals('foo'));
unittest.expect(o.mpn, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed1646(o.productDetail);
+ checkUnnamed1652(o.productDetail);
unittest.expect(o.productLine, unittest.equals('foo'));
unittest.expect(o.productName, unittest.equals('foo'));
unittest.expect(o.productPageUrl, unittest.equals('foo'));
- checkUnnamed1647(o.productType);
+ checkUnnamed1653(o.productType);
unittest.expect(o.releaseDate, unittest.equals('foo'));
unittest.expect(o.scent, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals('foo'));
@@ -206,7 +206,7 @@
unittest.expect(o.targetClientId, unittest.equals('foo'));
unittest.expect(o.theme, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1648(o.videoLink);
+ checkUnnamed1654(o.videoLink);
}
buildCounterAttributes--;
}
@@ -341,14 +341,14 @@
buildCounterIssue--;
}
-buildUnnamed1649() {
+buildUnnamed1655() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1649(core.List<api.Product> o) {
+checkUnnamed1655(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -360,7 +360,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed1649();
+ o.products = buildUnnamed1655();
}
buildCounterListProductsResponse--;
return o;
@@ -370,7 +370,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1649(o.products);
+ checkUnnamed1655(o.products);
}
buildCounterListProductsResponse--;
}
@@ -396,27 +396,27 @@
buildCounterPrice--;
}
-buildUnnamed1650() {
+buildUnnamed1656() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed1650(core.List<api.Issue> o) {
+checkUnnamed1656(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed1651() {
+buildUnnamed1657() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1651(core.List<core.String> o) {
+checkUnnamed1657(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'));
@@ -429,8 +429,8 @@
if (buildCounterProduct < 3) {
o.contentLanguage = "foo";
o.finalAttributes = buildAttributes();
- o.issues = buildUnnamed1650();
- o.manuallyDeletedAttributes = buildUnnamed1651();
+ o.issues = buildUnnamed1656();
+ o.manuallyDeletedAttributes = buildUnnamed1657();
o.manuallyProvidedAttributes = buildAttributes();
o.name = "foo";
o.parent = "foo";
@@ -447,8 +447,8 @@
if (buildCounterProduct < 3) {
unittest.expect(o.contentLanguage, unittest.equals('foo'));
checkAttributes(o.finalAttributes);
- checkUnnamed1650(o.issues);
- checkUnnamed1651(o.manuallyDeletedAttributes);
+ checkUnnamed1656(o.issues);
+ checkUnnamed1657(o.manuallyDeletedAttributes);
checkAttributes(o.manuallyProvidedAttributes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
@@ -683,8 +683,8 @@
api.AccountsProductsResourceApi res =
new api.ManufacturersApi(mock).accounts.products;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -717,10 +717,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -731,8 +731,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListProductsResponse response) {
checkListProductsResponse(response);
diff --git a/generated/googleapis/test/mirror/v1_test.dart b/generated/googleapis/test/mirror/v1_test.dart
index 1c2b6b9..00d62ac 100644
--- a/generated/googleapis/test/mirror/v1_test.dart
+++ b/generated/googleapis/test/mirror/v1_test.dart
@@ -50,40 +50,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1525() {
+buildUnnamed1531() {
var o = new core.List<api.AuthToken>();
o.add(buildAuthToken());
o.add(buildAuthToken());
return o;
}
-checkUnnamed1525(core.List<api.AuthToken> o) {
+checkUnnamed1531(core.List<api.AuthToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthToken(o[0]);
checkAuthToken(o[1]);
}
-buildUnnamed1526() {
+buildUnnamed1532() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1526(core.List<core.String> o) {
+checkUnnamed1532(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'));
}
-buildUnnamed1527() {
+buildUnnamed1533() {
var o = new core.List<api.UserData>();
o.add(buildUserData());
o.add(buildUserData());
return o;
}
-checkUnnamed1527(core.List<api.UserData> o) {
+checkUnnamed1533(core.List<api.UserData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserData(o[0]);
checkUserData(o[1]);
@@ -94,10 +94,10 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.authTokens = buildUnnamed1525();
- o.features = buildUnnamed1526();
+ o.authTokens = buildUnnamed1531();
+ o.features = buildUnnamed1532();
o.password = "foo";
- o.userData = buildUnnamed1527();
+ o.userData = buildUnnamed1533();
}
buildCounterAccount--;
return o;
@@ -106,10 +106,10 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1525(o.authTokens);
- checkUnnamed1526(o.features);
+ checkUnnamed1531(o.authTokens);
+ checkUnnamed1532(o.features);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed1527(o.userData);
+ checkUnnamed1533(o.userData);
}
buildCounterAccount--;
}
@@ -139,14 +139,14 @@
buildCounterAttachment--;
}
-buildUnnamed1528() {
+buildUnnamed1534() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1528(core.List<api.Attachment> o) {
+checkUnnamed1534(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -157,7 +157,7 @@
var o = new api.AttachmentsListResponse();
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- o.items = buildUnnamed1528();
+ o.items = buildUnnamed1534();
o.kind = "foo";
}
buildCounterAttachmentsListResponse--;
@@ -167,7 +167,7 @@
checkAttachmentsListResponse(api.AttachmentsListResponse o) {
buildCounterAttachmentsListResponse++;
if (buildCounterAttachmentsListResponse < 3) {
- checkUnnamed1528(o.items);
+ checkUnnamed1534(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAttachmentsListResponse--;
@@ -213,53 +213,53 @@
buildCounterCommand--;
}
-buildUnnamed1529() {
+buildUnnamed1535() {
var o = new core.List<api.Command>();
o.add(buildCommand());
o.add(buildCommand());
return o;
}
-checkUnnamed1529(core.List<api.Command> o) {
+checkUnnamed1535(core.List<api.Command> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommand(o[0]);
checkCommand(o[1]);
}
-buildUnnamed1530() {
+buildUnnamed1536() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1530(core.List<core.String> o) {
+checkUnnamed1536(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'));
}
-buildUnnamed1531() {
+buildUnnamed1537() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1531(core.List<core.String> o) {
+checkUnnamed1537(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'));
}
-buildUnnamed1532() {
+buildUnnamed1538() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1532(core.List<core.String> o) {
+checkUnnamed1538(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'));
@@ -270,15 +270,15 @@
var o = new api.Contact();
buildCounterContact++;
if (buildCounterContact < 3) {
- o.acceptCommands = buildUnnamed1529();
- o.acceptTypes = buildUnnamed1530();
+ o.acceptCommands = buildUnnamed1535();
+ o.acceptTypes = buildUnnamed1536();
o.displayName = "foo";
o.id = "foo";
- o.imageUrls = buildUnnamed1531();
+ o.imageUrls = buildUnnamed1537();
o.kind = "foo";
o.phoneNumber = "foo";
o.priority = 42;
- o.sharingFeatures = buildUnnamed1532();
+ o.sharingFeatures = buildUnnamed1538();
o.source = "foo";
o.speakableName = "foo";
o.type = "foo";
@@ -290,15 +290,15 @@
checkContact(api.Contact o) {
buildCounterContact++;
if (buildCounterContact < 3) {
- checkUnnamed1529(o.acceptCommands);
- checkUnnamed1530(o.acceptTypes);
+ checkUnnamed1535(o.acceptCommands);
+ checkUnnamed1536(o.acceptTypes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1531(o.imageUrls);
+ checkUnnamed1537(o.imageUrls);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed1532(o.sharingFeatures);
+ checkUnnamed1538(o.sharingFeatures);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.speakableName, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -306,14 +306,14 @@
buildCounterContact--;
}
-buildUnnamed1533() {
+buildUnnamed1539() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1533(core.List<api.Contact> o) {
+checkUnnamed1539(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -324,7 +324,7 @@
var o = new api.ContactsListResponse();
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- o.items = buildUnnamed1533();
+ o.items = buildUnnamed1539();
o.kind = "foo";
}
buildCounterContactsListResponse--;
@@ -334,7 +334,7 @@
checkContactsListResponse(api.ContactsListResponse o) {
buildCounterContactsListResponse++;
if (buildCounterContactsListResponse < 3) {
- checkUnnamed1533(o.items);
+ checkUnnamed1539(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterContactsListResponse--;
@@ -374,14 +374,14 @@
buildCounterLocation--;
}
-buildUnnamed1534() {
+buildUnnamed1540() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1534(core.List<api.Location> o) {
+checkUnnamed1540(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -392,7 +392,7 @@
var o = new api.LocationsListResponse();
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- o.items = buildUnnamed1534();
+ o.items = buildUnnamed1540();
o.kind = "foo";
}
buildCounterLocationsListResponse--;
@@ -402,20 +402,20 @@
checkLocationsListResponse(api.LocationsListResponse o) {
buildCounterLocationsListResponse++;
if (buildCounterLocationsListResponse < 3) {
- checkUnnamed1534(o.items);
+ checkUnnamed1540(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocationsListResponse--;
}
-buildUnnamed1535() {
+buildUnnamed1541() {
var o = new core.List<api.MenuValue>();
o.add(buildMenuValue());
o.add(buildMenuValue());
return o;
}
-checkUnnamed1535(core.List<api.MenuValue> o) {
+checkUnnamed1541(core.List<api.MenuValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuValue(o[0]);
checkMenuValue(o[1]);
@@ -431,7 +431,7 @@
o.id = "foo";
o.payload = "foo";
o.removeWhenSelected = true;
- o.values = buildUnnamed1535();
+ o.values = buildUnnamed1541();
}
buildCounterMenuItem--;
return o;
@@ -445,7 +445,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.payload, unittest.equals('foo'));
unittest.expect(o.removeWhenSelected, unittest.isTrue);
- checkUnnamed1535(o.values);
+ checkUnnamed1541(o.values);
}
buildCounterMenuItem--;
}
@@ -473,14 +473,14 @@
buildCounterMenuValue--;
}
-buildUnnamed1536() {
+buildUnnamed1542() {
var o = new core.List<api.UserAction>();
o.add(buildUserAction());
o.add(buildUserAction());
return o;
}
-checkUnnamed1536(core.List<api.UserAction> o) {
+checkUnnamed1542(core.List<api.UserAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAction(o[0]);
checkUserAction(o[1]);
@@ -494,7 +494,7 @@
o.collection = "foo";
o.itemId = "foo";
o.operation = "foo";
- o.userActions = buildUnnamed1536();
+ o.userActions = buildUnnamed1542();
o.userToken = "foo";
o.verifyToken = "foo";
}
@@ -508,7 +508,7 @@
unittest.expect(o.collection, unittest.equals('foo'));
unittest.expect(o.itemId, unittest.equals('foo'));
unittest.expect(o.operation, unittest.equals('foo'));
- checkUnnamed1536(o.userActions);
+ checkUnnamed1542(o.userActions);
unittest.expect(o.userToken, unittest.equals('foo'));
unittest.expect(o.verifyToken, unittest.equals('foo'));
}
@@ -560,14 +560,14 @@
buildCounterSetting--;
}
-buildUnnamed1537() {
+buildUnnamed1543() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1537(core.List<core.String> o) {
+checkUnnamed1543(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'));
@@ -583,7 +583,7 @@
o.id = "foo";
o.kind = "foo";
o.notification = buildNotification();
- o.operation = buildUnnamed1537();
+ o.operation = buildUnnamed1543();
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.userToken = "foo";
o.verifyToken = "foo";
@@ -600,7 +600,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkNotification(o.notification);
- checkUnnamed1537(o.operation);
+ checkUnnamed1543(o.operation);
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.userToken, unittest.equals('foo'));
@@ -609,14 +609,14 @@
buildCounterSubscription--;
}
-buildUnnamed1538() {
+buildUnnamed1544() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1538(core.List<api.Subscription> o) {
+checkUnnamed1544(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -627,7 +627,7 @@
var o = new api.SubscriptionsListResponse();
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- o.items = buildUnnamed1538();
+ o.items = buildUnnamed1544();
o.kind = "foo";
}
buildCounterSubscriptionsListResponse--;
@@ -637,46 +637,46 @@
checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
buildCounterSubscriptionsListResponse++;
if (buildCounterSubscriptionsListResponse < 3) {
- checkUnnamed1538(o.items);
+ checkUnnamed1544(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSubscriptionsListResponse--;
}
-buildUnnamed1539() {
+buildUnnamed1545() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed1539(core.List<api.Attachment> o) {
+checkUnnamed1545(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed1540() {
+buildUnnamed1546() {
var o = new core.List<api.MenuItem>();
o.add(buildMenuItem());
o.add(buildMenuItem());
return o;
}
-checkUnnamed1540(core.List<api.MenuItem> o) {
+checkUnnamed1546(core.List<api.MenuItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMenuItem(o[0]);
checkMenuItem(o[1]);
}
-buildUnnamed1541() {
+buildUnnamed1547() {
var o = new core.List<api.Contact>();
o.add(buildContact());
o.add(buildContact());
return o;
}
-checkUnnamed1541(core.List<api.Contact> o) {
+checkUnnamed1547(core.List<api.Contact> o) {
unittest.expect(o, unittest.hasLength(2));
checkContact(o[0]);
checkContact(o[1]);
@@ -687,7 +687,7 @@
var o = new api.TimelineItem();
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- o.attachments = buildUnnamed1539();
+ o.attachments = buildUnnamed1545();
o.bundleId = "foo";
o.canonicalUrl = "foo";
o.created = core.DateTime.parse("2002-02-27T14:01:02");
@@ -702,10 +702,10 @@
o.isPinned = true;
o.kind = "foo";
o.location = buildLocation();
- o.menuItems = buildUnnamed1540();
+ o.menuItems = buildUnnamed1546();
o.notification = buildNotificationConfig();
o.pinScore = 42;
- o.recipients = buildUnnamed1541();
+ o.recipients = buildUnnamed1547();
o.selfLink = "foo";
o.sourceItemId = "foo";
o.speakableText = "foo";
@@ -721,7 +721,7 @@
checkTimelineItem(api.TimelineItem o) {
buildCounterTimelineItem++;
if (buildCounterTimelineItem < 3) {
- checkUnnamed1539(o.attachments);
+ checkUnnamed1545(o.attachments);
unittest.expect(o.bundleId, unittest.equals('foo'));
unittest.expect(o.canonicalUrl, unittest.equals('foo'));
unittest.expect(
@@ -738,10 +738,10 @@
unittest.expect(o.isPinned, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkLocation(o.location);
- checkUnnamed1540(o.menuItems);
+ checkUnnamed1546(o.menuItems);
checkNotificationConfig(o.notification);
unittest.expect(o.pinScore, unittest.equals(42));
- checkUnnamed1541(o.recipients);
+ checkUnnamed1547(o.recipients);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sourceItemId, unittest.equals('foo'));
unittest.expect(o.speakableText, unittest.equals('foo'));
@@ -754,14 +754,14 @@
buildCounterTimelineItem--;
}
-buildUnnamed1542() {
+buildUnnamed1548() {
var o = new core.List<api.TimelineItem>();
o.add(buildTimelineItem());
o.add(buildTimelineItem());
return o;
}
-checkUnnamed1542(core.List<api.TimelineItem> o) {
+checkUnnamed1548(core.List<api.TimelineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimelineItem(o[0]);
checkTimelineItem(o[1]);
@@ -772,7 +772,7 @@
var o = new api.TimelineListResponse();
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- o.items = buildUnnamed1542();
+ o.items = buildUnnamed1548();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -783,7 +783,7 @@
checkTimelineListResponse(api.TimelineListResponse o) {
buildCounterTimelineListResponse++;
if (buildCounterTimelineListResponse < 3) {
- checkUnnamed1542(o.items);
+ checkUnnamed1548(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/ml/v1_test.dart b/generated/googleapis/test/ml/v1_test.dart
index bbe41ed..8a80655 100644
--- a/generated/googleapis/test/ml/v1_test.dart
+++ b/generated/googleapis/test/ml/v1_test.dart
@@ -289,6 +289,19 @@
buildCounterGoogleCloudMlV1HyperparameterSpec--;
}
+buildUnnamed5() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed5(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudMlV1Job = 0;
buildGoogleCloudMlV1Job() {
var o = new api.GoogleCloudMlV1Job();
@@ -297,7 +310,9 @@
o.createTime = "foo";
o.endTime = "foo";
o.errorMessage = "foo";
+ o.etag = "foo";
o.jobId = "foo";
+ o.labels = buildUnnamed5();
o.predictionInput = buildGoogleCloudMlV1PredictionInput();
o.predictionOutput = buildGoogleCloudMlV1PredictionOutput();
o.startTime = "foo";
@@ -315,7 +330,9 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.errorMessage, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.jobId, unittest.equals('foo'));
+ checkUnnamed5(o.labels);
checkGoogleCloudMlV1PredictionInput(o.predictionInput);
checkGoogleCloudMlV1PredictionOutput(o.predictionOutput);
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -326,14 +343,14 @@
buildCounterGoogleCloudMlV1Job--;
}
-buildUnnamed5() {
+buildUnnamed6() {
var o = new core.List<api.GoogleCloudMlV1Job>();
o.add(buildGoogleCloudMlV1Job());
o.add(buildGoogleCloudMlV1Job());
return o;
}
-checkUnnamed5(core.List<api.GoogleCloudMlV1Job> o) {
+checkUnnamed6(core.List<api.GoogleCloudMlV1Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Job(o[0]);
checkGoogleCloudMlV1Job(o[1]);
@@ -344,7 +361,7 @@
var o = new api.GoogleCloudMlV1ListJobsResponse();
buildCounterGoogleCloudMlV1ListJobsResponse++;
if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) {
- o.jobs = buildUnnamed5();
+ o.jobs = buildUnnamed6();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1ListJobsResponse--;
@@ -354,20 +371,20 @@
checkGoogleCloudMlV1ListJobsResponse(api.GoogleCloudMlV1ListJobsResponse o) {
buildCounterGoogleCloudMlV1ListJobsResponse++;
if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) {
- checkUnnamed5(o.jobs);
+ checkUnnamed6(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1ListJobsResponse--;
}
-buildUnnamed6() {
+buildUnnamed7() {
var o = new core.List<api.GoogleCloudMlV1Model>();
o.add(buildGoogleCloudMlV1Model());
o.add(buildGoogleCloudMlV1Model());
return o;
}
-checkUnnamed6(core.List<api.GoogleCloudMlV1Model> o) {
+checkUnnamed7(core.List<api.GoogleCloudMlV1Model> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Model(o[0]);
checkGoogleCloudMlV1Model(o[1]);
@@ -378,7 +395,7 @@
var o = new api.GoogleCloudMlV1ListModelsResponse();
buildCounterGoogleCloudMlV1ListModelsResponse++;
if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) {
- o.models = buildUnnamed6();
+ o.models = buildUnnamed7();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1ListModelsResponse--;
@@ -389,20 +406,20 @@
api.GoogleCloudMlV1ListModelsResponse o) {
buildCounterGoogleCloudMlV1ListModelsResponse++;
if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) {
- checkUnnamed6(o.models);
+ checkUnnamed7(o.models);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1ListModelsResponse--;
}
-buildUnnamed7() {
+buildUnnamed8() {
var o = new core.List<api.GoogleCloudMlV1Version>();
o.add(buildGoogleCloudMlV1Version());
o.add(buildGoogleCloudMlV1Version());
return o;
}
-checkUnnamed7(core.List<api.GoogleCloudMlV1Version> o) {
+checkUnnamed8(core.List<api.GoogleCloudMlV1Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Version(o[0]);
checkGoogleCloudMlV1Version(o[1]);
@@ -414,7 +431,7 @@
buildCounterGoogleCloudMlV1ListVersionsResponse++;
if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed7();
+ o.versions = buildUnnamed8();
}
buildCounterGoogleCloudMlV1ListVersionsResponse--;
return o;
@@ -425,7 +442,7 @@
buildCounterGoogleCloudMlV1ListVersionsResponse++;
if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed7(o.versions);
+ checkUnnamed8(o.versions);
}
buildCounterGoogleCloudMlV1ListVersionsResponse--;
}
@@ -449,14 +466,27 @@
buildCounterGoogleCloudMlV1ManualScaling--;
}
-buildUnnamed8() {
+buildUnnamed9() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed9(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed10() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed8(core.List<core.String> o) {
+checkUnnamed10(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'));
@@ -469,9 +499,11 @@
if (buildCounterGoogleCloudMlV1Model < 3) {
o.defaultVersion = buildGoogleCloudMlV1Version();
o.description = "foo";
+ o.etag = "foo";
+ o.labels = buildUnnamed9();
o.name = "foo";
o.onlinePredictionLogging = true;
- o.regions = buildUnnamed8();
+ o.regions = buildUnnamed10();
}
buildCounterGoogleCloudMlV1Model--;
return o;
@@ -482,13 +514,28 @@
if (buildCounterGoogleCloudMlV1Model < 3) {
checkGoogleCloudMlV1Version(o.defaultVersion);
unittest.expect(o.description, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed9(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.onlinePredictionLogging, unittest.isTrue);
- checkUnnamed8(o.regions);
+ checkUnnamed10(o.regions);
}
buildCounterGoogleCloudMlV1Model--;
}
+buildUnnamed11() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed11(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudMlV1OperationMetadata = 0;
buildGoogleCloudMlV1OperationMetadata() {
var o = new api.GoogleCloudMlV1OperationMetadata();
@@ -497,6 +544,7 @@
o.createTime = "foo";
o.endTime = "foo";
o.isCancellationRequested = true;
+ o.labels = buildUnnamed11();
o.modelName = "foo";
o.operationType = "foo";
o.startTime = "foo";
@@ -512,6 +560,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.isCancellationRequested, unittest.isTrue);
+ checkUnnamed11(o.labels);
unittest.expect(o.modelName, unittest.equals('foo'));
unittest.expect(o.operationType, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -520,27 +569,27 @@
buildCounterGoogleCloudMlV1OperationMetadata--;
}
-buildUnnamed9() {
+buildUnnamed12() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed9(core.List<core.String> o) {
+checkUnnamed12(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'));
}
-buildUnnamed10() {
+buildUnnamed13() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed10(core.List<core.double> o) {
+checkUnnamed13(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -551,8 +600,8 @@
var o = new api.GoogleCloudMlV1ParameterSpec();
buildCounterGoogleCloudMlV1ParameterSpec++;
if (buildCounterGoogleCloudMlV1ParameterSpec < 3) {
- o.categoricalValues = buildUnnamed9();
- o.discreteValues = buildUnnamed10();
+ o.categoricalValues = buildUnnamed12();
+ o.discreteValues = buildUnnamed13();
o.maxValue = 42.0;
o.minValue = 42.0;
o.parameterName = "foo";
@@ -566,8 +615,8 @@
checkGoogleCloudMlV1ParameterSpec(api.GoogleCloudMlV1ParameterSpec o) {
buildCounterGoogleCloudMlV1ParameterSpec++;
if (buildCounterGoogleCloudMlV1ParameterSpec < 3) {
- checkUnnamed9(o.categoricalValues);
- checkUnnamed10(o.discreteValues);
+ checkUnnamed12(o.categoricalValues);
+ checkUnnamed13(o.discreteValues);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
unittest.expect(o.parameterName, unittest.equals('foo'));
@@ -596,14 +645,14 @@
buildCounterGoogleCloudMlV1PredictRequest--;
}
-buildUnnamed11() {
+buildUnnamed14() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed11(core.List<core.String> o) {
+checkUnnamed14(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'));
@@ -616,7 +665,7 @@
if (buildCounterGoogleCloudMlV1PredictionInput < 3) {
o.batchSize = "foo";
o.dataFormat = "foo";
- o.inputPaths = buildUnnamed11();
+ o.inputPaths = buildUnnamed14();
o.maxWorkerCount = "foo";
o.modelName = "foo";
o.outputPath = "foo";
@@ -634,7 +683,7 @@
if (buildCounterGoogleCloudMlV1PredictionInput < 3) {
unittest.expect(o.batchSize, unittest.equals('foo'));
unittest.expect(o.dataFormat, unittest.equals('foo'));
- checkUnnamed11(o.inputPaths);
+ checkUnnamed14(o.inputPaths);
unittest.expect(o.maxWorkerCount, unittest.equals('foo'));
unittest.expect(o.modelName, unittest.equals('foo'));
unittest.expect(o.outputPath, unittest.equals('foo'));
@@ -687,27 +736,27 @@
buildCounterGoogleCloudMlV1SetDefaultVersionRequest--;
}
-buildUnnamed12() {
+buildUnnamed15() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed12(core.List<core.String> o) {
+checkUnnamed15(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'));
}
-buildUnnamed13() {
+buildUnnamed16() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed13(core.List<core.String> o) {
+checkUnnamed16(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'));
@@ -718,11 +767,11 @@
var o = new api.GoogleCloudMlV1TrainingInput();
buildCounterGoogleCloudMlV1TrainingInput++;
if (buildCounterGoogleCloudMlV1TrainingInput < 3) {
- o.args = buildUnnamed12();
+ o.args = buildUnnamed15();
o.hyperparameters = buildGoogleCloudMlV1HyperparameterSpec();
o.jobDir = "foo";
o.masterType = "foo";
- o.packageUris = buildUnnamed13();
+ o.packageUris = buildUnnamed16();
o.parameterServerCount = "foo";
o.parameterServerType = "foo";
o.pythonModule = "foo";
@@ -739,11 +788,11 @@
checkGoogleCloudMlV1TrainingInput(api.GoogleCloudMlV1TrainingInput o) {
buildCounterGoogleCloudMlV1TrainingInput++;
if (buildCounterGoogleCloudMlV1TrainingInput < 3) {
- checkUnnamed12(o.args);
+ checkUnnamed15(o.args);
checkGoogleCloudMlV1HyperparameterSpec(o.hyperparameters);
unittest.expect(o.jobDir, unittest.equals('foo'));
unittest.expect(o.masterType, unittest.equals('foo'));
- checkUnnamed13(o.packageUris);
+ checkUnnamed16(o.packageUris);
unittest.expect(o.parameterServerCount, unittest.equals('foo'));
unittest.expect(o.parameterServerType, unittest.equals('foo'));
unittest.expect(o.pythonModule, unittest.equals('foo'));
@@ -756,14 +805,14 @@
buildCounterGoogleCloudMlV1TrainingInput--;
}
-buildUnnamed14() {
+buildUnnamed17() {
var o = new core.List<api.GoogleCloudMlV1HyperparameterOutput>();
o.add(buildGoogleCloudMlV1HyperparameterOutput());
o.add(buildGoogleCloudMlV1HyperparameterOutput());
return o;
}
-checkUnnamed14(core.List<api.GoogleCloudMlV1HyperparameterOutput> o) {
+checkUnnamed17(core.List<api.GoogleCloudMlV1HyperparameterOutput> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1HyperparameterOutput(o[0]);
checkGoogleCloudMlV1HyperparameterOutput(o[1]);
@@ -777,7 +826,7 @@
o.completedTrialCount = "foo";
o.consumedMLUnits = 42.0;
o.isHyperparameterTuningJob = true;
- o.trials = buildUnnamed14();
+ o.trials = buildUnnamed17();
}
buildCounterGoogleCloudMlV1TrainingOutput--;
return o;
@@ -789,11 +838,24 @@
unittest.expect(o.completedTrialCount, unittest.equals('foo'));
unittest.expect(o.consumedMLUnits, unittest.equals(42.0));
unittest.expect(o.isHyperparameterTuningJob, unittest.isTrue);
- checkUnnamed14(o.trials);
+ checkUnnamed17(o.trials);
}
buildCounterGoogleCloudMlV1TrainingOutput--;
}
+buildUnnamed18() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed18(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudMlV1Version = 0;
buildGoogleCloudMlV1Version() {
var o = new api.GoogleCloudMlV1Version();
@@ -804,7 +866,9 @@
o.deploymentUri = "foo";
o.description = "foo";
o.errorMessage = "foo";
+ o.etag = "foo";
o.isDefault = true;
+ o.labels = buildUnnamed18();
o.lastUseTime = "foo";
o.manualScaling = buildGoogleCloudMlV1ManualScaling();
o.name = "foo";
@@ -823,7 +887,9 @@
unittest.expect(o.deploymentUri, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.errorMessage, unittest.equals('foo'));
+ unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isDefault, unittest.isTrue);
+ checkUnnamed18(o.labels);
unittest.expect(o.lastUseTime, unittest.equals('foo'));
checkGoogleCloudMlV1ManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -833,27 +899,27 @@
buildCounterGoogleCloudMlV1Version--;
}
-buildUnnamed15() {
+buildUnnamed19() {
var o = new core.List<api.GoogleIamV1AuditLogConfig>();
o.add(buildGoogleIamV1AuditLogConfig());
o.add(buildGoogleIamV1AuditLogConfig());
return o;
}
-checkUnnamed15(core.List<api.GoogleIamV1AuditLogConfig> o) {
+checkUnnamed19(core.List<api.GoogleIamV1AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditLogConfig(o[0]);
checkGoogleIamV1AuditLogConfig(o[1]);
}
-buildUnnamed16() {
+buildUnnamed20() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed16(core.List<core.String> o) {
+checkUnnamed20(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'));
@@ -864,8 +930,8 @@
var o = new api.GoogleIamV1AuditConfig();
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed15();
- o.exemptedMembers = buildUnnamed16();
+ o.auditLogConfigs = buildUnnamed19();
+ o.exemptedMembers = buildUnnamed20();
o.service = "foo";
}
buildCounterGoogleIamV1AuditConfig--;
@@ -875,21 +941,21 @@
checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) {
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- checkUnnamed15(o.auditLogConfigs);
- checkUnnamed16(o.exemptedMembers);
+ checkUnnamed19(o.auditLogConfigs);
+ checkUnnamed20(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditConfig--;
}
-buildUnnamed17() {
+buildUnnamed21() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed17(core.List<core.String> o) {
+checkUnnamed21(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'));
@@ -900,7 +966,7 @@
var o = new api.GoogleIamV1AuditLogConfig();
buildCounterGoogleIamV1AuditLogConfig++;
if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed17();
+ o.exemptedMembers = buildUnnamed21();
o.logType = "foo";
}
buildCounterGoogleIamV1AuditLogConfig--;
@@ -910,20 +976,20 @@
checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) {
buildCounterGoogleIamV1AuditLogConfig++;
if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- checkUnnamed17(o.exemptedMembers);
+ checkUnnamed21(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditLogConfig--;
}
-buildUnnamed18() {
+buildUnnamed22() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed18(core.List<core.String> o) {
+checkUnnamed22(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'));
@@ -935,7 +1001,7 @@
buildCounterGoogleIamV1Binding++;
if (buildCounterGoogleIamV1Binding < 3) {
o.condition = buildGoogleTypeExpr();
- o.members = buildUnnamed18();
+ o.members = buildUnnamed22();
o.role = "foo";
}
buildCounterGoogleIamV1Binding--;
@@ -946,33 +1012,33 @@
buildCounterGoogleIamV1Binding++;
if (buildCounterGoogleIamV1Binding < 3) {
checkGoogleTypeExpr(o.condition);
- checkUnnamed18(o.members);
+ checkUnnamed22(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterGoogleIamV1Binding--;
}
-buildUnnamed19() {
+buildUnnamed23() {
var o = new core.List<api.GoogleIamV1AuditConfig>();
o.add(buildGoogleIamV1AuditConfig());
o.add(buildGoogleIamV1AuditConfig());
return o;
}
-checkUnnamed19(core.List<api.GoogleIamV1AuditConfig> o) {
+checkUnnamed23(core.List<api.GoogleIamV1AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditConfig(o[0]);
checkGoogleIamV1AuditConfig(o[1]);
}
-buildUnnamed20() {
+buildUnnamed24() {
var o = new core.List<api.GoogleIamV1Binding>();
o.add(buildGoogleIamV1Binding());
o.add(buildGoogleIamV1Binding());
return o;
}
-checkUnnamed20(core.List<api.GoogleIamV1Binding> o) {
+checkUnnamed24(core.List<api.GoogleIamV1Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1Binding(o[0]);
checkGoogleIamV1Binding(o[1]);
@@ -983,8 +1049,8 @@
var o = new api.GoogleIamV1Policy();
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- o.auditConfigs = buildUnnamed19();
- o.bindings = buildUnnamed20();
+ o.auditConfigs = buildUnnamed23();
+ o.bindings = buildUnnamed24();
o.etag = "foo";
o.iamOwned = true;
o.version = 42;
@@ -996,8 +1062,8 @@
checkGoogleIamV1Policy(api.GoogleIamV1Policy o) {
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- checkUnnamed19(o.auditConfigs);
- checkUnnamed20(o.bindings);
+ checkUnnamed23(o.auditConfigs);
+ checkUnnamed24(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
unittest.expect(o.version, unittest.equals(42));
@@ -1026,14 +1092,14 @@
buildCounterGoogleIamV1SetIamPolicyRequest--;
}
-buildUnnamed21() {
+buildUnnamed25() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed21(core.List<core.String> o) {
+checkUnnamed25(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'));
@@ -1044,7 +1110,7 @@
var o = new api.GoogleIamV1TestIamPermissionsRequest();
buildCounterGoogleIamV1TestIamPermissionsRequest++;
if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed21();
+ o.permissions = buildUnnamed25();
}
buildCounterGoogleIamV1TestIamPermissionsRequest--;
return o;
@@ -1054,19 +1120,19 @@
api.GoogleIamV1TestIamPermissionsRequest o) {
buildCounterGoogleIamV1TestIamPermissionsRequest++;
if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
- checkUnnamed21(o.permissions);
+ checkUnnamed25(o.permissions);
}
buildCounterGoogleIamV1TestIamPermissionsRequest--;
}
-buildUnnamed22() {
+buildUnnamed26() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed22(core.List<core.String> o) {
+checkUnnamed26(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'));
@@ -1077,7 +1143,7 @@
var o = new api.GoogleIamV1TestIamPermissionsResponse();
buildCounterGoogleIamV1TestIamPermissionsResponse++;
if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed22();
+ o.permissions = buildUnnamed26();
}
buildCounterGoogleIamV1TestIamPermissionsResponse--;
return o;
@@ -1087,19 +1153,19 @@
api.GoogleIamV1TestIamPermissionsResponse o) {
buildCounterGoogleIamV1TestIamPermissionsResponse++;
if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) {
- checkUnnamed22(o.permissions);
+ checkUnnamed26(o.permissions);
}
buildCounterGoogleIamV1TestIamPermissionsResponse--;
}
-buildUnnamed23() {
+buildUnnamed27() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed23(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed27(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -1111,7 +1177,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed23();
+ o.operations = buildUnnamed27();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -1122,12 +1188,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed23(o.operations);
+ checkUnnamed27(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed24() {
+buildUnnamed28() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1142,7 +1208,7 @@
return o;
}
-checkUnnamed24(core.Map<core.String, core.Object> o) {
+checkUnnamed28(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1156,7 +1222,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed25() {
+buildUnnamed29() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1171,7 +1237,7 @@
return o;
}
-checkUnnamed25(core.Map<core.String, core.Object> o) {
+checkUnnamed29(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1192,9 +1258,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed24();
+ o.metadata = buildUnnamed28();
o.name = "foo";
- o.response = buildUnnamed25();
+ o.response = buildUnnamed29();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -1205,9 +1271,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed24(o.metadata);
+ checkUnnamed28(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed25(o.response);
+ checkUnnamed29(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -1227,7 +1293,7 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed26() {
+buildUnnamed30() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1242,7 +1308,7 @@
return o;
}
-checkUnnamed26(core.Map<core.String, core.Object> o) {
+checkUnnamed30(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1256,17 +1322,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed27() {
+buildUnnamed31() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed26());
- o.add(buildUnnamed26());
+ o.add(buildUnnamed30());
+ o.add(buildUnnamed30());
return o;
}
-checkUnnamed27(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed31(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed26(o[0]);
- checkUnnamed26(o[1]);
+ checkUnnamed30(o[0]);
+ checkUnnamed30(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -1275,7 +1341,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed27();
+ o.details = buildUnnamed31();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -1286,7 +1352,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed27(o.details);
+ checkUnnamed31(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
@@ -1981,6 +2047,65 @@
})));
});
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
+ var arg_request = buildGoogleCloudMlV1Job();
+ var arg_name = "foo";
+ var arg_updateMask = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.GoogleCloudMlV1Job.fromJson(json);
+ checkGoogleCloudMlV1Job(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = {};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.JSON.encode(buildGoogleCloudMlV1Job());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_name,
+ updateMask: arg_updateMask, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((api.GoogleCloudMlV1Job response) {
+ checkGoogleCloudMlV1Job(response);
+ })));
+ });
+
unittest.test("method--setIamPolicy", () {
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
@@ -2306,8 +2431,9 @@
var mock = new HttpServerMock();
api.ProjectsModelsResourceApi res = new api.MlApi(mock).projects.models;
var arg_parent = "foo";
- var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2340,10 +2466,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2355,8 +2482,9 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
+ filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.GoogleCloudMlV1ListModelsResponse response) {
@@ -2701,6 +2829,7 @@
api.ProjectsModelsVersionsResourceApi res =
new api.MlApi(mock).projects.models.versions;
var arg_parent = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
@@ -2735,6 +2864,7 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
@@ -2750,6 +2880,7 @@
}), true);
res
.list(arg_parent,
+ filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
$fields: arg_$fields)
@@ -3039,9 +3170,9 @@
api.ProjectsOperationsResourceApi res =
new api.MlApi(mock).projects.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3074,11 +3205,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3090,9 +3221,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(
((api.GoogleLongrunningListOperationsResponse response) {
diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart
index baa0d2b..b5fc0d1 100644
--- a/generated/googleapis/test/monitoring/v3_test.dart
+++ b/generated/googleapis/test/monitoring/v3_test.dart
@@ -94,27 +94,27 @@
buildCounterBucketOptions--;
}
-buildUnnamed1567() {
+buildUnnamed1573() {
var o = new core.Map<core.String, api.TypedValue>();
o["x"] = buildTypedValue();
o["y"] = buildTypedValue();
return o;
}
-checkUnnamed1567(core.Map<core.String, api.TypedValue> o) {
+checkUnnamed1573(core.Map<core.String, api.TypedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTypedValue(o["x"]);
checkTypedValue(o["y"]);
}
-buildUnnamed1568() {
+buildUnnamed1574() {
var o = new core.List<api.CollectdValue>();
o.add(buildCollectdValue());
o.add(buildCollectdValue());
return o;
}
-checkUnnamed1568(core.List<api.CollectdValue> o) {
+checkUnnamed1574(core.List<api.CollectdValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdValue(o[0]);
checkCollectdValue(o[1]);
@@ -126,13 +126,13 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
o.endTime = "foo";
- o.metadata = buildUnnamed1567();
+ o.metadata = buildUnnamed1573();
o.plugin = "foo";
o.pluginInstance = "foo";
o.startTime = "foo";
o.type = "foo";
o.typeInstance = "foo";
- o.values = buildUnnamed1568();
+ o.values = buildUnnamed1574();
}
buildCounterCollectdPayload--;
return o;
@@ -142,25 +142,25 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1567(o.metadata);
+ checkUnnamed1573(o.metadata);
unittest.expect(o.plugin, unittest.equals('foo'));
unittest.expect(o.pluginInstance, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.typeInstance, unittest.equals('foo'));
- checkUnnamed1568(o.values);
+ checkUnnamed1574(o.values);
}
buildCounterCollectdPayload--;
}
-buildUnnamed1569() {
+buildUnnamed1575() {
var o = new core.List<api.CollectdValueError>();
o.add(buildCollectdValueError());
o.add(buildCollectdValueError());
return o;
}
-checkUnnamed1569(core.List<api.CollectdValueError> o) {
+checkUnnamed1575(core.List<api.CollectdValueError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdValueError(o[0]);
checkCollectdValueError(o[1]);
@@ -173,7 +173,7 @@
if (buildCounterCollectdPayloadError < 3) {
o.error = buildStatus();
o.index = 42;
- o.valueErrors = buildUnnamed1569();
+ o.valueErrors = buildUnnamed1575();
}
buildCounterCollectdPayloadError--;
return o;
@@ -184,7 +184,7 @@
if (buildCounterCollectdPayloadError < 3) {
checkStatus(o.error);
unittest.expect(o.index, unittest.equals(42));
- checkUnnamed1569(o.valueErrors);
+ checkUnnamed1575(o.valueErrors);
}
buildCounterCollectdPayloadError--;
}
@@ -252,14 +252,14 @@
buildCounterContentMatcher--;
}
-buildUnnamed1570() {
+buildUnnamed1576() {
var o = new core.List<api.CollectdPayload>();
o.add(buildCollectdPayload());
o.add(buildCollectdPayload());
return o;
}
-checkUnnamed1570(core.List<api.CollectdPayload> o) {
+checkUnnamed1576(core.List<api.CollectdPayload> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdPayload(o[0]);
checkCollectdPayload(o[1]);
@@ -270,7 +270,7 @@
var o = new api.CreateCollectdTimeSeriesRequest();
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- o.collectdPayloads = buildUnnamed1570();
+ o.collectdPayloads = buildUnnamed1576();
o.collectdVersion = "foo";
o.resource = buildMonitoredResource();
}
@@ -281,21 +281,21 @@
checkCreateCollectdTimeSeriesRequest(api.CreateCollectdTimeSeriesRequest o) {
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- checkUnnamed1570(o.collectdPayloads);
+ checkUnnamed1576(o.collectdPayloads);
unittest.expect(o.collectdVersion, unittest.equals('foo'));
checkMonitoredResource(o.resource);
}
buildCounterCreateCollectdTimeSeriesRequest--;
}
-buildUnnamed1571() {
+buildUnnamed1577() {
var o = new core.List<api.CollectdPayloadError>();
o.add(buildCollectdPayloadError());
o.add(buildCollectdPayloadError());
return o;
}
-checkUnnamed1571(core.List<api.CollectdPayloadError> o) {
+checkUnnamed1577(core.List<api.CollectdPayloadError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdPayloadError(o[0]);
checkCollectdPayloadError(o[1]);
@@ -306,7 +306,7 @@
var o = new api.CreateCollectdTimeSeriesResponse();
buildCounterCreateCollectdTimeSeriesResponse++;
if (buildCounterCreateCollectdTimeSeriesResponse < 3) {
- o.payloadErrors = buildUnnamed1571();
+ o.payloadErrors = buildUnnamed1577();
}
buildCounterCreateCollectdTimeSeriesResponse--;
return o;
@@ -315,19 +315,19 @@
checkCreateCollectdTimeSeriesResponse(api.CreateCollectdTimeSeriesResponse o) {
buildCounterCreateCollectdTimeSeriesResponse++;
if (buildCounterCreateCollectdTimeSeriesResponse < 3) {
- checkUnnamed1571(o.payloadErrors);
+ checkUnnamed1577(o.payloadErrors);
}
buildCounterCreateCollectdTimeSeriesResponse--;
}
-buildUnnamed1572() {
+buildUnnamed1578() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed1572(core.List<api.TimeSeries> o) {
+checkUnnamed1578(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -338,7 +338,7 @@
var o = new api.CreateTimeSeriesRequest();
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- o.timeSeries = buildUnnamed1572();
+ o.timeSeries = buildUnnamed1578();
}
buildCounterCreateTimeSeriesRequest--;
return o;
@@ -347,19 +347,19 @@
checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) {
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- checkUnnamed1572(o.timeSeries);
+ checkUnnamed1578(o.timeSeries);
}
buildCounterCreateTimeSeriesRequest--;
}
-buildUnnamed1573() {
+buildUnnamed1579() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1573(core.List<core.String> o) {
+checkUnnamed1579(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'));
@@ -370,7 +370,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1573();
+ o.bucketCounts = buildUnnamed1579();
o.bucketOptions = buildBucketOptions();
o.count = "foo";
o.mean = 42.0;
@@ -384,7 +384,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1573(o.bucketCounts);
+ checkUnnamed1579(o.bucketCounts);
checkBucketOptions(o.bucketOptions);
unittest.expect(o.count, unittest.equals('foo'));
unittest.expect(o.mean, unittest.equals(42.0));
@@ -409,14 +409,14 @@
buildCounterEmpty--;
}
-buildUnnamed1574() {
+buildUnnamed1580() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1574(core.List<core.double> o) {
+checkUnnamed1580(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -427,7 +427,7 @@
var o = new api.Explicit();
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- o.bounds = buildUnnamed1574();
+ o.bounds = buildUnnamed1580();
}
buildCounterExplicit--;
return o;
@@ -436,7 +436,7 @@
checkExplicit(api.Explicit o) {
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- checkUnnamed1574(o.bounds);
+ checkUnnamed1580(o.bounds);
}
buildCounterExplicit--;
}
@@ -464,14 +464,14 @@
buildCounterExponential--;
}
-buildUnnamed1575() {
+buildUnnamed1581() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1575(core.List<api.Option> o) {
+checkUnnamed1581(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -489,7 +489,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1575();
+ o.options = buildUnnamed1581();
o.packed = true;
o.typeUrl = "foo";
}
@@ -507,7 +507,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1575(o.options);
+ checkUnnamed1581(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
@@ -541,14 +541,14 @@
buildCounterGroup--;
}
-buildUnnamed1576() {
+buildUnnamed1582() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1576(core.Map<core.String, core.String> o) {
+checkUnnamed1582(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -560,7 +560,7 @@
buildCounterHttpCheck++;
if (buildCounterHttpCheck < 3) {
o.authInfo = buildBasicAuthentication();
- o.headers = buildUnnamed1576();
+ o.headers = buildUnnamed1582();
o.maskHeaders = true;
o.path = "foo";
o.port = 42;
@@ -574,7 +574,7 @@
buildCounterHttpCheck++;
if (buildCounterHttpCheck < 3) {
checkBasicAuthentication(o.authInfo);
- checkUnnamed1576(o.headers);
+ checkUnnamed1582(o.headers);
unittest.expect(o.maskHeaders, unittest.isTrue);
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.port, unittest.equals(42));
@@ -629,14 +629,14 @@
buildCounterLinear--;
}
-buildUnnamed1577() {
+buildUnnamed1583() {
var o = new core.List<api.MonitoredResource>();
o.add(buildMonitoredResource());
o.add(buildMonitoredResource());
return o;
}
-checkUnnamed1577(core.List<api.MonitoredResource> o) {
+checkUnnamed1583(core.List<api.MonitoredResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResource(o[0]);
checkMonitoredResource(o[1]);
@@ -647,7 +647,7 @@
var o = new api.ListGroupMembersResponse();
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- o.members = buildUnnamed1577();
+ o.members = buildUnnamed1583();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -658,21 +658,21 @@
checkListGroupMembersResponse(api.ListGroupMembersResponse o) {
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- checkUnnamed1577(o.members);
+ checkUnnamed1583(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListGroupMembersResponse--;
}
-buildUnnamed1578() {
+buildUnnamed1584() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed1578(core.List<api.Group> o) {
+checkUnnamed1584(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -683,7 +683,7 @@
var o = new api.ListGroupsResponse();
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- o.group = buildUnnamed1578();
+ o.group = buildUnnamed1584();
o.nextPageToken = "foo";
}
buildCounterListGroupsResponse--;
@@ -693,20 +693,20 @@
checkListGroupsResponse(api.ListGroupsResponse o) {
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- checkUnnamed1578(o.group);
+ checkUnnamed1584(o.group);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGroupsResponse--;
}
-buildUnnamed1579() {
+buildUnnamed1585() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1579(core.List<api.MetricDescriptor> o) {
+checkUnnamed1585(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
@@ -717,7 +717,7 @@
var o = new api.ListMetricDescriptorsResponse();
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- o.metricDescriptors = buildUnnamed1579();
+ o.metricDescriptors = buildUnnamed1585();
o.nextPageToken = "foo";
}
buildCounterListMetricDescriptorsResponse--;
@@ -727,20 +727,20 @@
checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) {
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- checkUnnamed1579(o.metricDescriptors);
+ checkUnnamed1585(o.metricDescriptors);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMetricDescriptorsResponse--;
}
-buildUnnamed1580() {
+buildUnnamed1586() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1580(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1586(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -752,7 +752,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed1580();
+ o.resourceDescriptors = buildUnnamed1586();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -763,19 +763,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1580(o.resourceDescriptors);
+ checkUnnamed1586(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed1581() {
+buildUnnamed1587() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed1581(core.List<api.TimeSeries> o) {
+checkUnnamed1587(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -787,7 +787,7 @@
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
o.nextPageToken = "foo";
- o.timeSeries = buildUnnamed1581();
+ o.timeSeries = buildUnnamed1587();
}
buildCounterListTimeSeriesResponse--;
return o;
@@ -797,19 +797,19 @@
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1581(o.timeSeries);
+ checkUnnamed1587(o.timeSeries);
}
buildCounterListTimeSeriesResponse--;
}
-buildUnnamed1582() {
+buildUnnamed1588() {
var o = new core.List<api.UptimeCheckConfig>();
o.add(buildUptimeCheckConfig());
o.add(buildUptimeCheckConfig());
return o;
}
-checkUnnamed1582(core.List<api.UptimeCheckConfig> o) {
+checkUnnamed1588(core.List<api.UptimeCheckConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkUptimeCheckConfig(o[0]);
checkUptimeCheckConfig(o[1]);
@@ -821,7 +821,7 @@
buildCounterListUptimeCheckConfigsResponse++;
if (buildCounterListUptimeCheckConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.uptimeCheckConfigs = buildUnnamed1582();
+ o.uptimeCheckConfigs = buildUnnamed1588();
}
buildCounterListUptimeCheckConfigsResponse--;
return o;
@@ -831,19 +831,19 @@
buildCounterListUptimeCheckConfigsResponse++;
if (buildCounterListUptimeCheckConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1582(o.uptimeCheckConfigs);
+ checkUnnamed1588(o.uptimeCheckConfigs);
}
buildCounterListUptimeCheckConfigsResponse--;
}
-buildUnnamed1583() {
+buildUnnamed1589() {
var o = new core.List<api.UptimeCheckIp>();
o.add(buildUptimeCheckIp());
o.add(buildUptimeCheckIp());
return o;
}
-checkUnnamed1583(core.List<api.UptimeCheckIp> o) {
+checkUnnamed1589(core.List<api.UptimeCheckIp> o) {
unittest.expect(o, unittest.hasLength(2));
checkUptimeCheckIp(o[0]);
checkUptimeCheckIp(o[1]);
@@ -855,7 +855,7 @@
buildCounterListUptimeCheckIpsResponse++;
if (buildCounterListUptimeCheckIpsResponse < 3) {
o.nextPageToken = "foo";
- o.uptimeCheckIps = buildUnnamed1583();
+ o.uptimeCheckIps = buildUnnamed1589();
}
buildCounterListUptimeCheckIpsResponse--;
return o;
@@ -865,19 +865,19 @@
buildCounterListUptimeCheckIpsResponse++;
if (buildCounterListUptimeCheckIpsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1583(o.uptimeCheckIps);
+ checkUnnamed1589(o.uptimeCheckIps);
}
buildCounterListUptimeCheckIpsResponse--;
}
-buildUnnamed1584() {
+buildUnnamed1590() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1584(core.Map<core.String, core.String> o) {
+checkUnnamed1590(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -888,7 +888,7 @@
var o = new api.Metric();
buildCounterMetric++;
if (buildCounterMetric < 3) {
- o.labels = buildUnnamed1584();
+ o.labels = buildUnnamed1590();
o.type = "foo";
}
buildCounterMetric--;
@@ -898,20 +898,20 @@
checkMetric(api.Metric o) {
buildCounterMetric++;
if (buildCounterMetric < 3) {
- checkUnnamed1584(o.labels);
+ checkUnnamed1590(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMetric--;
}
-buildUnnamed1585() {
+buildUnnamed1591() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1585(core.List<api.LabelDescriptor> o) {
+checkUnnamed1591(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -924,7 +924,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1585();
+ o.labels = buildUnnamed1591();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -940,7 +940,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1585(o.labels);
+ checkUnnamed1591(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -950,14 +950,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1586() {
+buildUnnamed1592() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1586(core.Map<core.String, core.String> o) {
+checkUnnamed1592(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -968,7 +968,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed1586();
+ o.labels = buildUnnamed1592();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -978,20 +978,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed1586(o.labels);
+ checkUnnamed1592(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed1587() {
+buildUnnamed1593() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1587(core.List<api.LabelDescriptor> o) {
+checkUnnamed1593(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1004,7 +1004,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1587();
+ o.labels = buildUnnamed1593();
o.name = "foo";
o.type = "foo";
}
@@ -1017,14 +1017,14 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1587(o.labels);
+ checkUnnamed1593(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1588() {
+buildUnnamed1594() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1039,7 +1039,7 @@
return o;
}
-checkUnnamed1588(core.Map<core.String, core.Object> o) {
+checkUnnamed1594(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1059,7 +1059,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1588();
+ o.value = buildUnnamed1594();
}
buildCounterOption--;
return o;
@@ -1069,7 +1069,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1588(o.value);
+ checkUnnamed1594(o.value);
}
buildCounterOption--;
}
@@ -1156,7 +1156,7 @@
buildCounterSourceContext--;
}
-buildUnnamed1589() {
+buildUnnamed1595() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1171,7 +1171,7 @@
return o;
}
-checkUnnamed1589(core.Map<core.String, core.Object> o) {
+checkUnnamed1595(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1185,17 +1185,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed1590() {
+buildUnnamed1596() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1589());
- o.add(buildUnnamed1589());
+ o.add(buildUnnamed1595());
+ o.add(buildUnnamed1595());
return o;
}
-checkUnnamed1590(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1596(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1589(o[0]);
- checkUnnamed1589(o[1]);
+ checkUnnamed1595(o[0]);
+ checkUnnamed1595(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1204,7 +1204,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1590();
+ o.details = buildUnnamed1596();
o.message = "foo";
}
buildCounterStatus--;
@@ -1215,7 +1215,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1590(o.details);
+ checkUnnamed1596(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1261,14 +1261,14 @@
buildCounterTimeInterval--;
}
-buildUnnamed1591() {
+buildUnnamed1597() {
var o = new core.List<api.Point>();
o.add(buildPoint());
o.add(buildPoint());
return o;
}
-checkUnnamed1591(core.List<api.Point> o) {
+checkUnnamed1597(core.List<api.Point> o) {
unittest.expect(o, unittest.hasLength(2));
checkPoint(o[0]);
checkPoint(o[1]);
@@ -1281,7 +1281,7 @@
if (buildCounterTimeSeries < 3) {
o.metric = buildMetric();
o.metricKind = "foo";
- o.points = buildUnnamed1591();
+ o.points = buildUnnamed1597();
o.resource = buildMonitoredResource();
o.valueType = "foo";
}
@@ -1294,47 +1294,47 @@
if (buildCounterTimeSeries < 3) {
checkMetric(o.metric);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed1591(o.points);
+ checkUnnamed1597(o.points);
checkMonitoredResource(o.resource);
unittest.expect(o.valueType, unittest.equals('foo'));
}
buildCounterTimeSeries--;
}
-buildUnnamed1592() {
+buildUnnamed1598() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1592(core.List<api.Field> o) {
+checkUnnamed1598(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1593() {
+buildUnnamed1599() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1593(core.List<core.String> o) {
+checkUnnamed1599(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'));
}
-buildUnnamed1594() {
+buildUnnamed1600() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1594(core.List<api.Option> o) {
+checkUnnamed1600(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1345,10 +1345,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1592();
+ o.fields = buildUnnamed1598();
o.name = "foo";
- o.oneofs = buildUnnamed1593();
- o.options = buildUnnamed1594();
+ o.oneofs = buildUnnamed1599();
+ o.options = buildUnnamed1600();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1359,10 +1359,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1592(o.fields);
+ checkUnnamed1598(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1593(o.oneofs);
- checkUnnamed1594(o.options);
+ checkUnnamed1599(o.oneofs);
+ checkUnnamed1600(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -1396,27 +1396,27 @@
buildCounterTypedValue--;
}
-buildUnnamed1595() {
+buildUnnamed1601() {
var o = new core.List<api.ContentMatcher>();
o.add(buildContentMatcher());
o.add(buildContentMatcher());
return o;
}
-checkUnnamed1595(core.List<api.ContentMatcher> o) {
+checkUnnamed1601(core.List<api.ContentMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentMatcher(o[0]);
checkContentMatcher(o[1]);
}
-buildUnnamed1596() {
+buildUnnamed1602() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1596(core.List<core.String> o) {
+checkUnnamed1602(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'));
@@ -1427,14 +1427,14 @@
var o = new api.UptimeCheckConfig();
buildCounterUptimeCheckConfig++;
if (buildCounterUptimeCheckConfig < 3) {
- o.contentMatchers = buildUnnamed1595();
+ o.contentMatchers = buildUnnamed1601();
o.displayName = "foo";
o.httpCheck = buildHttpCheck();
o.monitoredResource = buildMonitoredResource();
o.name = "foo";
o.period = "foo";
o.resourceGroup = buildResourceGroup();
- o.selectedRegions = buildUnnamed1596();
+ o.selectedRegions = buildUnnamed1602();
o.tcpCheck = buildTcpCheck();
o.timeout = "foo";
}
@@ -1445,14 +1445,14 @@
checkUptimeCheckConfig(api.UptimeCheckConfig o) {
buildCounterUptimeCheckConfig++;
if (buildCounterUptimeCheckConfig < 3) {
- checkUnnamed1595(o.contentMatchers);
+ checkUnnamed1601(o.contentMatchers);
unittest.expect(o.displayName, unittest.equals('foo'));
checkHttpCheck(o.httpCheck);
checkMonitoredResource(o.monitoredResource);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.period, unittest.equals('foo'));
checkResourceGroup(o.resourceGroup);
- checkUnnamed1596(o.selectedRegions);
+ checkUnnamed1602(o.selectedRegions);
checkTcpCheck(o.tcpCheck);
unittest.expect(o.timeout, unittest.equals('foo'));
}
@@ -1482,14 +1482,14 @@
buildCounterUptimeCheckIp--;
}
-buildUnnamed1597() {
+buildUnnamed1603() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1597(core.List<core.String> o) {
+checkUnnamed1603(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'));
@@ -2068,11 +2068,11 @@
api.ProjectsGroupsResourceApi res =
new api.MonitoringApi(mock).projects.groups;
var arg_name = "foo";
+ var arg_ancestorsOfGroup = "foo";
var arg_childrenOfGroup = "foo";
var arg_descendantsOfGroup = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_ancestorsOfGroup = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2105,6 +2105,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["ancestorsOfGroup"].first,
+ unittest.equals(arg_ancestorsOfGroup));
unittest.expect(queryMap["childrenOfGroup"].first,
unittest.equals(arg_childrenOfGroup));
unittest.expect(queryMap["descendantsOfGroup"].first,
@@ -2113,8 +2115,6 @@
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["ancestorsOfGroup"].first,
- unittest.equals(arg_ancestorsOfGroup));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2125,11 +2125,11 @@
}), true);
res
.list(arg_name,
+ ancestorsOfGroup: arg_ancestorsOfGroup,
childrenOfGroup: arg_childrenOfGroup,
descendantsOfGroup: arg_descendantsOfGroup,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- ancestorsOfGroup: arg_ancestorsOfGroup,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListGroupsResponse response) {
checkListGroupsResponse(response);
@@ -2437,9 +2437,9 @@
api.ProjectsMetricDescriptorsResourceApi res =
new api.MonitoringApi(mock).projects.metricDescriptors;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2472,11 +2472,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2487,9 +2487,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListMetricDescriptorsResponse response) {
@@ -2680,6 +2680,10 @@
api.ProjectsTimeSeriesResourceApi res =
new api.MonitoringApi(mock).projects.timeSeries;
var arg_name = "foo";
+ var arg_aggregation_groupByFields = buildUnnamed1603();
+ var arg_interval_endTime = "foo";
+ var arg_aggregation_alignmentPeriod = "foo";
+ var arg_pageSize = 42;
var arg_orderBy = "foo";
var arg_aggregation_crossSeriesReducer = "foo";
var arg_filter = "foo";
@@ -2687,10 +2691,6 @@
var arg_aggregation_perSeriesAligner = "foo";
var arg_interval_startTime = "foo";
var arg_view = "foo";
- var arg_aggregation_groupByFields = buildUnnamed1597();
- var arg_interval_endTime = "foo";
- var arg_aggregation_alignmentPeriod = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2723,6 +2723,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["aggregation.groupByFields"],
+ unittest.equals(arg_aggregation_groupByFields));
+ unittest.expect(queryMap["interval.endTime"].first,
+ unittest.equals(arg_interval_endTime));
+ unittest.expect(queryMap["aggregation.alignmentPeriod"].first,
+ unittest.equals(arg_aggregation_alignmentPeriod));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["aggregation.crossSeriesReducer"].first,
@@ -2735,14 +2743,6 @@
unittest.expect(queryMap["interval.startTime"].first,
unittest.equals(arg_interval_startTime));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["aggregation.groupByFields"],
- unittest.equals(arg_aggregation_groupByFields));
- unittest.expect(queryMap["interval.endTime"].first,
- unittest.equals(arg_interval_endTime));
- unittest.expect(queryMap["aggregation.alignmentPeriod"].first,
- unittest.equals(arg_aggregation_alignmentPeriod));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2753,6 +2753,10 @@
}), true);
res
.list(arg_name,
+ aggregation_groupByFields: arg_aggregation_groupByFields,
+ interval_endTime: arg_interval_endTime,
+ aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod,
+ pageSize: arg_pageSize,
orderBy: arg_orderBy,
aggregation_crossSeriesReducer:
arg_aggregation_crossSeriesReducer,
@@ -2761,10 +2765,6 @@
aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner,
interval_startTime: arg_interval_startTime,
view: arg_view,
- aggregation_groupByFields: arg_aggregation_groupByFields,
- interval_endTime: arg_interval_endTime,
- aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTimeSeriesResponse response) {
checkListTimeSeriesResponse(response);
@@ -3002,7 +3002,6 @@
var arg_request = buildUptimeCheckConfig();
var arg_name = "foo";
var arg_updateMask = "foo";
- var arg_name1 = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UptimeCheckConfig.fromJson(json);
@@ -3040,7 +3039,6 @@
}
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
- unittest.expect(queryMap["name1"].first, unittest.equals(arg_name1));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3051,9 +3049,7 @@
}), true);
res
.patch(arg_request, arg_name,
- updateMask: arg_updateMask,
- name1: arg_name1,
- $fields: arg_$fields)
+ updateMask: arg_updateMask, $fields: arg_$fields)
.then(unittest.expectAsync1(((api.UptimeCheckConfig response) {
checkUptimeCheckConfig(response);
})));
diff --git a/generated/googleapis/test/oauth2/v2_test.dart b/generated/googleapis/test/oauth2/v2_test.dart
index 935c32c..161c245 100644
--- a/generated/googleapis/test/oauth2/v2_test.dart
+++ b/generated/googleapis/test/oauth2/v2_test.dart
@@ -79,14 +79,14 @@
buildCounterJwkKeys--;
}
-buildUnnamed2644() {
+buildUnnamed2650() {
var o = new core.List<api.JwkKeys>();
o.add(buildJwkKeys());
o.add(buildJwkKeys());
return o;
}
-checkUnnamed2644(core.List<api.JwkKeys> o) {
+checkUnnamed2650(core.List<api.JwkKeys> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwkKeys(o[0]);
checkJwkKeys(o[1]);
@@ -97,7 +97,7 @@
var o = new api.Jwk();
buildCounterJwk++;
if (buildCounterJwk < 3) {
- o.keys = buildUnnamed2644();
+ o.keys = buildUnnamed2650();
}
buildCounterJwk--;
return o;
@@ -106,7 +106,7 @@
checkJwk(api.Jwk o) {
buildCounterJwk++;
if (buildCounterJwk < 3) {
- checkUnnamed2644(o.keys);
+ checkUnnamed2650(o.keys);
}
buildCounterJwk--;
}
diff --git a/generated/googleapis/test/pagespeedonline/v1_test.dart b/generated/googleapis/test/pagespeedonline/v1_test.dart
index adb1f5b..cde16d9 100644
--- a/generated/googleapis/test/pagespeedonline/v1_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v1_test.dart
@@ -75,7 +75,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs--;
}
-buildUnnamed2645() {
+buildUnnamed2651() {
var o = new core
.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs());
@@ -83,7 +83,7 @@
return o;
}
-checkUnnamed2645(
+checkUnnamed2651(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksHeaderArgs>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -96,7 +96,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- o.args = buildUnnamed2645();
+ o.args = buildUnnamed2651();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -107,7 +107,7 @@
api.ResultFormattedResultsRuleResultsValueUrlBlocksHeader o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader < 3) {
- checkUnnamed2645(o.args);
+ checkUnnamed2651(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksHeader--;
@@ -140,7 +140,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs--;
}
-buildUnnamed2646() {
+buildUnnamed2652() {
var o = new core.List<
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs());
@@ -148,7 +148,7 @@
return o;
}
-checkUnnamed2646(
+checkUnnamed2652(
core.List<
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetailsArgs>
o) {
@@ -164,7 +164,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails <
3) {
- o.args = buildUnnamed2646();
+ o.args = buildUnnamed2652();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
@@ -176,13 +176,13 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails <
3) {
- checkUnnamed2646(o.args);
+ checkUnnamed2652(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails--;
}
-buildUnnamed2647() {
+buildUnnamed2653() {
var o = new core
.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails());
@@ -190,7 +190,7 @@
return o;
}
-checkUnnamed2647(
+checkUnnamed2653(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsDetails>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -225,7 +225,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs--;
}
-buildUnnamed2648() {
+buildUnnamed2654() {
var o = new core.List<
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs());
@@ -233,7 +233,7 @@
return o;
}
-checkUnnamed2648(
+checkUnnamed2654(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrlsResultArgs>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -248,7 +248,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult <
3) {
- o.args = buildUnnamed2648();
+ o.args = buildUnnamed2654();
o.format = "foo";
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -260,7 +260,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult <
3) {
- checkUnnamed2648(o.args);
+ checkUnnamed2654(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult--;
@@ -271,7 +271,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- o.details = buildUnnamed2647();
+ o.details = buildUnnamed2653();
o.result = buildResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -282,13 +282,13 @@
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed2647(o.details);
+ checkUnnamed2653(o.details);
checkResultFormattedResultsRuleResultsValueUrlBlocksUrlsResult(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed2649() {
+buildUnnamed2655() {
var o =
new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
@@ -296,7 +296,7 @@
return o;
}
-checkUnnamed2649(
+checkUnnamed2655(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]);
@@ -309,7 +309,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
o.header = buildResultFormattedResultsRuleResultsValueUrlBlocksHeader();
- o.urls = buildUnnamed2649();
+ o.urls = buildUnnamed2655();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -320,19 +320,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkResultFormattedResultsRuleResultsValueUrlBlocksHeader(o.header);
- checkUnnamed2649(o.urls);
+ checkUnnamed2655(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed2650() {
+buildUnnamed2656() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed2650(
+checkUnnamed2656(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]);
@@ -346,7 +346,7 @@
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
o.localizedRuleName = "foo";
o.ruleImpact = 42.0;
- o.urlBlocks = buildUnnamed2650();
+ o.urlBlocks = buildUnnamed2656();
}
buildCounterResultFormattedResultsRuleResultsValue--;
return o;
@@ -358,12 +358,12 @@
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
unittest.expect(o.localizedRuleName, unittest.equals('foo'));
unittest.expect(o.ruleImpact, unittest.equals(42.0));
- checkUnnamed2650(o.urlBlocks);
+ checkUnnamed2656(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed2651() {
+buildUnnamed2657() {
var o =
new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
@@ -371,7 +371,7 @@
return o;
}
-checkUnnamed2651(
+checkUnnamed2657(
core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValue(o["x"]);
@@ -384,7 +384,7 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
o.locale = "foo";
- o.ruleResults = buildUnnamed2651();
+ o.ruleResults = buildUnnamed2657();
}
buildCounterResultFormattedResults--;
return o;
@@ -394,19 +394,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2651(o.ruleResults);
+ checkUnnamed2657(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed2652() {
+buildUnnamed2658() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2652(core.List<core.String> o) {
+checkUnnamed2658(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'));
@@ -508,7 +508,7 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed2652();
+ o.invalidRules = buildUnnamed2658();
o.kind = "foo";
o.pageStats = buildResultPageStats();
o.responseCode = 42;
@@ -526,7 +526,7 @@
if (buildCounterResult < 3) {
checkResultFormattedResults(o.formattedResults);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2652(o.invalidRules);
+ checkUnnamed2658(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
@@ -538,14 +538,14 @@
buildCounterResult--;
}
-buildUnnamed2653() {
+buildUnnamed2659() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2653(core.List<core.String> o) {
+checkUnnamed2659(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'));
@@ -703,7 +703,7 @@
var arg_url = "foo";
var arg_filterThirdPartyResources = true;
var arg_locale = "foo";
- var arg_rule = buildUnnamed2653();
+ var arg_rule = buildUnnamed2659();
var arg_screenshot = true;
var arg_strategy = "foo";
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/pagespeedonline/v2_test.dart b/generated/googleapis/test/pagespeedonline/v2_test.dart
index 8b37796..eec4f5c 100644
--- a/generated/googleapis/test/pagespeedonline/v2_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v2_test.dart
@@ -76,14 +76,14 @@
buildCounterPagespeedApiFormatStringV2ArgsRects--;
}
-buildUnnamed1274() {
+buildUnnamed1280() {
var o = new core.List<api.PagespeedApiFormatStringV2ArgsRects>();
o.add(buildPagespeedApiFormatStringV2ArgsRects());
o.add(buildPagespeedApiFormatStringV2ArgsRects());
return o;
}
-checkUnnamed1274(core.List<api.PagespeedApiFormatStringV2ArgsRects> o) {
+checkUnnamed1280(core.List<api.PagespeedApiFormatStringV2ArgsRects> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2ArgsRects(o[0]);
checkPagespeedApiFormatStringV2ArgsRects(o[1]);
@@ -115,14 +115,14 @@
buildCounterPagespeedApiFormatStringV2ArgsSecondaryRects--;
}
-buildUnnamed1275() {
+buildUnnamed1281() {
var o = new core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects>();
o.add(buildPagespeedApiFormatStringV2ArgsSecondaryRects());
o.add(buildPagespeedApiFormatStringV2ArgsSecondaryRects());
return o;
}
-checkUnnamed1275(
+checkUnnamed1281(
core.List<api.PagespeedApiFormatStringV2ArgsSecondaryRects> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2ArgsSecondaryRects(o[0]);
@@ -135,8 +135,8 @@
buildCounterPagespeedApiFormatStringV2Args++;
if (buildCounterPagespeedApiFormatStringV2Args < 3) {
o.key = "foo";
- o.rects = buildUnnamed1274();
- o.secondaryRects = buildUnnamed1275();
+ o.rects = buildUnnamed1280();
+ o.secondaryRects = buildUnnamed1281();
o.type = "foo";
o.value = "foo";
}
@@ -148,22 +148,22 @@
buildCounterPagespeedApiFormatStringV2Args++;
if (buildCounterPagespeedApiFormatStringV2Args < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1274(o.rects);
- checkUnnamed1275(o.secondaryRects);
+ checkUnnamed1280(o.rects);
+ checkUnnamed1281(o.secondaryRects);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterPagespeedApiFormatStringV2Args--;
}
-buildUnnamed1276() {
+buildUnnamed1282() {
var o = new core.List<api.PagespeedApiFormatStringV2Args>();
o.add(buildPagespeedApiFormatStringV2Args());
o.add(buildPagespeedApiFormatStringV2Args());
return o;
}
-checkUnnamed1276(core.List<api.PagespeedApiFormatStringV2Args> o) {
+checkUnnamed1282(core.List<api.PagespeedApiFormatStringV2Args> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2Args(o[0]);
checkPagespeedApiFormatStringV2Args(o[1]);
@@ -174,7 +174,7 @@
var o = new api.PagespeedApiFormatStringV2();
buildCounterPagespeedApiFormatStringV2++;
if (buildCounterPagespeedApiFormatStringV2 < 3) {
- o.args = buildUnnamed1276();
+ o.args = buildUnnamed1282();
o.format = "foo";
}
buildCounterPagespeedApiFormatStringV2--;
@@ -184,7 +184,7 @@
checkPagespeedApiFormatStringV2(api.PagespeedApiFormatStringV2 o) {
buildCounterPagespeedApiFormatStringV2++;
if (buildCounterPagespeedApiFormatStringV2 < 3) {
- checkUnnamed1276(o.args);
+ checkUnnamed1282(o.args);
unittest.expect(o.format, unittest.equals('foo'));
}
buildCounterPagespeedApiFormatStringV2--;
@@ -244,27 +244,27 @@
buildCounterPagespeedApiImageV2--;
}
-buildUnnamed1277() {
+buildUnnamed1283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1277(core.List<core.String> o) {
+checkUnnamed1283(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'));
}
-buildUnnamed1278() {
+buildUnnamed1284() {
var o = new core.List<api.PagespeedApiFormatStringV2>();
o.add(buildPagespeedApiFormatStringV2());
o.add(buildPagespeedApiFormatStringV2());
return o;
}
-checkUnnamed1278(core.List<api.PagespeedApiFormatStringV2> o) {
+checkUnnamed1284(core.List<api.PagespeedApiFormatStringV2> o) {
unittest.expect(o, unittest.hasLength(2));
checkPagespeedApiFormatStringV2(o[0]);
checkPagespeedApiFormatStringV2(o[1]);
@@ -275,7 +275,7 @@
var o = new api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls();
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- o.details = buildUnnamed1278();
+ o.details = buildUnnamed1284();
o.result = buildPagespeedApiFormatStringV2();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
@@ -286,13 +286,13 @@
api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls o) {
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls < 3) {
- checkUnnamed1278(o.details);
+ checkUnnamed1284(o.details);
checkPagespeedApiFormatStringV2(o.result);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocksUrls--;
}
-buildUnnamed1279() {
+buildUnnamed1285() {
var o =
new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocksUrls());
@@ -300,7 +300,7 @@
return o;
}
-checkUnnamed1279(
+checkUnnamed1285(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocksUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocksUrls(o[0]);
@@ -313,7 +313,7 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
o.header = buildPagespeedApiFormatStringV2();
- o.urls = buildUnnamed1279();
+ o.urls = buildUnnamed1285();
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
return o;
@@ -324,19 +324,19 @@
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks++;
if (buildCounterResultFormattedResultsRuleResultsValueUrlBlocks < 3) {
checkPagespeedApiFormatStringV2(o.header);
- checkUnnamed1279(o.urls);
+ checkUnnamed1285(o.urls);
}
buildCounterResultFormattedResultsRuleResultsValueUrlBlocks--;
}
-buildUnnamed1280() {
+buildUnnamed1286() {
var o = new core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks>();
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
o.add(buildResultFormattedResultsRuleResultsValueUrlBlocks());
return o;
}
-checkUnnamed1280(
+checkUnnamed1286(
core.List<api.ResultFormattedResultsRuleResultsValueUrlBlocks> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValueUrlBlocks(o[0]);
@@ -348,11 +348,11 @@
var o = new api.ResultFormattedResultsRuleResultsValue();
buildCounterResultFormattedResultsRuleResultsValue++;
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
- o.groups = buildUnnamed1277();
+ o.groups = buildUnnamed1283();
o.localizedRuleName = "foo";
o.ruleImpact = 42.0;
o.summary = buildPagespeedApiFormatStringV2();
- o.urlBlocks = buildUnnamed1280();
+ o.urlBlocks = buildUnnamed1286();
}
buildCounterResultFormattedResultsRuleResultsValue--;
return o;
@@ -362,16 +362,16 @@
api.ResultFormattedResultsRuleResultsValue o) {
buildCounterResultFormattedResultsRuleResultsValue++;
if (buildCounterResultFormattedResultsRuleResultsValue < 3) {
- checkUnnamed1277(o.groups);
+ checkUnnamed1283(o.groups);
unittest.expect(o.localizedRuleName, unittest.equals('foo'));
unittest.expect(o.ruleImpact, unittest.equals(42.0));
checkPagespeedApiFormatStringV2(o.summary);
- checkUnnamed1280(o.urlBlocks);
+ checkUnnamed1286(o.urlBlocks);
}
buildCounterResultFormattedResultsRuleResultsValue--;
}
-buildUnnamed1281() {
+buildUnnamed1287() {
var o =
new core.Map<core.String, api.ResultFormattedResultsRuleResultsValue>();
o["x"] = buildResultFormattedResultsRuleResultsValue();
@@ -379,7 +379,7 @@
return o;
}
-checkUnnamed1281(
+checkUnnamed1287(
core.Map<core.String, api.ResultFormattedResultsRuleResultsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultFormattedResultsRuleResultsValue(o["x"]);
@@ -392,7 +392,7 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
o.locale = "foo";
- o.ruleResults = buildUnnamed1281();
+ o.ruleResults = buildUnnamed1287();
}
buildCounterResultFormattedResults--;
return o;
@@ -402,19 +402,19 @@
buildCounterResultFormattedResults++;
if (buildCounterResultFormattedResults < 3) {
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1281(o.ruleResults);
+ checkUnnamed1287(o.ruleResults);
}
buildCounterResultFormattedResults--;
}
-buildUnnamed1282() {
+buildUnnamed1288() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1282(core.List<core.String> o) {
+checkUnnamed1288(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'));
@@ -482,14 +482,14 @@
buildCounterResultRuleGroupsValue--;
}
-buildUnnamed1283() {
+buildUnnamed1289() {
var o = new core.Map<core.String, api.ResultRuleGroupsValue>();
o["x"] = buildResultRuleGroupsValue();
o["y"] = buildResultRuleGroupsValue();
return o;
}
-checkUnnamed1283(core.Map<core.String, api.ResultRuleGroupsValue> o) {
+checkUnnamed1289(core.Map<core.String, api.ResultRuleGroupsValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultRuleGroupsValue(o["x"]);
checkResultRuleGroupsValue(o["y"]);
@@ -523,11 +523,11 @@
if (buildCounterResult < 3) {
o.formattedResults = buildResultFormattedResults();
o.id = "foo";
- o.invalidRules = buildUnnamed1282();
+ o.invalidRules = buildUnnamed1288();
o.kind = "foo";
o.pageStats = buildResultPageStats();
o.responseCode = 42;
- o.ruleGroups = buildUnnamed1283();
+ o.ruleGroups = buildUnnamed1289();
o.screenshot = buildPagespeedApiImageV2();
o.title = "foo";
o.version = buildResultVersion();
@@ -541,11 +541,11 @@
if (buildCounterResult < 3) {
checkResultFormattedResults(o.formattedResults);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1282(o.invalidRules);
+ checkUnnamed1288(o.invalidRules);
unittest.expect(o.kind, unittest.equals('foo'));
checkResultPageStats(o.pageStats);
unittest.expect(o.responseCode, unittest.equals(42));
- checkUnnamed1283(o.ruleGroups);
+ checkUnnamed1289(o.ruleGroups);
checkPagespeedApiImageV2(o.screenshot);
unittest.expect(o.title, unittest.equals('foo'));
checkResultVersion(o.version);
@@ -553,14 +553,14 @@
buildCounterResult--;
}
-buildUnnamed1284() {
+buildUnnamed1290() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1284(core.List<core.String> o) {
+checkUnnamed1290(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'));
@@ -694,7 +694,7 @@
var arg_url = "foo";
var arg_filterThirdPartyResources = true;
var arg_locale = "foo";
- var arg_rule = buildUnnamed1284();
+ var arg_rule = buildUnnamed1290();
var arg_screenshot = true;
var arg_strategy = "foo";
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/partners/v2_test.dart b/generated/googleapis/test/partners/v2_test.dart
index ffa0996..a9b6bfe 100644
--- a/generated/googleapis/test/partners/v2_test.dart
+++ b/generated/googleapis/test/partners/v2_test.dart
@@ -96,14 +96,14 @@
buildCounterAnalytics--;
}
-buildUnnamed2004() {
+buildUnnamed2010() {
var o = new core.List<api.LatLng>();
o.add(buildLatLng());
o.add(buildLatLng());
return o;
}
-checkUnnamed2004(core.List<api.LatLng> o) {
+checkUnnamed2010(core.List<api.LatLng> o) {
unittest.expect(o, unittest.hasLength(2));
checkLatLng(o[0]);
checkLatLng(o[1]);
@@ -115,7 +115,7 @@
buildCounterAnalyticsDataPoint++;
if (buildCounterAnalyticsDataPoint < 3) {
o.eventCount = 42;
- o.eventLocations = buildUnnamed2004();
+ o.eventLocations = buildUnnamed2010();
}
buildCounterAnalyticsDataPoint--;
return o;
@@ -125,7 +125,7 @@
buildCounterAnalyticsDataPoint++;
if (buildCounterAnalyticsDataPoint < 3) {
unittest.expect(o.eventCount, unittest.equals(42));
- checkUnnamed2004(o.eventLocations);
+ checkUnnamed2010(o.eventLocations);
}
buildCounterAnalyticsDataPoint--;
}
@@ -153,27 +153,27 @@
buildCounterAnalyticsSummary--;
}
-buildUnnamed2005() {
+buildUnnamed2011() {
var o = new core.List<api.CountryOfferInfo>();
o.add(buildCountryOfferInfo());
o.add(buildCountryOfferInfo());
return o;
}
-checkUnnamed2005(core.List<api.CountryOfferInfo> o) {
+checkUnnamed2011(core.List<api.CountryOfferInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountryOfferInfo(o[0]);
checkCountryOfferInfo(o[1]);
}
-buildUnnamed2006() {
+buildUnnamed2012() {
var o = new core.List<api.OfferCustomer>();
o.add(buildOfferCustomer());
o.add(buildOfferCustomer());
return o;
}
-checkUnnamed2006(core.List<api.OfferCustomer> o) {
+checkUnnamed2012(core.List<api.OfferCustomer> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfferCustomer(o[0]);
checkOfferCustomer(o[1]);
@@ -185,14 +185,14 @@
buildCounterAvailableOffer++;
if (buildCounterAvailableOffer < 3) {
o.available = 42;
- o.countryOfferInfos = buildUnnamed2005();
+ o.countryOfferInfos = buildUnnamed2011();
o.description = "foo";
o.id = "foo";
o.maxAccountAge = 42;
o.name = "foo";
o.offerLevel = "foo";
o.offerType = "foo";
- o.qualifiedCustomer = buildUnnamed2006();
+ o.qualifiedCustomer = buildUnnamed2012();
o.qualifiedCustomersComplete = true;
o.showSpecialOfferCopy = true;
o.terms = "foo";
@@ -205,14 +205,14 @@
buildCounterAvailableOffer++;
if (buildCounterAvailableOffer < 3) {
unittest.expect(o.available, unittest.equals(42));
- checkUnnamed2005(o.countryOfferInfos);
+ checkUnnamed2011(o.countryOfferInfos);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.maxAccountAge, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.offerLevel, unittest.equals('foo'));
unittest.expect(o.offerType, unittest.equals('foo'));
- checkUnnamed2006(o.qualifiedCustomer);
+ checkUnnamed2012(o.qualifiedCustomer);
unittest.expect(o.qualifiedCustomersComplete, unittest.isTrue);
unittest.expect(o.showSpecialOfferCopy, unittest.isTrue);
unittest.expect(o.terms, unittest.equals('foo'));
@@ -268,14 +268,14 @@
buildCounterCertificationExamStatus--;
}
-buildUnnamed2007() {
+buildUnnamed2013() {
var o = new core.List<api.CertificationExamStatus>();
o.add(buildCertificationExamStatus());
o.add(buildCertificationExamStatus());
return o;
}
-checkUnnamed2007(core.List<api.CertificationExamStatus> o) {
+checkUnnamed2013(core.List<api.CertificationExamStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationExamStatus(o[0]);
checkCertificationExamStatus(o[1]);
@@ -286,7 +286,7 @@
var o = new api.CertificationStatus();
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- o.examStatuses = buildUnnamed2007();
+ o.examStatuses = buildUnnamed2013();
o.isCertified = true;
o.type = "foo";
o.userCount = 42;
@@ -298,7 +298,7 @@
checkCertificationStatus(api.CertificationStatus o) {
buildCounterCertificationStatus++;
if (buildCounterCertificationStatus < 3) {
- checkUnnamed2007(o.examStatuses);
+ checkUnnamed2013(o.examStatuses);
unittest.expect(o.isCertified, unittest.isTrue);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.userCount, unittest.equals(42));
@@ -306,193 +306,56 @@
buildCounterCertificationStatus--;
}
-buildUnnamed2008() {
+buildUnnamed2014() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2008(core.List<core.String> o) {
+checkUnnamed2014(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'));
}
-buildUnnamed2009() {
+buildUnnamed2015() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2009(core.List<core.String> o) {
+checkUnnamed2015(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'));
}
-buildUnnamed2010() {
+buildUnnamed2016() {
var o = new core.List<api.CertificationStatus>();
o.add(buildCertificationStatus());
o.add(buildCertificationStatus());
return o;
}
-checkUnnamed2010(core.List<api.CertificationStatus> o) {
+checkUnnamed2016(core.List<api.CertificationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertificationStatus(o[0]);
checkCertificationStatus(o[1]);
}
-buildUnnamed2011() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2011(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'));
-}
-
-buildUnnamed2012() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2012(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'));
-}
-
-buildUnnamed2013() {
- var o = new core.List<api.LocalizedCompanyInfo>();
- o.add(buildLocalizedCompanyInfo());
- o.add(buildLocalizedCompanyInfo());
- return o;
-}
-
-checkUnnamed2013(core.List<api.LocalizedCompanyInfo> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLocalizedCompanyInfo(o[0]);
- checkLocalizedCompanyInfo(o[1]);
-}
-
-buildUnnamed2014() {
- var o = new core.List<api.Location>();
- o.add(buildLocation());
- o.add(buildLocation());
- return o;
-}
-
-checkUnnamed2014(core.List<api.Location> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLocation(o[0]);
- checkLocation(o[1]);
-}
-
-buildUnnamed2015() {
- var o = new core.List<api.Rank>();
- o.add(buildRank());
- o.add(buildRank());
- return o;
-}
-
-checkUnnamed2015(core.List<api.Rank> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkRank(o[0]);
- checkRank(o[1]);
-}
-
-buildUnnamed2016() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2016(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'));
-}
-
buildUnnamed2017() {
- var o = new core.List<api.SpecializationStatus>();
- o.add(buildSpecializationStatus());
- o.add(buildSpecializationStatus());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed2017(core.List<api.SpecializationStatus> o) {
+checkUnnamed2017(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkSpecializationStatus(o[0]);
- checkSpecializationStatus(o[1]);
-}
-
-core.int buildCounterCompany = 0;
-buildCompany() {
- var o = new api.Company();
- buildCounterCompany++;
- if (buildCounterCompany < 3) {
- o.additionalWebsites = buildUnnamed2008();
- o.autoApprovalEmailDomains = buildUnnamed2009();
- o.badgeTier = "foo";
- o.certificationStatuses = buildUnnamed2010();
- o.companyTypes = buildUnnamed2011();
- o.convertedMinMonthlyBudget = buildMoney();
- o.id = "foo";
- o.industries = buildUnnamed2012();
- o.localizedInfos = buildUnnamed2013();
- o.locations = buildUnnamed2014();
- o.name = "foo";
- o.originalMinMonthlyBudget = buildMoney();
- o.primaryAdwordsManagerAccountId = "foo";
- o.primaryLanguageCode = "foo";
- o.primaryLocation = buildLocation();
- o.profileStatus = "foo";
- o.publicProfile = buildPublicProfile();
- o.ranks = buildUnnamed2015();
- o.services = buildUnnamed2016();
- o.specializationStatus = buildUnnamed2017();
- o.websiteUrl = "foo";
- }
- buildCounterCompany--;
- return o;
-}
-
-checkCompany(api.Company o) {
- buildCounterCompany++;
- if (buildCounterCompany < 3) {
- checkUnnamed2008(o.additionalWebsites);
- checkUnnamed2009(o.autoApprovalEmailDomains);
- unittest.expect(o.badgeTier, unittest.equals('foo'));
- checkUnnamed2010(o.certificationStatuses);
- checkUnnamed2011(o.companyTypes);
- checkMoney(o.convertedMinMonthlyBudget);
- unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2012(o.industries);
- checkUnnamed2013(o.localizedInfos);
- checkUnnamed2014(o.locations);
- unittest.expect(o.name, unittest.equals('foo'));
- checkMoney(o.originalMinMonthlyBudget);
- unittest.expect(o.primaryAdwordsManagerAccountId, unittest.equals('foo'));
- unittest.expect(o.primaryLanguageCode, unittest.equals('foo'));
- checkLocation(o.primaryLocation);
- unittest.expect(o.profileStatus, unittest.equals('foo'));
- checkPublicProfile(o.publicProfile);
- checkUnnamed2015(o.ranks);
- checkUnnamed2016(o.services);
- checkUnnamed2017(o.specializationStatus);
- unittest.expect(o.websiteUrl, unittest.equals('foo'));
- }
- buildCounterCompany--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed2018() {
@@ -509,13 +372,150 @@
}
buildUnnamed2019() {
+ var o = new core.List<api.LocalizedCompanyInfo>();
+ o.add(buildLocalizedCompanyInfo());
+ o.add(buildLocalizedCompanyInfo());
+ return o;
+}
+
+checkUnnamed2019(core.List<api.LocalizedCompanyInfo> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLocalizedCompanyInfo(o[0]);
+ checkLocalizedCompanyInfo(o[1]);
+}
+
+buildUnnamed2020() {
+ var o = new core.List<api.Location>();
+ o.add(buildLocation());
+ o.add(buildLocation());
+ return o;
+}
+
+checkUnnamed2020(core.List<api.Location> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLocation(o[0]);
+ checkLocation(o[1]);
+}
+
+buildUnnamed2021() {
+ var o = new core.List<api.Rank>();
+ o.add(buildRank());
+ o.add(buildRank());
+ return o;
+}
+
+checkUnnamed2021(core.List<api.Rank> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRank(o[0]);
+ checkRank(o[1]);
+}
+
+buildUnnamed2022() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2022(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'));
+}
+
+buildUnnamed2023() {
var o = new core.List<api.SpecializationStatus>();
o.add(buildSpecializationStatus());
o.add(buildSpecializationStatus());
return o;
}
-checkUnnamed2019(core.List<api.SpecializationStatus> o) {
+checkUnnamed2023(core.List<api.SpecializationStatus> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSpecializationStatus(o[0]);
+ checkSpecializationStatus(o[1]);
+}
+
+core.int buildCounterCompany = 0;
+buildCompany() {
+ var o = new api.Company();
+ buildCounterCompany++;
+ if (buildCounterCompany < 3) {
+ o.additionalWebsites = buildUnnamed2014();
+ o.autoApprovalEmailDomains = buildUnnamed2015();
+ o.badgeTier = "foo";
+ o.certificationStatuses = buildUnnamed2016();
+ o.companyTypes = buildUnnamed2017();
+ o.convertedMinMonthlyBudget = buildMoney();
+ o.id = "foo";
+ o.industries = buildUnnamed2018();
+ o.localizedInfos = buildUnnamed2019();
+ o.locations = buildUnnamed2020();
+ o.name = "foo";
+ o.originalMinMonthlyBudget = buildMoney();
+ o.primaryAdwordsManagerAccountId = "foo";
+ o.primaryLanguageCode = "foo";
+ o.primaryLocation = buildLocation();
+ o.profileStatus = "foo";
+ o.publicProfile = buildPublicProfile();
+ o.ranks = buildUnnamed2021();
+ o.services = buildUnnamed2022();
+ o.specializationStatus = buildUnnamed2023();
+ o.websiteUrl = "foo";
+ }
+ buildCounterCompany--;
+ return o;
+}
+
+checkCompany(api.Company o) {
+ buildCounterCompany++;
+ if (buildCounterCompany < 3) {
+ checkUnnamed2014(o.additionalWebsites);
+ checkUnnamed2015(o.autoApprovalEmailDomains);
+ unittest.expect(o.badgeTier, unittest.equals('foo'));
+ checkUnnamed2016(o.certificationStatuses);
+ checkUnnamed2017(o.companyTypes);
+ checkMoney(o.convertedMinMonthlyBudget);
+ unittest.expect(o.id, unittest.equals('foo'));
+ checkUnnamed2018(o.industries);
+ checkUnnamed2019(o.localizedInfos);
+ checkUnnamed2020(o.locations);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkMoney(o.originalMinMonthlyBudget);
+ unittest.expect(o.primaryAdwordsManagerAccountId, unittest.equals('foo'));
+ unittest.expect(o.primaryLanguageCode, unittest.equals('foo'));
+ checkLocation(o.primaryLocation);
+ unittest.expect(o.profileStatus, unittest.equals('foo'));
+ checkPublicProfile(o.publicProfile);
+ checkUnnamed2021(o.ranks);
+ checkUnnamed2022(o.services);
+ checkUnnamed2023(o.specializationStatus);
+ unittest.expect(o.websiteUrl, unittest.equals('foo'));
+ }
+ buildCounterCompany--;
+}
+
+buildUnnamed2024() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2024(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'));
+}
+
+buildUnnamed2025() {
+ var o = new core.List<api.SpecializationStatus>();
+ o.add(buildSpecializationStatus());
+ o.add(buildSpecializationStatus());
+ return o;
+}
+
+checkUnnamed2025(core.List<api.SpecializationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpecializationStatus(o[0]);
checkSpecializationStatus(o[1]);
@@ -541,8 +541,8 @@
o.primaryCountryCode = "foo";
o.primaryLanguageCode = "foo";
o.resolvedTimestamp = "foo";
- o.segment = buildUnnamed2018();
- o.specializationStatus = buildUnnamed2019();
+ o.segment = buildUnnamed2024();
+ o.specializationStatus = buildUnnamed2025();
o.state = "foo";
o.website = "foo";
}
@@ -568,8 +568,8 @@
unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
unittest.expect(o.primaryLanguageCode, unittest.equals('foo'));
unittest.expect(o.resolvedTimestamp, unittest.equals('foo'));
- checkUnnamed2018(o.segment);
- checkUnnamed2019(o.specializationStatus);
+ checkUnnamed2024(o.segment);
+ checkUnnamed2025(o.specializationStatus);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.website, unittest.equals('foo'));
}
@@ -708,14 +708,14 @@
buildCounterEmpty--;
}
-buildUnnamed2020() {
+buildUnnamed2026() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2020(core.List<core.String> o) {
+checkUnnamed2026(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'));
@@ -727,7 +727,7 @@
buildCounterEventData++;
if (buildCounterEventData < 3) {
o.key = "foo";
- o.values = buildUnnamed2020();
+ o.values = buildUnnamed2026();
}
buildCounterEventData--;
return o;
@@ -737,7 +737,7 @@
buildCounterEventData++;
if (buildCounterEventData < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed2020(o.values);
+ checkUnnamed2026(o.values);
}
buildCounterEventData--;
}
@@ -896,14 +896,14 @@
buildCounterLatLng--;
}
-buildUnnamed2021() {
+buildUnnamed2027() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2021(core.List<core.String> o) {
+checkUnnamed2027(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'));
@@ -920,7 +920,7 @@
o.email = "foo";
o.familyName = "foo";
o.givenName = "foo";
- o.gpsMotivations = buildUnnamed2021();
+ o.gpsMotivations = buildUnnamed2027();
o.id = "foo";
o.languageCode = "foo";
o.marketingOptIn = true;
@@ -943,7 +943,7 @@
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.familyName, unittest.equals('foo'));
unittest.expect(o.givenName, unittest.equals('foo'));
- checkUnnamed2021(o.gpsMotivations);
+ checkUnnamed2027(o.gpsMotivations);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.marketingOptIn, unittest.isTrue);
@@ -956,14 +956,14 @@
buildCounterLead--;
}
-buildUnnamed2022() {
+buildUnnamed2028() {
var o = new core.List<api.Analytics>();
o.add(buildAnalytics());
o.add(buildAnalytics());
return o;
}
-checkUnnamed2022(core.List<api.Analytics> o) {
+checkUnnamed2028(core.List<api.Analytics> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalytics(o[0]);
checkAnalytics(o[1]);
@@ -974,7 +974,7 @@
var o = new api.ListAnalyticsResponse();
buildCounterListAnalyticsResponse++;
if (buildCounterListAnalyticsResponse < 3) {
- o.analytics = buildUnnamed2022();
+ o.analytics = buildUnnamed2028();
o.analyticsSummary = buildAnalyticsSummary();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
@@ -986,7 +986,7 @@
checkListAnalyticsResponse(api.ListAnalyticsResponse o) {
buildCounterListAnalyticsResponse++;
if (buildCounterListAnalyticsResponse < 3) {
- checkUnnamed2022(o.analytics);
+ checkUnnamed2028(o.analytics);
checkAnalyticsSummary(o.analyticsSummary);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
@@ -994,14 +994,14 @@
buildCounterListAnalyticsResponse--;
}
-buildUnnamed2023() {
+buildUnnamed2029() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed2023(core.List<api.Company> o) {
+checkUnnamed2029(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -1012,7 +1012,7 @@
var o = new api.ListCompaniesResponse();
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- o.companies = buildUnnamed2023();
+ o.companies = buildUnnamed2029();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -1023,21 +1023,21 @@
checkListCompaniesResponse(api.ListCompaniesResponse o) {
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- checkUnnamed2023(o.companies);
+ checkUnnamed2029(o.companies);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListCompaniesResponse--;
}
-buildUnnamed2024() {
+buildUnnamed2030() {
var o = new core.List<api.Lead>();
o.add(buildLead());
o.add(buildLead());
return o;
}
-checkUnnamed2024(core.List<api.Lead> o) {
+checkUnnamed2030(core.List<api.Lead> o) {
unittest.expect(o, unittest.hasLength(2));
checkLead(o[0]);
checkLead(o[1]);
@@ -1048,7 +1048,7 @@
var o = new api.ListLeadsResponse();
buildCounterListLeadsResponse++;
if (buildCounterListLeadsResponse < 3) {
- o.leads = buildUnnamed2024();
+ o.leads = buildUnnamed2030();
o.nextPageToken = "foo";
o.responseMetadata = buildResponseMetadata();
o.totalSize = 42;
@@ -1060,7 +1060,7 @@
checkListLeadsResponse(api.ListLeadsResponse o) {
buildCounterListLeadsResponse++;
if (buildCounterListLeadsResponse < 3) {
- checkUnnamed2024(o.leads);
+ checkUnnamed2030(o.leads);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
unittest.expect(o.totalSize, unittest.equals(42));
@@ -1068,14 +1068,14 @@
buildCounterListLeadsResponse--;
}
-buildUnnamed2025() {
+buildUnnamed2031() {
var o = new core.List<api.HistoricalOffer>();
o.add(buildHistoricalOffer());
o.add(buildHistoricalOffer());
return o;
}
-checkUnnamed2025(core.List<api.HistoricalOffer> o) {
+checkUnnamed2031(core.List<api.HistoricalOffer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoricalOffer(o[0]);
checkHistoricalOffer(o[1]);
@@ -1088,7 +1088,7 @@
if (buildCounterListOffersHistoryResponse < 3) {
o.canShowEntireCompany = true;
o.nextPageToken = "foo";
- o.offers = buildUnnamed2025();
+ o.offers = buildUnnamed2031();
o.responseMetadata = buildResponseMetadata();
o.showingEntireCompany = true;
o.totalResults = 42;
@@ -1102,7 +1102,7 @@
if (buildCounterListOffersHistoryResponse < 3) {
unittest.expect(o.canShowEntireCompany, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2025(o.offers);
+ checkUnnamed2031(o.offers);
checkResponseMetadata(o.responseMetadata);
unittest.expect(o.showingEntireCompany, unittest.isTrue);
unittest.expect(o.totalResults, unittest.equals(42));
@@ -1110,14 +1110,14 @@
buildCounterListOffersHistoryResponse--;
}
-buildUnnamed2026() {
+buildUnnamed2032() {
var o = new core.List<api.AvailableOffer>();
o.add(buildAvailableOffer());
o.add(buildAvailableOffer());
return o;
}
-checkUnnamed2026(core.List<api.AvailableOffer> o) {
+checkUnnamed2032(core.List<api.AvailableOffer> o) {
unittest.expect(o, unittest.hasLength(2));
checkAvailableOffer(o[0]);
checkAvailableOffer(o[1]);
@@ -1128,7 +1128,7 @@
var o = new api.ListOffersResponse();
buildCounterListOffersResponse++;
if (buildCounterListOffersResponse < 3) {
- o.availableOffers = buildUnnamed2026();
+ o.availableOffers = buildUnnamed2032();
o.noOfferReason = "foo";
o.responseMetadata = buildResponseMetadata();
}
@@ -1139,21 +1139,21 @@
checkListOffersResponse(api.ListOffersResponse o) {
buildCounterListOffersResponse++;
if (buildCounterListOffersResponse < 3) {
- checkUnnamed2026(o.availableOffers);
+ checkUnnamed2032(o.availableOffers);
unittest.expect(o.noOfferReason, unittest.equals('foo'));
checkResponseMetadata(o.responseMetadata);
}
buildCounterListOffersResponse--;
}
-buildUnnamed2027() {
+buildUnnamed2033() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2027(core.List<core.String> o) {
+checkUnnamed2033(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'));
@@ -1165,7 +1165,7 @@
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
o.responseMetadata = buildResponseMetadata();
- o.userStates = buildUnnamed2027();
+ o.userStates = buildUnnamed2033();
}
buildCounterListUserStatesResponse--;
return o;
@@ -1175,19 +1175,19 @@
buildCounterListUserStatesResponse++;
if (buildCounterListUserStatesResponse < 3) {
checkResponseMetadata(o.responseMetadata);
- checkUnnamed2027(o.userStates);
+ checkUnnamed2033(o.userStates);
}
buildCounterListUserStatesResponse--;
}
-buildUnnamed2028() {
+buildUnnamed2034() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2028(core.List<core.String> o) {
+checkUnnamed2034(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'));
@@ -1198,7 +1198,7 @@
var o = new api.LocalizedCompanyInfo();
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- o.countryCodes = buildUnnamed2028();
+ o.countryCodes = buildUnnamed2034();
o.displayName = "foo";
o.languageCode = "foo";
o.overview = "foo";
@@ -1210,7 +1210,7 @@
checkLocalizedCompanyInfo(api.LocalizedCompanyInfo o) {
buildCounterLocalizedCompanyInfo++;
if (buildCounterLocalizedCompanyInfo < 3) {
- checkUnnamed2028(o.countryCodes);
+ checkUnnamed2034(o.countryCodes);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
@@ -1218,14 +1218,14 @@
buildCounterLocalizedCompanyInfo--;
}
-buildUnnamed2029() {
+buildUnnamed2035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2029(core.List<core.String> o) {
+checkUnnamed2035(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'));
@@ -1237,7 +1237,7 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.address = "foo";
- o.addressLine = buildUnnamed2029();
+ o.addressLine = buildUnnamed2035();
o.administrativeArea = "foo";
o.dependentLocality = "foo";
o.languageCode = "foo";
@@ -1255,7 +1255,7 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.address, unittest.equals('foo'));
- checkUnnamed2029(o.addressLine);
+ checkUnnamed2035(o.addressLine);
unittest.expect(o.administrativeArea, unittest.equals('foo'));
unittest.expect(o.dependentLocality, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
@@ -1268,14 +1268,14 @@
buildCounterLocation--;
}
-buildUnnamed2030() {
+buildUnnamed2036() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2030(core.Map<core.String, core.String> o) {
+checkUnnamed2036(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1286,7 +1286,7 @@
var o = new api.LogMessageRequest();
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- o.clientInfo = buildUnnamed2030();
+ o.clientInfo = buildUnnamed2036();
o.details = "foo";
o.level = "foo";
o.requestMetadata = buildRequestMetadata();
@@ -1298,7 +1298,7 @@
checkLogMessageRequest(api.LogMessageRequest o) {
buildCounterLogMessageRequest++;
if (buildCounterLogMessageRequest < 3) {
- checkUnnamed2030(o.clientInfo);
+ checkUnnamed2036(o.clientInfo);
unittest.expect(o.details, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
checkRequestMetadata(o.requestMetadata);
@@ -1325,14 +1325,14 @@
buildCounterLogMessageResponse--;
}
-buildUnnamed2031() {
+buildUnnamed2037() {
var o = new core.List<api.EventData>();
o.add(buildEventData());
o.add(buildEventData());
return o;
}
-checkUnnamed2031(core.List<api.EventData> o) {
+checkUnnamed2037(core.List<api.EventData> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventData(o[0]);
checkEventData(o[1]);
@@ -1345,7 +1345,7 @@
if (buildCounterLogUserEventRequest < 3) {
o.eventAction = "foo";
o.eventCategory = "foo";
- o.eventDatas = buildUnnamed2031();
+ o.eventDatas = buildUnnamed2037();
o.eventScope = "foo";
o.lead = buildLead();
o.requestMetadata = buildRequestMetadata();
@@ -1360,7 +1360,7 @@
if (buildCounterLogUserEventRequest < 3) {
unittest.expect(o.eventAction, unittest.equals('foo'));
unittest.expect(o.eventCategory, unittest.equals('foo'));
- checkUnnamed2031(o.eventDatas);
+ checkUnnamed2037(o.eventDatas);
unittest.expect(o.eventScope, unittest.equals('foo'));
checkLead(o.lead);
checkRequestMetadata(o.requestMetadata);
@@ -1542,14 +1542,14 @@
buildCounterRecaptchaChallenge--;
}
-buildUnnamed2032() {
+buildUnnamed2038() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2032(core.List<core.String> o) {
+checkUnnamed2038(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'));
@@ -1560,7 +1560,7 @@
var o = new api.RequestMetadata();
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- o.experimentIds = buildUnnamed2032();
+ o.experimentIds = buildUnnamed2038();
o.locale = "foo";
o.partnersSessionId = "foo";
o.trafficSource = buildTrafficSource();
@@ -1573,7 +1573,7 @@
checkRequestMetadata(api.RequestMetadata o) {
buildCounterRequestMetadata++;
if (buildCounterRequestMetadata < 3) {
- checkUnnamed2032(o.experimentIds);
+ checkUnnamed2038(o.experimentIds);
unittest.expect(o.locale, unittest.equals('foo'));
unittest.expect(o.partnersSessionId, unittest.equals('foo'));
checkTrafficSource(o.trafficSource);
@@ -1643,53 +1643,53 @@
buildCounterTrafficSource--;
}
-buildUnnamed2033() {
+buildUnnamed2039() {
var o = new core.List<api.AdWordsManagerAccountInfo>();
o.add(buildAdWordsManagerAccountInfo());
o.add(buildAdWordsManagerAccountInfo());
return o;
}
-checkUnnamed2033(core.List<api.AdWordsManagerAccountInfo> o) {
+checkUnnamed2039(core.List<api.AdWordsManagerAccountInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsManagerAccountInfo(o[0]);
checkAdWordsManagerAccountInfo(o[1]);
}
-buildUnnamed2034() {
+buildUnnamed2040() {
var o = new core.List<api.Certification>();
o.add(buildCertification());
o.add(buildCertification());
return o;
}
-checkUnnamed2034(core.List<api.Certification> o) {
+checkUnnamed2040(core.List<api.Certification> o) {
unittest.expect(o, unittest.hasLength(2));
checkCertification(o[0]);
checkCertification(o[1]);
}
-buildUnnamed2035() {
+buildUnnamed2041() {
var o = new core.List<api.ExamStatus>();
o.add(buildExamStatus());
o.add(buildExamStatus());
return o;
}
-checkUnnamed2035(core.List<api.ExamStatus> o) {
+checkUnnamed2041(core.List<api.ExamStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkExamStatus(o[0]);
checkExamStatus(o[1]);
}
-buildUnnamed2036() {
+buildUnnamed2042() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2036(core.List<core.String> o) {
+checkUnnamed2042(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'));
@@ -1700,15 +1700,15 @@
var o = new api.User();
buildCounterUser++;
if (buildCounterUser < 3) {
- o.availableAdwordsManagerAccounts = buildUnnamed2033();
- o.certificationStatus = buildUnnamed2034();
+ o.availableAdwordsManagerAccounts = buildUnnamed2039();
+ o.certificationStatus = buildUnnamed2040();
o.company = buildCompanyRelation();
o.companyVerificationEmail = "foo";
- o.examStatus = buildUnnamed2035();
+ o.examStatus = buildUnnamed2041();
o.id = "foo";
o.internalId = "foo";
o.lastAccessTime = "foo";
- o.primaryEmails = buildUnnamed2036();
+ o.primaryEmails = buildUnnamed2042();
o.profile = buildUserProfile();
o.publicProfile = buildPublicProfile();
}
@@ -1719,15 +1719,15 @@
checkUser(api.User o) {
buildCounterUser++;
if (buildCounterUser < 3) {
- checkUnnamed2033(o.availableAdwordsManagerAccounts);
- checkUnnamed2034(o.certificationStatus);
+ checkUnnamed2039(o.availableAdwordsManagerAccounts);
+ checkUnnamed2040(o.certificationStatus);
checkCompanyRelation(o.company);
unittest.expect(o.companyVerificationEmail, unittest.equals('foo'));
- checkUnnamed2035(o.examStatus);
+ checkUnnamed2041(o.examStatus);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalId, unittest.equals('foo'));
unittest.expect(o.lastAccessTime, unittest.equals('foo'));
- checkUnnamed2036(o.primaryEmails);
+ checkUnnamed2042(o.primaryEmails);
checkUserProfile(o.profile);
checkPublicProfile(o.publicProfile);
}
@@ -1755,131 +1755,6 @@
buildCounterUserOverrides--;
}
-buildUnnamed2037() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2037(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'));
-}
-
-buildUnnamed2038() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2038(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'));
-}
-
-buildUnnamed2039() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2039(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'));
-}
-
-buildUnnamed2040() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2040(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'));
-}
-
-buildUnnamed2041() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2041(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 buildCounterUserProfile = 0;
-buildUserProfile() {
- var o = new api.UserProfile();
- buildCounterUserProfile++;
- if (buildCounterUserProfile < 3) {
- o.address = buildLocation();
- o.adwordsManagerAccount = "foo";
- o.channels = buildUnnamed2037();
- o.emailAddress = "foo";
- o.emailOptIns = buildOptIns();
- o.familyName = "foo";
- o.givenName = "foo";
- o.industries = buildUnnamed2038();
- o.jobFunctions = buildUnnamed2039();
- o.languages = buildUnnamed2040();
- o.markets = buildUnnamed2041();
- o.migrateToAfa = true;
- o.phoneNumber = "foo";
- o.primaryCountryCode = "foo";
- o.profilePublic = true;
- }
- buildCounterUserProfile--;
- return o;
-}
-
-checkUserProfile(api.UserProfile o) {
- buildCounterUserProfile++;
- if (buildCounterUserProfile < 3) {
- checkLocation(o.address);
- unittest.expect(o.adwordsManagerAccount, unittest.equals('foo'));
- checkUnnamed2037(o.channels);
- unittest.expect(o.emailAddress, unittest.equals('foo'));
- checkOptIns(o.emailOptIns);
- unittest.expect(o.familyName, unittest.equals('foo'));
- unittest.expect(o.givenName, unittest.equals('foo'));
- checkUnnamed2038(o.industries);
- checkUnnamed2039(o.jobFunctions);
- checkUnnamed2040(o.languages);
- checkUnnamed2041(o.markets);
- unittest.expect(o.migrateToAfa, unittest.isTrue);
- unittest.expect(o.phoneNumber, unittest.equals('foo'));
- unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
- unittest.expect(o.profilePublic, unittest.isTrue);
- }
- buildCounterUserProfile--;
-}
-
-buildUnnamed2042() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2042(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'));
-}
-
buildUnnamed2043() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1945,6 +1820,53 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterUserProfile = 0;
+buildUserProfile() {
+ var o = new api.UserProfile();
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ o.address = buildLocation();
+ o.adwordsManagerAccount = "foo";
+ o.channels = buildUnnamed2043();
+ o.emailAddress = "foo";
+ o.emailOptIns = buildOptIns();
+ o.familyName = "foo";
+ o.givenName = "foo";
+ o.industries = buildUnnamed2044();
+ o.jobFunctions = buildUnnamed2045();
+ o.languages = buildUnnamed2046();
+ o.markets = buildUnnamed2047();
+ o.migrateToAfa = true;
+ o.phoneNumber = "foo";
+ o.primaryCountryCode = "foo";
+ o.profilePublic = true;
+ }
+ buildCounterUserProfile--;
+ return o;
+}
+
+checkUserProfile(api.UserProfile o) {
+ buildCounterUserProfile++;
+ if (buildCounterUserProfile < 3) {
+ checkLocation(o.address);
+ unittest.expect(o.adwordsManagerAccount, unittest.equals('foo'));
+ checkUnnamed2043(o.channels);
+ unittest.expect(o.emailAddress, unittest.equals('foo'));
+ checkOptIns(o.emailOptIns);
+ unittest.expect(o.familyName, unittest.equals('foo'));
+ unittest.expect(o.givenName, unittest.equals('foo'));
+ checkUnnamed2044(o.industries);
+ checkUnnamed2045(o.jobFunctions);
+ checkUnnamed2046(o.languages);
+ checkUnnamed2047(o.markets);
+ unittest.expect(o.migrateToAfa, unittest.isTrue);
+ unittest.expect(o.phoneNumber, unittest.equals('foo'));
+ unittest.expect(o.primaryCountryCode, unittest.equals('foo'));
+ unittest.expect(o.profilePublic, unittest.isTrue);
+ }
+ buildCounterUserProfile--;
+}
+
buildUnnamed2048() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2127,6 +2049,84 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2062() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2062(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'));
+}
+
+buildUnnamed2063() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2063(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'));
+}
+
+buildUnnamed2064() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2064(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'));
+}
+
+buildUnnamed2065() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2065(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'));
+}
+
+buildUnnamed2066() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2066(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'));
+}
+
+buildUnnamed2067() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2067(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'));
+}
+
main() {
unittest.group("obj-schema-AdWordsManagerAccountInfo", () {
unittest.test("to-json--from-json", () {
@@ -2524,15 +2524,15 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.AnalyticsResourceApi res = new api.PartnersApi(mock).analytics;
+ var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2042();
+ var arg_requestMetadata_experimentIds = buildUnnamed2048();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
- var arg_requestMetadata_locale = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2564,6 +2564,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestMetadata.locale"].first,
+ unittest.equals(arg_requestMetadata_locale));
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
@@ -2572,10 +2574,10 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
@@ -2583,8 +2585,6 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
- unittest.expect(queryMap["requestMetadata.locale"].first,
- unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2595,20 +2595,20 @@
}), true);
res
.list(
+ requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
- requestMetadata_locale: arg_requestMetadata_locale,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListAnalyticsResponse response) {
checkListAnalyticsResponse(response);
@@ -2677,17 +2677,17 @@
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.PartnersApi(mock).companies;
var arg_companyId = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2049();
+ var arg_currencyCode = "foo";
+ var arg_orderBy = "foo";
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_view = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_address = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2043();
- var arg_currencyCode = "foo";
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_orderBy = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_view = "foo";
- var arg_address = "foo";
- var arg_requestMetadata_locale = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2722,30 +2722,30 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["currencyCode"].first, unittest.equals(arg_currencyCode));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["requestMetadata.locale"].first,
+ unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(
+ queryMap["address"].first, unittest.equals(arg_address));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["currencyCode"].first, unittest.equals(arg_currencyCode));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
- queryMap["address"].first, unittest.equals(arg_address));
- unittest.expect(queryMap["requestMetadata.locale"].first,
- unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2756,22 +2756,22 @@
}), true);
res
.get(arg_companyId,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ currencyCode: arg_currencyCode,
+ orderBy: arg_orderBy,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
+ view: arg_view,
+ requestMetadata_locale: arg_requestMetadata_locale,
+ address: arg_address,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- currencyCode: arg_currencyCode,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
- orderBy: arg_orderBy,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
- view: arg_view,
- address: arg_address,
- requestMetadata_locale: arg_requestMetadata_locale,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.GetCompanyResponse response) {
checkGetCompanyResponse(response);
@@ -2781,31 +2781,31 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.PartnersApi(mock).companies;
- var arg_requestMetadata_partnersSessionId = "foo";
- var arg_companyName = "foo";
- var arg_pageToken = "foo";
- var arg_industries = buildUnnamed2044();
- var arg_websiteUrl = "foo";
- var arg_gpsMotivations = buildUnnamed2045();
- var arg_languageCodes = buildUnnamed2046();
+ var arg_languageCodes = buildUnnamed2050();
var arg_pageSize = 42;
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2047();
+ var arg_requestMetadata_experimentIds = buildUnnamed2051();
var arg_orderBy = "foo";
- var arg_specializations = buildUnnamed2048();
+ var arg_specializations = buildUnnamed2052();
var arg_maxMonthlyBudget_currencyCode = "foo";
var arg_minMonthlyBudget_currencyCode = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_view = "foo";
- var arg_address = "foo";
var arg_requestMetadata_locale = "foo";
+ var arg_address = "foo";
var arg_minMonthlyBudget_units = "foo";
var arg_maxMonthlyBudget_nanos = 42;
- var arg_services = buildUnnamed2049();
+ var arg_services = buildUnnamed2053();
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_maxMonthlyBudget_units = "foo";
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_minMonthlyBudget_nanos = 42;
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_companyName = "foo";
+ var arg_pageToken = "foo";
+ var arg_industries = buildUnnamed2054();
+ var arg_websiteUrl = "foo";
+ var arg_gpsMotivations = buildUnnamed2055();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2837,18 +2837,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
- unittest.expect(
- queryMap["companyName"].first, unittest.equals(arg_companyName));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["industries"], unittest.equals(arg_industries));
- unittest.expect(
- queryMap["websiteUrl"].first, unittest.equals(arg_websiteUrl));
- unittest.expect(
- queryMap["gpsMotivations"], unittest.equals(arg_gpsMotivations));
unittest.expect(
queryMap["languageCodes"], unittest.equals(arg_languageCodes));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
@@ -2869,10 +2857,10 @@
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
- queryMap["address"].first, unittest.equals(arg_address));
unittest.expect(queryMap["requestMetadata.locale"].first,
unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(
+ queryMap["address"].first, unittest.equals(arg_address));
unittest.expect(queryMap["minMonthlyBudget.units"].first,
unittest.equals(arg_minMonthlyBudget_units));
unittest.expect(
@@ -2890,6 +2878,18 @@
unittest.expect(
core.int.parse(queryMap["minMonthlyBudget.nanos"].first),
unittest.equals(arg_minMonthlyBudget_nanos));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(
+ queryMap["companyName"].first, unittest.equals(arg_companyName));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["industries"], unittest.equals(arg_industries));
+ unittest.expect(
+ queryMap["websiteUrl"].first, unittest.equals(arg_websiteUrl));
+ unittest.expect(
+ queryMap["gpsMotivations"], unittest.equals(arg_gpsMotivations));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2900,13 +2900,6 @@
}), true);
res
.list(
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
- companyName: arg_companyName,
- pageToken: arg_pageToken,
- industries: arg_industries,
- websiteUrl: arg_websiteUrl,
- gpsMotivations: arg_gpsMotivations,
languageCodes: arg_languageCodes,
pageSize: arg_pageSize,
requestMetadata_userOverrides_ipAddress:
@@ -2919,8 +2912,8 @@
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
view: arg_view,
- address: arg_address,
requestMetadata_locale: arg_requestMetadata_locale,
+ address: arg_address,
minMonthlyBudget_units: arg_minMonthlyBudget_units,
maxMonthlyBudget_nanos: arg_maxMonthlyBudget_nanos,
services: arg_services,
@@ -2930,6 +2923,13 @@
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
minMonthlyBudget_nanos: arg_minMonthlyBudget_nanos,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
+ companyName: arg_companyName,
+ pageToken: arg_pageToken,
+ industries: arg_industries,
+ websiteUrl: arg_websiteUrl,
+ gpsMotivations: arg_gpsMotivations,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListCompaniesResponse response) {
checkListCompaniesResponse(response);
@@ -3008,13 +3008,13 @@
var mock = new HttpServerMock();
api.ExamsResourceApi res = new api.PartnersApi(mock).exams;
var arg_examType = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2056();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2050();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3055,10 +3055,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -3067,11 +3072,6 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3082,18 +3082,18 @@
}), true);
res
.getToken(arg_examType,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ExamToken response) {
checkExamToken(response);
@@ -3105,9 +3105,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.LeadsResourceApi res = new api.PartnersApi(mock).leads;
- var arg_requestMetadata_locale = "foo";
- var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2051();
+ var arg_requestMetadata_experimentIds = buildUnnamed2057();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_orderBy = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
@@ -3115,6 +3113,8 @@
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3146,11 +3146,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.locale"].first,
- unittest.equals(arg_requestMetadata_locale));
- unittest.expect(
- queryMap["requestMetadata.userOverrides.ipAddress"].first,
- unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(queryMap["requestMetadata.experimentIds"],
unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(
@@ -3169,6 +3164,11 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first,
+ unittest.equals(arg_requestMetadata_locale));
+ unittest.expect(
+ queryMap["requestMetadata.userOverrides.ipAddress"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3179,9 +3179,6 @@
}), true);
res
.list(
- requestMetadata_locale: arg_requestMetadata_locale,
- requestMetadata_userOverrides_ipAddress:
- arg_requestMetadata_userOverrides_ipAddress,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
@@ -3194,6 +3191,9 @@
pageSize: arg_pageSize,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
+ requestMetadata_locale: arg_requestMetadata_locale,
+ requestMetadata_userOverrides_ipAddress:
+ arg_requestMetadata_userOverrides_ipAddress,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListLeadsResponse response) {
checkListLeadsResponse(response);
@@ -3205,13 +3205,13 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.OffersResourceApi res = new api.PartnersApi(mock).offers;
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2052();
+ var arg_requestMetadata_experimentIds = buildUnnamed2058();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3243,6 +3243,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -3256,10 +3260,6 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3270,6 +3270,10 @@
}), true);
res
.list(
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
@@ -3278,10 +3282,6 @@
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOffersResponse response) {
checkListOffersResponse(response);
@@ -3294,17 +3294,17 @@
var mock = new HttpServerMock();
api.OffersHistoryResourceApi res =
new api.PartnersApi(mock).offers.history;
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2059();
+ var arg_entireCompany = true;
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_orderBy = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
- var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2053();
- var arg_entireCompany = true;
- var arg_orderBy = "foo";
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3336,13 +3336,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
- unittest.expect(queryMap["requestMetadata.locale"].first,
- unittest.equals(arg_requestMetadata_locale));
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
@@ -3351,16 +3344,23 @@
unittest.expect(queryMap["entireCompany"].first,
unittest.equals("$arg_entireCompany"));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first,
+ unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3371,22 +3371,22 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
- requestMetadata_trafficSource_trafficSourceId:
- arg_requestMetadata_trafficSource_trafficSourceId,
- requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
entireCompany: arg_entireCompany,
- orderBy: arg_orderBy,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
+ orderBy: arg_orderBy,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ requestMetadata_trafficSource_trafficSourceId:
+ arg_requestMetadata_trafficSource_trafficSourceId,
+ requestMetadata_locale: arg_requestMetadata_locale,
$fields: arg_$fields)
.then(
unittest.expectAsync1(((api.ListOffersHistoryResponse response) {
@@ -3454,13 +3454,13 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.UserStatesResourceApi res = new api.PartnersApi(mock).userStates;
+ var arg_requestMetadata_locale = "foo";
+ var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2060();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
- var arg_requestMetadata_locale = "foo";
- var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2054();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3492,13 +3492,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["requestMetadata.locale"].first,
unittest.equals(arg_requestMetadata_locale));
unittest.expect(
@@ -3509,6 +3502,13 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3519,18 +3519,18 @@
}), true);
res
.list(
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
- requestMetadata_trafficSource_trafficSourceId:
- arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
+ requestMetadata_trafficSource_trafficSourceId:
+ arg_requestMetadata_trafficSource_trafficSourceId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListUserStatesResponse response) {
checkListUserStatesResponse(response);
@@ -3544,7 +3544,7 @@
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_request = buildCompanyRelation();
var arg_userId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2055();
+ var arg_requestMetadata_experimentIds = buildUnnamed2061();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
@@ -3643,13 +3643,13 @@
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_userId = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2056();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2062();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3690,11 +3690,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
@@ -3707,6 +3702,11 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3717,9 +3717,6 @@
}), true);
res
.deleteCompanyRelation(arg_userId,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
@@ -3729,6 +3726,9 @@
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
@@ -3739,14 +3739,14 @@
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_userId = "foo";
+ var arg_requestMetadata_experimentIds = buildUnnamed2063();
+ var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
var arg_userView = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2057();
- var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3781,6 +3781,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestMetadata.experimentIds"],
+ unittest.equals(arg_requestMetadata_experimentIds));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSubId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
@@ -3795,11 +3800,6 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
- unittest.expect(queryMap["requestMetadata.experimentIds"],
- unittest.equals(arg_requestMetadata_experimentIds));
- unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSubId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3810,6 +3810,9 @@
}), true);
res
.get(arg_userId,
+ requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
+ requestMetadata_trafficSource_trafficSubId:
+ arg_requestMetadata_trafficSource_trafficSubId,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
@@ -3820,9 +3823,6 @@
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
- requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
- requestMetadata_trafficSource_trafficSubId:
- arg_requestMetadata_trafficSource_trafficSubId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.User response) {
checkUser(response);
@@ -3833,13 +3833,13 @@
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.PartnersApi(mock).users;
var arg_request = buildUserProfile();
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2058();
+ var arg_requestMetadata_experimentIds = buildUnnamed2064();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UserProfile.fromJson(json);
@@ -3874,10 +3874,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -3891,6 +3887,10 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3901,10 +3901,6 @@
}), true);
res
.updateProfile(arg_request,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
@@ -3913,6 +3909,10 @@
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.UserProfile response) {
checkUserProfile(response);
@@ -3924,13 +3924,13 @@
unittest.test("method--getPartnersstatus", () {
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.PartnersApi(mock).v2;
- var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
- var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2059();
+ var arg_requestMetadata_experimentIds = buildUnnamed2065();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
var arg_requestMetadata_partnersSessionId = "foo";
+ var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
+ var arg_requestMetadata_locale = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3963,11 +3963,6 @@
}
}
unittest.expect(
- queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
- unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
- unittest.expect(queryMap["requestMetadata.locale"].first,
- unittest.equals(arg_requestMetadata_locale));
- unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
unittest.expect(queryMap["requestMetadata.experimentIds"],
@@ -3979,6 +3974,11 @@
unittest.equals(arg_requestMetadata_userOverrides_userId));
unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
unittest.equals(arg_requestMetadata_partnersSessionId));
+ unittest.expect(
+ queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
+ unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
+ unittest.expect(queryMap["requestMetadata.locale"].first,
+ unittest.equals(arg_requestMetadata_locale));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3989,9 +3989,6 @@
}), true);
res
.getPartnersstatus(
- requestMetadata_trafficSource_trafficSourceId:
- arg_requestMetadata_trafficSource_trafficSourceId,
- requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
@@ -4001,6 +3998,9 @@
arg_requestMetadata_userOverrides_userId,
requestMetadata_partnersSessionId:
arg_requestMetadata_partnersSessionId,
+ requestMetadata_trafficSource_trafficSourceId:
+ arg_requestMetadata_trafficSource_trafficSourceId,
+ requestMetadata_locale: arg_requestMetadata_locale,
$fields: arg_$fields)
.then(
unittest.expectAsync1(((api.GetPartnersStatusResponse response) {
@@ -4012,14 +4012,14 @@
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.PartnersApi(mock).v2;
var arg_request = buildCompany();
- var arg_updateMask = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2060();
+ var arg_requestMetadata_experimentIds = buildUnnamed2066();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
+ var arg_updateMask = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Company.fromJson(json);
@@ -4054,17 +4054,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["requestMetadata.experimentIds"],
unittest.equals(arg_requestMetadata_experimentIds));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -4073,6 +4071,8 @@
unittest.expect(
queryMap["requestMetadata.userOverrides.ipAddress"].first,
unittest.equals(arg_requestMetadata_userOverrides_ipAddress));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4083,19 +4083,19 @@
}), true);
res
.updateCompanies(arg_request,
- updateMask: arg_updateMask,
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
requestMetadata_userOverrides_userId:
arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
requestMetadata_userOverrides_ipAddress:
arg_requestMetadata_userOverrides_ipAddress,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Company response) {
checkCompany(response);
@@ -4106,14 +4106,14 @@
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.PartnersApi(mock).v2;
var arg_request = buildLead();
- var arg_requestMetadata_userOverrides_userId = "foo";
- var arg_requestMetadata_partnersSessionId = "foo";
var arg_requestMetadata_trafficSource_trafficSourceId = "foo";
var arg_requestMetadata_locale = "foo";
var arg_requestMetadata_userOverrides_ipAddress = "foo";
var arg_updateMask = "foo";
- var arg_requestMetadata_experimentIds = buildUnnamed2061();
+ var arg_requestMetadata_experimentIds = buildUnnamed2067();
var arg_requestMetadata_trafficSource_trafficSubId = "foo";
+ var arg_requestMetadata_userOverrides_userId = "foo";
+ var arg_requestMetadata_partnersSessionId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Lead.fromJson(json);
@@ -4148,10 +4148,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
- unittest.equals(arg_requestMetadata_userOverrides_userId));
- unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
- unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSourceId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSourceId));
@@ -4167,6 +4163,10 @@
unittest.expect(
queryMap["requestMetadata.trafficSource.trafficSubId"].first,
unittest.equals(arg_requestMetadata_trafficSource_trafficSubId));
+ unittest.expect(queryMap["requestMetadata.userOverrides.userId"].first,
+ unittest.equals(arg_requestMetadata_userOverrides_userId));
+ unittest.expect(queryMap["requestMetadata.partnersSessionId"].first,
+ unittest.equals(arg_requestMetadata_partnersSessionId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4177,10 +4177,6 @@
}), true);
res
.updateLeads(arg_request,
- requestMetadata_userOverrides_userId:
- arg_requestMetadata_userOverrides_userId,
- requestMetadata_partnersSessionId:
- arg_requestMetadata_partnersSessionId,
requestMetadata_trafficSource_trafficSourceId:
arg_requestMetadata_trafficSource_trafficSourceId,
requestMetadata_locale: arg_requestMetadata_locale,
@@ -4190,6 +4186,10 @@
requestMetadata_experimentIds: arg_requestMetadata_experimentIds,
requestMetadata_trafficSource_trafficSubId:
arg_requestMetadata_trafficSource_trafficSubId,
+ requestMetadata_userOverrides_userId:
+ arg_requestMetadata_userOverrides_userId,
+ requestMetadata_partnersSessionId:
+ arg_requestMetadata_partnersSessionId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Lead response) {
checkLead(response);
diff --git a/generated/googleapis/test/people/v1_test.dart b/generated/googleapis/test/people/v1_test.dart
index e5ffb69..70196eb 100644
--- a/generated/googleapis/test/people/v1_test.dart
+++ b/generated/googleapis/test/people/v1_test.dart
@@ -112,14 +112,14 @@
buildCounterAgeRangeType--;
}
-buildUnnamed1482() {
+buildUnnamed1488() {
var o = new core.List<api.ContactGroupResponse>();
o.add(buildContactGroupResponse());
o.add(buildContactGroupResponse());
return o;
}
-checkUnnamed1482(core.List<api.ContactGroupResponse> o) {
+checkUnnamed1488(core.List<api.ContactGroupResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactGroupResponse(o[0]);
checkContactGroupResponse(o[1]);
@@ -130,7 +130,7 @@
var o = new api.BatchGetContactGroupsResponse();
buildCounterBatchGetContactGroupsResponse++;
if (buildCounterBatchGetContactGroupsResponse < 3) {
- o.responses = buildUnnamed1482();
+ o.responses = buildUnnamed1488();
}
buildCounterBatchGetContactGroupsResponse--;
return o;
@@ -139,7 +139,7 @@
checkBatchGetContactGroupsResponse(api.BatchGetContactGroupsResponse o) {
buildCounterBatchGetContactGroupsResponse++;
if (buildCounterBatchGetContactGroupsResponse < 3) {
- checkUnnamed1482(o.responses);
+ checkUnnamed1488(o.responses);
}
buildCounterBatchGetContactGroupsResponse--;
}
@@ -211,14 +211,14 @@
buildCounterBraggingRights--;
}
-buildUnnamed1483() {
+buildUnnamed1489() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1483(core.List<core.String> o) {
+checkUnnamed1489(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'));
@@ -233,7 +233,7 @@
o.formattedName = "foo";
o.groupType = "foo";
o.memberCount = 42;
- o.memberResourceNames = buildUnnamed1483();
+ o.memberResourceNames = buildUnnamed1489();
o.metadata = buildContactGroupMetadata();
o.name = "foo";
o.resourceName = "foo";
@@ -249,7 +249,7 @@
unittest.expect(o.formattedName, unittest.equals('foo'));
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.memberCount, unittest.equals(42));
- checkUnnamed1483(o.memberResourceNames);
+ checkUnnamed1489(o.memberResourceNames);
checkContactGroupMetadata(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.resourceName, unittest.equals('foo'));
@@ -517,14 +517,14 @@
buildCounterGender--;
}
-buildUnnamed1484() {
+buildUnnamed1490() {
var o = new core.List<api.PersonResponse>();
o.add(buildPersonResponse());
o.add(buildPersonResponse());
return o;
}
-checkUnnamed1484(core.List<api.PersonResponse> o) {
+checkUnnamed1490(core.List<api.PersonResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonResponse(o[0]);
checkPersonResponse(o[1]);
@@ -535,7 +535,7 @@
var o = new api.GetPeopleResponse();
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- o.responses = buildUnnamed1484();
+ o.responses = buildUnnamed1490();
}
buildCounterGetPeopleResponse--;
return o;
@@ -544,7 +544,7 @@
checkGetPeopleResponse(api.GetPeopleResponse o) {
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- checkUnnamed1484(o.responses);
+ checkUnnamed1490(o.responses);
}
buildCounterGetPeopleResponse--;
}
@@ -599,14 +599,14 @@
buildCounterInterest--;
}
-buildUnnamed1485() {
+buildUnnamed1491() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed1485(core.List<api.Person> o) {
+checkUnnamed1491(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -617,7 +617,7 @@
var o = new api.ListConnectionsResponse();
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- o.connections = buildUnnamed1485();
+ o.connections = buildUnnamed1491();
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
o.totalItems = 42;
@@ -630,7 +630,7 @@
checkListConnectionsResponse(api.ListConnectionsResponse o) {
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- checkUnnamed1485(o.connections);
+ checkUnnamed1491(o.connections);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -639,14 +639,14 @@
buildCounterListConnectionsResponse--;
}
-buildUnnamed1486() {
+buildUnnamed1492() {
var o = new core.List<api.ContactGroup>();
o.add(buildContactGroup());
o.add(buildContactGroup());
return o;
}
-checkUnnamed1486(core.List<api.ContactGroup> o) {
+checkUnnamed1492(core.List<api.ContactGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactGroup(o[0]);
checkContactGroup(o[1]);
@@ -657,7 +657,7 @@
var o = new api.ListContactGroupsResponse();
buildCounterListContactGroupsResponse++;
if (buildCounterListContactGroupsResponse < 3) {
- o.contactGroups = buildUnnamed1486();
+ o.contactGroups = buildUnnamed1492();
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
o.totalItems = 42;
@@ -669,7 +669,7 @@
checkListContactGroupsResponse(api.ListContactGroupsResponse o) {
buildCounterListContactGroupsResponse++;
if (buildCounterListContactGroupsResponse < 3) {
- checkUnnamed1486(o.contactGroups);
+ checkUnnamed1492(o.contactGroups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -721,27 +721,27 @@
buildCounterMembership--;
}
-buildUnnamed1487() {
+buildUnnamed1493() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1487(core.List<core.String> o) {
+checkUnnamed1493(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'));
}
-buildUnnamed1488() {
+buildUnnamed1494() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1488(core.List<core.String> o) {
+checkUnnamed1494(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'));
@@ -752,8 +752,8 @@
var o = new api.ModifyContactGroupMembersRequest();
buildCounterModifyContactGroupMembersRequest++;
if (buildCounterModifyContactGroupMembersRequest < 3) {
- o.resourceNamesToAdd = buildUnnamed1487();
- o.resourceNamesToRemove = buildUnnamed1488();
+ o.resourceNamesToAdd = buildUnnamed1493();
+ o.resourceNamesToRemove = buildUnnamed1494();
}
buildCounterModifyContactGroupMembersRequest--;
return o;
@@ -762,20 +762,20 @@
checkModifyContactGroupMembersRequest(api.ModifyContactGroupMembersRequest o) {
buildCounterModifyContactGroupMembersRequest++;
if (buildCounterModifyContactGroupMembersRequest < 3) {
- checkUnnamed1487(o.resourceNamesToAdd);
- checkUnnamed1488(o.resourceNamesToRemove);
+ checkUnnamed1493(o.resourceNamesToAdd);
+ checkUnnamed1494(o.resourceNamesToRemove);
}
buildCounterModifyContactGroupMembersRequest--;
}
-buildUnnamed1489() {
+buildUnnamed1495() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1489(core.List<core.String> o) {
+checkUnnamed1495(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'));
@@ -786,7 +786,7 @@
var o = new api.ModifyContactGroupMembersResponse();
buildCounterModifyContactGroupMembersResponse++;
if (buildCounterModifyContactGroupMembersResponse < 3) {
- o.notFoundResourceNames = buildUnnamed1489();
+ o.notFoundResourceNames = buildUnnamed1495();
}
buildCounterModifyContactGroupMembersResponse--;
return o;
@@ -796,7 +796,7 @@
api.ModifyContactGroupMembersResponse o) {
buildCounterModifyContactGroupMembersResponse++;
if (buildCounterModifyContactGroupMembersResponse < 3) {
- checkUnnamed1489(o.notFoundResourceNames);
+ checkUnnamed1495(o.notFoundResourceNames);
}
buildCounterModifyContactGroupMembersResponse--;
}
@@ -935,352 +935,352 @@
buildCounterOrganization--;
}
-buildUnnamed1490() {
+buildUnnamed1496() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed1490(core.List<api.Address> o) {
+checkUnnamed1496(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
}
-buildUnnamed1491() {
+buildUnnamed1497() {
var o = new core.List<api.AgeRangeType>();
o.add(buildAgeRangeType());
o.add(buildAgeRangeType());
return o;
}
-checkUnnamed1491(core.List<api.AgeRangeType> o) {
+checkUnnamed1497(core.List<api.AgeRangeType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAgeRangeType(o[0]);
checkAgeRangeType(o[1]);
}
-buildUnnamed1492() {
+buildUnnamed1498() {
var o = new core.List<api.Biography>();
o.add(buildBiography());
o.add(buildBiography());
return o;
}
-checkUnnamed1492(core.List<api.Biography> o) {
+checkUnnamed1498(core.List<api.Biography> o) {
unittest.expect(o, unittest.hasLength(2));
checkBiography(o[0]);
checkBiography(o[1]);
}
-buildUnnamed1493() {
+buildUnnamed1499() {
var o = new core.List<api.Birthday>();
o.add(buildBirthday());
o.add(buildBirthday());
return o;
}
-checkUnnamed1493(core.List<api.Birthday> o) {
+checkUnnamed1499(core.List<api.Birthday> o) {
unittest.expect(o, unittest.hasLength(2));
checkBirthday(o[0]);
checkBirthday(o[1]);
}
-buildUnnamed1494() {
+buildUnnamed1500() {
var o = new core.List<api.BraggingRights>();
o.add(buildBraggingRights());
o.add(buildBraggingRights());
return o;
}
-checkUnnamed1494(core.List<api.BraggingRights> o) {
+checkUnnamed1500(core.List<api.BraggingRights> o) {
unittest.expect(o, unittest.hasLength(2));
checkBraggingRights(o[0]);
checkBraggingRights(o[1]);
}
-buildUnnamed1495() {
+buildUnnamed1501() {
var o = new core.List<api.CoverPhoto>();
o.add(buildCoverPhoto());
o.add(buildCoverPhoto());
return o;
}
-checkUnnamed1495(core.List<api.CoverPhoto> o) {
+checkUnnamed1501(core.List<api.CoverPhoto> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverPhoto(o[0]);
checkCoverPhoto(o[1]);
}
-buildUnnamed1496() {
+buildUnnamed1502() {
var o = new core.List<api.EmailAddress>();
o.add(buildEmailAddress());
o.add(buildEmailAddress());
return o;
}
-checkUnnamed1496(core.List<api.EmailAddress> o) {
+checkUnnamed1502(core.List<api.EmailAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmailAddress(o[0]);
checkEmailAddress(o[1]);
}
-buildUnnamed1497() {
+buildUnnamed1503() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed1497(core.List<api.Event> o) {
+checkUnnamed1503(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
}
-buildUnnamed1498() {
+buildUnnamed1504() {
var o = new core.List<api.Gender>();
o.add(buildGender());
o.add(buildGender());
return o;
}
-checkUnnamed1498(core.List<api.Gender> o) {
+checkUnnamed1504(core.List<api.Gender> o) {
unittest.expect(o, unittest.hasLength(2));
checkGender(o[0]);
checkGender(o[1]);
}
-buildUnnamed1499() {
+buildUnnamed1505() {
var o = new core.List<api.ImClient>();
o.add(buildImClient());
o.add(buildImClient());
return o;
}
-checkUnnamed1499(core.List<api.ImClient> o) {
+checkUnnamed1505(core.List<api.ImClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkImClient(o[0]);
checkImClient(o[1]);
}
-buildUnnamed1500() {
+buildUnnamed1506() {
var o = new core.List<api.Interest>();
o.add(buildInterest());
o.add(buildInterest());
return o;
}
-checkUnnamed1500(core.List<api.Interest> o) {
+checkUnnamed1506(core.List<api.Interest> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterest(o[0]);
checkInterest(o[1]);
}
-buildUnnamed1501() {
+buildUnnamed1507() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed1501(core.List<api.Locale> o) {
+checkUnnamed1507(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed1502() {
+buildUnnamed1508() {
var o = new core.List<api.Membership>();
o.add(buildMembership());
o.add(buildMembership());
return o;
}
-checkUnnamed1502(core.List<api.Membership> o) {
+checkUnnamed1508(core.List<api.Membership> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembership(o[0]);
checkMembership(o[1]);
}
-buildUnnamed1503() {
+buildUnnamed1509() {
var o = new core.List<api.Name>();
o.add(buildName());
o.add(buildName());
return o;
}
-checkUnnamed1503(core.List<api.Name> o) {
+checkUnnamed1509(core.List<api.Name> o) {
unittest.expect(o, unittest.hasLength(2));
checkName(o[0]);
checkName(o[1]);
}
-buildUnnamed1504() {
+buildUnnamed1510() {
var o = new core.List<api.Nickname>();
o.add(buildNickname());
o.add(buildNickname());
return o;
}
-checkUnnamed1504(core.List<api.Nickname> o) {
+checkUnnamed1510(core.List<api.Nickname> o) {
unittest.expect(o, unittest.hasLength(2));
checkNickname(o[0]);
checkNickname(o[1]);
}
-buildUnnamed1505() {
+buildUnnamed1511() {
var o = new core.List<api.Occupation>();
o.add(buildOccupation());
o.add(buildOccupation());
return o;
}
-checkUnnamed1505(core.List<api.Occupation> o) {
+checkUnnamed1511(core.List<api.Occupation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOccupation(o[0]);
checkOccupation(o[1]);
}
-buildUnnamed1506() {
+buildUnnamed1512() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1506(core.List<api.Organization> o) {
+checkUnnamed1512(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
}
-buildUnnamed1507() {
+buildUnnamed1513() {
var o = new core.List<api.PhoneNumber>();
o.add(buildPhoneNumber());
o.add(buildPhoneNumber());
return o;
}
-checkUnnamed1507(core.List<api.PhoneNumber> o) {
+checkUnnamed1513(core.List<api.PhoneNumber> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoneNumber(o[0]);
checkPhoneNumber(o[1]);
}
-buildUnnamed1508() {
+buildUnnamed1514() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed1508(core.List<api.Photo> o) {
+checkUnnamed1514(core.List<api.Photo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoto(o[0]);
checkPhoto(o[1]);
}
-buildUnnamed1509() {
+buildUnnamed1515() {
var o = new core.List<api.Relation>();
o.add(buildRelation());
o.add(buildRelation());
return o;
}
-checkUnnamed1509(core.List<api.Relation> o) {
+checkUnnamed1515(core.List<api.Relation> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelation(o[0]);
checkRelation(o[1]);
}
-buildUnnamed1510() {
+buildUnnamed1516() {
var o = new core.List<api.RelationshipInterest>();
o.add(buildRelationshipInterest());
o.add(buildRelationshipInterest());
return o;
}
-checkUnnamed1510(core.List<api.RelationshipInterest> o) {
+checkUnnamed1516(core.List<api.RelationshipInterest> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipInterest(o[0]);
checkRelationshipInterest(o[1]);
}
-buildUnnamed1511() {
+buildUnnamed1517() {
var o = new core.List<api.RelationshipStatus>();
o.add(buildRelationshipStatus());
o.add(buildRelationshipStatus());
return o;
}
-checkUnnamed1511(core.List<api.RelationshipStatus> o) {
+checkUnnamed1517(core.List<api.RelationshipStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipStatus(o[0]);
checkRelationshipStatus(o[1]);
}
-buildUnnamed1512() {
+buildUnnamed1518() {
var o = new core.List<api.Residence>();
o.add(buildResidence());
o.add(buildResidence());
return o;
}
-checkUnnamed1512(core.List<api.Residence> o) {
+checkUnnamed1518(core.List<api.Residence> o) {
unittest.expect(o, unittest.hasLength(2));
checkResidence(o[0]);
checkResidence(o[1]);
}
-buildUnnamed1513() {
+buildUnnamed1519() {
var o = new core.List<api.Skill>();
o.add(buildSkill());
o.add(buildSkill());
return o;
}
-checkUnnamed1513(core.List<api.Skill> o) {
+checkUnnamed1519(core.List<api.Skill> o) {
unittest.expect(o, unittest.hasLength(2));
checkSkill(o[0]);
checkSkill(o[1]);
}
-buildUnnamed1514() {
+buildUnnamed1520() {
var o = new core.List<api.Tagline>();
o.add(buildTagline());
o.add(buildTagline());
return o;
}
-checkUnnamed1514(core.List<api.Tagline> o) {
+checkUnnamed1520(core.List<api.Tagline> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagline(o[0]);
checkTagline(o[1]);
}
-buildUnnamed1515() {
+buildUnnamed1521() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed1515(core.List<api.Url> o) {
+checkUnnamed1521(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
}
-buildUnnamed1516() {
+buildUnnamed1522() {
var o = new core.List<api.UserDefined>();
o.add(buildUserDefined());
o.add(buildUserDefined());
return o;
}
-checkUnnamed1516(core.List<api.UserDefined> o) {
+checkUnnamed1522(core.List<api.UserDefined> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefined(o[0]);
checkUserDefined(o[1]);
@@ -1291,37 +1291,37 @@
var o = new api.Person();
buildCounterPerson++;
if (buildCounterPerson < 3) {
- o.addresses = buildUnnamed1490();
+ o.addresses = buildUnnamed1496();
o.ageRange = "foo";
- o.ageRanges = buildUnnamed1491();
- o.biographies = buildUnnamed1492();
- o.birthdays = buildUnnamed1493();
- o.braggingRights = buildUnnamed1494();
- o.coverPhotos = buildUnnamed1495();
- o.emailAddresses = buildUnnamed1496();
+ o.ageRanges = buildUnnamed1497();
+ o.biographies = buildUnnamed1498();
+ o.birthdays = buildUnnamed1499();
+ o.braggingRights = buildUnnamed1500();
+ o.coverPhotos = buildUnnamed1501();
+ o.emailAddresses = buildUnnamed1502();
o.etag = "foo";
- o.events = buildUnnamed1497();
- o.genders = buildUnnamed1498();
- o.imClients = buildUnnamed1499();
- o.interests = buildUnnamed1500();
- o.locales = buildUnnamed1501();
- o.memberships = buildUnnamed1502();
+ o.events = buildUnnamed1503();
+ o.genders = buildUnnamed1504();
+ o.imClients = buildUnnamed1505();
+ o.interests = buildUnnamed1506();
+ o.locales = buildUnnamed1507();
+ o.memberships = buildUnnamed1508();
o.metadata = buildPersonMetadata();
- o.names = buildUnnamed1503();
- o.nicknames = buildUnnamed1504();
- o.occupations = buildUnnamed1505();
- o.organizations = buildUnnamed1506();
- o.phoneNumbers = buildUnnamed1507();
- o.photos = buildUnnamed1508();
- o.relations = buildUnnamed1509();
- o.relationshipInterests = buildUnnamed1510();
- o.relationshipStatuses = buildUnnamed1511();
- o.residences = buildUnnamed1512();
+ o.names = buildUnnamed1509();
+ o.nicknames = buildUnnamed1510();
+ o.occupations = buildUnnamed1511();
+ o.organizations = buildUnnamed1512();
+ o.phoneNumbers = buildUnnamed1513();
+ o.photos = buildUnnamed1514();
+ o.relations = buildUnnamed1515();
+ o.relationshipInterests = buildUnnamed1516();
+ o.relationshipStatuses = buildUnnamed1517();
+ o.residences = buildUnnamed1518();
o.resourceName = "foo";
- o.skills = buildUnnamed1513();
- o.taglines = buildUnnamed1514();
- o.urls = buildUnnamed1515();
- o.userDefined = buildUnnamed1516();
+ o.skills = buildUnnamed1519();
+ o.taglines = buildUnnamed1520();
+ o.urls = buildUnnamed1521();
+ o.userDefined = buildUnnamed1522();
}
buildCounterPerson--;
return o;
@@ -1330,75 +1330,75 @@
checkPerson(api.Person o) {
buildCounterPerson++;
if (buildCounterPerson < 3) {
- checkUnnamed1490(o.addresses);
+ checkUnnamed1496(o.addresses);
unittest.expect(o.ageRange, unittest.equals('foo'));
- checkUnnamed1491(o.ageRanges);
- checkUnnamed1492(o.biographies);
- checkUnnamed1493(o.birthdays);
- checkUnnamed1494(o.braggingRights);
- checkUnnamed1495(o.coverPhotos);
- checkUnnamed1496(o.emailAddresses);
+ checkUnnamed1497(o.ageRanges);
+ checkUnnamed1498(o.biographies);
+ checkUnnamed1499(o.birthdays);
+ checkUnnamed1500(o.braggingRights);
+ checkUnnamed1501(o.coverPhotos);
+ checkUnnamed1502(o.emailAddresses);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1497(o.events);
- checkUnnamed1498(o.genders);
- checkUnnamed1499(o.imClients);
- checkUnnamed1500(o.interests);
- checkUnnamed1501(o.locales);
- checkUnnamed1502(o.memberships);
+ checkUnnamed1503(o.events);
+ checkUnnamed1504(o.genders);
+ checkUnnamed1505(o.imClients);
+ checkUnnamed1506(o.interests);
+ checkUnnamed1507(o.locales);
+ checkUnnamed1508(o.memberships);
checkPersonMetadata(o.metadata);
- checkUnnamed1503(o.names);
- checkUnnamed1504(o.nicknames);
- checkUnnamed1505(o.occupations);
- checkUnnamed1506(o.organizations);
- checkUnnamed1507(o.phoneNumbers);
- checkUnnamed1508(o.photos);
- checkUnnamed1509(o.relations);
- checkUnnamed1510(o.relationshipInterests);
- checkUnnamed1511(o.relationshipStatuses);
- checkUnnamed1512(o.residences);
+ checkUnnamed1509(o.names);
+ checkUnnamed1510(o.nicknames);
+ checkUnnamed1511(o.occupations);
+ checkUnnamed1512(o.organizations);
+ checkUnnamed1513(o.phoneNumbers);
+ checkUnnamed1514(o.photos);
+ checkUnnamed1515(o.relations);
+ checkUnnamed1516(o.relationshipInterests);
+ checkUnnamed1517(o.relationshipStatuses);
+ checkUnnamed1518(o.residences);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1513(o.skills);
- checkUnnamed1514(o.taglines);
- checkUnnamed1515(o.urls);
- checkUnnamed1516(o.userDefined);
+ checkUnnamed1519(o.skills);
+ checkUnnamed1520(o.taglines);
+ checkUnnamed1521(o.urls);
+ checkUnnamed1522(o.userDefined);
}
buildCounterPerson--;
}
-buildUnnamed1517() {
+buildUnnamed1523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1517(core.List<core.String> o) {
+checkUnnamed1523(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'));
}
-buildUnnamed1518() {
+buildUnnamed1524() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1518(core.List<core.String> o) {
+checkUnnamed1524(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'));
}
-buildUnnamed1519() {
+buildUnnamed1525() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed1519(core.List<api.Source> o) {
+checkUnnamed1525(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -1410,10 +1410,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
o.deleted = true;
- o.linkedPeopleResourceNames = buildUnnamed1517();
+ o.linkedPeopleResourceNames = buildUnnamed1523();
o.objectType = "foo";
- o.previousResourceNames = buildUnnamed1518();
- o.sources = buildUnnamed1519();
+ o.previousResourceNames = buildUnnamed1524();
+ o.sources = buildUnnamed1525();
}
buildCounterPersonMetadata--;
return o;
@@ -1423,10 +1423,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
unittest.expect(o.deleted, unittest.isTrue);
- checkUnnamed1517(o.linkedPeopleResourceNames);
+ checkUnnamed1523(o.linkedPeopleResourceNames);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed1518(o.previousResourceNames);
- checkUnnamed1519(o.sources);
+ checkUnnamed1524(o.previousResourceNames);
+ checkUnnamed1525(o.sources);
}
buildCounterPersonMetadata--;
}
@@ -1506,14 +1506,14 @@
buildCounterPhoto--;
}
-buildUnnamed1520() {
+buildUnnamed1526() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1520(core.List<core.String> o) {
+checkUnnamed1526(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'));
@@ -1525,7 +1525,7 @@
buildCounterProfileMetadata++;
if (buildCounterProfileMetadata < 3) {
o.objectType = "foo";
- o.userTypes = buildUnnamed1520();
+ o.userTypes = buildUnnamed1526();
}
buildCounterProfileMetadata--;
return o;
@@ -1535,7 +1535,7 @@
buildCounterProfileMetadata++;
if (buildCounterProfileMetadata < 3) {
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed1520(o.userTypes);
+ checkUnnamed1526(o.userTypes);
}
buildCounterProfileMetadata--;
}
@@ -1682,7 +1682,7 @@
buildCounterSource--;
}
-buildUnnamed1521() {
+buildUnnamed1527() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1697,7 +1697,7 @@
return o;
}
-checkUnnamed1521(core.Map<core.String, core.Object> o) {
+checkUnnamed1527(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1711,17 +1711,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1522() {
+buildUnnamed1528() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1521());
- o.add(buildUnnamed1521());
+ o.add(buildUnnamed1527());
+ o.add(buildUnnamed1527());
return o;
}
-checkUnnamed1522(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1528(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1521(o[0]);
- checkUnnamed1521(o[1]);
+ checkUnnamed1527(o[0]);
+ checkUnnamed1527(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1730,7 +1730,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1522();
+ o.details = buildUnnamed1528();
o.message = "foo";
}
buildCounterStatus--;
@@ -1741,7 +1741,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1522(o.details);
+ checkUnnamed1528(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1835,27 +1835,27 @@
buildCounterUserDefined--;
}
-buildUnnamed1523() {
+buildUnnamed1529() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1523(core.List<core.String> o) {
+checkUnnamed1529(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'));
}
-buildUnnamed1524() {
+buildUnnamed1530() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1524(core.List<core.String> o) {
+checkUnnamed1530(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'));
@@ -2258,8 +2258,8 @@
unittest.test("method--batchGet", () {
var mock = new HttpServerMock();
api.ContactGroupsResourceApi res = new api.PeopleApi(mock).contactGroups;
- var arg_resourceNames = buildUnnamed1523();
var arg_maxMembers = 42;
+ var arg_resourceNames = buildUnnamed1529();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2291,10 +2291,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["resourceNames"], unittest.equals(arg_resourceNames));
unittest.expect(core.int.parse(queryMap["maxMembers"].first),
unittest.equals(arg_maxMembers));
+ unittest.expect(
+ queryMap["resourceNames"], unittest.equals(arg_resourceNames));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2305,8 +2305,8 @@
}), true);
res
.batchGet(
- resourceNames: arg_resourceNames,
maxMembers: arg_maxMembers,
+ resourceNames: arg_resourceNames,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.BatchGetContactGroupsResponse response) {
@@ -2827,7 +2827,7 @@
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
var arg_personFields = "foo";
var arg_requestMask_includeField = "foo";
- var arg_resourceNames = buildUnnamed1524();
+ var arg_resourceNames = buildUnnamed1530();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2950,13 +2950,13 @@
api.PeopleConnectionsResourceApi res =
new api.PeopleApi(mock).people.connections;
var arg_resourceName = "foo";
+ var arg_personFields = "foo";
var arg_sortOrder = "foo";
var arg_requestSyncToken = true;
var arg_pageToken = "foo";
- var arg_requestMask_includeField = "foo";
var arg_pageSize = 42;
+ var arg_requestMask_includeField = "foo";
var arg_syncToken = "foo";
- var arg_personFields = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2990,19 +2990,19 @@
}
}
unittest.expect(
+ queryMap["personFields"].first, unittest.equals(arg_personFields));
+ unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["requestSyncToken"].first,
unittest.equals("$arg_requestSyncToken"));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["requestMask.includeField"].first,
- unittest.equals(arg_requestMask_includeField));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["requestMask.includeField"].first,
+ unittest.equals(arg_requestMask_includeField));
unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(
- queryMap["personFields"].first, unittest.equals(arg_personFields));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3013,13 +3013,13 @@
}), true);
res
.list(arg_resourceName,
+ personFields: arg_personFields,
sortOrder: arg_sortOrder,
requestSyncToken: arg_requestSyncToken,
pageToken: arg_pageToken,
- requestMask_includeField: arg_requestMask_includeField,
pageSize: arg_pageSize,
+ requestMask_includeField: arg_requestMask_includeField,
syncToken: arg_syncToken,
- personFields: arg_personFields,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListConnectionsResponse response) {
checkListConnectionsResponse(response);
diff --git a/generated/googleapis/test/playmoviespartner/v1_test.dart b/generated/googleapis/test/playmoviespartner/v1_test.dart
deleted file mode 100644
index a598b8a..0000000
--- a/generated/googleapis/test/playmoviespartner/v1_test.dart
+++ /dev/null
@@ -1,1168 +0,0 @@
-library googleapis.playmoviespartner.v1.test;
-
-import "dart:core" as core;
-import "dart:async" as async;
-import "dart:convert" as convert;
-
-import 'package:http/http.dart' as http;
-import 'package:test/test.dart' as unittest;
-
-import 'package:googleapis/playmoviespartner/v1.dart' as api;
-
-class HttpServerMock extends http.BaseClient {
- core.Function _callback;
- core.bool _expectJson;
-
- void register(core.Function callback, core.bool expectJson) {
- _callback = callback;
- _expectJson = expectJson;
- }
-
- async.Future<http.StreamedResponse> send(http.BaseRequest request) {
- if (_expectJson) {
- return request
- .finalize()
- .transform(convert.UTF8.decoder)
- .join('')
- .then((core.String jsonString) {
- if (jsonString.isEmpty) {
- return _callback(request, null);
- } else {
- return _callback(request, convert.JSON.decode(jsonString));
- }
- });
- } else {
- var stream = request.finalize();
- if (stream == null) {
- return _callback(request, []);
- } else {
- return stream.toBytes().then((data) {
- return _callback(request, data);
- });
- }
- }
- }
-}
-
-http.StreamedResponse stringResponse(core.int status,
- core.Map<core.String, core.String> headers, core.String body) {
- var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
- return new http.StreamedResponse(stream, status, headers: headers);
-}
-
-buildUnnamed3208() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3208(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 buildCounterAvail = 0;
-buildAvail() {
- var o = new api.Avail();
- buildCounterAvail++;
- if (buildCounterAvail < 3) {
- o.altId = "foo";
- o.availId = "foo";
- o.captionExemption = "foo";
- o.captionIncluded = true;
- o.contentId = "foo";
- o.displayName = "foo";
- o.encodeId = "foo";
- o.end = "foo";
- o.episodeAltId = "foo";
- o.episodeNumber = "foo";
- o.episodeTitleInternalAlias = "foo";
- o.formatProfile = "foo";
- o.licenseType = "foo";
- o.pphNames = buildUnnamed3208();
- o.priceType = "foo";
- o.priceValue = "foo";
- o.productId = "foo";
- o.ratingReason = "foo";
- o.ratingSystem = "foo";
- o.ratingValue = "foo";
- o.releaseDate = "foo";
- o.seasonAltId = "foo";
- o.seasonNumber = "foo";
- o.seasonTitleInternalAlias = "foo";
- o.seriesAltId = "foo";
- o.seriesTitleInternalAlias = "foo";
- o.start = "foo";
- o.storeLanguage = "foo";
- o.suppressionLiftDate = "foo";
- o.territory = "foo";
- o.titleInternalAlias = "foo";
- o.videoId = "foo";
- o.workType = "foo";
- }
- buildCounterAvail--;
- return o;
-}
-
-checkAvail(api.Avail o) {
- buildCounterAvail++;
- if (buildCounterAvail < 3) {
- unittest.expect(o.altId, unittest.equals('foo'));
- unittest.expect(o.availId, unittest.equals('foo'));
- unittest.expect(o.captionExemption, unittest.equals('foo'));
- unittest.expect(o.captionIncluded, unittest.isTrue);
- unittest.expect(o.contentId, unittest.equals('foo'));
- unittest.expect(o.displayName, unittest.equals('foo'));
- unittest.expect(o.encodeId, unittest.equals('foo'));
- unittest.expect(o.end, unittest.equals('foo'));
- unittest.expect(o.episodeAltId, unittest.equals('foo'));
- unittest.expect(o.episodeNumber, unittest.equals('foo'));
- unittest.expect(o.episodeTitleInternalAlias, unittest.equals('foo'));
- unittest.expect(o.formatProfile, unittest.equals('foo'));
- unittest.expect(o.licenseType, unittest.equals('foo'));
- checkUnnamed3208(o.pphNames);
- unittest.expect(o.priceType, unittest.equals('foo'));
- unittest.expect(o.priceValue, unittest.equals('foo'));
- unittest.expect(o.productId, unittest.equals('foo'));
- unittest.expect(o.ratingReason, unittest.equals('foo'));
- unittest.expect(o.ratingSystem, unittest.equals('foo'));
- unittest.expect(o.ratingValue, unittest.equals('foo'));
- unittest.expect(o.releaseDate, unittest.equals('foo'));
- unittest.expect(o.seasonAltId, unittest.equals('foo'));
- unittest.expect(o.seasonNumber, unittest.equals('foo'));
- unittest.expect(o.seasonTitleInternalAlias, unittest.equals('foo'));
- unittest.expect(o.seriesAltId, unittest.equals('foo'));
- unittest.expect(o.seriesTitleInternalAlias, unittest.equals('foo'));
- unittest.expect(o.start, unittest.equals('foo'));
- unittest.expect(o.storeLanguage, unittest.equals('foo'));
- unittest.expect(o.suppressionLiftDate, unittest.equals('foo'));
- unittest.expect(o.territory, unittest.equals('foo'));
- unittest.expect(o.titleInternalAlias, unittest.equals('foo'));
- unittest.expect(o.videoId, unittest.equals('foo'));
- unittest.expect(o.workType, unittest.equals('foo'));
- }
- buildCounterAvail--;
-}
-
-buildUnnamed3209() {
- var o = new core.List<api.Avail>();
- o.add(buildAvail());
- o.add(buildAvail());
- return o;
-}
-
-checkUnnamed3209(core.List<api.Avail> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAvail(o[0]);
- checkAvail(o[1]);
-}
-
-core.int buildCounterListAvailsResponse = 0;
-buildListAvailsResponse() {
- var o = new api.ListAvailsResponse();
- buildCounterListAvailsResponse++;
- if (buildCounterListAvailsResponse < 3) {
- o.avails = buildUnnamed3209();
- o.nextPageToken = "foo";
- o.totalSize = 42;
- }
- buildCounterListAvailsResponse--;
- return o;
-}
-
-checkListAvailsResponse(api.ListAvailsResponse o) {
- buildCounterListAvailsResponse++;
- if (buildCounterListAvailsResponse < 3) {
- checkUnnamed3209(o.avails);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- unittest.expect(o.totalSize, unittest.equals(42));
- }
- buildCounterListAvailsResponse--;
-}
-
-buildUnnamed3210() {
- var o = new core.List<api.Order>();
- o.add(buildOrder());
- o.add(buildOrder());
- return o;
-}
-
-checkUnnamed3210(core.List<api.Order> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkOrder(o[0]);
- checkOrder(o[1]);
-}
-
-core.int buildCounterListOrdersResponse = 0;
-buildListOrdersResponse() {
- var o = new api.ListOrdersResponse();
- buildCounterListOrdersResponse++;
- if (buildCounterListOrdersResponse < 3) {
- o.nextPageToken = "foo";
- o.orders = buildUnnamed3210();
- o.totalSize = 42;
- }
- buildCounterListOrdersResponse--;
- return o;
-}
-
-checkListOrdersResponse(api.ListOrdersResponse o) {
- buildCounterListOrdersResponse++;
- if (buildCounterListOrdersResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3210(o.orders);
- unittest.expect(o.totalSize, unittest.equals(42));
- }
- buildCounterListOrdersResponse--;
-}
-
-buildUnnamed3211() {
- var o = new core.List<api.StoreInfo>();
- o.add(buildStoreInfo());
- o.add(buildStoreInfo());
- return o;
-}
-
-checkUnnamed3211(core.List<api.StoreInfo> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkStoreInfo(o[0]);
- checkStoreInfo(o[1]);
-}
-
-core.int buildCounterListStoreInfosResponse = 0;
-buildListStoreInfosResponse() {
- var o = new api.ListStoreInfosResponse();
- buildCounterListStoreInfosResponse++;
- if (buildCounterListStoreInfosResponse < 3) {
- o.nextPageToken = "foo";
- o.storeInfos = buildUnnamed3211();
- o.totalSize = 42;
- }
- buildCounterListStoreInfosResponse--;
- return o;
-}
-
-checkListStoreInfosResponse(api.ListStoreInfosResponse o) {
- buildCounterListStoreInfosResponse++;
- if (buildCounterListStoreInfosResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3211(o.storeInfos);
- unittest.expect(o.totalSize, unittest.equals(42));
- }
- buildCounterListStoreInfosResponse--;
-}
-
-buildUnnamed3212() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3212(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 buildCounterOrder = 0;
-buildOrder() {
- var o = new api.Order();
- buildCounterOrder++;
- if (buildCounterOrder < 3) {
- o.approvedTime = "foo";
- o.channelId = "foo";
- o.channelName = "foo";
- o.countries = buildUnnamed3212();
- o.customId = "foo";
- o.earliestAvailStartTime = "foo";
- o.episodeName = "foo";
- o.legacyPriority = "foo";
- o.name = "foo";
- o.normalizedPriority = "foo";
- o.orderId = "foo";
- o.orderedTime = "foo";
- o.pphName = "foo";
- o.priority = 42.0;
- o.receivedTime = "foo";
- o.rejectionNote = "foo";
- o.seasonName = "foo";
- o.showName = "foo";
- o.status = "foo";
- o.statusDetail = "foo";
- o.studioName = "foo";
- o.type = "foo";
- o.videoId = "foo";
- }
- buildCounterOrder--;
- return o;
-}
-
-checkOrder(api.Order o) {
- buildCounterOrder++;
- if (buildCounterOrder < 3) {
- unittest.expect(o.approvedTime, unittest.equals('foo'));
- unittest.expect(o.channelId, unittest.equals('foo'));
- unittest.expect(o.channelName, unittest.equals('foo'));
- checkUnnamed3212(o.countries);
- unittest.expect(o.customId, unittest.equals('foo'));
- unittest.expect(o.earliestAvailStartTime, unittest.equals('foo'));
- unittest.expect(o.episodeName, unittest.equals('foo'));
- unittest.expect(o.legacyPriority, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.normalizedPriority, unittest.equals('foo'));
- unittest.expect(o.orderId, unittest.equals('foo'));
- unittest.expect(o.orderedTime, unittest.equals('foo'));
- unittest.expect(o.pphName, unittest.equals('foo'));
- unittest.expect(o.priority, unittest.equals(42.0));
- unittest.expect(o.receivedTime, unittest.equals('foo'));
- unittest.expect(o.rejectionNote, unittest.equals('foo'));
- unittest.expect(o.seasonName, unittest.equals('foo'));
- unittest.expect(o.showName, unittest.equals('foo'));
- unittest.expect(o.status, unittest.equals('foo'));
- unittest.expect(o.statusDetail, unittest.equals('foo'));
- unittest.expect(o.studioName, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- unittest.expect(o.videoId, unittest.equals('foo'));
- }
- buildCounterOrder--;
-}
-
-buildUnnamed3213() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3213(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'));
-}
-
-buildUnnamed3214() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3214(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'));
-}
-
-buildUnnamed3215() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3215(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 buildCounterStoreInfo = 0;
-buildStoreInfo() {
- var o = new api.StoreInfo();
- buildCounterStoreInfo++;
- if (buildCounterStoreInfo < 3) {
- o.audioTracks = buildUnnamed3213();
- o.country = "foo";
- o.editLevelEidr = "foo";
- o.episodeNumber = "foo";
- o.hasAudio51 = true;
- o.hasEstOffer = true;
- o.hasHdOffer = true;
- o.hasInfoCards = true;
- o.hasSdOffer = true;
- o.hasVodOffer = true;
- o.liveTime = "foo";
- o.mid = "foo";
- o.name = "foo";
- o.pphNames = buildUnnamed3214();
- o.seasonId = "foo";
- o.seasonName = "foo";
- o.seasonNumber = "foo";
- o.showId = "foo";
- o.showName = "foo";
- o.studioName = "foo";
- o.subtitles = buildUnnamed3215();
- o.titleLevelEidr = "foo";
- o.trailerId = "foo";
- o.type = "foo";
- o.videoId = "foo";
- }
- buildCounterStoreInfo--;
- return o;
-}
-
-checkStoreInfo(api.StoreInfo o) {
- buildCounterStoreInfo++;
- if (buildCounterStoreInfo < 3) {
- checkUnnamed3213(o.audioTracks);
- unittest.expect(o.country, unittest.equals('foo'));
- unittest.expect(o.editLevelEidr, unittest.equals('foo'));
- unittest.expect(o.episodeNumber, unittest.equals('foo'));
- unittest.expect(o.hasAudio51, unittest.isTrue);
- unittest.expect(o.hasEstOffer, unittest.isTrue);
- unittest.expect(o.hasHdOffer, unittest.isTrue);
- unittest.expect(o.hasInfoCards, unittest.isTrue);
- unittest.expect(o.hasSdOffer, unittest.isTrue);
- unittest.expect(o.hasVodOffer, unittest.isTrue);
- unittest.expect(o.liveTime, unittest.equals('foo'));
- unittest.expect(o.mid, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3214(o.pphNames);
- unittest.expect(o.seasonId, unittest.equals('foo'));
- unittest.expect(o.seasonName, unittest.equals('foo'));
- unittest.expect(o.seasonNumber, unittest.equals('foo'));
- unittest.expect(o.showId, unittest.equals('foo'));
- unittest.expect(o.showName, unittest.equals('foo'));
- unittest.expect(o.studioName, unittest.equals('foo'));
- checkUnnamed3215(o.subtitles);
- unittest.expect(o.titleLevelEidr, unittest.equals('foo'));
- unittest.expect(o.trailerId, unittest.equals('foo'));
- unittest.expect(o.type, unittest.equals('foo'));
- unittest.expect(o.videoId, unittest.equals('foo'));
- }
- buildCounterStoreInfo--;
-}
-
-buildUnnamed3216() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3216(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'));
-}
-
-buildUnnamed3217() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3217(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'));
-}
-
-buildUnnamed3218() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3218(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'));
-}
-
-buildUnnamed3219() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3219(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'));
-}
-
-buildUnnamed3220() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3220(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'));
-}
-
-buildUnnamed3221() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3221(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'));
-}
-
-buildUnnamed3222() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3222(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'));
-}
-
-buildUnnamed3223() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3223(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'));
-}
-
-buildUnnamed3224() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3224(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'));
-}
-
-buildUnnamed3225() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3225(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'));
-}
-
-buildUnnamed3226() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3226(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'));
-}
-
-buildUnnamed3227() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3227(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'));
-}
-
-buildUnnamed3228() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3228(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'));
-}
-
-buildUnnamed3229() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3229(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'));
-}
-
-buildUnnamed3230() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3230(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'));
-}
-
-main() {
- unittest.group("obj-schema-Avail", () {
- unittest.test("to-json--from-json", () {
- var o = buildAvail();
- var od = new api.Avail.fromJson(o.toJson());
- checkAvail(od);
- });
- });
-
- unittest.group("obj-schema-ListAvailsResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildListAvailsResponse();
- var od = new api.ListAvailsResponse.fromJson(o.toJson());
- checkListAvailsResponse(od);
- });
- });
-
- unittest.group("obj-schema-ListOrdersResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildListOrdersResponse();
- var od = new api.ListOrdersResponse.fromJson(o.toJson());
- checkListOrdersResponse(od);
- });
- });
-
- unittest.group("obj-schema-ListStoreInfosResponse", () {
- unittest.test("to-json--from-json", () {
- var o = buildListStoreInfosResponse();
- var od = new api.ListStoreInfosResponse.fromJson(o.toJson());
- checkListStoreInfosResponse(od);
- });
- });
-
- unittest.group("obj-schema-Order", () {
- unittest.test("to-json--from-json", () {
- var o = buildOrder();
- var od = new api.Order.fromJson(o.toJson());
- checkOrder(od);
- });
- });
-
- unittest.group("obj-schema-StoreInfo", () {
- unittest.test("to-json--from-json", () {
- var o = buildStoreInfo();
- var od = new api.StoreInfo.fromJson(o.toJson());
- checkStoreInfo(od);
- });
- });
-
- unittest.group("resource-AccountsAvailsResourceApi", () {
- unittest.test("method--get", () {
- var mock = new HttpServerMock();
- api.AccountsAvailsResourceApi res =
- new api.PlaymoviespartnerApi(mock).accounts.avails;
- var arg_accountId = "foo";
- var arg_availId = "foo";
- var arg_$fields = "foo";
- mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
- var path = (req.url).path;
- var pathOffset = 0;
- var index;
- var subPart;
- unittest.expect(
- path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
- pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 12),
- unittest.equals("v1/accounts/"));
- pathOffset += 12;
- index = path.indexOf("/avails/", pathOffset);
- unittest.expect(index >= 0, unittest.isTrue);
- subPart =
- core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
- pathOffset = index;
- unittest.expect(subPart, unittest.equals("$arg_accountId"));
- unittest.expect(path.substring(pathOffset, pathOffset + 8),
- unittest.equals("/avails/"));
- pathOffset += 8;
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
- pathOffset = path.length;
- unittest.expect(subPart, unittest.equals("$arg_availId"));
-
- var query = (req.url).query;
- var queryOffset = 0;
- var queryMap = {};
- addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
- parseBool(n) {
- if (n == "true") return true;
- if (n == "false") return false;
- if (n == null) return null;
- throw new core.ArgumentError("Invalid boolean: $n");
- }
-
- if (query.length > 0) {
- for (var part in query.split("&")) {
- var keyvalue = part.split("=");
- addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
- core.Uri.decodeQueryComponent(keyvalue[1]));
- }
- }
- unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
-
- var h = {
- "content-type": "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildAvail());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res
- .get(arg_accountId, arg_availId, $fields: arg_$fields)
- .then(unittest.expectAsync1(((api.Avail response) {
- checkAvail(response);
- })));
- });
-
- unittest.test("method--list", () {
- var mock = new HttpServerMock();
- api.AccountsAvailsResourceApi res =
- new api.PlaymoviespartnerApi(mock).accounts.avails;
- var arg_accountId = "foo";
- var arg_title = "foo";
- var arg_pageToken = "foo";
- var arg_videoIds = buildUnnamed3216();
- var arg_pageSize = 42;
- var arg_altIds = buildUnnamed3217();
- var arg_pphNames = buildUnnamed3218();
- var arg_altId = "foo";
- var arg_studioNames = buildUnnamed3219();
- var arg_territories = buildUnnamed3220();
- var arg_$fields = "foo";
- mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
- var path = (req.url).path;
- var pathOffset = 0;
- var index;
- var subPart;
- unittest.expect(
- path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
- pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 12),
- unittest.equals("v1/accounts/"));
- pathOffset += 12;
- index = path.indexOf("/avails", pathOffset);
- unittest.expect(index >= 0, unittest.isTrue);
- subPart =
- core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
- pathOffset = index;
- unittest.expect(subPart, unittest.equals("$arg_accountId"));
- unittest.expect(path.substring(pathOffset, pathOffset + 7),
- unittest.equals("/avails"));
- pathOffset += 7;
-
- var query = (req.url).query;
- var queryOffset = 0;
- var queryMap = {};
- addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
- parseBool(n) {
- if (n == "true") return true;
- if (n == "false") return false;
- if (n == null) return null;
- throw new core.ArgumentError("Invalid boolean: $n");
- }
-
- if (query.length > 0) {
- for (var part in query.split("&")) {
- var keyvalue = part.split("=");
- addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
- core.Uri.decodeQueryComponent(keyvalue[1]));
- }
- }
- unittest.expect(queryMap["title"].first, unittest.equals(arg_title));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["altIds"], unittest.equals(arg_altIds));
- unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
- unittest.expect(queryMap["altId"].first, unittest.equals(arg_altId));
- unittest.expect(
- queryMap["studioNames"], unittest.equals(arg_studioNames));
- unittest.expect(
- queryMap["territories"], unittest.equals(arg_territories));
- unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
-
- var h = {
- "content-type": "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildListAvailsResponse());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res
- .list(arg_accountId,
- title: arg_title,
- pageToken: arg_pageToken,
- videoIds: arg_videoIds,
- pageSize: arg_pageSize,
- altIds: arg_altIds,
- pphNames: arg_pphNames,
- altId: arg_altId,
- studioNames: arg_studioNames,
- territories: arg_territories,
- $fields: arg_$fields)
- .then(unittest.expectAsync1(((api.ListAvailsResponse response) {
- checkListAvailsResponse(response);
- })));
- });
- });
-
- unittest.group("resource-AccountsOrdersResourceApi", () {
- unittest.test("method--get", () {
- var mock = new HttpServerMock();
- api.AccountsOrdersResourceApi res =
- new api.PlaymoviespartnerApi(mock).accounts.orders;
- var arg_accountId = "foo";
- var arg_orderId = "foo";
- var arg_$fields = "foo";
- mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
- var path = (req.url).path;
- var pathOffset = 0;
- var index;
- var subPart;
- unittest.expect(
- path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
- pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 12),
- unittest.equals("v1/accounts/"));
- pathOffset += 12;
- index = path.indexOf("/orders/", pathOffset);
- unittest.expect(index >= 0, unittest.isTrue);
- subPart =
- core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
- pathOffset = index;
- unittest.expect(subPart, unittest.equals("$arg_accountId"));
- unittest.expect(path.substring(pathOffset, pathOffset + 8),
- unittest.equals("/orders/"));
- pathOffset += 8;
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
- pathOffset = path.length;
- unittest.expect(subPart, unittest.equals("$arg_orderId"));
-
- var query = (req.url).query;
- var queryOffset = 0;
- var queryMap = {};
- addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
- parseBool(n) {
- if (n == "true") return true;
- if (n == "false") return false;
- if (n == null) return null;
- throw new core.ArgumentError("Invalid boolean: $n");
- }
-
- if (query.length > 0) {
- for (var part in query.split("&")) {
- var keyvalue = part.split("=");
- addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
- core.Uri.decodeQueryComponent(keyvalue[1]));
- }
- }
- unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
-
- var h = {
- "content-type": "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildOrder());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res
- .get(arg_accountId, arg_orderId, $fields: arg_$fields)
- .then(unittest.expectAsync1(((api.Order response) {
- checkOrder(response);
- })));
- });
-
- unittest.test("method--list", () {
- var mock = new HttpServerMock();
- api.AccountsOrdersResourceApi res =
- new api.PlaymoviespartnerApi(mock).accounts.orders;
- var arg_accountId = "foo";
- var arg_videoIds = buildUnnamed3221();
- var arg_customId = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
- var arg_pphNames = buildUnnamed3222();
- var arg_status = buildUnnamed3223();
- var arg_name = "foo";
- var arg_studioNames = buildUnnamed3224();
- var arg_$fields = "foo";
- mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
- var path = (req.url).path;
- var pathOffset = 0;
- var index;
- var subPart;
- unittest.expect(
- path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
- pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 12),
- unittest.equals("v1/accounts/"));
- pathOffset += 12;
- index = path.indexOf("/orders", pathOffset);
- unittest.expect(index >= 0, unittest.isTrue);
- subPart =
- core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
- pathOffset = index;
- unittest.expect(subPart, unittest.equals("$arg_accountId"));
- unittest.expect(path.substring(pathOffset, pathOffset + 7),
- unittest.equals("/orders"));
- pathOffset += 7;
-
- var query = (req.url).query;
- var queryOffset = 0;
- var queryMap = {};
- addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
- parseBool(n) {
- if (n == "true") return true;
- if (n == "false") return false;
- if (n == null) return null;
- throw new core.ArgumentError("Invalid boolean: $n");
- }
-
- if (query.length > 0) {
- for (var part in query.split("&")) {
- var keyvalue = part.split("=");
- addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
- core.Uri.decodeQueryComponent(keyvalue[1]));
- }
- }
- unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
- unittest.expect(
- queryMap["customId"].first, unittest.equals(arg_customId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
- unittest.expect(queryMap["status"], unittest.equals(arg_status));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
- unittest.expect(
- queryMap["studioNames"], unittest.equals(arg_studioNames));
- unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
-
- var h = {
- "content-type": "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildListOrdersResponse());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res
- .list(arg_accountId,
- videoIds: arg_videoIds,
- customId: arg_customId,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- pphNames: arg_pphNames,
- status: arg_status,
- name: arg_name,
- studioNames: arg_studioNames,
- $fields: arg_$fields)
- .then(unittest.expectAsync1(((api.ListOrdersResponse response) {
- checkListOrdersResponse(response);
- })));
- });
- });
-
- unittest.group("resource-AccountsStoreInfosResourceApi", () {
- unittest.test("method--list", () {
- var mock = new HttpServerMock();
- api.AccountsStoreInfosResourceApi res =
- new api.PlaymoviespartnerApi(mock).accounts.storeInfos;
- var arg_accountId = "foo";
- var arg_seasonIds = buildUnnamed3225();
- var arg_videoIds = buildUnnamed3226();
- var arg_videoId = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
- var arg_mids = buildUnnamed3227();
- var arg_pphNames = buildUnnamed3228();
- var arg_countries = buildUnnamed3229();
- var arg_name = "foo";
- var arg_studioNames = buildUnnamed3230();
- var arg_$fields = "foo";
- mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
- var path = (req.url).path;
- var pathOffset = 0;
- var index;
- var subPart;
- unittest.expect(
- path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
- pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 12),
- unittest.equals("v1/accounts/"));
- pathOffset += 12;
- index = path.indexOf("/storeInfos", pathOffset);
- unittest.expect(index >= 0, unittest.isTrue);
- subPart =
- core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
- pathOffset = index;
- unittest.expect(subPart, unittest.equals("$arg_accountId"));
- unittest.expect(path.substring(pathOffset, pathOffset + 11),
- unittest.equals("/storeInfos"));
- pathOffset += 11;
-
- var query = (req.url).query;
- var queryOffset = 0;
- var queryMap = {};
- addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
- parseBool(n) {
- if (n == "true") return true;
- if (n == "false") return false;
- if (n == null) return null;
- throw new core.ArgumentError("Invalid boolean: $n");
- }
-
- if (query.length > 0) {
- for (var part in query.split("&")) {
- var keyvalue = part.split("=");
- addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
- core.Uri.decodeQueryComponent(keyvalue[1]));
- }
- }
- unittest.expect(queryMap["seasonIds"], unittest.equals(arg_seasonIds));
- unittest.expect(queryMap["videoIds"], unittest.equals(arg_videoIds));
- unittest.expect(
- queryMap["videoId"].first, unittest.equals(arg_videoId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["mids"], unittest.equals(arg_mids));
- unittest.expect(queryMap["pphNames"], unittest.equals(arg_pphNames));
- unittest.expect(queryMap["countries"], unittest.equals(arg_countries));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
- unittest.expect(
- queryMap["studioNames"], unittest.equals(arg_studioNames));
- unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
-
- var h = {
- "content-type": "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildListStoreInfosResponse());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res
- .list(arg_accountId,
- seasonIds: arg_seasonIds,
- videoIds: arg_videoIds,
- videoId: arg_videoId,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- mids: arg_mids,
- pphNames: arg_pphNames,
- countries: arg_countries,
- name: arg_name,
- studioNames: arg_studioNames,
- $fields: arg_$fields)
- .then(unittest.expectAsync1(((api.ListStoreInfosResponse response) {
- checkListStoreInfosResponse(response);
- })));
- });
- });
-
- unittest.group("resource-AccountsStoreInfosCountryResourceApi", () {
- unittest.test("method--get", () {
- var mock = new HttpServerMock();
- api.AccountsStoreInfosCountryResourceApi res =
- new api.PlaymoviespartnerApi(mock).accounts.storeInfos.country;
- var arg_accountId = "foo";
- var arg_videoId = "foo";
- var arg_country = "foo";
- var arg_$fields = "foo";
- mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
- var path = (req.url).path;
- var pathOffset = 0;
- var index;
- var subPart;
- unittest.expect(
- path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
- pathOffset += 1;
- unittest.expect(path.substring(pathOffset, pathOffset + 12),
- unittest.equals("v1/accounts/"));
- pathOffset += 12;
- index = path.indexOf("/storeInfos/", pathOffset);
- unittest.expect(index >= 0, unittest.isTrue);
- subPart =
- core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
- pathOffset = index;
- unittest.expect(subPart, unittest.equals("$arg_accountId"));
- unittest.expect(path.substring(pathOffset, pathOffset + 12),
- unittest.equals("/storeInfos/"));
- pathOffset += 12;
- index = path.indexOf("/country/", pathOffset);
- unittest.expect(index >= 0, unittest.isTrue);
- subPart =
- core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
- pathOffset = index;
- unittest.expect(subPart, unittest.equals("$arg_videoId"));
- unittest.expect(path.substring(pathOffset, pathOffset + 9),
- unittest.equals("/country/"));
- pathOffset += 9;
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
- pathOffset = path.length;
- unittest.expect(subPart, unittest.equals("$arg_country"));
-
- var query = (req.url).query;
- var queryOffset = 0;
- var queryMap = {};
- addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
- parseBool(n) {
- if (n == "true") return true;
- if (n == "false") return false;
- if (n == null) return null;
- throw new core.ArgumentError("Invalid boolean: $n");
- }
-
- if (query.length > 0) {
- for (var part in query.split("&")) {
- var keyvalue = part.split("=");
- addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
- core.Uri.decodeQueryComponent(keyvalue[1]));
- }
- }
- unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
-
- var h = {
- "content-type": "application/json; charset=utf-8",
- };
- var resp = convert.JSON.encode(buildStoreInfo());
- return new async.Future.value(stringResponse(200, h, resp));
- }), true);
- res
- .get(arg_accountId, arg_videoId, arg_country, $fields: arg_$fields)
- .then(unittest.expectAsync1(((api.StoreInfo response) {
- checkStoreInfo(response);
- })));
- });
- });
-}
diff --git a/generated/googleapis/test/plus/v1_test.dart b/generated/googleapis/test/plus/v1_test.dart
index 659edaa..95ae368 100644
--- a/generated/googleapis/test/plus/v1_test.dart
+++ b/generated/googleapis/test/plus/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed134() {
+buildUnnamed138() {
var o = new core.List<api.PlusAclentryResource>();
o.add(buildPlusAclentryResource());
o.add(buildPlusAclentryResource());
return o;
}
-checkUnnamed134(core.List<api.PlusAclentryResource> o) {
+checkUnnamed138(core.List<api.PlusAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusAclentryResource(o[0]);
checkPlusAclentryResource(o[1]);
@@ -69,7 +69,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
o.description = "foo";
- o.items = buildUnnamed134();
+ o.items = buildUnnamed138();
o.kind = "foo";
}
buildCounterAcl--;
@@ -80,7 +80,7 @@
buildCounterAcl++;
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed134(o.items);
+ checkUnnamed138(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -453,14 +453,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed135() {
+buildUnnamed139() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed135(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed139(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -478,7 +478,7 @@
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.thumbnails = buildUnnamed135();
+ o.thumbnails = buildUnnamed139();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -495,20 +495,20 @@
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed135(o.thumbnails);
+ checkUnnamed139(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed136() {
+buildUnnamed140() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed136(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed140(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -583,7 +583,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed136();
+ o.attachments = buildUnnamed140();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -601,7 +601,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed136(o.attachments);
+ checkUnnamed140(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -692,14 +692,14 @@
buildCounterActivity--;
}
-buildUnnamed137() {
+buildUnnamed141() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed137(core.List<api.Activity> o) {
+checkUnnamed141(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -712,7 +712,7 @@
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed137();
+ o.items = buildUnnamed141();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -729,7 +729,7 @@
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed137(o.items);
+ checkUnnamed141(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -871,14 +871,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed138() {
+buildUnnamed142() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed138(core.List<api.CommentInReplyTo> o) {
+checkUnnamed142(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -934,7 +934,7 @@
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed138();
+ o.inReplyTo = buildUnnamed142();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -953,7 +953,7 @@
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed138(o.inReplyTo);
+ checkUnnamed142(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -967,14 +967,14 @@
buildCounterComment--;
}
-buildUnnamed139() {
+buildUnnamed143() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed139(core.List<api.Comment> o) {
+checkUnnamed143(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -987,7 +987,7 @@
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed139();
+ o.items = buildUnnamed143();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1003,7 +1003,7 @@
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed139(o.items);
+ checkUnnamed143(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1014,14 +1014,14 @@
buildCounterCommentFeed--;
}
-buildUnnamed140() {
+buildUnnamed144() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed140(core.List<api.Person> o) {
+checkUnnamed144(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1033,7 +1033,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed140();
+ o.items = buildUnnamed144();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1048,7 +1048,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed140(o.items);
+ checkUnnamed144(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1167,14 +1167,14 @@
buildCounterPersonEmails--;
}
-buildUnnamed141() {
+buildUnnamed145() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed141(core.List<api.PersonEmails> o) {
+checkUnnamed145(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1265,14 +1265,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed142() {
+buildUnnamed146() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed142(core.List<api.PersonOrganizations> o) {
+checkUnnamed146(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1299,14 +1299,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed143() {
+buildUnnamed147() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed143(core.List<api.PersonPlacesLived> o) {
+checkUnnamed147(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1335,14 +1335,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed144() {
+buildUnnamed148() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed144(core.List<api.PersonUrls> o) {
+checkUnnamed148(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1362,7 +1362,7 @@
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed141();
+ o.emails = buildUnnamed145();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1374,14 +1374,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed142();
- o.placesLived = buildUnnamed143();
+ o.organizations = buildUnnamed146();
+ o.placesLived = buildUnnamed147();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed144();
+ o.urls = buildUnnamed148();
o.verified = true;
}
buildCounterPerson--;
@@ -1400,7 +1400,7 @@
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed141(o.emails);
+ checkUnnamed145(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1412,14 +1412,14 @@
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed142(o.organizations);
- checkUnnamed143(o.placesLived);
+ checkUnnamed146(o.organizations);
+ checkUnnamed147(o.placesLived);
unittest.expect(o.plusOneCount, unittest.equals(42));
unittest.expect(o.relationshipStatus, unittest.equals('foo'));
unittest.expect(o.skills, unittest.equals('foo'));
unittest.expect(o.tagline, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed144(o.urls);
+ checkUnnamed148(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
diff --git a/generated/googleapis/test/plusdomains/v1_test.dart b/generated/googleapis/test/plusdomains/v1_test.dart
index 692ea1b..98898ac 100644
--- a/generated/googleapis/test/plusdomains/v1_test.dart
+++ b/generated/googleapis/test/plusdomains/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1093() {
+buildUnnamed1100() {
var o = new core.List<api.PlusDomainsAclentryResource>();
o.add(buildPlusDomainsAclentryResource());
o.add(buildPlusDomainsAclentryResource());
return o;
}
-checkUnnamed1093(core.List<api.PlusDomainsAclentryResource> o) {
+checkUnnamed1100(core.List<api.PlusDomainsAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusDomainsAclentryResource(o[0]);
checkPlusDomainsAclentryResource(o[1]);
@@ -70,7 +70,7 @@
if (buildCounterAcl < 3) {
o.description = "foo";
o.domainRestricted = true;
- o.items = buildUnnamed1093();
+ o.items = buildUnnamed1100();
o.kind = "foo";
}
buildCounterAcl--;
@@ -82,7 +82,7 @@
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.domainRestricted, unittest.isTrue);
- checkUnnamed1093(o.items);
+ checkUnnamed1100(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -425,14 +425,14 @@
buildCounterActivityObjectAttachmentsPreviewThumbnails--;
}
-buildUnnamed1094() {
+buildUnnamed1101() {
var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>();
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
return o;
}
-checkUnnamed1094(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
+checkUnnamed1101(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsPreviewThumbnails(o[0]);
checkActivityObjectAttachmentsPreviewThumbnails(o[1]);
@@ -488,14 +488,14 @@
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed1095() {
+buildUnnamed1102() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed1095(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed1102(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -513,8 +513,8 @@
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.previewThumbnails = buildUnnamed1094();
- o.thumbnails = buildUnnamed1095();
+ o.previewThumbnails = buildUnnamed1101();
+ o.thumbnails = buildUnnamed1102();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -531,21 +531,21 @@
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed1094(o.previewThumbnails);
- checkUnnamed1095(o.thumbnails);
+ checkUnnamed1101(o.previewThumbnails);
+ checkUnnamed1102(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed1096() {
+buildUnnamed1103() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed1096(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed1103(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -647,7 +647,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed1096();
+ o.attachments = buildUnnamed1103();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -666,7 +666,7 @@
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed1096(o.attachments);
+ checkUnnamed1103(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -758,14 +758,14 @@
buildCounterActivity--;
}
-buildUnnamed1097() {
+buildUnnamed1104() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed1097(core.List<api.Activity> o) {
+checkUnnamed1104(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -778,7 +778,7 @@
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed1097();
+ o.items = buildUnnamed1104();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -795,7 +795,7 @@
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1097(o.items);
+ checkUnnamed1104(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -834,14 +834,14 @@
buildCounterAudience--;
}
-buildUnnamed1098() {
+buildUnnamed1105() {
var o = new core.List<api.Audience>();
o.add(buildAudience());
o.add(buildAudience());
return o;
}
-checkUnnamed1098(core.List<api.Audience> o) {
+checkUnnamed1105(core.List<api.Audience> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudience(o[0]);
checkAudience(o[1]);
@@ -853,7 +853,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed1098();
+ o.items = buildUnnamed1105();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -866,7 +866,7 @@
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1098(o.items);
+ checkUnnamed1105(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -924,14 +924,14 @@
buildCounterCircle--;
}
-buildUnnamed1099() {
+buildUnnamed1106() {
var o = new core.List<api.Circle>();
o.add(buildCircle());
o.add(buildCircle());
return o;
}
-checkUnnamed1099(core.List<api.Circle> o) {
+checkUnnamed1106(core.List<api.Circle> o) {
unittest.expect(o, unittest.hasLength(2));
checkCircle(o[0]);
checkCircle(o[1]);
@@ -943,7 +943,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed1099();
+ o.items = buildUnnamed1106();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -959,7 +959,7 @@
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1099(o.items);
+ checkUnnamed1106(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1100,14 +1100,14 @@
buildCounterCommentInReplyTo--;
}
-buildUnnamed1100() {
+buildUnnamed1107() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed1100(core.List<api.CommentInReplyTo> o) {
+checkUnnamed1107(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -1163,7 +1163,7 @@
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed1100();
+ o.inReplyTo = buildUnnamed1107();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -1182,7 +1182,7 @@
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1100(o.inReplyTo);
+ checkUnnamed1107(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -1196,14 +1196,14 @@
buildCounterComment--;
}
-buildUnnamed1101() {
+buildUnnamed1108() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1101(core.List<api.Comment> o) {
+checkUnnamed1108(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1216,7 +1216,7 @@
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed1101();
+ o.items = buildUnnamed1108();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1232,7 +1232,7 @@
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1101(o.items);
+ checkUnnamed1108(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1307,14 +1307,14 @@
buildCounterMediaExif--;
}
-buildUnnamed1102() {
+buildUnnamed1109() {
var o = new core.List<api.Videostream>();
o.add(buildVideostream());
o.add(buildVideostream());
return o;
}
-checkUnnamed1102(core.List<api.Videostream> o) {
+checkUnnamed1109(core.List<api.Videostream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideostream(o[0]);
checkVideostream(o[1]);
@@ -1336,7 +1336,7 @@
o.mediaUrl = "foo";
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.sizeBytes = "foo";
- o.streams = buildUnnamed1102();
+ o.streams = buildUnnamed1109();
o.summary = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.url = "foo";
@@ -1364,7 +1364,7 @@
unittest.expect(o.published,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.sizeBytes, unittest.equals('foo'));
- checkUnnamed1102(o.streams);
+ checkUnnamed1109(o.streams);
unittest.expect(o.summary, unittest.equals('foo'));
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -1376,14 +1376,14 @@
buildCounterMedia--;
}
-buildUnnamed1103() {
+buildUnnamed1110() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed1103(core.List<api.Person> o) {
+checkUnnamed1110(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1395,7 +1395,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed1103();
+ o.items = buildUnnamed1110();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1410,7 +1410,7 @@
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1103(o.items);
+ checkUnnamed1110(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1508,14 +1508,14 @@
buildCounterPersonEmails--;
}
-buildUnnamed1104() {
+buildUnnamed1111() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed1104(core.List<api.PersonEmails> o) {
+checkUnnamed1111(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1606,14 +1606,14 @@
buildCounterPersonOrganizations--;
}
-buildUnnamed1105() {
+buildUnnamed1112() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed1105(core.List<api.PersonOrganizations> o) {
+checkUnnamed1112(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1640,14 +1640,14 @@
buildCounterPersonPlacesLived--;
}
-buildUnnamed1106() {
+buildUnnamed1113() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed1106(core.List<api.PersonPlacesLived> o) {
+checkUnnamed1113(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1676,14 +1676,14 @@
buildCounterPersonUrls--;
}
-buildUnnamed1107() {
+buildUnnamed1114() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed1107(core.List<api.PersonUrls> o) {
+checkUnnamed1114(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1702,7 +1702,7 @@
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed1104();
+ o.emails = buildUnnamed1111();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1713,14 +1713,14 @@
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed1105();
- o.placesLived = buildUnnamed1106();
+ o.organizations = buildUnnamed1112();
+ o.placesLived = buildUnnamed1113();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed1107();
+ o.urls = buildUnnamed1114();
o.verified = true;
}
buildCounterPerson--;
@@ -1738,7 +1738,7 @@
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed1104(o.emails);
+ checkUnnamed1111(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1749,14 +1749,14 @@
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed1105(o.organizations);
- checkUnnamed1106(o.placesLived);
+ checkUnnamed1112(o.organizations);
+ checkUnnamed1113(o.placesLived);
unittest.expect(o.plusOneCount, unittest.equals(42));
unittest.expect(o.relationshipStatus, unittest.equals('foo'));
unittest.expect(o.skills, unittest.equals('foo'));
unittest.expect(o.tagline, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed1107(o.urls);
+ checkUnnamed1114(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
@@ -1877,53 +1877,53 @@
buildCounterVideostream--;
}
-buildUnnamed1108() {
+buildUnnamed1115() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1108(core.List<core.String> o) {
+checkUnnamed1115(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'));
}
-buildUnnamed1109() {
+buildUnnamed1116() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1109(core.List<core.String> o) {
+checkUnnamed1116(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'));
}
-buildUnnamed1110() {
+buildUnnamed1117() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1110(core.List<core.String> o) {
+checkUnnamed1117(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'));
}
-buildUnnamed1111() {
+buildUnnamed1118() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1111(core.List<core.String> o) {
+checkUnnamed1118(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'));
@@ -2721,8 +2721,8 @@
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed1108();
- var arg_userId = buildUnnamed1109();
+ var arg_email = buildUnnamed1115();
+ var arg_userId = buildUnnamed1116();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3095,8 +3095,8 @@
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed1110();
- var arg_userId = buildUnnamed1111();
+ var arg_email = buildUnnamed1117();
+ var arg_userId = buildUnnamed1118();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/prediction/v1_6_test.dart b/generated/googleapis/test/prediction/v1_6_test.dart
index ca52cba..9b9abed 100644
--- a/generated/googleapis/test/prediction/v1_6_test.dart
+++ b/generated/googleapis/test/prediction/v1_6_test.dart
@@ -72,14 +72,14 @@
buildCounterAnalyzeDataDescriptionFeaturesCategoricalValues--;
}
-buildUnnamed1937() {
+buildUnnamed1943() {
var o = new core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues>();
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
o.add(buildAnalyzeDataDescriptionFeaturesCategoricalValues());
return o;
}
-checkUnnamed1937(
+checkUnnamed1943(
core.List<api.AnalyzeDataDescriptionFeaturesCategoricalValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeaturesCategoricalValues(o[0]);
@@ -92,7 +92,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
o.count = "foo";
- o.values = buildUnnamed1937();
+ o.values = buildUnnamed1943();
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
return o;
@@ -103,7 +103,7 @@
buildCounterAnalyzeDataDescriptionFeaturesCategorical++;
if (buildCounterAnalyzeDataDescriptionFeaturesCategorical < 3) {
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed1937(o.values);
+ checkUnnamed1943(o.values);
}
buildCounterAnalyzeDataDescriptionFeaturesCategorical--;
}
@@ -177,14 +177,14 @@
buildCounterAnalyzeDataDescriptionFeatures--;
}
-buildUnnamed1938() {
+buildUnnamed1944() {
var o = new core.List<api.AnalyzeDataDescriptionFeatures>();
o.add(buildAnalyzeDataDescriptionFeatures());
o.add(buildAnalyzeDataDescriptionFeatures());
return o;
}
-checkUnnamed1938(core.List<api.AnalyzeDataDescriptionFeatures> o) {
+checkUnnamed1944(core.List<api.AnalyzeDataDescriptionFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionFeatures(o[0]);
checkAnalyzeDataDescriptionFeatures(o[1]);
@@ -236,14 +236,14 @@
buildCounterAnalyzeDataDescriptionOutputFeatureText--;
}
-buildUnnamed1939() {
+buildUnnamed1945() {
var o = new core.List<api.AnalyzeDataDescriptionOutputFeatureText>();
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
o.add(buildAnalyzeDataDescriptionOutputFeatureText());
return o;
}
-checkUnnamed1939(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
+checkUnnamed1945(core.List<api.AnalyzeDataDescriptionOutputFeatureText> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnalyzeDataDescriptionOutputFeatureText(o[0]);
checkAnalyzeDataDescriptionOutputFeatureText(o[1]);
@@ -255,7 +255,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
o.numeric = buildAnalyzeDataDescriptionOutputFeatureNumeric();
- o.text = buildUnnamed1939();
+ o.text = buildUnnamed1945();
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
return o;
@@ -266,7 +266,7 @@
buildCounterAnalyzeDataDescriptionOutputFeature++;
if (buildCounterAnalyzeDataDescriptionOutputFeature < 3) {
checkAnalyzeDataDescriptionOutputFeatureNumeric(o.numeric);
- checkUnnamed1939(o.text);
+ checkUnnamed1945(o.text);
}
buildCounterAnalyzeDataDescriptionOutputFeature--;
}
@@ -276,7 +276,7 @@
var o = new api.AnalyzeDataDescription();
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- o.features = buildUnnamed1938();
+ o.features = buildUnnamed1944();
o.outputFeature = buildAnalyzeDataDescriptionOutputFeature();
}
buildCounterAnalyzeDataDescription--;
@@ -286,72 +286,72 @@
checkAnalyzeDataDescription(api.AnalyzeDataDescription o) {
buildCounterAnalyzeDataDescription++;
if (buildCounterAnalyzeDataDescription < 3) {
- checkUnnamed1938(o.features);
+ checkUnnamed1944(o.features);
checkAnalyzeDataDescriptionOutputFeature(o.outputFeature);
}
buildCounterAnalyzeDataDescription--;
}
-buildUnnamed1940() {
+buildUnnamed1946() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1940(core.Map<core.String, core.String> o) {
+checkUnnamed1946(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1941() {
+buildUnnamed1947() {
var o = new core.List<core.Map<core.String, core.String>>();
- o.add(buildUnnamed1940());
- o.add(buildUnnamed1940());
+ o.add(buildUnnamed1946());
+ o.add(buildUnnamed1946());
return o;
}
-checkUnnamed1941(core.List<core.Map<core.String, core.String>> o) {
+checkUnnamed1947(core.List<core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1940(o[0]);
- checkUnnamed1940(o[1]);
+ checkUnnamed1946(o[0]);
+ checkUnnamed1946(o[1]);
}
-buildUnnamed1942() {
+buildUnnamed1948() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1942(core.Map<core.String, core.String> o) {
+checkUnnamed1948(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1943() {
+buildUnnamed1949() {
var o = new core.Map<core.String, core.Map<core.String, core.String>>();
- o["x"] = buildUnnamed1942();
- o["y"] = buildUnnamed1942();
+ o["x"] = buildUnnamed1948();
+ o["y"] = buildUnnamed1948();
return o;
}
-checkUnnamed1943(core.Map<core.String, core.Map<core.String, core.String>> o) {
+checkUnnamed1949(core.Map<core.String, core.Map<core.String, core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1942(o["x"]);
- checkUnnamed1942(o["y"]);
+ checkUnnamed1948(o["x"]);
+ checkUnnamed1948(o["y"]);
}
-buildUnnamed1944() {
+buildUnnamed1950() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1944(core.Map<core.String, core.String> o) {
+checkUnnamed1950(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -362,8 +362,8 @@
var o = new api.AnalyzeModelDescription();
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- o.confusionMatrix = buildUnnamed1943();
- o.confusionMatrixRowTotals = buildUnnamed1944();
+ o.confusionMatrix = buildUnnamed1949();
+ o.confusionMatrixRowTotals = buildUnnamed1950();
o.modelinfo = buildInsert2();
}
buildCounterAnalyzeModelDescription--;
@@ -373,8 +373,8 @@
checkAnalyzeModelDescription(api.AnalyzeModelDescription o) {
buildCounterAnalyzeModelDescription++;
if (buildCounterAnalyzeModelDescription < 3) {
- checkUnnamed1943(o.confusionMatrix);
- checkUnnamed1944(o.confusionMatrixRowTotals);
+ checkUnnamed1949(o.confusionMatrix);
+ checkUnnamed1950(o.confusionMatrixRowTotals);
checkInsert2(o.modelinfo);
}
buildCounterAnalyzeModelDescription--;
@@ -386,7 +386,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
o.dataDescription = buildAnalyzeDataDescription();
- o.errors = buildUnnamed1941();
+ o.errors = buildUnnamed1947();
o.id = "foo";
o.kind = "foo";
o.modelDescription = buildAnalyzeModelDescription();
@@ -400,7 +400,7 @@
buildCounterAnalyze++;
if (buildCounterAnalyze < 3) {
checkAnalyzeDataDescription(o.dataDescription);
- checkUnnamed1941(o.errors);
+ checkUnnamed1947(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkAnalyzeModelDescription(o.modelDescription);
@@ -409,7 +409,7 @@
buildCounterAnalyze--;
}
-buildUnnamed1945() {
+buildUnnamed1951() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -424,7 +424,7 @@
return o;
}
-checkUnnamed1945(core.List<core.Object> o) {
+checkUnnamed1951(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -443,7 +443,7 @@
var o = new api.InputInput();
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- o.csvInstance = buildUnnamed1945();
+ o.csvInstance = buildUnnamed1951();
}
buildCounterInputInput--;
return o;
@@ -452,7 +452,7 @@
checkInputInput(api.InputInput o) {
buildCounterInputInput++;
if (buildCounterInputInput < 3) {
- checkUnnamed1945(o.csvInstance);
+ checkUnnamed1951(o.csvInstance);
}
buildCounterInputInput--;
}
@@ -476,7 +476,7 @@
buildCounterInput--;
}
-buildUnnamed1946() {
+buildUnnamed1952() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -491,7 +491,7 @@
return o;
}
-checkUnnamed1946(core.List<core.Object> o) {
+checkUnnamed1952(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -510,7 +510,7 @@
var o = new api.InsertTrainingInstances();
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- o.csvInstance = buildUnnamed1946();
+ o.csvInstance = buildUnnamed1952();
o.output = "foo";
}
buildCounterInsertTrainingInstances--;
@@ -520,49 +520,49 @@
checkInsertTrainingInstances(api.InsertTrainingInstances o) {
buildCounterInsertTrainingInstances++;
if (buildCounterInsertTrainingInstances < 3) {
- checkUnnamed1946(o.csvInstance);
+ checkUnnamed1952(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterInsertTrainingInstances--;
}
-buildUnnamed1947() {
+buildUnnamed1953() {
var o = new core.List<api.InsertTrainingInstances>();
o.add(buildInsertTrainingInstances());
o.add(buildInsertTrainingInstances());
return o;
}
-checkUnnamed1947(core.List<api.InsertTrainingInstances> o) {
+checkUnnamed1953(core.List<api.InsertTrainingInstances> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsertTrainingInstances(o[0]);
checkInsertTrainingInstances(o[1]);
}
-buildUnnamed1948() {
+buildUnnamed1954() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1948(core.Map<core.String, core.double> o) {
+checkUnnamed1954(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
}
-buildUnnamed1949() {
+buildUnnamed1955() {
var o = new core.List<core.Map<core.String, core.double>>();
- o.add(buildUnnamed1948());
- o.add(buildUnnamed1948());
+ o.add(buildUnnamed1954());
+ o.add(buildUnnamed1954());
return o;
}
-checkUnnamed1949(core.List<core.Map<core.String, core.double>> o) {
+checkUnnamed1955(core.List<core.Map<core.String, core.double>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1948(o[0]);
- checkUnnamed1948(o[1]);
+ checkUnnamed1954(o[0]);
+ checkUnnamed1954(o[1]);
}
core.int buildCounterInsert = 0;
@@ -576,8 +576,8 @@
o.storageDataLocation = "foo";
o.storagePMMLLocation = "foo";
o.storagePMMLModelLocation = "foo";
- o.trainingInstances = buildUnnamed1947();
- o.utility = buildUnnamed1949();
+ o.trainingInstances = buildUnnamed1953();
+ o.utility = buildUnnamed1955();
}
buildCounterInsert--;
return o;
@@ -592,8 +592,8 @@
unittest.expect(o.storageDataLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLLocation, unittest.equals('foo'));
unittest.expect(o.storagePMMLModelLocation, unittest.equals('foo'));
- checkUnnamed1947(o.trainingInstances);
- checkUnnamed1949(o.utility);
+ checkUnnamed1953(o.trainingInstances);
+ checkUnnamed1955(o.utility);
}
buildCounterInsert--;
}
@@ -668,14 +668,14 @@
buildCounterInsert2--;
}
-buildUnnamed1950() {
+buildUnnamed1956() {
var o = new core.List<api.Insert2>();
o.add(buildInsert2());
o.add(buildInsert2());
return o;
}
-checkUnnamed1950(core.List<api.Insert2> o) {
+checkUnnamed1956(core.List<api.Insert2> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsert2(o[0]);
checkInsert2(o[1]);
@@ -686,7 +686,7 @@
var o = new api.List();
buildCounterList++;
if (buildCounterList < 3) {
- o.items = buildUnnamed1950();
+ o.items = buildUnnamed1956();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -698,7 +698,7 @@
checkList(api.List o) {
buildCounterList++;
if (buildCounterList < 3) {
- checkUnnamed1950(o.items);
+ checkUnnamed1956(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -727,14 +727,14 @@
buildCounterOutputOutputMulti--;
}
-buildUnnamed1951() {
+buildUnnamed1957() {
var o = new core.List<api.OutputOutputMulti>();
o.add(buildOutputOutputMulti());
o.add(buildOutputOutputMulti());
return o;
}
-checkUnnamed1951(core.List<api.OutputOutputMulti> o) {
+checkUnnamed1957(core.List<api.OutputOutputMulti> o) {
unittest.expect(o, unittest.hasLength(2));
checkOutputOutputMulti(o[0]);
checkOutputOutputMulti(o[1]);
@@ -748,7 +748,7 @@
o.id = "foo";
o.kind = "foo";
o.outputLabel = "foo";
- o.outputMulti = buildUnnamed1951();
+ o.outputMulti = buildUnnamed1957();
o.outputValue = "foo";
o.selfLink = "foo";
}
@@ -762,14 +762,14 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.outputLabel, unittest.equals('foo'));
- checkUnnamed1951(o.outputMulti);
+ checkUnnamed1957(o.outputMulti);
unittest.expect(o.outputValue, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterOutput--;
}
-buildUnnamed1952() {
+buildUnnamed1958() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -784,7 +784,7 @@
return o;
}
-checkUnnamed1952(core.List<core.Object> o) {
+checkUnnamed1958(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -803,7 +803,7 @@
var o = new api.Update();
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- o.csvInstance = buildUnnamed1952();
+ o.csvInstance = buildUnnamed1958();
o.output = "foo";
}
buildCounterUpdate--;
@@ -813,7 +813,7 @@
checkUpdate(api.Update o) {
buildCounterUpdate++;
if (buildCounterUpdate < 3) {
- checkUnnamed1952(o.csvInstance);
+ checkUnnamed1958(o.csvInstance);
unittest.expect(o.output, unittest.equals('foo'));
}
buildCounterUpdate--;
diff --git a/generated/googleapis/test/pubsub/v1_test.dart b/generated/googleapis/test/pubsub/v1_test.dart
index 1745d1f..3a4a8a5 100644
--- a/generated/googleapis/test/pubsub/v1_test.dart
+++ b/generated/googleapis/test/pubsub/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1300() {
+buildUnnamed1306() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1300(core.List<core.String> o) {
+checkUnnamed1306(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'));
@@ -68,7 +68,7 @@
var o = new api.AcknowledgeRequest();
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- o.ackIds = buildUnnamed1300();
+ o.ackIds = buildUnnamed1306();
}
buildCounterAcknowledgeRequest--;
return o;
@@ -77,19 +77,19 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed1300(o.ackIds);
+ checkUnnamed1306(o.ackIds);
}
buildCounterAcknowledgeRequest--;
}
-buildUnnamed1301() {
+buildUnnamed1307() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1301(core.List<core.String> o) {
+checkUnnamed1307(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'));
@@ -100,7 +100,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed1301();
+ o.members = buildUnnamed1307();
o.role = "foo";
}
buildCounterBinding--;
@@ -110,7 +110,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1301(o.members);
+ checkUnnamed1307(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -131,14 +131,14 @@
buildCounterEmpty--;
}
-buildUnnamed1302() {
+buildUnnamed1308() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed1302(core.List<api.Subscription> o) {
+checkUnnamed1308(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -150,7 +150,7 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1302();
+ o.subscriptions = buildUnnamed1308();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -160,19 +160,19 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1302(o.subscriptions);
+ checkUnnamed1308(o.subscriptions);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed1303() {
+buildUnnamed1309() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1303(core.List<core.String> o) {
+checkUnnamed1309(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'));
@@ -184,7 +184,7 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed1303();
+ o.subscriptions = buildUnnamed1309();
}
buildCounterListTopicSubscriptionsResponse--;
return o;
@@ -194,19 +194,19 @@
buildCounterListTopicSubscriptionsResponse++;
if (buildCounterListTopicSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1303(o.subscriptions);
+ checkUnnamed1309(o.subscriptions);
}
buildCounterListTopicSubscriptionsResponse--;
}
-buildUnnamed1304() {
+buildUnnamed1310() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed1304(core.List<api.Topic> o) {
+checkUnnamed1310(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -218,7 +218,7 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
o.nextPageToken = "foo";
- o.topics = buildUnnamed1304();
+ o.topics = buildUnnamed1310();
}
buildCounterListTopicsResponse--;
return o;
@@ -228,19 +228,19 @@
buildCounterListTopicsResponse++;
if (buildCounterListTopicsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1304(o.topics);
+ checkUnnamed1310(o.topics);
}
buildCounterListTopicsResponse--;
}
-buildUnnamed1305() {
+buildUnnamed1311() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1305(core.List<core.String> o) {
+checkUnnamed1311(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'));
@@ -252,7 +252,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
o.ackDeadlineSeconds = 42;
- o.ackIds = buildUnnamed1305();
+ o.ackIds = buildUnnamed1311();
}
buildCounterModifyAckDeadlineRequest--;
return o;
@@ -262,7 +262,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
- checkUnnamed1305(o.ackIds);
+ checkUnnamed1311(o.ackIds);
}
buildCounterModifyAckDeadlineRequest--;
}
@@ -286,14 +286,14 @@
buildCounterModifyPushConfigRequest--;
}
-buildUnnamed1306() {
+buildUnnamed1312() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1306(core.List<api.Binding> o) {
+checkUnnamed1312(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -304,7 +304,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed1306();
+ o.bindings = buildUnnamed1312();
o.etag = "foo";
o.version = 42;
}
@@ -315,21 +315,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1306(o.bindings);
+ checkUnnamed1312(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1307() {
+buildUnnamed1313() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed1307(core.List<api.PubsubMessage> o) {
+checkUnnamed1313(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -340,7 +340,7 @@
var o = new api.PublishRequest();
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- o.messages = buildUnnamed1307();
+ o.messages = buildUnnamed1313();
}
buildCounterPublishRequest--;
return o;
@@ -349,19 +349,19 @@
checkPublishRequest(api.PublishRequest o) {
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- checkUnnamed1307(o.messages);
+ checkUnnamed1313(o.messages);
}
buildCounterPublishRequest--;
}
-buildUnnamed1308() {
+buildUnnamed1314() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1308(core.List<core.String> o) {
+checkUnnamed1314(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'));
@@ -372,7 +372,7 @@
var o = new api.PublishResponse();
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- o.messageIds = buildUnnamed1308();
+ o.messageIds = buildUnnamed1314();
}
buildCounterPublishResponse--;
return o;
@@ -381,19 +381,19 @@
checkPublishResponse(api.PublishResponse o) {
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- checkUnnamed1308(o.messageIds);
+ checkUnnamed1314(o.messageIds);
}
buildCounterPublishResponse--;
}
-buildUnnamed1309() {
+buildUnnamed1315() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1309(core.Map<core.String, core.String> o) {
+checkUnnamed1315(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -404,7 +404,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed1309();
+ o.attributes = buildUnnamed1315();
o.data = "foo";
o.messageId = "foo";
o.publishTime = "foo";
@@ -416,7 +416,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed1309(o.attributes);
+ checkUnnamed1315(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.publishTime, unittest.equals('foo'));
@@ -445,14 +445,14 @@
buildCounterPullRequest--;
}
-buildUnnamed1310() {
+buildUnnamed1316() {
var o = new core.List<api.ReceivedMessage>();
o.add(buildReceivedMessage());
o.add(buildReceivedMessage());
return o;
}
-checkUnnamed1310(core.List<api.ReceivedMessage> o) {
+checkUnnamed1316(core.List<api.ReceivedMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReceivedMessage(o[0]);
checkReceivedMessage(o[1]);
@@ -463,7 +463,7 @@
var o = new api.PullResponse();
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- o.receivedMessages = buildUnnamed1310();
+ o.receivedMessages = buildUnnamed1316();
}
buildCounterPullResponse--;
return o;
@@ -472,19 +472,19 @@
checkPullResponse(api.PullResponse o) {
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- checkUnnamed1310(o.receivedMessages);
+ checkUnnamed1316(o.receivedMessages);
}
buildCounterPullResponse--;
}
-buildUnnamed1311() {
+buildUnnamed1317() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1311(core.Map<core.String, core.String> o) {
+checkUnnamed1317(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -495,7 +495,7 @@
var o = new api.PushConfig();
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- o.attributes = buildUnnamed1311();
+ o.attributes = buildUnnamed1317();
o.pushEndpoint = "foo";
}
buildCounterPushConfig--;
@@ -505,7 +505,7 @@
checkPushConfig(api.PushConfig o) {
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- checkUnnamed1311(o.attributes);
+ checkUnnamed1317(o.attributes);
unittest.expect(o.pushEndpoint, unittest.equals('foo'));
}
buildCounterPushConfig--;
@@ -576,14 +576,14 @@
buildCounterSubscription--;
}
-buildUnnamed1312() {
+buildUnnamed1318() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1312(core.List<core.String> o) {
+checkUnnamed1318(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'));
@@ -594,7 +594,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1312();
+ o.permissions = buildUnnamed1318();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -603,19 +603,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1312(o.permissions);
+ checkUnnamed1318(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1313() {
+buildUnnamed1319() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1313(core.List<core.String> o) {
+checkUnnamed1319(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'));
@@ -626,7 +626,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1313();
+ o.permissions = buildUnnamed1319();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -635,7 +635,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1313(o.permissions);
+ checkUnnamed1319(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1827,8 +1827,8 @@
api.ProjectsTopicsResourceApi res =
new api.PubsubApi(mock).projects.topics;
var arg_project = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1861,10 +1861,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1875,8 +1875,8 @@
}), true);
res
.list(arg_project,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListTopicsResponse response) {
checkListTopicsResponse(response);
@@ -2059,8 +2059,8 @@
api.ProjectsTopicsSubscriptionsResourceApi res =
new api.PubsubApi(mock).projects.topics.subscriptions;
var arg_topic = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2093,10 +2093,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2107,8 +2107,8 @@
}), true);
res
.list(arg_topic,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.ListTopicSubscriptionsResponse response) {
diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart
index 6313762..3646d1f 100644
--- a/generated/googleapis/test/reseller/v1_test.dart
+++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -168,14 +168,14 @@
buildCounterRenewalSettings--;
}
-buildUnnamed2577() {
+buildUnnamed2583() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2577(core.List<core.String> o) {
+checkUnnamed2583(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'));
@@ -186,7 +186,7 @@
var o = new api.ResellernotifyGetwatchdetailsResponse();
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- o.serviceAccountEmailAddresses = buildUnnamed2577();
+ o.serviceAccountEmailAddresses = buildUnnamed2583();
o.topicName = "foo";
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -197,7 +197,7 @@
api.ResellernotifyGetwatchdetailsResponse o) {
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- checkUnnamed2577(o.serviceAccountEmailAddresses);
+ checkUnnamed2583(o.serviceAccountEmailAddresses);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -292,14 +292,14 @@
buildCounterSubscriptionPlan--;
}
-buildUnnamed2578() {
+buildUnnamed2584() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2578(core.List<core.String> o) {
+checkUnnamed2584(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'));
@@ -367,7 +367,7 @@
o.skuName = "foo";
o.status = "foo";
o.subscriptionId = "foo";
- o.suspensionReasons = buildUnnamed2578();
+ o.suspensionReasons = buildUnnamed2584();
o.transferInfo = buildSubscriptionTransferInfo();
o.trialSettings = buildSubscriptionTrialSettings();
}
@@ -393,21 +393,21 @@
unittest.expect(o.skuName, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subscriptionId, unittest.equals('foo'));
- checkUnnamed2578(o.suspensionReasons);
+ checkUnnamed2584(o.suspensionReasons);
checkSubscriptionTransferInfo(o.transferInfo);
checkSubscriptionTrialSettings(o.trialSettings);
}
buildCounterSubscription--;
}
-buildUnnamed2579() {
+buildUnnamed2585() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed2579(core.List<api.Subscription> o) {
+checkUnnamed2585(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -420,7 +420,7 @@
if (buildCounterSubscriptions < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed2579();
+ o.subscriptions = buildUnnamed2585();
}
buildCounterSubscriptions--;
return o;
@@ -431,7 +431,7 @@
if (buildCounterSubscriptions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2579(o.subscriptions);
+ checkUnnamed2585(o.subscriptions);
}
buildCounterSubscriptions--;
}
diff --git a/generated/googleapis/test/runtimeconfig/v1_test.dart b/generated/googleapis/test/runtimeconfig/v1_test.dart
index eee9c3a..4fd6d45 100644
--- a/generated/googleapis/test/runtimeconfig/v1_test.dart
+++ b/generated/googleapis/test/runtimeconfig/v1_test.dart
@@ -80,14 +80,14 @@
buildCounterEmpty--;
}
-buildUnnamed1999() {
+buildUnnamed2005() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1999(core.List<api.Operation> o) {
+checkUnnamed2005(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -99,7 +99,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1999();
+ o.operations = buildUnnamed2005();
}
buildCounterListOperationsResponse--;
return o;
@@ -109,12 +109,12 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1999(o.operations);
+ checkUnnamed2005(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2000() {
+buildUnnamed2006() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -129,7 +129,7 @@
return o;
}
-checkUnnamed2000(core.Map<core.String, core.Object> o) {
+checkUnnamed2006(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -143,7 +143,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2001() {
+buildUnnamed2007() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -158,7 +158,7 @@
return o;
}
-checkUnnamed2001(core.Map<core.String, core.Object> o) {
+checkUnnamed2007(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -179,9 +179,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2000();
+ o.metadata = buildUnnamed2006();
o.name = "foo";
- o.response = buildUnnamed2001();
+ o.response = buildUnnamed2007();
}
buildCounterOperation--;
return o;
@@ -192,14 +192,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2000(o.metadata);
+ checkUnnamed2006(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2001(o.response);
+ checkUnnamed2007(o.response);
}
buildCounterOperation--;
}
-buildUnnamed2002() {
+buildUnnamed2008() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -214,7 +214,7 @@
return o;
}
-checkUnnamed2002(core.Map<core.String, core.Object> o) {
+checkUnnamed2008(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -228,17 +228,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2003() {
+buildUnnamed2009() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2002());
- o.add(buildUnnamed2002());
+ o.add(buildUnnamed2008());
+ o.add(buildUnnamed2008());
return o;
}
-checkUnnamed2003(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2009(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2002(o[0]);
- checkUnnamed2002(o[1]);
+ checkUnnamed2008(o[0]);
+ checkUnnamed2008(o[1]);
}
core.int buildCounterStatus = 0;
@@ -247,7 +247,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2003();
+ o.details = buildUnnamed2009();
o.message = "foo";
}
buildCounterStatus--;
@@ -258,7 +258,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2003(o.details);
+ checkUnnamed2009(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/safebrowsing/v4_test.dart b/generated/googleapis/test/safebrowsing/v4_test.dart
index b9356ea..5652581 100644
--- a/generated/googleapis/test/safebrowsing/v4_test.dart
+++ b/generated/googleapis/test/safebrowsing/v4_test.dart
@@ -90,14 +90,14 @@
buildCounterClientInfo--;
}
-buildUnnamed1115() {
+buildUnnamed1122() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1115(core.List<core.String> o) {
+checkUnnamed1122(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'));
@@ -111,7 +111,7 @@
o.maxDatabaseEntries = 42;
o.maxUpdateEntries = 42;
o.region = "foo";
- o.supportedCompressions = buildUnnamed1115();
+ o.supportedCompressions = buildUnnamed1122();
}
buildCounterConstraints--;
return o;
@@ -123,19 +123,19 @@
unittest.expect(o.maxDatabaseEntries, unittest.equals(42));
unittest.expect(o.maxUpdateEntries, unittest.equals(42));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1115(o.supportedCompressions);
+ checkUnnamed1122(o.supportedCompressions);
}
buildCounterConstraints--;
}
-buildUnnamed1116() {
+buildUnnamed1123() {
var o = new core.List<api.ListUpdateRequest>();
o.add(buildListUpdateRequest());
o.add(buildListUpdateRequest());
return o;
}
-checkUnnamed1116(core.List<api.ListUpdateRequest> o) {
+checkUnnamed1123(core.List<api.ListUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateRequest(o[0]);
checkListUpdateRequest(o[1]);
@@ -147,7 +147,7 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
o.client = buildClientInfo();
- o.listUpdateRequests = buildUnnamed1116();
+ o.listUpdateRequests = buildUnnamed1123();
}
buildCounterFetchThreatListUpdatesRequest--;
return o;
@@ -157,19 +157,19 @@
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
checkClientInfo(o.client);
- checkUnnamed1116(o.listUpdateRequests);
+ checkUnnamed1123(o.listUpdateRequests);
}
buildCounterFetchThreatListUpdatesRequest--;
}
-buildUnnamed1117() {
+buildUnnamed1124() {
var o = new core.List<api.ListUpdateResponse>();
o.add(buildListUpdateResponse());
o.add(buildListUpdateResponse());
return o;
}
-checkUnnamed1117(core.List<api.ListUpdateResponse> o) {
+checkUnnamed1124(core.List<api.ListUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkListUpdateResponse(o[0]);
checkListUpdateResponse(o[1]);
@@ -180,7 +180,7 @@
var o = new api.FetchThreatListUpdatesResponse();
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- o.listUpdateResponses = buildUnnamed1117();
+ o.listUpdateResponses = buildUnnamed1124();
o.minimumWaitDuration = "foo";
}
buildCounterFetchThreatListUpdatesResponse--;
@@ -190,20 +190,20 @@
checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- checkUnnamed1117(o.listUpdateResponses);
+ checkUnnamed1124(o.listUpdateResponses);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
}
buildCounterFetchThreatListUpdatesResponse--;
}
-buildUnnamed1118() {
+buildUnnamed1125() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1118(core.List<core.String> o) {
+checkUnnamed1125(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'));
@@ -216,7 +216,7 @@
if (buildCounterFindFullHashesRequest < 3) {
o.apiClient = buildClientInfo();
o.client = buildClientInfo();
- o.clientStates = buildUnnamed1118();
+ o.clientStates = buildUnnamed1125();
o.threatInfo = buildThreatInfo();
}
buildCounterFindFullHashesRequest--;
@@ -228,20 +228,20 @@
if (buildCounterFindFullHashesRequest < 3) {
checkClientInfo(o.apiClient);
checkClientInfo(o.client);
- checkUnnamed1118(o.clientStates);
+ checkUnnamed1125(o.clientStates);
checkThreatInfo(o.threatInfo);
}
buildCounterFindFullHashesRequest--;
}
-buildUnnamed1119() {
+buildUnnamed1126() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1119(core.List<api.ThreatMatch> o) {
+checkUnnamed1126(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -252,7 +252,7 @@
var o = new api.FindFullHashesResponse();
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- o.matches = buildUnnamed1119();
+ o.matches = buildUnnamed1126();
o.minimumWaitDuration = "foo";
o.negativeCacheDuration = "foo";
}
@@ -263,7 +263,7 @@
checkFindFullHashesResponse(api.FindFullHashesResponse o) {
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- checkUnnamed1119(o.matches);
+ checkUnnamed1126(o.matches);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
unittest.expect(o.negativeCacheDuration, unittest.equals('foo'));
}
@@ -291,14 +291,14 @@
buildCounterFindThreatMatchesRequest--;
}
-buildUnnamed1120() {
+buildUnnamed1127() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1120(core.List<api.ThreatMatch> o) {
+checkUnnamed1127(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -309,7 +309,7 @@
var o = new api.FindThreatMatchesResponse();
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- o.matches = buildUnnamed1120();
+ o.matches = buildUnnamed1127();
}
buildCounterFindThreatMatchesResponse--;
return o;
@@ -318,19 +318,19 @@
checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- checkUnnamed1120(o.matches);
+ checkUnnamed1127(o.matches);
}
buildCounterFindThreatMatchesResponse--;
}
-buildUnnamed1121() {
+buildUnnamed1128() {
var o = new core.List<api.ThreatListDescriptor>();
o.add(buildThreatListDescriptor());
o.add(buildThreatListDescriptor());
return o;
}
-checkUnnamed1121(core.List<api.ThreatListDescriptor> o) {
+checkUnnamed1128(core.List<api.ThreatListDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatListDescriptor(o[0]);
checkThreatListDescriptor(o[1]);
@@ -341,7 +341,7 @@
var o = new api.ListThreatListsResponse();
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- o.threatLists = buildUnnamed1121();
+ o.threatLists = buildUnnamed1128();
}
buildCounterListThreatListsResponse--;
return o;
@@ -350,7 +350,7 @@
checkListThreatListsResponse(api.ListThreatListsResponse o) {
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- checkUnnamed1121(o.threatLists);
+ checkUnnamed1128(o.threatLists);
}
buildCounterListThreatListsResponse--;
}
@@ -382,27 +382,27 @@
buildCounterListUpdateRequest--;
}
-buildUnnamed1122() {
+buildUnnamed1129() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1122(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1129(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
}
-buildUnnamed1123() {
+buildUnnamed1130() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1123(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1130(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
@@ -413,11 +413,11 @@
var o = new api.ListUpdateResponse();
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- o.additions = buildUnnamed1122();
+ o.additions = buildUnnamed1129();
o.checksum = buildChecksum();
o.newClientState = "foo";
o.platformType = "foo";
- o.removals = buildUnnamed1123();
+ o.removals = buildUnnamed1130();
o.responseType = "foo";
o.threatEntryType = "foo";
o.threatType = "foo";
@@ -429,11 +429,11 @@
checkListUpdateResponse(api.ListUpdateResponse o) {
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- checkUnnamed1122(o.additions);
+ checkUnnamed1129(o.additions);
checkChecksum(o.checksum);
unittest.expect(o.newClientState, unittest.equals('foo'));
unittest.expect(o.platformType, unittest.equals('foo'));
- checkUnnamed1123(o.removals);
+ checkUnnamed1130(o.removals);
unittest.expect(o.responseType, unittest.equals('foo'));
unittest.expect(o.threatEntryType, unittest.equals('foo'));
unittest.expect(o.threatType, unittest.equals('foo'));
@@ -483,14 +483,14 @@
buildCounterRawHashes--;
}
-buildUnnamed1124() {
+buildUnnamed1131() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1124(core.List<core.int> o) {
+checkUnnamed1131(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -501,7 +501,7 @@
var o = new api.RawIndices();
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- o.indices = buildUnnamed1124();
+ o.indices = buildUnnamed1131();
}
buildCounterRawIndices--;
return o;
@@ -510,7 +510,7 @@
checkRawIndices(api.RawIndices o) {
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- checkUnnamed1124(o.indices);
+ checkUnnamed1131(o.indices);
}
buildCounterRawIndices--;
}
@@ -563,14 +563,14 @@
buildCounterThreatEntry--;
}
-buildUnnamed1125() {
+buildUnnamed1132() {
var o = new core.List<api.MetadataEntry>();
o.add(buildMetadataEntry());
o.add(buildMetadataEntry());
return o;
}
-checkUnnamed1125(core.List<api.MetadataEntry> o) {
+checkUnnamed1132(core.List<api.MetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataEntry(o[0]);
checkMetadataEntry(o[1]);
@@ -581,7 +581,7 @@
var o = new api.ThreatEntryMetadata();
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- o.entries = buildUnnamed1125();
+ o.entries = buildUnnamed1132();
}
buildCounterThreatEntryMetadata--;
return o;
@@ -590,7 +590,7 @@
checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- checkUnnamed1125(o.entries);
+ checkUnnamed1132(o.entries);
}
buildCounterThreatEntryMetadata--;
}
@@ -622,53 +622,53 @@
buildCounterThreatEntrySet--;
}
-buildUnnamed1126() {
+buildUnnamed1133() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1126(core.List<core.String> o) {
+checkUnnamed1133(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'));
}
-buildUnnamed1127() {
+buildUnnamed1134() {
var o = new core.List<api.ThreatEntry>();
o.add(buildThreatEntry());
o.add(buildThreatEntry());
return o;
}
-checkUnnamed1127(core.List<api.ThreatEntry> o) {
+checkUnnamed1134(core.List<api.ThreatEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntry(o[0]);
checkThreatEntry(o[1]);
}
-buildUnnamed1128() {
+buildUnnamed1135() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1128(core.List<core.String> o) {
+checkUnnamed1135(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'));
}
-buildUnnamed1129() {
+buildUnnamed1136() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1129(core.List<core.String> o) {
+checkUnnamed1136(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'));
@@ -679,10 +679,10 @@
var o = new api.ThreatInfo();
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- o.platformTypes = buildUnnamed1126();
- o.threatEntries = buildUnnamed1127();
- o.threatEntryTypes = buildUnnamed1128();
- o.threatTypes = buildUnnamed1129();
+ o.platformTypes = buildUnnamed1133();
+ o.threatEntries = buildUnnamed1134();
+ o.threatEntryTypes = buildUnnamed1135();
+ o.threatTypes = buildUnnamed1136();
}
buildCounterThreatInfo--;
return o;
@@ -691,10 +691,10 @@
checkThreatInfo(api.ThreatInfo o) {
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- checkUnnamed1126(o.platformTypes);
- checkUnnamed1127(o.threatEntries);
- checkUnnamed1128(o.threatEntryTypes);
- checkUnnamed1129(o.threatTypes);
+ checkUnnamed1133(o.platformTypes);
+ checkUnnamed1134(o.threatEntries);
+ checkUnnamed1135(o.threatEntryTypes);
+ checkUnnamed1136(o.threatTypes);
}
buildCounterThreatInfo--;
}
@@ -934,8 +934,8 @@
api.EncodedFullHashesResourceApi res =
new api.SafebrowsingApi(mock).encodedFullHashes;
var arg_encodedRequest = "foo";
- var arg_clientVersion = "foo";
var arg_clientId = "foo";
+ var arg_clientVersion = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -970,10 +970,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["clientVersion"].first,
- unittest.equals(arg_clientVersion));
unittest.expect(
queryMap["clientId"].first, unittest.equals(arg_clientId));
+ unittest.expect(queryMap["clientVersion"].first,
+ unittest.equals(arg_clientVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -984,8 +984,8 @@
}), true);
res
.get(arg_encodedRequest,
- clientVersion: arg_clientVersion,
clientId: arg_clientId,
+ clientVersion: arg_clientVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.FindFullHashesResponse response) {
checkFindFullHashesResponse(response);
diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart
index 578da40..4271c2a 100644
--- a/generated/googleapis/test/script/v1_test.dart
+++ b/generated/googleapis/test/script/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed830() {
+buildUnnamed836() {
var o = new core.List<api.ScriptStackTraceElement>();
o.add(buildScriptStackTraceElement());
o.add(buildScriptStackTraceElement());
return o;
}
-checkUnnamed830(core.List<api.ScriptStackTraceElement> o) {
+checkUnnamed836(core.List<api.ScriptStackTraceElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkScriptStackTraceElement(o[0]);
checkScriptStackTraceElement(o[1]);
@@ -70,7 +70,7 @@
if (buildCounterExecutionError < 3) {
o.errorMessage = "foo";
o.errorType = "foo";
- o.scriptStackTraceElements = buildUnnamed830();
+ o.scriptStackTraceElements = buildUnnamed836();
}
buildCounterExecutionError--;
return o;
@@ -81,12 +81,12 @@
if (buildCounterExecutionError < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.errorType, unittest.equals('foo'));
- checkUnnamed830(o.scriptStackTraceElements);
+ checkUnnamed836(o.scriptStackTraceElements);
}
buildCounterExecutionError--;
}
-buildUnnamed831() {
+buildUnnamed837() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -101,7 +101,7 @@
return o;
}
-checkUnnamed831(core.List<core.Object> o) {
+checkUnnamed837(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -122,7 +122,7 @@
if (buildCounterExecutionRequest < 3) {
o.devMode = true;
o.function = "foo";
- o.parameters = buildUnnamed831();
+ o.parameters = buildUnnamed837();
o.sessionState = "foo";
}
buildCounterExecutionRequest--;
@@ -134,7 +134,7 @@
if (buildCounterExecutionRequest < 3) {
unittest.expect(o.devMode, unittest.isTrue);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed831(o.parameters);
+ checkUnnamed837(o.parameters);
unittest.expect(o.sessionState, unittest.equals('foo'));
}
buildCounterExecutionRequest--;
@@ -167,7 +167,7 @@
buildCounterExecutionResponse--;
}
-buildUnnamed832() {
+buildUnnamed838() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -182,7 +182,7 @@
return o;
}
-checkUnnamed832(core.Map<core.String, core.Object> o) {
+checkUnnamed838(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o["x"]) as core.Map;
unittest.expect(casted4, unittest.hasLength(3));
@@ -196,35 +196,6 @@
unittest.expect(casted5["string"], unittest.equals('foo'));
}
-buildUnnamed833() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed833(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted6 = (o["x"]) as core.Map;
- unittest.expect(casted6, unittest.hasLength(3));
- unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted6["bool"], unittest.equals(true));
- unittest.expect(casted6["string"], unittest.equals('foo'));
- var casted7 = (o["y"]) as core.Map;
- unittest.expect(casted7, unittest.hasLength(3));
- unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted7["bool"], unittest.equals(true));
- unittest.expect(casted7["string"], unittest.equals('foo'));
-}
-
core.int buildCounterOperation = 0;
buildOperation() {
var o = new api.Operation();
@@ -232,8 +203,7 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed832();
- o.response = buildUnnamed833();
+ o.response = buildUnnamed838();
}
buildCounterOperation--;
return o;
@@ -244,8 +214,7 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed832(o.metadata);
- checkUnnamed833(o.response);
+ checkUnnamed838(o.response);
}
buildCounterOperation--;
}
@@ -271,7 +240,7 @@
buildCounterScriptStackTraceElement--;
}
-buildUnnamed834() {
+buildUnnamed839() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -286,31 +255,31 @@
return o;
}
-checkUnnamed834(core.Map<core.String, core.Object> o) {
+checkUnnamed839(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted8 = (o["x"]) as core.Map;
- unittest.expect(casted8, unittest.hasLength(3));
- unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted8["bool"], unittest.equals(true));
- unittest.expect(casted8["string"], unittest.equals('foo'));
- var casted9 = (o["y"]) as core.Map;
- unittest.expect(casted9, unittest.hasLength(3));
- unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted9["bool"], unittest.equals(true));
- unittest.expect(casted9["string"], unittest.equals('foo'));
+ var casted6 = (o["x"]) as core.Map;
+ unittest.expect(casted6, unittest.hasLength(3));
+ unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted6["bool"], unittest.equals(true));
+ unittest.expect(casted6["string"], unittest.equals('foo'));
+ var casted7 = (o["y"]) as core.Map;
+ unittest.expect(casted7, unittest.hasLength(3));
+ unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted7["bool"], unittest.equals(true));
+ unittest.expect(casted7["string"], unittest.equals('foo'));
}
-buildUnnamed835() {
+buildUnnamed840() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed834());
- o.add(buildUnnamed834());
+ o.add(buildUnnamed839());
+ o.add(buildUnnamed839());
return o;
}
-checkUnnamed835(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed840(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed834(o[0]);
- checkUnnamed834(o[1]);
+ checkUnnamed839(o[0]);
+ checkUnnamed839(o[1]);
}
core.int buildCounterStatus = 0;
@@ -319,7 +288,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed835();
+ o.details = buildUnnamed840();
o.message = "foo";
}
buildCounterStatus--;
@@ -330,7 +299,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed835(o.details);
+ checkUnnamed840(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/searchconsole/v1_test.dart b/generated/googleapis/test/searchconsole/v1_test.dart
index 3a075b9..110fc3d 100644
--- a/generated/googleapis/test/searchconsole/v1_test.dart
+++ b/generated/googleapis/test/searchconsole/v1_test.dart
@@ -149,27 +149,27 @@
buildCounterRunMobileFriendlyTestRequest--;
}
-buildUnnamed1260() {
+buildUnnamed1266() {
var o = new core.List<api.MobileFriendlyIssue>();
o.add(buildMobileFriendlyIssue());
o.add(buildMobileFriendlyIssue());
return o;
}
-checkUnnamed1260(core.List<api.MobileFriendlyIssue> o) {
+checkUnnamed1266(core.List<api.MobileFriendlyIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileFriendlyIssue(o[0]);
checkMobileFriendlyIssue(o[1]);
}
-buildUnnamed1261() {
+buildUnnamed1267() {
var o = new core.List<api.ResourceIssue>();
o.add(buildResourceIssue());
o.add(buildResourceIssue());
return o;
}
-checkUnnamed1261(core.List<api.ResourceIssue> o) {
+checkUnnamed1267(core.List<api.ResourceIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceIssue(o[0]);
checkResourceIssue(o[1]);
@@ -181,8 +181,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
o.mobileFriendliness = "foo";
- o.mobileFriendlyIssues = buildUnnamed1260();
- o.resourceIssues = buildUnnamed1261();
+ o.mobileFriendlyIssues = buildUnnamed1266();
+ o.resourceIssues = buildUnnamed1267();
o.screenshot = buildImage();
o.testStatus = buildTestStatus();
}
@@ -194,8 +194,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
unittest.expect(o.mobileFriendliness, unittest.equals('foo'));
- checkUnnamed1260(o.mobileFriendlyIssues);
- checkUnnamed1261(o.resourceIssues);
+ checkUnnamed1266(o.mobileFriendlyIssues);
+ checkUnnamed1267(o.resourceIssues);
checkImage(o.screenshot);
checkTestStatus(o.testStatus);
}
diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart
index af625ee..89b6b26 100644
--- a/generated/googleapis/test/servicecontrol/v1_test.dart
+++ b/generated/googleapis/test/servicecontrol/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1734() {
+buildUnnamed1741() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1734(core.List<core.String> o) {
+checkUnnamed1741(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'));
@@ -68,7 +68,7 @@
var o = new api.AllocateInfo();
buildCounterAllocateInfo++;
if (buildCounterAllocateInfo < 3) {
- o.unusedArguments = buildUnnamed1734();
+ o.unusedArguments = buildUnnamed1741();
}
buildCounterAllocateInfo--;
return o;
@@ -77,7 +77,7 @@
checkAllocateInfo(api.AllocateInfo o) {
buildCounterAllocateInfo++;
if (buildCounterAllocateInfo < 3) {
- checkUnnamed1734(o.unusedArguments);
+ checkUnnamed1741(o.unusedArguments);
}
buildCounterAllocateInfo--;
}
@@ -103,27 +103,27 @@
buildCounterAllocateQuotaRequest--;
}
-buildUnnamed1735() {
+buildUnnamed1742() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1735(core.List<api.QuotaError> o) {
+checkUnnamed1742(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
}
-buildUnnamed1736() {
+buildUnnamed1743() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1736(core.List<api.MetricValueSet> o) {
+checkUnnamed1743(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -134,10 +134,10 @@
var o = new api.AllocateQuotaResponse();
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- o.allocateErrors = buildUnnamed1735();
+ o.allocateErrors = buildUnnamed1742();
o.allocateInfo = buildAllocateInfo();
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1736();
+ o.quotaMetrics = buildUnnamed1743();
o.serviceConfigId = "foo";
}
buildCounterAllocateQuotaResponse--;
@@ -147,29 +147,29 @@
checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- checkUnnamed1735(o.allocateErrors);
+ checkUnnamed1742(o.allocateErrors);
checkAllocateInfo(o.allocateInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1736(o.quotaMetrics);
+ checkUnnamed1743(o.quotaMetrics);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterAllocateQuotaResponse--;
}
-buildUnnamed1737() {
+buildUnnamed1744() {
var o = new core.List<api.AuthorizationInfo>();
o.add(buildAuthorizationInfo());
o.add(buildAuthorizationInfo());
return o;
}
-checkUnnamed1737(core.List<api.AuthorizationInfo> o) {
+checkUnnamed1744(core.List<api.AuthorizationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizationInfo(o[0]);
checkAuthorizationInfo(o[1]);
}
-buildUnnamed1738() {
+buildUnnamed1745() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -184,7 +184,7 @@
return o;
}
-checkUnnamed1738(core.Map<core.String, core.Object> o) {
+checkUnnamed1745(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -198,7 +198,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1739() {
+buildUnnamed1746() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -213,7 +213,7 @@
return o;
}
-checkUnnamed1739(core.Map<core.String, core.Object> o) {
+checkUnnamed1746(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -227,7 +227,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed1740() {
+buildUnnamed1747() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -242,7 +242,7 @@
return o;
}
-checkUnnamed1740(core.Map<core.String, core.Object> o) {
+checkUnnamed1747(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -256,7 +256,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1741() {
+buildUnnamed1748() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -271,7 +271,7 @@
return o;
}
-checkUnnamed1741(core.Map<core.String, core.Object> o) {
+checkUnnamed1748(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -291,15 +291,15 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
o.authenticationInfo = buildAuthenticationInfo();
- o.authorizationInfo = buildUnnamed1737();
- o.metadata = buildUnnamed1738();
+ o.authorizationInfo = buildUnnamed1744();
+ o.metadata = buildUnnamed1745();
o.methodName = "foo";
o.numResponseItems = "foo";
- o.request = buildUnnamed1739();
+ o.request = buildUnnamed1746();
o.requestMetadata = buildRequestMetadata();
o.resourceName = "foo";
- o.response = buildUnnamed1740();
- o.serviceData = buildUnnamed1741();
+ o.response = buildUnnamed1747();
+ o.serviceData = buildUnnamed1748();
o.serviceName = "foo";
o.status = buildStatus();
}
@@ -311,22 +311,22 @@
buildCounterAuditLog++;
if (buildCounterAuditLog < 3) {
checkAuthenticationInfo(o.authenticationInfo);
- checkUnnamed1737(o.authorizationInfo);
- checkUnnamed1738(o.metadata);
+ checkUnnamed1744(o.authorizationInfo);
+ checkUnnamed1745(o.metadata);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.numResponseItems, unittest.equals('foo'));
- checkUnnamed1739(o.request);
+ checkUnnamed1746(o.request);
checkRequestMetadata(o.requestMetadata);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed1740(o.response);
- checkUnnamed1741(o.serviceData);
+ checkUnnamed1747(o.response);
+ checkUnnamed1748(o.serviceData);
unittest.expect(o.serviceName, unittest.equals('foo'));
checkStatus(o.status);
}
buildCounterAuditLog--;
}
-buildUnnamed1742() {
+buildUnnamed1749() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -341,7 +341,7 @@
return o;
}
-checkUnnamed1742(core.Map<core.String, core.Object> o) {
+checkUnnamed1749(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -362,7 +362,7 @@
if (buildCounterAuthenticationInfo < 3) {
o.authoritySelector = "foo";
o.principalEmail = "foo";
- o.thirdPartyPrincipal = buildUnnamed1742();
+ o.thirdPartyPrincipal = buildUnnamed1749();
}
buildCounterAuthenticationInfo--;
return o;
@@ -373,7 +373,7 @@
if (buildCounterAuthenticationInfo < 3) {
unittest.expect(o.authoritySelector, unittest.equals('foo'));
unittest.expect(o.principalEmail, unittest.equals('foo'));
- checkUnnamed1742(o.thirdPartyPrincipal);
+ checkUnnamed1749(o.thirdPartyPrincipal);
}
buildCounterAuthenticationInfo--;
}
@@ -422,14 +422,14 @@
buildCounterCheckError--;
}
-buildUnnamed1743() {
+buildUnnamed1750() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1743(core.List<core.String> o) {
+checkUnnamed1750(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'));
@@ -441,7 +441,7 @@
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
o.consumerInfo = buildConsumerInfo();
- o.unusedArguments = buildUnnamed1743();
+ o.unusedArguments = buildUnnamed1750();
}
buildCounterCheckInfo--;
return o;
@@ -451,7 +451,7 @@
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
checkConsumerInfo(o.consumerInfo);
- checkUnnamed1743(o.unusedArguments);
+ checkUnnamed1750(o.unusedArguments);
}
buildCounterCheckInfo--;
}
@@ -481,14 +481,14 @@
buildCounterCheckRequest--;
}
-buildUnnamed1744() {
+buildUnnamed1751() {
var o = new core.List<api.CheckError>();
o.add(buildCheckError());
o.add(buildCheckError());
return o;
}
-checkUnnamed1744(core.List<api.CheckError> o) {
+checkUnnamed1751(core.List<api.CheckError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCheckError(o[0]);
checkCheckError(o[1]);
@@ -499,7 +499,7 @@
var o = new api.CheckResponse();
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- o.checkErrors = buildUnnamed1744();
+ o.checkErrors = buildUnnamed1751();
o.checkInfo = buildCheckInfo();
o.operationId = "foo";
o.quotaInfo = buildQuotaInfo();
@@ -512,7 +512,7 @@
checkCheckResponse(api.CheckResponse o) {
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- checkUnnamed1744(o.checkErrors);
+ checkUnnamed1751(o.checkErrors);
checkCheckInfo(o.checkInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
checkQuotaInfo(o.quotaInfo);
@@ -540,14 +540,14 @@
buildCounterConsumerInfo--;
}
-buildUnnamed1745() {
+buildUnnamed1752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1745(core.List<core.String> o) {
+checkUnnamed1752(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'));
@@ -558,7 +558,7 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed1745();
+ o.bucketCounts = buildUnnamed1752();
o.count = "foo";
o.explicitBuckets = buildExplicitBuckets();
o.exponentialBuckets = buildExponentialBuckets();
@@ -575,7 +575,7 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed1745(o.bucketCounts);
+ checkUnnamed1752(o.bucketCounts);
unittest.expect(o.count, unittest.equals('foo'));
checkExplicitBuckets(o.explicitBuckets);
checkExponentialBuckets(o.exponentialBuckets);
@@ -609,27 +609,27 @@
buildCounterEndReconciliationRequest--;
}
-buildUnnamed1746() {
+buildUnnamed1753() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1746(core.List<api.MetricValueSet> o) {
+checkUnnamed1753(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1747() {
+buildUnnamed1754() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1747(core.List<api.QuotaError> o) {
+checkUnnamed1754(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -641,8 +641,8 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1746();
- o.reconciliationErrors = buildUnnamed1747();
+ o.quotaMetrics = buildUnnamed1753();
+ o.reconciliationErrors = buildUnnamed1754();
o.serviceConfigId = "foo";
}
buildCounterEndReconciliationResponse--;
@@ -653,21 +653,21 @@
buildCounterEndReconciliationResponse++;
if (buildCounterEndReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1746(o.quotaMetrics);
- checkUnnamed1747(o.reconciliationErrors);
+ checkUnnamed1753(o.quotaMetrics);
+ checkUnnamed1754(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterEndReconciliationResponse--;
}
-buildUnnamed1748() {
+buildUnnamed1755() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1748(core.List<core.double> o) {
+checkUnnamed1755(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -678,7 +678,7 @@
var o = new api.ExplicitBuckets();
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- o.bounds = buildUnnamed1748();
+ o.bounds = buildUnnamed1755();
}
buildCounterExplicitBuckets--;
return o;
@@ -687,7 +687,7 @@
checkExplicitBuckets(api.ExplicitBuckets o) {
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- checkUnnamed1748(o.bounds);
+ checkUnnamed1755(o.bounds);
}
buildCounterExplicitBuckets--;
}
@@ -738,20 +738,20 @@
buildCounterLinearBuckets--;
}
-buildUnnamed1749() {
+buildUnnamed1756() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1749(core.Map<core.String, core.String> o) {
+checkUnnamed1756(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1750() {
+buildUnnamed1757() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -766,7 +766,7 @@
return o;
}
-checkUnnamed1750(core.Map<core.String, core.Object> o) {
+checkUnnamed1757(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -780,7 +780,7 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1751() {
+buildUnnamed1758() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -795,7 +795,7 @@
return o;
}
-checkUnnamed1751(core.Map<core.String, core.Object> o) {
+checkUnnamed1758(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
@@ -815,11 +815,11 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
o.insertId = "foo";
- o.labels = buildUnnamed1749();
+ o.labels = buildUnnamed1756();
o.name = "foo";
- o.protoPayload = buildUnnamed1750();
+ o.protoPayload = buildUnnamed1757();
o.severity = "foo";
- o.structPayload = buildUnnamed1751();
+ o.structPayload = buildUnnamed1758();
o.textPayload = "foo";
o.timestamp = "foo";
}
@@ -831,25 +831,25 @@
buildCounterLogEntry++;
if (buildCounterLogEntry < 3) {
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed1749(o.labels);
+ checkUnnamed1756(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1750(o.protoPayload);
+ checkUnnamed1757(o.protoPayload);
unittest.expect(o.severity, unittest.equals('foo'));
- checkUnnamed1751(o.structPayload);
+ checkUnnamed1758(o.structPayload);
unittest.expect(o.textPayload, unittest.equals('foo'));
unittest.expect(o.timestamp, unittest.equals('foo'));
}
buildCounterLogEntry--;
}
-buildUnnamed1752() {
+buildUnnamed1759() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1752(core.Map<core.String, core.String> o) {
+checkUnnamed1759(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -865,7 +865,7 @@
o.doubleValue = 42.0;
o.endTime = "foo";
o.int64Value = "foo";
- o.labels = buildUnnamed1752();
+ o.labels = buildUnnamed1759();
o.moneyValue = buildMoney();
o.startTime = "foo";
o.stringValue = "foo";
@@ -882,7 +882,7 @@
unittest.expect(o.doubleValue, unittest.equals(42.0));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.int64Value, unittest.equals('foo'));
- checkUnnamed1752(o.labels);
+ checkUnnamed1759(o.labels);
checkMoney(o.moneyValue);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
@@ -890,14 +890,14 @@
buildCounterMetricValue--;
}
-buildUnnamed1753() {
+buildUnnamed1760() {
var o = new core.List<api.MetricValue>();
o.add(buildMetricValue());
o.add(buildMetricValue());
return o;
}
-checkUnnamed1753(core.List<api.MetricValue> o) {
+checkUnnamed1760(core.List<api.MetricValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValue(o[0]);
checkMetricValue(o[1]);
@@ -909,7 +909,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
o.metricName = "foo";
- o.metricValues = buildUnnamed1753();
+ o.metricValues = buildUnnamed1760();
}
buildCounterMetricValueSet--;
return o;
@@ -919,7 +919,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
unittest.expect(o.metricName, unittest.equals('foo'));
- checkUnnamed1753(o.metricValues);
+ checkUnnamed1760(o.metricValues);
}
buildCounterMetricValueSet--;
}
@@ -947,66 +947,66 @@
buildCounterMoney--;
}
-buildUnnamed1754() {
+buildUnnamed1761() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1754(core.Map<core.String, core.String> o) {
+checkUnnamed1761(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1755() {
+buildUnnamed1762() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed1755(core.List<api.LogEntry> o) {
+checkUnnamed1762(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed1756() {
+buildUnnamed1763() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1756(core.List<api.MetricValueSet> o) {
+checkUnnamed1763(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1757() {
+buildUnnamed1764() {
var o = new core.List<api.ResourceInfo>();
o.add(buildResourceInfo());
o.add(buildResourceInfo());
return o;
}
-checkUnnamed1757(core.List<api.ResourceInfo> o) {
+checkUnnamed1764(core.List<api.ResourceInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceInfo(o[0]);
checkResourceInfo(o[1]);
}
-buildUnnamed1758() {
+buildUnnamed1765() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1758(core.Map<core.String, core.String> o) {
+checkUnnamed1765(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1020,16 +1020,16 @@
o.consumerId = "foo";
o.endTime = "foo";
o.importance = "foo";
- o.labels = buildUnnamed1754();
- o.logEntries = buildUnnamed1755();
- o.metricValueSets = buildUnnamed1756();
+ o.labels = buildUnnamed1761();
+ o.logEntries = buildUnnamed1762();
+ o.metricValueSets = buildUnnamed1763();
o.operationId = "foo";
o.operationName = "foo";
o.quotaProperties = buildQuotaProperties();
o.resourceContainer = "foo";
- o.resources = buildUnnamed1757();
+ o.resources = buildUnnamed1764();
o.startTime = "foo";
- o.userLabels = buildUnnamed1758();
+ o.userLabels = buildUnnamed1765();
}
buildCounterOperation--;
return o;
@@ -1041,16 +1041,16 @@
unittest.expect(o.consumerId, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.importance, unittest.equals('foo'));
- checkUnnamed1754(o.labels);
- checkUnnamed1755(o.logEntries);
- checkUnnamed1756(o.metricValueSets);
+ checkUnnamed1761(o.labels);
+ checkUnnamed1762(o.logEntries);
+ checkUnnamed1763(o.metricValueSets);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.operationName, unittest.equals('foo'));
checkQuotaProperties(o.quotaProperties);
unittest.expect(o.resourceContainer, unittest.equals('foo'));
- checkUnnamed1757(o.resources);
+ checkUnnamed1764(o.resources);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1758(o.userLabels);
+ checkUnnamed1765(o.userLabels);
}
buildCounterOperation--;
}
@@ -1078,40 +1078,40 @@
buildCounterQuotaError--;
}
-buildUnnamed1759() {
+buildUnnamed1766() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1759(core.List<core.String> o) {
+checkUnnamed1766(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'));
}
-buildUnnamed1760() {
+buildUnnamed1767() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1760(core.Map<core.String, core.int> o) {
+checkUnnamed1767(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
}
-buildUnnamed1761() {
+buildUnnamed1768() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1761(core.List<api.MetricValueSet> o) {
+checkUnnamed1768(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -1122,9 +1122,9 @@
var o = new api.QuotaInfo();
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- o.limitExceeded = buildUnnamed1759();
- o.quotaConsumed = buildUnnamed1760();
- o.quotaMetrics = buildUnnamed1761();
+ o.limitExceeded = buildUnnamed1766();
+ o.quotaConsumed = buildUnnamed1767();
+ o.quotaMetrics = buildUnnamed1768();
}
buildCounterQuotaInfo--;
return o;
@@ -1133,34 +1133,34 @@
checkQuotaInfo(api.QuotaInfo o) {
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- checkUnnamed1759(o.limitExceeded);
- checkUnnamed1760(o.quotaConsumed);
- checkUnnamed1761(o.quotaMetrics);
+ checkUnnamed1766(o.limitExceeded);
+ checkUnnamed1767(o.quotaConsumed);
+ checkUnnamed1768(o.quotaMetrics);
}
buildCounterQuotaInfo--;
}
-buildUnnamed1762() {
+buildUnnamed1769() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1762(core.Map<core.String, core.String> o) {
+checkUnnamed1769(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1763() {
+buildUnnamed1770() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1763(core.List<api.MetricValueSet> o) {
+checkUnnamed1770(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -1172,10 +1172,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
o.consumerId = "foo";
- o.labels = buildUnnamed1762();
+ o.labels = buildUnnamed1769();
o.methodName = "foo";
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1763();
+ o.quotaMetrics = buildUnnamed1770();
o.quotaMode = "foo";
}
buildCounterQuotaOperation--;
@@ -1186,10 +1186,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
unittest.expect(o.consumerId, unittest.equals('foo'));
- checkUnnamed1762(o.labels);
+ checkUnnamed1769(o.labels);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1763(o.quotaMetrics);
+ checkUnnamed1770(o.quotaMetrics);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaOperation--;
@@ -1235,27 +1235,27 @@
buildCounterReleaseQuotaRequest--;
}
-buildUnnamed1764() {
+buildUnnamed1771() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1764(core.List<api.MetricValueSet> o) {
+checkUnnamed1771(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1765() {
+buildUnnamed1772() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1765(core.List<api.QuotaError> o) {
+checkUnnamed1772(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1267,8 +1267,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1764();
- o.releaseErrors = buildUnnamed1765();
+ o.quotaMetrics = buildUnnamed1771();
+ o.releaseErrors = buildUnnamed1772();
o.serviceConfigId = "foo";
}
buildCounterReleaseQuotaResponse--;
@@ -1279,8 +1279,8 @@
buildCounterReleaseQuotaResponse++;
if (buildCounterReleaseQuotaResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1764(o.quotaMetrics);
- checkUnnamed1765(o.releaseErrors);
+ checkUnnamed1771(o.quotaMetrics);
+ checkUnnamed1772(o.releaseErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReleaseQuotaResponse--;
@@ -1328,14 +1328,14 @@
buildCounterReportInfo--;
}
-buildUnnamed1766() {
+buildUnnamed1773() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1766(core.List<api.Operation> o) {
+checkUnnamed1773(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1346,7 +1346,7 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.operations = buildUnnamed1766();
+ o.operations = buildUnnamed1773();
o.serviceConfigId = "foo";
}
buildCounterReportRequest--;
@@ -1356,33 +1356,33 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed1766(o.operations);
+ checkUnnamed1773(o.operations);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed1767() {
+buildUnnamed1774() {
var o = new core.List<api.ReportError>();
o.add(buildReportError());
o.add(buildReportError());
return o;
}
-checkUnnamed1767(core.List<api.ReportError> o) {
+checkUnnamed1774(core.List<api.ReportError> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportError(o[0]);
checkReportError(o[1]);
}
-buildUnnamed1768() {
+buildUnnamed1775() {
var o = new core.List<api.ReportInfo>();
o.add(buildReportInfo());
o.add(buildReportInfo());
return o;
}
-checkUnnamed1768(core.List<api.ReportInfo> o) {
+checkUnnamed1775(core.List<api.ReportInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportInfo(o[0]);
checkReportInfo(o[1]);
@@ -1393,8 +1393,8 @@
var o = new api.ReportResponse();
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- o.reportErrors = buildUnnamed1767();
- o.reportInfos = buildUnnamed1768();
+ o.reportErrors = buildUnnamed1774();
+ o.reportInfos = buildUnnamed1775();
o.serviceConfigId = "foo";
}
buildCounterReportResponse--;
@@ -1404,8 +1404,8 @@
checkReportResponse(api.ReportResponse o) {
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- checkUnnamed1767(o.reportErrors);
- checkUnnamed1768(o.reportInfos);
+ checkUnnamed1774(o.reportErrors);
+ checkUnnamed1775(o.reportInfos);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportResponse--;
@@ -1476,27 +1476,27 @@
buildCounterStartReconciliationRequest--;
}
-buildUnnamed1769() {
+buildUnnamed1776() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed1769(core.List<api.MetricValueSet> o) {
+checkUnnamed1776(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed1770() {
+buildUnnamed1777() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed1770(core.List<api.QuotaError> o) {
+checkUnnamed1777(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
@@ -1508,8 +1508,8 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed1769();
- o.reconciliationErrors = buildUnnamed1770();
+ o.quotaMetrics = buildUnnamed1776();
+ o.reconciliationErrors = buildUnnamed1777();
o.serviceConfigId = "foo";
}
buildCounterStartReconciliationResponse--;
@@ -1520,14 +1520,14 @@
buildCounterStartReconciliationResponse++;
if (buildCounterStartReconciliationResponse < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed1769(o.quotaMetrics);
- checkUnnamed1770(o.reconciliationErrors);
+ checkUnnamed1776(o.quotaMetrics);
+ checkUnnamed1777(o.reconciliationErrors);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterStartReconciliationResponse--;
}
-buildUnnamed1771() {
+buildUnnamed1778() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1542,7 +1542,7 @@
return o;
}
-checkUnnamed1771(core.Map<core.String, core.Object> o) {
+checkUnnamed1778(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o["x"]) as core.Map;
unittest.expect(casted15, unittest.hasLength(3));
@@ -1556,17 +1556,17 @@
unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed1772() {
+buildUnnamed1779() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1771());
- o.add(buildUnnamed1771());
+ o.add(buildUnnamed1778());
+ o.add(buildUnnamed1778());
return o;
}
-checkUnnamed1772(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1779(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1771(o[0]);
- checkUnnamed1771(o[1]);
+ checkUnnamed1778(o[0]);
+ checkUnnamed1778(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1575,7 +1575,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1772();
+ o.details = buildUnnamed1779();
o.message = "foo";
}
buildCounterStatus--;
@@ -1586,7 +1586,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1772(o.details);
+ checkUnnamed1779(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart
index d1e63b6..bcb6028 100644
--- a/generated/googleapis/test/servicemanagement/v1_test.dart
+++ b/generated/googleapis/test/servicemanagement/v1_test.dart
@@ -69,40 +69,40 @@
buildCounterAdvice--;
}
-buildUnnamed1173() {
+buildUnnamed1180() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1173(core.List<api.Method> o) {
+checkUnnamed1180(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1174() {
+buildUnnamed1181() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1174(core.List<api.Mixin> o) {
+checkUnnamed1181(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1175() {
+buildUnnamed1182() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1175(core.List<api.Option> o) {
+checkUnnamed1182(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -113,10 +113,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1173();
- o.mixins = buildUnnamed1174();
+ o.methods = buildUnnamed1180();
+ o.mixins = buildUnnamed1181();
o.name = "foo";
- o.options = buildUnnamed1175();
+ o.options = buildUnnamed1182();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -128,10 +128,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1173(o.methods);
- checkUnnamed1174(o.mixins);
+ checkUnnamed1180(o.methods);
+ checkUnnamed1181(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1175(o.options);
+ checkUnnamed1182(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -139,27 +139,27 @@
buildCounterApi--;
}
-buildUnnamed1176() {
+buildUnnamed1183() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1176(core.List<api.AuditLogConfig> o) {
+checkUnnamed1183(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1177() {
+buildUnnamed1184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1177(core.List<core.String> o) {
+checkUnnamed1184(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'));
@@ -170,8 +170,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1176();
- o.exemptedMembers = buildUnnamed1177();
+ o.auditLogConfigs = buildUnnamed1183();
+ o.exemptedMembers = buildUnnamed1184();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -181,21 +181,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1176(o.auditLogConfigs);
- checkUnnamed1177(o.exemptedMembers);
+ checkUnnamed1183(o.auditLogConfigs);
+ checkUnnamed1184(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1178() {
+buildUnnamed1185() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1178(core.List<core.String> o) {
+checkUnnamed1185(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'));
@@ -206,7 +206,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1178();
+ o.exemptedMembers = buildUnnamed1185();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -216,7 +216,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1178(o.exemptedMembers);
+ checkUnnamed1185(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -270,27 +270,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1179() {
+buildUnnamed1186() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1179(core.List<api.AuthProvider> o) {
+checkUnnamed1186(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1180() {
+buildUnnamed1187() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1180(core.List<api.AuthenticationRule> o) {
+checkUnnamed1187(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -301,8 +301,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1179();
- o.rules = buildUnnamed1180();
+ o.providers = buildUnnamed1186();
+ o.rules = buildUnnamed1187();
}
buildCounterAuthentication--;
return o;
@@ -311,20 +311,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1179(o.providers);
- checkUnnamed1180(o.rules);
+ checkUnnamed1186(o.providers);
+ checkUnnamed1187(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1181() {
+buildUnnamed1188() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1181(core.List<api.AuthRequirement> o) {
+checkUnnamed1188(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -338,7 +338,7 @@
o.allowWithoutCredential = true;
o.customAuth = buildCustomAuthRequirements();
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1181();
+ o.requirements = buildUnnamed1188();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -351,7 +351,7 @@
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkCustomAuthRequirements(o.customAuth);
checkOAuthRequirements(o.oauth);
- checkUnnamed1181(o.requirements);
+ checkUnnamed1188(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -376,14 +376,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1182() {
+buildUnnamed1189() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1182(core.List<api.BackendRule> o) {
+checkUnnamed1189(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -394,7 +394,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1182();
+ o.rules = buildUnnamed1189();
}
buildCounterBackend--;
return o;
@@ -403,7 +403,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1182(o.rules);
+ checkUnnamed1189(o.rules);
}
buildCounterBackend--;
}
@@ -433,14 +433,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1183() {
+buildUnnamed1190() {
var o = new core.List<api.BillingDestination>();
o.add(buildBillingDestination());
o.add(buildBillingDestination());
return o;
}
-checkUnnamed1183(core.List<api.BillingDestination> o) {
+checkUnnamed1190(core.List<api.BillingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingDestination(o[0]);
checkBillingDestination(o[1]);
@@ -451,7 +451,7 @@
var o = new api.Billing();
buildCounterBilling++;
if (buildCounterBilling < 3) {
- o.consumerDestinations = buildUnnamed1183();
+ o.consumerDestinations = buildUnnamed1190();
}
buildCounterBilling--;
return o;
@@ -460,19 +460,19 @@
checkBilling(api.Billing o) {
buildCounterBilling++;
if (buildCounterBilling < 3) {
- checkUnnamed1183(o.consumerDestinations);
+ checkUnnamed1190(o.consumerDestinations);
}
buildCounterBilling--;
}
-buildUnnamed1184() {
+buildUnnamed1191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1184(core.List<core.String> o) {
+checkUnnamed1191(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'));
@@ -483,7 +483,7 @@
var o = new api.BillingDestination();
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- o.metrics = buildUnnamed1184();
+ o.metrics = buildUnnamed1191();
o.monitoredResource = "foo";
}
buildCounterBillingDestination--;
@@ -493,20 +493,20 @@
checkBillingDestination(api.BillingDestination o) {
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- checkUnnamed1184(o.metrics);
+ checkUnnamed1191(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterBillingDestination--;
}
-buildUnnamed1185() {
+buildUnnamed1192() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1185(core.List<core.String> o) {
+checkUnnamed1192(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'));
@@ -518,7 +518,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed1185();
+ o.members = buildUnnamed1192();
o.role = "foo";
}
buildCounterBinding--;
@@ -529,20 +529,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed1185(o.members);
+ checkUnnamed1192(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed1186() {
+buildUnnamed1193() {
var o = new core.List<api.ConfigChange>();
o.add(buildConfigChange());
o.add(buildConfigChange());
return o;
}
-checkUnnamed1186(core.List<api.ConfigChange> o) {
+checkUnnamed1193(core.List<api.ConfigChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigChange(o[0]);
checkConfigChange(o[1]);
@@ -553,7 +553,7 @@
var o = new api.ChangeReport();
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- o.configChanges = buildUnnamed1186();
+ o.configChanges = buildUnnamed1193();
}
buildCounterChangeReport--;
return o;
@@ -562,19 +562,19 @@
checkChangeReport(api.ChangeReport o) {
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- checkUnnamed1186(o.configChanges);
+ checkUnnamed1193(o.configChanges);
}
buildCounterChangeReport--;
}
-buildUnnamed1187() {
+buildUnnamed1194() {
var o = new core.List<api.Advice>();
o.add(buildAdvice());
o.add(buildAdvice());
return o;
}
-checkUnnamed1187(core.List<api.Advice> o) {
+checkUnnamed1194(core.List<api.Advice> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvice(o[0]);
checkAdvice(o[1]);
@@ -585,7 +585,7 @@
var o = new api.ConfigChange();
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- o.advices = buildUnnamed1187();
+ o.advices = buildUnnamed1194();
o.changeType = "foo";
o.element = "foo";
o.newValue = "foo";
@@ -598,7 +598,7 @@
checkConfigChange(api.ConfigChange o) {
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- checkUnnamed1187(o.advices);
+ checkUnnamed1194(o.advices);
unittest.expect(o.changeType, unittest.equals('foo'));
unittest.expect(o.element, unittest.equals('foo'));
unittest.expect(o.newValue, unittest.equals('foo'));
@@ -649,14 +649,14 @@
buildCounterConfigRef--;
}
-buildUnnamed1188() {
+buildUnnamed1195() {
var o = new core.List<api.ConfigFile>();
o.add(buildConfigFile());
o.add(buildConfigFile());
return o;
}
-checkUnnamed1188(core.List<api.ConfigFile> o) {
+checkUnnamed1195(core.List<api.ConfigFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigFile(o[0]);
checkConfigFile(o[1]);
@@ -667,7 +667,7 @@
var o = new api.ConfigSource();
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- o.files = buildUnnamed1188();
+ o.files = buildUnnamed1195();
o.id = "foo";
}
buildCounterConfigSource--;
@@ -677,20 +677,20 @@
checkConfigSource(api.ConfigSource o) {
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- checkUnnamed1188(o.files);
+ checkUnnamed1195(o.files);
unittest.expect(o.id, unittest.equals('foo'));
}
buildCounterConfigSource--;
}
-buildUnnamed1189() {
+buildUnnamed1196() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1189(core.List<api.ContextRule> o) {
+checkUnnamed1196(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -701,7 +701,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1189();
+ o.rules = buildUnnamed1196();
}
buildCounterContext--;
return o;
@@ -710,32 +710,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1189(o.rules);
+ checkUnnamed1196(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1190() {
+buildUnnamed1197() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1190(core.List<core.String> o) {
+checkUnnamed1197(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'));
}
-buildUnnamed1191() {
+buildUnnamed1198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1191(core.List<core.String> o) {
+checkUnnamed1198(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'));
@@ -746,8 +746,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1190();
- o.requested = buildUnnamed1191();
+ o.provided = buildUnnamed1197();
+ o.requested = buildUnnamed1198();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -757,8 +757,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1190(o.provided);
- checkUnnamed1191(o.requested);
+ checkUnnamed1197(o.provided);
+ checkUnnamed1198(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -802,27 +802,27 @@
buildCounterCustomAuthRequirements--;
}
-buildUnnamed1192() {
+buildUnnamed1199() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1192(core.List<api.CustomErrorRule> o) {
+checkUnnamed1199(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1193() {
+buildUnnamed1200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1193(core.List<core.String> o) {
+checkUnnamed1200(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'));
@@ -833,8 +833,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1192();
- o.types = buildUnnamed1193();
+ o.rules = buildUnnamed1199();
+ o.types = buildUnnamed1200();
}
buildCounterCustomError--;
return o;
@@ -843,8 +843,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1192(o.rules);
- checkUnnamed1193(o.types);
+ checkUnnamed1199(o.rules);
+ checkUnnamed1200(o.types);
}
buildCounterCustomError--;
}
@@ -948,27 +948,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1194() {
+buildUnnamed1201() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1194(core.List<api.Page> o) {
+checkUnnamed1201(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1195() {
+buildUnnamed1202() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1195(core.List<api.DocumentationRule> o) {
+checkUnnamed1202(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -981,8 +981,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1194();
- o.rules = buildUnnamed1195();
+ o.pages = buildUnnamed1201();
+ o.rules = buildUnnamed1202();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -994,8 +994,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1194(o.pages);
- checkUnnamed1195(o.rules);
+ checkUnnamed1201(o.pages);
+ checkUnnamed1202(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -1043,40 +1043,27 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1196() {
+buildUnnamed1203() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1196(core.List<core.String> o) {
+checkUnnamed1203(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'));
}
-buildUnnamed1197() {
+buildUnnamed1204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1197(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'));
-}
-
-buildUnnamed1198() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1198(core.List<core.String> o) {
+checkUnnamed1204(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'));
@@ -1087,10 +1074,9 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1196();
+ o.aliases = buildUnnamed1203();
o.allowCors = true;
- o.apis = buildUnnamed1197();
- o.features = buildUnnamed1198();
+ o.features = buildUnnamed1204();
o.name = "foo";
o.target = "foo";
}
@@ -1101,37 +1087,36 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1196(o.aliases);
+ checkUnnamed1203(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1197(o.apis);
- checkUnnamed1198(o.features);
+ checkUnnamed1204(o.features);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1199() {
+buildUnnamed1205() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1199(core.List<api.EnumValue> o) {
+checkUnnamed1205(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1200() {
+buildUnnamed1206() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1200(core.List<api.Option> o) {
+checkUnnamed1206(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1142,9 +1127,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1199();
+ o.enumvalue = buildUnnamed1205();
o.name = "foo";
- o.options = buildUnnamed1200();
+ o.options = buildUnnamed1206();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1155,23 +1140,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1199(o.enumvalue);
+ checkUnnamed1205(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1200(o.options);
+ checkUnnamed1206(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1201() {
+buildUnnamed1207() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1201(core.List<api.Option> o) {
+checkUnnamed1207(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1184,7 +1169,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1201();
+ o.options = buildUnnamed1207();
}
buildCounterEnumValue--;
return o;
@@ -1195,7 +1180,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1201(o.options);
+ checkUnnamed1207(o.options);
}
buildCounterEnumValue--;
}
@@ -1244,14 +1229,14 @@
buildCounterExpr--;
}
-buildUnnamed1202() {
+buildUnnamed1208() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1202(core.List<api.Option> o) {
+checkUnnamed1208(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1269,7 +1254,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1202();
+ o.options = buildUnnamed1208();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1287,21 +1272,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1202(o.options);
+ checkUnnamed1208(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1203() {
+buildUnnamed1209() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1203(core.List<core.String> o) {
+checkUnnamed1209(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'));
@@ -1316,7 +1301,7 @@
o.deadline = "foo";
o.flowName = "foo";
o.operationType = 42;
- o.resourceNames = buildUnnamed1203();
+ o.resourceNames = buildUnnamed1209();
o.startTime = "foo";
o.surface = "foo";
}
@@ -1331,14 +1316,14 @@
unittest.expect(o.deadline, unittest.equals('foo'));
unittest.expect(o.flowName, unittest.equals('foo'));
unittest.expect(o.operationType, unittest.equals(42));
- checkUnnamed1203(o.resourceNames);
+ checkUnnamed1209(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.surface, unittest.equals('foo'));
}
buildCounterFlowOperationMetadata--;
}
-buildUnnamed1204() {
+buildUnnamed1210() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1353,7 +1338,7 @@
return o;
}
-checkUnnamed1204(core.Map<core.String, core.Object> o) {
+checkUnnamed1210(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1367,7 +1352,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1205() {
+buildUnnamed1211() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1382,7 +1367,7 @@
return o;
}
-checkUnnamed1205(core.Map<core.String, core.Object> o) {
+checkUnnamed1211(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1401,8 +1386,8 @@
var o = new api.GenerateConfigReportRequest();
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- o.newConfig = buildUnnamed1204();
- o.oldConfig = buildUnnamed1205();
+ o.newConfig = buildUnnamed1210();
+ o.oldConfig = buildUnnamed1211();
}
buildCounterGenerateConfigReportRequest--;
return o;
@@ -1411,33 +1396,33 @@
checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- checkUnnamed1204(o.newConfig);
- checkUnnamed1205(o.oldConfig);
+ checkUnnamed1210(o.newConfig);
+ checkUnnamed1211(o.oldConfig);
}
buildCounterGenerateConfigReportRequest--;
}
-buildUnnamed1206() {
+buildUnnamed1212() {
var o = new core.List<api.ChangeReport>();
o.add(buildChangeReport());
o.add(buildChangeReport());
return o;
}
-checkUnnamed1206(core.List<api.ChangeReport> o) {
+checkUnnamed1212(core.List<api.ChangeReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeReport(o[0]);
checkChangeReport(o[1]);
}
-buildUnnamed1207() {
+buildUnnamed1213() {
var o = new core.List<api.Diagnostic>();
o.add(buildDiagnostic());
o.add(buildDiagnostic());
return o;
}
-checkUnnamed1207(core.List<api.Diagnostic> o) {
+checkUnnamed1213(core.List<api.Diagnostic> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiagnostic(o[0]);
checkDiagnostic(o[1]);
@@ -1448,8 +1433,8 @@
var o = new api.GenerateConfigReportResponse();
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- o.changeReports = buildUnnamed1206();
- o.diagnostics = buildUnnamed1207();
+ o.changeReports = buildUnnamed1212();
+ o.diagnostics = buildUnnamed1213();
o.id = "foo";
o.serviceName = "foo";
}
@@ -1460,8 +1445,8 @@
checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- checkUnnamed1206(o.changeReports);
- checkUnnamed1207(o.diagnostics);
+ checkUnnamed1212(o.changeReports);
+ checkUnnamed1213(o.diagnostics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.serviceName, unittest.equals('foo'));
}
@@ -1483,14 +1468,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed1208() {
+buildUnnamed1214() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1208(core.List<api.HttpRule> o) {
+checkUnnamed1214(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1502,7 +1487,7 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed1208();
+ o.rules = buildUnnamed1214();
}
buildCounterHttp--;
return o;
@@ -1512,19 +1497,19 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed1208(o.rules);
+ checkUnnamed1214(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1209() {
+buildUnnamed1215() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1209(core.List<api.HttpRule> o) {
+checkUnnamed1215(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1535,7 +1520,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1209();
+ o.additionalBindings = buildUnnamed1215();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -1555,7 +1540,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1209(o.additionalBindings);
+ checkUnnamed1215(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -1594,14 +1579,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1210() {
+buildUnnamed1216() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1210(core.List<api.Operation> o) {
+checkUnnamed1216(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1613,7 +1598,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1210();
+ o.operations = buildUnnamed1216();
}
buildCounterListOperationsResponse--;
return o;
@@ -1623,19 +1608,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1210(o.operations);
+ checkUnnamed1216(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1211() {
+buildUnnamed1217() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed1211(core.List<api.Service> o) {
+checkUnnamed1217(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1647,7 +1632,7 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.serviceConfigs = buildUnnamed1211();
+ o.serviceConfigs = buildUnnamed1217();
}
buildCounterListServiceConfigsResponse--;
return o;
@@ -1657,19 +1642,19 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1211(o.serviceConfigs);
+ checkUnnamed1217(o.serviceConfigs);
}
buildCounterListServiceConfigsResponse--;
}
-buildUnnamed1212() {
+buildUnnamed1218() {
var o = new core.List<api.Rollout>();
o.add(buildRollout());
o.add(buildRollout());
return o;
}
-checkUnnamed1212(core.List<api.Rollout> o) {
+checkUnnamed1218(core.List<api.Rollout> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollout(o[0]);
checkRollout(o[1]);
@@ -1681,7 +1666,7 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
o.nextPageToken = "foo";
- o.rollouts = buildUnnamed1212();
+ o.rollouts = buildUnnamed1218();
}
buildCounterListServiceRolloutsResponse--;
return o;
@@ -1691,19 +1676,19 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1212(o.rollouts);
+ checkUnnamed1218(o.rollouts);
}
buildCounterListServiceRolloutsResponse--;
}
-buildUnnamed1213() {
+buildUnnamed1219() {
var o = new core.List<api.ManagedService>();
o.add(buildManagedService());
o.add(buildManagedService());
return o;
}
-checkUnnamed1213(core.List<api.ManagedService> o) {
+checkUnnamed1219(core.List<api.ManagedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedService(o[0]);
checkManagedService(o[1]);
@@ -1715,7 +1700,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1213();
+ o.services = buildUnnamed1219();
}
buildCounterListServicesResponse--;
return o;
@@ -1725,19 +1710,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1213(o.services);
+ checkUnnamed1219(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed1214() {
+buildUnnamed1220() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1214(core.List<api.LabelDescriptor> o) {
+checkUnnamed1220(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1750,7 +1735,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1214();
+ o.labels = buildUnnamed1220();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1762,33 +1747,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1214(o.labels);
+ checkUnnamed1220(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1215() {
+buildUnnamed1221() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1215(core.List<api.LoggingDestination> o) {
+checkUnnamed1221(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1216() {
+buildUnnamed1222() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1216(core.List<api.LoggingDestination> o) {
+checkUnnamed1222(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1799,8 +1784,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1215();
- o.producerDestinations = buildUnnamed1216();
+ o.consumerDestinations = buildUnnamed1221();
+ o.producerDestinations = buildUnnamed1222();
}
buildCounterLogging--;
return o;
@@ -1809,20 +1794,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1215(o.consumerDestinations);
- checkUnnamed1216(o.producerDestinations);
+ checkUnnamed1221(o.consumerDestinations);
+ checkUnnamed1222(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1217() {
+buildUnnamed1223() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1217(core.List<core.String> o) {
+checkUnnamed1223(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'));
@@ -1833,7 +1818,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1217();
+ o.logs = buildUnnamed1223();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1843,7 +1828,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1217(o.logs);
+ checkUnnamed1223(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1899,14 +1884,14 @@
buildCounterMediaDownload--;
}
-buildUnnamed1218() {
+buildUnnamed1224() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1218(core.List<core.String> o) {
+checkUnnamed1224(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'));
@@ -1921,7 +1906,7 @@
o.dropzone = "foo";
o.enabled = true;
o.maxSize = "foo";
- o.mimeTypes = buildUnnamed1218();
+ o.mimeTypes = buildUnnamed1224();
o.progressNotification = true;
o.startNotification = true;
o.uploadService = "foo";
@@ -1937,7 +1922,7 @@
unittest.expect(o.dropzone, unittest.equals('foo'));
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.maxSize, unittest.equals('foo'));
- checkUnnamed1218(o.mimeTypes);
+ checkUnnamed1224(o.mimeTypes);
unittest.expect(o.progressNotification, unittest.isTrue);
unittest.expect(o.startNotification, unittest.isTrue);
unittest.expect(o.uploadService, unittest.equals('foo'));
@@ -1945,14 +1930,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1219() {
+buildUnnamed1225() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1219(core.List<api.Option> o) {
+checkUnnamed1225(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1964,7 +1949,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1219();
+ o.options = buildUnnamed1225();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1979,7 +1964,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1219(o.options);
+ checkUnnamed1225(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1989,14 +1974,14 @@
buildCounterMethod--;
}
-buildUnnamed1220() {
+buildUnnamed1226() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1220(core.List<api.LabelDescriptor> o) {
+checkUnnamed1226(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2009,7 +1994,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1220();
+ o.labels = buildUnnamed1226();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -2025,7 +2010,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1220(o.labels);
+ checkUnnamed1226(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2035,14 +2020,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1221() {
+buildUnnamed1227() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1221(core.Map<core.String, core.String> o) {
+checkUnnamed1227(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2053,7 +2038,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed1221();
+ o.metricCosts = buildUnnamed1227();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -2063,7 +2048,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed1221(o.metricCosts);
+ checkUnnamed1227(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -2090,14 +2075,14 @@
buildCounterMixin--;
}
-buildUnnamed1222() {
+buildUnnamed1228() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1222(core.List<api.LabelDescriptor> o) {
+checkUnnamed1228(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2110,7 +2095,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1222();
+ o.labels = buildUnnamed1228();
o.name = "foo";
o.type = "foo";
}
@@ -2123,34 +2108,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1222(o.labels);
+ checkUnnamed1228(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1223() {
+buildUnnamed1229() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1223(core.List<api.MonitoringDestination> o) {
+checkUnnamed1229(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1224() {
+buildUnnamed1230() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1224(core.List<api.MonitoringDestination> o) {
+checkUnnamed1230(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -2161,8 +2146,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1223();
- o.producerDestinations = buildUnnamed1224();
+ o.consumerDestinations = buildUnnamed1229();
+ o.producerDestinations = buildUnnamed1230();
}
buildCounterMonitoring--;
return o;
@@ -2171,20 +2156,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1223(o.consumerDestinations);
- checkUnnamed1224(o.producerDestinations);
+ checkUnnamed1229(o.consumerDestinations);
+ checkUnnamed1230(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1225() {
+buildUnnamed1231() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1225(core.List<core.String> o) {
+checkUnnamed1231(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'));
@@ -2195,7 +2180,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1225();
+ o.metrics = buildUnnamed1231();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -2205,7 +2190,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1225(o.metrics);
+ checkUnnamed1231(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -2230,7 +2215,7 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1226() {
+buildUnnamed1232() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2245,7 +2230,7 @@
return o;
}
-checkUnnamed1226(core.Map<core.String, core.Object> o) {
+checkUnnamed1232(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2259,7 +2244,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1227() {
+buildUnnamed1233() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2274,7 +2259,7 @@
return o;
}
-checkUnnamed1227(core.Map<core.String, core.Object> o) {
+checkUnnamed1233(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2295,9 +2280,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1226();
+ o.metadata = buildUnnamed1232();
o.name = "foo";
- o.response = buildUnnamed1227();
+ o.response = buildUnnamed1233();
}
buildCounterOperation--;
return o;
@@ -2308,34 +2293,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1226(o.metadata);
+ checkUnnamed1232(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1227(o.response);
+ checkUnnamed1233(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1228() {
+buildUnnamed1234() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1228(core.List<core.String> o) {
+checkUnnamed1234(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'));
}
-buildUnnamed1229() {
+buildUnnamed1235() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1229(core.List<api.Step> o) {
+checkUnnamed1235(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -2347,9 +2332,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1228();
+ o.resourceNames = buildUnnamed1234();
o.startTime = "foo";
- o.steps = buildUnnamed1229();
+ o.steps = buildUnnamed1235();
}
buildCounterOperationMetadata--;
return o;
@@ -2359,14 +2344,14 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1228(o.resourceNames);
+ checkUnnamed1234(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1229(o.steps);
+ checkUnnamed1235(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1230() {
+buildUnnamed1236() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2381,7 +2366,7 @@
return o;
}
-checkUnnamed1230(core.Map<core.String, core.Object> o) {
+checkUnnamed1236(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -2401,7 +2386,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1230();
+ o.value = buildUnnamed1236();
}
buildCounterOption--;
return o;
@@ -2411,19 +2396,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1230(o.value);
+ checkUnnamed1236(o.value);
}
buildCounterOption--;
}
-buildUnnamed1231() {
+buildUnnamed1237() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1231(core.List<api.Page> o) {
+checkUnnamed1237(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -2436,7 +2421,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1231();
+ o.subpages = buildUnnamed1237();
}
buildCounterPage--;
return o;
@@ -2447,32 +2432,32 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1231(o.subpages);
+ checkUnnamed1237(o.subpages);
}
buildCounterPage--;
}
-buildUnnamed1232() {
+buildUnnamed1238() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1232(core.List<api.AuditConfig> o) {
+checkUnnamed1238(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1233() {
+buildUnnamed1239() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1233(core.List<api.Binding> o) {
+checkUnnamed1239(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -2483,8 +2468,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1232();
- o.bindings = buildUnnamed1233();
+ o.auditConfigs = buildUnnamed1238();
+ o.bindings = buildUnnamed1239();
o.etag = "foo";
o.iamOwned = true;
o.version = 42;
@@ -2496,8 +2481,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1232(o.auditConfigs);
- checkUnnamed1233(o.bindings);
+ checkUnnamed1238(o.auditConfigs);
+ checkUnnamed1239(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
unittest.expect(o.version, unittest.equals(42));
@@ -2505,27 +2490,27 @@
buildCounterPolicy--;
}
-buildUnnamed1234() {
+buildUnnamed1240() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed1234(core.List<api.QuotaLimit> o) {
+checkUnnamed1240(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed1235() {
+buildUnnamed1241() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed1235(core.List<api.MetricRule> o) {
+checkUnnamed1241(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -2536,8 +2521,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed1234();
- o.metricRules = buildUnnamed1235();
+ o.limits = buildUnnamed1240();
+ o.metricRules = buildUnnamed1241();
}
buildCounterQuota--;
return o;
@@ -2546,20 +2531,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed1234(o.limits);
- checkUnnamed1235(o.metricRules);
+ checkUnnamed1240(o.limits);
+ checkUnnamed1241(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed1236() {
+buildUnnamed1242() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1236(core.Map<core.String, core.String> o) {
+checkUnnamed1242(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2579,7 +2564,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed1236();
+ o.values = buildUnnamed1242();
}
buildCounterQuotaLimit--;
return o;
@@ -2597,7 +2582,7 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed1236(o.values);
+ checkUnnamed1242(o.values);
}
buildCounterQuotaLimit--;
}
@@ -2633,105 +2618,105 @@
buildCounterRollout--;
}
-buildUnnamed1237() {
+buildUnnamed1243() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1237(core.List<api.Api> o) {
+checkUnnamed1243(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1238() {
+buildUnnamed1244() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1238(core.List<api.Endpoint> o) {
+checkUnnamed1244(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1239() {
+buildUnnamed1245() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1239(core.List<api.Enum> o) {
+checkUnnamed1245(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1240() {
+buildUnnamed1246() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1240(core.List<api.LogDescriptor> o) {
+checkUnnamed1246(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1241() {
+buildUnnamed1247() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1241(core.List<api.MetricDescriptor> o) {
+checkUnnamed1247(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1242() {
+buildUnnamed1248() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1242(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1248(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1243() {
+buildUnnamed1249() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1243(core.List<api.Type> o) {
+checkUnnamed1249(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1244() {
+buildUnnamed1250() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1244(core.List<api.Type> o) {
+checkUnnamed1250(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2742,7 +2727,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1237();
+ o.apis = buildUnnamed1243();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.billing = buildBilling();
@@ -2751,24 +2736,24 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1238();
- o.enums = buildUnnamed1239();
+ o.endpoints = buildUnnamed1244();
+ o.enums = buildUnnamed1245();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1240();
- o.metrics = buildUnnamed1241();
- o.monitoredResources = buildUnnamed1242();
+ o.logs = buildUnnamed1246();
+ o.metrics = buildUnnamed1247();
+ o.monitoredResources = buildUnnamed1248();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1243();
+ o.systemTypes = buildUnnamed1249();
o.title = "foo";
- o.types = buildUnnamed1244();
+ o.types = buildUnnamed1250();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -2779,7 +2764,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1237(o.apis);
+ checkUnnamed1243(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
checkBilling(o.billing);
@@ -2788,24 +2773,24 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1238(o.endpoints);
- checkUnnamed1239(o.enums);
+ checkUnnamed1244(o.endpoints);
+ checkUnnamed1245(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1240(o.logs);
- checkUnnamed1241(o.metrics);
- checkUnnamed1242(o.monitoredResources);
+ checkUnnamed1246(o.logs);
+ checkUnnamed1247(o.metrics);
+ checkUnnamed1248(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
checkQuota(o.quota);
checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed1243(o.systemTypes);
+ checkUnnamed1249(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1244(o.types);
+ checkUnnamed1250(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -2852,7 +2837,7 @@
buildCounterSourceContext--;
}
-buildUnnamed1245() {
+buildUnnamed1251() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2867,7 +2852,7 @@
return o;
}
-checkUnnamed1245(core.Map<core.String, core.Object> o) {
+checkUnnamed1251(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -2881,17 +2866,17 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1246() {
+buildUnnamed1252() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1245());
- o.add(buildUnnamed1245());
+ o.add(buildUnnamed1251());
+ o.add(buildUnnamed1251());
return o;
}
-checkUnnamed1246(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1252(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1245(o[0]);
- checkUnnamed1245(o[1]);
+ checkUnnamed1251(o[0]);
+ checkUnnamed1251(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2899,7 +2884,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed1246();
+ o.sourceFiles = buildUnnamed1252();
}
buildCounterSourceInfo--;
return o;
@@ -2908,12 +2893,12 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed1246(o.sourceFiles);
+ checkUnnamed1252(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed1247() {
+buildUnnamed1253() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2928,7 +2913,7 @@
return o;
}
-checkUnnamed1247(core.Map<core.String, core.Object> o) {
+checkUnnamed1253(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
@@ -2942,17 +2927,17 @@
unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed1248() {
+buildUnnamed1254() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1247());
- o.add(buildUnnamed1247());
+ o.add(buildUnnamed1253());
+ o.add(buildUnnamed1253());
return o;
}
-checkUnnamed1248(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1254(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1247(o[0]);
- checkUnnamed1247(o[1]);
+ checkUnnamed1253(o[0]);
+ checkUnnamed1253(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2961,7 +2946,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1248();
+ o.details = buildUnnamed1254();
o.message = "foo";
}
buildCounterStatus--;
@@ -2972,7 +2957,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1248(o.details);
+ checkUnnamed1254(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -3062,14 +3047,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1249() {
+buildUnnamed1255() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1249(core.List<api.SystemParameter> o) {
+checkUnnamed1255(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -3080,7 +3065,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1249();
+ o.parameters = buildUnnamed1255();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -3090,20 +3075,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1249(o.parameters);
+ checkUnnamed1255(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1250() {
+buildUnnamed1256() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1250(core.List<api.SystemParameterRule> o) {
+checkUnnamed1256(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -3114,7 +3099,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1250();
+ o.rules = buildUnnamed1256();
}
buildCounterSystemParameters--;
return o;
@@ -3123,19 +3108,19 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1250(o.rules);
+ checkUnnamed1256(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1251() {
+buildUnnamed1257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1251(core.List<core.String> o) {
+checkUnnamed1257(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'));
@@ -3146,7 +3131,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1251();
+ o.permissions = buildUnnamed1257();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -3155,19 +3140,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1251(o.permissions);
+ checkUnnamed1257(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1252() {
+buildUnnamed1258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1252(core.List<core.String> o) {
+checkUnnamed1258(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'));
@@ -3178,7 +3163,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1252();
+ o.permissions = buildUnnamed1258();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -3187,19 +3172,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1252(o.permissions);
+ checkUnnamed1258(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed1253() {
+buildUnnamed1259() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed1253(core.Map<core.String, core.double> o) {
+checkUnnamed1259(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -3210,7 +3195,7 @@
var o = new api.TrafficPercentStrategy();
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- o.percentages = buildUnnamed1253();
+ o.percentages = buildUnnamed1259();
}
buildCounterTrafficPercentStrategy--;
return o;
@@ -3219,45 +3204,45 @@
checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
buildCounterTrafficPercentStrategy++;
if (buildCounterTrafficPercentStrategy < 3) {
- checkUnnamed1253(o.percentages);
+ checkUnnamed1259(o.percentages);
}
buildCounterTrafficPercentStrategy--;
}
-buildUnnamed1254() {
+buildUnnamed1260() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1254(core.List<api.Field> o) {
+checkUnnamed1260(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1255() {
+buildUnnamed1261() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1255(core.List<core.String> o) {
+checkUnnamed1261(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'));
}
-buildUnnamed1256() {
+buildUnnamed1262() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1256(core.List<api.Option> o) {
+checkUnnamed1262(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -3268,10 +3253,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1254();
+ o.fields = buildUnnamed1260();
o.name = "foo";
- o.oneofs = buildUnnamed1255();
- o.options = buildUnnamed1256();
+ o.oneofs = buildUnnamed1261();
+ o.options = buildUnnamed1262();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -3282,10 +3267,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1254(o.fields);
+ checkUnnamed1260(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1255(o.oneofs);
- checkUnnamed1256(o.options);
+ checkUnnamed1261(o.oneofs);
+ checkUnnamed1262(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -3311,27 +3296,27 @@
buildCounterUndeleteServiceResponse--;
}
-buildUnnamed1257() {
+buildUnnamed1263() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1257(core.List<core.String> o) {
+checkUnnamed1263(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'));
}
-buildUnnamed1258() {
+buildUnnamed1264() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1258(core.List<api.UsageRule> o) {
+checkUnnamed1264(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -3343,8 +3328,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1257();
- o.rules = buildUnnamed1258();
+ o.requirements = buildUnnamed1263();
+ o.rules = buildUnnamed1264();
}
buildCounterUsage--;
return o;
@@ -3354,8 +3339,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1257(o.requirements);
- checkUnnamed1258(o.rules);
+ checkUnnamed1263(o.requirements);
+ checkUnnamed1264(o.rules);
}
buildCounterUsage--;
}
@@ -3383,14 +3368,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1259() {
+buildUnnamed1265() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1259(core.List<api.VisibilityRule> o) {
+checkUnnamed1265(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -3401,7 +3386,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1259();
+ o.rules = buildUnnamed1265();
}
buildCounterVisibility--;
return o;
@@ -3410,7 +3395,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1259(o.rules);
+ checkUnnamed1265(o.rules);
}
buildCounterVisibility--;
}
@@ -4223,8 +4208,8 @@
api.OperationsResourceApi res =
new api.ServicemanagementApi(mock).operations;
var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_name = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4258,9 +4243,9 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4274,8 +4259,8 @@
res
.list(
filter: arg_filter,
- pageToken: arg_pageToken,
name: arg_name,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
@@ -4745,10 +4730,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
- var arg_pageSize = 42;
- var arg_producerProjectId = "foo";
var arg_consumerId = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_producerProjectId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4780,14 +4765,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["producerProjectId"].first,
- unittest.equals(arg_producerProjectId));
unittest.expect(
queryMap["consumerId"].first, unittest.equals(arg_consumerId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["producerProjectId"].first,
+ unittest.equals(arg_producerProjectId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4798,10 +4783,10 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
- producerProjectId: arg_producerProjectId,
consumerId: arg_consumerId,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ producerProjectId: arg_producerProjectId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListServicesResponse response) {
checkListServicesResponse(response);
@@ -5116,8 +5101,8 @@
api.ServicesConfigsResourceApi res =
new api.ServicemanagementApi(mock).services.configs;
var arg_serviceName = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5158,10 +5143,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5172,8 +5157,8 @@
}), true);
res
.list(arg_serviceName,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(
unittest.expectAsync1(((api.ListServiceConfigsResponse response) {
diff --git a/generated/googleapis/test/serviceuser/v1_test.dart b/generated/googleapis/test/serviceuser/v1_test.dart
index 3704cb8..585fb83 100644
--- a/generated/googleapis/test/serviceuser/v1_test.dart
+++ b/generated/googleapis/test/serviceuser/v1_test.dart
@@ -50,40 +50,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1826() {
+buildUnnamed1833() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed1826(core.List<api.Method> o) {
+checkUnnamed1833(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed1827() {
+buildUnnamed1834() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed1827(core.List<api.Mixin> o) {
+checkUnnamed1834(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed1828() {
+buildUnnamed1835() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1828(core.List<api.Option> o) {
+checkUnnamed1835(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -94,10 +94,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed1826();
- o.mixins = buildUnnamed1827();
+ o.methods = buildUnnamed1833();
+ o.mixins = buildUnnamed1834();
o.name = "foo";
- o.options = buildUnnamed1828();
+ o.options = buildUnnamed1835();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -109,10 +109,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed1826(o.methods);
- checkUnnamed1827(o.mixins);
+ checkUnnamed1833(o.methods);
+ checkUnnamed1834(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1828(o.options);
+ checkUnnamed1835(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -168,27 +168,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed1829() {
+buildUnnamed1836() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed1829(core.List<api.AuthProvider> o) {
+checkUnnamed1836(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed1830() {
+buildUnnamed1837() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed1830(core.List<api.AuthenticationRule> o) {
+checkUnnamed1837(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -199,8 +199,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed1829();
- o.rules = buildUnnamed1830();
+ o.providers = buildUnnamed1836();
+ o.rules = buildUnnamed1837();
}
buildCounterAuthentication--;
return o;
@@ -209,20 +209,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed1829(o.providers);
- checkUnnamed1830(o.rules);
+ checkUnnamed1836(o.providers);
+ checkUnnamed1837(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed1831() {
+buildUnnamed1838() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed1831(core.List<api.AuthRequirement> o) {
+checkUnnamed1838(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -236,7 +236,7 @@
o.allowWithoutCredential = true;
o.customAuth = buildCustomAuthRequirements();
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed1831();
+ o.requirements = buildUnnamed1838();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -249,7 +249,7 @@
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkCustomAuthRequirements(o.customAuth);
checkOAuthRequirements(o.oauth);
- checkUnnamed1831(o.requirements);
+ checkUnnamed1838(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
@@ -274,14 +274,14 @@
buildCounterAuthorizationConfig--;
}
-buildUnnamed1832() {
+buildUnnamed1839() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed1832(core.List<api.BackendRule> o) {
+checkUnnamed1839(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -292,7 +292,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed1832();
+ o.rules = buildUnnamed1839();
}
buildCounterBackend--;
return o;
@@ -301,7 +301,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed1832(o.rules);
+ checkUnnamed1839(o.rules);
}
buildCounterBackend--;
}
@@ -331,14 +331,14 @@
buildCounterBackendRule--;
}
-buildUnnamed1833() {
+buildUnnamed1840() {
var o = new core.List<api.BillingDestination>();
o.add(buildBillingDestination());
o.add(buildBillingDestination());
return o;
}
-checkUnnamed1833(core.List<api.BillingDestination> o) {
+checkUnnamed1840(core.List<api.BillingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingDestination(o[0]);
checkBillingDestination(o[1]);
@@ -349,7 +349,7 @@
var o = new api.Billing();
buildCounterBilling++;
if (buildCounterBilling < 3) {
- o.consumerDestinations = buildUnnamed1833();
+ o.consumerDestinations = buildUnnamed1840();
}
buildCounterBilling--;
return o;
@@ -358,19 +358,19 @@
checkBilling(api.Billing o) {
buildCounterBilling++;
if (buildCounterBilling < 3) {
- checkUnnamed1833(o.consumerDestinations);
+ checkUnnamed1840(o.consumerDestinations);
}
buildCounterBilling--;
}
-buildUnnamed1834() {
+buildUnnamed1841() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1834(core.List<core.String> o) {
+checkUnnamed1841(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'));
@@ -381,7 +381,7 @@
var o = new api.BillingDestination();
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- o.metrics = buildUnnamed1834();
+ o.metrics = buildUnnamed1841();
o.monitoredResource = "foo";
}
buildCounterBillingDestination--;
@@ -391,20 +391,20 @@
checkBillingDestination(api.BillingDestination o) {
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- checkUnnamed1834(o.metrics);
+ checkUnnamed1841(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterBillingDestination--;
}
-buildUnnamed1835() {
+buildUnnamed1842() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed1835(core.List<api.ContextRule> o) {
+checkUnnamed1842(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -415,7 +415,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed1835();
+ o.rules = buildUnnamed1842();
}
buildCounterContext--;
return o;
@@ -424,32 +424,32 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed1835(o.rules);
+ checkUnnamed1842(o.rules);
}
buildCounterContext--;
}
-buildUnnamed1836() {
+buildUnnamed1843() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1836(core.List<core.String> o) {
+checkUnnamed1843(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'));
}
-buildUnnamed1837() {
+buildUnnamed1844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1837(core.List<core.String> o) {
+checkUnnamed1844(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'));
@@ -460,8 +460,8 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.provided = buildUnnamed1836();
- o.requested = buildUnnamed1837();
+ o.provided = buildUnnamed1843();
+ o.requested = buildUnnamed1844();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -471,8 +471,8 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed1836(o.provided);
- checkUnnamed1837(o.requested);
+ checkUnnamed1843(o.provided);
+ checkUnnamed1844(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -516,27 +516,27 @@
buildCounterCustomAuthRequirements--;
}
-buildUnnamed1838() {
+buildUnnamed1845() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed1838(core.List<api.CustomErrorRule> o) {
+checkUnnamed1845(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed1839() {
+buildUnnamed1846() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1839(core.List<core.String> o) {
+checkUnnamed1846(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'));
@@ -547,8 +547,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed1838();
- o.types = buildUnnamed1839();
+ o.rules = buildUnnamed1845();
+ o.types = buildUnnamed1846();
}
buildCounterCustomError--;
return o;
@@ -557,8 +557,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed1838(o.rules);
- checkUnnamed1839(o.types);
+ checkUnnamed1845(o.rules);
+ checkUnnamed1846(o.types);
}
buildCounterCustomError--;
}
@@ -620,27 +620,27 @@
buildCounterDisableServiceRequest--;
}
-buildUnnamed1840() {
+buildUnnamed1847() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1840(core.List<api.Page> o) {
+checkUnnamed1847(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1841() {
+buildUnnamed1848() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed1841(core.List<api.DocumentationRule> o) {
+checkUnnamed1848(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -653,8 +653,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed1840();
- o.rules = buildUnnamed1841();
+ o.pages = buildUnnamed1847();
+ o.rules = buildUnnamed1848();
o.summary = "foo";
}
buildCounterDocumentation--;
@@ -666,8 +666,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed1840(o.pages);
- checkUnnamed1841(o.rules);
+ checkUnnamed1847(o.pages);
+ checkUnnamed1848(o.rules);
unittest.expect(o.summary, unittest.equals('foo'));
}
buildCounterDocumentation--;
@@ -711,40 +711,27 @@
buildCounterEnableServiceRequest--;
}
-buildUnnamed1842() {
+buildUnnamed1849() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1842(core.List<core.String> o) {
+checkUnnamed1849(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'));
}
-buildUnnamed1843() {
+buildUnnamed1850() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1843(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'));
-}
-
-buildUnnamed1844() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1844(core.List<core.String> o) {
+checkUnnamed1850(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'));
@@ -755,10 +742,9 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed1842();
+ o.aliases = buildUnnamed1849();
o.allowCors = true;
- o.apis = buildUnnamed1843();
- o.features = buildUnnamed1844();
+ o.features = buildUnnamed1850();
o.name = "foo";
o.target = "foo";
}
@@ -769,37 +755,36 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed1842(o.aliases);
+ checkUnnamed1849(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
- checkUnnamed1843(o.apis);
- checkUnnamed1844(o.features);
+ checkUnnamed1850(o.features);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterEndpoint--;
}
-buildUnnamed1845() {
+buildUnnamed1851() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed1845(core.List<api.EnumValue> o) {
+checkUnnamed1851(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed1846() {
+buildUnnamed1852() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1846(core.List<api.Option> o) {
+checkUnnamed1852(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -810,9 +795,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed1845();
+ o.enumvalue = buildUnnamed1851();
o.name = "foo";
- o.options = buildUnnamed1846();
+ o.options = buildUnnamed1852();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -823,23 +808,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed1845(o.enumvalue);
+ checkUnnamed1851(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1846(o.options);
+ checkUnnamed1852(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed1847() {
+buildUnnamed1853() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1847(core.List<api.Option> o) {
+checkUnnamed1853(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -852,7 +837,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed1847();
+ o.options = buildUnnamed1853();
}
buildCounterEnumValue--;
return o;
@@ -863,7 +848,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed1847(o.options);
+ checkUnnamed1853(o.options);
}
buildCounterEnumValue--;
}
@@ -887,14 +872,14 @@
buildCounterExperimental--;
}
-buildUnnamed1848() {
+buildUnnamed1854() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1848(core.List<api.Option> o) {
+checkUnnamed1854(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -912,7 +897,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed1848();
+ o.options = buildUnnamed1854();
o.packed = true;
o.typeUrl = "foo";
}
@@ -930,21 +915,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed1848(o.options);
+ checkUnnamed1854(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed1849() {
+buildUnnamed1855() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1849(core.List<api.HttpRule> o) {
+checkUnnamed1855(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -956,7 +941,7 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed1849();
+ o.rules = buildUnnamed1855();
}
buildCounterHttp--;
return o;
@@ -966,19 +951,19 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed1849(o.rules);
+ checkUnnamed1855(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed1850() {
+buildUnnamed1856() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed1850(core.List<api.HttpRule> o) {
+checkUnnamed1856(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -989,7 +974,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed1850();
+ o.additionalBindings = buildUnnamed1856();
o.body = "foo";
o.custom = buildCustomHttpPattern();
o.delete = "foo";
@@ -1009,7 +994,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed1850(o.additionalBindings);
+ checkUnnamed1856(o.additionalBindings);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
unittest.expect(o.delete, unittest.equals('foo'));
@@ -1048,14 +1033,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed1851() {
+buildUnnamed1857() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1851(core.List<api.PublishedService> o) {
+checkUnnamed1857(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -1067,7 +1052,7 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1851();
+ o.services = buildUnnamed1857();
}
buildCounterListEnabledServicesResponse--;
return o;
@@ -1077,19 +1062,19 @@
buildCounterListEnabledServicesResponse++;
if (buildCounterListEnabledServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1851(o.services);
+ checkUnnamed1857(o.services);
}
buildCounterListEnabledServicesResponse--;
}
-buildUnnamed1852() {
+buildUnnamed1858() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1852(core.List<api.LabelDescriptor> o) {
+checkUnnamed1858(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1102,7 +1087,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1852();
+ o.labels = buildUnnamed1858();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1114,33 +1099,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1852(o.labels);
+ checkUnnamed1858(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed1853() {
+buildUnnamed1859() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1853(core.List<api.LoggingDestination> o) {
+checkUnnamed1859(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed1854() {
+buildUnnamed1860() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed1854(core.List<api.LoggingDestination> o) {
+checkUnnamed1860(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1151,8 +1136,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed1853();
- o.producerDestinations = buildUnnamed1854();
+ o.consumerDestinations = buildUnnamed1859();
+ o.producerDestinations = buildUnnamed1860();
}
buildCounterLogging--;
return o;
@@ -1161,20 +1146,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed1853(o.consumerDestinations);
- checkUnnamed1854(o.producerDestinations);
+ checkUnnamed1859(o.consumerDestinations);
+ checkUnnamed1860(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed1855() {
+buildUnnamed1861() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1855(core.List<core.String> o) {
+checkUnnamed1861(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'));
@@ -1185,7 +1170,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed1855();
+ o.logs = buildUnnamed1861();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1195,7 +1180,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed1855(o.logs);
+ checkUnnamed1861(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1230,14 +1215,14 @@
buildCounterMediaDownload--;
}
-buildUnnamed1856() {
+buildUnnamed1862() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1856(core.List<core.String> o) {
+checkUnnamed1862(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'));
@@ -1252,7 +1237,7 @@
o.dropzone = "foo";
o.enabled = true;
o.maxSize = "foo";
- o.mimeTypes = buildUnnamed1856();
+ o.mimeTypes = buildUnnamed1862();
o.progressNotification = true;
o.startNotification = true;
o.uploadService = "foo";
@@ -1268,7 +1253,7 @@
unittest.expect(o.dropzone, unittest.equals('foo'));
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.maxSize, unittest.equals('foo'));
- checkUnnamed1856(o.mimeTypes);
+ checkUnnamed1862(o.mimeTypes);
unittest.expect(o.progressNotification, unittest.isTrue);
unittest.expect(o.startNotification, unittest.isTrue);
unittest.expect(o.uploadService, unittest.equals('foo'));
@@ -1276,14 +1261,14 @@
buildCounterMediaUpload--;
}
-buildUnnamed1857() {
+buildUnnamed1863() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1857(core.List<api.Option> o) {
+checkUnnamed1863(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1295,7 +1280,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed1857();
+ o.options = buildUnnamed1863();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1310,7 +1295,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1857(o.options);
+ checkUnnamed1863(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1320,14 +1305,14 @@
buildCounterMethod--;
}
-buildUnnamed1858() {
+buildUnnamed1864() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1858(core.List<api.LabelDescriptor> o) {
+checkUnnamed1864(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1340,7 +1325,7 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1858();
+ o.labels = buildUnnamed1864();
o.metricKind = "foo";
o.name = "foo";
o.type = "foo";
@@ -1356,7 +1341,7 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1858(o.labels);
+ checkUnnamed1864(o.labels);
unittest.expect(o.metricKind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1366,14 +1351,14 @@
buildCounterMetricDescriptor--;
}
-buildUnnamed1859() {
+buildUnnamed1865() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1859(core.Map<core.String, core.String> o) {
+checkUnnamed1865(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1384,7 +1369,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed1859();
+ o.metricCosts = buildUnnamed1865();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -1394,7 +1379,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed1859(o.metricCosts);
+ checkUnnamed1865(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -1421,14 +1406,14 @@
buildCounterMixin--;
}
-buildUnnamed1860() {
+buildUnnamed1866() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed1860(core.List<api.LabelDescriptor> o) {
+checkUnnamed1866(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1441,7 +1426,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed1860();
+ o.labels = buildUnnamed1866();
o.name = "foo";
o.type = "foo";
}
@@ -1454,34 +1439,34 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1860(o.labels);
+ checkUnnamed1866(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed1861() {
+buildUnnamed1867() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1861(core.List<api.MonitoringDestination> o) {
+checkUnnamed1867(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed1862() {
+buildUnnamed1868() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed1862(core.List<api.MonitoringDestination> o) {
+checkUnnamed1868(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -1492,8 +1477,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed1861();
- o.producerDestinations = buildUnnamed1862();
+ o.consumerDestinations = buildUnnamed1867();
+ o.producerDestinations = buildUnnamed1868();
}
buildCounterMonitoring--;
return o;
@@ -1502,20 +1487,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed1861(o.consumerDestinations);
- checkUnnamed1862(o.producerDestinations);
+ checkUnnamed1867(o.consumerDestinations);
+ checkUnnamed1868(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed1863() {
+buildUnnamed1869() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1863(core.List<core.String> o) {
+checkUnnamed1869(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'));
@@ -1526,7 +1511,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed1863();
+ o.metrics = buildUnnamed1869();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -1536,7 +1521,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed1863(o.metrics);
+ checkUnnamed1869(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -1561,7 +1546,7 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed1864() {
+buildUnnamed1870() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1576,7 +1561,7 @@
return o;
}
-checkUnnamed1864(core.Map<core.String, core.Object> o) {
+checkUnnamed1870(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1590,7 +1575,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1865() {
+buildUnnamed1871() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1605,7 +1590,7 @@
return o;
}
-checkUnnamed1865(core.Map<core.String, core.Object> o) {
+checkUnnamed1871(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1626,9 +1611,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1864();
+ o.metadata = buildUnnamed1870();
o.name = "foo";
- o.response = buildUnnamed1865();
+ o.response = buildUnnamed1871();
}
buildCounterOperation--;
return o;
@@ -1639,34 +1624,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1864(o.metadata);
+ checkUnnamed1870(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1865(o.response);
+ checkUnnamed1871(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1866() {
+buildUnnamed1872() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1866(core.List<core.String> o) {
+checkUnnamed1872(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'));
}
-buildUnnamed1867() {
+buildUnnamed1873() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed1867(core.List<api.Step> o) {
+checkUnnamed1873(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -1678,9 +1663,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed1866();
+ o.resourceNames = buildUnnamed1872();
o.startTime = "foo";
- o.steps = buildUnnamed1867();
+ o.steps = buildUnnamed1873();
}
buildCounterOperationMetadata--;
return o;
@@ -1690,14 +1675,14 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed1866(o.resourceNames);
+ checkUnnamed1872(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed1867(o.steps);
+ checkUnnamed1873(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed1868() {
+buildUnnamed1874() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1712,7 +1697,7 @@
return o;
}
-checkUnnamed1868(core.Map<core.String, core.Object> o) {
+checkUnnamed1874(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1732,7 +1717,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed1868();
+ o.value = buildUnnamed1874();
}
buildCounterOption--;
return o;
@@ -1742,19 +1727,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1868(o.value);
+ checkUnnamed1874(o.value);
}
buildCounterOption--;
}
-buildUnnamed1869() {
+buildUnnamed1875() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1869(core.List<api.Page> o) {
+checkUnnamed1875(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1767,7 +1752,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed1869();
+ o.subpages = buildUnnamed1875();
}
buildCounterPage--;
return o;
@@ -1778,7 +1763,7 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1869(o.subpages);
+ checkUnnamed1875(o.subpages);
}
buildCounterPage--;
}
@@ -1804,27 +1789,27 @@
buildCounterPublishedService--;
}
-buildUnnamed1870() {
+buildUnnamed1876() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed1870(core.List<api.QuotaLimit> o) {
+checkUnnamed1876(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed1871() {
+buildUnnamed1877() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed1871(core.List<api.MetricRule> o) {
+checkUnnamed1877(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -1835,8 +1820,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed1870();
- o.metricRules = buildUnnamed1871();
+ o.limits = buildUnnamed1876();
+ o.metricRules = buildUnnamed1877();
}
buildCounterQuota--;
return o;
@@ -1845,20 +1830,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed1870(o.limits);
- checkUnnamed1871(o.metricRules);
+ checkUnnamed1876(o.limits);
+ checkUnnamed1877(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed1872() {
+buildUnnamed1878() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1872(core.Map<core.String, core.String> o) {
+checkUnnamed1878(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1878,7 +1863,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed1872();
+ o.values = buildUnnamed1878();
}
buildCounterQuotaLimit--;
return o;
@@ -1896,19 +1881,19 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed1872(o.values);
+ checkUnnamed1878(o.values);
}
buildCounterQuotaLimit--;
}
-buildUnnamed1873() {
+buildUnnamed1879() {
var o = new core.List<api.PublishedService>();
o.add(buildPublishedService());
o.add(buildPublishedService());
return o;
}
-checkUnnamed1873(core.List<api.PublishedService> o) {
+checkUnnamed1879(core.List<api.PublishedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublishedService(o[0]);
checkPublishedService(o[1]);
@@ -1920,7 +1905,7 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed1873();
+ o.services = buildUnnamed1879();
}
buildCounterSearchServicesResponse--;
return o;
@@ -1930,110 +1915,110 @@
buildCounterSearchServicesResponse++;
if (buildCounterSearchServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1873(o.services);
+ checkUnnamed1879(o.services);
}
buildCounterSearchServicesResponse--;
}
-buildUnnamed1874() {
+buildUnnamed1880() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed1874(core.List<api.Api> o) {
+checkUnnamed1880(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed1875() {
+buildUnnamed1881() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed1875(core.List<api.Endpoint> o) {
+checkUnnamed1881(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed1876() {
+buildUnnamed1882() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed1876(core.List<api.Enum> o) {
+checkUnnamed1882(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed1877() {
+buildUnnamed1883() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed1877(core.List<api.LogDescriptor> o) {
+checkUnnamed1883(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed1878() {
+buildUnnamed1884() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed1878(core.List<api.MetricDescriptor> o) {
+checkUnnamed1884(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed1879() {
+buildUnnamed1885() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed1879(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed1885(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed1880() {
+buildUnnamed1886() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1880(core.List<api.Type> o) {
+checkUnnamed1886(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed1881() {
+buildUnnamed1887() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed1881(core.List<api.Type> o) {
+checkUnnamed1887(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2044,7 +2029,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed1874();
+ o.apis = buildUnnamed1880();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.billing = buildBilling();
@@ -2053,24 +2038,24 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed1875();
- o.enums = buildUnnamed1876();
+ o.endpoints = buildUnnamed1881();
+ o.enums = buildUnnamed1882();
o.experimental = buildExperimental();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed1877();
- o.metrics = buildUnnamed1878();
- o.monitoredResources = buildUnnamed1879();
+ o.logs = buildUnnamed1883();
+ o.metrics = buildUnnamed1884();
+ o.monitoredResources = buildUnnamed1885();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed1880();
+ o.systemTypes = buildUnnamed1886();
o.title = "foo";
- o.types = buildUnnamed1881();
+ o.types = buildUnnamed1887();
o.usage = buildUsage();
o.visibility = buildVisibility();
}
@@ -2081,7 +2066,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed1874(o.apis);
+ checkUnnamed1880(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
checkBilling(o.billing);
@@ -2090,24 +2075,24 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed1875(o.endpoints);
- checkUnnamed1876(o.enums);
+ checkUnnamed1881(o.endpoints);
+ checkUnnamed1882(o.enums);
checkExperimental(o.experimental);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed1877(o.logs);
- checkUnnamed1878(o.metrics);
- checkUnnamed1879(o.monitoredResources);
+ checkUnnamed1883(o.logs);
+ checkUnnamed1884(o.metrics);
+ checkUnnamed1885(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
checkQuota(o.quota);
checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed1880(o.systemTypes);
+ checkUnnamed1886(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1881(o.types);
+ checkUnnamed1887(o.types);
checkUsage(o.usage);
checkVisibility(o.visibility);
}
@@ -2133,7 +2118,7 @@
buildCounterSourceContext--;
}
-buildUnnamed1882() {
+buildUnnamed1888() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2148,7 +2133,7 @@
return o;
}
-checkUnnamed1882(core.Map<core.String, core.Object> o) {
+checkUnnamed1888(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2162,17 +2147,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed1883() {
+buildUnnamed1889() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1882());
- o.add(buildUnnamed1882());
+ o.add(buildUnnamed1888());
+ o.add(buildUnnamed1888());
return o;
}
-checkUnnamed1883(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1889(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1882(o[0]);
- checkUnnamed1882(o[1]);
+ checkUnnamed1888(o[0]);
+ checkUnnamed1888(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2180,7 +2165,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed1883();
+ o.sourceFiles = buildUnnamed1889();
}
buildCounterSourceInfo--;
return o;
@@ -2189,12 +2174,12 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed1883(o.sourceFiles);
+ checkUnnamed1889(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed1884() {
+buildUnnamed1890() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2209,7 +2194,7 @@
return o;
}
-checkUnnamed1884(core.Map<core.String, core.Object> o) {
+checkUnnamed1890(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -2223,17 +2208,17 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed1885() {
+buildUnnamed1891() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1884());
- o.add(buildUnnamed1884());
+ o.add(buildUnnamed1890());
+ o.add(buildUnnamed1890());
return o;
}
-checkUnnamed1885(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1891(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1884(o[0]);
- checkUnnamed1884(o[1]);
+ checkUnnamed1890(o[0]);
+ checkUnnamed1890(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2242,7 +2227,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1885();
+ o.details = buildUnnamed1891();
o.message = "foo";
}
buildCounterStatus--;
@@ -2253,7 +2238,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1885(o.details);
+ checkUnnamed1891(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2303,14 +2288,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed1886() {
+buildUnnamed1892() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed1886(core.List<api.SystemParameter> o) {
+checkUnnamed1892(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -2321,7 +2306,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed1886();
+ o.parameters = buildUnnamed1892();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -2331,20 +2316,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed1886(o.parameters);
+ checkUnnamed1892(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed1887() {
+buildUnnamed1893() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed1887(core.List<api.SystemParameterRule> o) {
+checkUnnamed1893(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2355,7 +2340,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed1887();
+ o.rules = buildUnnamed1893();
}
buildCounterSystemParameters--;
return o;
@@ -2364,45 +2349,45 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed1887(o.rules);
+ checkUnnamed1893(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed1888() {
+buildUnnamed1894() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed1888(core.List<api.Field> o) {
+checkUnnamed1894(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed1889() {
+buildUnnamed1895() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1889(core.List<core.String> o) {
+checkUnnamed1895(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'));
}
-buildUnnamed1890() {
+buildUnnamed1896() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed1890(core.List<api.Option> o) {
+checkUnnamed1896(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -2413,10 +2398,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed1888();
+ o.fields = buildUnnamed1894();
o.name = "foo";
- o.oneofs = buildUnnamed1889();
- o.options = buildUnnamed1890();
+ o.oneofs = buildUnnamed1895();
+ o.options = buildUnnamed1896();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -2427,37 +2412,37 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed1888(o.fields);
+ checkUnnamed1894(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1889(o.oneofs);
- checkUnnamed1890(o.options);
+ checkUnnamed1895(o.oneofs);
+ checkUnnamed1896(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterType--;
}
-buildUnnamed1891() {
+buildUnnamed1897() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1891(core.List<core.String> o) {
+checkUnnamed1897(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'));
}
-buildUnnamed1892() {
+buildUnnamed1898() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed1892(core.List<api.UsageRule> o) {
+checkUnnamed1898(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -2469,8 +2454,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed1891();
- o.rules = buildUnnamed1892();
+ o.requirements = buildUnnamed1897();
+ o.rules = buildUnnamed1898();
}
buildCounterUsage--;
return o;
@@ -2480,8 +2465,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed1891(o.requirements);
- checkUnnamed1892(o.rules);
+ checkUnnamed1897(o.requirements);
+ checkUnnamed1898(o.rules);
}
buildCounterUsage--;
}
@@ -2509,14 +2494,14 @@
buildCounterUsageRule--;
}
-buildUnnamed1893() {
+buildUnnamed1899() {
var o = new core.List<api.VisibilityRule>();
o.add(buildVisibilityRule());
o.add(buildVisibilityRule());
return o;
}
-checkUnnamed1893(core.List<api.VisibilityRule> o) {
+checkUnnamed1899(core.List<api.VisibilityRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisibilityRule(o[0]);
checkVisibilityRule(o[1]);
@@ -2527,7 +2512,7 @@
var o = new api.Visibility();
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- o.rules = buildUnnamed1893();
+ o.rules = buildUnnamed1899();
}
buildCounterVisibility--;
return o;
@@ -2536,7 +2521,7 @@
checkVisibility(api.Visibility o) {
buildCounterVisibility++;
if (buildCounterVisibility < 3) {
- checkUnnamed1893(o.rules);
+ checkUnnamed1899(o.rules);
}
buildCounterVisibility--;
}
diff --git a/generated/googleapis/test/sheets/v4_test.dart b/generated/googleapis/test/sheets/v4_test.dart
index 28fbdc1..33ab02b 100644
--- a/generated/googleapis/test/sheets/v4_test.dart
+++ b/generated/googleapis/test/sheets/v4_test.dart
@@ -299,14 +299,14 @@
buildCounterAddSheetResponse--;
}
-buildUnnamed432() {
+buildUnnamed436() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed432(core.List<api.RowData> o) {
+checkUnnamed436(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
@@ -318,7 +318,7 @@
buildCounterAppendCellsRequest++;
if (buildCounterAppendCellsRequest < 3) {
o.fields = "foo";
- o.rows = buildUnnamed432();
+ o.rows = buildUnnamed436();
o.sheetId = 42;
}
buildCounterAppendCellsRequest--;
@@ -329,7 +329,7 @@
buildCounterAppendCellsRequest++;
if (buildCounterAppendCellsRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
- checkUnnamed432(o.rows);
+ checkUnnamed436(o.rows);
unittest.expect(o.sheetId, unittest.equals(42));
}
buildCounterAppendCellsRequest--;
@@ -542,40 +542,40 @@
buildCounterBasicChartSeries--;
}
-buildUnnamed433() {
+buildUnnamed437() {
var o = new core.List<api.BasicChartAxis>();
o.add(buildBasicChartAxis());
o.add(buildBasicChartAxis());
return o;
}
-checkUnnamed433(core.List<api.BasicChartAxis> o) {
+checkUnnamed437(core.List<api.BasicChartAxis> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartAxis(o[0]);
checkBasicChartAxis(o[1]);
}
-buildUnnamed434() {
+buildUnnamed438() {
var o = new core.List<api.BasicChartDomain>();
o.add(buildBasicChartDomain());
o.add(buildBasicChartDomain());
return o;
}
-checkUnnamed434(core.List<api.BasicChartDomain> o) {
+checkUnnamed438(core.List<api.BasicChartDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartDomain(o[0]);
checkBasicChartDomain(o[1]);
}
-buildUnnamed435() {
+buildUnnamed439() {
var o = new core.List<api.BasicChartSeries>();
o.add(buildBasicChartSeries());
o.add(buildBasicChartSeries());
return o;
}
-checkUnnamed435(core.List<api.BasicChartSeries> o) {
+checkUnnamed439(core.List<api.BasicChartSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkBasicChartSeries(o[0]);
checkBasicChartSeries(o[1]);
@@ -586,15 +586,15 @@
var o = new api.BasicChartSpec();
buildCounterBasicChartSpec++;
if (buildCounterBasicChartSpec < 3) {
- o.axis = buildUnnamed433();
+ o.axis = buildUnnamed437();
o.chartType = "foo";
o.compareMode = "foo";
- o.domains = buildUnnamed434();
+ o.domains = buildUnnamed438();
o.headerCount = 42;
o.interpolateNulls = true;
o.legendPosition = "foo";
o.lineSmoothing = true;
- o.series = buildUnnamed435();
+ o.series = buildUnnamed439();
o.stackedType = "foo";
o.threeDimensional = true;
}
@@ -605,42 +605,42 @@
checkBasicChartSpec(api.BasicChartSpec o) {
buildCounterBasicChartSpec++;
if (buildCounterBasicChartSpec < 3) {
- checkUnnamed433(o.axis);
+ checkUnnamed437(o.axis);
unittest.expect(o.chartType, unittest.equals('foo'));
unittest.expect(o.compareMode, unittest.equals('foo'));
- checkUnnamed434(o.domains);
+ checkUnnamed438(o.domains);
unittest.expect(o.headerCount, unittest.equals(42));
unittest.expect(o.interpolateNulls, unittest.isTrue);
unittest.expect(o.legendPosition, unittest.equals('foo'));
unittest.expect(o.lineSmoothing, unittest.isTrue);
- checkUnnamed435(o.series);
+ checkUnnamed439(o.series);
unittest.expect(o.stackedType, unittest.equals('foo'));
unittest.expect(o.threeDimensional, unittest.isTrue);
}
buildCounterBasicChartSpec--;
}
-buildUnnamed436() {
+buildUnnamed440() {
var o = new core.Map<core.String, api.FilterCriteria>();
o["x"] = buildFilterCriteria();
o["y"] = buildFilterCriteria();
return o;
}
-checkUnnamed436(core.Map<core.String, api.FilterCriteria> o) {
+checkUnnamed440(core.Map<core.String, api.FilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterCriteria(o["x"]);
checkFilterCriteria(o["y"]);
}
-buildUnnamed437() {
+buildUnnamed441() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed437(core.List<api.SortSpec> o) {
+checkUnnamed441(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -651,9 +651,9 @@
var o = new api.BasicFilter();
buildCounterBasicFilter++;
if (buildCounterBasicFilter < 3) {
- o.criteria = buildUnnamed436();
+ o.criteria = buildUnnamed440();
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed437();
+ o.sortSpecs = buildUnnamed441();
}
buildCounterBasicFilter--;
return o;
@@ -662,147 +662,13 @@
checkBasicFilter(api.BasicFilter o) {
buildCounterBasicFilter++;
if (buildCounterBasicFilter < 3) {
- checkUnnamed436(o.criteria);
+ checkUnnamed440(o.criteria);
checkGridRange(o.range);
- checkUnnamed437(o.sortSpecs);
+ checkUnnamed441(o.sortSpecs);
}
buildCounterBasicFilter--;
}
-buildUnnamed438() {
- var o = new core.List<api.DataFilter>();
- o.add(buildDataFilter());
- o.add(buildDataFilter());
- return o;
-}
-
-checkUnnamed438(core.List<api.DataFilter> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDataFilter(o[0]);
- checkDataFilter(o[1]);
-}
-
-core.int buildCounterBatchClearValuesByDataFilterRequest = 0;
-buildBatchClearValuesByDataFilterRequest() {
- var o = new api.BatchClearValuesByDataFilterRequest();
- buildCounterBatchClearValuesByDataFilterRequest++;
- if (buildCounterBatchClearValuesByDataFilterRequest < 3) {
- o.dataFilters = buildUnnamed438();
- }
- buildCounterBatchClearValuesByDataFilterRequest--;
- return o;
-}
-
-checkBatchClearValuesByDataFilterRequest(
- api.BatchClearValuesByDataFilterRequest o) {
- buildCounterBatchClearValuesByDataFilterRequest++;
- if (buildCounterBatchClearValuesByDataFilterRequest < 3) {
- checkUnnamed438(o.dataFilters);
- }
- buildCounterBatchClearValuesByDataFilterRequest--;
-}
-
-buildUnnamed439() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed439(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 buildCounterBatchClearValuesByDataFilterResponse = 0;
-buildBatchClearValuesByDataFilterResponse() {
- var o = new api.BatchClearValuesByDataFilterResponse();
- buildCounterBatchClearValuesByDataFilterResponse++;
- if (buildCounterBatchClearValuesByDataFilterResponse < 3) {
- o.clearedRanges = buildUnnamed439();
- o.spreadsheetId = "foo";
- }
- buildCounterBatchClearValuesByDataFilterResponse--;
- return o;
-}
-
-checkBatchClearValuesByDataFilterResponse(
- api.BatchClearValuesByDataFilterResponse o) {
- buildCounterBatchClearValuesByDataFilterResponse++;
- if (buildCounterBatchClearValuesByDataFilterResponse < 3) {
- checkUnnamed439(o.clearedRanges);
- unittest.expect(o.spreadsheetId, unittest.equals('foo'));
- }
- buildCounterBatchClearValuesByDataFilterResponse--;
-}
-
-buildUnnamed440() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed440(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 buildCounterBatchClearValuesRequest = 0;
-buildBatchClearValuesRequest() {
- var o = new api.BatchClearValuesRequest();
- buildCounterBatchClearValuesRequest++;
- if (buildCounterBatchClearValuesRequest < 3) {
- o.ranges = buildUnnamed440();
- }
- buildCounterBatchClearValuesRequest--;
- return o;
-}
-
-checkBatchClearValuesRequest(api.BatchClearValuesRequest o) {
- buildCounterBatchClearValuesRequest++;
- if (buildCounterBatchClearValuesRequest < 3) {
- checkUnnamed440(o.ranges);
- }
- buildCounterBatchClearValuesRequest--;
-}
-
-buildUnnamed441() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed441(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 buildCounterBatchClearValuesResponse = 0;
-buildBatchClearValuesResponse() {
- var o = new api.BatchClearValuesResponse();
- buildCounterBatchClearValuesResponse++;
- if (buildCounterBatchClearValuesResponse < 3) {
- o.clearedRanges = buildUnnamed441();
- o.spreadsheetId = "foo";
- }
- buildCounterBatchClearValuesResponse--;
- return o;
-}
-
-checkBatchClearValuesResponse(api.BatchClearValuesResponse o) {
- buildCounterBatchClearValuesResponse++;
- if (buildCounterBatchClearValuesResponse < 3) {
- checkUnnamed441(o.clearedRanges);
- unittest.expect(o.spreadsheetId, unittest.equals('foo'));
- }
- buildCounterBatchClearValuesResponse--;
-}
-
buildUnnamed442() {
var o = new core.List<api.DataFilter>();
o.add(buildDataFilter());
@@ -816,12 +682,146 @@
checkDataFilter(o[1]);
}
+core.int buildCounterBatchClearValuesByDataFilterRequest = 0;
+buildBatchClearValuesByDataFilterRequest() {
+ var o = new api.BatchClearValuesByDataFilterRequest();
+ buildCounterBatchClearValuesByDataFilterRequest++;
+ if (buildCounterBatchClearValuesByDataFilterRequest < 3) {
+ o.dataFilters = buildUnnamed442();
+ }
+ buildCounterBatchClearValuesByDataFilterRequest--;
+ return o;
+}
+
+checkBatchClearValuesByDataFilterRequest(
+ api.BatchClearValuesByDataFilterRequest o) {
+ buildCounterBatchClearValuesByDataFilterRequest++;
+ if (buildCounterBatchClearValuesByDataFilterRequest < 3) {
+ checkUnnamed442(o.dataFilters);
+ }
+ buildCounterBatchClearValuesByDataFilterRequest--;
+}
+
+buildUnnamed443() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed443(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 buildCounterBatchClearValuesByDataFilterResponse = 0;
+buildBatchClearValuesByDataFilterResponse() {
+ var o = new api.BatchClearValuesByDataFilterResponse();
+ buildCounterBatchClearValuesByDataFilterResponse++;
+ if (buildCounterBatchClearValuesByDataFilterResponse < 3) {
+ o.clearedRanges = buildUnnamed443();
+ o.spreadsheetId = "foo";
+ }
+ buildCounterBatchClearValuesByDataFilterResponse--;
+ return o;
+}
+
+checkBatchClearValuesByDataFilterResponse(
+ api.BatchClearValuesByDataFilterResponse o) {
+ buildCounterBatchClearValuesByDataFilterResponse++;
+ if (buildCounterBatchClearValuesByDataFilterResponse < 3) {
+ checkUnnamed443(o.clearedRanges);
+ unittest.expect(o.spreadsheetId, unittest.equals('foo'));
+ }
+ buildCounterBatchClearValuesByDataFilterResponse--;
+}
+
+buildUnnamed444() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed444(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 buildCounterBatchClearValuesRequest = 0;
+buildBatchClearValuesRequest() {
+ var o = new api.BatchClearValuesRequest();
+ buildCounterBatchClearValuesRequest++;
+ if (buildCounterBatchClearValuesRequest < 3) {
+ o.ranges = buildUnnamed444();
+ }
+ buildCounterBatchClearValuesRequest--;
+ return o;
+}
+
+checkBatchClearValuesRequest(api.BatchClearValuesRequest o) {
+ buildCounterBatchClearValuesRequest++;
+ if (buildCounterBatchClearValuesRequest < 3) {
+ checkUnnamed444(o.ranges);
+ }
+ buildCounterBatchClearValuesRequest--;
+}
+
+buildUnnamed445() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed445(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 buildCounterBatchClearValuesResponse = 0;
+buildBatchClearValuesResponse() {
+ var o = new api.BatchClearValuesResponse();
+ buildCounterBatchClearValuesResponse++;
+ if (buildCounterBatchClearValuesResponse < 3) {
+ o.clearedRanges = buildUnnamed445();
+ o.spreadsheetId = "foo";
+ }
+ buildCounterBatchClearValuesResponse--;
+ return o;
+}
+
+checkBatchClearValuesResponse(api.BatchClearValuesResponse o) {
+ buildCounterBatchClearValuesResponse++;
+ if (buildCounterBatchClearValuesResponse < 3) {
+ checkUnnamed445(o.clearedRanges);
+ unittest.expect(o.spreadsheetId, unittest.equals('foo'));
+ }
+ buildCounterBatchClearValuesResponse--;
+}
+
+buildUnnamed446() {
+ var o = new core.List<api.DataFilter>();
+ o.add(buildDataFilter());
+ o.add(buildDataFilter());
+ return o;
+}
+
+checkUnnamed446(core.List<api.DataFilter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDataFilter(o[0]);
+ checkDataFilter(o[1]);
+}
+
core.int buildCounterBatchGetValuesByDataFilterRequest = 0;
buildBatchGetValuesByDataFilterRequest() {
var o = new api.BatchGetValuesByDataFilterRequest();
buildCounterBatchGetValuesByDataFilterRequest++;
if (buildCounterBatchGetValuesByDataFilterRequest < 3) {
- o.dataFilters = buildUnnamed442();
+ o.dataFilters = buildUnnamed446();
o.dateTimeRenderOption = "foo";
o.majorDimension = "foo";
o.valueRenderOption = "foo";
@@ -834,7 +834,7 @@
api.BatchGetValuesByDataFilterRequest o) {
buildCounterBatchGetValuesByDataFilterRequest++;
if (buildCounterBatchGetValuesByDataFilterRequest < 3) {
- checkUnnamed442(o.dataFilters);
+ checkUnnamed446(o.dataFilters);
unittest.expect(o.dateTimeRenderOption, unittest.equals('foo'));
unittest.expect(o.majorDimension, unittest.equals('foo'));
unittest.expect(o.valueRenderOption, unittest.equals('foo'));
@@ -842,14 +842,14 @@
buildCounterBatchGetValuesByDataFilterRequest--;
}
-buildUnnamed443() {
+buildUnnamed447() {
var o = new core.List<api.MatchedValueRange>();
o.add(buildMatchedValueRange());
o.add(buildMatchedValueRange());
return o;
}
-checkUnnamed443(core.List<api.MatchedValueRange> o) {
+checkUnnamed447(core.List<api.MatchedValueRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatchedValueRange(o[0]);
checkMatchedValueRange(o[1]);
@@ -861,7 +861,7 @@
buildCounterBatchGetValuesByDataFilterResponse++;
if (buildCounterBatchGetValuesByDataFilterResponse < 3) {
o.spreadsheetId = "foo";
- o.valueRanges = buildUnnamed443();
+ o.valueRanges = buildUnnamed447();
}
buildCounterBatchGetValuesByDataFilterResponse--;
return o;
@@ -872,19 +872,19 @@
buildCounterBatchGetValuesByDataFilterResponse++;
if (buildCounterBatchGetValuesByDataFilterResponse < 3) {
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
- checkUnnamed443(o.valueRanges);
+ checkUnnamed447(o.valueRanges);
}
buildCounterBatchGetValuesByDataFilterResponse--;
}
-buildUnnamed444() {
+buildUnnamed448() {
var o = new core.List<api.ValueRange>();
o.add(buildValueRange());
o.add(buildValueRange());
return o;
}
-checkUnnamed444(core.List<api.ValueRange> o) {
+checkUnnamed448(core.List<api.ValueRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueRange(o[0]);
checkValueRange(o[1]);
@@ -896,7 +896,7 @@
buildCounterBatchGetValuesResponse++;
if (buildCounterBatchGetValuesResponse < 3) {
o.spreadsheetId = "foo";
- o.valueRanges = buildUnnamed444();
+ o.valueRanges = buildUnnamed448();
}
buildCounterBatchGetValuesResponse--;
return o;
@@ -906,32 +906,32 @@
buildCounterBatchGetValuesResponse++;
if (buildCounterBatchGetValuesResponse < 3) {
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
- checkUnnamed444(o.valueRanges);
+ checkUnnamed448(o.valueRanges);
}
buildCounterBatchGetValuesResponse--;
}
-buildUnnamed445() {
+buildUnnamed449() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed445(core.List<api.Request> o) {
+checkUnnamed449(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
}
-buildUnnamed446() {
+buildUnnamed450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed446(core.List<core.String> o) {
+checkUnnamed450(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'));
@@ -943,9 +943,9 @@
buildCounterBatchUpdateSpreadsheetRequest++;
if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
o.includeSpreadsheetInResponse = true;
- o.requests = buildUnnamed445();
+ o.requests = buildUnnamed449();
o.responseIncludeGridData = true;
- o.responseRanges = buildUnnamed446();
+ o.responseRanges = buildUnnamed450();
}
buildCounterBatchUpdateSpreadsheetRequest--;
return o;
@@ -955,21 +955,21 @@
buildCounterBatchUpdateSpreadsheetRequest++;
if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
unittest.expect(o.includeSpreadsheetInResponse, unittest.isTrue);
- checkUnnamed445(o.requests);
+ checkUnnamed449(o.requests);
unittest.expect(o.responseIncludeGridData, unittest.isTrue);
- checkUnnamed446(o.responseRanges);
+ checkUnnamed450(o.responseRanges);
}
buildCounterBatchUpdateSpreadsheetRequest--;
}
-buildUnnamed447() {
+buildUnnamed451() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed447(core.List<api.Response> o) {
+checkUnnamed451(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -980,7 +980,7 @@
var o = new api.BatchUpdateSpreadsheetResponse();
buildCounterBatchUpdateSpreadsheetResponse++;
if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
- o.replies = buildUnnamed447();
+ o.replies = buildUnnamed451();
o.spreadsheetId = "foo";
o.updatedSpreadsheet = buildSpreadsheet();
}
@@ -991,21 +991,21 @@
checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) {
buildCounterBatchUpdateSpreadsheetResponse++;
if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
- checkUnnamed447(o.replies);
+ checkUnnamed451(o.replies);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
checkSpreadsheet(o.updatedSpreadsheet);
}
buildCounterBatchUpdateSpreadsheetResponse--;
}
-buildUnnamed448() {
+buildUnnamed452() {
var o = new core.List<api.DataFilterValueRange>();
o.add(buildDataFilterValueRange());
o.add(buildDataFilterValueRange());
return o;
}
-checkUnnamed448(core.List<api.DataFilterValueRange> o) {
+checkUnnamed452(core.List<api.DataFilterValueRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataFilterValueRange(o[0]);
checkDataFilterValueRange(o[1]);
@@ -1016,7 +1016,7 @@
var o = new api.BatchUpdateValuesByDataFilterRequest();
buildCounterBatchUpdateValuesByDataFilterRequest++;
if (buildCounterBatchUpdateValuesByDataFilterRequest < 3) {
- o.data = buildUnnamed448();
+ o.data = buildUnnamed452();
o.includeValuesInResponse = true;
o.responseDateTimeRenderOption = "foo";
o.responseValueRenderOption = "foo";
@@ -1030,7 +1030,7 @@
api.BatchUpdateValuesByDataFilterRequest o) {
buildCounterBatchUpdateValuesByDataFilterRequest++;
if (buildCounterBatchUpdateValuesByDataFilterRequest < 3) {
- checkUnnamed448(o.data);
+ checkUnnamed452(o.data);
unittest.expect(o.includeValuesInResponse, unittest.isTrue);
unittest.expect(o.responseDateTimeRenderOption, unittest.equals('foo'));
unittest.expect(o.responseValueRenderOption, unittest.equals('foo'));
@@ -1039,14 +1039,14 @@
buildCounterBatchUpdateValuesByDataFilterRequest--;
}
-buildUnnamed449() {
+buildUnnamed453() {
var o = new core.List<api.UpdateValuesByDataFilterResponse>();
o.add(buildUpdateValuesByDataFilterResponse());
o.add(buildUpdateValuesByDataFilterResponse());
return o;
}
-checkUnnamed449(core.List<api.UpdateValuesByDataFilterResponse> o) {
+checkUnnamed453(core.List<api.UpdateValuesByDataFilterResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdateValuesByDataFilterResponse(o[0]);
checkUpdateValuesByDataFilterResponse(o[1]);
@@ -1057,7 +1057,7 @@
var o = new api.BatchUpdateValuesByDataFilterResponse();
buildCounterBatchUpdateValuesByDataFilterResponse++;
if (buildCounterBatchUpdateValuesByDataFilterResponse < 3) {
- o.responses = buildUnnamed449();
+ o.responses = buildUnnamed453();
o.spreadsheetId = "foo";
o.totalUpdatedCells = 42;
o.totalUpdatedColumns = 42;
@@ -1072,7 +1072,7 @@
api.BatchUpdateValuesByDataFilterResponse o) {
buildCounterBatchUpdateValuesByDataFilterResponse++;
if (buildCounterBatchUpdateValuesByDataFilterResponse < 3) {
- checkUnnamed449(o.responses);
+ checkUnnamed453(o.responses);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
unittest.expect(o.totalUpdatedCells, unittest.equals(42));
unittest.expect(o.totalUpdatedColumns, unittest.equals(42));
@@ -1082,14 +1082,14 @@
buildCounterBatchUpdateValuesByDataFilterResponse--;
}
-buildUnnamed450() {
+buildUnnamed454() {
var o = new core.List<api.ValueRange>();
o.add(buildValueRange());
o.add(buildValueRange());
return o;
}
-checkUnnamed450(core.List<api.ValueRange> o) {
+checkUnnamed454(core.List<api.ValueRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueRange(o[0]);
checkValueRange(o[1]);
@@ -1100,7 +1100,7 @@
var o = new api.BatchUpdateValuesRequest();
buildCounterBatchUpdateValuesRequest++;
if (buildCounterBatchUpdateValuesRequest < 3) {
- o.data = buildUnnamed450();
+ o.data = buildUnnamed454();
o.includeValuesInResponse = true;
o.responseDateTimeRenderOption = "foo";
o.responseValueRenderOption = "foo";
@@ -1113,7 +1113,7 @@
checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) {
buildCounterBatchUpdateValuesRequest++;
if (buildCounterBatchUpdateValuesRequest < 3) {
- checkUnnamed450(o.data);
+ checkUnnamed454(o.data);
unittest.expect(o.includeValuesInResponse, unittest.isTrue);
unittest.expect(o.responseDateTimeRenderOption, unittest.equals('foo'));
unittest.expect(o.responseValueRenderOption, unittest.equals('foo'));
@@ -1122,14 +1122,14 @@
buildCounterBatchUpdateValuesRequest--;
}
-buildUnnamed451() {
+buildUnnamed455() {
var o = new core.List<api.UpdateValuesResponse>();
o.add(buildUpdateValuesResponse());
o.add(buildUpdateValuesResponse());
return o;
}
-checkUnnamed451(core.List<api.UpdateValuesResponse> o) {
+checkUnnamed455(core.List<api.UpdateValuesResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdateValuesResponse(o[0]);
checkUpdateValuesResponse(o[1]);
@@ -1140,7 +1140,7 @@
var o = new api.BatchUpdateValuesResponse();
buildCounterBatchUpdateValuesResponse++;
if (buildCounterBatchUpdateValuesResponse < 3) {
- o.responses = buildUnnamed451();
+ o.responses = buildUnnamed455();
o.spreadsheetId = "foo";
o.totalUpdatedCells = 42;
o.totalUpdatedColumns = 42;
@@ -1154,7 +1154,7 @@
checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) {
buildCounterBatchUpdateValuesResponse++;
if (buildCounterBatchUpdateValuesResponse < 3) {
- checkUnnamed451(o.responses);
+ checkUnnamed455(o.responses);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
unittest.expect(o.totalUpdatedCells, unittest.equals(42));
unittest.expect(o.totalUpdatedColumns, unittest.equals(42));
@@ -1164,14 +1164,14 @@
buildCounterBatchUpdateValuesResponse--;
}
-buildUnnamed452() {
+buildUnnamed456() {
var o = new core.List<api.ConditionValue>();
o.add(buildConditionValue());
o.add(buildConditionValue());
return o;
}
-checkUnnamed452(core.List<api.ConditionValue> o) {
+checkUnnamed456(core.List<api.ConditionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkConditionValue(o[0]);
checkConditionValue(o[1]);
@@ -1183,7 +1183,7 @@
buildCounterBooleanCondition++;
if (buildCounterBooleanCondition < 3) {
o.type = "foo";
- o.values = buildUnnamed452();
+ o.values = buildUnnamed456();
}
buildCounterBooleanCondition--;
return o;
@@ -1193,7 +1193,7 @@
buildCounterBooleanCondition++;
if (buildCounterBooleanCondition < 3) {
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed452(o.values);
+ checkUnnamed456(o.values);
}
buildCounterBooleanCondition--;
}
@@ -1306,14 +1306,14 @@
buildCounterBubbleChartSpec--;
}
-buildUnnamed453() {
+buildUnnamed457() {
var o = new core.List<api.CandlestickData>();
o.add(buildCandlestickData());
o.add(buildCandlestickData());
return o;
}
-checkUnnamed453(core.List<api.CandlestickData> o) {
+checkUnnamed457(core.List<api.CandlestickData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandlestickData(o[0]);
checkCandlestickData(o[1]);
@@ -1324,7 +1324,7 @@
var o = new api.CandlestickChartSpec();
buildCounterCandlestickChartSpec++;
if (buildCounterCandlestickChartSpec < 3) {
- o.data = buildUnnamed453();
+ o.data = buildUnnamed457();
o.domain = buildCandlestickDomain();
}
buildCounterCandlestickChartSpec--;
@@ -1334,7 +1334,7 @@
checkCandlestickChartSpec(api.CandlestickChartSpec o) {
buildCounterCandlestickChartSpec++;
if (buildCounterCandlestickChartSpec < 3) {
- checkUnnamed453(o.data);
+ checkUnnamed457(o.data);
checkCandlestickDomain(o.domain);
}
buildCounterCandlestickChartSpec--;
@@ -1405,14 +1405,14 @@
buildCounterCandlestickSeries--;
}
-buildUnnamed454() {
+buildUnnamed458() {
var o = new core.List<api.TextFormatRun>();
o.add(buildTextFormatRun());
o.add(buildTextFormatRun());
return o;
}
-checkUnnamed454(core.List<api.TextFormatRun> o) {
+checkUnnamed458(core.List<api.TextFormatRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextFormatRun(o[0]);
checkTextFormatRun(o[1]);
@@ -1430,7 +1430,7 @@
o.hyperlink = "foo";
o.note = "foo";
o.pivotTable = buildPivotTable();
- o.textFormatRuns = buildUnnamed454();
+ o.textFormatRuns = buildUnnamed458();
o.userEnteredFormat = buildCellFormat();
o.userEnteredValue = buildExtendedValue();
}
@@ -1448,7 +1448,7 @@
unittest.expect(o.hyperlink, unittest.equals('foo'));
unittest.expect(o.note, unittest.equals('foo'));
checkPivotTable(o.pivotTable);
- checkUnnamed454(o.textFormatRuns);
+ checkUnnamed458(o.textFormatRuns);
checkCellFormat(o.userEnteredFormat);
checkExtendedValue(o.userEnteredValue);
}
@@ -1513,14 +1513,14 @@
buildCounterChartData--;
}
-buildUnnamed455() {
+buildUnnamed459() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed455(core.List<api.GridRange> o) {
+checkUnnamed459(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -1531,7 +1531,7 @@
var o = new api.ChartSourceRange();
buildCounterChartSourceRange++;
if (buildCounterChartSourceRange < 3) {
- o.sources = buildUnnamed455();
+ o.sources = buildUnnamed459();
}
buildCounterChartSourceRange--;
return o;
@@ -1540,7 +1540,7 @@
checkChartSourceRange(api.ChartSourceRange o) {
buildCounterChartSourceRange++;
if (buildCounterChartSourceRange < 3) {
- checkUnnamed455(o.sources);
+ checkUnnamed459(o.sources);
}
buildCounterChartSourceRange--;
}
@@ -1697,14 +1697,14 @@
buildCounterConditionValue--;
}
-buildUnnamed456() {
+buildUnnamed460() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed456(core.List<api.GridRange> o) {
+checkUnnamed460(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -1717,7 +1717,7 @@
if (buildCounterConditionalFormatRule < 3) {
o.booleanRule = buildBooleanRule();
o.gradientRule = buildGradientRule();
- o.ranges = buildUnnamed456();
+ o.ranges = buildUnnamed460();
}
buildCounterConditionalFormatRule--;
return o;
@@ -1728,7 +1728,7 @@
if (buildCounterConditionalFormatRule < 3) {
checkBooleanRule(o.booleanRule);
checkGradientRule(o.gradientRule);
- checkUnnamed456(o.ranges);
+ checkUnnamed460(o.ranges);
}
buildCounterConditionalFormatRule--;
}
@@ -1862,7 +1862,7 @@
buildCounterDataFilter--;
}
-buildUnnamed457() {
+buildUnnamed461() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1877,7 +1877,7 @@
return o;
}
-checkUnnamed457(core.List<core.Object> o) {
+checkUnnamed461(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1891,17 +1891,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed458() {
+buildUnnamed462() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed457());
- o.add(buildUnnamed457());
+ o.add(buildUnnamed461());
+ o.add(buildUnnamed461());
return o;
}
-checkUnnamed458(core.List<core.List<core.Object>> o) {
+checkUnnamed462(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed457(o[0]);
- checkUnnamed457(o[1]);
+ checkUnnamed461(o[0]);
+ checkUnnamed461(o[1]);
}
core.int buildCounterDataFilterValueRange = 0;
@@ -1911,7 +1911,7 @@
if (buildCounterDataFilterValueRange < 3) {
o.dataFilter = buildDataFilter();
o.majorDimension = "foo";
- o.values = buildUnnamed458();
+ o.values = buildUnnamed462();
}
buildCounterDataFilterValueRange--;
return o;
@@ -1922,7 +1922,7 @@
if (buildCounterDataFilterValueRange < 3) {
checkDataFilter(o.dataFilter);
unittest.expect(o.majorDimension, unittest.equals('foo'));
- checkUnnamed458(o.values);
+ checkUnnamed462(o.values);
}
buildCounterDataFilterValueRange--;
}
@@ -2032,14 +2032,14 @@
buildCounterDeleteDeveloperMetadataRequest--;
}
-buildUnnamed459() {
+buildUnnamed463() {
var o = new core.List<api.DeveloperMetadata>();
o.add(buildDeveloperMetadata());
o.add(buildDeveloperMetadata());
return o;
}
-checkUnnamed459(core.List<api.DeveloperMetadata> o) {
+checkUnnamed463(core.List<api.DeveloperMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeveloperMetadata(o[0]);
checkDeveloperMetadata(o[1]);
@@ -2050,7 +2050,7 @@
var o = new api.DeleteDeveloperMetadataResponse();
buildCounterDeleteDeveloperMetadataResponse++;
if (buildCounterDeleteDeveloperMetadataResponse < 3) {
- o.deletedDeveloperMetadata = buildUnnamed459();
+ o.deletedDeveloperMetadata = buildUnnamed463();
}
buildCounterDeleteDeveloperMetadataResponse--;
return o;
@@ -2059,7 +2059,7 @@
checkDeleteDeveloperMetadataResponse(api.DeleteDeveloperMetadataResponse o) {
buildCounterDeleteDeveloperMetadataResponse++;
if (buildCounterDeleteDeveloperMetadataResponse < 3) {
- checkUnnamed459(o.deletedDeveloperMetadata);
+ checkUnnamed463(o.deletedDeveloperMetadata);
}
buildCounterDeleteDeveloperMetadataResponse--;
}
@@ -2282,14 +2282,14 @@
buildCounterDeveloperMetadataLookup--;
}
-buildUnnamed460() {
+buildUnnamed464() {
var o = new core.List<api.DeveloperMetadata>();
o.add(buildDeveloperMetadata());
o.add(buildDeveloperMetadata());
return o;
}
-checkUnnamed460(core.List<api.DeveloperMetadata> o) {
+checkUnnamed464(core.List<api.DeveloperMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeveloperMetadata(o[0]);
checkDeveloperMetadata(o[1]);
@@ -2300,7 +2300,7 @@
var o = new api.DimensionProperties();
buildCounterDimensionProperties++;
if (buildCounterDimensionProperties < 3) {
- o.developerMetadata = buildUnnamed460();
+ o.developerMetadata = buildUnnamed464();
o.hiddenByFilter = true;
o.hiddenByUser = true;
o.pixelSize = 42;
@@ -2312,7 +2312,7 @@
checkDimensionProperties(api.DimensionProperties o) {
buildCounterDimensionProperties++;
if (buildCounterDimensionProperties < 3) {
- checkUnnamed460(o.developerMetadata);
+ checkUnnamed464(o.developerMetadata);
unittest.expect(o.hiddenByFilter, unittest.isTrue);
unittest.expect(o.hiddenByUser, unittest.isTrue);
unittest.expect(o.pixelSize, unittest.equals(42));
@@ -2427,27 +2427,27 @@
buildCounterDuplicateSheetResponse--;
}
-buildUnnamed461() {
+buildUnnamed465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed461(core.List<core.String> o) {
+checkUnnamed465(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'));
}
-buildUnnamed462() {
+buildUnnamed466() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed462(core.List<core.String> o) {
+checkUnnamed466(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'));
@@ -2459,8 +2459,8 @@
buildCounterEditors++;
if (buildCounterEditors < 3) {
o.domainUsersCanEdit = true;
- o.groups = buildUnnamed461();
- o.users = buildUnnamed462();
+ o.groups = buildUnnamed465();
+ o.users = buildUnnamed466();
}
buildCounterEditors--;
return o;
@@ -2470,8 +2470,8 @@
buildCounterEditors++;
if (buildCounterEditors < 3) {
unittest.expect(o.domainUsersCanEdit, unittest.isTrue);
- checkUnnamed461(o.groups);
- checkUnnamed462(o.users);
+ checkUnnamed465(o.groups);
+ checkUnnamed466(o.users);
}
buildCounterEditors--;
}
@@ -2570,14 +2570,14 @@
buildCounterExtendedValue--;
}
-buildUnnamed463() {
+buildUnnamed467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed463(core.List<core.String> o) {
+checkUnnamed467(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'));
@@ -2589,7 +2589,7 @@
buildCounterFilterCriteria++;
if (buildCounterFilterCriteria < 3) {
o.condition = buildBooleanCondition();
- o.hiddenValues = buildUnnamed463();
+ o.hiddenValues = buildUnnamed467();
}
buildCounterFilterCriteria--;
return o;
@@ -2599,32 +2599,32 @@
buildCounterFilterCriteria++;
if (buildCounterFilterCriteria < 3) {
checkBooleanCondition(o.condition);
- checkUnnamed463(o.hiddenValues);
+ checkUnnamed467(o.hiddenValues);
}
buildCounterFilterCriteria--;
}
-buildUnnamed464() {
+buildUnnamed468() {
var o = new core.Map<core.String, api.FilterCriteria>();
o["x"] = buildFilterCriteria();
o["y"] = buildFilterCriteria();
return o;
}
-checkUnnamed464(core.Map<core.String, api.FilterCriteria> o) {
+checkUnnamed468(core.Map<core.String, api.FilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterCriteria(o["x"]);
checkFilterCriteria(o["y"]);
}
-buildUnnamed465() {
+buildUnnamed469() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed465(core.List<api.SortSpec> o) {
+checkUnnamed469(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -2635,11 +2635,11 @@
var o = new api.FilterView();
buildCounterFilterView++;
if (buildCounterFilterView < 3) {
- o.criteria = buildUnnamed464();
+ o.criteria = buildUnnamed468();
o.filterViewId = 42;
o.namedRangeId = "foo";
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed465();
+ o.sortSpecs = buildUnnamed469();
o.title = "foo";
}
buildCounterFilterView--;
@@ -2649,11 +2649,11 @@
checkFilterView(api.FilterView o) {
buildCounterFilterView++;
if (buildCounterFilterView < 3) {
- checkUnnamed464(o.criteria);
+ checkUnnamed468(o.criteria);
unittest.expect(o.filterViewId, unittest.equals(42));
unittest.expect(o.namedRangeId, unittest.equals('foo'));
checkGridRange(o.range);
- checkUnnamed465(o.sortSpecs);
+ checkUnnamed469(o.sortSpecs);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterFilterView--;
@@ -2721,14 +2721,14 @@
buildCounterFindReplaceResponse--;
}
-buildUnnamed466() {
+buildUnnamed470() {
var o = new core.List<api.DataFilter>();
o.add(buildDataFilter());
o.add(buildDataFilter());
return o;
}
-checkUnnamed466(core.List<api.DataFilter> o) {
+checkUnnamed470(core.List<api.DataFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataFilter(o[0]);
checkDataFilter(o[1]);
@@ -2739,7 +2739,7 @@
var o = new api.GetSpreadsheetByDataFilterRequest();
buildCounterGetSpreadsheetByDataFilterRequest++;
if (buildCounterGetSpreadsheetByDataFilterRequest < 3) {
- o.dataFilters = buildUnnamed466();
+ o.dataFilters = buildUnnamed470();
o.includeGridData = true;
}
buildCounterGetSpreadsheetByDataFilterRequest--;
@@ -2750,7 +2750,7 @@
api.GetSpreadsheetByDataFilterRequest o) {
buildCounterGetSpreadsheetByDataFilterRequest++;
if (buildCounterGetSpreadsheetByDataFilterRequest < 3) {
- checkUnnamed466(o.dataFilters);
+ checkUnnamed470(o.dataFilters);
unittest.expect(o.includeGridData, unittest.isTrue);
}
buildCounterGetSpreadsheetByDataFilterRequest--;
@@ -2802,40 +2802,40 @@
buildCounterGridCoordinate--;
}
-buildUnnamed467() {
+buildUnnamed471() {
var o = new core.List<api.DimensionProperties>();
o.add(buildDimensionProperties());
o.add(buildDimensionProperties());
return o;
}
-checkUnnamed467(core.List<api.DimensionProperties> o) {
+checkUnnamed471(core.List<api.DimensionProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionProperties(o[0]);
checkDimensionProperties(o[1]);
}
-buildUnnamed468() {
+buildUnnamed472() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed468(core.List<api.RowData> o) {
+checkUnnamed472(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
}
-buildUnnamed469() {
+buildUnnamed473() {
var o = new core.List<api.DimensionProperties>();
o.add(buildDimensionProperties());
o.add(buildDimensionProperties());
return o;
}
-checkUnnamed469(core.List<api.DimensionProperties> o) {
+checkUnnamed473(core.List<api.DimensionProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionProperties(o[0]);
checkDimensionProperties(o[1]);
@@ -2846,9 +2846,9 @@
var o = new api.GridData();
buildCounterGridData++;
if (buildCounterGridData < 3) {
- o.columnMetadata = buildUnnamed467();
- o.rowData = buildUnnamed468();
- o.rowMetadata = buildUnnamed469();
+ o.columnMetadata = buildUnnamed471();
+ o.rowData = buildUnnamed472();
+ o.rowMetadata = buildUnnamed473();
o.startColumn = 42;
o.startRow = 42;
}
@@ -2859,9 +2859,9 @@
checkGridData(api.GridData o) {
buildCounterGridData++;
if (buildCounterGridData < 3) {
- checkUnnamed467(o.columnMetadata);
- checkUnnamed468(o.rowData);
- checkUnnamed469(o.rowMetadata);
+ checkUnnamed471(o.columnMetadata);
+ checkUnnamed472(o.rowData);
+ checkUnnamed473(o.rowMetadata);
unittest.expect(o.startColumn, unittest.equals(42));
unittest.expect(o.startRow, unittest.equals(42));
}
@@ -2922,14 +2922,14 @@
buildCounterGridRange--;
}
-buildUnnamed470() {
+buildUnnamed474() {
var o = new core.List<api.HistogramSeries>();
o.add(buildHistogramSeries());
o.add(buildHistogramSeries());
return o;
}
-checkUnnamed470(core.List<api.HistogramSeries> o) {
+checkUnnamed474(core.List<api.HistogramSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistogramSeries(o[0]);
checkHistogramSeries(o[1]);
@@ -2943,7 +2943,7 @@
o.bucketSize = 42.0;
o.legendPosition = "foo";
o.outlierPercentile = 42.0;
- o.series = buildUnnamed470();
+ o.series = buildUnnamed474();
o.showItemDividers = true;
}
buildCounterHistogramChartSpec--;
@@ -2956,7 +2956,7 @@
unittest.expect(o.bucketSize, unittest.equals(42.0));
unittest.expect(o.legendPosition, unittest.equals('foo'));
unittest.expect(o.outlierPercentile, unittest.equals(42.0));
- checkUnnamed470(o.series);
+ checkUnnamed474(o.series);
unittest.expect(o.showItemDividers, unittest.isTrue);
}
buildCounterHistogramChartSpec--;
@@ -3069,14 +3069,14 @@
buildCounterIterativeCalculationSettings--;
}
-buildUnnamed471() {
+buildUnnamed475() {
var o = new core.List<api.DataFilter>();
o.add(buildDataFilter());
o.add(buildDataFilter());
return o;
}
-checkUnnamed471(core.List<api.DataFilter> o) {
+checkUnnamed475(core.List<api.DataFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataFilter(o[0]);
checkDataFilter(o[1]);
@@ -3087,7 +3087,7 @@
var o = new api.MatchedDeveloperMetadata();
buildCounterMatchedDeveloperMetadata++;
if (buildCounterMatchedDeveloperMetadata < 3) {
- o.dataFilters = buildUnnamed471();
+ o.dataFilters = buildUnnamed475();
o.developerMetadata = buildDeveloperMetadata();
}
buildCounterMatchedDeveloperMetadata--;
@@ -3097,20 +3097,20 @@
checkMatchedDeveloperMetadata(api.MatchedDeveloperMetadata o) {
buildCounterMatchedDeveloperMetadata++;
if (buildCounterMatchedDeveloperMetadata < 3) {
- checkUnnamed471(o.dataFilters);
+ checkUnnamed475(o.dataFilters);
checkDeveloperMetadata(o.developerMetadata);
}
buildCounterMatchedDeveloperMetadata--;
}
-buildUnnamed472() {
+buildUnnamed476() {
var o = new core.List<api.DataFilter>();
o.add(buildDataFilter());
o.add(buildDataFilter());
return o;
}
-checkUnnamed472(core.List<api.DataFilter> o) {
+checkUnnamed476(core.List<api.DataFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataFilter(o[0]);
checkDataFilter(o[1]);
@@ -3121,7 +3121,7 @@
var o = new api.MatchedValueRange();
buildCounterMatchedValueRange++;
if (buildCounterMatchedValueRange < 3) {
- o.dataFilters = buildUnnamed472();
+ o.dataFilters = buildUnnamed476();
o.valueRange = buildValueRange();
}
buildCounterMatchedValueRange--;
@@ -3131,7 +3131,7 @@
checkMatchedValueRange(api.MatchedValueRange o) {
buildCounterMatchedValueRange++;
if (buildCounterMatchedValueRange < 3) {
- checkUnnamed472(o.dataFilters);
+ checkUnnamed476(o.dataFilters);
checkValueRange(o.valueRange);
}
buildCounterMatchedValueRange--;
@@ -3358,14 +3358,14 @@
buildCounterPieChartSpec--;
}
-buildUnnamed473() {
+buildUnnamed477() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed473(core.List<core.String> o) {
+checkUnnamed477(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'));
@@ -3376,7 +3376,7 @@
var o = new api.PivotFilterCriteria();
buildCounterPivotFilterCriteria++;
if (buildCounterPivotFilterCriteria < 3) {
- o.visibleValues = buildUnnamed473();
+ o.visibleValues = buildUnnamed477();
}
buildCounterPivotFilterCriteria--;
return o;
@@ -3385,19 +3385,19 @@
checkPivotFilterCriteria(api.PivotFilterCriteria o) {
buildCounterPivotFilterCriteria++;
if (buildCounterPivotFilterCriteria < 3) {
- checkUnnamed473(o.visibleValues);
+ checkUnnamed477(o.visibleValues);
}
buildCounterPivotFilterCriteria--;
}
-buildUnnamed474() {
+buildUnnamed478() {
var o = new core.List<api.PivotGroupValueMetadata>();
o.add(buildPivotGroupValueMetadata());
o.add(buildPivotGroupValueMetadata());
return o;
}
-checkUnnamed474(core.List<api.PivotGroupValueMetadata> o) {
+checkUnnamed478(core.List<api.PivotGroupValueMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroupValueMetadata(o[0]);
checkPivotGroupValueMetadata(o[1]);
@@ -3412,7 +3412,7 @@
o.sortOrder = "foo";
o.sourceColumnOffset = 42;
o.valueBucket = buildPivotGroupSortValueBucket();
- o.valueMetadata = buildUnnamed474();
+ o.valueMetadata = buildUnnamed478();
}
buildCounterPivotGroup--;
return o;
@@ -3425,19 +3425,19 @@
unittest.expect(o.sortOrder, unittest.equals('foo'));
unittest.expect(o.sourceColumnOffset, unittest.equals(42));
checkPivotGroupSortValueBucket(o.valueBucket);
- checkUnnamed474(o.valueMetadata);
+ checkUnnamed478(o.valueMetadata);
}
buildCounterPivotGroup--;
}
-buildUnnamed475() {
+buildUnnamed479() {
var o = new core.List<api.ExtendedValue>();
o.add(buildExtendedValue());
o.add(buildExtendedValue());
return o;
}
-checkUnnamed475(core.List<api.ExtendedValue> o) {
+checkUnnamed479(core.List<api.ExtendedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedValue(o[0]);
checkExtendedValue(o[1]);
@@ -3448,7 +3448,7 @@
var o = new api.PivotGroupSortValueBucket();
buildCounterPivotGroupSortValueBucket++;
if (buildCounterPivotGroupSortValueBucket < 3) {
- o.buckets = buildUnnamed475();
+ o.buckets = buildUnnamed479();
o.valuesIndex = 42;
}
buildCounterPivotGroupSortValueBucket--;
@@ -3458,7 +3458,7 @@
checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) {
buildCounterPivotGroupSortValueBucket++;
if (buildCounterPivotGroupSortValueBucket < 3) {
- checkUnnamed475(o.buckets);
+ checkUnnamed479(o.buckets);
unittest.expect(o.valuesIndex, unittest.equals(42));
}
buildCounterPivotGroupSortValueBucket--;
@@ -3485,53 +3485,53 @@
buildCounterPivotGroupValueMetadata--;
}
-buildUnnamed476() {
+buildUnnamed480() {
var o = new core.List<api.PivotGroup>();
o.add(buildPivotGroup());
o.add(buildPivotGroup());
return o;
}
-checkUnnamed476(core.List<api.PivotGroup> o) {
+checkUnnamed480(core.List<api.PivotGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroup(o[0]);
checkPivotGroup(o[1]);
}
-buildUnnamed477() {
+buildUnnamed481() {
var o = new core.Map<core.String, api.PivotFilterCriteria>();
o["x"] = buildPivotFilterCriteria();
o["y"] = buildPivotFilterCriteria();
return o;
}
-checkUnnamed477(core.Map<core.String, api.PivotFilterCriteria> o) {
+checkUnnamed481(core.Map<core.String, api.PivotFilterCriteria> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotFilterCriteria(o["x"]);
checkPivotFilterCriteria(o["y"]);
}
-buildUnnamed478() {
+buildUnnamed482() {
var o = new core.List<api.PivotGroup>();
o.add(buildPivotGroup());
o.add(buildPivotGroup());
return o;
}
-checkUnnamed478(core.List<api.PivotGroup> o) {
+checkUnnamed482(core.List<api.PivotGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotGroup(o[0]);
checkPivotGroup(o[1]);
}
-buildUnnamed479() {
+buildUnnamed483() {
var o = new core.List<api.PivotValue>();
o.add(buildPivotValue());
o.add(buildPivotValue());
return o;
}
-checkUnnamed479(core.List<api.PivotValue> o) {
+checkUnnamed483(core.List<api.PivotValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotValue(o[0]);
checkPivotValue(o[1]);
@@ -3542,12 +3542,12 @@
var o = new api.PivotTable();
buildCounterPivotTable++;
if (buildCounterPivotTable < 3) {
- o.columns = buildUnnamed476();
- o.criteria = buildUnnamed477();
- o.rows = buildUnnamed478();
+ o.columns = buildUnnamed480();
+ o.criteria = buildUnnamed481();
+ o.rows = buildUnnamed482();
o.source = buildGridRange();
o.valueLayout = "foo";
- o.values = buildUnnamed479();
+ o.values = buildUnnamed483();
}
buildCounterPivotTable--;
return o;
@@ -3556,12 +3556,12 @@
checkPivotTable(api.PivotTable o) {
buildCounterPivotTable++;
if (buildCounterPivotTable < 3) {
- checkUnnamed476(o.columns);
- checkUnnamed477(o.criteria);
- checkUnnamed478(o.rows);
+ checkUnnamed480(o.columns);
+ checkUnnamed481(o.criteria);
+ checkUnnamed482(o.rows);
checkGridRange(o.source);
unittest.expect(o.valueLayout, unittest.equals('foo'));
- checkUnnamed479(o.values);
+ checkUnnamed483(o.values);
}
buildCounterPivotTable--;
}
@@ -3591,14 +3591,14 @@
buildCounterPivotValue--;
}
-buildUnnamed480() {
+buildUnnamed484() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed480(core.List<api.GridRange> o) {
+checkUnnamed484(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
@@ -3615,7 +3615,7 @@
o.protectedRangeId = 42;
o.range = buildGridRange();
o.requestingUserCanEdit = true;
- o.unprotectedRanges = buildUnnamed480();
+ o.unprotectedRanges = buildUnnamed484();
o.warningOnly = true;
}
buildCounterProtectedRange--;
@@ -3631,7 +3631,7 @@
unittest.expect(o.protectedRangeId, unittest.equals(42));
checkGridRange(o.range);
unittest.expect(o.requestingUserCanEdit, unittest.isTrue);
- checkUnnamed480(o.unprotectedRanges);
+ checkUnnamed484(o.unprotectedRanges);
unittest.expect(o.warningOnly, unittest.isTrue);
}
buildCounterProtectedRange--;
@@ -3850,14 +3850,14 @@
buildCounterResponse--;
}
-buildUnnamed481() {
+buildUnnamed485() {
var o = new core.List<api.CellData>();
o.add(buildCellData());
o.add(buildCellData());
return o;
}
-checkUnnamed481(core.List<api.CellData> o) {
+checkUnnamed485(core.List<api.CellData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCellData(o[0]);
checkCellData(o[1]);
@@ -3868,7 +3868,7 @@
var o = new api.RowData();
buildCounterRowData++;
if (buildCounterRowData < 3) {
- o.values = buildUnnamed481();
+ o.values = buildUnnamed485();
}
buildCounterRowData--;
return o;
@@ -3877,19 +3877,19 @@
checkRowData(api.RowData o) {
buildCounterRowData++;
if (buildCounterRowData < 3) {
- checkUnnamed481(o.values);
+ checkUnnamed485(o.values);
}
buildCounterRowData--;
}
-buildUnnamed482() {
+buildUnnamed486() {
var o = new core.List<api.DataFilter>();
o.add(buildDataFilter());
o.add(buildDataFilter());
return o;
}
-checkUnnamed482(core.List<api.DataFilter> o) {
+checkUnnamed486(core.List<api.DataFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataFilter(o[0]);
checkDataFilter(o[1]);
@@ -3900,7 +3900,7 @@
var o = new api.SearchDeveloperMetadataRequest();
buildCounterSearchDeveloperMetadataRequest++;
if (buildCounterSearchDeveloperMetadataRequest < 3) {
- o.dataFilters = buildUnnamed482();
+ o.dataFilters = buildUnnamed486();
}
buildCounterSearchDeveloperMetadataRequest--;
return o;
@@ -3909,19 +3909,19 @@
checkSearchDeveloperMetadataRequest(api.SearchDeveloperMetadataRequest o) {
buildCounterSearchDeveloperMetadataRequest++;
if (buildCounterSearchDeveloperMetadataRequest < 3) {
- checkUnnamed482(o.dataFilters);
+ checkUnnamed486(o.dataFilters);
}
buildCounterSearchDeveloperMetadataRequest--;
}
-buildUnnamed483() {
+buildUnnamed487() {
var o = new core.List<api.MatchedDeveloperMetadata>();
o.add(buildMatchedDeveloperMetadata());
o.add(buildMatchedDeveloperMetadata());
return o;
}
-checkUnnamed483(core.List<api.MatchedDeveloperMetadata> o) {
+checkUnnamed487(core.List<api.MatchedDeveloperMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatchedDeveloperMetadata(o[0]);
checkMatchedDeveloperMetadata(o[1]);
@@ -3932,7 +3932,7 @@
var o = new api.SearchDeveloperMetadataResponse();
buildCounterSearchDeveloperMetadataResponse++;
if (buildCounterSearchDeveloperMetadataResponse < 3) {
- o.matchedDeveloperMetadata = buildUnnamed483();
+ o.matchedDeveloperMetadata = buildUnnamed487();
}
buildCounterSearchDeveloperMetadataResponse--;
return o;
@@ -3941,7 +3941,7 @@
checkSearchDeveloperMetadataResponse(api.SearchDeveloperMetadataResponse o) {
buildCounterSearchDeveloperMetadataResponse++;
if (buildCounterSearchDeveloperMetadataResponse < 3) {
- checkUnnamed483(o.matchedDeveloperMetadata);
+ checkUnnamed487(o.matchedDeveloperMetadata);
}
buildCounterSearchDeveloperMetadataResponse--;
}
@@ -3986,105 +3986,105 @@
buildCounterSetDataValidationRequest--;
}
-buildUnnamed484() {
+buildUnnamed488() {
var o = new core.List<api.BandedRange>();
o.add(buildBandedRange());
o.add(buildBandedRange());
return o;
}
-checkUnnamed484(core.List<api.BandedRange> o) {
+checkUnnamed488(core.List<api.BandedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkBandedRange(o[0]);
checkBandedRange(o[1]);
}
-buildUnnamed485() {
+buildUnnamed489() {
var o = new core.List<api.EmbeddedChart>();
o.add(buildEmbeddedChart());
o.add(buildEmbeddedChart());
return o;
}
-checkUnnamed485(core.List<api.EmbeddedChart> o) {
+checkUnnamed489(core.List<api.EmbeddedChart> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmbeddedChart(o[0]);
checkEmbeddedChart(o[1]);
}
-buildUnnamed486() {
+buildUnnamed490() {
var o = new core.List<api.ConditionalFormatRule>();
o.add(buildConditionalFormatRule());
o.add(buildConditionalFormatRule());
return o;
}
-checkUnnamed486(core.List<api.ConditionalFormatRule> o) {
+checkUnnamed490(core.List<api.ConditionalFormatRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkConditionalFormatRule(o[0]);
checkConditionalFormatRule(o[1]);
}
-buildUnnamed487() {
+buildUnnamed491() {
var o = new core.List<api.GridData>();
o.add(buildGridData());
o.add(buildGridData());
return o;
}
-checkUnnamed487(core.List<api.GridData> o) {
+checkUnnamed491(core.List<api.GridData> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridData(o[0]);
checkGridData(o[1]);
}
-buildUnnamed488() {
+buildUnnamed492() {
var o = new core.List<api.DeveloperMetadata>();
o.add(buildDeveloperMetadata());
o.add(buildDeveloperMetadata());
return o;
}
-checkUnnamed488(core.List<api.DeveloperMetadata> o) {
+checkUnnamed492(core.List<api.DeveloperMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeveloperMetadata(o[0]);
checkDeveloperMetadata(o[1]);
}
-buildUnnamed489() {
+buildUnnamed493() {
var o = new core.List<api.FilterView>();
o.add(buildFilterView());
o.add(buildFilterView());
return o;
}
-checkUnnamed489(core.List<api.FilterView> o) {
+checkUnnamed493(core.List<api.FilterView> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterView(o[0]);
checkFilterView(o[1]);
}
-buildUnnamed490() {
+buildUnnamed494() {
var o = new core.List<api.GridRange>();
o.add(buildGridRange());
o.add(buildGridRange());
return o;
}
-checkUnnamed490(core.List<api.GridRange> o) {
+checkUnnamed494(core.List<api.GridRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkGridRange(o[0]);
checkGridRange(o[1]);
}
-buildUnnamed491() {
+buildUnnamed495() {
var o = new core.List<api.ProtectedRange>();
o.add(buildProtectedRange());
o.add(buildProtectedRange());
return o;
}
-checkUnnamed491(core.List<api.ProtectedRange> o) {
+checkUnnamed495(core.List<api.ProtectedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkProtectedRange(o[0]);
checkProtectedRange(o[1]);
@@ -4095,16 +4095,16 @@
var o = new api.Sheet();
buildCounterSheet++;
if (buildCounterSheet < 3) {
- o.bandedRanges = buildUnnamed484();
+ o.bandedRanges = buildUnnamed488();
o.basicFilter = buildBasicFilter();
- o.charts = buildUnnamed485();
- o.conditionalFormats = buildUnnamed486();
- o.data = buildUnnamed487();
- o.developerMetadata = buildUnnamed488();
- o.filterViews = buildUnnamed489();
- o.merges = buildUnnamed490();
+ o.charts = buildUnnamed489();
+ o.conditionalFormats = buildUnnamed490();
+ o.data = buildUnnamed491();
+ o.developerMetadata = buildUnnamed492();
+ o.filterViews = buildUnnamed493();
+ o.merges = buildUnnamed494();
o.properties = buildSheetProperties();
- o.protectedRanges = buildUnnamed491();
+ o.protectedRanges = buildUnnamed495();
}
buildCounterSheet--;
return o;
@@ -4113,16 +4113,16 @@
checkSheet(api.Sheet o) {
buildCounterSheet++;
if (buildCounterSheet < 3) {
- checkUnnamed484(o.bandedRanges);
+ checkUnnamed488(o.bandedRanges);
checkBasicFilter(o.basicFilter);
- checkUnnamed485(o.charts);
- checkUnnamed486(o.conditionalFormats);
- checkUnnamed487(o.data);
- checkUnnamed488(o.developerMetadata);
- checkUnnamed489(o.filterViews);
- checkUnnamed490(o.merges);
+ checkUnnamed489(o.charts);
+ checkUnnamed490(o.conditionalFormats);
+ checkUnnamed491(o.data);
+ checkUnnamed492(o.developerMetadata);
+ checkUnnamed493(o.filterViews);
+ checkUnnamed494(o.merges);
checkSheetProperties(o.properties);
- checkUnnamed491(o.protectedRanges);
+ checkUnnamed495(o.protectedRanges);
}
buildCounterSheet--;
}
@@ -4160,14 +4160,14 @@
buildCounterSheetProperties--;
}
-buildUnnamed492() {
+buildUnnamed496() {
var o = new core.List<api.SortSpec>();
o.add(buildSortSpec());
o.add(buildSortSpec());
return o;
}
-checkUnnamed492(core.List<api.SortSpec> o) {
+checkUnnamed496(core.List<api.SortSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortSpec(o[0]);
checkSortSpec(o[1]);
@@ -4179,7 +4179,7 @@
buildCounterSortRangeRequest++;
if (buildCounterSortRangeRequest < 3) {
o.range = buildGridRange();
- o.sortSpecs = buildUnnamed492();
+ o.sortSpecs = buildUnnamed496();
}
buildCounterSortRangeRequest--;
return o;
@@ -4189,7 +4189,7 @@
buildCounterSortRangeRequest++;
if (buildCounterSortRangeRequest < 3) {
checkGridRange(o.range);
- checkUnnamed492(o.sortSpecs);
+ checkUnnamed496(o.sortSpecs);
}
buildCounterSortRangeRequest--;
}
@@ -4238,40 +4238,40 @@
buildCounterSourceAndDestination--;
}
-buildUnnamed493() {
+buildUnnamed497() {
var o = new core.List<api.DeveloperMetadata>();
o.add(buildDeveloperMetadata());
o.add(buildDeveloperMetadata());
return o;
}
-checkUnnamed493(core.List<api.DeveloperMetadata> o) {
+checkUnnamed497(core.List<api.DeveloperMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeveloperMetadata(o[0]);
checkDeveloperMetadata(o[1]);
}
-buildUnnamed494() {
+buildUnnamed498() {
var o = new core.List<api.NamedRange>();
o.add(buildNamedRange());
o.add(buildNamedRange());
return o;
}
-checkUnnamed494(core.List<api.NamedRange> o) {
+checkUnnamed498(core.List<api.NamedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedRange(o[0]);
checkNamedRange(o[1]);
}
-buildUnnamed495() {
+buildUnnamed499() {
var o = new core.List<api.Sheet>();
o.add(buildSheet());
o.add(buildSheet());
return o;
}
-checkUnnamed495(core.List<api.Sheet> o) {
+checkUnnamed499(core.List<api.Sheet> o) {
unittest.expect(o, unittest.hasLength(2));
checkSheet(o[0]);
checkSheet(o[1]);
@@ -4282,10 +4282,10 @@
var o = new api.Spreadsheet();
buildCounterSpreadsheet++;
if (buildCounterSpreadsheet < 3) {
- o.developerMetadata = buildUnnamed493();
- o.namedRanges = buildUnnamed494();
+ o.developerMetadata = buildUnnamed497();
+ o.namedRanges = buildUnnamed498();
o.properties = buildSpreadsheetProperties();
- o.sheets = buildUnnamed495();
+ o.sheets = buildUnnamed499();
o.spreadsheetId = "foo";
o.spreadsheetUrl = "foo";
}
@@ -4296,10 +4296,10 @@
checkSpreadsheet(api.Spreadsheet o) {
buildCounterSpreadsheet++;
if (buildCounterSpreadsheet < 3) {
- checkUnnamed493(o.developerMetadata);
- checkUnnamed494(o.namedRanges);
+ checkUnnamed497(o.developerMetadata);
+ checkUnnamed498(o.namedRanges);
checkSpreadsheetProperties(o.properties);
- checkUnnamed495(o.sheets);
+ checkUnnamed499(o.sheets);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
unittest.expect(o.spreadsheetUrl, unittest.equals('foo'));
}
@@ -4521,14 +4521,14 @@
buildCounterUpdateBordersRequest--;
}
-buildUnnamed496() {
+buildUnnamed500() {
var o = new core.List<api.RowData>();
o.add(buildRowData());
o.add(buildRowData());
return o;
}
-checkUnnamed496(core.List<api.RowData> o) {
+checkUnnamed500(core.List<api.RowData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowData(o[0]);
checkRowData(o[1]);
@@ -4541,7 +4541,7 @@
if (buildCounterUpdateCellsRequest < 3) {
o.fields = "foo";
o.range = buildGridRange();
- o.rows = buildUnnamed496();
+ o.rows = buildUnnamed500();
o.start = buildGridCoordinate();
}
buildCounterUpdateCellsRequest--;
@@ -4553,7 +4553,7 @@
if (buildCounterUpdateCellsRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
checkGridRange(o.range);
- checkUnnamed496(o.rows);
+ checkUnnamed500(o.rows);
checkGridCoordinate(o.start);
}
buildCounterUpdateCellsRequest--;
@@ -4632,14 +4632,14 @@
buildCounterUpdateConditionalFormatRuleResponse--;
}
-buildUnnamed497() {
+buildUnnamed501() {
var o = new core.List<api.DataFilter>();
o.add(buildDataFilter());
o.add(buildDataFilter());
return o;
}
-checkUnnamed497(core.List<api.DataFilter> o) {
+checkUnnamed501(core.List<api.DataFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataFilter(o[0]);
checkDataFilter(o[1]);
@@ -4650,7 +4650,7 @@
var o = new api.UpdateDeveloperMetadataRequest();
buildCounterUpdateDeveloperMetadataRequest++;
if (buildCounterUpdateDeveloperMetadataRequest < 3) {
- o.dataFilters = buildUnnamed497();
+ o.dataFilters = buildUnnamed501();
o.developerMetadata = buildDeveloperMetadata();
o.fields = "foo";
}
@@ -4661,21 +4661,21 @@
checkUpdateDeveloperMetadataRequest(api.UpdateDeveloperMetadataRequest o) {
buildCounterUpdateDeveloperMetadataRequest++;
if (buildCounterUpdateDeveloperMetadataRequest < 3) {
- checkUnnamed497(o.dataFilters);
+ checkUnnamed501(o.dataFilters);
checkDeveloperMetadata(o.developerMetadata);
unittest.expect(o.fields, unittest.equals('foo'));
}
buildCounterUpdateDeveloperMetadataRequest--;
}
-buildUnnamed498() {
+buildUnnamed502() {
var o = new core.List<api.DeveloperMetadata>();
o.add(buildDeveloperMetadata());
o.add(buildDeveloperMetadata());
return o;
}
-checkUnnamed498(core.List<api.DeveloperMetadata> o) {
+checkUnnamed502(core.List<api.DeveloperMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeveloperMetadata(o[0]);
checkDeveloperMetadata(o[1]);
@@ -4686,7 +4686,7 @@
var o = new api.UpdateDeveloperMetadataResponse();
buildCounterUpdateDeveloperMetadataResponse++;
if (buildCounterUpdateDeveloperMetadataResponse < 3) {
- o.developerMetadata = buildUnnamed498();
+ o.developerMetadata = buildUnnamed502();
}
buildCounterUpdateDeveloperMetadataResponse--;
return o;
@@ -4695,7 +4695,7 @@
checkUpdateDeveloperMetadataResponse(api.UpdateDeveloperMetadataResponse o) {
buildCounterUpdateDeveloperMetadataResponse++;
if (buildCounterUpdateDeveloperMetadataResponse < 3) {
- checkUnnamed498(o.developerMetadata);
+ checkUnnamed502(o.developerMetadata);
}
buildCounterUpdateDeveloperMetadataResponse--;
}
@@ -4931,7 +4931,7 @@
buildCounterUpdateValuesResponse--;
}
-buildUnnamed499() {
+buildUnnamed503() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -4946,7 +4946,7 @@
return o;
}
-checkUnnamed499(core.List<core.Object> o) {
+checkUnnamed503(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -4960,17 +4960,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed500() {
+buildUnnamed504() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed499());
- o.add(buildUnnamed499());
+ o.add(buildUnnamed503());
+ o.add(buildUnnamed503());
return o;
}
-checkUnnamed500(core.List<core.List<core.Object>> o) {
+checkUnnamed504(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed499(o[0]);
- checkUnnamed499(o[1]);
+ checkUnnamed503(o[0]);
+ checkUnnamed503(o[1]);
}
core.int buildCounterValueRange = 0;
@@ -4980,7 +4980,7 @@
if (buildCounterValueRange < 3) {
o.majorDimension = "foo";
o.range = "foo";
- o.values = buildUnnamed500();
+ o.values = buildUnnamed504();
}
buildCounterValueRange--;
return o;
@@ -4991,32 +4991,32 @@
if (buildCounterValueRange < 3) {
unittest.expect(o.majorDimension, unittest.equals('foo'));
unittest.expect(o.range, unittest.equals('foo'));
- checkUnnamed500(o.values);
+ checkUnnamed504(o.values);
}
buildCounterValueRange--;
}
-buildUnnamed501() {
+buildUnnamed505() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed501(core.List<core.String> o) {
+checkUnnamed505(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'));
}
-buildUnnamed502() {
+buildUnnamed506() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed502(core.List<core.String> o) {
+checkUnnamed506(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'));
@@ -6486,8 +6486,8 @@
var mock = new HttpServerMock();
api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets;
var arg_spreadsheetId = "foo";
+ var arg_ranges = buildUnnamed505();
var arg_includeGridData = true;
- var arg_ranges = buildUnnamed501();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6522,9 +6522,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
unittest.expect(queryMap["includeGridData"].first,
unittest.equals("$arg_includeGridData"));
- unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6535,8 +6535,8 @@
}), true);
res
.get(arg_spreadsheetId,
- includeGridData: arg_includeGridData,
ranges: arg_ranges,
+ includeGridData: arg_includeGridData,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Spreadsheet response) {
checkSpreadsheet(response);
@@ -6822,11 +6822,11 @@
var arg_request = buildValueRange();
var arg_spreadsheetId = "foo";
var arg_range = "foo";
- var arg_includeValuesInResponse = true;
var arg_responseValueRenderOption = "foo";
var arg_insertDataOption = "foo";
var arg_valueInputOption = "foo";
var arg_responseDateTimeRenderOption = "foo";
+ var arg_includeValuesInResponse = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ValueRange.fromJson(json);
@@ -6879,8 +6879,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["includeValuesInResponse"].first,
- unittest.equals("$arg_includeValuesInResponse"));
unittest.expect(queryMap["responseValueRenderOption"].first,
unittest.equals(arg_responseValueRenderOption));
unittest.expect(queryMap["insertDataOption"].first,
@@ -6889,6 +6887,8 @@
unittest.equals(arg_valueInputOption));
unittest.expect(queryMap["responseDateTimeRenderOption"].first,
unittest.equals(arg_responseDateTimeRenderOption));
+ unittest.expect(queryMap["includeValuesInResponse"].first,
+ unittest.equals("$arg_includeValuesInResponse"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6899,11 +6899,11 @@
}), true);
res
.append(arg_request, arg_spreadsheetId, arg_range,
- includeValuesInResponse: arg_includeValuesInResponse,
responseValueRenderOption: arg_responseValueRenderOption,
insertDataOption: arg_insertDataOption,
valueInputOption: arg_valueInputOption,
responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
+ includeValuesInResponse: arg_includeValuesInResponse,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.AppendValuesResponse response) {
checkAppendValuesResponse(response);
@@ -7046,10 +7046,10 @@
api.SpreadsheetsValuesResourceApi res =
new api.SheetsApi(mock).spreadsheets.values;
var arg_spreadsheetId = "foo";
- var arg_dateTimeRenderOption = "foo";
- var arg_valueRenderOption = "foo";
+ var arg_ranges = buildUnnamed506();
var arg_majorDimension = "foo";
- var arg_ranges = buildUnnamed502();
+ var arg_valueRenderOption = "foo";
+ var arg_dateTimeRenderOption = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7090,13 +7090,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["dateTimeRenderOption"].first,
- unittest.equals(arg_dateTimeRenderOption));
- unittest.expect(queryMap["valueRenderOption"].first,
- unittest.equals(arg_valueRenderOption));
+ unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
unittest.expect(queryMap["majorDimension"].first,
unittest.equals(arg_majorDimension));
- unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
+ unittest.expect(queryMap["valueRenderOption"].first,
+ unittest.equals(arg_valueRenderOption));
+ unittest.expect(queryMap["dateTimeRenderOption"].first,
+ unittest.equals(arg_dateTimeRenderOption));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7107,10 +7107,10 @@
}), true);
res
.batchGet(arg_spreadsheetId,
- dateTimeRenderOption: arg_dateTimeRenderOption,
- valueRenderOption: arg_valueRenderOption,
- majorDimension: arg_majorDimension,
ranges: arg_ranges,
+ majorDimension: arg_majorDimension,
+ valueRenderOption: arg_valueRenderOption,
+ dateTimeRenderOption: arg_dateTimeRenderOption,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.BatchGetValuesResponse response) {
checkBatchGetValuesResponse(response);
@@ -7397,9 +7397,9 @@
new api.SheetsApi(mock).spreadsheets.values;
var arg_spreadsheetId = "foo";
var arg_range = "foo";
- var arg_majorDimension = "foo";
- var arg_dateTimeRenderOption = "foo";
var arg_valueRenderOption = "foo";
+ var arg_dateTimeRenderOption = "foo";
+ var arg_majorDimension = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7443,12 +7443,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["majorDimension"].first,
- unittest.equals(arg_majorDimension));
- unittest.expect(queryMap["dateTimeRenderOption"].first,
- unittest.equals(arg_dateTimeRenderOption));
unittest.expect(queryMap["valueRenderOption"].first,
unittest.equals(arg_valueRenderOption));
+ unittest.expect(queryMap["dateTimeRenderOption"].first,
+ unittest.equals(arg_dateTimeRenderOption));
+ unittest.expect(queryMap["majorDimension"].first,
+ unittest.equals(arg_majorDimension));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7459,9 +7459,9 @@
}), true);
res
.get(arg_spreadsheetId, arg_range,
- majorDimension: arg_majorDimension,
- dateTimeRenderOption: arg_dateTimeRenderOption,
valueRenderOption: arg_valueRenderOption,
+ dateTimeRenderOption: arg_dateTimeRenderOption,
+ majorDimension: arg_majorDimension,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ValueRange response) {
checkValueRange(response);
@@ -7475,10 +7475,10 @@
var arg_request = buildValueRange();
var arg_spreadsheetId = "foo";
var arg_range = "foo";
- var arg_valueInputOption = "foo";
- var arg_responseDateTimeRenderOption = "foo";
var arg_includeValuesInResponse = true;
var arg_responseValueRenderOption = "foo";
+ var arg_valueInputOption = "foo";
+ var arg_responseDateTimeRenderOption = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ValueRange.fromJson(json);
@@ -7525,14 +7525,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["valueInputOption"].first,
- unittest.equals(arg_valueInputOption));
- unittest.expect(queryMap["responseDateTimeRenderOption"].first,
- unittest.equals(arg_responseDateTimeRenderOption));
unittest.expect(queryMap["includeValuesInResponse"].first,
unittest.equals("$arg_includeValuesInResponse"));
unittest.expect(queryMap["responseValueRenderOption"].first,
unittest.equals(arg_responseValueRenderOption));
+ unittest.expect(queryMap["valueInputOption"].first,
+ unittest.equals(arg_valueInputOption));
+ unittest.expect(queryMap["responseDateTimeRenderOption"].first,
+ unittest.equals(arg_responseDateTimeRenderOption));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7543,10 +7543,10 @@
}), true);
res
.update(arg_request, arg_spreadsheetId, arg_range,
- valueInputOption: arg_valueInputOption,
- responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
includeValuesInResponse: arg_includeValuesInResponse,
responseValueRenderOption: arg_responseValueRenderOption,
+ valueInputOption: arg_valueInputOption,
+ responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.UpdateValuesResponse response) {
checkUpdateValuesResponse(response);
diff --git a/generated/googleapis/test/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart
index 08d12e5..ff85f2e 100644
--- a/generated/googleapis/test/siteverification/v1_test.dart
+++ b/generated/googleapis/test/siteverification/v1_test.dart
@@ -116,14 +116,14 @@
buildCounterSiteVerificationWebResourceGettokenResponse--;
}
-buildUnnamed145() {
+buildUnnamed149() {
var o = new core.List<api.SiteVerificationWebResourceResource>();
o.add(buildSiteVerificationWebResourceResource());
o.add(buildSiteVerificationWebResourceResource());
return o;
}
-checkUnnamed145(core.List<api.SiteVerificationWebResourceResource> o) {
+checkUnnamed149(core.List<api.SiteVerificationWebResourceResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteVerificationWebResourceResource(o[0]);
checkSiteVerificationWebResourceResource(o[1]);
@@ -134,7 +134,7 @@
var o = new api.SiteVerificationWebResourceListResponse();
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- o.items = buildUnnamed145();
+ o.items = buildUnnamed149();
}
buildCounterSiteVerificationWebResourceListResponse--;
return o;
@@ -144,19 +144,19 @@
api.SiteVerificationWebResourceListResponse o) {
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- checkUnnamed145(o.items);
+ checkUnnamed149(o.items);
}
buildCounterSiteVerificationWebResourceListResponse--;
}
-buildUnnamed146() {
+buildUnnamed150() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed146(core.List<core.String> o) {
+checkUnnamed150(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'));
@@ -190,7 +190,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
o.id = "foo";
- o.owners = buildUnnamed146();
+ o.owners = buildUnnamed150();
o.site = buildSiteVerificationWebResourceResourceSite();
}
buildCounterSiteVerificationWebResourceResource--;
@@ -202,7 +202,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed146(o.owners);
+ checkUnnamed150(o.owners);
checkSiteVerificationWebResourceResourceSite(o.site);
}
buildCounterSiteVerificationWebResourceResource--;
diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart
index 07b9234..42af58d 100644
--- a/generated/googleapis/test/slides/v1_test.dart
+++ b/generated/googleapis/test/slides/v1_test.dart
@@ -104,14 +104,14 @@
buildCounterAutoText--;
}
-buildUnnamed1773() {
+buildUnnamed1780() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed1773(core.List<api.Request> o) {
+checkUnnamed1780(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
@@ -122,7 +122,7 @@
var o = new api.BatchUpdatePresentationRequest();
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- o.requests = buildUnnamed1773();
+ o.requests = buildUnnamed1780();
o.writeControl = buildWriteControl();
}
buildCounterBatchUpdatePresentationRequest--;
@@ -132,20 +132,20 @@
checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- checkUnnamed1773(o.requests);
+ checkUnnamed1780(o.requests);
checkWriteControl(o.writeControl);
}
buildCounterBatchUpdatePresentationRequest--;
}
-buildUnnamed1774() {
+buildUnnamed1781() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed1774(core.List<api.Response> o) {
+checkUnnamed1781(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -157,7 +157,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
o.presentationId = "foo";
- o.replies = buildUnnamed1774();
+ o.replies = buildUnnamed1781();
}
buildCounterBatchUpdatePresentationResponse--;
return o;
@@ -167,7 +167,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed1774(o.replies);
+ checkUnnamed1781(o.replies);
}
buildCounterBatchUpdatePresentationResponse--;
}
@@ -197,14 +197,14 @@
buildCounterBullet--;
}
-buildUnnamed1775() {
+buildUnnamed1782() {
var o = new core.List<api.ThemeColorPair>();
o.add(buildThemeColorPair());
o.add(buildThemeColorPair());
return o;
}
-checkUnnamed1775(core.List<api.ThemeColorPair> o) {
+checkUnnamed1782(core.List<api.ThemeColorPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkThemeColorPair(o[0]);
checkThemeColorPair(o[1]);
@@ -215,7 +215,7 @@
var o = new api.ColorScheme();
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- o.colors = buildUnnamed1775();
+ o.colors = buildUnnamed1782();
}
buildCounterColorScheme--;
return o;
@@ -224,7 +224,7 @@
checkColorScheme(api.ColorScheme o) {
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- checkUnnamed1775(o.colors);
+ checkUnnamed1782(o.colors);
}
buildCounterColorScheme--;
}
@@ -449,14 +449,14 @@
buildCounterCreateSheetsChartResponse--;
}
-buildUnnamed1776() {
+buildUnnamed1783() {
var o = new core.List<api.LayoutPlaceholderIdMapping>();
o.add(buildLayoutPlaceholderIdMapping());
o.add(buildLayoutPlaceholderIdMapping());
return o;
}
-checkUnnamed1776(core.List<api.LayoutPlaceholderIdMapping> o) {
+checkUnnamed1783(core.List<api.LayoutPlaceholderIdMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayoutPlaceholderIdMapping(o[0]);
checkLayoutPlaceholderIdMapping(o[1]);
@@ -469,7 +469,7 @@
if (buildCounterCreateSlideRequest < 3) {
o.insertionIndex = 42;
o.objectId = "foo";
- o.placeholderIdMappings = buildUnnamed1776();
+ o.placeholderIdMappings = buildUnnamed1783();
o.slideLayoutReference = buildLayoutReference();
}
buildCounterCreateSlideRequest--;
@@ -481,7 +481,7 @@
if (buildCounterCreateSlideRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1776(o.placeholderIdMappings);
+ checkUnnamed1783(o.placeholderIdMappings);
checkLayoutReference(o.slideLayoutReference);
}
buildCounterCreateSlideRequest--;
@@ -749,14 +749,14 @@
buildCounterDimension--;
}
-buildUnnamed1777() {
+buildUnnamed1784() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1777(core.Map<core.String, core.String> o) {
+checkUnnamed1784(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -768,7 +768,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
o.objectId = "foo";
- o.objectIds = buildUnnamed1777();
+ o.objectIds = buildUnnamed1784();
}
buildCounterDuplicateObjectRequest--;
return o;
@@ -778,7 +778,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1777(o.objectIds);
+ checkUnnamed1784(o.objectIds);
}
buildCounterDuplicateObjectRequest--;
}
@@ -802,14 +802,14 @@
buildCounterDuplicateObjectResponse--;
}
-buildUnnamed1778() {
+buildUnnamed1785() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1778(core.List<api.PageElement> o) {
+checkUnnamed1785(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -820,7 +820,7 @@
var o = new api.Group();
buildCounterGroup++;
if (buildCounterGroup < 3) {
- o.children = buildUnnamed1778();
+ o.children = buildUnnamed1785();
}
buildCounterGroup--;
return o;
@@ -829,19 +829,19 @@
checkGroup(api.Group o) {
buildCounterGroup++;
if (buildCounterGroup < 3) {
- checkUnnamed1778(o.children);
+ checkUnnamed1785(o.children);
}
buildCounterGroup--;
}
-buildUnnamed1779() {
+buildUnnamed1786() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1779(core.List<core.String> o) {
+checkUnnamed1786(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'));
@@ -852,7 +852,7 @@
var o = new api.GroupObjectsRequest();
buildCounterGroupObjectsRequest++;
if (buildCounterGroupObjectsRequest < 3) {
- o.childrenObjectIds = buildUnnamed1779();
+ o.childrenObjectIds = buildUnnamed1786();
o.groupObjectId = "foo";
}
buildCounterGroupObjectsRequest--;
@@ -862,7 +862,7 @@
checkGroupObjectsRequest(api.GroupObjectsRequest o) {
buildCounterGroupObjectsRequest++;
if (buildCounterGroupObjectsRequest < 3) {
- checkUnnamed1779(o.childrenObjectIds);
+ checkUnnamed1786(o.childrenObjectIds);
unittest.expect(o.groupObjectId, unittest.equals('foo'));
}
buildCounterGroupObjectsRequest--;
@@ -1177,14 +1177,14 @@
buildCounterLink--;
}
-buildUnnamed1780() {
+buildUnnamed1787() {
var o = new core.Map<core.String, api.NestingLevel>();
o["x"] = buildNestingLevel();
o["y"] = buildNestingLevel();
return o;
}
-checkUnnamed1780(core.Map<core.String, api.NestingLevel> o) {
+checkUnnamed1787(core.Map<core.String, api.NestingLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevel(o["x"]);
checkNestingLevel(o["y"]);
@@ -1196,7 +1196,7 @@
buildCounterList++;
if (buildCounterList < 3) {
o.listId = "foo";
- o.nestingLevel = buildUnnamed1780();
+ o.nestingLevel = buildUnnamed1787();
}
buildCounterList--;
return o;
@@ -1206,7 +1206,7 @@
buildCounterList++;
if (buildCounterList < 3) {
unittest.expect(o.listId, unittest.equals('foo'));
- checkUnnamed1780(o.nestingLevel);
+ checkUnnamed1787(o.nestingLevel);
}
buildCounterList--;
}
@@ -1373,14 +1373,14 @@
buildCounterOutlineFill--;
}
-buildUnnamed1781() {
+buildUnnamed1788() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1781(core.List<api.PageElement> o) {
+checkUnnamed1788(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -1395,7 +1395,7 @@
o.masterProperties = buildMasterProperties();
o.notesProperties = buildNotesProperties();
o.objectId = "foo";
- o.pageElements = buildUnnamed1781();
+ o.pageElements = buildUnnamed1788();
o.pageProperties = buildPageProperties();
o.pageType = "foo";
o.revisionId = "foo";
@@ -1412,7 +1412,7 @@
checkMasterProperties(o.masterProperties);
checkNotesProperties(o.notesProperties);
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1781(o.pageElements);
+ checkUnnamed1788(o.pageElements);
checkPageProperties(o.pageProperties);
unittest.expect(o.pageType, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
@@ -1610,40 +1610,40 @@
buildCounterPlaceholder--;
}
-buildUnnamed1782() {
+buildUnnamed1789() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1782(core.List<api.Page> o) {
+checkUnnamed1789(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1783() {
+buildUnnamed1790() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1783(core.List<api.Page> o) {
+checkUnnamed1790(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1784() {
+buildUnnamed1791() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1784(core.List<api.Page> o) {
+checkUnnamed1791(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1654,14 +1654,14 @@
var o = new api.Presentation();
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- o.layouts = buildUnnamed1782();
+ o.layouts = buildUnnamed1789();
o.locale = "foo";
- o.masters = buildUnnamed1783();
+ o.masters = buildUnnamed1790();
o.notesMaster = buildPage();
o.pageSize = buildSize();
o.presentationId = "foo";
o.revisionId = "foo";
- o.slides = buildUnnamed1784();
+ o.slides = buildUnnamed1791();
o.title = "foo";
}
buildCounterPresentation--;
@@ -1671,14 +1671,14 @@
checkPresentation(api.Presentation o) {
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- checkUnnamed1782(o.layouts);
+ checkUnnamed1789(o.layouts);
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1783(o.masters);
+ checkUnnamed1790(o.masters);
checkPage(o.notesMaster);
checkSize(o.pageSize);
unittest.expect(o.presentationId, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
- checkUnnamed1784(o.slides);
+ checkUnnamed1791(o.slides);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterPresentation--;
@@ -1707,14 +1707,14 @@
buildCounterRange--;
}
-buildUnnamed1785() {
+buildUnnamed1792() {
var o = new core.List<api.ColorStop>();
o.add(buildColorStop());
o.add(buildColorStop());
return o;
}
-checkUnnamed1785(core.List<api.ColorStop> o) {
+checkUnnamed1792(core.List<api.ColorStop> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorStop(o[0]);
checkColorStop(o[1]);
@@ -1726,7 +1726,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
o.name = "foo";
- o.recolorStops = buildUnnamed1785();
+ o.recolorStops = buildUnnamed1792();
}
buildCounterRecolor--;
return o;
@@ -1736,7 +1736,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1785(o.recolorStops);
+ checkUnnamed1792(o.recolorStops);
}
buildCounterRecolor--;
}
@@ -1760,14 +1760,14 @@
buildCounterRefreshSheetsChartRequest--;
}
-buildUnnamed1786() {
+buildUnnamed1793() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1786(core.List<core.String> o) {
+checkUnnamed1793(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'));
@@ -1780,7 +1780,7 @@
if (buildCounterReplaceAllShapesWithImageRequest < 3) {
o.containsText = buildSubstringMatchCriteria();
o.imageUrl = "foo";
- o.pageObjectIds = buildUnnamed1786();
+ o.pageObjectIds = buildUnnamed1793();
o.replaceMethod = "foo";
}
buildCounterReplaceAllShapesWithImageRequest--;
@@ -1792,7 +1792,7 @@
if (buildCounterReplaceAllShapesWithImageRequest < 3) {
checkSubstringMatchCriteria(o.containsText);
unittest.expect(o.imageUrl, unittest.equals('foo'));
- checkUnnamed1786(o.pageObjectIds);
+ checkUnnamed1793(o.pageObjectIds);
unittest.expect(o.replaceMethod, unittest.equals('foo'));
}
buildCounterReplaceAllShapesWithImageRequest--;
@@ -1818,14 +1818,14 @@
buildCounterReplaceAllShapesWithImageResponse--;
}
-buildUnnamed1787() {
+buildUnnamed1794() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1787(core.List<core.String> o) {
+checkUnnamed1794(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'));
@@ -1839,7 +1839,7 @@
o.chartId = 42;
o.containsText = buildSubstringMatchCriteria();
o.linkingMode = "foo";
- o.pageObjectIds = buildUnnamed1787();
+ o.pageObjectIds = buildUnnamed1794();
o.spreadsheetId = "foo";
}
buildCounterReplaceAllShapesWithSheetsChartRequest--;
@@ -1853,7 +1853,7 @@
unittest.expect(o.chartId, unittest.equals(42));
checkSubstringMatchCriteria(o.containsText);
unittest.expect(o.linkingMode, unittest.equals('foo'));
- checkUnnamed1787(o.pageObjectIds);
+ checkUnnamed1794(o.pageObjectIds);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
}
buildCounterReplaceAllShapesWithSheetsChartRequest--;
@@ -1879,14 +1879,14 @@
buildCounterReplaceAllShapesWithSheetsChartResponse--;
}
-buildUnnamed1788() {
+buildUnnamed1795() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1788(core.List<core.String> o) {
+checkUnnamed1795(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'));
@@ -1898,7 +1898,7 @@
buildCounterReplaceAllTextRequest++;
if (buildCounterReplaceAllTextRequest < 3) {
o.containsText = buildSubstringMatchCriteria();
- o.pageObjectIds = buildUnnamed1788();
+ o.pageObjectIds = buildUnnamed1795();
o.replaceText = "foo";
}
buildCounterReplaceAllTextRequest--;
@@ -1909,7 +1909,7 @@
buildCounterReplaceAllTextRequest++;
if (buildCounterReplaceAllTextRequest < 3) {
checkSubstringMatchCriteria(o.containsText);
- checkUnnamed1788(o.pageObjectIds);
+ checkUnnamed1795(o.pageObjectIds);
unittest.expect(o.replaceText, unittest.equals('foo'));
}
buildCounterReplaceAllTextRequest--;
@@ -2350,53 +2350,53 @@
buildCounterSubstringMatchCriteria--;
}
-buildUnnamed1789() {
+buildUnnamed1796() {
var o = new core.List<api.TableBorderRow>();
o.add(buildTableBorderRow());
o.add(buildTableBorderRow());
return o;
}
-checkUnnamed1789(core.List<api.TableBorderRow> o) {
+checkUnnamed1796(core.List<api.TableBorderRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderRow(o[0]);
checkTableBorderRow(o[1]);
}
-buildUnnamed1790() {
+buildUnnamed1797() {
var o = new core.List<api.TableColumnProperties>();
o.add(buildTableColumnProperties());
o.add(buildTableColumnProperties());
return o;
}
-checkUnnamed1790(core.List<api.TableColumnProperties> o) {
+checkUnnamed1797(core.List<api.TableColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableColumnProperties(o[0]);
checkTableColumnProperties(o[1]);
}
-buildUnnamed1791() {
+buildUnnamed1798() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1791(core.List<api.TableRow> o) {
+checkUnnamed1798(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
}
-buildUnnamed1792() {
+buildUnnamed1799() {
var o = new core.List<api.TableBorderRow>();
o.add(buildTableBorderRow());
o.add(buildTableBorderRow());
return o;
}
-checkUnnamed1792(core.List<api.TableBorderRow> o) {
+checkUnnamed1799(core.List<api.TableBorderRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderRow(o[0]);
checkTableBorderRow(o[1]);
@@ -2408,11 +2408,11 @@
buildCounterTable++;
if (buildCounterTable < 3) {
o.columns = 42;
- o.horizontalBorderRows = buildUnnamed1789();
+ o.horizontalBorderRows = buildUnnamed1796();
o.rows = 42;
- o.tableColumns = buildUnnamed1790();
- o.tableRows = buildUnnamed1791();
- o.verticalBorderRows = buildUnnamed1792();
+ o.tableColumns = buildUnnamed1797();
+ o.tableRows = buildUnnamed1798();
+ o.verticalBorderRows = buildUnnamed1799();
}
buildCounterTable--;
return o;
@@ -2422,11 +2422,11 @@
buildCounterTable++;
if (buildCounterTable < 3) {
unittest.expect(o.columns, unittest.equals(42));
- checkUnnamed1789(o.horizontalBorderRows);
+ checkUnnamed1796(o.horizontalBorderRows);
unittest.expect(o.rows, unittest.equals(42));
- checkUnnamed1790(o.tableColumns);
- checkUnnamed1791(o.tableRows);
- checkUnnamed1792(o.verticalBorderRows);
+ checkUnnamed1797(o.tableColumns);
+ checkUnnamed1798(o.tableRows);
+ checkUnnamed1799(o.verticalBorderRows);
}
buildCounterTable--;
}
@@ -2494,14 +2494,14 @@
buildCounterTableBorderProperties--;
}
-buildUnnamed1793() {
+buildUnnamed1800() {
var o = new core.List<api.TableBorderCell>();
o.add(buildTableBorderCell());
o.add(buildTableBorderCell());
return o;
}
-checkUnnamed1793(core.List<api.TableBorderCell> o) {
+checkUnnamed1800(core.List<api.TableBorderCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderCell(o[0]);
checkTableBorderCell(o[1]);
@@ -2512,7 +2512,7 @@
var o = new api.TableBorderRow();
buildCounterTableBorderRow++;
if (buildCounterTableBorderRow < 3) {
- o.tableBorderCells = buildUnnamed1793();
+ o.tableBorderCells = buildUnnamed1800();
}
buildCounterTableBorderRow--;
return o;
@@ -2521,7 +2521,7 @@
checkTableBorderRow(api.TableBorderRow o) {
buildCounterTableBorderRow++;
if (buildCounterTableBorderRow < 3) {
- checkUnnamed1793(o.tableBorderCells);
+ checkUnnamed1800(o.tableBorderCells);
}
buildCounterTableBorderRow--;
}
@@ -2656,14 +2656,14 @@
buildCounterTableRange--;
}
-buildUnnamed1794() {
+buildUnnamed1801() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed1794(core.List<api.TableCell> o) {
+checkUnnamed1801(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2675,7 +2675,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
o.rowHeight = buildDimension();
- o.tableCells = buildUnnamed1794();
+ o.tableCells = buildUnnamed1801();
o.tableRowProperties = buildTableRowProperties();
}
buildCounterTableRow--;
@@ -2686,7 +2686,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
checkDimension(o.rowHeight);
- checkUnnamed1794(o.tableCells);
+ checkUnnamed1801(o.tableCells);
checkTableRowProperties(o.tableRowProperties);
}
buildCounterTableRow--;
@@ -2711,27 +2711,27 @@
buildCounterTableRowProperties--;
}
-buildUnnamed1795() {
+buildUnnamed1802() {
var o = new core.Map<core.String, api.List>();
o["x"] = buildList();
o["y"] = buildList();
return o;
}
-checkUnnamed1795(core.Map<core.String, api.List> o) {
+checkUnnamed1802(core.Map<core.String, api.List> o) {
unittest.expect(o, unittest.hasLength(2));
checkList(o["x"]);
checkList(o["y"]);
}
-buildUnnamed1796() {
+buildUnnamed1803() {
var o = new core.List<api.TextElement>();
o.add(buildTextElement());
o.add(buildTextElement());
return o;
}
-checkUnnamed1796(core.List<api.TextElement> o) {
+checkUnnamed1803(core.List<api.TextElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextElement(o[0]);
checkTextElement(o[1]);
@@ -2742,8 +2742,8 @@
var o = new api.TextContent();
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- o.lists = buildUnnamed1795();
- o.textElements = buildUnnamed1796();
+ o.lists = buildUnnamed1802();
+ o.textElements = buildUnnamed1803();
}
buildCounterTextContent--;
return o;
@@ -2752,8 +2752,8 @@
checkTextContent(api.TextContent o) {
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- checkUnnamed1795(o.lists);
- checkUnnamed1796(o.textElements);
+ checkUnnamed1802(o.lists);
+ checkUnnamed1803(o.textElements);
}
buildCounterTextContent--;
}
@@ -2891,14 +2891,14 @@
buildCounterThumbnail--;
}
-buildUnnamed1797() {
+buildUnnamed1804() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1797(core.List<core.String> o) {
+checkUnnamed1804(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'));
@@ -2909,7 +2909,7 @@
var o = new api.UngroupObjectsRequest();
buildCounterUngroupObjectsRequest++;
if (buildCounterUngroupObjectsRequest < 3) {
- o.objectIds = buildUnnamed1797();
+ o.objectIds = buildUnnamed1804();
}
buildCounterUngroupObjectsRequest--;
return o;
@@ -2918,7 +2918,7 @@
checkUngroupObjectsRequest(api.UngroupObjectsRequest o) {
buildCounterUngroupObjectsRequest++;
if (buildCounterUngroupObjectsRequest < 3) {
- checkUnnamed1797(o.objectIds);
+ checkUnnamed1804(o.objectIds);
}
buildCounterUngroupObjectsRequest--;
}
@@ -3087,14 +3087,14 @@
buildCounterUpdateShapePropertiesRequest--;
}
-buildUnnamed1798() {
+buildUnnamed1805() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1798(core.List<core.String> o) {
+checkUnnamed1805(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'));
@@ -3106,7 +3106,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
o.insertionIndex = 42;
- o.slideObjectIds = buildUnnamed1798();
+ o.slideObjectIds = buildUnnamed1805();
}
buildCounterUpdateSlidesPositionRequest--;
return o;
@@ -3116,7 +3116,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
- checkUnnamed1798(o.slideObjectIds);
+ checkUnnamed1805(o.slideObjectIds);
}
buildCounterUpdateSlidesPositionRequest--;
}
@@ -3174,14 +3174,14 @@
buildCounterUpdateTableCellPropertiesRequest--;
}
-buildUnnamed1799() {
+buildUnnamed1806() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1799(core.List<core.int> o) {
+checkUnnamed1806(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -3192,7 +3192,7 @@
var o = new api.UpdateTableColumnPropertiesRequest();
buildCounterUpdateTableColumnPropertiesRequest++;
if (buildCounterUpdateTableColumnPropertiesRequest < 3) {
- o.columnIndices = buildUnnamed1799();
+ o.columnIndices = buildUnnamed1806();
o.fields = "foo";
o.objectId = "foo";
o.tableColumnProperties = buildTableColumnProperties();
@@ -3205,7 +3205,7 @@
api.UpdateTableColumnPropertiesRequest o) {
buildCounterUpdateTableColumnPropertiesRequest++;
if (buildCounterUpdateTableColumnPropertiesRequest < 3) {
- checkUnnamed1799(o.columnIndices);
+ checkUnnamed1806(o.columnIndices);
unittest.expect(o.fields, unittest.equals('foo'));
unittest.expect(o.objectId, unittest.equals('foo'));
checkTableColumnProperties(o.tableColumnProperties);
@@ -3213,14 +3213,14 @@
buildCounterUpdateTableColumnPropertiesRequest--;
}
-buildUnnamed1800() {
+buildUnnamed1807() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1800(core.List<core.int> o) {
+checkUnnamed1807(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -3233,7 +3233,7 @@
if (buildCounterUpdateTableRowPropertiesRequest < 3) {
o.fields = "foo";
o.objectId = "foo";
- o.rowIndices = buildUnnamed1800();
+ o.rowIndices = buildUnnamed1807();
o.tableRowProperties = buildTableRowProperties();
}
buildCounterUpdateTableRowPropertiesRequest--;
@@ -3245,7 +3245,7 @@
if (buildCounterUpdateTableRowPropertiesRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1800(o.rowIndices);
+ checkUnnamed1807(o.rowIndices);
checkTableRowProperties(o.tableRowProperties);
}
buildCounterUpdateTableRowPropertiesRequest--;
@@ -4656,8 +4656,8 @@
new api.SlidesApi(mock).presentations.pages;
var arg_presentationId = "foo";
var arg_pageObjectId = "foo";
- var arg_thumbnailProperties_thumbnailSize = "foo";
var arg_thumbnailProperties_mimeType = "foo";
+ var arg_thumbnailProperties_thumbnailSize = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4707,10 +4707,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["thumbnailProperties.thumbnailSize"].first,
- unittest.equals(arg_thumbnailProperties_thumbnailSize));
unittest.expect(queryMap["thumbnailProperties.mimeType"].first,
unittest.equals(arg_thumbnailProperties_mimeType));
+ unittest.expect(queryMap["thumbnailProperties.thumbnailSize"].first,
+ unittest.equals(arg_thumbnailProperties_thumbnailSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4721,9 +4721,9 @@
}), true);
res
.getThumbnail(arg_presentationId, arg_pageObjectId,
+ thumbnailProperties_mimeType: arg_thumbnailProperties_mimeType,
thumbnailProperties_thumbnailSize:
arg_thumbnailProperties_thumbnailSize,
- thumbnailProperties_mimeType: arg_thumbnailProperties_mimeType,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.Thumbnail response) {
checkThumbnail(response);
diff --git a/generated/googleapis/test/sourcerepo/v1_test.dart b/generated/googleapis/test/sourcerepo/v1_test.dart
index 5d5428a..b328dab 100644
--- a/generated/googleapis/test/sourcerepo/v1_test.dart
+++ b/generated/googleapis/test/sourcerepo/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed524() {
+buildUnnamed528() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed524(core.List<api.AuditLogConfig> o) {
+checkUnnamed528(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed525() {
+buildUnnamed529() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed525(core.List<core.String> o) {
+checkUnnamed529(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'));
@@ -81,8 +81,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed524();
- o.exemptedMembers = buildUnnamed525();
+ o.auditLogConfigs = buildUnnamed528();
+ o.exemptedMembers = buildUnnamed529();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -92,21 +92,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed524(o.auditLogConfigs);
- checkUnnamed525(o.exemptedMembers);
+ checkUnnamed528(o.auditLogConfigs);
+ checkUnnamed529(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed526() {
+buildUnnamed530() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed526(core.List<core.String> o) {
+checkUnnamed530(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'));
@@ -117,7 +117,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed526();
+ o.exemptedMembers = buildUnnamed530();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -127,20 +127,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed526(o.exemptedMembers);
+ checkUnnamed530(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed527() {
+buildUnnamed531() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed527(core.List<core.String> o) {
+checkUnnamed531(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'));
@@ -152,7 +152,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed527();
+ o.members = buildUnnamed531();
o.role = "foo";
}
buildCounterBinding--;
@@ -163,7 +163,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed527(o.members);
+ checkUnnamed531(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -209,14 +209,14 @@
buildCounterExpr--;
}
-buildUnnamed528() {
+buildUnnamed532() {
var o = new core.List<api.Repo>();
o.add(buildRepo());
o.add(buildRepo());
return o;
}
-checkUnnamed528(core.List<api.Repo> o) {
+checkUnnamed532(core.List<api.Repo> o) {
unittest.expect(o, unittest.hasLength(2));
checkRepo(o[0]);
checkRepo(o[1]);
@@ -228,7 +228,7 @@
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
o.nextPageToken = "foo";
- o.repos = buildUnnamed528();
+ o.repos = buildUnnamed532();
}
buildCounterListReposResponse--;
return o;
@@ -238,7 +238,7 @@
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed528(o.repos);
+ checkUnnamed532(o.repos);
}
buildCounterListReposResponse--;
}
@@ -266,27 +266,27 @@
buildCounterMirrorConfig--;
}
-buildUnnamed529() {
+buildUnnamed533() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed529(core.List<api.AuditConfig> o) {
+checkUnnamed533(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed530() {
+buildUnnamed534() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed530(core.List<api.Binding> o) {
+checkUnnamed534(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -297,8 +297,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed529();
- o.bindings = buildUnnamed530();
+ o.auditConfigs = buildUnnamed533();
+ o.bindings = buildUnnamed534();
o.etag = "foo";
o.iamOwned = true;
o.version = 42;
@@ -310,8 +310,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed529(o.auditConfigs);
- checkUnnamed530(o.bindings);
+ checkUnnamed533(o.auditConfigs);
+ checkUnnamed534(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
unittest.expect(o.version, unittest.equals(42));
@@ -365,14 +365,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed531() {
+buildUnnamed535() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed531(core.List<core.String> o) {
+checkUnnamed535(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'));
@@ -383,7 +383,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed531();
+ o.permissions = buildUnnamed535();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -392,19 +392,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed531(o.permissions);
+ checkUnnamed535(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed532() {
+buildUnnamed536() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed532(core.List<core.String> o) {
+checkUnnamed536(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'));
@@ -415,7 +415,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed532();
+ o.permissions = buildUnnamed536();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -424,7 +424,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed532(o.permissions);
+ checkUnnamed536(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -744,8 +744,8 @@
api.ProjectsReposResourceApi res =
new api.SourcerepoApi(mock).projects.repos;
var arg_name = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -778,10 +778,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -792,8 +792,8 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListReposResponse response) {
checkListReposResponse(response);
diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart
index 11e9087..b8fc7fb 100644
--- a/generated/googleapis/test/spanner/v1_test.dart
+++ b/generated/googleapis/test/spanner/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterBeginTransactionRequest--;
}
-buildUnnamed2158() {
+buildUnnamed2164() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2158(core.List<core.String> o) {
+checkUnnamed2164(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'));
@@ -87,7 +87,7 @@
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed2158();
+ o.members = buildUnnamed2164();
o.role = "foo";
}
buildCounterBinding--;
@@ -97,7 +97,7 @@
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed2158(o.members);
+ checkUnnamed2164(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -126,14 +126,14 @@
buildCounterChildLink--;
}
-buildUnnamed2159() {
+buildUnnamed2165() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed2159(core.List<api.Mutation> o) {
+checkUnnamed2165(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -144,7 +144,7 @@
var o = new api.CommitRequest();
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- o.mutations = buildUnnamed2159();
+ o.mutations = buildUnnamed2165();
o.singleUseTransaction = buildTransactionOptions();
o.transactionId = "foo";
}
@@ -155,7 +155,7 @@
checkCommitRequest(api.CommitRequest o) {
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- checkUnnamed2159(o.mutations);
+ checkUnnamed2165(o.mutations);
checkTransactionOptions(o.singleUseTransaction);
unittest.expect(o.transactionId, unittest.equals('foo'));
}
@@ -200,14 +200,14 @@
buildCounterCreateDatabaseMetadata--;
}
-buildUnnamed2160() {
+buildUnnamed2166() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2160(core.List<core.String> o) {
+checkUnnamed2166(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'));
@@ -219,7 +219,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
o.createStatement = "foo";
- o.extraStatements = buildUnnamed2160();
+ o.extraStatements = buildUnnamed2166();
}
buildCounterCreateDatabaseRequest--;
return o;
@@ -229,7 +229,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
unittest.expect(o.createStatement, unittest.equals('foo'));
- checkUnnamed2160(o.extraStatements);
+ checkUnnamed2166(o.extraStatements);
}
buildCounterCreateDatabaseRequest--;
}
@@ -356,20 +356,20 @@
buildCounterEmpty--;
}
-buildUnnamed2161() {
+buildUnnamed2167() {
var o = new core.Map<core.String, api.Type>();
o["x"] = buildType();
o["y"] = buildType();
return o;
}
-checkUnnamed2161(core.Map<core.String, api.Type> o) {
+checkUnnamed2167(core.Map<core.String, api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o["x"]);
checkType(o["y"]);
}
-buildUnnamed2162() {
+buildUnnamed2168() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -384,7 +384,7 @@
return o;
}
-checkUnnamed2162(core.Map<core.String, core.Object> o) {
+checkUnnamed2168(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -403,8 +403,8 @@
var o = new api.ExecuteSqlRequest();
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- o.paramTypes = buildUnnamed2161();
- o.params = buildUnnamed2162();
+ o.paramTypes = buildUnnamed2167();
+ o.params = buildUnnamed2168();
o.queryMode = "foo";
o.resumeToken = "foo";
o.sql = "foo";
@@ -417,8 +417,8 @@
checkExecuteSqlRequest(api.ExecuteSqlRequest o) {
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- checkUnnamed2161(o.paramTypes);
- checkUnnamed2162(o.params);
+ checkUnnamed2167(o.paramTypes);
+ checkUnnamed2168(o.params);
unittest.expect(o.queryMode, unittest.equals('foo'));
unittest.expect(o.resumeToken, unittest.equals('foo'));
unittest.expect(o.sql, unittest.equals('foo'));
@@ -448,14 +448,14 @@
buildCounterField--;
}
-buildUnnamed2163() {
+buildUnnamed2169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2163(core.List<core.String> o) {
+checkUnnamed2169(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'));
@@ -466,7 +466,7 @@
var o = new api.GetDatabaseDdlResponse();
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- o.statements = buildUnnamed2163();
+ o.statements = buildUnnamed2169();
}
buildCounterGetDatabaseDdlResponse--;
return o;
@@ -475,7 +475,7 @@
checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) {
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- checkUnnamed2163(o.statements);
+ checkUnnamed2169(o.statements);
}
buildCounterGetDatabaseDdlResponse--;
}
@@ -495,14 +495,14 @@
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2164() {
+buildUnnamed2170() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2164(core.Map<core.String, core.String> o) {
+checkUnnamed2170(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -515,7 +515,7 @@
if (buildCounterInstance < 3) {
o.config = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed2164();
+ o.labels = buildUnnamed2170();
o.name = "foo";
o.nodeCount = 42;
o.state = "foo";
@@ -529,7 +529,7 @@
if (buildCounterInstance < 3) {
unittest.expect(o.config, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2164(o.labels);
+ checkUnnamed2170(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nodeCount, unittest.equals(42));
unittest.expect(o.state, unittest.equals('foo'));
@@ -558,7 +558,7 @@
buildCounterInstanceConfig--;
}
-buildUnnamed2165() {
+buildUnnamed2171() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -573,7 +573,7 @@
return o;
}
-checkUnnamed2165(core.List<core.Object> o) {
+checkUnnamed2171(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -587,7 +587,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2166() {
+buildUnnamed2172() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -602,7 +602,7 @@
return o;
}
-checkUnnamed2166(core.List<core.Object> o) {
+checkUnnamed2172(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -616,7 +616,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2167() {
+buildUnnamed2173() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -631,7 +631,7 @@
return o;
}
-checkUnnamed2167(core.List<core.Object> o) {
+checkUnnamed2173(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -645,7 +645,7 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2168() {
+buildUnnamed2174() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -660,7 +660,7 @@
return o;
}
-checkUnnamed2168(core.List<core.Object> o) {
+checkUnnamed2174(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o[0]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -679,10 +679,10 @@
var o = new api.KeyRange();
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- o.endClosed = buildUnnamed2165();
- o.endOpen = buildUnnamed2166();
- o.startClosed = buildUnnamed2167();
- o.startOpen = buildUnnamed2168();
+ o.endClosed = buildUnnamed2171();
+ o.endOpen = buildUnnamed2172();
+ o.startClosed = buildUnnamed2173();
+ o.startOpen = buildUnnamed2174();
}
buildCounterKeyRange--;
return o;
@@ -691,15 +691,15 @@
checkKeyRange(api.KeyRange o) {
buildCounterKeyRange++;
if (buildCounterKeyRange < 3) {
- checkUnnamed2165(o.endClosed);
- checkUnnamed2166(o.endOpen);
- checkUnnamed2167(o.startClosed);
- checkUnnamed2168(o.startOpen);
+ checkUnnamed2171(o.endClosed);
+ checkUnnamed2172(o.endOpen);
+ checkUnnamed2173(o.startClosed);
+ checkUnnamed2174(o.startOpen);
}
buildCounterKeyRange--;
}
-buildUnnamed2169() {
+buildUnnamed2175() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -714,7 +714,7 @@
return o;
}
-checkUnnamed2169(core.List<core.Object> o) {
+checkUnnamed2175(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o[0]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -728,27 +728,27 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2170() {
+buildUnnamed2176() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2169());
- o.add(buildUnnamed2169());
+ o.add(buildUnnamed2175());
+ o.add(buildUnnamed2175());
return o;
}
-checkUnnamed2170(core.List<core.List<core.Object>> o) {
+checkUnnamed2176(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2169(o[0]);
- checkUnnamed2169(o[1]);
+ checkUnnamed2175(o[0]);
+ checkUnnamed2175(o[1]);
}
-buildUnnamed2171() {
+buildUnnamed2177() {
var o = new core.List<api.KeyRange>();
o.add(buildKeyRange());
o.add(buildKeyRange());
return o;
}
-checkUnnamed2171(core.List<api.KeyRange> o) {
+checkUnnamed2177(core.List<api.KeyRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRange(o[0]);
checkKeyRange(o[1]);
@@ -760,8 +760,8 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
o.all = true;
- o.keys = buildUnnamed2170();
- o.ranges = buildUnnamed2171();
+ o.keys = buildUnnamed2176();
+ o.ranges = buildUnnamed2177();
}
buildCounterKeySet--;
return o;
@@ -771,20 +771,20 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
unittest.expect(o.all, unittest.isTrue);
- checkUnnamed2170(o.keys);
- checkUnnamed2171(o.ranges);
+ checkUnnamed2176(o.keys);
+ checkUnnamed2177(o.ranges);
}
buildCounterKeySet--;
}
-buildUnnamed2172() {
+buildUnnamed2178() {
var o = new core.List<api.Database>();
o.add(buildDatabase());
o.add(buildDatabase());
return o;
}
-checkUnnamed2172(core.List<api.Database> o) {
+checkUnnamed2178(core.List<api.Database> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatabase(o[0]);
checkDatabase(o[1]);
@@ -795,7 +795,7 @@
var o = new api.ListDatabasesResponse();
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- o.databases = buildUnnamed2172();
+ o.databases = buildUnnamed2178();
o.nextPageToken = "foo";
}
buildCounterListDatabasesResponse--;
@@ -805,20 +805,20 @@
checkListDatabasesResponse(api.ListDatabasesResponse o) {
buildCounterListDatabasesResponse++;
if (buildCounterListDatabasesResponse < 3) {
- checkUnnamed2172(o.databases);
+ checkUnnamed2178(o.databases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatabasesResponse--;
}
-buildUnnamed2173() {
+buildUnnamed2179() {
var o = new core.List<api.InstanceConfig>();
o.add(buildInstanceConfig());
o.add(buildInstanceConfig());
return o;
}
-checkUnnamed2173(core.List<api.InstanceConfig> o) {
+checkUnnamed2179(core.List<api.InstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceConfig(o[0]);
checkInstanceConfig(o[1]);
@@ -829,7 +829,7 @@
var o = new api.ListInstanceConfigsResponse();
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- o.instanceConfigs = buildUnnamed2173();
+ o.instanceConfigs = buildUnnamed2179();
o.nextPageToken = "foo";
}
buildCounterListInstanceConfigsResponse--;
@@ -839,20 +839,20 @@
checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) {
buildCounterListInstanceConfigsResponse++;
if (buildCounterListInstanceConfigsResponse < 3) {
- checkUnnamed2173(o.instanceConfigs);
+ checkUnnamed2179(o.instanceConfigs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstanceConfigsResponse--;
}
-buildUnnamed2174() {
+buildUnnamed2180() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2174(core.List<api.Instance> o) {
+checkUnnamed2180(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -863,7 +863,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed2174();
+ o.instances = buildUnnamed2180();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -873,20 +873,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed2174(o.instances);
+ checkUnnamed2180(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed2175() {
+buildUnnamed2181() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2175(core.List<api.Operation> o) {
+checkUnnamed2181(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -898,7 +898,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2175();
+ o.operations = buildUnnamed2181();
}
buildCounterListOperationsResponse--;
return o;
@@ -908,19 +908,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2175(o.operations);
+ checkUnnamed2181(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2176() {
+buildUnnamed2182() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed2176(core.List<api.Session> o) {
+checkUnnamed2182(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
@@ -932,7 +932,7 @@
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
o.nextPageToken = "foo";
- o.sessions = buildUnnamed2176();
+ o.sessions = buildUnnamed2182();
}
buildCounterListSessionsResponse--;
return o;
@@ -942,7 +942,7 @@
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2176(o.sessions);
+ checkUnnamed2182(o.sessions);
}
buildCounterListSessionsResponse--;
}
@@ -974,7 +974,7 @@
buildCounterMutation--;
}
-buildUnnamed2177() {
+buildUnnamed2183() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -989,7 +989,7 @@
return o;
}
-checkUnnamed2177(core.Map<core.String, core.Object> o) {
+checkUnnamed2183(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
@@ -1003,7 +1003,7 @@
unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed2178() {
+buildUnnamed2184() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1018,7 +1018,7 @@
return o;
}
-checkUnnamed2178(core.Map<core.String, core.Object> o) {
+checkUnnamed2184(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o["x"]) as core.Map;
unittest.expect(casted15, unittest.hasLength(3));
@@ -1039,9 +1039,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2177();
+ o.metadata = buildUnnamed2183();
o.name = "foo";
- o.response = buildUnnamed2178();
+ o.response = buildUnnamed2184();
}
buildCounterOperation--;
return o;
@@ -1052,14 +1052,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2177(o.metadata);
+ checkUnnamed2183(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2178(o.response);
+ checkUnnamed2184(o.response);
}
buildCounterOperation--;
}
-buildUnnamed2179() {
+buildUnnamed2185() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1074,7 +1074,7 @@
return o;
}
-checkUnnamed2179(core.List<core.Object> o) {
+checkUnnamed2185(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map;
unittest.expect(casted17, unittest.hasLength(3));
@@ -1097,7 +1097,7 @@
o.metadata = buildResultSetMetadata();
o.resumeToken = "foo";
o.stats = buildResultSetStats();
- o.values = buildUnnamed2179();
+ o.values = buildUnnamed2185();
}
buildCounterPartialResultSet--;
return o;
@@ -1110,25 +1110,25 @@
checkResultSetMetadata(o.metadata);
unittest.expect(o.resumeToken, unittest.equals('foo'));
checkResultSetStats(o.stats);
- checkUnnamed2179(o.values);
+ checkUnnamed2185(o.values);
}
buildCounterPartialResultSet--;
}
-buildUnnamed2180() {
+buildUnnamed2186() {
var o = new core.List<api.ChildLink>();
o.add(buildChildLink());
o.add(buildChildLink());
return o;
}
-checkUnnamed2180(core.List<api.ChildLink> o) {
+checkUnnamed2186(core.List<api.ChildLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildLink(o[0]);
checkChildLink(o[1]);
}
-buildUnnamed2181() {
+buildUnnamed2187() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1143,7 +1143,7 @@
return o;
}
-checkUnnamed2181(core.Map<core.String, core.Object> o) {
+checkUnnamed2187(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o["x"]) as core.Map;
unittest.expect(casted19, unittest.hasLength(3));
@@ -1157,7 +1157,7 @@
unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed2182() {
+buildUnnamed2188() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1172,7 +1172,7 @@
return o;
}
-checkUnnamed2182(core.Map<core.String, core.Object> o) {
+checkUnnamed2188(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map;
unittest.expect(casted21, unittest.hasLength(3));
@@ -1191,12 +1191,12 @@
var o = new api.PlanNode();
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- o.childLinks = buildUnnamed2180();
+ o.childLinks = buildUnnamed2186();
o.displayName = "foo";
- o.executionStats = buildUnnamed2181();
+ o.executionStats = buildUnnamed2187();
o.index = 42;
o.kind = "foo";
- o.metadata = buildUnnamed2182();
+ o.metadata = buildUnnamed2188();
o.shortRepresentation = buildShortRepresentation();
}
buildCounterPlanNode--;
@@ -1206,25 +1206,25 @@
checkPlanNode(api.PlanNode o) {
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- checkUnnamed2180(o.childLinks);
+ checkUnnamed2186(o.childLinks);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2181(o.executionStats);
+ checkUnnamed2187(o.executionStats);
unittest.expect(o.index, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2182(o.metadata);
+ checkUnnamed2188(o.metadata);
checkShortRepresentation(o.shortRepresentation);
}
buildCounterPlanNode--;
}
-buildUnnamed2183() {
+buildUnnamed2189() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2183(core.List<api.Binding> o) {
+checkUnnamed2189(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1235,7 +1235,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2183();
+ o.bindings = buildUnnamed2189();
o.etag = "foo";
o.version = 42;
}
@@ -1246,21 +1246,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2183(o.bindings);
+ checkUnnamed2189(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed2184() {
+buildUnnamed2190() {
var o = new core.List<api.PlanNode>();
o.add(buildPlanNode());
o.add(buildPlanNode());
return o;
}
-checkUnnamed2184(core.List<api.PlanNode> o) {
+checkUnnamed2190(core.List<api.PlanNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlanNode(o[0]);
checkPlanNode(o[1]);
@@ -1271,7 +1271,7 @@
var o = new api.QueryPlan();
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- o.planNodes = buildUnnamed2184();
+ o.planNodes = buildUnnamed2190();
}
buildCounterQueryPlan--;
return o;
@@ -1280,7 +1280,7 @@
checkQueryPlan(api.QueryPlan o) {
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- checkUnnamed2184(o.planNodes);
+ checkUnnamed2190(o.planNodes);
}
buildCounterQueryPlan--;
}
@@ -1314,14 +1314,14 @@
buildCounterReadOnly--;
}
-buildUnnamed2185() {
+buildUnnamed2191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2185(core.List<core.String> o) {
+checkUnnamed2191(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'));
@@ -1332,7 +1332,7 @@
var o = new api.ReadRequest();
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- o.columns = buildUnnamed2185();
+ o.columns = buildUnnamed2191();
o.index = "foo";
o.keySet = buildKeySet();
o.limit = "foo";
@@ -1347,7 +1347,7 @@
checkReadRequest(api.ReadRequest o) {
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- checkUnnamed2185(o.columns);
+ checkUnnamed2191(o.columns);
unittest.expect(o.index, unittest.equals('foo'));
checkKeySet(o.keySet);
unittest.expect(o.limit, unittest.equals('foo'));
@@ -1373,7 +1373,7 @@
buildCounterReadWrite--;
}
-buildUnnamed2186() {
+buildUnnamed2192() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1388,7 +1388,7 @@
return o;
}
-checkUnnamed2186(core.List<core.Object> o) {
+checkUnnamed2192(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map;
unittest.expect(casted23, unittest.hasLength(3));
@@ -1402,17 +1402,17 @@
unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed2187() {
+buildUnnamed2193() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2186());
- o.add(buildUnnamed2186());
+ o.add(buildUnnamed2192());
+ o.add(buildUnnamed2192());
return o;
}
-checkUnnamed2187(core.List<core.List<core.Object>> o) {
+checkUnnamed2193(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2186(o[0]);
- checkUnnamed2186(o[1]);
+ checkUnnamed2192(o[0]);
+ checkUnnamed2192(o[1]);
}
core.int buildCounterResultSet = 0;
@@ -1421,7 +1421,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
o.metadata = buildResultSetMetadata();
- o.rows = buildUnnamed2187();
+ o.rows = buildUnnamed2193();
o.stats = buildResultSetStats();
}
buildCounterResultSet--;
@@ -1432,7 +1432,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
checkResultSetMetadata(o.metadata);
- checkUnnamed2187(o.rows);
+ checkUnnamed2193(o.rows);
checkResultSetStats(o.stats);
}
buildCounterResultSet--;
@@ -1459,7 +1459,7 @@
buildCounterResultSetMetadata--;
}
-buildUnnamed2188() {
+buildUnnamed2194() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1474,7 +1474,7 @@
return o;
}
-checkUnnamed2188(core.Map<core.String, core.Object> o) {
+checkUnnamed2194(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o["x"]) as core.Map;
unittest.expect(casted25, unittest.hasLength(3));
@@ -1494,7 +1494,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
o.queryPlan = buildQueryPlan();
- o.queryStats = buildUnnamed2188();
+ o.queryStats = buildUnnamed2194();
}
buildCounterResultSetStats--;
return o;
@@ -1504,7 +1504,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
checkQueryPlan(o.queryPlan);
- checkUnnamed2188(o.queryStats);
+ checkUnnamed2194(o.queryStats);
}
buildCounterResultSetStats--;
}
@@ -1528,14 +1528,14 @@
buildCounterRollbackRequest--;
}
-buildUnnamed2189() {
+buildUnnamed2195() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2189(core.Map<core.String, core.String> o) {
+checkUnnamed2195(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1548,7 +1548,7 @@
if (buildCounterSession < 3) {
o.approximateLastUseTime = "foo";
o.createTime = "foo";
- o.labels = buildUnnamed2189();
+ o.labels = buildUnnamed2195();
o.name = "foo";
}
buildCounterSession--;
@@ -1560,7 +1560,7 @@
if (buildCounterSession < 3) {
unittest.expect(o.approximateLastUseTime, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed2189(o.labels);
+ checkUnnamed2195(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterSession--;
@@ -1585,14 +1585,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2190() {
+buildUnnamed2196() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed2190(core.Map<core.String, core.int> o) {
+checkUnnamed2196(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -1604,7 +1604,7 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
o.description = "foo";
- o.subqueries = buildUnnamed2190();
+ o.subqueries = buildUnnamed2196();
}
buildCounterShortRepresentation--;
return o;
@@ -1614,12 +1614,12 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2190(o.subqueries);
+ checkUnnamed2196(o.subqueries);
}
buildCounterShortRepresentation--;
}
-buildUnnamed2191() {
+buildUnnamed2197() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1634,7 +1634,7 @@
return o;
}
-checkUnnamed2191(core.Map<core.String, core.Object> o) {
+checkUnnamed2197(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o["x"]) as core.Map;
unittest.expect(casted27, unittest.hasLength(3));
@@ -1648,17 +1648,17 @@
unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed2192() {
+buildUnnamed2198() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2191());
- o.add(buildUnnamed2191());
+ o.add(buildUnnamed2197());
+ o.add(buildUnnamed2197());
return o;
}
-checkUnnamed2192(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2198(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2191(o[0]);
- checkUnnamed2191(o[1]);
+ checkUnnamed2197(o[0]);
+ checkUnnamed2197(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1667,7 +1667,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2192();
+ o.details = buildUnnamed2198();
o.message = "foo";
}
buildCounterStatus--;
@@ -1678,20 +1678,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2192(o.details);
+ checkUnnamed2198(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2193() {
+buildUnnamed2199() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed2193(core.List<api.Field> o) {
+checkUnnamed2199(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
@@ -1702,7 +1702,7 @@
var o = new api.StructType();
buildCounterStructType++;
if (buildCounterStructType < 3) {
- o.fields = buildUnnamed2193();
+ o.fields = buildUnnamed2199();
}
buildCounterStructType--;
return o;
@@ -1711,19 +1711,19 @@
checkStructType(api.StructType o) {
buildCounterStructType++;
if (buildCounterStructType < 3) {
- checkUnnamed2193(o.fields);
+ checkUnnamed2199(o.fields);
}
buildCounterStructType--;
}
-buildUnnamed2194() {
+buildUnnamed2200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2194(core.List<core.String> o) {
+checkUnnamed2200(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'));
@@ -1734,7 +1734,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2194();
+ o.permissions = buildUnnamed2200();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1743,19 +1743,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2194(o.permissions);
+ checkUnnamed2200(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2195() {
+buildUnnamed2201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2195(core.List<core.String> o) {
+checkUnnamed2201(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'));
@@ -1766,7 +1766,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2195();
+ o.permissions = buildUnnamed2201();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1775,7 +1775,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2195(o.permissions);
+ checkUnnamed2201(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1868,27 +1868,27 @@
buildCounterType--;
}
-buildUnnamed2196() {
+buildUnnamed2202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2196(core.List<core.String> o) {
+checkUnnamed2202(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'));
}
-buildUnnamed2197() {
+buildUnnamed2203() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2197(core.List<core.String> o) {
+checkUnnamed2203(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'));
@@ -1899,9 +1899,9 @@
var o = new api.UpdateDatabaseDdlMetadata();
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- o.commitTimestamps = buildUnnamed2196();
+ o.commitTimestamps = buildUnnamed2202();
o.database = "foo";
- o.statements = buildUnnamed2197();
+ o.statements = buildUnnamed2203();
}
buildCounterUpdateDatabaseDdlMetadata--;
return o;
@@ -1910,21 +1910,21 @@
checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) {
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- checkUnnamed2196(o.commitTimestamps);
+ checkUnnamed2202(o.commitTimestamps);
unittest.expect(o.database, unittest.equals('foo'));
- checkUnnamed2197(o.statements);
+ checkUnnamed2203(o.statements);
}
buildCounterUpdateDatabaseDdlMetadata--;
}
-buildUnnamed2198() {
+buildUnnamed2204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2198(core.List<core.String> o) {
+checkUnnamed2204(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'));
@@ -1936,7 +1936,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
o.operationId = "foo";
- o.statements = buildUnnamed2198();
+ o.statements = buildUnnamed2204();
}
buildCounterUpdateDatabaseDdlRequest--;
return o;
@@ -1946,7 +1946,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed2198(o.statements);
+ checkUnnamed2204(o.statements);
}
buildCounterUpdateDatabaseDdlRequest--;
}
@@ -1997,20 +1997,20 @@
buildCounterUpdateInstanceRequest--;
}
-buildUnnamed2199() {
+buildUnnamed2205() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2199(core.List<core.String> o) {
+checkUnnamed2205(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'));
}
-buildUnnamed2200() {
+buildUnnamed2206() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2025,7 +2025,7 @@
return o;
}
-checkUnnamed2200(core.List<core.Object> o) {
+checkUnnamed2206(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted29 = (o[0]) as core.Map;
unittest.expect(casted29, unittest.hasLength(3));
@@ -2039,17 +2039,17 @@
unittest.expect(casted30["string"], unittest.equals('foo'));
}
-buildUnnamed2201() {
+buildUnnamed2207() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2200());
- o.add(buildUnnamed2200());
+ o.add(buildUnnamed2206());
+ o.add(buildUnnamed2206());
return o;
}
-checkUnnamed2201(core.List<core.List<core.Object>> o) {
+checkUnnamed2207(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2200(o[0]);
- checkUnnamed2200(o[1]);
+ checkUnnamed2206(o[0]);
+ checkUnnamed2206(o[1]);
}
core.int buildCounterWrite = 0;
@@ -2057,9 +2057,9 @@
var o = new api.Write();
buildCounterWrite++;
if (buildCounterWrite < 3) {
- o.columns = buildUnnamed2199();
+ o.columns = buildUnnamed2205();
o.table = "foo";
- o.values = buildUnnamed2201();
+ o.values = buildUnnamed2207();
}
buildCounterWrite--;
return o;
@@ -2068,9 +2068,9 @@
checkWrite(api.Write o) {
buildCounterWrite++;
if (buildCounterWrite < 3) {
- checkUnnamed2199(o.columns);
+ checkUnnamed2205(o.columns);
unittest.expect(o.table, unittest.equals('foo'));
- checkUnnamed2201(o.values);
+ checkUnnamed2207(o.values);
}
buildCounterWrite--;
}
@@ -2854,9 +2854,9 @@
api.ProjectsInstancesResourceApi res =
new api.SpannerApi(mock).projects.instances;
var arg_parent = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2889,11 +2889,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2904,9 +2904,9 @@
}), true);
res
.list(arg_parent,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListInstancesResponse response) {
checkListInstancesResponse(response);
@@ -4196,9 +4196,9 @@
api.ProjectsInstancesDatabasesSessionsResourceApi res =
new api.SpannerApi(mock).projects.instances.databases.sessions;
var arg_database = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4231,11 +4231,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4246,9 +4246,9 @@
}), true);
res
.list(arg_database,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListSessionsResponse response) {
checkListSessionsResponse(response);
@@ -4586,9 +4586,9 @@
api.ProjectsInstancesOperationsResourceApi res =
new api.SpannerApi(mock).projects.instances.operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4621,11 +4621,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4636,9 +4636,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/speech/v1_test.dart b/generated/googleapis/test/speech/v1_test.dart
index 4318308..b20666a 100644
--- a/generated/googleapis/test/speech/v1_test.dart
+++ b/generated/googleapis/test/speech/v1_test.dart
@@ -80,14 +80,14 @@
buildCounterEmpty--;
}
-buildUnnamed2870() {
+buildUnnamed3155() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2870(core.List<api.Operation> o) {
+checkUnnamed3155(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -99,7 +99,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2870();
+ o.operations = buildUnnamed3155();
}
buildCounterListOperationsResponse--;
return o;
@@ -109,7 +109,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2870(o.operations);
+ checkUnnamed3155(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -135,7 +135,7 @@
buildCounterLongRunningRecognizeRequest--;
}
-buildUnnamed2871() {
+buildUnnamed3156() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -150,7 +150,7 @@
return o;
}
-checkUnnamed2871(core.Map<core.String, core.Object> o) {
+checkUnnamed3156(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -164,7 +164,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2872() {
+buildUnnamed3157() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -179,7 +179,7 @@
return o;
}
-checkUnnamed2872(core.Map<core.String, core.Object> o) {
+checkUnnamed3157(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -200,9 +200,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2871();
+ o.metadata = buildUnnamed3156();
o.name = "foo";
- o.response = buildUnnamed2872();
+ o.response = buildUnnamed3157();
}
buildCounterOperation--;
return o;
@@ -213,9 +213,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2871(o.metadata);
+ checkUnnamed3156(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2872(o.response);
+ checkUnnamed3157(o.response);
}
buildCounterOperation--;
}
@@ -241,14 +241,14 @@
buildCounterRecognitionAudio--;
}
-buildUnnamed2873() {
+buildUnnamed3158() {
var o = new core.List<api.SpeechContext>();
o.add(buildSpeechContext());
o.add(buildSpeechContext());
return o;
}
-checkUnnamed2873(core.List<api.SpeechContext> o) {
+checkUnnamed3158(core.List<api.SpeechContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechContext(o[0]);
checkSpeechContext(o[1]);
@@ -265,7 +265,7 @@
o.maxAlternatives = 42;
o.profanityFilter = true;
o.sampleRateHertz = 42;
- o.speechContexts = buildUnnamed2873();
+ o.speechContexts = buildUnnamed3158();
}
buildCounterRecognitionConfig--;
return o;
@@ -280,7 +280,7 @@
unittest.expect(o.maxAlternatives, unittest.equals(42));
unittest.expect(o.profanityFilter, unittest.isTrue);
unittest.expect(o.sampleRateHertz, unittest.equals(42));
- checkUnnamed2873(o.speechContexts);
+ checkUnnamed3158(o.speechContexts);
}
buildCounterRecognitionConfig--;
}
@@ -306,14 +306,14 @@
buildCounterRecognizeRequest--;
}
-buildUnnamed2874() {
+buildUnnamed3159() {
var o = new core.List<api.SpeechRecognitionResult>();
o.add(buildSpeechRecognitionResult());
o.add(buildSpeechRecognitionResult());
return o;
}
-checkUnnamed2874(core.List<api.SpeechRecognitionResult> o) {
+checkUnnamed3159(core.List<api.SpeechRecognitionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionResult(o[0]);
checkSpeechRecognitionResult(o[1]);
@@ -324,7 +324,7 @@
var o = new api.RecognizeResponse();
buildCounterRecognizeResponse++;
if (buildCounterRecognizeResponse < 3) {
- o.results = buildUnnamed2874();
+ o.results = buildUnnamed3159();
}
buildCounterRecognizeResponse--;
return o;
@@ -333,19 +333,19 @@
checkRecognizeResponse(api.RecognizeResponse o) {
buildCounterRecognizeResponse++;
if (buildCounterRecognizeResponse < 3) {
- checkUnnamed2874(o.results);
+ checkUnnamed3159(o.results);
}
buildCounterRecognizeResponse--;
}
-buildUnnamed2875() {
+buildUnnamed3160() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2875(core.List<core.String> o) {
+checkUnnamed3160(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'));
@@ -356,7 +356,7 @@
var o = new api.SpeechContext();
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- o.phrases = buildUnnamed2875();
+ o.phrases = buildUnnamed3160();
}
buildCounterSpeechContext--;
return o;
@@ -365,19 +365,19 @@
checkSpeechContext(api.SpeechContext o) {
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- checkUnnamed2875(o.phrases);
+ checkUnnamed3160(o.phrases);
}
buildCounterSpeechContext--;
}
-buildUnnamed2876() {
+buildUnnamed3161() {
var o = new core.List<api.WordInfo>();
o.add(buildWordInfo());
o.add(buildWordInfo());
return o;
}
-checkUnnamed2876(core.List<api.WordInfo> o) {
+checkUnnamed3161(core.List<api.WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkWordInfo(o[0]);
checkWordInfo(o[1]);
@@ -390,7 +390,7 @@
if (buildCounterSpeechRecognitionAlternative < 3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed2876();
+ o.words = buildUnnamed3161();
}
buildCounterSpeechRecognitionAlternative--;
return o;
@@ -401,19 +401,19 @@
if (buildCounterSpeechRecognitionAlternative < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed2876(o.words);
+ checkUnnamed3161(o.words);
}
buildCounterSpeechRecognitionAlternative--;
}
-buildUnnamed2877() {
+buildUnnamed3162() {
var o = new core.List<api.SpeechRecognitionAlternative>();
o.add(buildSpeechRecognitionAlternative());
o.add(buildSpeechRecognitionAlternative());
return o;
}
-checkUnnamed2877(core.List<api.SpeechRecognitionAlternative> o) {
+checkUnnamed3162(core.List<api.SpeechRecognitionAlternative> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionAlternative(o[0]);
checkSpeechRecognitionAlternative(o[1]);
@@ -424,7 +424,7 @@
var o = new api.SpeechRecognitionResult();
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- o.alternatives = buildUnnamed2877();
+ o.alternatives = buildUnnamed3162();
o.channelTag = 42;
}
buildCounterSpeechRecognitionResult--;
@@ -434,13 +434,13 @@
checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- checkUnnamed2877(o.alternatives);
+ checkUnnamed3162(o.alternatives);
unittest.expect(o.channelTag, unittest.equals(42));
}
buildCounterSpeechRecognitionResult--;
}
-buildUnnamed2878() {
+buildUnnamed3163() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -455,7 +455,7 @@
return o;
}
-checkUnnamed2878(core.Map<core.String, core.Object> o) {
+checkUnnamed3163(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -469,17 +469,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2879() {
+buildUnnamed3164() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2878());
- o.add(buildUnnamed2878());
+ o.add(buildUnnamed3163());
+ o.add(buildUnnamed3163());
return o;
}
-checkUnnamed2879(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3164(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2878(o[0]);
- checkUnnamed2878(o[1]);
+ checkUnnamed3163(o[0]);
+ checkUnnamed3163(o[1]);
}
core.int buildCounterStatus = 0;
@@ -488,7 +488,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2879();
+ o.details = buildUnnamed3164();
o.message = "foo";
}
buildCounterStatus--;
@@ -499,7 +499,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2879(o.details);
+ checkUnnamed3164(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -802,10 +802,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.SpeechApi(mock).operations;
- var arg_pageToken = "foo";
- var arg_name = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_name = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -837,12 +837,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -853,10 +853,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- name: arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
+ name: arg_name,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart
index e7a1825..c465b20 100644
--- a/generated/googleapis/test/storage/v1_test.dart
+++ b/generated/googleapis/test/storage/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed879() {
+buildUnnamed884() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed879(core.List<api.BucketAccessControl> o) {
+checkUnnamed884(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
@@ -82,40 +82,40 @@
buildCounterBucketBilling--;
}
-buildUnnamed880() {
+buildUnnamed885() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed880(core.List<core.String> o) {
+checkUnnamed885(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'));
}
-buildUnnamed881() {
+buildUnnamed886() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed881(core.List<core.String> o) {
+checkUnnamed886(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'));
}
-buildUnnamed882() {
+buildUnnamed887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed882(core.List<core.String> o) {
+checkUnnamed887(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'));
@@ -127,9 +127,9 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
o.maxAgeSeconds = 42;
- o.method = buildUnnamed880();
- o.origin = buildUnnamed881();
- o.responseHeader = buildUnnamed882();
+ o.method = buildUnnamed885();
+ o.origin = buildUnnamed886();
+ o.responseHeader = buildUnnamed887();
}
buildCounterBucketCors--;
return o;
@@ -139,34 +139,34 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
unittest.expect(o.maxAgeSeconds, unittest.equals(42));
- checkUnnamed880(o.method);
- checkUnnamed881(o.origin);
- checkUnnamed882(o.responseHeader);
+ checkUnnamed885(o.method);
+ checkUnnamed886(o.origin);
+ checkUnnamed887(o.responseHeader);
}
buildCounterBucketCors--;
}
-buildUnnamed883() {
+buildUnnamed888() {
var o = new core.List<api.BucketCors>();
o.add(buildBucketCors());
o.add(buildBucketCors());
return o;
}
-checkUnnamed883(core.List<api.BucketCors> o) {
+checkUnnamed888(core.List<api.BucketCors> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketCors(o[0]);
checkBucketCors(o[1]);
}
-buildUnnamed884() {
+buildUnnamed889() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed884(core.List<api.ObjectAccessControl> o) {
+checkUnnamed889(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -191,14 +191,14 @@
buildCounterBucketEncryption--;
}
-buildUnnamed885() {
+buildUnnamed890() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed885(core.Map<core.String, core.String> o) {
+checkUnnamed890(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -225,14 +225,14 @@
buildCounterBucketLifecycleRuleAction--;
}
-buildUnnamed886() {
+buildUnnamed891() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed886(core.List<core.String> o) {
+checkUnnamed891(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'));
@@ -246,7 +246,7 @@
o.age = 42;
o.createdBefore = core.DateTime.parse("2002-02-27T14:01:02Z");
o.isLive = true;
- o.matchesStorageClass = buildUnnamed886();
+ o.matchesStorageClass = buildUnnamed891();
o.numNewerVersions = 42;
}
buildCounterBucketLifecycleRuleCondition--;
@@ -260,7 +260,7 @@
unittest.expect(o.createdBefore,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.isLive, unittest.isTrue);
- checkUnnamed886(o.matchesStorageClass);
+ checkUnnamed891(o.matchesStorageClass);
unittest.expect(o.numNewerVersions, unittest.equals(42));
}
buildCounterBucketLifecycleRuleCondition--;
@@ -287,14 +287,14 @@
buildCounterBucketLifecycleRule--;
}
-buildUnnamed887() {
+buildUnnamed892() {
var o = new core.List<api.BucketLifecycleRule>();
o.add(buildBucketLifecycleRule());
o.add(buildBucketLifecycleRule());
return o;
}
-checkUnnamed887(core.List<api.BucketLifecycleRule> o) {
+checkUnnamed892(core.List<api.BucketLifecycleRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketLifecycleRule(o[0]);
checkBucketLifecycleRule(o[1]);
@@ -305,7 +305,7 @@
var o = new api.BucketLifecycle();
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- o.rule = buildUnnamed887();
+ o.rule = buildUnnamed892();
}
buildCounterBucketLifecycle--;
return o;
@@ -314,7 +314,7 @@
checkBucketLifecycle(api.BucketLifecycle o) {
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- checkUnnamed887(o.rule);
+ checkUnnamed892(o.rule);
}
buildCounterBucketLifecycle--;
}
@@ -406,15 +406,15 @@
var o = new api.Bucket();
buildCounterBucket++;
if (buildCounterBucket < 3) {
- o.acl = buildUnnamed879();
+ o.acl = buildUnnamed884();
o.billing = buildBucketBilling();
- o.cors = buildUnnamed883();
- o.defaultObjectAcl = buildUnnamed884();
+ o.cors = buildUnnamed888();
+ o.defaultObjectAcl = buildUnnamed889();
o.encryption = buildBucketEncryption();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed885();
+ o.labels = buildUnnamed890();
o.lifecycle = buildBucketLifecycle();
o.location = "foo";
o.logging = buildBucketLogging();
@@ -436,15 +436,15 @@
checkBucket(api.Bucket o) {
buildCounterBucket++;
if (buildCounterBucket < 3) {
- checkUnnamed879(o.acl);
+ checkUnnamed884(o.acl);
checkBucketBilling(o.billing);
- checkUnnamed883(o.cors);
- checkUnnamed884(o.defaultObjectAcl);
+ checkUnnamed888(o.cors);
+ checkUnnamed889(o.defaultObjectAcl);
checkBucketEncryption(o.encryption);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed885(o.labels);
+ checkUnnamed890(o.labels);
checkBucketLifecycle(o.lifecycle);
unittest.expect(o.location, unittest.equals('foo'));
checkBucketLogging(o.logging);
@@ -524,14 +524,14 @@
buildCounterBucketAccessControl--;
}
-buildUnnamed888() {
+buildUnnamed893() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed888(core.List<api.BucketAccessControl> o) {
+checkUnnamed893(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
@@ -542,7 +542,7 @@
var o = new api.BucketAccessControls();
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- o.items = buildUnnamed888();
+ o.items = buildUnnamed893();
o.kind = "foo";
}
buildCounterBucketAccessControls--;
@@ -552,20 +552,20 @@
checkBucketAccessControls(api.BucketAccessControls o) {
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- checkUnnamed888(o.items);
+ checkUnnamed893(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBucketAccessControls--;
}
-buildUnnamed889() {
+buildUnnamed894() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed889(core.List<api.Bucket> o) {
+checkUnnamed894(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -576,7 +576,7 @@
var o = new api.Buckets();
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- o.items = buildUnnamed889();
+ o.items = buildUnnamed894();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -587,21 +587,21 @@
checkBuckets(api.Buckets o) {
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- checkUnnamed889(o.items);
+ checkUnnamed894(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBuckets--;
}
-buildUnnamed890() {
+buildUnnamed895() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed890(core.Map<core.String, core.String> o) {
+checkUnnamed895(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -616,7 +616,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed890();
+ o.params = buildUnnamed895();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -634,7 +634,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed890(o.params);
+ checkUnnamed895(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -688,14 +688,14 @@
buildCounterComposeRequestSourceObjects--;
}
-buildUnnamed891() {
+buildUnnamed896() {
var o = new core.List<api.ComposeRequestSourceObjects>();
o.add(buildComposeRequestSourceObjects());
o.add(buildComposeRequestSourceObjects());
return o;
}
-checkUnnamed891(core.List<api.ComposeRequestSourceObjects> o) {
+checkUnnamed896(core.List<api.ComposeRequestSourceObjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkComposeRequestSourceObjects(o[0]);
checkComposeRequestSourceObjects(o[1]);
@@ -708,7 +708,7 @@
if (buildCounterComposeRequest < 3) {
o.destination = buildObject();
o.kind = "foo";
- o.sourceObjects = buildUnnamed891();
+ o.sourceObjects = buildUnnamed896();
}
buildCounterComposeRequest--;
return o;
@@ -719,32 +719,32 @@
if (buildCounterComposeRequest < 3) {
checkObject(o.destination);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed891(o.sourceObjects);
+ checkUnnamed896(o.sourceObjects);
}
buildCounterComposeRequest--;
}
-buildUnnamed892() {
+buildUnnamed897() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed892(core.Map<core.String, core.String> o) {
+checkUnnamed897(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed893() {
+buildUnnamed898() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed893(core.List<core.String> o) {
+checkUnnamed898(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'));
@@ -755,9 +755,9 @@
var o = new api.Notification();
buildCounterNotification++;
if (buildCounterNotification < 3) {
- o.customAttributes = buildUnnamed892();
+ o.customAttributes = buildUnnamed897();
o.etag = "foo";
- o.eventTypes = buildUnnamed893();
+ o.eventTypes = buildUnnamed898();
o.id = "foo";
o.kind = "foo";
o.objectNamePrefix = "foo";
@@ -772,9 +772,9 @@
checkNotification(api.Notification o) {
buildCounterNotification++;
if (buildCounterNotification < 3) {
- checkUnnamed892(o.customAttributes);
+ checkUnnamed897(o.customAttributes);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed893(o.eventTypes);
+ checkUnnamed898(o.eventTypes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.objectNamePrefix, unittest.equals('foo'));
@@ -785,14 +785,14 @@
buildCounterNotification--;
}
-buildUnnamed894() {
+buildUnnamed899() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed894(core.List<api.Notification> o) {
+checkUnnamed899(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -803,7 +803,7 @@
var o = new api.Notifications();
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
- o.items = buildUnnamed894();
+ o.items = buildUnnamed899();
o.kind = "foo";
}
buildCounterNotifications--;
@@ -813,20 +813,20 @@
checkNotifications(api.Notifications o) {
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
- checkUnnamed894(o.items);
+ checkUnnamed899(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterNotifications--;
}
-buildUnnamed895() {
+buildUnnamed900() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed895(core.List<api.ObjectAccessControl> o) {
+checkUnnamed900(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -853,14 +853,14 @@
buildCounterObjectCustomerEncryption--;
}
-buildUnnamed896() {
+buildUnnamed901() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed896(core.Map<core.String, core.String> o) {
+checkUnnamed901(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -892,7 +892,7 @@
var o = new api.Object();
buildCounterObject++;
if (buildCounterObject < 3) {
- o.acl = buildUnnamed895();
+ o.acl = buildUnnamed900();
o.bucket = "foo";
o.cacheControl = "foo";
o.componentCount = 42;
@@ -909,7 +909,7 @@
o.kmsKeyName = "foo";
o.md5Hash = "foo";
o.mediaLink = "foo";
- o.metadata = buildUnnamed896();
+ o.metadata = buildUnnamed901();
o.metageneration = "foo";
o.name = "foo";
o.owner = buildObjectOwner();
@@ -928,7 +928,7 @@
checkObject(api.Object o) {
buildCounterObject++;
if (buildCounterObject < 3) {
- checkUnnamed895(o.acl);
+ checkUnnamed900(o.acl);
unittest.expect(o.bucket, unittest.equals('foo'));
unittest.expect(o.cacheControl, unittest.equals('foo'));
unittest.expect(o.componentCount, unittest.equals(42));
@@ -945,7 +945,7 @@
unittest.expect(o.kmsKeyName, unittest.equals('foo'));
unittest.expect(o.md5Hash, unittest.equals('foo'));
unittest.expect(o.mediaLink, unittest.equals('foo'));
- checkUnnamed896(o.metadata);
+ checkUnnamed901(o.metadata);
unittest.expect(o.metageneration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkObjectOwner(o.owner);
@@ -1028,14 +1028,14 @@
buildCounterObjectAccessControl--;
}
-buildUnnamed897() {
+buildUnnamed902() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed897(core.List<api.ObjectAccessControl> o) {
+checkUnnamed902(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -1046,7 +1046,7 @@
var o = new api.ObjectAccessControls();
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- o.items = buildUnnamed897();
+ o.items = buildUnnamed902();
o.kind = "foo";
}
buildCounterObjectAccessControls--;
@@ -1056,33 +1056,33 @@
checkObjectAccessControls(api.ObjectAccessControls o) {
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- checkUnnamed897(o.items);
+ checkUnnamed902(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterObjectAccessControls--;
}
-buildUnnamed898() {
+buildUnnamed903() {
var o = new core.List<api.Object>();
o.add(buildObject());
o.add(buildObject());
return o;
}
-checkUnnamed898(core.List<api.Object> o) {
+checkUnnamed903(core.List<api.Object> o) {
unittest.expect(o, unittest.hasLength(2));
checkObject(o[0]);
checkObject(o[1]);
}
-buildUnnamed899() {
+buildUnnamed904() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed899(core.List<core.String> o) {
+checkUnnamed904(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'));
@@ -1093,10 +1093,10 @@
var o = new api.Objects();
buildCounterObjects++;
if (buildCounterObjects < 3) {
- o.items = buildUnnamed898();
+ o.items = buildUnnamed903();
o.kind = "foo";
o.nextPageToken = "foo";
- o.prefixes = buildUnnamed899();
+ o.prefixes = buildUnnamed904();
}
buildCounterObjects--;
return o;
@@ -1105,22 +1105,22 @@
checkObjects(api.Objects o) {
buildCounterObjects++;
if (buildCounterObjects < 3) {
- checkUnnamed898(o.items);
+ checkUnnamed903(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed899(o.prefixes);
+ checkUnnamed904(o.prefixes);
}
buildCounterObjects--;
}
-buildUnnamed900() {
+buildUnnamed905() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed900(core.List<core.String> o) {
+checkUnnamed905(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'));
@@ -1136,7 +1136,7 @@
'bool': true,
'string': 'foo'
};
- o.members = buildUnnamed900();
+ o.members = buildUnnamed905();
o.role = "foo";
}
buildCounterPolicyBindings--;
@@ -1151,20 +1151,20 @@
unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
unittest.expect(casted1["bool"], unittest.equals(true));
unittest.expect(casted1["string"], unittest.equals('foo'));
- checkUnnamed900(o.members);
+ checkUnnamed905(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterPolicyBindings--;
}
-buildUnnamed901() {
+buildUnnamed906() {
var o = new core.List<api.PolicyBindings>();
o.add(buildPolicyBindings());
o.add(buildPolicyBindings());
return o;
}
-checkUnnamed901(core.List<api.PolicyBindings> o) {
+checkUnnamed906(core.List<api.PolicyBindings> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicyBindings(o[0]);
checkPolicyBindings(o[1]);
@@ -1175,7 +1175,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed901();
+ o.bindings = buildUnnamed906();
o.etag = "foo";
o.kind = "foo";
o.resourceId = "foo";
@@ -1187,7 +1187,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed901(o.bindings);
+ checkUnnamed906(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1245,14 +1245,14 @@
buildCounterServiceAccount--;
}
-buildUnnamed902() {
+buildUnnamed907() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed902(core.List<core.String> o) {
+checkUnnamed907(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'));
@@ -1264,7 +1264,7 @@
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
o.kind = "foo";
- o.permissions = buildUnnamed902();
+ o.permissions = buildUnnamed907();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1274,32 +1274,32 @@
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed902(o.permissions);
+ checkUnnamed907(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed903() {
+buildUnnamed908() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed903(core.List<core.String> o) {
+checkUnnamed908(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'));
}
-buildUnnamed904() {
+buildUnnamed909() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed904(core.List<core.String> o) {
+checkUnnamed909(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'));
@@ -2526,7 +2526,7 @@
var mock = new HttpServerMock();
api.BucketsResourceApi res = new api.StorageApi(mock).buckets;
var arg_bucket = "foo";
- var arg_permissions = buildUnnamed903();
+ var arg_permissions = buildUnnamed908();
var arg_userProject = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3970,9 +3970,6 @@
unittest.group("resource-ObjectsResourceApi", () {
unittest.test("method--compose", () {
- // TODO: Implement tests for media upload;
- // TODO: Implement tests for media download;
-
var mock = new HttpServerMock();
api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
var arg_request = buildComposeRequest();
@@ -4070,9 +4067,6 @@
});
unittest.test("method--copy", () {
- // TODO: Implement tests for media upload;
- // TODO: Implement tests for media download;
-
var mock = new HttpServerMock();
api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
var arg_request = buildObject();
@@ -5026,7 +5020,7 @@
api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
var arg_bucket = "foo";
var arg_object = "foo";
- var arg_permissions = buildUnnamed904();
+ var arg_permissions = buildUnnamed909();
var arg_generation = "foo";
var arg_userProject = "foo";
var arg_$fields = "foo";
@@ -5107,9 +5101,6 @@
});
unittest.test("method--update", () {
- // TODO: Implement tests for media upload;
- // TODO: Implement tests for media download;
-
var mock = new HttpServerMock();
api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
var arg_request = buildObject();
diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart
index 33dd95b..c2d9086 100644
--- a/generated/googleapis/test/storagetransfer/v1_test.dart
+++ b/generated/googleapis/test/storagetransfer/v1_test.dart
@@ -130,14 +130,14 @@
buildCounterEmpty--;
}
-buildUnnamed1435() {
+buildUnnamed1441() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1435(core.List<core.String> o) {
+checkUnnamed1441(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'));
@@ -148,7 +148,7 @@
var o = new api.ErrorLogEntry();
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- o.errorDetails = buildUnnamed1435();
+ o.errorDetails = buildUnnamed1441();
o.url = "foo";
}
buildCounterErrorLogEntry--;
@@ -158,20 +158,20 @@
checkErrorLogEntry(api.ErrorLogEntry o) {
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- checkUnnamed1435(o.errorDetails);
+ checkUnnamed1441(o.errorDetails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterErrorLogEntry--;
}
-buildUnnamed1436() {
+buildUnnamed1442() {
var o = new core.List<api.ErrorLogEntry>();
o.add(buildErrorLogEntry());
o.add(buildErrorLogEntry());
return o;
}
-checkUnnamed1436(core.List<api.ErrorLogEntry> o) {
+checkUnnamed1442(core.List<api.ErrorLogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorLogEntry(o[0]);
checkErrorLogEntry(o[1]);
@@ -184,7 +184,7 @@
if (buildCounterErrorSummary < 3) {
o.errorCode = "foo";
o.errorCount = "foo";
- o.errorLogEntries = buildUnnamed1436();
+ o.errorLogEntries = buildUnnamed1442();
}
buildCounterErrorSummary--;
return o;
@@ -195,7 +195,7 @@
if (buildCounterErrorSummary < 3) {
unittest.expect(o.errorCode, unittest.equals('foo'));
unittest.expect(o.errorCount, unittest.equals('foo'));
- checkUnnamed1436(o.errorLogEntries);
+ checkUnnamed1442(o.errorLogEntries);
}
buildCounterErrorSummary--;
}
@@ -257,14 +257,14 @@
buildCounterHttpData--;
}
-buildUnnamed1437() {
+buildUnnamed1443() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1437(core.List<api.Operation> o) {
+checkUnnamed1443(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -276,7 +276,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1437();
+ o.operations = buildUnnamed1443();
}
buildCounterListOperationsResponse--;
return o;
@@ -286,19 +286,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1437(o.operations);
+ checkUnnamed1443(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1438() {
+buildUnnamed1444() {
var o = new core.List<api.TransferJob>();
o.add(buildTransferJob());
o.add(buildTransferJob());
return o;
}
-checkUnnamed1438(core.List<api.TransferJob> o) {
+checkUnnamed1444(core.List<api.TransferJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferJob(o[0]);
checkTransferJob(o[1]);
@@ -310,7 +310,7 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
o.nextPageToken = "foo";
- o.transferJobs = buildUnnamed1438();
+ o.transferJobs = buildUnnamed1444();
}
buildCounterListTransferJobsResponse--;
return o;
@@ -320,32 +320,32 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1438(o.transferJobs);
+ checkUnnamed1444(o.transferJobs);
}
buildCounterListTransferJobsResponse--;
}
-buildUnnamed1439() {
+buildUnnamed1445() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1439(core.List<core.String> o) {
+checkUnnamed1445(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'));
}
-buildUnnamed1440() {
+buildUnnamed1446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1440(core.List<core.String> o) {
+checkUnnamed1446(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'));
@@ -356,8 +356,8 @@
var o = new api.ObjectConditions();
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- o.excludePrefixes = buildUnnamed1439();
- o.includePrefixes = buildUnnamed1440();
+ o.excludePrefixes = buildUnnamed1445();
+ o.includePrefixes = buildUnnamed1446();
o.maxTimeElapsedSinceLastModification = "foo";
o.minTimeElapsedSinceLastModification = "foo";
}
@@ -368,8 +368,8 @@
checkObjectConditions(api.ObjectConditions o) {
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- checkUnnamed1439(o.excludePrefixes);
- checkUnnamed1440(o.includePrefixes);
+ checkUnnamed1445(o.excludePrefixes);
+ checkUnnamed1446(o.includePrefixes);
unittest.expect(
o.maxTimeElapsedSinceLastModification, unittest.equals('foo'));
unittest.expect(
@@ -378,7 +378,7 @@
buildCounterObjectConditions--;
}
-buildUnnamed1441() {
+buildUnnamed1447() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -393,7 +393,7 @@
return o;
}
-checkUnnamed1441(core.Map<core.String, core.Object> o) {
+checkUnnamed1447(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -407,7 +407,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1442() {
+buildUnnamed1448() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -422,7 +422,7 @@
return o;
}
-checkUnnamed1442(core.Map<core.String, core.Object> o) {
+checkUnnamed1448(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -443,9 +443,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1441();
+ o.metadata = buildUnnamed1447();
o.name = "foo";
- o.response = buildUnnamed1442();
+ o.response = buildUnnamed1448();
}
buildCounterOperation--;
return o;
@@ -456,9 +456,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1441(o.metadata);
+ checkUnnamed1447(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1442(o.response);
+ checkUnnamed1448(o.response);
}
buildCounterOperation--;
}
@@ -516,7 +516,7 @@
buildCounterSchedule--;
}
-buildUnnamed1443() {
+buildUnnamed1449() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -531,7 +531,7 @@
return o;
}
-checkUnnamed1443(core.Map<core.String, core.Object> o) {
+checkUnnamed1449(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -545,17 +545,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1444() {
+buildUnnamed1450() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1443());
- o.add(buildUnnamed1443());
+ o.add(buildUnnamed1449());
+ o.add(buildUnnamed1449());
return o;
}
-checkUnnamed1444(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1450(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1443(o[0]);
- checkUnnamed1443(o[1]);
+ checkUnnamed1449(o[0]);
+ checkUnnamed1449(o[1]);
}
core.int buildCounterStatus = 0;
@@ -564,7 +564,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1444();
+ o.details = buildUnnamed1450();
o.message = "foo";
}
buildCounterStatus--;
@@ -575,7 +575,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1444(o.details);
+ checkUnnamed1450(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -690,14 +690,14 @@
buildCounterTransferJob--;
}
-buildUnnamed1445() {
+buildUnnamed1451() {
var o = new core.List<api.ErrorSummary>();
o.add(buildErrorSummary());
o.add(buildErrorSummary());
return o;
}
-checkUnnamed1445(core.List<api.ErrorSummary> o) {
+checkUnnamed1451(core.List<api.ErrorSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorSummary(o[0]);
checkErrorSummary(o[1]);
@@ -710,7 +710,7 @@
if (buildCounterTransferOperation < 3) {
o.counters = buildTransferCounters();
o.endTime = "foo";
- o.errorBreakdowns = buildUnnamed1445();
+ o.errorBreakdowns = buildUnnamed1451();
o.name = "foo";
o.projectId = "foo";
o.startTime = "foo";
@@ -727,7 +727,7 @@
if (buildCounterTransferOperation < 3) {
checkTransferCounters(o.counters);
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1445(o.errorBreakdowns);
+ checkUnnamed1451(o.errorBreakdowns);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
diff --git a/generated/googleapis/test/streetviewpublish/v1_test.dart b/generated/googleapis/test/streetviewpublish/v1_test.dart
index d841afb..850a153 100644
--- a/generated/googleapis/test/streetviewpublish/v1_test.dart
+++ b/generated/googleapis/test/streetviewpublish/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3231() {
+buildUnnamed3493() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3231(core.List<core.String> o) {
+checkUnnamed3493(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'));
@@ -68,7 +68,7 @@
var o = new api.BatchDeletePhotosRequest();
buildCounterBatchDeletePhotosRequest++;
if (buildCounterBatchDeletePhotosRequest < 3) {
- o.photoIds = buildUnnamed3231();
+ o.photoIds = buildUnnamed3493();
}
buildCounterBatchDeletePhotosRequest--;
return o;
@@ -77,19 +77,19 @@
checkBatchDeletePhotosRequest(api.BatchDeletePhotosRequest o) {
buildCounterBatchDeletePhotosRequest++;
if (buildCounterBatchDeletePhotosRequest < 3) {
- checkUnnamed3231(o.photoIds);
+ checkUnnamed3493(o.photoIds);
}
buildCounterBatchDeletePhotosRequest--;
}
-buildUnnamed3232() {
+buildUnnamed3494() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3232(core.List<api.Status> o) {
+checkUnnamed3494(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
@@ -100,7 +100,7 @@
var o = new api.BatchDeletePhotosResponse();
buildCounterBatchDeletePhotosResponse++;
if (buildCounterBatchDeletePhotosResponse < 3) {
- o.status = buildUnnamed3232();
+ o.status = buildUnnamed3494();
}
buildCounterBatchDeletePhotosResponse--;
return o;
@@ -109,19 +109,19 @@
checkBatchDeletePhotosResponse(api.BatchDeletePhotosResponse o) {
buildCounterBatchDeletePhotosResponse++;
if (buildCounterBatchDeletePhotosResponse < 3) {
- checkUnnamed3232(o.status);
+ checkUnnamed3494(o.status);
}
buildCounterBatchDeletePhotosResponse--;
}
-buildUnnamed3233() {
+buildUnnamed3495() {
var o = new core.List<api.PhotoResponse>();
o.add(buildPhotoResponse());
o.add(buildPhotoResponse());
return o;
}
-checkUnnamed3233(core.List<api.PhotoResponse> o) {
+checkUnnamed3495(core.List<api.PhotoResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhotoResponse(o[0]);
checkPhotoResponse(o[1]);
@@ -132,7 +132,7 @@
var o = new api.BatchGetPhotosResponse();
buildCounterBatchGetPhotosResponse++;
if (buildCounterBatchGetPhotosResponse < 3) {
- o.results = buildUnnamed3233();
+ o.results = buildUnnamed3495();
}
buildCounterBatchGetPhotosResponse--;
return o;
@@ -141,19 +141,19 @@
checkBatchGetPhotosResponse(api.BatchGetPhotosResponse o) {
buildCounterBatchGetPhotosResponse++;
if (buildCounterBatchGetPhotosResponse < 3) {
- checkUnnamed3233(o.results);
+ checkUnnamed3495(o.results);
}
buildCounterBatchGetPhotosResponse--;
}
-buildUnnamed3234() {
+buildUnnamed3496() {
var o = new core.List<api.UpdatePhotoRequest>();
o.add(buildUpdatePhotoRequest());
o.add(buildUpdatePhotoRequest());
return o;
}
-checkUnnamed3234(core.List<api.UpdatePhotoRequest> o) {
+checkUnnamed3496(core.List<api.UpdatePhotoRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdatePhotoRequest(o[0]);
checkUpdatePhotoRequest(o[1]);
@@ -164,7 +164,7 @@
var o = new api.BatchUpdatePhotosRequest();
buildCounterBatchUpdatePhotosRequest++;
if (buildCounterBatchUpdatePhotosRequest < 3) {
- o.updatePhotoRequests = buildUnnamed3234();
+ o.updatePhotoRequests = buildUnnamed3496();
}
buildCounterBatchUpdatePhotosRequest--;
return o;
@@ -173,19 +173,19 @@
checkBatchUpdatePhotosRequest(api.BatchUpdatePhotosRequest o) {
buildCounterBatchUpdatePhotosRequest++;
if (buildCounterBatchUpdatePhotosRequest < 3) {
- checkUnnamed3234(o.updatePhotoRequests);
+ checkUnnamed3496(o.updatePhotoRequests);
}
buildCounterBatchUpdatePhotosRequest--;
}
-buildUnnamed3235() {
+buildUnnamed3497() {
var o = new core.List<api.PhotoResponse>();
o.add(buildPhotoResponse());
o.add(buildPhotoResponse());
return o;
}
-checkUnnamed3235(core.List<api.PhotoResponse> o) {
+checkUnnamed3497(core.List<api.PhotoResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhotoResponse(o[0]);
checkPhotoResponse(o[1]);
@@ -196,7 +196,7 @@
var o = new api.BatchUpdatePhotosResponse();
buildCounterBatchUpdatePhotosResponse++;
if (buildCounterBatchUpdatePhotosResponse < 3) {
- o.results = buildUnnamed3235();
+ o.results = buildUnnamed3497();
}
buildCounterBatchUpdatePhotosResponse--;
return o;
@@ -205,7 +205,7 @@
checkBatchUpdatePhotosResponse(api.BatchUpdatePhotosResponse o) {
buildCounterBatchUpdatePhotosResponse++;
if (buildCounterBatchUpdatePhotosResponse < 3) {
- checkUnnamed3235(o.results);
+ checkUnnamed3497(o.results);
}
buildCounterBatchUpdatePhotosResponse--;
}
@@ -286,14 +286,14 @@
buildCounterLevel--;
}
-buildUnnamed3236() {
+buildUnnamed3498() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed3236(core.List<api.Photo> o) {
+checkUnnamed3498(core.List<api.Photo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoto(o[0]);
checkPhoto(o[1]);
@@ -305,7 +305,7 @@
buildCounterListPhotosResponse++;
if (buildCounterListPhotosResponse < 3) {
o.nextPageToken = "foo";
- o.photos = buildUnnamed3236();
+ o.photos = buildUnnamed3498();
}
buildCounterListPhotosResponse--;
return o;
@@ -315,12 +315,12 @@
buildCounterListPhotosResponse++;
if (buildCounterListPhotosResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3236(o.photos);
+ checkUnnamed3498(o.photos);
}
buildCounterListPhotosResponse--;
}
-buildUnnamed3237() {
+buildUnnamed3499() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -335,7 +335,7 @@
return o;
}
-checkUnnamed3237(core.Map<core.String, core.Object> o) {
+checkUnnamed3499(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -349,7 +349,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3238() {
+buildUnnamed3500() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -364,7 +364,7 @@
return o;
}
-checkUnnamed3238(core.Map<core.String, core.Object> o) {
+checkUnnamed3500(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -385,9 +385,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3237();
+ o.metadata = buildUnnamed3499();
o.name = "foo";
- o.response = buildUnnamed3238();
+ o.response = buildUnnamed3500();
}
buildCounterOperation--;
return o;
@@ -398,34 +398,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3237(o.metadata);
+ checkUnnamed3499(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3238(o.response);
+ checkUnnamed3500(o.response);
}
buildCounterOperation--;
}
-buildUnnamed3239() {
+buildUnnamed3501() {
var o = new core.List<api.Connection>();
o.add(buildConnection());
o.add(buildConnection());
return o;
}
-checkUnnamed3239(core.List<api.Connection> o) {
+checkUnnamed3501(core.List<api.Connection> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnection(o[0]);
checkConnection(o[1]);
}
-buildUnnamed3240() {
+buildUnnamed3502() {
var o = new core.List<api.Place>();
o.add(buildPlace());
o.add(buildPlace());
return o;
}
-checkUnnamed3240(core.List<api.Place> o) {
+checkUnnamed3502(core.List<api.Place> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlace(o[0]);
checkPlace(o[1]);
@@ -437,10 +437,10 @@
buildCounterPhoto++;
if (buildCounterPhoto < 3) {
o.captureTime = "foo";
- o.connections = buildUnnamed3239();
+ o.connections = buildUnnamed3501();
o.downloadUrl = "foo";
o.photoId = buildPhotoId();
- o.places = buildUnnamed3240();
+ o.places = buildUnnamed3502();
o.pose = buildPose();
o.shareLink = "foo";
o.thumbnailUrl = "foo";
@@ -455,10 +455,10 @@
buildCounterPhoto++;
if (buildCounterPhoto < 3) {
unittest.expect(o.captureTime, unittest.equals('foo'));
- checkUnnamed3239(o.connections);
+ checkUnnamed3501(o.connections);
unittest.expect(o.downloadUrl, unittest.equals('foo'));
checkPhotoId(o.photoId);
- checkUnnamed3240(o.places);
+ checkUnnamed3502(o.places);
checkPose(o.pose);
unittest.expect(o.shareLink, unittest.equals('foo'));
unittest.expect(o.thumbnailUrl, unittest.equals('foo'));
@@ -556,7 +556,7 @@
buildCounterPose--;
}
-buildUnnamed3241() {
+buildUnnamed3503() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -571,7 +571,7 @@
return o;
}
-checkUnnamed3241(core.Map<core.String, core.Object> o) {
+checkUnnamed3503(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -585,17 +585,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed3242() {
+buildUnnamed3504() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3241());
- o.add(buildUnnamed3241());
+ o.add(buildUnnamed3503());
+ o.add(buildUnnamed3503());
return o;
}
-checkUnnamed3242(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3504(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3241(o[0]);
- checkUnnamed3241(o[1]);
+ checkUnnamed3503(o[0]);
+ checkUnnamed3503(o[1]);
}
core.int buildCounterStatus = 0;
@@ -604,7 +604,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3242();
+ o.details = buildUnnamed3504();
o.message = "foo";
}
buildCounterStatus--;
@@ -615,7 +615,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3242(o.details);
+ checkUnnamed3504(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -661,14 +661,14 @@
buildCounterUploadRef--;
}
-buildUnnamed3243() {
+buildUnnamed3505() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3243(core.List<core.String> o) {
+checkUnnamed3505(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'));
@@ -1160,8 +1160,8 @@
unittest.test("method--batchGet", () {
var mock = new HttpServerMock();
api.PhotosResourceApi res = new api.StreetviewpublishApi(mock).photos;
+ var arg_photoIds = buildUnnamed3505();
var arg_view = "foo";
- var arg_photoIds = buildUnnamed3243();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1193,8 +1193,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["photoIds"], unittest.equals(arg_photoIds));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1205,7 +1205,7 @@
}), true);
res
.batchGet(
- view: arg_view, photoIds: arg_photoIds, $fields: arg_$fields)
+ photoIds: arg_photoIds, view: arg_view, $fields: arg_$fields)
.then(unittest.expectAsync1(((api.BatchGetPhotosResponse response) {
checkBatchGetPhotosResponse(response);
})));
@@ -1266,10 +1266,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.PhotosResourceApi res = new api.StreetviewpublishApi(mock).photos;
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1301,12 +1301,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1317,10 +1317,10 @@
}), true);
res
.list(
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListPhotosResponse response) {
checkListPhotosResponse(response);
diff --git a/generated/googleapis/test/surveys/v2_test.dart b/generated/googleapis/test/surveys/v2_test.dart
index 8469873..15947e2 100644
--- a/generated/googleapis/test/surveys/v2_test.dart
+++ b/generated/googleapis/test/surveys/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2273() {
+buildUnnamed2279() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed2273(core.List<api.FieldMask> o) {
+checkUnnamed2279(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -68,7 +68,7 @@
var o = new api.FieldMask();
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- o.fields = buildUnnamed2273();
+ o.fields = buildUnnamed2279();
o.id = 42;
}
buildCounterFieldMask--;
@@ -78,20 +78,20 @@
checkFieldMask(api.FieldMask o) {
buildCounterFieldMask++;
if (buildCounterFieldMask < 3) {
- checkUnnamed2273(o.fields);
+ checkUnnamed2279(o.fields);
unittest.expect(o.id, unittest.equals(42));
}
buildCounterFieldMask--;
}
-buildUnnamed2274() {
+buildUnnamed2280() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2274(core.List<core.String> o) {
+checkUnnamed2280(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'));
@@ -107,7 +107,7 @@
o.language = "foo";
o.mobileAppPanelId = "foo";
o.name = "foo";
- o.owners = buildUnnamed2274();
+ o.owners = buildUnnamed2280();
}
buildCounterMobileAppPanel--;
return o;
@@ -121,19 +121,19 @@
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2274(o.owners);
+ checkUnnamed2280(o.owners);
}
buildCounterMobileAppPanel--;
}
-buildUnnamed2275() {
+buildUnnamed2281() {
var o = new core.List<api.MobileAppPanel>();
o.add(buildMobileAppPanel());
o.add(buildMobileAppPanel());
return o;
}
-checkUnnamed2275(core.List<api.MobileAppPanel> o) {
+checkUnnamed2281(core.List<api.MobileAppPanel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileAppPanel(o[0]);
checkMobileAppPanel(o[1]);
@@ -146,7 +146,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed2275();
+ o.resources = buildUnnamed2281();
o.tokenPagination = buildTokenPagination();
}
buildCounterMobileAppPanelsListResponse--;
@@ -158,7 +158,7 @@
if (buildCounterMobileAppPanelsListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed2275(o.resources);
+ checkUnnamed2281(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterMobileAppPanelsListResponse--;
@@ -206,14 +206,14 @@
buildCounterResultsGetRequest--;
}
-buildUnnamed2276() {
+buildUnnamed2282() {
var o = new core.List<api.FieldMask>();
o.add(buildFieldMask());
o.add(buildFieldMask());
return o;
}
-checkUnnamed2276(core.List<api.FieldMask> o) {
+checkUnnamed2282(core.List<api.FieldMask> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMask(o[0]);
checkFieldMask(o[1]);
@@ -224,7 +224,7 @@
var o = new api.ResultsMask();
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- o.fields = buildUnnamed2276();
+ o.fields = buildUnnamed2282();
o.projection = "foo";
}
buildCounterResultsMask--;
@@ -234,33 +234,33 @@
checkResultsMask(api.ResultsMask o) {
buildCounterResultsMask++;
if (buildCounterResultsMask < 3) {
- checkUnnamed2276(o.fields);
+ checkUnnamed2282(o.fields);
unittest.expect(o.projection, unittest.equals('foo'));
}
buildCounterResultsMask--;
}
-buildUnnamed2277() {
+buildUnnamed2283() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2277(core.List<core.String> o) {
+checkUnnamed2283(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'));
}
-buildUnnamed2278() {
+buildUnnamed2284() {
var o = new core.List<api.SurveyQuestion>();
o.add(buildSurveyQuestion());
o.add(buildSurveyQuestion());
return o;
}
-checkUnnamed2278(core.List<api.SurveyQuestion> o) {
+checkUnnamed2284(core.List<api.SurveyQuestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestion(o[0]);
checkSurveyQuestion(o[1]);
@@ -275,8 +275,8 @@
o.cost = buildSurveyCost();
o.customerData = "foo";
o.description = "foo";
- o.owners = buildUnnamed2277();
- o.questions = buildUnnamed2278();
+ o.owners = buildUnnamed2283();
+ o.questions = buildUnnamed2284();
o.rejectionReason = buildSurveyRejection();
o.state = "foo";
o.surveyUrlId = "foo";
@@ -294,8 +294,8 @@
checkSurveyCost(o.cost);
unittest.expect(o.customerData, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2277(o.owners);
- checkUnnamed2278(o.questions);
+ checkUnnamed2283(o.owners);
+ checkUnnamed2284(o.questions);
checkSurveyRejection(o.rejectionReason);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.surveyUrlId, unittest.equals('foo'));
@@ -305,27 +305,27 @@
buildCounterSurvey--;
}
-buildUnnamed2279() {
+buildUnnamed2285() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2279(core.List<core.String> o) {
+checkUnnamed2285(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'));
}
-buildUnnamed2280() {
+buildUnnamed2286() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2280(core.List<core.String> o) {
+checkUnnamed2286(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'));
@@ -336,11 +336,11 @@
var o = new api.SurveyAudience();
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- o.ages = buildUnnamed2279();
+ o.ages = buildUnnamed2285();
o.country = "foo";
o.countrySubdivision = "foo";
o.gender = "foo";
- o.languages = buildUnnamed2280();
+ o.languages = buildUnnamed2286();
o.mobileAppPanelId = "foo";
o.populationSource = "foo";
}
@@ -351,11 +351,11 @@
checkSurveyAudience(api.SurveyAudience o) {
buildCounterSurveyAudience++;
if (buildCounterSurveyAudience < 3) {
- checkUnnamed2279(o.ages);
+ checkUnnamed2285(o.ages);
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.countrySubdivision, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed2280(o.languages);
+ checkUnnamed2286(o.languages);
unittest.expect(o.mobileAppPanelId, unittest.equals('foo'));
unittest.expect(o.populationSource, unittest.equals('foo'));
}
@@ -387,53 +387,53 @@
buildCounterSurveyCost--;
}
-buildUnnamed2281() {
+buildUnnamed2287() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2281(core.List<core.String> o) {
+checkUnnamed2287(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'));
}
-buildUnnamed2282() {
+buildUnnamed2288() {
var o = new core.List<api.SurveyQuestionImage>();
o.add(buildSurveyQuestionImage());
o.add(buildSurveyQuestionImage());
return o;
}
-checkUnnamed2282(core.List<api.SurveyQuestionImage> o) {
+checkUnnamed2288(core.List<api.SurveyQuestionImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurveyQuestionImage(o[0]);
checkSurveyQuestionImage(o[1]);
}
-buildUnnamed2283() {
+buildUnnamed2289() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2283(core.List<core.String> o) {
+checkUnnamed2289(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'));
}
-buildUnnamed2284() {
+buildUnnamed2290() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2284(core.List<core.String> o) {
+checkUnnamed2290(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'));
@@ -445,20 +445,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
o.answerOrder = "foo";
- o.answers = buildUnnamed2281();
+ o.answers = buildUnnamed2287();
o.hasOther = true;
o.highValueLabel = "foo";
- o.images = buildUnnamed2282();
+ o.images = buildUnnamed2288();
o.lastAnswerPositionPinned = true;
o.lowValueLabel = "foo";
o.mustPickSuggestion = true;
o.numStars = "foo";
o.openTextPlaceholder = "foo";
- o.openTextSuggestions = buildUnnamed2283();
+ o.openTextSuggestions = buildUnnamed2289();
o.question = "foo";
o.sentimentText = "foo";
o.singleLineResponse = true;
- o.thresholdAnswers = buildUnnamed2284();
+ o.thresholdAnswers = buildUnnamed2290();
o.type = "foo";
o.unitOfMeasurementLabel = "foo";
o.videoId = "foo";
@@ -471,20 +471,20 @@
buildCounterSurveyQuestion++;
if (buildCounterSurveyQuestion < 3) {
unittest.expect(o.answerOrder, unittest.equals('foo'));
- checkUnnamed2281(o.answers);
+ checkUnnamed2287(o.answers);
unittest.expect(o.hasOther, unittest.isTrue);
unittest.expect(o.highValueLabel, unittest.equals('foo'));
- checkUnnamed2282(o.images);
+ checkUnnamed2288(o.images);
unittest.expect(o.lastAnswerPositionPinned, unittest.isTrue);
unittest.expect(o.lowValueLabel, unittest.equals('foo'));
unittest.expect(o.mustPickSuggestion, unittest.isTrue);
unittest.expect(o.numStars, unittest.equals('foo'));
unittest.expect(o.openTextPlaceholder, unittest.equals('foo'));
- checkUnnamed2283(o.openTextSuggestions);
+ checkUnnamed2289(o.openTextSuggestions);
unittest.expect(o.question, unittest.equals('foo'));
unittest.expect(o.sentimentText, unittest.equals('foo'));
unittest.expect(o.singleLineResponse, unittest.isTrue);
- checkUnnamed2284(o.thresholdAnswers);
+ checkUnnamed2290(o.thresholdAnswers);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unitOfMeasurementLabel, unittest.equals('foo'));
unittest.expect(o.videoId, unittest.equals('foo'));
@@ -576,14 +576,14 @@
buildCounterSurveysDeleteResponse--;
}
-buildUnnamed2285() {
+buildUnnamed2291() {
var o = new core.List<api.Survey>();
o.add(buildSurvey());
o.add(buildSurvey());
return o;
}
-checkUnnamed2285(core.List<api.Survey> o) {
+checkUnnamed2291(core.List<api.Survey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSurvey(o[0]);
checkSurvey(o[1]);
@@ -596,7 +596,7 @@
if (buildCounterSurveysListResponse < 3) {
o.pageInfo = buildPageInfo();
o.requestId = "foo";
- o.resources = buildUnnamed2285();
+ o.resources = buildUnnamed2291();
o.tokenPagination = buildTokenPagination();
}
buildCounterSurveysListResponse--;
@@ -608,7 +608,7 @@
if (buildCounterSurveysListResponse < 3) {
checkPageInfo(o.pageInfo);
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed2285(o.resources);
+ checkUnnamed2291(o.resources);
checkTokenPagination(o.tokenPagination);
}
buildCounterSurveysListResponse--;
diff --git a/generated/googleapis/test/tagmanager/v1_test.dart b/generated/googleapis/test/tagmanager/v1_test.dart
index e946ed0..8a94ee0 100644
--- a/generated/googleapis/test/tagmanager/v1_test.dart
+++ b/generated/googleapis/test/tagmanager/v1_test.dart
@@ -75,14 +75,14 @@
buildCounterAccount--;
}
-buildUnnamed1682() {
+buildUnnamed1688() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1682(core.List<core.String> o) {
+checkUnnamed1688(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'));
@@ -93,7 +93,7 @@
var o = new api.AccountAccess();
buildCounterAccountAccess++;
if (buildCounterAccountAccess < 3) {
- o.permission = buildUnnamed1682();
+ o.permission = buildUnnamed1688();
}
buildCounterAccountAccess--;
return o;
@@ -102,19 +102,19 @@
checkAccountAccess(api.AccountAccess o) {
buildCounterAccountAccess++;
if (buildCounterAccountAccess < 3) {
- checkUnnamed1682(o.permission);
+ checkUnnamed1688(o.permission);
}
buildCounterAccountAccess--;
}
-buildUnnamed1683() {
+buildUnnamed1689() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1683(core.List<api.Parameter> o) {
+checkUnnamed1689(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -125,7 +125,7 @@
var o = new api.Condition();
buildCounterCondition++;
if (buildCounterCondition < 3) {
- o.parameter = buildUnnamed1683();
+ o.parameter = buildUnnamed1689();
o.type = "foo";
}
buildCounterCondition--;
@@ -135,46 +135,46 @@
checkCondition(api.Condition o) {
buildCounterCondition++;
if (buildCounterCondition < 3) {
- checkUnnamed1683(o.parameter);
+ checkUnnamed1689(o.parameter);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCondition--;
}
-buildUnnamed1684() {
+buildUnnamed1690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1684(core.List<core.String> o) {
+checkUnnamed1690(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'));
}
-buildUnnamed1685() {
+buildUnnamed1691() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1685(core.List<core.String> o) {
+checkUnnamed1691(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'));
}
-buildUnnamed1686() {
+buildUnnamed1692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1686(core.List<core.String> o) {
+checkUnnamed1692(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'));
@@ -187,15 +187,15 @@
if (buildCounterContainer < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.domainName = buildUnnamed1684();
- o.enabledBuiltInVariable = buildUnnamed1685();
+ o.domainName = buildUnnamed1690();
+ o.enabledBuiltInVariable = buildUnnamed1691();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
o.publicId = "foo";
o.timeZoneCountryId = "foo";
o.timeZoneId = "foo";
- o.usageContext = buildUnnamed1686();
+ o.usageContext = buildUnnamed1692();
}
buildCounterContainer--;
return o;
@@ -206,27 +206,27 @@
if (buildCounterContainer < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1684(o.domainName);
- checkUnnamed1685(o.enabledBuiltInVariable);
+ checkUnnamed1690(o.domainName);
+ checkUnnamed1691(o.enabledBuiltInVariable);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.publicId, unittest.equals('foo'));
unittest.expect(o.timeZoneCountryId, unittest.equals('foo'));
unittest.expect(o.timeZoneId, unittest.equals('foo'));
- checkUnnamed1686(o.usageContext);
+ checkUnnamed1692(o.usageContext);
}
buildCounterContainer--;
}
-buildUnnamed1687() {
+buildUnnamed1693() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1687(core.List<core.String> o) {
+checkUnnamed1693(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'));
@@ -238,7 +238,7 @@
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
o.containerId = "foo";
- o.permission = buildUnnamed1687();
+ o.permission = buildUnnamed1693();
}
buildCounterContainerAccess--;
return o;
@@ -248,84 +248,84 @@
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1687(o.permission);
+ checkUnnamed1693(o.permission);
}
buildCounterContainerAccess--;
}
-buildUnnamed1688() {
+buildUnnamed1694() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1688(core.List<api.Folder> o) {
+checkUnnamed1694(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
}
-buildUnnamed1689() {
+buildUnnamed1695() {
var o = new core.List<api.Macro>();
o.add(buildMacro());
o.add(buildMacro());
return o;
}
-checkUnnamed1689(core.List<api.Macro> o) {
+checkUnnamed1695(core.List<api.Macro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMacro(o[0]);
checkMacro(o[1]);
}
-buildUnnamed1690() {
+buildUnnamed1696() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed1690(core.List<api.Rule> o) {
+checkUnnamed1696(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
}
-buildUnnamed1691() {
+buildUnnamed1697() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1691(core.List<api.Tag> o) {
+checkUnnamed1697(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1692() {
+buildUnnamed1698() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1692(core.List<api.Trigger> o) {
+checkUnnamed1698(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1693() {
+buildUnnamed1699() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1693(core.List<api.Variable> o) {
+checkUnnamed1699(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -342,14 +342,14 @@
o.containerVersionId = "foo";
o.deleted = true;
o.fingerprint = "foo";
- o.folder = buildUnnamed1688();
- o.macro = buildUnnamed1689();
+ o.folder = buildUnnamed1694();
+ o.macro = buildUnnamed1695();
o.name = "foo";
o.notes = "foo";
- o.rule = buildUnnamed1690();
- o.tag = buildUnnamed1691();
- o.trigger = buildUnnamed1692();
- o.variable = buildUnnamed1693();
+ o.rule = buildUnnamed1696();
+ o.tag = buildUnnamed1697();
+ o.trigger = buildUnnamed1698();
+ o.variable = buildUnnamed1699();
}
buildCounterContainerVersion--;
return o;
@@ -364,14 +364,14 @@
unittest.expect(o.containerVersionId, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1688(o.folder);
- checkUnnamed1689(o.macro);
+ checkUnnamed1694(o.folder);
+ checkUnnamed1695(o.macro);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1690(o.rule);
- checkUnnamed1691(o.tag);
- checkUnnamed1692(o.trigger);
- checkUnnamed1693(o.variable);
+ checkUnnamed1696(o.rule);
+ checkUnnamed1697(o.tag);
+ checkUnnamed1698(o.trigger);
+ checkUnnamed1699(o.variable);
}
buildCounterContainerVersion--;
}
@@ -526,40 +526,40 @@
buildCounterFolder--;
}
-buildUnnamed1694() {
+buildUnnamed1700() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1694(core.List<api.Tag> o) {
+checkUnnamed1700(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1695() {
+buildUnnamed1701() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1695(core.List<api.Trigger> o) {
+checkUnnamed1701(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1696() {
+buildUnnamed1702() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1696(core.List<api.Variable> o) {
+checkUnnamed1702(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -570,9 +570,9 @@
var o = new api.FolderEntities();
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- o.tag = buildUnnamed1694();
- o.trigger = buildUnnamed1695();
- o.variable = buildUnnamed1696();
+ o.tag = buildUnnamed1700();
+ o.trigger = buildUnnamed1701();
+ o.variable = buildUnnamed1702();
}
buildCounterFolderEntities--;
return o;
@@ -581,21 +581,21 @@
checkFolderEntities(api.FolderEntities o) {
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- checkUnnamed1694(o.tag);
- checkUnnamed1695(o.trigger);
- checkUnnamed1696(o.variable);
+ checkUnnamed1700(o.tag);
+ checkUnnamed1701(o.trigger);
+ checkUnnamed1702(o.variable);
}
buildCounterFolderEntities--;
}
-buildUnnamed1697() {
+buildUnnamed1703() {
var o = new core.List<api.UserAccess>();
o.add(buildUserAccess());
o.add(buildUserAccess());
return o;
}
-checkUnnamed1697(core.List<api.UserAccess> o) {
+checkUnnamed1703(core.List<api.UserAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAccess(o[0]);
checkUserAccess(o[1]);
@@ -606,7 +606,7 @@
var o = new api.ListAccountUsersResponse();
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- o.userAccess = buildUnnamed1697();
+ o.userAccess = buildUnnamed1703();
}
buildCounterListAccountUsersResponse--;
return o;
@@ -615,19 +615,19 @@
checkListAccountUsersResponse(api.ListAccountUsersResponse o) {
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- checkUnnamed1697(o.userAccess);
+ checkUnnamed1703(o.userAccess);
}
buildCounterListAccountUsersResponse--;
}
-buildUnnamed1698() {
+buildUnnamed1704() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1698(core.List<api.Account> o) {
+checkUnnamed1704(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -638,7 +638,7 @@
var o = new api.ListAccountsResponse();
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- o.accounts = buildUnnamed1698();
+ o.accounts = buildUnnamed1704();
}
buildCounterListAccountsResponse--;
return o;
@@ -647,32 +647,32 @@
checkListAccountsResponse(api.ListAccountsResponse o) {
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- checkUnnamed1698(o.accounts);
+ checkUnnamed1704(o.accounts);
}
buildCounterListAccountsResponse--;
}
-buildUnnamed1699() {
+buildUnnamed1705() {
var o = new core.List<api.ContainerVersion>();
o.add(buildContainerVersion());
o.add(buildContainerVersion());
return o;
}
-checkUnnamed1699(core.List<api.ContainerVersion> o) {
+checkUnnamed1705(core.List<api.ContainerVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersion(o[0]);
checkContainerVersion(o[1]);
}
-buildUnnamed1700() {
+buildUnnamed1706() {
var o = new core.List<api.ContainerVersionHeader>();
o.add(buildContainerVersionHeader());
o.add(buildContainerVersionHeader());
return o;
}
-checkUnnamed1700(core.List<api.ContainerVersionHeader> o) {
+checkUnnamed1706(core.List<api.ContainerVersionHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersionHeader(o[0]);
checkContainerVersionHeader(o[1]);
@@ -683,8 +683,8 @@
var o = new api.ListContainerVersionsResponse();
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- o.containerVersion = buildUnnamed1699();
- o.containerVersionHeader = buildUnnamed1700();
+ o.containerVersion = buildUnnamed1705();
+ o.containerVersionHeader = buildUnnamed1706();
}
buildCounterListContainerVersionsResponse--;
return o;
@@ -693,20 +693,20 @@
checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) {
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- checkUnnamed1699(o.containerVersion);
- checkUnnamed1700(o.containerVersionHeader);
+ checkUnnamed1705(o.containerVersion);
+ checkUnnamed1706(o.containerVersionHeader);
}
buildCounterListContainerVersionsResponse--;
}
-buildUnnamed1701() {
+buildUnnamed1707() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed1701(core.List<api.Container> o) {
+checkUnnamed1707(core.List<api.Container> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainer(o[0]);
checkContainer(o[1]);
@@ -717,7 +717,7 @@
var o = new api.ListContainersResponse();
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- o.containers = buildUnnamed1701();
+ o.containers = buildUnnamed1707();
}
buildCounterListContainersResponse--;
return o;
@@ -726,19 +726,19 @@
checkListContainersResponse(api.ListContainersResponse o) {
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- checkUnnamed1701(o.containers);
+ checkUnnamed1707(o.containers);
}
buildCounterListContainersResponse--;
}
-buildUnnamed1702() {
+buildUnnamed1708() {
var o = new core.List<api.Environment>();
o.add(buildEnvironment());
o.add(buildEnvironment());
return o;
}
-checkUnnamed1702(core.List<api.Environment> o) {
+checkUnnamed1708(core.List<api.Environment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironment(o[0]);
checkEnvironment(o[1]);
@@ -749,7 +749,7 @@
var o = new api.ListEnvironmentsResponse();
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- o.environments = buildUnnamed1702();
+ o.environments = buildUnnamed1708();
}
buildCounterListEnvironmentsResponse--;
return o;
@@ -758,19 +758,19 @@
checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed1702(o.environments);
+ checkUnnamed1708(o.environments);
}
buildCounterListEnvironmentsResponse--;
}
-buildUnnamed1703() {
+buildUnnamed1709() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1703(core.List<api.Folder> o) {
+checkUnnamed1709(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -781,7 +781,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folders = buildUnnamed1703();
+ o.folders = buildUnnamed1709();
}
buildCounterListFoldersResponse--;
return o;
@@ -790,19 +790,19 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed1703(o.folders);
+ checkUnnamed1709(o.folders);
}
buildCounterListFoldersResponse--;
}
-buildUnnamed1704() {
+buildUnnamed1710() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1704(core.List<api.Tag> o) {
+checkUnnamed1710(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
@@ -813,7 +813,7 @@
var o = new api.ListTagsResponse();
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- o.tags = buildUnnamed1704();
+ o.tags = buildUnnamed1710();
}
buildCounterListTagsResponse--;
return o;
@@ -822,19 +822,19 @@
checkListTagsResponse(api.ListTagsResponse o) {
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- checkUnnamed1704(o.tags);
+ checkUnnamed1710(o.tags);
}
buildCounterListTagsResponse--;
}
-buildUnnamed1705() {
+buildUnnamed1711() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1705(core.List<api.Trigger> o) {
+checkUnnamed1711(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
@@ -845,7 +845,7 @@
var o = new api.ListTriggersResponse();
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- o.triggers = buildUnnamed1705();
+ o.triggers = buildUnnamed1711();
}
buildCounterListTriggersResponse--;
return o;
@@ -854,19 +854,19 @@
checkListTriggersResponse(api.ListTriggersResponse o) {
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- checkUnnamed1705(o.triggers);
+ checkUnnamed1711(o.triggers);
}
buildCounterListTriggersResponse--;
}
-buildUnnamed1706() {
+buildUnnamed1712() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1706(core.List<api.Variable> o) {
+checkUnnamed1712(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -877,7 +877,7 @@
var o = new api.ListVariablesResponse();
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- o.variables = buildUnnamed1706();
+ o.variables = buildUnnamed1712();
}
buildCounterListVariablesResponse--;
return o;
@@ -886,45 +886,45 @@
checkListVariablesResponse(api.ListVariablesResponse o) {
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- checkUnnamed1706(o.variables);
+ checkUnnamed1712(o.variables);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed1707() {
+buildUnnamed1713() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1707(core.List<core.String> o) {
+checkUnnamed1713(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'));
}
-buildUnnamed1708() {
+buildUnnamed1714() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1708(core.List<core.String> o) {
+checkUnnamed1714(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'));
}
-buildUnnamed1709() {
+buildUnnamed1715() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1709(core.List<api.Parameter> o) {
+checkUnnamed1715(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -937,13 +937,13 @@
if (buildCounterMacro < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingRuleId = buildUnnamed1707();
- o.enablingRuleId = buildUnnamed1708();
+ o.disablingRuleId = buildUnnamed1713();
+ o.enablingRuleId = buildUnnamed1714();
o.fingerprint = "foo";
o.macroId = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1709();
+ o.parameter = buildUnnamed1715();
o.parentFolderId = "foo";
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
@@ -958,13 +958,13 @@
if (buildCounterMacro < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1707(o.disablingRuleId);
- checkUnnamed1708(o.enablingRuleId);
+ checkUnnamed1713(o.disablingRuleId);
+ checkUnnamed1714(o.enablingRuleId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.macroId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1709(o.parameter);
+ checkUnnamed1715(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
@@ -973,27 +973,27 @@
buildCounterMacro--;
}
-buildUnnamed1710() {
+buildUnnamed1716() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1710(core.List<api.Parameter> o) {
+checkUnnamed1716(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1711() {
+buildUnnamed1717() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1711(core.List<api.Parameter> o) {
+checkUnnamed1717(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1005,8 +1005,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
o.key = "foo";
- o.list = buildUnnamed1710();
- o.map = buildUnnamed1711();
+ o.list = buildUnnamed1716();
+ o.map = buildUnnamed1717();
o.type = "foo";
o.value = "foo";
}
@@ -1018,8 +1018,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1710(o.list);
- checkUnnamed1711(o.map);
+ checkUnnamed1716(o.list);
+ checkUnnamed1717(o.map);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1047,14 +1047,14 @@
buildCounterPublishContainerVersionResponse--;
}
-buildUnnamed1712() {
+buildUnnamed1718() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1712(core.List<api.Condition> o) {
+checkUnnamed1718(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
@@ -1066,7 +1066,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.accountId = "foo";
- o.condition = buildUnnamed1712();
+ o.condition = buildUnnamed1718();
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
@@ -1081,7 +1081,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1712(o.condition);
+ checkUnnamed1718(o.condition);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -1112,92 +1112,92 @@
buildCounterSetupTag--;
}
-buildUnnamed1713() {
+buildUnnamed1719() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1713(core.List<core.String> o) {
+checkUnnamed1719(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'));
}
-buildUnnamed1714() {
+buildUnnamed1720() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1714(core.List<core.String> o) {
+checkUnnamed1720(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'));
}
-buildUnnamed1715() {
+buildUnnamed1721() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1715(core.List<core.String> o) {
+checkUnnamed1721(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'));
}
-buildUnnamed1716() {
+buildUnnamed1722() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1716(core.List<core.String> o) {
+checkUnnamed1722(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'));
}
-buildUnnamed1717() {
+buildUnnamed1723() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1717(core.List<api.Parameter> o) {
+checkUnnamed1723(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1718() {
+buildUnnamed1724() {
var o = new core.List<api.SetupTag>();
o.add(buildSetupTag());
o.add(buildSetupTag());
return o;
}
-checkUnnamed1718(core.List<api.SetupTag> o) {
+checkUnnamed1724(core.List<api.SetupTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetupTag(o[0]);
checkSetupTag(o[1]);
}
-buildUnnamed1719() {
+buildUnnamed1725() {
var o = new core.List<api.TeardownTag>();
o.add(buildTeardownTag());
o.add(buildTeardownTag());
return o;
}
-checkUnnamed1719(core.List<api.TeardownTag> o) {
+checkUnnamed1725(core.List<api.TeardownTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeardownTag(o[0]);
checkTeardownTag(o[1]);
@@ -1209,24 +1209,25 @@
buildCounterTag++;
if (buildCounterTag < 3) {
o.accountId = "foo";
- o.blockingRuleId = buildUnnamed1713();
- o.blockingTriggerId = buildUnnamed1714();
+ o.blockingRuleId = buildUnnamed1719();
+ o.blockingTriggerId = buildUnnamed1720();
o.containerId = "foo";
o.fingerprint = "foo";
- o.firingRuleId = buildUnnamed1715();
- o.firingTriggerId = buildUnnamed1716();
+ o.firingRuleId = buildUnnamed1721();
+ o.firingTriggerId = buildUnnamed1722();
o.liveOnly = true;
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1717();
+ o.parameter = buildUnnamed1723();
o.parentFolderId = "foo";
+ o.paused = true;
o.priority = buildParameter();
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
- o.setupTag = buildUnnamed1718();
+ o.setupTag = buildUnnamed1724();
o.tagFiringOption = "foo";
o.tagId = "foo";
- o.teardownTag = buildUnnamed1719();
+ o.teardownTag = buildUnnamed1725();
o.type = "foo";
}
buildCounterTag--;
@@ -1237,24 +1238,25 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1713(o.blockingRuleId);
- checkUnnamed1714(o.blockingTriggerId);
+ checkUnnamed1719(o.blockingRuleId);
+ checkUnnamed1720(o.blockingTriggerId);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1715(o.firingRuleId);
- checkUnnamed1716(o.firingTriggerId);
+ checkUnnamed1721(o.firingRuleId);
+ checkUnnamed1722(o.firingTriggerId);
unittest.expect(o.liveOnly, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1717(o.parameter);
+ checkUnnamed1723(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
+ unittest.expect(o.paused, unittest.isTrue);
checkParameter(o.priority);
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
- checkUnnamed1718(o.setupTag);
+ checkUnnamed1724(o.setupTag);
unittest.expect(o.tagFiringOption, unittest.equals('foo'));
unittest.expect(o.tagId, unittest.equals('foo'));
- checkUnnamed1719(o.teardownTag);
+ checkUnnamed1725(o.teardownTag);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterTag--;
@@ -1281,67 +1283,89 @@
buildCounterTeardownTag--;
}
-buildUnnamed1720() {
+buildUnnamed1726() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1720(core.List<api.Condition> o) {
+checkUnnamed1726(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1721() {
+buildUnnamed1727() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1721(core.List<api.Condition> o) {
+checkUnnamed1727(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1722() {
+buildUnnamed1728() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1722(core.List<api.Condition> o) {
+checkUnnamed1728(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
+buildUnnamed1729() {
+ var o = new core.List<api.Parameter>();
+ o.add(buildParameter());
+ o.add(buildParameter());
+ return o;
+}
+
+checkUnnamed1729(core.List<api.Parameter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkParameter(o[0]);
+ checkParameter(o[1]);
+}
+
core.int buildCounterTrigger = 0;
buildTrigger() {
var o = new api.Trigger();
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
o.accountId = "foo";
- o.autoEventFilter = buildUnnamed1720();
+ o.autoEventFilter = buildUnnamed1726();
o.checkValidation = buildParameter();
o.containerId = "foo";
- o.customEventFilter = buildUnnamed1721();
- o.enableAllVideos = buildParameter();
+ o.continuousTimeMinMilliseconds = buildParameter();
+ o.customEventFilter = buildUnnamed1727();
o.eventName = buildParameter();
- o.filter = buildUnnamed1722();
+ o.filter = buildUnnamed1728();
o.fingerprint = "foo";
+ o.horizontalScrollPercentageList = buildParameter();
o.interval = buildParameter();
+ o.intervalSeconds = buildParameter();
o.limit = buildParameter();
+ o.maxTimerLengthSeconds = buildParameter();
o.name = "foo";
+ o.parameter = buildUnnamed1729();
o.parentFolderId = "foo";
+ o.selector = buildParameter();
+ o.totalTimeMinMilliseconds = buildParameter();
o.triggerId = "foo";
o.type = "foo";
o.uniqueTriggerId = buildParameter();
- o.videoPercentageList = buildParameter();
+ o.verticalScrollPercentageList = buildParameter();
+ o.visibilitySelector = buildParameter();
+ o.visiblePercentageMax = buildParameter();
+ o.visiblePercentageMin = buildParameter();
o.waitForTags = buildParameter();
o.waitForTagsTimeout = buildParameter();
}
@@ -1353,36 +1377,45 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1720(o.autoEventFilter);
+ checkUnnamed1726(o.autoEventFilter);
checkParameter(o.checkValidation);
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1721(o.customEventFilter);
- checkParameter(o.enableAllVideos);
+ checkParameter(o.continuousTimeMinMilliseconds);
+ checkUnnamed1727(o.customEventFilter);
checkParameter(o.eventName);
- checkUnnamed1722(o.filter);
+ checkUnnamed1728(o.filter);
unittest.expect(o.fingerprint, unittest.equals('foo'));
+ checkParameter(o.horizontalScrollPercentageList);
checkParameter(o.interval);
+ checkParameter(o.intervalSeconds);
checkParameter(o.limit);
+ checkParameter(o.maxTimerLengthSeconds);
unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed1729(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
+ checkParameter(o.selector);
+ checkParameter(o.totalTimeMinMilliseconds);
unittest.expect(o.triggerId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
checkParameter(o.uniqueTriggerId);
- checkParameter(o.videoPercentageList);
+ checkParameter(o.verticalScrollPercentageList);
+ checkParameter(o.visibilitySelector);
+ checkParameter(o.visiblePercentageMax);
+ checkParameter(o.visiblePercentageMin);
checkParameter(o.waitForTags);
checkParameter(o.waitForTagsTimeout);
}
buildCounterTrigger--;
}
-buildUnnamed1723() {
+buildUnnamed1730() {
var o = new core.List<api.ContainerAccess>();
o.add(buildContainerAccess());
o.add(buildContainerAccess());
return o;
}
-checkUnnamed1723(core.List<api.ContainerAccess> o) {
+checkUnnamed1730(core.List<api.ContainerAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerAccess(o[0]);
checkContainerAccess(o[1]);
@@ -1395,7 +1428,7 @@
if (buildCounterUserAccess < 3) {
o.accountAccess = buildAccountAccess();
o.accountId = "foo";
- o.containerAccess = buildUnnamed1723();
+ o.containerAccess = buildUnnamed1730();
o.emailAddress = "foo";
o.permissionId = "foo";
}
@@ -1408,47 +1441,47 @@
if (buildCounterUserAccess < 3) {
checkAccountAccess(o.accountAccess);
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1723(o.containerAccess);
+ checkUnnamed1730(o.containerAccess);
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
}
buildCounterUserAccess--;
}
-buildUnnamed1724() {
+buildUnnamed1731() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1724(core.List<core.String> o) {
+checkUnnamed1731(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'));
}
-buildUnnamed1725() {
+buildUnnamed1732() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1725(core.List<core.String> o) {
+checkUnnamed1732(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'));
}
-buildUnnamed1726() {
+buildUnnamed1733() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1726(core.List<api.Parameter> o) {
+checkUnnamed1733(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1461,12 +1494,12 @@
if (buildCounterVariable < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingTriggerId = buildUnnamed1724();
- o.enablingTriggerId = buildUnnamed1725();
+ o.disablingTriggerId = buildUnnamed1731();
+ o.enablingTriggerId = buildUnnamed1732();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1726();
+ o.parameter = buildUnnamed1733();
o.parentFolderId = "foo";
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
@@ -1482,12 +1515,12 @@
if (buildCounterVariable < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1724(o.disablingTriggerId);
- checkUnnamed1725(o.enablingTriggerId);
+ checkUnnamed1731(o.disablingTriggerId);
+ checkUnnamed1732(o.enablingTriggerId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1726(o.parameter);
+ checkUnnamed1733(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
@@ -1497,40 +1530,40 @@
buildCounterVariable--;
}
-buildUnnamed1727() {
+buildUnnamed1734() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1727(core.List<core.String> o) {
+checkUnnamed1734(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'));
}
-buildUnnamed1728() {
+buildUnnamed1735() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1728(core.List<core.String> o) {
+checkUnnamed1735(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'));
}
-buildUnnamed1729() {
+buildUnnamed1736() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1729(core.List<core.String> o) {
+checkUnnamed1736(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'));
@@ -3264,9 +3297,9 @@
var arg_accountId = "foo";
var arg_containerId = "foo";
var arg_folderId = "foo";
- var arg_tagId = buildUnnamed1727();
- var arg_triggerId = buildUnnamed1728();
- var arg_variableId = buildUnnamed1729();
+ var arg_tagId = buildUnnamed1734();
+ var arg_triggerId = buildUnnamed1735();
+ var arg_variableId = buildUnnamed1736();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Folder.fromJson(json);
diff --git a/generated/googleapis/test/tagmanager/v2_test.dart b/generated/googleapis/test/tagmanager/v2_test.dart
index 6f1776d..46f3d57 100644
--- a/generated/googleapis/test/tagmanager/v2_test.dart
+++ b/generated/googleapis/test/tagmanager/v2_test.dart
@@ -127,14 +127,14 @@
buildCounterBuiltInVariable--;
}
-buildUnnamed1362() {
+buildUnnamed1368() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1362(core.List<api.Parameter> o) {
+checkUnnamed1368(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -145,7 +145,7 @@
var o = new api.Condition();
buildCounterCondition++;
if (buildCounterCondition < 3) {
- o.parameter = buildUnnamed1362();
+ o.parameter = buildUnnamed1368();
o.type = "foo";
}
buildCounterCondition--;
@@ -155,33 +155,33 @@
checkCondition(api.Condition o) {
buildCounterCondition++;
if (buildCounterCondition < 3) {
- checkUnnamed1362(o.parameter);
+ checkUnnamed1368(o.parameter);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCondition--;
}
-buildUnnamed1363() {
+buildUnnamed1369() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1363(core.List<core.String> o) {
+checkUnnamed1369(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'));
}
-buildUnnamed1364() {
+buildUnnamed1370() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1364(core.List<core.String> o) {
+checkUnnamed1370(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'));
@@ -194,14 +194,14 @@
if (buildCounterContainer < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.domainName = buildUnnamed1363();
+ o.domainName = buildUnnamed1369();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
o.path = "foo";
o.publicId = "foo";
o.tagManagerUrl = "foo";
- o.usageContext = buildUnnamed1364();
+ o.usageContext = buildUnnamed1370();
}
buildCounterContainer--;
return o;
@@ -212,14 +212,14 @@
if (buildCounterContainer < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1363(o.domainName);
+ checkUnnamed1369(o.domainName);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.publicId, unittest.equals('foo'));
unittest.expect(o.tagManagerUrl, unittest.equals('foo'));
- checkUnnamed1364(o.usageContext);
+ checkUnnamed1370(o.usageContext);
}
buildCounterContainer--;
}
@@ -245,79 +245,79 @@
buildCounterContainerAccess--;
}
-buildUnnamed1365() {
+buildUnnamed1371() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed1365(core.List<api.BuiltInVariable> o) {
+checkUnnamed1371(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
}
-buildUnnamed1366() {
+buildUnnamed1372() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1366(core.List<api.Folder> o) {
+checkUnnamed1372(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
}
-buildUnnamed1367() {
+buildUnnamed1373() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1367(core.List<api.Tag> o) {
+checkUnnamed1373(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1368() {
+buildUnnamed1374() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1368(core.List<api.Trigger> o) {
+checkUnnamed1374(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1369() {
+buildUnnamed1375() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1369(core.List<api.Variable> o) {
+checkUnnamed1375(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed1370() {
+buildUnnamed1376() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed1370(core.List<api.Zone> o) {
+checkUnnamed1376(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -329,21 +329,21 @@
buildCounterContainerVersion++;
if (buildCounterContainerVersion < 3) {
o.accountId = "foo";
- o.builtInVariable = buildUnnamed1365();
+ o.builtInVariable = buildUnnamed1371();
o.container = buildContainer();
o.containerId = "foo";
o.containerVersionId = "foo";
o.deleted = true;
o.description = "foo";
o.fingerprint = "foo";
- o.folder = buildUnnamed1366();
+ o.folder = buildUnnamed1372();
o.name = "foo";
o.path = "foo";
- o.tag = buildUnnamed1367();
+ o.tag = buildUnnamed1373();
o.tagManagerUrl = "foo";
- o.trigger = buildUnnamed1368();
- o.variable = buildUnnamed1369();
- o.zone = buildUnnamed1370();
+ o.trigger = buildUnnamed1374();
+ o.variable = buildUnnamed1375();
+ o.zone = buildUnnamed1376();
}
buildCounterContainerVersion--;
return o;
@@ -353,21 +353,21 @@
buildCounterContainerVersion++;
if (buildCounterContainerVersion < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1365(o.builtInVariable);
+ checkUnnamed1371(o.builtInVariable);
checkContainer(o.container);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.containerVersionId, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1366(o.folder);
+ checkUnnamed1372(o.folder);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
- checkUnnamed1367(o.tag);
+ checkUnnamed1373(o.tag);
unittest.expect(o.tagManagerUrl, unittest.equals('foo'));
- checkUnnamed1368(o.trigger);
- checkUnnamed1369(o.variable);
- checkUnnamed1370(o.zone);
+ checkUnnamed1374(o.trigger);
+ checkUnnamed1375(o.variable);
+ checkUnnamed1376(o.zone);
}
buildCounterContainerVersion--;
}
@@ -413,14 +413,14 @@
buildCounterContainerVersionHeader--;
}
-buildUnnamed1371() {
+buildUnnamed1377() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed1371(core.List<api.BuiltInVariable> o) {
+checkUnnamed1377(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
@@ -431,7 +431,7 @@
var o = new api.CreateBuiltInVariableResponse();
buildCounterCreateBuiltInVariableResponse++;
if (buildCounterCreateBuiltInVariableResponse < 3) {
- o.builtInVariable = buildUnnamed1371();
+ o.builtInVariable = buildUnnamed1377();
}
buildCounterCreateBuiltInVariableResponse--;
return o;
@@ -440,7 +440,7 @@
checkCreateBuiltInVariableResponse(api.CreateBuiltInVariableResponse o) {
buildCounterCreateBuiltInVariableResponse++;
if (buildCounterCreateBuiltInVariableResponse < 3) {
- checkUnnamed1371(o.builtInVariable);
+ checkUnnamed1377(o.builtInVariable);
}
buildCounterCreateBuiltInVariableResponse--;
}
@@ -492,14 +492,14 @@
buildCounterCreateContainerVersionResponse--;
}
-buildUnnamed1372() {
+buildUnnamed1378() {
var o = new core.List<api.WorkspaceProposalUser>();
o.add(buildWorkspaceProposalUser());
o.add(buildWorkspaceProposalUser());
return o;
}
-checkUnnamed1372(core.List<api.WorkspaceProposalUser> o) {
+checkUnnamed1378(core.List<api.WorkspaceProposalUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalUser(o[0]);
checkWorkspaceProposalUser(o[1]);
@@ -511,7 +511,7 @@
buildCounterCreateWorkspaceProposalRequest++;
if (buildCounterCreateWorkspaceProposalRequest < 3) {
o.initialComment = buildWorkspaceProposalHistoryComment();
- o.reviewers = buildUnnamed1372();
+ o.reviewers = buildUnnamed1378();
}
buildCounterCreateWorkspaceProposalRequest--;
return o;
@@ -521,7 +521,7 @@
buildCounterCreateWorkspaceProposalRequest++;
if (buildCounterCreateWorkspaceProposalRequest < 3) {
checkWorkspaceProposalHistoryComment(o.initialComment);
- checkUnnamed1372(o.reviewers);
+ checkUnnamed1378(o.reviewers);
}
buildCounterCreateWorkspaceProposalRequest--;
}
@@ -635,40 +635,40 @@
buildCounterFolder--;
}
-buildUnnamed1373() {
+buildUnnamed1379() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1373(core.List<api.Tag> o) {
+checkUnnamed1379(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed1374() {
+buildUnnamed1380() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1374(core.List<api.Trigger> o) {
+checkUnnamed1380(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed1375() {
+buildUnnamed1381() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1375(core.List<api.Variable> o) {
+checkUnnamed1381(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -680,9 +680,9 @@
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
o.nextPageToken = "foo";
- o.tag = buildUnnamed1373();
- o.trigger = buildUnnamed1374();
- o.variable = buildUnnamed1375();
+ o.tag = buildUnnamed1379();
+ o.trigger = buildUnnamed1380();
+ o.variable = buildUnnamed1381();
}
buildCounterFolderEntities--;
return o;
@@ -692,34 +692,34 @@
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1373(o.tag);
- checkUnnamed1374(o.trigger);
- checkUnnamed1375(o.variable);
+ checkUnnamed1379(o.tag);
+ checkUnnamed1380(o.trigger);
+ checkUnnamed1381(o.variable);
}
buildCounterFolderEntities--;
}
-buildUnnamed1376() {
+buildUnnamed1382() {
var o = new core.List<api.MergeConflict>();
o.add(buildMergeConflict());
o.add(buildMergeConflict());
return o;
}
-checkUnnamed1376(core.List<api.MergeConflict> o) {
+checkUnnamed1382(core.List<api.MergeConflict> o) {
unittest.expect(o, unittest.hasLength(2));
checkMergeConflict(o[0]);
checkMergeConflict(o[1]);
}
-buildUnnamed1377() {
+buildUnnamed1383() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed1377(core.List<api.Entity> o) {
+checkUnnamed1383(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -730,8 +730,8 @@
var o = new api.GetWorkspaceStatusResponse();
buildCounterGetWorkspaceStatusResponse++;
if (buildCounterGetWorkspaceStatusResponse < 3) {
- o.mergeConflict = buildUnnamed1376();
- o.workspaceChange = buildUnnamed1377();
+ o.mergeConflict = buildUnnamed1382();
+ o.workspaceChange = buildUnnamed1383();
}
buildCounterGetWorkspaceStatusResponse--;
return o;
@@ -740,20 +740,20 @@
checkGetWorkspaceStatusResponse(api.GetWorkspaceStatusResponse o) {
buildCounterGetWorkspaceStatusResponse++;
if (buildCounterGetWorkspaceStatusResponse < 3) {
- checkUnnamed1376(o.mergeConflict);
- checkUnnamed1377(o.workspaceChange);
+ checkUnnamed1382(o.mergeConflict);
+ checkUnnamed1383(o.workspaceChange);
}
buildCounterGetWorkspaceStatusResponse--;
}
-buildUnnamed1378() {
+buildUnnamed1384() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1378(core.List<api.Account> o) {
+checkUnnamed1384(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -764,7 +764,7 @@
var o = new api.ListAccountsResponse();
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- o.account = buildUnnamed1378();
+ o.account = buildUnnamed1384();
o.nextPageToken = "foo";
}
buildCounterListAccountsResponse--;
@@ -774,20 +774,20 @@
checkListAccountsResponse(api.ListAccountsResponse o) {
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- checkUnnamed1378(o.account);
+ checkUnnamed1384(o.account);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAccountsResponse--;
}
-buildUnnamed1379() {
+buildUnnamed1385() {
var o = new core.List<api.ContainerVersionHeader>();
o.add(buildContainerVersionHeader());
o.add(buildContainerVersionHeader());
return o;
}
-checkUnnamed1379(core.List<api.ContainerVersionHeader> o) {
+checkUnnamed1385(core.List<api.ContainerVersionHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersionHeader(o[0]);
checkContainerVersionHeader(o[1]);
@@ -798,7 +798,7 @@
var o = new api.ListContainerVersionsResponse();
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- o.containerVersionHeader = buildUnnamed1379();
+ o.containerVersionHeader = buildUnnamed1385();
o.nextPageToken = "foo";
}
buildCounterListContainerVersionsResponse--;
@@ -808,20 +808,20 @@
checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) {
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- checkUnnamed1379(o.containerVersionHeader);
+ checkUnnamed1385(o.containerVersionHeader);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListContainerVersionsResponse--;
}
-buildUnnamed1380() {
+buildUnnamed1386() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed1380(core.List<api.Container> o) {
+checkUnnamed1386(core.List<api.Container> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainer(o[0]);
checkContainer(o[1]);
@@ -832,7 +832,7 @@
var o = new api.ListContainersResponse();
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- o.container = buildUnnamed1380();
+ o.container = buildUnnamed1386();
o.nextPageToken = "foo";
}
buildCounterListContainersResponse--;
@@ -842,20 +842,20 @@
checkListContainersResponse(api.ListContainersResponse o) {
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- checkUnnamed1380(o.container);
+ checkUnnamed1386(o.container);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListContainersResponse--;
}
-buildUnnamed1381() {
+buildUnnamed1387() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed1381(core.List<api.BuiltInVariable> o) {
+checkUnnamed1387(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
@@ -866,7 +866,7 @@
var o = new api.ListEnabledBuiltInVariablesResponse();
buildCounterListEnabledBuiltInVariablesResponse++;
if (buildCounterListEnabledBuiltInVariablesResponse < 3) {
- o.builtInVariable = buildUnnamed1381();
+ o.builtInVariable = buildUnnamed1387();
o.nextPageToken = "foo";
}
buildCounterListEnabledBuiltInVariablesResponse--;
@@ -877,20 +877,20 @@
api.ListEnabledBuiltInVariablesResponse o) {
buildCounterListEnabledBuiltInVariablesResponse++;
if (buildCounterListEnabledBuiltInVariablesResponse < 3) {
- checkUnnamed1381(o.builtInVariable);
+ checkUnnamed1387(o.builtInVariable);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListEnabledBuiltInVariablesResponse--;
}
-buildUnnamed1382() {
+buildUnnamed1388() {
var o = new core.List<api.Environment>();
o.add(buildEnvironment());
o.add(buildEnvironment());
return o;
}
-checkUnnamed1382(core.List<api.Environment> o) {
+checkUnnamed1388(core.List<api.Environment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironment(o[0]);
checkEnvironment(o[1]);
@@ -901,7 +901,7 @@
var o = new api.ListEnvironmentsResponse();
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- o.environment = buildUnnamed1382();
+ o.environment = buildUnnamed1388();
o.nextPageToken = "foo";
}
buildCounterListEnvironmentsResponse--;
@@ -911,20 +911,20 @@
checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed1382(o.environment);
+ checkUnnamed1388(o.environment);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListEnvironmentsResponse--;
}
-buildUnnamed1383() {
+buildUnnamed1389() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed1383(core.List<api.Folder> o) {
+checkUnnamed1389(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -935,7 +935,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folder = buildUnnamed1383();
+ o.folder = buildUnnamed1389();
o.nextPageToken = "foo";
}
buildCounterListFoldersResponse--;
@@ -945,20 +945,20 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed1383(o.folder);
+ checkUnnamed1389(o.folder);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFoldersResponse--;
}
-buildUnnamed1384() {
+buildUnnamed1390() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed1384(core.List<api.Tag> o) {
+checkUnnamed1390(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
@@ -970,7 +970,7 @@
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
o.nextPageToken = "foo";
- o.tag = buildUnnamed1384();
+ o.tag = buildUnnamed1390();
}
buildCounterListTagsResponse--;
return o;
@@ -980,19 +980,19 @@
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1384(o.tag);
+ checkUnnamed1390(o.tag);
}
buildCounterListTagsResponse--;
}
-buildUnnamed1385() {
+buildUnnamed1391() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed1385(core.List<api.Trigger> o) {
+checkUnnamed1391(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
@@ -1004,7 +1004,7 @@
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
o.nextPageToken = "foo";
- o.trigger = buildUnnamed1385();
+ o.trigger = buildUnnamed1391();
}
buildCounterListTriggersResponse--;
return o;
@@ -1014,19 +1014,19 @@
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1385(o.trigger);
+ checkUnnamed1391(o.trigger);
}
buildCounterListTriggersResponse--;
}
-buildUnnamed1386() {
+buildUnnamed1392() {
var o = new core.List<api.UserPermission>();
o.add(buildUserPermission());
o.add(buildUserPermission());
return o;
}
-checkUnnamed1386(core.List<api.UserPermission> o) {
+checkUnnamed1392(core.List<api.UserPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserPermission(o[0]);
checkUserPermission(o[1]);
@@ -1038,7 +1038,7 @@
buildCounterListUserPermissionsResponse++;
if (buildCounterListUserPermissionsResponse < 3) {
o.nextPageToken = "foo";
- o.userPermission = buildUnnamed1386();
+ o.userPermission = buildUnnamed1392();
}
buildCounterListUserPermissionsResponse--;
return o;
@@ -1048,19 +1048,19 @@
buildCounterListUserPermissionsResponse++;
if (buildCounterListUserPermissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1386(o.userPermission);
+ checkUnnamed1392(o.userPermission);
}
buildCounterListUserPermissionsResponse--;
}
-buildUnnamed1387() {
+buildUnnamed1393() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed1387(core.List<api.Variable> o) {
+checkUnnamed1393(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -1072,7 +1072,7 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
o.nextPageToken = "foo";
- o.variable = buildUnnamed1387();
+ o.variable = buildUnnamed1393();
}
buildCounterListVariablesResponse--;
return o;
@@ -1082,19 +1082,19 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1387(o.variable);
+ checkUnnamed1393(o.variable);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed1388() {
+buildUnnamed1394() {
var o = new core.List<api.Workspace>();
o.add(buildWorkspace());
o.add(buildWorkspace());
return o;
}
-checkUnnamed1388(core.List<api.Workspace> o) {
+checkUnnamed1394(core.List<api.Workspace> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspace(o[0]);
checkWorkspace(o[1]);
@@ -1106,7 +1106,7 @@
buildCounterListWorkspacesResponse++;
if (buildCounterListWorkspacesResponse < 3) {
o.nextPageToken = "foo";
- o.workspace = buildUnnamed1388();
+ o.workspace = buildUnnamed1394();
}
buildCounterListWorkspacesResponse--;
return o;
@@ -1116,7 +1116,7 @@
buildCounterListWorkspacesResponse++;
if (buildCounterListWorkspacesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1388(o.workspace);
+ checkUnnamed1394(o.workspace);
}
buildCounterListWorkspacesResponse--;
}
@@ -1142,27 +1142,27 @@
buildCounterMergeConflict--;
}
-buildUnnamed1389() {
+buildUnnamed1395() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1389(core.List<api.Parameter> o) {
+checkUnnamed1395(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1390() {
+buildUnnamed1396() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1390(core.List<api.Parameter> o) {
+checkUnnamed1396(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1174,8 +1174,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
o.key = "foo";
- o.list = buildUnnamed1389();
- o.map = buildUnnamed1390();
+ o.list = buildUnnamed1395();
+ o.map = buildUnnamed1396();
o.type = "foo";
o.value = "foo";
}
@@ -1187,8 +1187,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1389(o.list);
- checkUnnamed1390(o.map);
+ checkUnnamed1395(o.list);
+ checkUnnamed1396(o.map);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1376,14 +1376,14 @@
buildCounterSyncStatus--;
}
-buildUnnamed1391() {
+buildUnnamed1397() {
var o = new core.List<api.MergeConflict>();
o.add(buildMergeConflict());
o.add(buildMergeConflict());
return o;
}
-checkUnnamed1391(core.List<api.MergeConflict> o) {
+checkUnnamed1397(core.List<api.MergeConflict> o) {
unittest.expect(o, unittest.hasLength(2));
checkMergeConflict(o[0]);
checkMergeConflict(o[1]);
@@ -1394,7 +1394,7 @@
var o = new api.SyncWorkspaceResponse();
buildCounterSyncWorkspaceResponse++;
if (buildCounterSyncWorkspaceResponse < 3) {
- o.mergeConflict = buildUnnamed1391();
+ o.mergeConflict = buildUnnamed1397();
o.syncStatus = buildSyncStatus();
}
buildCounterSyncWorkspaceResponse--;
@@ -1404,98 +1404,98 @@
checkSyncWorkspaceResponse(api.SyncWorkspaceResponse o) {
buildCounterSyncWorkspaceResponse++;
if (buildCounterSyncWorkspaceResponse < 3) {
- checkUnnamed1391(o.mergeConflict);
+ checkUnnamed1397(o.mergeConflict);
checkSyncStatus(o.syncStatus);
}
buildCounterSyncWorkspaceResponse--;
}
-buildUnnamed1392() {
+buildUnnamed1398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1392(core.List<core.String> o) {
+checkUnnamed1398(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'));
}
-buildUnnamed1393() {
+buildUnnamed1399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1393(core.List<core.String> o) {
+checkUnnamed1399(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'));
}
-buildUnnamed1394() {
+buildUnnamed1400() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1394(core.List<core.String> o) {
+checkUnnamed1400(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'));
}
-buildUnnamed1395() {
+buildUnnamed1401() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1395(core.List<core.String> o) {
+checkUnnamed1401(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'));
}
-buildUnnamed1396() {
+buildUnnamed1402() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1396(core.List<api.Parameter> o) {
+checkUnnamed1402(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed1397() {
+buildUnnamed1403() {
var o = new core.List<api.SetupTag>();
o.add(buildSetupTag());
o.add(buildSetupTag());
return o;
}
-checkUnnamed1397(core.List<api.SetupTag> o) {
+checkUnnamed1403(core.List<api.SetupTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetupTag(o[0]);
checkSetupTag(o[1]);
}
-buildUnnamed1398() {
+buildUnnamed1404() {
var o = new core.List<api.TeardownTag>();
o.add(buildTeardownTag());
o.add(buildTeardownTag());
return o;
}
-checkUnnamed1398(core.List<api.TeardownTag> o) {
+checkUnnamed1404(core.List<api.TeardownTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeardownTag(o[0]);
checkTeardownTag(o[1]);
@@ -1507,26 +1507,27 @@
buildCounterTag++;
if (buildCounterTag < 3) {
o.accountId = "foo";
- o.blockingRuleId = buildUnnamed1392();
- o.blockingTriggerId = buildUnnamed1393();
+ o.blockingRuleId = buildUnnamed1398();
+ o.blockingTriggerId = buildUnnamed1399();
o.containerId = "foo";
o.fingerprint = "foo";
- o.firingRuleId = buildUnnamed1394();
- o.firingTriggerId = buildUnnamed1395();
+ o.firingRuleId = buildUnnamed1400();
+ o.firingTriggerId = buildUnnamed1401();
o.liveOnly = true;
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1396();
+ o.parameter = buildUnnamed1402();
o.parentFolderId = "foo";
o.path = "foo";
+ o.paused = true;
o.priority = buildParameter();
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
- o.setupTag = buildUnnamed1397();
+ o.setupTag = buildUnnamed1403();
o.tagFiringOption = "foo";
o.tagId = "foo";
o.tagManagerUrl = "foo";
- o.teardownTag = buildUnnamed1398();
+ o.teardownTag = buildUnnamed1404();
o.type = "foo";
o.workspaceId = "foo";
}
@@ -1538,26 +1539,27 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1392(o.blockingRuleId);
- checkUnnamed1393(o.blockingTriggerId);
+ checkUnnamed1398(o.blockingRuleId);
+ checkUnnamed1399(o.blockingTriggerId);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1394(o.firingRuleId);
- checkUnnamed1395(o.firingTriggerId);
+ checkUnnamed1400(o.firingRuleId);
+ checkUnnamed1401(o.firingTriggerId);
unittest.expect(o.liveOnly, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1396(o.parameter);
+ checkUnnamed1402(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
+ unittest.expect(o.paused, unittest.isTrue);
checkParameter(o.priority);
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
- checkUnnamed1397(o.setupTag);
+ checkUnnamed1403(o.setupTag);
unittest.expect(o.tagFiringOption, unittest.equals('foo'));
unittest.expect(o.tagId, unittest.equals('foo'));
unittest.expect(o.tagManagerUrl, unittest.equals('foo'));
- checkUnnamed1398(o.teardownTag);
+ checkUnnamed1404(o.teardownTag);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.workspaceId, unittest.equals('foo'));
}
@@ -1606,53 +1608,53 @@
buildCounterTimestamp--;
}
-buildUnnamed1399() {
+buildUnnamed1405() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1399(core.List<api.Condition> o) {
+checkUnnamed1405(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1400() {
+buildUnnamed1406() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1400(core.List<api.Condition> o) {
+checkUnnamed1406(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1401() {
+buildUnnamed1407() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1401(core.List<api.Condition> o) {
+checkUnnamed1407(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1402() {
+buildUnnamed1408() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1402(core.List<api.Parameter> o) {
+checkUnnamed1408(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1664,13 +1666,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
o.accountId = "foo";
- o.autoEventFilter = buildUnnamed1399();
+ o.autoEventFilter = buildUnnamed1405();
o.checkValidation = buildParameter();
o.containerId = "foo";
o.continuousTimeMinMilliseconds = buildParameter();
- o.customEventFilter = buildUnnamed1400();
+ o.customEventFilter = buildUnnamed1406();
o.eventName = buildParameter();
- o.filter = buildUnnamed1401();
+ o.filter = buildUnnamed1407();
o.fingerprint = "foo";
o.horizontalScrollPercentageList = buildParameter();
o.interval = buildParameter();
@@ -1679,7 +1681,7 @@
o.maxTimerLengthSeconds = buildParameter();
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1402();
+ o.parameter = buildUnnamed1408();
o.parentFolderId = "foo";
o.path = "foo";
o.selector = buildParameter();
@@ -1704,13 +1706,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1399(o.autoEventFilter);
+ checkUnnamed1405(o.autoEventFilter);
checkParameter(o.checkValidation);
unittest.expect(o.containerId, unittest.equals('foo'));
checkParameter(o.continuousTimeMinMilliseconds);
- checkUnnamed1400(o.customEventFilter);
+ checkUnnamed1406(o.customEventFilter);
checkParameter(o.eventName);
- checkUnnamed1401(o.filter);
+ checkUnnamed1407(o.filter);
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkParameter(o.horizontalScrollPercentageList);
checkParameter(o.interval);
@@ -1719,7 +1721,7 @@
checkParameter(o.maxTimerLengthSeconds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1402(o.parameter);
+ checkUnnamed1408(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
checkParameter(o.selector);
@@ -1739,14 +1741,14 @@
buildCounterTrigger--;
}
-buildUnnamed1403() {
+buildUnnamed1409() {
var o = new core.List<api.WorkspaceProposalUser>();
o.add(buildWorkspaceProposalUser());
o.add(buildWorkspaceProposalUser());
return o;
}
-checkUnnamed1403(core.List<api.WorkspaceProposalUser> o) {
+checkUnnamed1409(core.List<api.WorkspaceProposalUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalUser(o[0]);
checkWorkspaceProposalUser(o[1]);
@@ -1759,7 +1761,7 @@
if (buildCounterUpdateWorkspaceProposalRequest < 3) {
o.fingerprint = "foo";
o.newComment = buildWorkspaceProposalHistoryComment();
- o.reviewers = buildUnnamed1403();
+ o.reviewers = buildUnnamed1409();
o.status = "foo";
}
buildCounterUpdateWorkspaceProposalRequest--;
@@ -1771,20 +1773,20 @@
if (buildCounterUpdateWorkspaceProposalRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkWorkspaceProposalHistoryComment(o.newComment);
- checkUnnamed1403(o.reviewers);
+ checkUnnamed1409(o.reviewers);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterUpdateWorkspaceProposalRequest--;
}
-buildUnnamed1404() {
+buildUnnamed1410() {
var o = new core.List<api.ContainerAccess>();
o.add(buildContainerAccess());
o.add(buildContainerAccess());
return o;
}
-checkUnnamed1404(core.List<api.ContainerAccess> o) {
+checkUnnamed1410(core.List<api.ContainerAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerAccess(o[0]);
checkContainerAccess(o[1]);
@@ -1797,7 +1799,7 @@
if (buildCounterUserPermission < 3) {
o.accountAccess = buildAccountAccess();
o.accountId = "foo";
- o.containerAccess = buildUnnamed1404();
+ o.containerAccess = buildUnnamed1410();
o.emailAddress = "foo";
o.path = "foo";
}
@@ -1810,47 +1812,47 @@
if (buildCounterUserPermission < 3) {
checkAccountAccess(o.accountAccess);
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1404(o.containerAccess);
+ checkUnnamed1410(o.containerAccess);
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
}
buildCounterUserPermission--;
}
-buildUnnamed1405() {
+buildUnnamed1411() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1405(core.List<core.String> o) {
+checkUnnamed1411(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'));
}
-buildUnnamed1406() {
+buildUnnamed1412() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1406(core.List<core.String> o) {
+checkUnnamed1412(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'));
}
-buildUnnamed1407() {
+buildUnnamed1413() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed1407(core.List<api.Parameter> o) {
+checkUnnamed1413(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1863,12 +1865,12 @@
if (buildCounterVariable < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingTriggerId = buildUnnamed1405();
- o.enablingTriggerId = buildUnnamed1406();
+ o.disablingTriggerId = buildUnnamed1411();
+ o.enablingTriggerId = buildUnnamed1412();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed1407();
+ o.parameter = buildUnnamed1413();
o.parentFolderId = "foo";
o.path = "foo";
o.scheduleEndMs = "foo";
@@ -1887,12 +1889,12 @@
if (buildCounterVariable < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed1405(o.disablingTriggerId);
- checkUnnamed1406(o.enablingTriggerId);
+ checkUnnamed1411(o.disablingTriggerId);
+ checkUnnamed1412(o.enablingTriggerId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed1407(o.parameter);
+ checkUnnamed1413(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
@@ -1938,40 +1940,40 @@
buildCounterWorkspace--;
}
-buildUnnamed1408() {
+buildUnnamed1414() {
var o = new core.List<api.WorkspaceProposalUser>();
o.add(buildWorkspaceProposalUser());
o.add(buildWorkspaceProposalUser());
return o;
}
-checkUnnamed1408(core.List<api.WorkspaceProposalUser> o) {
+checkUnnamed1414(core.List<api.WorkspaceProposalUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalUser(o[0]);
checkWorkspaceProposalUser(o[1]);
}
-buildUnnamed1409() {
+buildUnnamed1415() {
var o = new core.List<api.WorkspaceProposalHistory>();
o.add(buildWorkspaceProposalHistory());
o.add(buildWorkspaceProposalHistory());
return o;
}
-checkUnnamed1409(core.List<api.WorkspaceProposalHistory> o) {
+checkUnnamed1415(core.List<api.WorkspaceProposalHistory> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalHistory(o[0]);
checkWorkspaceProposalHistory(o[1]);
}
-buildUnnamed1410() {
+buildUnnamed1416() {
var o = new core.List<api.WorkspaceProposalUser>();
o.add(buildWorkspaceProposalUser());
o.add(buildWorkspaceProposalUser());
return o;
}
-checkUnnamed1410(core.List<api.WorkspaceProposalUser> o) {
+checkUnnamed1416(core.List<api.WorkspaceProposalUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspaceProposalUser(o[0]);
checkWorkspaceProposalUser(o[1]);
@@ -1982,11 +1984,11 @@
var o = new api.WorkspaceProposal();
buildCounterWorkspaceProposal++;
if (buildCounterWorkspaceProposal < 3) {
- o.authors = buildUnnamed1408();
+ o.authors = buildUnnamed1414();
o.fingerprint = "foo";
- o.history = buildUnnamed1409();
+ o.history = buildUnnamed1415();
o.path = "foo";
- o.reviewers = buildUnnamed1410();
+ o.reviewers = buildUnnamed1416();
o.status = "foo";
}
buildCounterWorkspaceProposal--;
@@ -1996,11 +1998,11 @@
checkWorkspaceProposal(api.WorkspaceProposal o) {
buildCounterWorkspaceProposal++;
if (buildCounterWorkspaceProposal < 3) {
- checkUnnamed1408(o.authors);
+ checkUnnamed1414(o.authors);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1409(o.history);
+ checkUnnamed1415(o.history);
unittest.expect(o.path, unittest.equals('foo'));
- checkUnnamed1410(o.reviewers);
+ checkUnnamed1416(o.reviewers);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterWorkspaceProposal--;
@@ -2095,14 +2097,14 @@
buildCounterWorkspaceProposalUser--;
}
-buildUnnamed1411() {
+buildUnnamed1417() {
var o = new core.List<api.ZoneChildContainer>();
o.add(buildZoneChildContainer());
o.add(buildZoneChildContainer());
return o;
}
-checkUnnamed1411(core.List<api.ZoneChildContainer> o) {
+checkUnnamed1417(core.List<api.ZoneChildContainer> o) {
unittest.expect(o, unittest.hasLength(2));
checkZoneChildContainer(o[0]);
checkZoneChildContainer(o[1]);
@@ -2115,7 +2117,7 @@
if (buildCounterZone < 3) {
o.accountId = "foo";
o.boundary = buildZoneBoundary();
- o.childContainer = buildUnnamed1411();
+ o.childContainer = buildUnnamed1417();
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
@@ -2135,7 +2137,7 @@
if (buildCounterZone < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
checkZoneBoundary(o.boundary);
- checkUnnamed1411(o.childContainer);
+ checkUnnamed1417(o.childContainer);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -2149,27 +2151,27 @@
buildCounterZone--;
}
-buildUnnamed1412() {
+buildUnnamed1418() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed1412(core.List<api.Condition> o) {
+checkUnnamed1418(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed1413() {
+buildUnnamed1419() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1413(core.List<core.String> o) {
+checkUnnamed1419(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'));
@@ -2180,8 +2182,8 @@
var o = new api.ZoneBoundary();
buildCounterZoneBoundary++;
if (buildCounterZoneBoundary < 3) {
- o.condition = buildUnnamed1412();
- o.customEvaluationTriggerId = buildUnnamed1413();
+ o.condition = buildUnnamed1418();
+ o.customEvaluationTriggerId = buildUnnamed1419();
}
buildCounterZoneBoundary--;
return o;
@@ -2190,8 +2192,8 @@
checkZoneBoundary(api.ZoneBoundary o) {
buildCounterZoneBoundary++;
if (buildCounterZoneBoundary < 3) {
- checkUnnamed1412(o.condition);
- checkUnnamed1413(o.customEvaluationTriggerId);
+ checkUnnamed1418(o.condition);
+ checkUnnamed1419(o.customEvaluationTriggerId);
}
buildCounterZoneBoundary--;
}
@@ -2217,14 +2219,14 @@
buildCounterZoneChildContainer--;
}
-buildUnnamed1414() {
+buildUnnamed1420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1414(core.List<core.String> o) {
+checkUnnamed1420(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'));
@@ -2236,7 +2238,7 @@
buildCounterZoneTypeRestriction++;
if (buildCounterZoneTypeRestriction < 3) {
o.enable = true;
- o.whitelistedTypeId = buildUnnamed1414();
+ o.whitelistedTypeId = buildUnnamed1420();
}
buildCounterZoneTypeRestriction--;
return o;
@@ -2246,71 +2248,71 @@
buildCounterZoneTypeRestriction++;
if (buildCounterZoneTypeRestriction < 3) {
unittest.expect(o.enable, unittest.isTrue);
- checkUnnamed1414(o.whitelistedTypeId);
+ checkUnnamed1420(o.whitelistedTypeId);
}
buildCounterZoneTypeRestriction--;
}
-buildUnnamed1415() {
+buildUnnamed1421() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1415(core.List<core.String> o) {
+checkUnnamed1421(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'));
}
-buildUnnamed1416() {
+buildUnnamed1422() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1416(core.List<core.String> o) {
+checkUnnamed1422(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'));
}
-buildUnnamed1417() {
+buildUnnamed1423() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1417(core.List<core.String> o) {
+checkUnnamed1423(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'));
}
-buildUnnamed1418() {
+buildUnnamed1424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1418(core.List<core.String> o) {
+checkUnnamed1424(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'));
}
-buildUnnamed1419() {
+buildUnnamed1425() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1419(core.List<core.String> o) {
+checkUnnamed1425(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'));
@@ -4627,7 +4629,7 @@
.workspaces
.builtInVariables;
var arg_parent = "foo";
- var arg_type = buildUnnamed1415();
+ var arg_type = buildUnnamed1421();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4680,7 +4682,7 @@
.workspaces
.builtInVariables;
var arg_path = "foo";
- var arg_type = buildUnnamed1416();
+ var arg_type = buildUnnamed1422();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5088,9 +5090,9 @@
new api.TagmanagerApi(mock).accounts.containers.workspaces.folders;
var arg_request = buildFolder();
var arg_path = "foo";
- var arg_tagId = buildUnnamed1417();
- var arg_triggerId = buildUnnamed1418();
- var arg_variableId = buildUnnamed1419();
+ var arg_tagId = buildUnnamed1423();
+ var arg_triggerId = buildUnnamed1424();
+ var arg_variableId = buildUnnamed1425();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Folder.fromJson(json);
diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart
index 18e1206..ee9d67e 100644
--- a/generated/googleapis/test/tasks/v1_test.dart
+++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -73,14 +73,14 @@
buildCounterTaskLinks--;
}
-buildUnnamed2880() {
+buildUnnamed3165() {
var o = new core.List<api.TaskLinks>();
o.add(buildTaskLinks());
o.add(buildTaskLinks());
return o;
}
-checkUnnamed2880(core.List<api.TaskLinks> o) {
+checkUnnamed3165(core.List<api.TaskLinks> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskLinks(o[0]);
checkTaskLinks(o[1]);
@@ -98,7 +98,7 @@
o.hidden = true;
o.id = "foo";
o.kind = "foo";
- o.links = buildUnnamed2880();
+ o.links = buildUnnamed3165();
o.notes = "foo";
o.parent = "foo";
o.position = "foo";
@@ -123,7 +123,7 @@
unittest.expect(o.hidden, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2880(o.links);
+ checkUnnamed3165(o.links);
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.position, unittest.equals('foo'));
@@ -166,14 +166,14 @@
buildCounterTaskList--;
}
-buildUnnamed2881() {
+buildUnnamed3166() {
var o = new core.List<api.TaskList>();
o.add(buildTaskList());
o.add(buildTaskList());
return o;
}
-checkUnnamed2881(core.List<api.TaskList> o) {
+checkUnnamed3166(core.List<api.TaskList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskList(o[0]);
checkTaskList(o[1]);
@@ -185,7 +185,7 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
o.etag = "foo";
- o.items = buildUnnamed2881();
+ o.items = buildUnnamed3166();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -197,21 +197,21 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2881(o.items);
+ checkUnnamed3166(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterTaskLists--;
}
-buildUnnamed2882() {
+buildUnnamed3167() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2882(core.List<api.Task> o) {
+checkUnnamed3167(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -223,7 +223,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
o.etag = "foo";
- o.items = buildUnnamed2882();
+ o.items = buildUnnamed3167();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -235,7 +235,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2882(o.items);
+ checkUnnamed3167(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/testing/v1_test.dart b/generated/googleapis/test/testing/v1_test.dart
index 99b9f8a..c8d199e 100644
--- a/generated/googleapis/test/testing/v1_test.dart
+++ b/generated/googleapis/test/testing/v1_test.dart
@@ -94,27 +94,27 @@
buildCounterAndroidDevice--;
}
-buildUnnamed2844() {
+buildUnnamed3129() {
var o = new core.List<api.AndroidModel>();
o.add(buildAndroidModel());
o.add(buildAndroidModel());
return o;
}
-checkUnnamed2844(core.List<api.AndroidModel> o) {
+checkUnnamed3129(core.List<api.AndroidModel> o) {
unittest.expect(o, unittest.hasLength(2));
checkAndroidModel(o[0]);
checkAndroidModel(o[1]);
}
-buildUnnamed2845() {
+buildUnnamed3130() {
var o = new core.List<api.AndroidVersion>();
o.add(buildAndroidVersion());
o.add(buildAndroidVersion());
return o;
}
-checkUnnamed2845(core.List<api.AndroidVersion> o) {
+checkUnnamed3130(core.List<api.AndroidVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAndroidVersion(o[0]);
checkAndroidVersion(o[1]);
@@ -125,9 +125,9 @@
var o = new api.AndroidDeviceCatalog();
buildCounterAndroidDeviceCatalog++;
if (buildCounterAndroidDeviceCatalog < 3) {
- o.models = buildUnnamed2844();
+ o.models = buildUnnamed3129();
o.runtimeConfiguration = buildAndroidRuntimeConfiguration();
- o.versions = buildUnnamed2845();
+ o.versions = buildUnnamed3130();
}
buildCounterAndroidDeviceCatalog--;
return o;
@@ -136,21 +136,21 @@
checkAndroidDeviceCatalog(api.AndroidDeviceCatalog o) {
buildCounterAndroidDeviceCatalog++;
if (buildCounterAndroidDeviceCatalog < 3) {
- checkUnnamed2844(o.models);
+ checkUnnamed3129(o.models);
checkAndroidRuntimeConfiguration(o.runtimeConfiguration);
- checkUnnamed2845(o.versions);
+ checkUnnamed3130(o.versions);
}
buildCounterAndroidDeviceCatalog--;
}
-buildUnnamed2846() {
+buildUnnamed3131() {
var o = new core.List<api.AndroidDevice>();
o.add(buildAndroidDevice());
o.add(buildAndroidDevice());
return o;
}
-checkUnnamed2846(core.List<api.AndroidDevice> o) {
+checkUnnamed3131(core.List<api.AndroidDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkAndroidDevice(o[0]);
checkAndroidDevice(o[1]);
@@ -161,7 +161,7 @@
var o = new api.AndroidDeviceList();
buildCounterAndroidDeviceList++;
if (buildCounterAndroidDeviceList < 3) {
- o.androidDevices = buildUnnamed2846();
+ o.androidDevices = buildUnnamed3131();
}
buildCounterAndroidDeviceList--;
return o;
@@ -170,19 +170,19 @@
checkAndroidDeviceList(api.AndroidDeviceList o) {
buildCounterAndroidDeviceList++;
if (buildCounterAndroidDeviceList < 3) {
- checkUnnamed2846(o.androidDevices);
+ checkUnnamed3131(o.androidDevices);
}
buildCounterAndroidDeviceList--;
}
-buildUnnamed2847() {
+buildUnnamed3132() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2847(core.List<core.String> o) {
+checkUnnamed3132(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'));
@@ -199,7 +199,7 @@
o.testApk = buildFileReference();
o.testPackageId = "foo";
o.testRunnerClass = "foo";
- o.testTargets = buildUnnamed2847();
+ o.testTargets = buildUnnamed3132();
}
buildCounterAndroidInstrumentationTest--;
return o;
@@ -214,58 +214,58 @@
checkFileReference(o.testApk);
unittest.expect(o.testPackageId, unittest.equals('foo'));
unittest.expect(o.testRunnerClass, unittest.equals('foo'));
- checkUnnamed2847(o.testTargets);
+ checkUnnamed3132(o.testTargets);
}
buildCounterAndroidInstrumentationTest--;
}
-buildUnnamed2848() {
+buildUnnamed3133() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2848(core.List<core.String> o) {
+checkUnnamed3133(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'));
}
-buildUnnamed2849() {
+buildUnnamed3134() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2849(core.List<core.String> o) {
+checkUnnamed3134(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'));
}
-buildUnnamed2850() {
+buildUnnamed3135() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2850(core.List<core.String> o) {
+checkUnnamed3135(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'));
}
-buildUnnamed2851() {
+buildUnnamed3136() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2851(core.List<core.String> o) {
+checkUnnamed3136(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'));
@@ -276,10 +276,10 @@
var o = new api.AndroidMatrix();
buildCounterAndroidMatrix++;
if (buildCounterAndroidMatrix < 3) {
- o.androidModelIds = buildUnnamed2848();
- o.androidVersionIds = buildUnnamed2849();
- o.locales = buildUnnamed2850();
- o.orientations = buildUnnamed2851();
+ o.androidModelIds = buildUnnamed3133();
+ o.androidVersionIds = buildUnnamed3134();
+ o.locales = buildUnnamed3135();
+ o.orientations = buildUnnamed3136();
}
buildCounterAndroidMatrix--;
return o;
@@ -288,48 +288,48 @@
checkAndroidMatrix(api.AndroidMatrix o) {
buildCounterAndroidMatrix++;
if (buildCounterAndroidMatrix < 3) {
- checkUnnamed2848(o.androidModelIds);
- checkUnnamed2849(o.androidVersionIds);
- checkUnnamed2850(o.locales);
- checkUnnamed2851(o.orientations);
+ checkUnnamed3133(o.androidModelIds);
+ checkUnnamed3134(o.androidVersionIds);
+ checkUnnamed3135(o.locales);
+ checkUnnamed3136(o.orientations);
}
buildCounterAndroidMatrix--;
}
-buildUnnamed2852() {
+buildUnnamed3137() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2852(core.List<core.String> o) {
+checkUnnamed3137(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'));
}
-buildUnnamed2853() {
+buildUnnamed3138() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2853(core.List<core.String> o) {
+checkUnnamed3138(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'));
}
-buildUnnamed2854() {
+buildUnnamed3139() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2854(core.List<core.String> o) {
+checkUnnamed3139(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'));
@@ -349,9 +349,9 @@
o.screenDensity = 42;
o.screenX = 42;
o.screenY = 42;
- o.supportedAbis = buildUnnamed2852();
- o.supportedVersionIds = buildUnnamed2853();
- o.tags = buildUnnamed2854();
+ o.supportedAbis = buildUnnamed3137();
+ o.supportedVersionIds = buildUnnamed3138();
+ o.tags = buildUnnamed3139();
}
buildCounterAndroidModel--;
return o;
@@ -369,21 +369,21 @@
unittest.expect(o.screenDensity, unittest.equals(42));
unittest.expect(o.screenX, unittest.equals(42));
unittest.expect(o.screenY, unittest.equals(42));
- checkUnnamed2852(o.supportedAbis);
- checkUnnamed2853(o.supportedVersionIds);
- checkUnnamed2854(o.tags);
+ checkUnnamed3137(o.supportedAbis);
+ checkUnnamed3138(o.supportedVersionIds);
+ checkUnnamed3139(o.tags);
}
buildCounterAndroidModel--;
}
-buildUnnamed2855() {
+buildUnnamed3140() {
var o = new core.List<api.RoboDirective>();
o.add(buildRoboDirective());
o.add(buildRoboDirective());
return o;
}
-checkUnnamed2855(core.List<api.RoboDirective> o) {
+checkUnnamed3140(core.List<api.RoboDirective> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoboDirective(o[0]);
checkRoboDirective(o[1]);
@@ -399,7 +399,7 @@
o.appPackageId = "foo";
o.maxDepth = 42;
o.maxSteps = 42;
- o.roboDirectives = buildUnnamed2855();
+ o.roboDirectives = buildUnnamed3140();
}
buildCounterAndroidRoboTest--;
return o;
@@ -413,32 +413,32 @@
unittest.expect(o.appPackageId, unittest.equals('foo'));
unittest.expect(o.maxDepth, unittest.equals(42));
unittest.expect(o.maxSteps, unittest.equals(42));
- checkUnnamed2855(o.roboDirectives);
+ checkUnnamed3140(o.roboDirectives);
}
buildCounterAndroidRoboTest--;
}
-buildUnnamed2856() {
+buildUnnamed3141() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed2856(core.List<api.Locale> o) {
+checkUnnamed3141(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed2857() {
+buildUnnamed3142() {
var o = new core.List<api.Orientation>();
o.add(buildOrientation());
o.add(buildOrientation());
return o;
}
-checkUnnamed2857(core.List<api.Orientation> o) {
+checkUnnamed3142(core.List<api.Orientation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrientation(o[0]);
checkOrientation(o[1]);
@@ -449,8 +449,8 @@
var o = new api.AndroidRuntimeConfiguration();
buildCounterAndroidRuntimeConfiguration++;
if (buildCounterAndroidRuntimeConfiguration < 3) {
- o.locales = buildUnnamed2856();
- o.orientations = buildUnnamed2857();
+ o.locales = buildUnnamed3141();
+ o.orientations = buildUnnamed3142();
}
buildCounterAndroidRuntimeConfiguration--;
return o;
@@ -459,33 +459,33 @@
checkAndroidRuntimeConfiguration(api.AndroidRuntimeConfiguration o) {
buildCounterAndroidRuntimeConfiguration++;
if (buildCounterAndroidRuntimeConfiguration < 3) {
- checkUnnamed2856(o.locales);
- checkUnnamed2857(o.orientations);
+ checkUnnamed3141(o.locales);
+ checkUnnamed3142(o.orientations);
}
buildCounterAndroidRuntimeConfiguration--;
}
-buildUnnamed2858() {
+buildUnnamed3143() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2858(core.List<core.String> o) {
+checkUnnamed3143(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'));
}
-buildUnnamed2859() {
+buildUnnamed3144() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2859(core.List<core.int> o) {
+checkUnnamed3144(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -498,8 +498,8 @@
if (buildCounterAndroidTestLoop < 3) {
o.appApk = buildFileReference();
o.appPackageId = "foo";
- o.scenarioLabels = buildUnnamed2858();
- o.scenarios = buildUnnamed2859();
+ o.scenarioLabels = buildUnnamed3143();
+ o.scenarios = buildUnnamed3144();
}
buildCounterAndroidTestLoop--;
return o;
@@ -510,20 +510,20 @@
if (buildCounterAndroidTestLoop < 3) {
checkFileReference(o.appApk);
unittest.expect(o.appPackageId, unittest.equals('foo'));
- checkUnnamed2858(o.scenarioLabels);
- checkUnnamed2859(o.scenarios);
+ checkUnnamed3143(o.scenarioLabels);
+ checkUnnamed3144(o.scenarios);
}
buildCounterAndroidTestLoop--;
}
-buildUnnamed2860() {
+buildUnnamed3145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2860(core.List<core.String> o) {
+checkUnnamed3145(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'));
@@ -539,7 +539,7 @@
o.distribution = buildDistribution();
o.id = "foo";
o.releaseDate = buildDate();
- o.tags = buildUnnamed2860();
+ o.tags = buildUnnamed3145();
o.versionString = "foo";
}
buildCounterAndroidVersion--;
@@ -554,7 +554,7 @@
checkDistribution(o.distribution);
unittest.expect(o.id, unittest.equals('foo'));
checkDate(o.releaseDate);
- checkUnnamed2860(o.tags);
+ checkUnnamed3145(o.tags);
unittest.expect(o.versionString, unittest.equals('foo'));
}
buildCounterAndroidVersion--;
@@ -579,14 +579,14 @@
buildCounterCancelTestMatrixResponse--;
}
-buildUnnamed2861() {
+buildUnnamed3146() {
var o = new core.List<api.ClientInfoDetail>();
o.add(buildClientInfoDetail());
o.add(buildClientInfoDetail());
return o;
}
-checkUnnamed2861(core.List<api.ClientInfoDetail> o) {
+checkUnnamed3146(core.List<api.ClientInfoDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkClientInfoDetail(o[0]);
checkClientInfoDetail(o[1]);
@@ -597,7 +597,7 @@
var o = new api.ClientInfo();
buildCounterClientInfo++;
if (buildCounterClientInfo < 3) {
- o.clientInfoDetails = buildUnnamed2861();
+ o.clientInfoDetails = buildUnnamed3146();
o.name = "foo";
}
buildCounterClientInfo--;
@@ -607,7 +607,7 @@
checkClientInfo(api.ClientInfo o) {
buildCounterClientInfo++;
if (buildCounterClientInfo < 3) {
- checkUnnamed2861(o.clientInfoDetails);
+ checkUnnamed3146(o.clientInfoDetails);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterClientInfo--;
@@ -811,14 +811,14 @@
buildCounterGoogleCloudStorage--;
}
-buildUnnamed2862() {
+buildUnnamed3147() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2862(core.List<core.String> o) {
+checkUnnamed3147(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'));
@@ -832,7 +832,7 @@
o.id = "foo";
o.name = "foo";
o.region = "foo";
- o.tags = buildUnnamed2862();
+ o.tags = buildUnnamed3147();
}
buildCounterLocale--;
return o;
@@ -844,7 +844,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2862(o.tags);
+ checkUnnamed3147(o.tags);
}
buildCounterLocale--;
}
@@ -872,14 +872,14 @@
buildCounterNetworkConfiguration--;
}
-buildUnnamed2863() {
+buildUnnamed3148() {
var o = new core.List<api.NetworkConfiguration>();
o.add(buildNetworkConfiguration());
o.add(buildNetworkConfiguration());
return o;
}
-checkUnnamed2863(core.List<api.NetworkConfiguration> o) {
+checkUnnamed3148(core.List<api.NetworkConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkConfiguration(o[0]);
checkNetworkConfiguration(o[1]);
@@ -890,7 +890,7 @@
var o = new api.NetworkConfigurationCatalog();
buildCounterNetworkConfigurationCatalog++;
if (buildCounterNetworkConfigurationCatalog < 3) {
- o.configurations = buildUnnamed2863();
+ o.configurations = buildUnnamed3148();
}
buildCounterNetworkConfigurationCatalog--;
return o;
@@ -899,7 +899,7 @@
checkNetworkConfigurationCatalog(api.NetworkConfigurationCatalog o) {
buildCounterNetworkConfigurationCatalog++;
if (buildCounterNetworkConfigurationCatalog < 3) {
- checkUnnamed2863(o.configurations);
+ checkUnnamed3148(o.configurations);
}
buildCounterNetworkConfigurationCatalog--;
}
@@ -925,14 +925,14 @@
buildCounterObbFile--;
}
-buildUnnamed2864() {
+buildUnnamed3149() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2864(core.List<core.String> o) {
+checkUnnamed3149(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'));
@@ -945,7 +945,7 @@
if (buildCounterOrientation < 3) {
o.id = "foo";
o.name = "foo";
- o.tags = buildUnnamed2864();
+ o.tags = buildUnnamed3149();
}
buildCounterOrientation--;
return o;
@@ -956,7 +956,7 @@
if (buildCounterOrientation < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2864(o.tags);
+ checkUnnamed3149(o.tags);
}
buildCounterOrientation--;
}
@@ -1007,14 +1007,14 @@
buildCounterRoboDirective--;
}
-buildUnnamed2865() {
+buildUnnamed3150() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2865(core.List<core.String> o) {
+checkUnnamed3150(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'));
@@ -1026,7 +1026,7 @@
buildCounterTestDetails++;
if (buildCounterTestDetails < 3) {
o.errorMessage = "foo";
- o.progressMessages = buildUnnamed2865();
+ o.progressMessages = buildUnnamed3150();
}
buildCounterTestDetails--;
return o;
@@ -1036,7 +1036,7 @@
buildCounterTestDetails++;
if (buildCounterTestDetails < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
- checkUnnamed2865(o.progressMessages);
+ checkUnnamed3150(o.progressMessages);
}
buildCounterTestDetails--;
}
@@ -1097,14 +1097,14 @@
buildCounterTestExecution--;
}
-buildUnnamed2866() {
+buildUnnamed3151() {
var o = new core.List<api.TestExecution>();
o.add(buildTestExecution());
o.add(buildTestExecution());
return o;
}
-checkUnnamed2866(core.List<api.TestExecution> o) {
+checkUnnamed3151(core.List<api.TestExecution> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestExecution(o[0]);
checkTestExecution(o[1]);
@@ -1121,7 +1121,7 @@
o.projectId = "foo";
o.resultStorage = buildResultStorage();
o.state = "foo";
- o.testExecutions = buildUnnamed2866();
+ o.testExecutions = buildUnnamed3151();
o.testMatrixId = "foo";
o.testSpecification = buildTestSpecification();
o.timestamp = "foo";
@@ -1139,7 +1139,7 @@
unittest.expect(o.projectId, unittest.equals('foo'));
checkResultStorage(o.resultStorage);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed2866(o.testExecutions);
+ checkUnnamed3151(o.testExecutions);
unittest.expect(o.testMatrixId, unittest.equals('foo'));
checkTestSpecification(o.testSpecification);
unittest.expect(o.timestamp, unittest.equals('foo'));
@@ -1147,40 +1147,40 @@
buildCounterTestMatrix--;
}
-buildUnnamed2867() {
+buildUnnamed3152() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2867(core.List<core.String> o) {
+checkUnnamed3152(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'));
}
-buildUnnamed2868() {
+buildUnnamed3153() {
var o = new core.List<api.EnvironmentVariable>();
o.add(buildEnvironmentVariable());
o.add(buildEnvironmentVariable());
return o;
}
-checkUnnamed2868(core.List<api.EnvironmentVariable> o) {
+checkUnnamed3153(core.List<api.EnvironmentVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironmentVariable(o[0]);
checkEnvironmentVariable(o[1]);
}
-buildUnnamed2869() {
+buildUnnamed3154() {
var o = new core.List<api.DeviceFile>();
o.add(buildDeviceFile());
o.add(buildDeviceFile());
return o;
}
-checkUnnamed2869(core.List<api.DeviceFile> o) {
+checkUnnamed3154(core.List<api.DeviceFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceFile(o[0]);
checkDeviceFile(o[1]);
@@ -1192,9 +1192,9 @@
buildCounterTestSetup++;
if (buildCounterTestSetup < 3) {
o.account = buildAccount();
- o.directoriesToPull = buildUnnamed2867();
- o.environmentVariables = buildUnnamed2868();
- o.filesToPush = buildUnnamed2869();
+ o.directoriesToPull = buildUnnamed3152();
+ o.environmentVariables = buildUnnamed3153();
+ o.filesToPush = buildUnnamed3154();
o.networkProfile = "foo";
}
buildCounterTestSetup--;
@@ -1205,9 +1205,9 @@
buildCounterTestSetup++;
if (buildCounterTestSetup < 3) {
checkAccount(o.account);
- checkUnnamed2867(o.directoriesToPull);
- checkUnnamed2868(o.environmentVariables);
- checkUnnamed2869(o.filesToPush);
+ checkUnnamed3152(o.directoriesToPull);
+ checkUnnamed3153(o.environmentVariables);
+ checkUnnamed3154(o.filesToPush);
unittest.expect(o.networkProfile, unittest.equals('foo'));
}
buildCounterTestSetup--;
diff --git a/generated/googleapis/test/translate/v2_test.dart b/generated/googleapis/test/translate/v2_test.dart
index 7151b07..e15b7d7 100644
--- a/generated/googleapis/test/translate/v2_test.dart
+++ b/generated/googleapis/test/translate/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed783() {
+buildUnnamed789() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed783(core.List<core.String> o) {
+checkUnnamed789(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'));
@@ -68,7 +68,7 @@
var o = new api.DetectLanguageRequest();
buildCounterDetectLanguageRequest++;
if (buildCounterDetectLanguageRequest < 3) {
- o.q = buildUnnamed783();
+ o.q = buildUnnamed789();
}
buildCounterDetectLanguageRequest--;
return o;
@@ -77,19 +77,19 @@
checkDetectLanguageRequest(api.DetectLanguageRequest o) {
buildCounterDetectLanguageRequest++;
if (buildCounterDetectLanguageRequest < 3) {
- checkUnnamed783(o.q);
+ checkUnnamed789(o.q);
}
buildCounterDetectLanguageRequest--;
}
-buildUnnamed784() {
+buildUnnamed790() {
var o = new core.List<api.DetectionsResource>();
o.add(buildDetectionsResource());
o.add(buildDetectionsResource());
return o;
}
-checkUnnamed784(core.List<api.DetectionsResource> o) {
+checkUnnamed790(core.List<api.DetectionsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectionsResource(o[0]);
checkDetectionsResource(o[1]);
@@ -100,7 +100,7 @@
var o = new api.DetectionsListResponse();
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- o.detections = buildUnnamed784();
+ o.detections = buildUnnamed790();
}
buildCounterDetectionsListResponse--;
return o;
@@ -109,7 +109,7 @@
checkDetectionsListResponse(api.DetectionsListResponse o) {
buildCounterDetectionsListResponse++;
if (buildCounterDetectionsListResponse < 3) {
- checkUnnamed784(o.detections);
+ checkUnnamed790(o.detections);
}
buildCounterDetectionsListResponse--;
}
@@ -169,14 +169,14 @@
buildCounterGetSupportedLanguagesRequest--;
}
-buildUnnamed785() {
+buildUnnamed791() {
var o = new core.List<api.LanguagesResource>();
o.add(buildLanguagesResource());
o.add(buildLanguagesResource());
return o;
}
-checkUnnamed785(core.List<api.LanguagesResource> o) {
+checkUnnamed791(core.List<api.LanguagesResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguagesResource(o[0]);
checkLanguagesResource(o[1]);
@@ -187,7 +187,7 @@
var o = new api.LanguagesListResponse();
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- o.languages = buildUnnamed785();
+ o.languages = buildUnnamed791();
}
buildCounterLanguagesListResponse--;
return o;
@@ -196,7 +196,7 @@
checkLanguagesListResponse(api.LanguagesListResponse o) {
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
- checkUnnamed785(o.languages);
+ checkUnnamed791(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -222,14 +222,14 @@
buildCounterLanguagesResource--;
}
-buildUnnamed786() {
+buildUnnamed792() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed786(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'));
@@ -242,7 +242,7 @@
if (buildCounterTranslateTextRequest < 3) {
o.format = "foo";
o.model = "foo";
- o.q = buildUnnamed786();
+ o.q = buildUnnamed792();
o.source = "foo";
o.target = "foo";
}
@@ -255,21 +255,21 @@
if (buildCounterTranslateTextRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
- checkUnnamed786(o.q);
+ checkUnnamed792(o.q);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterTranslateTextRequest--;
}
-buildUnnamed787() {
+buildUnnamed793() {
var o = new core.List<api.TranslationsResource>();
o.add(buildTranslationsResource());
o.add(buildTranslationsResource());
return o;
}
-checkUnnamed787(core.List<api.TranslationsResource> o) {
+checkUnnamed793(core.List<api.TranslationsResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkTranslationsResource(o[0]);
checkTranslationsResource(o[1]);
@@ -280,7 +280,7 @@
var o = new api.TranslationsListResponse();
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- o.translations = buildUnnamed787();
+ o.translations = buildUnnamed793();
}
buildCounterTranslationsListResponse--;
return o;
@@ -289,7 +289,7 @@
checkTranslationsListResponse(api.TranslationsListResponse o) {
buildCounterTranslationsListResponse++;
if (buildCounterTranslationsListResponse < 3) {
- checkUnnamed787(o.translations);
+ checkUnnamed793(o.translations);
}
buildCounterTranslationsListResponse--;
}
@@ -317,40 +317,40 @@
buildCounterTranslationsResource--;
}
-buildUnnamed788() {
+buildUnnamed794() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed788(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'));
}
-buildUnnamed789() {
+buildUnnamed795() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed789(core.List<core.String> o) {
+checkUnnamed795(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'));
}
-buildUnnamed790() {
+buildUnnamed796() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed790(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'));
@@ -497,7 +497,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.DetectionsResourceApi res = new api.TranslateApi(mock).detections;
- var arg_q = buildUnnamed788();
+ var arg_q = buildUnnamed794();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -553,8 +553,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.LanguagesResourceApi res = new api.TranslateApi(mock).languages;
- var arg_model = "foo";
var arg_target = "foo";
+ var arg_model = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -589,8 +589,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
unittest.expect(queryMap["target"].first, unittest.equals(arg_target));
+ unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -600,7 +600,7 @@
return new async.Future.value(stringResponse(200, h, resp));
}), true);
res
- .list(model: arg_model, target: arg_target, $fields: arg_$fields)
+ .list(target: arg_target, model: arg_model, $fields: arg_$fields)
.then(unittest.expectAsync1(((api.LanguagesListResponse response) {
checkLanguagesListResponse(response);
})));
@@ -611,10 +611,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.TranslationsResourceApi res = new api.TranslateApi(mock).translations;
- var arg_q = buildUnnamed789();
+ var arg_q = buildUnnamed795();
var arg_target = "foo";
var arg_source = "foo";
- var arg_cid = buildUnnamed790();
+ var arg_cid = buildUnnamed796();
var arg_format = "foo";
var arg_model = "foo";
var arg_$fields = "foo";
diff --git a/generated/googleapis/test/urlshortener/v1_test.dart b/generated/googleapis/test/urlshortener/v1_test.dart
index 06de3c6..78c9813 100644
--- a/generated/googleapis/test/urlshortener/v1_test.dart
+++ b/generated/googleapis/test/urlshortener/v1_test.dart
@@ -50,53 +50,53 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed818() {
+buildUnnamed824() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed818(core.List<api.StringCount> o) {
+checkUnnamed824(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed819() {
+buildUnnamed825() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed819(core.List<api.StringCount> o) {
+checkUnnamed825(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed820() {
+buildUnnamed826() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed820(core.List<api.StringCount> o) {
+checkUnnamed826(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
}
-buildUnnamed821() {
+buildUnnamed827() {
var o = new core.List<api.StringCount>();
o.add(buildStringCount());
o.add(buildStringCount());
return o;
}
-checkUnnamed821(core.List<api.StringCount> o) {
+checkUnnamed827(core.List<api.StringCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkStringCount(o[0]);
checkStringCount(o[1]);
@@ -107,11 +107,11 @@
var o = new api.AnalyticsSnapshot();
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- o.browsers = buildUnnamed818();
- o.countries = buildUnnamed819();
+ o.browsers = buildUnnamed824();
+ o.countries = buildUnnamed825();
o.longUrlClicks = "foo";
- o.platforms = buildUnnamed820();
- o.referrers = buildUnnamed821();
+ o.platforms = buildUnnamed826();
+ o.referrers = buildUnnamed827();
o.shortUrlClicks = "foo";
}
buildCounterAnalyticsSnapshot--;
@@ -121,11 +121,11 @@
checkAnalyticsSnapshot(api.AnalyticsSnapshot o) {
buildCounterAnalyticsSnapshot++;
if (buildCounterAnalyticsSnapshot < 3) {
- checkUnnamed818(o.browsers);
- checkUnnamed819(o.countries);
+ checkUnnamed824(o.browsers);
+ checkUnnamed825(o.countries);
unittest.expect(o.longUrlClicks, unittest.equals('foo'));
- checkUnnamed820(o.platforms);
- checkUnnamed821(o.referrers);
+ checkUnnamed826(o.platforms);
+ checkUnnamed827(o.referrers);
unittest.expect(o.shortUrlClicks, unittest.equals('foo'));
}
buildCounterAnalyticsSnapshot--;
@@ -208,14 +208,14 @@
buildCounterUrl--;
}
-buildUnnamed822() {
+buildUnnamed828() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed822(core.List<api.Url> o) {
+checkUnnamed828(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
@@ -226,7 +226,7 @@
var o = new api.UrlHistory();
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- o.items = buildUnnamed822();
+ o.items = buildUnnamed828();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -239,7 +239,7 @@
checkUrlHistory(api.UrlHistory o) {
buildCounterUrlHistory++;
if (buildCounterUrlHistory < 3) {
- checkUnnamed822(o.items);
+ checkUnnamed828(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
diff --git a/generated/googleapis/test/vault/v1_test.dart b/generated/googleapis/test/vault/v1_test.dart
index a68e7fa..cd2898b 100644
--- a/generated/googleapis/test/vault/v1_test.dart
+++ b/generated/googleapis/test/vault/v1_test.dart
@@ -252,14 +252,14 @@
buildCounterHeldOrgUnit--;
}
-buildUnnamed1677() {
+buildUnnamed1683() {
var o = new core.List<api.HeldAccount>();
o.add(buildHeldAccount());
o.add(buildHeldAccount());
return o;
}
-checkUnnamed1677(core.List<api.HeldAccount> o) {
+checkUnnamed1683(core.List<api.HeldAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeldAccount(o[0]);
checkHeldAccount(o[1]);
@@ -270,7 +270,7 @@
var o = new api.Hold();
buildCounterHold++;
if (buildCounterHold < 3) {
- o.accounts = buildUnnamed1677();
+ o.accounts = buildUnnamed1683();
o.corpus = "foo";
o.holdId = "foo";
o.name = "foo";
@@ -285,7 +285,7 @@
checkHold(api.Hold o) {
buildCounterHold++;
if (buildCounterHold < 3) {
- checkUnnamed1677(o.accounts);
+ checkUnnamed1683(o.accounts);
unittest.expect(o.corpus, unittest.equals('foo'));
unittest.expect(o.holdId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -296,14 +296,14 @@
buildCounterHold--;
}
-buildUnnamed1678() {
+buildUnnamed1684() {
var o = new core.List<api.HeldAccount>();
o.add(buildHeldAccount());
o.add(buildHeldAccount());
return o;
}
-checkUnnamed1678(core.List<api.HeldAccount> o) {
+checkUnnamed1684(core.List<api.HeldAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeldAccount(o[0]);
checkHeldAccount(o[1]);
@@ -314,7 +314,7 @@
var o = new api.ListHeldAccountsResponse();
buildCounterListHeldAccountsResponse++;
if (buildCounterListHeldAccountsResponse < 3) {
- o.accounts = buildUnnamed1678();
+ o.accounts = buildUnnamed1684();
}
buildCounterListHeldAccountsResponse--;
return o;
@@ -323,19 +323,19 @@
checkListHeldAccountsResponse(api.ListHeldAccountsResponse o) {
buildCounterListHeldAccountsResponse++;
if (buildCounterListHeldAccountsResponse < 3) {
- checkUnnamed1678(o.accounts);
+ checkUnnamed1684(o.accounts);
}
buildCounterListHeldAccountsResponse--;
}
-buildUnnamed1679() {
+buildUnnamed1685() {
var o = new core.List<api.Hold>();
o.add(buildHold());
o.add(buildHold());
return o;
}
-checkUnnamed1679(core.List<api.Hold> o) {
+checkUnnamed1685(core.List<api.Hold> o) {
unittest.expect(o, unittest.hasLength(2));
checkHold(o[0]);
checkHold(o[1]);
@@ -346,7 +346,7 @@
var o = new api.ListHoldsResponse();
buildCounterListHoldsResponse++;
if (buildCounterListHoldsResponse < 3) {
- o.holds = buildUnnamed1679();
+ o.holds = buildUnnamed1685();
o.nextPageToken = "foo";
}
buildCounterListHoldsResponse--;
@@ -356,20 +356,20 @@
checkListHoldsResponse(api.ListHoldsResponse o) {
buildCounterListHoldsResponse++;
if (buildCounterListHoldsResponse < 3) {
- checkUnnamed1679(o.holds);
+ checkUnnamed1685(o.holds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHoldsResponse--;
}
-buildUnnamed1680() {
+buildUnnamed1686() {
var o = new core.List<api.Matter>();
o.add(buildMatter());
o.add(buildMatter());
return o;
}
-checkUnnamed1680(core.List<api.Matter> o) {
+checkUnnamed1686(core.List<api.Matter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatter(o[0]);
checkMatter(o[1]);
@@ -380,7 +380,7 @@
var o = new api.ListMattersResponse();
buildCounterListMattersResponse++;
if (buildCounterListMattersResponse < 3) {
- o.matters = buildUnnamed1680();
+ o.matters = buildUnnamed1686();
o.nextPageToken = "foo";
}
buildCounterListMattersResponse--;
@@ -390,20 +390,20 @@
checkListMattersResponse(api.ListMattersResponse o) {
buildCounterListMattersResponse++;
if (buildCounterListMattersResponse < 3) {
- checkUnnamed1680(o.matters);
+ checkUnnamed1686(o.matters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMattersResponse--;
}
-buildUnnamed1681() {
+buildUnnamed1687() {
var o = new core.List<api.MatterPermission>();
o.add(buildMatterPermission());
o.add(buildMatterPermission());
return o;
}
-checkUnnamed1681(core.List<api.MatterPermission> o) {
+checkUnnamed1687(core.List<api.MatterPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatterPermission(o[0]);
checkMatterPermission(o[1]);
@@ -416,7 +416,7 @@
if (buildCounterMatter < 3) {
o.description = "foo";
o.matterId = "foo";
- o.matterPermissions = buildUnnamed1681();
+ o.matterPermissions = buildUnnamed1687();
o.name = "foo";
o.state = "foo";
}
@@ -429,7 +429,7 @@
if (buildCounterMatter < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.matterId, unittest.equals('foo'));
- checkUnnamed1681(o.matterPermissions);
+ checkUnnamed1687(o.matterPermissions);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
}
@@ -977,10 +977,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.MattersResourceApi res = new api.VaultApi(mock).matters;
- var arg_state = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_state = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1012,12 +1012,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1028,10 +1028,10 @@
}), true);
res
.list(
- state: arg_state,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
+ state: arg_state,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListMattersResponse response) {
checkListMattersResponse(response);
@@ -1479,8 +1479,8 @@
var mock = new HttpServerMock();
api.MattersHoldsResourceApi res = new api.VaultApi(mock).matters.holds;
var arg_matterId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1521,10 +1521,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1535,8 +1535,8 @@
}), true);
res
.list(arg_matterId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListHoldsResponse response) {
checkListHoldsResponse(response);
diff --git a/generated/googleapis/test/vision/v1_test.dart b/generated/googleapis/test/vision/v1_test.dart
index 18d9dd8..5a23dba 100644
--- a/generated/googleapis/test/vision/v1_test.dart
+++ b/generated/googleapis/test/vision/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1333() {
+buildUnnamed1339() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed1333(core.List<api.Feature> o) {
+checkUnnamed1339(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AnnotateImageRequest();
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- o.features = buildUnnamed1333();
+ o.features = buildUnnamed1339();
o.image = buildImage();
o.imageContext = buildImageContext();
}
@@ -79,73 +79,73 @@
checkAnnotateImageRequest(api.AnnotateImageRequest o) {
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- checkUnnamed1333(o.features);
+ checkUnnamed1339(o.features);
checkImage(o.image);
checkImageContext(o.imageContext);
}
buildCounterAnnotateImageRequest--;
}
-buildUnnamed1334() {
+buildUnnamed1340() {
var o = new core.List<api.FaceAnnotation>();
o.add(buildFaceAnnotation());
o.add(buildFaceAnnotation());
return o;
}
-checkUnnamed1334(core.List<api.FaceAnnotation> o) {
+checkUnnamed1340(core.List<api.FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFaceAnnotation(o[0]);
checkFaceAnnotation(o[1]);
}
-buildUnnamed1335() {
+buildUnnamed1341() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1335(core.List<api.EntityAnnotation> o) {
+checkUnnamed1341(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1336() {
+buildUnnamed1342() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1336(core.List<api.EntityAnnotation> o) {
+checkUnnamed1342(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1337() {
+buildUnnamed1343() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1337(core.List<api.EntityAnnotation> o) {
+checkUnnamed1343(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
}
-buildUnnamed1338() {
+buildUnnamed1344() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
o.add(buildEntityAnnotation());
return o;
}
-checkUnnamed1338(core.List<api.EntityAnnotation> o) {
+checkUnnamed1344(core.List<api.EntityAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAnnotation(o[0]);
checkEntityAnnotation(o[1]);
@@ -158,14 +158,14 @@
if (buildCounterAnnotateImageResponse < 3) {
o.cropHintsAnnotation = buildCropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed1334();
+ o.faceAnnotations = buildUnnamed1340();
o.fullTextAnnotation = buildTextAnnotation();
o.imagePropertiesAnnotation = buildImageProperties();
- o.labelAnnotations = buildUnnamed1335();
- o.landmarkAnnotations = buildUnnamed1336();
- o.logoAnnotations = buildUnnamed1337();
+ o.labelAnnotations = buildUnnamed1341();
+ o.landmarkAnnotations = buildUnnamed1342();
+ o.logoAnnotations = buildUnnamed1343();
o.safeSearchAnnotation = buildSafeSearchAnnotation();
- o.textAnnotations = buildUnnamed1338();
+ o.textAnnotations = buildUnnamed1344();
o.webDetection = buildWebDetection();
}
buildCounterAnnotateImageResponse--;
@@ -177,27 +177,27 @@
if (buildCounterAnnotateImageResponse < 3) {
checkCropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed1334(o.faceAnnotations);
+ checkUnnamed1340(o.faceAnnotations);
checkTextAnnotation(o.fullTextAnnotation);
checkImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed1335(o.labelAnnotations);
- checkUnnamed1336(o.landmarkAnnotations);
- checkUnnamed1337(o.logoAnnotations);
+ checkUnnamed1341(o.labelAnnotations);
+ checkUnnamed1342(o.landmarkAnnotations);
+ checkUnnamed1343(o.logoAnnotations);
checkSafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed1338(o.textAnnotations);
+ checkUnnamed1344(o.textAnnotations);
checkWebDetection(o.webDetection);
}
buildCounterAnnotateImageResponse--;
}
-buildUnnamed1339() {
+buildUnnamed1345() {
var o = new core.List<api.AnnotateImageRequest>();
o.add(buildAnnotateImageRequest());
o.add(buildAnnotateImageRequest());
return o;
}
-checkUnnamed1339(core.List<api.AnnotateImageRequest> o) {
+checkUnnamed1345(core.List<api.AnnotateImageRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageRequest(o[0]);
checkAnnotateImageRequest(o[1]);
@@ -208,7 +208,7 @@
var o = new api.BatchAnnotateImagesRequest();
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- o.requests = buildUnnamed1339();
+ o.requests = buildUnnamed1345();
}
buildCounterBatchAnnotateImagesRequest--;
return o;
@@ -217,19 +217,19 @@
checkBatchAnnotateImagesRequest(api.BatchAnnotateImagesRequest o) {
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
- checkUnnamed1339(o.requests);
+ checkUnnamed1345(o.requests);
}
buildCounterBatchAnnotateImagesRequest--;
}
-buildUnnamed1340() {
+buildUnnamed1346() {
var o = new core.List<api.AnnotateImageResponse>();
o.add(buildAnnotateImageResponse());
o.add(buildAnnotateImageResponse());
return o;
}
-checkUnnamed1340(core.List<api.AnnotateImageResponse> o) {
+checkUnnamed1346(core.List<api.AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageResponse(o[0]);
checkAnnotateImageResponse(o[1]);
@@ -240,7 +240,7 @@
var o = new api.BatchAnnotateImagesResponse();
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- o.responses = buildUnnamed1340();
+ o.responses = buildUnnamed1346();
}
buildCounterBatchAnnotateImagesResponse--;
return o;
@@ -249,19 +249,19 @@
checkBatchAnnotateImagesResponse(api.BatchAnnotateImagesResponse o) {
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- checkUnnamed1340(o.responses);
+ checkUnnamed1346(o.responses);
}
buildCounterBatchAnnotateImagesResponse--;
}
-buildUnnamed1341() {
+buildUnnamed1347() {
var o = new core.List<api.Paragraph>();
o.add(buildParagraph());
o.add(buildParagraph());
return o;
}
-checkUnnamed1341(core.List<api.Paragraph> o) {
+checkUnnamed1347(core.List<api.Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkParagraph(o[0]);
checkParagraph(o[1]);
@@ -274,7 +274,7 @@
if (buildCounterBlock < 3) {
o.blockType = "foo";
o.boundingBox = buildBoundingPoly();
- o.paragraphs = buildUnnamed1341();
+ o.paragraphs = buildUnnamed1347();
o.property = buildTextProperty();
}
buildCounterBlock--;
@@ -286,20 +286,20 @@
if (buildCounterBlock < 3) {
unittest.expect(o.blockType, unittest.equals('foo'));
checkBoundingPoly(o.boundingBox);
- checkUnnamed1341(o.paragraphs);
+ checkUnnamed1347(o.paragraphs);
checkTextProperty(o.property);
}
buildCounterBlock--;
}
-buildUnnamed1342() {
+buildUnnamed1348() {
var o = new core.List<api.Vertex>();
o.add(buildVertex());
o.add(buildVertex());
return o;
}
-checkUnnamed1342(core.List<api.Vertex> o) {
+checkUnnamed1348(core.List<api.Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkVertex(o[0]);
checkVertex(o[1]);
@@ -310,7 +310,7 @@
var o = new api.BoundingPoly();
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- o.vertices = buildUnnamed1342();
+ o.vertices = buildUnnamed1348();
}
buildCounterBoundingPoly--;
return o;
@@ -319,7 +319,7 @@
checkBoundingPoly(api.BoundingPoly o) {
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- checkUnnamed1342(o.vertices);
+ checkUnnamed1348(o.vertices);
}
buildCounterBoundingPoly--;
}
@@ -395,14 +395,14 @@
buildCounterCropHint--;
}
-buildUnnamed1343() {
+buildUnnamed1349() {
var o = new core.List<api.CropHint>();
o.add(buildCropHint());
o.add(buildCropHint());
return o;
}
-checkUnnamed1343(core.List<api.CropHint> o) {
+checkUnnamed1349(core.List<api.CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkCropHint(o[0]);
checkCropHint(o[1]);
@@ -413,7 +413,7 @@
var o = new api.CropHintsAnnotation();
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed1343();
+ o.cropHints = buildUnnamed1349();
}
buildCounterCropHintsAnnotation--;
return o;
@@ -422,19 +422,19 @@
checkCropHintsAnnotation(api.CropHintsAnnotation o) {
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- checkUnnamed1343(o.cropHints);
+ checkUnnamed1349(o.cropHints);
}
buildCounterCropHintsAnnotation--;
}
-buildUnnamed1344() {
+buildUnnamed1350() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1344(core.List<core.double> o) {
+checkUnnamed1350(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -445,7 +445,7 @@
var o = new api.CropHintsParams();
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- o.aspectRatios = buildUnnamed1344();
+ o.aspectRatios = buildUnnamed1350();
}
buildCounterCropHintsParams--;
return o;
@@ -454,7 +454,7 @@
checkCropHintsParams(api.CropHintsParams o) {
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- checkUnnamed1344(o.aspectRatios);
+ checkUnnamed1350(o.aspectRatios);
}
buildCounterCropHintsParams--;
}
@@ -501,14 +501,14 @@
buildCounterDetectedLanguage--;
}
-buildUnnamed1345() {
+buildUnnamed1351() {
var o = new core.List<api.ColorInfo>();
o.add(buildColorInfo());
o.add(buildColorInfo());
return o;
}
-checkUnnamed1345(core.List<api.ColorInfo> o) {
+checkUnnamed1351(core.List<api.ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorInfo(o[0]);
checkColorInfo(o[1]);
@@ -519,7 +519,7 @@
var o = new api.DominantColorsAnnotation();
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- o.colors = buildUnnamed1345();
+ o.colors = buildUnnamed1351();
}
buildCounterDominantColorsAnnotation--;
return o;
@@ -528,32 +528,32 @@
checkDominantColorsAnnotation(api.DominantColorsAnnotation o) {
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- checkUnnamed1345(o.colors);
+ checkUnnamed1351(o.colors);
}
buildCounterDominantColorsAnnotation--;
}
-buildUnnamed1346() {
+buildUnnamed1352() {
var o = new core.List<api.LocationInfo>();
o.add(buildLocationInfo());
o.add(buildLocationInfo());
return o;
}
-checkUnnamed1346(core.List<api.LocationInfo> o) {
+checkUnnamed1352(core.List<api.LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationInfo(o[0]);
checkLocationInfo(o[1]);
}
-buildUnnamed1347() {
+buildUnnamed1353() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed1347(core.List<api.Property> o) {
+checkUnnamed1353(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -568,9 +568,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed1346();
+ o.locations = buildUnnamed1352();
o.mid = "foo";
- o.properties = buildUnnamed1347();
+ o.properties = buildUnnamed1353();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -585,23 +585,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1346(o.locations);
+ checkUnnamed1352(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed1347(o.properties);
+ checkUnnamed1353(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterEntityAnnotation--;
}
-buildUnnamed1348() {
+buildUnnamed1354() {
var o = new core.List<api.Landmark>();
o.add(buildLandmark());
o.add(buildLandmark());
return o;
}
-checkUnnamed1348(core.List<api.Landmark> o) {
+checkUnnamed1354(core.List<api.Landmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandmark(o[0]);
checkLandmark(o[1]);
@@ -620,7 +620,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed1348();
+ o.landmarks = buildUnnamed1354();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -643,7 +643,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed1348(o.landmarks);
+ checkUnnamed1354(o.landmarks);
unittest.expect(o.panAngle, unittest.equals(42.0));
unittest.expect(o.rollAngle, unittest.equals(42.0));
unittest.expect(o.sorrowLikelihood, unittest.equals('foo'));
@@ -696,14 +696,14 @@
buildCounterImage--;
}
-buildUnnamed1349() {
+buildUnnamed1355() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1349(core.List<core.String> o) {
+checkUnnamed1355(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'));
@@ -715,7 +715,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
o.cropHintsParams = buildCropHintsParams();
- o.languageHints = buildUnnamed1349();
+ o.languageHints = buildUnnamed1355();
o.latLongRect = buildLatLongRect();
}
buildCounterImageContext--;
@@ -726,7 +726,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
checkCropHintsParams(o.cropHintsParams);
- checkUnnamed1349(o.languageHints);
+ checkUnnamed1355(o.languageHints);
checkLatLongRect(o.latLongRect);
}
buildCounterImageContext--;
@@ -854,14 +854,14 @@
buildCounterLocationInfo--;
}
-buildUnnamed1350() {
+buildUnnamed1356() {
var o = new core.List<api.Block>();
o.add(buildBlock());
o.add(buildBlock());
return o;
}
-checkUnnamed1350(core.List<api.Block> o) {
+checkUnnamed1356(core.List<api.Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlock(o[0]);
checkBlock(o[1]);
@@ -872,7 +872,7 @@
var o = new api.Page();
buildCounterPage++;
if (buildCounterPage < 3) {
- o.blocks = buildUnnamed1350();
+ o.blocks = buildUnnamed1356();
o.height = 42;
o.property = buildTextProperty();
o.width = 42;
@@ -884,7 +884,7 @@
checkPage(api.Page o) {
buildCounterPage++;
if (buildCounterPage < 3) {
- checkUnnamed1350(o.blocks);
+ checkUnnamed1356(o.blocks);
unittest.expect(o.height, unittest.equals(42));
checkTextProperty(o.property);
unittest.expect(o.width, unittest.equals(42));
@@ -892,14 +892,14 @@
buildCounterPage--;
}
-buildUnnamed1351() {
+buildUnnamed1357() {
var o = new core.List<api.Word>();
o.add(buildWord());
o.add(buildWord());
return o;
}
-checkUnnamed1351(core.List<api.Word> o) {
+checkUnnamed1357(core.List<api.Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkWord(o[0]);
checkWord(o[1]);
@@ -912,7 +912,7 @@
if (buildCounterParagraph < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.words = buildUnnamed1351();
+ o.words = buildUnnamed1357();
}
buildCounterParagraph--;
return o;
@@ -923,7 +923,7 @@
if (buildCounterParagraph < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1351(o.words);
+ checkUnnamed1357(o.words);
}
buildCounterParagraph--;
}
@@ -999,7 +999,7 @@
buildCounterSafeSearchAnnotation--;
}
-buildUnnamed1352() {
+buildUnnamed1358() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1014,7 +1014,7 @@
return o;
}
-checkUnnamed1352(core.Map<core.String, core.Object> o) {
+checkUnnamed1358(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1028,17 +1028,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1353() {
+buildUnnamed1359() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1352());
- o.add(buildUnnamed1352());
+ o.add(buildUnnamed1358());
+ o.add(buildUnnamed1358());
return o;
}
-checkUnnamed1353(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1359(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1352(o[0]);
- checkUnnamed1352(o[1]);
+ checkUnnamed1358(o[0]);
+ checkUnnamed1358(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1047,7 +1047,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1353();
+ o.details = buildUnnamed1359();
o.message = "foo";
}
buildCounterStatus--;
@@ -1058,7 +1058,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1353(o.details);
+ checkUnnamed1359(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1087,14 +1087,14 @@
buildCounterSymbol--;
}
-buildUnnamed1354() {
+buildUnnamed1360() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1354(core.List<api.Page> o) {
+checkUnnamed1360(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1105,7 +1105,7 @@
var o = new api.TextAnnotation();
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- o.pages = buildUnnamed1354();
+ o.pages = buildUnnamed1360();
o.text = "foo";
}
buildCounterTextAnnotation--;
@@ -1115,20 +1115,20 @@
checkTextAnnotation(api.TextAnnotation o) {
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- checkUnnamed1354(o.pages);
+ checkUnnamed1360(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterTextAnnotation--;
}
-buildUnnamed1355() {
+buildUnnamed1361() {
var o = new core.List<api.DetectedLanguage>();
o.add(buildDetectedLanguage());
o.add(buildDetectedLanguage());
return o;
}
-checkUnnamed1355(core.List<api.DetectedLanguage> o) {
+checkUnnamed1361(core.List<api.DetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectedLanguage(o[0]);
checkDetectedLanguage(o[1]);
@@ -1140,7 +1140,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
o.detectedBreak = buildDetectedBreak();
- o.detectedLanguages = buildUnnamed1355();
+ o.detectedLanguages = buildUnnamed1361();
}
buildCounterTextProperty--;
return o;
@@ -1150,7 +1150,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
checkDetectedBreak(o.detectedBreak);
- checkUnnamed1355(o.detectedLanguages);
+ checkUnnamed1361(o.detectedLanguages);
}
buildCounterTextProperty--;
}
@@ -1176,66 +1176,66 @@
buildCounterVertex--;
}
-buildUnnamed1356() {
+buildUnnamed1362() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1356(core.List<api.WebImage> o) {
+checkUnnamed1362(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1357() {
+buildUnnamed1363() {
var o = new core.List<api.WebPage>();
o.add(buildWebPage());
o.add(buildWebPage());
return o;
}
-checkUnnamed1357(core.List<api.WebPage> o) {
+checkUnnamed1363(core.List<api.WebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPage(o[0]);
checkWebPage(o[1]);
}
-buildUnnamed1358() {
+buildUnnamed1364() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1358(core.List<api.WebImage> o) {
+checkUnnamed1364(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1359() {
+buildUnnamed1365() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed1359(core.List<api.WebImage> o) {
+checkUnnamed1365(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed1360() {
+buildUnnamed1366() {
var o = new core.List<api.WebEntity>();
o.add(buildWebEntity());
o.add(buildWebEntity());
return o;
}
-checkUnnamed1360(core.List<api.WebEntity> o) {
+checkUnnamed1366(core.List<api.WebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebEntity(o[0]);
checkWebEntity(o[1]);
@@ -1246,11 +1246,11 @@
var o = new api.WebDetection();
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- o.fullMatchingImages = buildUnnamed1356();
- o.pagesWithMatchingImages = buildUnnamed1357();
- o.partialMatchingImages = buildUnnamed1358();
- o.visuallySimilarImages = buildUnnamed1359();
- o.webEntities = buildUnnamed1360();
+ o.fullMatchingImages = buildUnnamed1362();
+ o.pagesWithMatchingImages = buildUnnamed1363();
+ o.partialMatchingImages = buildUnnamed1364();
+ o.visuallySimilarImages = buildUnnamed1365();
+ o.webEntities = buildUnnamed1366();
}
buildCounterWebDetection--;
return o;
@@ -1259,11 +1259,11 @@
checkWebDetection(api.WebDetection o) {
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- checkUnnamed1356(o.fullMatchingImages);
- checkUnnamed1357(o.pagesWithMatchingImages);
- checkUnnamed1358(o.partialMatchingImages);
- checkUnnamed1359(o.visuallySimilarImages);
- checkUnnamed1360(o.webEntities);
+ checkUnnamed1362(o.fullMatchingImages);
+ checkUnnamed1363(o.pagesWithMatchingImages);
+ checkUnnamed1364(o.partialMatchingImages);
+ checkUnnamed1365(o.visuallySimilarImages);
+ checkUnnamed1366(o.webEntities);
}
buildCounterWebDetection--;
}
@@ -1333,14 +1333,14 @@
buildCounterWebPage--;
}
-buildUnnamed1361() {
+buildUnnamed1367() {
var o = new core.List<api.Symbol>();
o.add(buildSymbol());
o.add(buildSymbol());
return o;
}
-checkUnnamed1361(core.List<api.Symbol> o) {
+checkUnnamed1367(core.List<api.Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkSymbol(o[0]);
checkSymbol(o[1]);
@@ -1353,7 +1353,7 @@
if (buildCounterWord < 3) {
o.boundingBox = buildBoundingPoly();
o.property = buildTextProperty();
- o.symbols = buildUnnamed1361();
+ o.symbols = buildUnnamed1367();
}
buildCounterWord--;
return o;
@@ -1364,7 +1364,7 @@
if (buildCounterWord < 3) {
checkBoundingPoly(o.boundingBox);
checkTextProperty(o.property);
- checkUnnamed1361(o.symbols);
+ checkUnnamed1367(o.symbols);
}
buildCounterWord--;
}
diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart
index 2bb8f4f..1a080ec 100644
--- a/generated/googleapis/test/webfonts/v1_test.dart
+++ b/generated/googleapis/test/webfonts/v1_test.dart
@@ -50,40 +50,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1730() {
+buildUnnamed1737() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1730(core.Map<core.String, core.String> o) {
+checkUnnamed1737(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1731() {
+buildUnnamed1738() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1731(core.List<core.String> o) {
+checkUnnamed1738(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'));
}
-buildUnnamed1732() {
+buildUnnamed1739() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1732(core.List<core.String> o) {
+checkUnnamed1739(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'));
@@ -96,11 +96,11 @@
if (buildCounterWebfont < 3) {
o.category = "foo";
o.family = "foo";
- o.files = buildUnnamed1730();
+ o.files = buildUnnamed1737();
o.kind = "foo";
o.lastModified = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.subsets = buildUnnamed1731();
- o.variants = buildUnnamed1732();
+ o.subsets = buildUnnamed1738();
+ o.variants = buildUnnamed1739();
o.version = "foo";
}
buildCounterWebfont--;
@@ -112,25 +112,25 @@
if (buildCounterWebfont < 3) {
unittest.expect(o.category, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed1730(o.files);
+ checkUnnamed1737(o.files);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastModified,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed1731(o.subsets);
- checkUnnamed1732(o.variants);
+ checkUnnamed1738(o.subsets);
+ checkUnnamed1739(o.variants);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterWebfont--;
}
-buildUnnamed1733() {
+buildUnnamed1740() {
var o = new core.List<api.Webfont>();
o.add(buildWebfont());
o.add(buildWebfont());
return o;
}
-checkUnnamed1733(core.List<api.Webfont> o) {
+checkUnnamed1740(core.List<api.Webfont> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebfont(o[0]);
checkWebfont(o[1]);
@@ -141,7 +141,7 @@
var o = new api.WebfontList();
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- o.items = buildUnnamed1733();
+ o.items = buildUnnamed1740();
o.kind = "foo";
}
buildCounterWebfontList--;
@@ -151,7 +151,7 @@
checkWebfontList(api.WebfontList o) {
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- checkUnnamed1733(o.items);
+ checkUnnamed1740(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterWebfontList--;
diff --git a/generated/googleapis/test/webmasters/v3_test.dart b/generated/googleapis/test/webmasters/v3_test.dart
index 7eca28a..f9f832b 100644
--- a/generated/googleapis/test/webmasters/v3_test.dart
+++ b/generated/googleapis/test/webmasters/v3_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed699() {
+buildUnnamed705() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed699(core.List<core.String> o) {
+checkUnnamed705(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'));
@@ -71,7 +71,7 @@
o.clicks = 42.0;
o.ctr = 42.0;
o.impressions = 42.0;
- o.keys = buildUnnamed699();
+ o.keys = buildUnnamed705();
o.position = 42.0;
}
buildCounterApiDataRow--;
@@ -84,7 +84,7 @@
unittest.expect(o.clicks, unittest.equals(42.0));
unittest.expect(o.ctr, unittest.equals(42.0));
unittest.expect(o.impressions, unittest.equals(42.0));
- checkUnnamed699(o.keys);
+ checkUnnamed705(o.keys);
unittest.expect(o.position, unittest.equals(42.0));
}
buildCounterApiDataRow--;
@@ -113,14 +113,14 @@
buildCounterApiDimensionFilter--;
}
-buildUnnamed700() {
+buildUnnamed706() {
var o = new core.List<api.ApiDimensionFilter>();
o.add(buildApiDimensionFilter());
o.add(buildApiDimensionFilter());
return o;
}
-checkUnnamed700(core.List<api.ApiDimensionFilter> o) {
+checkUnnamed706(core.List<api.ApiDimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilter(o[0]);
checkApiDimensionFilter(o[1]);
@@ -131,7 +131,7 @@
var o = new api.ApiDimensionFilterGroup();
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- o.filters = buildUnnamed700();
+ o.filters = buildUnnamed706();
o.groupType = "foo";
}
buildCounterApiDimensionFilterGroup--;
@@ -141,33 +141,33 @@
checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) {
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- checkUnnamed700(o.filters);
+ checkUnnamed706(o.filters);
unittest.expect(o.groupType, unittest.equals('foo'));
}
buildCounterApiDimensionFilterGroup--;
}
-buildUnnamed701() {
+buildUnnamed707() {
var o = new core.List<api.ApiDimensionFilterGroup>();
o.add(buildApiDimensionFilterGroup());
o.add(buildApiDimensionFilterGroup());
return o;
}
-checkUnnamed701(core.List<api.ApiDimensionFilterGroup> o) {
+checkUnnamed707(core.List<api.ApiDimensionFilterGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilterGroup(o[0]);
checkApiDimensionFilterGroup(o[1]);
}
-buildUnnamed702() {
+buildUnnamed708() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed702(core.List<core.String> o) {
+checkUnnamed708(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'));
@@ -179,8 +179,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
o.aggregationType = "foo";
- o.dimensionFilterGroups = buildUnnamed701();
- o.dimensions = buildUnnamed702();
+ o.dimensionFilterGroups = buildUnnamed707();
+ o.dimensions = buildUnnamed708();
o.endDate = "foo";
o.rowLimit = 42;
o.searchType = "foo";
@@ -195,8 +195,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
unittest.expect(o.aggregationType, unittest.equals('foo'));
- checkUnnamed701(o.dimensionFilterGroups);
- checkUnnamed702(o.dimensions);
+ checkUnnamed707(o.dimensionFilterGroups);
+ checkUnnamed708(o.dimensions);
unittest.expect(o.endDate, unittest.equals('foo'));
unittest.expect(o.rowLimit, unittest.equals(42));
unittest.expect(o.searchType, unittest.equals('foo'));
@@ -206,14 +206,14 @@
buildCounterSearchAnalyticsQueryRequest--;
}
-buildUnnamed703() {
+buildUnnamed709() {
var o = new core.List<api.ApiDataRow>();
o.add(buildApiDataRow());
o.add(buildApiDataRow());
return o;
}
-checkUnnamed703(core.List<api.ApiDataRow> o) {
+checkUnnamed709(core.List<api.ApiDataRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDataRow(o[0]);
checkApiDataRow(o[1]);
@@ -225,7 +225,7 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
o.responseAggregationType = "foo";
- o.rows = buildUnnamed703();
+ o.rows = buildUnnamed709();
}
buildCounterSearchAnalyticsQueryResponse--;
return o;
@@ -235,19 +235,19 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
unittest.expect(o.responseAggregationType, unittest.equals('foo'));
- checkUnnamed703(o.rows);
+ checkUnnamed709(o.rows);
}
buildCounterSearchAnalyticsQueryResponse--;
}
-buildUnnamed704() {
+buildUnnamed710() {
var o = new core.List<api.WmxSitemap>();
o.add(buildWmxSitemap());
o.add(buildWmxSitemap());
return o;
}
-checkUnnamed704(core.List<api.WmxSitemap> o) {
+checkUnnamed710(core.List<api.WmxSitemap> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemap(o[0]);
checkWmxSitemap(o[1]);
@@ -258,7 +258,7 @@
var o = new api.SitemapsListResponse();
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- o.sitemap = buildUnnamed704();
+ o.sitemap = buildUnnamed710();
}
buildCounterSitemapsListResponse--;
return o;
@@ -267,19 +267,19 @@
checkSitemapsListResponse(api.SitemapsListResponse o) {
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- checkUnnamed704(o.sitemap);
+ checkUnnamed710(o.sitemap);
}
buildCounterSitemapsListResponse--;
}
-buildUnnamed705() {
+buildUnnamed711() {
var o = new core.List<api.WmxSite>();
o.add(buildWmxSite());
o.add(buildWmxSite());
return o;
}
-checkUnnamed705(core.List<api.WmxSite> o) {
+checkUnnamed711(core.List<api.WmxSite> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSite(o[0]);
checkWmxSite(o[1]);
@@ -290,7 +290,7 @@
var o = new api.SitesListResponse();
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- o.siteEntry = buildUnnamed705();
+ o.siteEntry = buildUnnamed711();
}
buildCounterSitesListResponse--;
return o;
@@ -299,7 +299,7 @@
checkSitesListResponse(api.SitesListResponse o) {
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- checkUnnamed705(o.siteEntry);
+ checkUnnamed711(o.siteEntry);
}
buildCounterSitesListResponse--;
}
@@ -326,14 +326,14 @@
buildCounterUrlCrawlErrorCount--;
}
-buildUnnamed706() {
+buildUnnamed712() {
var o = new core.List<api.UrlCrawlErrorCount>();
o.add(buildUrlCrawlErrorCount());
o.add(buildUrlCrawlErrorCount());
return o;
}
-checkUnnamed706(core.List<api.UrlCrawlErrorCount> o) {
+checkUnnamed712(core.List<api.UrlCrawlErrorCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorCount(o[0]);
checkUrlCrawlErrorCount(o[1]);
@@ -345,7 +345,7 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
o.category = "foo";
- o.entries = buildUnnamed706();
+ o.entries = buildUnnamed712();
o.platform = "foo";
}
buildCounterUrlCrawlErrorCountsPerType--;
@@ -356,20 +356,20 @@
buildCounterUrlCrawlErrorCountsPerType++;
if (buildCounterUrlCrawlErrorCountsPerType < 3) {
unittest.expect(o.category, unittest.equals('foo'));
- checkUnnamed706(o.entries);
+ checkUnnamed712(o.entries);
unittest.expect(o.platform, unittest.equals('foo'));
}
buildCounterUrlCrawlErrorCountsPerType--;
}
-buildUnnamed707() {
+buildUnnamed713() {
var o = new core.List<api.UrlCrawlErrorCountsPerType>();
o.add(buildUrlCrawlErrorCountsPerType());
o.add(buildUrlCrawlErrorCountsPerType());
return o;
}
-checkUnnamed707(core.List<api.UrlCrawlErrorCountsPerType> o) {
+checkUnnamed713(core.List<api.UrlCrawlErrorCountsPerType> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorCountsPerType(o[0]);
checkUrlCrawlErrorCountsPerType(o[1]);
@@ -380,7 +380,7 @@
var o = new api.UrlCrawlErrorsCountsQueryResponse();
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- o.countPerTypes = buildUnnamed707();
+ o.countPerTypes = buildUnnamed713();
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
return o;
@@ -390,7 +390,7 @@
api.UrlCrawlErrorsCountsQueryResponse o) {
buildCounterUrlCrawlErrorsCountsQueryResponse++;
if (buildCounterUrlCrawlErrorsCountsQueryResponse < 3) {
- checkUnnamed707(o.countPerTypes);
+ checkUnnamed713(o.countPerTypes);
}
buildCounterUrlCrawlErrorsCountsQueryResponse--;
}
@@ -424,14 +424,14 @@
buildCounterUrlCrawlErrorsSample--;
}
-buildUnnamed708() {
+buildUnnamed714() {
var o = new core.List<api.UrlCrawlErrorsSample>();
o.add(buildUrlCrawlErrorsSample());
o.add(buildUrlCrawlErrorsSample());
return o;
}
-checkUnnamed708(core.List<api.UrlCrawlErrorsSample> o) {
+checkUnnamed714(core.List<api.UrlCrawlErrorsSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlCrawlErrorsSample(o[0]);
checkUrlCrawlErrorsSample(o[1]);
@@ -442,7 +442,7 @@
var o = new api.UrlCrawlErrorsSamplesListResponse();
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- o.urlCrawlErrorSample = buildUnnamed708();
+ o.urlCrawlErrorSample = buildUnnamed714();
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
return o;
@@ -452,32 +452,32 @@
api.UrlCrawlErrorsSamplesListResponse o) {
buildCounterUrlCrawlErrorsSamplesListResponse++;
if (buildCounterUrlCrawlErrorsSamplesListResponse < 3) {
- checkUnnamed708(o.urlCrawlErrorSample);
+ checkUnnamed714(o.urlCrawlErrorSample);
}
buildCounterUrlCrawlErrorsSamplesListResponse--;
}
-buildUnnamed709() {
+buildUnnamed715() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed709(core.List<core.String> o) {
+checkUnnamed715(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'));
}
-buildUnnamed710() {
+buildUnnamed716() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed710(core.List<core.String> o) {
+checkUnnamed716(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'));
@@ -488,8 +488,8 @@
var o = new api.UrlSampleDetails();
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- o.containingSitemaps = buildUnnamed709();
- o.linkedFromUrls = buildUnnamed710();
+ o.containingSitemaps = buildUnnamed715();
+ o.linkedFromUrls = buildUnnamed716();
}
buildCounterUrlSampleDetails--;
return o;
@@ -498,8 +498,8 @@
checkUrlSampleDetails(api.UrlSampleDetails o) {
buildCounterUrlSampleDetails++;
if (buildCounterUrlSampleDetails < 3) {
- checkUnnamed709(o.containingSitemaps);
- checkUnnamed710(o.linkedFromUrls);
+ checkUnnamed715(o.containingSitemaps);
+ checkUnnamed716(o.linkedFromUrls);
}
buildCounterUrlSampleDetails--;
}
@@ -525,14 +525,14 @@
buildCounterWmxSite--;
}
-buildUnnamed711() {
+buildUnnamed717() {
var o = new core.List<api.WmxSitemapContent>();
o.add(buildWmxSitemapContent());
o.add(buildWmxSitemapContent());
return o;
}
-checkUnnamed711(core.List<api.WmxSitemapContent> o) {
+checkUnnamed717(core.List<api.WmxSitemapContent> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemapContent(o[0]);
checkWmxSitemapContent(o[1]);
@@ -543,7 +543,7 @@
var o = new api.WmxSitemap();
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- o.contents = buildUnnamed711();
+ o.contents = buildUnnamed717();
o.errors = "foo";
o.isPending = true;
o.isSitemapsIndex = true;
@@ -560,7 +560,7 @@
checkWmxSitemap(api.WmxSitemap o) {
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- checkUnnamed711(o.contents);
+ checkUnnamed717(o.contents);
unittest.expect(o.errors, unittest.equals('foo'));
unittest.expect(o.isPending, unittest.isTrue);
unittest.expect(o.isSitemapsIndex, unittest.isTrue);
diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart
index bbdba53..dd0a8b1 100644
--- a/generated/googleapis/test/youtube/v3_test.dart
+++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed584() {
+buildUnnamed588() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed584(core.List<core.String> o) {
+checkUnnamed588(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'));
@@ -69,7 +69,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
o.allowed = true;
- o.exception = buildUnnamed584();
+ o.exception = buildUnnamed588();
}
buildCounterAccessPolicy--;
return o;
@@ -79,7 +79,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed584(o.exception);
+ checkUnnamed588(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -270,27 +270,27 @@
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed585() {
+buildUnnamed589() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed585(core.List<core.String> o) {
+checkUnnamed589(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'));
}
-buildUnnamed586() {
+buildUnnamed590() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed586(core.List<core.String> o) {
+checkUnnamed590(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'));
@@ -308,8 +308,8 @@
o.customCtaButtonText = "foo";
o.descriptionText = "foo";
o.destinationUrl = "foo";
- o.forecastingUrl = buildUnnamed585();
- o.impressionUrl = buildUnnamed586();
+ o.forecastingUrl = buildUnnamed589();
+ o.impressionUrl = buildUnnamed590();
o.videoId = "foo";
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -327,8 +327,8 @@
unittest.expect(o.customCtaButtonText, unittest.equals('foo'));
unittest.expect(o.descriptionText, unittest.equals('foo'));
unittest.expect(o.destinationUrl, unittest.equals('foo'));
- checkUnnamed585(o.forecastingUrl);
- checkUnnamed586(o.impressionUrl);
+ checkUnnamed589(o.forecastingUrl);
+ checkUnnamed590(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -424,14 +424,14 @@
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed587() {
+buildUnnamed591() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed587(core.List<api.Activity> o) {
+checkUnnamed591(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -444,7 +444,7 @@
if (buildCounterActivityListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed587();
+ o.items = buildUnnamed591();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -461,7 +461,7 @@
if (buildCounterActivityListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed587(o.items);
+ checkUnnamed591(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -531,14 +531,14 @@
buildCounterCaption--;
}
-buildUnnamed588() {
+buildUnnamed592() {
var o = new core.List<api.Caption>();
o.add(buildCaption());
o.add(buildCaption());
return o;
}
-checkUnnamed588(core.List<api.Caption> o) {
+checkUnnamed592(core.List<api.Caption> o) {
unittest.expect(o, unittest.hasLength(2));
checkCaption(o[0]);
checkCaption(o[1]);
@@ -551,7 +551,7 @@
if (buildCounterCaptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed588();
+ o.items = buildUnnamed592();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -564,7 +564,7 @@
if (buildCounterCaptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed588(o.items);
+ checkUnnamed592(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -642,14 +642,14 @@
buildCounterCdnSettings--;
}
-buildUnnamed589() {
+buildUnnamed593() {
var o = new core.Map<core.String, api.ChannelLocalization>();
o["x"] = buildChannelLocalization();
o["y"] = buildChannelLocalization();
return o;
}
-checkUnnamed589(core.Map<core.String, api.ChannelLocalization> o) {
+checkUnnamed593(core.Map<core.String, api.ChannelLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelLocalization(o["x"]);
checkChannelLocalization(o["y"]);
@@ -669,7 +669,7 @@
o.id = "foo";
o.invideoPromotion = buildInvideoPromotion();
o.kind = "foo";
- o.localizations = buildUnnamed589();
+ o.localizations = buildUnnamed593();
o.snippet = buildChannelSnippet();
o.statistics = buildChannelStatistics();
o.status = buildChannelStatus();
@@ -691,7 +691,7 @@
unittest.expect(o.id, unittest.equals('foo'));
checkInvideoPromotion(o.invideoPromotion);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed589(o.localizations);
+ checkUnnamed593(o.localizations);
checkChannelSnippet(o.snippet);
checkChannelStatistics(o.statistics);
checkChannelStatus(o.status);
@@ -748,14 +748,14 @@
buildCounterChannelBannerResource--;
}
-buildUnnamed590() {
+buildUnnamed594() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed590(core.List<api.PropertyValue> o) {
+checkUnnamed594(core.List<api.PropertyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyValue(o[0]);
checkPropertyValue(o[1]);
@@ -767,7 +767,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
o.channel = buildChannelSettings();
- o.hints = buildUnnamed590();
+ o.hints = buildUnnamed594();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -779,7 +779,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed590(o.hints);
+ checkUnnamed594(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -876,14 +876,14 @@
buildCounterChannelConversionPing--;
}
-buildUnnamed591() {
+buildUnnamed595() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed591(core.List<api.ChannelConversionPing> o) {
+checkUnnamed595(core.List<api.ChannelConversionPing> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelConversionPing(o[0]);
checkChannelConversionPing(o[1]);
@@ -894,7 +894,7 @@
var o = new api.ChannelConversionPings();
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- o.pings = buildUnnamed591();
+ o.pings = buildUnnamed595();
}
buildCounterChannelConversionPings--;
return o;
@@ -903,19 +903,19 @@
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed591(o.pings);
+ checkUnnamed595(o.pings);
}
buildCounterChannelConversionPings--;
}
-buildUnnamed592() {
+buildUnnamed596() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed592(core.List<api.Channel> o) {
+checkUnnamed596(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -928,7 +928,7 @@
if (buildCounterChannelListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed592();
+ o.items = buildUnnamed596();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -945,7 +945,7 @@
if (buildCounterChannelListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed592(o.items);
+ checkUnnamed596(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1002,14 +1002,14 @@
buildCounterChannelProfileDetails--;
}
-buildUnnamed593() {
+buildUnnamed597() {
var o = new core.Map<core.String, api.ChannelSectionLocalization>();
o["x"] = buildChannelSectionLocalization();
o["y"] = buildChannelSectionLocalization();
return o;
}
-checkUnnamed593(core.Map<core.String, api.ChannelSectionLocalization> o) {
+checkUnnamed597(core.Map<core.String, api.ChannelSectionLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSectionLocalization(o["x"]);
checkChannelSectionLocalization(o["y"]);
@@ -1024,7 +1024,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed593();
+ o.localizations = buildUnnamed597();
o.snippet = buildChannelSectionSnippet();
o.targeting = buildChannelSectionTargeting();
}
@@ -1039,34 +1039,34 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed593(o.localizations);
+ checkUnnamed597(o.localizations);
checkChannelSectionSnippet(o.snippet);
checkChannelSectionTargeting(o.targeting);
}
buildCounterChannelSection--;
}
-buildUnnamed594() {
+buildUnnamed598() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed594(core.List<core.String> o) {
+checkUnnamed598(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'));
}
-buildUnnamed595() {
+buildUnnamed599() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed595(core.List<core.String> o) {
+checkUnnamed599(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'));
@@ -1077,8 +1077,8 @@
var o = new api.ChannelSectionContentDetails();
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- o.channels = buildUnnamed594();
- o.playlists = buildUnnamed595();
+ o.channels = buildUnnamed598();
+ o.playlists = buildUnnamed599();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -1087,20 +1087,20 @@
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed594(o.channels);
- checkUnnamed595(o.playlists);
+ checkUnnamed598(o.channels);
+ checkUnnamed599(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed596() {
+buildUnnamed600() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed596(core.List<api.ChannelSection> o) {
+checkUnnamed600(core.List<api.ChannelSection> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSection(o[0]);
checkChannelSection(o[1]);
@@ -1113,7 +1113,7 @@
if (buildCounterChannelSectionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed596();
+ o.items = buildUnnamed600();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1126,7 +1126,7 @@
if (buildCounterChannelSectionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed596(o.items);
+ checkUnnamed600(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1183,40 +1183,40 @@
buildCounterChannelSectionSnippet--;
}
-buildUnnamed597() {
+buildUnnamed601() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed597(core.List<core.String> o) {
+checkUnnamed601(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'));
}
-buildUnnamed598() {
+buildUnnamed602() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed598(core.List<core.String> o) {
+checkUnnamed602(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'));
}
-buildUnnamed599() {
+buildUnnamed603() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed599(core.List<core.String> o) {
+checkUnnamed603(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'));
@@ -1227,9 +1227,9 @@
var o = new api.ChannelSectionTargeting();
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- o.countries = buildUnnamed597();
- o.languages = buildUnnamed598();
- o.regions = buildUnnamed599();
+ o.countries = buildUnnamed601();
+ o.languages = buildUnnamed602();
+ o.regions = buildUnnamed603();
}
buildCounterChannelSectionTargeting--;
return o;
@@ -1238,21 +1238,21 @@
checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- checkUnnamed597(o.countries);
- checkUnnamed598(o.languages);
- checkUnnamed599(o.regions);
+ checkUnnamed601(o.countries);
+ checkUnnamed602(o.languages);
+ checkUnnamed603(o.regions);
}
buildCounterChannelSectionTargeting--;
}
-buildUnnamed600() {
+buildUnnamed604() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed600(core.List<core.String> o) {
+checkUnnamed604(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'));
@@ -1268,7 +1268,7 @@
o.defaultTab = "foo";
o.description = "foo";
o.featuredChannelsTitle = "foo";
- o.featuredChannelsUrls = buildUnnamed600();
+ o.featuredChannelsUrls = buildUnnamed604();
o.keywords = "foo";
o.moderateComments = true;
o.profileColor = "foo";
@@ -1290,7 +1290,7 @@
unittest.expect(o.defaultTab, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.featuredChannelsTitle, unittest.equals('foo'));
- checkUnnamed600(o.featuredChannelsUrls);
+ checkUnnamed604(o.featuredChannelsUrls);
unittest.expect(o.keywords, unittest.equals('foo'));
unittest.expect(o.moderateComments, unittest.isTrue);
unittest.expect(o.profileColor, unittest.equals('foo'));
@@ -1387,27 +1387,27 @@
buildCounterChannelStatus--;
}
-buildUnnamed601() {
+buildUnnamed605() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed601(core.List<core.String> o) {
+checkUnnamed605(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'));
}
-buildUnnamed602() {
+buildUnnamed606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed602(core.List<core.String> o) {
+checkUnnamed606(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'));
@@ -1418,8 +1418,8 @@
var o = new api.ChannelTopicDetails();
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- o.topicCategories = buildUnnamed601();
- o.topicIds = buildUnnamed602();
+ o.topicCategories = buildUnnamed605();
+ o.topicIds = buildUnnamed606();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1428,8 +1428,8 @@
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed601(o.topicCategories);
- checkUnnamed602(o.topicIds);
+ checkUnnamed605(o.topicCategories);
+ checkUnnamed606(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1459,14 +1459,14 @@
buildCounterComment--;
}
-buildUnnamed603() {
+buildUnnamed607() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed603(core.List<api.Comment> o) {
+checkUnnamed607(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1479,7 +1479,7 @@
if (buildCounterCommentListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed603();
+ o.items = buildUnnamed607();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1495,7 +1495,7 @@
if (buildCounterCommentListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed603(o.items);
+ checkUnnamed607(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1589,14 +1589,14 @@
buildCounterCommentThread--;
}
-buildUnnamed604() {
+buildUnnamed608() {
var o = new core.List<api.CommentThread>();
o.add(buildCommentThread());
o.add(buildCommentThread());
return o;
}
-checkUnnamed604(core.List<api.CommentThread> o) {
+checkUnnamed608(core.List<api.CommentThread> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentThread(o[0]);
checkCommentThread(o[1]);
@@ -1609,7 +1609,7 @@
if (buildCounterCommentThreadListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed604();
+ o.items = buildUnnamed608();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1625,7 +1625,7 @@
if (buildCounterCommentThreadListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed604(o.items);
+ checkUnnamed608(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1635,14 +1635,14 @@
buildCounterCommentThreadListResponse--;
}
-buildUnnamed605() {
+buildUnnamed609() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed605(core.List<api.Comment> o) {
+checkUnnamed609(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1653,7 +1653,7 @@
var o = new api.CommentThreadReplies();
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- o.comments = buildUnnamed605();
+ o.comments = buildUnnamed609();
}
buildCounterCommentThreadReplies--;
return o;
@@ -1662,7 +1662,7 @@
checkCommentThreadReplies(api.CommentThreadReplies o) {
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- checkUnnamed605(o.comments);
+ checkUnnamed609(o.comments);
}
buildCounterCommentThreadReplies--;
}
@@ -1696,27 +1696,27 @@
buildCounterCommentThreadSnippet--;
}
-buildUnnamed606() {
+buildUnnamed610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed606(core.List<core.String> o) {
+checkUnnamed610(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'));
}
-buildUnnamed607() {
+buildUnnamed611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed607(core.List<core.String> o) {
+checkUnnamed611(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'));
@@ -1747,7 +1747,7 @@
o.cscfRating = "foo";
o.czfilmRating = "foo";
o.djctqRating = "foo";
- o.djctqRatingReasons = buildUnnamed606();
+ o.djctqRatingReasons = buildUnnamed610();
o.ecbmctRating = "foo";
o.eefilmRating = "foo";
o.egfilmRating = "foo";
@@ -1756,7 +1756,7 @@
o.fcoRating = "foo";
o.fmocRating = "foo";
o.fpbRating = "foo";
- o.fpbRatingReasons = buildUnnamed607();
+ o.fpbRatingReasons = buildUnnamed611();
o.fskRating = "foo";
o.grfilmRating = "foo";
o.icaaRating = "foo";
@@ -1825,7 +1825,7 @@
unittest.expect(o.cscfRating, unittest.equals('foo'));
unittest.expect(o.czfilmRating, unittest.equals('foo'));
unittest.expect(o.djctqRating, unittest.equals('foo'));
- checkUnnamed606(o.djctqRatingReasons);
+ checkUnnamed610(o.djctqRatingReasons);
unittest.expect(o.ecbmctRating, unittest.equals('foo'));
unittest.expect(o.eefilmRating, unittest.equals('foo'));
unittest.expect(o.egfilmRating, unittest.equals('foo'));
@@ -1834,7 +1834,7 @@
unittest.expect(o.fcoRating, unittest.equals('foo'));
unittest.expect(o.fmocRating, unittest.equals('foo'));
unittest.expect(o.fpbRating, unittest.equals('foo'));
- checkUnnamed607(o.fpbRatingReasons);
+ checkUnnamed611(o.fpbRatingReasons);
unittest.expect(o.fskRating, unittest.equals('foo'));
unittest.expect(o.grfilmRating, unittest.equals('foo'));
unittest.expect(o.icaaRating, unittest.equals('foo'));
@@ -1904,14 +1904,14 @@
buildCounterFanFundingEvent--;
}
-buildUnnamed608() {
+buildUnnamed612() {
var o = new core.List<api.FanFundingEvent>();
o.add(buildFanFundingEvent());
o.add(buildFanFundingEvent());
return o;
}
-checkUnnamed608(core.List<api.FanFundingEvent> o) {
+checkUnnamed612(core.List<api.FanFundingEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkFanFundingEvent(o[0]);
checkFanFundingEvent(o[1]);
@@ -1924,7 +1924,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed608();
+ o.items = buildUnnamed612();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1940,7 +1940,7 @@
if (buildCounterFanFundingEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed608(o.items);
+ checkUnnamed612(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2030,14 +2030,14 @@
buildCounterGuideCategory--;
}
-buildUnnamed609() {
+buildUnnamed613() {
var o = new core.List<api.GuideCategory>();
o.add(buildGuideCategory());
o.add(buildGuideCategory());
return o;
}
-checkUnnamed609(core.List<api.GuideCategory> o) {
+checkUnnamed613(core.List<api.GuideCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuideCategory(o[0]);
checkGuideCategory(o[1]);
@@ -2050,7 +2050,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed609();
+ o.items = buildUnnamed613();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2067,7 +2067,7 @@
if (buildCounterGuideCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed609(o.items);
+ checkUnnamed613(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2124,14 +2124,14 @@
buildCounterI18nLanguage--;
}
-buildUnnamed610() {
+buildUnnamed614() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed610(core.List<api.I18nLanguage> o) {
+checkUnnamed614(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -2144,7 +2144,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed610();
+ o.items = buildUnnamed614();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2157,7 +2157,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed610(o.items);
+ checkUnnamed614(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2210,14 +2210,14 @@
buildCounterI18nRegion--;
}
-buildUnnamed611() {
+buildUnnamed615() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed611(core.List<api.I18nRegion> o) {
+checkUnnamed615(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -2230,7 +2230,7 @@
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed611();
+ o.items = buildUnnamed615();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2243,7 +2243,7 @@
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed611(o.items);
+ checkUnnamed615(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2403,14 +2403,14 @@
buildCounterInvideoPosition--;
}
-buildUnnamed612() {
+buildUnnamed616() {
var o = new core.List<api.PromotedItem>();
o.add(buildPromotedItem());
o.add(buildPromotedItem());
return o;
}
-checkUnnamed612(core.List<api.PromotedItem> o) {
+checkUnnamed616(core.List<api.PromotedItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotedItem(o[0]);
checkPromotedItem(o[1]);
@@ -2422,7 +2422,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
o.defaultTiming = buildInvideoTiming();
- o.items = buildUnnamed612();
+ o.items = buildUnnamed616();
o.position = buildInvideoPosition();
o.useSmartTiming = true;
}
@@ -2434,7 +2434,7 @@
buildCounterInvideoPromotion++;
if (buildCounterInvideoPromotion < 3) {
checkInvideoTiming(o.defaultTiming);
- checkUnnamed612(o.items);
+ checkUnnamed616(o.items);
checkInvideoPosition(o.position);
unittest.expect(o.useSmartTiming, unittest.isTrue);
}
@@ -2560,14 +2560,14 @@
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed613() {
+buildUnnamed617() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed613(core.List<api.LiveBroadcast> o) {
+checkUnnamed617(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -2580,7 +2580,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed613();
+ o.items = buildUnnamed617();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2597,7 +2597,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed613(o.items);
+ checkUnnamed617(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2852,14 +2852,14 @@
buildCounterLiveChatMessageDeletedDetails--;
}
-buildUnnamed614() {
+buildUnnamed618() {
var o = new core.List<api.LiveChatMessage>();
o.add(buildLiveChatMessage());
o.add(buildLiveChatMessage());
return o;
}
-checkUnnamed614(core.List<api.LiveChatMessage> o) {
+checkUnnamed618(core.List<api.LiveChatMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatMessage(o[0]);
checkLiveChatMessage(o[1]);
@@ -2872,7 +2872,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed614();
+ o.items = buildUnnamed618();
o.kind = "foo";
o.nextPageToken = "foo";
o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2890,7 +2890,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed614(o.items);
+ checkUnnamed618(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.offlineAt,
@@ -2997,14 +2997,14 @@
buildCounterLiveChatModerator--;
}
-buildUnnamed615() {
+buildUnnamed619() {
var o = new core.List<api.LiveChatModerator>();
o.add(buildLiveChatModerator());
o.add(buildLiveChatModerator());
return o;
}
-checkUnnamed615(core.List<api.LiveChatModerator> o) {
+checkUnnamed619(core.List<api.LiveChatModerator> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatModerator(o[0]);
checkLiveChatModerator(o[1]);
@@ -3017,7 +3017,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed615();
+ o.items = buildUnnamed619();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3034,7 +3034,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed615(o.items);
+ checkUnnamed619(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3085,14 +3085,14 @@
buildCounterLiveChatPollClosedDetails--;
}
-buildUnnamed616() {
+buildUnnamed620() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed616(core.List<api.LiveChatPollItem> o) {
+checkUnnamed620(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3104,7 +3104,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed616();
+ o.items = buildUnnamed620();
o.prompt = "foo";
}
buildCounterLiveChatPollEditedDetails--;
@@ -3115,7 +3115,7 @@
buildCounterLiveChatPollEditedDetails++;
if (buildCounterLiveChatPollEditedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed616(o.items);
+ checkUnnamed620(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollEditedDetails--;
@@ -3142,14 +3142,14 @@
buildCounterLiveChatPollItem--;
}
-buildUnnamed617() {
+buildUnnamed621() {
var o = new core.List<api.LiveChatPollItem>();
o.add(buildLiveChatPollItem());
o.add(buildLiveChatPollItem());
return o;
}
-checkUnnamed617(core.List<api.LiveChatPollItem> o) {
+checkUnnamed621(core.List<api.LiveChatPollItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatPollItem(o[0]);
checkLiveChatPollItem(o[1]);
@@ -3161,7 +3161,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
o.id = "foo";
- o.items = buildUnnamed617();
+ o.items = buildUnnamed621();
o.prompt = "foo";
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3172,7 +3172,7 @@
buildCounterLiveChatPollOpenedDetails++;
if (buildCounterLiveChatPollOpenedDetails < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed617(o.items);
+ checkUnnamed621(o.items);
unittest.expect(o.prompt, unittest.equals('foo'));
}
buildCounterLiveChatPollOpenedDetails--;
@@ -3345,14 +3345,14 @@
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed618() {
+buildUnnamed622() {
var o = new core.List<api.LiveStreamConfigurationIssue>();
o.add(buildLiveStreamConfigurationIssue());
o.add(buildLiveStreamConfigurationIssue());
return o;
}
-checkUnnamed618(core.List<api.LiveStreamConfigurationIssue> o) {
+checkUnnamed622(core.List<api.LiveStreamConfigurationIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStreamConfigurationIssue(o[0]);
checkLiveStreamConfigurationIssue(o[1]);
@@ -3363,7 +3363,7 @@
var o = new api.LiveStreamHealthStatus();
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- o.configurationIssues = buildUnnamed618();
+ o.configurationIssues = buildUnnamed622();
o.lastUpdateTimeSeconds = "foo";
o.status = "foo";
}
@@ -3374,21 +3374,21 @@
checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- checkUnnamed618(o.configurationIssues);
+ checkUnnamed622(o.configurationIssues);
unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterLiveStreamHealthStatus--;
}
-buildUnnamed619() {
+buildUnnamed623() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed619(core.List<api.LiveStream> o) {
+checkUnnamed623(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -3401,7 +3401,7 @@
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed619();
+ o.items = buildUnnamed623();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3418,7 +3418,7 @@
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed619(o.items);
+ checkUnnamed623(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3478,14 +3478,14 @@
buildCounterLiveStreamStatus--;
}
-buildUnnamed620() {
+buildUnnamed624() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed620(core.List<api.LocalizedString> o) {
+checkUnnamed624(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -3498,7 +3498,7 @@
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
o.defaultLanguage = buildLanguageTag();
- o.localized = buildUnnamed620();
+ o.localized = buildUnnamed624();
}
buildCounterLocalizedProperty--;
return o;
@@ -3509,7 +3509,7 @@
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
checkLanguageTag(o.defaultLanguage);
- checkUnnamed620(o.localized);
+ checkUnnamed624(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -3579,14 +3579,14 @@
buildCounterPageInfo--;
}
-buildUnnamed621() {
+buildUnnamed625() {
var o = new core.Map<core.String, api.PlaylistLocalization>();
o["x"] = buildPlaylistLocalization();
o["y"] = buildPlaylistLocalization();
return o;
}
-checkUnnamed621(core.Map<core.String, api.PlaylistLocalization> o) {
+checkUnnamed625(core.Map<core.String, api.PlaylistLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistLocalization(o["x"]);
checkPlaylistLocalization(o["y"]);
@@ -3601,7 +3601,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed621();
+ o.localizations = buildUnnamed625();
o.player = buildPlaylistPlayer();
o.snippet = buildPlaylistSnippet();
o.status = buildPlaylistStatus();
@@ -3617,7 +3617,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed621(o.localizations);
+ checkUnnamed625(o.localizations);
checkPlaylistPlayer(o.player);
checkPlaylistSnippet(o.snippet);
checkPlaylistStatus(o.status);
@@ -3701,14 +3701,14 @@
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed622() {
+buildUnnamed626() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed622(core.List<api.PlaylistItem> o) {
+checkUnnamed626(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -3721,7 +3721,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed622();
+ o.items = buildUnnamed626();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3738,7 +3738,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed622(o.items);
+ checkUnnamed626(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3804,14 +3804,14 @@
buildCounterPlaylistItemStatus--;
}
-buildUnnamed623() {
+buildUnnamed627() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed623(core.List<api.Playlist> o) {
+checkUnnamed627(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -3824,7 +3824,7 @@
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed623();
+ o.items = buildUnnamed627();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3841,7 +3841,7 @@
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed623(o.items);
+ checkUnnamed627(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3892,14 +3892,14 @@
buildCounterPlaylistPlayer--;
}
-buildUnnamed624() {
+buildUnnamed628() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed624(core.List<core.String> o) {
+checkUnnamed628(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'));
@@ -3916,7 +3916,7 @@
o.description = "foo";
o.localized = buildPlaylistLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed624();
+ o.tags = buildUnnamed628();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -3934,7 +3934,7 @@
checkPlaylistLocalization(o.localized);
unittest.expect(o.publishedAt,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed624(o.tags);
+ checkUnnamed628(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -4056,14 +4056,14 @@
buildCounterResourceId--;
}
-buildUnnamed625() {
+buildUnnamed629() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed625(core.List<api.SearchResult> o) {
+checkUnnamed629(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -4076,7 +4076,7 @@
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed625();
+ o.items = buildUnnamed629();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4094,7 +4094,7 @@
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed625(o.items);
+ checkUnnamed629(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4188,14 +4188,14 @@
buildCounterSponsor--;
}
-buildUnnamed626() {
+buildUnnamed630() {
var o = new core.List<api.Sponsor>();
o.add(buildSponsor());
o.add(buildSponsor());
return o;
}
-checkUnnamed626(core.List<api.Sponsor> o) {
+checkUnnamed630(core.List<api.Sponsor> o) {
unittest.expect(o, unittest.hasLength(2));
checkSponsor(o[0]);
checkSponsor(o[1]);
@@ -4208,7 +4208,7 @@
if (buildCounterSponsorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed626();
+ o.items = buildUnnamed630();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4224,7 +4224,7 @@
if (buildCounterSponsorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed626(o.items);
+ checkUnnamed630(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4310,14 +4310,14 @@
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed627() {
+buildUnnamed631() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed627(core.List<api.Subscription> o) {
+checkUnnamed631(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -4330,7 +4330,7 @@
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed627();
+ o.items = buildUnnamed631();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4347,7 +4347,7 @@
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed627(o.items);
+ checkUnnamed631(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4440,14 +4440,14 @@
buildCounterSuperChatEvent--;
}
-buildUnnamed628() {
+buildUnnamed632() {
var o = new core.List<api.SuperChatEvent>();
o.add(buildSuperChatEvent());
o.add(buildSuperChatEvent());
return o;
}
-checkUnnamed628(core.List<api.SuperChatEvent> o) {
+checkUnnamed632(core.List<api.SuperChatEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuperChatEvent(o[0]);
checkSuperChatEvent(o[1]);
@@ -4460,7 +4460,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed628();
+ o.items = buildUnnamed632();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4476,7 +4476,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed628(o.items);
+ checkUnnamed632(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4570,14 +4570,14 @@
buildCounterThumbnailDetails--;
}
-buildUnnamed629() {
+buildUnnamed633() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed629(core.List<api.ThumbnailDetails> o) {
+checkUnnamed633(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -4590,7 +4590,7 @@
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed629();
+ o.items = buildUnnamed633();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4603,7 +4603,7 @@
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed629(o.items);
+ checkUnnamed633(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -4625,14 +4625,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed630() {
+buildUnnamed634() {
var o = new core.Map<core.String, api.VideoLocalization>();
o["x"] = buildVideoLocalization();
o["y"] = buildVideoLocalization();
return o;
}
-checkUnnamed630(core.Map<core.String, api.VideoLocalization> o) {
+checkUnnamed634(core.Map<core.String, api.VideoLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoLocalization(o["x"]);
checkVideoLocalization(o["y"]);
@@ -4650,7 +4650,7 @@
o.id = "foo";
o.kind = "foo";
o.liveStreamingDetails = buildVideoLiveStreamingDetails();
- o.localizations = buildUnnamed630();
+ o.localizations = buildUnnamed634();
o.monetizationDetails = buildVideoMonetizationDetails();
o.player = buildVideoPlayer();
o.processingDetails = buildVideoProcessingDetails();
@@ -4676,7 +4676,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkVideoLiveStreamingDetails(o.liveStreamingDetails);
- checkUnnamed630(o.localizations);
+ checkUnnamed634(o.localizations);
checkVideoMonetizationDetails(o.monetizationDetails);
checkVideoPlayer(o.player);
checkVideoProcessingDetails(o.processingDetails);
@@ -4743,14 +4743,14 @@
buildCounterVideoAbuseReportReason--;
}
-buildUnnamed631() {
+buildUnnamed635() {
var o = new core.List<api.VideoAbuseReportReason>();
o.add(buildVideoAbuseReportReason());
o.add(buildVideoAbuseReportReason());
return o;
}
-checkUnnamed631(core.List<api.VideoAbuseReportReason> o) {
+checkUnnamed635(core.List<api.VideoAbuseReportReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportReason(o[0]);
checkVideoAbuseReportReason(o[1]);
@@ -4763,7 +4763,7 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed631();
+ o.items = buildUnnamed635();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4777,21 +4777,21 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed631(o.items);
+ checkUnnamed635(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoAbuseReportReasonListResponse--;
}
-buildUnnamed632() {
+buildUnnamed636() {
var o = new core.List<api.VideoAbuseReportSecondaryReason>();
o.add(buildVideoAbuseReportSecondaryReason());
o.add(buildVideoAbuseReportSecondaryReason());
return o;
}
-checkUnnamed632(core.List<api.VideoAbuseReportSecondaryReason> o) {
+checkUnnamed636(core.List<api.VideoAbuseReportSecondaryReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportSecondaryReason(o[0]);
checkVideoAbuseReportSecondaryReason(o[1]);
@@ -4803,7 +4803,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
o.label = "foo";
- o.secondaryReasons = buildUnnamed632();
+ o.secondaryReasons = buildUnnamed636();
}
buildCounterVideoAbuseReportReasonSnippet--;
return o;
@@ -4813,7 +4813,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
unittest.expect(o.label, unittest.equals('foo'));
- checkUnnamed632(o.secondaryReasons);
+ checkUnnamed636(o.secondaryReasons);
}
buildCounterVideoAbuseReportReasonSnippet--;
}
@@ -4887,14 +4887,14 @@
buildCounterVideoCategory--;
}
-buildUnnamed633() {
+buildUnnamed637() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed633(core.List<api.VideoCategory> o) {
+checkUnnamed637(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -4907,7 +4907,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed633();
+ o.items = buildUnnamed637();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4924,7 +4924,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed633(o.items);
+ checkUnnamed637(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4995,27 +4995,27 @@
buildCounterVideoContentDetails--;
}
-buildUnnamed634() {
+buildUnnamed638() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed634(core.List<core.String> o) {
+checkUnnamed638(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'));
}
-buildUnnamed635() {
+buildUnnamed639() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed635(core.List<core.String> o) {
+checkUnnamed639(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'));
@@ -5026,8 +5026,8 @@
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed634();
- o.blocked = buildUnnamed635();
+ o.allowed = buildUnnamed638();
+ o.blocked = buildUnnamed639();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -5037,33 +5037,33 @@
api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed634(o.allowed);
- checkUnnamed635(o.blocked);
+ checkUnnamed638(o.allowed);
+ checkUnnamed639(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
-buildUnnamed636() {
+buildUnnamed640() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed636(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed640(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed637() {
+buildUnnamed641() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed637(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed641(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -5074,7 +5074,7 @@
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed636();
+ o.audioStreams = buildUnnamed640();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -5082,7 +5082,7 @@
o.fileName = "foo";
o.fileSize = "foo";
o.fileType = "foo";
- o.videoStreams = buildUnnamed637();
+ o.videoStreams = buildUnnamed641();
}
buildCounterVideoFileDetails--;
return o;
@@ -5091,7 +5091,7 @@
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed636(o.audioStreams);
+ checkUnnamed640(o.audioStreams);
unittest.expect(o.bitrateBps, unittest.equals('foo'));
unittest.expect(o.container, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
@@ -5099,7 +5099,7 @@
unittest.expect(o.fileName, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
- checkUnnamed637(o.videoStreams);
+ checkUnnamed641(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -5162,14 +5162,14 @@
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed638() {
+buildUnnamed642() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed638(core.List<api.VideoRating> o) {
+checkUnnamed642(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -5182,7 +5182,7 @@
if (buildCounterVideoGetRatingResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed638();
+ o.items = buildUnnamed642();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -5195,21 +5195,21 @@
if (buildCounterVideoGetRatingResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed638(o.items);
+ checkUnnamed642(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoGetRatingResponse--;
}
-buildUnnamed639() {
+buildUnnamed643() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed639(core.List<api.Video> o) {
+checkUnnamed643(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -5222,7 +5222,7 @@
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed639();
+ o.items = buildUnnamed643();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -5239,7 +5239,7 @@
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed639(o.items);
+ checkUnnamed643(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5403,14 +5403,14 @@
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed640() {
+buildUnnamed644() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed640(core.List<core.String> o) {
+checkUnnamed644(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'));
@@ -5421,7 +5421,7 @@
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed640();
+ o.tags = buildUnnamed644();
}
buildCounterVideoProjectDetails--;
return o;
@@ -5430,7 +5430,7 @@
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed640(o.tags);
+ checkUnnamed644(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -5480,14 +5480,14 @@
buildCounterVideoRecordingDetails--;
}
-buildUnnamed641() {
+buildUnnamed645() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed641(core.List<core.String> o) {
+checkUnnamed645(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'));
@@ -5507,7 +5507,7 @@
o.liveBroadcastContent = "foo";
o.localized = buildVideoLocalization();
o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02");
- o.tags = buildUnnamed641();
+ o.tags = buildUnnamed645();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -5528,7 +5528,7 @@
checkVideoLocalization(o.localized);
unittest.expect(o.publishedAt,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed641(o.tags);
+ checkUnnamed645(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -5596,96 +5596,17 @@
buildCounterVideoStatus--;
}
-buildUnnamed642() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed642(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'));
-}
-
-buildUnnamed643() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed643(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'));
-}
-
-buildUnnamed644() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed644(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'));
-}
-
-buildUnnamed645() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed645(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'));
-}
-
buildUnnamed646() {
- var o = new core.List<api.VideoSuggestionsTagSuggestion>();
- o.add(buildVideoSuggestionsTagSuggestion());
- o.add(buildVideoSuggestionsTagSuggestion());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed646(core.List<api.VideoSuggestionsTagSuggestion> o) {
+checkUnnamed646(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkVideoSuggestionsTagSuggestion(o[0]);
- checkVideoSuggestionsTagSuggestion(o[1]);
-}
-
-core.int buildCounterVideoSuggestions = 0;
-buildVideoSuggestions() {
- var o = new api.VideoSuggestions();
- buildCounterVideoSuggestions++;
- if (buildCounterVideoSuggestions < 3) {
- o.editorSuggestions = buildUnnamed642();
- o.processingErrors = buildUnnamed643();
- o.processingHints = buildUnnamed644();
- o.processingWarnings = buildUnnamed645();
- o.tagSuggestions = buildUnnamed646();
- }
- buildCounterVideoSuggestions--;
- return o;
-}
-
-checkVideoSuggestions(api.VideoSuggestions o) {
- buildCounterVideoSuggestions++;
- if (buildCounterVideoSuggestions < 3) {
- checkUnnamed642(o.editorSuggestions);
- checkUnnamed643(o.processingErrors);
- checkUnnamed644(o.processingHints);
- checkUnnamed645(o.processingWarnings);
- checkUnnamed646(o.tagSuggestions);
- }
- buildCounterVideoSuggestions--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed647() {
@@ -5701,27 +5622,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterVideoSuggestionsTagSuggestion = 0;
-buildVideoSuggestionsTagSuggestion() {
- var o = new api.VideoSuggestionsTagSuggestion();
- buildCounterVideoSuggestionsTagSuggestion++;
- if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- o.categoryRestricts = buildUnnamed647();
- o.tag = "foo";
- }
- buildCounterVideoSuggestionsTagSuggestion--;
- return o;
-}
-
-checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
- buildCounterVideoSuggestionsTagSuggestion++;
- if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed647(o.categoryRestricts);
- unittest.expect(o.tag, unittest.equals('foo'));
- }
- buildCounterVideoSuggestionsTagSuggestion--;
-}
-
buildUnnamed648() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5749,13 +5649,113 @@
}
buildUnnamed650() {
+ var o = new core.List<api.VideoSuggestionsTagSuggestion>();
+ o.add(buildVideoSuggestionsTagSuggestion());
+ o.add(buildVideoSuggestionsTagSuggestion());
+ return o;
+}
+
+checkUnnamed650(core.List<api.VideoSuggestionsTagSuggestion> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkVideoSuggestionsTagSuggestion(o[0]);
+ checkVideoSuggestionsTagSuggestion(o[1]);
+}
+
+core.int buildCounterVideoSuggestions = 0;
+buildVideoSuggestions() {
+ var o = new api.VideoSuggestions();
+ buildCounterVideoSuggestions++;
+ if (buildCounterVideoSuggestions < 3) {
+ o.editorSuggestions = buildUnnamed646();
+ o.processingErrors = buildUnnamed647();
+ o.processingHints = buildUnnamed648();
+ o.processingWarnings = buildUnnamed649();
+ o.tagSuggestions = buildUnnamed650();
+ }
+ buildCounterVideoSuggestions--;
+ return o;
+}
+
+checkVideoSuggestions(api.VideoSuggestions o) {
+ buildCounterVideoSuggestions++;
+ if (buildCounterVideoSuggestions < 3) {
+ checkUnnamed646(o.editorSuggestions);
+ checkUnnamed647(o.processingErrors);
+ checkUnnamed648(o.processingHints);
+ checkUnnamed649(o.processingWarnings);
+ checkUnnamed650(o.tagSuggestions);
+ }
+ buildCounterVideoSuggestions--;
+}
+
+buildUnnamed651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed650(core.List<core.String> o) {
+checkUnnamed651(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 buildCounterVideoSuggestionsTagSuggestion = 0;
+buildVideoSuggestionsTagSuggestion() {
+ var o = new api.VideoSuggestionsTagSuggestion();
+ buildCounterVideoSuggestionsTagSuggestion++;
+ if (buildCounterVideoSuggestionsTagSuggestion < 3) {
+ o.categoryRestricts = buildUnnamed651();
+ o.tag = "foo";
+ }
+ buildCounterVideoSuggestionsTagSuggestion--;
+ return o;
+}
+
+checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
+ buildCounterVideoSuggestionsTagSuggestion++;
+ if (buildCounterVideoSuggestionsTagSuggestion < 3) {
+ checkUnnamed651(o.categoryRestricts);
+ unittest.expect(o.tag, unittest.equals('foo'));
+ }
+ buildCounterVideoSuggestionsTagSuggestion--;
+}
+
+buildUnnamed652() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed652(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'));
+}
+
+buildUnnamed653() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed653(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'));
+}
+
+buildUnnamed654() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed654(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'));
@@ -5766,9 +5766,9 @@
var o = new api.VideoTopicDetails();
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed648();
- o.topicCategories = buildUnnamed649();
- o.topicIds = buildUnnamed650();
+ o.relevantTopicIds = buildUnnamed652();
+ o.topicCategories = buildUnnamed653();
+ o.topicIds = buildUnnamed654();
}
buildCounterVideoTopicDetails--;
return o;
@@ -5777,9 +5777,9 @@
checkVideoTopicDetails(api.VideoTopicDetails o) {
buildCounterVideoTopicDetails++;
if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed648(o.relevantTopicIds);
- checkUnnamed649(o.topicCategories);
- checkUnnamed650(o.topicIds);
+ checkUnnamed652(o.relevantTopicIds);
+ checkUnnamed653(o.topicCategories);
+ checkUnnamed654(o.topicIds);
}
buildCounterVideoTopicDetails--;
}
diff --git a/generated/googleapis/test/youtubeanalytics/v1_test.dart b/generated/googleapis/test/youtubeanalytics/v1_test.dart
index 27b4d0c..b3753ba 100644
--- a/generated/googleapis/test/youtubeanalytics/v1_test.dart
+++ b/generated/googleapis/test/youtubeanalytics/v1_test.dart
@@ -168,14 +168,14 @@
buildCounterGroupItem--;
}
-buildUnnamed254() {
+buildUnnamed258() {
var o = new core.List<api.GroupItem>();
o.add(buildGroupItem());
o.add(buildGroupItem());
return o;
}
-checkUnnamed254(core.List<api.GroupItem> o) {
+checkUnnamed258(core.List<api.GroupItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupItem(o[0]);
checkGroupItem(o[1]);
@@ -187,7 +187,7 @@
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed254();
+ o.items = buildUnnamed258();
o.kind = "foo";
}
buildCounterGroupItemListResponse--;
@@ -198,20 +198,20 @@
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed254(o.items);
+ checkUnnamed258(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupItemListResponse--;
}
-buildUnnamed255() {
+buildUnnamed259() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed255(core.List<api.Group> o) {
+checkUnnamed259(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -223,7 +223,7 @@
buildCounterGroupListResponse++;
if (buildCounterGroupListResponse < 3) {
o.etag = "foo";
- o.items = buildUnnamed255();
+ o.items = buildUnnamed259();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -235,7 +235,7 @@
buildCounterGroupListResponse++;
if (buildCounterGroupListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed255(o.items);
+ checkUnnamed259(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -265,20 +265,20 @@
buildCounterResultTableColumnHeaders--;
}
-buildUnnamed256() {
+buildUnnamed260() {
var o = new core.List<api.ResultTableColumnHeaders>();
o.add(buildResultTableColumnHeaders());
o.add(buildResultTableColumnHeaders());
return o;
}
-checkUnnamed256(core.List<api.ResultTableColumnHeaders> o) {
+checkUnnamed260(core.List<api.ResultTableColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultTableColumnHeaders(o[0]);
checkResultTableColumnHeaders(o[1]);
}
-buildUnnamed257() {
+buildUnnamed261() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -293,7 +293,7 @@
return o;
}
-checkUnnamed257(core.List<core.Object> o) {
+checkUnnamed261(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -307,17 +307,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed258() {
+buildUnnamed262() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed257());
- o.add(buildUnnamed257());
+ o.add(buildUnnamed261());
+ o.add(buildUnnamed261());
return o;
}
-checkUnnamed258(core.List<core.List<core.Object>> o) {
+checkUnnamed262(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed257(o[0]);
- checkUnnamed257(o[1]);
+ checkUnnamed261(o[0]);
+ checkUnnamed261(o[1]);
}
core.int buildCounterResultTable = 0;
@@ -325,9 +325,9 @@
var o = new api.ResultTable();
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- o.columnHeaders = buildUnnamed256();
+ o.columnHeaders = buildUnnamed260();
o.kind = "foo";
- o.rows = buildUnnamed258();
+ o.rows = buildUnnamed262();
}
buildCounterResultTable--;
return o;
@@ -336,9 +336,9 @@
checkResultTable(api.ResultTable o) {
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- checkUnnamed256(o.columnHeaders);
+ checkUnnamed260(o.columnHeaders);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed258(o.rows);
+ checkUnnamed262(o.rows);
}
buildCounterResultTable--;
}
diff --git a/generated/googleapis/test/youtubereporting/v1_test.dart b/generated/googleapis/test/youtubereporting/v1_test.dart
index 09f51dd..9f0c21e 100644
--- a/generated/googleapis/test/youtubereporting/v1_test.dart
+++ b/generated/googleapis/test/youtubereporting/v1_test.dart
@@ -94,14 +94,14 @@
buildCounterJob--;
}
-buildUnnamed1112() {
+buildUnnamed1119() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed1112(core.List<api.Job> o) {
+checkUnnamed1119(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -112,7 +112,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed1112();
+ o.jobs = buildUnnamed1119();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -122,20 +122,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed1112(o.jobs);
+ checkUnnamed1119(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed1113() {
+buildUnnamed1120() {
var o = new core.List<api.ReportType>();
o.add(buildReportType());
o.add(buildReportType());
return o;
}
-checkUnnamed1113(core.List<api.ReportType> o) {
+checkUnnamed1120(core.List<api.ReportType> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportType(o[0]);
checkReportType(o[1]);
@@ -147,7 +147,7 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
o.nextPageToken = "foo";
- o.reportTypes = buildUnnamed1113();
+ o.reportTypes = buildUnnamed1120();
}
buildCounterListReportTypesResponse--;
return o;
@@ -157,19 +157,19 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1113(o.reportTypes);
+ checkUnnamed1120(o.reportTypes);
}
buildCounterListReportTypesResponse--;
}
-buildUnnamed1114() {
+buildUnnamed1121() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed1114(core.List<api.Report> o) {
+checkUnnamed1121(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -181,7 +181,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.nextPageToken = "foo";
- o.reports = buildUnnamed1114();
+ o.reports = buildUnnamed1121();
}
buildCounterListReportsResponse--;
return o;
@@ -191,7 +191,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1114(o.reports);
+ checkUnnamed1121(o.reports);
}
buildCounterListReportsResponse--;
}
@@ -514,10 +514,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.JobsResourceApi res = new api.YoutubereportingApi(mock).jobs;
- var arg_onBehalfOfContentOwner = "foo";
- var arg_includeSystemManaged = true;
var arg_pageToken = "foo";
+ var arg_includeSystemManaged = true;
var arg_pageSize = 42;
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -549,14 +549,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["includeSystemManaged"].first,
- unittest.equals("$arg_includeSystemManaged"));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["includeSystemManaged"].first,
+ unittest.equals("$arg_includeSystemManaged"));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -567,10 +567,10 @@
}), true);
res
.list(
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- includeSystemManaged: arg_includeSystemManaged,
pageToken: arg_pageToken,
+ includeSystemManaged: arg_includeSystemManaged,
pageSize: arg_pageSize,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListJobsResponse response) {
checkListJobsResponse(response);
@@ -653,12 +653,12 @@
api.JobsReportsResourceApi res =
new api.YoutubereportingApi(mock).jobs.reports;
var arg_jobId = "foo";
+ var arg_createdAfter = "foo";
+ var arg_pageToken = "foo";
+ var arg_startTimeAtOrAfter = "foo";
+ var arg_pageSize = 42;
var arg_onBehalfOfContentOwner = "foo";
var arg_startTimeBefore = "foo";
- var arg_createdAfter = "foo";
- var arg_startTimeAtOrAfter = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -699,18 +699,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["createdAfter"].first, unittest.equals(arg_createdAfter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["startTimeAtOrAfter"].first,
+ unittest.equals(arg_startTimeAtOrAfter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["startTimeBefore"].first,
unittest.equals(arg_startTimeBefore));
- unittest.expect(
- queryMap["createdAfter"].first, unittest.equals(arg_createdAfter));
- unittest.expect(queryMap["startTimeAtOrAfter"].first,
- unittest.equals(arg_startTimeAtOrAfter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -721,12 +721,12 @@
}), true);
res
.list(arg_jobId,
+ createdAfter: arg_createdAfter,
+ pageToken: arg_pageToken,
+ startTimeAtOrAfter: arg_startTimeAtOrAfter,
+ pageSize: arg_pageSize,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
startTimeBefore: arg_startTimeBefore,
- createdAfter: arg_createdAfter,
- startTimeAtOrAfter: arg_startTimeAtOrAfter,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListReportsResponse response) {
checkListReportsResponse(response);
@@ -795,10 +795,10 @@
var mock = new HttpServerMock();
api.ReportTypesResourceApi res =
new api.YoutubereportingApi(mock).reportTypes;
- var arg_onBehalfOfContentOwner = "foo";
- var arg_includeSystemManaged = true;
var arg_pageToken = "foo";
+ var arg_includeSystemManaged = true;
var arg_pageSize = 42;
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -830,14 +830,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["includeSystemManaged"].first,
- unittest.equals("$arg_includeSystemManaged"));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["includeSystemManaged"].first,
+ unittest.equals("$arg_includeSystemManaged"));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -848,10 +848,10 @@
}), true);
res
.list(
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- includeSystemManaged: arg_includeSystemManaged,
pageToken: arg_pageToken,
+ includeSystemManaged: arg_includeSystemManaged,
pageSize: arg_pageSize,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((api.ListReportTypesResponse response) {
checkListReportTypesResponse(response);