Class AdminConversationsSearchRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSearchRequest
- All Implemented Interfaces:
SlackApiRequest
https://api.slack.com/methods/admin.conversations.search
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Set cursor to next_cursor returned by the previous call to list items in the next page.getLimit()
Maximum number of items to be returned.getQuery()
Name of the channel to query by.The type of channel to include or exclude in the search.getSort()
Possible values are relevant (search ranking based on what we think is closest), name (alphabetical), member_count (number of users in the channel), and created (date channel was created).Sort direction.Comma separated string of team IDs, signifying the workspaces to search through.getToken()
Authentication token bearing required scopes.int
hashCode()
void
Set cursor to next_cursor returned by the previous call to list items in the next page.void
Maximum number of items to be returned.void
Name of the channel to query by.void
setSearchChannelTypes
(List<String> searchChannelTypes) The type of channel to include or exclude in the search.void
Possible values are relevant (search ranking based on what we think is closest), name (alphabetical), member_count (number of users in the channel), and created (date channel was created).void
setSortDir
(String sortDir) Sort direction.void
setTeamIds
(List<String> teamIds) Comma separated string of team IDs, signifying the workspaces to search through.void
Authentication token bearing required scopes.toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getCursor
Set cursor to next_cursor returned by the previous call to list items in the next page. -
getLimit
Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. Default: 10 -
getQuery
Name of the channel to query by. -
getSearchChannelTypes
The type of channel to include or exclude in the search. For example private will search private channels, while private_exclude will exclude them. For a full list of types, check the Types section. https://api.slack.com/methods/admin.conversations.search#types -
getSort
Possible values are relevant (search ranking based on what we think is closest), name (alphabetical), member_count (number of users in the channel), and created (date channel was created). You can optionally pair this with the sort_dir arg to change how it is sorted Default: member_count -
getSortDir
Sort direction. Possible values are asc for ascending order like (1, 2, 3) or (a, b, c), and desc for descending order like (3, 2, 1) or (c, b, a) Default: desc -
getTeamIds
Comma separated string of team IDs, signifying the workspaces to search through. -
setToken
Authentication token bearing required scopes.- Specified by:
setToken
in interfaceSlackApiRequest
-
setCursor
Set cursor to next_cursor returned by the previous call to list items in the next page. -
setLimit
Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. Default: 10 -
setQuery
Name of the channel to query by. -
setSearchChannelTypes
The type of channel to include or exclude in the search. For example private will search private channels, while private_exclude will exclude them. For a full list of types, check the Types section. https://api.slack.com/methods/admin.conversations.search#types -
setSort
Possible values are relevant (search ranking based on what we think is closest), name (alphabetical), member_count (number of users in the channel), and created (date channel was created). You can optionally pair this with the sort_dir arg to change how it is sorted Default: member_count -
setSortDir
Sort direction. Possible values are asc for ascending order like (1, 2, 3) or (a, b, c), and desc for descending order like (3, 2, 1) or (c, b, a) Default: desc -
setTeamIds
Comma separated string of team IDs, signifying the workspaces to search through. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-