类 OkrObjective.Builder
java.lang.Object
com.lark.oapi.service.okr.v1.model.OkrObjective.Builder
- 封闭类:
OkrObjective
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明alignedObjectiveList(OkrObjectiveAlignedObjective[] alignedObjectiveList) 对齐到该Objective的Objective列表aligningObjectiveList(OkrObjectiveAlignedObjective[] aligningObjectiveList) 该Objective对齐到的Objective列表build()Objective 内容截止时间 毫秒Objective IDkrList(OkrObjectiveKr[] krList) Objective KeyResult 列表mentionedUserList(OkrObjectiveAlignedObjectiveOwner[] mentionedUserList) 该Objective提到的人员列表permission(OkrObjectiveAccessPermissionEnum permission) 权限permission(Integer permission) 权限progressRate(OkrObjectiveProgressRate progressRate) Objective进度progressRatePercentLastUpdatedTime(String progressRatePercentLastUpdatedTime) 最后一次进度百分比更新时间 毫秒progressRateStatusLastUpdatedTime(String progressRateStatusLastUpdatedTime) 最后一次状态更新时间 毫秒progressRecordLastUpdatedTime(String progressRecordLastUpdatedTime) 最后一次在侧边栏新增或者编辑进展的时间 毫秒progressRecordList(ProgressRecordSimplify[] progressRecordList) 该Objective的进度列表progressReport(String progressReport) Objective 备注内容progressReportLastUpdatedTime(String progressReportLastUpdatedTime) 最后一次编辑备注的时间 毫秒Objective 分数(0 - 100)scoreLastUpdatedTime(String scoreLastUpdatedTime) 最后一次打分更新时间 毫秒Objective的权重(0 - 100)
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
id
Objective ID示例值:1231231231231
- 参数:
id-- 返回:
-
permission
权限示例值:0
- 参数:
permission-- 返回:
-
permission
权限示例值:0
- 参数:
permission-OkrObjectiveAccessPermissionEnum- 返回:
-
content
Objective 内容示例值:Objective 内容
- 参数:
content-- 返回:
-
progressReport
Objective 备注内容示例值:Objective 进度记录内容
- 参数:
progressReport-- 返回:
-
score
Objective 分数(0 - 100)示例值:100
- 参数:
score-- 返回:
-
weight
Objective的权重(0 - 100)示例值:33.33
- 参数:
weight-- 返回:
-
progressRate
Objective进度示例值:
- 参数:
progressRate-- 返回:
-
krList
Objective KeyResult 列表示例值:
- 参数:
krList-- 返回:
-
alignedObjectiveList
public OkrObjective.Builder alignedObjectiveList(OkrObjectiveAlignedObjective[] alignedObjectiveList) 对齐到该Objective的Objective列表示例值:
- 参数:
alignedObjectiveList-- 返回:
-
aligningObjectiveList
public OkrObjective.Builder aligningObjectiveList(OkrObjectiveAlignedObjective[] aligningObjectiveList) 该Objective对齐到的Objective列表示例值:
- 参数:
aligningObjectiveList-- 返回:
-
progressRecordList
该Objective的进度列表示例值:
- 参数:
progressRecordList-- 返回:
-
progressRatePercentLastUpdatedTime
public OkrObjective.Builder progressRatePercentLastUpdatedTime(String progressRatePercentLastUpdatedTime) 最后一次进度百分比更新时间 毫秒示例值:1618500278663
- 参数:
progressRatePercentLastUpdatedTime-- 返回:
-
progressRateStatusLastUpdatedTime
public OkrObjective.Builder progressRateStatusLastUpdatedTime(String progressRateStatusLastUpdatedTime) 最后一次状态更新时间 毫秒示例值:1618500278663
- 参数:
progressRateStatusLastUpdatedTime-- 返回:
-
progressRecordLastUpdatedTime
最后一次在侧边栏新增或者编辑进展的时间 毫秒示例值:1618500278663
- 参数:
progressRecordLastUpdatedTime-- 返回:
-
progressReportLastUpdatedTime
最后一次编辑备注的时间 毫秒示例值:1618500278663
- 参数:
progressReportLastUpdatedTime-- 返回:
-
scoreLastUpdatedTime
最后一次打分更新时间 毫秒示例值:1618500278663
- 参数:
scoreLastUpdatedTime-- 返回:
-
deadline
截止时间 毫秒示例值:1618500278663
- 参数:
deadline-- 返回:
-
mentionedUserList
public OkrObjective.Builder mentionedUserList(OkrObjectiveAlignedObjectiveOwner[] mentionedUserList) 该Objective提到的人员列表示例值:
- 参数:
mentionedUserList-- 返回:
-
build
-