类 Kr.Builder

java.lang.Object
com.lark.oapi.service.okr.v1.model.Kr.Builder
封闭类:
Kr

public static class Kr.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • id

      public Kr.Builder id(String id)
      KeyResult ID

      示例值:

      参数:
      id -
      返回:
    • pos

      public Kr.Builder pos(String pos)
      KeyResult 在所属 Objective 中的排序

      示例值:

      参数:
      pos -
      返回:
    • score

      public Kr.Builder score(String score)
      KeyResult 评分,返回值为百分制分数,需要除以 100 以获得 OKR 页面上显示的 1 分制分数

      示例值:

      参数:
      score -
      返回:
    • weight

      public Kr.Builder weight(String weight)
      KeyResult 的权重

      示例值:

      参数:
      weight -
      返回:
    • content

      public Kr.Builder content(KrContent content)
      KeyResult 对应的 Content 详细内容

      示例值:

      参数:
      content -
      返回:
    • createTime

      public Kr.Builder createTime(Integer createTime)
      KeyResult 的创建时间 毫秒

      示例值:

      参数:
      createTime -
      返回:
    • modifyTime

      public Kr.Builder modifyTime(Integer modifyTime)
      KeyResult 的最后修改时间 毫秒

      示例值:

      参数:
      modifyTime -
      返回:
    • build

      public Kr build()