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