Class TeamInfoRequest
java.lang.Object
com.slack.api.methods.request.team.TeamInfoRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/team.info
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanQuery 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.inthashCode()voidQuery by domain instead of team (only when team is null).voidTeam to get info on, if omitted, will return information about the current team.voidAuthentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `team:read`- Specified by:
getTokenin 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:
setTokenin 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
-