com.aliyun.dingtalkai_interaction_1_0.models.PrepareRequest 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.dingtalkai_interaction_1_0.models;
import com.aliyun.tea.*;
public class PrepareRequest extends TeaModel {
@NameInMap("content")
public String content;
/**
* This parameter is required.
*/
@NameInMap("contentType")
public String contentType;
@NameInMap("openConversationId")
public String openConversationId;
@NameInMap("unionId")
public String unionId;
public static PrepareRequest build(java.util.Map map) throws Exception {
PrepareRequest self = new PrepareRequest();
return TeaModel.build(map, self);
}
public PrepareRequest setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public PrepareRequest setContentType(String contentType) {
this.contentType = contentType;
return this;
}
public String getContentType() {
return this.contentType;
}
public PrepareRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public PrepareRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}