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

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

BeginSessionRequest

*/ public class BeginSessionRequest 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") private String instanceId; private BeginSessionRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.agentKey = builder.agentKey; this.instanceId = builder.instanceId; } public static Builder builder() { return new Builder(); } public static BeginSessionRequest 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; } public static final class Builder extends Request.Builder { private String regionId; private String agentKey; private String instanceId; private Builder() { super(); } private Builder(BeginSessionRequest request) { super(request); this.regionId = request.regionId; this.agentKey = request.agentKey; this.instanceId = request.instanceId; } /** * 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; } @Override public BeginSessionRequest build() { return new BeginSessionRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy