public static class CalendarEvent.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
CalendarEvent.Builder |
attendeeAbility(CalendarEventEventAttendeeAbilityEnum attendeeAbility)
参与人权限
示例值:can_see_others
|
CalendarEvent.Builder |
attendeeAbility(String attendeeAbility)
参与人权限
示例值:can_see_others
|
CalendarEvent |
build() |
CalendarEvent.Builder |
color(Integer color)
日程颜色,颜色RGB值的int32表示。
|
CalendarEvent.Builder |
createTime(String createTime)
日程的创建时间(秒级时间戳)
示例值:1602504000
|
CalendarEvent.Builder |
description(String description)
日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失
示例值:日程描述
|
CalendarEvent.Builder |
endTime(TimeInfo endTime)
日程结束时间
示例值:
|
CalendarEvent.Builder |
eventId(String eventId)
日程ID。
|
CalendarEvent.Builder |
freeBusyStatus(CalendarEventEventFreeBusyStatusEnum freeBusyStatus)
日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:busy
|
CalendarEvent.Builder |
freeBusyStatus(String freeBusyStatus)
日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:busy
|
CalendarEvent.Builder |
isException(Boolean isException)
日程是否是一个重复日程的例外日程
示例值:false
|
CalendarEvent.Builder |
location(EventLocation location)
日程地点
示例值:
|
CalendarEvent.Builder |
needNotification(Boolean needNotification)
更新日程是否给日程参与人发送bot通知,默认为true
示例值:false
|
CalendarEvent.Builder |
organizerCalendarId(String organizerCalendarId)
日程组织者日历ID。
|
CalendarEvent.Builder |
recurrence(String recurrence)
重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);;-
不支持COUNT和UNTIL同时出现;;- 预定会议室重复日程长度不得超过两年。
|
CalendarEvent.Builder |
recurringEventId(String recurringEventId)
例外日程的原重复日程的event_id
示例值:1cd45aaa-fa70-4195-80b7-c93b2e208f45
|
CalendarEvent.Builder |
reminders(Reminder[] reminders)
日程提醒列表
示例值:
|
CalendarEvent.Builder |
schemas(Schema[] schemas)
日程自定义信息;控制日程详情页的ui展示。
|
CalendarEvent.Builder |
startTime(TimeInfo startTime)
日程开始时间
示例值:
|
CalendarEvent.Builder |
status(CalendarEventEventStatusEnum status)
日程状态
示例值:confirmed
|
CalendarEvent.Builder |
status(String status)
日程状态
示例值:confirmed
|
CalendarEvent.Builder |
summary(String summary)
日程标题
示例值:日程标题
|
CalendarEvent.Builder |
vchat(Vchat vchat)
视频会议信息。
|
CalendarEvent.Builder |
visibility(CalendarEventEventVisibilityEnum visibility)
日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:default
|
CalendarEvent.Builder |
visibility(String visibility)
日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:default
|
public CalendarEvent.Builder eventId(String eventId)
示例值:00592a0e-7edf-4678-bc9d-1b77383ef08e_0
eventId - public CalendarEvent.Builder organizerCalendarId(String organizerCalendarId)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
organizerCalendarId - public CalendarEvent.Builder summary(String summary)
示例值:日程标题
summary - public CalendarEvent.Builder description(String description)
示例值:日程描述
description - public CalendarEvent.Builder needNotification(Boolean needNotification)
示例值:false
needNotification - public CalendarEvent.Builder startTime(TimeInfo startTime)
示例值:
startTime - public CalendarEvent.Builder endTime(TimeInfo endTime)
示例值:
endTime - public CalendarEvent.Builder vchat(Vchat vchat)
示例值:
vchat - public CalendarEvent.Builder visibility(String visibility)
示例值:default
visibility - public CalendarEvent.Builder visibility(CalendarEventEventVisibilityEnum visibility)
示例值:default
visibility - CalendarEventEventVisibilityEnumpublic CalendarEvent.Builder attendeeAbility(String attendeeAbility)
示例值:can_see_others
attendeeAbility - public CalendarEvent.Builder attendeeAbility(CalendarEventEventAttendeeAbilityEnum attendeeAbility)
示例值:can_see_others
attendeeAbility - CalendarEventEventAttendeeAbilityEnumpublic CalendarEvent.Builder freeBusyStatus(String freeBusyStatus)
示例值:busy
freeBusyStatus - public CalendarEvent.Builder freeBusyStatus(CalendarEventEventFreeBusyStatusEnum freeBusyStatus)
示例值:busy
freeBusyStatus - CalendarEventEventFreeBusyStatusEnumpublic CalendarEvent.Builder location(EventLocation location)
示例值:
location - public CalendarEvent.Builder color(Integer color)
示例值:-1
color - public CalendarEvent.Builder reminders(Reminder[] reminders)
示例值:
reminders - public CalendarEvent.Builder recurrence(String recurrence)
示例值:FREQ=DAILY;INTERVAL=1
recurrence - public CalendarEvent.Builder status(String status)
示例值:confirmed
status - public CalendarEvent.Builder status(CalendarEventEventStatusEnum status)
示例值:confirmed
status - CalendarEventEventStatusEnumpublic CalendarEvent.Builder isException(Boolean isException)
示例值:false
isException - public CalendarEvent.Builder recurringEventId(String recurringEventId)
示例值:1cd45aaa-fa70-4195-80b7-c93b2e208f45
recurringEventId - public CalendarEvent.Builder createTime(String createTime)
示例值:1602504000
createTime - public CalendarEvent.Builder schemas(Schema[] schemas)
示例值:
schemas - public CalendarEvent build()
Copyright © 2022. All rights reserved.