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.Flags
AbstractMap.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.
|
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.
|
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.
|
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.
|
GoogleAppsCardV1Widget |
set(String fieldName,
Object value) |
GoogleAppsCardV1Widget |
setButtonList(GoogleAppsCardV1ButtonList buttonList)
A list of buttons.
|
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 |
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 |
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public GoogleAppsCardV1ButtonList getButtonList()
null
for nonepublic GoogleAppsCardV1Widget setButtonList(GoogleAppsCardV1ButtonList buttonList)
buttonList
- buttonList 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 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 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 GoogleAppsCardV1Widget set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleAppsCardV1Widget clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.