All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.drive.model.About Maven / Gradle / Ivy

/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.drive.model;

/**
 * An item with user information and settings.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Drive API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class About extends com.google.api.client.json.GenericJson { /** * Information about supported additional roles per file type. The most specific type takes * precedence. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List additionalRoleInfo; static { // hack to force ProGuard to consider AdditionalRoleInfo used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(AdditionalRoleInfo.class); } /** * Whether the user can create Team Drives. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean canCreateTeamDrives; /** * The domain sharing policy for the current user. Possible values are: - allowed - * allowedWithWarning - incomingOnly - disallowed * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String domainSharingPolicy; /** * The ETag of the item. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String etag; /** * The allowable export formats. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List exportFormats; static { // hack to force ProGuard to consider ExportFormats used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(ExportFormats.class); } /** * List of additional features enabled on this account. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List features; static { // hack to force ProGuard to consider Features used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(Features.class); } /** * The palette of allowable folder colors as RGB hex strings. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List folderColorPalette; /** * The allowable import formats. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List importFormats; static { // hack to force ProGuard to consider ImportFormats used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(ImportFormats.class); } /** * A boolean indicating whether the authenticated app is installed by the authenticated user. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean isCurrentAppInstalled; /** * This is always drive#about. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's * LDML format (http://www.unicode.org/reports/tr35/). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String languageCode; /** * The largest change id. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long largestChangeId; /** * List of max upload sizes for each file type. The most specific type takes precedence. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List maxUploadSizes; static { // hack to force ProGuard to consider MaxUploadSizes used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(MaxUploadSizes.class); } /** * The name of the current user. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * The current user's ID as visible in the permissions collection. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String permissionId; /** * The amount of storage quota used by different Google services. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List quotaBytesByService; static { // hack to force ProGuard to consider QuotaBytesByService used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(QuotaBytesByService.class); } /** * The total number of quota bytes. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long quotaBytesTotal; /** * The number of quota bytes used by Google Drive. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long quotaBytesUsed; /** * The number of quota bytes used by all Google apps (Drive, Picasa, etc.). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long quotaBytesUsedAggregate; /** * The number of quota bytes used by trashed items. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long quotaBytesUsedInTrash; /** * The type of the user's storage quota. Possible values are: - LIMITED - UNLIMITED * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String quotaType; /** * The number of remaining change ids, limited to no more than 2500. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long remainingChangeIds; /** * The id of the root folder. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String rootFolderId; /** * A link back to this item. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String selfLink; /** * A list of themes that are supported for Team Drives. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List teamDriveThemes; static { // hack to force ProGuard to consider TeamDriveThemes used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(TeamDriveThemes.class); } /** * The authenticated user. * The value may be {@code null}. */ @com.google.api.client.util.Key private User user; /** * Information about supported additional roles per file type. The most specific type takes * precedence. * @return value or {@code null} for none */ public java.util.List getAdditionalRoleInfo() { return additionalRoleInfo; } /** * Information about supported additional roles per file type. The most specific type takes * precedence. * @param additionalRoleInfo additionalRoleInfo or {@code null} for none */ public About setAdditionalRoleInfo(java.util.List additionalRoleInfo) { this.additionalRoleInfo = additionalRoleInfo; return this; } /** * Whether the user can create Team Drives. * @return value or {@code null} for none */ public java.lang.Boolean getCanCreateTeamDrives() { return canCreateTeamDrives; } /** * Whether the user can create Team Drives. * @param canCreateTeamDrives canCreateTeamDrives or {@code null} for none */ public About setCanCreateTeamDrives(java.lang.Boolean canCreateTeamDrives) { this.canCreateTeamDrives = canCreateTeamDrives; return this; } /** * The domain sharing policy for the current user. Possible values are: - allowed - * allowedWithWarning - incomingOnly - disallowed * @return value or {@code null} for none */ public java.lang.String getDomainSharingPolicy() { return domainSharingPolicy; } /** * The domain sharing policy for the current user. Possible values are: - allowed - * allowedWithWarning - incomingOnly - disallowed * @param domainSharingPolicy domainSharingPolicy or {@code null} for none */ public About setDomainSharingPolicy(java.lang.String domainSharingPolicy) { this.domainSharingPolicy = domainSharingPolicy; return this; } /** * The ETag of the item. * @return value or {@code null} for none */ public java.lang.String getEtag() { return etag; } /** * The ETag of the item. * @param etag etag or {@code null} for none */ public About setEtag(java.lang.String etag) { this.etag = etag; return this; } /** * The allowable export formats. * @return value or {@code null} for none */ public java.util.List getExportFormats() { return exportFormats; } /** * The allowable export formats. * @param exportFormats exportFormats or {@code null} for none */ public About setExportFormats(java.util.List exportFormats) { this.exportFormats = exportFormats; return this; } /** * List of additional features enabled on this account. * @return value or {@code null} for none */ public java.util.List getFeatures() { return features; } /** * List of additional features enabled on this account. * @param features features or {@code null} for none */ public About setFeatures(java.util.List features) { this.features = features; return this; } /** * The palette of allowable folder colors as RGB hex strings. * @return value or {@code null} for none */ public java.util.List getFolderColorPalette() { return folderColorPalette; } /** * The palette of allowable folder colors as RGB hex strings. * @param folderColorPalette folderColorPalette or {@code null} for none */ public About setFolderColorPalette(java.util.List folderColorPalette) { this.folderColorPalette = folderColorPalette; return this; } /** * The allowable import formats. * @return value or {@code null} for none */ public java.util.List getImportFormats() { return importFormats; } /** * The allowable import formats. * @param importFormats importFormats or {@code null} for none */ public About setImportFormats(java.util.List importFormats) { this.importFormats = importFormats; return this; } /** * A boolean indicating whether the authenticated app is installed by the authenticated user. * @return value or {@code null} for none */ public java.lang.Boolean getIsCurrentAppInstalled() { return isCurrentAppInstalled; } /** * A boolean indicating whether the authenticated app is installed by the authenticated user. * @param isCurrentAppInstalled isCurrentAppInstalled or {@code null} for none */ public About setIsCurrentAppInstalled(java.lang.Boolean isCurrentAppInstalled) { this.isCurrentAppInstalled = isCurrentAppInstalled; return this; } /** * This is always drive#about. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * This is always drive#about. * @param kind kind or {@code null} for none */ public About setKind(java.lang.String kind) { this.kind = kind; return this; } /** * The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's * LDML format (http://www.unicode.org/reports/tr35/). * @return value or {@code null} for none */ public java.lang.String getLanguageCode() { return languageCode; } /** * The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's * LDML format (http://www.unicode.org/reports/tr35/). * @param languageCode languageCode or {@code null} for none */ public About setLanguageCode(java.lang.String languageCode) { this.languageCode = languageCode; return this; } /** * The largest change id. * @return value or {@code null} for none */ public java.lang.Long getLargestChangeId() { return largestChangeId; } /** * The largest change id. * @param largestChangeId largestChangeId or {@code null} for none */ public About setLargestChangeId(java.lang.Long largestChangeId) { this.largestChangeId = largestChangeId; return this; } /** * List of max upload sizes for each file type. The most specific type takes precedence. * @return value or {@code null} for none */ public java.util.List getMaxUploadSizes() { return maxUploadSizes; } /** * List of max upload sizes for each file type. The most specific type takes precedence. * @param maxUploadSizes maxUploadSizes or {@code null} for none */ public About setMaxUploadSizes(java.util.List maxUploadSizes) { this.maxUploadSizes = maxUploadSizes; return this; } /** * The name of the current user. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * The name of the current user. * @param name name or {@code null} for none */ public About setName(java.lang.String name) { this.name = name; return this; } /** * The current user's ID as visible in the permissions collection. * @return value or {@code null} for none */ public java.lang.String getPermissionId() { return permissionId; } /** * The current user's ID as visible in the permissions collection. * @param permissionId permissionId or {@code null} for none */ public About setPermissionId(java.lang.String permissionId) { this.permissionId = permissionId; return this; } /** * The amount of storage quota used by different Google services. * @return value or {@code null} for none */ public java.util.List getQuotaBytesByService() { return quotaBytesByService; } /** * The amount of storage quota used by different Google services. * @param quotaBytesByService quotaBytesByService or {@code null} for none */ public About setQuotaBytesByService(java.util.List quotaBytesByService) { this.quotaBytesByService = quotaBytesByService; return this; } /** * The total number of quota bytes. * @return value or {@code null} for none */ public java.lang.Long getQuotaBytesTotal() { return quotaBytesTotal; } /** * The total number of quota bytes. * @param quotaBytesTotal quotaBytesTotal or {@code null} for none */ public About setQuotaBytesTotal(java.lang.Long quotaBytesTotal) { this.quotaBytesTotal = quotaBytesTotal; return this; } /** * The number of quota bytes used by Google Drive. * @return value or {@code null} for none */ public java.lang.Long getQuotaBytesUsed() { return quotaBytesUsed; } /** * The number of quota bytes used by Google Drive. * @param quotaBytesUsed quotaBytesUsed or {@code null} for none */ public About setQuotaBytesUsed(java.lang.Long quotaBytesUsed) { this.quotaBytesUsed = quotaBytesUsed; return this; } /** * The number of quota bytes used by all Google apps (Drive, Picasa, etc.). * @return value or {@code null} for none */ public java.lang.Long getQuotaBytesUsedAggregate() { return quotaBytesUsedAggregate; } /** * The number of quota bytes used by all Google apps (Drive, Picasa, etc.). * @param quotaBytesUsedAggregate quotaBytesUsedAggregate or {@code null} for none */ public About setQuotaBytesUsedAggregate(java.lang.Long quotaBytesUsedAggregate) { this.quotaBytesUsedAggregate = quotaBytesUsedAggregate; return this; } /** * The number of quota bytes used by trashed items. * @return value or {@code null} for none */ public java.lang.Long getQuotaBytesUsedInTrash() { return quotaBytesUsedInTrash; } /** * The number of quota bytes used by trashed items. * @param quotaBytesUsedInTrash quotaBytesUsedInTrash or {@code null} for none */ public About setQuotaBytesUsedInTrash(java.lang.Long quotaBytesUsedInTrash) { this.quotaBytesUsedInTrash = quotaBytesUsedInTrash; return this; } /** * The type of the user's storage quota. Possible values are: - LIMITED - UNLIMITED * @return value or {@code null} for none */ public java.lang.String getQuotaType() { return quotaType; } /** * The type of the user's storage quota. Possible values are: - LIMITED - UNLIMITED * @param quotaType quotaType or {@code null} for none */ public About setQuotaType(java.lang.String quotaType) { this.quotaType = quotaType; return this; } /** * The number of remaining change ids, limited to no more than 2500. * @return value or {@code null} for none */ public java.lang.Long getRemainingChangeIds() { return remainingChangeIds; } /** * The number of remaining change ids, limited to no more than 2500. * @param remainingChangeIds remainingChangeIds or {@code null} for none */ public About setRemainingChangeIds(java.lang.Long remainingChangeIds) { this.remainingChangeIds = remainingChangeIds; return this; } /** * The id of the root folder. * @return value or {@code null} for none */ public java.lang.String getRootFolderId() { return rootFolderId; } /** * The id of the root folder. * @param rootFolderId rootFolderId or {@code null} for none */ public About setRootFolderId(java.lang.String rootFolderId) { this.rootFolderId = rootFolderId; return this; } /** * A link back to this item. * @return value or {@code null} for none */ public java.lang.String getSelfLink() { return selfLink; } /** * A link back to this item. * @param selfLink selfLink or {@code null} for none */ public About setSelfLink(java.lang.String selfLink) { this.selfLink = selfLink; return this; } /** * A list of themes that are supported for Team Drives. * @return value or {@code null} for none */ public java.util.List getTeamDriveThemes() { return teamDriveThemes; } /** * A list of themes that are supported for Team Drives. * @param teamDriveThemes teamDriveThemes or {@code null} for none */ public About setTeamDriveThemes(java.util.List teamDriveThemes) { this.teamDriveThemes = teamDriveThemes; return this; } /** * The authenticated user. * @return value or {@code null} for none */ public User getUser() { return user; } /** * The authenticated user. * @param user user or {@code null} for none */ public About setUser(User user) { this.user = user; return this; } @Override public About set(String fieldName, Object value) { return (About) super.set(fieldName, value); } @Override public About clone() { return (About) super.clone(); } /** * Model definition for AboutAdditionalRoleInfo. */ public static final class AdditionalRoleInfo extends com.google.api.client.json.GenericJson { /** * The supported additional roles per primary role. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List roleSets; static { // hack to force ProGuard to consider RoleSets used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(RoleSets.class); } /** * The content type that this additional role info applies to. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * The supported additional roles per primary role. * @return value or {@code null} for none */ public java.util.List getRoleSets() { return roleSets; } /** * The supported additional roles per primary role. * @param roleSets roleSets or {@code null} for none */ public AdditionalRoleInfo setRoleSets(java.util.List roleSets) { this.roleSets = roleSets; return this; } /** * The content type that this additional role info applies to. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * The content type that this additional role info applies to. * @param type type or {@code null} for none */ public AdditionalRoleInfo setType(java.lang.String type) { this.type = type; return this; } @Override public AdditionalRoleInfo set(String fieldName, Object value) { return (AdditionalRoleInfo) super.set(fieldName, value); } @Override public AdditionalRoleInfo clone() { return (AdditionalRoleInfo) super.clone(); } /** * Model definition for AboutAdditionalRoleInfoRoleSets. */ public static final class RoleSets extends com.google.api.client.json.GenericJson { /** * The supported additional roles with the primary role. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List additionalRoles; /** * A primary permission role. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String primaryRole; /** * The supported additional roles with the primary role. * @return value or {@code null} for none */ public java.util.List getAdditionalRoles() { return additionalRoles; } /** * The supported additional roles with the primary role. * @param additionalRoles additionalRoles or {@code null} for none */ public RoleSets setAdditionalRoles(java.util.List additionalRoles) { this.additionalRoles = additionalRoles; return this; } /** * A primary permission role. * @return value or {@code null} for none */ public java.lang.String getPrimaryRole() { return primaryRole; } /** * A primary permission role. * @param primaryRole primaryRole or {@code null} for none */ public RoleSets setPrimaryRole(java.lang.String primaryRole) { this.primaryRole = primaryRole; return this; } @Override public RoleSets set(String fieldName, Object value) { return (RoleSets) super.set(fieldName, value); } @Override public RoleSets clone() { return (RoleSets) super.clone(); } } } /** * Model definition for AboutExportFormats. */ public static final class ExportFormats extends com.google.api.client.json.GenericJson { /** * The content type to convert from. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String source; /** * The possible content types to convert to. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List targets; /** * The content type to convert from. * @return value or {@code null} for none */ public java.lang.String getSource() { return source; } /** * The content type to convert from. * @param source source or {@code null} for none */ public ExportFormats setSource(java.lang.String source) { this.source = source; return this; } /** * The possible content types to convert to. * @return value or {@code null} for none */ public java.util.List getTargets() { return targets; } /** * The possible content types to convert to. * @param targets targets or {@code null} for none */ public ExportFormats setTargets(java.util.List targets) { this.targets = targets; return this; } @Override public ExportFormats set(String fieldName, Object value) { return (ExportFormats) super.set(fieldName, value); } @Override public ExportFormats clone() { return (ExportFormats) super.clone(); } } /** * Model definition for AboutFeatures. */ public static final class Features extends com.google.api.client.json.GenericJson { /** * The name of the feature. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String featureName; /** * The request limit rate for this feature, in queries per second. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double featureRate; /** * The name of the feature. * @return value or {@code null} for none */ public java.lang.String getFeatureName() { return featureName; } /** * The name of the feature. * @param featureName featureName or {@code null} for none */ public Features setFeatureName(java.lang.String featureName) { this.featureName = featureName; return this; } /** * The request limit rate for this feature, in queries per second. * @return value or {@code null} for none */ public java.lang.Double getFeatureRate() { return featureRate; } /** * The request limit rate for this feature, in queries per second. * @param featureRate featureRate or {@code null} for none */ public Features setFeatureRate(java.lang.Double featureRate) { this.featureRate = featureRate; return this; } @Override public Features set(String fieldName, Object value) { return (Features) super.set(fieldName, value); } @Override public Features clone() { return (Features) super.clone(); } } /** * Model definition for AboutImportFormats. */ public static final class ImportFormats extends com.google.api.client.json.GenericJson { /** * The imported file's content type to convert from. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String source; /** * The possible content types to convert to. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List targets; /** * The imported file's content type to convert from. * @return value or {@code null} for none */ public java.lang.String getSource() { return source; } /** * The imported file's content type to convert from. * @param source source or {@code null} for none */ public ImportFormats setSource(java.lang.String source) { this.source = source; return this; } /** * The possible content types to convert to. * @return value or {@code null} for none */ public java.util.List getTargets() { return targets; } /** * The possible content types to convert to. * @param targets targets or {@code null} for none */ public ImportFormats setTargets(java.util.List targets) { this.targets = targets; return this; } @Override public ImportFormats set(String fieldName, Object value) { return (ImportFormats) super.set(fieldName, value); } @Override public ImportFormats clone() { return (ImportFormats) super.clone(); } } /** * Model definition for AboutMaxUploadSizes. */ public static final class MaxUploadSizes extends com.google.api.client.json.GenericJson { /** * The max upload size for this type. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long size; /** * The file type. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * The max upload size for this type. * @return value or {@code null} for none */ public java.lang.Long getSize() { return size; } /** * The max upload size for this type. * @param size size or {@code null} for none */ public MaxUploadSizes setSize(java.lang.Long size) { this.size = size; return this; } /** * The file type. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * The file type. * @param type type or {@code null} for none */ public MaxUploadSizes setType(java.lang.String type) { this.type = type; return this; } @Override public MaxUploadSizes set(String fieldName, Object value) { return (MaxUploadSizes) super.set(fieldName, value); } @Override public MaxUploadSizes clone() { return (MaxUploadSizes) super.clone(); } } /** * Model definition for AboutQuotaBytesByService. */ public static final class QuotaBytesByService extends com.google.api.client.json.GenericJson { /** * The storage quota bytes used by the service. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long bytesUsed; /** * The service's name, e.g. DRIVE, GMAIL, or PHOTOS. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String serviceName; /** * The storage quota bytes used by the service. * @return value or {@code null} for none */ public java.lang.Long getBytesUsed() { return bytesUsed; } /** * The storage quota bytes used by the service. * @param bytesUsed bytesUsed or {@code null} for none */ public QuotaBytesByService setBytesUsed(java.lang.Long bytesUsed) { this.bytesUsed = bytesUsed; return this; } /** * The service's name, e.g. DRIVE, GMAIL, or PHOTOS. * @return value or {@code null} for none */ public java.lang.String getServiceName() { return serviceName; } /** * The service's name, e.g. DRIVE, GMAIL, or PHOTOS. * @param serviceName serviceName or {@code null} for none */ public QuotaBytesByService setServiceName(java.lang.String serviceName) { this.serviceName = serviceName; return this; } @Override public QuotaBytesByService set(String fieldName, Object value) { return (QuotaBytesByService) super.set(fieldName, value); } @Override public QuotaBytesByService clone() { return (QuotaBytesByService) super.clone(); } } /** * Model definition for AboutTeamDriveThemes. */ public static final class TeamDriveThemes extends com.google.api.client.json.GenericJson { /** * A link to this Team Drive theme's background image. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String backgroundImageLink; /** * The color of this Team Drive theme as an RGB hex string. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String colorRgb; /** * The ID of the theme. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * A link to this Team Drive theme's background image. * @return value or {@code null} for none */ public java.lang.String getBackgroundImageLink() { return backgroundImageLink; } /** * A link to this Team Drive theme's background image. * @param backgroundImageLink backgroundImageLink or {@code null} for none */ public TeamDriveThemes setBackgroundImageLink(java.lang.String backgroundImageLink) { this.backgroundImageLink = backgroundImageLink; return this; } /** * The color of this Team Drive theme as an RGB hex string. * @return value or {@code null} for none */ public java.lang.String getColorRgb() { return colorRgb; } /** * The color of this Team Drive theme as an RGB hex string. * @param colorRgb colorRgb or {@code null} for none */ public TeamDriveThemes setColorRgb(java.lang.String colorRgb) { this.colorRgb = colorRgb; return this; } /** * The ID of the theme. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * The ID of the theme. * @param id id or {@code null} for none */ public TeamDriveThemes setId(java.lang.String id) { this.id = id; return this; } @Override public TeamDriveThemes set(String fieldName, Object value) { return (TeamDriveThemes) super.set(fieldName, value); } @Override public TeamDriveThemes clone() { return (TeamDriveThemes) super.clone(); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy