public class UpdateSmsTemplateRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
applySceneContent
Application scenarios, instructions as follows:
For registered websites, please enter the MIIT-registered domain with HTTP or HTTPS.
|
Integer |
intlType
International/Hong Kong, Macao, and Taiwan template type.
|
List<String> |
moreData
Additional information, such as uploading business proof documents or screenshots, to help reviewers understand your business details.
|
Long |
ownerId |
String |
relatedSignName
SMS signature associated with the template during the application.
|
String |
remark
Explanation for the SMS template application, which serves as a reference for template review.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
templateCode
Template Code of an unapproved template.
|
String |
templateContent
Template content, up to 500 characters in length.
|
String |
templateName
Template name, up to 30 characters in length.
|
String |
templateRule
Template variable rules.
|
Integer |
templateType
SMS type.
|
| 构造器和说明 |
|---|
UpdateSmsTemplateRequest() |
@NameInMap(value="ApplySceneContent") public String applySceneContent
Application scenarios, instructions as follows:
@NameInMap(value="IntlType") public Integer intlType
International/Hong Kong, Macao, and Taiwan template type. When the TemplateType parameter is 3, this parameter is required for international/Hong Kong, Macao, and Taiwan templates, with values:
0
@NameInMap(value="MoreData") public List<String> moreData
Additional information, such as uploading business proof documents or screenshots, to help reviewers understand your business details. Optional and can be left unset.
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RelatedSignName") public String relatedSignName
SMS signature associated with the template during the application.
example:阿里云
@NameInMap(value="Remark") public String remark
Explanation for the SMS template application, which serves as a reference for template review.
example:登录场景使用验证码
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="TemplateCode") public String templateCode
Template Code of an unapproved template.
This parameter is required.
example:SMS_152550****
@NameInMap(value="TemplateContent") public String templateContent
Template content, up to 500 characters in length.
Both the template content and variable content must comply with SMS regulations; otherwise, the template will fail the review. You can also view common template examples on the template application page. Using sample templates can enhance review efficiency and success rates. Variable specifications can be found in TemplateContent Parameter Variable Specifications.
This parameter is required.
example:您正在申请手机注册,验证码为:${code},5分钟内有效!
@NameInMap(value="TemplateName") public String templateName
Template name, up to 30 characters in length.
This parameter is required.
example:验证码
@NameInMap(value="TemplateRule") public String templateRule
Template variable rules.
For guidance on filling variable rules, refer to the Sample Documentation.
example:{"code":"characterWithNumber"}
@NameInMap(value="TemplateType") public Integer templateType
SMS type. Values:
Only enterprise-certified users can apply for promotional SMS and international/Hong Kong, Macao, and Taiwan messages. Details on differences between personal and enterprise user rights are available in Usage Guidelines.
This parameter is required.
example:0
public static UpdateSmsTemplateRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateSmsTemplateRequest setApplySceneContent(String applySceneContent)
public String getApplySceneContent()
public UpdateSmsTemplateRequest setIntlType(Integer intlType)
public Integer getIntlType()
public UpdateSmsTemplateRequest setMoreData(List<String> moreData)
public UpdateSmsTemplateRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpdateSmsTemplateRequest setRelatedSignName(String relatedSignName)
public String getRelatedSignName()
public UpdateSmsTemplateRequest setRemark(String remark)
public String getRemark()
public UpdateSmsTemplateRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public UpdateSmsTemplateRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public UpdateSmsTemplateRequest setTemplateCode(String templateCode)
public String getTemplateCode()
public UpdateSmsTemplateRequest setTemplateContent(String templateContent)
public String getTemplateContent()
public UpdateSmsTemplateRequest setTemplateName(String templateName)
public String getTemplateName()
public UpdateSmsTemplateRequest setTemplateRule(String templateRule)
public String getTemplateRule()
public UpdateSmsTemplateRequest setTemplateType(Integer templateType)
public Integer getTemplateType()
Copyright © 2024. All rights reserved.