Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. public class Country extends BaseResponse {
  2.  
  3. @SerializedName("name")
  4. @Expose
  5. private String name;
  6. @SerializedName("topLevelDomain")
  7. @Expose
  8. private List<String> topLevelDomain = null;
  9. @SerializedName("alpha2Code")
  10. @Expose
  11. private String alpha2Code;
  12. @SerializedName("alpha3Code")
  13. @Expose
  14. private String alpha3Code;
  15. @SerializedName("callingCodes")
  16. @Expose
  17. private List<String> callingCodes = null;
  18. @SerializedName("capital")
  19. @Expose
  20. private String capital;
  21. @SerializedName("altSpellings")
  22. @Expose
  23. private List<String> altSpellings = null;
  24. @SerializedName("region")
  25. @Expose
  26. private String region;
  27. @SerializedName("subregion")
  28. @Expose
  29. private String subregion;
  30. @SerializedName("population")
  31. @Expose
  32. private Integer population;
  33. @SerializedName("latlng")
  34. @Expose
  35. private List<Double> latlng = null;
  36. @SerializedName("demonym")
  37. @Expose
  38. private String demonym;
  39. @SerializedName("area")
  40. @Expose
  41. private Double area;
  42. @SerializedName("gini")
  43. @Expose
  44. private Double gini;
  45. @SerializedName("timezones")
  46. @Expose
  47. private List<String> timezones = null;
  48. @SerializedName("borders")
  49. @Expose
  50. private List<String> borders = null;
  51. @SerializedName("nativeName")
  52. @Expose
  53. private String nativeName;
  54. @SerializedName("numericCode")
  55. @Expose
  56. private String numericCode;
  57. @SerializedName("currencies")
  58. @Expose
  59. private List<Currency> currencies = null;
  60. @SerializedName("languages")
  61. @Expose
  62. private List<Language> languages = null;
  63. @SerializedName("translations")
  64. @Expose
  65. private Translations translations;
  66. @SerializedName("flag")
  67. @Expose
  68. private String flag;
  69. @SerializedName("regionalBlocs")
  70. @Expose
  71. private List<RegionalBloc> regionalBlocs = null;
  72. @SerializedName("cioc")
  73. @Expose
  74. private String cioc;
  75.  
  76. public String getName() {
  77. return name;
  78. }
  79.  
  80. public void setName(String name) {
  81. this.name = name;
  82. }
  83.  
  84. public List<String> getTopLevelDomain() {
  85. return topLevelDomain;
  86. }
  87.  
  88. public void setTopLevelDomain(List<String> topLevelDomain) {
  89. this.topLevelDomain = topLevelDomain;
  90. }
  91.  
  92. public String getAlpha2Code() {
  93. return alpha2Code;
  94. }
  95.  
  96. public void setAlpha2Code(String alpha2Code) {
  97. this.alpha2Code = alpha2Code;
  98. }
  99.  
  100. public String getAlpha3Code() {
  101. return alpha3Code;
  102. }
  103.  
  104. public void setAlpha3Code(String alpha3Code) {
  105. this.alpha3Code = alpha3Code;
  106. }
  107.  
  108. public List<String> getCallingCodes() {
  109. return callingCodes;
  110. }
  111.  
  112. public void setCallingCodes(List<String> callingCodes) {
  113. this.callingCodes = callingCodes;
  114. }
  115.  
  116. public String getCapital() {
  117. return capital;
  118. }
  119.  
  120. public void setCapital(String capital) {
  121. this.capital = capital;
  122. }
  123.  
  124. public List<String> getAltSpellings() {
  125. return altSpellings;
  126. }
  127.  
  128. public void setAltSpellings(List<String> altSpellings) {
  129. this.altSpellings = altSpellings;
  130. }
  131.  
  132. public String getRegion() {
  133. return region;
  134. }
  135.  
  136. public void setRegion(String region) {
  137. this.region = region;
  138. }
  139.  
  140. public String getSubregion() {
  141. return subregion;
  142. }
  143.  
  144. public void setSubregion(String subregion) {
  145. this.subregion = subregion;
  146. }
  147.  
  148. public Integer getPopulation() {
  149. return population;
  150. }
  151.  
  152. public void setPopulation(Integer population) {
  153. this.population = population;
  154. }
  155.  
  156. public List<Double> getLatlng() {
  157. return latlng;
  158. }
  159.  
  160. public void setLatlng(List<Double> latlng) {
  161. this.latlng = latlng;
  162. }
  163.  
  164. public String getDemonym() {
  165. return demonym;
  166. }
  167.  
  168. public void setDemonym(String demonym) {
  169. this.demonym = demonym;
  170. }
  171.  
  172. public Double getArea() {
  173. return area;
  174. }
  175.  
  176. public void setArea(Double area) {
  177. this.area = area;
  178. }
  179.  
  180. public Double getGini() {
  181. return gini;
  182. }
  183.  
  184. public void setGini(Double gini) {
  185. this.gini = gini;
  186. }
  187.  
  188. public List<String> getTimezones() {
  189. return timezones;
  190. }
  191.  
  192. public void setTimezones(List<String> timezones) {
  193. this.timezones = timezones;
  194. }
  195.  
  196. public List<String> getBorders() {
  197. return borders;
  198. }
  199.  
  200. public void setBorders(List<String> borders) {
  201. this.borders = borders;
  202. }
  203.  
  204. public String getNativeName() {
  205. return nativeName;
  206. }
  207.  
  208. public void setNativeName(String nativeName) {
  209. this.nativeName = nativeName;
  210. }
  211.  
  212. public String getNumericCode() {
  213. return numericCode;
  214. }
  215.  
  216. public void setNumericCode(String numericCode) {
  217. this.numericCode = numericCode;
  218. }
  219.  
  220. public List<Currency> getCurrencies() {
  221. return currencies;
  222. }
  223.  
  224. public void setCurrencies(List<Currency> currencies) {
  225. this.currencies = currencies;
  226. }
  227.  
  228. public List<Language> getLanguages() {
  229. return languages;
  230. }
  231.  
  232. public void setLanguages(List<Language> languages) {
  233. this.languages = languages;
  234. }
  235.  
  236. public Translations getTranslations() {
  237. return translations;
  238. }
  239.  
  240. public void setTranslations(Translations translations) {
  241. this.translations = translations;
  242. }
  243.  
  244. public String getFlag() {
  245. return flag;
  246. }
  247.  
  248. public void setFlag(String flag) {
  249. this.flag = flag;
  250. }
  251.  
  252. public List<RegionalBloc> getRegionalBlocs() {
  253. return regionalBlocs;
  254. }
  255.  
  256. public void setRegionalBlocs(List<RegionalBloc> regionalBlocs) {
  257. this.regionalBlocs = regionalBlocs;
  258. }
  259.  
  260. public String getCioc() {
  261. return cioc;
  262. }
  263.  
  264. public void setCioc(String cioc) {
  265. this.cioc = cioc;
  266. }
  267.  
  268. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement