Class UsersInfoRequest

java.lang.Object
com.slack.api.methods.request.users.UsersInfoRequest
All Implemented Interfaces:
SlackApiRequest

public class UsersInfoRequest
extends java.lang.Object
implements SlackApiRequest
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  UsersInfoRequest.UsersInfoRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static UsersInfoRequest.UsersInfoRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getToken()
    Authentication token.
    java.lang.String getUser()
    User to get info on
    int hashCode()  
    boolean isIncludeLocale()
    Set this to `true` to receive the locale for this user.
    void setIncludeLocale​(boolean includeLocale)
    Set this to `true` to receive the locale for this user.
    void setToken​(java.lang.String token)
    Authentication token.
    void setUser​(java.lang.String user)
    User to get info on
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token. Requires scope: `users:read`
      Specified by:
      getToken in interface SlackApiRequest
    • getUser

      public java.lang.String getUser()
      User to get info on
    • isIncludeLocale

      public boolean isIncludeLocale()
      Set this to `true` to receive the locale for this user. Defaults to `false`
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token. Requires scope: `users:read`
    • setUser

      public void setUser​(java.lang.String user)
      User to get info on
    • setIncludeLocale

      public void setIncludeLocale​(boolean includeLocale)
      Set this to `true` to receive the locale for this user. Defaults to `false`
    • 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