com.aliyun.dingtalkh3yun_1_0.models.GetRoleUsersResponseBody 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 GetRoleUsersResponseBody 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 GetRoleUsersResponseBody build(java.util.Map map) throws Exception {
GetRoleUsersResponseBody self = new GetRoleUsersResponseBody();
return TeaModel.build(map, self);
}
public GetRoleUsersResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public GetRoleUsersResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public GetRoleUsersResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public static class GetRoleUsersResponseBodyData 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:
* 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;
/**
* example:
* 018bbb56-a9dd-49a1-8495-129c6b0d95c5
*/
@NameInMap("userId")
public String userId;
public static GetRoleUsersResponseBodyData build(java.util.Map map) throws Exception {
GetRoleUsersResponseBodyData self = new GetRoleUsersResponseBodyData();
return TeaModel.build(map, self);
}
public GetRoleUsersResponseBodyData setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public GetRoleUsersResponseBodyData setDepartmentId(String departmentId) {
this.departmentId = departmentId;
return this;
}
public String getDepartmentId() {
return this.departmentId;
}
public GetRoleUsersResponseBodyData setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public GetRoleUsersResponseBodyData setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public GetRoleUsersResponseBodyData setDomainType(String domainType) {
this.domainType = domainType;
return this;
}
public String getDomainType() {
return this.domainType;
}
public GetRoleUsersResponseBodyData setEmail(String email) {
this.email = email;
return this;
}
public String getEmail() {
return this.email;
}
public GetRoleUsersResponseBodyData setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getMobile() {
return this.mobile;
}
public GetRoleUsersResponseBodyData setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetRoleUsersResponseBodyData setPartDepartmentIds(java.util.List partDepartmentIds) {
this.partDepartmentIds = partDepartmentIds;
return this;
}
public java.util.List getPartDepartmentIds() {
return this.partDepartmentIds;
}
public GetRoleUsersResponseBodyData setSex(String sex) {
this.sex = sex;
return this;
}
public String getSex() {
return this.sex;
}
public GetRoleUsersResponseBodyData setSortKey(Long sortKey) {
this.sortKey = sortKey;
return this;
}
public Long getSortKey() {
return this.sortKey;
}
public GetRoleUsersResponseBodyData setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}