public final class About
extends com.google.api.client.json.GenericJson
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: http://code.google.com/p/google-http-java-client/wiki/JSON
| Modifier and Type | Class and Description |
|---|---|
static class |
About.AdditionalRoleInfo
Model definition for AboutAdditionalRoleInfo.
|
static class |
About.ExportFormats
Model definition for AboutExportFormats.
|
static class |
About.Features
Model definition for AboutFeatures.
|
static class |
About.ImportFormats
Model definition for AboutImportFormats.
|
static class |
About.MaxUploadSizes
Model definition for AboutMaxUploadSizes.
|
static class |
About.QuotaBytesByService
Model definition for AboutQuotaBytesByService.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
About() |
| Modifier and Type | Method and Description |
|---|---|
About |
clone() |
java.util.List<About.AdditionalRoleInfo> |
getAdditionalRoleInfo()
Information about supported additional roles per file type.
|
java.lang.String |
getDomainSharingPolicy()
The domain sharing policy for the current user.
|
java.lang.String |
getEtag()
The ETag of the item.
|
java.util.List<About.ExportFormats> |
getExportFormats()
The allowable export formats.
|
java.util.List<About.Features> |
getFeatures()
List of additional features enabled on this account.
|
java.util.List<java.lang.String> |
getFolderColorPalette()
The palette of allowable folder colors as RGB hex strings.
|
java.util.List<About.ImportFormats> |
getImportFormats()
The allowable import formats.
|
java.lang.Boolean |
getIsCurrentAppInstalled()
A boolean indicating whether the authenticated app is installed by the authenticated user.
|
java.lang.String |
getKind()
This is always drive#about.
|
java.lang.String |
getLanguageCode()
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/).
|
java.lang.Long |
getLargestChangeId()
The largest change id.
|
java.util.List<About.MaxUploadSizes> |
getMaxUploadSizes()
List of max upload sizes for each file type.
|
java.lang.String |
getName()
The name of the current user.
|
java.lang.String |
getPermissionId()
The current user's ID as visible in the permissions collection.
|
java.util.List<About.QuotaBytesByService> |
getQuotaBytesByService()
The amount of storage quota used by different Google services.
|
java.lang.Long |
getQuotaBytesTotal()
The total number of quota bytes.
|
java.lang.Long |
getQuotaBytesUsed()
The number of quota bytes used by Google Drive.
|
java.lang.Long |
getQuotaBytesUsedAggregate()
The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
|
java.lang.Long |
getQuotaBytesUsedInTrash()
The number of quota bytes used by trashed items.
|
java.lang.String |
getQuotaType()
The type of the user's storage quota.
|
java.lang.Long |
getRemainingChangeIds()
The number of remaining change ids.
|
java.lang.String |
getRootFolderId()
The id of the root folder.
|
java.lang.String |
getSelfLink()
A link back to this item.
|
User |
getUser()
The authenticated user.
|
About |
set(java.lang.String fieldName,
java.lang.Object value) |
About |
setAdditionalRoleInfo(java.util.List<About.AdditionalRoleInfo> additionalRoleInfo)
Information about supported additional roles per file type.
|
About |
setDomainSharingPolicy(java.lang.String domainSharingPolicy)
The domain sharing policy for the current user.
|
About |
setEtag(java.lang.String etag)
The ETag of the item.
|
About |
setExportFormats(java.util.List<About.ExportFormats> exportFormats)
The allowable export formats.
|
About |
setFeatures(java.util.List<About.Features> features)
List of additional features enabled on this account.
|
About |
setFolderColorPalette(java.util.List<java.lang.String> folderColorPalette)
The palette of allowable folder colors as RGB hex strings.
|
About |
setImportFormats(java.util.List<About.ImportFormats> importFormats)
The allowable import formats.
|
About |
setIsCurrentAppInstalled(java.lang.Boolean isCurrentAppInstalled)
A boolean indicating whether the authenticated app is installed by the authenticated user.
|
About |
setKind(java.lang.String kind)
This is always drive#about.
|
About |
setLanguageCode(java.lang.String 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/).
|
About |
setLargestChangeId(java.lang.Long largestChangeId)
The largest change id.
|
About |
setMaxUploadSizes(java.util.List<About.MaxUploadSizes> maxUploadSizes)
List of max upload sizes for each file type.
|
About |
setName(java.lang.String name)
The name of the current user.
|
About |
setPermissionId(java.lang.String permissionId)
The current user's ID as visible in the permissions collection.
|
About |
setQuotaBytesByService(java.util.List<About.QuotaBytesByService> quotaBytesByService)
The amount of storage quota used by different Google services.
|
About |
setQuotaBytesTotal(java.lang.Long quotaBytesTotal)
The total number of quota bytes.
|
About |
setQuotaBytesUsed(java.lang.Long quotaBytesUsed)
The number of quota bytes used by Google Drive.
|
About |
setQuotaBytesUsedAggregate(java.lang.Long quotaBytesUsedAggregate)
The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
|
About |
setQuotaBytesUsedInTrash(java.lang.Long quotaBytesUsedInTrash)
The number of quota bytes used by trashed items.
|
About |
setQuotaType(java.lang.String quotaType)
The type of the user's storage quota.
|
About |
setRemainingChangeIds(java.lang.Long remainingChangeIds)
The number of remaining change ids.
|
About |
setRootFolderId(java.lang.String rootFolderId)
The id of the root folder.
|
About |
setSelfLink(java.lang.String selfLink)
A link back to this item.
|
About |
setUser(User user)
The authenticated user.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<About.AdditionalRoleInfo> getAdditionalRoleInfo()
null for nonepublic About setAdditionalRoleInfo(java.util.List<About.AdditionalRoleInfo> additionalRoleInfo)
additionalRoleInfo - additionalRoleInfo or null for nonepublic java.lang.String getDomainSharingPolicy()
null for nonepublic About setDomainSharingPolicy(java.lang.String domainSharingPolicy)
domainSharingPolicy - domainSharingPolicy or null for nonepublic java.lang.String getEtag()
null for nonepublic About setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.util.List<About.ExportFormats> getExportFormats()
null for nonepublic About setExportFormats(java.util.List<About.ExportFormats> exportFormats)
exportFormats - exportFormats or null for nonepublic java.util.List<About.Features> getFeatures()
null for nonepublic About setFeatures(java.util.List<About.Features> features)
features - features or null for nonepublic java.util.List<java.lang.String> getFolderColorPalette()
null for nonepublic About setFolderColorPalette(java.util.List<java.lang.String> folderColorPalette)
folderColorPalette - folderColorPalette or null for nonepublic java.util.List<About.ImportFormats> getImportFormats()
null for nonepublic About setImportFormats(java.util.List<About.ImportFormats> importFormats)
importFormats - importFormats or null for nonepublic java.lang.Boolean getIsCurrentAppInstalled()
null for nonepublic About setIsCurrentAppInstalled(java.lang.Boolean isCurrentAppInstalled)
isCurrentAppInstalled - isCurrentAppInstalled or null for nonepublic java.lang.String getKind()
null for nonepublic About setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLanguageCode()
null for nonepublic About setLanguageCode(java.lang.String languageCode)
languageCode - languageCode or null for nonepublic java.lang.Long getLargestChangeId()
null for nonepublic About setLargestChangeId(java.lang.Long largestChangeId)
largestChangeId - largestChangeId or null for nonepublic java.util.List<About.MaxUploadSizes> getMaxUploadSizes()
null for nonepublic About setMaxUploadSizes(java.util.List<About.MaxUploadSizes> maxUploadSizes)
maxUploadSizes - maxUploadSizes or null for nonepublic java.lang.String getName()
null for nonepublic About setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getPermissionId()
null for nonepublic About setPermissionId(java.lang.String permissionId)
permissionId - permissionId or null for nonepublic java.util.List<About.QuotaBytesByService> getQuotaBytesByService()
null for nonepublic About setQuotaBytesByService(java.util.List<About.QuotaBytesByService> quotaBytesByService)
quotaBytesByService - quotaBytesByService or null for nonepublic java.lang.Long getQuotaBytesTotal()
null for nonepublic About setQuotaBytesTotal(java.lang.Long quotaBytesTotal)
quotaBytesTotal - quotaBytesTotal or null for nonepublic java.lang.Long getQuotaBytesUsed()
null for nonepublic About setQuotaBytesUsed(java.lang.Long quotaBytesUsed)
quotaBytesUsed - quotaBytesUsed or null for nonepublic java.lang.Long getQuotaBytesUsedAggregate()
null for nonepublic About setQuotaBytesUsedAggregate(java.lang.Long quotaBytesUsedAggregate)
quotaBytesUsedAggregate - quotaBytesUsedAggregate or null for nonepublic java.lang.Long getQuotaBytesUsedInTrash()
null for nonepublic About setQuotaBytesUsedInTrash(java.lang.Long quotaBytesUsedInTrash)
quotaBytesUsedInTrash - quotaBytesUsedInTrash or null for nonepublic java.lang.String getQuotaType()
null for nonepublic About setQuotaType(java.lang.String quotaType)
quotaType - quotaType or null for nonepublic java.lang.Long getRemainingChangeIds()
null for nonepublic About setRemainingChangeIds(java.lang.Long remainingChangeIds)
remainingChangeIds - remainingChangeIds or null for nonepublic java.lang.String getRootFolderId()
null for nonepublic About setRootFolderId(java.lang.String rootFolderId)
rootFolderId - rootFolderId or null for nonepublic java.lang.String getSelfLink()
null for nonepublic About setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic User getUser()
null for nonepublic About setUser(User user)
user - user or null for nonepublic About set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic About clone()
clone in class com.google.api.client.json.GenericJson