Class AdminConversationsSearchRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.conversations.AdminConversationsSearchRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsSearchRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.search
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminConversationsSearchRequest.AdminConversationsSearchRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminConversationsSearchRequest.AdminConversationsSearchRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getCursor()
Set cursor to next_cursor returned by the previous call to list items in the next page.Integer
getLimit()
Maximum number of items to be returned.String
getQuery()
Name of the channel to query by.List<String>
getSearchChannelTypes()
The type of channel to include or exclude in the search.String
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).String
getSortDir()
Sort direction.List<String>
getTeamIds()
Comma separated string of team IDs, signifying the workspaces to search through.String
getToken()
Authentication token bearing required scopes.int
hashCode()
void
setCursor(String cursor)
Set cursor to next_cursor returned by the previous call to list items in the next page.void
setLimit(Integer limit)
Maximum number of items to be returned.void
setQuery(String query)
Name of the channel to query by.void
setSearchChannelTypes(List<String> searchChannelTypes)
The type of channel to include or exclude in the search.void
setSort(String sort)
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
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
-
-
Method Detail
-
builder
public static AdminConversationsSearchRequest.AdminConversationsSearchRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getCursor
public String getCursor()
Set cursor to next_cursor returned by the previous call to list items in the next page.
-
getLimit
public Integer getLimit()
Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. Default: 10
-
getQuery
public String getQuery()
Name of the channel to query by.
-
getSearchChannelTypes
public List<String> 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
public String 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
public String 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
public List<String> getTeamIds()
Comma separated string of team IDs, signifying the workspaces to search through.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.- Specified by:
setToken
in interfaceSlackApiRequest
-
setCursor
public void setCursor(String cursor)
Set cursor to next_cursor returned by the previous call to list items in the next page.
-
setLimit
public void setLimit(Integer limit)
Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. Default: 10
-
setQuery
public void setQuery(String query)
Name of the channel to query by.
-
setSearchChannelTypes
public void setSearchChannelTypes(List<String> searchChannelTypes)
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
public void setSort(String sort)
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
public void setSortDir(String sortDir)
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
public void setTeamIds(List<String> teamIds)
Comma separated string of team IDs, signifying the workspaces to search through.
-
canEqual
protected boolean canEqual(Object other)
-
-