com.baidubce.services.vms.model
Class LaunchCallRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.vms.model.LaunchCallRequest

public class LaunchCallRequest
extends AbstractBceRequest

Contains parameters to lauch a voice call. user must specify the target number and the call's show number.

The type is only support 0 for now means only text template can supported. So user must use Console to initiate text template first then can make call.

Template parameters is some key-value pairs and the key must be pre-setted on Console.


Constructor Summary
LaunchCallRequest()
           
 
Method Summary
 LaunchCallRequest addTemplateParameter(String name, String value)
           
 LaunchCallRequest withRequestCredentials(BceCredentials credentials)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchCallRequest

public LaunchCallRequest()
Method Detail

withRequestCredentials

public LaunchCallRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest

addTemplateParameter

public LaunchCallRequest addTemplateParameter(String name,
                                              String value)


Copyright © 2020. All rights reserved.