]> git.basschouten.com Git - openhab-addons.git/blob
3b6afb1a052634197dbd127080379d975fc51035
[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.meteoblue.internal.json;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * {@link JsonDataDay} models the 'data_day' portion of the JSON
19  * response to a weather request.
20  *
21  * @author Chris Carman - Initial contribution
22  */
23 public class JsonDataDay {
24
25     private String[] time;
26     private Integer[] pictocode;
27
28     @SerializedName("uvindex")
29     private Integer[] uvIndex;
30
31     @SerializedName("temperature_max")
32     private Double[] temperatureMax;
33
34     @SerializedName("temperature_min")
35     private Double[] temperatureMin;
36
37     @SerializedName("temperature_mean")
38     private Double[] temperatureMean;
39
40     @SerializedName("felttemperature_max")
41     private Double[] feltTemperatureMax;
42
43     @SerializedName("felttemperature_min")
44     private Double[] feltTemperatureMin;
45
46     @SerializedName("winddirection")
47     private Integer[] windDirection;
48
49     @SerializedName("precipitation_probability")
50     private Integer[] precipitationProbability;
51
52     private String[] rainspot;
53
54     @SerializedName("predictability_class")
55     private Integer[] predictabilityClass;
56
57     private Integer[] predictability;
58
59     private Double[] precipitation;
60
61     @SerializedName("snowfraction")
62     private Double[] snowFraction;
63
64     @SerializedName("sealevelpressure_max")
65     private Integer[] seaLevelPressureMax;
66
67     @SerializedName("sealevelpressure_min")
68     private Integer[] seaLevelPressureMin;
69
70     @SerializedName("sealevelpressure_mean")
71     private Integer[] seaLevelPressureMean;
72
73     @SerializedName("windspeed_max")
74     private Double[] windSpeedMax;
75
76     @SerializedName("windspeed_mean")
77     private Double[] windSpeedMean;
78
79     @SerializedName("windspeed_min")
80     private Double[] windSpeedMin;
81
82     @SerializedName("relativehumidity_max")
83     private Integer[] relativeHumidityMax;
84
85     @SerializedName("relativehumidity_min")
86     private Integer[] relativeHumidityMin;
87
88     @SerializedName("relativehumidity_mean")
89     private Integer[] relativeHumidityMean;
90
91     @SerializedName("convective_precipitation")
92     private Double[] convectivePrecipitation;
93
94     @SerializedName("precipitation_hours")
95     private Double[] precipitationHours;
96
97     @SerializedName("humiditygreater90_hours")
98     private Double[] humidityGreater90Hours;
99
100     public JsonDataDay() {
101     }
102
103     public String[] getTime() {
104         return time;
105     }
106
107     public Integer[] getPictocode() {
108         return pictocode;
109     }
110
111     public Integer[] getUVIndex() {
112         return uvIndex;
113     }
114
115     public Double[] getTemperatureMax() {
116         return temperatureMax;
117     }
118
119     public Double[] getTemperatureMin() {
120         return temperatureMin;
121     }
122
123     public Double[] getTemperatureMean() {
124         return temperatureMean;
125     }
126
127     public Double[] getFeltTemperatureMax() {
128         return feltTemperatureMax;
129     }
130
131     public Double[] getFeltTemperatureMin() {
132         return feltTemperatureMin;
133     }
134
135     public Integer[] getWindDirection() {
136         return windDirection;
137     }
138
139     public Integer[] getPrecipitationProbability() {
140         return precipitationProbability;
141     }
142
143     public String[] getRainspot() {
144         return rainspot;
145     }
146
147     public Integer[] getPredictabilityClass() {
148         return predictabilityClass;
149     }
150
151     public Integer[] getPredictability() {
152         return predictability;
153     }
154
155     public Double[] getPrecipitation() {
156         return precipitation;
157     }
158
159     public Double[] getSnowFraction() {
160         return snowFraction;
161     }
162
163     public Integer[] getSeaLevelPressureMax() {
164         return seaLevelPressureMax;
165     }
166
167     public Integer[] getSeaLevelPressureMin() {
168         return seaLevelPressureMin;
169     }
170
171     public Integer[] getSeaLevelPressureMean() {
172         return seaLevelPressureMean;
173     }
174
175     public Double[] getWindSpeedMax() {
176         return windSpeedMax;
177     }
178
179     public Double[] getWindSpeedMean() {
180         return windSpeedMean;
181     }
182
183     public Double[] getWindSpeedMin() {
184         return windSpeedMin;
185     }
186
187     public Integer[] getRelativeHumidityMax() {
188         return relativeHumidityMax;
189     }
190
191     public Integer[] getRelativeHumidityMin() {
192         return relativeHumidityMin;
193     }
194
195     public Integer[] getRelativeHumidityMean() {
196         return relativeHumidityMean;
197     }
198
199     public Double[] getConvectivePrecipitation() {
200         return convectivePrecipitation;
201     }
202
203     public Double[] getPrecipitationHours() {
204         return precipitationHours;
205     }
206
207     public Double[] getHumidityGreater90Hours() {
208         return humidityGreater90Hours;
209     }
210 }