public class SendBatchSmsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
outId
The extension field of the external record.
|
Long |
ownerId |
String |
phoneNumberJson
The mobile number of the recipient.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
signNameJson
The signature.
|
String |
smsUpExtendCodeJson
The extension code of the MO message.
|
String |
templateCode
The code of the message template.
|
String |
templateParamJson
The value of the variable in the message template.
|
| 构造器和说明 |
|---|
SendBatchSmsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SendBatchSmsRequest |
build(Map<String,?> map) |
String |
getOutId() |
Long |
getOwnerId() |
String |
getPhoneNumberJson() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getSignNameJson() |
String |
getSmsUpExtendCodeJson() |
String |
getTemplateCode() |
String |
getTemplateParamJson() |
SendBatchSmsRequest |
setOutId(String outId) |
SendBatchSmsRequest |
setOwnerId(Long ownerId) |
SendBatchSmsRequest |
setPhoneNumberJson(String phoneNumberJson) |
SendBatchSmsRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
SendBatchSmsRequest |
setResourceOwnerId(Long resourceOwnerId) |
SendBatchSmsRequest |
setSignNameJson(String signNameJson) |
SendBatchSmsRequest |
setSmsUpExtendCodeJson(String smsUpExtendCodeJson) |
SendBatchSmsRequest |
setTemplateCode(String templateCode) |
SendBatchSmsRequest |
setTemplateParamJson(String templateParamJson) |
@NameInMap(value="OutId") public String outId
The extension field of the external record. The value is a string that contains no more than 256 characters.
example:The parameter is optional.
abcdefg
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PhoneNumberJson") public String phoneNumberJson
The mobile number of the recipient. Format:
We recommend that you call the SendSms operation to send verification codes.
This parameter is required.
example:["1590000****","1350000****"]
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SignNameJson") public String signNameJson
The signature.
Log on to the Alibaba Cloud SMS console. In the left-side navigation pane, click Go Globe or Go China. You can view the signature in the Signature column on the Signatures tab.
The signatures must be approved and correspond to the mobile numbers in sequence.
This parameter is required.
example:["Aliyun","Alibaba"]
@NameInMap(value="SmsUpExtendCodeJson") public String smsUpExtendCodeJson
The extension code of the MO message. Format: JSON array.
example:The parameter is optional.
["90999","90998"]
@NameInMap(value="TemplateCode") public String templateCode
The code of the message template.
Log on to the Alibaba Cloud SMS console. In the left-side navigation pane, click Go Globe or Go China. You can view the message template in the Template Code column on the Message Templates tab.
The message templates must be created on the Go Globe page and approved.
This parameter is required.
example:SMS_15255****
@NameInMap(value="TemplateParamJson") public String templateParamJson
The value of the variable in the message template.
example:If you need to add line breaks to the JSON template, make sure that the format is valid. In addition, the sequence of variable values must be the same as that of the mobile numbers and signatures.
[{"name":"TemplateParamJson"},{"name":"TemplateParamJson"}]
public static SendBatchSmsRequest build(Map<String,?> map) throws Exception
Exceptionpublic SendBatchSmsRequest setOutId(String outId)
public String getOutId()
public SendBatchSmsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public SendBatchSmsRequest setPhoneNumberJson(String phoneNumberJson)
public String getPhoneNumberJson()
public SendBatchSmsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public SendBatchSmsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public SendBatchSmsRequest setSignNameJson(String signNameJson)
public String getSignNameJson()
public SendBatchSmsRequest setSmsUpExtendCodeJson(String smsUpExtendCodeJson)
public String getSmsUpExtendCodeJson()
public SendBatchSmsRequest setTemplateCode(String templateCode)
public String getTemplateCode()
public SendBatchSmsRequest setTemplateParamJson(String templateParamJson)
public String getTemplateParamJson()
Copyright © 2024. All rights reserved.