com.aliyun.dingtalkh3yun_1_0.models.GetUsersRequest 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.dingtalkh3yun_1_0.models;
import com.aliyun.tea.*;
public class GetUsersRequest extends TeaModel {
// 部门id。
@NameInMap("departmentId")
public String departmentId;
// 是否递归获取子级部门下的用户。默认值为false
@NameInMap("isRecursive")
public Boolean isRecursive;
public static GetUsersRequest build(java.util.Map map) throws Exception {
GetUsersRequest self = new GetUsersRequest();
return TeaModel.build(map, self);
}
public GetUsersRequest setDepartmentId(String departmentId) {
this.departmentId = departmentId;
return this;
}
public String getDepartmentId() {
return this.departmentId;
}
public GetUsersRequest setIsRecursive(Boolean isRecursive) {
this.isRecursive = isRecursive;
return this;
}
public Boolean getIsRecursive() {
return this.isRecursive;
}
}