Class ContentQuickReply

java.lang.Object
cloud.genesys.webmessaging.sdk.model.ContentQuickReply
All Implemented Interfaces:
Serializable

public class ContentQuickReply extends Object implements Serializable
Quick reply content. Quick reply object.
See Also:
  • Constructor Details

    • ContentQuickReply

      public ContentQuickReply()
  • Method Details

    • action

      public ContentQuickReply action(Action action)
      Specifies the type of action that is triggered upon clicking the quick reply.
    • getAction

      public Action getAction()
    • setAction

      public void setAction(Action action)
    • id

      public ContentQuickReply id(String id)
      A unique ID assigned to the quick reply (Deprecated).
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • image

      public ContentQuickReply image(String image)
      URL of an image associated with the quick reply.
    • getImage

      public String getImage()
    • setImage

      public void setImage(String image)
    • payload

      public ContentQuickReply payload(String payload)
      Content of the payload included in the quick reply response. Could be an ID identifying the quick reply response.
    • getPayload

      public String getPayload()
    • setPayload

      public void setPayload(String payload)
    • text

      public ContentQuickReply 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)
    • 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