All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkmicro_app_1_0.models.RegisterCustomAppRoleRequest Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy