com.aliyun.dingtalkindustry_1_0.models.CustomizeContactDeptListResponseBody 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 CustomizeContactDeptListResponseBody extends TeaModel {
// 子部门列表
@NameInMap("content")
public java.util.List content;
public static CustomizeContactDeptListResponseBody build(java.util.Map map) throws Exception {
CustomizeContactDeptListResponseBody self = new CustomizeContactDeptListResponseBody();
return TeaModel.build(map, self);
}
public CustomizeContactDeptListResponseBody setContent(java.util.List content) {
this.content = content;
return this;
}
public java.util.List getContent() {
return this.content;
}
public static class CustomizeContactDeptListResponseBodyContent extends TeaModel {
// 自定义通讯录Code
@NameInMap("code")
public String code;
// 部门Id
@NameInMap("id")
public Long id;
// 部门主管列表
@NameInMap("managerIdList")
public java.util.List managerIdList;
// 部门名称
@NameInMap("name")
public String name;
// 部门排序
@NameInMap("order")
public Long order;
// 上级部门Id
@NameInMap("parentDeptId")
public Long parentDeptId;
// 引用的内部通讯录部门Id
@NameInMap("refId")
public Long refId;
// 部门类型 0:普通部门 1:引用部门
@NameInMap("type")
public Long type;
public static CustomizeContactDeptListResponseBodyContent build(java.util.Map map) throws Exception {
CustomizeContactDeptListResponseBodyContent self = new CustomizeContactDeptListResponseBodyContent();
return TeaModel.build(map, self);
}
public CustomizeContactDeptListResponseBodyContent setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public CustomizeContactDeptListResponseBodyContent setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public CustomizeContactDeptListResponseBodyContent setManagerIdList(java.util.List managerIdList) {
this.managerIdList = managerIdList;
return this;
}
public java.util.List getManagerIdList() {
return this.managerIdList;
}
public CustomizeContactDeptListResponseBodyContent setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CustomizeContactDeptListResponseBodyContent setOrder(Long order) {
this.order = order;
return this;
}
public Long getOrder() {
return this.order;
}
public CustomizeContactDeptListResponseBodyContent setParentDeptId(Long parentDeptId) {
this.parentDeptId = parentDeptId;
return this;
}
public Long getParentDeptId() {
return this.parentDeptId;
}
public CustomizeContactDeptListResponseBodyContent setRefId(Long refId) {
this.refId = refId;
return this;
}
public Long getRefId() {
return this.refId;
}
public CustomizeContactDeptListResponseBodyContent setType(Long type) {
this.type = type;
return this;
}
public Long getType() {
return this.type;
}
}
}