public final class GoogleAppsCardV1SelectionItem
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 |
|---|
GoogleAppsCardV1SelectionItem() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAppsCardV1SelectionItem |
clone() |
String |
getBottomText()
For multiselect menus, a text description or label that's displayed below the item's `text`
field.
|
Boolean |
getSelected()
Whether the item is selected by default.
|
String |
getStartIconUri() |
String |
getText()
The text that identifies or describes the item to users.
|
String |
getValue()
The value associated with this item.
|
GoogleAppsCardV1SelectionItem |
set(String fieldName,
Object value) |
GoogleAppsCardV1SelectionItem |
setBottomText(String bottomText)
For multiselect menus, a text description or label that's displayed below the item's `text`
field.
|
GoogleAppsCardV1SelectionItem |
setSelected(Boolean selected)
Whether the item is selected by default.
|
GoogleAppsCardV1SelectionItem |
setStartIconUri(String startIconUri) |
GoogleAppsCardV1SelectionItem |
setText(String text)
The text that identifies or describes the item to users.
|
GoogleAppsCardV1SelectionItem |
setValue(String value)
The value associated with this item.
|
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 String getBottomText()
null for nonepublic GoogleAppsCardV1SelectionItem setBottomText(String bottomText)
bottomText - bottomText or null for nonepublic Boolean getSelected()
null for nonepublic GoogleAppsCardV1SelectionItem setSelected(Boolean selected)
selected - selected or null for nonepublic String getStartIconUri()
null for nonepublic GoogleAppsCardV1SelectionItem setStartIconUri(String startIconUri)
startIconUri - startIconUri or null for nonepublic String getText()
null for nonepublic GoogleAppsCardV1SelectionItem setText(String text)
text - text or null for nonepublic String getValue()
null for nonepublic GoogleAppsCardV1SelectionItem setValue(String value)
value - value or null for nonepublic GoogleAppsCardV1SelectionItem set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleAppsCardV1SelectionItem clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.