Class ContentCard
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ContentCard
-
- All Implemented Interfaces:
Serializable
public class ContentCard extends Object implements Serializable
Card content object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentCard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentCardactions(List<ContentCardAction> actions)An array of action objects.ContentCarddefaultAction(ContentCardAction defaultAction)The default button action.ContentCarddescription(String description)Text to show in the description.booleanequals(Object o)List<ContentCardAction>getActions()ContentCardActiongetDefaultAction()StringgetDescription()StringgetImage()StringgetTitle()StringgetVideo()inthashCode()ContentCardimage(String image)URL of an image.voidsetActions(List<ContentCardAction> actions)voidsetDefaultAction(ContentCardAction defaultAction)voidsetDescription(String description)voidsetImage(String image)voidsetTitle(String title)voidsetVideo(String video)ContentCardtitle(String title)Text to show in the title.StringtoString()ContentCardvideo(String video)URL of a video.
-
-
-
Method Detail
-
title
public ContentCard title(String title)
Text to show in the title.
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
description
public ContentCard description(String description)
Text to show in the description.
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
image
public ContentCard image(String image)
URL of an image.
-
getImage
public String getImage()
-
setImage
public void setImage(String image)
-
video
public ContentCard video(String video)
URL of a video.
-
getVideo
public String getVideo()
-
setVideo
public void setVideo(String video)
-
defaultAction
public ContentCard defaultAction(ContentCardAction defaultAction)
The default button action.
-
getDefaultAction
public ContentCardAction getDefaultAction()
-
setDefaultAction
public void setDefaultAction(ContentCardAction defaultAction)
-
actions
public ContentCard actions(List<ContentCardAction> actions)
An array of action objects.
-
getActions
public List<ContentCardAction> getActions()
-
setActions
public void setActions(List<ContentCardAction> actions)
-
-