Class TeamExternalTeamsListRequest.TeamExternalTeamsListRequestBuilder
java.lang.Object
com.slack.api.methods.request.team.external_teams.TeamExternalTeamsListRequest.TeamExternalTeamsListRequestBuilder
- Enclosing class:
- TeamExternalTeamsListRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()connectionStatusFilter(String connectionStatusFilter) Status of the connected team.Encoded team ID to retrieve next page of connected teams, if absent will return first pageThe maximum number of items to return per page (default: 20)slackConnectPrefFilter(List<String> slackConnectPrefFilter) Filters connected orgs by Slack Connect pref override(s)sortDirection(String sortDirection) Direction to sort in asc or desc Value should be one of "asc" and "desc"Name of the parameter that we are sorting byAuthentication token bearing required scopes.toString()workspaceFilter(List<String> workspaceFilter) Shows connected orgs which are connected on a specified encoded workspace ID
-
Method Details
-
token
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Returns:
this.
-
connectionStatusFilter
public TeamExternalTeamsListRequest.TeamExternalTeamsListRequestBuilder connectionStatusFilter(String connectionStatusFilter) Status of the connected team. Value should be one of "CONNECTED", "DISCONNECTED", "BLOCKED", and "IN_REVIEW"- Returns:
this.
-
cursor
Encoded team ID to retrieve next page of connected teams, if absent will return first page- Returns:
this.
-
limit
The maximum number of items to return per page (default: 20)- Returns:
this.
-
slackConnectPrefFilter
public TeamExternalTeamsListRequest.TeamExternalTeamsListRequestBuilder slackConnectPrefFilter(List<String> slackConnectPrefFilter) Filters connected orgs by Slack Connect pref override(s)- Returns:
this.
-
sortDirection
public TeamExternalTeamsListRequest.TeamExternalTeamsListRequestBuilder sortDirection(String sortDirection) Direction to sort in asc or desc Value should be one of "asc" and "desc"- Returns:
this.
-
sortField
Name of the parameter that we are sorting byValue should be one of "team_name", "last_active_timestamp", and "connection_status"
- Returns:
this.
-
workspaceFilter
public TeamExternalTeamsListRequest.TeamExternalTeamsListRequestBuilder workspaceFilter(List<String> workspaceFilter) Shows connected orgs which are connected on a specified encoded workspace ID- Returns:
this.
-
build
-
toString
-