com.aliyun.sdk.service.iot20180120.models.QueryDeviceDesiredPropertyResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-iot20180120 Show documentation
Show all versions of alibabacloud-iot20180120 Show documentation
Alibaba Cloud Iot (20180120) Async SDK for Java
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 QueryDeviceDesiredPropertyResponseBody} extends {@link TeaModel}
*
* QueryDeviceDesiredPropertyResponseBody
*/
public class QueryDeviceDesiredPropertyResponseBody 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 QueryDeviceDesiredPropertyResponseBody(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 QueryDeviceDesiredPropertyResponseBody 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 QueryDeviceDesiredPropertyResponseBody build() {
return new QueryDeviceDesiredPropertyResponseBody(this);
}
}
public static class DesiredPropertyInfo 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;
@NameInMap("Version")
private Long version;
private DesiredPropertyInfo(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;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static DesiredPropertyInfo 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;
}
/**
* @return version
*/
public Long getVersion() {
return this.version;
}
public static final class Builder {
private String dataType;
private String identifier;
private String name;
private String time;
private String unit;
private String value;
private Long version;
/**
* 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;
}
/**
* Version.
*/
public Builder version(Long version) {
this.version = version;
return this;
}
public DesiredPropertyInfo build() {
return new DesiredPropertyInfo(this);
}
}
}
public static class List extends TeaModel {
@NameInMap("DesiredPropertyInfo")
private java.util.List < DesiredPropertyInfo> desiredPropertyInfo;
private List(Builder builder) {
this.desiredPropertyInfo = builder.desiredPropertyInfo;
}
public static Builder builder() {
return new Builder();
}
public static List create() {
return builder().build();
}
/**
* @return desiredPropertyInfo
*/
public java.util.List < DesiredPropertyInfo> getDesiredPropertyInfo() {
return this.desiredPropertyInfo;
}
public static final class Builder {
private java.util.List < DesiredPropertyInfo> desiredPropertyInfo;
/**
* DesiredPropertyInfo.
*/
public Builder desiredPropertyInfo(java.util.List < DesiredPropertyInfo> desiredPropertyInfo) {
this.desiredPropertyInfo = desiredPropertyInfo;
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