Class UserGroupSetting
java.lang.Object
com.github.jamesnetherton.zulip.client.api.user.UserGroupSetting
Represents a user group setting. Depending on the Zulip API response either the userGroupId will be populated or one / both
 of directMembers or directSubGroups.
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionlongstatic UserGroupSettingof(long userGroupId) Creates a UserGroupSetting with the given user group ID.static UserGroupSettingCreates a UserGroupSetting with the given user group direct members or direct subgroups. 
- 
Method Details
- 
of
Creates a UserGroupSetting with the given user group ID.- Parameters:
 userGroupId- The ID of the user group- Returns:
 - A @link UserGroupSetting} configured to use the given user group ID
 
 - 
of
Creates a UserGroupSetting with the given user group direct members or direct subgroups.- Parameters:
 directMembers- The list of direct member group ids. Can be an empty collection.directSubGroups- The list of direct member group ids. Can be an empty collection.- Returns:
 - A @link UserGroupSetting} configured to use the given user group direct members or direct subgroups
 
 - 
getUserGroupId
public long getUserGroupId() - 
getDirectMembers
 - 
getDirectSubGroups
 
 -