![JAR search and dependency download from the Maven repository](/logo.png)
com.ecwid.consul.v1.query.model.QueryExecution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of consul-api Show documentation
Show all versions of consul-api Show documentation
Java client for Consul HTTP API (http://consul.io)
The newest version!
package com.ecwid.consul.v1.query.model;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class QueryExecution {
public static class DNS {
@SerializedName("TTL")
private String ttl;
public String getTtl() { return ttl; }
public void setTtl(String ttl) { this.ttl = ttl; }
@Override
public String toString() {
return "DNS{" +
"ttl=" + ttl +
'}';
}
}
@SerializedName("Service")
private String service;
@SerializedName("Nodes")
private List nodes;
@SerializedName("DNS")
private DNS dns;
@SerializedName("Datacenter")
private String datacenter;
@SerializedName("Failovers")
private Integer failovers;
public String getService() { return service; }
public void setService(String service) { this.service = service; }
public List getNodes() { return nodes; }
public void setNodes(List nodes) { this.nodes = nodes; }
public String getDatacenter() { return datacenter; }
public void setDatacenter(String datacenter) { this.datacenter = datacenter; }
public Integer getFailovers() { return failovers; }
public void setFailovers(Integer failovers) { this.failovers = failovers; }
@Override
public String toString() {
return "CatalogNode{" +
"service=" + service +
", nodes=" + nodes +
", dns=" + dns +
", datacenter=" + datacenter +
", failovers=" + failovers +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy