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 {
/**
* This parameter is required.
*
* example:
* 123123123123
*/
@NameInMap("bizId")
public String bizId;
/**
* This parameter is required.
*
* example:
* 123456
*/
@NameInMap("fromUserId")
public String fromUserId;
/**
* This parameter is required.
*
* example:
* SN123456
*/
@NameInMap("sn")
public String sn;
/**
* This parameter is required.
*/
@NameInMap("toUserIdList")
public java.util.List toUserIdList;
/**
* This parameter is required.
*
* example:
* 1
*/
@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;
}
}