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

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

ListOTATaskByJobResponseBody

*/ public class ListOTATaskByJobResponseBody 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 ListOTATaskByJobResponseBody(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 ListOTATaskByJobResponseBody 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 ListOTATaskByJobResponseBody build() { return new ListOTATaskByJobResponseBody(this); } } public static class SimpleOTATaskInfo extends TeaModel { @NameInMap("DestVersion") private String destVersion; @NameInMap("DeviceName") private String deviceName; @NameInMap("FirmwareId") private String firmwareId; @NameInMap("IotId") private String iotId; @NameInMap("JobId") private String jobId; @NameInMap("ProductKey") private String productKey; @NameInMap("ProductName") private String productName; @NameInMap("Progress") private String progress; @NameInMap("SrcVersion") private String srcVersion; @NameInMap("TaskDesc") private String taskDesc; @NameInMap("TaskId") private String taskId; @NameInMap("TaskStatus") private String taskStatus; @NameInMap("Timeout") private String timeout; @NameInMap("UtcCreate") private String utcCreate; @NameInMap("UtcModified") private String utcModified; private SimpleOTATaskInfo(Builder builder) { this.destVersion = builder.destVersion; this.deviceName = builder.deviceName; this.firmwareId = builder.firmwareId; this.iotId = builder.iotId; this.jobId = builder.jobId; this.productKey = builder.productKey; this.productName = builder.productName; this.progress = builder.progress; this.srcVersion = builder.srcVersion; this.taskDesc = builder.taskDesc; this.taskId = builder.taskId; this.taskStatus = builder.taskStatus; this.timeout = builder.timeout; this.utcCreate = builder.utcCreate; this.utcModified = builder.utcModified; } public static Builder builder() { return new Builder(); } public static SimpleOTATaskInfo create() { return builder().build(); } /** * @return destVersion */ public String getDestVersion() { return this.destVersion; } /** * @return deviceName */ public String getDeviceName() { return this.deviceName; } /** * @return firmwareId */ public String getFirmwareId() { return this.firmwareId; } /** * @return iotId */ public String getIotId() { return this.iotId; } /** * @return jobId */ public String getJobId() { return this.jobId; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return productName */ public String getProductName() { return this.productName; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return srcVersion */ public String getSrcVersion() { return this.srcVersion; } /** * @return taskDesc */ public String getTaskDesc() { return this.taskDesc; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskStatus */ public String getTaskStatus() { return this.taskStatus; } /** * @return timeout */ public String getTimeout() { return this.timeout; } /** * @return utcCreate */ public String getUtcCreate() { return this.utcCreate; } /** * @return utcModified */ public String getUtcModified() { return this.utcModified; } public static final class Builder { private String destVersion; private String deviceName; private String firmwareId; private String iotId; private String jobId; private String productKey; private String productName; private String progress; private String srcVersion; private String taskDesc; private String taskId; private String taskStatus; private String timeout; private String utcCreate; private String utcModified; /** * DestVersion. */ public Builder destVersion(String destVersion) { this.destVersion = destVersion; return this; } /** * DeviceName. */ public Builder deviceName(String deviceName) { this.deviceName = deviceName; return this; } /** * FirmwareId. */ public Builder firmwareId(String firmwareId) { this.firmwareId = firmwareId; return this; } /** * IotId. */ public Builder iotId(String iotId) { this.iotId = iotId; return this; } /** * JobId. */ public Builder jobId(String jobId) { this.jobId = jobId; return this; } /** * ProductKey. */ public Builder productKey(String productKey) { this.productKey = productKey; return this; } /** * ProductName. */ public Builder productName(String productName) { this.productName = productName; return this; } /** * Progress. */ public Builder progress(String progress) { this.progress = progress; return this; } /** * SrcVersion. */ public Builder srcVersion(String srcVersion) { this.srcVersion = srcVersion; return this; } /** * TaskDesc. */ public Builder taskDesc(String taskDesc) { this.taskDesc = taskDesc; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * TaskStatus. */ public Builder taskStatus(String taskStatus) { this.taskStatus = taskStatus; return this; } /** * Timeout. */ public Builder timeout(String timeout) { this.timeout = timeout; return this; } /** * UtcCreate. */ public Builder utcCreate(String utcCreate) { this.utcCreate = utcCreate; return this; } /** * UtcModified. */ public Builder utcModified(String utcModified) { this.utcModified = utcModified; return this; } public SimpleOTATaskInfo build() { return new SimpleOTATaskInfo(this); } } } public static class Data extends TeaModel { @NameInMap("SimpleOTATaskInfo") private java.util.List < SimpleOTATaskInfo> simpleOTATaskInfo; private Data(Builder builder) { this.simpleOTATaskInfo = builder.simpleOTATaskInfo; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return simpleOTATaskInfo */ public java.util.List < SimpleOTATaskInfo> getSimpleOTATaskInfo() { return this.simpleOTATaskInfo; } public static final class Builder { private java.util.List < SimpleOTATaskInfo> simpleOTATaskInfo; /** * SimpleOTATaskInfo. */ public Builder simpleOTATaskInfo(java.util.List < SimpleOTATaskInfo> simpleOTATaskInfo) { this.simpleOTATaskInfo = simpleOTATaskInfo; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy