2 * Copyright (c) 2010-2023 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.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;
22 import com.google.gson.annotations.SerializedName;
25 * Generated Plain Old Java Objects class for {@link List} from JSON.
27 * @author Christoph Weitkamp - Initial contribution
32 private java.util.List<Weather> weather;
33 private Clouds clouds;
35 private @Nullable Precipitation rain;
36 private @Nullable Precipitation snow;
38 @SerializedName("dt_txt")
41 public Integer getDt() {
45 public void setDt(Integer dt) {
49 public Main getMain() {
53 public void setMain(Main main) {
57 public java.util.List<Weather> getWeather() {
61 public void setWeather(java.util.List<Weather> weather) {
62 this.weather = weather;
65 public Clouds getClouds() {
69 public void setClouds(Clouds clouds) {
73 public Wind getWind() {
77 public void setWind(Wind wind) {
81 public @Nullable Precipitation getRain() {
85 public void setRain(Precipitation rain) {
89 public @Nullable Precipitation getSnow() {
93 public void setSnow(Precipitation snow) {
101 public void setSys(Sys sys) {
105 public String getDtTxt() {
109 public void setDtTxt(String dtTxt) {