public final class Reply
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 |
---|
Reply() |
Modifier and Type | Method and Description |
---|---|
Reply |
clone() |
java.lang.String |
getAction()
The action the reply performed to the parent comment.
|
User |
getAuthor()
The user who created the reply.
|
java.lang.String |
getContent()
The plain text content of the reply.
|
com.google.api.client.util.DateTime |
getCreatedTime()
The time at which the reply was created (RFC 3339 date-time).
|
java.lang.Boolean |
getDeleted()
Whether the reply has been deleted.
|
java.lang.String |
getHtmlContent()
The content of the reply with HTML formatting.
|
java.lang.String |
getId()
The ID of the reply.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
com.google.api.client.util.DateTime |
getModifiedTime()
The last time the reply was modified (RFC 3339 date-time).
|
Reply |
set(java.lang.String fieldName,
java.lang.Object value) |
Reply |
setAction(java.lang.String action)
The action the reply performed to the parent comment.
|
Reply |
setAuthor(User author)
The user who created the reply.
|
Reply |
setContent(java.lang.String content)
The plain text content of the reply.
|
Reply |
setCreatedTime(com.google.api.client.util.DateTime createdTime)
The time at which the reply was created (RFC 3339 date-time).
|
Reply |
setDeleted(java.lang.Boolean deleted)
Whether the reply has been deleted.
|
Reply |
setHtmlContent(java.lang.String htmlContent)
The content of the reply with HTML formatting.
|
Reply |
setId(java.lang.String id)
The ID of the reply.
|
Reply |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
Reply |
setModifiedTime(com.google.api.client.util.DateTime modifiedTime)
The last time the reply was modified (RFC 3339 date-time).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAction()
null
for nonepublic Reply setAction(java.lang.String action)
action
- action or null
for nonepublic User getAuthor()
null
for nonepublic Reply setAuthor(User author)
author
- author or null
for nonepublic java.lang.String getContent()
null
for nonepublic Reply setContent(java.lang.String content)
content
- content or null
for nonepublic com.google.api.client.util.DateTime getCreatedTime()
null
for nonepublic Reply setCreatedTime(com.google.api.client.util.DateTime createdTime)
createdTime
- createdTime or null
for nonepublic java.lang.Boolean getDeleted()
null
for nonepublic Reply setDeleted(java.lang.Boolean deleted)
deleted
- deleted or null
for nonepublic java.lang.String getHtmlContent()
null
for nonepublic Reply setHtmlContent(java.lang.String htmlContent)
htmlContent
- htmlContent or null
for nonepublic java.lang.String getId()
null
for nonepublic Reply setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Reply setKind(java.lang.String kind)
kind
- kind or null
for nonepublic com.google.api.client.util.DateTime getModifiedTime()
null
for nonepublic Reply setModifiedTime(com.google.api.client.util.DateTime modifiedTime)
modifiedTime
- modifiedTime or null
for nonepublic Reply set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Reply clone()
clone
in class com.google.api.client.json.GenericJson