Class ContentCard
java.lang.Object
cloud.genesys.webmessaging.sdk.model.ContentCard
- All Implemented Interfaces:
Serializable
Card content object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions(List<ContentCardAction> actions) An array of action objects.defaultAction(ContentCardAction defaultAction) The default button action.description(String description) Text to show in the description.booleangetImage()getTitle()getVideo()inthashCode()URL of an image.voidsetActions(List<ContentCardAction> actions) voidsetDefaultAction(ContentCardAction defaultAction) voidsetDescription(String description) voidvoidvoidText to show in the title.toString()URL of a video.
-
Constructor Details
-
ContentCard
public ContentCard()
-
-
Method Details
-
title
Text to show in the title. -
getTitle
-
setTitle
-
description
Text to show in the description. -
getDescription
-
setDescription
-
image
URL of an image. -
getImage
-
setImage
-
video
URL of a video. -
getVideo
-
setVideo
-
defaultAction
The default button action. -
getDefaultAction
-
setDefaultAction
-
actions
An array of action objects. -
getActions
-
setActions
-
equals
-
hashCode
public int hashCode() -
toString
-