]> git.basschouten.com Git - openhab-addons.git/blob
149fabf03a98ce37c48716f7ebdd32a56d1ad211
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.forecast.hourly;
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     @SerializedName("temp_min")
29     private Double tempMin;
30     @SerializedName("temp_max")
31     private Double tempMax;
32     private Double pressure;
33     @SerializedName("sea_level")
34     private Double seaLevel;
35     @SerializedName("grnd_level")
36     private Double grndLevel;
37     private Integer humidity;
38     @SerializedName("temp_kf")
39     private Integer tempKf;
40
41     public Double getTemp() {
42         return temp;
43     }
44
45     public void setTemp(Double temp) {
46         this.temp = temp;
47     }
48
49     public @Nullable Double getFeelsLikeTemp() {
50         return feelsLikeTemp;
51     }
52
53     public void setFeelsLikeTemp(Double feelsLikeTemp) {
54         this.feelsLikeTemp = feelsLikeTemp;
55     }
56
57     public Double getTempMin() {
58         return tempMin;
59     }
60
61     public void setTempMin(Double tempMin) {
62         this.tempMin = tempMin;
63     }
64
65     public Double getTempMax() {
66         return tempMax;
67     }
68
69     public void setTempMax(Double tempMax) {
70         this.tempMax = tempMax;
71     }
72
73     public Double getPressure() {
74         return pressure;
75     }
76
77     public void setPressure(Double pressure) {
78         this.pressure = pressure;
79     }
80
81     public Double getSeaLevel() {
82         return seaLevel;
83     }
84
85     public void setSeaLevel(Double seaLevel) {
86         this.seaLevel = seaLevel;
87     }
88
89     public Double getGrndLevel() {
90         return grndLevel;
91     }
92
93     public void setGrndLevel(Double grndLevel) {
94         this.grndLevel = grndLevel;
95     }
96
97     public Integer getHumidity() {
98         return humidity;
99     }
100
101     public void setHumidity(Integer humidity) {
102         this.humidity = humidity;
103     }
104
105     public Integer getTempKf() {
106         return tempKf;
107     }
108
109     public void setTempKf(Integer tempKf) {
110         this.tempKf = tempKf;
111     }
112 }