public final class TextButton
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 Hangouts 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
Constructor and Description |
---|
TextButton() |
Modifier and Type | Method and Description |
---|---|
TextButton |
clone() |
OnClick |
getOnClick()
The onclick action of the button.
|
java.lang.String |
getText()
The text of the button.
|
TextButton |
set(java.lang.String fieldName,
java.lang.Object value) |
TextButton |
setOnClick(OnClick onClick)
The onclick action of the button.
|
TextButton |
setText(java.lang.String text)
The text of the button.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public OnClick getOnClick()
null
for nonepublic TextButton setOnClick(OnClick onClick)
onClick
- onClick or null
for nonepublic java.lang.String getText()
null
for nonepublic TextButton setText(java.lang.String text)
text
- text or null
for nonepublic TextButton set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TextButton clone()
clone
in class com.google.api.client.json.GenericJson