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

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

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

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
import java.util.Map;


public class DataResourceTreeStructs {
    /**
     * 数据资源节点 Code, 同层级唯一
     */
    @JsonProperty("code")
    private String code;
    /**
     * 数据资源节点名称 ,同层级唯一
     */
    @JsonProperty("name")
    private String name;
    /**
     * 数据资源节点 Value
     */
    @JsonProperty("value")
    private String value;
    /**
     * 数据资源节点的子节点,子节点层级最多支持五个层级
     */
    @JsonProperty("children")
    private List children;

    /**
     * 设置节点扩展字段与对应的值
     * key: 扩展字段 key
     * value: 扩展字段值
     */
    private Map extendFieldValue;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public List getChildren() {
        return children;
    }

    public void setChildren(List children) {
        this.children = children;
    }

    public Map getExtendFieldValue() {
        return extendFieldValue;
    }

    public void setExtendFieldValue(Map extendFieldValue) {
        this.extendFieldValue = extendFieldValue;
    }
}