Class ListItemComponent
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ListItemComponent
-
- All Implemented Interfaces:
Serializable
public class ListItemComponent extends Object implements Serializable
An entry in a List template.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListItemComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListItemComponentactions(ContentActions actions)The list item actions (Deprecated).ListItemComponentdescription(String description)Text to show in the list item description.booleanequals(Object o)ContentActionsgetActions()StringgetDescription()StringgetId()StringgetImage()StringgetRmid()StringgetTitle()ListItemTypegetType()inthashCode()ListItemComponentid(String id)An ID assigned to this list item.ListItemComponentimage(String image)URL of an image.ListItemComponentrmid(String rmid)An ID of the rich message instance.voidsetActions(ContentActions actions)voidsetDescription(String description)voidsetId(String id)voidsetImage(String image)voidsetRmid(String rmid)voidsetTitle(String title)voidsetType(ListItemType type)ListItemComponenttitle(String title)The main headline of the list item.StringtoString()ListItemComponenttype(ListItemType type)The type of list item to render.
-
-
-
Method Detail
-
actions
public ListItemComponent actions(ContentActions actions)
The list item actions (Deprecated).
-
getActions
public ContentActions getActions()
-
setActions
public void setActions(ContentActions actions)
-
description
public ListItemComponent description(String description)
Text to show in the list item description.
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
id
public ListItemComponent id(String id)
An ID assigned to this list item.
-
getId
public String getId()
-
setId
public void setId(String id)
-
image
public ListItemComponent image(String image)
URL of an image.
-
getImage
public String getImage()
-
setImage
public void setImage(String image)
-
rmid
public ListItemComponent rmid(String rmid)
An ID of the rich message instance.
-
getRmid
public String getRmid()
-
setRmid
public void setRmid(String rmid)
-
title
public ListItemComponent title(String title)
The main headline of the list item.
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
type
public ListItemComponent type(ListItemType type)
The type of list item to render.
-
getType
public ListItemType getType()
-
setType
public void setType(ListItemType type)
-
-