Class AdminRolesListAssignmentsRequest

java.lang.Object
com.slack.api.methods.request.admin.roles.AdminRolesListAssignmentsRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminRolesListAssignmentsRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/admin.roles.listAssignments
  • Method Details

    • builder

    • getToken

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

      public List<String> getEntityIds()
      The entities for which the roles apply
    • getRoleIds

      public List<String> getRoleIds()
      collection of role ids to scope results by
    • 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
    • getSortDir

      public String getSortDir()
      Sort direction. Default is descending on date_create, can be either ASC or DESC
    • setToken

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

      public void setEntityIds(List<String> entityIds)
      The entities for which the roles apply
    • setRoleIds

      public void setRoleIds(List<String> roleIds)
      collection of role ids to scope results by
    • 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
    • setSortDir

      public void setSortDir(String sortDir)
      Sort direction. Default is descending on date_create, can be either ASC or DESC
    • 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