com.aliyun.dingtalkrobot_1_0.models.OrgGroupSendRequest 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 OrgGroupSendRequest 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;
/**
* example:
* 02feb1cd4ncmed92998723813a6bfa89eea1df91a750721979992870dd90bdfa
*/
@NameInMap("token")
public String token;
public static OrgGroupSendRequest build(java.util.Map map) throws Exception {
OrgGroupSendRequest self = new OrgGroupSendRequest();
return TeaModel.build(map, self);
}
public OrgGroupSendRequest setCoolAppCode(String coolAppCode) {
this.coolAppCode = coolAppCode;
return this;
}
public String getCoolAppCode() {
return this.coolAppCode;
}
public OrgGroupSendRequest setMsgKey(String msgKey) {
this.msgKey = msgKey;
return this;
}
public String getMsgKey() {
return this.msgKey;
}
public OrgGroupSendRequest setMsgParam(String msgParam) {
this.msgParam = msgParam;
return this;
}
public String getMsgParam() {
return this.msgParam;
}
public OrgGroupSendRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public OrgGroupSendRequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
public OrgGroupSendRequest setToken(String token) {
this.token = token;
return this;
}
public String getToken() {
return this.token;
}
}