
com.aliyun.dingtalkdoc_2_0.models.BatchCreateTeamRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_2_0.models;
import com.aliyun.tea.*;
public class BatchCreateTeamRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("param")
public BatchCreateTeamRequestParam param;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static BatchCreateTeamRequest build(java.util.Map map) throws Exception {
BatchCreateTeamRequest self = new BatchCreateTeamRequest();
return TeaModel.build(map, self);
}
public BatchCreateTeamRequest setParam(BatchCreateTeamRequestParam param) {
this.param = param;
return this;
}
public BatchCreateTeamRequestParam getParam() {
return this.param;
}
public BatchCreateTeamRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class BatchCreateTeamRequestParamCreateTeamParamList extends TeaModel {
@NameInMap("adminUnionIdList")
public java.util.List adminUnionIdList;
/**
* This parameter is required.
*
* example:
* creator_union_id
*/
@NameInMap("creatorUnionId")
public String creatorUnionId;
/**
* This parameter is required.
*
* example:
* dept_id
*/
@NameInMap("deptId")
public String deptId;
/**
* This parameter is required.
*
* example:
* team_name
*/
@NameInMap("teamName")
public String teamName;
public static BatchCreateTeamRequestParamCreateTeamParamList build(java.util.Map map) throws Exception {
BatchCreateTeamRequestParamCreateTeamParamList self = new BatchCreateTeamRequestParamCreateTeamParamList();
return TeaModel.build(map, self);
}
public BatchCreateTeamRequestParamCreateTeamParamList setAdminUnionIdList(java.util.List adminUnionIdList) {
this.adminUnionIdList = adminUnionIdList;
return this;
}
public java.util.List getAdminUnionIdList() {
return this.adminUnionIdList;
}
public BatchCreateTeamRequestParamCreateTeamParamList setCreatorUnionId(String creatorUnionId) {
this.creatorUnionId = creatorUnionId;
return this;
}
public String getCreatorUnionId() {
return this.creatorUnionId;
}
public BatchCreateTeamRequestParamCreateTeamParamList setDeptId(String deptId) {
this.deptId = deptId;
return this;
}
public String getDeptId() {
return this.deptId;
}
public BatchCreateTeamRequestParamCreateTeamParamList setTeamName(String teamName) {
this.teamName = teamName;
return this;
}
public String getTeamName() {
return this.teamName;
}
}
public static class BatchCreateTeamRequestParam extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("createTeamParamList")
public java.util.List createTeamParamList;
public static BatchCreateTeamRequestParam build(java.util.Map map) throws Exception {
BatchCreateTeamRequestParam self = new BatchCreateTeamRequestParam();
return TeaModel.build(map, self);
}
public BatchCreateTeamRequestParam setCreateTeamParamList(java.util.List createTeamParamList) {
this.createTeamParamList = createTeamParamList;
return this;
}
public java.util.List getCreateTeamParamList() {
return this.createTeamParamList;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy