| 程序包 | 说明 |
|---|---|
| com.lark.oapi.service.directory.v1.model |
| 限定符和类型 | 方法和说明 |
|---|---|
UpsertUserDepartmentSortInfo.Builder |
UpsertUserDepartmentSortInfo.Builder.departmentId(String departmentId)
指定员工所在的部门,标识企业内一个唯一的部门,与department_id_type类型保持一致。
|
UpsertUserDepartmentSortInfo.Builder |
UpsertUserDepartmentSortInfo.Builder.isMainDepartment(Boolean isMainDepartment)
是否为用户的主部门(用户只能有一个主部门,且排序权重应最大,不填则默认使用系统默认排序下的第一个部门作为主部门,系统默认排序与部门数组传入顺序无关)
示例值:true
|
static UpsertUserDepartmentSortInfo.Builder |
UpsertUserDepartmentSortInfo.newBuilder() |
UpsertUserDepartmentSortInfo.Builder |
UpsertUserDepartmentSortInfo.Builder.orderWeightAmongDeparments(String orderWeightAmongDeparments)
该部门在用户所属的多个部门间的排序权重。
|
UpsertUserDepartmentSortInfo.Builder |
UpsertUserDepartmentSortInfo.Builder.orderWeightInDeparment(String orderWeightInDeparment)
员工在部门内的排序权重。
|
| 构造器和说明 |
|---|
UpsertUserDepartmentSortInfo(UpsertUserDepartmentSortInfo.Builder builder) |
Copyright © 2026. All rights reserved.