![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkindustry_1_0.models.QueryAllDepartmentResponseBody Maven / Gradle / Ivy
Show all versions of dingtalk Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkindustry_1_0.models;
import com.aliyun.tea.*;
public class QueryAllDepartmentResponseBody extends TeaModel {
@NameInMap("content")
public java.util.List content;
/**
* example:
* 1
*/
@NameInMap("currentPage")
public Integer currentPage;
/**
* example:
* 100
*/
@NameInMap("totalCount")
public Long totalCount;
/**
* example:
* 10
*/
@NameInMap("totalPages")
public Integer totalPages;
public static QueryAllDepartmentResponseBody build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBody self = new QueryAllDepartmentResponseBody();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBody setContent(java.util.List content) {
this.content = content;
return this;
}
public java.util.List getContent() {
return this.content;
}
public QueryAllDepartmentResponseBody setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public QueryAllDepartmentResponseBody setTotalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Long getTotalCount() {
return this.totalCount;
}
public QueryAllDepartmentResponseBody setTotalPages(Integer totalPages) {
this.totalPages = totalPages;
return this;
}
public Integer getTotalPages() {
return this.totalPages;
}
public static class QueryAllDepartmentResponseBodyContentDeptAndExtDepartment extends TeaModel {
/**
* This parameter is required.
*
* example:
* asd123
*/
@NameInMap("deptCode")
public String deptCode;
/**
* This parameter is required.
*
* example:
* 骨科
*/
@NameInMap("deptName")
public String deptName;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("deptOrder")
public Long deptOrder;
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("deptStatus")
public Integer deptStatus;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("deptType")
public Integer deptType;
/**
* This parameter is required.
*
* example:
* 2021-08-24 20:30:31
*/
@NameInMap("gmtCreateStr")
public String gmtCreateStr;
/**
* This parameter is required.
*
* example:
* 2021-08-24 20:30:31
*/
@NameInMap("gmtModifiedStr")
public String gmtModifiedStr;
/**
* This parameter is required.
*
* example:
* 130000
*/
@NameInMap("id")
public Long id;
/**
* This parameter is required.
*
* example:
* 骨科
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* asd123
*/
@NameInMap("parentDeptCode")
public String parentDeptCode;
/**
* This parameter is required.
*
* example:
* 备注
*/
@NameInMap("remark")
public String remark;
/**
* This parameter is required.
*/
@NameInMap("wardIdList")
public java.util.List wardIdList;
public static QueryAllDepartmentResponseBodyContentDeptAndExtDepartment build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBodyContentDeptAndExtDepartment self = new QueryAllDepartmentResponseBodyContentDeptAndExtDepartment();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setDeptCode(String deptCode) {
this.deptCode = deptCode;
return this;
}
public String getDeptCode() {
return this.deptCode;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setDeptName(String deptName) {
this.deptName = deptName;
return this;
}
public String getDeptName() {
return this.deptName;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setDeptOrder(Long deptOrder) {
this.deptOrder = deptOrder;
return this;
}
public Long getDeptOrder() {
return this.deptOrder;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setDeptStatus(Integer deptStatus) {
this.deptStatus = deptStatus;
return this;
}
public Integer getDeptStatus() {
return this.deptStatus;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setDeptType(Integer deptType) {
this.deptType = deptType;
return this;
}
public Integer getDeptType() {
return this.deptType;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setGmtCreateStr(String gmtCreateStr) {
this.gmtCreateStr = gmtCreateStr;
return this;
}
public String getGmtCreateStr() {
return this.gmtCreateStr;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setGmtModifiedStr(String gmtModifiedStr) {
this.gmtModifiedStr = gmtModifiedStr;
return this;
}
public String getGmtModifiedStr() {
return this.gmtModifiedStr;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setParentDeptCode(String parentDeptCode) {
this.parentDeptCode = parentDeptCode;
return this;
}
public String getParentDeptCode() {
return this.parentDeptCode;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment setWardIdList(java.util.List wardIdList) {
this.wardIdList = wardIdList;
return this;
}
public java.util.List getWardIdList() {
return this.wardIdList;
}
}
public static class QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos extends TeaModel {
/**
* This parameter is required.
*
* example:
* asd123
*/
@NameInMap("deptCode")
public String deptCode;
/**
* This parameter is required.
*
* example:
* 科室、医务科、医生都不一样
*/
@NameInMap("deptExtendDisplayName")
public String deptExtendDisplayName;
/**
* This parameter is required.
*
* example:
* 科室、医务科、医生都不一样
*/
@NameInMap("deptExtendKey")
public String deptExtendKey;
/**
* This parameter is required.
*
* example:
* 科室、医务科、医生都不一样
*/
@NameInMap("deptExtendValue")
public String deptExtendValue;
/**
* This parameter is required.
*
* example:
* 2021-08-24 20:30:31
*/
@NameInMap("gmtCreateStr")
public String gmtCreateStr;
/**
* This parameter is required.
*
* example:
* 2021-08-24 20:30:31
*/
@NameInMap("gmtModifiedStr")
public String gmtModifiedStr;
/**
* This parameter is required.
*
* example:
* 20000
*/
@NameInMap("id")
public Long id;
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("status")
public Integer status;
public static QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos self = new QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos setDeptCode(String deptCode) {
this.deptCode = deptCode;
return this;
}
public String getDeptCode() {
return this.deptCode;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos setDeptExtendDisplayName(String deptExtendDisplayName) {
this.deptExtendDisplayName = deptExtendDisplayName;
return this;
}
public String getDeptExtendDisplayName() {
return this.deptExtendDisplayName;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos setDeptExtendKey(String deptExtendKey) {
this.deptExtendKey = deptExtendKey;
return this;
}
public String getDeptExtendKey() {
return this.deptExtendKey;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos setDeptExtendValue(String deptExtendValue) {
this.deptExtendValue = deptExtendValue;
return this;
}
public String getDeptExtendValue() {
return this.deptExtendValue;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos setGmtCreateStr(String gmtCreateStr) {
this.gmtCreateStr = gmtCreateStr;
return this;
}
public String getGmtCreateStr() {
return this.gmtCreateStr;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos setGmtModifiedStr(String gmtModifiedStr) {
this.gmtModifiedStr = gmtModifiedStr;
return this;
}
public String getGmtModifiedStr() {
return this.gmtModifiedStr;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}
public static class QueryAllDepartmentResponseBodyContentDeptAndExt extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("department")
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment department;
/**
* This parameter is required.
*/
@NameInMap("extendInfos")
public java.util.List extendInfos;
public static QueryAllDepartmentResponseBodyContentDeptAndExt build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBodyContentDeptAndExt self = new QueryAllDepartmentResponseBodyContentDeptAndExt();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBodyContentDeptAndExt setDepartment(QueryAllDepartmentResponseBodyContentDeptAndExtDepartment department) {
this.department = department;
return this;
}
public QueryAllDepartmentResponseBodyContentDeptAndExtDepartment getDepartment() {
return this.department;
}
public QueryAllDepartmentResponseBodyContentDeptAndExt setExtendInfos(java.util.List extendInfos) {
this.extendInfos = extendInfos;
return this;
}
public java.util.List getExtendInfos() {
return this.extendInfos;
}
}
public static class QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos extends TeaModel {
/**
* This parameter is required.
*
* example:
* asd123
*/
@NameInMap("deptCode")
public String deptCode;
/**
* This parameter is required.
*
* example:
* 科室、医务科、医生都不一样
*/
@NameInMap("deptExtendDisplayName")
public String deptExtendDisplayName;
/**
* This parameter is required.
*
* example:
* 科室、医务科、医生都不一样
*/
@NameInMap("deptExtendKey")
public String deptExtendKey;
/**
* This parameter is required.
*
* example:
* 科室、医务科、医生都不一样
*/
@NameInMap("deptExtendValue")
public String deptExtendValue;
/**
* This parameter is required.
*
* example:
* 2021-08-24 20:30:31
*/
@NameInMap("gmtCreateStr")
public String gmtCreateStr;
/**
* This parameter is required.
*
* example:
* 2021-08-24 20:30:31
*/
@NameInMap("gmtModifiedStr")
public String gmtModifiedStr;
/**
* This parameter is required.
*
* example:
* 20000
*/
@NameInMap("id")
public Long id;
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("status")
public Integer status;
public static QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos self = new QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos setDeptCode(String deptCode) {
this.deptCode = deptCode;
return this;
}
public String getDeptCode() {
return this.deptCode;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos setDeptExtendDisplayName(String deptExtendDisplayName) {
this.deptExtendDisplayName = deptExtendDisplayName;
return this;
}
public String getDeptExtendDisplayName() {
return this.deptExtendDisplayName;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos setDeptExtendKey(String deptExtendKey) {
this.deptExtendKey = deptExtendKey;
return this;
}
public String getDeptExtendKey() {
return this.deptExtendKey;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos setDeptExtendValue(String deptExtendValue) {
this.deptExtendValue = deptExtendValue;
return this;
}
public String getDeptExtendValue() {
return this.deptExtendValue;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos setGmtCreateStr(String gmtCreateStr) {
this.gmtCreateStr = gmtCreateStr;
return this;
}
public String getGmtCreateStr() {
return this.gmtCreateStr;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos setGmtModifiedStr(String gmtModifiedStr) {
this.gmtModifiedStr = gmtModifiedStr;
return this;
}
public String getGmtModifiedStr() {
return this.gmtModifiedStr;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}
public static class QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader extends TeaModel {
/**
* This parameter is required.
*
* example:
* 888asd
*/
@NameInMap("jobNumber")
public String jobNumber;
/**
* This parameter is required.
*
* example:
* 张三
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 666abc
*/
@NameInMap("userId")
public String userId;
public static QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader self = new QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader setJobNumber(String jobNumber) {
this.jobNumber = jobNumber;
return this;
}
public String getJobNumber() {
return this.jobNumber;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class QueryAllDepartmentResponseBodyContentGroupAndExtListGroup extends TeaModel {
/**
* This parameter is required.
*
* example:
* 13000
*/
@NameInMap("deptId")
public Long deptId;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("deptStatus")
public Integer deptStatus;
/**
* This parameter is required.
*
* example:
* 2021-08-24 20:30:31
*/
@NameInMap("gmtCreateStr")
public String gmtCreateStr;
/**
* This parameter is required.
*
* example:
* 2021-08-24 20:30:31
*/
@NameInMap("gmtModifiedStr")
public String gmtModifiedStr;
/**
* This parameter is required.
*
* example:
* 13001
*/
@NameInMap("id")
public Long id;
/**
* This parameter is required.
*/
@NameInMap("leader")
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader leader;
/**
* This parameter is required.
*
* example:
* 张三组
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 13000
*/
@NameInMap("parentDeptCode")
public String parentDeptCode;
/**
* This parameter is required.
*
* example:
* 备注
*/
@NameInMap("remark")
public String remark;
public static QueryAllDepartmentResponseBodyContentGroupAndExtListGroup build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBodyContentGroupAndExtListGroup self = new QueryAllDepartmentResponseBodyContentGroupAndExtListGroup();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setDeptStatus(Integer deptStatus) {
this.deptStatus = deptStatus;
return this;
}
public Integer getDeptStatus() {
return this.deptStatus;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setGmtCreateStr(String gmtCreateStr) {
this.gmtCreateStr = gmtCreateStr;
return this;
}
public String getGmtCreateStr() {
return this.gmtCreateStr;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setGmtModifiedStr(String gmtModifiedStr) {
this.gmtModifiedStr = gmtModifiedStr;
return this;
}
public String getGmtModifiedStr() {
return this.gmtModifiedStr;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setLeader(QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader leader) {
this.leader = leader;
return this;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader getLeader() {
return this.leader;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setParentDeptCode(String parentDeptCode) {
this.parentDeptCode = parentDeptCode;
return this;
}
public String getParentDeptCode() {
return this.parentDeptCode;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
}
public static class QueryAllDepartmentResponseBodyContentGroupAndExtList extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("extendInfos")
public java.util.List extendInfos;
/**
* This parameter is required.
*/
@NameInMap("group")
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup group;
public static QueryAllDepartmentResponseBodyContentGroupAndExtList build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBodyContentGroupAndExtList self = new QueryAllDepartmentResponseBodyContentGroupAndExtList();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBodyContentGroupAndExtList setExtendInfos(java.util.List extendInfos) {
this.extendInfos = extendInfos;
return this;
}
public java.util.List getExtendInfos() {
return this.extendInfos;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtList setGroup(QueryAllDepartmentResponseBodyContentGroupAndExtListGroup group) {
this.group = group;
return this;
}
public QueryAllDepartmentResponseBodyContentGroupAndExtListGroup getGroup() {
return this.group;
}
}
public static class QueryAllDepartmentResponseBodyContent extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("deptAndExt")
public QueryAllDepartmentResponseBodyContentDeptAndExt deptAndExt;
/**
* This parameter is required.
*/
@NameInMap("groupAndExtList")
public java.util.List groupAndExtList;
/**
* This parameter is required.
*
* example:
* 130000
*/
@NameInMap("id")
public Long id;
/**
* This parameter is required.
*
* example:
* 骨科
*/
@NameInMap("name")
public String name;
public static QueryAllDepartmentResponseBodyContent build(java.util.Map map) throws Exception {
QueryAllDepartmentResponseBodyContent self = new QueryAllDepartmentResponseBodyContent();
return TeaModel.build(map, self);
}
public QueryAllDepartmentResponseBodyContent setDeptAndExt(QueryAllDepartmentResponseBodyContentDeptAndExt deptAndExt) {
this.deptAndExt = deptAndExt;
return this;
}
public QueryAllDepartmentResponseBodyContentDeptAndExt getDeptAndExt() {
return this.deptAndExt;
}
public QueryAllDepartmentResponseBodyContent setGroupAndExtList(java.util.List groupAndExtList) {
this.groupAndExtList = groupAndExtList;
return this;
}
public java.util.List getGroupAndExtList() {
return this.groupAndExtList;
}
public QueryAllDepartmentResponseBodyContent setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public QueryAllDepartmentResponseBodyContent setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
}