com.aliyun.dingtalkassistant_1_0.models.CreateAssistantRunRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkassistant_1_0.models;
import com.aliyun.tea.*;
public class CreateAssistantRunRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("assistantId")
public String assistantId;
@NameInMap("instructions")
public String instructions;
@NameInMap("metadata")
public java.util.Map metadata;
@NameInMap("stream")
public Boolean stream;
public static CreateAssistantRunRequest build(java.util.Map map) throws Exception {
CreateAssistantRunRequest self = new CreateAssistantRunRequest();
return TeaModel.build(map, self);
}
public CreateAssistantRunRequest setAssistantId(String assistantId) {
this.assistantId = assistantId;
return this;
}
public String getAssistantId() {
return this.assistantId;
}
public CreateAssistantRunRequest setInstructions(String instructions) {
this.instructions = instructions;
return this;
}
public String getInstructions() {
return this.instructions;
}
public CreateAssistantRunRequest setMetadata(java.util.Map metadata) {
this.metadata = metadata;
return this;
}
public java.util.Map getMetadata() {
return this.metadata;
}
public CreateAssistantRunRequest setStream(Boolean stream) {
this.stream = stream;
return this;
}
public Boolean getStream() {
return this.stream;
}
}