public final class Post
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 Docs 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Post() |
| Modifier and Type | Method and Description |
|---|---|
Post |
clone() |
String |
getAssigneeEmail()
Optional.
|
PostAuthor |
getAuthor()
Output only.
|
String |
getCommentAction()
Optional.
|
String |
getContent()
The content of the post.
|
String |
getContentHtml()
Output only.
|
String |
getCreateTime()
Output only.
|
Boolean |
getDeleted()
Output only.
|
Boolean |
getFromCopiedDocument()
Output only.
|
Boolean |
getFromDocumentComparison()
Output only.
|
Boolean |
getFromImportedDocument()
Output only.
|
String |
getPostId()
Output only.
|
String |
getSuggestionAction()
Output only.
|
String |
getUpdateTime()
Output only.
|
Post |
set(String fieldName,
Object value) |
Post |
setAssigneeEmail(String assigneeEmail)
Optional.
|
Post |
setAuthor(PostAuthor author)
Output only.
|
Post |
setCommentAction(String commentAction)
Optional.
|
Post |
setContent(String content)
The content of the post.
|
Post |
setContentHtml(String contentHtml)
Output only.
|
Post |
setCreateTime(String createTime)
Output only.
|
Post |
setDeleted(Boolean deleted)
Output only.
|
Post |
setFromCopiedDocument(Boolean fromCopiedDocument)
Output only.
|
Post |
setFromDocumentComparison(Boolean fromDocumentComparison)
Output only.
|
Post |
setFromImportedDocument(Boolean fromImportedDocument)
Output only.
|
Post |
setPostId(String postId)
Output only.
|
Post |
setSuggestionAction(String suggestionAction)
Output only.
|
Post |
setUpdateTime(String updateTime)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAssigneeEmail()
null for nonepublic Post setAssigneeEmail(String assigneeEmail)
assigneeEmail - assigneeEmail or null for nonepublic PostAuthor getAuthor()
null for nonepublic Post setAuthor(PostAuthor author)
author - author or null for nonepublic String getCommentAction()
null for nonepublic Post setCommentAction(String commentAction)
commentAction - commentAction or null for nonepublic String getContent()
null for nonepublic Post setContent(String content)
content - content or null for nonepublic String getContentHtml()
null for nonepublic Post setContentHtml(String contentHtml)
contentHtml - contentHtml or null for nonepublic String getCreateTime()
null for nonepublic Post setCreateTime(String createTime)
createTime - createTime or null for nonepublic Boolean getDeleted()
null for nonepublic Post setDeleted(Boolean deleted)
deleted - deleted or null for nonepublic Boolean getFromCopiedDocument()
null for nonepublic Post setFromCopiedDocument(Boolean fromCopiedDocument)
fromCopiedDocument - fromCopiedDocument or null for nonepublic Boolean getFromDocumentComparison()
null for nonepublic Post setFromDocumentComparison(Boolean fromDocumentComparison)
fromDocumentComparison - fromDocumentComparison or null for nonepublic Boolean getFromImportedDocument()
null for nonepublic Post setFromImportedDocument(Boolean fromImportedDocument)
fromImportedDocument - fromImportedDocument or null for nonepublic String getPostId()
null for nonepublic Post setPostId(String postId)
postId - postId or null for nonepublic String getSuggestionAction()
null for nonepublic Post setSuggestionAction(String suggestionAction)
suggestionAction - suggestionAction or null for nonepublic String getUpdateTime()
null for nonepublic Post setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic Post set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Post clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.