com.aliyun.dingtalkmicro_app_1_0.models.GetAppRoleScopeByRoleIdResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkmicro_app_1_0.models;
import com.aliyun.tea.*;
public class GetAppRoleScopeByRoleIdResponseBody extends TeaModel {
// 是否拥有角色管理权限,默认false
@NameInMap("canManageRole")
public Boolean canManageRole;
// 部门id列表
@NameInMap("deptIdList")
public java.util.List deptIdList;
// 角色id
@NameInMap("roleId")
public Long roleId;
// 角色名称
@NameInMap("roleName")
public String roleName;
// 角色范围类型,“ALL_VISIBLE”表示全员,“PART_VISIBLE”表示部分
@NameInMap("scopeType")
public String scopeType;
// 角色范围版本号
@NameInMap("scopeVersion")
public String scopeVersion;
// 员工userId列表
@NameInMap("userIdList")
public java.util.List userIdList;
public static GetAppRoleScopeByRoleIdResponseBody build(java.util.Map map) throws Exception {
GetAppRoleScopeByRoleIdResponseBody self = new GetAppRoleScopeByRoleIdResponseBody();
return TeaModel.build(map, self);
}
public GetAppRoleScopeByRoleIdResponseBody setCanManageRole(Boolean canManageRole) {
this.canManageRole = canManageRole;
return this;
}
public Boolean getCanManageRole() {
return this.canManageRole;
}
public GetAppRoleScopeByRoleIdResponseBody setDeptIdList(java.util.List deptIdList) {
this.deptIdList = deptIdList;
return this;
}
public java.util.List getDeptIdList() {
return this.deptIdList;
}
public GetAppRoleScopeByRoleIdResponseBody setRoleId(Long roleId) {
this.roleId = roleId;
return this;
}
public Long getRoleId() {
return this.roleId;
}
public GetAppRoleScopeByRoleIdResponseBody setRoleName(String roleName) {
this.roleName = roleName;
return this;
}
public String getRoleName() {
return this.roleName;
}
public GetAppRoleScopeByRoleIdResponseBody setScopeType(String scopeType) {
this.scopeType = scopeType;
return this;
}
public String getScopeType() {
return this.scopeType;
}
public GetAppRoleScopeByRoleIdResponseBody setScopeVersion(String scopeVersion) {
this.scopeVersion = scopeVersion;
return this;
}
public String getScopeVersion() {
return this.scopeVersion;
}
public GetAppRoleScopeByRoleIdResponseBody setUserIdList(java.util.List userIdList) {
this.userIdList = userIdList;
return this;
}
public java.util.List getUserIdList() {
return this.userIdList;
}
}