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

com.aliyun.dingtalkvillage_1_0.models.GetDeptResponseBody Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkvillage_1_0.models;

import com.aliyun.tea.*;

public class GetDeptResponseBody extends TeaModel {
    // 下属组织的部门ID
    @NameInMap("departmentId")
    public Long departmentId;

    // 部门名称
    @NameInMap("departmentName")
    public String departmentName;

    // 部门是否来自关联组织
    @NameInMap("fromUnionOrg")
    public Boolean fromUnionOrg;

    // 在父部门中的次序值
    @NameInMap("order")
    public Long order;

    // 父部门id
    @NameInMap("parentDepartmentId")
    public Long parentDepartmentId;

    public static GetDeptResponseBody build(java.util.Map map) throws Exception {
        GetDeptResponseBody self = new GetDeptResponseBody();
        return TeaModel.build(map, self);
    }

    public GetDeptResponseBody setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
        return this;
    }
    public Long getDepartmentId() {
        return this.departmentId;
    }

    public GetDeptResponseBody setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
        return this;
    }
    public String getDepartmentName() {
        return this.departmentName;
    }

    public GetDeptResponseBody setFromUnionOrg(Boolean fromUnionOrg) {
        this.fromUnionOrg = fromUnionOrg;
        return this;
    }
    public Boolean getFromUnionOrg() {
        return this.fromUnionOrg;
    }

    public GetDeptResponseBody setOrder(Long order) {
        this.order = order;
        return this;
    }
    public Long getOrder() {
        return this.order;
    }

    public GetDeptResponseBody setParentDepartmentId(Long parentDepartmentId) {
        this.parentDepartmentId = parentDepartmentId;
        return this;
    }
    public Long getParentDepartmentId() {
        return this.parentDepartmentId;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy