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 com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
19 * Holds the data from the deserialised JSON response. Created using http://www.jsonschema2pojo.org/.
21 * Annotation Style: GSON
24 * allow additional properties
26 * @author Wolfgang Klimt - Initial contribution
28 public class Weather {
33 @SerializedName("main")
36 @SerializedName("description")
38 private String description;
39 @SerializedName("icon")
47 public void setId(int id) {
51 public String getMain() {
55 public void setMain(String main) {
59 public String getDescription() {
63 public void setDescription(String description) {
64 this.description = description;
67 public String getIcon() {
71 public void setIcon(String icon) {