public static class PatchDepartmentReq.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
PatchDepartmentReq |
build() |
PatchDepartmentReq.Builder |
clientToken(String clientToken)
根据client_token是否一致来判断是否为同一请求
示例值:12454646
|
PatchDepartmentReq.Builder |
department(Department body)
body
|
PatchDepartmentReq.Builder |
departmentId(String departmentId)
需要更新的部门ID,同部门实体在CoreHR内部的唯一键
示例值:6969828847121885087
|
PatchDepartmentReq.Builder |
departmentIdType(PatchDepartmentDepartmentIdTypeEnum departmentIdType)
此次调用中使用的部门 ID 类型
示例值:people_corehr_department_id
|
PatchDepartmentReq.Builder |
departmentIdType(String departmentIdType)
此次调用中使用的部门 ID 类型
示例值:people_corehr_department_id
|
Department |
getDepartment() |
PatchDepartmentReq.Builder |
userIdType(PatchDepartmentUserIdTypeEnum userIdType)
用户 ID 类型
示例值:people_corehr_id
|
PatchDepartmentReq.Builder |
userIdType(String userIdType)
用户 ID 类型
示例值:people_corehr_id
|
public PatchDepartmentReq.Builder clientToken(String clientToken)
示例值:12454646
clientToken - public PatchDepartmentReq.Builder userIdType(String userIdType)
示例值:people_corehr_id
userIdType - public PatchDepartmentReq.Builder userIdType(PatchDepartmentUserIdTypeEnum userIdType)
示例值:people_corehr_id
userIdType - PatchDepartmentUserIdTypeEnumpublic PatchDepartmentReq.Builder departmentIdType(String departmentIdType)
示例值:people_corehr_department_id
departmentIdType - public PatchDepartmentReq.Builder departmentIdType(PatchDepartmentDepartmentIdTypeEnum departmentIdType)
示例值:people_corehr_department_id
departmentIdType - PatchDepartmentDepartmentIdTypeEnumpublic PatchDepartmentReq.Builder departmentId(String departmentId)
示例值:6969828847121885087
departmentId - public Department getDepartment()
public PatchDepartmentReq.Builder department(Department body)
body - public PatchDepartmentReq build()
Copyright © 2025. All rights reserved.