]> git.basschouten.com Git - openhab-addons.git/blob
c2fe023151d969a11be9355329499f03c4ad92a9
[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.radiothermostat.internal.dto;
14
15 /**
16  * The {@link RadioThermostatDTO} is responsible for storing
17  * all of the JSON data objects that are retrieved from the thermostat
18  *
19  * @author Michael Lobstein - Initial contribution
20  */
21 public class RadioThermostatDTO {
22     private RadioThermostatTstatDTO thermostatData = new RadioThermostatTstatDTO();
23     private Integer humidity;
24     private RadioThermostatRuntimeDTO runtime;
25
26     public RadioThermostatDTO() {
27     }
28
29     public RadioThermostatTstatDTO getThermostatData() {
30         return thermostatData;
31     }
32
33     public void setThermostatData(RadioThermostatTstatDTO thermostatData) {
34         this.thermostatData = thermostatData;
35     }
36
37     public Integer getHumidity() {
38         return humidity;
39     }
40
41     public void setHumidity(Integer humidity) {
42         this.humidity = humidity;
43     }
44
45     public RadioThermostatRuntimeDTO getRuntime() {
46         return runtime;
47     }
48
49     public void setRuntime(RadioThermostatRuntimeDTO runtime) {
50         this.runtime = runtime;
51     }
52 }