2e196aa2786b58a9f0b70072da5ea2c0ae2fe8d1
[JavaForFun] /
1 package name.gumartinm.weather.information.model.currentweather;
2
3 import java.io.Serializable;
4
5 public class Main implements Serializable {
6     private static final long serialVersionUID = -6000879164436289447L;
7     private Number grnd_level;
8     private Number humidity;
9     private Number pressure;
10     private Number sea_level;
11     private Number temp;
12     private Number temp_max;
13     private Number temp_min;
14
15     public Number getGrnd_level() {
16         return this.grnd_level;
17     }
18
19     public void setGrnd_level(final Number grnd_level) {
20         this.grnd_level = grnd_level;
21     }
22
23     public Number getHumidity(){
24         return this.humidity;
25     }
26     public void setHumidity(final Number humidity){
27         this.humidity = humidity;
28     }
29     public Number getPressure(){
30         return this.pressure;
31     }
32     public void setPressure(final Number pressure){
33         this.pressure = pressure;
34     }
35
36     public Number getSea_level() {
37         return this.sea_level;
38     }
39
40     public void setSea_level(final Number sea_level) {
41         this.sea_level = sea_level;
42     }
43
44     public Number getTemp(){
45         return this.temp;
46     }
47     public void setTemp(final Number temp){
48         this.temp = temp;
49     }
50     public Number getTemp_max(){
51         return this.temp_max;
52     }
53     public void setTemp_max(final Number temp_max){
54         this.temp_max = temp_max;
55     }
56     public Number getTemp_min(){
57         return this.temp_min;
58     }
59     public void setTemp_min(final Number temp_min){
60         this.temp_min = temp_min;
61     }
62
63     @Override
64     public String toString() {
65         final StringBuilder builder = new StringBuilder();
66         builder.append("Main [grnd_level=").append(this.grnd_level).append(", humidity=")
67         .append(this.humidity).append(", pressure=").append(this.pressure)
68         .append(", sea_level=").append(this.sea_level).append(", temp=").append(this.temp)
69         .append(", temp_max=").append(this.temp_max).append(", temp_min=")
70         .append(this.temp_min).append("]");
71         return builder.toString();
72     }
73 }