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

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

ListOTAModuleVersionsByDeviceResponseBody

*/ public class ListOTAModuleVersionsByDeviceResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("CurrentPage") private Integer currentPage; @NameInMap("Data") private Data data; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("PageCount") private Integer pageCount; @NameInMap("PageSize") private Integer pageSize; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; @NameInMap("Total") private Integer total; private ListOTAModuleVersionsByDeviceResponseBody(Builder builder) { this.code = builder.code; this.currentPage = builder.currentPage; this.data = builder.data; this.errorMessage = builder.errorMessage; this.pageCount = builder.pageCount; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.success = builder.success; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static ListOTAModuleVersionsByDeviceResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return pageCount */ public Integer getPageCount() { return this.pageCount; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private String code; private Integer currentPage; private Data data; private String errorMessage; private Integer pageCount; private Integer pageSize; private String requestId; private Boolean success; private Integer total; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * CurrentPage. */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * ErrorMessage. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * PageCount. */ public Builder pageCount(Integer pageCount) { this.pageCount = pageCount; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * Total. */ public Builder total(Integer total) { this.total = total; return this; } public ListOTAModuleVersionsByDeviceResponseBody build() { return new ListOTAModuleVersionsByDeviceResponseBody(this); } } public static class SimpleOTAModuleInfo extends TeaModel { @NameInMap("DeviceName") private String deviceName; @NameInMap("IotId") private String iotId; @NameInMap("ModuleName") private String moduleName; @NameInMap("ModuleVersion") private String moduleVersion; @NameInMap("ProductKey") private String productKey; private SimpleOTAModuleInfo(Builder builder) { this.deviceName = builder.deviceName; this.iotId = builder.iotId; this.moduleName = builder.moduleName; this.moduleVersion = builder.moduleVersion; this.productKey = builder.productKey; } public static Builder builder() { return new Builder(); } public static SimpleOTAModuleInfo create() { return builder().build(); } /** * @return deviceName */ public String getDeviceName() { return this.deviceName; } /** * @return iotId */ public String getIotId() { return this.iotId; } /** * @return moduleName */ public String getModuleName() { return this.moduleName; } /** * @return moduleVersion */ public String getModuleVersion() { return this.moduleVersion; } /** * @return productKey */ public String getProductKey() { return this.productKey; } public static final class Builder { private String deviceName; private String iotId; private String moduleName; private String moduleVersion; private String productKey; /** * DeviceName. */ public Builder deviceName(String deviceName) { this.deviceName = deviceName; return this; } /** * IotId. */ public Builder iotId(String iotId) { this.iotId = iotId; return this; } /** * ModuleName. */ public Builder moduleName(String moduleName) { this.moduleName = moduleName; return this; } /** * ModuleVersion. */ public Builder moduleVersion(String moduleVersion) { this.moduleVersion = moduleVersion; return this; } /** * ProductKey. */ public Builder productKey(String productKey) { this.productKey = productKey; return this; } public SimpleOTAModuleInfo build() { return new SimpleOTAModuleInfo(this); } } } public static class Data extends TeaModel { @NameInMap("SimpleOTAModuleInfo") private java.util.List < SimpleOTAModuleInfo> simpleOTAModuleInfo; private Data(Builder builder) { this.simpleOTAModuleInfo = builder.simpleOTAModuleInfo; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return simpleOTAModuleInfo */ public java.util.List < SimpleOTAModuleInfo> getSimpleOTAModuleInfo() { return this.simpleOTAModuleInfo; } public static final class Builder { private java.util.List < SimpleOTAModuleInfo> simpleOTAModuleInfo; /** * SimpleOTAModuleInfo. */ public Builder simpleOTAModuleInfo(java.util.List < SimpleOTAModuleInfo> simpleOTAModuleInfo) { this.simpleOTAModuleInfo = simpleOTAModuleInfo; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy