Class AdminUsersListRequest

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

public class AdminUsersListRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/admin.users.list
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getTeamId

      public String getTeamId()
      The ID (T1234) of the workspace.
    • getIncludeDeactivatedUserWorkspaces

      public Boolean getIncludeDeactivatedUserWorkspaces()
      Only applies with org token and no team_id. If true, return workspaces for a user even if they may be deactivated on them. If false, return workspaces for a user only when user is active on them. Default is false.
    • getIsActive

      public Boolean getIsActive()
      If true, only active users will be returned. If false, only deactivated users will be returned. Default is true.
    • getCursor

      public String getCursor()
      Set cursor to next_cursor returned by the previous call to list items in the next page.
    • getLimit

      public Integer getLimit()
      Limit for how many users to be retrieved per page
    • setToken

      public void setToken(String token)
      Authentication token bearing required scopes.
      Specified by:
      setToken in interface SlackApiRequest
    • setTeamId

      public void setTeamId(String teamId)
      The ID (T1234) of the workspace.
    • setIncludeDeactivatedUserWorkspaces

      public void setIncludeDeactivatedUserWorkspaces(Boolean includeDeactivatedUserWorkspaces)
      Only applies with org token and no team_id. If true, return workspaces for a user even if they may be deactivated on them. If false, return workspaces for a user only when user is active on them. Default is false.
    • setIsActive

      public void setIsActive(Boolean isActive)
      If true, only active users will be returned. If false, only deactivated users will be returned. Default is true.
    • setCursor

      public void setCursor(String cursor)
      Set cursor to next_cursor returned by the previous call to list items in the next page.
    • setLimit

      public void setLimit(Integer limit)
      Limit for how many users to be retrieved per page
    • 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