]> git.basschouten.com Git - openhab-addons.git/blob
8dbe1d2ca74fd245619bca5dc634c1006c252719
[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.openweathermap.internal.dto.onecall;
14
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
17
18 /**
19  * Holds the data from the deserialised JSON response. Created using http://www.jsonschema2pojo.org/.
20  * Settings:
21  * Annotation Style: GSON
22  * Use primitive types
23  * Use double numbers
24  * allow additional properties
25  *
26  * @author Wolfgang Klimt - Initial contribution
27  */
28 public class Temp {
29
30     @SerializedName("day")
31     @Expose
32     private double day;
33     @SerializedName("min")
34     @Expose
35     private double min;
36     @SerializedName("max")
37     @Expose
38     private double max;
39     @SerializedName("night")
40     @Expose
41     private double night;
42     @SerializedName("eve")
43     @Expose
44     private double eve;
45     @SerializedName("morn")
46     @Expose
47     private double morn;
48
49     public double getDay() {
50         return day;
51     }
52
53     public void setDay(double day) {
54         this.day = day;
55     }
56
57     public double getMin() {
58         return min;
59     }
60
61     public void setMin(double min) {
62         this.min = min;
63     }
64
65     public double getMax() {
66         return max;
67     }
68
69     public void setMax(double max) {
70         this.max = max;
71     }
72
73     public double getNight() {
74         return night;
75     }
76
77     public void setNight(double night) {
78         this.night = night;
79     }
80
81     public double getEve() {
82         return eve;
83     }
84
85     public void setEve(double eve) {
86         this.eve = eve;
87     }
88
89     public double getMorn() {
90         return morn;
91     }
92
93     public void setMorn(double morn) {
94         this.morn = morn;
95     }
96 }