Package com.mypurecloud.sdk.v2.model
Class ButtonResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.ButtonResponse
- All Implemented Interfaces:
Serializable
ButtonResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumButton response message type that captures QuickReply , Cards and Carousel .This is used as label for Card selectionstatic enumButton response type that captures Button and QuickReply type responses -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetText()getType()inthashCode()messageType(ButtonResponse.MessageTypeEnum messageType) Button response message type that captures QuickReply , Cards and Carousel .This is used as label for Card selectionContent of the textback payload after clicking a buttonvoidsetMessageType(ButtonResponse.MessageTypeEnum messageType) voidsetPayload(String payload) voidvoidText to show inside the Button reply.toString()type(ButtonResponse.TypeEnum type) Button response type that captures Button and QuickReply type responses
-
Constructor Details
-
ButtonResponse
public ButtonResponse()
-
-
Method Details
-
type
Button response type that captures Button and QuickReply type responses -
getType
-
setType
-
text
Text to show inside the Button reply. This is also used as the response text after clicking on the Button. -
getText
-
setText
-
payload
Content of the textback payload after clicking a button -
getPayload
-
setPayload
-
messageType
Button response message type that captures QuickReply , Cards and Carousel .This is used as label for Card selection -
getMessageType
-
setMessageType
-
equals
-
hashCode
public int hashCode() -
toString
-