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

com.antgroup.antchain.openapi.bot.models.IotBasicRolePermission Maven / Gradle / Ivy

There is a newer version: 1.11.56
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.bot.models;

import com.aliyun.tea.*;

public class IotBasicRolePermission extends TeaModel {
    // 角色编码
    @NameInMap("role_code")
    @Validation(required = true)
    public String roleCode;

    // 角色名称
    @NameInMap("role_name")
    @Validation(required = true)
    public String roleName;

    // 权限列表
    @NameInMap("permission_list")
    @Validation(required = true)
    public java.util.List permissionList;

    public static IotBasicRolePermission build(java.util.Map map) throws Exception {
        IotBasicRolePermission self = new IotBasicRolePermission();
        return TeaModel.build(map, self);
    }

    public IotBasicRolePermission setRoleCode(String roleCode) {
        this.roleCode = roleCode;
        return this;
    }
    public String getRoleCode() {
        return this.roleCode;
    }

    public IotBasicRolePermission setRoleName(String roleName) {
        this.roleName = roleName;
        return this;
    }
    public String getRoleName() {
        return this.roleName;
    }

    public IotBasicRolePermission setPermissionList(java.util.List permissionList) {
        this.permissionList = permissionList;
        return this;
    }
    public java.util.List getPermissionList() {
        return this.permissionList;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy