]> git.basschouten.com Git - openhab-addons.git/blob
ea400982e1fad640c8759b2c05dd6876e427e8b5
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.openweathermap.internal.dto.weather;
14
15 import org.eclipse.jdt.annotation.Nullable;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * Generated Plain Old Java Objects class for {@link Main} from JSON.
21  *
22  * @author Christoph Weitkamp - Initial contribution
23  */
24 public class Main {
25     private Double temp;
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;
34
35     public Double getTemp() {
36         return temp;
37     }
38
39     public void setTemp(Double temp) {
40         this.temp = temp;
41     }
42
43     public @Nullable Double getFeelsLikeTemp() {
44         return feelsLikeTemp;
45     }
46
47     public void setFeelsLikeTemp(Double feelsLikeTemp) {
48         this.feelsLikeTemp = feelsLikeTemp;
49     }
50
51     public Double getPressure() {
52         return pressure;
53     }
54
55     public void setPressure(Double pressure) {
56         this.pressure = pressure;
57     }
58
59     public Integer getHumidity() {
60         return humidity;
61     }
62
63     public void setHumidity(Integer humidity) {
64         this.humidity = humidity;
65     }
66
67     public Double getTempMin() {
68         return tempMin;
69     }
70
71     public void setTempMin(Double tempMin) {
72         this.tempMin = tempMin;
73     }
74
75     public Double getTempMax() {
76         return tempMax;
77     }
78
79     public void setTempMax(Double tempMax) {
80         this.tempMax = tempMax;
81     }
82 }