Class UpdateLinkifierApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.UpdateLinkifierApiRequest
- All Implemented Interfaces:
VoidExecutableApiRequest
Zulip API request builder for updating a linkifier.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdateLinkifierApiRequest(ZulipHttpClient client, long id, String pattern, String urlTemplate) Constrtucts aUpdateLinkifierApiRequest. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the Zulip API request for updating a linkifier.Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Field Details
-
PATTERN
- See Also:
-
URL_TEMPLATE
- See Also:
-
-
Constructor Details
-
UpdateLinkifierApiRequest
public UpdateLinkifierApiRequest(ZulipHttpClient client, long id, String pattern, String urlTemplate) Constrtucts aUpdateLinkifierApiRequest.- Parameters:
client- The Zulip HTTP clientid- The id of the linkifier to updatepattern- The regular expression that should trigger the linkifierurlTemplate- The RFC 6570 compliant URL template used for the link
-
-
Method Details
-
execute
Executes the Zulip API request for updating a linkifier.- Specified by:
executein interfaceVoidExecutableApiRequest- Throws:
ZulipClientException- if the request was not successful
-