Class SendMobilePushTestNotification
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.SendMobilePushTestNotification
- All Implemented Interfaces:
VoidExecutableApiRequest
public class SendMobilePushTestNotification
extends ZulipApiRequest
implements VoidExecutableApiRequest
Zulip API request builder for sending mobile push test notifications.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes the Zulip API request for sending mobile push test notifications.The push token for the device to which to send the test notification.Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Field Details
-
TOKEN
- See Also:
-
-
Constructor Details
-
SendMobilePushTestNotification
Constructs aSendMobilePushTestNotification
.- Parameters:
client
- The Zulip HTTP client
-
-
Method Details
-
withToken
The push token for the device to which to send the test notification.- Parameters:
token
- The mobile device token- Returns:
- This
SendMobilePushTestNotification
instance - See Also:
-
execute
Executes the Zulip API request for sending mobile push test notifications.- Specified by:
execute
in interfaceVoidExecutableApiRequest
- Throws:
ZulipClientException
- if the request was not successful
-