package tech.easyflow.common.ai.plugin;

import java.util.List;

public class PluginParam {
    private String name;
    private String description;
    private String type;
    private String method;       // Query / Body / Header / PathVariable 等
    private Object defaultValue;
    private boolean required;
    private boolean enabled;
    private String key;
    private List<PluginParam> children;
    public String getName() {
        return name;
    }

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

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Object getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(Object defaultValue) {
        this.defaultValue = defaultValue;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public List<PluginParam> getChildren() {
        return children;
    }

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