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
  • Method Details

    • builder

      public static TeamInfoRequest.TeamInfoRequestBuilder builder()
    • getToken

      public String getToken()
      Authentication token. Requires scope: `team:read`
      Specified by:
      getToken in interface SlackApiRequest
      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 interface SlackApiRequest
    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object