All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.iot20180120.models.QueryPageByApplyIdRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link QueryPageByApplyIdRequest} extends {@link RequestModel}
 *
 * 

QueryPageByApplyIdRequest

*/ public class QueryPageByApplyIdRequest extends Request { @Query @NameInMap("ApplyId") @Validation(required = true) private Long applyId; @Query @NameInMap("CurrentPage") private Integer currentPage; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("PageSize") private Integer pageSize; private QueryPageByApplyIdRequest(Builder builder) { super(builder); this.applyId = builder.applyId; this.currentPage = builder.currentPage; this.iotInstanceId = builder.iotInstanceId; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static QueryPageByApplyIdRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return applyId */ public Long getApplyId() { return this.applyId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder { private Long applyId; private Integer currentPage; private String iotInstanceId; private Integer pageSize; private Builder() { super(); } private Builder(QueryPageByApplyIdRequest request) { super(request); this.applyId = request.applyId; this.currentPage = request.currentPage; this.iotInstanceId = request.iotInstanceId; this.pageSize = request.pageSize; } /** * ApplyId. */ public Builder applyId(Long applyId) { this.putQueryParameter("ApplyId", applyId); this.applyId = applyId; return this; } /** * CurrentPage. */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putQueryParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public QueryPageByApplyIdRequest build() { return new QueryPageByApplyIdRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy