Class ContentCardAction
java.lang.Object
cloud.genesys.webmessaging.sdk.model.ContentCardAction
- All Implemented Interfaces:
Serializable
A card action that a user can take.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribes the type of action. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetText()getType()getUrl()inthashCode()Text to be returned as the payload from a ButtonResponse when a button is clicked.voidsetPayload(String payload) voidvoidvoidThe response text from the button click.toString()Describes the type of action.A URL of a web page to direct the user to.
-
Constructor Details
-
ContentCardAction
public ContentCardAction()
-
-
Method Details
-
type
Describes the type of action. -
getType
-
setType
-
text
The response text from the button click. -
getText
-
setText
-
payload
Text to be returned as the payload from a ButtonResponse when a button is clicked. The payload and text 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. -
getPayload
-
setPayload
-
url
A URL of a web page to direct the user to. -
getUrl
-
setUrl
-
equals
-
hashCode
public int hashCode() -
toString
-