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.onecallhist;
15 import java.util.List;
17 import com.google.gson.annotations.Expose;
18 import com.google.gson.annotations.SerializedName;
21 * Holds the data from the deserialised JSON response. Created using http://www.jsonschema2pojo.org/.
23 * Annotation Style: GSON
26 * allow additional properties
28 * @author Wolfgang Klimt - Initial contribution
35 @SerializedName("temp")
38 @SerializedName("feels_like")
40 private double feelsLike;
41 @SerializedName("pressure")
44 @SerializedName("humidity")
47 @SerializedName("dew_point")
49 private double dewPoint;
50 @SerializedName("clouds")
53 @SerializedName("visibility")
55 private int visibility;
56 @SerializedName("wind_speed")
58 private double windSpeed;
59 @SerializedName("wind_deg")
62 @SerializedName("wind_gust")
64 private double windGust;
65 @SerializedName("weather")
67 private List<Weather> weather = null;
68 @SerializedName("rain")
71 @SerializedName("snow")
79 public void setDt(int dt) {
83 public double getTemp() {
87 public void setTemp(double temp) {
91 public double getFeelsLike() {
95 public void setFeelsLike(double feelsLike) {
96 this.feelsLike = feelsLike;
99 public int getPressure() {
103 public void setPressure(int pressure) {
104 this.pressure = pressure;
107 public int getHumidity() {
111 public void setHumidity(int humidity) {
112 this.humidity = humidity;
115 public double getDewPoint() {
119 public void setDewPoint(double dewPoint) {
120 this.dewPoint = dewPoint;
123 public int getClouds() {
127 public void setClouds(int clouds) {
128 this.clouds = clouds;
131 public int getVisibility() {
135 public void setVisibility(int visibility) {
136 this.visibility = visibility;
139 public double getWindSpeed() {
143 public void setWindSpeed(double windSpeed) {
144 this.windSpeed = windSpeed;
147 public int getWindDeg() {
151 public void setWindDeg(int windDeg) {
152 this.windDeg = windDeg;
155 public double getWindGust() {
159 public void setWindGust(double windGust) {
160 this.windGust = windGust;
163 public List<Weather> getWeather() {
167 public void setWeather(List<Weather> weather) {
168 this.weather = weather;
171 public Rain getRain() {
175 public void setRain(Rain rain) {
179 public Snow getSnow() {
183 public void setSnow(Snow snow) {