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 class
TeamInfoRequest.TeamInfoRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TeamInfoRequest.TeamInfoRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getDomain()
Query by domain instead of team (only when team is null).String
getTeam()
Team to get info on, if omitted, will return information about the current team.String
getToken()
Authentication token.int
hashCode()
void
setDomain(String domain)
Query by domain instead of team (only when team is null).void
setTeam(String team)
Team to get info on, if omitted, will return information about the current team.void
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static TeamInfoRequest.TeamInfoRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `team:read`- Specified by:
getToken
in 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:
setToken
in 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)
-
-