public final class SuggestionThread
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 |
|---|
SuggestionThread() |
| Modifier and Type | Method and Description |
|---|---|
SuggestionThread |
clone() |
Post |
getHeadPost()
The first post in the thread.
|
List<Post> |
getReplies()
Replies to the head post.
|
String |
getStatus()
Whether the thread is open, accepted, or rejected.
|
String |
getSuggestionId()
The unique ID of the suggestion.
|
String |
getSummaryHtml()
Summary of the suggested differences in the document, in HTML.
|
String |
getSummaryText()
Summary of the suggested differences in the document, in plain text.
|
SuggestionThread |
set(String fieldName,
Object value) |
SuggestionThread |
setHeadPost(Post headPost)
The first post in the thread.
|
SuggestionThread |
setReplies(List<Post> replies)
Replies to the head post.
|
SuggestionThread |
setStatus(String status)
Whether the thread is open, accepted, or rejected.
|
SuggestionThread |
setSuggestionId(String suggestionId)
The unique ID of the suggestion.
|
SuggestionThread |
setSummaryHtml(String summaryHtml)
Summary of the suggested differences in the document, in HTML.
|
SuggestionThread |
setSummaryText(String summaryText)
Summary of the suggested differences in the document, in plain text.
|
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 Post getHeadPost()
null for nonepublic SuggestionThread setHeadPost(Post headPost)
headPost - headPost or null for nonepublic SuggestionThread setReplies(List<Post> replies)
replies - replies or null for nonepublic String getStatus()
null for nonepublic SuggestionThread setStatus(String status)
status - status or null for nonepublic String getSuggestionId()
null for nonepublic SuggestionThread setSuggestionId(String suggestionId)
suggestionId - suggestionId or null for nonepublic String getSummaryHtml()
null for nonepublic SuggestionThread setSummaryHtml(String summaryHtml)
summaryHtml - summaryHtml or null for nonepublic String getSummaryText()
null for nonepublic SuggestionThread setSummaryText(String summaryText)
summaryText - summaryText or null for nonepublic SuggestionThread set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic SuggestionThread clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.