diff --git a/src/main/java/fayder/restcountries/v2/domain/Country.java b/src/main/java/fayder/restcountries/v2/domain/Country.java index fd550554..84b1205e 100644 --- a/src/main/java/fayder/restcountries/v2/domain/Country.java +++ b/src/main/java/fayder/restcountries/v2/domain/Country.java @@ -13,23 +13,16 @@ public class Country extends BaseCountry { private List currencies; private List languages; private Translations translations; + private String flag; public List getCurrencies() { return currencies; } - public void setCurrencies(List currencies) { - this.currencies = currencies; - } - public List getLanguages() { return languages; } - public void setLanguages(List languages) { - this.languages = languages; - } - @Override @JsonIgnore public String getRelevance() { @@ -45,4 +38,8 @@ public String getSubregion() { public Translations getTranslations() { return translations; } + + public String getFlag() { + return flag; + } }