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 {
/**
* This parameter is required.
*/
@NameInMap("hasMore")
public Boolean hasMore;
/**
* This parameter is required.
*/
@NameInMap("nextCursor")
public Long nextCursor;
/**
* This parameter is required.
*/
@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 {
/**
* This parameter is required.
*/
@NameInMap("active")
public Boolean active;
/**
* This parameter is required.
*/
@NameInMap("departmentList")
public java.util.List departmentList;
/**
* This parameter is required.
*/
@NameInMap("jobNumber")
public String jobNumber;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*/
@NameInMap("unionId")
public String unionId;
/**
* This parameter is required.
*/
@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;
}
}
}