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

io.swagger.v3.parser.reference.Reference Maven / Gradle / Ivy

The newest version!
package io.swagger.v3.parser.reference;

import com.fasterxml.jackson.databind.JsonNode;
import io.swagger.v3.parser.core.models.AuthorizationValue;

import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class Reference {
    private String uri ;
    private int depth = 0;
    private Object value;
    private Set messages = new HashSet<>();
    private Map referenceSet;
    private JsonNode jsonNode;

    private List auths;

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public int getDepth() {
        return depth;
    }

    public void setDepth(int depth) {
        this.depth = depth;
    }

    public Object getValue() {
        return value;
    }

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

    public Set getMessages() {
        return messages;
    }

    public void setMessages(Set messages) {
        this.messages = messages;
    }

    public Map getReferenceSet() {
        return referenceSet;
    }

    public void setReferenceSet(Map referenceSet) {
        this.referenceSet = referenceSet;
    }

    public Reference uri(String uri) {
        this.uri = uri;
        return this;
    }

    public Reference depth(int depth) {
        this.depth = depth;
        return this;
    }

    public Reference value(Object value) {
        this.value = value;
        return this;
    }

    public Reference messages(Set messages) {
        this.messages = messages;
        return this;
    }

    public Reference referenceSet(Map referenceSet) {
        this.referenceSet = referenceSet;
        return this;
    }

    public List getAuths() {
        return auths;
    }

    public void setAuths(List auths) {
        this.auths = auths;
    }

    public Reference auths(List auths) {
        this.auths = auths;
        return this;
    }

    public JsonNode getJsonNode() {
        return jsonNode;
    }

    public void setJsonNode(JsonNode jsonNode) {
        this.jsonNode = jsonNode;
    }

    public Reference jsonNode(JsonNode jsonNode) {
        this.jsonNode = jsonNode;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy