All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 {
    // 组户列表
    @NameInMap("departmentList")
    public java.util.List departmentList;

    // 是否还有记录
    @NameInMap("hasMore")
    public Boolean hasMore;

    // 游标
    @NameInMap("nextCursor")
    public Long nextCursor;

    // 总数
    @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 {
        // 下属组织的部门ID
        @NameInMap("departmentId")
        public Long departmentId;

        // 组户名称
        @NameInMap("departmentName")
        public String departmentName;

        // 父部门ID
        @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 - 2024 Weber Informatics LLC | Privacy Policy