Class UsergroupsCreateRequest

    • Method Detail

      • getToken

        public String getToken()
        Authentication token. Requires scope: `usergroups:write`
        Specified by:
        getToken in interface SlackApiRequest
      • getName

        public String getName()
        A name for the User Group. Must be unique among User Groups.
      • getHandle

        public String getHandle()
        A mention handle. Must be unique among channels, users and User Groups.
      • getDescription

        public String getDescription()
        A short description of the User Group.
      • getChannels

        public List<String> getChannels()
        A comma separated string of encoded channel IDs for which the User Group uses as a default.
      • isIncludeCount

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

        public void setToken​(String token)
        Authentication token. Requires scope: `usergroups:write`
      • setName

        public void setName​(String name)
        A name for the User Group. Must be unique among User Groups.
      • setHandle

        public void setHandle​(String handle)
        A mention handle. Must be unique among channels, users and User Groups.
      • setDescription

        public void setDescription​(String description)
        A short description of the User Group.
      • setChannels

        public void setChannels​(List<String> channels)
        A comma separated string of encoded channel IDs for which the User Group uses as a default.
      • setIncludeCount

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

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object