]> git.basschouten.com Git - openhab-addons.git/blob
5ca61d8277a578e7b689a7d864d9d19be5f7947f
[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;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link OpenWeatherMapJsonUVIndexData} is the Java class used to map the JSON response to an OpenWeatherMap
19  * request.
20  *
21  * @author Christoph Weitkamp - Initial contribution
22  */
23 public class OpenWeatherMapJsonUVIndexData {
24     private Double lat;
25     private Double lon;
26     @SerializedName("date_iso")
27     private String dateIso;
28     private Integer date;
29     private Double value;
30
31     public Double getLat() {
32         return lat;
33     }
34
35     public void setLat(Double lat) {
36         this.lat = lat;
37     }
38
39     public Double getLon() {
40         return lon;
41     }
42
43     public void setLon(Double lon) {
44         this.lon = lon;
45     }
46
47     public String getDateIso() {
48         return dateIso;
49     }
50
51     public void setDateIso(String dateIso) {
52         this.dateIso = dateIso;
53     }
54
55     public Integer getDate() {
56         return date;
57     }
58
59     public void setDate(Integer date) {
60         this.date = date;
61     }
62
63     public Double getValue() {
64         return value;
65     }
66
67     public void setValue(Double value) {
68         this.value = value;
69     }
70 }