Class ContentActions
java.lang.Object
cloud.genesys.webmessaging.sdk.model.ContentActions
- All Implemented Interfaces:
Serializable
User actions available on the content. All actions are optional and all actions are executed simultaneously.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetUrl()inthashCode()voidsetTextback(String textback) voidvoidsetUrlTarget(String urlTarget) Text to be returned as the payload from a ButtonResponse when a button is clicked.toString()A URL of a web page to direct the user to.The target window in which to open the URL.
-
Constructor Details
-
ContentActions
public ContentActions()
-
-
Method Details
-
url
A URL of a web page to direct the user to. -
getUrl
-
setUrl
-
urlTarget
The target window in which to open the URL. If empty will open a blank page or tab. -
getUrlTarget
-
setUrlTarget
-
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
-
setTextback
-
equals
-
hashCode
public int hashCode() -
toString
-