package com.ecwid.consul.v1.coordinate.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author Vasily Vasilkov (vgv@ecwid.com)
 */
public class Datacenter {

	@SerializedName("Datacenter")
	private String datacenter;

	@SerializedName("Coordinates")
	private List<Node> coordinates;

	public String getDatacenter() {
		return datacenter;
	}

	public void setDatacenter(String datacenter) {
		this.datacenter = datacenter;
	}

	public List<Node> getCoordinates() {
		return coordinates;
	}

	public void setCoordinates(List<Node> coordinates) {
		this.coordinates = coordinates;
	}

	@Override
	public String toString() {
		return "Datacenter{" +
				"datacenter='" + datacenter + '\'' +
				", coordinates=" + coordinates +
				'}';
	}
}

@@ -254,16 +254,68 @@
 enter;%0A%0A
+%09@SerializedName(%22AreaID%22)%0A%09private String areaId;%0A%0A
 %09@Serial
@@ -338,16 +338,16 @@
 nates%22)%0A
-
 %09private
@@ -506,32 +506,150 @@
 datacenter;%0A%09%7D%0A%0A
+%09public String getAreaId() %7B%0A%09%09return areaId;%0A%09%7D%0A%0A%09public void setAreaId(String areaId) %7B%0A%09%09this.areaId = areaId;%0A%09%7D%0A%0A
 %09public List%3CNod
@@ -852,16 +852,16 @@
 ter%7B%22 +%0A
-
 %09%09%09%09%22dat
@@ -893,16 +893,51 @@
  '%5C'' +%0A
+%09%09%09%09%22, areaId='%22 + areaId + '%5C'' +%0A
 %09%09%09%09%22, c

Fix #108