]> git.basschouten.com Git - openhab-addons.git/blob
c27ad9983fced7bf4c39e702e81687bca57e1fa8
[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 Snow {
29
30     @SerializedName("1h")
31     @Expose
32     private double _1h;
33
34     public double get1h() {
35         return _1h;
36     }
37
38     public void set1h(double _1h) {
39         this._1h = _1h;
40     }
41 }