com.volcengine.model.request.SmsSendRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.request;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.Map;
@Data
public class SmsSendRequest {
@JSONField(name = "SmsAccount")
String smsAccount;
@JSONField(name = "Sign")
String sign;
@JSONField(name = "TemplateId")
String templateId;
@JSONField(name = "TemplateParam")
String templateParam;
@JSONField(name = "PhoneNumbers")
String phoneNumbers;
@JSONField(name = "Tag")
String tag;
@JSONField(name = "UserExtCode")
String userExtCode;
@JSONField(name="EncryptName")
String encryptName;
public void setTemplateParamByMap(Map paramMap){
if (paramMap==null|| paramMap.isEmpty()){
return;
}
this.templateParam = JSON.toJSONString(paramMap);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy