public final class GoogleAppsCardV1Section 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 |
---|
GoogleAppsCardV1Section() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1Section |
clone() |
Boolean |
getCollapsible()
Indicates whether this section is collapsible.
|
String |
getHeader()
The header of the section.
|
Integer |
getUncollapsibleWidgetsCount()
The number of uncollapsible widgets.
|
List<GoogleAppsCardV1Widget> |
getWidgets()
A section must contain at least 1 widget.
|
GoogleAppsCardV1Section |
set(String fieldName,
Object value) |
GoogleAppsCardV1Section |
setCollapsible(Boolean collapsible)
Indicates whether this section is collapsible.
|
GoogleAppsCardV1Section |
setHeader(String header)
The header of the section.
|
GoogleAppsCardV1Section |
setUncollapsibleWidgetsCount(Integer uncollapsibleWidgetsCount)
The number of uncollapsible widgets.
|
GoogleAppsCardV1Section |
setWidgets(List<GoogleAppsCardV1Widget> widgets)
A section must contain at least 1 widget.
|
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 Boolean getCollapsible()
null
for nonepublic GoogleAppsCardV1Section setCollapsible(Boolean collapsible)
collapsible
- collapsible or null
for nonepublic String getHeader()
null
for nonepublic GoogleAppsCardV1Section setHeader(String header)
header
- header or null
for nonepublic Integer getUncollapsibleWidgetsCount()
null
for nonepublic GoogleAppsCardV1Section setUncollapsibleWidgetsCount(Integer uncollapsibleWidgetsCount)
uncollapsibleWidgetsCount
- uncollapsibleWidgetsCount or null
for nonepublic List<GoogleAppsCardV1Widget> getWidgets()
null
for nonepublic GoogleAppsCardV1Section setWidgets(List<GoogleAppsCardV1Widget> widgets)
widgets
- widgets or null
for nonepublic GoogleAppsCardV1Section set(String fieldName, Object value)
set
in class GenericJson
public GoogleAppsCardV1Section clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.