We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2d39f commit 6a4ee46Copy full SHA for 6a4ee46
src/main/java/com/tencent/xinge/bean/AccountPushType.java
@@ -0,0 +1,28 @@
1
+package com.tencent.xinge.bean;
2
+
3
+import com.fasterxml.jackson.annotation.JsonValue;
4
5
+public enum AccountPushType {
6
+ latest_device_of_singe_account(0, "往单个账号的最新的device上推送信息"),
7
+ all_devices_of_singe_account(1, "往单个账号关联的所有device设备上推送信息"),
8
9
+ ;
10
+ AccountPushType(int type, String name) {
11
+ this.type = type;
12
+ this.name = name;
13
+ }
14
15
+ @JsonValue
16
+ public int getType() {
17
+ return type;
18
19
20
+ public String getName() {
21
+ return name;
22
23
24
+ private int type;
25
26
+ private String name;
27
28
+}
0 commit comments