public class VmsClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
VmsClient(BceClientConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends AbstractBceResponse> |
invokeJsonCall(HttpMethodName method,
String path,
Object request,
Class<T> responseClass)
a helper method use to invoke json rest api method
|
LaunchCallResponse |
launchCall(LaunchCallRequest request)
Lauch a call to deliver voice message, text or voice file can be used in
request
|
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic VmsClient(BceClientConfiguration config)
public LaunchCallResponse launchCall(LaunchCallRequest request)
request - contain's all parameters used to launch a voice notificationprotected <T extends AbstractBceResponse> T invokeJsonCall(HttpMethodName method, String path, Object request, Class<T> responseClass)
T - method - http methodpath - the resource pathrequest - request object that can be serialized to jsonresponseClass - response object's class objectCopyright © 2024. All rights reserved.