public final class QuotedMessageSnapshot
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 Chat 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 |
|---|
QuotedMessageSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
QuotedMessageSnapshot |
clone() |
List<Annotation> |
getAnnotations()
Output only.
|
List<Attachment> |
getAttachments()
Output only.
|
String |
getFormattedText()
Output only.
|
String |
getSender()
Output only.
|
String |
getText()
Output only.
|
QuotedMessageSnapshot |
set(String fieldName,
Object value) |
QuotedMessageSnapshot |
setAnnotations(List<Annotation> annotations)
Output only.
|
QuotedMessageSnapshot |
setAttachments(List<Attachment> attachments)
Output only.
|
QuotedMessageSnapshot |
setFormattedText(String formattedText)
Output only.
|
QuotedMessageSnapshot |
setSender(String sender)
Output only.
|
QuotedMessageSnapshot |
setText(String text)
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 List<Annotation> getAnnotations()
null for nonepublic QuotedMessageSnapshot setAnnotations(List<Annotation> annotations)
annotations - annotations or null for nonepublic List<Attachment> getAttachments()
null for nonepublic QuotedMessageSnapshot setAttachments(List<Attachment> attachments)
attachments - attachments or null for nonepublic String getFormattedText()
null for nonepublic QuotedMessageSnapshot setFormattedText(String formattedText)
formattedText - formattedText or null for nonepublic String getSender()
null for nonepublic QuotedMessageSnapshot setSender(String sender)
sender - sender or null for nonepublic String getText()
null for nonepublic QuotedMessageSnapshot setText(String text)
text - text or null for nonepublic QuotedMessageSnapshot set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic QuotedMessageSnapshot clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.