2 * Copyright (c) 2010-2022 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.openweathermap.internal.dto.onecallhist;
15 import java.util.List;
17 import com.google.gson.annotations.Expose;
18 import com.google.gson.annotations.SerializedName;
21 * Holds the data from the deserialised JSON response. Created using http://www.jsonschema2pojo.org/.
23 * Annotation Style: GSON
26 * allow additional properties
28 * @author Wolfgang Klimt - Initial contribution
30 public class OpenWeatherMapOneCallHistAPIData {
32 @SerializedName("lat")
35 @SerializedName("lon")
38 @SerializedName("timezone")
40 private String timezone;
41 @SerializedName("timezone_offset")
43 private int timezoneOffset;
44 @SerializedName("current")
46 private Current current;
47 @SerializedName("hourly")
49 private List<Hourly> hourly = null;
51 public double getLat() {
55 public void setLat(double lat) {
59 public double getLon() {
63 public void setLon(double lon) {
67 public String getTimezone() {
71 public void setTimezone(String timezone) {
72 this.timezone = timezone;
75 public int getTimezoneOffset() {
76 return timezoneOffset;
79 public void setTimezoneOffset(int timezoneOffset) {
80 this.timezoneOffset = timezoneOffset;
83 public Current getCurrent() {
87 public void setCurrent(Current current) {
88 this.current = current;
91 public List<Hourly> getHourly() {
95 public void setHourly(List<Hourly> hourly) {