|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.drive.model.Comment
public final class Comment
A JSON representation of a comment on a file in Google Drive.
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
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
Nested Class Summary | |
---|---|
static class |
Comment.Context
The context of the file which is being commented on. |
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
Comment()
|
Method Summary | |
---|---|
java.lang.String |
getAnchor()
A region of the document represented as a JSON string. |
User |
getAuthor()
The user who wrote this comment. |
java.lang.String |
getCommentId()
The ID of the comment. |
java.lang.String |
getContent()
The plain text content used to create this comment. |
Comment.Context |
getContext()
The context of the file which is being commented on. |
DateTime |
getCreatedDate()
The date when this comment was first created. |
java.lang.Boolean |
getDeleted()
Whether this comment has been deleted. |
java.lang.String |
getFileId()
The file which this comment is addressing. |
java.lang.String |
getFileTitle()
The title of the file which this comment is addressing. |
java.lang.String |
getHtmlContent()
HTML formatted content for this comment. |
java.lang.String |
getKind()
This is always drive#comment. |
DateTime |
getModifiedDate()
The date when this comment or any of its replies were last modified. |
java.util.List<CommentReply> |
getReplies()
Replies to this post. |
java.lang.String |
getSelfLink()
A link back to this comment. |
java.lang.String |
getStatus()
The status of this comment. |
Comment |
setAnchor(java.lang.String anchor)
A region of the document represented as a JSON string. |
Comment |
setAuthor(User author)
The user who wrote this comment. |
Comment |
setCommentId(java.lang.String commentId)
The ID of the comment. |
Comment |
setContent(java.lang.String content)
The plain text content used to create this comment. |
Comment |
setContext(Comment.Context context)
The context of the file which is being commented on. |
Comment |
setCreatedDate(DateTime createdDate)
The date when this comment was first created. |
Comment |
setDeleted(java.lang.Boolean deleted)
Whether this comment has been deleted. |
Comment |
setFileId(java.lang.String fileId)
The file which this comment is addressing. |
Comment |
setFileTitle(java.lang.String fileTitle)
The title of the file which this comment is addressing. |
Comment |
setHtmlContent(java.lang.String htmlContent)
HTML formatted content for this comment. |
Comment |
setKind(java.lang.String kind)
This is always drive#comment. |
Comment |
setModifiedDate(DateTime modifiedDate)
The date when this comment or any of its replies were last modified. |
Comment |
setReplies(java.util.List<CommentReply> replies)
Replies to this post. |
Comment |
setSelfLink(java.lang.String selfLink)
A link back to this comment. |
Comment |
setStatus(java.lang.String status)
The status of this comment. |
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 Comment()
Method Detail |
---|
public java.lang.String getAnchor()
null
.
public Comment setAnchor(java.lang.String anchor)
null
.
public User getAuthor()
null
.
public Comment setAuthor(User author)
null
.
public java.lang.String getCommentId()
null
.
public Comment setCommentId(java.lang.String commentId)
null
.
public java.lang.String getContent()
null
.
public Comment setContent(java.lang.String content)
null
.
public Comment.Context getContext()
null
.
public Comment setContext(Comment.Context context)
null
.
public DateTime getCreatedDate()
null
.
public Comment setCreatedDate(DateTime createdDate)
null
.
public java.lang.Boolean getDeleted()
null
.
public Comment setDeleted(java.lang.Boolean deleted)
null
.
public java.lang.String getFileId()
null
.
public Comment setFileId(java.lang.String fileId)
null
.
public java.lang.String getFileTitle()
null
.
public Comment setFileTitle(java.lang.String fileTitle)
null
.
public java.lang.String getHtmlContent()
null
.
public Comment setHtmlContent(java.lang.String htmlContent)
null
.
public java.lang.String getKind()
null
.
public Comment setKind(java.lang.String kind)
null
.
public DateTime getModifiedDate()
null
.
public Comment setModifiedDate(DateTime modifiedDate)
null
.
public java.util.List<CommentReply> getReplies()
null
.
public Comment setReplies(java.util.List<CommentReply> replies)
null
.
public java.lang.String getSelfLink()
null
.
public Comment setSelfLink(java.lang.String selfLink)
null
.
public java.lang.String getStatus()
null
.
public Comment setStatus(java.lang.String status)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |