cn.authing.sdk.java.dto.CreateStringDataResourceRespDto 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 CreateStringDataResourceRespDto {
/**
* 数据资源名称, 权限空间内唯一
*/
@JsonProperty("resourceName")
private String resourceName;
/**
* 数据资源 Code, 权限空间内唯一
*/
@JsonProperty("resourceCode")
private String resourceCode;
/**
* 数据资源类型,目前支持树结构(TREE)、字符串(STRING)、数组(ARRAY)
*/
@JsonProperty("type")
private Type type;
/**
* 数据资源描述
*/
@JsonProperty("description")
private String description;
/**
* 字符串数据资源节点
*/
@JsonProperty("struct")
private String struct;
/**
* 数据资源权限操作列表
*/
@JsonProperty("actions")
private List actions;
public String getResourceName() {
return resourceName;
}
public void setResourceName(String resourceName) {
this.resourceName = resourceName;
}
public String getResourceCode() {
return resourceCode;
}
public void setResourceCode(String resourceCode) {
this.resourceCode = resourceCode;
}
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getStruct() {
return struct;
}
public void setStruct(String struct) {
this.struct = struct;
}
public List getActions() {
return actions;
}
public void setActions(List actions) {
this.actions = actions;
}
/**
* 数据资源类型,目前支持树结构(TREE)、字符串(STRING)、数组(ARRAY)
*/
public static enum Type {
@JsonProperty("TREE")
TREE("TREE"),
@JsonProperty("STRING")
STRING("STRING"),
@JsonProperty("ARRAY")
ARRAY("ARRAY"),
;
private String value;
Type(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy