Class TeamInfoRequest
- java.lang.Object
-
- com.slack.api.methods.request.team.TeamInfoRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class TeamInfoRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/team.info
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeamInfoRequest.TeamInfoRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TeamInfoRequest.TeamInfoRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetDomain()Query by domain instead of team (only when team is null).StringgetTeam()Team to get info on, if omitted, will return information about the current team.StringgetToken()Authentication token.inthashCode()voidsetDomain(String domain)Query by domain instead of team (only when team is null).voidsetTeam(String team)Team to get info on, if omitted, will return information about the current team.voidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static TeamInfoRequest.TeamInfoRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `team:read`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getTeam
public String 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
public String 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
public void setToken(String token)
Authentication token. Requires scope: `team:read`- Specified by:
setTokenin interfaceSlackApiRequest
-
setTeam
public void setTeam(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
-
setDomain
public void setDomain(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.
-
canEqual
protected boolean canEqual(Object other)
-
-