com.aliyun.sdk.service.chatbot20220408.models.DeleteSolutionRequest 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 DeleteSolutionRequest} extends {@link RequestModel}
*
* DeleteSolutionRequest
*/
public class DeleteSolutionRequest 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.Body
@com.aliyun.core.annotation.NameInMap("SolutionId")
@com.aliyun.core.annotation.Validation(required = true)
private Long solutionId;
private DeleteSolutionRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.agentKey = builder.agentKey;
this.solutionId = builder.solutionId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSolutionRequest 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 solutionId
*/
public Long getSolutionId() {
return this.solutionId;
}
public static final class Builder extends Request.Builder {
private String regionId;
private String agentKey;
private Long solutionId;
private Builder() {
super();
}
private Builder(DeleteSolutionRequest request) {
super(request);
this.regionId = request.regionId;
this.agentKey = request.agentKey;
this.solutionId = request.solutionId;
}
/**
* 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;
}
/**
* SolutionId.
*/
public Builder solutionId(Long solutionId) {
this.putBodyParameter("SolutionId", solutionId);
this.solutionId = solutionId;
return this;
}
@Override
public DeleteSolutionRequest build() {
return new DeleteSolutionRequest(this);
}
}
}