Class TeamInfoRequest
java.lang.Object
com.slack.api.methods.request.team.TeamInfoRequest
- All Implemented Interfaces:
SlackApiRequest
https://api.slack.com/methods/team.info
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Query by domain instead of team (only when team is null).getTeam()
Team to get info on, if omitted, will return information about the current team.getToken()
Authentication token.int
hashCode()
void
Query by domain instead of team (only when team is null).void
Team to get info on, if omitted, will return information about the current team.void
Authentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `team:read`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getTeam
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 -
getDomain
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. -
setToken
Authentication token. Requires scope: `team:read`- Specified by:
setToken
in interfaceSlackApiRequest
-
setTeam
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 -
setDomain
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-