com.ecwid.consul.v1.coordinate.model.Datacenter 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.coordinate.model;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* @author Vasily Vasilkov ([email protected])
*/
public class Datacenter {
@SerializedName("Datacenter")
private String datacenter;
@SerializedName("AreaID")
private String areaId;
@SerializedName("Coordinates")
private List coordinates;
public String getDatacenter() {
return datacenter;
}
public void setDatacenter(String datacenter) {
this.datacenter = datacenter;
}
public String getAreaId() {
return areaId;
}
public void setAreaId(String areaId) {
this.areaId = areaId;
}
public List getCoordinates() {
return coordinates;
}
public void setCoordinates(List coordinates) {
this.coordinates = coordinates;
}
@Override
public String toString() {
return "Datacenter{" +
"datacenter='" + datacenter + '\'' +
", areaId='" + areaId + '\'' +
", coordinates=" + coordinates +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy