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 selectionoriginatingMessageId(String originatingMessageId) Reference to the ID of the original message (e.g., list picker) this button response is replying to.Content of the textback payload after clicking a buttonvoidsetMessageType(ButtonResponse.MessageTypeEnum messageType) voidsetOriginatingMessageId(String originatingMessageId) 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() -
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
-
originatingMessageId
Reference to the ID of the original message (e.g., list picker) this button response is replying to. -
getOriginatingMessageId
-
setOriginatingMessageId
-
equals
-
hashCode
public int hashCode() -
toString
-