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.onecallhist;
15 import java.util.List;
17 import org.openhab.binding.openweathermap.internal.dto.onecall.Precipitation;
18 import org.openhab.binding.openweathermap.internal.dto.onecall.Weather;
20 import com.google.gson.annotations.SerializedName;
23 * Holds the data from the deserialised JSON response. Created using http://www.jsonschema2pojo.org/.
25 * Annotation Style: GSON
28 * allow additional properties
30 * @author Wolfgang Klimt - Initial contribution
35 @SerializedName("feels_like")
36 private double feelsLike;
39 @SerializedName("dew_point")
40 private double dewPoint;
42 private int visibility;
43 @SerializedName("wind_speed")
44 private double windSpeed;
45 @SerializedName("wind_deg")
47 @SerializedName("wind_gust")
48 private double windGust;
49 private List<Weather> weather = null;
50 private Precipitation rain;
51 private Precipitation snow;
57 public void setDt(int dt) {
61 public double getTemp() {
65 public void setTemp(double temp) {
69 public double getFeelsLike() {
73 public void setFeelsLike(double feelsLike) {
74 this.feelsLike = feelsLike;
77 public int getPressure() {
81 public void setPressure(int pressure) {
82 this.pressure = pressure;
85 public int getHumidity() {
89 public void setHumidity(int humidity) {
90 this.humidity = humidity;
93 public double getDewPoint() {
97 public void setDewPoint(double dewPoint) {
98 this.dewPoint = dewPoint;
101 public int getClouds() {
105 public void setClouds(int clouds) {
106 this.clouds = clouds;
109 public int getVisibility() {
113 public void setVisibility(int visibility) {
114 this.visibility = visibility;
117 public double getWindSpeed() {
121 public void setWindSpeed(double windSpeed) {
122 this.windSpeed = windSpeed;
125 public int getWindDeg() {
129 public void setWindDeg(int windDeg) {
130 this.windDeg = windDeg;
133 public double getWindGust() {
137 public void setWindGust(double windGust) {
138 this.windGust = windGust;
141 public List<Weather> getWeather() {
145 public void setWeather(List<Weather> weather) {
146 this.weather = weather;
149 public Precipitation getRain() {
153 public void setRain(Precipitation rain) {
157 public Precipitation getSnow() {
161 public void setSnow(Precipitation snow) {