com.ecwid.consul.v1.catalog.model.Node 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)
package com.ecwid.consul.v1.catalog.model;
import com.google.gson.annotations.SerializedName;
/**
* @author Vasily Vasilkov ([email protected])
*/
public class Node {
@SerializedName("Node")
private String node;
@SerializedName("Address")
private String address;
public String getNode() {
return node;
}
public void setNode(String node) {
this.node = node;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
@Override
public String toString() {
return "Node{" +
"node='" + node + '\'' +
", address='" + address + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy