public final class Revision
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 |
---|
Revision() |
Modifier and Type | Method and Description |
---|---|
Revision |
clone() |
Map<String,String> |
getExportLinks()
Output only.
|
String |
getId()
Output only.
|
Boolean |
getKeepForever()
Whether to keep this revision forever, even if it is no longer the head revision.
|
String |
getKind()
Output only.
|
User |
getLastModifyingUser()
Output only.
|
String |
getMd5Checksum()
Output only.
|
String |
getMimeType()
Output only.
|
com.google.api.client.util.DateTime |
getModifiedTime()
The last time the revision was modified (RFC 3339 date-time).
|
String |
getOriginalFilename()
Output only.
|
Boolean |
getPublishAuto()
Whether subsequent revisions will be automatically republished.
|
Boolean |
getPublished()
Whether this revision is published.
|
String |
getPublishedLink()
Output only.
|
Boolean |
getPublishedOutsideDomain()
Whether this revision is published outside the domain.
|
Long |
getSize()
Output only.
|
Revision |
set(String fieldName,
Object value) |
Revision |
setExportLinks(Map<String,String> exportLinks)
Output only.
|
Revision |
setId(String id)
Output only.
|
Revision |
setKeepForever(Boolean keepForever)
Whether to keep this revision forever, even if it is no longer the head revision.
|
Revision |
setKind(String kind)
Output only.
|
Revision |
setLastModifyingUser(User lastModifyingUser)
Output only.
|
Revision |
setMd5Checksum(String md5Checksum)
Output only.
|
Revision |
setMimeType(String mimeType)
Output only.
|
Revision |
setModifiedTime(com.google.api.client.util.DateTime modifiedTime)
The last time the revision was modified (RFC 3339 date-time).
|
Revision |
setOriginalFilename(String originalFilename)
Output only.
|
Revision |
setPublishAuto(Boolean publishAuto)
Whether subsequent revisions will be automatically republished.
|
Revision |
setPublished(Boolean published)
Whether this revision is published.
|
Revision |
setPublishedLink(String publishedLink)
Output only.
|
Revision |
setPublishedOutsideDomain(Boolean publishedOutsideDomain)
Whether this revision is published outside the domain.
|
Revision |
setSize(Long size)
Output only.
|
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 Map<String,String> getExportLinks()
null
for nonepublic Revision setExportLinks(Map<String,String> exportLinks)
exportLinks
- exportLinks or null
for nonepublic String getId()
null
for nonepublic Revision setId(String id)
id
- id or null
for nonepublic Boolean getKeepForever()
null
for nonepublic Revision setKeepForever(Boolean keepForever)
keepForever
- keepForever or null
for nonepublic String getKind()
null
for nonepublic Revision setKind(String kind)
kind
- kind or null
for nonepublic User getLastModifyingUser()
null
for nonepublic Revision setLastModifyingUser(User lastModifyingUser)
lastModifyingUser
- lastModifyingUser or null
for nonepublic String getMd5Checksum()
null
for nonepublic Revision setMd5Checksum(String md5Checksum)
md5Checksum
- md5Checksum or null
for nonepublic String getMimeType()
null
for nonepublic Revision setMimeType(String mimeType)
mimeType
- mimeType or null
for nonepublic com.google.api.client.util.DateTime getModifiedTime()
null
for nonepublic Revision setModifiedTime(com.google.api.client.util.DateTime modifiedTime)
modifiedTime
- modifiedTime or null
for nonepublic String getOriginalFilename()
null
for nonepublic Revision setOriginalFilename(String originalFilename)
originalFilename
- originalFilename or null
for nonepublic Boolean getPublishAuto()
null
for nonepublic Revision setPublishAuto(Boolean publishAuto)
publishAuto
- publishAuto or null
for nonepublic Boolean getPublished()
null
for nonepublic Revision setPublished(Boolean published)
published
- published or null
for nonepublic String getPublishedLink()
null
for nonepublic Revision setPublishedLink(String publishedLink)
publishedLink
- publishedLink or null
for nonepublic Boolean getPublishedOutsideDomain()
null
for nonepublic Revision setPublishedOutsideDomain(Boolean publishedOutsideDomain)
publishedOutsideDomain
- publishedOutsideDomain or null
for nonepublic Long getSize()
null
for nonepublic Revision setSize(Long size)
size
- size or null
for nonepublic Revision set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Revision clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.