com.aliyun.sdk.service.iot20180120.models.ListDistributedDeviceRequest 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 ListDistributedDeviceRequest} extends {@link RequestModel}
*
* ListDistributedDeviceRequest
*/
public class ListDistributedDeviceRequest extends Request {
@Query
@NameInMap("CurrentPage")
@Validation(required = true, minimum = 1)
private Integer currentPage;
@Query
@NameInMap("DeviceName")
private String deviceName;
@Query
@NameInMap("PageSize")
@Validation(required = true, maximum = 200, minimum = 1)
private Integer pageSize;
@Query
@NameInMap("ProductKey")
private String productKey;
@Query
@NameInMap("SourceInstanceId")
private String sourceInstanceId;
@Query
@NameInMap("TargetUid")
private String targetUid;
private ListDistributedDeviceRequest(Builder builder) {
super(builder);
this.currentPage = builder.currentPage;
this.deviceName = builder.deviceName;
this.pageSize = builder.pageSize;
this.productKey = builder.productKey;
this.sourceInstanceId = builder.sourceInstanceId;
this.targetUid = builder.targetUid;
}
public static Builder builder() {
return new Builder();
}
public static ListDistributedDeviceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return deviceName
*/
public String getDeviceName() {
return this.deviceName;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
/**
* @return sourceInstanceId
*/
public String getSourceInstanceId() {
return this.sourceInstanceId;
}
/**
* @return targetUid
*/
public String getTargetUid() {
return this.targetUid;
}
public static final class Builder extends Request.Builder {
private Integer currentPage;
private String deviceName;
private Integer pageSize;
private String productKey;
private String sourceInstanceId;
private String targetUid;
private Builder() {
super();
}
private Builder(ListDistributedDeviceRequest request) {
super(request);
this.currentPage = request.currentPage;
this.deviceName = request.deviceName;
this.pageSize = request.pageSize;
this.productKey = request.productKey;
this.sourceInstanceId = request.sourceInstanceId;
this.targetUid = request.targetUid;
}
/**
* CurrentPage.
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* DeviceName.
*/
public Builder deviceName(String deviceName) {
this.putQueryParameter("DeviceName", deviceName);
this.deviceName = deviceName;
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;
}
/**
* SourceInstanceId.
*/
public Builder sourceInstanceId(String sourceInstanceId) {
this.putQueryParameter("SourceInstanceId", sourceInstanceId);
this.sourceInstanceId = sourceInstanceId;
return this;
}
/**
* TargetUid.
*/
public Builder targetUid(String targetUid) {
this.putQueryParameter("TargetUid", targetUid);
this.targetUid = targetUid;
return this;
}
@Override
public ListDistributedDeviceRequest build() {
return new ListDistributedDeviceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy