Class AdminRolesRemoveAssignmentsRequest

  • All Implemented Interfaces:
    SlackApiRequest

    public class AdminRolesRemoveAssignmentsRequest
    extends Object
    implements SlackApiRequest
    https://api.slack.com/methods/admin.roles.removeAssignments
    • Method Detail

      • getToken

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

        public String getRoleId()
        ID of the role to which users will be assigned
      • getEntityIds

        public List<String> getEntityIds()
        List of the entity IDs for which roles will be revoked. These can be Org IDs, Team IDs or Channel IDs
      • getUserIds

        public List<String> getUserIds()
        List of IDs of the users whose roles will be revoked
      • setToken

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

        public void setRoleId​(String roleId)
        ID of the role to which users will be assigned
      • setEntityIds

        public void setEntityIds​(List<String> entityIds)
        List of the entity IDs for which roles will be revoked. These can be Org IDs, Team IDs or Channel IDs
      • setUserIds

        public void setUserIds​(List<String> userIds)
        List of IDs of the users whose roles will be revoked
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object