cn.com.antcloud.api.riskplus.v1_0.request.SendSmsBatchRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of antcloud-api-riskplus Show documentation
Show all versions of antcloud-api-riskplus Show documentation
Ant Chain API SDK For Java
Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
// Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
package cn.com.antcloud.api.riskplus.v1_0.request;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import cn.com.antcloud.api.riskplus.v1_0.response.SendSmsBatchResponse;
import java.lang.String;
import javax.validation.constraints.NotNull;
/**
* 天枢批量发送短信接口,适合一个短信模板多个不同参数场景 */
public class SendSmsBatchRequest extends AntCloudProdRequest {
@NotNull
private String templateCode;
@NotNull
private String phoneNumberJson;
@NotNull
private String signNameJson;
@NotNull
private String templateParamJson;
@NotNull
private String smsUpExtendCodeJson;
public SendSmsBatchRequest(String productInstanceId) {
super("riskplus.dubbridge.sms.batch.send", "1.0", "Java-SDK-20240605", productInstanceId);
}
public SendSmsBatchRequest() {
super("riskplus.dubbridge.sms.batch.send", "1.0", null);
this.setSdkVersion("Java-SDK-20240605");
}
/**
* 短信模板code */
public String getTemplateCode() {
return this.templateCode;
}
/**
* 短信模板code */
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
}
/**
* 接收短信的手机号码,JSON数组格式 */
public String getPhoneNumberJson() {
return this.phoneNumberJson;
}
/**
* 接收短信的手机号码,JSON数组格式 */
public void setPhoneNumberJson(String phoneNumberJson) {
this.phoneNumberJson = phoneNumberJson;
}
/**
* 短信签名名称,JSON数组格式 */
public String getSignNameJson() {
return this.signNameJson;
}
/**
* 短信签名名称,JSON数组格式 */
public void setSignNameJson(String signNameJson) {
this.signNameJson = signNameJson;
}
/**
* 短信模板变量对应的实际值,JSON数组格式 */
public String getTemplateParamJson() {
return this.templateParamJson;
}
/**
* 短信模板变量对应的实际值,JSON数组格式 */
public void setTemplateParamJson(String templateParamJson) {
this.templateParamJson = templateParamJson;
}
/**
* 上行短信扩展码,JSON数组格式。无特殊需要此字段的用户请忽略此字段 */
public String getSmsUpExtendCodeJson() {
return this.smsUpExtendCodeJson;
}
/**
* 上行短信扩展码,JSON数组格式。无特殊需要此字段的用户请忽略此字段 */
public void setSmsUpExtendCodeJson(String smsUpExtendCodeJson) {
this.smsUpExtendCodeJson = smsUpExtendCodeJson;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy