Class FilesGetUploadURLExternalRequest

  • All Implemented Interfaces:
    SlackApiRequest

    public class FilesGetUploadURLExternalRequest
    extends Object
    implements SlackApiRequest
    https://api.slack.com/methods/files.getUploadURLExternal
    • Method Detail

      • getToken

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

        public String getFilename()
        Name of the file being uploaded.
      • getLength

        public Integer getLength()
        Size in bytes of the file being uploaded.
      • getAltTxt

        public String getAltTxt()
        Description of image for screen-reader.
      • getSnippetType

        public String getSnippetType()
        Syntax type of the snippet being uploaded.
      • setToken

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

        public void setFilename​(String filename)
        Name of the file being uploaded.
      • setLength

        public void setLength​(Integer length)
        Size in bytes of the file being uploaded.
      • setAltTxt

        public void setAltTxt​(String altTxt)
        Description of image for screen-reader.
      • setSnippetType

        public void setSnippetType​(String snippetType)
        Syntax type of the snippet being uploaded.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object