All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.com.antcloud.api.riskplus.v1_0.request.SendSmsRequest Maven / Gradle / Ivy

Go to download

Ant Chain API SDK For Java Copyright (c) 2020-present antgroup.com, https://www.antgroup.com

There is a newer version: 2.3.1
Show newest version
//
//  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.SendSmsResponse;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * 天枢发送短信接口,适用于一个模板相同参数 */
public class SendSmsRequest extends AntCloudProdRequest {
  @NotNull
  private String phoneNumbers;

  @NotNull
  private String signName;

  @NotNull
  private String templateCode;

  private String templateParam;

  private String smsUpExtendCode;

  @NotNull
  private String outId;

  public SendSmsRequest(String productInstanceId) {
    super("riskplus.dubbridge.sms.send", "1.0", "Java-SDK-20240605", productInstanceId);
  }

  public SendSmsRequest() {
    super("riskplus.dubbridge.sms.send", "1.0", null);
    this.setSdkVersion("Java-SDK-20240605");
  }

  /**
   * 接收短信的手机号码。支持对多个手机号码发送短信,手机号码之间以英文逗号(,)分隔。上限为1000个手机号码。批量调用相对于单条调用及时性稍有延迟。 */
  public String getPhoneNumbers() {
    return this.phoneNumbers;
  }

  /**
   * 接收短信的手机号码。支持对多个手机号码发送短信,手机号码之间以英文逗号(,)分隔。上限为1000个手机号码。批量调用相对于单条调用及时性稍有延迟。 */
  public void setPhoneNumbers(String phoneNumbers) {
    this.phoneNumbers = phoneNumbers;
  }

  /**
   * 短信签名 */
  public String getSignName() {
    return this.signName;
  }

  /**
   * 短信签名 */
  public void setSignName(String signName) {
    this.signName = signName;
  }

  /**
   * 短信模板CODE */
  public String getTemplateCode() {
    return this.templateCode;
  }

  /**
   * 短信模板CODE */
  public void setTemplateCode(String templateCode) {
    this.templateCode = templateCode;
  }

  /**
   * 短信模板变量对应的值,JSON格式 */
  public String getTemplateParam() {
    return this.templateParam;
  }

  /**
   * 短信模板变量对应的值,JSON格式 */
  public void setTemplateParam(String templateParam) {
    this.templateParam = templateParam;
  }

  /**
   * 上行短信扩展码 */
  public String getSmsUpExtendCode() {
    return this.smsUpExtendCode;
  }

  /**
   * 上行短信扩展码 */
  public void setSmsUpExtendCode(String smsUpExtendCode) {
    this.smsUpExtendCode = smsUpExtendCode;
  }

  /**
   * 外部流水扩展 */
  public String getOutId() {
    return this.outId;
  }

  /**
   * 外部流水扩展 */
  public void setOutId(String outId) {
    this.outId = outId;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy