
com.aliyun.dingtalkproject_1_0.models.GetDeptsByOrgIdResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkproject_1_0.models;
import com.aliyun.tea.*;
public class GetDeptsByOrgIdResponseBody extends TeaModel {
@NameInMap("deptList")
public java.util.List deptList;
@NameInMap("hasMore")
public Boolean hasMore;
@NameInMap("maxResults")
public Integer maxResults;
@NameInMap("nextToken")
public Long nextToken;
public static GetDeptsByOrgIdResponseBody build(java.util.Map map) throws Exception {
GetDeptsByOrgIdResponseBody self = new GetDeptsByOrgIdResponseBody();
return TeaModel.build(map, self);
}
public GetDeptsByOrgIdResponseBody setDeptList(java.util.List deptList) {
this.deptList = deptList;
return this;
}
public java.util.List getDeptList() {
return this.deptList;
}
public GetDeptsByOrgIdResponseBody setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public GetDeptsByOrgIdResponseBody setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
public Integer getMaxResults() {
return this.maxResults;
}
public GetDeptsByOrgIdResponseBody setNextToken(Long nextToken) {
this.nextToken = nextToken;
return this;
}
public Long getNextToken() {
return this.nextToken;
}
public static class GetDeptsByOrgIdResponseBodyDeptList extends TeaModel {
@NameInMap("dept_id")
public Long deptId;
@NameInMap("name")
public String name;
@NameInMap("parent_id")
public Long parentId;
public static GetDeptsByOrgIdResponseBodyDeptList build(java.util.Map map) throws Exception {
GetDeptsByOrgIdResponseBodyDeptList self = new GetDeptsByOrgIdResponseBodyDeptList();
return TeaModel.build(map, self);
}
public GetDeptsByOrgIdResponseBodyDeptList setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public GetDeptsByOrgIdResponseBodyDeptList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetDeptsByOrgIdResponseBodyDeptList setParentId(Long parentId) {
this.parentId = parentId;
return this;
}
public Long getParentId() {
return this.parentId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy