com.aliyun.dingtalkexclusive_1_0.models.GetAllLabelableDeptsResponseBody 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.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class GetAllLabelableDeptsResponseBody extends TeaModel {
// 伙伴钉可打标部门列表
@NameInMap("data")
public java.util.List data;
public static GetAllLabelableDeptsResponseBody build(java.util.Map map) throws Exception {
GetAllLabelableDeptsResponseBody self = new GetAllLabelableDeptsResponseBody();
return TeaModel.build(map, self);
}
public GetAllLabelableDeptsResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public static class GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 extends TeaModel {
// 伙伴类型id
@NameInMap("labelId")
public Long labelId;
// 伙伴类型
@NameInMap("labelName")
public String labelName;
// 伙伴类型层级
@NameInMap("levelNum")
public Long levelNum;
public static GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 build(java.util.Map map) throws Exception {
GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 self = new GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1();
return TeaModel.build(map, self);
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 setLabelId(Long labelId) {
this.labelId = labelId;
return this;
}
public Long getLabelId() {
return this.labelId;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 setLabelName(String labelName) {
this.labelName = labelName;
return this;
}
public String getLabelName() {
return this.labelName;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 setLevelNum(Long levelNum) {
this.levelNum = levelNum;
return this;
}
public Long getLevelNum() {
return this.levelNum;
}
}
public static class GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 extends TeaModel {
// 伙伴类型id
@NameInMap("labelId")
public Long labelId;
// 伙伴类型
@NameInMap("labelName")
public String labelName;
// 伙伴类型层级
@NameInMap("levelNum")
public Long levelNum;
public static GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 build(java.util.Map map) throws Exception {
GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 self = new GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2();
return TeaModel.build(map, self);
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 setLabelId(Long labelId) {
this.labelId = labelId;
return this;
}
public Long getLabelId() {
return this.labelId;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 setLabelName(String labelName) {
this.labelName = labelName;
return this;
}
public String getLabelName() {
return this.labelName;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 setLevelNum(Long levelNum) {
this.levelNum = levelNum;
return this;
}
public Long getLevelNum() {
return this.levelNum;
}
}
public static class GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 extends TeaModel {
// 伙伴类型id
@NameInMap("labelId")
public Long labelId;
// 伙伴类型
@NameInMap("labelName")
public String labelName;
// 伙伴类型层级
@NameInMap("levelNum")
public Long levelNum;
public static GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 build(java.util.Map map) throws Exception {
GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 self = new GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3();
return TeaModel.build(map, self);
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 setLabelId(Long labelId) {
this.labelId = labelId;
return this;
}
public Long getLabelId() {
return this.labelId;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 setLabelName(String labelName) {
this.labelName = labelName;
return this;
}
public String getLabelName() {
return this.labelName;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 setLevelNum(Long levelNum) {
this.levelNum = levelNum;
return this;
}
public Long getLevelNum() {
return this.levelNum;
}
}
public static class GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 extends TeaModel {
// 伙伴类型id
@NameInMap("labelId")
public Long labelId;
// 伙伴类型
@NameInMap("labelName")
public String labelName;
// 伙伴类型层级
@NameInMap("levelNum")
public Long levelNum;
public static GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 build(java.util.Map map) throws Exception {
GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 self = new GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4();
return TeaModel.build(map, self);
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 setLabelId(Long labelId) {
this.labelId = labelId;
return this;
}
public Long getLabelId() {
return this.labelId;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 setLabelName(String labelName) {
this.labelName = labelName;
return this;
}
public String getLabelName() {
return this.labelName;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 setLevelNum(Long levelNum) {
this.levelNum = levelNum;
return this;
}
public Long getLevelNum() {
return this.levelNum;
}
}
public static class GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 extends TeaModel {
// 伙伴类型id
@NameInMap("labelId")
public Long labelId;
// 伙伴类型
@NameInMap("labelName")
public String labelName;
// 伙伴类型层级
@NameInMap("levelNum")
public Long levelNum;
public static GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 build(java.util.Map map) throws Exception {
GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 self = new GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5();
return TeaModel.build(map, self);
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 setLabelId(Long labelId) {
this.labelId = labelId;
return this;
}
public Long getLabelId() {
return this.labelId;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 setLabelName(String labelName) {
this.labelName = labelName;
return this;
}
public String getLabelName() {
return this.labelName;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 setLevelNum(Long levelNum) {
this.levelNum = levelNum;
return this;
}
public Long getLevelNum() {
return this.levelNum;
}
}
public static class GetAllLabelableDeptsResponseBodyData extends TeaModel {
// 部门id
@NameInMap("deptId")
public String deptId;
// 部门名称
@NameInMap("deptName")
public String deptName;
// 部门人数
@NameInMap("memberCount")
public Long memberCount;
// 部门一级伙伴类型
@NameInMap("partnerLabelVOLevel1")
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 partnerLabelVOLevel1;
// 部门二级伙伴类型
@NameInMap("partnerLabelVOLevel2")
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 partnerLabelVOLevel2;
// 部门三级伙伴类型
@NameInMap("partnerLabelVOLevel3")
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 partnerLabelVOLevel3;
// 部门四级伙伴类型
@NameInMap("partnerLabelVOLevel4")
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 partnerLabelVOLevel4;
// 部门五级伙伴类型
@NameInMap("partnerLabelVOLevel5")
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 partnerLabelVOLevel5;
// 部门伙伴编码
@NameInMap("partnerNum")
public String partnerNum;
// 父部门id
@NameInMap("superDeptId")
public String superDeptId;
public static GetAllLabelableDeptsResponseBodyData build(java.util.Map map) throws Exception {
GetAllLabelableDeptsResponseBodyData self = new GetAllLabelableDeptsResponseBodyData();
return TeaModel.build(map, self);
}
public GetAllLabelableDeptsResponseBodyData setDeptId(String deptId) {
this.deptId = deptId;
return this;
}
public String getDeptId() {
return this.deptId;
}
public GetAllLabelableDeptsResponseBodyData setDeptName(String deptName) {
this.deptName = deptName;
return this;
}
public String getDeptName() {
return this.deptName;
}
public GetAllLabelableDeptsResponseBodyData setMemberCount(Long memberCount) {
this.memberCount = memberCount;
return this;
}
public Long getMemberCount() {
return this.memberCount;
}
public GetAllLabelableDeptsResponseBodyData setPartnerLabelVOLevel1(GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 partnerLabelVOLevel1) {
this.partnerLabelVOLevel1 = partnerLabelVOLevel1;
return this;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel1 getPartnerLabelVOLevel1() {
return this.partnerLabelVOLevel1;
}
public GetAllLabelableDeptsResponseBodyData setPartnerLabelVOLevel2(GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 partnerLabelVOLevel2) {
this.partnerLabelVOLevel2 = partnerLabelVOLevel2;
return this;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel2 getPartnerLabelVOLevel2() {
return this.partnerLabelVOLevel2;
}
public GetAllLabelableDeptsResponseBodyData setPartnerLabelVOLevel3(GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 partnerLabelVOLevel3) {
this.partnerLabelVOLevel3 = partnerLabelVOLevel3;
return this;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel3 getPartnerLabelVOLevel3() {
return this.partnerLabelVOLevel3;
}
public GetAllLabelableDeptsResponseBodyData setPartnerLabelVOLevel4(GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 partnerLabelVOLevel4) {
this.partnerLabelVOLevel4 = partnerLabelVOLevel4;
return this;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel4 getPartnerLabelVOLevel4() {
return this.partnerLabelVOLevel4;
}
public GetAllLabelableDeptsResponseBodyData setPartnerLabelVOLevel5(GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 partnerLabelVOLevel5) {
this.partnerLabelVOLevel5 = partnerLabelVOLevel5;
return this;
}
public GetAllLabelableDeptsResponseBodyDataPartnerLabelVOLevel5 getPartnerLabelVOLevel5() {
return this.partnerLabelVOLevel5;
}
public GetAllLabelableDeptsResponseBodyData setPartnerNum(String partnerNum) {
this.partnerNum = partnerNum;
return this;
}
public String getPartnerNum() {
return this.partnerNum;
}
public GetAllLabelableDeptsResponseBodyData setSuperDeptId(String superDeptId) {
this.superDeptId = superDeptId;
return this;
}
public String getSuperDeptId() {
return this.superDeptId;
}
}
}