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.StorageQuota
The user's storage quota limits and usage.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
About() |
| Modifier and Type | Method and Description |
|---|---|
About |
clone() |
Boolean |
getAppInstalled()
Whether the user has installed the requesting app.
|
Map<String,List<String>> |
getExportFormats()
A map of source MIME type to possible targets for all supported exports.
|
List<String> |
getFolderColorPalette()
The currently supported folder colors as RGB hex strings.
|
Map<String,List<String>> |
getImportFormats()
A map of source MIME type to possible targets for all supported imports.
|
String |
getKind()
Identifies what kind of resource this is.
|
Map<String,Long> |
getMaxImportSizes()
A map of maximum import sizes by MIME type, in bytes.
|
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(String fieldName,
Object value) |
About |
setAppInstalled(Boolean appInstalled)
Whether the user has installed the requesting app.
|
About |
setExportFormats(Map<String,List<String>> exportFormats)
A map of source MIME type to possible targets for all supported exports.
|
About |
setFolderColorPalette(List<String> folderColorPalette)
The currently supported folder colors as RGB hex strings.
|
About |
setImportFormats(Map<String,List<String>> importFormats)
A map of source MIME type to possible targets for all supported imports.
|
About |
setKind(String kind)
Identifies what kind of resource this is.
|
About |
setMaxImportSizes(Map<String,Long> maxImportSizes)
A map of maximum import sizes by MIME type, in bytes.
|
About |
setMaxUploadSize(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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Boolean getAppInstalled()
null for nonepublic About setAppInstalled(Boolean appInstalled)
appInstalled - appInstalled or null for nonepublic Map<String,List<String>> getExportFormats()
null for nonepublic About setExportFormats(Map<String,List<String>> exportFormats)
exportFormats - exportFormats or null for nonepublic List<String> getFolderColorPalette()
null for nonepublic About setFolderColorPalette(List<String> folderColorPalette)
folderColorPalette - folderColorPalette or null for nonepublic Map<String,List<String>> getImportFormats()
null for nonepublic About setImportFormats(Map<String,List<String>> importFormats)
importFormats - importFormats or null for nonepublic String getKind()
null for nonepublic About setKind(String kind)
kind - kind or null for nonepublic Map<String,Long> getMaxImportSizes()
null for nonepublic About setMaxImportSizes(Map<String,Long> maxImportSizes)
maxImportSizes - maxImportSizes or null for nonepublic Long getMaxUploadSize()
null for nonepublic About setMaxUploadSize(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(String fieldName, Object value)
set in class GenericJsonpublic About clone()
clone in class GenericJson