public final class File 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: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
File.Capabilities
Capabilities the current user has on this file.
|
static class |
File.ImageMediaMetadata
Metadata about image media.
|
static class |
File.IndexableText
Indexable text attributes for the file (can only be written)
|
static class |
File.Labels
A group of labels for the file.
|
static class |
File.LinkShareMetadata
Contains details about the link URLs that clients are using to refer to this item.
|
static class |
File.ShortcutDetails
Shortcut file details.
|
static class |
File.Thumbnail
A thumbnail for the file.
|
static class |
File.VideoMediaMetadata
Metadata about video media.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
File |
clone() |
String |
getAlternateLink()
A link for opening the file in a relevant Google editor or viewer.
|
Boolean |
getAppDataContents()
Whether this file is in the Application Data folder.
|
Boolean |
getCanComment()
Deprecated: use capabilities/canComment.
|
Boolean |
getCanReadRevisions()
Deprecated: use capabilities/canReadRevisions.
|
File.Capabilities |
getCapabilities()
Capabilities the current user has on this file.
|
List<ContentRestriction> |
getContentRestrictions()
Restrictions for accessing the content of the file.
|
Boolean |
getCopyable()
Deprecated: use capabilities/canCopy.
|
Boolean |
getCopyRequiresWriterPermission()
Whether the options to copy, print, or download this file, should be disabled for readers and
commenters.
|
DateTime |
getCreatedDate()
Create time for this file (formatted RFC 3339 timestamp).
|
String |
getDefaultOpenWithLink()
A link to open this file with the user's default app for this file.
|
String |
getDescription()
A short description of the file.
|
String |
getDownloadUrl()
Short lived download URL for the file.
|
String |
getDriveId()
ID of the shared drive the file resides in.
|
Boolean |
getEditable()
Deprecated: use capabilities/canEdit.
|
String |
getEmbedLink()
A link for embedding the file.
|
String |
getEtag()
ETag of the file.
|
Boolean |
getExplicitlyTrashed()
Whether this file has been explicitly trashed, as opposed to recursively trashed.
|
Map<String,String> |
getExportLinks()
Links for exporting Docs Editors files to specific formats.
|
String |
getFileExtension()
The final component of fullFileExtension with trailing text that does not appear to be part of
the extension removed.
|
Long |
getFileSize()
The size of the file in bytes.
|
String |
getFolderColorRgb()
Folder color as an RGB hex string if the file is a folder.
|
String |
getFullFileExtension()
The full file extension; extracted from the title.
|
Boolean |
getHasAugmentedPermissions()
Whether there are permissions directly on this file.
|
Boolean |
getHasThumbnail()
Whether this file has a thumbnail.
|
String |
getHeadRevisionId()
The ID of the file's head revision.
|
String |
getIconLink()
A link to the file's icon.
|
String |
getId()
The ID of the file.
|
File.ImageMediaMetadata |
getImageMediaMetadata()
Metadata about image media.
|
File.IndexableText |
getIndexableText()
Indexable text attributes for the file (can only be written)
|
Boolean |
getIsAppAuthorized()
Whether the file was created or opened by the requesting app.
|
String |
getKind()
The type of file.
|
File.Labels |
getLabels()
A group of labels for the file.
|
User |
getLastModifyingUser()
The last user to modify this file.
|
String |
getLastModifyingUserName()
Name of the last user to modify this file.
|
DateTime |
getLastViewedByMeDate()
Last time this file was viewed by the user (formatted RFC 3339 timestamp).
|
File.LinkShareMetadata |
getLinkShareMetadata()
Contains details about the link URLs that clients are using to refer to this item.
|
DateTime |
getMarkedViewedByMeDate()
Deprecated.
|
String |
getMd5Checksum()
An MD5 checksum for the content of this file.
|
String |
getMimeType()
The MIME type of the file.
|
DateTime |
getModifiedByMeDate()
Last time this file was modified by the user (formatted RFC 3339 timestamp).
|
DateTime |
getModifiedDate()
Last time this file was modified by anyone (formatted RFC 3339 timestamp).
|
Map<String,String> |
getOpenWithLinks()
A map of the id of each of the user's apps to a link to open this file with that app.
|
String |
getOriginalFilename()
The original filename of the uploaded content if available, or else the original value of the
title field.
|
Boolean |
getOwnedByMe()
Whether the file is owned by the current user.
|
List<String> |
getOwnerNames()
Name(s) of the owner(s) of this file.
|
List<User> |
getOwners()
The owner of this file.
|
List<ParentReference> |
getParents()
Collection of parent folders which contain this file.
|
List<String> |
getPermissionIds()
List of permission IDs for users with access to this file.
|
List<Permission> |
getPermissions()
The list of permissions for users with access to this file.
|
List<Property> |
getProperties()
The list of properties.
|
Long |
getQuotaBytesUsed()
The number of quota bytes used by this file.
|
String |
getResourceKey()
A key needed to access the item via a shared link.
|
String |
getSelfLink()
A link back to this file.
|
Boolean |
getShareable()
Deprecated: use capabilities/canShare.
|
Boolean |
getShared()
Whether the file has been shared.
|
DateTime |
getSharedWithMeDate()
Time at which this file was shared with the user (formatted RFC 3339 timestamp).
|
User |
getSharingUser()
User that shared the item with the current user, if available.
|
File.ShortcutDetails |
getShortcutDetails()
Shortcut file details.
|
List<String> |
getSpaces()
The list of spaces which contain the file.
|
String |
getTeamDriveId()
Deprecated - use driveId instead.
|
File.Thumbnail |
getThumbnail()
A thumbnail for the file.
|
String |
getThumbnailLink()
A short-lived link to the file's thumbnail.
|
Long |
getThumbnailVersion()
The thumbnail version for use in thumbnail cache invalidation.
|
String |
getTitle()
The title of this file.
|
DateTime |
getTrashedDate()
The time that the item was trashed (formatted RFC 3339 timestamp).
|
User |
getTrashingUser()
If the file has been explicitly trashed, the user who trashed it.
|
Permission |
getUserPermission()
The permissions for the authenticated user on this file.
|
Long |
getVersion()
A monotonically increasing version number for the file.
|
File.VideoMediaMetadata |
getVideoMediaMetadata()
Metadata about video media.
|
String |
getWebContentLink()
A link for downloading the content of the file in a browser using cookie based authentication.
|
String |
getWebViewLink()
A link only available on public folders for viewing their static web assets (HTML, CSS, JS,
etc) via Google Drive's Website Hosting.
|
Boolean |
getWritersCanShare()
Whether writers can share the document with other users.
|
File |
set(String fieldName,
Object value) |
File |
setAlternateLink(String alternateLink)
A link for opening the file in a relevant Google editor or viewer.
|
File |
setAppDataContents(Boolean appDataContents)
Whether this file is in the Application Data folder.
|
File |
setCanComment(Boolean canComment)
Deprecated: use capabilities/canComment.
|
File |
setCanReadRevisions(Boolean canReadRevisions)
Deprecated: use capabilities/canReadRevisions.
|
File |
setCapabilities(File.Capabilities capabilities)
Capabilities the current user has on this file.
|
File |
setContentRestrictions(List<ContentRestriction> contentRestrictions)
Restrictions for accessing the content of the file.
|
File |
setCopyable(Boolean copyable)
Deprecated: use capabilities/canCopy.
|
File |
setCopyRequiresWriterPermission(Boolean copyRequiresWriterPermission)
Whether the options to copy, print, or download this file, should be disabled for readers and
commenters.
|
File |
setCreatedDate(DateTime createdDate)
Create time for this file (formatted RFC 3339 timestamp).
|
File |
setDefaultOpenWithLink(String defaultOpenWithLink)
A link to open this file with the user's default app for this file.
|
File |
setDescription(String description)
A short description of the file.
|
File |
setDownloadUrl(String downloadUrl)
Short lived download URL for the file.
|
File |
setDriveId(String driveId)
ID of the shared drive the file resides in.
|
File |
setEditable(Boolean editable)
Deprecated: use capabilities/canEdit.
|
File |
setEmbedLink(String embedLink)
A link for embedding the file.
|
File |
setEtag(String etag)
ETag of the file.
|
File |
setExplicitlyTrashed(Boolean explicitlyTrashed)
Whether this file has been explicitly trashed, as opposed to recursively trashed.
|
File |
setExportLinks(Map<String,String> exportLinks)
Links for exporting Docs Editors files to specific formats.
|
File |
setFileExtension(String fileExtension)
The final component of fullFileExtension with trailing text that does not appear to be part of
the extension removed.
|
File |
setFileSize(Long fileSize)
The size of the file in bytes.
|
File |
setFolderColorRgb(String folderColorRgb)
Folder color as an RGB hex string if the file is a folder.
|
File |
setFullFileExtension(String fullFileExtension)
The full file extension; extracted from the title.
|
File |
setHasAugmentedPermissions(Boolean hasAugmentedPermissions)
Whether there are permissions directly on this file.
|
File |
setHasThumbnail(Boolean hasThumbnail)
Whether this file has a thumbnail.
|
File |
setHeadRevisionId(String headRevisionId)
The ID of the file's head revision.
|
File |
setIconLink(String iconLink)
A link to the file's icon.
|
File |
setId(String id)
The ID of the file.
|
File |
setImageMediaMetadata(File.ImageMediaMetadata imageMediaMetadata)
Metadata about image media.
|
File |
setIndexableText(File.IndexableText indexableText)
Indexable text attributes for the file (can only be written)
|
File |
setIsAppAuthorized(Boolean isAppAuthorized)
Whether the file was created or opened by the requesting app.
|
File |
setKind(String kind)
The type of file.
|
File |
setLabels(File.Labels labels)
A group of labels for the file.
|
File |
setLastModifyingUser(User lastModifyingUser)
The last user to modify this file.
|
File |
setLastModifyingUserName(String lastModifyingUserName)
Name of the last user to modify this file.
|
File |
setLastViewedByMeDate(DateTime lastViewedByMeDate)
Last time this file was viewed by the user (formatted RFC 3339 timestamp).
|
File |
setLinkShareMetadata(File.LinkShareMetadata linkShareMetadata)
Contains details about the link URLs that clients are using to refer to this item.
|
File |
setMarkedViewedByMeDate(DateTime markedViewedByMeDate)
Deprecated.
|
File |
setMd5Checksum(String md5Checksum)
An MD5 checksum for the content of this file.
|
File |
setMimeType(String mimeType)
The MIME type of the file.
|
File |
setModifiedByMeDate(DateTime modifiedByMeDate)
Last time this file was modified by the user (formatted RFC 3339 timestamp).
|
File |
setModifiedDate(DateTime modifiedDate)
Last time this file was modified by anyone (formatted RFC 3339 timestamp).
|
File |
setOpenWithLinks(Map<String,String> openWithLinks)
A map of the id of each of the user's apps to a link to open this file with that app.
|
File |
setOriginalFilename(String originalFilename)
The original filename of the uploaded content if available, or else the original value of the
title field.
|
File |
setOwnedByMe(Boolean ownedByMe)
Whether the file is owned by the current user.
|
File |
setOwnerNames(List<String> ownerNames)
Name(s) of the owner(s) of this file.
|
File |
setOwners(List<User> owners)
The owner of this file.
|
File |
setParents(List<ParentReference> parents)
Collection of parent folders which contain this file.
|
File |
setPermissionIds(List<String> permissionIds)
List of permission IDs for users with access to this file.
|
File |
setPermissions(List<Permission> permissions)
The list of permissions for users with access to this file.
|
File |
setProperties(List<Property> properties)
The list of properties.
|
File |
setQuotaBytesUsed(Long quotaBytesUsed)
The number of quota bytes used by this file.
|
File |
setResourceKey(String resourceKey)
A key needed to access the item via a shared link.
|
File |
setSelfLink(String selfLink)
A link back to this file.
|
File |
setShareable(Boolean shareable)
Deprecated: use capabilities/canShare.
|
File |
setShared(Boolean shared)
Whether the file has been shared.
|
File |
setSharedWithMeDate(DateTime sharedWithMeDate)
Time at which this file was shared with the user (formatted RFC 3339 timestamp).
|
File |
setSharingUser(User sharingUser)
User that shared the item with the current user, if available.
|
File |
setShortcutDetails(File.ShortcutDetails shortcutDetails)
Shortcut file details.
|
File |
setSpaces(List<String> spaces)
The list of spaces which contain the file.
|
File |
setTeamDriveId(String teamDriveId)
Deprecated - use driveId instead.
|
File |
setThumbnail(File.Thumbnail thumbnail)
A thumbnail for the file.
|
File |
setThumbnailLink(String thumbnailLink)
A short-lived link to the file's thumbnail.
|
File |
setThumbnailVersion(Long thumbnailVersion)
The thumbnail version for use in thumbnail cache invalidation.
|
File |
setTitle(String title)
The title of this file.
|
File |
setTrashedDate(DateTime trashedDate)
The time that the item was trashed (formatted RFC 3339 timestamp).
|
File |
setTrashingUser(User trashingUser)
If the file has been explicitly trashed, the user who trashed it.
|
File |
setUserPermission(Permission userPermission)
The permissions for the authenticated user on this file.
|
File |
setVersion(Long version)
A monotonically increasing version number for the file.
|
File |
setVideoMediaMetadata(File.VideoMediaMetadata videoMediaMetadata)
Metadata about video media.
|
File |
setWebContentLink(String webContentLink)
A link for downloading the content of the file in a browser using cookie based authentication.
|
File |
setWebViewLink(String webViewLink)
A link only available on public folders for viewing their static web assets (HTML, CSS, JS,
etc) via Google Drive's Website Hosting.
|
File |
setWritersCanShare(Boolean writersCanShare)
Whether writers can share the document with other users.
|
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 String getAlternateLink()
null
for nonepublic File setAlternateLink(String alternateLink)
alternateLink
- alternateLink or null
for nonepublic Boolean getAppDataContents()
null
for nonepublic File setAppDataContents(Boolean appDataContents)
appDataContents
- appDataContents or null
for nonepublic Boolean getCanComment()
null
for nonepublic File setCanComment(Boolean canComment)
canComment
- canComment or null
for nonepublic Boolean getCanReadRevisions()
null
for nonepublic File setCanReadRevisions(Boolean canReadRevisions)
canReadRevisions
- canReadRevisions or null
for nonepublic File.Capabilities getCapabilities()
null
for nonepublic File setCapabilities(File.Capabilities capabilities)
capabilities
- capabilities or null
for nonepublic List<ContentRestriction> getContentRestrictions()
null
for nonepublic File setContentRestrictions(List<ContentRestriction> contentRestrictions)
contentRestrictions
- contentRestrictions or null
for nonepublic Boolean getCopyRequiresWriterPermission()
null
for nonepublic File setCopyRequiresWriterPermission(Boolean copyRequiresWriterPermission)
copyRequiresWriterPermission
- copyRequiresWriterPermission or null
for nonepublic Boolean getCopyable()
null
for nonepublic File setCopyable(Boolean copyable)
copyable
- copyable or null
for nonepublic DateTime getCreatedDate()
null
for nonepublic File setCreatedDate(DateTime createdDate)
createdDate
- createdDate or null
for nonepublic String getDefaultOpenWithLink()
null
for nonepublic File setDefaultOpenWithLink(String defaultOpenWithLink)
defaultOpenWithLink
- defaultOpenWithLink or null
for nonepublic String getDescription()
null
for nonepublic File setDescription(String description)
description
- description or null
for nonepublic String getDownloadUrl()
null
for nonepublic File setDownloadUrl(String downloadUrl)
downloadUrl
- downloadUrl or null
for nonepublic String getDriveId()
null
for nonepublic File setDriveId(String driveId)
driveId
- driveId or null
for nonepublic Boolean getEditable()
null
for nonepublic File setEditable(Boolean editable)
editable
- editable or null
for nonepublic String getEmbedLink()
null
for nonepublic File setEmbedLink(String embedLink)
embedLink
- embedLink or null
for nonepublic String getEtag()
null
for nonepublic Boolean getExplicitlyTrashed()
null
for nonepublic File setExplicitlyTrashed(Boolean explicitlyTrashed)
explicitlyTrashed
- explicitlyTrashed or null
for nonepublic Map<String,String> getExportLinks()
null
for nonepublic File setExportLinks(Map<String,String> exportLinks)
exportLinks
- exportLinks or null
for nonepublic String getFileExtension()
null
for nonepublic File setFileExtension(String fileExtension)
fileExtension
- fileExtension or null
for nonepublic Long getFileSize()
null
for nonepublic File setFileSize(Long fileSize)
fileSize
- fileSize or null
for nonepublic String getFolderColorRgb()
null
for nonepublic File setFolderColorRgb(String folderColorRgb)
folderColorRgb
- folderColorRgb or null
for nonepublic String getFullFileExtension()
null
for nonepublic File setFullFileExtension(String fullFileExtension)
fullFileExtension
- fullFileExtension or null
for nonepublic Boolean getHasAugmentedPermissions()
null
for nonepublic File setHasAugmentedPermissions(Boolean hasAugmentedPermissions)
hasAugmentedPermissions
- hasAugmentedPermissions or null
for nonepublic Boolean getHasThumbnail()
null
for nonepublic File setHasThumbnail(Boolean hasThumbnail)
hasThumbnail
- hasThumbnail or null
for nonepublic String getHeadRevisionId()
null
for nonepublic File setHeadRevisionId(String headRevisionId)
headRevisionId
- headRevisionId or null
for nonepublic String getIconLink()
null
for nonepublic File setIconLink(String iconLink)
iconLink
- iconLink or null
for nonepublic String getId()
null
for nonepublic File.ImageMediaMetadata getImageMediaMetadata()
null
for nonepublic File setImageMediaMetadata(File.ImageMediaMetadata imageMediaMetadata)
imageMediaMetadata
- imageMediaMetadata or null
for nonepublic File.IndexableText getIndexableText()
null
for nonepublic File setIndexableText(File.IndexableText indexableText)
indexableText
- indexableText or null
for nonepublic Boolean getIsAppAuthorized()
null
for nonepublic File setIsAppAuthorized(Boolean isAppAuthorized)
isAppAuthorized
- isAppAuthorized or null
for nonepublic String getKind()
null
for nonepublic File setKind(String kind)
kind
- kind or null
for nonepublic File.Labels getLabels()
null
for nonepublic File setLabels(File.Labels labels)
labels
- labels or null
for nonepublic User getLastModifyingUser()
null
for nonepublic File setLastModifyingUser(User lastModifyingUser)
lastModifyingUser
- lastModifyingUser or null
for nonepublic String getLastModifyingUserName()
null
for nonepublic File setLastModifyingUserName(String lastModifyingUserName)
lastModifyingUserName
- lastModifyingUserName or null
for nonepublic DateTime getLastViewedByMeDate()
null
for nonepublic File setLastViewedByMeDate(DateTime lastViewedByMeDate)
lastViewedByMeDate
- lastViewedByMeDate or null
for nonepublic File.LinkShareMetadata getLinkShareMetadata()
null
for nonepublic File setLinkShareMetadata(File.LinkShareMetadata linkShareMetadata)
linkShareMetadata
- linkShareMetadata or null
for nonepublic DateTime getMarkedViewedByMeDate()
null
for nonepublic File setMarkedViewedByMeDate(DateTime markedViewedByMeDate)
markedViewedByMeDate
- markedViewedByMeDate or null
for nonepublic String getMd5Checksum()
null
for nonepublic File setMd5Checksum(String md5Checksum)
md5Checksum
- md5Checksum or null
for nonepublic String getMimeType()
null
for nonepublic File setMimeType(String mimeType)
mimeType
- mimeType or null
for nonepublic DateTime getModifiedByMeDate()
null
for nonepublic File setModifiedByMeDate(DateTime modifiedByMeDate)
modifiedByMeDate
- modifiedByMeDate or null
for nonepublic DateTime getModifiedDate()
null
for nonepublic File setModifiedDate(DateTime modifiedDate)
modifiedDate
- modifiedDate or null
for nonepublic Map<String,String> getOpenWithLinks()
null
for nonepublic File setOpenWithLinks(Map<String,String> openWithLinks)
openWithLinks
- openWithLinks or null
for nonepublic String getOriginalFilename()
null
for nonepublic File setOriginalFilename(String originalFilename)
originalFilename
- originalFilename or null
for nonepublic Boolean getOwnedByMe()
null
for nonepublic File setOwnedByMe(Boolean ownedByMe)
ownedByMe
- ownedByMe or null
for nonepublic List<String> getOwnerNames()
null
for nonepublic File setOwnerNames(List<String> ownerNames)
ownerNames
- ownerNames or null
for nonepublic List<User> getOwners()
null
for nonepublic File setOwners(List<User> owners)
owners
- owners or null
for nonepublic List<ParentReference> getParents()
null
for nonepublic File setParents(List<ParentReference> parents)
parents
- parents or null
for nonepublic List<String> getPermissionIds()
null
for nonepublic File setPermissionIds(List<String> permissionIds)
permissionIds
- permissionIds or null
for nonepublic List<Permission> getPermissions()
null
for nonepublic File setPermissions(List<Permission> permissions)
permissions
- permissions or null
for nonepublic List<Property> getProperties()
null
for nonepublic File setProperties(List<Property> properties)
properties
- properties or null
for nonepublic Long getQuotaBytesUsed()
null
for nonepublic File setQuotaBytesUsed(Long quotaBytesUsed)
quotaBytesUsed
- quotaBytesUsed or null
for nonepublic String getResourceKey()
null
for nonepublic File setResourceKey(String resourceKey)
resourceKey
- resourceKey or null
for nonepublic String getSelfLink()
null
for nonepublic File setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic Boolean getShareable()
null
for nonepublic File setShareable(Boolean shareable)
shareable
- shareable or null
for nonepublic Boolean getShared()
null
for nonepublic File setShared(Boolean shared)
shared
- shared or null
for nonepublic DateTime getSharedWithMeDate()
null
for nonepublic File setSharedWithMeDate(DateTime sharedWithMeDate)
sharedWithMeDate
- sharedWithMeDate or null
for nonepublic User getSharingUser()
null
for nonepublic File setSharingUser(User sharingUser)
sharingUser
- sharingUser or null
for nonepublic File.ShortcutDetails getShortcutDetails()
null
for nonepublic File setShortcutDetails(File.ShortcutDetails shortcutDetails)
shortcutDetails
- shortcutDetails or null
for nonepublic List<String> getSpaces()
null
for nonepublic File setSpaces(List<String> spaces)
spaces
- spaces or null
for nonepublic String getTeamDriveId()
null
for nonepublic File setTeamDriveId(String teamDriveId)
teamDriveId
- teamDriveId or null
for nonepublic File.Thumbnail getThumbnail()
null
for nonepublic File setThumbnail(File.Thumbnail thumbnail)
thumbnail
- thumbnail or null
for nonepublic String getThumbnailLink()
null
for nonepublic File setThumbnailLink(String thumbnailLink)
thumbnailLink
- thumbnailLink or null
for nonepublic Long getThumbnailVersion()
null
for nonepublic File setThumbnailVersion(Long thumbnailVersion)
thumbnailVersion
- thumbnailVersion or null
for nonepublic String getTitle()
null
for nonepublic File setTitle(String title)
title
- title or null
for nonepublic DateTime getTrashedDate()
null
for nonepublic File setTrashedDate(DateTime trashedDate)
trashedDate
- trashedDate or null
for nonepublic User getTrashingUser()
null
for nonepublic File setTrashingUser(User trashingUser)
trashingUser
- trashingUser or null
for nonepublic Permission getUserPermission()
null
for nonepublic File setUserPermission(Permission userPermission)
userPermission
- userPermission or null
for nonepublic Long getVersion()
null
for nonepublic File setVersion(Long version)
version
- version or null
for nonepublic File.VideoMediaMetadata getVideoMediaMetadata()
null
for nonepublic File setVideoMediaMetadata(File.VideoMediaMetadata videoMediaMetadata)
videoMediaMetadata
- videoMediaMetadata or null
for nonepublic String getWebContentLink()
null
for nonepublic File setWebContentLink(String webContentLink)
webContentLink
- webContentLink or null
for nonepublic String getWebViewLink()
null
for nonepublic File setWebViewLink(String webViewLink)
webViewLink
- webViewLink or null
for nonepublic Boolean getWritersCanShare()
null
for nonepublic File setWritersCanShare(Boolean writersCanShare)
writersCanShare
- writersCanShare or null
for nonepublic File set(String fieldName, Object value)
set
in class GenericJson
public File clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.