2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.meteoblue.internal.json;
15 import com.google.gson.annotations.SerializedName;
18 * {@link JsonUnits} models the 'units' portion of the JSON
19 * response to a weather request.
21 * @author Chris Carman - Initial contribution
23 public class JsonUnits {
25 private String predictability;
27 @SerializedName("precipitation_probability")
28 private String precipitationProbability;
30 private String pressure;
32 @SerializedName("relativehumidity")
33 private String relativeHumidity;
35 private String temperature;
37 @SerializedName("winddirection")
38 private String windDirection;
40 private String precipitation;
42 @SerializedName("windspeed")
43 private String windSpeed;
48 public String getPredictability() {
49 return predictability;
52 public String getPrecipitationProbability() {
53 return precipitationProbability;
56 public String getPressure() {
60 public String getRelativeHumidity() {
61 return relativeHumidity;
64 public String getTemperature() {
68 public String getWindDirection() {
72 public String getPrecipitation() {
76 public String getWindSpeed() {
80 public String getTime() {