com.aliyuncs.dysmsapi.model.v20170525.SendInterSmsRequest Maven / Gradle / Ivy
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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 com.aliyuncs.dysmsapi.model.v20170525;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class SendInterSmsRequest extends RpcAcsRequest {
public SendInterSmsRequest() {
super("Dysmsapi", "2017-05-25", "SendInterSms");
}
private String templateCode;
private String phoneNumbers;
private String countryCode;
private String signName;
private String resourceOwnerAccount;
private String templateParam;
private Long resourceOwnerId;
private Long ownerId;
private String outId;
public String getTemplateCode() {
return this.templateCode;
}
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
if(templateCode != null){
putQueryParameter("TemplateCode", templateCode);
}
}
public String getPhoneNumbers() {
return this.phoneNumbers;
}
public void setPhoneNumbers(String phoneNumbers) {
this.phoneNumbers = phoneNumbers;
if(phoneNumbers != null){
putQueryParameter("PhoneNumbers", phoneNumbers);
}
}
public String getCountryCode() {
return this.countryCode;
}
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
if(countryCode != null){
putQueryParameter("CountryCode", countryCode);
}
}
public String getSignName() {
return this.signName;
}
public void setSignName(String signName) {
this.signName = signName;
if(signName != null){
putQueryParameter("SignName", signName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getTemplateParam() {
return this.templateParam;
}
public void setTemplateParam(String templateParam) {
this.templateParam = templateParam;
if(templateParam != null){
putQueryParameter("TemplateParam", templateParam);
}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getOutId() {
return this.outId;
}
public void setOutId(String outId) {
this.outId = outId;
if(outId != null){
putQueryParameter("OutId", outId);
}
}
@Override
public Class getResponseClass() {
return SendInterSmsResponse.class;
}
}