Class GetOwnUserApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.user.request.GetOwnUserApiRequest
- All Implemented Interfaces:
ExecutableApiRequest<User>
Zulip API request builder for getting information about the user who invoked this endpoint.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGetOwnUserApiRequest(ZulipHttpClient client) Constructs aGetOwnUserApiRequest. -
Method Summary
Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Constructor Details
-
GetOwnUserApiRequest
Constructs aGetOwnUserApiRequest.- Parameters:
client- The Zulip HTTP client
-
-
Method Details
-
execute
Executes the Zulip API request for getting information about the user who invoked this endpoint.- Specified by:
executein interfaceExecutableApiRequest<User>- Returns:
Usercontining information about the user who invoked this endpoint- Throws:
ZulipClientException- if the request was not successful
-