]> git.basschouten.com Git - openhab-addons.git/blob
4e167226e68e5a7cf9d2e4cf86a21fa6bc265478
[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.melcloud.internal.api.json;
14
15 import com.google.gson.annotations.Expose;
16
17 /**
18  * The {@link Structure} is responsible of JSON data For MELCloud API
19  * WeatherObservation Data
20  * Generated with jsonschema2pojo
21  *
22  * @author Luca Calcaterra - Initial contribution
23  */
24 public class WeatherObservation {
25
26     @Expose
27     private String date;
28
29     @Expose
30     private String sunrise;
31
32     @Expose
33     private String sunset;
34
35     @Expose
36     private Integer condition;
37
38     @Expose
39     private Integer iD;
40
41     @Expose
42     private Integer humidity;
43
44     @Expose
45     private Integer temperature;
46
47     @Expose
48     private String icon;
49
50     @Expose
51     private String conditionName;
52
53     @Expose
54     private Integer day;
55
56     @Expose
57     private Integer weatherType;
58
59     public String getDate() {
60         return date;
61     }
62
63     public void setDate(String date) {
64         this.date = date;
65     }
66
67     public String getSunrise() {
68         return sunrise;
69     }
70
71     public void setSunrise(String sunrise) {
72         this.sunrise = sunrise;
73     }
74
75     public String getSunset() {
76         return sunset;
77     }
78
79     public void setSunset(String sunset) {
80         this.sunset = sunset;
81     }
82
83     public Integer getCondition() {
84         return condition;
85     }
86
87     public void setCondition(Integer condition) {
88         this.condition = condition;
89     }
90
91     public Integer getID() {
92         return iD;
93     }
94
95     public void setID(Integer iD) {
96         this.iD = iD;
97     }
98
99     public Integer getHumidity() {
100         return humidity;
101     }
102
103     public void setHumidity(Integer humidity) {
104         this.humidity = humidity;
105     }
106
107     public Integer getTemperature() {
108         return temperature;
109     }
110
111     public void setTemperature(Integer temperature) {
112         this.temperature = temperature;
113     }
114
115     public String getIcon() {
116         return icon;
117     }
118
119     public void setIcon(String icon) {
120         this.icon = icon;
121     }
122
123     public String getConditionName() {
124         return conditionName;
125     }
126
127     public void setConditionName(String conditionName) {
128         this.conditionName = conditionName;
129     }
130
131     public Integer getDay() {
132         return day;
133     }
134
135     public void setDay(Integer day) {
136         this.day = day;
137     }
138
139     public Integer getWeatherType() {
140         return weatherType;
141     }
142
143     public void setWeatherType(Integer weatherType) {
144         this.weatherType = weatherType;
145     }
146 }