|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.drive.model.App
public final class App
Information about a third-party application which the user has installed or given access to Google Drive.
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-api-java-client/wiki/Json
| Nested Class Summary | |
|---|---|
static class |
App.Icons
Model definition for AppIcons. |
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
App()
|
|
| Method Summary | |
|---|---|
Boolean |
getAuthorized()
Whether the app is authorized to access data on the user's Drive. |
List<App.Icons> |
getIcons()
The various icons for the app. |
String |
getId()
The ID of the app. |
Boolean |
getInstalled()
Whether the app is installed. |
String |
getKind()
This is always drive#app. |
String |
getName()
The name of the app. |
String |
getObjectType()
The name of the type of object this app creates. |
List<String> |
getPrimaryFileExtensions()
The list of primary file extensions. |
List<String> |
getPrimaryMimeTypes()
The list of primary mime types. |
String |
getProductUrl()
The product URL. |
HttpHeaders |
getResponseHeaders()
Returns the HTTP headers that were returned with the server response, or null. |
List<String> |
getSecondaryFileExtensions()
The list of secondary file extensions. |
List<String> |
getSecondaryMimeTypes()
The list of secondary mime types. |
Boolean |
getSupportsCreate()
Whether this app supports creating new objects. |
Boolean |
getSupportsImport()
Whether this app supports importing Google Docs. |
App |
setAuthorized(Boolean authorized)
Whether the app is authorized to access data on the user's Drive. |
App |
setIcons(List<App.Icons> icons)
The various icons for the app. |
App |
setId(String id)
The ID of the app. |
App |
setInstalled(Boolean installed)
Whether the app is installed. |
App |
setKind(String kind)
This is always drive#app. |
App |
setName(String name)
The name of the app. |
App |
setObjectType(String objectType)
The name of the type of object this app creates. |
App |
setPrimaryFileExtensions(List<String> primaryFileExtensions)
The list of primary file extensions. |
App |
setPrimaryMimeTypes(List<String> primaryMimeTypes)
The list of primary mime types. |
App |
setProductUrl(String productUrl)
The product URL. |
void |
setResponseHeaders(HttpHeaders responseHeaders)
Sets the HTTP headers returned with the server response, or null. |
App |
setSecondaryFileExtensions(List<String> secondaryFileExtensions)
The list of secondary file extensions. |
App |
setSecondaryMimeTypes(List<String> secondaryMimeTypes)
The list of secondary mime types. |
App |
setSupportsCreate(Boolean supportsCreate)
Whether this app supports creating new objects. |
App |
setSupportsImport(Boolean supportsImport)
Whether this app supports importing Google Docs. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
clone, getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public App()
| Method Detail |
|---|
public String getKind()
null.
public App setKind(String kind)
null.
public List<String> getPrimaryFileExtensions()
null.
public App setPrimaryFileExtensions(List<String> primaryFileExtensions)
null.
public String getName()
null.
public App setName(String name)
null.
public List<App.Icons> getIcons()
null.
public App setIcons(List<App.Icons> icons)
null.
public List<String> getSecondaryFileExtensions()
null.
public App setSecondaryFileExtensions(List<String> secondaryFileExtensions)
null.
public Boolean getInstalled()
null.
public App setInstalled(Boolean installed)
null.
public String getProductUrl()
null.
public App setProductUrl(String productUrl)
null.
public List<String> getSecondaryMimeTypes()
null.
public App setSecondaryMimeTypes(List<String> secondaryMimeTypes)
null.
public Boolean getAuthorized()
null.
public App setAuthorized(Boolean authorized)
null.
public Boolean getSupportsCreate()
null.
public App setSupportsCreate(Boolean supportsCreate)
null.
public Boolean getSupportsImport()
null.
public App setSupportsImport(Boolean supportsImport)
null.
public List<String> getPrimaryMimeTypes()
null.
public App setPrimaryMimeTypes(List<String> primaryMimeTypes)
null.
public String getId()
null.
public App setId(String id)
null.
public String getObjectType()
null.
public App setObjectType(String objectType)
null.
public void setResponseHeaders(HttpHeaders responseHeaders)
null.
This member should only be non-null if this object was the top level element of a response. For
example, a request that returns a single App would include the response headers, while
a request which returns an array of App, would have a non-null response header in the
enclosing object only.
public HttpHeaders getResponseHeaders()
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||