package com.sportmonks.data.entity;

import java.util.HashMap;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.sportmonks.data.structure.Leagues;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "id", "name", "extra", "continent", "leagues" })
public class Country {

	@JsonProperty("id")
	private Long id;
	@JsonProperty("name")
	private String name;
	@JsonProperty("extra")
	private CountryExtra extra;
	@JsonProperty("continent")
	private Continent continent;
	@JsonProperty("leagues")
	private Leagues leagues;
	@JsonIgnore
	private Map<String, Object> additionalProperties = new HashMap<String, Object>();

	@JsonProperty("id")
	public Long getId() {
		return id;
	}

	@JsonProperty("id")
	public void setId(Long id) {
		this.id = id;
	}

	@JsonProperty("name")
	public String getName() {
		return name;
	}

	@JsonProperty("name")
	public void setName(String name) {
		this.name = name;
	}

	@JsonProperty("extra")
	public CountryExtra getExtra() {
		return extra;
	}

	@JsonProperty("extra")
	public void setExtra(CountryExtra extra) {
		this.extra = extra;
	}

	@JsonProperty("continent")
	public Continent getContinent() {
		return continent;
	}

	@JsonProperty("continent")
	public void setContinent(Continent continent) {
		this.continent = continent;
	}

	@JsonProperty("leagues")
	public Leagues getLeagues() {
		return leagues;
	}

	@JsonProperty("leagues")
	public void setLeagues(Leagues leagues) {
		this.leagues = leagues;
	}

	@JsonAnyGetter
	public Map<String, Object> getAdditionalProperties() {
		return this.additionalProperties;
	}

	@JsonAnySetter
	public void setAdditionalProperty(String name, Object value) {
		this.additionalProperties.put(name, value);
	}

}
@@ -403,24 +403,73 @@
 pertyOrder;%0A
+import com.sportmonks.data.structure.Continents;%0A
 import com.s
@@ -815,32 +815,33 @@
 rivate Continent
+s
  continent;%0A%09@Js
@@ -834,16 +834,17 @@
 ontinent
+s
 ;%0A%09@Json
@@ -1487,16 +1487,17 @@
 ontinent
+s
  getCont
@@ -1501,16 +1501,17 @@
 ontinent
+s
 () %7B%0A%09%09r
@@ -1517,32 +1517,33 @@
 return continent
+s
 ;%0A%09%7D%0A%0A%09@JsonProp
@@ -1585,16 +1585,17 @@
 ontinent
+s
 (Contine
@@ -1596,16 +1596,17 @@
 ontinent
+s
  contine
@@ -1607,16 +1607,17 @@
 ontinent
+s
 ) %7B%0A%09%09th
@@ -1628,16 +1628,17 @@
 ontinent
+s
  = conti
@@ -1641,16 +1641,17 @@
 ontinent
+s
 ;%0A%09%7D%0A%0A%09@

Fix Countries data structure