-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathMessageIOS.java
More file actions
48 lines (35 loc) · 1.05 KB
/
MessageIOS.java
File metadata and controls
48 lines (35 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.tencent.xinge.bean;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.tencent.xinge.bean.ios.Aps;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MessageIOS {
@JsonProperty(value = "aps", required = true)
@ApiModelProperty(notes = "苹果推送服务(APNs)特有的消息体字段")
private Aps aps;
@JsonProperty(value = "custom")
@ApiModelProperty(notes = "自定义下发的参数")
private Object custom;
@JsonProperty(value = "xg")
@ApiModelProperty(notes = "系统保留key,应避免使用")
private String xg;
public Object getCustom() {
return custom;
}
public void setCustom(Object custom) {
this.custom = custom;
}
public String getXg() {
return xg;
}
public void setXg(String xg) {
this.xg = xg;
}
public Aps getAps() {
return aps;
}
public void setAps(Aps aps) {
this.aps = aps;
}
}