|
||||||||||
| 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.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 |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
Comment()
|
|
| Method Summary | |
|---|---|
String |
getAnchor()
A region of the document represented as a JSON string. |
User |
getAuthor()
The user who wrote this comment. |
String |
getCommentId()
The ID of the comment. |
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. |
Boolean |
getDeleted()
Whether this comment has been deleted. |
String |
getFileId()
The file which this comment is addressing. |
String |
getFileTitle()
The title of the file which this comment is addressing. |
String |
getHtmlContent()
HTML formatted content for this comment. |
String |
getKind()
This is always drive#comment. |
DateTime |
getModifiedDate()
The date when this comment or any of its replies were last modified. |
List<CommentReply> |
getReplies()
Replies to this post. |
String |
getSelfLink()
A link back to this comment. |
String |
getStatus()
The status of this comment. |
Comment |
setAnchor(String anchor)
A region of the document represented as a JSON string. |
Comment |
setAuthor(User author)
The user who wrote this comment. |
Comment |
setCommentId(String commentId)
The ID of the comment. |
Comment |
setContent(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(Boolean deleted)
Whether this comment has been deleted. |
Comment |
setFileId(String fileId)
The file which this comment is addressing. |
Comment |
setFileTitle(String fileTitle)
The title of the file which this comment is addressing. |
Comment |
setHtmlContent(String htmlContent)
HTML formatted content for this comment. |
Comment |
setKind(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(List<CommentReply> replies)
Replies to this post. |
Comment |
setSelfLink(String selfLink)
A link back to this comment. |
Comment |
setStatus(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 String getAnchor()
null.
public Comment setAnchor(String anchor)
null.
public User getAuthor()
null.
public Comment setAuthor(User author)
null.
public String getCommentId()
null.
public Comment setCommentId(String commentId)
null.
public String getContent()
null.
public Comment setContent(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 Boolean getDeleted()
null.
public Comment setDeleted(Boolean deleted)
null.
public String getFileId()
null.
public Comment setFileId(String fileId)
null.
public String getFileTitle()
null.
public Comment setFileTitle(String fileTitle)
null.
public String getHtmlContent()
null.
public Comment setHtmlContent(String htmlContent)
null.
public String getKind()
null.
public Comment setKind(String kind)
null.
public DateTime getModifiedDate()
null.
public Comment setModifiedDate(DateTime modifiedDate)
null.
public List<CommentReply> getReplies()
null.
public Comment setReplies(List<CommentReply> replies)
null.
public String getSelfLink()
null.
public Comment setSelfLink(String selfLink)
null.
public String getStatus()
null.
public Comment setStatus(String status)
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||