public final class GoogleAppsCardV1DecoratedText extends 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
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 formatted text label that shows below the main text.
|
GoogleAppsCardV1Button |
getButton()
A button that can be clicked to trigger an action.
|
GoogleAppsCardV1Icon |
getEndIcon()
An icon displayed after the text.
|
GoogleAppsCardV1Icon |
getIcon()
Deprecated in favor of start_icon.
|
GoogleAppsCardV1OnClick |
getOnClick()
Only the top and bottom label and content region are clickable.
|
GoogleAppsCardV1Icon |
getStartIcon()
The icon displayed in front of the text.
|
GoogleAppsCardV1SwitchControl |
getSwitchControl()
A switch widget can be clicked to change its state or trigger an action.
|
String |
getText()
Required.
|
String |
getTopLabel()
The formatted text label that shows above the main text.
|
Boolean |
getWrapText()
The wrap text setting.
|
GoogleAppsCardV1DecoratedText |
set(String fieldName,
Object value) |
GoogleAppsCardV1DecoratedText |
setBottomLabel(String bottomLabel)
The formatted text label that shows below the main text.
|
GoogleAppsCardV1DecoratedText |
setButton(GoogleAppsCardV1Button button)
A button that can be clicked to trigger an action.
|
GoogleAppsCardV1DecoratedText |
setEndIcon(GoogleAppsCardV1Icon endIcon)
An icon displayed after the text.
|
GoogleAppsCardV1DecoratedText |
setIcon(GoogleAppsCardV1Icon icon)
Deprecated in favor of start_icon.
|
GoogleAppsCardV1DecoratedText |
setOnClick(GoogleAppsCardV1OnClick onClick)
Only the top and bottom label and content region are clickable.
|
GoogleAppsCardV1DecoratedText |
setStartIcon(GoogleAppsCardV1Icon startIcon)
The icon displayed in front of the text.
|
GoogleAppsCardV1DecoratedText |
setSwitchControl(GoogleAppsCardV1SwitchControl switchControl)
A switch widget can be clicked to change its state or trigger an action.
|
GoogleAppsCardV1DecoratedText |
setText(String text)
Required.
|
GoogleAppsCardV1DecoratedText |
setTopLabel(String topLabel)
The formatted text label that shows above the main 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 GenericJson
public GoogleAppsCardV1DecoratedText clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.