All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.chatbot20220408.models.DeleteDocRequest Maven / Gradle / Ivy

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 DeleteDocRequest} extends {@link RequestModel}
 *
 * 

DeleteDocRequest

*/ public class DeleteDocRequest 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("KnowledgeId") @com.aliyun.core.annotation.Validation(required = true) private Long knowledgeId; private DeleteDocRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.agentKey = builder.agentKey; this.knowledgeId = builder.knowledgeId; } public static Builder builder() { return new Builder(); } public static DeleteDocRequest 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 knowledgeId */ public Long getKnowledgeId() { return this.knowledgeId; } public static final class Builder extends Request.Builder { private String regionId; private String agentKey; private Long knowledgeId; private Builder() { super(); } private Builder(DeleteDocRequest request) { super(request); this.regionId = request.regionId; this.agentKey = request.agentKey; this.knowledgeId = request.knowledgeId; } /** * 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; } /** * KnowledgeId. */ public Builder knowledgeId(Long knowledgeId) { this.putQueryParameter("KnowledgeId", knowledgeId); this.knowledgeId = knowledgeId; return this; } @Override public DeleteDocRequest build() { return new DeleteDocRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy