Package com.mypurecloud.sdk.v2.model
Class ConversationNotificationTemplateButton
java.lang.Object
com.mypurecloud.sdk.v2.model.ConversationNotificationTemplateButton
- All Implemented Interfaces:
Serializable
Template button object
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecifies the type of the button. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetIndex()getText()getType()getUrl()inthashCode()index of the button in the list.parameters(List<ConversationNotificationTemplateParameter> parameters) Template parameters for placeholders in the button.Content of the payload to be included in the quick reply response when the button is pressed.phoneNumber(String phoneNumber) Button phone number.voidvoidsetParameters(List<ConversationNotificationTemplateParameter> parameters) voidsetPayload(String payload) voidsetPhoneNumber(String phoneNumber) voidvoidvoidButton text message.toString()Specifies the type of the button.Button URL link.
-
Constructor Details
-
ConversationNotificationTemplateButton
public ConversationNotificationTemplateButton() -
ConversationNotificationTemplateButton
-
-
Method Details
-
type
public ConversationNotificationTemplateButton type(ConversationNotificationTemplateButton.TypeEnum type) Specifies the type of the button. -
getType
-
setType
-
text
Button text message. -
getText
-
setText
-
index
index of the button in the list. -
getIndex
-
setIndex
-
phoneNumber
Button phone number. -
getPhoneNumber
-
setPhoneNumber
-
url
Button URL link. -
getUrl
-
setUrl
-
payload
Content of the payload to be included in the quick reply response when the button is pressed. -
getPayload
-
setPayload
-
parameters
public ConversationNotificationTemplateButton parameters(List<ConversationNotificationTemplateParameter> parameters) Template parameters for placeholders in the button. -
getParameters
-
setParameters
-
equals
-
hashCode
public int hashCode() -
toString
-