Index: generated/googleapis/test/admin/directory_v1_test.dart |
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart |
index b4d8a44a977d1edbaa7c7ab19eaf67d83689fb74..95c2533ed5e2242a1589ad0a6dc9c36e3781beca 100644 |
--- a/generated/googleapis/test/admin/directory_v1_test.dart |
+++ b/generated/googleapis/test/admin/directory_v1_test.dart |
@@ -78,14 +78,14 @@ checkAlias(api.Alias o) { |
buildCounterAlias--; |
} |
-buildUnnamed739() { |
+buildUnnamed814() { |
var o = new core.List<core.Object>(); |
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
return o; |
} |
-checkUnnamed739(core.List<core.Object> o) { |
+checkUnnamed814(core.List<core.Object> o) { |
unittest.expect(o, unittest.hasLength(2)); |
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); |
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); |
@@ -96,7 +96,7 @@ buildAliases() { |
var o = new api.Aliases(); |
buildCounterAliases++; |
if (buildCounterAliases < 3) { |
- o.aliases = buildUnnamed739(); |
+ o.aliases = buildUnnamed814(); |
o.etag = "foo"; |
o.kind = "foo"; |
} |
@@ -107,7 +107,7 @@ buildAliases() { |
checkAliases(api.Aliases o) { |
buildCounterAliases++; |
if (buildCounterAliases < 3) { |
- checkUnnamed739(o.aliases); |
+ checkUnnamed814(o.aliases); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
@@ -145,14 +145,14 @@ checkAsp(api.Asp o) { |
buildCounterAsp--; |
} |
-buildUnnamed740() { |
+buildUnnamed815() { |
var o = new core.List<api.Asp>(); |
o.add(buildAsp()); |
o.add(buildAsp()); |
return o; |
} |
-checkUnnamed740(core.List<api.Asp> o) { |
+checkUnnamed815(core.List<api.Asp> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAsp(o[0]); |
checkAsp(o[1]); |
@@ -164,7 +164,7 @@ buildAsps() { |
buildCounterAsps++; |
if (buildCounterAsps < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed740(); |
+ o.items = buildUnnamed815(); |
o.kind = "foo"; |
} |
buildCounterAsps--; |
@@ -175,7 +175,7 @@ checkAsps(api.Asps o) { |
buildCounterAsps++; |
if (buildCounterAsps < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed740(o.items); |
+ checkUnnamed815(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterAsps--; |
@@ -212,14 +212,14 @@ checkCalendarResource(api.CalendarResource o) { |
buildCounterCalendarResource--; |
} |
-buildUnnamed741() { |
+buildUnnamed816() { |
var o = new core.List<api.CalendarResource>(); |
o.add(buildCalendarResource()); |
o.add(buildCalendarResource()); |
return o; |
} |
-checkUnnamed741(core.List<api.CalendarResource> o) { |
+checkUnnamed816(core.List<api.CalendarResource> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCalendarResource(o[0]); |
checkCalendarResource(o[1]); |
@@ -231,7 +231,7 @@ buildCalendarResources() { |
buildCounterCalendarResources++; |
if (buildCounterCalendarResources < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed741(); |
+ o.items = buildUnnamed816(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
} |
@@ -243,21 +243,21 @@ checkCalendarResources(api.CalendarResources o) { |
buildCounterCalendarResources++; |
if (buildCounterCalendarResources < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed741(o.items); |
+ checkUnnamed816(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterCalendarResources--; |
} |
-buildUnnamed742() { |
+buildUnnamed817() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed742(core.Map<core.String, core.String> o) { |
+checkUnnamed817(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')); |
@@ -272,7 +272,7 @@ buildChannel() { |
o.expiration = "foo"; |
o.id = "foo"; |
o.kind = "foo"; |
- o.params = buildUnnamed742(); |
+ o.params = buildUnnamed817(); |
o.payload = true; |
o.resourceId = "foo"; |
o.resourceUri = "foo"; |
@@ -290,7 +290,7 @@ checkChannel(api.Channel o) { |
unittest.expect(o.expiration, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed742(o.params); |
+ checkUnnamed817(o.params); |
unittest.expect(o.payload, unittest.isTrue); |
unittest.expect(o.resourceId, unittest.equals('foo')); |
unittest.expect(o.resourceUri, unittest.equals('foo')); |
@@ -321,14 +321,14 @@ checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) { |
buildCounterChromeOsDeviceActiveTimeRanges--; |
} |
-buildUnnamed743() { |
+buildUnnamed818() { |
var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>(); |
o.add(buildChromeOsDeviceActiveTimeRanges()); |
o.add(buildChromeOsDeviceActiveTimeRanges()); |
return o; |
} |
-checkUnnamed743(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { |
+checkUnnamed818(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChromeOsDeviceActiveTimeRanges(o[0]); |
checkChromeOsDeviceActiveTimeRanges(o[1]); |
@@ -355,14 +355,14 @@ checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) { |
buildCounterChromeOsDeviceRecentUsers--; |
} |
-buildUnnamed744() { |
+buildUnnamed819() { |
var o = new core.List<api.ChromeOsDeviceRecentUsers>(); |
o.add(buildChromeOsDeviceRecentUsers()); |
o.add(buildChromeOsDeviceRecentUsers()); |
return o; |
} |
-checkUnnamed744(core.List<api.ChromeOsDeviceRecentUsers> o) { |
+checkUnnamed819(core.List<api.ChromeOsDeviceRecentUsers> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChromeOsDeviceRecentUsers(o[0]); |
checkChromeOsDeviceRecentUsers(o[1]); |
@@ -373,7 +373,7 @@ buildChromeOsDevice() { |
var o = new api.ChromeOsDevice(); |
buildCounterChromeOsDevice++; |
if (buildCounterChromeOsDevice < 3) { |
- o.activeTimeRanges = buildUnnamed743(); |
+ o.activeTimeRanges = buildUnnamed818(); |
o.annotatedAssetId = "foo"; |
o.annotatedLocation = "foo"; |
o.annotatedUser = "foo"; |
@@ -393,7 +393,7 @@ buildChromeOsDevice() { |
o.orgUnitPath = "foo"; |
o.osVersion = "foo"; |
o.platformVersion = "foo"; |
- o.recentUsers = buildUnnamed744(); |
+ o.recentUsers = buildUnnamed819(); |
o.serialNumber = "foo"; |
o.status = "foo"; |
o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02"); |
@@ -406,7 +406,7 @@ buildChromeOsDevice() { |
checkChromeOsDevice(api.ChromeOsDevice o) { |
buildCounterChromeOsDevice++; |
if (buildCounterChromeOsDevice < 3) { |
- checkUnnamed743(o.activeTimeRanges); |
+ checkUnnamed818(o.activeTimeRanges); |
unittest.expect(o.annotatedAssetId, unittest.equals('foo')); |
unittest.expect(o.annotatedLocation, unittest.equals('foo')); |
unittest.expect(o.annotatedUser, unittest.equals('foo')); |
@@ -426,7 +426,7 @@ checkChromeOsDevice(api.ChromeOsDevice o) { |
unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
unittest.expect(o.osVersion, unittest.equals('foo')); |
unittest.expect(o.platformVersion, unittest.equals('foo')); |
- checkUnnamed744(o.recentUsers); |
+ checkUnnamed819(o.recentUsers); |
unittest.expect(o.serialNumber, unittest.equals('foo')); |
unittest.expect(o.status, unittest.equals('foo')); |
unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
@@ -456,14 +456,14 @@ checkChromeOsDeviceAction(api.ChromeOsDeviceAction o) { |
buildCounterChromeOsDeviceAction--; |
} |
-buildUnnamed745() { |
+buildUnnamed820() { |
var o = new core.List<api.ChromeOsDevice>(); |
o.add(buildChromeOsDevice()); |
o.add(buildChromeOsDevice()); |
return o; |
} |
-checkUnnamed745(core.List<api.ChromeOsDevice> o) { |
+checkUnnamed820(core.List<api.ChromeOsDevice> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChromeOsDevice(o[0]); |
checkChromeOsDevice(o[1]); |
@@ -474,7 +474,7 @@ buildChromeOsDevices() { |
var o = new api.ChromeOsDevices(); |
buildCounterChromeOsDevices++; |
if (buildCounterChromeOsDevices < 3) { |
- o.chromeosdevices = buildUnnamed745(); |
+ o.chromeosdevices = buildUnnamed820(); |
o.etag = "foo"; |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
@@ -486,7 +486,7 @@ buildChromeOsDevices() { |
checkChromeOsDevices(api.ChromeOsDevices o) { |
buildCounterChromeOsDevices++; |
if (buildCounterChromeOsDevices < 3) { |
- checkUnnamed745(o.chromeosdevices); |
+ checkUnnamed820(o.chromeosdevices); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -593,14 +593,14 @@ checkDomainAlias(api.DomainAlias o) { |
buildCounterDomainAlias--; |
} |
-buildUnnamed746() { |
+buildUnnamed821() { |
var o = new core.List<api.DomainAlias>(); |
o.add(buildDomainAlias()); |
o.add(buildDomainAlias()); |
return o; |
} |
-checkUnnamed746(core.List<api.DomainAlias> o) { |
+checkUnnamed821(core.List<api.DomainAlias> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkDomainAlias(o[0]); |
checkDomainAlias(o[1]); |
@@ -611,7 +611,7 @@ buildDomainAliases() { |
var o = new api.DomainAliases(); |
buildCounterDomainAliases++; |
if (buildCounterDomainAliases < 3) { |
- o.domainAliases = buildUnnamed746(); |
+ o.domainAliases = buildUnnamed821(); |
o.etag = "foo"; |
o.kind = "foo"; |
} |
@@ -622,21 +622,21 @@ buildDomainAliases() { |
checkDomainAliases(api.DomainAliases o) { |
buildCounterDomainAliases++; |
if (buildCounterDomainAliases < 3) { |
- checkUnnamed746(o.domainAliases); |
+ checkUnnamed821(o.domainAliases); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterDomainAliases--; |
} |
-buildUnnamed747() { |
+buildUnnamed822() { |
var o = new core.List<api.DomainAlias>(); |
o.add(buildDomainAlias()); |
o.add(buildDomainAlias()); |
return o; |
} |
-checkUnnamed747(core.List<api.DomainAlias> o) { |
+checkUnnamed822(core.List<api.DomainAlias> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkDomainAlias(o[0]); |
checkDomainAlias(o[1]); |
@@ -648,7 +648,7 @@ buildDomains() { |
buildCounterDomains++; |
if (buildCounterDomains < 3) { |
o.creationTime = "foo"; |
- o.domainAliases = buildUnnamed747(); |
+ o.domainAliases = buildUnnamed822(); |
o.domainName = "foo"; |
o.etag = "foo"; |
o.isPrimary = true; |
@@ -663,7 +663,7 @@ checkDomains(api.Domains o) { |
buildCounterDomains++; |
if (buildCounterDomains < 3) { |
unittest.expect(o.creationTime, unittest.equals('foo')); |
- checkUnnamed747(o.domainAliases); |
+ checkUnnamed822(o.domainAliases); |
unittest.expect(o.domainName, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.isPrimary, unittest.isTrue); |
@@ -673,14 +673,14 @@ checkDomains(api.Domains o) { |
buildCounterDomains--; |
} |
-buildUnnamed748() { |
+buildUnnamed823() { |
var o = new core.List<api.Domains>(); |
o.add(buildDomains()); |
o.add(buildDomains()); |
return o; |
} |
-checkUnnamed748(core.List<api.Domains> o) { |
+checkUnnamed823(core.List<api.Domains> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkDomains(o[0]); |
checkDomains(o[1]); |
@@ -691,7 +691,7 @@ buildDomains2() { |
var o = new api.Domains2(); |
buildCounterDomains2++; |
if (buildCounterDomains2 < 3) { |
- o.domains = buildUnnamed748(); |
+ o.domains = buildUnnamed823(); |
o.etag = "foo"; |
o.kind = "foo"; |
} |
@@ -702,34 +702,34 @@ buildDomains2() { |
checkDomains2(api.Domains2 o) { |
buildCounterDomains2++; |
if (buildCounterDomains2 < 3) { |
- checkUnnamed748(o.domains); |
+ checkUnnamed823(o.domains); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterDomains2--; |
} |
-buildUnnamed749() { |
+buildUnnamed824() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed749(core.List<core.String> o) { |
+checkUnnamed824(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed750() { |
+buildUnnamed825() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed750(core.List<core.String> o) { |
+checkUnnamed825(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -741,7 +741,7 @@ buildGroup() { |
buildCounterGroup++; |
if (buildCounterGroup < 3) { |
o.adminCreated = true; |
- o.aliases = buildUnnamed749(); |
+ o.aliases = buildUnnamed824(); |
o.description = "foo"; |
o.directMembersCount = "foo"; |
o.email = "foo"; |
@@ -749,7 +749,7 @@ buildGroup() { |
o.id = "foo"; |
o.kind = "foo"; |
o.name = "foo"; |
- o.nonEditableAliases = buildUnnamed750(); |
+ o.nonEditableAliases = buildUnnamed825(); |
} |
buildCounterGroup--; |
return o; |
@@ -759,7 +759,7 @@ checkGroup(api.Group o) { |
buildCounterGroup++; |
if (buildCounterGroup < 3) { |
unittest.expect(o.adminCreated, unittest.isTrue); |
- checkUnnamed749(o.aliases); |
+ checkUnnamed824(o.aliases); |
unittest.expect(o.description, unittest.equals('foo')); |
unittest.expect(o.directMembersCount, unittest.equals('foo')); |
unittest.expect(o.email, unittest.equals('foo')); |
@@ -767,19 +767,19 @@ checkGroup(api.Group o) { |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed750(o.nonEditableAliases); |
+ checkUnnamed825(o.nonEditableAliases); |
} |
buildCounterGroup--; |
} |
-buildUnnamed751() { |
+buildUnnamed826() { |
var o = new core.List<api.Group>(); |
o.add(buildGroup()); |
o.add(buildGroup()); |
return o; |
} |
-checkUnnamed751(core.List<api.Group> o) { |
+checkUnnamed826(core.List<api.Group> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGroup(o[0]); |
checkGroup(o[1]); |
@@ -791,7 +791,7 @@ buildGroups() { |
buildCounterGroups++; |
if (buildCounterGroups < 3) { |
o.etag = "foo"; |
- o.groups = buildUnnamed751(); |
+ o.groups = buildUnnamed826(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
} |
@@ -803,7 +803,7 @@ checkGroups(api.Groups o) { |
buildCounterGroups++; |
if (buildCounterGroups < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed751(o.groups); |
+ checkUnnamed826(o.groups); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
@@ -841,14 +841,14 @@ checkMember(api.Member o) { |
buildCounterMember--; |
} |
-buildUnnamed752() { |
+buildUnnamed827() { |
var o = new core.List<api.Member>(); |
o.add(buildMember()); |
o.add(buildMember()); |
return o; |
} |
-checkUnnamed752(core.List<api.Member> o) { |
+checkUnnamed827(core.List<api.Member> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMember(o[0]); |
checkMember(o[1]); |
@@ -861,7 +861,7 @@ buildMembers() { |
if (buildCounterMembers < 3) { |
o.etag = "foo"; |
o.kind = "foo"; |
- o.members = buildUnnamed752(); |
+ o.members = buildUnnamed827(); |
o.nextPageToken = "foo"; |
} |
buildCounterMembers--; |
@@ -873,20 +873,20 @@ checkMembers(api.Members o) { |
if (buildCounterMembers < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed752(o.members); |
+ checkUnnamed827(o.members); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterMembers--; |
} |
-buildUnnamed753() { |
+buildUnnamed828() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed753(core.List<core.String> o) { |
+checkUnnamed828(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -899,7 +899,7 @@ buildMobileDeviceApplications() { |
if (buildCounterMobileDeviceApplications < 3) { |
o.displayName = "foo"; |
o.packageName = "foo"; |
- o.permission = buildUnnamed753(); |
+ o.permission = buildUnnamed828(); |
o.versionCode = 42; |
o.versionName = "foo"; |
} |
@@ -912,60 +912,60 @@ checkMobileDeviceApplications(api.MobileDeviceApplications o) { |
if (buildCounterMobileDeviceApplications < 3) { |
unittest.expect(o.displayName, unittest.equals('foo')); |
unittest.expect(o.packageName, unittest.equals('foo')); |
- checkUnnamed753(o.permission); |
+ checkUnnamed828(o.permission); |
unittest.expect(o.versionCode, unittest.equals(42)); |
unittest.expect(o.versionName, unittest.equals('foo')); |
} |
buildCounterMobileDeviceApplications--; |
} |
-buildUnnamed754() { |
+buildUnnamed829() { |
var o = new core.List<api.MobileDeviceApplications>(); |
o.add(buildMobileDeviceApplications()); |
o.add(buildMobileDeviceApplications()); |
return o; |
} |
-checkUnnamed754(core.List<api.MobileDeviceApplications> o) { |
+checkUnnamed829(core.List<api.MobileDeviceApplications> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMobileDeviceApplications(o[0]); |
checkMobileDeviceApplications(o[1]); |
} |
-buildUnnamed755() { |
+buildUnnamed830() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed755(core.List<core.String> o) { |
+checkUnnamed830(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed756() { |
+buildUnnamed831() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed756(core.List<core.String> o) { |
+checkUnnamed831(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed757() { |
+buildUnnamed832() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed757(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')); |
@@ -977,7 +977,7 @@ buildMobileDevice() { |
buildCounterMobileDevice++; |
if (buildCounterMobileDevice < 3) { |
o.adbStatus = true; |
- o.applications = buildUnnamed754(); |
+ o.applications = buildUnnamed829(); |
o.basebandVersion = "foo"; |
o.bootloaderVersion = "foo"; |
o.brand = "foo"; |
@@ -987,7 +987,7 @@ buildMobileDevice() { |
o.deviceCompromisedStatus = "foo"; |
o.deviceId = "foo"; |
o.devicePasswordStatus = "foo"; |
- o.email = buildUnnamed755(); |
+ o.email = buildUnnamed830(); |
o.encryptionStatus = "foo"; |
o.etag = "foo"; |
o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); |
@@ -1001,10 +1001,10 @@ buildMobileDevice() { |
o.manufacturer = "foo"; |
o.meid = "foo"; |
o.model = "foo"; |
- o.name = buildUnnamed756(); |
+ o.name = buildUnnamed831(); |
o.networkOperator = "foo"; |
o.os = "foo"; |
- o.otherAccountsInfo = buildUnnamed757(); |
+ o.otherAccountsInfo = buildUnnamed832(); |
o.privilege = "foo"; |
o.releaseVersion = "foo"; |
o.resourceId = "foo"; |
@@ -1025,7 +1025,7 @@ checkMobileDevice(api.MobileDevice o) { |
buildCounterMobileDevice++; |
if (buildCounterMobileDevice < 3) { |
unittest.expect(o.adbStatus, unittest.isTrue); |
- checkUnnamed754(o.applications); |
+ checkUnnamed829(o.applications); |
unittest.expect(o.basebandVersion, unittest.equals('foo')); |
unittest.expect(o.bootloaderVersion, unittest.equals('foo')); |
unittest.expect(o.brand, unittest.equals('foo')); |
@@ -1035,7 +1035,7 @@ checkMobileDevice(api.MobileDevice o) { |
unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); |
unittest.expect(o.deviceId, unittest.equals('foo')); |
unittest.expect(o.devicePasswordStatus, unittest.equals('foo')); |
- checkUnnamed755(o.email); |
+ checkUnnamed830(o.email); |
unittest.expect(o.encryptionStatus, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
@@ -1049,10 +1049,10 @@ checkMobileDevice(api.MobileDevice o) { |
unittest.expect(o.manufacturer, unittest.equals('foo')); |
unittest.expect(o.meid, unittest.equals('foo')); |
unittest.expect(o.model, unittest.equals('foo')); |
- checkUnnamed756(o.name); |
+ checkUnnamed831(o.name); |
unittest.expect(o.networkOperator, unittest.equals('foo')); |
unittest.expect(o.os, unittest.equals('foo')); |
- checkUnnamed757(o.otherAccountsInfo); |
+ checkUnnamed832(o.otherAccountsInfo); |
unittest.expect(o.privilege, unittest.equals('foo')); |
unittest.expect(o.releaseVersion, unittest.equals('foo')); |
unittest.expect(o.resourceId, unittest.equals('foo')); |
@@ -1087,14 +1087,14 @@ checkMobileDeviceAction(api.MobileDeviceAction o) { |
buildCounterMobileDeviceAction--; |
} |
-buildUnnamed758() { |
+buildUnnamed833() { |
var o = new core.List<api.MobileDevice>(); |
o.add(buildMobileDevice()); |
o.add(buildMobileDevice()); |
return o; |
} |
-checkUnnamed758(core.List<api.MobileDevice> o) { |
+checkUnnamed833(core.List<api.MobileDevice> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMobileDevice(o[0]); |
checkMobileDevice(o[1]); |
@@ -1107,7 +1107,7 @@ buildMobileDevices() { |
if (buildCounterMobileDevices < 3) { |
o.etag = "foo"; |
o.kind = "foo"; |
- o.mobiledevices = buildUnnamed758(); |
+ o.mobiledevices = buildUnnamed833(); |
o.nextPageToken = "foo"; |
} |
buildCounterMobileDevices--; |
@@ -1119,7 +1119,7 @@ checkMobileDevices(api.MobileDevices o) { |
if (buildCounterMobileDevices < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed758(o.mobiledevices); |
+ checkUnnamed833(o.mobiledevices); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterMobileDevices--; |
@@ -1158,14 +1158,14 @@ checkNotification(api.Notification o) { |
buildCounterNotification--; |
} |
-buildUnnamed759() { |
+buildUnnamed834() { |
var o = new core.List<api.Notification>(); |
o.add(buildNotification()); |
o.add(buildNotification()); |
return o; |
} |
-checkUnnamed759(core.List<api.Notification> o) { |
+checkUnnamed834(core.List<api.Notification> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkNotification(o[0]); |
checkNotification(o[1]); |
@@ -1177,7 +1177,7 @@ buildNotifications() { |
buildCounterNotifications++; |
if (buildCounterNotifications < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed759(); |
+ o.items = buildUnnamed834(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.unreadNotificationsCount = 42; |
@@ -1190,7 +1190,7 @@ checkNotifications(api.Notifications o) { |
buildCounterNotifications++; |
if (buildCounterNotifications < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed759(o.items); |
+ checkUnnamed834(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); |
@@ -1233,14 +1233,14 @@ checkOrgUnit(api.OrgUnit o) { |
buildCounterOrgUnit--; |
} |
-buildUnnamed760() { |
+buildUnnamed835() { |
var o = new core.List<api.OrgUnit>(); |
o.add(buildOrgUnit()); |
o.add(buildOrgUnit()); |
return o; |
} |
-checkUnnamed760(core.List<api.OrgUnit> o) { |
+checkUnnamed835(core.List<api.OrgUnit> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOrgUnit(o[0]); |
checkOrgUnit(o[1]); |
@@ -1253,7 +1253,7 @@ buildOrgUnits() { |
if (buildCounterOrgUnits < 3) { |
o.etag = "foo"; |
o.kind = "foo"; |
- o.organizationUnits = buildUnnamed760(); |
+ o.organizationUnits = buildUnnamed835(); |
} |
buildCounterOrgUnits--; |
return o; |
@@ -1264,19 +1264,19 @@ checkOrgUnits(api.OrgUnits o) { |
if (buildCounterOrgUnits < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed760(o.organizationUnits); |
+ checkUnnamed835(o.organizationUnits); |
} |
buildCounterOrgUnits--; |
} |
-buildUnnamed761() { |
+buildUnnamed836() { |
var o = new core.List<api.Privilege>(); |
o.add(buildPrivilege()); |
o.add(buildPrivilege()); |
return o; |
} |
-checkUnnamed761(core.List<api.Privilege> o) { |
+checkUnnamed836(core.List<api.Privilege> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPrivilege(o[0]); |
checkPrivilege(o[1]); |
@@ -1287,7 +1287,7 @@ buildPrivilege() { |
var o = new api.Privilege(); |
buildCounterPrivilege++; |
if (buildCounterPrivilege < 3) { |
- o.childPrivileges = buildUnnamed761(); |
+ o.childPrivileges = buildUnnamed836(); |
o.etag = "foo"; |
o.isOuScopable = true; |
o.kind = "foo"; |
@@ -1302,7 +1302,7 @@ buildPrivilege() { |
checkPrivilege(api.Privilege o) { |
buildCounterPrivilege++; |
if (buildCounterPrivilege < 3) { |
- checkUnnamed761(o.childPrivileges); |
+ checkUnnamed836(o.childPrivileges); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.isOuScopable, unittest.isTrue); |
unittest.expect(o.kind, unittest.equals('foo')); |
@@ -1313,14 +1313,14 @@ checkPrivilege(api.Privilege o) { |
buildCounterPrivilege--; |
} |
-buildUnnamed762() { |
+buildUnnamed837() { |
var o = new core.List<api.Privilege>(); |
o.add(buildPrivilege()); |
o.add(buildPrivilege()); |
return o; |
} |
-checkUnnamed762(core.List<api.Privilege> o) { |
+checkUnnamed837(core.List<api.Privilege> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPrivilege(o[0]); |
checkPrivilege(o[1]); |
@@ -1332,7 +1332,7 @@ buildPrivileges() { |
buildCounterPrivileges++; |
if (buildCounterPrivileges < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed762(); |
+ o.items = buildUnnamed837(); |
o.kind = "foo"; |
} |
buildCounterPrivileges--; |
@@ -1343,7 +1343,7 @@ checkPrivileges(api.Privileges o) { |
buildCounterPrivileges++; |
if (buildCounterPrivileges < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed762(o.items); |
+ checkUnnamed837(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterPrivileges--; |
@@ -1370,14 +1370,14 @@ checkRoleRolePrivileges(api.RoleRolePrivileges o) { |
buildCounterRoleRolePrivileges--; |
} |
-buildUnnamed763() { |
+buildUnnamed838() { |
var o = new core.List<api.RoleRolePrivileges>(); |
o.add(buildRoleRolePrivileges()); |
o.add(buildRoleRolePrivileges()); |
return o; |
} |
-checkUnnamed763(core.List<api.RoleRolePrivileges> o) { |
+checkUnnamed838(core.List<api.RoleRolePrivileges> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRoleRolePrivileges(o[0]); |
checkRoleRolePrivileges(o[1]); |
@@ -1395,7 +1395,7 @@ buildRole() { |
o.roleDescription = "foo"; |
o.roleId = "foo"; |
o.roleName = "foo"; |
- o.rolePrivileges = buildUnnamed763(); |
+ o.rolePrivileges = buildUnnamed838(); |
} |
buildCounterRole--; |
return o; |
@@ -1411,7 +1411,7 @@ checkRole(api.Role o) { |
unittest.expect(o.roleDescription, unittest.equals('foo')); |
unittest.expect(o.roleId, unittest.equals('foo')); |
unittest.expect(o.roleName, unittest.equals('foo')); |
- checkUnnamed763(o.rolePrivileges); |
+ checkUnnamed838(o.rolePrivileges); |
} |
buildCounterRole--; |
} |
@@ -1447,14 +1447,14 @@ checkRoleAssignment(api.RoleAssignment o) { |
buildCounterRoleAssignment--; |
} |
-buildUnnamed764() { |
+buildUnnamed839() { |
var o = new core.List<api.RoleAssignment>(); |
o.add(buildRoleAssignment()); |
o.add(buildRoleAssignment()); |
return o; |
} |
-checkUnnamed764(core.List<api.RoleAssignment> o) { |
+checkUnnamed839(core.List<api.RoleAssignment> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRoleAssignment(o[0]); |
checkRoleAssignment(o[1]); |
@@ -1466,7 +1466,7 @@ buildRoleAssignments() { |
buildCounterRoleAssignments++; |
if (buildCounterRoleAssignments < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed764(); |
+ o.items = buildUnnamed839(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
} |
@@ -1478,21 +1478,21 @@ checkRoleAssignments(api.RoleAssignments o) { |
buildCounterRoleAssignments++; |
if (buildCounterRoleAssignments < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed764(o.items); |
+ checkUnnamed839(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterRoleAssignments--; |
} |
-buildUnnamed765() { |
+buildUnnamed840() { |
var o = new core.List<api.Role>(); |
o.add(buildRole()); |
o.add(buildRole()); |
return o; |
} |
-checkUnnamed765(core.List<api.Role> o) { |
+checkUnnamed840(core.List<api.Role> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRole(o[0]); |
checkRole(o[1]); |
@@ -1504,7 +1504,7 @@ buildRoles() { |
buildCounterRoles++; |
if (buildCounterRoles < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed765(); |
+ o.items = buildUnnamed840(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
} |
@@ -1516,21 +1516,21 @@ checkRoles(api.Roles o) { |
buildCounterRoles++; |
if (buildCounterRoles < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed765(o.items); |
+ checkUnnamed840(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterRoles--; |
} |
-buildUnnamed766() { |
+buildUnnamed841() { |
var o = new core.List<api.SchemaFieldSpec>(); |
o.add(buildSchemaFieldSpec()); |
o.add(buildSchemaFieldSpec()); |
return o; |
} |
-checkUnnamed766(core.List<api.SchemaFieldSpec> o) { |
+checkUnnamed841(core.List<api.SchemaFieldSpec> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSchemaFieldSpec(o[0]); |
checkSchemaFieldSpec(o[1]); |
@@ -1542,7 +1542,7 @@ buildSchema() { |
buildCounterSchema++; |
if (buildCounterSchema < 3) { |
o.etag = "foo"; |
- o.fields = buildUnnamed766(); |
+ o.fields = buildUnnamed841(); |
o.kind = "foo"; |
o.schemaId = "foo"; |
o.schemaName = "foo"; |
@@ -1555,7 +1555,7 @@ checkSchema(api.Schema o) { |
buildCounterSchema++; |
if (buildCounterSchema < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed766(o.fields); |
+ checkUnnamed841(o.fields); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.schemaId, unittest.equals('foo')); |
unittest.expect(o.schemaName, unittest.equals('foo')); |
@@ -1619,14 +1619,14 @@ checkSchemaFieldSpec(api.SchemaFieldSpec o) { |
buildCounterSchemaFieldSpec--; |
} |
-buildUnnamed767() { |
+buildUnnamed842() { |
var o = new core.List<api.Schema>(); |
o.add(buildSchema()); |
o.add(buildSchema()); |
return o; |
} |
-checkUnnamed767(core.List<api.Schema> o) { |
+checkUnnamed842(core.List<api.Schema> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSchema(o[0]); |
checkSchema(o[1]); |
@@ -1639,7 +1639,7 @@ buildSchemas() { |
if (buildCounterSchemas < 3) { |
o.etag = "foo"; |
o.kind = "foo"; |
- o.schemas = buildUnnamed767(); |
+ o.schemas = buildUnnamed842(); |
} |
buildCounterSchemas--; |
return o; |
@@ -1650,19 +1650,19 @@ checkSchemas(api.Schemas o) { |
if (buildCounterSchemas < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed767(o.schemas); |
+ checkUnnamed842(o.schemas); |
} |
buildCounterSchemas--; |
} |
-buildUnnamed768() { |
+buildUnnamed843() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed768(core.List<core.String> o) { |
+checkUnnamed843(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -1679,7 +1679,7 @@ buildToken() { |
o.etag = "foo"; |
o.kind = "foo"; |
o.nativeApp = true; |
- o.scopes = buildUnnamed768(); |
+ o.scopes = buildUnnamed843(); |
o.userKey = "foo"; |
} |
buildCounterToken--; |
@@ -1695,20 +1695,20 @@ checkToken(api.Token o) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nativeApp, unittest.isTrue); |
- checkUnnamed768(o.scopes); |
+ checkUnnamed843(o.scopes); |
unittest.expect(o.userKey, unittest.equals('foo')); |
} |
buildCounterToken--; |
} |
-buildUnnamed769() { |
+buildUnnamed844() { |
var o = new core.List<api.Token>(); |
o.add(buildToken()); |
o.add(buildToken()); |
return o; |
} |
-checkUnnamed769(core.List<api.Token> o) { |
+checkUnnamed844(core.List<api.Token> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkToken(o[0]); |
checkToken(o[1]); |
@@ -1720,7 +1720,7 @@ buildTokens() { |
buildCounterTokens++; |
if (buildCounterTokens < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed769(); |
+ o.items = buildUnnamed844(); |
o.kind = "foo"; |
} |
buildCounterTokens--; |
@@ -1731,46 +1731,46 @@ checkTokens(api.Tokens o) { |
buildCounterTokens++; |
if (buildCounterTokens < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed769(o.items); |
+ checkUnnamed844(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterTokens--; |
} |
-buildUnnamed770() { |
+buildUnnamed845() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed770(core.List<core.String> o) { |
+checkUnnamed845(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed771() { |
+buildUnnamed846() { |
var o = new core.Map<core.String, api.UserCustomProperties>(); |
o["x"] = buildUserCustomProperties(); |
o["y"] = buildUserCustomProperties(); |
return o; |
} |
-checkUnnamed771(core.Map<core.String, api.UserCustomProperties> o) { |
+checkUnnamed846(core.Map<core.String, api.UserCustomProperties> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUserCustomProperties(o["x"]); |
checkUserCustomProperties(o["y"]); |
} |
-buildUnnamed772() { |
+buildUnnamed847() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed772(core.List<core.String> o) { |
+checkUnnamed847(core.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,10 +1783,10 @@ buildUser() { |
if (buildCounterUser < 3) { |
o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o.agreedToTerms = true; |
- o.aliases = buildUnnamed770(); |
+ o.aliases = buildUnnamed845(); |
o.changePasswordAtNextLogin = true; |
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
- o.customSchemas = buildUnnamed771(); |
+ o.customSchemas = buildUnnamed846(); |
o.customerId = "foo"; |
o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); |
o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
@@ -1803,10 +1803,11 @@ buildUser() { |
o.isEnrolledIn2Sv = true; |
o.isMailboxSetup = true; |
o.kind = "foo"; |
+ o.languages = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); |
o.locations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o.name = buildUserName(); |
- o.nonEditableAliases = buildUnnamed772(); |
+ o.nonEditableAliases = buildUnnamed847(); |
o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o.orgUnitPath = "foo"; |
o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
@@ -1831,10 +1832,10 @@ checkUser(api.User o) { |
if (buildCounterUser < 3) { |
var casted3 = (o.addresses) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); |
unittest.expect(o.agreedToTerms, unittest.isTrue); |
- checkUnnamed770(o.aliases); |
+ checkUnnamed845(o.aliases); |
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); |
unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
- checkUnnamed771(o.customSchemas); |
+ checkUnnamed846(o.customSchemas); |
unittest.expect(o.customerId, unittest.equals('foo')); |
unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
var casted4 = (o.emails) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); |
@@ -1851,24 +1852,25 @@ checkUser(api.User o) { |
unittest.expect(o.isEnrolledIn2Sv, unittest.isTrue); |
unittest.expect(o.isMailboxSetup, unittest.isTrue); |
unittest.expect(o.kind, unittest.equals('foo')); |
+ var casted7 = (o.languages) 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')); |
unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
- var casted7 = (o.locations) 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.locations) 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')); |
checkUserName(o.name); |
- checkUnnamed772(o.nonEditableAliases); |
- var casted8 = (o.notes) 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')); |
+ checkUnnamed847(o.nonEditableAliases); |
+ var casted9 = (o.notes) 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')); |
unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
- var casted9 = (o.organizations) 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.organizations) 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')); |
unittest.expect(o.password, unittest.equals('foo')); |
- var casted10 = (o.phones) 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')); |
- var casted11 = (o.posixAccounts) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo')); |
+ var casted11 = (o.phones) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo')); |
+ var casted12 = (o.posixAccounts) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo')); |
unittest.expect(o.primaryEmail, unittest.equals('foo')); |
- var casted12 = (o.relations) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo')); |
- var casted13 = (o.sshPublicKeys) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo')); |
+ var casted13 = (o.relations) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo')); |
+ var casted14 = (o.sshPublicKeys) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo')); |
unittest.expect(o.suspended, unittest.isTrue); |
unittest.expect(o.suspensionReason, unittest.equals('foo')); |
unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo')); |
unittest.expect(o.thumbnailPhotoUrl, unittest.equals('foo')); |
- var casted14 = (o.websites) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo')); |
+ var casted15 = (o.websites) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo')); |
} |
buildCounterUser--; |
} |
@@ -1946,8 +1948,8 @@ buildUserCustomProperties() { |
checkUserCustomProperties(api.UserCustomProperties o) { |
unittest.expect(o, unittest.hasLength(2)); |
- var casted15 = (o["a"]) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo')); |
- var casted16 = (o["b"]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo')); |
+ var casted16 = (o["a"]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo')); |
+ var casted17 = (o["b"]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo')); |
} |
core.int buildCounterUserEmail = 0; |
@@ -2027,6 +2029,27 @@ checkUserIm(api.UserIm o) { |
buildCounterUserIm--; |
} |
+core.int buildCounterUserLanguage = 0; |
+buildUserLanguage() { |
+ var o = new api.UserLanguage(); |
+ buildCounterUserLanguage++; |
+ if (buildCounterUserLanguage < 3) { |
+ o.customLanguage = "foo"; |
+ o.languageCode = "foo"; |
+ } |
+ buildCounterUserLanguage--; |
+ return o; |
+} |
+ |
+checkUserLanguage(api.UserLanguage o) { |
+ buildCounterUserLanguage++; |
+ if (buildCounterUserLanguage < 3) { |
+ unittest.expect(o.customLanguage, unittest.equals('foo')); |
+ unittest.expect(o.languageCode, unittest.equals('foo')); |
+ } |
+ buildCounterUserLanguage--; |
+} |
+ |
core.int buildCounterUserLocation = 0; |
buildUserLocation() { |
var o = new api.UserLocation(); |
@@ -2110,6 +2133,7 @@ buildUserOrganization() { |
o.department = "foo"; |
o.description = "foo"; |
o.domain = "foo"; |
+ o.fullTimeEquivalent = 42; |
o.location = "foo"; |
o.name = "foo"; |
o.primary = true; |
@@ -2129,6 +2153,7 @@ checkUserOrganization(api.UserOrganization o) { |
unittest.expect(o.department, unittest.equals('foo')); |
unittest.expect(o.description, unittest.equals('foo')); |
unittest.expect(o.domain, unittest.equals('foo')); |
+ unittest.expect(o.fullTimeEquivalent, unittest.equals(42)); |
unittest.expect(o.location, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.primary, unittest.isTrue); |
@@ -2320,14 +2345,14 @@ checkUserWebsite(api.UserWebsite o) { |
buildCounterUserWebsite--; |
} |
-buildUnnamed773() { |
+buildUnnamed848() { |
var o = new core.List<api.User>(); |
o.add(buildUser()); |
o.add(buildUser()); |
return o; |
} |
-checkUnnamed773(core.List<api.User> o) { |
+checkUnnamed848(core.List<api.User> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUser(o[0]); |
checkUser(o[1]); |
@@ -2342,7 +2367,7 @@ buildUsers() { |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.triggerEvent = "foo"; |
- o.users = buildUnnamed773(); |
+ o.users = buildUnnamed848(); |
} |
buildCounterUsers--; |
return o; |
@@ -2355,7 +2380,7 @@ checkUsers(api.Users o) { |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.triggerEvent, unittest.equals('foo')); |
- checkUnnamed773(o.users); |
+ checkUnnamed848(o.users); |
} |
buildCounterUsers--; |
} |
@@ -2385,14 +2410,14 @@ checkVerificationCode(api.VerificationCode o) { |
buildCounterVerificationCode--; |
} |
-buildUnnamed774() { |
+buildUnnamed849() { |
var o = new core.List<api.VerificationCode>(); |
o.add(buildVerificationCode()); |
o.add(buildVerificationCode()); |
return o; |
} |
-checkUnnamed774(core.List<api.VerificationCode> o) { |
+checkUnnamed849(core.List<api.VerificationCode> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVerificationCode(o[0]); |
checkVerificationCode(o[1]); |
@@ -2404,7 +2429,7 @@ buildVerificationCodes() { |
buildCounterVerificationCodes++; |
if (buildCounterVerificationCodes < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed774(); |
+ o.items = buildUnnamed849(); |
o.kind = "foo"; |
} |
buildCounterVerificationCodes--; |
@@ -2415,59 +2440,59 @@ checkVerificationCodes(api.VerificationCodes o) { |
buildCounterVerificationCodes++; |
if (buildCounterVerificationCodes < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed774(o.items); |
+ checkUnnamed849(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterVerificationCodes--; |
} |
-buildUnnamed775() { |
+buildUnnamed850() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed775(core.List<core.String> o) { |
+checkUnnamed850(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed776() { |
+buildUnnamed851() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed776(core.List<core.String> o) { |
+checkUnnamed851(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed777() { |
+buildUnnamed852() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed777(core.List<core.String> o) { |
+checkUnnamed852(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed778() { |
+buildUnnamed853() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed778(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')); |
@@ -2925,6 +2950,15 @@ main() { |
}); |
+ unittest.group("obj-schema-UserLanguage", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildUserLanguage(); |
+ var od = new api.UserLanguage.fromJson(o.toJson()); |
+ checkUserLanguage(od); |
+ }); |
+ }); |
+ |
+ |
unittest.group("obj-schema-UserLocation", () { |
unittest.test("to-json--from-json", () { |
var o = buildUserLocation(); |
@@ -3399,6 +3433,7 @@ main() { |
var arg_customerId = "foo"; |
var arg_maxResults = 42; |
var arg_orderBy = "foo"; |
+ var arg_orgUnitPath = "foo"; |
var arg_pageToken = "foo"; |
var arg_projection = "foo"; |
var arg_query = "foo"; |
@@ -3440,6 +3475,7 @@ main() { |
} |
unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults)); |
unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy)); |
+ unittest.expect(queryMap["orgUnitPath"].first, unittest.equals(arg_orgUnitPath)); |
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); |
unittest.expect(queryMap["projection"].first, unittest.equals(arg_projection)); |
unittest.expect(queryMap["query"].first, unittest.equals(arg_query)); |
@@ -3452,7 +3488,7 @@ main() { |
var resp = convert.JSON.encode(buildChromeOsDevices()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_customerId, maxResults: arg_maxResults, orderBy: arg_orderBy, pageToken: arg_pageToken, projection: arg_projection, query: arg_query, sortOrder: arg_sortOrder).then(unittest.expectAsync1(((api.ChromeOsDevices response) { |
+ res.list(arg_customerId, maxResults: arg_maxResults, orderBy: arg_orderBy, orgUnitPath: arg_orgUnitPath, pageToken: arg_pageToken, projection: arg_projection, query: arg_query, sortOrder: arg_sortOrder).then(unittest.expectAsync1(((api.ChromeOsDevices response) { |
checkChromeOsDevices(response); |
}))); |
}); |
@@ -5581,7 +5617,7 @@ main() { |
var mock = new HttpServerMock(); |
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
var arg_customerId = "foo"; |
- var arg_orgUnitPath = buildUnnamed775(); |
+ var arg_orgUnitPath = buildUnnamed850(); |
mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -5635,7 +5671,7 @@ main() { |
var mock = new HttpServerMock(); |
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
var arg_customerId = "foo"; |
- var arg_orgUnitPath = buildUnnamed776(); |
+ var arg_orgUnitPath = buildUnnamed851(); |
mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -5806,7 +5842,7 @@ main() { |
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
var arg_request = buildOrgUnit(); |
var arg_customerId = "foo"; |
- var arg_orgUnitPath = buildUnnamed777(); |
+ var arg_orgUnitPath = buildUnnamed852(); |
mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
var obj = new api.OrgUnit.fromJson(json); |
checkOrgUnit(obj); |
@@ -5866,7 +5902,7 @@ main() { |
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
var arg_request = buildOrgUnit(); |
var arg_customerId = "foo"; |
- var arg_orgUnitPath = buildUnnamed778(); |
+ var arg_orgUnitPath = buildUnnamed853(); |
mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
var obj = new api.OrgUnit.fromJson(json); |
checkOrgUnit(obj); |