View Javadoc
1   package com.foxinmy.weixin4j.wxa.model.custommessage;
2   
3   import java.io.Serializable;
4   
5   import com.foxinmy.weixin4j.tuple.NotifyTuple;
6   
7   /**
8    * 客服消息。
9    *
10   * @since 1.8
11   */
12  public class CustomMessage implements Serializable {
13  
14  	private static final long serialVersionUID = 2018052901L;
15  
16  	private String toUser;
17  
18  	private NotifyTuple tuple;
19  
20  	public String getToUser() {
21  		return toUser;
22  	}
23  
24  	public void setToUser(String toUser) {
25  		this.toUser = toUser;
26  	}
27  
28  	public NotifyTuple getTuple() {
29  		return tuple;
30  	}
31  
32  	/**
33  	 * The {@link NotifyTuple}.
34  	 *
35  	 * @param tuple the tuple.
36  	 * @see Text
37  	 * @see Image
38  	 * @see Link
39  	 * @see MiniProgramPage
40  	 */
41  	public void setTuple(NotifyTuple tuple) {
42  		this.tuple = tuple;
43  	}
44  
45  }