Class TeamInfoRequest
java.lang.Object
com.slack.api.methods.request.team.TeamInfoRequest
- All Implemented Interfaces:
SlackApiRequest
public class TeamInfoRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeamInfoRequest.TeamInfoRequestBuilder -
Method Summary
Modifier and Type Method Description static TeamInfoRequest.TeamInfoRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetTeam()Team to get info on, if omitted, will return information about the current team.java.lang.StringgetToken()Authentication token.inthashCode()voidsetTeam(java.lang.String team)Team to get info on, if omitted, will return information about the current team.voidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `team:read`- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeam
public java.lang.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 -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `team:read` -
setTeam
public void setTeam(java.lang.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 -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-