Class RichCard
- 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.RichCard
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public final class RichCard extends com.google.api.client.json.GenericJsonA standalone rich card or a carousel of rich cards sent from the agent to the user.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 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 RichCard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RichCardclone()CarouselCardgetCarouselCard()Carousel of cards.StandaloneCardgetStandaloneCard()Standalone card.RichCardset(java.lang.String fieldName, java.lang.Object value)RichCardsetCarouselCard(CarouselCard carouselCard)Carousel of cards.RichCardsetStandaloneCard(StandaloneCard standaloneCard)Standalone card.-
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
-
getCarouselCard
public CarouselCard getCarouselCard()
Carousel of cards.- Returns:
- value or
nullfor none
-
setCarouselCard
public RichCard setCarouselCard(CarouselCard carouselCard)
Carousel of cards.- Parameters:
carouselCard- carouselCard ornullfor none
-
getStandaloneCard
public StandaloneCard getStandaloneCard()
Standalone card.- Returns:
- value or
nullfor none
-
setStandaloneCard
public RichCard setStandaloneCard(StandaloneCard standaloneCard)
Standalone card.- Parameters:
standaloneCard- standaloneCard ornullfor none
-
set
public RichCard set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public RichCard clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-