public final class GoogleAppsCardV1GridItem 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 |
---|
GoogleAppsCardV1GridItem() |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1GridItem |
clone() |
String |
getId()
A user-specified identifier for this grid item.
|
GoogleAppsCardV1ImageComponent |
getImage()
The image that displays in the grid item.
|
String |
getLayout()
The layout to use for the grid item.
|
String |
getSubtitle()
The grid item's subtitle.
|
String |
getTextAlignment()
The horizontal alignment of the grid item's text.
|
String |
getTitle()
The grid item's title.
|
GoogleAppsCardV1GridItem |
set(String fieldName,
Object value) |
GoogleAppsCardV1GridItem |
setId(String id)
A user-specified identifier for this grid item.
|
GoogleAppsCardV1GridItem |
setImage(GoogleAppsCardV1ImageComponent image)
The image that displays in the grid item.
|
GoogleAppsCardV1GridItem |
setLayout(String layout)
The layout to use for the grid item.
|
GoogleAppsCardV1GridItem |
setSubtitle(String subtitle)
The grid item's subtitle.
|
GoogleAppsCardV1GridItem |
setTextAlignment(String textAlignment)
The horizontal alignment of the grid item's text.
|
GoogleAppsCardV1GridItem |
setTitle(String title)
The grid item's title.
|
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 String getId()
null
for nonepublic GoogleAppsCardV1GridItem setId(String id)
id
- id or null
for nonepublic GoogleAppsCardV1ImageComponent getImage()
null
for nonepublic GoogleAppsCardV1GridItem setImage(GoogleAppsCardV1ImageComponent image)
image
- image or null
for nonepublic String getLayout()
null
for nonepublic GoogleAppsCardV1GridItem setLayout(String layout)
layout
- layout or null
for nonepublic String getSubtitle()
null
for nonepublic GoogleAppsCardV1GridItem setSubtitle(String subtitle)
subtitle
- subtitle or null
for nonepublic String getTextAlignment()
null
for nonepublic GoogleAppsCardV1GridItem setTextAlignment(String textAlignment)
textAlignment
- textAlignment or null
for nonepublic String getTitle()
null
for nonepublic GoogleAppsCardV1GridItem setTitle(String title)
title
- title or null
for nonepublic GoogleAppsCardV1GridItem set(String fieldName, Object value)
set
in class GenericJson
public GoogleAppsCardV1GridItem clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.