类 VmsClient


  • public class VmsClient
    extends AbstractBceClient
    The client helping user access Voice Message Service
    • 方法详细资料

      • 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 method
        path - the resource path
        request - request object that can be serialized to json
        responseClass - response object's class object
        返回:
        response object deserialized by json