public class FilesListRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
FilesListRequest.FilesListRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static FilesListRequest.FilesListRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getChannel()
Filter files appearing in a specific channel, indicated by its ID.
|
Integer |
getCount() |
Integer |
getPage() |
String |
getToken()
Authentication token.
|
String |
getTsFrom()
Filter files created after this timestamp (inclusive).
|
String |
getTsTo()
Filter files created before this timestamp (inclusive).
|
List<String> |
getTypes()
Filter files by type:\n\n* `all` - All files
|
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(String channel)
Filter files appearing in a specific channel, indicated by its ID.
|
void |
setCount(Integer count) |
void |
setPage(Integer page) |
void |
setShowFilesHiddenByLimit(boolean showFilesHiddenByLimit)
https://api.slack.com/changelog/2019-03-wild-west-for-files-no-more
|
void |
setToken(String token)
Authentication token.
|
void |
setTsFrom(String tsFrom)
Filter files created after this timestamp (inclusive).
|
void |
setTsTo(String tsTo)
Filter files created before this timestamp (inclusive).
|
void |
setTypes(List<String> types)
Filter files by type:\n\n* `all` - All files
|
void |
setUser(String user)
Filter files created by a single user.
|
String |
toString() |
public static FilesListRequest.FilesListRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic String getUser()
public String getChannel()
public String getTsFrom()
public String getTsTo()
public List<String> getTypes()
`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.
public Integer getCount()
public Integer getPage()
public boolean isShowFilesHiddenByLimit()
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.
public void setToken(String token)
public void setUser(String user)
public void setChannel(String channel)
public void setTsFrom(String tsFrom)
public void setTsTo(String tsTo)
public void setTypes(List<String> types)
`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.
public void setCount(Integer count)
public void setPage(Integer page)
public void setShowFilesHiddenByLimit(boolean showFilesHiddenByLimit)
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.
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.