|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.drive.model.Revision
public final class Revision
A single revision of a file.
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: http://code.google.com/p/google-api-java-client/wiki/Json
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
Revision()
|
|
| Method Summary | |
|---|---|
String |
getDownloadUrl()
Short term download URL for the file. |
String |
getEtag()
The ETag of the revision. |
Map<String,String> |
getExportLinks()
Links for exporting Google Docs to specific formats. |
Long |
getFileSize()
The size of the revision in bytes. |
String |
getId()
The ID of the revision. |
String |
getKind()
This is always drive#revision. |
String |
getLastModifyingUserName()
Name of the last user to modify this revision. |
String |
getMd5Checksum()
An MD5 checksum for the content of this revision. |
String |
getMimeType()
The MIME type of the revision. |
DateTime |
getModifiedDate()
Last time this revision was modified (formatted RFC 3339 timestamp). |
String |
getOriginalFilename()
The original filename when this revision was created. |
Boolean |
getPinned()
Whether this revision is pinned to prevent automatic purging. |
Boolean |
getPublishAuto()
Whether subsequent revisions will be automatically republished. |
Boolean |
getPublished()
Whether this revision is published. |
String |
getPublishedLink()
A link to the published revision. |
Boolean |
getPublishedOutsideDomain()
Whether this revision is published outside the domain. |
HttpHeaders |
getResponseHeaders()
Returns the HTTP headers that were returned with the server response, or null. |
String |
getSelfLink()
A link back to this revision. |
Revision |
setDownloadUrl(String downloadUrl)
Short term download URL for the file. |
Revision |
setEtag(String etag)
The ETag of the revision. |
Revision |
setExportLinks(Map<String,String> exportLinks)
Links for exporting Google Docs to specific formats. |
Revision |
setFileSize(Long fileSize)
The size of the revision in bytes. |
Revision |
setId(String id)
The ID of the revision. |
Revision |
setKind(String kind)
This is always drive#revision. |
Revision |
setLastModifyingUserName(String lastModifyingUserName)
Name of the last user to modify this revision. |
Revision |
setMd5Checksum(String md5Checksum)
An MD5 checksum for the content of this revision. |
Revision |
setMimeType(String mimeType)
The MIME type of the revision. |
Revision |
setModifiedDate(DateTime modifiedDate)
Last time this revision was modified (formatted RFC 3339 timestamp). |
Revision |
setOriginalFilename(String originalFilename)
The original filename when this revision was created. |
Revision |
setPinned(Boolean pinned)
Whether this revision is pinned to prevent automatic purging. |
Revision |
setPublishAuto(Boolean publishAuto)
Whether subsequent revisions will be automatically republished. |
Revision |
setPublished(Boolean published)
Whether this revision is published. |
Revision |
setPublishedLink(String publishedLink)
A link to the published revision. |
Revision |
setPublishedOutsideDomain(Boolean publishedOutsideDomain)
Whether this revision is published outside the domain. |
void |
setResponseHeaders(HttpHeaders responseHeaders)
Sets the HTTP headers returned with the server response, or null. |
Revision |
setSelfLink(String selfLink)
A link back to this revision. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
clone, getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Revision()
| Method Detail |
|---|
public String getMimeType()
null.
public Revision setMimeType(String mimeType)
null.
public Boolean getPinned()
null.
public Revision setPinned(Boolean pinned)
null.
public String getKind()
null.
public Revision setKind(String kind)
null.
public String getPublishedLink()
null.
public Revision setPublishedLink(String publishedLink)
null.
public Boolean getPublishedOutsideDomain()
null.
public Revision setPublishedOutsideDomain(Boolean publishedOutsideDomain)
null.
public Boolean getPublishAuto()
null.
public Revision setPublishAuto(Boolean publishAuto)
null.
public Boolean getPublished()
null.
public Revision setPublished(Boolean published)
null.
public String getDownloadUrl()
null.
public Revision setDownloadUrl(String downloadUrl)
null.
public String getSelfLink()
null.
public Revision setSelfLink(String selfLink)
null.
public String getEtag()
null.
public Revision setEtag(String etag)
null.
public Long getFileSize()
null.
public Revision setFileSize(Long fileSize)
null.
public Map<String,String> getExportLinks()
null.
public Revision setExportLinks(Map<String,String> exportLinks)
null.
public String getLastModifyingUserName()
null.
public Revision setLastModifyingUserName(String lastModifyingUserName)
null.
public String getOriginalFilename()
null.
public Revision setOriginalFilename(String originalFilename)
null.
public String getId()
null.
public Revision setId(String id)
null.
public String getMd5Checksum()
null.
public Revision setMd5Checksum(String md5Checksum)
null.
public DateTime getModifiedDate()
null.
public Revision setModifiedDate(DateTime modifiedDate)
null.
public void setResponseHeaders(HttpHeaders responseHeaders)
null.
This member should only be non-null if this object was the top level element of a response. For
example, a request that returns a single Revision would include the response headers,
while a request which returns an array of Revision, would have a non-null response
header in the enclosing object only.
public HttpHeaders getResponseHeaders()
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||