View Javadoc
1   package com.zone.weixin4j.mp.event;
2   
3   import com.zone.weixin4j.message.event.EventMessage;
4   import com.zone.weixin4j.type.EventType;
5   
6   import javax.xml.bind.annotation.XmlElement;
7   
8   /**
9    * 模板消息事件推送(公众平台)
10   * 
11   * @className TemplatesendjobfinishMessage
12   * @author jinyu(foxinmy@gmail.com)
13   * @date 2014年9月19日
14   * @since JDK 1.6
15   * @see <a
16   *      href="https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1433751277&token=&lang=zh_CN">模板消息事件推送</a>
17   */
18  public class TemplatesendjobfinishMessage extends EventMessage {
19  
20  	private static final long serialVersionUID = -2903359365988594012L;
21  
22  	public TemplatesendjobfinishMessage() {
23  		super(EventType.templatesendjobfinish.name());
24  	}
25  
26  	/**
27  	 * 推送状态 如failed: system failed
28  	 */
29  	@XmlElement(name = "Status")
30  	private String status;
31  
32  	public String getStatus() {
33  		return status;
34  	}
35  
36  	@Override
37  	public String toString() {
38  		return "TemplatesendjobfinishMessage [status=" + status + ", "
39  				+ super.toString() + "]";
40  	}
41  }