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.StorageQuota
The user's storage quota limits and usage.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
About() |
| Modifier and Type | Method and Description |
|---|---|
About |
clone() |
java.lang.Boolean |
getAppInstalled()
Whether the user has installed the requesting app.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getExportFormats()
A map of source MIME type to possible targets for all supported exports.
|
java.util.List<java.lang.String> |
getFolderColorPalette()
The currently supported folder colors as RGB hex strings.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getImportFormats()
A map of source MIME type to possible targets for all supported imports.
|
java.lang.String |
getKind()
This is always drive#about.
|
java.util.Map<java.lang.String,java.lang.Long> |
getMaxImportSizes()
A map of maximum import sizes by MIME type, in bytes.
|
java.lang.Long |
getMaxUploadSize()
The maximum upload size in bytes.
|
About.StorageQuota |
getStorageQuota()
The user's storage quota limits and usage.
|
User |
getUser()
The authenticated user.
|
About |
set(java.lang.String fieldName,
java.lang.Object value) |
About |
setAppInstalled(java.lang.Boolean appInstalled)
Whether the user has installed the requesting app.
|
About |
setExportFormats(java.util.Map<java.lang.String,java.util.List<java.lang.String>> exportFormats)
A map of source MIME type to possible targets for all supported exports.
|
About |
setFolderColorPalette(java.util.List<java.lang.String> folderColorPalette)
The currently supported folder colors as RGB hex strings.
|
About |
setImportFormats(java.util.Map<java.lang.String,java.util.List<java.lang.String>> importFormats)
A map of source MIME type to possible targets for all supported imports.
|
About |
setKind(java.lang.String kind)
This is always drive#about.
|
About |
setMaxImportSizes(java.util.Map<java.lang.String,java.lang.Long> maxImportSizes)
A map of maximum import sizes by MIME type, in bytes.
|
About |
setMaxUploadSize(java.lang.Long maxUploadSize)
The maximum upload size in bytes.
|
About |
setStorageQuota(About.StorageQuota storageQuota)
The user's storage quota limits and usage.
|
About |
setUser(User user)
The authenticated user.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getAppInstalled()
null for nonepublic About setAppInstalled(java.lang.Boolean appInstalled)
appInstalled - appInstalled or null for nonepublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getExportFormats()
null for nonepublic About setExportFormats(java.util.Map<java.lang.String,java.util.List<java.lang.String>> exportFormats)
exportFormats - exportFormats 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.Map<java.lang.String,java.util.List<java.lang.String>> getImportFormats()
null for nonepublic About setImportFormats(java.util.Map<java.lang.String,java.util.List<java.lang.String>> importFormats)
importFormats - importFormats or null for nonepublic java.lang.String getKind()
null for nonepublic About setKind(java.lang.String kind)
kind - kind or null for nonepublic java.util.Map<java.lang.String,java.lang.Long> getMaxImportSizes()
null for nonepublic About setMaxImportSizes(java.util.Map<java.lang.String,java.lang.Long> maxImportSizes)
maxImportSizes - maxImportSizes or null for nonepublic java.lang.Long getMaxUploadSize()
null for nonepublic About setMaxUploadSize(java.lang.Long maxUploadSize)
maxUploadSize - maxUploadSize or null for nonepublic About.StorageQuota getStorageQuota()
null for nonepublic About setStorageQuota(About.StorageQuota storageQuota)
storageQuota - storageQuota 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