public final class GoogleAppsCardV1DecoratedText
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 |
---|
GoogleAppsCardV1DecoratedText() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1DecoratedText |
clone() |
String |
getBottomLabel()
The text that appears below `text`.
|
GoogleAppsCardV1Button |
getButton()
A button that a user can click to trigger an action.
|
GoogleAppsCardV1Icon |
getEndIcon()
An icon displayed after the text.
|
GoogleAppsCardV1Icon |
getIcon()
Deprecated in favor of `startIcon`.
|
GoogleAppsCardV1OnClick |
getOnClick()
This action is triggered when users click `topLabel` or `bottomLabel`.
|
GoogleAppsCardV1Icon |
getStartIcon()
The icon displayed in front of the text.
|
GoogleAppsCardV1SwitchControl |
getSwitchControl()
A switch widget that a user can click to change its state and trigger an action.
|
String |
getText()
Required.
|
String |
getTopLabel()
The text that appears above `text`.
|
Boolean |
getWrapText()
The wrap text setting.
|
GoogleAppsCardV1DecoratedText |
set(String fieldName,
Object value) |
GoogleAppsCardV1DecoratedText |
setBottomLabel(String bottomLabel)
The text that appears below `text`.
|
GoogleAppsCardV1DecoratedText |
setButton(GoogleAppsCardV1Button button)
A button that a user can click to trigger an action.
|
GoogleAppsCardV1DecoratedText |
setEndIcon(GoogleAppsCardV1Icon endIcon)
An icon displayed after the text.
|
GoogleAppsCardV1DecoratedText |
setIcon(GoogleAppsCardV1Icon icon)
Deprecated in favor of `startIcon`.
|
GoogleAppsCardV1DecoratedText |
setOnClick(GoogleAppsCardV1OnClick onClick)
This action is triggered when users click `topLabel` or `bottomLabel`.
|
GoogleAppsCardV1DecoratedText |
setStartIcon(GoogleAppsCardV1Icon startIcon)
The icon displayed in front of the text.
|
GoogleAppsCardV1DecoratedText |
setSwitchControl(GoogleAppsCardV1SwitchControl switchControl)
A switch widget that a user can click to change its state and trigger an action.
|
GoogleAppsCardV1DecoratedText |
setText(String text)
Required.
|
GoogleAppsCardV1DecoratedText |
setTopLabel(String topLabel)
The text that appears above `text`.
|
GoogleAppsCardV1DecoratedText |
setWrapText(Boolean wrapText)
The wrap text setting.
|
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 String getBottomLabel()
null
for nonepublic GoogleAppsCardV1DecoratedText setBottomLabel(String bottomLabel)
bottomLabel
- bottomLabel or null
for nonepublic GoogleAppsCardV1Button getButton()
null
for nonepublic GoogleAppsCardV1DecoratedText setButton(GoogleAppsCardV1Button button)
button
- button or null
for nonepublic GoogleAppsCardV1Icon getEndIcon()
null
for nonepublic GoogleAppsCardV1DecoratedText setEndIcon(GoogleAppsCardV1Icon endIcon)
endIcon
- endIcon or null
for nonepublic GoogleAppsCardV1Icon getIcon()
null
for nonepublic GoogleAppsCardV1DecoratedText setIcon(GoogleAppsCardV1Icon icon)
icon
- icon or null
for nonepublic GoogleAppsCardV1OnClick getOnClick()
null
for nonepublic GoogleAppsCardV1DecoratedText setOnClick(GoogleAppsCardV1OnClick onClick)
onClick
- onClick or null
for nonepublic GoogleAppsCardV1Icon getStartIcon()
null
for nonepublic GoogleAppsCardV1DecoratedText setStartIcon(GoogleAppsCardV1Icon startIcon)
startIcon
- startIcon or null
for nonepublic GoogleAppsCardV1SwitchControl getSwitchControl()
null
for nonepublic GoogleAppsCardV1DecoratedText setSwitchControl(GoogleAppsCardV1SwitchControl switchControl)
switchControl
- switchControl or null
for nonepublic String getText()
null
for nonepublic GoogleAppsCardV1DecoratedText setText(String text)
text
- text or null
for nonepublic String getTopLabel()
null
for nonepublic GoogleAppsCardV1DecoratedText setTopLabel(String topLabel)
topLabel
- topLabel or null
for nonepublic Boolean getWrapText()
null
for nonepublic GoogleAppsCardV1DecoratedText setWrapText(Boolean wrapText)
wrapText
- wrapText or null
for nonepublic GoogleAppsCardV1DecoratedText set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleAppsCardV1DecoratedText clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.