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

com.aliyun.sdk.service.chatbot20220408.models.UpdateConnQuestionRequest 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 UpdateConnQuestionRequest} extends {@link RequestModel}
 *
 * 

UpdateConnQuestionRequest

*/ public class UpdateConnQuestionRequest 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("ConnQuestionId") @com.aliyun.core.annotation.Validation(required = true) private Long connQuestionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("OutlineId") @com.aliyun.core.annotation.Validation(required = true) private Long outlineId; private UpdateConnQuestionRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.agentKey = builder.agentKey; this.connQuestionId = builder.connQuestionId; this.outlineId = builder.outlineId; } public static Builder builder() { return new Builder(); } public static UpdateConnQuestionRequest 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 connQuestionId */ public Long getConnQuestionId() { return this.connQuestionId; } /** * @return outlineId */ public Long getOutlineId() { return this.outlineId; } public static final class Builder extends Request.Builder { private String regionId; private String agentKey; private Long connQuestionId; private Long outlineId; private Builder() { super(); } private Builder(UpdateConnQuestionRequest request) { super(request); this.regionId = request.regionId; this.agentKey = request.agentKey; this.connQuestionId = request.connQuestionId; this.outlineId = request.outlineId; } /** * 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; } /** * ConnQuestionId. */ public Builder connQuestionId(Long connQuestionId) { this.putBodyParameter("ConnQuestionId", connQuestionId); this.connQuestionId = connQuestionId; return this; } /** * OutlineId. */ public Builder outlineId(Long outlineId) { this.putBodyParameter("OutlineId", outlineId); this.outlineId = outlineId; return this; } @Override public UpdateConnQuestionRequest build() { return new UpdateConnQuestionRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy