public class AddSmsTemplateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
AddSmsTemplateRequest() |
AddSmsTemplateRequest(AddSmsTemplateRequest 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 Template content.
|
String |
getTemplateName()
Get 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 Template content.
|
void |
setTemplateName(String TemplateName)
Set 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 AddSmsTemplateRequest()
public AddSmsTemplateRequest(AddSmsTemplateRequest source)
public String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName
- Template name.public String getTemplateContent()
public void setTemplateContent(String TemplateContent)
TemplateContent
- 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.