com.aliyun.dingtalkvillage_1_0.models.GetDeptResponseBody 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.dingtalkvillage_1_0.models;
import com.aliyun.tea.*;
public class GetDeptResponseBody 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("fromUnionOrg")
public Boolean fromUnionOrg;
/**
* This parameter is required.
*/
@NameInMap("order")
public Long order;
/**
* This parameter is required.
*/
@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;
}
}