Class StandaloneCard
- java.lang.Object
-
- java.util.AbstractMap<java.lang.String,java.lang.Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.rcsbusinessmessaging.v1.model.StandaloneCard
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public final class StandaloneCard extends com.google.api.client.json.GenericJsonStandalone cardThis is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the RCS Business Messaging API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
-
Constructor Summary
Constructors Constructor Description StandaloneCard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandaloneCardclone()CardContentgetCardContent()Card content.java.lang.StringgetCardOrientation()Orientation of the card.java.lang.StringgetThumbnailImageAlignment()Image preview alignment for standalone cards with horizontal layout.StandaloneCardset(java.lang.String fieldName, java.lang.Object value)StandaloneCardsetCardContent(CardContent cardContent)Card content.StandaloneCardsetCardOrientation(java.lang.String cardOrientation)Orientation of the card.StandaloneCardsetThumbnailImageAlignment(java.lang.String thumbnailImageAlignment)Image preview alignment for standalone cards with horizontal layout.-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
-
-
-
-
Method Detail
-
getCardContent
public CardContent getCardContent()
Card content.- Returns:
- value or
nullfor none
-
setCardContent
public StandaloneCard setCardContent(CardContent cardContent)
Card content.- Parameters:
cardContent- cardContent ornullfor none
-
getCardOrientation
public java.lang.String getCardOrientation()
Orientation of the card.- Returns:
- value or
nullfor none
-
setCardOrientation
public StandaloneCard setCardOrientation(java.lang.String cardOrientation)
Orientation of the card.- Parameters:
cardOrientation- cardOrientation ornullfor none
-
getThumbnailImageAlignment
public java.lang.String getThumbnailImageAlignment()
Image preview alignment for standalone cards with horizontal layout.- Returns:
- value or
nullfor none
-
setThumbnailImageAlignment
public StandaloneCard setThumbnailImageAlignment(java.lang.String thumbnailImageAlignment)
Image preview alignment for standalone cards with horizontal layout.- Parameters:
thumbnailImageAlignment- thumbnailImageAlignment ornullfor none
-
set
public StandaloneCard set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public StandaloneCard clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-