com.aliyun.dingtalkindustry_1_0.models.ChatMemoFaqAddRequest 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.dingtalkindustry_1_0.models;
import com.aliyun.tea.*;
public class ChatMemoFaqAddRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 办公室的电话是:13222333232
*/
@NameInMap("answer")
public String answer;
/**
* example:
* aaaaa
*/
@NameInMap("bizId")
public String bizId;
/**
* This parameter is required.
*
* example:
* 111111
*/
@NameInMap("datasetId")
public Long datasetId;
/**
* This parameter is required.
*
* example:
* 办公室的电话是多少
*/
@NameInMap("question")
public String question;
/**
* example:
*
*/
@NameInMap("redirection")
public String redirection;
public static ChatMemoFaqAddRequest build(java.util.Map map) throws Exception {
ChatMemoFaqAddRequest self = new ChatMemoFaqAddRequest();
return TeaModel.build(map, self);
}
public ChatMemoFaqAddRequest setAnswer(String answer) {
this.answer = answer;
return this;
}
public String getAnswer() {
return this.answer;
}
public ChatMemoFaqAddRequest setBizId(String bizId) {
this.bizId = bizId;
return this;
}
public String getBizId() {
return this.bizId;
}
public ChatMemoFaqAddRequest setDatasetId(Long datasetId) {
this.datasetId = datasetId;
return this;
}
public Long getDatasetId() {
return this.datasetId;
}
public ChatMemoFaqAddRequest setQuestion(String question) {
this.question = question;
return this;
}
public String getQuestion() {
return this.question;
}
public ChatMemoFaqAddRequest setRedirection(String redirection) {
this.redirection = redirection;
return this;
}
public String getRedirection() {
return this.redirection;
}
}