public final class GoogleAppsCardV1Card
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 |
---|
GoogleAppsCardV1Card() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1Card |
clone() |
List<GoogleAppsCardV1CardAction> |
getCardActions()
The card's actions.
|
String |
getDisplayStyle()
In Google Workspace Add-ons, sets the display properties of the `peekCardHeader`.
|
GoogleAppsCardV1CardFixedFooter |
getFixedFooter()
The fixed footer shown at the bottom of this card.
|
GoogleAppsCardV1CardHeader |
getHeader()
The header of the card.
|
String |
getName()
Name of the card.
|
GoogleAppsCardV1CardHeader |
getPeekCardHeader()
When displaying contextual content, the peek card header acts as a placeholder so that the user
can navigate forward between the homepage cards and the contextual cards.
|
String |
getSectionDividerStyle()
The divider style between sections.
|
List<GoogleAppsCardV1Section> |
getSections()
Contains a collection of widgets.
|
GoogleAppsCardV1Card |
set(String fieldName,
Object value) |
GoogleAppsCardV1Card |
setCardActions(List<GoogleAppsCardV1CardAction> cardActions)
The card's actions.
|
GoogleAppsCardV1Card |
setDisplayStyle(String displayStyle)
In Google Workspace Add-ons, sets the display properties of the `peekCardHeader`.
|
GoogleAppsCardV1Card |
setFixedFooter(GoogleAppsCardV1CardFixedFooter fixedFooter)
The fixed footer shown at the bottom of this card.
|
GoogleAppsCardV1Card |
setHeader(GoogleAppsCardV1CardHeader header)
The header of the card.
|
GoogleAppsCardV1Card |
setName(String name)
Name of the card.
|
GoogleAppsCardV1Card |
setPeekCardHeader(GoogleAppsCardV1CardHeader peekCardHeader)
When displaying contextual content, the peek card header acts as a placeholder so that the user
can navigate forward between the homepage cards and the contextual cards.
|
GoogleAppsCardV1Card |
setSectionDividerStyle(String sectionDividerStyle)
The divider style between sections.
|
GoogleAppsCardV1Card |
setSections(List<GoogleAppsCardV1Section> sections)
Contains a collection of widgets.
|
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 List<GoogleAppsCardV1CardAction> getCardActions()
null
for nonepublic GoogleAppsCardV1Card setCardActions(List<GoogleAppsCardV1CardAction> cardActions)
cardActions
- cardActions or null
for nonepublic String getDisplayStyle()
null
for nonepublic GoogleAppsCardV1Card setDisplayStyle(String displayStyle)
displayStyle
- displayStyle or null
for nonepublic GoogleAppsCardV1CardFixedFooter getFixedFooter()
null
for nonepublic GoogleAppsCardV1Card setFixedFooter(GoogleAppsCardV1CardFixedFooter fixedFooter)
fixedFooter
- fixedFooter or null
for nonepublic GoogleAppsCardV1CardHeader getHeader()
null
for nonepublic GoogleAppsCardV1Card setHeader(GoogleAppsCardV1CardHeader header)
header
- header or null
for nonepublic String getName()
null
for nonepublic GoogleAppsCardV1Card setName(String name)
name
- name or null
for nonepublic GoogleAppsCardV1CardHeader getPeekCardHeader()
null
for nonepublic GoogleAppsCardV1Card setPeekCardHeader(GoogleAppsCardV1CardHeader peekCardHeader)
peekCardHeader
- peekCardHeader or null
for nonepublic String getSectionDividerStyle()
null
for nonepublic GoogleAppsCardV1Card setSectionDividerStyle(String sectionDividerStyle)
sectionDividerStyle
- sectionDividerStyle or null
for nonepublic List<GoogleAppsCardV1Section> getSections()
null
for nonepublic GoogleAppsCardV1Card setSections(List<GoogleAppsCardV1Section> sections)
sections
- sections or null
for nonepublic GoogleAppsCardV1Card set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleAppsCardV1Card clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.