Class GetUserGroupsApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.user.request.GetUserGroupsApiRequest
- All Implemented Interfaces:
- ExecutableApiRequest<List<UserGroup>>
public class GetUserGroupsApiRequest
extends ZulipApiRequest
implements ExecutableApiRequest<List<UserGroup>>
Zulip API request builder for getting all user groups.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequestclient, getParam, getParams, putParam, putParamAsJsonString
- 
Constructor Details- 
GetUserGroupsApiRequestConstructs aGetUserGroupsApiRequest.- Parameters:
- client- The Zulip HTTP client
 
 
- 
- 
Method Details- 
executeExecutes the Zulip API request for getting all user groups.- Specified by:
- executein interface- ExecutableApiRequest<List<UserGroup>>
- Returns:
- List of UserGroupobjects
- Throws:
- ZulipClientException- if the request was not successful
 
 
-