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

com.orbitz.consul.model.query.QueryResults Maven / Gradle / Ivy

package com.orbitz.consul.model.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.orbitz.consul.model.health.ServiceHealth;
import org.immutables.value.Value;

import java.util.List;

@Value.Immutable
@JsonSerialize(as = ImmutableQueryResults.class)
@JsonDeserialize(as = ImmutableQueryResults.class)
@JsonIgnoreProperties(ignoreUnknown = true)
public abstract class QueryResults {

    @JsonProperty("Service")
    public abstract String service();

    @JsonProperty("Nodes")
    public abstract List nodes();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy