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 Summary
Constructors -
Method Summary
Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParams, putParam, putParamAsJsonString
-
Constructor Details
-
GetUserGroupsApiRequest
Constructs aGetUserGroupsApiRequest
.- Parameters:
client
- The Zulip HTTP client
-
-
Method Details
-
execute
Executes the Zulip API request for getting all user groups.- Specified by:
execute
in interfaceExecutableApiRequest<List<UserGroup>>
- Returns:
- List of
UserGroup
objects - Throws:
ZulipClientException
- if the request was not successful
-