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.onecall;
15 import java.util.List;
17 import org.openhab.binding.openweathermap.internal.dto.forecast.daily.FeelsLikeTemp;
18 import org.openhab.binding.openweathermap.internal.dto.forecast.daily.Temp;
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
37 @SerializedName("feels_like")
38 private FeelsLikeTemp feelsLikeTemp;
41 @SerializedName("dew_point")
42 private double dewPoint;
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;
52 private int visibility;
61 public void setDt(int dt) {
65 public int getSunrise() {
69 public void setSunrise(int sunrise) {
70 this.sunrise = sunrise;
73 public int getSunset() {
77 public void setSunset(int sunset) {
81 public Temp getTemp() {
85 public void setTemp(Temp temp) {
89 public FeelsLikeTemp getFeelsLike() {
93 public void setFeelsLike(FeelsLikeTemp feelsLikeTemp) {
94 this.feelsLikeTemp = feelsLikeTemp;
97 public int getPressure() {
101 public void setPressure(int pressure) {
102 this.pressure = pressure;
105 public int getHumidity() {
109 public void setHumidity(int humidity) {
110 this.humidity = humidity;
113 public double getDewPoint() {
117 public void setDewPoint(double dewPoint) {
118 this.dewPoint = dewPoint;
121 public double getWindSpeed() {
125 public void setWindSpeed(double windSpeed) {
126 this.windSpeed = windSpeed;
129 public int getWindDeg() {
133 public void setWindDeg(int windDeg) {
134 this.windDeg = windDeg;
137 public double getWindGust() {
141 public void setWindGust(double windGust) {
142 this.windGust = windGust;
145 public List<Weather> getWeather() {
149 public void setWeather(List<Weather> weather) {
150 this.weather = weather;
153 public int getClouds() {
157 public void setClouds(int clouds) {
158 this.clouds = clouds;
161 public double getPop() {
165 public void setPop(double pop) {
169 public double getRain() {
173 public void setRain(double rain) {
177 public double getUvi() {
181 public void setUvi(double uvi) {
185 public int getVisibility() {
189 public void setVisibility(int visibility) {
190 this.visibility = visibility;
193 public double getSnow() {
197 public void setSnow(double snow) {