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.SerializedName;
20 * Holds the data from the deserialised JSON response. Created using http://www.jsonschema2pojo.org/.
22 * Annotation Style: GSON
25 * allow additional properties
27 * @author Wolfgang Klimt - Initial contribution
32 @SerializedName("feels_like")
33 private double feelsLike;
36 @SerializedName("dew_point")
37 private double dewPoint;
39 private int visibility;
40 @SerializedName("wind_speed")
41 private double windSpeed;
42 @SerializedName("wind_deg")
44 @SerializedName("wind_gust")
45 private double windGust;
46 private List<Weather> weather = null;
48 private Precipitation rain;
49 private Precipitation snow;
55 public void setDt(int dt) {
59 public double getTemp() {
63 public void setTemp(double temp) {
67 public double getFeelsLike() {
71 public void setFeelsLike(double feelsLike) {
72 this.feelsLike = feelsLike;
75 public int getPressure() {
79 public void setPressure(int pressure) {
80 this.pressure = pressure;
83 public int getHumidity() {
87 public void setHumidity(int humidity) {
88 this.humidity = humidity;
91 public double getDewPoint() {
95 public void setDewPoint(double dewPoint) {
96 this.dewPoint = dewPoint;
99 public int getClouds() {
103 public void setClouds(int clouds) {
104 this.clouds = clouds;
107 public int getVisibility() {
111 public void setVisibility(int visibility) {
112 this.visibility = visibility;
115 public double getWindSpeed() {
119 public void setWindSpeed(double windSpeed) {
120 this.windSpeed = windSpeed;
123 public int getWindDeg() {
127 public void setWindDeg(int windDeg) {
128 this.windDeg = windDeg;
131 public double getWindGust() {
135 public void setWindGust(double windGust) {
136 this.windGust = windGust;
139 public List<Weather> getWeather() {
143 public void setWeather(List<Weather> weather) {
144 this.weather = weather;
147 public double getPop() {
151 public void setPop(double pop) {
155 public Precipitation getRain() {
159 public void setRain(Precipitation rain) {
163 public Precipitation getSnow() {
167 public void setSnow(Precipitation snow) {