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 'metadata' portion of the JSON
19 * response to a weather request.
21 * @author Chris Carman - Initial contribution
23 public class JsonMetadata {
26 private Double latitude;
27 private Double longitude;
28 private Integer height;
31 @SerializedName("timezone_abbrevation")
32 private String timeZoneAbbreviation;
34 public JsonMetadata() {
37 public String getName() {
41 public Double getLatitude() {
45 public Double getLongitude() {
49 public Integer getHeight() {
53 public String getTimeZoneAbbreviation() {
54 return timeZoneAbbreviation;