]> git.basschouten.com Git - openhab-addons.git/blob
9c14c40fe46c0fb56277340340bea0cfd0bcb936
[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.base;
14
15 import org.eclipse.jdt.annotation.Nullable;
16
17 /**
18  * Generated Plain Old Java Objects class for {@link Wind} from JSON.
19  *
20  * @author Christoph Weitkamp - Initial contribution
21  */
22 public class Wind {
23     private Double speed;
24     private Double deg;
25     private @Nullable Double gust;
26
27     public Double getSpeed() {
28         return speed;
29     }
30
31     public void setSpeed(Double speed) {
32         this.speed = speed;
33     }
34
35     public Double getDeg() {
36         return deg;
37     }
38
39     public void setDeg(Double deg) {
40         this.deg = deg;
41     }
42
43     public @Nullable Double getGust() {
44         return gust;
45     }
46
47     public void setGust(Double gust) {
48         this.gust = speed;
49     }
50 }