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 Google Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.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 file with this app in a given folder.
|
String |
getCreateUrl()
The URL to create a file with this app.
|
Boolean |
getHasDriveWideScope()
Whether the app has Drive-wide scope.
|
List<AppIcons> |
getIcons()
The various icons for the app.
|
String |
getId()
The ID of the app.
|
Boolean |
getInstalled()
Whether the app is installed.
|
String |
getKind()
Output only.
|
String |
getLongDescription()
A long description of the app.
|
String |
getName()
The name of the app.
|
String |
getObjectType()
The type of object this app creates such as a Chart.
|
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 objects.
|
Boolean |
getSupportsImport()
Whether this app supports importing from Google Docs.
|
Boolean |
getSupportsMultiOpen()
Whether this app supports opening more than one file.
|
Boolean |
getSupportsOfflineCreate()
Whether this app supports creating 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 file with this app in a given folder.
|
App |
setCreateUrl(String createUrl)
The URL to create a file with this app.
|
App |
setHasDriveWideScope(Boolean hasDriveWideScope)
Whether the app has Drive-wide scope.
|
App |
setIcons(List<AppIcons> 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)
Output only.
|
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 such as a Chart.
|
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 objects.
|
App |
setSupportsImport(Boolean supportsImport)
Whether this app supports importing from Google Docs.
|
App |
setSupportsMultiOpen(Boolean supportsMultiOpen)
Whether this app supports opening more than one file.
|
App |
setSupportsOfflineCreate(Boolean supportsOfflineCreate)
Whether this app supports creating files when offline.
|
App |
setUseByDefault(Boolean useByDefault)
Whether the app is selected as the default handler for the types it supports.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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<AppIcons> getIcons()
null
for nonepublic App setIcons(List<AppIcons> 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.GenericJson
public App clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.