Class TeamInfoRequest.TeamInfoRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.team.TeamInfoRequest.TeamInfoRequestBuilder
-
- Enclosing class:
- TeamInfoRequest
public static class TeamInfoRequest.TeamInfoRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TeamInfoRequest
build()
TeamInfoRequest.TeamInfoRequestBuilder
domain(String domain)
Query by domain instead of team (only when team is null).TeamInfoRequest.TeamInfoRequestBuilder
team(String team)
Team to get info on, if omitted, will return information about the current team.TeamInfoRequest.TeamInfoRequestBuilder
token(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
token
public TeamInfoRequest.TeamInfoRequestBuilder token(String token)
Authentication token. Requires scope: `team:read`- Returns:
this
.
-
team
public TeamInfoRequest.TeamInfoRequestBuilder team(String team)
Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels- Returns:
this
.
-
domain
public TeamInfoRequest.TeamInfoRequestBuilder domain(String domain)
Query by domain instead of team (only when team is null). This only works for domains in the same enterprise as the querying team token. This also expects the domain to belong to a team and not the enterprise itself.- Returns:
this
.
-
build
public TeamInfoRequest build()
-
-