com.aliyun.sdk.service.iot20180120.models.QueryStudioProjectListRequest 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 QueryStudioProjectListRequest} extends {@link RequestModel}
*
* QueryStudioProjectListRequest
*/
public class QueryStudioProjectListRequest extends Request {
@Body
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Body
@NameInMap("Name")
private String name;
@Body
@NameInMap("PageNo")
private Integer pageNo;
@Body
@NameInMap("PageSize")
@Validation(maximum = 50, minimum = 1)
private Integer pageSize;
private QueryStudioProjectListRequest(Builder builder) {
super(builder);
this.iotInstanceId = builder.iotInstanceId;
this.name = builder.name;
this.pageNo = builder.pageNo;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static QueryStudioProjectListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return pageNo
*/
public Integer getPageNo() {
return this.pageNo;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder {
private String iotInstanceId;
private String name;
private Integer pageNo;
private Integer pageSize;
private Builder() {
super();
}
private Builder(QueryStudioProjectListRequest request) {
super(request);
this.iotInstanceId = request.iotInstanceId;
this.name = request.name;
this.pageNo = request.pageNo;
this.pageSize = request.pageSize;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putBodyParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.putBodyParameter("Name", name);
this.name = name;
return this;
}
/**
* PageNo.
*/
public Builder pageNo(Integer pageNo) {
this.putBodyParameter("PageNo", pageNo);
this.pageNo = pageNo;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putBodyParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public QueryStudioProjectListRequest build() {
return new QueryStudioProjectListRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy