Class DeleteTopicApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.stream.request.DeleteTopicApiRequest
- All Implemented Interfaces:
VoidExecutableApiRequest
Zulip API request builder for deleting a topic.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeleteTopicApiRequest
(ZulipHttpClient client, long streamId, String topicName) Constructs aDeleteTopicApiRequest
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes the Zulip API request for deleting a topic.Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Field Details
-
TOPIC_NAME
- See Also:
-
-
Constructor Details
-
DeleteTopicApiRequest
Constructs aDeleteTopicApiRequest
.- Parameters:
client
- The Zulip HTTP clientstreamId
- The id of the stream containing the topic to deletetopicName
- The name of the topic to delete
-
-
Method Details
-
execute
Executes the Zulip API request for deleting a topic.- Specified by:
execute
in interfaceVoidExecutableApiRequest
- Throws:
ZulipClientException
- if the request was not successful
-