com.aliyun.dingtalkindustry_1_0.models.PushDingMessageRequest 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.dingtalkindustry_1_0.models;
import com.aliyun.tea.*;
public class PushDingMessageRequest extends TeaModel {
/**
* example:
* 10001
*/
@NameInMap("appId")
public Long appId;
/**
* This parameter is required.
*
* example:
* 消息内容
*/
@NameInMap("content")
public String content;
/**
* This parameter is required.
*
* example:
* CARD
*/
@NameInMap("messageType")
public String messageType;
/**
* example:
*
*/
@NameInMap("messageUrl")
public String messageUrl;
/**
* example:
* http://pic.616pic.com/ys_b_img/00/27/71/Uu8E6C2Edn.jpg
*/
@NameInMap("pictureUrl")
public String pictureUrl;
/**
* example:
* 转跳链接
*/
@NameInMap("singleTitle")
public String singleTitle;
/**
* example:
*
*/
@NameInMap("singleUrl")
public String singleUrl;
/**
* example:
* 消息title
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*/
@NameInMap("userIdList")
public java.util.List userIdList;
public static PushDingMessageRequest build(java.util.Map map) throws Exception {
PushDingMessageRequest self = new PushDingMessageRequest();
return TeaModel.build(map, self);
}
public PushDingMessageRequest setAppId(Long appId) {
this.appId = appId;
return this;
}
public Long getAppId() {
return this.appId;
}
public PushDingMessageRequest setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public PushDingMessageRequest setMessageType(String messageType) {
this.messageType = messageType;
return this;
}
public String getMessageType() {
return this.messageType;
}
public PushDingMessageRequest setMessageUrl(String messageUrl) {
this.messageUrl = messageUrl;
return this;
}
public String getMessageUrl() {
return this.messageUrl;
}
public PushDingMessageRequest setPictureUrl(String pictureUrl) {
this.pictureUrl = pictureUrl;
return this;
}
public String getPictureUrl() {
return this.pictureUrl;
}
public PushDingMessageRequest setSingleTitle(String singleTitle) {
this.singleTitle = singleTitle;
return this;
}
public String getSingleTitle() {
return this.singleTitle;
}
public PushDingMessageRequest setSingleUrl(String singleUrl) {
this.singleUrl = singleUrl;
return this;
}
public String getSingleUrl() {
return this.singleUrl;
}
public PushDingMessageRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public PushDingMessageRequest setUserIdList(java.util.List userIdList) {
this.userIdList = userIdList;
return this;
}
public java.util.List getUserIdList() {
return this.userIdList;
}
}