com.aliyun.sdk.service.agency20221216.models.GetUnassociatedCustomerRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-agency20221216 Show documentation
Show all versions of alibabacloud-agency20221216 Show documentation
Alibaba Cloud Agency (20221216) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.agency20221216.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetUnassociatedCustomerRequest} extends {@link RequestModel}
*
* GetUnassociatedCustomerRequest
*/
public class GetUnassociatedCustomerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CurrentPage")
@com.aliyun.core.annotation.Validation(required = true)
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(required = true)
private Integer pageSize;
private GetUnassociatedCustomerRequest(Builder builder) {
super(builder);
this.currentPage = builder.currentPage;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static GetUnassociatedCustomerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder {
private Integer currentPage;
private Integer pageSize;
private Builder() {
super();
}
private Builder(GetUnassociatedCustomerRequest request) {
super(request);
this.currentPage = request.currentPage;
this.pageSize = request.pageSize;
}
/**
* Pagination, current page.
* This parameter is required.
*
* example:
* 1
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* Pagination, record number on each page.
* This parameter is required.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public GetUnassociatedCustomerRequest build() {
return new GetUnassociatedCustomerRequest(this);
}
}
}