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

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

QueryDevicePropertyStatusResponseBody

*/ public class QueryDevicePropertyStatusResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private QueryDevicePropertyStatusResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorMessage = builder.errorMessage; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static QueryDevicePropertyStatusResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public 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; } public static final class Builder { private String code; private Data data; private String errorMessage; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(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; } public QueryDevicePropertyStatusResponseBody build() { return new QueryDevicePropertyStatusResponseBody(this); } } public static class PropertyStatusInfo extends TeaModel { @NameInMap("DataType") private String dataType; @NameInMap("Identifier") private String identifier; @NameInMap("Name") private String name; @NameInMap("Time") private String time; @NameInMap("Unit") private String unit; @NameInMap("Value") private String value; private PropertyStatusInfo(Builder builder) { this.dataType = builder.dataType; this.identifier = builder.identifier; this.name = builder.name; this.time = builder.time; this.unit = builder.unit; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static PropertyStatusInfo create() { return builder().build(); } /** * @return dataType */ public String getDataType() { return this.dataType; } /** * @return identifier */ public String getIdentifier() { return this.identifier; } /** * @return name */ public String getName() { return this.name; } /** * @return time */ public String getTime() { return this.time; } /** * @return unit */ public String getUnit() { return this.unit; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String dataType; private String identifier; private String name; private String time; private String unit; private String value; /** * DataType. */ public Builder dataType(String dataType) { this.dataType = dataType; return this; } /** * Identifier. */ public Builder identifier(String identifier) { this.identifier = identifier; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Time. */ public Builder time(String time) { this.time = time; return this; } /** * Unit. */ public Builder unit(String unit) { this.unit = unit; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public PropertyStatusInfo build() { return new PropertyStatusInfo(this); } } } public static class List extends TeaModel { @NameInMap("PropertyStatusInfo") private java.util.List < PropertyStatusInfo> propertyStatusInfo; private List(Builder builder) { this.propertyStatusInfo = builder.propertyStatusInfo; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return propertyStatusInfo */ public java.util.List < PropertyStatusInfo> getPropertyStatusInfo() { return this.propertyStatusInfo; } public static final class Builder { private java.util.List < PropertyStatusInfo> propertyStatusInfo; /** * PropertyStatusInfo. */ public Builder propertyStatusInfo(java.util.List < PropertyStatusInfo> propertyStatusInfo) { this.propertyStatusInfo = propertyStatusInfo; return this; } public List build() { return new List(this); } } } public static class Data extends TeaModel { @NameInMap("List") private List list; private Data(Builder builder) { this.list = builder.list; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return list */ public List getList() { return this.list; } public static final class Builder { private List list; /** * List. */ public Builder list(List list) { this.list = list; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy