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("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("pop")
71 @SerializedName("rain")
74 @SerializedName("snow")
82 public void setDt(int dt) {
86 public double getTemp() {
90 public void setTemp(double temp) {
94 public double getFeelsLike() {
98 public void setFeelsLike(double feelsLike) {
99 this.feelsLike = feelsLike;
102 public int getPressure() {
106 public void setPressure(int pressure) {
107 this.pressure = pressure;
110 public int getHumidity() {
114 public void setHumidity(int humidity) {
115 this.humidity = humidity;
118 public double getDewPoint() {
122 public void setDewPoint(double dewPoint) {
123 this.dewPoint = dewPoint;
126 public int getClouds() {
130 public void setClouds(int clouds) {
131 this.clouds = clouds;
134 public int getVisibility() {
138 public void setVisibility(int visibility) {
139 this.visibility = visibility;
142 public double getWindSpeed() {
146 public void setWindSpeed(double windSpeed) {
147 this.windSpeed = windSpeed;
150 public int getWindDeg() {
154 public void setWindDeg(int windDeg) {
155 this.windDeg = windDeg;
158 public double getWindGust() {
162 public void setWindGust(double windGust) {
163 this.windGust = windGust;
166 public List<Weather> getWeather() {
170 public void setWeather(List<Weather> weather) {
171 this.weather = weather;
174 public double getPop() {
178 public void setPop(double pop) {
182 public Rain getRain() {
186 public void setRain(Rain rain) {
190 public Snow getSnow() {
194 public void setSnow(Snow snow) {