Class SendE2EMobilePushTestNotification
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.SendE2EMobilePushTestNotification
- All Implemented Interfaces:
VoidExecutableApiRequest
public class SendE2EMobilePushTestNotification
extends ZulipApiRequest
implements VoidExecutableApiRequest
Zulip API request builder for sending E2E mobile push test notifications.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the Zulip API request for sending E2E mobile push test notifications.withDeviceId(long deviceId) Sets the device to send the test notification to.Methods inherited from class ZulipApiRequest
client, getParam, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Field Details
-
DEVICE_ID
- See Also:
-
-
Constructor Details
-
SendE2EMobilePushTestNotification
Constructs aSendE2EMobilePushTestNotification.- Parameters:
client- The Zulip HTTP client
-
-
Method Details
-
withDeviceId
Sets the device to send the test notification to. If not set, test notifications are sent to all of the user's registered devices.- Parameters:
deviceId- The id of the device- Returns:
- This
SendE2EMobilePushTestNotificationinstance - See Also:
-
execute
Executes the Zulip API request for sending E2E mobile push test notifications.- Specified by:
executein interfaceVoidExecutableApiRequest- Throws:
ZulipClientException- if the request was not successful
-