类 VmsClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.vms.VmsClient
-
public class VmsClient extends AbstractBceClient
The client helping user access Voice Message Service
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 VmsClient(BceClientConfiguration config)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected <T extends AbstractBceResponse>
TinvokeJsonCall(HttpMethodName method, String path, Object request, Class<T> responseClass)a helper method use to invoke json rest api methodLaunchCallResponselaunchCall(LaunchCallRequest request)Lauch a call to deliver voice message, text or voice file can be used in request-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
VmsClient
public VmsClient(BceClientConfiguration config)
-
-
方法详细资料
-
launchCall
public LaunchCallResponse launchCall(LaunchCallRequest request)
Lauch a call to deliver voice message, text or voice file can be used in request- 参数:
request- contain's all parameters used to launch a voice notification- 返回:
- response contain's the call's record id
-
invokeJsonCall
protected <T extends AbstractBceResponse> T invokeJsonCall(HttpMethodName method, String path, Object request, Class<T> responseClass)
a helper method use to invoke json rest api method- 类型参数:
T-- 参数:
method- http methodpath- the resource pathrequest- request object that can be serialized to jsonresponseClass- response object's class object- 返回:
- response object deserialized by json
-
-