]> git.basschouten.com Git - openhab-addons.git/blob
5ab3aeb11882704bc9499eace696cbbfeabe53e6
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.openweathermap.internal.dto.base;
14
15 /**
16  * Generates Plain Old Java Objects class for {@link Weather} from JSON.
17  *
18  * @author Christoph Weitkamp - Initial contribution
19  */
20 public class Weather {
21     private Integer id;
22     private String main;
23     private String description;
24     private String icon;
25
26     public Integer getId() {
27         return id;
28     }
29
30     public void setId(Integer id) {
31         this.id = id;
32     }
33
34     public String getMain() {
35         return main;
36     }
37
38     public void setMain(String main) {
39         this.main = main;
40     }
41
42     public String getDescription() {
43         return description;
44     }
45
46     public void setDescription(String description) {
47         this.description = description;
48     }
49
50     public String getIcon() {
51         return icon;
52     }
53
54     public void setIcon(String icon) {
55         this.icon = icon;
56     }
57 }