Class FilesListRequest

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

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

    Nested Classes 
    Modifier and Type Class Description
    static class  FilesListRequest.FilesListRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static FilesListRequest.FilesListRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    Filter files appearing in a specific channel, indicated by its ID.
    java.lang.Integer getCount()  
    java.lang.Integer getPage()  
    java.lang.String getTeamId()
    Required for org-wide apps.
    java.lang.String getToken()
    Authentication token.
    java.lang.String getTsFrom()
    Filter files created after this timestamp (inclusive).
    java.lang.String getTsTo()
    Filter files created before this timestamp (inclusive).
    java.util.List<java.lang.String> getTypes()
    Filter files by type:\n\n* `all` - All files
    java.lang.String getUser()
    Filter files created by a single user.
    int hashCode()  
    boolean isShowFilesHiddenByLimit()
    https://api.slack.com/changelog/2019-03-wild-west-for-files-no-more
    void setChannel​(java.lang.String channel)
    Filter files appearing in a specific channel, indicated by its ID.
    void setCount​(java.lang.Integer count)  
    void setPage​(java.lang.Integer page)  
    void setShowFilesHiddenByLimit​(boolean showFilesHiddenByLimit)
    https://api.slack.com/changelog/2019-03-wild-west-for-files-no-more
    void setTeamId​(java.lang.String teamId)
    Required for org-wide apps.
    void setToken​(java.lang.String token)
    Authentication token.
    void setTsFrom​(java.lang.String tsFrom)
    Filter files created after this timestamp (inclusive).
    void setTsTo​(java.lang.String tsTo)
    Filter files created before this timestamp (inclusive).
    void setTypes​(java.util.List<java.lang.String> types)
    Filter files by type:\n\n* `all` - All files
    void setUser​(java.lang.String user)
    Filter files created by a single user.
    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: `files:read`
      Specified by:
      getToken in interface SlackApiRequest
    • getUser

      public java.lang.String getUser()
      Filter files created by a single user.
    • getChannel

      public java.lang.String getChannel()
      Filter files appearing in a specific channel, indicated by its ID.
    • getTsFrom

      public java.lang.String getTsFrom()
      Filter files created after this timestamp (inclusive).
    • getTsTo

      public java.lang.String getTsTo()
      Filter files created before this timestamp (inclusive).
    • getTypes

      public java.util.List<java.lang.String> getTypes()
      Filter files by type:\n\n* `all` - All files

      `spaces` - Posts\n* `snippets` - Snippets `images` - Image files `gdocs` - Google docs `zips` - Zip files `pdfs` - PDF files

      You can pass multiple values in the types argument, like `types=spaces,snippets`. The default value is `all`, which does not filter the list.

    • getCount

      public java.lang.Integer getCount()
    • getPage

      public java.lang.Integer getPage()
    • isShowFilesHiddenByLimit

      public boolean isShowFilesHiddenByLimit()
      https://api.slack.com/changelog/2019-03-wild-west-for-files-no-more

      In order to gather information on tombstoned files in Free workspaces, so that you can delete or revoke them, pass the show_files_hidden_by_limit parameter. While the yielded files will still be redacted, you'll gain the id of the files so that you can delete or revoke them.

    • getTeamId

      public java.lang.String getTeamId()
      Required for org-wide apps.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token. Requires scope: `files:read`
    • setUser

      public void setUser​(java.lang.String user)
      Filter files created by a single user.
    • setChannel

      public void setChannel​(java.lang.String channel)
      Filter files appearing in a specific channel, indicated by its ID.
    • setTsFrom

      public void setTsFrom​(java.lang.String tsFrom)
      Filter files created after this timestamp (inclusive).
    • setTsTo

      public void setTsTo​(java.lang.String tsTo)
      Filter files created before this timestamp (inclusive).
    • setTypes

      public void setTypes​(java.util.List<java.lang.String> types)
      Filter files by type:\n\n* `all` - All files

      `spaces` - Posts\n* `snippets` - Snippets `images` - Image files `gdocs` - Google docs `zips` - Zip files `pdfs` - PDF files

      You can pass multiple values in the types argument, like `types=spaces,snippets`. The default value is `all`, which does not filter the list.

    • setCount

      public void setCount​(java.lang.Integer count)
    • setPage

      public void setPage​(java.lang.Integer page)
    • setShowFilesHiddenByLimit

      public void setShowFilesHiddenByLimit​(boolean showFilesHiddenByLimit)
      https://api.slack.com/changelog/2019-03-wild-west-for-files-no-more

      In order to gather information on tombstoned files in Free workspaces, so that you can delete or revoke them, pass the show_files_hidden_by_limit parameter. While the yielded files will still be redacted, you'll gain the id of the files so that you can delete or revoke them.

    • setTeamId

      public void setTeamId​(java.lang.String teamId)
      Required for org-wide apps.
    • 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