com.aliyun.dingtalkrobot_1_0.models.BatchSendOTORequest 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 BatchSendOTORequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* sampleMarkdown
*/
@NameInMap("msgKey")
public String msgKey;
/**
* This parameter is required.
*
* example:
* {"text": "hello dafu","title": "hello title"}
*/
@NameInMap("msgParam")
public String msgParam;
/**
* This parameter is required.
*
* example:
* dingxxxxxx
*/
@NameInMap("robotCode")
public String robotCode;
/**
* This parameter is required.
*/
@NameInMap("userIds")
public java.util.List userIds;
public static BatchSendOTORequest build(java.util.Map map) throws Exception {
BatchSendOTORequest self = new BatchSendOTORequest();
return TeaModel.build(map, self);
}
public BatchSendOTORequest setMsgKey(String msgKey) {
this.msgKey = msgKey;
return this;
}
public String getMsgKey() {
return this.msgKey;
}
public BatchSendOTORequest setMsgParam(String msgParam) {
this.msgParam = msgParam;
return this;
}
public String getMsgParam() {
return this.msgParam;
}
public BatchSendOTORequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
public BatchSendOTORequest setUserIds(java.util.List userIds) {
this.userIds = userIds;
return this;
}
public java.util.List getUserIds() {
return this.userIds;
}
}