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: To further improve the quality of SMS service and increase the approval rate of SMS templates, Tencent Cloud SMS template types will be optimized to "OTP", "Notification", and "Marketing" from May 16, 2024. You can Refer to [Optimization of Tencent Cloud SMS Template Types](https://www.tencentcloud.com/document/product/382/60410). Customers who newly register for SMS service must strictly refer to the new SMS type to apply for SMS template.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.