类 Okr.Builder
java.lang.Object
com.lark.oapi.service.docx.v1.model.Okr.Builder
- 封闭类:
Okr
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()objectives(ObjectiveIdWithKrId[] objectives) OKR Block 中的 Objective ID 和 Key Result ID,此值为空时插入 OKR 下所有的 Objective 和 Key ResultOKR ID,获取需要插入的 OKR ID 可见[获取用户的 OKR 列表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/user-okr/list)periodDisplayStatus(OkrOkrPeriodDisplayStatusEnum periodDisplayStatus) 周期的状态periodDisplayStatus(String periodDisplayStatus) 周期的状态periodNameEn(String periodNameEn) 周期名 - 英文periodNameZh(String periodNameZh) 周期名 - 中文OKR 所属的用户 IDvisibleSetting(OkrVisibleSetting visibleSetting) 可见性设置
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
okrId
OKR ID,获取需要插入的 OKR ID 可见[获取用户的 OKR 列表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/user-okr/list)示例值:7076349900476448796
- 参数:
okrId-- 返回:
-
objectives
OKR Block 中的 Objective ID 和 Key Result ID,此值为空时插入 OKR 下所有的 Objective 和 Key Result示例值:
- 参数:
objectives-- 返回:
-
periodDisplayStatus
周期的状态示例值:"default"
- 参数:
periodDisplayStatus-- 返回:
-
periodDisplayStatus
周期的状态示例值:"default"
- 参数:
periodDisplayStatus-OkrOkrPeriodDisplayStatusEnum- 返回:
-
periodNameZh
周期名 - 中文示例值:"2022 年 4 月 - 6 月"
- 参数:
periodNameZh-- 返回:
-
periodNameEn
周期名 - 英文示例值:"Apr - Jun 2022"
- 参数:
periodNameEn-- 返回:
-
userId
OKR 所属的用户 ID示例值:"ou_3bbe8a09c20e89cce9bff989ed840674"
- 参数:
userId-- 返回:
-
visibleSetting
可见性设置示例值:
- 参数:
visibleSetting-- 返回:
-
build
-