类 Department.Builder
java.lang.Object
com.lark.oapi.service.corehr.v1.model.Department.Builder
- 封闭类:
Department
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()costCenterId(String costCenterId) 成本中心idcustomFields(ObjectFieldData[] customFields) 自定义字段effectiveTime(String effectiveTime) 生效时间expirationTime(String expirationTime) 失效时间hiberarchyCommon(HiberarchyCommon hiberarchyCommon) 层级关系,内层字段见实体部门 IDisConfidential(Boolean isConfidential) 是否保密部门负责人 ID,枚举值及详细信息可通过【批量查询雇佣信息】接口查询获得staffingModel(Enum staffingModel) 是否使用职务部门子类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)部门子类型(department_sub_type)枚举定义部分获得
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
id
部门 ID示例值:6969828847121885087
- 参数:
id-- 返回:
-
subType
部门子类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)部门子类型(department_sub_type)枚举定义部分获得示例值:
- 参数:
subType-- 返回:
-
manager
部门负责人 ID,枚举值及详细信息可通过【批量查询雇佣信息】接口查询获得示例值:6893013238632416776
- 参数:
manager-- 返回:
-
isConfidential
是否保密示例值:true
- 参数:
isConfidential-- 返回:
-
hiberarchyCommon
层级关系,内层字段见实体示例值:
- 参数:
hiberarchyCommon-- 返回:
-
effectiveTime
生效时间示例值:2020-05-01 00:00:00
- 参数:
effectiveTime-- 返回:
-
expirationTime
失效时间示例值:2020-05-02 00:00:00
- 参数:
expirationTime-- 返回:
-
customFields
自定义字段示例值:
- 参数:
customFields-- 返回:
-
costCenterId
成本中心id示例值:7142384817131652652
- 参数:
costCenterId-- 返回:
-
staffingModel
是否使用职务示例值:
- 参数:
staffingModel-- 返回:
-
build
-