com.aliyun.dingtalkvillage_1_0.models.GetResidentUserInfoResponseBody 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 GetResidentUserInfoResponseBody extends TeaModel {
// 员工特征
@NameInMap("feature")
public String feature;
// 员工名字
@NameInMap("name")
public String name;
// 标签列表
@NameInMap("roles")
public java.util.List roles;
// 钉钉唯一标识
@NameInMap("unionId")
public String unionId;
// 员工id
@NameInMap("userid")
public String userid;
public static GetResidentUserInfoResponseBody build(java.util.Map map) throws Exception {
GetResidentUserInfoResponseBody self = new GetResidentUserInfoResponseBody();
return TeaModel.build(map, self);
}
public GetResidentUserInfoResponseBody setFeature(String feature) {
this.feature = feature;
return this;
}
public String getFeature() {
return this.feature;
}
public GetResidentUserInfoResponseBody setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetResidentUserInfoResponseBody setRoles(java.util.List roles) {
this.roles = roles;
return this;
}
public java.util.List getRoles() {
return this.roles;
}
public GetResidentUserInfoResponseBody setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public GetResidentUserInfoResponseBody setUserid(String userid) {
this.userid = userid;
return this;
}
public String getUserid() {
return this.userid;
}
public static class GetResidentUserInfoResponseBodyRoles extends TeaModel {
// 标签id
@NameInMap("roleId")
public Long roleId;
// 标签名称
@NameInMap("roleName")
public String roleName;
// 标签名称 tagCode
@NameInMap("tagCode")
public String tagCode;
public static GetResidentUserInfoResponseBodyRoles build(java.util.Map map) throws Exception {
GetResidentUserInfoResponseBodyRoles self = new GetResidentUserInfoResponseBodyRoles();
return TeaModel.build(map, self);
}
public GetResidentUserInfoResponseBodyRoles setRoleId(Long roleId) {
this.roleId = roleId;
return this;
}
public Long getRoleId() {
return this.roleId;
}
public GetResidentUserInfoResponseBodyRoles setRoleName(String roleName) {
this.roleName = roleName;
return this;
}
public String getRoleName() {
return this.roleName;
}
public GetResidentUserInfoResponseBodyRoles setTagCode(String tagCode) {
this.tagCode = tagCode;
return this;
}
public String getTagCode() {
return this.tagCode;
}
}
}