com.aliyun.sdk.service.chatbot20220408.models.ListLgfRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-chatbot20220408 Show documentation
Show all versions of alibabacloud-chatbot20220408 Show documentation
Alibaba Cloud Chatbot (20220408) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.chatbot20220408.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLgfRequest} extends {@link RequestModel}
*
* ListLgfRequest
*/
public class ListLgfRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AgentKey")
private String agentKey;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IntentId")
@com.aliyun.core.annotation.Validation(required = true)
private Long intentId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LgfText")
private String lgfText;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
private ListLgfRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.agentKey = builder.agentKey;
this.instanceId = builder.instanceId;
this.intentId = builder.intentId;
this.lgfText = builder.lgfText;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListLgfRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return agentKey
*/
public String getAgentKey() {
return this.agentKey;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return intentId
*/
public Long getIntentId() {
return this.intentId;
}
/**
* @return lgfText
*/
public String getLgfText() {
return this.lgfText;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder {
private String regionId;
private String agentKey;
private String instanceId;
private Long intentId;
private String lgfText;
private Integer pageNumber;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListLgfRequest request) {
super(request);
this.regionId = request.regionId;
this.agentKey = request.agentKey;
this.instanceId = request.instanceId;
this.intentId = request.intentId;
this.lgfText = request.lgfText;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AgentKey.
*/
public Builder agentKey(String agentKey) {
this.putQueryParameter("AgentKey", agentKey);
this.agentKey = agentKey;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* IntentId.
*/
public Builder intentId(Long intentId) {
this.putQueryParameter("IntentId", intentId);
this.intentId = intentId;
return this;
}
/**
* LgfText.
*/
public Builder lgfText(String lgfText) {
this.putQueryParameter("LgfText", lgfText);
this.lgfText = lgfText;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListLgfRequest build() {
return new ListLgfRequest(this);
}
}
}