public class BatchRobotSmartCallRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
calledNumber
The called number.
|
String |
calledShowNumber
The number displayed to called parties, which must be a number you purchased.
|
String |
corpName
The company name, which must be the same as the company name specified on the qualification management page.
|
String |
dialogId
The ID of the robot or communication script that is used to initiate a call.
|
Boolean |
earlyMediaAsr
The speech recognition identifier of early media.
|
Boolean |
isSelfLine
Specifies whether to call the self-managed line.
|
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Boolean |
scheduleCall
Specifies whether the call is scheduled.
|
Long |
scheduleTime
The preset call time.
|
String |
taskName
The task name.
|
String |
ttsParam
The variable value of the TTS template, in the JSON format.
|
String |
ttsParamHead
The call tasks with variables, in the JSON format.
|
| 构造器和说明 |
|---|
BatchRobotSmartCallRequest() |
@NameInMap(value="CalledNumber") public String calledNumber
The called number. Only mobile phone numbers in the Chinese mainland are supported.
You can set up to 1,000 called numbers and separate the numbers with commas (,).
This parameter is required.
example:1390000****
@NameInMap(value="CalledShowNumber") public String calledShowNumber
The number displayed to called parties, which must be a number you purchased. You can view the numbers you purchased in the Voice Messaging Service console.
You can set up to 100 numbers and separate the numbers with commas (,).
This parameter is required.
example:222
@NameInMap(value="CorpName") public String corpName
The company name, which must be the same as the company name specified on the qualification management page.
example:This parameter is optional if isSelfLine is set to true.
Alibaba
@NameInMap(value="DialogId") public String dialogId
The ID of the robot or communication script that is used to initiate a call.
You can obtain the communication script ID from the Communication script management page.
This parameter is required.
example:1234567
@NameInMap(value="EarlyMediaAsr") public Boolean earlyMediaAsr
The speech recognition identifier of early media. The default value is false, which means that the speech recognition identifier of early media is not enabled.
Set the parameter to true if you want to enable the speech recognition identifier of early media.
example:true
@NameInMap(value="IsSelfLine") public Boolean isSelfLine
Specifies whether to call the self-managed line. Default value: false.
example:true
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ScheduleCall") public Boolean scheduleCall
Specifies whether the call is scheduled. If you set this parameter to true, the ScheduleTime parameter is required.
example:true
@NameInMap(value="ScheduleTime") public Long scheduleTime
The preset call time. This value is a UNIX timestamp. Unit: milliseconds.
example:This parameter is required only when ScheduleCall is set to true.
12
@NameInMap(value="TaskName") public String taskName
The task name. The task name can be up to 30 characters in length.
This parameter is required.
example:Batch Tasks
@NameInMap(value="TtsParam") public String ttsParam
The variable value of the TTS template, in the JSON format.
The variable value must correspond to a number. The TtsParam parameter must be used together with the TtsParamHead parameter.
example:[{"number":"1390000****","params":[“Miss li”,"miss wang","Mr.li"]}]
@NameInMap(value="TtsParamHead") public String ttsParamHead
The call tasks with variables, in the JSON format.
The parameter value is a list of variable names. The TtsParamHead parameter must be used together with the TtsParam parameter.
example:["name1","name2","name3"]
public static BatchRobotSmartCallRequest build(Map<String,?> map) throws Exception
Exceptionpublic BatchRobotSmartCallRequest setCalledNumber(String calledNumber)
public String getCalledNumber()
public BatchRobotSmartCallRequest setCalledShowNumber(String calledShowNumber)
public String getCalledShowNumber()
public BatchRobotSmartCallRequest setCorpName(String corpName)
public String getCorpName()
public BatchRobotSmartCallRequest setDialogId(String dialogId)
public String getDialogId()
public BatchRobotSmartCallRequest setEarlyMediaAsr(Boolean earlyMediaAsr)
public Boolean getEarlyMediaAsr()
public BatchRobotSmartCallRequest setIsSelfLine(Boolean isSelfLine)
public Boolean getIsSelfLine()
public BatchRobotSmartCallRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public BatchRobotSmartCallRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public BatchRobotSmartCallRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public BatchRobotSmartCallRequest setScheduleCall(Boolean scheduleCall)
public Boolean getScheduleCall()
public BatchRobotSmartCallRequest setScheduleTime(Long scheduleTime)
public Long getScheduleTime()
public BatchRobotSmartCallRequest setTaskName(String taskName)
public String getTaskName()
public BatchRobotSmartCallRequest setTtsParam(String ttsParam)
public String getTtsParam()
public BatchRobotSmartCallRequest setTtsParamHead(String ttsParamHead)
public String getTtsParamHead()
Copyright © 2025. All rights reserved.