Index: generated/googleapis/test/drive/v2_test.dart |
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart |
index 492126d0611c282c8c9b923129fd3d6c51eb84a7..e3f6310330a42c62e17babda8d41f7ae566fecaf 100644 |
--- a/generated/googleapis/test/drive/v2_test.dart |
+++ b/generated/googleapis/test/drive/v2_test.dart |
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse( |
return new http.StreamedResponse(stream, status, headers: headers); |
} |
-buildUnnamed631() { |
+buildUnnamed617() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed631(core.List<core.String> o) { |
+checkUnnamed617(core.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 @@ buildAboutAdditionalRoleInfoRoleSets() { |
var o = new api.AboutAdditionalRoleInfoRoleSets(); |
buildCounterAboutAdditionalRoleInfoRoleSets++; |
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { |
- o.additionalRoles = buildUnnamed631(); |
+ o.additionalRoles = buildUnnamed617(); |
o.primaryRole = "foo"; |
} |
buildCounterAboutAdditionalRoleInfoRoleSets--; |
@@ -79,20 +79,20 @@ buildAboutAdditionalRoleInfoRoleSets() { |
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { |
buildCounterAboutAdditionalRoleInfoRoleSets++; |
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { |
- checkUnnamed631(o.additionalRoles); |
+ checkUnnamed617(o.additionalRoles); |
unittest.expect(o.primaryRole, unittest.equals('foo')); |
} |
buildCounterAboutAdditionalRoleInfoRoleSets--; |
} |
-buildUnnamed632() { |
+buildUnnamed618() { |
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); |
o.add(buildAboutAdditionalRoleInfoRoleSets()); |
o.add(buildAboutAdditionalRoleInfoRoleSets()); |
return o; |
} |
-checkUnnamed632(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { |
+checkUnnamed618(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutAdditionalRoleInfoRoleSets(o[0]); |
checkAboutAdditionalRoleInfoRoleSets(o[1]); |
@@ -103,7 +103,7 @@ buildAboutAdditionalRoleInfo() { |
var o = new api.AboutAdditionalRoleInfo(); |
buildCounterAboutAdditionalRoleInfo++; |
if (buildCounterAboutAdditionalRoleInfo < 3) { |
- o.roleSets = buildUnnamed632(); |
+ o.roleSets = buildUnnamed618(); |
o.type = "foo"; |
} |
buildCounterAboutAdditionalRoleInfo--; |
@@ -113,33 +113,33 @@ buildAboutAdditionalRoleInfo() { |
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { |
buildCounterAboutAdditionalRoleInfo++; |
if (buildCounterAboutAdditionalRoleInfo < 3) { |
- checkUnnamed632(o.roleSets); |
+ checkUnnamed618(o.roleSets); |
unittest.expect(o.type, unittest.equals('foo')); |
} |
buildCounterAboutAdditionalRoleInfo--; |
} |
-buildUnnamed633() { |
+buildUnnamed619() { |
var o = new core.List<api.AboutAdditionalRoleInfo>(); |
o.add(buildAboutAdditionalRoleInfo()); |
o.add(buildAboutAdditionalRoleInfo()); |
return o; |
} |
-checkUnnamed633(core.List<api.AboutAdditionalRoleInfo> o) { |
+checkUnnamed619(core.List<api.AboutAdditionalRoleInfo> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutAdditionalRoleInfo(o[0]); |
checkAboutAdditionalRoleInfo(o[1]); |
} |
-buildUnnamed634() { |
+buildUnnamed620() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed634(core.List<core.String> o) { |
+checkUnnamed620(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -151,7 +151,7 @@ buildAboutExportFormats() { |
buildCounterAboutExportFormats++; |
if (buildCounterAboutExportFormats < 3) { |
o.source = "foo"; |
- o.targets = buildUnnamed634(); |
+ o.targets = buildUnnamed620(); |
} |
buildCounterAboutExportFormats--; |
return o; |
@@ -161,19 +161,19 @@ checkAboutExportFormats(api.AboutExportFormats o) { |
buildCounterAboutExportFormats++; |
if (buildCounterAboutExportFormats < 3) { |
unittest.expect(o.source, unittest.equals('foo')); |
- checkUnnamed634(o.targets); |
+ checkUnnamed620(o.targets); |
} |
buildCounterAboutExportFormats--; |
} |
-buildUnnamed635() { |
+buildUnnamed621() { |
var o = new core.List<api.AboutExportFormats>(); |
o.add(buildAboutExportFormats()); |
o.add(buildAboutExportFormats()); |
return o; |
} |
-checkUnnamed635(core.List<api.AboutExportFormats> o) { |
+checkUnnamed621(core.List<api.AboutExportFormats> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutExportFormats(o[0]); |
checkAboutExportFormats(o[1]); |
@@ -200,40 +200,40 @@ checkAboutFeatures(api.AboutFeatures o) { |
buildCounterAboutFeatures--; |
} |
-buildUnnamed636() { |
+buildUnnamed622() { |
var o = new core.List<api.AboutFeatures>(); |
o.add(buildAboutFeatures()); |
o.add(buildAboutFeatures()); |
return o; |
} |
-checkUnnamed636(core.List<api.AboutFeatures> o) { |
+checkUnnamed622(core.List<api.AboutFeatures> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutFeatures(o[0]); |
checkAboutFeatures(o[1]); |
} |
-buildUnnamed637() { |
+buildUnnamed623() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed637(core.List<core.String> o) { |
+checkUnnamed623(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed638() { |
+buildUnnamed624() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed638(core.List<core.String> o) { |
+checkUnnamed624(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -245,7 +245,7 @@ buildAboutImportFormats() { |
buildCounterAboutImportFormats++; |
if (buildCounterAboutImportFormats < 3) { |
o.source = "foo"; |
- o.targets = buildUnnamed638(); |
+ o.targets = buildUnnamed624(); |
} |
buildCounterAboutImportFormats--; |
return o; |
@@ -255,19 +255,19 @@ checkAboutImportFormats(api.AboutImportFormats o) { |
buildCounterAboutImportFormats++; |
if (buildCounterAboutImportFormats < 3) { |
unittest.expect(o.source, unittest.equals('foo')); |
- checkUnnamed638(o.targets); |
+ checkUnnamed624(o.targets); |
} |
buildCounterAboutImportFormats--; |
} |
-buildUnnamed639() { |
+buildUnnamed625() { |
var o = new core.List<api.AboutImportFormats>(); |
o.add(buildAboutImportFormats()); |
o.add(buildAboutImportFormats()); |
return o; |
} |
-checkUnnamed639(core.List<api.AboutImportFormats> o) { |
+checkUnnamed625(core.List<api.AboutImportFormats> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutImportFormats(o[0]); |
checkAboutImportFormats(o[1]); |
@@ -294,14 +294,14 @@ checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { |
buildCounterAboutMaxUploadSizes--; |
} |
-buildUnnamed640() { |
+buildUnnamed626() { |
var o = new core.List<api.AboutMaxUploadSizes>(); |
o.add(buildAboutMaxUploadSizes()); |
o.add(buildAboutMaxUploadSizes()); |
return o; |
} |
-checkUnnamed640(core.List<api.AboutMaxUploadSizes> o) { |
+checkUnnamed626(core.List<api.AboutMaxUploadSizes> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutMaxUploadSizes(o[0]); |
checkAboutMaxUploadSizes(o[1]); |
@@ -328,39 +328,75 @@ checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { |
buildCounterAboutQuotaBytesByService--; |
} |
-buildUnnamed641() { |
+buildUnnamed627() { |
var o = new core.List<api.AboutQuotaBytesByService>(); |
o.add(buildAboutQuotaBytesByService()); |
o.add(buildAboutQuotaBytesByService()); |
return o; |
} |
-checkUnnamed641(core.List<api.AboutQuotaBytesByService> o) { |
+checkUnnamed627(core.List<api.AboutQuotaBytesByService> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutQuotaBytesByService(o[0]); |
checkAboutQuotaBytesByService(o[1]); |
} |
+core.int buildCounterAboutTeamDriveThemes = 0; |
+buildAboutTeamDriveThemes() { |
+ var o = new api.AboutTeamDriveThemes(); |
+ buildCounterAboutTeamDriveThemes++; |
+ if (buildCounterAboutTeamDriveThemes < 3) { |
+ o.backgroundImageLink = "foo"; |
+ o.colorRgb = "foo"; |
+ o.id = "foo"; |
+ } |
+ buildCounterAboutTeamDriveThemes--; |
+ return o; |
+} |
+ |
+checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) { |
+ buildCounterAboutTeamDriveThemes++; |
+ if (buildCounterAboutTeamDriveThemes < 3) { |
+ unittest.expect(o.backgroundImageLink, unittest.equals('foo')); |
+ unittest.expect(o.colorRgb, unittest.equals('foo')); |
+ unittest.expect(o.id, unittest.equals('foo')); |
+ } |
+ buildCounterAboutTeamDriveThemes--; |
+} |
+ |
+buildUnnamed628() { |
+ var o = new core.List<api.AboutTeamDriveThemes>(); |
+ o.add(buildAboutTeamDriveThemes()); |
+ o.add(buildAboutTeamDriveThemes()); |
+ return o; |
+} |
+ |
+checkUnnamed628(core.List<api.AboutTeamDriveThemes> o) { |
+ unittest.expect(o, unittest.hasLength(2)); |
+ checkAboutTeamDriveThemes(o[0]); |
+ checkAboutTeamDriveThemes(o[1]); |
+} |
+ |
core.int buildCounterAbout = 0; |
buildAbout() { |
var o = new api.About(); |
buildCounterAbout++; |
if (buildCounterAbout < 3) { |
- o.additionalRoleInfo = buildUnnamed633(); |
+ o.additionalRoleInfo = buildUnnamed619(); |
o.domainSharingPolicy = "foo"; |
o.etag = "foo"; |
- o.exportFormats = buildUnnamed635(); |
- o.features = buildUnnamed636(); |
- o.folderColorPalette = buildUnnamed637(); |
- o.importFormats = buildUnnamed639(); |
+ o.exportFormats = buildUnnamed621(); |
+ o.features = buildUnnamed622(); |
+ o.folderColorPalette = buildUnnamed623(); |
+ o.importFormats = buildUnnamed625(); |
o.isCurrentAppInstalled = true; |
o.kind = "foo"; |
o.languageCode = "foo"; |
o.largestChangeId = "foo"; |
- o.maxUploadSizes = buildUnnamed640(); |
+ o.maxUploadSizes = buildUnnamed626(); |
o.name = "foo"; |
o.permissionId = "foo"; |
- o.quotaBytesByService = buildUnnamed641(); |
+ o.quotaBytesByService = buildUnnamed627(); |
o.quotaBytesTotal = "foo"; |
o.quotaBytesUsed = "foo"; |
o.quotaBytesUsedAggregate = "foo"; |
@@ -369,6 +405,7 @@ buildAbout() { |
o.remainingChangeIds = "foo"; |
o.rootFolderId = "foo"; |
o.selfLink = "foo"; |
+ o.teamDriveThemes = buildUnnamed628(); |
o.user = buildUser(); |
} |
buildCounterAbout--; |
@@ -378,21 +415,21 @@ buildAbout() { |
checkAbout(api.About o) { |
buildCounterAbout++; |
if (buildCounterAbout < 3) { |
- checkUnnamed633(o.additionalRoleInfo); |
+ checkUnnamed619(o.additionalRoleInfo); |
unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed635(o.exportFormats); |
- checkUnnamed636(o.features); |
- checkUnnamed637(o.folderColorPalette); |
- checkUnnamed639(o.importFormats); |
+ checkUnnamed621(o.exportFormats); |
+ checkUnnamed622(o.features); |
+ checkUnnamed623(o.folderColorPalette); |
+ checkUnnamed625(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')); |
- checkUnnamed640(o.maxUploadSizes); |
+ checkUnnamed626(o.maxUploadSizes); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.permissionId, unittest.equals('foo')); |
- checkUnnamed641(o.quotaBytesByService); |
+ checkUnnamed627(o.quotaBytesByService); |
unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); |
unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); |
@@ -401,6 +438,7 @@ checkAbout(api.About o) { |
unittest.expect(o.remainingChangeIds, unittest.equals('foo')); |
unittest.expect(o.rootFolderId, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
+ checkUnnamed628(o.teamDriveThemes); |
checkUser(o.user); |
} |
buildCounterAbout--; |
@@ -429,66 +467,66 @@ checkAppIcons(api.AppIcons o) { |
buildCounterAppIcons--; |
} |
-buildUnnamed642() { |
+buildUnnamed629() { |
var o = new core.List<api.AppIcons>(); |
o.add(buildAppIcons()); |
o.add(buildAppIcons()); |
return o; |
} |
-checkUnnamed642(core.List<api.AppIcons> o) { |
+checkUnnamed629(core.List<api.AppIcons> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAppIcons(o[0]); |
checkAppIcons(o[1]); |
} |
-buildUnnamed643() { |
+buildUnnamed630() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed643(core.List<core.String> o) { |
+checkUnnamed630(core.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() { |
+buildUnnamed631() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed644(core.List<core.String> o) { |
+checkUnnamed631(core.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() { |
+buildUnnamed632() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed645(core.List<core.String> o) { |
+checkUnnamed632(core.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() { |
+buildUnnamed633() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed646(core.List<core.String> o) { |
+checkUnnamed633(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -503,7 +541,7 @@ buildApp() { |
o.createInFolderTemplate = "foo"; |
o.createUrl = "foo"; |
o.hasDriveWideScope = true; |
- o.icons = buildUnnamed642(); |
+ o.icons = buildUnnamed629(); |
o.id = "foo"; |
o.installed = true; |
o.kind = "foo"; |
@@ -511,12 +549,12 @@ buildApp() { |
o.name = "foo"; |
o.objectType = "foo"; |
o.openUrlTemplate = "foo"; |
- o.primaryFileExtensions = buildUnnamed643(); |
- o.primaryMimeTypes = buildUnnamed644(); |
+ o.primaryFileExtensions = buildUnnamed630(); |
+ o.primaryMimeTypes = buildUnnamed631(); |
o.productId = "foo"; |
o.productUrl = "foo"; |
- o.secondaryFileExtensions = buildUnnamed645(); |
- o.secondaryMimeTypes = buildUnnamed646(); |
+ o.secondaryFileExtensions = buildUnnamed632(); |
+ o.secondaryMimeTypes = buildUnnamed633(); |
o.shortDescription = "foo"; |
o.supportsCreate = true; |
o.supportsImport = true; |
@@ -535,7 +573,7 @@ checkApp(api.App o) { |
unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); |
unittest.expect(o.createUrl, unittest.equals('foo')); |
unittest.expect(o.hasDriveWideScope, unittest.isTrue); |
- checkUnnamed642(o.icons); |
+ checkUnnamed629(o.icons); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.installed, unittest.isTrue); |
unittest.expect(o.kind, unittest.equals('foo')); |
@@ -543,12 +581,12 @@ checkApp(api.App o) { |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.objectType, unittest.equals('foo')); |
unittest.expect(o.openUrlTemplate, unittest.equals('foo')); |
- checkUnnamed643(o.primaryFileExtensions); |
- checkUnnamed644(o.primaryMimeTypes); |
+ checkUnnamed630(o.primaryFileExtensions); |
+ checkUnnamed631(o.primaryMimeTypes); |
unittest.expect(o.productId, unittest.equals('foo')); |
unittest.expect(o.productUrl, unittest.equals('foo')); |
- checkUnnamed645(o.secondaryFileExtensions); |
- checkUnnamed646(o.secondaryMimeTypes); |
+ checkUnnamed632(o.secondaryFileExtensions); |
+ checkUnnamed633(o.secondaryMimeTypes); |
unittest.expect(o.shortDescription, unittest.equals('foo')); |
unittest.expect(o.supportsCreate, unittest.isTrue); |
unittest.expect(o.supportsImport, unittest.isTrue); |
@@ -559,27 +597,27 @@ checkApp(api.App o) { |
buildCounterApp--; |
} |
-buildUnnamed647() { |
+buildUnnamed634() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed647(core.List<core.String> o) { |
+checkUnnamed634(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
} |
-buildUnnamed648() { |
+buildUnnamed635() { |
var o = new core.List<api.App>(); |
o.add(buildApp()); |
o.add(buildApp()); |
return o; |
} |
-checkUnnamed648(core.List<api.App> o) { |
+checkUnnamed635(core.List<api.App> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkApp(o[0]); |
checkApp(o[1]); |
@@ -590,9 +628,9 @@ buildAppList() { |
var o = new api.AppList(); |
buildCounterAppList++; |
if (buildCounterAppList < 3) { |
- o.defaultAppIds = buildUnnamed647(); |
+ o.defaultAppIds = buildUnnamed634(); |
o.etag = "foo"; |
- o.items = buildUnnamed648(); |
+ o.items = buildUnnamed635(); |
o.kind = "foo"; |
o.selfLink = "foo"; |
} |
@@ -603,9 +641,9 @@ buildAppList() { |
checkAppList(api.AppList o) { |
buildCounterAppList++; |
if (buildCounterAppList < 3) { |
- checkUnnamed647(o.defaultAppIds); |
+ checkUnnamed634(o.defaultAppIds); |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed648(o.items); |
+ checkUnnamed635(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
} |
@@ -649,14 +687,14 @@ checkChange(api.Change o) { |
buildCounterChange--; |
} |
-buildUnnamed649() { |
+buildUnnamed636() { |
var o = new core.List<api.Change>(); |
o.add(buildChange()); |
o.add(buildChange()); |
return o; |
} |
-checkUnnamed649(core.List<api.Change> o) { |
+checkUnnamed636(core.List<api.Change> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChange(o[0]); |
checkChange(o[1]); |
@@ -668,7 +706,7 @@ buildChangeList() { |
buildCounterChangeList++; |
if (buildCounterChangeList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed649(); |
+ o.items = buildUnnamed636(); |
o.kind = "foo"; |
o.largestChangeId = "foo"; |
o.newStartPageToken = "foo"; |
@@ -684,7 +722,7 @@ checkChangeList(api.ChangeList o) { |
buildCounterChangeList++; |
if (buildCounterChangeList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed649(o.items); |
+ checkUnnamed636(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.largestChangeId, unittest.equals('foo')); |
unittest.expect(o.newStartPageToken, unittest.equals('foo')); |
@@ -695,14 +733,14 @@ checkChangeList(api.ChangeList o) { |
buildCounterChangeList--; |
} |
-buildUnnamed650() { |
+buildUnnamed637() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed650(core.Map<core.String, core.String> o) { |
+checkUnnamed637(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')); |
@@ -717,7 +755,7 @@ buildChannel() { |
o.expiration = "foo"; |
o.id = "foo"; |
o.kind = "foo"; |
- o.params = buildUnnamed650(); |
+ o.params = buildUnnamed637(); |
o.payload = true; |
o.resourceId = "foo"; |
o.resourceUri = "foo"; |
@@ -735,7 +773,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')); |
- checkUnnamed650(o.params); |
+ checkUnnamed637(o.params); |
unittest.expect(o.payload, unittest.isTrue); |
unittest.expect(o.resourceId, unittest.equals('foo')); |
unittest.expect(o.resourceUri, unittest.equals('foo')); |
@@ -745,14 +783,14 @@ checkChannel(api.Channel o) { |
buildCounterChannel--; |
} |
-buildUnnamed651() { |
+buildUnnamed638() { |
var o = new core.List<api.ChildReference>(); |
o.add(buildChildReference()); |
o.add(buildChildReference()); |
return o; |
} |
-checkUnnamed651(core.List<api.ChildReference> o) { |
+checkUnnamed638(core.List<api.ChildReference> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChildReference(o[0]); |
checkChildReference(o[1]); |
@@ -764,7 +802,7 @@ buildChildList() { |
buildCounterChildList++; |
if (buildCounterChildList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed651(); |
+ o.items = buildUnnamed638(); |
o.kind = "foo"; |
o.nextLink = "foo"; |
o.nextPageToken = "foo"; |
@@ -778,7 +816,7 @@ checkChildList(api.ChildList o) { |
buildCounterChildList++; |
if (buildCounterChildList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed651(o.items); |
+ checkUnnamed638(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -833,14 +871,14 @@ checkCommentContext(api.CommentContext o) { |
buildCounterCommentContext--; |
} |
-buildUnnamed652() { |
+buildUnnamed639() { |
var o = new core.List<api.CommentReply>(); |
o.add(buildCommentReply()); |
o.add(buildCommentReply()); |
return o; |
} |
-checkUnnamed652(core.List<api.CommentReply> o) { |
+checkUnnamed639(core.List<api.CommentReply> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCommentReply(o[0]); |
checkCommentReply(o[1]); |
@@ -863,7 +901,7 @@ buildComment() { |
o.htmlContent = "foo"; |
o.kind = "foo"; |
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
- o.replies = buildUnnamed652(); |
+ o.replies = buildUnnamed639(); |
o.selfLink = "foo"; |
o.status = "foo"; |
} |
@@ -886,21 +924,21 @@ checkComment(api.Comment o) { |
unittest.expect(o.htmlContent, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
- checkUnnamed652(o.replies); |
+ checkUnnamed639(o.replies); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
unittest.expect(o.status, unittest.equals('foo')); |
} |
buildCounterComment--; |
} |
-buildUnnamed653() { |
+buildUnnamed640() { |
var o = new core.List<api.Comment>(); |
o.add(buildComment()); |
o.add(buildComment()); |
return o; |
} |
-checkUnnamed653(core.List<api.Comment> o) { |
+checkUnnamed640(core.List<api.Comment> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkComment(o[0]); |
checkComment(o[1]); |
@@ -911,7 +949,7 @@ buildCommentList() { |
var o = new api.CommentList(); |
buildCounterCommentList++; |
if (buildCounterCommentList < 3) { |
- o.items = buildUnnamed653(); |
+ o.items = buildUnnamed640(); |
o.kind = "foo"; |
o.nextLink = "foo"; |
o.nextPageToken = "foo"; |
@@ -924,7 +962,7 @@ buildCommentList() { |
checkCommentList(api.CommentList o) { |
buildCounterCommentList++; |
if (buildCounterCommentList < 3) { |
- checkUnnamed653(o.items); |
+ checkUnnamed640(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -968,14 +1006,14 @@ checkCommentReply(api.CommentReply o) { |
buildCounterCommentReply--; |
} |
-buildUnnamed654() { |
+buildUnnamed641() { |
var o = new core.List<api.CommentReply>(); |
o.add(buildCommentReply()); |
o.add(buildCommentReply()); |
return o; |
} |
-checkUnnamed654(core.List<api.CommentReply> o) { |
+checkUnnamed641(core.List<api.CommentReply> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCommentReply(o[0]); |
checkCommentReply(o[1]); |
@@ -986,7 +1024,7 @@ buildCommentReplyList() { |
var o = new api.CommentReplyList(); |
buildCounterCommentReplyList++; |
if (buildCounterCommentReplyList < 3) { |
- o.items = buildUnnamed654(); |
+ o.items = buildUnnamed641(); |
o.kind = "foo"; |
o.nextLink = "foo"; |
o.nextPageToken = "foo"; |
@@ -999,7 +1037,7 @@ buildCommentReplyList() { |
checkCommentReplyList(api.CommentReplyList o) { |
buildCounterCommentReplyList++; |
if (buildCounterCommentReplyList < 3) { |
- checkUnnamed654(o.items); |
+ checkUnnamed641(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -1057,14 +1095,14 @@ checkFileCapabilities(api.FileCapabilities o) { |
buildCounterFileCapabilities--; |
} |
-buildUnnamed655() { |
+buildUnnamed642() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed655(core.Map<core.String, core.String> o) { |
+checkUnnamed642(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')); |
@@ -1200,92 +1238,92 @@ checkFileLabels(api.FileLabels o) { |
buildCounterFileLabels--; |
} |
-buildUnnamed656() { |
+buildUnnamed643() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed656(core.Map<core.String, core.String> o) { |
+checkUnnamed643(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')); |
} |
-buildUnnamed657() { |
+buildUnnamed644() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed657(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')); |
} |
-buildUnnamed658() { |
+buildUnnamed645() { |
var o = new core.List<api.User>(); |
o.add(buildUser()); |
o.add(buildUser()); |
return o; |
} |
-checkUnnamed658(core.List<api.User> o) { |
+checkUnnamed645(core.List<api.User> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUser(o[0]); |
checkUser(o[1]); |
} |
-buildUnnamed659() { |
+buildUnnamed646() { |
var o = new core.List<api.ParentReference>(); |
o.add(buildParentReference()); |
o.add(buildParentReference()); |
return o; |
} |
-checkUnnamed659(core.List<api.ParentReference> o) { |
+checkUnnamed646(core.List<api.ParentReference> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkParentReference(o[0]); |
checkParentReference(o[1]); |
} |
-buildUnnamed660() { |
+buildUnnamed647() { |
var o = new core.List<api.Permission>(); |
o.add(buildPermission()); |
o.add(buildPermission()); |
return o; |
} |
-checkUnnamed660(core.List<api.Permission> o) { |
+checkUnnamed647(core.List<api.Permission> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPermission(o[0]); |
checkPermission(o[1]); |
} |
-buildUnnamed661() { |
+buildUnnamed648() { |
var o = new core.List<api.Property>(); |
o.add(buildProperty()); |
o.add(buildProperty()); |
return o; |
} |
-checkUnnamed661(core.List<api.Property> o) { |
+checkUnnamed648(core.List<api.Property> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkProperty(o[0]); |
checkProperty(o[1]); |
} |
-buildUnnamed662() { |
+buildUnnamed649() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed662(core.List<core.String> o) { |
+checkUnnamed649(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -1354,7 +1392,7 @@ buildFile() { |
o.embedLink = "foo"; |
o.etag = "foo"; |
o.explicitlyTrashed = true; |
- o.exportLinks = buildUnnamed655(); |
+ o.exportLinks = buildUnnamed642(); |
o.fileExtension = "foo"; |
o.fileSize = "foo"; |
o.folderColorRgb = "foo"; |
@@ -1377,21 +1415,21 @@ buildFile() { |
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 = buildUnnamed656(); |
+ o.openWithLinks = buildUnnamed643(); |
o.originalFilename = "foo"; |
o.ownedByMe = true; |
- o.ownerNames = buildUnnamed657(); |
- o.owners = buildUnnamed658(); |
- o.parents = buildUnnamed659(); |
- o.permissions = buildUnnamed660(); |
- o.properties = buildUnnamed661(); |
+ o.ownerNames = buildUnnamed644(); |
+ o.owners = buildUnnamed645(); |
+ o.parents = buildUnnamed646(); |
+ o.permissions = buildUnnamed647(); |
+ o.properties = buildUnnamed648(); |
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 = buildUnnamed662(); |
+ o.spaces = buildUnnamed649(); |
o.teamDriveId = "foo"; |
o.thumbnail = buildFileThumbnail(); |
o.thumbnailLink = "foo"; |
@@ -1427,7 +1465,7 @@ checkFile(api.File o) { |
unittest.expect(o.embedLink, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.explicitlyTrashed, unittest.isTrue); |
- checkUnnamed655(o.exportLinks); |
+ checkUnnamed642(o.exportLinks); |
unittest.expect(o.fileExtension, unittest.equals('foo')); |
unittest.expect(o.fileSize, unittest.equals('foo')); |
unittest.expect(o.folderColorRgb, unittest.equals('foo')); |
@@ -1450,21 +1488,21 @@ checkFile(api.File o) { |
unittest.expect(o.mimeType, unittest.equals('foo')); |
unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
- checkUnnamed656(o.openWithLinks); |
+ checkUnnamed643(o.openWithLinks); |
unittest.expect(o.originalFilename, unittest.equals('foo')); |
unittest.expect(o.ownedByMe, unittest.isTrue); |
- checkUnnamed657(o.ownerNames); |
- checkUnnamed658(o.owners); |
- checkUnnamed659(o.parents); |
- checkUnnamed660(o.permissions); |
- checkUnnamed661(o.properties); |
+ checkUnnamed644(o.ownerNames); |
+ checkUnnamed645(o.owners); |
+ checkUnnamed646(o.parents); |
+ checkUnnamed647(o.permissions); |
+ checkUnnamed648(o.properties); |
unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
unittest.expect(o.shareable, unittest.isTrue); |
unittest.expect(o.shared, unittest.isTrue); |
unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
checkUser(o.sharingUser); |
- checkUnnamed662(o.spaces); |
+ checkUnnamed649(o.spaces); |
unittest.expect(o.teamDriveId, unittest.equals('foo')); |
checkFileThumbnail(o.thumbnail); |
unittest.expect(o.thumbnailLink, unittest.equals('foo')); |
@@ -1482,14 +1520,14 @@ checkFile(api.File o) { |
buildCounterFile--; |
} |
-buildUnnamed663() { |
+buildUnnamed650() { |
var o = new core.List<api.File>(); |
o.add(buildFile()); |
o.add(buildFile()); |
return o; |
} |
-checkUnnamed663(core.List<api.File> o) { |
+checkUnnamed650(core.List<api.File> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFile(o[0]); |
checkFile(o[1]); |
@@ -1502,7 +1540,7 @@ buildFileList() { |
if (buildCounterFileList < 3) { |
o.etag = "foo"; |
o.incompleteSearch = true; |
- o.items = buildUnnamed663(); |
+ o.items = buildUnnamed650(); |
o.kind = "foo"; |
o.nextLink = "foo"; |
o.nextPageToken = "foo"; |
@@ -1517,7 +1555,7 @@ checkFileList(api.FileList o) { |
if (buildCounterFileList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.incompleteSearch, unittest.isTrue); |
- checkUnnamed663(o.items); |
+ checkUnnamed650(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -1526,14 +1564,14 @@ checkFileList(api.FileList o) { |
buildCounterFileList--; |
} |
-buildUnnamed664() { |
+buildUnnamed651() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed664(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')); |
@@ -1544,7 +1582,7 @@ buildGeneratedIds() { |
var o = new api.GeneratedIds(); |
buildCounterGeneratedIds++; |
if (buildCounterGeneratedIds < 3) { |
- o.ids = buildUnnamed664(); |
+ o.ids = buildUnnamed651(); |
o.kind = "foo"; |
o.space = "foo"; |
} |
@@ -1555,21 +1593,21 @@ buildGeneratedIds() { |
checkGeneratedIds(api.GeneratedIds o) { |
buildCounterGeneratedIds++; |
if (buildCounterGeneratedIds < 3) { |
- checkUnnamed664(o.ids); |
+ checkUnnamed651(o.ids); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.space, unittest.equals('foo')); |
} |
buildCounterGeneratedIds--; |
} |
-buildUnnamed665() { |
+buildUnnamed652() { |
var o = new core.List<api.ParentReference>(); |
o.add(buildParentReference()); |
o.add(buildParentReference()); |
return o; |
} |
-checkUnnamed665(core.List<api.ParentReference> o) { |
+checkUnnamed652(core.List<api.ParentReference> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkParentReference(o[0]); |
checkParentReference(o[1]); |
@@ -1581,7 +1619,7 @@ buildParentList() { |
buildCounterParentList++; |
if (buildCounterParentList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed665(); |
+ o.items = buildUnnamed652(); |
o.kind = "foo"; |
o.selfLink = "foo"; |
} |
@@ -1593,7 +1631,7 @@ checkParentList(api.ParentList o) { |
buildCounterParentList++; |
if (buildCounterParentList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed665(o.items); |
+ checkUnnamed652(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
} |
@@ -1627,27 +1665,27 @@ checkParentReference(api.ParentReference o) { |
buildCounterParentReference--; |
} |
-buildUnnamed666() { |
+buildUnnamed653() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed666(core.List<core.String> 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')); |
} |
-buildUnnamed667() { |
+buildUnnamed654() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed667(core.List<core.String> 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')); |
@@ -1658,7 +1696,7 @@ buildPermissionTeamDrivePermissionDetails() { |
var o = new api.PermissionTeamDrivePermissionDetails(); |
buildCounterPermissionTeamDrivePermissionDetails++; |
if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
- o.additionalRoles = buildUnnamed667(); |
+ o.additionalRoles = buildUnnamed654(); |
o.inherited = true; |
o.inheritedFrom = "foo"; |
o.role = "foo"; |
@@ -1671,7 +1709,7 @@ buildPermissionTeamDrivePermissionDetails() { |
checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetails o) { |
buildCounterPermissionTeamDrivePermissionDetails++; |
if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
- checkUnnamed667(o.additionalRoles); |
+ checkUnnamed654(o.additionalRoles); |
unittest.expect(o.inherited, unittest.isTrue); |
unittest.expect(o.inheritedFrom, unittest.equals('foo')); |
unittest.expect(o.role, unittest.equals('foo')); |
@@ -1680,14 +1718,14 @@ checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetai |
buildCounterPermissionTeamDrivePermissionDetails--; |
} |
-buildUnnamed668() { |
+buildUnnamed655() { |
var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); |
o.add(buildPermissionTeamDrivePermissionDetails()); |
o.add(buildPermissionTeamDrivePermissionDetails()); |
return o; |
} |
-checkUnnamed668(core.List<api.PermissionTeamDrivePermissionDetails> o) { |
+checkUnnamed655(core.List<api.PermissionTeamDrivePermissionDetails> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPermissionTeamDrivePermissionDetails(o[0]); |
checkPermissionTeamDrivePermissionDetails(o[1]); |
@@ -1698,8 +1736,9 @@ buildPermission() { |
var o = new api.Permission(); |
buildCounterPermission++; |
if (buildCounterPermission < 3) { |
- o.additionalRoles = buildUnnamed666(); |
+ o.additionalRoles = buildUnnamed653(); |
o.authKey = "foo"; |
+ o.deleted = true; |
o.domain = "foo"; |
o.emailAddress = "foo"; |
o.etag = "foo"; |
@@ -1710,7 +1749,7 @@ buildPermission() { |
o.photoLink = "foo"; |
o.role = "foo"; |
o.selfLink = "foo"; |
- o.teamDrivePermissionDetails = buildUnnamed668(); |
+ o.teamDrivePermissionDetails = buildUnnamed655(); |
o.type = "foo"; |
o.value = "foo"; |
o.withLink = true; |
@@ -1722,8 +1761,9 @@ buildPermission() { |
checkPermission(api.Permission o) { |
buildCounterPermission++; |
if (buildCounterPermission < 3) { |
- checkUnnamed666(o.additionalRoles); |
+ checkUnnamed653(o.additionalRoles); |
unittest.expect(o.authKey, unittest.equals('foo')); |
+ unittest.expect(o.deleted, unittest.isTrue); |
unittest.expect(o.domain, unittest.equals('foo')); |
unittest.expect(o.emailAddress, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
@@ -1734,7 +1774,7 @@ checkPermission(api.Permission o) { |
unittest.expect(o.photoLink, unittest.equals('foo')); |
unittest.expect(o.role, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
- checkUnnamed668(o.teamDrivePermissionDetails); |
+ checkUnnamed655(o.teamDrivePermissionDetails); |
unittest.expect(o.type, unittest.equals('foo')); |
unittest.expect(o.value, unittest.equals('foo')); |
unittest.expect(o.withLink, unittest.isTrue); |
@@ -1763,14 +1803,14 @@ checkPermissionId(api.PermissionId o) { |
buildCounterPermissionId--; |
} |
-buildUnnamed669() { |
+buildUnnamed656() { |
var o = new core.List<api.Permission>(); |
o.add(buildPermission()); |
o.add(buildPermission()); |
return o; |
} |
-checkUnnamed669(core.List<api.Permission> o) { |
+checkUnnamed656(core.List<api.Permission> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPermission(o[0]); |
checkPermission(o[1]); |
@@ -1782,7 +1822,7 @@ buildPermissionList() { |
buildCounterPermissionList++; |
if (buildCounterPermissionList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed669(); |
+ o.items = buildUnnamed656(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.selfLink = "foo"; |
@@ -1795,7 +1835,7 @@ checkPermissionList(api.PermissionList o) { |
buildCounterPermissionList++; |
if (buildCounterPermissionList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed669(o.items); |
+ checkUnnamed656(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
@@ -1832,14 +1872,14 @@ checkProperty(api.Property o) { |
buildCounterProperty--; |
} |
-buildUnnamed670() { |
+buildUnnamed657() { |
var o = new core.List<api.Property>(); |
o.add(buildProperty()); |
o.add(buildProperty()); |
return o; |
} |
-checkUnnamed670(core.List<api.Property> o) { |
+checkUnnamed657(core.List<api.Property> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkProperty(o[0]); |
checkProperty(o[1]); |
@@ -1851,7 +1891,7 @@ buildPropertyList() { |
buildCounterPropertyList++; |
if (buildCounterPropertyList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed670(); |
+ o.items = buildUnnamed657(); |
o.kind = "foo"; |
o.selfLink = "foo"; |
} |
@@ -1863,21 +1903,21 @@ checkPropertyList(api.PropertyList o) { |
buildCounterPropertyList++; |
if (buildCounterPropertyList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed670(o.items); |
+ checkUnnamed657(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
} |
buildCounterPropertyList--; |
} |
-buildUnnamed671() { |
+buildUnnamed658() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed671(core.Map<core.String, core.String> o) { |
+checkUnnamed658(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')); |
@@ -1890,7 +1930,7 @@ buildRevision() { |
if (buildCounterRevision < 3) { |
o.downloadUrl = "foo"; |
o.etag = "foo"; |
- o.exportLinks = buildUnnamed671(); |
+ o.exportLinks = buildUnnamed658(); |
o.fileSize = "foo"; |
o.id = "foo"; |
o.kind = "foo"; |
@@ -1916,7 +1956,7 @@ checkRevision(api.Revision o) { |
if (buildCounterRevision < 3) { |
unittest.expect(o.downloadUrl, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed671(o.exportLinks); |
+ checkUnnamed658(o.exportLinks); |
unittest.expect(o.fileSize, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
@@ -1936,14 +1976,14 @@ checkRevision(api.Revision o) { |
buildCounterRevision--; |
} |
-buildUnnamed672() { |
+buildUnnamed659() { |
var o = new core.List<api.Revision>(); |
o.add(buildRevision()); |
o.add(buildRevision()); |
return o; |
} |
-checkUnnamed672(core.List<api.Revision> o) { |
+checkUnnamed659(core.List<api.Revision> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRevision(o[0]); |
checkRevision(o[1]); |
@@ -1955,7 +1995,7 @@ buildRevisionList() { |
buildCounterRevisionList++; |
if (buildCounterRevisionList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed672(); |
+ o.items = buildUnnamed659(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.selfLink = "foo"; |
@@ -1968,7 +2008,7 @@ checkRevisionList(api.RevisionList o) { |
buildCounterRevisionList++; |
if (buildCounterRevisionList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed672(o.items); |
+ checkUnnamed659(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
@@ -1997,12 +2037,38 @@ checkStartPageToken(api.StartPageToken o) { |
buildCounterStartPageToken--; |
} |
+core.int buildCounterTeamDriveBackgroundImageFile = 0; |
+buildTeamDriveBackgroundImageFile() { |
+ var o = new api.TeamDriveBackgroundImageFile(); |
+ buildCounterTeamDriveBackgroundImageFile++; |
+ if (buildCounterTeamDriveBackgroundImageFile < 3) { |
+ o.id = "foo"; |
+ o.width = 42.0; |
+ o.xCoordinate = 42.0; |
+ o.yCoordinate = 42.0; |
+ } |
+ buildCounterTeamDriveBackgroundImageFile--; |
+ return o; |
+} |
+ |
+checkTeamDriveBackgroundImageFile(api.TeamDriveBackgroundImageFile o) { |
+ buildCounterTeamDriveBackgroundImageFile++; |
+ if (buildCounterTeamDriveBackgroundImageFile < 3) { |
+ unittest.expect(o.id, unittest.equals('foo')); |
+ unittest.expect(o.width, unittest.equals(42.0)); |
+ unittest.expect(o.xCoordinate, unittest.equals(42.0)); |
+ unittest.expect(o.yCoordinate, unittest.equals(42.0)); |
+ } |
+ buildCounterTeamDriveBackgroundImageFile--; |
+} |
+ |
core.int buildCounterTeamDriveCapabilities = 0; |
buildTeamDriveCapabilities() { |
var o = new api.TeamDriveCapabilities(); |
buildCounterTeamDriveCapabilities++; |
if (buildCounterTeamDriveCapabilities < 3) { |
o.canAddChildren = true; |
+ o.canChangeTeamDriveBackground = true; |
o.canComment = true; |
o.canCopy = true; |
o.canDeleteTeamDrive = true; |
@@ -2024,6 +2090,7 @@ checkTeamDriveCapabilities(api.TeamDriveCapabilities o) { |
buildCounterTeamDriveCapabilities++; |
if (buildCounterTeamDriveCapabilities < 3) { |
unittest.expect(o.canAddChildren, unittest.isTrue); |
+ unittest.expect(o.canChangeTeamDriveBackground, unittest.isTrue); |
unittest.expect(o.canComment, unittest.isTrue); |
unittest.expect(o.canCopy, unittest.isTrue); |
unittest.expect(o.canDeleteTeamDrive, unittest.isTrue); |
@@ -2045,10 +2112,14 @@ buildTeamDrive() { |
var o = new api.TeamDrive(); |
buildCounterTeamDrive++; |
if (buildCounterTeamDrive < 3) { |
+ o.backgroundImageFile = buildTeamDriveBackgroundImageFile(); |
+ o.backgroundImageLink = "foo"; |
o.capabilities = buildTeamDriveCapabilities(); |
+ o.colorRgb = "foo"; |
o.id = "foo"; |
o.kind = "foo"; |
o.name = "foo"; |
+ o.themeId = "foo"; |
} |
buildCounterTeamDrive--; |
return o; |
@@ -2057,22 +2128,26 @@ buildTeamDrive() { |
checkTeamDrive(api.TeamDrive o) { |
buildCounterTeamDrive++; |
if (buildCounterTeamDrive < 3) { |
+ checkTeamDriveBackgroundImageFile(o.backgroundImageFile); |
+ unittest.expect(o.backgroundImageLink, unittest.equals('foo')); |
checkTeamDriveCapabilities(o.capabilities); |
+ unittest.expect(o.colorRgb, 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.themeId, unittest.equals('foo')); |
} |
buildCounterTeamDrive--; |
} |
-buildUnnamed673() { |
+buildUnnamed660() { |
var o = new core.List<api.TeamDrive>(); |
o.add(buildTeamDrive()); |
o.add(buildTeamDrive()); |
return o; |
} |
-checkUnnamed673(core.List<api.TeamDrive> o) { |
+checkUnnamed660(core.List<api.TeamDrive> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkTeamDrive(o[0]); |
checkTeamDrive(o[1]); |
@@ -2083,7 +2158,7 @@ buildTeamDriveList() { |
var o = new api.TeamDriveList(); |
buildCounterTeamDriveList++; |
if (buildCounterTeamDriveList < 3) { |
- o.items = buildUnnamed673(); |
+ o.items = buildUnnamed660(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
} |
@@ -2094,7 +2169,7 @@ buildTeamDriveList() { |
checkTeamDriveList(api.TeamDriveList o) { |
buildCounterTeamDriveList++; |
if (buildCounterTeamDriveList < 3) { |
- checkUnnamed673(o.items); |
+ checkUnnamed660(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
@@ -2214,6 +2289,15 @@ main() { |
}); |
+ unittest.group("obj-schema-AboutTeamDriveThemes", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildAboutTeamDriveThemes(); |
+ var od = new api.AboutTeamDriveThemes.fromJson(o.toJson()); |
+ checkAboutTeamDriveThemes(od); |
+ }); |
+ }); |
+ |
+ |
unittest.group("obj-schema-About", () { |
unittest.test("to-json--from-json", () { |
var o = buildAbout(); |
@@ -2529,6 +2613,15 @@ main() { |
}); |
+ unittest.group("obj-schema-TeamDriveBackgroundImageFile", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildTeamDriveBackgroundImageFile(); |
+ var od = new api.TeamDriveBackgroundImageFile.fromJson(o.toJson()); |
+ checkTeamDriveBackgroundImageFile(od); |
+ }); |
+ }); |
+ |
+ |
unittest.group("obj-schema-TeamDriveCapabilities", () { |
unittest.test("to-json--from-json", () { |
var o = buildTeamDriveCapabilities(); |