public final class GoogleAppsCardV1SelectionInput extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleAppsCardV1SelectionInput() |
| Modifier and Type | Method and Description |
|---|---|
GoogleAppsCardV1SelectionInput |
clone() |
List<GoogleAppsCardV1SelectionItem> |
getItems() |
String |
getLabel()
The label displayed ahead of the switch control.
|
String |
getName()
The name of the text input which is used in formInput.
|
GoogleAppsCardV1Action |
getOnChangeAction()
If specified, the form is submitted when the selection changes.
|
String |
getType() |
GoogleAppsCardV1SelectionInput |
set(String fieldName,
Object value) |
GoogleAppsCardV1SelectionInput |
setItems(List<GoogleAppsCardV1SelectionItem> items) |
GoogleAppsCardV1SelectionInput |
setLabel(String label)
The label displayed ahead of the switch control.
|
GoogleAppsCardV1SelectionInput |
setName(String name)
The name of the text input which is used in formInput.
|
GoogleAppsCardV1SelectionInput |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
If specified, the form is submitted when the selection changes.
|
GoogleAppsCardV1SelectionInput |
setType(String type) |
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 List<GoogleAppsCardV1SelectionItem> getItems()
null for nonepublic GoogleAppsCardV1SelectionInput setItems(List<GoogleAppsCardV1SelectionItem> items)
items - items or null for nonepublic String getLabel()
null for nonepublic GoogleAppsCardV1SelectionInput setLabel(String label)
label - label or null for nonepublic String getName()
null for nonepublic GoogleAppsCardV1SelectionInput setName(String name)
name - name or null for nonepublic GoogleAppsCardV1Action getOnChangeAction()
null for nonepublic GoogleAppsCardV1SelectionInput setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
onChangeAction - onChangeAction or null for nonepublic String getType()
null for nonepublic GoogleAppsCardV1SelectionInput setType(String type)
type - type or null for nonepublic GoogleAppsCardV1SelectionInput set(String fieldName, Object value)
set in class GenericJsonpublic GoogleAppsCardV1SelectionInput clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.