1 package com.foxinmy.weixin4j.mp.type;
2
3 import com.foxinmy.weixin4j.mp.datacube.ArticleDatacubeShare;
4 import com.foxinmy.weixin4j.mp.datacube.ArticleSummary;
5 import com.foxinmy.weixin4j.mp.datacube.ArticleTotal;
6 import com.foxinmy.weixin4j.mp.datacube.InterfaceSummary;
7 import com.foxinmy.weixin4j.mp.datacube.UpstreamMsg;
8 import com.foxinmy.weixin4j.mp.datacube.UpstreamMsgDist;
9 import com.foxinmy.weixin4j.mp.datacube.UserSummary;
10
11
12
13
14
15
16
17
18
19
20 public enum DatacubeType {
21
22
23
24 GETUSERSUMMARY(UserSummary.class),
25
26
27
28 GETUSERCUMULATE(UserSummary.class),
29
30
31
32 GETARTICLESUMMARY(ArticleSummary.class),
33
34
35
36 GETARTICLETOTAL(ArticleTotal.class),
37
38
39
40
41
42
43 GETUSERREAD(ArticleSummary.class),
44
45
46
47 GETUSERREADHOUR(ArticleSummary.class),
48
49
50
51 GETUSERSHARE(ArticleDatacubeShare.class),
52
53
54
55 GETUSERSHAREHOUR(ArticleDatacubeShare.class),
56
57
58
59
60 GETUPSTREAMMSG(UpstreamMsg.class),
61
62
63
64 GETUPSTREAMMSGHOUR(UpstreamMsg.class),
65
66
67
68
69
70
71
72 GETUPSTREAMMSGWEEK(UpstreamMsg.class),
73
74
75
76 GETUPSTREAMMSGMONTH(UpstreamMsg.class),
77
78
79
80
81 GETUPSTREAMMSGDIST(UpstreamMsgDist.class),
82
83
84
85
86 GETUPSTREAMMSGDISTWEEK(UpstreamMsgDist.class),
87
88
89
90
91 GETUPSTREAMMSGDISTMONTH(UpstreamMsgDist.class),
92
93
94
95 GETINTERFACESUMMARY(InterfaceSummary.class),
96
97
98
99 GETINTERFACESUMMARYHOUR(InterfaceSummary.class);
100
101 private Class<?> clazz;
102
103 DatacubeType(Class<?> clazz) {
104 this.clazz = clazz;
105 }
106
107 public Class<?> getClazz() {
108 return clazz;
109 }
110 }