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 class  TeamInfoRequest.TeamInfoRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static TeamInfoRequest.TeamInfoRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getTeam()
    Team to get info on, if omitted, will return information about the current team.
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    void setTeam​(java.lang.String team)
    Team to get info on, if omitted, will return information about the current team.
    void setToken​(java.lang.String token)
    Authentication token.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

      public static TeamInfoRequest.TeamInfoRequestBuilder builder()
    • getToken

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

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object