public final class ImageButton
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 |
|---|
ImageButton() |
| Modifier and Type | Method and Description |
|---|---|
ImageButton |
clone() |
java.lang.String |
getIcon()
The icon specified by an enum that indices to an icon provided by Chat API.
|
java.lang.String |
getIconUrl()
The icon specified by a URL.
|
java.lang.String |
getName()
The name of this image_button which will be used for accessibility.
|
OnClick |
getOnClick()
The onclick action.
|
ImageButton |
set(java.lang.String fieldName,
java.lang.Object value) |
ImageButton |
setIcon(java.lang.String icon)
The icon specified by an enum that indices to an icon provided by Chat API.
|
ImageButton |
setIconUrl(java.lang.String iconUrl)
The icon specified by a URL.
|
ImageButton |
setName(java.lang.String name)
The name of this image_button which will be used for accessibility.
|
ImageButton |
setOnClick(OnClick onClick)
The onclick action.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getIcon()
null for nonepublic ImageButton setIcon(java.lang.String icon)
icon - icon or null for nonepublic java.lang.String getIconUrl()
null for nonepublic ImageButton setIconUrl(java.lang.String iconUrl)
iconUrl - iconUrl or null for nonepublic java.lang.String getName()
null for nonepublic ImageButton setName(java.lang.String name)
name - name or null for nonepublic OnClick getOnClick()
null for nonepublic ImageButton setOnClick(OnClick onClick)
onClick - onClick or null for nonepublic ImageButton set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ImageButton clone()
clone in class com.google.api.client.json.GenericJson