public final class Card
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 |
|---|
Card() |
| Modifier and Type | Method and Description |
|---|---|
Card |
clone() |
java.util.List<CardAction> |
getCardActions()
The actions of this card.
|
CardHeader |
getHeader()
The header of the card.
|
java.lang.String |
getName()
Name of the card.
|
java.util.List<Section> |
getSections()
Sections are separated by a line divider.
|
Card |
set(java.lang.String fieldName,
java.lang.Object value) |
Card |
setCardActions(java.util.List<CardAction> cardActions)
The actions of this card.
|
Card |
setHeader(CardHeader header)
The header of the card.
|
Card |
setName(java.lang.String name)
Name of the card.
|
Card |
setSections(java.util.List<Section> sections)
Sections are separated by a line divider.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<CardAction> getCardActions()
null for nonepublic Card setCardActions(java.util.List<CardAction> cardActions)
cardActions - cardActions or null for nonepublic CardHeader getHeader()
null for nonepublic Card setHeader(CardHeader header)
header - header or null for nonepublic java.lang.String getName()
null for nonepublic Card setName(java.lang.String name)
name - name or null for nonepublic java.util.List<Section> getSections()
null for nonepublic Card setSections(java.util.List<Section> sections)
sections - sections or null for nonepublic Card set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Card clone()
clone in class com.google.api.client.json.GenericJson