public final class WidgetMarkup
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 |
|---|
WidgetMarkup() |
| Modifier and Type | Method and Description |
|---|---|
WidgetMarkup |
clone() |
List<Button> |
getButtons()
A list of buttons.
|
Image |
getImage()
Display an image in this widget.
|
KeyValue |
getKeyValue()
Display a key value item in this widget.
|
TextParagraph |
getTextParagraph()
Display a text paragraph in this widget.
|
WidgetMarkup |
set(String fieldName,
Object value) |
WidgetMarkup |
setButtons(List<Button> buttons)
A list of buttons.
|
WidgetMarkup |
setImage(Image image)
Display an image in this widget.
|
WidgetMarkup |
setKeyValue(KeyValue keyValue)
Display a key value item in this widget.
|
WidgetMarkup |
setTextParagraph(TextParagraph textParagraph)
Display a text paragraph in this widget.
|
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<Button> getButtons()
null for nonepublic WidgetMarkup setButtons(List<Button> buttons)
buttons - buttons or null for nonepublic Image getImage()
null for nonepublic WidgetMarkup setImage(Image image)
image - image or null for nonepublic KeyValue getKeyValue()
null for nonepublic WidgetMarkup setKeyValue(KeyValue keyValue)
keyValue - keyValue or null for nonepublic TextParagraph getTextParagraph()
null for nonepublic WidgetMarkup setTextParagraph(TextParagraph textParagraph)
textParagraph - textParagraph or null for nonepublic WidgetMarkup set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic WidgetMarkup clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.