@@ -33,6 +33,11 @@ public class WxCpOaSchedule implements Serializable, ToJson {
33
33
*/
34
34
@ SerializedName ("organizer" )
35
35
private String organizer ;
36
+ /**
37
+ * 管理员userid列表
38
+ */
39
+ @ SerializedName ("admins" )
40
+ private List <String > admins ;
36
41
/**
37
42
* 日程参与者列表。最多支持2000人
38
43
*/
@@ -70,7 +75,7 @@ public class WxCpOaSchedule implements Serializable, ToJson {
70
75
@ SerializedName ("end_time" )
71
76
private Long endTime ;
72
77
/**
73
- *
78
+ * 日程状态。0-正常;1-已取消
74
79
*/
75
80
@ SerializedName ("status" )
76
81
private Integer status ;
@@ -83,6 +88,11 @@ public class WxCpOaSchedule implements Serializable, ToJson {
83
88
*/
84
89
@ SerializedName ("cal_id" )
85
90
private String calId ;
91
+ /**
92
+ * 是否全天日程,0-否;1-是
93
+ */
94
+ @ SerializedName ("is_whole_day" )
95
+ private Integer isWholeDay ;
86
96
87
97
@ Override
88
98
public String toJson () {
@@ -140,9 +150,18 @@ public static class Reminder implements Serializable {
140
150
* 900 - 事件开始前15分钟
141
151
* 3600 - 事件开始前1小时
142
152
* 86400 - 事件开始前1天
153
+ * 注意:建议使用 remind_time_diffs 字段,该字段后续将会废弃。
143
154
*/
144
155
@ SerializedName ("remind_before_event_secs" )
145
156
private Integer remindBeforeEventSecs ;
157
+ /**
158
+ * 提醒时间与日程开始时间(start_time)的差值,当is_remind为1时有效。例如:-300表示日程开始前5分钟提醒。
159
+ * 特殊情况:企业微信终端设置的“全天”类型的日程,由于start_time是0点时间戳,提醒如果设置了当天9点,则会出现正数32400。
160
+ * <br/>
161
+ * 取值范围:-604800 ~ 86399
162
+ */
163
+ @ SerializedName ("remind_time_diffs" )
164
+ private List <Integer > remindTimeDiffs ;
146
165
/**
147
166
* 重复类型,当is_repeat为1时有效。目前支持如下类型:
148
167
* 0 - 每日
@@ -195,5 +214,21 @@ public static class Reminder implements Serializable {
195
214
*/
196
215
@ SerializedName ("timezone" )
197
216
private Integer timezone ;
217
+ /**
218
+ * 重复日程不包含的日期列表。对重复日程修改/删除特定一天或多天,则原来的日程将会排除对应的日期。
219
+ */
220
+ @ SerializedName ("exclude_time_list" )
221
+ private List <ExcludeTime > excludeTimeList ;
222
+
223
+ @ Data
224
+ @ Accessors (chain = true )
225
+ public static class ExcludeTime implements Serializable {
226
+ private static final long serialVersionUID = 5030527150838243359L ;
227
+ /**
228
+ * 不包含的日期时间戳。
229
+ */
230
+ @ SerializedName ("start_time" )
231
+ private Long startTime ;
232
+ }
198
233
}
199
234
}
0 commit comments