
package com.weatherservice.JSON;

import java.util.ArrayList
;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class JsonWeather {

	protected static final String WEATHER_JSON = "weather"; 
	protected static final String MAIN_JSON = "main";
	protected static final String WIND_JSON = "wind";
	protected static final String SYS_JSON = "sys";
	
	protected static final String TEMP_JSON = "temp";
	protected static final String TEMPMIN_JSON = "temp_min";
	protected static final String TEMPMAX_JSON = "temp_max";
	protected static final String HUMIDITY_JSON = "humidity";
	
	protected static final String WEATHER_MAIN_JSON = "main";
	protected static final String WEATHER_DESC_JSON = "description";
	protected static final String WEATHER_ICON_JSON = "icon";
	
	protected static final String WIND_SPEED_JSON = "speed";
	protected static final String WIND_DEG_JSON = "deg";
	
	protected static final String SYS_SUNRISE_JSON = "sunrise";
	protected static final String SYS_SUNSET_JSON = "sunset";
	protected static final String SYS_COUNTRY_JSON = "country";
	
	protected static final String NAME_JSON = "name";
	
	
  
    private Sys sys;
    private List<Weather> weather = new ArrayList<Weather>();
    private String base;
    private Main main;
    private Wind wind;
   
    private Integer dt;
    private Integer id;
    private String name;
    private Integer cod;
  

   
    /**
     * 
     * @return
     *     The sys
     */
    public Sys getSys() {
        return sys;
    }

    /**
     * 
     * @param sys
     *     The sys
     */
    public void setSys(Sys sys) {
        this.sys = sys;
    }

    
    /**
     * 
     * @return
     *     The weather
     */
    public List<Weather> getWeather() {
        return weather;
    }

    /**
     * 
     * @param weather
     *     The weather
     */
    public void setWeather(List<Weather> weather) {
        this.weather = weather;
    }

   
    /**
     * 
     * @return
     *     The base
     */
    public String getBase() {
        return base;
    }

    /**
     * 
     * @param base
     *     The base
     */
    public void setBase(String base) {
        this.base = base;
    }

   
    /**
     * 
     * @return
     *     The main
     */
    public Main getMain() {
        return main;
    }

    /**
     * 
     * @param main
     *     The main
     */
    public void setMain(Main main) {
        this.main = main;
    }

    
    /**
     * 
     * @return
     *     The wind
     */
    public Wind getWind() {
        return wind;
    }

    /**
     * 
     * @param wind
     *     The wind
     */
    public void setWind(Wind wind) {
        this.wind = wind;
    }

    

   
    

   

    /**
     * 
     * @return
     *     The id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @param id
     *     The id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    public JsonWeather withId(Integer id) {
        this.id = id;
        return this;
    }

    /**
     * 
     * @return
     *     The name
     */
    public String getName() {
        return name;
    }

    /**
     * 
     * @param name
     *     The name
     */
    public void setName(String name) {
        this.name = name;
    }

   

    /**
     * 
     * @return
     *     The cod
     */
    public Integer getCod() {
        return cod;
    }

    /**
     * 
     * @param cod
     *     The cod
     */
    public void setCod(Integer cod) {
        this.cod = cod;
    }

    public JsonWeather withCod(Integer cod) {
        this.cod = cod;
        return this;
    }

   
}

@@ -1227,30 +1227,9 @@
 %0A   
- private String base;
 %0A
+
     
@@ -1274,36 +1274,8 @@
 nd;%0A
-   %0A    private Integer dt;%0A
     
@@ -1324,35 +1324,9 @@
 e;%0A 
-   private Integer cod;%0A  
 %0A
+
 %0A   
@@ -1869,260 +1869,8 @@
    %0A
-    /**%0A     * %0A     * @return%0A     *     The base%0A     */%0A    public String getBase() %7B%0A        return base;%0A    %7D%0A%0A    /**%0A     * %0A     * @param base%0A     *     The base%0A     */%0A    public void setBase(String base) %7B%0A        this.base = base;%0A    %7D%0A%0A
    %0A
@@ -2634,98 +2634,8 @@
 %0A   
- public JsonWeather withId(Integer id) %7B%0A        this.id = id;%0A        return this;%0A    %7D%0A
 %0A   
@@ -2892,350 +2892,8 @@
   %0A%0A
-    /**%0A     * %0A     * @return%0A     *     The cod%0A     */%0A    public Integer getCod() %7B%0A        return cod;%0A    %7D%0A%0A    /**%0A     * %0A     * @param cod%0A     *     The cod%0A     */%0A    public void setCod(Integer cod) %7B%0A        this.cod = cod;%0A    %7D%0A%0A    public JsonWeather withCod(Integer cod) %7B%0A        this.cod = cod;%0A        return this;%0A    %7D%0A
 %0A   

Update JsonWeather.java