2 * Copyright (c) 2010-2024 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.weather;
15 import org.eclipse.jdt.annotation.Nullable;
17 import com.google.gson.annotations.SerializedName;
20 * Generated Plain Old Java Objects class for {@link Main} from JSON.
22 * @author Christoph Weitkamp - Initial contribution
26 @SerializedName("feels_like")
27 private @Nullable Double feelsLikeTemp;
28 private Double pressure;
29 private Integer humidity;
30 @SerializedName("temp_min")
31 private Double tempMin;
32 @SerializedName("temp_max")
33 private Double tempMax;
35 public Double getTemp() {
39 public void setTemp(Double temp) {
43 public @Nullable Double getFeelsLikeTemp() {
47 public void setFeelsLikeTemp(Double feelsLikeTemp) {
48 this.feelsLikeTemp = feelsLikeTemp;
51 public Double getPressure() {
55 public void setPressure(Double pressure) {
56 this.pressure = pressure;
59 public Integer getHumidity() {
63 public void setHumidity(Integer humidity) {
64 this.humidity = humidity;
67 public Double getTempMin() {
71 public void setTempMin(Double tempMin) {
72 this.tempMin = tempMin;
75 public Double getTempMax() {
79 public void setTempMax(Double tempMax) {
80 this.tempMax = tempMax;