public final class GoogleAppsCardV1Widget
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 |
|---|
GoogleAppsCardV1Widget() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAppsCardV1Widget |
clone() |
GoogleAppsCardV1ButtonList |
getButtonList()
A list of buttons.
|
GoogleAppsCardV1Carousel |
getCarousel()
A carousel contains a collection of nested widgets.
|
GoogleAppsCardV1ChipList |
getChipList()
A list of chips.
|
GoogleAppsCardV1Columns |
getColumns()
Displays up to 2 columns.
|
GoogleAppsCardV1DateTimePicker |
getDateTimePicker()
Displays a widget that lets users input a date, time, or date and time.
|
GoogleAppsCardV1DecoratedText |
getDecoratedText()
Displays a decorated text item.
|
GoogleAppsCardV1Divider |
getDivider()
Displays a horizontal line divider between widgets.
|
List<GoogleAppsCardV1EventAction> |
getEventActions()
Specifies the event actions that can be performed on the widget.
|
GoogleAppsCardV1Grid |
getGrid()
Displays a grid with a collection of items.
|
String |
getHorizontalAlignment()
Specifies whether widgets align to the left, right, or center of a column.
|
String |
getId()
A unique ID assigned to the widget that's used to identify the widget to be mutated.
|
GoogleAppsCardV1Image |
getImage()
Displays an image.
|
GoogleAppsCardV1SelectionInput |
getSelectionInput()
Displays a selection control that lets users select items.
|
GoogleAppsCardV1TextInput |
getTextInput()
Displays a text box that users can type into.
|
GoogleAppsCardV1TextParagraph |
getTextParagraph()
Displays a text paragraph.
|
String |
getVisibility()
Specifies whether the widget is visible or hidden.
|
GoogleAppsCardV1Widget |
set(String fieldName,
Object value) |
GoogleAppsCardV1Widget |
setButtonList(GoogleAppsCardV1ButtonList buttonList)
A list of buttons.
|
GoogleAppsCardV1Widget |
setCarousel(GoogleAppsCardV1Carousel carousel)
A carousel contains a collection of nested widgets.
|
GoogleAppsCardV1Widget |
setChipList(GoogleAppsCardV1ChipList chipList)
A list of chips.
|
GoogleAppsCardV1Widget |
setColumns(GoogleAppsCardV1Columns columns)
Displays up to 2 columns.
|
GoogleAppsCardV1Widget |
setDateTimePicker(GoogleAppsCardV1DateTimePicker dateTimePicker)
Displays a widget that lets users input a date, time, or date and time.
|
GoogleAppsCardV1Widget |
setDecoratedText(GoogleAppsCardV1DecoratedText decoratedText)
Displays a decorated text item.
|
GoogleAppsCardV1Widget |
setDivider(GoogleAppsCardV1Divider divider)
Displays a horizontal line divider between widgets.
|
GoogleAppsCardV1Widget |
setEventActions(List<GoogleAppsCardV1EventAction> eventActions)
Specifies the event actions that can be performed on the widget.
|
GoogleAppsCardV1Widget |
setGrid(GoogleAppsCardV1Grid grid)
Displays a grid with a collection of items.
|
GoogleAppsCardV1Widget |
setHorizontalAlignment(String horizontalAlignment)
Specifies whether widgets align to the left, right, or center of a column.
|
GoogleAppsCardV1Widget |
setId(String id)
A unique ID assigned to the widget that's used to identify the widget to be mutated.
|
GoogleAppsCardV1Widget |
setImage(GoogleAppsCardV1Image image)
Displays an image.
|
GoogleAppsCardV1Widget |
setSelectionInput(GoogleAppsCardV1SelectionInput selectionInput)
Displays a selection control that lets users select items.
|
GoogleAppsCardV1Widget |
setTextInput(GoogleAppsCardV1TextInput textInput)
Displays a text box that users can type into.
|
GoogleAppsCardV1Widget |
setTextParagraph(GoogleAppsCardV1TextParagraph textParagraph)
Displays a text paragraph.
|
GoogleAppsCardV1Widget |
setVisibility(String visibility)
Specifies whether the widget is visible or hidden.
|
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 GoogleAppsCardV1ButtonList getButtonList()
null for nonepublic GoogleAppsCardV1Widget setButtonList(GoogleAppsCardV1ButtonList buttonList)
buttonList - buttonList or null for nonepublic GoogleAppsCardV1Carousel getCarousel()
null for nonepublic GoogleAppsCardV1Widget setCarousel(GoogleAppsCardV1Carousel carousel)
carousel - carousel or null for nonepublic GoogleAppsCardV1ChipList getChipList()
null for nonepublic GoogleAppsCardV1Widget setChipList(GoogleAppsCardV1ChipList chipList)
chipList - chipList or null for nonepublic GoogleAppsCardV1Columns getColumns()
null for nonepublic GoogleAppsCardV1Widget setColumns(GoogleAppsCardV1Columns columns)
columns - columns or null for nonepublic GoogleAppsCardV1DateTimePicker getDateTimePicker()
null for nonepublic GoogleAppsCardV1Widget setDateTimePicker(GoogleAppsCardV1DateTimePicker dateTimePicker)
dateTimePicker - dateTimePicker or null for nonepublic GoogleAppsCardV1DecoratedText getDecoratedText()
null for nonepublic GoogleAppsCardV1Widget setDecoratedText(GoogleAppsCardV1DecoratedText decoratedText)
decoratedText - decoratedText or null for nonepublic GoogleAppsCardV1Divider getDivider()
null for nonepublic GoogleAppsCardV1Widget setDivider(GoogleAppsCardV1Divider divider)
divider - divider or null for nonepublic List<GoogleAppsCardV1EventAction> getEventActions()
null for nonepublic GoogleAppsCardV1Widget setEventActions(List<GoogleAppsCardV1EventAction> eventActions)
eventActions - eventActions or null for nonepublic GoogleAppsCardV1Grid getGrid()
null for nonepublic GoogleAppsCardV1Widget setGrid(GoogleAppsCardV1Grid grid)
grid - grid or null for nonepublic String getHorizontalAlignment()
null for nonepublic GoogleAppsCardV1Widget setHorizontalAlignment(String horizontalAlignment)
horizontalAlignment - horizontalAlignment or null for nonepublic String getId()
null for nonepublic GoogleAppsCardV1Widget setId(String id)
id - id or null for nonepublic GoogleAppsCardV1Image getImage()
null for nonepublic GoogleAppsCardV1Widget setImage(GoogleAppsCardV1Image image)
image - image or null for nonepublic GoogleAppsCardV1SelectionInput getSelectionInput()
null for nonepublic GoogleAppsCardV1Widget setSelectionInput(GoogleAppsCardV1SelectionInput selectionInput)
selectionInput - selectionInput or null for nonepublic GoogleAppsCardV1TextInput getTextInput()
null for nonepublic GoogleAppsCardV1Widget setTextInput(GoogleAppsCardV1TextInput textInput)
textInput - textInput or null for nonepublic GoogleAppsCardV1TextParagraph getTextParagraph()
null for nonepublic GoogleAppsCardV1Widget setTextParagraph(GoogleAppsCardV1TextParagraph textParagraph)
textParagraph - textParagraph or null for nonepublic String getVisibility()
null for nonepublic GoogleAppsCardV1Widget setVisibility(String visibility)
visibility - visibility or null for nonepublic GoogleAppsCardV1Widget set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleAppsCardV1Widget clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.