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 {
/**
* This parameter is required.
*
* example:
* success
*/
@NameInMap("code")
public String code;
@NameInMap("data")
public java.util.List data;
/**
* This parameter is required.
*
* example:
* OK
*/
@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 {
/**
* example:
* zhangsan
*/
@NameInMap("code")
public String code;
/**
* example:
* 18f923a7-5a5e-426d-94ae-a55ad1a4b240
*/
@NameInMap("departmentId")
public String departmentId;
/**
* example:
* 研发中心
*/
@NameInMap("departmentName")
public String departmentName;
/**
* example:
* Null
*/
@NameInMap("description")
public String description;
/**
* example:
* Internal
*/
@NameInMap("domainType")
public String domainType;
/**
* example:
*
*/
@NameInMap("email")
public String email;
/**
* example:
* 018bbb56-a9dd-49a1-8495-129c6b0d95c5
*/
@NameInMap("id")
public String id;
/**
* example:
* 156********
*/
@NameInMap("mobile")
public String mobile;
/**
* example:
* 张三
*/
@NameInMap("name")
public String name;
@NameInMap("partDepartmentIds")
public java.util.List partDepartmentIds;
/**
* example:
* Man
*/
@NameInMap("sex")
public String sex;
/**
* example:
* 176294501822126512
*/
@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;
}
}
}