Class RemoveCodePlaygroundApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.RemoveCodePlaygroundApiRequest
- All Implemented Interfaces:
VoidExecutableApiRequest
public class RemoveCodePlaygroundApiRequest
extends ZulipApiRequest
implements VoidExecutableApiRequest
Zulip API request builder for removing a code playground.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveCodePlaygroundApiRequest(ZulipHttpClient client, long codePlaygroundId) Constructs aRemoveCodePlaygroundApiRequest. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the Zulip API request for removing a code playground.Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Constructor Details
-
RemoveCodePlaygroundApiRequest
Constructs aRemoveCodePlaygroundApiRequest.- Parameters:
client- The Zulip HTTP clientcodePlaygroundId- The id of the code playground to remove
-
-
Method Details
-
execute
Executes the Zulip API request for removing a code playground.- Specified by:
executein interfaceVoidExecutableApiRequest- Throws:
ZulipClientException- if the request was not successful
-