public class ModifySmsTemplateRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
ownerId |
String |
remark
The description of the message template.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
templateCode
The code of the message template.
|
String |
templateContent
The content of the template.
|
String |
templateName
The name of the template.
|
Integer |
templateType
The type of the message.
|
| 构造器和说明 |
|---|
ModifySmsTemplateRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifySmsTemplateRequest |
build(Map<String,?> map) |
Long |
getOwnerId() |
String |
getRemark() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getTemplateCode() |
String |
getTemplateContent() |
String |
getTemplateName() |
Integer |
getTemplateType() |
ModifySmsTemplateRequest |
setOwnerId(Long ownerId) |
ModifySmsTemplateRequest |
setRemark(String remark) |
ModifySmsTemplateRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
ModifySmsTemplateRequest |
setResourceOwnerId(Long resourceOwnerId) |
ModifySmsTemplateRequest |
setTemplateCode(String templateCode) |
ModifySmsTemplateRequest |
setTemplateContent(String templateContent) |
ModifySmsTemplateRequest |
setTemplateName(String templateName) |
ModifySmsTemplateRequest |
setTemplateType(Integer templateType) |
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Remark") public String remark
The description of the message template. It is one of the reference information for template review. The description cannot exceed 100 characters in length.
This parameter is required.
example:Modify the parameters of the template.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="TemplateCode") public String templateCode
The code of the message template.
You can log on to the Short Message Service (SMS) console, click Go China or Go Globe in the left-side navigation pane, and then view the template code on the Templates tab. You can also call the AddSmsTemplate operation to obtain the template code.
This parameter is required.
example:SMS_15255****
@NameInMap(value="TemplateContent") public String templateContent
The content of the template. The content must be 1 to 500 characters in length.
When you modify a template, design the template content based on the review comments.
This parameter is required.
example:You are applying for mobile registration. The verification code is: ${code}, valid for 5 minutes!
@NameInMap(value="TemplateName") public String templateName
The name of the template. The name must be 1 to 30 characters in length.
This parameter is required.
example:aliyun verification code
@NameInMap(value="TemplateType") public Integer templateType
The type of the message. Valid values:
This parameter is required.
example:1
public static ModifySmsTemplateRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifySmsTemplateRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifySmsTemplateRequest setRemark(String remark)
public String getRemark()
public ModifySmsTemplateRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifySmsTemplateRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifySmsTemplateRequest setTemplateCode(String templateCode)
public String getTemplateCode()
public ModifySmsTemplateRequest setTemplateContent(String templateContent)
public String getTemplateContent()
public ModifySmsTemplateRequest setTemplateName(String templateName)
public String getTemplateName()
public ModifySmsTemplateRequest setTemplateType(Integer templateType)
public Integer getTemplateType()
Copyright © 2024. All rights reserved.