com.alipay.api.domain.AlipayOpenPublicMessageCustomSendModel Maven / Gradle / Ivy
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 异步单发消息
*
* @author auto create
* @since 1.0, 2017-03-27 10:56:03
*/
public class AlipayOpenPublicMessageCustomSendModel extends AlipayObject {
private static final long serialVersionUID = 2111666642751975861L;
/**
* 图文消息,当msg_type为image-text时,必须存在相对应的值
*/
@ApiListField("articles")
@ApiField("article")
private List articles;
/**
* 是否是聊天消息。支持值:0,1,当值为0时,代表是非聊天消息,消息显示在生活号主页,当值为1时,代表是聊天消息,消息显示在咨询反馈列表页。默认值为0
*/
@ApiField("chat")
private String chat;
/**
* 消息类型,text:文本消息,image-text:图文消息
*/
@ApiField("msg_type")
private String msgType;
/**
* 当msg_type为text时,必须设置相对应的值
*/
@ApiField("text")
private Text text;
/**
* 消息接收用户的userid
*/
@ApiField("to_user_id")
private String toUserId;
public List getArticles() {
return this.articles;
}
public void setArticles(List articles) {
this.articles = articles;
}
public String getChat() {
return this.chat;
}
public void setChat(String chat) {
this.chat = chat;
}
public String getMsgType() {
return this.msgType;
}
public void setMsgType(String msgType) {
this.msgType = msgType;
}
public Text getText() {
return this.text;
}
public void setText(Text text) {
this.text = text;
}
public String getToUserId() {
return this.toUserId;
}
public void setToUserId(String toUserId) {
this.toUserId = toUserId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy