
com.aliyun.sdk.service.dytnsapi20200217.models.CompanyThreeElementsVerificationRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dytnsapi20200217.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CompanyThreeElementsVerificationRequest} extends {@link RequestModel}
*
* CompanyThreeElementsVerificationRequest
*/
public class CompanyThreeElementsVerificationRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AuthCode")
@com.aliyun.core.annotation.Validation(required = true)
private String authCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EpCertName")
@com.aliyun.core.annotation.Validation(required = true)
private String epCertName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EpCertNo")
@com.aliyun.core.annotation.Validation(required = true)
private String epCertNo;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LegalPersonCertName")
@com.aliyun.core.annotation.Validation(required = true)
private String legalPersonCertName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private CompanyThreeElementsVerificationRequest(Builder builder) {
super(builder);
this.authCode = builder.authCode;
this.epCertName = builder.epCertName;
this.epCertNo = builder.epCertNo;
this.legalPersonCertName = builder.legalPersonCertName;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static CompanyThreeElementsVerificationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return authCode
*/
public String getAuthCode() {
return this.authCode;
}
/**
* @return epCertName
*/
public String getEpCertName() {
return this.epCertName;
}
/**
* @return epCertNo
*/
public String getEpCertNo() {
return this.epCertNo;
}
/**
* @return legalPersonCertName
*/
public String getLegalPersonCertName() {
return this.legalPersonCertName;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder {
private String authCode;
private String epCertName;
private String epCertNo;
private String legalPersonCertName;
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(CompanyThreeElementsVerificationRequest request) {
super(request);
this.authCode = request.authCode;
this.epCertName = request.epCertName;
this.epCertNo = request.epCertNo;
this.legalPersonCertName = request.legalPersonCertName;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* The authorization code.
*
*
* > On the [My Applications](https://dytns.console.aliyun.com/analysis/apply) page in the [Cell Phone Number Service console](https://dytns.console.aliyun.com/overview?spm=a2c4g.608385.0.0.79847f8b3awqUC), you can obtain the authorization code (also known as authorization ID).
*/
public Builder authCode(String authCode) {
this.putQueryParameter("AuthCode", authCode);
this.authCode = authCode;
return this;
}
/**
* The enterprise name.
*/
public Builder epCertName(String epCertName) {
this.putQueryParameter("EpCertName", epCertName);
this.epCertName = epCertName;
return this;
}
/**
* The business license number.
*/
public Builder epCertNo(String epCertNo) {
this.putQueryParameter("EpCertNo", epCertNo);
this.epCertNo = epCertNo;
return this;
}
/**
* The name of the legal representative.
*
*
* > If an enterprise has multiple legal representatives, separate them with commas (,).
*/
public Builder legalPersonCertName(String legalPersonCertName) {
this.putQueryParameter("LegalPersonCertName", legalPersonCertName);
this.legalPersonCertName = legalPersonCertName;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public CompanyThreeElementsVerificationRequest build() {
return new CompanyThreeElementsVerificationRequest(this);
}
}
}