
com.aliyun.dingtalkdingmi_1_0.models.PushRobotMessageRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdingmi_1_0.models;
import com.aliyun.tea.*;
public class PushRobotMessageRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1234
*/
@NameInMap("chatbotId")
public String chatbotId;
/**
* This parameter is required.
*
* example:
* sampleText
*/
@NameInMap("msgKey")
public String msgKey;
/**
* This parameter is required.
*
* example:
* eyJjb250ZW50IjogIua1i+ivleWGheWuuSJ9(即{"content": "测试内容"}的base64编码值)
*/
@NameInMap("msgParam")
public String msgParam;
/**
* This parameter is required.
*
* example:
* 123456abc
*/
@NameInMap("userId")
public String userId;
public static PushRobotMessageRequest build(java.util.Map map) throws Exception {
PushRobotMessageRequest self = new PushRobotMessageRequest();
return TeaModel.build(map, self);
}
public PushRobotMessageRequest setChatbotId(String chatbotId) {
this.chatbotId = chatbotId;
return this;
}
public String getChatbotId() {
return this.chatbotId;
}
public PushRobotMessageRequest setMsgKey(String msgKey) {
this.msgKey = msgKey;
return this;
}
public String getMsgKey() {
return this.msgKey;
}
public PushRobotMessageRequest setMsgParam(String msgParam) {
this.msgParam = msgParam;
return this;
}
public String getMsgParam() {
return this.msgParam;
}
public PushRobotMessageRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy