Class FilesRemoteUpdateRequest

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

public class FilesRemoteUpdateRequest
extends java.lang.Object
implements SlackApiRequest
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token. Requires scope: `remote_files:write`
      Specified by:
      getToken in interface SlackApiRequest
    • getExternalId

      public java.lang.String getExternalId()
      Creator defined GUID for the file.
    • getExternalUrl

      public java.lang.String getExternalUrl()
      URL of the remote file.
    • getTitle

      public java.lang.String getTitle()
      Title of the file being shared.
    • getFiletype

      public java.lang.String getFiletype()
      type of file
    • getIndexableFileContents

      public byte[] getIndexableFileContents()
      File containing contents that can be used to improve searchability for the remote file.
    • getPreviewImage

      public byte[] getPreviewImage()
      Preview of the document via multipart/form-data.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token. Requires scope: `remote_files:write`
    • setExternalId

      public void setExternalId​(java.lang.String externalId)
      Creator defined GUID for the file.
    • setExternalUrl

      public void setExternalUrl​(java.lang.String externalUrl)
      URL of the remote file.
    • setTitle

      public void setTitle​(java.lang.String title)
      Title of the file being shared.
    • setFiletype

      public void setFiletype​(java.lang.String filetype)
      type of file
    • setIndexableFileContents

      public void setIndexableFileContents​(byte[] indexableFileContents)
      File containing contents that can be used to improve searchability for the remote file.
    • setPreviewImage

      public void setPreviewImage​(byte[] previewImage)
      Preview of the document via multipart/form-data.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object