public final class Reply 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 |
---|
Reply() |
Modifier and Type | Method and Description |
---|---|
Reply |
clone() |
String |
getAction()
The action the reply performed to the parent comment.
|
User |
getAuthor()
The author of the reply.
|
String |
getContent()
The plain text content of the reply.
|
DateTime |
getCreatedTime()
The time at which the reply was created (RFC 3339 date-time).
|
Boolean |
getDeleted()
Whether the reply has been deleted.
|
String |
getHtmlContent()
The content of the reply with HTML formatting.
|
String |
getId()
The ID of the reply.
|
String |
getKind()
Identifies what kind of resource this is.
|
DateTime |
getModifiedTime()
The last time the reply was modified (RFC 3339 date-time).
|
Reply |
set(String fieldName,
Object value) |
Reply |
setAction(String action)
The action the reply performed to the parent comment.
|
Reply |
setAuthor(User author)
The author of the reply.
|
Reply |
setContent(String content)
The plain text content of the reply.
|
Reply |
setCreatedTime(DateTime createdTime)
The time at which the reply was created (RFC 3339 date-time).
|
Reply |
setDeleted(Boolean deleted)
Whether the reply has been deleted.
|
Reply |
setHtmlContent(String htmlContent)
The content of the reply with HTML formatting.
|
Reply |
setId(String id)
The ID of the reply.
|
Reply |
setKind(String kind)
Identifies what kind of resource this is.
|
Reply |
setModifiedTime(DateTime modifiedTime)
The last time the reply was modified (RFC 3339 date-time).
|
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 String getAction()
null
for nonepublic Reply setAction(String action)
action
- action or null
for nonepublic User getAuthor()
null
for nonepublic Reply setAuthor(User author)
author
- author or null
for nonepublic String getContent()
null
for nonepublic Reply setContent(String content)
content
- content or null
for nonepublic DateTime getCreatedTime()
null
for nonepublic Reply setCreatedTime(DateTime createdTime)
createdTime
- createdTime or null
for nonepublic Boolean getDeleted()
null
for nonepublic Reply setDeleted(Boolean deleted)
deleted
- deleted or null
for nonepublic String getHtmlContent()
null
for nonepublic Reply setHtmlContent(String htmlContent)
htmlContent
- htmlContent or null
for nonepublic String getId()
null
for nonepublic String getKind()
null
for nonepublic Reply setKind(String kind)
kind
- kind or null
for nonepublic DateTime getModifiedTime()
null
for nonepublic Reply setModifiedTime(DateTime modifiedTime)
modifiedTime
- modifiedTime or null
for nonepublic Reply set(String fieldName, Object value)
set
in class GenericJson
public Reply clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.