Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. @JsonIgnoreProperties(ignoreUnknown = true)
  2. public class WeatherResponse {
  3.  
  4. private Coordinates coord;
  5. private List<Weather> weather;
  6. /*private String base;
  7. private MainRes main;
  8. private int visibility;
  9. private Wind wind;
  10. private Clouds clouds;
  11. private String dt;
  12. private Sys sys;*/
  13.  
  14. private int timezone;
  15. private int id;
  16. private String name;
  17. private int cod;
  18.  
  19.  
  20. public List<Weather> getWeather() {
  21. return weather;
  22. }
  23. public void setWeather(List<Weather> weather) {
  24. this.weather = weather;
  25. }
  26. public Coordinates getCoord() {
  27. return coord;
  28. }
  29. public void setCoord(Coordinates coord) {
  30. this.coord = coord;
  31. }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement