2 * Copyright (c) 2010-2024 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.base;
16 * Generates Plain Old Java Objects class for {@link Weather} from JSON.
18 * @author Christoph Weitkamp - Initial contribution
20 public class Weather {
23 private String description;
26 public Integer getId() {
30 public void setId(Integer id) {
34 public String getMain() {
38 public void setMain(String main) {
42 public String getDescription() {
46 public void setDescription(String description) {
47 this.description = description;
50 public String getIcon() {
54 public void setIcon(String icon) {