Class FilesListRequest
- All Implemented Interfaces:
SlackApiRequest
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Filter files appearing in a specific channel, indicated by its ID.getCount()
getPage()
Required for org-wide apps.getToken()
Authentication token.Filter files created after this timestamp (inclusive).getTsTo()
Filter files created before this timestamp (inclusive).getTypes()
Filter files by type:\n\n* `all` - All filesgetUser()
Filter files created by a single user.int
hashCode()
boolean
https://api.slack.com/changelog/2019-03-wild-west-for-files-no-morevoid
setChannel
(String channel) Filter files appearing in a specific channel, indicated by its ID.void
void
void
setShowFilesHiddenByLimit
(boolean showFilesHiddenByLimit) https://api.slack.com/changelog/2019-03-wild-west-for-files-no-morevoid
Required for org-wide apps.void
Authentication token.void
Filter files created after this timestamp (inclusive).void
Filter files created before this timestamp (inclusive).void
Filter files by type:\n\n* `all` - All filesvoid
Filter files created by a single user.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `files:read`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getUser
Filter files created by a single user. -
getChannel
Filter files appearing in a specific channel, indicated by its ID. -
getTsFrom
Filter files created after this timestamp (inclusive). -
getTsTo
Filter files created before this timestamp (inclusive). -
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
-
getPage
-
isShowFilesHiddenByLimit
public boolean isShowFilesHiddenByLimit()https://api.slack.com/changelog/2019-03-wild-west-for-files-no-moreIn 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
Required for org-wide apps. -
setToken
Authentication token. Requires scope: `files:read`- Specified by:
setToken
in interfaceSlackApiRequest
-
setUser
Filter files created by a single user. -
setChannel
Filter files appearing in a specific channel, indicated by its ID. -
setTsFrom
Filter files created after this timestamp (inclusive). -
setTsTo
Filter files created before this timestamp (inclusive). -
setTypes
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
-
setPage
-
setShowFilesHiddenByLimit
public void setShowFilesHiddenByLimit(boolean showFilesHiddenByLimit) https://api.slack.com/changelog/2019-03-wild-west-for-files-no-moreIn 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
Required for org-wide apps. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-