com.aliyun.dingtalkedu_1_0.models.CreateCustomDeptRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class CreateCustomDeptRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("customDept")
public CreateCustomDeptRequestCustomDept customDept;
/**
* This parameter is required.
*
* example:
* 12345
*/
@NameInMap("operator")
public String operator;
/**
* This parameter is required.
*
* example:
* 1233
*/
@NameInMap("superId")
public Long superId;
public static CreateCustomDeptRequest build(java.util.Map map) throws Exception {
CreateCustomDeptRequest self = new CreateCustomDeptRequest();
return TeaModel.build(map, self);
}
public CreateCustomDeptRequest setCustomDept(CreateCustomDeptRequestCustomDept customDept) {
this.customDept = customDept;
return this;
}
public CreateCustomDeptRequestCustomDept getCustomDept() {
return this.customDept;
}
public CreateCustomDeptRequest setOperator(String operator) {
this.operator = operator;
return this;
}
public String getOperator() {
return this.operator;
}
public CreateCustomDeptRequest setSuperId(Long superId) {
this.superId = superId;
return this;
}
public Long getSuperId() {
return this.superId;
}
public static class CreateCustomDeptRequestCustomDept extends TeaModel {
/**
* This parameter is required.
*
* example:
* 紫金港校区
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* custom_dept
*/
@NameInMap("type")
public String type;
public static CreateCustomDeptRequestCustomDept build(java.util.Map map) throws Exception {
CreateCustomDeptRequestCustomDept self = new CreateCustomDeptRequestCustomDept();
return TeaModel.build(map, self);
}
public CreateCustomDeptRequestCustomDept setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateCustomDeptRequestCustomDept setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}