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

com.aliyun.sdk.service.iot20180120.models.QueryDeviceByStatusRequest 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 QueryDeviceByStatusRequest} extends {@link RequestModel}
 *
 * 

QueryDeviceByStatusRequest

*/ public class QueryDeviceByStatusRequest extends Request { @Query @NameInMap("CurrentPage") private Integer currentPage; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("PageSize") private Integer pageSize; @Query @NameInMap("ProductKey") private String productKey; @Query @NameInMap("ResourceGroupId") private String resourceGroupId; @Query @NameInMap("Status") @Validation(required = true) private Integer status; private QueryDeviceByStatusRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.iotInstanceId = builder.iotInstanceId; this.pageSize = builder.pageSize; this.productKey = builder.productKey; this.resourceGroupId = builder.resourceGroupId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static QueryDeviceByStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder extends Request.Builder { private Integer currentPage; private String iotInstanceId; private Integer pageSize; private String productKey; private String resourceGroupId; private Integer status; private Builder() { super(); } private Builder(QueryDeviceByStatusRequest request) { super(request); this.currentPage = request.currentPage; this.iotInstanceId = request.iotInstanceId; this.pageSize = request.pageSize; this.productKey = request.productKey; this.resourceGroupId = request.resourceGroupId; this.status = request.status; } /** * 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; } /** * ProductKey. */ public Builder productKey(String productKey) { this.putQueryParameter("ProductKey", productKey); this.productKey = productKey; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * Status. */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public QueryDeviceByStatusRequest build() { return new QueryDeviceByStatusRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy