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

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

QueryDeviceBySQLResponseBody

*/ public class QueryDeviceBySQLResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private java.util.List < Data> data; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; @NameInMap("TotalCount") private Long totalCount; private QueryDeviceBySQLResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorMessage = builder.errorMessage; this.requestId = builder.requestId; this.success = builder.success; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static QueryDeviceBySQLResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List < Data> getData() { return this.data; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private String code; private java.util.List < Data> data; private String errorMessage; private String requestId; private Boolean success; private Long totalCount; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(java.util.List < Data> data) { this.data = data; return this; } /** * ErrorMessage. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TotalCount. */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public QueryDeviceBySQLResponseBody build() { return new QueryDeviceBySQLResponseBody(this); } } public static class Groups extends TeaModel { @NameInMap("GroupId") private String groupId; private Groups(Builder builder) { this.groupId = builder.groupId; } public static Builder builder() { return new Builder(); } public static Groups create() { return builder().build(); } /** * @return groupId */ public String getGroupId() { return this.groupId; } public static final class Builder { private String groupId; /** * GroupId. */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } public Groups build() { return new Groups(this); } } } public static class OTAModules extends TeaModel { @NameInMap("FirmwareVersion") private String firmwareVersion; @NameInMap("ModuleName") private String moduleName; private OTAModules(Builder builder) { this.firmwareVersion = builder.firmwareVersion; this.moduleName = builder.moduleName; } public static Builder builder() { return new Builder(); } public static OTAModules create() { return builder().build(); } /** * @return firmwareVersion */ public String getFirmwareVersion() { return this.firmwareVersion; } /** * @return moduleName */ public String getModuleName() { return this.moduleName; } public static final class Builder { private String firmwareVersion; private String moduleName; /** * FirmwareVersion. */ public Builder firmwareVersion(String firmwareVersion) { this.firmwareVersion = firmwareVersion; return this; } /** * ModuleName. */ public Builder moduleName(String moduleName) { this.moduleName = moduleName; return this; } public OTAModules build() { return new OTAModules(this); } } } public static class Tags extends TeaModel { @NameInMap("TagName") private String tagName; @NameInMap("TagValue") private String tagValue; private Tags(Builder builder) { this.tagName = builder.tagName; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tagName */ public String getTagName() { return this.tagName; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String tagName; private String tagValue; /** * TagName. */ public Builder tagName(String tagName) { this.tagName = tagName; return this; } /** * TagValue. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tags build() { return new Tags(this); } } } public static class Data extends TeaModel { @NameInMap("ActiveTime") private String activeTime; @NameInMap("DeviceName") private String deviceName; @NameInMap("GmtCreate") private String gmtCreate; @NameInMap("GmtModified") private String gmtModified; @NameInMap("Groups") private java.util.List < Groups> groups; @NameInMap("IotId") private String iotId; @NameInMap("Nickname") private String nickname; @NameInMap("OTAModules") private java.util.List < OTAModules> OTAModules; @NameInMap("ProductKey") private String productKey; @NameInMap("Status") private String status; @NameInMap("Tags") private java.util.List < Tags> tags; private Data(Builder builder) { this.activeTime = builder.activeTime; this.deviceName = builder.deviceName; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.groups = builder.groups; this.iotId = builder.iotId; this.nickname = builder.nickname; this.OTAModules = builder.OTAModules; this.productKey = builder.productKey; this.status = builder.status; this.tags = builder.tags; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return activeTime */ public String getActiveTime() { return this.activeTime; } /** * @return deviceName */ public String getDeviceName() { return this.deviceName; } /** * @return gmtCreate */ public String getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public String getGmtModified() { return this.gmtModified; } /** * @return groups */ public java.util.List < Groups> getGroups() { return this.groups; } /** * @return iotId */ public String getIotId() { return this.iotId; } /** * @return nickname */ public String getNickname() { return this.nickname; } /** * @return OTAModules */ public java.util.List < OTAModules> getOTAModules() { return this.OTAModules; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tags */ public java.util.List < Tags> getTags() { return this.tags; } public static final class Builder { private String activeTime; private String deviceName; private String gmtCreate; private String gmtModified; private java.util.List < Groups> groups; private String iotId; private String nickname; private java.util.List < OTAModules> OTAModules; private String productKey; private String status; private java.util.List < Tags> tags; /** * ActiveTime. */ public Builder activeTime(String activeTime) { this.activeTime = activeTime; return this; } /** * DeviceName. */ public Builder deviceName(String deviceName) { this.deviceName = deviceName; return this; } /** * GmtCreate. */ public Builder gmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * GmtModified. */ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; return this; } /** * Groups. */ public Builder groups(java.util.List < Groups> groups) { this.groups = groups; return this; } /** * IotId. */ public Builder iotId(String iotId) { this.iotId = iotId; return this; } /** * Nickname. */ public Builder nickname(String nickname) { this.nickname = nickname; return this; } /** * OTAModules. */ public Builder OTAModules(java.util.List < OTAModules> OTAModules) { this.OTAModules = OTAModules; return this; } /** * ProductKey. */ public Builder productKey(String productKey) { this.productKey = productKey; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * Tags. */ public Builder tags(java.util.List < Tags> tags) { this.tags = tags; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy