Class ContentActions

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

public class ContentActions extends Object implements Serializable
User actions available on the content. All actions are optional and all actions are executed simultaneously.
See Also:
  • Constructor Details

    • ContentActions

      public ContentActions()
  • Method Details

    • url

      public ContentActions url(String url)
      A URL of a web page to direct the user to.
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • urlTarget

      public ContentActions urlTarget(String urlTarget)
      The target window in which to open the URL. If empty will open a blank page or tab.
    • getUrlTarget

      public String getUrlTarget()
    • setUrlTarget

      public void setUrlTarget(String urlTarget)
    • textback

      public ContentActions textback(String textback)
      Text to be returned as the payload from a ButtonResponse when a button is clicked. The textback and title are a combination which will have to be unique across each card and carousel in order to determine which button was clicked in that card or carousel.
    • getTextback

      public String getTextback()
    • setTextback

      public void setTextback(String textback)
    • 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