com.aliyun.dingtalkrobot_1_0.models.RobotSendDingRequest 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 RobotSendDingRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("content")
public String content;
/**
* This parameter is required.
*/
@NameInMap("receiverUserIdList")
public java.util.List receiverUserIdList;
/**
* This parameter is required.
*
* example:
* 1:APP,2:短信,3:电话
*/
@NameInMap("remindType")
public Integer remindType;
/**
* This parameter is required.
*/
@NameInMap("robotCode")
public String robotCode;
public static RobotSendDingRequest build(java.util.Map map) throws Exception {
RobotSendDingRequest self = new RobotSendDingRequest();
return TeaModel.build(map, self);
}
public RobotSendDingRequest setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public RobotSendDingRequest setReceiverUserIdList(java.util.List receiverUserIdList) {
this.receiverUserIdList = receiverUserIdList;
return this;
}
public java.util.List getReceiverUserIdList() {
return this.receiverUserIdList;
}
public RobotSendDingRequest setRemindType(Integer remindType) {
this.remindType = remindType;
return this;
}
public Integer getRemindType() {
return this.remindType;
}
public RobotSendDingRequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
}