类 Department.Builder
java.lang.Object
com.lark.oapi.service.corehr.v2.model.Department.Builder
- 封闭类:
Department
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明是否启用build()编码customFields(CustomFieldData[] customFields) 自定义字段departmentName(I18n[] departmentName) 部门名称description(I18n[] description) 描述effectiveDate(String effectiveDate) 生效日期expirationDate(String expirationDate) 失效日期部门 IDisConfidential(Boolean isConfidential) 是否保密是否根部门列表排序,代表所有部门的混排序号部门负责人雇佣 ID,枚举值及详细信息可通过【查询员工信息】接口查询获得parentDepartmentId(String parentDepartmentId) 上级部门 IDstaffingModel(Enum staffingModel) 是否使用职务部门类型,枚举值可通过文档【飞书人事枚举常量】部门子类型(department_sub_type)枚举定义部分获得树形排序,代表同层级的部门排序序号部门记录版本 ID
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
id
部门 ID示例值:4719456877659520852
- 参数:
id-- 返回:
-
versionId
部门记录版本 ID示例值:6890452208593372611
- 参数:
versionId-- 返回:
-
departmentName
部门名称示例值:
- 参数:
departmentName-- 返回:
-
subType
部门类型,枚举值可通过文档【飞书人事枚举常量】部门子类型(department_sub_type)枚举定义部分获得示例值:
- 参数:
subType-- 返回:
-
parentDepartmentId
上级部门 ID示例值:4719456877659520111
- 参数:
parentDepartmentId-- 返回:
-
manager
部门负责人雇佣 ID,枚举值及详细信息可通过【查询员工信息】接口查询获得示例值:6893013238632416777
- 参数:
manager-- 返回:
-
treeOrder
树形排序,代表同层级的部门排序序号示例值:001000
- 参数:
treeOrder-- 返回:
-
listOrder
列表排序,代表所有部门的混排序号示例值:001000-001000
- 参数:
listOrder-- 返回:
-
code
编码示例值:D00000456
- 参数:
code-- 返回:
-
isRoot
是否根部门示例值:false
- 参数:
isRoot-- 返回:
-
isConfidential
是否保密示例值:false
- 参数:
isConfidential-- 返回:
-
effectiveDate
生效日期示例值:2020-05-01
- 参数:
effectiveDate-- 返回:
-
expirationDate
失效日期示例值:2020-05-02
- 参数:
expirationDate-- 返回:
-
active
是否启用示例值:true
- 参数:
active-- 返回:
-
description
描述示例值:
- 参数:
description-- 返回:
-
customFields
自定义字段示例值:
- 参数:
customFields-- 返回:
-
staffingModel
是否使用职务示例值:
- 参数:
staffingModel-- 返回:
-
build
-