com.aliyun.dingtalkimpaas_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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkimpaas_1_0.models;
import com.aliyun.tea.*;
public class SendMessageRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("content")
public String content;
@NameInMap("conversationId")
public String conversationId;
@NameInMap("createTime")
public Long createTime;
@NameInMap("receiverUid")
public String receiverUid;
/**
* This parameter is required.
*/
@NameInMap("senderUid")
public String senderUid;
/**
* This parameter is required.
*/
@NameInMap("uuid")
public String uuid;
public static SendMessageRequest build(java.util.Map map) throws Exception {
SendMessageRequest self = new SendMessageRequest();
return TeaModel.build(map, self);
}
public SendMessageRequest setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public SendMessageRequest setConversationId(String conversationId) {
this.conversationId = conversationId;
return this;
}
public String getConversationId() {
return this.conversationId;
}
public SendMessageRequest setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public SendMessageRequest setReceiverUid(String receiverUid) {
this.receiverUid = receiverUid;
return this;
}
public String getReceiverUid() {
return this.receiverUid;
}
public SendMessageRequest setSenderUid(String senderUid) {
this.senderUid = senderUid;
return this;
}
public String getSenderUid() {
return this.senderUid;
}
public SendMessageRequest setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
}