
com.aliyuncs.dypnsapi.model.v20170525.CheckSmsVerifyCodeRequest Maven / Gradle / Ivy
/*
* 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 com.aliyuncs.dypnsapi.model.v20170525;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.dypnsapi.Endpoint;
/**
* @author auto create
* @version
*/
public class CheckSmsVerifyCodeRequest extends RpcAcsRequest {
private Long caseAuthPolicy;
private Long resourceOwnerId;
private String countryCode;
private String phoneNumber;
private String verifyCode;
private String resourceOwnerAccount;
private Long ownerId;
private String schemeName;
private String outId;
public CheckSmsVerifyCodeRequest() {
super("Dypnsapi", "2017-05-25", "CheckSmsVerifyCode", "dypnsapi");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getCaseAuthPolicy() {
return this.caseAuthPolicy;
}
public void setCaseAuthPolicy(Long caseAuthPolicy) {
this.caseAuthPolicy = caseAuthPolicy;
if(caseAuthPolicy != null){
putQueryParameter("CaseAuthPolicy", caseAuthPolicy.toString());
}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getCountryCode() {
return this.countryCode;
}
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
if(countryCode != null){
putQueryParameter("CountryCode", countryCode);
}
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getVerifyCode() {
return this.verifyCode;
}
public void setVerifyCode(String verifyCode) {
this.verifyCode = verifyCode;
if(verifyCode != null){
putQueryParameter("VerifyCode", verifyCode);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getSchemeName() {
return this.schemeName;
}
public void setSchemeName(String schemeName) {
this.schemeName = schemeName;
if(schemeName != null){
putQueryParameter("SchemeName", schemeName);
}
}
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 CheckSmsVerifyCodeResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy