]> git.basschouten.com Git - openhab-addons.git/blob
ae745807f61c2acce6e036a65b2e00ca2c0d172c
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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 @Nullable Integer sunrise;
28     private @Nullable Integer sunset;
29     private Temp temp;
30     @SerializedName("feels_like")
31     private @Nullable FeelsLikeTemp feelsLikeTemp;
32     private Double pressure;
33     private Integer humidity;
34     private java.util.List<Weather> weather;
35     private Double speed;
36     private Double deg;
37     private @Nullable Double gust;
38     private Integer clouds;
39     private @Nullable Double rain;
40     private @Nullable Double snow;
41     private @Nullable Double pop;
42
43     public Integer getDt() {
44         return dt;
45     }
46
47     public void setDt(Integer dt) {
48         this.dt = dt;
49     }
50
51     public @Nullable Integer getSunrise() {
52         return sunrise;
53     }
54
55     public void setSunrise(Integer sunrise) {
56         this.sunrise = sunrise;
57     }
58
59     public @Nullable Integer getSunset() {
60         return sunset;
61     }
62
63     public void setSunset(Integer sunset) {
64         this.sunset = sunset;
65     }
66
67     public Temp getTemp() {
68         return temp;
69     }
70
71     public void setTemp(Temp temp) {
72         this.temp = temp;
73     }
74
75     public @Nullable FeelsLikeTemp getFeelsLike() {
76         return feelsLikeTemp;
77     }
78
79     public void setFeelsLike(FeelsLikeTemp feelsLikeTemp) {
80         this.feelsLikeTemp = feelsLikeTemp;
81     }
82
83     public Double getPressure() {
84         return pressure;
85     }
86
87     public void setPressure(Double pressure) {
88         this.pressure = pressure;
89     }
90
91     public Integer getHumidity() {
92         return humidity;
93     }
94
95     public void setHumidity(Integer humidity) {
96         this.humidity = humidity;
97     }
98
99     public java.util.List<Weather> getWeather() {
100         return weather;
101     }
102
103     public void setWeather(java.util.List<Weather> weather) {
104         this.weather = weather;
105     }
106
107     public Double getSpeed() {
108         return speed;
109     }
110
111     public void setSpeed(Double speed) {
112         this.speed = speed;
113     }
114
115     public Double getDeg() {
116         return deg;
117     }
118
119     public void setDeg(Double deg) {
120         this.deg = deg;
121     }
122
123     public @Nullable Double getGust() {
124         return gust;
125     }
126
127     public void setGust(Double gust) {
128         this.gust = speed;
129     }
130
131     public Integer getClouds() {
132         return clouds;
133     }
134
135     public void setClouds(Integer clouds) {
136         this.clouds = clouds;
137     }
138
139     public @Nullable Double getRain() {
140         return rain;
141     }
142
143     public void setRain(Double rain) {
144         this.rain = rain;
145     }
146
147     public @Nullable Double getSnow() {
148         return snow;
149     }
150
151     public void setSnow(Double snow) {
152         this.snow = snow;
153     }
154
155     public @Nullable Double getPop() {
156         return pop;
157     }
158
159     public void setPop(Double pop) {
160         this.pop = pop;
161     }
162 }