public final class GoogleAppsCardV1TextInput 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GoogleAppsCardV1TextInput() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1TextInput |
clone() |
GoogleAppsCardV1Action |
getAutoCompleteAction()
The refresh function that returns suggestions based on the user's input text.
|
String |
getHintText()
The hint text.
|
GoogleAppsCardV1Suggestions |
getInitialSuggestions()
The initial suggestions made before any user input.
|
String |
getLabel()
At least one of label and hintText must be specified.
|
String |
getName()
The name of the text input which is used in formInput.
|
GoogleAppsCardV1Action |
getOnChangeAction()
The onChange action, for example, invoke a function.
|
String |
getType()
The style of the text, for example, a single line or multiple lines.
|
String |
getValue()
The default value when there is no input from the user.
|
GoogleAppsCardV1TextInput |
set(String fieldName,
Object value) |
GoogleAppsCardV1TextInput |
setAutoCompleteAction(GoogleAppsCardV1Action autoCompleteAction)
The refresh function that returns suggestions based on the user's input text.
|
GoogleAppsCardV1TextInput |
setHintText(String hintText)
The hint text.
|
GoogleAppsCardV1TextInput |
setInitialSuggestions(GoogleAppsCardV1Suggestions initialSuggestions)
The initial suggestions made before any user input.
|
GoogleAppsCardV1TextInput |
setLabel(String label)
At least one of label and hintText must be specified.
|
GoogleAppsCardV1TextInput |
setName(String name)
The name of the text input which is used in formInput.
|
GoogleAppsCardV1TextInput |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
The onChange action, for example, invoke a function.
|
GoogleAppsCardV1TextInput |
setType(String type)
The style of the text, for example, a single line or multiple lines.
|
GoogleAppsCardV1TextInput |
setValue(String value)
The default value when there is no input from the user.
|
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 GoogleAppsCardV1Action getAutoCompleteAction()
null
for nonepublic GoogleAppsCardV1TextInput setAutoCompleteAction(GoogleAppsCardV1Action autoCompleteAction)
autoCompleteAction
- autoCompleteAction or null
for nonepublic String getHintText()
null
for nonepublic GoogleAppsCardV1TextInput setHintText(String hintText)
hintText
- hintText or null
for nonepublic GoogleAppsCardV1Suggestions getInitialSuggestions()
null
for nonepublic GoogleAppsCardV1TextInput setInitialSuggestions(GoogleAppsCardV1Suggestions initialSuggestions)
initialSuggestions
- initialSuggestions or null
for nonepublic String getLabel()
null
for nonepublic GoogleAppsCardV1TextInput setLabel(String label)
label
- label or null
for nonepublic String getName()
null
for nonepublic GoogleAppsCardV1TextInput setName(String name)
name
- name or null
for nonepublic GoogleAppsCardV1Action getOnChangeAction()
null
for nonepublic GoogleAppsCardV1TextInput setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
onChangeAction
- onChangeAction or null
for nonepublic String getType()
null
for nonepublic GoogleAppsCardV1TextInput setType(String type)
type
- type or null
for nonepublic String getValue()
null
for nonepublic GoogleAppsCardV1TextInput setValue(String value)
value
- value or null
for nonepublic GoogleAppsCardV1TextInput set(String fieldName, Object value)
set
in class GenericJson
public GoogleAppsCardV1TextInput clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.