]> git.basschouten.com Git - openhab-addons.git/blob
2e477de40edcdce343f42f417d90b68e66363172
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.hourly;
14
15 import org.eclipse.jdt.annotation.Nullable;
16 import org.openhab.binding.openweathermap.internal.dto.base.Clouds;
17 import org.openhab.binding.openweathermap.internal.dto.base.Rain;
18 import org.openhab.binding.openweathermap.internal.dto.base.Snow;
19 import org.openhab.binding.openweathermap.internal.dto.base.Weather;
20 import org.openhab.binding.openweathermap.internal.dto.base.Wind;
21 import org.openhab.binding.openweathermap.internal.dto.weather.Main;
22
23 import com.google.gson.annotations.SerializedName;
24
25 /**
26  * Generated Plain Old Java Objects class for {@link List} from JSON.
27  *
28  * @author Christoph Weitkamp - Initial contribution
29  */
30 public class List {
31     private Integer dt;
32     private Main main;
33     private java.util.List<Weather> weather;
34     private Clouds clouds;
35     private Wind wind;
36     private @Nullable Rain rain;
37     private @Nullable Snow snow;
38     private Sys sys;
39     @SerializedName("dt_txt")
40     private String dtTxt;
41
42     public Integer getDt() {
43         return dt;
44     }
45
46     public void setDt(Integer dt) {
47         this.dt = dt;
48     }
49
50     public Main getMain() {
51         return main;
52     }
53
54     public void setMain(Main main) {
55         this.main = main;
56     }
57
58     public java.util.List<Weather> getWeather() {
59         return weather;
60     }
61
62     public void setWeather(java.util.List<Weather> weather) {
63         this.weather = weather;
64     }
65
66     public Clouds getClouds() {
67         return clouds;
68     }
69
70     public void setClouds(Clouds clouds) {
71         this.clouds = clouds;
72     }
73
74     public Wind getWind() {
75         return wind;
76     }
77
78     public void setWind(Wind wind) {
79         this.wind = wind;
80     }
81
82     public @Nullable Rain getRain() {
83         return rain;
84     }
85
86     public void setRain(Rain rain) {
87         this.rain = rain;
88     }
89
90     public @Nullable Snow getSnow() {
91         return snow;
92     }
93
94     public void setSnow(Snow snow) {
95         this.snow = snow;
96     }
97
98     public Sys getSys() {
99         return sys;
100     }
101
102     public void setSys(Sys sys) {
103         this.sys = sys;
104     }
105
106     public String getDtTxt() {
107         return dtTxt;
108     }
109
110     public void setDtTxt(String dtTxt) {
111         this.dtTxt = dtTxt;
112     }
113 }