]> git.basschouten.com Git - openhab-addons.git/blob
41ec05bad818d5deb7b84a3ebf794d3c944a80ad
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.openweathermap.internal.dto.forecast.daily;
14
15 import org.eclipse.jdt.annotation.Nullable;
16 import org.openhab.binding.openweathermap.internal.dto.base.Weather;
17
18 import com.google.gson.annotations.SerializedName;
19
20 /**
21  * Generated Plain Old Java Objects class for {@link List} from JSON.
22  *
23  * @author Christoph Weitkamp - Initial contribution
24  */
25 public class List {
26     private Integer dt;
27     private Temp temp;
28     @SerializedName("feels_like")
29     private @Nullable FeelsLikeTemp feelsLikeTemp;
30     private Double pressure;
31     private Integer humidity;
32     private java.util.List<Weather> weather;
33     private Double speed;
34     private Double deg;
35     private @Nullable Double gust;
36     private Integer clouds;
37     private @Nullable Double rain;
38     private @Nullable Double snow;
39
40     public Integer getDt() {
41         return dt;
42     }
43
44     public void setDt(Integer dt) {
45         this.dt = dt;
46     }
47
48     public Temp getTemp() {
49         return temp;
50     }
51
52     public void setTemp(Temp temp) {
53         this.temp = temp;
54     }
55
56     public @Nullable FeelsLikeTemp getFeelsLikeTemp() {
57         return feelsLikeTemp;
58     }
59
60     public void setFeelsLikeTemp(FeelsLikeTemp feelsLikeTemp) {
61         this.feelsLikeTemp = feelsLikeTemp;
62     }
63
64     public Double getPressure() {
65         return pressure;
66     }
67
68     public void setPressure(Double pressure) {
69         this.pressure = pressure;
70     }
71
72     public Integer getHumidity() {
73         return humidity;
74     }
75
76     public void setHumidity(Integer humidity) {
77         this.humidity = humidity;
78     }
79
80     public java.util.List<Weather> getWeather() {
81         return weather;
82     }
83
84     public void setWeather(java.util.List<Weather> weather) {
85         this.weather = weather;
86     }
87
88     public Double getSpeed() {
89         return speed;
90     }
91
92     public void setSpeed(Double speed) {
93         this.speed = speed;
94     }
95
96     public Double getDeg() {
97         return deg;
98     }
99
100     public void setDeg(Double deg) {
101         this.deg = deg;
102     }
103
104     public @Nullable Double getGust() {
105         return gust;
106     }
107
108     public void setGust(Double gust) {
109         this.gust = speed;
110     }
111
112     public Integer getClouds() {
113         return clouds;
114     }
115
116     public void setClouds(Integer clouds) {
117         this.clouds = clouds;
118     }
119
120     public @Nullable Double getRain() {
121         return rain;
122     }
123
124     public void setRain(Double rain) {
125         this.rain = rain;
126     }
127
128     public @Nullable Double getSnow() {
129         return snow;
130     }
131
132     public void setSnow(Double snow) {
133         this.snow = snow;
134     }
135 }