com.aliyun.sdk.service.iot20180120.models.GetThingTopoRequest 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 GetThingTopoRequest} extends {@link RequestModel}
*
* GetThingTopoRequest
*/
public class GetThingTopoRequest extends Request {
@Query
@NameInMap("DeviceName")
private String deviceName;
@Query
@NameInMap("IotId")
private String iotId;
@Query
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Query
@NameInMap("PageNo")
@Validation(required = true)
private Integer pageNo;
@Query
@NameInMap("PageSize")
@Validation(required = true)
private Integer pageSize;
@Query
@NameInMap("ProductKey")
private String productKey;
private GetThingTopoRequest(Builder builder) {
super(builder);
this.deviceName = builder.deviceName;
this.iotId = builder.iotId;
this.iotInstanceId = builder.iotInstanceId;
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
this.productKey = builder.productKey;
}
public static Builder builder() {
return new Builder();
}
public static GetThingTopoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deviceName
*/
public String getDeviceName() {
return this.deviceName;
}
/**
* @return iotId
*/
public String getIotId() {
return this.iotId;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return pageNo
*/
public Integer getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
public static final class Builder extends Request.Builder {
private String deviceName;
private String iotId;
private String iotInstanceId;
private Integer pageNo;
private Integer pageSize;
private String productKey;
private Builder() {
super();
}
private Builder(GetThingTopoRequest request) {
super(request);
this.deviceName = request.deviceName;
this.iotId = request.iotId;
this.iotInstanceId = request.iotInstanceId;
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
this.productKey = request.productKey;
}
/**
* DeviceName.
*/
public Builder deviceName(String deviceName) {
this.putQueryParameter("DeviceName", deviceName);
this.deviceName = deviceName;
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;
}
/**
* PageNo.
*/
public Builder pageNo(Integer pageNo) {
this.putQueryParameter("PageNo", pageNo);
this.pageNo = pageNo;
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;
}
@Override
public GetThingTopoRequest build() {
return new GetThingTopoRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy