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 Google 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
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()
Output only.
|
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).
|
Boolean |
getDeleted()
Output only.
|
String |
getHtmlContent()
Output only.
|
String |
getId()
Output only.
|
String |
getKind()
Output only.
|
com.google.api.client.util.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)
Output only.
|
Reply |
setContent(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(Boolean deleted)
Output only.
|
Reply |
setHtmlContent(String htmlContent)
Output only.
|
Reply |
setId(String id)
Output only.
|
Reply |
setKind(String kind)
Output only.
|
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, 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 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 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 Reply setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Reply setKind(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(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Reply clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.