All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkedu_1_0.models.SendMessageRequest Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy