public final class CommentReply extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CommentReply() |
Modifier and Type | Method and Description |
---|---|
CommentReply |
clone() |
User |
getAuthor()
The author of the reply.
|
String |
getContent()
The plain text content used to create this reply.
|
DateTime |
getCreatedDate()
The date when this reply was first created.
|
Boolean |
getDeleted()
Whether this reply has been deleted.
|
String |
getHtmlContent()
HTML formatted content for this reply.
|
String |
getKind()
This is always drive#commentReply.
|
DateTime |
getModifiedDate()
The date when this reply was last modified.
|
String |
getReplyId()
The ID of the reply.
|
String |
getVerb()
The action this reply performed to the parent comment.
|
CommentReply |
set(String fieldName,
Object value) |
CommentReply |
setAuthor(User author)
The author of the reply.
|
CommentReply |
setContent(String content)
The plain text content used to create this reply.
|
CommentReply |
setCreatedDate(DateTime createdDate)
The date when this reply was first created.
|
CommentReply |
setDeleted(Boolean deleted)
Whether this reply has been deleted.
|
CommentReply |
setHtmlContent(String htmlContent)
HTML formatted content for this reply.
|
CommentReply |
setKind(String kind)
This is always drive#commentReply.
|
CommentReply |
setModifiedDate(DateTime modifiedDate)
The date when this reply was last modified.
|
CommentReply |
setReplyId(String replyId)
The ID of the reply.
|
CommentReply |
setVerb(String verb)
The action this reply performed to the parent comment.
|
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 User getAuthor()
null
for nonepublic CommentReply setAuthor(User author)
author
- author or null
for nonepublic String getContent()
null
for nonepublic CommentReply setContent(String content)
content
- content or null
for nonepublic DateTime getCreatedDate()
null
for nonepublic CommentReply setCreatedDate(DateTime createdDate)
createdDate
- createdDate or null
for nonepublic Boolean getDeleted()
null
for nonepublic CommentReply setDeleted(Boolean deleted)
deleted
- deleted or null
for nonepublic String getHtmlContent()
null
for nonepublic CommentReply setHtmlContent(String htmlContent)
htmlContent
- htmlContent or null
for nonepublic String getKind()
null
for nonepublic CommentReply setKind(String kind)
kind
- kind or null
for nonepublic DateTime getModifiedDate()
null
for nonepublic CommentReply setModifiedDate(DateTime modifiedDate)
modifiedDate
- modifiedDate or null
for nonepublic String getReplyId()
null
for nonepublic CommentReply setReplyId(String replyId)
replyId
- replyId or null
for nonepublic String getVerb()
null
for nonepublic CommentReply setVerb(String verb)
verb
- verb or null
for nonepublic CommentReply set(String fieldName, Object value)
set
in class GenericJson
public CommentReply clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.