public static class UpdateDepartmentReq.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateDepartmentReq |
build() |
UpdateDepartmentReq.Builder |
department(Department body)
body
|
UpdateDepartmentReq.Builder |
departmentId(String departmentId)
部门ID,需要与查询参数中传入的department_id_type类型保持一致。
|
UpdateDepartmentReq.Builder |
departmentIdType(String departmentIdType)
此次调用中使用的部门ID的类型
示例值:open_department_id
|
UpdateDepartmentReq.Builder |
departmentIdType(UpdateDepartmentDepartmentIdTypeEnum departmentIdType)
此次调用中使用的部门ID的类型
示例值:open_department_id
|
Department |
getDepartment() |
UpdateDepartmentReq.Builder |
userIdType(String userIdType)
此次调用中使用的用户ID的类型
示例值:
|
UpdateDepartmentReq.Builder |
userIdType(UpdateDepartmentUserIdTypeEnum userIdType)
此次调用中使用的用户ID的类型
示例值:
|
public UpdateDepartmentReq.Builder userIdType(String userIdType)
示例值:
userIdType - public UpdateDepartmentReq.Builder userIdType(UpdateDepartmentUserIdTypeEnum userIdType)
示例值:
userIdType - UpdateDepartmentUserIdTypeEnumpublic UpdateDepartmentReq.Builder departmentIdType(String departmentIdType)
示例值:open_department_id
departmentIdType - public UpdateDepartmentReq.Builder departmentIdType(UpdateDepartmentDepartmentIdTypeEnum departmentIdType)
示例值:open_department_id
departmentIdType - UpdateDepartmentDepartmentIdTypeEnumpublic UpdateDepartmentReq.Builder departmentId(String departmentId)
示例值:od-4e6ac4d14bcd5071a37a39de902c7141
departmentId - public Department getDepartment()
public UpdateDepartmentReq.Builder department(Department body)
body - public UpdateDepartmentReq build()
Copyright © 2022. All rights reserved.