Class GetUserAttachmentsApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.user.request.GetUserAttachmentsApiRequest
- All Implemented Interfaces:
ExecutableApiRequest<List<UserAttachment>>
public class GetUserAttachmentsApiRequest
extends ZulipApiRequest
implements ExecutableApiRequest<List<UserAttachment>>
Zulip API request builder for getting information about files uploaded by the user.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()
Executes the Zulip API request for getting information about files uploaded by the user.Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Constructor Details
-
GetUserAttachmentsApiRequest
Constructs aGetUserAttachmentsApiRequest
.- Parameters:
client
- The Zulip HTTP client
-
-
Method Details
-
execute
Executes the Zulip API request for getting information about files uploaded by the user.- Specified by:
execute
in interfaceExecutableApiRequest<List<UserAttachment>>
- Returns:
- List if
UserAttachment
objects - Throws:
ZulipClientException
- if the request was not successful
-