Api-Roll 60: 2018-01-26 (#30)
diff --git a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
index 589b024..d2cf8e4 100644
--- a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
+++ b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
@@ -94,14 +94,14 @@
buildCounterClaimDeviceResponse--;
}
-buildUnnamed35() {
+buildUnnamed31() {
var o = new core.List<api.PartnerClaim>();
o.add(buildPartnerClaim());
o.add(buildPartnerClaim());
return o;
}
-checkUnnamed35(core.List<api.PartnerClaim> o) {
+checkUnnamed31(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 = buildUnnamed35();
+ o.claims = buildUnnamed31();
}
buildCounterClaimDevicesRequest--;
return o;
@@ -121,32 +121,32 @@
checkClaimDevicesRequest(api.ClaimDevicesRequest o) {
buildCounterClaimDevicesRequest++;
if (buildCounterClaimDevicesRequest < 3) {
- checkUnnamed35(o.claims);
+ checkUnnamed31(o.claims);
}
buildCounterClaimDevicesRequest--;
}
-buildUnnamed36() {
+buildUnnamed32() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed36(core.List<core.String> o) {
+checkUnnamed32(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed37() {
+buildUnnamed33() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed37(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'));
@@ -157,11 +157,11 @@
var o = new api.Company();
buildCounterCompany++;
if (buildCounterCompany < 3) {
- o.adminEmails = buildUnnamed36();
+ o.adminEmails = buildUnnamed32();
o.companyId = "foo";
o.companyName = "foo";
o.name = "foo";
- o.ownerEmails = buildUnnamed37();
+ o.ownerEmails = buildUnnamed33();
}
buildCounterCompany--;
return o;
@@ -170,11 +170,11 @@
checkCompany(api.Company o) {
buildCounterCompany++;
if (buildCounterCompany < 3) {
- checkUnnamed36(o.adminEmails);
+ checkUnnamed32(o.adminEmails);
unittest.expect(o.companyId, unittest.equals('foo'));
unittest.expect(o.companyName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed37(o.ownerEmails);
+ checkUnnamed33(o.ownerEmails);
}
buildCounterCompany--;
}
@@ -257,14 +257,14 @@
buildCounterCustomerApplyConfigurationRequest--;
}
-buildUnnamed38() {
+buildUnnamed34() {
var o = new core.List<api.Configuration>();
o.add(buildConfiguration());
o.add(buildConfiguration());
return o;
}
-checkUnnamed38(core.List<api.Configuration> o) {
+checkUnnamed34(core.List<api.Configuration> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfiguration(o[0]);
checkConfiguration(o[1]);
@@ -275,7 +275,7 @@
var o = new api.CustomerListConfigurationsResponse();
buildCounterCustomerListConfigurationsResponse++;
if (buildCounterCustomerListConfigurationsResponse < 3) {
- o.configurations = buildUnnamed38();
+ o.configurations = buildUnnamed34();
}
buildCounterCustomerListConfigurationsResponse--;
return o;
@@ -285,19 +285,19 @@
api.CustomerListConfigurationsResponse o) {
buildCounterCustomerListConfigurationsResponse++;
if (buildCounterCustomerListConfigurationsResponse < 3) {
- checkUnnamed38(o.configurations);
+ checkUnnamed34(o.configurations);
}
buildCounterCustomerListConfigurationsResponse--;
}
-buildUnnamed39() {
+buildUnnamed35() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed39(core.List<api.Company> o) {
+checkUnnamed35(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -308,7 +308,7 @@
var o = new api.CustomerListCustomersResponse();
buildCounterCustomerListCustomersResponse++;
if (buildCounterCustomerListCustomersResponse < 3) {
- o.customers = buildUnnamed39();
+ o.customers = buildUnnamed35();
o.nextPageToken = "foo";
}
buildCounterCustomerListCustomersResponse--;
@@ -318,20 +318,20 @@
checkCustomerListCustomersResponse(api.CustomerListCustomersResponse o) {
buildCounterCustomerListCustomersResponse++;
if (buildCounterCustomerListCustomersResponse < 3) {
- checkUnnamed39(o.customers);
+ checkUnnamed35(o.customers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomerListCustomersResponse--;
}
-buildUnnamed40() {
+buildUnnamed36() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed40(core.List<api.Device> o) {
+checkUnnamed36(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -342,7 +342,7 @@
var o = new api.CustomerListDevicesResponse();
buildCounterCustomerListDevicesResponse++;
if (buildCounterCustomerListDevicesResponse < 3) {
- o.devices = buildUnnamed40();
+ o.devices = buildUnnamed36();
o.nextPageToken = "foo";
}
buildCounterCustomerListDevicesResponse--;
@@ -352,20 +352,20 @@
checkCustomerListDevicesResponse(api.CustomerListDevicesResponse o) {
buildCounterCustomerListDevicesResponse++;
if (buildCounterCustomerListDevicesResponse < 3) {
- checkUnnamed40(o.devices);
+ checkUnnamed36(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomerListDevicesResponse--;
}
-buildUnnamed41() {
+buildUnnamed37() {
var o = new core.List<api.Dpc>();
o.add(buildDpc());
o.add(buildDpc());
return o;
}
-checkUnnamed41(core.List<api.Dpc> o) {
+checkUnnamed37(core.List<api.Dpc> o) {
unittest.expect(o, unittest.hasLength(2));
checkDpc(o[0]);
checkDpc(o[1]);
@@ -376,7 +376,7 @@
var o = new api.CustomerListDpcsResponse();
buildCounterCustomerListDpcsResponse++;
if (buildCounterCustomerListDpcsResponse < 3) {
- o.dpcs = buildUnnamed41();
+ o.dpcs = buildUnnamed37();
}
buildCounterCustomerListDpcsResponse--;
return o;
@@ -385,7 +385,7 @@
checkCustomerListDpcsResponse(api.CustomerListDpcsResponse o) {
buildCounterCustomerListDpcsResponse++;
if (buildCounterCustomerListDpcsResponse < 3) {
- checkUnnamed41(o.dpcs);
+ checkUnnamed37(o.dpcs);
}
buildCounterCustomerListDpcsResponse--;
}
@@ -429,14 +429,14 @@
buildCounterCustomerUnclaimDeviceRequest--;
}
-buildUnnamed42() {
+buildUnnamed38() {
var o = new core.List<api.DeviceClaim>();
o.add(buildDeviceClaim());
o.add(buildDeviceClaim());
return o;
}
-checkUnnamed42(core.List<api.DeviceClaim> o) {
+checkUnnamed38(core.List<api.DeviceClaim> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceClaim(o[0]);
checkDeviceClaim(o[1]);
@@ -447,7 +447,7 @@
var o = new api.Device();
buildCounterDevice++;
if (buildCounterDevice < 3) {
- o.claims = buildUnnamed42();
+ o.claims = buildUnnamed38();
o.configuration = "foo";
o.deviceId = "foo";
o.deviceIdentifier = buildDeviceIdentifier();
@@ -461,7 +461,7 @@
checkDevice(api.Device o) {
buildCounterDevice++;
if (buildCounterDevice < 3) {
- checkUnnamed42(o.claims);
+ checkUnnamed38(o.claims);
unittest.expect(o.configuration, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
checkDeviceIdentifier(o.deviceIdentifier);
@@ -517,14 +517,14 @@
buildCounterDeviceIdentifier--;
}
-buildUnnamed43() {
+buildUnnamed39() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed43(core.Map<core.String, core.String> o) {
+checkUnnamed39(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'));
@@ -535,7 +535,7 @@
var o = new api.DeviceMetadata();
buildCounterDeviceMetadata++;
if (buildCounterDeviceMetadata < 3) {
- o.entries = buildUnnamed43();
+ o.entries = buildUnnamed39();
}
buildCounterDeviceMetadata--;
return o;
@@ -544,7 +544,7 @@
checkDeviceMetadata(api.DeviceMetadata o) {
buildCounterDeviceMetadata++;
if (buildCounterDeviceMetadata < 3) {
- checkUnnamed43(o.entries);
+ checkUnnamed39(o.entries);
}
buildCounterDeviceMetadata--;
}
@@ -594,14 +594,14 @@
buildCounterDevicesLongRunningOperationMetadata--;
}
-buildUnnamed44() {
+buildUnnamed40() {
var o = new core.List<api.OperationPerDevice>();
o.add(buildOperationPerDevice());
o.add(buildOperationPerDevice());
return o;
}
-checkUnnamed44(core.List<api.OperationPerDevice> o) {
+checkUnnamed40(core.List<api.OperationPerDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationPerDevice(o[0]);
checkOperationPerDevice(o[1]);
@@ -612,7 +612,7 @@
var o = new api.DevicesLongRunningOperationResponse();
buildCounterDevicesLongRunningOperationResponse++;
if (buildCounterDevicesLongRunningOperationResponse < 3) {
- o.perDeviceStatus = buildUnnamed44();
+ o.perDeviceStatus = buildUnnamed40();
o.successCount = 42;
}
buildCounterDevicesLongRunningOperationResponse--;
@@ -623,7 +623,7 @@
api.DevicesLongRunningOperationResponse o) {
buildCounterDevicesLongRunningOperationResponse++;
if (buildCounterDevicesLongRunningOperationResponse < 3) {
- checkUnnamed44(o.perDeviceStatus);
+ checkUnnamed40(o.perDeviceStatus);
unittest.expect(o.successCount, unittest.equals(42));
}
buildCounterDevicesLongRunningOperationResponse--;
@@ -691,14 +691,14 @@
buildCounterFindDevicesByDeviceIdentifierRequest--;
}
-buildUnnamed45() {
+buildUnnamed41() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed45(core.List<api.Device> o) {
+checkUnnamed41(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -709,7 +709,7 @@
var o = new api.FindDevicesByDeviceIdentifierResponse();
buildCounterFindDevicesByDeviceIdentifierResponse++;
if (buildCounterFindDevicesByDeviceIdentifierResponse < 3) {
- o.devices = buildUnnamed45();
+ o.devices = buildUnnamed41();
o.nextPageToken = "foo";
}
buildCounterFindDevicesByDeviceIdentifierResponse--;
@@ -720,20 +720,20 @@
api.FindDevicesByDeviceIdentifierResponse o) {
buildCounterFindDevicesByDeviceIdentifierResponse++;
if (buildCounterFindDevicesByDeviceIdentifierResponse < 3) {
- checkUnnamed45(o.devices);
+ checkUnnamed41(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFindDevicesByDeviceIdentifierResponse--;
}
-buildUnnamed46() {
+buildUnnamed42() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed46(core.List<core.String> o) {
+checkUnnamed42(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -744,7 +744,7 @@
var o = new api.FindDevicesByOwnerRequest();
buildCounterFindDevicesByOwnerRequest++;
if (buildCounterFindDevicesByOwnerRequest < 3) {
- o.customerId = buildUnnamed46();
+ o.customerId = buildUnnamed42();
o.limit = "foo";
o.pageToken = "foo";
o.sectionType = "foo";
@@ -756,7 +756,7 @@
checkFindDevicesByOwnerRequest(api.FindDevicesByOwnerRequest o) {
buildCounterFindDevicesByOwnerRequest++;
if (buildCounterFindDevicesByOwnerRequest < 3) {
- checkUnnamed46(o.customerId);
+ checkUnnamed42(o.customerId);
unittest.expect(o.limit, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.sectionType, unittest.equals('foo'));
@@ -764,14 +764,14 @@
buildCounterFindDevicesByOwnerRequest--;
}
-buildUnnamed47() {
+buildUnnamed43() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed47(core.List<api.Device> o) {
+checkUnnamed43(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -782,7 +782,7 @@
var o = new api.FindDevicesByOwnerResponse();
buildCounterFindDevicesByOwnerResponse++;
if (buildCounterFindDevicesByOwnerResponse < 3) {
- o.devices = buildUnnamed47();
+ o.devices = buildUnnamed43();
o.nextPageToken = "foo";
}
buildCounterFindDevicesByOwnerResponse--;
@@ -792,20 +792,20 @@
checkFindDevicesByOwnerResponse(api.FindDevicesByOwnerResponse o) {
buildCounterFindDevicesByOwnerResponse++;
if (buildCounterFindDevicesByOwnerResponse < 3) {
- checkUnnamed47(o.devices);
+ checkUnnamed43(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFindDevicesByOwnerResponse--;
}
-buildUnnamed48() {
+buildUnnamed44() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed48(core.List<api.Company> o) {
+checkUnnamed44(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -816,7 +816,7 @@
var o = new api.ListCustomersResponse();
buildCounterListCustomersResponse++;
if (buildCounterListCustomersResponse < 3) {
- o.customers = buildUnnamed48();
+ o.customers = buildUnnamed44();
}
buildCounterListCustomersResponse--;
return o;
@@ -825,12 +825,12 @@
checkListCustomersResponse(api.ListCustomersResponse o) {
buildCounterListCustomersResponse++;
if (buildCounterListCustomersResponse < 3) {
- checkUnnamed48(o.customers);
+ checkUnnamed44(o.customers);
}
buildCounterListCustomersResponse--;
}
-buildUnnamed49() {
+buildUnnamed45() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -845,7 +845,7 @@
return o;
}
-checkUnnamed49(core.Map<core.String, core.Object> o) {
+checkUnnamed45(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));
@@ -859,7 +859,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed50() {
+buildUnnamed46() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -874,7 +874,7 @@
return o;
}
-checkUnnamed50(core.Map<core.String, core.Object> o) {
+checkUnnamed46(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));
@@ -895,9 +895,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed49();
+ o.metadata = buildUnnamed45();
o.name = "foo";
- o.response = buildUnnamed50();
+ o.response = buildUnnamed46();
}
buildCounterOperation--;
return o;
@@ -908,9 +908,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed49(o.metadata);
+ checkUnnamed45(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed50(o.response);
+ checkUnnamed46(o.response);
}
buildCounterOperation--;
}
@@ -1013,7 +1013,7 @@
buildCounterPerDeviceStatusInBatch--;
}
-buildUnnamed51() {
+buildUnnamed47() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1028,7 +1028,7 @@
return o;
}
-checkUnnamed51(core.Map<core.String, core.Object> o) {
+checkUnnamed47(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));
@@ -1042,17 +1042,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed52() {
+buildUnnamed48() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed51());
- o.add(buildUnnamed51());
+ o.add(buildUnnamed47());
+ o.add(buildUnnamed47());
return o;
}
-checkUnnamed52(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed48(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed51(o[0]);
- checkUnnamed51(o[1]);
+ checkUnnamed47(o[0]);
+ checkUnnamed47(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1061,7 +1061,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed52();
+ o.details = buildUnnamed48();
o.message = "foo";
}
buildCounterStatus--;
@@ -1072,7 +1072,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed52(o.details);
+ checkUnnamed48(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1101,14 +1101,14 @@
buildCounterUnclaimDeviceRequest--;
}
-buildUnnamed53() {
+buildUnnamed49() {
var o = new core.List<api.PartnerUnclaim>();
o.add(buildPartnerUnclaim());
o.add(buildPartnerUnclaim());
return o;
}
-checkUnnamed53(core.List<api.PartnerUnclaim> o) {
+checkUnnamed49(core.List<api.PartnerUnclaim> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartnerUnclaim(o[0]);
checkPartnerUnclaim(o[1]);
@@ -1119,7 +1119,7 @@
var o = new api.UnclaimDevicesRequest();
buildCounterUnclaimDevicesRequest++;
if (buildCounterUnclaimDevicesRequest < 3) {
- o.unclaims = buildUnnamed53();
+ o.unclaims = buildUnnamed49();
}
buildCounterUnclaimDevicesRequest--;
return o;
@@ -1128,19 +1128,19 @@
checkUnclaimDevicesRequest(api.UnclaimDevicesRequest o) {
buildCounterUnclaimDevicesRequest++;
if (buildCounterUnclaimDevicesRequest < 3) {
- checkUnnamed53(o.unclaims);
+ checkUnnamed49(o.unclaims);
}
buildCounterUnclaimDevicesRequest--;
}
-buildUnnamed54() {
+buildUnnamed50() {
var o = new core.List<api.UpdateMetadataArguments>();
o.add(buildUpdateMetadataArguments());
o.add(buildUpdateMetadataArguments());
return o;
}
-checkUnnamed54(core.List<api.UpdateMetadataArguments> o) {
+checkUnnamed50(core.List<api.UpdateMetadataArguments> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdateMetadataArguments(o[0]);
checkUpdateMetadataArguments(o[1]);
@@ -1151,7 +1151,7 @@
var o = new api.UpdateDeviceMetadataInBatchRequest();
buildCounterUpdateDeviceMetadataInBatchRequest++;
if (buildCounterUpdateDeviceMetadataInBatchRequest < 3) {
- o.updates = buildUnnamed54();
+ o.updates = buildUnnamed50();
}
buildCounterUpdateDeviceMetadataInBatchRequest--;
return o;
@@ -1161,7 +1161,7 @@
api.UpdateDeviceMetadataInBatchRequest o) {
buildCounterUpdateDeviceMetadataInBatchRequest++;
if (buildCounterUpdateDeviceMetadataInBatchRequest < 3) {
- checkUnnamed54(o.updates);
+ checkUnnamed50(o.updates);
}
buildCounterUpdateDeviceMetadataInBatchRequest--;
}
@@ -1520,8 +1520,8 @@
var mock = new HttpServerMock();
api.CustomersResourceApi res =
new api.AndroiddeviceprovisioningApi(mock).customers;
- 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;
@@ -1553,10 +1553,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 = {
@@ -1567,8 +1567,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest
.expectAsync1(((api.CustomerListCustomersResponse response) {