public class CreateIntegrationEmployeesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateIntegrationEmployeesRequest() |
CreateIntegrationEmployeesRequest(CreateIntegrationEmployeesRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Agent |
getAgent()
Get 代理企业和员工的信息。
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
Staff[] |
getEmployees()
Get 待创建员工的信息,最多不超过20个。
其中入参Mobile和DisplayName必填,OpenId、Email和Department.DepartmentId选填,其他字段暂不支持设置。
在创建企微企业员工场景下,只需传入WeworkOpenId,无需再传其他信息。
|
UserInfo |
getOperator()
Get 执行本接口操作的员工信息。使用此接口时,必须填写userId。
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
void |
setAgent(Agent Agent)
Set 代理企业和员工的信息。
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
void |
setEmployees(Staff[] Employees)
Set 待创建员工的信息,最多不超过20个。
其中入参Mobile和DisplayName必填,OpenId、Email和Department.DepartmentId选填,其他字段暂不支持设置。
在创建企微企业员工场景下,只需传入WeworkOpenId,无需再传其他信息。
|
void |
setOperator(UserInfo Operator)
Set 执行本接口操作的员工信息。使用此接口时,必须填写userId。
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateIntegrationEmployeesRequest()
public CreateIntegrationEmployeesRequest(CreateIntegrationEmployeesRequest source)
public UserInfo getOperator()
public void setOperator(UserInfo Operator)
Operator
- 执行本接口操作的员工信息。使用此接口时,必须填写userId。
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`public Staff[] getEmployees()
public void setEmployees(Staff[] Employees)
Employees
- 待创建员工的信息,最多不超过20个。
其中入参Mobile和DisplayName必填,OpenId、Email和Department.DepartmentId选填,其他字段暂不支持设置。
在创建企微企业员工场景下,只需传入WeworkOpenId,无需再传其他信息。public Agent getAgent()
public void setAgent(Agent Agent)
Agent
- 代理企业和员工的信息。
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。Copyright © 2024. All rights reserved.