com.aliyun.dingtalkbizfinance_2_0.models.QueryUserRoleListResponseBody 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.dingtalkbizfinance_2_0.models;
import com.aliyun.tea.*;
public class QueryUserRoleListResponseBody extends TeaModel {
/**
* example:
* COM_DEFAULT
*/
@NameInMap("companyCode")
public String companyCode;
@NameInMap("financeEmpDeptOpenList")
public java.util.List financeEmpDeptOpenList;
@NameInMap("roleVOList")
public java.util.List roleVOList;
public static QueryUserRoleListResponseBody build(java.util.Map map) throws Exception {
QueryUserRoleListResponseBody self = new QueryUserRoleListResponseBody();
return TeaModel.build(map, self);
}
public QueryUserRoleListResponseBody setCompanyCode(String companyCode) {
this.companyCode = companyCode;
return this;
}
public String getCompanyCode() {
return this.companyCode;
}
public QueryUserRoleListResponseBody setFinanceEmpDeptOpenList(java.util.List financeEmpDeptOpenList) {
this.financeEmpDeptOpenList = financeEmpDeptOpenList;
return this;
}
public java.util.List getFinanceEmpDeptOpenList() {
return this.financeEmpDeptOpenList;
}
public QueryUserRoleListResponseBody setRoleVOList(java.util.List roleVOList) {
this.roleVOList = roleVOList;
return this;
}
public java.util.List getRoleVOList() {
return this.roleVOList;
}
public static class QueryUserRoleListResponseBodyFinanceEmpDeptOpenList extends TeaModel {
@NameInMap("cascadeDeptId")
public String cascadeDeptId;
@NameInMap("deptId")
public Long deptId;
@NameInMap("name")
public String name;
@NameInMap("superDeptId")
public Long superDeptId;
public static QueryUserRoleListResponseBodyFinanceEmpDeptOpenList build(java.util.Map map) throws Exception {
QueryUserRoleListResponseBodyFinanceEmpDeptOpenList self = new QueryUserRoleListResponseBodyFinanceEmpDeptOpenList();
return TeaModel.build(map, self);
}
public QueryUserRoleListResponseBodyFinanceEmpDeptOpenList setCascadeDeptId(String cascadeDeptId) {
this.cascadeDeptId = cascadeDeptId;
return this;
}
public String getCascadeDeptId() {
return this.cascadeDeptId;
}
public QueryUserRoleListResponseBodyFinanceEmpDeptOpenList setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public QueryUserRoleListResponseBodyFinanceEmpDeptOpenList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryUserRoleListResponseBodyFinanceEmpDeptOpenList setSuperDeptId(Long superDeptId) {
this.superDeptId = superDeptId;
return this;
}
public Long getSuperDeptId() {
return this.superDeptId;
}
}
public static class QueryUserRoleListResponseBodyRoleVOList extends TeaModel {
/**
* example:
* applicationManager
*/
@NameInMap("roleCode")
public String roleCode;
/**
* example:
* 应用管理员
*/
@NameInMap("roleName")
public String roleName;
public static QueryUserRoleListResponseBodyRoleVOList build(java.util.Map map) throws Exception {
QueryUserRoleListResponseBodyRoleVOList self = new QueryUserRoleListResponseBodyRoleVOList();
return TeaModel.build(map, self);
}
public QueryUserRoleListResponseBodyRoleVOList setRoleCode(String roleCode) {
this.roleCode = roleCode;
return this;
}
public String getRoleCode() {
return this.roleCode;
}
public QueryUserRoleListResponseBodyRoleVOList setRoleName(String roleName) {
this.roleName = roleName;
return this;
}
public String getRoleName() {
return this.roleName;
}
}
}