Class GetStreamEmailAddressApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.stream.request.GetStreamEmailAddressApiRequest
- All Implemented Interfaces:
ExecutableApiRequest<String>
public class GetStreamEmailAddressApiRequest
extends ZulipApiRequest
implements ExecutableApiRequest<String>
Zulip API request builder for getting the email address of a stream.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGetStreamEmailAddressApiRequest
(ZulipHttpClient client, long streamId) Constructs aGetStreamEmailAddressApiRequest
. -
Method Summary
Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParams, putParam, putParamAsJsonString
-
Constructor Details
-
GetStreamEmailAddressApiRequest
Constructs aGetStreamEmailAddressApiRequest
.- Parameters:
client
- The Zulip HTTP clientstreamId
- The id of the stream to get the email address for
-
-
Method Details
-
execute
Description copied from interface:ExecutableApiRequest
Invokes the HTTP client to send the request to the Zulip REST API and returns a response as type T.- Specified by:
execute
in interfaceExecutableApiRequest<String>
- Returns:
- The response for type T
- Throws:
ZulipClientException
- if an error occurs for the API request
-