com.aliyun.dingtalkflashmsg_1_0.models.SendDingTipRequest 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.dingtalkflashmsg_1_0.models;
import com.aliyun.tea.*;
public class SendDingTipRequest extends TeaModel {
@NameInMap("extension")
public java.util.Map extension;
@NameInMap("link")
public SendDingTipRequestLink link;
/**
* This parameter is required.
*
* example:
* msg_f9aae78558b34e20a5badead4c29244c_223
*/
@NameInMap("messageId")
public String messageId;
/**
* This parameter is required.
*/
@NameInMap("receiverUserId")
public java.util.List receiverUserId;
/**
* example:
* 080854121612261721
*/
@NameInMap("senderUserId")
public String senderUserId;
/**
* This parameter is required.
*
* example:
* 您有一条闪读消息,请注意查收XX
*/
@NameInMap("textContent")
public String textContent;
public static SendDingTipRequest build(java.util.Map map) throws Exception {
SendDingTipRequest self = new SendDingTipRequest();
return TeaModel.build(map, self);
}
public SendDingTipRequest setExtension(java.util.Map extension) {
this.extension = extension;
return this;
}
public java.util.Map getExtension() {
return this.extension;
}
public SendDingTipRequest setLink(SendDingTipRequestLink link) {
this.link = link;
return this;
}
public SendDingTipRequestLink getLink() {
return this.link;
}
public SendDingTipRequest setMessageId(String messageId) {
this.messageId = messageId;
return this;
}
public String getMessageId() {
return this.messageId;
}
public SendDingTipRequest setReceiverUserId(java.util.List receiverUserId) {
this.receiverUserId = receiverUserId;
return this;
}
public java.util.List getReceiverUserId() {
return this.receiverUserId;
}
public SendDingTipRequest setSenderUserId(String senderUserId) {
this.senderUserId = senderUserId;
return this;
}
public String getSenderUserId() {
return this.senderUserId;
}
public SendDingTipRequest setTextContent(String textContent) {
this.textContent = textContent;
return this;
}
public String getTextContent() {
return this.textContent;
}
public static class SendDingTipRequestLink extends TeaModel {
@NameInMap("extension")
public java.util.Map extension;
/**
* This parameter is required.
*
* example:
* dingtalk://dingtalkclient/page/link?pc_slide=true
*/
@NameInMap("linkUrl")
public String linkUrl;
/**
* example:
* @lQLPDhrngMo4hi3NAZDNAZCwqp0RL2MfbesBqImWncBnAA2BCD
*/
@NameInMap("picMediaId")
public String picMediaId;
/**
* This parameter is required.
*
* example:
* 今天 10:00后超期
*/
@NameInMap("text")
public String text;
public static SendDingTipRequestLink build(java.util.Map map) throws Exception {
SendDingTipRequestLink self = new SendDingTipRequestLink();
return TeaModel.build(map, self);
}
public SendDingTipRequestLink setExtension(java.util.Map extension) {
this.extension = extension;
return this;
}
public java.util.Map getExtension() {
return this.extension;
}
public SendDingTipRequestLink setLinkUrl(String linkUrl) {
this.linkUrl = linkUrl;
return this;
}
public String getLinkUrl() {
return this.linkUrl;
}
public SendDingTipRequestLink setPicMediaId(String picMediaId) {
this.picMediaId = picMediaId;
return this;
}
public String getPicMediaId() {
return this.picMediaId;
}
public SendDingTipRequestLink setText(String text) {
this.text = text;
return this;
}
public String getText() {
return this.text;
}
}
}