Class ContentActions
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ContentActions
-
- All Implemented Interfaces:
Serializable
public class ContentActions extends Object implements Serializable
User actions available on the content. All actions are optional and all actions are executed simultaneously.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentActions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetTextback()StringgetUrl()StringgetUrlTarget()inthashCode()voidsetTextback(String textback)voidsetUrl(String url)voidsetUrlTarget(String urlTarget)ContentActionstextback(String textback)Text to be returned as the payload from a ButtonResponse when a button is clicked.StringtoString()ContentActionsurl(String url)A URL of a web page to direct the user to.ContentActionsurlTarget(String urlTarget)The target window in which to open the URL.
-
-
-
Method Detail
-
url
public ContentActions url(String url)
A URL of a web page to direct the user to.
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
urlTarget
public ContentActions urlTarget(String urlTarget)
The target window in which to open the URL. If empty will open a blank page or tab.
-
getUrlTarget
public String getUrlTarget()
-
setUrlTarget
public void setUrlTarget(String urlTarget)
-
textback
public ContentActions textback(String textback)
Text to be returned as the payload from a ButtonResponse when a button is clicked. The textback and title are a combination which will have to be unique across each card and carousel in order to determine which button was clicked in that card or carousel.
-
getTextback
public String getTextback()
-
setTextback
public void setTextback(String textback)
-
-