public final class GoogleAppsCardV1Section
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 |
---|
GoogleAppsCardV1Section() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1Section |
clone() |
Boolean |
getCollapsible()
Indicates whether this section is collapsible.
|
String |
getHeader()
Text that appears at the top of a section.
|
Integer |
getUncollapsibleWidgetsCount()
The number of uncollapsible widgets which remain visible even when a section is collapsed.
|
List<GoogleAppsCardV1Widget> |
getWidgets()
All the widgets in the section.
|
GoogleAppsCardV1Section |
set(String fieldName,
Object value) |
GoogleAppsCardV1Section |
setCollapsible(Boolean collapsible)
Indicates whether this section is collapsible.
|
GoogleAppsCardV1Section |
setHeader(String header)
Text that appears at the top of a section.
|
GoogleAppsCardV1Section |
setUncollapsibleWidgetsCount(Integer uncollapsibleWidgetsCount)
The number of uncollapsible widgets which remain visible even when a section is collapsed.
|
GoogleAppsCardV1Section |
setWidgets(List<GoogleAppsCardV1Widget> widgets)
All the widgets in the section.
|
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 com.google.api.client.json.GenericJson
public GoogleAppsCardV1Section clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.