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() |
Boolean |
getSelected()
When `true`, more than one item is selected.
|
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 |
setSelected(Boolean selected)
When `true`, more than one item is selected.
|
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 Boolean getSelected()
null for nonepublic GoogleAppsCardV1SelectionItem setSelected(Boolean selected)
selected - selected 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–2023 Google. All rights reserved.