Class FilesRemoteShareRequest

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

public class FilesRemoteShareRequest
extends java.lang.Object
implements SlackApiRequest
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  FilesRemoteShareRequest.FilesRemoteShareRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static FilesRemoteShareRequest.FilesRemoteShareRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.util.List<java.lang.String> getChannels()
    Comma-separated list of channel IDs where the file will be shared.
    java.lang.String getExternalId()
    Creator defined GUID for the file.
    java.lang.String getFile()
    Specify a file by providing its ID.
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    void setChannels​(java.util.List<java.lang.String> channels)
    Comma-separated list of channel IDs where the file will be shared.
    void setExternalId​(java.lang.String externalId)
    Creator defined GUID for the file.
    void setFile​(java.lang.String file)
    Specify a file by providing its ID.
    void setToken​(java.lang.String token)
    Authentication token.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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.
    • getFile

      public java.lang.String getFile()
      Specify a file by providing its ID.
    • getChannels

      public java.util.List<java.lang.String> getChannels()
      Comma-separated list of channel IDs where the file will be shared.
    • 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.
    • setFile

      public void setFile​(java.lang.String file)
      Specify a file by providing its ID.
    • setChannels

      public void setChannels​(java.util.List<java.lang.String> channels)
      Comma-separated list of channel IDs where the file will be shared.
    • 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