类 InputComment.Builder

java.lang.Object
com.lark.oapi.service.task.v2.model.InputComment.Builder
封闭类:
InputComment

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

    • Builder

      public Builder()
  • 方法详细资料

    • content

      public InputComment.Builder content(String content)
      评论内容

      示例值:举杯邀明月,对影成三人

      参数:
      content -
      返回:
    • replyToCommentId

      public InputComment.Builder replyToCommentId(String replyToCommentId)
      回复给评论的id

      示例值:6937231762296684564

      参数:
      replyToCommentId -
      返回:
    • resourceType

      public InputComment.Builder resourceType(String resourceType)
      评论归属的资源类型

      示例值:task

      参数:
      resourceType -
      返回:
    • resourceId

      public InputComment.Builder resourceId(String resourceId)
      评论归属的资源ID

      示例值:ccb55625-95d2-2e80-655f-0e40bf67953f

      参数:
      resourceId -
      返回:
    • build

      public InputComment build()