com.aliyun.dingtalkrobot_1_0.models.PrivateChatSendRequest 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.dingtalkrobot_1_0.models;
import com.aliyun.tea.*;
public class PrivateChatSendRequest extends TeaModel {
/**
* example:
* COOLAPP-1-10182EEDD1AC0BA600D9000J
*/
@NameInMap("coolAppCode")
public String coolAppCode;
/**
* This parameter is required.
*
* example:
* sampleText
*/
@NameInMap("msgKey")
public String msgKey;
/**
* This parameter is required.
*
* example:
* {"content":"今天吃肘子"}
*/
@NameInMap("msgParam")
public String msgParam;
/**
* example:
* cid6KeBBLoveMJOGXoYKF5x7EeiodoA==
*/
@NameInMap("openConversationId")
public String openConversationId;
/**
* example:
* dingue4kfzdxbyn0pjqd
*/
@NameInMap("robotCode")
public String robotCode;
public static PrivateChatSendRequest build(java.util.Map map) throws Exception {
PrivateChatSendRequest self = new PrivateChatSendRequest();
return TeaModel.build(map, self);
}
public PrivateChatSendRequest setCoolAppCode(String coolAppCode) {
this.coolAppCode = coolAppCode;
return this;
}
public String getCoolAppCode() {
return this.coolAppCode;
}
public PrivateChatSendRequest setMsgKey(String msgKey) {
this.msgKey = msgKey;
return this;
}
public String getMsgKey() {
return this.msgKey;
}
public PrivateChatSendRequest setMsgParam(String msgParam) {
this.msgParam = msgParam;
return this;
}
public String getMsgParam() {
return this.msgParam;
}
public PrivateChatSendRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public PrivateChatSendRequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
}