2 * Copyright (c) 2010-2022 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.onecall;
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("sunrise")
38 @SerializedName("sunset")
41 @SerializedName("temp")
44 @SerializedName("feels_like")
46 private FeelsLike feelsLike;
47 @SerializedName("pressure")
50 @SerializedName("humidity")
53 @SerializedName("dew_point")
55 private double dewPoint;
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("clouds")
71 @SerializedName("pop")
74 @SerializedName("visibility")
76 private int visibility;
77 @SerializedName("rain")
80 @SerializedName("snow")
83 @SerializedName("uvi")
91 public void setDt(int dt) {
95 public int getSunrise() {
99 public void setSunrise(int sunrise) {
100 this.sunrise = sunrise;
103 public int getSunset() {
107 public void setSunset(int sunset) {
108 this.sunset = sunset;
111 public Temp getTemp() {
115 public void setTemp(Temp temp) {
119 public FeelsLike getFeelsLike() {
123 public void setFeelsLike(FeelsLike feelsLike) {
124 this.feelsLike = feelsLike;
127 public int getPressure() {
131 public void setPressure(int pressure) {
132 this.pressure = pressure;
135 public int getHumidity() {
139 public void setHumidity(int humidity) {
140 this.humidity = humidity;
143 public double getDewPoint() {
147 public void setDewPoint(double dewPoint) {
148 this.dewPoint = dewPoint;
151 public double getWindSpeed() {
155 public void setWindSpeed(double windSpeed) {
156 this.windSpeed = windSpeed;
159 public int getWindDeg() {
163 public void setWindDeg(int windDeg) {
164 this.windDeg = windDeg;
167 public double getWindGust() {
171 public void setWindGust(double windGust) {
172 this.windGust = windGust;
175 public List<Weather> getWeather() {
179 public void setWeather(List<Weather> weather) {
180 this.weather = weather;
183 public int getClouds() {
187 public void setClouds(int clouds) {
188 this.clouds = clouds;
191 public double getPop() {
195 public void setPop(double pop) {
199 public double getRain() {
203 public void setRain(double rain) {
207 public double getUvi() {
211 public void setUvi(double uvi) {
215 public int getVisibility() {
219 public void setVisibility(int visibility) {
220 this.visibility = visibility;
223 public double getSnow() {
227 public void setSnow(double snow) {