com.aliyun.sdk.service.iot20180120.models.QueryDeviceEventDataRequest 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 QueryDeviceEventDataRequest} extends {@link RequestModel}
*
* QueryDeviceEventDataRequest
*/
public class QueryDeviceEventDataRequest extends Request {
@Query
@NameInMap("Asc")
private Integer asc;
@Query
@NameInMap("DeviceName")
private String deviceName;
@Query
@NameInMap("EndTime")
@Validation(required = true)
private Long endTime;
@Query
@NameInMap("EventType")
private String eventType;
@Query
@NameInMap("Identifier")
private String identifier;
@Query
@NameInMap("IotId")
private String iotId;
@Query
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("ProductKey")
private String productKey;
@Query
@NameInMap("StartTime")
@Validation(required = true)
private Long startTime;
private QueryDeviceEventDataRequest(Builder builder) {
super(builder);
this.asc = builder.asc;
this.deviceName = builder.deviceName;
this.endTime = builder.endTime;
this.eventType = builder.eventType;
this.identifier = builder.identifier;
this.iotId = builder.iotId;
this.iotInstanceId = builder.iotInstanceId;
this.pageSize = builder.pageSize;
this.productKey = builder.productKey;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static QueryDeviceEventDataRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return asc
*/
public Integer getAsc() {
return this.asc;
}
/**
* @return deviceName
*/
public String getDeviceName() {
return this.deviceName;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return eventType
*/
public String getEventType() {
return this.eventType;
}
/**
* @return identifier
*/
public String getIdentifier() {
return this.identifier;
}
/**
* @return iotId
*/
public String getIotId() {
return this.iotId;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder {
private Integer asc;
private String deviceName;
private Long endTime;
private String eventType;
private String identifier;
private String iotId;
private String iotInstanceId;
private Integer pageSize;
private String productKey;
private Long startTime;
private Builder() {
super();
}
private Builder(QueryDeviceEventDataRequest request) {
super(request);
this.asc = request.asc;
this.deviceName = request.deviceName;
this.endTime = request.endTime;
this.eventType = request.eventType;
this.identifier = request.identifier;
this.iotId = request.iotId;
this.iotInstanceId = request.iotInstanceId;
this.pageSize = request.pageSize;
this.productKey = request.productKey;
this.startTime = request.startTime;
}
/**
* Asc.
*/
public Builder asc(Integer asc) {
this.putQueryParameter("Asc", asc);
this.asc = asc;
return this;
}
/**
* DeviceName.
*/
public Builder deviceName(String deviceName) {
this.putQueryParameter("DeviceName", deviceName);
this.deviceName = deviceName;
return this;
}
/**
* EndTime.
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* EventType.
*/
public Builder eventType(String eventType) {
this.putQueryParameter("EventType", eventType);
this.eventType = eventType;
return this;
}
/**
* Identifier.
*/
public Builder identifier(String identifier) {
this.putQueryParameter("Identifier", identifier);
this.identifier = identifier;
return this;
}
/**
* IotId.
*/
public Builder iotId(String iotId) {
this.putQueryParameter("IotId", iotId);
this.iotId = iotId;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putQueryParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.putQueryParameter("ProductKey", productKey);
this.productKey = productKey;
return this;
}
/**
* StartTime.
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public QueryDeviceEventDataRequest build() {
return new QueryDeviceEventDataRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy