类 DepartmentCount.Builder

java.lang.Object
com.lark.oapi.service.contact.v3.model.DepartmentCount.Builder
封闭类:
DepartmentCount

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

    • Builder

      public Builder()
  • 方法详细资料

    • departmentId

      public DepartmentCount.Builder departmentId(String departmentId)
      部门ID

      示例值:

      参数:
      departmentId -
      返回:
    • directDepartmentCount

      public DepartmentCount.Builder directDepartmentCount(Integer directDepartmentCount)
      部门下的直属部门数量

      示例值:

      参数:
      directDepartmentCount -
      返回:
    • directUserCount

      public DepartmentCount.Builder directUserCount(Integer directUserCount)
      部门下的直属成员数量,包含部门负责人

      示例值:

      参数:
      directUserCount -
      返回:
    • departmentCount

      public DepartmentCount.Builder departmentCount(Integer departmentCount)
      部门下所有部门的数量,包含递归的子部门

      示例值:

      参数:
      departmentCount -
      返回:
    • userCount

      public DepartmentCount.Builder userCount(Integer userCount)
      部门下所有成员数,包含递归子部门的成员,包含部门负责人

      示例值:

      参数:
      userCount -
      返回:
    • build

      public DepartmentCount build()