public final class CardHeader
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 |
|---|
CardHeader() |
| Modifier and Type | Method and Description |
|---|---|
CardHeader |
clone() |
java.lang.String |
getImageStyle()
The image's type (e.g.
|
java.lang.String |
getImageUrl()
The URL of the image in the card header.
|
java.lang.String |
getSubtitle()
The subtitle of the card header.
|
java.lang.String |
getTitle()
The title must be specified.
|
CardHeader |
set(java.lang.String fieldName,
java.lang.Object value) |
CardHeader |
setImageStyle(java.lang.String imageStyle)
The image's type (e.g.
|
CardHeader |
setImageUrl(java.lang.String imageUrl)
The URL of the image in the card header.
|
CardHeader |
setSubtitle(java.lang.String subtitle)
The subtitle of the card header.
|
CardHeader |
setTitle(java.lang.String title)
The title must be specified.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getImageStyle()
null for nonepublic CardHeader setImageStyle(java.lang.String imageStyle)
imageStyle - imageStyle or null for nonepublic java.lang.String getImageUrl()
null for nonepublic CardHeader setImageUrl(java.lang.String imageUrl)
imageUrl - imageUrl or null for nonepublic java.lang.String getSubtitle()
null for nonepublic CardHeader setSubtitle(java.lang.String subtitle)
subtitle - subtitle or null for nonepublic java.lang.String getTitle()
null for nonepublic CardHeader setTitle(java.lang.String title)
title - title or null for nonepublic CardHeader set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CardHeader clone()
clone in class com.google.api.client.json.GenericJson