public final class Section
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 |
|---|
Section() |
| Modifier and Type | Method and Description |
|---|---|
Section |
clone() |
java.lang.String |
getHeader()
The header of the section, text formatted supported.
|
java.util.List<WidgetMarkup> |
getWidgets()
A section must contain at least 1 widget.
|
Section |
set(java.lang.String fieldName,
java.lang.Object value) |
Section |
setHeader(java.lang.String header)
The header of the section, text formatted supported.
|
Section |
setWidgets(java.util.List<WidgetMarkup> widgets)
A section must contain at least 1 widget.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getHeader()
null for nonepublic Section setHeader(java.lang.String header)
header - header or null for nonepublic java.util.List<WidgetMarkup> getWidgets()
null for nonepublic Section setWidgets(java.util.List<WidgetMarkup> widgets)
widgets - widgets or null for nonepublic Section set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Section clone()
clone in class com.google.api.client.json.GenericJson