com.aliyun.dingtalkindustry_1_0.models.CustomizeContactDeptCreateRequest 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.dingtalkindustry_1_0.models;
import com.aliyun.tea.*;
public class CustomizeContactDeptCreateRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("code")
public String code;
@NameInMap("managerIdList")
public java.util.List managerIdList;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
@NameInMap("order")
public Long order;
/**
* This parameter is required.
*/
@NameInMap("parentDeptId")
public Long parentDeptId;
@NameInMap("refId")
public Long refId;
/**
* This parameter is required.
*/
@NameInMap("type")
public Long type;
public static CustomizeContactDeptCreateRequest build(java.util.Map map) throws Exception {
CustomizeContactDeptCreateRequest self = new CustomizeContactDeptCreateRequest();
return TeaModel.build(map, self);
}
public CustomizeContactDeptCreateRequest setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public CustomizeContactDeptCreateRequest setManagerIdList(java.util.List managerIdList) {
this.managerIdList = managerIdList;
return this;
}
public java.util.List getManagerIdList() {
return this.managerIdList;
}
public CustomizeContactDeptCreateRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CustomizeContactDeptCreateRequest setOrder(Long order) {
this.order = order;
return this;
}
public Long getOrder() {
return this.order;
}
public CustomizeContactDeptCreateRequest setParentDeptId(Long parentDeptId) {
this.parentDeptId = parentDeptId;
return this;
}
public Long getParentDeptId() {
return this.parentDeptId;
}
public CustomizeContactDeptCreateRequest setRefId(Long refId) {
this.refId = refId;
return this;
}
public Long getRefId() {
return this.refId;
}
public CustomizeContactDeptCreateRequest setType(Long type) {
this.type = type;
return this;
}
public Long getType() {
return this.type;
}
}