2 * Copyright (c) 2010-2021 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.openweathermap.internal.dto.forecast.hourly;
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;
23 import com.google.gson.annotations.SerializedName;
26 * Generated Plain Old Java Objects class for {@link List} from JSON.
28 * @author Christoph Weitkamp - Initial contribution
33 private java.util.List<Weather> weather;
34 private Clouds clouds;
36 private @Nullable Rain rain;
37 private @Nullable Snow snow;
39 @SerializedName("dt_txt")
42 public Integer getDt() {
46 public void setDt(Integer dt) {
50 public Main getMain() {
54 public void setMain(Main main) {
58 public java.util.List<Weather> getWeather() {
62 public void setWeather(java.util.List<Weather> weather) {
63 this.weather = weather;
66 public Clouds getClouds() {
70 public void setClouds(Clouds clouds) {
74 public Wind getWind() {
78 public void setWind(Wind wind) {
82 public @Nullable Rain getRain() {
86 public void setRain(Rain rain) {
90 public @Nullable Snow getSnow() {
94 public void setSnow(Snow snow) {
102 public void setSys(Sys sys) {
106 public String getDtTxt() {
110 public void setDtTxt(String dtTxt) {