
com.aliyun.sdk.service.dytnsapi20200217.models.QueryAvailableAuthCodeRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dytnsapi20200217.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link QueryAvailableAuthCodeRequest} extends {@link RequestModel}
*
* QueryAvailableAuthCodeRequest
*/
public class QueryAvailableAuthCodeRequest extends Request {
@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;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagId")
private Long tagId;
private QueryAvailableAuthCodeRequest(Builder builder) {
super(builder);
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.tagId = builder.tagId;
}
public static Builder builder() {
return new Builder();
}
public static QueryAvailableAuthCodeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return tagId
*/
public Long getTagId() {
return this.tagId;
}
public static final class Builder extends Request.Builder {
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Long tagId;
private Builder() {
super();
}
private Builder(QueryAvailableAuthCodeRequest request) {
super(request);
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.tagId = request.tagId;
}
/**
* 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;
}
/**
* The tag ID.
*
* example:
* 22
*/
public Builder tagId(Long tagId) {
this.putQueryParameter("TagId", tagId);
this.tagId = tagId;
return this;
}
@Override
public QueryAvailableAuthCodeRequest build() {
return new QueryAvailableAuthCodeRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy