Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.ess.v20201111.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateIntegrationEmployeesRequest extends AbstractModel {
/**
* 执行本接口操作的员工信息。使用此接口时,必须填写userId。
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
*/
@SerializedName("Operator")
@Expose
private UserInfo Operator;
/**
* 待创建员工的信息最多不超过20个。
**1. 在创建企业微信员工的场景下** : 只需传入下面的参数,其他信息不支持设置。
*/
public void setEndpoint(String Endpoint) {
this.Endpoint = Endpoint;
}
public CreateIntegrationEmployeesRequest() {
}
/**
* 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.
*/
public CreateIntegrationEmployeesRequest(CreateIntegrationEmployeesRequest source) {
if (source.Operator != null) {
this.Operator = new UserInfo(source.Operator);
}
if (source.Employees != null) {
this.Employees = new Staff[source.Employees.length];
for (int i = 0; i < source.Employees.length; i++) {
this.Employees[i] = new Staff(source.Employees[i]);
}
}
if (source.Agent != null) {
this.Agent = new Agent(source.Agent);
}
if (source.InvitationNotifyType != null) {
this.InvitationNotifyType = new String(source.InvitationNotifyType);
}
if (source.JumpUrl != null) {
this.JumpUrl = new String(source.JumpUrl);
}
if (source.Endpoint != null) {
this.Endpoint = new String(source.Endpoint);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamObj(map, prefix + "Operator.", this.Operator);
this.setParamArrayObj(map, prefix + "Employees.", this.Employees);
this.setParamObj(map, prefix + "Agent.", this.Agent);
this.setParamSimple(map, prefix + "InvitationNotifyType", this.InvitationNotifyType);
this.setParamSimple(map, prefix + "JumpUrl", this.JumpUrl);
this.setParamSimple(map, prefix + "Endpoint", this.Endpoint);
}
}