Class BookmarksAddRequest

    • Method Detail

      • getToken

        public String getToken()
        Authentication token. Requires scope: `bookmarks:write`
        Specified by:
        getToken in interface SlackApiRequest
      • 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`
      • 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
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object