public class GetCardSmsLinkRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
cardCodeType
The code type of the URLs.
|
Integer |
cardLinkType
The type of the short URLs.
|
String |
cardTemplateCode
The code of the message template.
|
String |
cardTemplateParamJson
The variables of the message template.
|
String |
customShortCodeJson
The custom short code.
|
String |
domain
The original domain name.
|
String |
outId
The extension field.
|
String |
phoneNumberJson
The mobile phone numbers of recipients, custom identifiers, or system identifiers.
|
String |
signNameJson
The signature.
|
| 构造器和说明 |
|---|
GetCardSmsLinkRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetCardSmsLinkRequest |
build(Map<String,?> map) |
Integer |
getCardCodeType() |
Integer |
getCardLinkType() |
String |
getCardTemplateCode() |
String |
getCardTemplateParamJson() |
String |
getCustomShortCodeJson() |
String |
getDomain() |
String |
getOutId() |
String |
getPhoneNumberJson() |
String |
getSignNameJson() |
GetCardSmsLinkRequest |
setCardCodeType(Integer cardCodeType) |
GetCardSmsLinkRequest |
setCardLinkType(Integer cardLinkType) |
GetCardSmsLinkRequest |
setCardTemplateCode(String cardTemplateCode) |
GetCardSmsLinkRequest |
setCardTemplateParamJson(String cardTemplateParamJson) |
GetCardSmsLinkRequest |
setCustomShortCodeJson(String customShortCodeJson) |
GetCardSmsLinkRequest |
setDomain(String domain) |
GetCardSmsLinkRequest |
setOutId(String outId) |
GetCardSmsLinkRequest |
setPhoneNumberJson(String phoneNumberJson) |
GetCardSmsLinkRequest |
setSignNameJson(String signNameJson) |
@NameInMap(value="CardCodeType") public Integer cardCodeType
The code type of the URLs.
2
@NameInMap(value="CardLinkType") public Integer cardLinkType
The type of the short URLs.
example:If the CardLinkType is not specified, standard short codes are generated. If you need to generate custom short codes, contact Alibaba Cloud SMS technical support.
1
@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_****
@NameInMap(value="CardTemplateParamJson") public String cardTemplateParamJson
The variables of the message template.
example:[{},{}]
@NameInMap(value="CustomShortCodeJson") public String customShortCodeJson
The custom short code. It can contain 4 to 8 digits or letters.
example:If the CardLinkType parameter is set to 2, the CustomShortCodeJson parameter is required.
abCde
@NameInMap(value="Domain") public String domain
The original domain name. You must submit domain names for approval in advance.
If the CardLinkType parameter is set to 2, the Domain parameter is required.
The Domain parameter cannot exceed 100 characters in length. If the parameter is not specified, a default domain name is used.
xxx.com
@NameInMap(value="OutId") public String outId
The extension field.
example:BC20220608102511660860762****
@NameInMap(value="PhoneNumberJson") public String phoneNumberJson
The mobile phone numbers of recipients, custom identifiers, or system identifiers.
A maximum of 10,000 mobile phone numbers are supported.
You can enter custom identifier. Each identifier can be a maximum of 60 characters in length.
You can apply for a maximum of 10 OPPO templates at a time.
[\"1390000**** \",\"1370000**** \"]
@NameInMap(value="SignNameJson") public String signNameJson
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 signatures must be approved and correspond to the mobile numbers in sequence.
This parameter is required.
example:[\"aliyun\", \"aliyun2\"]
public static GetCardSmsLinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetCardSmsLinkRequest setCardCodeType(Integer cardCodeType)
public Integer getCardCodeType()
public GetCardSmsLinkRequest setCardLinkType(Integer cardLinkType)
public Integer getCardLinkType()
public GetCardSmsLinkRequest setCardTemplateCode(String cardTemplateCode)
public String getCardTemplateCode()
public GetCardSmsLinkRequest setCardTemplateParamJson(String cardTemplateParamJson)
public String getCardTemplateParamJson()
public GetCardSmsLinkRequest setCustomShortCodeJson(String customShortCodeJson)
public String getCustomShortCodeJson()
public GetCardSmsLinkRequest setDomain(String domain)
public String getDomain()
public GetCardSmsLinkRequest setOutId(String outId)
public String getOutId()
public GetCardSmsLinkRequest setPhoneNumberJson(String phoneNumberJson)
public String getPhoneNumberJson()
public GetCardSmsLinkRequest setSignNameJson(String signNameJson)
public String getSignNameJson()
Copyright © 2024. All rights reserved.