Class QuickReply

java.lang.Object
com.mypurecloud.sdk.v2.model.QuickReply
All Implemented Interfaces:
Serializable

public class QuickReply extends Object implements Serializable
QuickReply
See Also:
  • Constructor Details

    • QuickReply

      public QuickReply()
    • QuickReply

      public QuickReply(Boolean initWithEmptyList)
  • Method Details

    • text

      public QuickReply text(String text)
      Text to show inside the quick reply. This is also used as the response text after clicking on the quick reply.
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • payload

      public QuickReply payload(String payload)
      Content of the textback payload after clicking a quick reply
    • getPayload

      public String getPayload()
    • setPayload

      public void setPayload(String payload)
    • url

      public QuickReply url(String url)
      The location of the image file associated with quick reply
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • action

      public QuickReply action(QuickReply.ActionEnum action)
      Specifies the type of action that is triggered upon clicking the quick reply. Currently, the only supported action is \"Message\" which sends a message using the quick reply text.
    • getAction

      public QuickReply.ActionEnum getAction()
    • setAction

      public void setAction(QuickReply.ActionEnum action)
    • isSelected

      public QuickReply isSelected(Boolean isSelected)
      Indicates if the quick reply option is selected by end customer
    • getIsSelected

      public Boolean getIsSelected()
    • setIsSelected

      public void setIsSelected(Boolean isSelected)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object