com.aliyun.dingtalkvillage_1_0.models.ListDeptUsersResponseBody 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 ListDeptUsersResponseBody extends TeaModel {
@NameInMap("hasMore")
public Boolean hasMore;
@NameInMap("nextCursor")
public Long nextCursor;
// 用户列表
@NameInMap("userList")
public java.util.List userList;
public static ListDeptUsersResponseBody build(java.util.Map map) throws Exception {
ListDeptUsersResponseBody self = new ListDeptUsersResponseBody();
return TeaModel.build(map, self);
}
public ListDeptUsersResponseBody setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public ListDeptUsersResponseBody setNextCursor(Long nextCursor) {
this.nextCursor = nextCursor;
return this;
}
public Long getNextCursor() {
return this.nextCursor;
}
public ListDeptUsersResponseBody setUserList(java.util.List userList) {
this.userList = userList;
return this;
}
public java.util.List getUserList() {
return this.userList;
}
public static class ListDeptUsersResponseBodyUserList extends TeaModel {
@NameInMap("active")
public Boolean active;
// 部门ID列表
@NameInMap("departmentList")
public java.util.List departmentList;
@NameInMap("jobNumber")
public String jobNumber;
@NameInMap("name")
public String name;
// unionId
@NameInMap("unionId")
public String unionId;
// 用户ID
@NameInMap("userId")
public String userId;
public static ListDeptUsersResponseBodyUserList build(java.util.Map map) throws Exception {
ListDeptUsersResponseBodyUserList self = new ListDeptUsersResponseBodyUserList();
return TeaModel.build(map, self);
}
public ListDeptUsersResponseBodyUserList setActive(Boolean active) {
this.active = active;
return this;
}
public Boolean getActive() {
return this.active;
}
public ListDeptUsersResponseBodyUserList setDepartmentList(java.util.List departmentList) {
this.departmentList = departmentList;
return this;
}
public java.util.List getDepartmentList() {
return this.departmentList;
}
public ListDeptUsersResponseBodyUserList setJobNumber(String jobNumber) {
this.jobNumber = jobNumber;
return this;
}
public String getJobNumber() {
return this.jobNumber;
}
public ListDeptUsersResponseBodyUserList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public ListDeptUsersResponseBodyUserList setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public ListDeptUsersResponseBodyUserList setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}