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

cn.authing.sdk.java.dto.CheckPermissionDto Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
package cn.authing.sdk.java.dto;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

import cn.authing.sdk.java.dto.AuthEnvParams;

public class CheckPermissionDto {
    /**
     * 资源路径列表,**树资源需到具体树节点**
     */
    @JsonProperty("resources")
    private List resources;
    /**
     * 数据资源权限操作, read、get、write 等动作
     */
    @JsonProperty("action")
    private String action;
    /**
     * 用户 ID
     */
    @JsonProperty("userId")
    private String userId;
    /**
     * 权限空间 Code
     */
    @JsonProperty("namespaceCode")
    private String namespaceCode;
    /**
     * 是否开启条件判断,默认 false 不开启
     */
    @JsonProperty("judgeConditionEnabled")
    private Boolean judgeConditionEnabled;
    /**
     * 条件环境属性,若开启条件判断则使用
     */
    @JsonProperty("authEnvParams")
    private AuthEnvParams authEnvParams;

    public List getResources() {
        return resources;
    }
    public void setResources(List resources) {
        this.resources = resources;
    }

    public String getAction() {
        return action;
    }
    public void setAction(String action) {
        this.action = action;
    }

    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNamespaceCode() {
        return namespaceCode;
    }
    public void setNamespaceCode(String namespaceCode) {
        this.namespaceCode = namespaceCode;
    }

    public Boolean getJudgeConditionEnabled() {
        return judgeConditionEnabled;
    }
    public void setJudgeConditionEnabled(Boolean judgeConditionEnabled) {
        this.judgeConditionEnabled = judgeConditionEnabled;
    }

    public AuthEnvParams getAuthEnvParams() {
        return authEnvParams;
    }
    public void setAuthEnvParams(AuthEnvParams authEnvParams) {
        this.authEnvParams = authEnvParams;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy