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