com.aliyun.sdk.service.iot20180120.models.QueryDevicePropertyDataResponseBody 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 QueryDevicePropertyDataResponseBody} extends {@link TeaModel}
*
* QueryDevicePropertyDataResponseBody
*/
public class QueryDevicePropertyDataResponseBody 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 QueryDevicePropertyDataResponseBody(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 QueryDevicePropertyDataResponseBody 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 QueryDevicePropertyDataResponseBody build() {
return new QueryDevicePropertyDataResponseBody(this);
}
}
public static class PropertyInfo extends TeaModel {
@NameInMap("Time")
private String time;
@NameInMap("Value")
private String value;
private PropertyInfo(Builder builder) {
this.time = builder.time;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static PropertyInfo create() {
return builder().build();
}
/**
* @return time
*/
public String getTime() {
return this.time;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String time;
private String value;
/**
* Time.
*/
public Builder time(String time) {
this.time = time;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public PropertyInfo build() {
return new PropertyInfo(this);
}
}
}
public static class List extends TeaModel {
@NameInMap("PropertyInfo")
private java.util.List < PropertyInfo> propertyInfo;
private List(Builder builder) {
this.propertyInfo = builder.propertyInfo;
}
public static Builder builder() {
return new Builder();
}
public static List create() {
return builder().build();
}
/**
* @return propertyInfo
*/
public java.util.List < PropertyInfo> getPropertyInfo() {
return this.propertyInfo;
}
public static final class Builder {
private java.util.List < PropertyInfo> propertyInfo;
/**
* PropertyInfo.
*/
public Builder propertyInfo(java.util.List < PropertyInfo> propertyInfo) {
this.propertyInfo = propertyInfo;
return this;
}
public List build() {
return new List(this);
}
}
}
public static class Data extends TeaModel {
@NameInMap("List")
private List list;
@NameInMap("NextTime")
private Long nextTime;
@NameInMap("NextValid")
private Boolean nextValid;
private Data(Builder builder) {
this.list = builder.list;
this.nextTime = builder.nextTime;
this.nextValid = builder.nextValid;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return list
*/
public List getList() {
return this.list;
}
/**
* @return nextTime
*/
public Long getNextTime() {
return this.nextTime;
}
/**
* @return nextValid
*/
public Boolean getNextValid() {
return this.nextValid;
}
public static final class Builder {
private List list;
private Long nextTime;
private Boolean nextValid;
/**
* List.
*/
public Builder list(List list) {
this.list = list;
return this;
}
/**
* NextTime.
*/
public Builder nextTime(Long nextTime) {
this.nextTime = nextTime;
return this;
}
/**
* NextValid.
*/
public Builder nextValid(Boolean nextValid) {
this.nextValid = nextValid;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy