
com.aliyun.dingtalkvillage_1_0.models.ListResidentSubDeptsResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkvillage_1_0.models;
import com.aliyun.tea.*;
public class ListResidentSubDeptsResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("departmentList")
public java.util.List departmentList;
/**
* This parameter is required.
*/
@NameInMap("hasMore")
public Boolean hasMore;
/**
* This parameter is required.
*/
@NameInMap("nextCursor")
public Long nextCursor;
/**
* This parameter is required.
*/
@NameInMap("total")
public Long total;
public static ListResidentSubDeptsResponseBody build(java.util.Map map) throws Exception {
ListResidentSubDeptsResponseBody self = new ListResidentSubDeptsResponseBody();
return TeaModel.build(map, self);
}
public ListResidentSubDeptsResponseBody setDepartmentList(java.util.List departmentList) {
this.departmentList = departmentList;
return this;
}
public java.util.List getDepartmentList() {
return this.departmentList;
}
public ListResidentSubDeptsResponseBody setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public ListResidentSubDeptsResponseBody setNextCursor(Long nextCursor) {
this.nextCursor = nextCursor;
return this;
}
public Long getNextCursor() {
return this.nextCursor;
}
public ListResidentSubDeptsResponseBody setTotal(Long total) {
this.total = total;
return this;
}
public Long getTotal() {
return this.total;
}
public static class ListResidentSubDeptsResponseBodyDepartmentList extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("departmentId")
public Long departmentId;
/**
* This parameter is required.
*/
@NameInMap("departmentName")
public String departmentName;
/**
* This parameter is required.
*/
@NameInMap("superDepartmentId")
public Long superDepartmentId;
public static ListResidentSubDeptsResponseBodyDepartmentList build(java.util.Map map) throws Exception {
ListResidentSubDeptsResponseBodyDepartmentList self = new ListResidentSubDeptsResponseBodyDepartmentList();
return TeaModel.build(map, self);
}
public ListResidentSubDeptsResponseBodyDepartmentList setDepartmentId(Long departmentId) {
this.departmentId = departmentId;
return this;
}
public Long getDepartmentId() {
return this.departmentId;
}
public ListResidentSubDeptsResponseBodyDepartmentList setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public ListResidentSubDeptsResponseBodyDepartmentList setSuperDepartmentId(Long superDepartmentId) {
this.superDepartmentId = superDepartmentId;
return this;
}
public Long getSuperDepartmentId() {
return this.superDepartmentId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy