public class SendCardSmsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SendCardSmsRequest.SendCardSmsRequestCardObjects |
| 限定符和类型 | 字段和说明 |
|---|---|
List<SendCardSmsRequest.SendCardSmsRequestCardObjects> |
cardObjects
The objects of the message template.
|
String |
cardTemplateCode
The code of the message template.
|
String |
digitalTemplateCode
The code of the digital message template that applies when the card message is rolled back.
|
String |
digitalTemplateParam
The variables of the digital message template.
|
String |
fallbackType
The rollback type.
|
String |
outId
The ID that is reserved for the caller of the operation.
|
String |
signName
The signature.
|
String |
smsTemplateCode
The code of the text message template that applies when the card message is rolled back.
|
String |
smsTemplateParam
The variables of the text message template.
|
String |
smsUpExtendCode
The extension code of the upstream message.
|
String |
templateCode
The code of the text message template.
|
String |
templateParam
The variables of the message template.
|
| 构造器和说明 |
|---|
SendCardSmsRequest() |
@NameInMap(value="CardObjects") public List<SendCardSmsRequest.SendCardSmsRequestCardObjects> cardObjects
The objects of the message template.
This parameter is required.
@NameInMap(value="CardTemplateCode") public String cardTemplateCode
The code of the message template. You can view the template code in the Template Code column on the Templates tab of the Go China page in the Alibaba Cloud SMS console.
Make sure that the message template has been approved.
This parameter is required.
example:CARD_SMS_70
@NameInMap(value="DigitalTemplateCode") public String digitalTemplateCode
The code of the digital message template that applies when the card message is rolled back. You can view the template code in the Template Code column on the Templates tab of the Go China page in the Alibaba Cloud SMS console.
example:Make sure that the message template has been approved.
SMS_003
@NameInMap(value="DigitalTemplateParam") public String digitalTemplateParam
The variables of the digital message template.
example:If you need to add line breaks to the JSON template, make sure that the format is valid.
{\"msg\",\"xxxd\"}
@NameInMap(value="FallbackType") public String fallbackType
The rollback type. Valid values:
This parameter is required.
example:SMS
@NameInMap(value="OutId") public String outId
The ID that is reserved for the caller of the operation.
example:38d76c9b-4a9a-4c89-afae-61fd8e0e****
@NameInMap(value="SignName") public String signName
The signature. You can view the template code in the Signature column on the Signaturess tab of the Go China page in the Alibaba Cloud SMS console.
The signature must be approved.
This parameter is required.
example:aliyun
@NameInMap(value="SmsTemplateCode") public String smsTemplateCode
The code of the text message template that applies when the card message is rolled back. You can view the template code in the Template Code column on the Templates tab of the Go China page in the Alibaba Cloud SMS console.
example:Make sure that the message template has been approved. If you set the FallbackType parameter to SMS, this parameter is required.
SIER_TEST_01
@NameInMap(value="SmsTemplateParam") public String smsTemplateParam
The variables of the text message template.
example:If you need to add line breaks to the JSON template, make sure that the format is valid.
{\"uri\":\"Zg11tZ\"}
@NameInMap(value="SmsUpExtendCode") public String smsUpExtendCode
The extension code of the upstream message. Upstream messages are messages sent to the communication service provider. Upstream messages are used to customize a service, complete an inquiry, or send a request. You are charged for sending upstream messages based on the billing standards of the service provider.
example:If you do not need upstream messages, ignore this parameter.
1
@NameInMap(value="TemplateCode") public String templateCode
The code of the text 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.
example:The message templates must be created on the Go Globe page and approved.
SMS_2322****
@NameInMap(value="TemplateParam") public String templateParam
The variables of the message template. Format: JSON.
example:If you need to add line breaks to the JSON template, make sure that the format is valid.
{ \"code\": \"1111\" }
public static SendCardSmsRequest build(Map<String,?> map) throws Exception
Exceptionpublic SendCardSmsRequest setCardObjects(List<SendCardSmsRequest.SendCardSmsRequestCardObjects> cardObjects)
public List<SendCardSmsRequest.SendCardSmsRequestCardObjects> getCardObjects()
public SendCardSmsRequest setCardTemplateCode(String cardTemplateCode)
public String getCardTemplateCode()
public SendCardSmsRequest setDigitalTemplateCode(String digitalTemplateCode)
public String getDigitalTemplateCode()
public SendCardSmsRequest setDigitalTemplateParam(String digitalTemplateParam)
public String getDigitalTemplateParam()
public SendCardSmsRequest setFallbackType(String fallbackType)
public String getFallbackType()
public SendCardSmsRequest setOutId(String outId)
public String getOutId()
public SendCardSmsRequest setSignName(String signName)
public String getSignName()
public SendCardSmsRequest setSmsTemplateCode(String smsTemplateCode)
public String getSmsTemplateCode()
public SendCardSmsRequest setSmsTemplateParam(String smsTemplateParam)
public String getSmsTemplateParam()
public SendCardSmsRequest setSmsUpExtendCode(String smsUpExtendCode)
public String getSmsUpExtendCode()
public SendCardSmsRequest setTemplateCode(String templateCode)
public String getTemplateCode()
public SendCardSmsRequest setTemplateParam(String templateParam)
public String getTemplateParam()
Copyright © 2024. All rights reserved.