public class ModifySmsTemplateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifySmsTemplateRequest() |
ModifySmsTemplateRequest(ModifySmsTemplateRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getInternational()
Get Whether it is Global SMS:
0: Mainland China SMS.
|
String |
getRemark()
Get Template remarks, such as reason for application and use case.
|
Long |
getSmsType()
Get SMS type.
|
String |
getTemplateContent()
Get New template content.
|
Long |
getTemplateId()
Get ID of the template to be modified.
|
String |
getTemplateName()
Get New template name.
|
void |
setInternational(Long International)
Set Whether it is Global SMS:
0: Mainland China SMS.
|
void |
setRemark(String Remark)
Set Template remarks, such as reason for application and use case.
|
void |
setSmsType(Long SmsType)
Set SMS type.
|
void |
setTemplateContent(String TemplateContent)
Set New template content.
|
void |
setTemplateId(Long TemplateId)
Set ID of the template to be modified.
|
void |
setTemplateName(String TemplateName)
Set New template name.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifySmsTemplateRequest()
public ModifySmsTemplateRequest(ModifySmsTemplateRequest source)
public Long getTemplateId()
public void setTemplateId(Long TemplateId)
TemplateId
- ID of the template to be modified.public String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName
- New template name.public String getTemplateContent()
public void setTemplateContent(String TemplateContent)
TemplateContent
- New template content.public Long getSmsType()
public void setSmsType(Long SmsType)
SmsType
- SMS type. 1: Marketing SMS, 2: Notification SMS, 3: OTP SMS.
Note: The "Regular SMS" type template currently still supports submission. However, in order to further improve the quality of SMS service and increase the approval rate of SMS templates, it is recommended to apply for a new template according to the "Notification SMS" type or the "OTP SMS" type. You can Refer to [Optimization of Tencent Cloud SMS Template Types](https://www.tencentcloud.com/document/product/382/60410).public Long getInternational()
public void setInternational(Long International)
International
- Whether it is Global SMS:
0: Mainland China SMS.
1: Global SMS.public String getRemark()
public void setRemark(String Remark)
Remark
- Template remarks, such as reason for application and use case.Copyright © 2024. All rights reserved.