类 ListFreebusyReqBody.Builder

java.lang.Object
com.lark.oapi.service.calendar.v4.model.ListFreebusyReqBody.Builder
封闭类:
ListFreebusyReqBody

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

    • Builder

      public Builder()
  • 方法详细资料

    • timeMin

      public ListFreebusyReqBody.Builder timeMin(String timeMin)
      查询时段开始时间,需要url编码

      示例值:2020-10-28T12:00:00+08:00

      参数:
      timeMin -
      返回:
    • timeMax

      public ListFreebusyReqBody.Builder timeMax(String timeMax)
      查询时段结束时间,需要url编码

      示例值:2020-12-28T12:00:00+08:00

      参数:
      timeMax -
      返回:
    • userId

      public ListFreebusyReqBody.Builder userId(String userId)
      用户user_id,输入时与 room_id 二选一。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)

      示例值:ou_xxxxxxxxxx

      参数:
      userId -
      返回:
    • roomId

      public ListFreebusyReqBody.Builder roomId(String roomId)
      会议室room_id,输入时与 user_id 二选一

      示例值:omm_xxxxxxxxxx

      参数:
      roomId -
      返回:
    • build

      public ListFreebusyReqBody build()