]> git.basschouten.com Git - openhab-addons.git/blob
c670dcd1fe061f8dcc1ecc81e20d98a9ab65ac15
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.darksky.internal.model;
14
15 /**
16  * The {@link DarkSkyCurrentlyData} is the Java class used to map the JSON response to an Dark Sky request.
17  *
18  * @author Christoph Weitkamp - Initial contribution
19  */
20 public class DarkSkyCurrentlyData {
21     private int time;
22     private String summary;
23     private String icon;
24     private double precipIntensity;
25     private double precipProbability;
26     private String precipType;
27     private double temperature;
28     private double apparentTemperature;
29     private double dewPoint;
30     private double humidity;
31     private double pressure;
32     private double windSpeed;
33     private double windGust;
34     private int windBearing;
35     private double cloudCover;
36     private int uvIndex;
37     private double visibility;
38     private double ozone;
39
40     public int getTime() {
41         return time;
42     }
43
44     public void setTime(int time) {
45         this.time = time;
46     }
47
48     public String getSummary() {
49         return summary;
50     }
51
52     public void setSummary(String summary) {
53         this.summary = summary;
54     }
55
56     public String getIcon() {
57         return icon;
58     }
59
60     public void setIcon(String icon) {
61         this.icon = icon;
62     }
63
64     public double getPrecipIntensity() {
65         return precipIntensity;
66     }
67
68     public void setPrecipIntensity(double precipIntensity) {
69         this.precipIntensity = precipIntensity;
70     }
71
72     public double getPrecipProbability() {
73         return precipProbability;
74     }
75
76     public void setPrecipProbability(double precipProbability) {
77         this.precipProbability = precipProbability;
78     }
79
80     public String getPrecipType() {
81         return precipType;
82     }
83
84     public void setPrecipType(String precipType) {
85         this.precipType = precipType;
86     }
87
88     public double getTemperature() {
89         return temperature;
90     }
91
92     public void setTemperature(double temperature) {
93         this.temperature = temperature;
94     }
95
96     public double getApparentTemperature() {
97         return apparentTemperature;
98     }
99
100     public void setApparentTemperature(double apparentTemperature) {
101         this.apparentTemperature = apparentTemperature;
102     }
103
104     public double getDewPoint() {
105         return dewPoint;
106     }
107
108     public void setDewPoint(double dewPoint) {
109         this.dewPoint = dewPoint;
110     }
111
112     public double getHumidity() {
113         return humidity;
114     }
115
116     public void setHumidity(double humidity) {
117         this.humidity = humidity;
118     }
119
120     public double getPressure() {
121         return pressure;
122     }
123
124     public void setPressure(double pressure) {
125         this.pressure = pressure;
126     }
127
128     public double getWindSpeed() {
129         return windSpeed;
130     }
131
132     public void setWindSpeed(double windSpeed) {
133         this.windSpeed = windSpeed;
134     }
135
136     public double getWindGust() {
137         return windGust;
138     }
139
140     public void setWindGust(double windGust) {
141         this.windGust = windGust;
142     }
143
144     public int getWindBearing() {
145         return windBearing;
146     }
147
148     public void setWindBearing(int windBearing) {
149         this.windBearing = windBearing;
150     }
151
152     public double getCloudCover() {
153         return cloudCover;
154     }
155
156     public void setCloudCover(double cloudCover) {
157         this.cloudCover = cloudCover;
158     }
159
160     public int getUvIndex() {
161         return uvIndex;
162     }
163
164     public void setUvIndex(int uvIndex) {
165         this.uvIndex = uvIndex;
166     }
167
168     public double getVisibility() {
169         return visibility;
170     }
171
172     public void setVisibility(double visibility) {
173         this.visibility = visibility;
174     }
175
176     public double getOzone() {
177         return ozone;
178     }
179
180     public void setOzone(double ozone) {
181         this.ozone = ozone;
182     }
183 }