Class ContentGeneric
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ContentGeneric
-
- All Implemented Interfaces:
Serializable
public class ContentGeneric extends Object implements Serializable
Generic content (Deprecated). Deprecated, should use Card.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentGeneric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentGenericactions(ContentActions actions)Actions to be taken (Deprecated).ContentGenericcomponents(List<ButtonComponent> components)An array of component objects.ContentGenericdescription(String description)Text to show in the description.booleanequals(Object o)ContentActionsgetActions()List<ButtonComponent>getComponents()StringgetDescription()StringgetId()StringgetImage()StringgetTitle()StringgetVideo()inthashCode()ContentGenericid(String id)A unique ID assigned to this rich message content (Deprecated).ContentGenericimage(String image)URL of an image.voidsetActions(ContentActions actions)voidsetComponents(List<ButtonComponent> components)voidsetDescription(String description)voidsetId(String id)voidsetImage(String image)voidsetTitle(String title)voidsetVideo(String video)ContentGenerictitle(String title)Text to show in the title.StringtoString()ContentGenericvideo(String video)URL of a video.
-
-
-
Method Detail
-
actions
public ContentGeneric actions(ContentActions actions)
Actions to be taken (Deprecated).
-
getActions
public ContentActions getActions()
-
setActions
public void setActions(ContentActions actions)
-
components
public ContentGeneric components(List<ButtonComponent> components)
An array of component objects.
-
getComponents
public List<ButtonComponent> getComponents()
-
setComponents
public void setComponents(List<ButtonComponent> components)
-
description
public ContentGeneric description(String description)
Text to show in the description.
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
id
public ContentGeneric id(String id)
A unique ID assigned to this rich message content (Deprecated).
-
getId
public String getId()
-
setId
public void setId(String id)
-
image
public ContentGeneric image(String image)
URL of an image.
-
getImage
public String getImage()
-
setImage
public void setImage(String image)
-
title
public ContentGeneric title(String title)
Text to show in the title.
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
video
public ContentGeneric video(String video)
URL of a video.
-
getVideo
public String getVideo()
-
setVideo
public void setVideo(String video)
-
-