Class UsergroupsListRequest

    • Method Detail

      • getToken

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

        public boolean isIncludeDisabled()
        Include disabled User Groups.
      • isIncludeCount

        public boolean isIncludeCount()
        Include the number of users in each User Group
      • isIncludeUsers

        public boolean isIncludeUsers()
        Include the list of users for each User Group.
      • getTeamId

        public String getTeamId()
        encoded team id where the user group exists, required if org token is used
      • setToken

        public void setToken​(String token)
        Authentication token. Requires scope: `usergroups:read
        Specified by:
        setToken in interface SlackApiRequest
      • setIncludeDisabled

        public void setIncludeDisabled​(boolean includeDisabled)
        Include disabled User Groups.
      • setIncludeCount

        public void setIncludeCount​(boolean includeCount)
        Include the number of users in each User Group
      • setIncludeUsers

        public void setIncludeUsers​(boolean includeUsers)
        Include the list of users for each User Group.
      • setTeamId

        public void setTeamId​(String teamId)
        encoded team id where the user group exists, required if org token is used
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object