类 TimeoffEvent.Builder
java.lang.Object
com.lark.oapi.service.calendar.v4.model.TimeoffEvent.Builder
- 封闭类:
TimeoffEvent
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()description(String description) 自定义请假日程描述,没有设置则为默认日程描述休假结束时间:;有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;;时间戳格式是按小时休假日程,日期格式是全天休假日程;;start_time与end_time格式需保持一致,否则无效。休假开始时间:;有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;;时间戳格式是按小时休假日程,日期格式是全天休假日程;;start_time与end_time格式需保持一致,否则无效。timeoffEventId(String timeoffEventId) 请假日程ID。时区自定义请假日程标题,没有设置则为默认日程标题用户id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
timeoffEventId
请假日程ID。参见[请假日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/timeoff_event/introduction#b6611a02)示例值:timeoff:XXXXXX-XXXX-0917-1623-aa493d591a39-XXXXXX
- 参数:
timeoffEventId-- 返回:
-
userId
用户id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)示例值:ou_XXXXXXXXXX
- 参数:
userId-- 返回:
-
timezone
时区示例值:Asia/Shanghai
- 参数:
timezone-- 返回:
-
startTime
休假开始时间:;有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;;时间戳格式是按小时休假日程,日期格式是全天休假日程;;start_time与end_time格式需保持一致,否则无效。示例值:2021-01-01
- 参数:
startTime-- 返回:
-
endTime
休假结束时间:;有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;;时间戳格式是按小时休假日程,日期格式是全天休假日程;;start_time与end_time格式需保持一致,否则无效。示例值:2021-01-01
- 参数:
endTime-- 返回:
-
title
自定义请假日程标题,没有设置则为默认日程标题示例值:请假中(全天) / 1-Day Time Off
- 参数:
title-- 返回:
-
description
自定义请假日程描述,没有设置则为默认日程描述示例值:若删除此日程,飞书中相应的“请假”标签将自动消失,而请假系统中的休假申请不会被撤销。
- 参数:
description-- 返回:
-
build
-