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

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

ListOTAJobByFirmwareRequest

*/ public class ListOTAJobByFirmwareRequest extends Request { @Query @NameInMap("CurrentPage") @Validation(required = true) private Integer currentPage; @Query @NameInMap("FirmwareId") @Validation(required = true) private String firmwareId; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("PageSize") @Validation(required = true) private Integer pageSize; private ListOTAJobByFirmwareRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.firmwareId = builder.firmwareId; this.iotInstanceId = builder.iotInstanceId; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static ListOTAJobByFirmwareRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return firmwareId */ public String getFirmwareId() { return this.firmwareId; } /** * @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 Integer currentPage; private String firmwareId; private String iotInstanceId; private Integer pageSize; private Builder() { super(); } private Builder(ListOTAJobByFirmwareRequest request) { super(request); this.currentPage = request.currentPage; this.firmwareId = request.firmwareId; this.iotInstanceId = request.iotInstanceId; this.pageSize = request.pageSize; } /** * CurrentPage. */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * FirmwareId. */ public Builder firmwareId(String firmwareId) { this.putQueryParameter("FirmwareId", firmwareId); this.firmwareId = firmwareId; 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 ListOTAJobByFirmwareRequest build() { return new ListOTAJobByFirmwareRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy