Class UsersInfoRequest

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

public class UsersInfoRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/users.info
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `users:read`
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getUser

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

      public void setUser(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(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