public class CreateRobotTaskRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
caller
The calling number.
|
String |
corpName
The company name, which must be the same as the enterprise name on the qualification management page.
|
Long |
dialogId
The ID of the robot or communication script that is used to initiate the call.
|
Boolean |
isSelfLine
Specifies whether to call the self-managed line.
|
Boolean |
numberStatusIdent
Specifies whether to enable number status identification.
|
Long |
ownerId |
Integer |
recallInterval
The redial interval.
|
String |
recallStateCodes
The call state in which redial is required.
|
Integer |
recallTimes
The number of redial times.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Integer |
retryType
Specifies whether to enable auto-redial.
|
String |
taskName
The task name.
|
| 构造器和说明 |
|---|
CreateRobotTaskRequest() |
@NameInMap(value="Caller") public String caller
The calling number.
You must use the phone numbers that you have purchased and separate multiple numbers with commas (,). You can log on to the Voice Messaging Service console and choose Real Number Service > Real Number Management to view the numbers you purchased.
This parameter is required.
example:0571****5678
@NameInMap(value="CorpName") public String corpName
The company name, which must be the same as the enterprise name on the qualification management page.
example:Alibaba
@NameInMap(value="DialogId") public Long dialogId
The ID of the robot or communication script that is used to initiate the call.
You can log on to the Voice Messaging Service console and choose Intelligent Voice Robot > Communication Script Management to view the communication script ID.
This parameter is required.
example:1000023****
@NameInMap(value="IsSelfLine") public Boolean isSelfLine
Specifies whether to call the self-managed line. Valid values:
example:If you set this parameter to true, calling numbers are not verified.
false
@NameInMap(value="NumberStatusIdent") public Boolean numberStatusIdent
Specifies whether to enable number status identification. Valid values:
If you set this parameter to true, the reason why a call is not answered is recorded.
This parameter is required.
example:true
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RecallInterval") public Integer recallInterval
The redial interval. Unit: minutes. The value must be greater than 1.
example:The maximum redial interval is 30 minutes.
5
@NameInMap(value="RecallStateCodes") public String recallStateCodes
The call state in which redial is required. Separate multiple call states with commas (,). Valid values:
200010,200011
@NameInMap(value="RecallTimes") public Integer recallTimes
The number of redial times.
example:1
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RetryType") public Integer retryType
Specifies whether to enable auto-redial. Valid values:
This parameter is required.
example:1
@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:Test Template
public static CreateRobotTaskRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateRobotTaskRequest setCaller(String caller)
public String getCaller()
public CreateRobotTaskRequest setCorpName(String corpName)
public String getCorpName()
public CreateRobotTaskRequest setDialogId(Long dialogId)
public Long getDialogId()
public CreateRobotTaskRequest setIsSelfLine(Boolean isSelfLine)
public Boolean getIsSelfLine()
public CreateRobotTaskRequest setNumberStatusIdent(Boolean numberStatusIdent)
public Boolean getNumberStatusIdent()
public CreateRobotTaskRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateRobotTaskRequest setRecallInterval(Integer recallInterval)
public Integer getRecallInterval()
public CreateRobotTaskRequest setRecallStateCodes(String recallStateCodes)
public String getRecallStateCodes()
public CreateRobotTaskRequest setRecallTimes(Integer recallTimes)
public Integer getRecallTimes()
public CreateRobotTaskRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateRobotTaskRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateRobotTaskRequest setRetryType(Integer retryType)
public Integer getRetryType()
public CreateRobotTaskRequest setTaskName(String taskName)
public String getTaskName()
Copyright © 2025. All rights reserved.