public final class App
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
App.Icons
Model definition for AppIcons.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
App() |
Modifier and Type | Method and Description |
---|---|
App |
clone() |
java.lang.Boolean |
getAuthorized()
Whether the app is authorized to access data on the user's Drive.
|
java.lang.String |
getCreateInFolderTemplate()
The template url to create a new file with this app in a given folder.
|
java.lang.String |
getCreateUrl()
The url to create a new file with this app.
|
java.lang.Boolean |
getHasDriveWideScope()
Whether the app has drive-wide scope.
|
java.util.List<App.Icons> |
getIcons()
The various icons for the app.
|
java.lang.String |
getId()
The ID of the app.
|
java.lang.Boolean |
getInstalled()
Whether the app is installed.
|
java.lang.String |
getKind()
This is always drive#app.
|
java.lang.String |
getLongDescription()
A long description of the app.
|
java.lang.String |
getName()
The name of the app.
|
java.lang.String |
getObjectType()
The type of object this app creates (e.g.
|
java.lang.String |
getOpenUrlTemplate()
The template url for opening files with this app.
|
java.util.List<java.lang.String> |
getPrimaryFileExtensions()
The list of primary file extensions.
|
java.util.List<java.lang.String> |
getPrimaryMimeTypes()
The list of primary mime types.
|
java.lang.String |
getProductId()
The ID of the product listing for this app.
|
java.lang.String |
getProductUrl()
A link to the product listing for this app.
|
java.util.List<java.lang.String> |
getSecondaryFileExtensions()
The list of secondary file extensions.
|
java.util.List<java.lang.String> |
getSecondaryMimeTypes()
The list of secondary mime types.
|
java.lang.String |
getShortDescription()
A short description of the app.
|
java.lang.Boolean |
getSupportsCreate()
Whether this app supports creating new objects.
|
java.lang.Boolean |
getSupportsImport()
Whether this app supports importing Google Docs.
|
java.lang.Boolean |
getSupportsMultiOpen()
Whether this app supports opening more than one file.
|
java.lang.Boolean |
getSupportsOfflineCreate()
Whether this app supports creating new files when offline.
|
java.lang.Boolean |
getUseByDefault()
Whether the app is selected as the default handler for the types it supports.
|
App |
set(java.lang.String fieldName,
java.lang.Object value) |
App |
setAuthorized(java.lang.Boolean authorized)
Whether the app is authorized to access data on the user's Drive.
|
App |
setCreateInFolderTemplate(java.lang.String createInFolderTemplate)
The template url to create a new file with this app in a given folder.
|
App |
setCreateUrl(java.lang.String createUrl)
The url to create a new file with this app.
|
App |
setHasDriveWideScope(java.lang.Boolean hasDriveWideScope)
Whether the app has drive-wide scope.
|
App |
setIcons(java.util.List<App.Icons> icons)
The various icons for the app.
|
App |
setId(java.lang.String id)
The ID of the app.
|
App |
setInstalled(java.lang.Boolean installed)
Whether the app is installed.
|
App |
setKind(java.lang.String kind)
This is always drive#app.
|
App |
setLongDescription(java.lang.String longDescription)
A long description of the app.
|
App |
setName(java.lang.String name)
The name of the app.
|
App |
setObjectType(java.lang.String objectType)
The type of object this app creates (e.g.
|
App |
setOpenUrlTemplate(java.lang.String openUrlTemplate)
The template url for opening files with this app.
|
App |
setPrimaryFileExtensions(java.util.List<java.lang.String> primaryFileExtensions)
The list of primary file extensions.
|
App |
setPrimaryMimeTypes(java.util.List<java.lang.String> primaryMimeTypes)
The list of primary mime types.
|
App |
setProductId(java.lang.String productId)
The ID of the product listing for this app.
|
App |
setProductUrl(java.lang.String productUrl)
A link to the product listing for this app.
|
App |
setSecondaryFileExtensions(java.util.List<java.lang.String> secondaryFileExtensions)
The list of secondary file extensions.
|
App |
setSecondaryMimeTypes(java.util.List<java.lang.String> secondaryMimeTypes)
The list of secondary mime types.
|
App |
setShortDescription(java.lang.String shortDescription)
A short description of the app.
|
App |
setSupportsCreate(java.lang.Boolean supportsCreate)
Whether this app supports creating new objects.
|
App |
setSupportsImport(java.lang.Boolean supportsImport)
Whether this app supports importing Google Docs.
|
App |
setSupportsMultiOpen(java.lang.Boolean supportsMultiOpen)
Whether this app supports opening more than one file.
|
App |
setSupportsOfflineCreate(java.lang.Boolean supportsOfflineCreate)
Whether this app supports creating new files when offline.
|
App |
setUseByDefault(java.lang.Boolean useByDefault)
Whether the app is selected as the default handler for the types it supports.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getAuthorized()
null
for nonepublic App setAuthorized(java.lang.Boolean authorized)
authorized
- authorized or null
for nonepublic java.lang.String getCreateInFolderTemplate()
null
for nonepublic App setCreateInFolderTemplate(java.lang.String createInFolderTemplate)
createInFolderTemplate
- createInFolderTemplate or null
for nonepublic java.lang.String getCreateUrl()
null
for nonepublic App setCreateUrl(java.lang.String createUrl)
createUrl
- createUrl or null
for nonepublic java.lang.Boolean getHasDriveWideScope()
null
for nonepublic App setHasDriveWideScope(java.lang.Boolean hasDriveWideScope)
hasDriveWideScope
- hasDriveWideScope or null
for nonepublic java.util.List<App.Icons> getIcons()
null
for nonepublic App setIcons(java.util.List<App.Icons> icons)
icons
- icons or null
for nonepublic java.lang.String getId()
null
for nonepublic App setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.Boolean getInstalled()
null
for nonepublic App setInstalled(java.lang.Boolean installed)
installed
- installed or null
for nonepublic java.lang.String getKind()
null
for nonepublic App setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getLongDescription()
null
for nonepublic App setLongDescription(java.lang.String longDescription)
longDescription
- longDescription or null
for nonepublic java.lang.String getName()
null
for nonepublic App setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getObjectType()
null
for nonepublic App setObjectType(java.lang.String objectType)
objectType
- objectType or null
for nonepublic java.lang.String getOpenUrlTemplate()
null
for nonepublic App setOpenUrlTemplate(java.lang.String openUrlTemplate)
openUrlTemplate
- openUrlTemplate or null
for nonepublic java.util.List<java.lang.String> getPrimaryFileExtensions()
null
for nonepublic App setPrimaryFileExtensions(java.util.List<java.lang.String> primaryFileExtensions)
primaryFileExtensions
- primaryFileExtensions or null
for nonepublic java.util.List<java.lang.String> getPrimaryMimeTypes()
null
for nonepublic App setPrimaryMimeTypes(java.util.List<java.lang.String> primaryMimeTypes)
primaryMimeTypes
- primaryMimeTypes or null
for nonepublic java.lang.String getProductId()
null
for nonepublic App setProductId(java.lang.String productId)
productId
- productId or null
for nonepublic java.lang.String getProductUrl()
null
for nonepublic App setProductUrl(java.lang.String productUrl)
productUrl
- productUrl or null
for nonepublic java.util.List<java.lang.String> getSecondaryFileExtensions()
null
for nonepublic App setSecondaryFileExtensions(java.util.List<java.lang.String> secondaryFileExtensions)
secondaryFileExtensions
- secondaryFileExtensions or null
for nonepublic java.util.List<java.lang.String> getSecondaryMimeTypes()
null
for nonepublic App setSecondaryMimeTypes(java.util.List<java.lang.String> secondaryMimeTypes)
secondaryMimeTypes
- secondaryMimeTypes or null
for nonepublic java.lang.String getShortDescription()
null
for nonepublic App setShortDescription(java.lang.String shortDescription)
shortDescription
- shortDescription or null
for nonepublic java.lang.Boolean getSupportsCreate()
null
for nonepublic App setSupportsCreate(java.lang.Boolean supportsCreate)
supportsCreate
- supportsCreate or null
for nonepublic java.lang.Boolean getSupportsImport()
null
for nonepublic App setSupportsImport(java.lang.Boolean supportsImport)
supportsImport
- supportsImport or null
for nonepublic java.lang.Boolean getSupportsMultiOpen()
null
for nonepublic App setSupportsMultiOpen(java.lang.Boolean supportsMultiOpen)
supportsMultiOpen
- supportsMultiOpen or null
for nonepublic java.lang.Boolean getSupportsOfflineCreate()
null
for nonepublic App setSupportsOfflineCreate(java.lang.Boolean supportsOfflineCreate)
supportsOfflineCreate
- supportsOfflineCreate or null
for nonepublic java.lang.Boolean getUseByDefault()
null
for nonepublic App setUseByDefault(java.lang.Boolean useByDefault)
useByDefault
- useByDefault or null
for nonepublic App set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public App clone()
clone
in class com.google.api.client.json.GenericJson