com.aliyun.dingtalkedu_1_0.models.SendMessageRequest 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.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class SendMessageRequest extends TeaModel {
// 消息的唯一id
@NameInMap("bizId")
public String bizId;
// 发送者
@NameInMap("fromUserId")
public String fromUserId;
// 设备sn
@NameInMap("sn")
public String sn;
// 接收者
@NameInMap("toUserIdList")
public java.util.List toUserIdList;
// 发送消息的类型
@NameInMap("type")
public Long type;
public static SendMessageRequest build(java.util.Map map) throws Exception {
SendMessageRequest self = new SendMessageRequest();
return TeaModel.build(map, self);
}
public SendMessageRequest setBizId(String bizId) {
this.bizId = bizId;
return this;
}
public String getBizId() {
return this.bizId;
}
public SendMessageRequest setFromUserId(String fromUserId) {
this.fromUserId = fromUserId;
return this;
}
public String getFromUserId() {
return this.fromUserId;
}
public SendMessageRequest setSn(String sn) {
this.sn = sn;
return this;
}
public String getSn() {
return this.sn;
}
public SendMessageRequest setToUserIdList(java.util.List toUserIdList) {
this.toUserIdList = toUserIdList;
return this;
}
public java.util.List getToUserIdList() {
return this.toUserIdList;
}
public SendMessageRequest setType(Long type) {
this.type = type;
return this;
}
public Long getType() {
return this.type;
}
}