Class AdminUsergroupsAddTeamsRequest

  • All Implemented Interfaces:
    SlackApiRequest

    public class AdminUsergroupsAddTeamsRequest
    extends Object
    implements SlackApiRequest
    https://api.slack.com/methods/admin.usergroups.addTeams
    • Method Detail

      • getTeamIds

        public List<String> getTeamIds()
        A comma separated list of encoded team IDs. Teams MUST belong to the organization
      • getUsergroupId

        public String getUsergroupId()
        A encoded usergroup ID
      • getAutoProvision

        public Boolean getAutoProvision()
        A boolean to control whether to automatically create new team users for the usergroup members or not. Default: false
      • setToken

        public void setToken​(String token)
        Authentication token bearing required scopes.
      • setTeamIds

        public void setTeamIds​(List<String> teamIds)
        A comma separated list of encoded team IDs. Teams MUST belong to the organization
      • setUsergroupId

        public void setUsergroupId​(String usergroupId)
        A encoded usergroup ID
      • setAutoProvision

        public void setAutoProvision​(Boolean autoProvision)
        A boolean to control whether to automatically create new team users for the usergroup members or not. Default: false
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object