Class BookmarksAddRequest

java.lang.Object
com.slack.api.methods.request.bookmarks.BookmarksAddRequest
All Implemented Interfaces:
SlackApiRequest

public class BookmarksAddRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/bookmarks.add
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `bookmarks:write`
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getChannelId

      public String getChannelId()
      Channel to add bookmark in.
    • getTitle

      public String getTitle()
      Title for the bookmark.
    • getType

      public String getType()
      Type of the bookmark i.e. link.
    • getEmoji

      public String getEmoji()
      Emoji tag to apply to the link.
    • getEntityId

      public String getEntityId()
      ID of the entity being bookmarked. Only applies to message and file types.
    • getLink

      public String getLink()
      Link to bookmark.
    • getParentId

      public String getParentId()
      Id of this bookmark's parent
    • setToken

      public void setToken(String token)
      Authentication token. Requires scope: `bookmarks:write`
      Specified by:
      setToken in interface SlackApiRequest
    • setChannelId

      public void setChannelId(String channelId)
      Channel to add bookmark in.
    • setTitle

      public void setTitle(String title)
      Title for the bookmark.
    • setType

      public void setType(String type)
      Type of the bookmark i.e. link.
    • setEmoji

      public void setEmoji(String emoji)
      Emoji tag to apply to the link.
    • setEntityId

      public void setEntityId(String entityId)
      ID of the entity being bookmarked. Only applies to message and file types.
    • setLink

      public void setLink(String link)
      Link to bookmark.
    • setParentId

      public void setParentId(String parentId)
      Id of this bookmark's parent
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object