com.aliyun.dingtalkh3yun_1_0.models.GetUsersResponseBody 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 GetUsersResponseBody extends TeaModel {
// 状态码
@NameInMap("code")
public String code;
// 返回结果
@NameInMap("data")
public java.util.List data;
// 提示信息
@NameInMap("message")
public String message;
public static GetUsersResponseBody build(java.util.Map map) throws Exception {
GetUsersResponseBody self = new GetUsersResponseBody();
return TeaModel.build(map, self);
}
public GetUsersResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public GetUsersResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public GetUsersResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public static class GetUsersResponseBodyData extends TeaModel {
// 用户编码
@NameInMap("code")
public String code;
// 直属组织id
@NameInMap("departmentId")
public String departmentId;
// 直属组织名称
@NameInMap("departmentName")
public String departmentName;
// 描述
@NameInMap("description")
public String description;
// 作用域类型。Unspecified=未指定、Internal=内部组织机构、External=外部组织机构
@NameInMap("domainType")
public String domainType;
// 邮箱
@NameInMap("email")
public String email;
// 用户id
@NameInMap("id")
public String id;
// 电话
@NameInMap("mobile")
public String mobile;
// 用户姓名
@NameInMap("name")
public String name;
// 兼职部门id
@NameInMap("partDepartmentIds")
public java.util.List partDepartmentIds;
// 性别.None=未指定,Man=男性,Female=女性
@NameInMap("sex")
public String sex;
// 排序号
@NameInMap("sortKey")
public Long sortKey;
public static GetUsersResponseBodyData build(java.util.Map map) throws Exception {
GetUsersResponseBodyData self = new GetUsersResponseBodyData();
return TeaModel.build(map, self);
}
public GetUsersResponseBodyData setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public GetUsersResponseBodyData setDepartmentId(String departmentId) {
this.departmentId = departmentId;
return this;
}
public String getDepartmentId() {
return this.departmentId;
}
public GetUsersResponseBodyData setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public GetUsersResponseBodyData setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public GetUsersResponseBodyData setDomainType(String domainType) {
this.domainType = domainType;
return this;
}
public String getDomainType() {
return this.domainType;
}
public GetUsersResponseBodyData setEmail(String email) {
this.email = email;
return this;
}
public String getEmail() {
return this.email;
}
public GetUsersResponseBodyData setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public GetUsersResponseBodyData setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getMobile() {
return this.mobile;
}
public GetUsersResponseBodyData setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetUsersResponseBodyData setPartDepartmentIds(java.util.List partDepartmentIds) {
this.partDepartmentIds = partDepartmentIds;
return this;
}
public java.util.List getPartDepartmentIds() {
return this.partDepartmentIds;
}
public GetUsersResponseBodyData setSex(String sex) {
this.sex = sex;
return this;
}
public String getSex() {
return this.sex;
}
public GetUsersResponseBodyData setSortKey(Long sortKey) {
this.sortKey = sortKey;
return this;
}
public Long getSortKey() {
return this.sortKey;
}
}
}