Class FilesGetUploadURLExternalRequest

java.lang.Object
com.slack.api.methods.request.files.FilesGetUploadURLExternalRequest
All Implemented Interfaces:
SlackApiRequest

public class FilesGetUploadURLExternalRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/files.getUploadURLExternal
  • Method Details

    • builder

    • 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.
    • 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