Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @JsonIgnoreProperties(ignoreUnknown = true)
- public class WeatherResponse {
- private Coordinates coord;
- private List<Weather> weather;
- /*private String base;
- private MainRes main;
- private int visibility;
- private Wind wind;
- private Clouds clouds;
- private String dt;
- private Sys sys;*/
- private int timezone;
- private int id;
- private String name;
- private int cod;
- public List<Weather> getWeather() {
- return weather;
- }
- public void setWeather(List<Weather> weather) {
- this.weather = weather;
- }
- public Coordinates getCoord() {
- return coord;
- }
- public void setCoord(Coordinates coord) {
- this.coord = coord;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement