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.Flags
AbstractMap.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()
For multiselect menus, the URL for the icon displayed next to the item's `text` field.
|
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)
For multiselect menus, the URL for the icon displayed next to the item's `text` field.
|
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, 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 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.GenericJson
public GoogleAppsCardV1SelectionItem clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.