]> git.basschouten.com Git - openhab-addons.git/blob
f69184f61a071d8da0053cda2f459e3014c43a0f
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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 /**
16  * Holds the data from the deserialised JSON response. Created using http://www.jsonschema2pojo.org/.
17  * Settings:
18  * Annotation Style: GSON
19  * Use primitive types
20  * Use double numbers
21  * allow additional properties
22  *
23  * @author Wolfgang Klimt - Initial contribution
24  */
25 public class Minutely {
26     private int dt;
27     private double precipitation;
28
29     public int getDt() {
30         return dt;
31     }
32
33     public void setDt(int dt) {
34         this.dt = dt;
35     }
36
37     public double getPrecipitation() {
38         return precipitation;
39     }
40
41     public void setPrecipitation(double precipitation) {
42         this.precipitation = precipitation;
43     }
44 }