类 HiberarchyCommon.Builder
java.lang.Object
com.lark.oapi.service.corehr.v1.model.HiberarchyCommon.Builder
- 封闭类:
HiberarchyCommon
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明是否启用build()编码customFields(ObjectFieldData[] customFields) 自定义字段description(I18n[] description) 描述effectiveTime(String effectiveTime) 生效时间expirationTime(String expirationTime) 失效时间列表排序,代表所有部门的混排序号名称上级组织 ID树形排序,代表同层级的部门排序序号组织类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)组织类型(organization_type)枚举定义部分获得
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
parentId
上级组织 ID示例值:4719168654814483759
- 参数:
parentId-- 返回:
-
name
名称示例值:
- 参数:
name-- 返回:
-
type
组织类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)组织类型(organization_type)枚举定义部分获得示例值:
- 参数:
type-- 返回:
-
active
是否启用示例值:true
- 参数:
active-- 返回:
-
effectiveTime
生效时间示例值:2020-05-01 00:00:00
- 参数:
effectiveTime-- 返回:
-
expirationTime
失效时间示例值:2020-05-02 00:00:00
- 参数:
expirationTime-- 返回:
-
code
编码示例值:12456
- 参数:
code-- 返回:
-
description
描述示例值:
- 参数:
description-- 返回:
-
treeOrder
树形排序,代表同层级的部门排序序号示例值:001000
- 参数:
treeOrder-- 返回:
-
listOrder
列表排序,代表所有部门的混排序号示例值:001000-001000
- 参数:
listOrder-- 返回:
-
customFields
自定义字段示例值:
- 参数:
customFields-- 返回:
-
build
-