public final class Button
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 |
|---|
Button() |
| Modifier and Type | Method and Description |
|---|---|
Button |
clone() |
ImageButton |
getImageButton()
A button with image and onclick action.
|
TextButton |
getTextButton()
A button with text and onclick action.
|
Button |
set(java.lang.String fieldName,
java.lang.Object value) |
Button |
setImageButton(ImageButton imageButton)
A button with image and onclick action.
|
Button |
setTextButton(TextButton textButton)
A button with text and onclick action.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic ImageButton getImageButton()
null for nonepublic Button setImageButton(ImageButton imageButton)
imageButton - imageButton or null for nonepublic TextButton getTextButton()
null for nonepublic Button setTextButton(TextButton textButton)
textButton - textButton or null for nonepublic Button set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Button clone()
clone in class com.google.api.client.json.GenericJson