com.aliyun.dingtalkmicro_app_1_0.models.RegisterCustomAppRoleRequest 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 RegisterCustomAppRoleRequest extends TeaModel {
// 是否拥有管理角色的权限,可不传,默认false
@NameInMap("canManageRole")
public Boolean canManageRole;
// 执行用户userId
@NameInMap("opUserId")
public String opUserId;
// 角色名称
@NameInMap("roleName")
public String roleName;
public static RegisterCustomAppRoleRequest build(java.util.Map map) throws Exception {
RegisterCustomAppRoleRequest self = new RegisterCustomAppRoleRequest();
return TeaModel.build(map, self);
}
public RegisterCustomAppRoleRequest setCanManageRole(Boolean canManageRole) {
this.canManageRole = canManageRole;
return this;
}
public Boolean getCanManageRole() {
return this.canManageRole;
}
public RegisterCustomAppRoleRequest setOpUserId(String opUserId) {
this.opUserId = opUserId;
return this;
}
public String getOpUserId() {
return this.opUserId;
}
public RegisterCustomAppRoleRequest setRoleName(String roleName) {
this.roleName = roleName;
return this;
}
public String getRoleName() {
return this.roleName;
}
}