
com.aliyun.sdk.service.quickbi_public20220101.models.QueryApprovalInfoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-quickbi_public20220101 Show documentation
Show all versions of alibabacloud-quickbi_public20220101 Show documentation
Alibaba Cloud quickbi-public (20220101) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.quickbi_public20220101.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link QueryApprovalInfoRequest} extends {@link RequestModel}
*
* QueryApprovalInfoRequest
*/
public class QueryApprovalInfoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Page")
private Integer page;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
@com.aliyun.core.annotation.Validation(required = true)
private Integer status;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UserId")
@com.aliyun.core.annotation.Validation(required = true)
private String userId;
private QueryApprovalInfoRequest(Builder builder) {
super(builder);
this.page = builder.page;
this.pageSize = builder.pageSize;
this.status = builder.status;
this.userId = builder.userId;
}
public static Builder builder() {
return new Builder();
}
public static QueryApprovalInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return page
*/
public Integer getPage() {
return this.page;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return userId
*/
public String getUserId() {
return this.userId;
}
public static final class Builder extends Request.Builder {
private Integer page;
private Integer pageSize;
private Integer status;
private String userId;
private Builder() {
super();
}
private Builder(QueryApprovalInfoRequest request) {
super(request);
this.page = request.page;
this.pageSize = request.pageSize;
this.status = request.status;
this.userId = request.userId;
}
/**
* Page.
*/
public Builder page(Integer page) {
this.putQueryParameter("Page", page);
this.page = page;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* This parameter is required.
*
* example:
* 0
*/
public Builder status(Integer status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
/**
* This parameter is required.
*
* example:
* 12352fasdavsa
*/
public Builder userId(String userId) {
this.putQueryParameter("UserId", userId);
this.userId = userId;
return this;
}
@Override
public QueryApprovalInfoRequest build() {
return new QueryApprovalInfoRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy