| 程序包 | 说明 |
|---|---|
| com.lark.oapi.service.corehr.v2.model |
| 限定符和类型 | 方法和说明 |
|---|---|
DepartmentParentInfo.Builder |
DepartmentParentInfo.Builder.active(Boolean active)
是否启用
示例值:true
|
DepartmentParentInfo.Builder |
DepartmentParentInfo.Builder.departmentId(String departmentId)
部门 ID
示例值:4719456877659520852
|
DepartmentParentInfo.Builder |
DepartmentParentInfo.Builder.departmentName(I18n[] departmentName)
部门名称
示例值:
|
DepartmentParentInfo.Builder |
DepartmentParentInfo.Builder.isRoot(Boolean isRoot)
是否根部门
示例值:true
|
static DepartmentParentInfo.Builder |
DepartmentParentInfo.newBuilder() |
DepartmentParentInfo.Builder |
DepartmentParentInfo.Builder.parentDepartmentId(String parentDepartmentId)
上级部门 ID(若查询的是一级部门,则该字段不展示);-
可通过[批量查询部门V2](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get)
或者[搜索部门信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/search)
获取详情
示例值:4719456877659520111
|
| 构造器和说明 |
|---|
DepartmentParentInfo(DepartmentParentInfo.Builder builder) |
Copyright © 2026. All rights reserved.