]> git.basschouten.com Git - openhab-addons.git/blob
99d6ede0d7a3ebb392f994a725ee1589b8a8f1e7
[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;
14
15 import org.openhab.binding.openweathermap.internal.dto.base.City;
16 import org.openhab.binding.openweathermap.internal.dto.forecast.hourly.List;
17
18 /**
19  * The {@link OpenWeatherMapJsonHourlyForecastData} is the Java class used to map the JSON response to an OpenWeatherMap
20  * request.
21  *
22  * @author Christoph Weitkamp - Initial contribution
23  */
24 public class OpenWeatherMapJsonHourlyForecastData {
25     private String cod;
26     private Double message;
27     private Integer cnt;
28     private java.util.List<List> list;
29     private City city;
30
31     public String getCod() {
32         return cod;
33     }
34
35     public void setCod(String cod) {
36         this.cod = cod;
37     }
38
39     public Double getMessage() {
40         return message;
41     }
42
43     public void setMessage(Double message) {
44         this.message = message;
45     }
46
47     public Integer getCnt() {
48         return cnt;
49     }
50
51     public void setCnt(Integer cnt) {
52         this.cnt = cnt;
53     }
54
55     public java.util.List<List> getList() {
56         return list;
57     }
58
59     public void setList(java.util.List<List> list) {
60         this.list = list;
61     }
62
63     public City getCity() {
64         return city;
65     }
66
67     public void setCity(City city) {
68         this.city = city;
69     }
70 }