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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
App() |
| Modifier and Type | Method and Description |
|---|---|
App |
clone() |
Boolean |
getAuthorized()
Whether the app is authorized to access data on the user's Drive.
|
String |
getCreateInFolderTemplate()
The template url to create a new file with this app in a given folder.
|
String |
getCreateUrl()
The url to create a new file with this app.
|
Boolean |
getHasDriveWideScope()
Whether the app has drive-wide scope.
|
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 |
getLongDescription()
A long description of the app.
|
String |
getName()
The name of the app.
|
String |
getObjectType()
The type of object this app creates (e.g.
|
String |
getOpenUrlTemplate()
The template url for opening files with this app.
|
List<String> |
getPrimaryFileExtensions()
The list of primary file extensions.
|
List<String> |
getPrimaryMimeTypes()
The list of primary mime types.
|
String |
getProductId()
The ID of the product listing for this app.
|
String |
getProductUrl()
A link to the product listing for this app.
|
List<String> |
getSecondaryFileExtensions()
The list of secondary file extensions.
|
List<String> |
getSecondaryMimeTypes()
The list of secondary mime types.
|
String |
getShortDescription()
A short description of the app.
|
Boolean |
getSupportsCreate()
Whether this app supports creating new objects.
|
Boolean |
getSupportsImport()
Whether this app supports importing from Docs Editors.
|
Boolean |
getSupportsMultiOpen()
Whether this app supports opening more than one file.
|
Boolean |
getSupportsOfflineCreate()
Whether this app supports creating new files when offline.
|
Boolean |
getUseByDefault()
Whether the app is selected as the default handler for the types it supports.
|
App |
set(String fieldName,
Object value) |
App |
setAuthorized(Boolean authorized)
Whether the app is authorized to access data on the user's Drive.
|
App |
setCreateInFolderTemplate(String createInFolderTemplate)
The template url to create a new file with this app in a given folder.
|
App |
setCreateUrl(String createUrl)
The url to create a new file with this app.
|
App |
setHasDriveWideScope(Boolean hasDriveWideScope)
Whether the app has drive-wide scope.
|
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 |
setLongDescription(String longDescription)
A long description of the app.
|
App |
setName(String name)
The name of the app.
|
App |
setObjectType(String objectType)
The type of object this app creates (e.g.
|
App |
setOpenUrlTemplate(String openUrlTemplate)
The template url for opening files with this app.
|
App |
setPrimaryFileExtensions(List<String> primaryFileExtensions)
The list of primary file extensions.
|
App |
setPrimaryMimeTypes(List<String> primaryMimeTypes)
The list of primary mime types.
|
App |
setProductId(String productId)
The ID of the product listing for this app.
|
App |
setProductUrl(String productUrl)
A link to the product listing for this app.
|
App |
setSecondaryFileExtensions(List<String> secondaryFileExtensions)
The list of secondary file extensions.
|
App |
setSecondaryMimeTypes(List<String> secondaryMimeTypes)
The list of secondary mime types.
|
App |
setShortDescription(String shortDescription)
A short description of the app.
|
App |
setSupportsCreate(Boolean supportsCreate)
Whether this app supports creating new objects.
|
App |
setSupportsImport(Boolean supportsImport)
Whether this app supports importing from Docs Editors.
|
App |
setSupportsMultiOpen(Boolean supportsMultiOpen)
Whether this app supports opening more than one file.
|
App |
setSupportsOfflineCreate(Boolean supportsOfflineCreate)
Whether this app supports creating new files when offline.
|
App |
setUseByDefault(Boolean useByDefault)
Whether the app is selected as the default handler for the types it supports.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getAuthorized()
null for nonepublic App setAuthorized(Boolean authorized)
authorized - authorized or null for nonepublic String getCreateInFolderTemplate()
null for nonepublic App setCreateInFolderTemplate(String createInFolderTemplate)
createInFolderTemplate - createInFolderTemplate or null for nonepublic String getCreateUrl()
null for nonepublic App setCreateUrl(String createUrl)
createUrl - createUrl or null for nonepublic Boolean getHasDriveWideScope()
null for nonepublic App setHasDriveWideScope(Boolean hasDriveWideScope)
hasDriveWideScope - hasDriveWideScope or null for nonepublic List<App.Icons> getIcons()
null for nonepublic App setIcons(List<App.Icons> icons)
icons - icons or null for nonepublic String getId()
null for nonepublic Boolean getInstalled()
null for nonepublic App setInstalled(Boolean installed)
installed - installed or null for nonepublic String getKind()
null for nonepublic App setKind(String kind)
kind - kind or null for nonepublic String getLongDescription()
null for nonepublic App setLongDescription(String longDescription)
longDescription - longDescription or null for nonepublic String getName()
null for nonepublic App setName(String name)
name - name or null for nonepublic String getObjectType()
null for nonepublic App setObjectType(String objectType)
objectType - objectType or null for nonepublic String getOpenUrlTemplate()
null for nonepublic App setOpenUrlTemplate(String openUrlTemplate)
openUrlTemplate - openUrlTemplate or null for nonepublic List<String> getPrimaryFileExtensions()
null for nonepublic App setPrimaryFileExtensions(List<String> primaryFileExtensions)
primaryFileExtensions - primaryFileExtensions or null for nonepublic List<String> getPrimaryMimeTypes()
null for nonepublic App setPrimaryMimeTypes(List<String> primaryMimeTypes)
primaryMimeTypes - primaryMimeTypes or null for nonepublic String getProductId()
null for nonepublic App setProductId(String productId)
productId - productId or null for nonepublic String getProductUrl()
null for nonepublic App setProductUrl(String productUrl)
productUrl - productUrl or null for nonepublic List<String> getSecondaryFileExtensions()
null for nonepublic App setSecondaryFileExtensions(List<String> secondaryFileExtensions)
secondaryFileExtensions - secondaryFileExtensions or null for nonepublic List<String> getSecondaryMimeTypes()
null for nonepublic App setSecondaryMimeTypes(List<String> secondaryMimeTypes)
secondaryMimeTypes - secondaryMimeTypes or null for nonepublic String getShortDescription()
null for nonepublic App setShortDescription(String shortDescription)
shortDescription - shortDescription or null for nonepublic Boolean getSupportsCreate()
null for nonepublic App setSupportsCreate(Boolean supportsCreate)
supportsCreate - supportsCreate or null for nonepublic Boolean getSupportsImport()
null for nonepublic App setSupportsImport(Boolean supportsImport)
supportsImport - supportsImport or null for nonepublic Boolean getSupportsMultiOpen()
null for nonepublic App setSupportsMultiOpen(Boolean supportsMultiOpen)
supportsMultiOpen - supportsMultiOpen or null for nonepublic Boolean getSupportsOfflineCreate()
null for nonepublic App setSupportsOfflineCreate(Boolean supportsOfflineCreate)
supportsOfflineCreate - supportsOfflineCreate or null for nonepublic Boolean getUseByDefault()
null for nonepublic App setUseByDefault(Boolean useByDefault)
useByDefault - useByDefault or null for nonepublic App set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic App clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.