Class AddRealmDomainApiRequest
java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.AddRealmDomainApiRequest
- All Implemented Interfaces:
VoidExecutableApiRequest
Zulip API request builder for adding an allowed domain to the organization.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAddRealmDomainApiRequest(ZulipHttpClient client, String domain, boolean allowSubdomains) Constructs anAddRealmDomainApiRequest. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the Zulip API request for adding a realm allowed domain.Methods inherited from class com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
client, getParam, getParam, getParams, putParam, putParamAsJsonString, putParamAsWrappedObject
-
Field Details
-
DOMAIN
- See Also:
-
ALLOW_SUBDOMAINS
- See Also:
-
-
Constructor Details
-
AddRealmDomainApiRequest
Constructs anAddRealmDomainApiRequest.- Parameters:
client- The Zulip HTTP clientdomain- The domain to addallowSubdomains- Whether subdomains are allowed for this domain
-
-
Method Details
-
execute
Executes the Zulip API request for adding a realm allowed domain.- Specified by:
executein interfaceVoidExecutableApiRequest- Throws:
ZulipClientException- if the request was not successful
-