com.aliyun.dingtalkmicro_app_1_0.models.RebuildRoleScopeForAppRoleRequest 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.dingtalkmicro_app_1_0.models;
import com.aliyun.tea.*;
public class RebuildRoleScopeForAppRoleRequest extends TeaModel {
// 部门id列表
@NameInMap("deptIdList")
public java.util.List deptIdList;
// 执行用户userId
@NameInMap("opUserId")
public String opUserId;
// 角色范围类型,“ALL_VISIBLE”表示全员,“PART_VISIBLE”表示部分
@NameInMap("scopeType")
public String scopeType;
// 角色范围最新版本号
@NameInMap("scopeVersion")
public Long scopeVersion;
// 员工userId列表
@NameInMap("userIdList")
public java.util.List userIdList;
public static RebuildRoleScopeForAppRoleRequest build(java.util.Map map) throws Exception {
RebuildRoleScopeForAppRoleRequest self = new RebuildRoleScopeForAppRoleRequest();
return TeaModel.build(map, self);
}
public RebuildRoleScopeForAppRoleRequest setDeptIdList(java.util.List deptIdList) {
this.deptIdList = deptIdList;
return this;
}
public java.util.List getDeptIdList() {
return this.deptIdList;
}
public RebuildRoleScopeForAppRoleRequest setOpUserId(String opUserId) {
this.opUserId = opUserId;
return this;
}
public String getOpUserId() {
return this.opUserId;
}
public RebuildRoleScopeForAppRoleRequest setScopeType(String scopeType) {
this.scopeType = scopeType;
return this;
}
public String getScopeType() {
return this.scopeType;
}
public RebuildRoleScopeForAppRoleRequest setScopeVersion(Long scopeVersion) {
this.scopeVersion = scopeVersion;
return this;
}
public Long getScopeVersion() {
return this.scopeVersion;
}
public RebuildRoleScopeForAppRoleRequest setUserIdList(java.util.List userIdList) {
this.userIdList = userIdList;
return this;
}
public java.util.List getUserIdList() {
return this.userIdList;
}
}