com.aliyun.sdk.service.iot20180120.models.QueryDeviceEventDataResponseBody 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 QueryDeviceEventDataResponseBody} extends {@link TeaModel}
*
* QueryDeviceEventDataResponseBody
*/
public class QueryDeviceEventDataResponseBody 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 QueryDeviceEventDataResponseBody(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 QueryDeviceEventDataResponseBody 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 QueryDeviceEventDataResponseBody build() {
return new QueryDeviceEventDataResponseBody(this);
}
}
public static class EventInfo extends TeaModel {
@NameInMap("EventType")
private String eventType;
@NameInMap("Identifier")
private String identifier;
@NameInMap("Name")
private String name;
@NameInMap("OutputData")
private String outputData;
@NameInMap("Time")
private String time;
private EventInfo(Builder builder) {
this.eventType = builder.eventType;
this.identifier = builder.identifier;
this.name = builder.name;
this.outputData = builder.outputData;
this.time = builder.time;
}
public static Builder builder() {
return new Builder();
}
public static EventInfo create() {
return builder().build();
}
/**
* @return eventType
*/
public String getEventType() {
return this.eventType;
}
/**
* @return identifier
*/
public String getIdentifier() {
return this.identifier;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return outputData
*/
public String getOutputData() {
return this.outputData;
}
/**
* @return time
*/
public String getTime() {
return this.time;
}
public static final class Builder {
private String eventType;
private String identifier;
private String name;
private String outputData;
private String time;
/**
* EventType.
*/
public Builder eventType(String eventType) {
this.eventType = eventType;
return this;
}
/**
* Identifier.
*/
public Builder identifier(String identifier) {
this.identifier = identifier;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* OutputData.
*/
public Builder outputData(String outputData) {
this.outputData = outputData;
return this;
}
/**
* Time.
*/
public Builder time(String time) {
this.time = time;
return this;
}
public EventInfo build() {
return new EventInfo(this);
}
}
}
public static class List extends TeaModel {
@NameInMap("EventInfo")
private java.util.List < EventInfo> eventInfo;
private List(Builder builder) {
this.eventInfo = builder.eventInfo;
}
public static Builder builder() {
return new Builder();
}
public static List create() {
return builder().build();
}
/**
* @return eventInfo
*/
public java.util.List < EventInfo> getEventInfo() {
return this.eventInfo;
}
public static final class Builder {
private java.util.List < EventInfo> eventInfo;
/**
* EventInfo.
*/
public Builder eventInfo(java.util.List < EventInfo> eventInfo) {
this.eventInfo = eventInfo;
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