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

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

public class UpdateDataResourceRespDto {
    /**
     * 数据资源名称, 权限空间内唯一
     */
    @JsonProperty("resourceName")
    private String resourceName;
    /**
     * 数据资源 Code, 权限空间内唯一
     */
    @JsonProperty("resourceCode")
    private String resourceCode;
    /**
     * 数据资源类型,目前支持树结构(TREE)、字符串(STRING)、数组(ARRAY)
     */
    @JsonProperty("type")
    private Type type;
    /**
     * 数据资源描述
     */
    @JsonProperty("description")
    private String description;
    /**
     * 数据资源结构,支持字符串(STRING)、树结构(TREE)和数组结构(ARRAY)。
     */
    @JsonProperty("struct")
    private Object struct;
    /**
     * 数据资源权限操作列表
     */
    @JsonProperty("actions")
    private List actions;

    /**
     * 数据资源扩展字段列表
     */
    private List extendFieldList;

    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 Object getStruct() {
        return struct;
    }
    public void setStruct(Object struct) {
        this.struct = struct;
    }

    public List getActions() {
        return actions;
    }
    public void setActions(List actions) {
        this.actions = actions;
    }

    public List getExtendFieldList() {
        return extendFieldList;
    }

    public void setExtendFieldList(List extendFieldList) {
        this.extendFieldList = extendFieldList;
    }

    /**
     * 数据资源类型,目前支持树结构(TREE)、字符串(STRING)、数组(ARRAY)
     */
    public 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