public class Calendar extends Object
public Calendar(Config config)
public CreateCalendarResp create(CreateCalendarReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/create ;
Exceptionpublic CreateCalendarResp create(CreateCalendarReq req) throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/create ;
Exceptionpublic DeleteCalendarResp delete(DeleteCalendarReq req, RequestOptions reqOptions) throws Exception
当前身份必须对日历具有 owner 权限。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/delete ;
Exceptionpublic DeleteCalendarResp delete(DeleteCalendarReq req) throws Exception
当前身份必须对日历具有 owner 权限。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/delete ;
Exceptionpublic GetCalendarResp get(GetCalendarReq req, RequestOptions reqOptions) throws Exception
当前身份必须对日历有访问权限。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get ;
Exceptionpublic GetCalendarResp get(GetCalendarReq req) throws Exception
当前身份必须对日历有访问权限。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get ;
Exceptionpublic ListCalendarResp list(ListCalendarReq req, RequestOptions reqOptions) throws Exception
调用时首先使用 page_token 分页拉取存量数据,之后使用 sync_token 增量同步变更数据。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/list ;
Exceptionpublic ListCalendarResp list(ListCalendarReq req) throws Exception
调用时首先使用 page_token 分页拉取存量数据,之后使用 sync_token 增量同步变更数据。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/list ;
Exceptionpublic MgetCalendarResp mget(MgetCalendarReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic MgetCalendarResp mget(MgetCalendarReq req) throws Exception
Exceptionpublic PatchCalendarResp patch(PatchCalendarReq req, RequestOptions reqOptions) throws Exception
当前身份对日历有 owner 权限时,可修改全局字段:summary, description, permission。;;当前身份对日历不具有 owner 权限时,仅可修改对自己生效的字段:color, summary_alias。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/patch ;
Exceptionpublic PatchCalendarResp patch(PatchCalendarReq req) throws Exception
当前身份对日历有 owner 权限时,可修改全局字段:summary, description, permission。;;当前身份对日历不具有 owner 权限时,仅可修改对自己生效的字段:color, summary_alias。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/patch ;
Exceptionpublic PrimaryCalendarResp primary(PrimaryCalendarReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/primary ;
Exceptionpublic PrimaryCalendarResp primary(PrimaryCalendarReq req) throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/primary ;
Exceptionpublic PrimarysCalendarResp primarys(PrimarysCalendarReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic PrimarysCalendarResp primarys(PrimarysCalendarReq req) throws Exception
Exceptionpublic SearchCalendarResp search(SearchCalendarReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/search ;
Exceptionpublic SearchCalendarResp search(SearchCalendarReq req) throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/search ;
Exceptionpublic SubscribeCalendarResp subscribe(SubscribeCalendarReq req, RequestOptions reqOptions) throws Exception
- 仅可订阅类型为 primary 或 shared 的公开日历。;- 可订阅日历数量上限为1000。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/subscribe ;
Exceptionpublic SubscribeCalendarResp subscribe(SubscribeCalendarReq req) throws Exception
- 仅可订阅类型为 primary 或 shared 的公开日历。;- 可订阅日历数量上限为1000。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/subscribe ;
Exceptionpublic SubscriptionCalendarResp subscription(RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/subscription ;
Exceptionpublic SubscriptionCalendarResp subscription() throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/subscription ;
Exceptionpublic UnsubscribeCalendarResp unsubscribe(UnsubscribeCalendarReq req, RequestOptions reqOptions) throws Exception
仅可操作已经被当前身份订阅的日历。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/unsubscribe ;
Exceptionpublic UnsubscribeCalendarResp unsubscribe(UnsubscribeCalendarReq req) throws Exception
仅可操作已经被当前身份订阅的日历。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/unsubscribe ;
Exceptionpublic UnsubscriptionCalendarResp unsubscription(RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/unsubscription ;
Exceptionpublic UnsubscriptionCalendarResp unsubscription() throws Exception
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/unsubscription ;
ExceptionCopyright © 2025. All rights reserved.