From dab3f06ea20b92170ce3ddc14409dd3579a3ad8d Mon Sep 17 00:00:00 2001 From: Fayder Florez Date: Sat, 18 Mar 2017 19:15:08 +0200 Subject: [PATCH] Added flag property --- .../fayder/restcountries/v2/domain/Country.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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; + } }