Class PinsAddRequest

    • Method Detail

      • getToken

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

        public String getChannel()
        Channel to pin the item in.
      • getFileComment

        @Deprecated
        public String getFileComment()
        Deprecated.
        File comment to pin.
      • getTimestamp

        public String getTimestamp()
        Timestamp of the message to pin.
      • setToken

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

        public void setChannel​(String channel)
        Channel to pin the item in.
      • setFile

        @Deprecated
        public void setFile​(String file)
        Deprecated.
        File to pin.
      • setFileComment

        @Deprecated
        public void setFileComment​(String fileComment)
        Deprecated.
        File comment to pin.
      • setTimestamp

        public void setTimestamp​(String timestamp)
        Timestamp of the message to pin.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object