]> git.basschouten.com Git - openhab-addons.git/blob
f2b050cdfebd5d803f533fff50c2bdbfc4c4ebb8
[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  * Generated Plain Old Java Objects class for {@link City} from JSON.
17  *
18  * @author Christoph Weitkamp - Initial contribution
19  */
20 public class City {
21     private Integer id;
22     private Coord coord;
23     private String country;
24     private Integer population;
25     private String name;
26
27     public Integer getId() {
28         return id;
29     }
30
31     public void setId(Integer id) {
32         this.id = id;
33     }
34
35     public String getName() {
36         return name;
37     }
38
39     public void setName(String name) {
40         this.name = name;
41     }
42
43     public Coord getCoord() {
44         return coord;
45     }
46
47     public void setCoord(Coord coord) {
48         this.coord = coord;
49     }
50
51     public String getCountry() {
52         return country;
53     }
54
55     public void setCountry(String country) {
56         this.country = country;
57     }
58
59     public Integer getPopulation() {
60         return population;
61     }
62
63     public void setPopulation(Integer population) {
64         this.population = population;
65     }
66 }