]> git.basschouten.com Git - openhab-addons.git/blob
25964f51210cbedc7eb4469261c09c395f1f3191
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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 FeelsLike {
29
30     @SerializedName("day")
31     @Expose
32     private double day;
33     @SerializedName("night")
34     @Expose
35     private double night;
36     @SerializedName("eve")
37     @Expose
38     private double eve;
39     @SerializedName("morn")
40     @Expose
41     private double morn;
42
43     public double getDay() {
44         return day;
45     }
46
47     public void setDay(double day) {
48         this.day = day;
49     }
50
51     public double getNight() {
52         return night;
53     }
54
55     public void setNight(double night) {
56         this.night = night;
57     }
58
59     public double getEve() {
60         return eve;
61     }
62
63     public void setEve(double eve) {
64         this.eve = eve;
65     }
66
67     public double getMorn() {
68         return morn;
69     }
70
71     public void setMorn(double morn) {
72         this.morn = morn;
73     }
74 }