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