cn.authing.sdk.java.dto.CheckResourcePermissionRespDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CheckResourcePermissionRespDto {
/**
* 权限空间 Code
*/
@JsonProperty("namespaceCode")
private String namespaceCode;
/**
* 数据资源权限操作
*/
@JsonProperty("action")
private String action;
/**
* 资源路径
*/
@JsonProperty("resource")
private String resource;
/**
* 用户在某个权限空间下是否具有该数据资源的某个操作
*/
@JsonProperty("enabled")
private Boolean enabled;
public String getNamespaceCode() {
return namespaceCode;
}
public void setNamespaceCode(String namespaceCode) {
this.namespaceCode = namespaceCode;
}
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 Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy