public final class CommentReply
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 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| Constructor and Description |
|---|
CommentReply() |
| Modifier and Type | Method and Description |
|---|---|
CommentReply |
clone() |
User |
getAuthor()
The user who wrote this reply.
|
java.lang.String |
getContent()
The plain text content used to create this reply.
|
com.google.api.client.util.DateTime |
getCreatedDate()
The date when this reply was first created.
|
java.lang.Boolean |
getDeleted()
Whether this reply has been deleted.
|
java.lang.String |
getHtmlContent()
HTML formatted content for this reply.
|
java.lang.String |
getKind()
This is always drive#commentReply.
|
com.google.api.client.util.DateTime |
getModifiedDate()
The date when this reply was last modified.
|
java.lang.String |
getReplyId()
The ID of the reply.
|
java.lang.String |
getVerb()
The action this reply performed to the parent comment.
|
CommentReply |
set(java.lang.String fieldName,
java.lang.Object value) |
CommentReply |
setAuthor(User author)
The user who wrote this reply.
|
CommentReply |
setContent(java.lang.String content)
The plain text content used to create this reply.
|
CommentReply |
setCreatedDate(com.google.api.client.util.DateTime createdDate)
The date when this reply was first created.
|
CommentReply |
setDeleted(java.lang.Boolean deleted)
Whether this reply has been deleted.
|
CommentReply |
setHtmlContent(java.lang.String htmlContent)
HTML formatted content for this reply.
|
CommentReply |
setKind(java.lang.String kind)
This is always drive#commentReply.
|
CommentReply |
setModifiedDate(com.google.api.client.util.DateTime modifiedDate)
The date when this reply was last modified.
|
CommentReply |
setReplyId(java.lang.String replyId)
The ID of the reply.
|
CommentReply |
setVerb(java.lang.String verb)
The action this reply performed to the parent comment.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic User getAuthor()
null for nonepublic CommentReply setAuthor(User author)
author - author or null for nonepublic java.lang.String getContent()
null for nonepublic CommentReply setContent(java.lang.String content)
content - content or null for nonepublic com.google.api.client.util.DateTime getCreatedDate()
null for nonepublic CommentReply setCreatedDate(com.google.api.client.util.DateTime createdDate)
createdDate - createdDate or null for nonepublic java.lang.Boolean getDeleted()
null for nonepublic CommentReply setDeleted(java.lang.Boolean deleted)
deleted - deleted or null for nonepublic java.lang.String getHtmlContent()
null for nonepublic CommentReply setHtmlContent(java.lang.String htmlContent)
htmlContent - htmlContent or null for nonepublic java.lang.String getKind()
null for nonepublic CommentReply setKind(java.lang.String kind)
kind - kind or null for nonepublic com.google.api.client.util.DateTime getModifiedDate()
null for nonepublic CommentReply setModifiedDate(com.google.api.client.util.DateTime modifiedDate)
modifiedDate - modifiedDate or null for nonepublic java.lang.String getReplyId()
null for nonepublic CommentReply setReplyId(java.lang.String replyId)
replyId - replyId or null for nonepublic java.lang.String getVerb()
null for nonepublic CommentReply setVerb(java.lang.String verb)
verb - verb or null for nonepublic CommentReply set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CommentReply clone()
clone in class com.google.api.client.json.GenericJson