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

cn.authing.sdk.java.dto.IsActionAllowedDto 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;


public class IsActionAllowedDto {
    /**
     * 用户 ID
     */
    @JsonProperty("userId")
    private String userId;
    /**
     * 资源对应的操作
     */
    @JsonProperty("action")
    private String action;
    /**
     * 资源标识符
     */
    @JsonProperty("resource")
    private String resource;
    /**
     * 所属权限分组(权限空间)的 Code,不传获取默认权限分组。
     */
    @JsonProperty("namespace")
    private String namespace;

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

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

    public String getResource() {
        return resource;
    }
    public void setResource(String resource) {
        this.resource = resource;
    }

    public String getNamespace() {
        return namespace;
    }
    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy