public final class GoogleAppsCardV1TextInput
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 |
---|
GoogleAppsCardV1TextInput() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1TextInput |
clone() |
GoogleAppsCardV1Action |
getAutoCompleteAction()
Optional.
|
String |
getHintText()
Text that appears below the text input field meant to assist users by prompting them to enter a
certain value.
|
GoogleAppsCardV1Suggestions |
getInitialSuggestions()
Suggested values that users can enter.
|
String |
getLabel()
The text that appears above the text input field in the user interface.
|
String |
getName()
The name by which the text input is identified in a form input event.
|
GoogleAppsCardV1Action |
getOnChangeAction()
What to do when a change occurs in the text input field.
|
String |
getPlaceholderText()
Text that appears in the text input field when the field is empty.
|
String |
getType()
How a text input field appears in the user interface.
|
String |
getValue()
The value entered by a user, returned as part of a form input event.
|
GoogleAppsCardV1TextInput |
set(String fieldName,
Object value) |
GoogleAppsCardV1TextInput |
setAutoCompleteAction(GoogleAppsCardV1Action autoCompleteAction)
Optional.
|
GoogleAppsCardV1TextInput |
setHintText(String hintText)
Text that appears below the text input field meant to assist users by prompting them to enter a
certain value.
|
GoogleAppsCardV1TextInput |
setInitialSuggestions(GoogleAppsCardV1Suggestions initialSuggestions)
Suggested values that users can enter.
|
GoogleAppsCardV1TextInput |
setLabel(String label)
The text that appears above the text input field in the user interface.
|
GoogleAppsCardV1TextInput |
setName(String name)
The name by which the text input is identified in a form input event.
|
GoogleAppsCardV1TextInput |
setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
What to do when a change occurs in the text input field.
|
GoogleAppsCardV1TextInput |
setPlaceholderText(String placeholderText)
Text that appears in the text input field when the field is empty.
|
GoogleAppsCardV1TextInput |
setType(String type)
How a text input field appears in the user interface.
|
GoogleAppsCardV1TextInput |
setValue(String value)
The value entered by a user, returned as part of a form input event.
|
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 getPlaceholderText()
null
for nonepublic GoogleAppsCardV1TextInput setPlaceholderText(String placeholderText)
placeholderText
- placeholderText 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 com.google.api.client.json.GenericJson
public GoogleAppsCardV1TextInput clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.