2 * Copyright (c) 2010-2023 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.radiothermostat.internal.dto;
16 * The {@link RadioThermostatDTO} is responsible for storing
17 * all of the JSON data objects that are retrieved from the thermostat
19 * @author Michael Lobstein - Initial contribution
21 public class RadioThermostatDTO {
22 private RadioThermostatTstatDTO thermostatData = new RadioThermostatTstatDTO();
23 private Integer humidity;
24 private RadioThermostatRuntimeDTO runtime;
26 public RadioThermostatDTO() {
29 public RadioThermostatTstatDTO getThermostatData() {
30 return thermostatData;
33 public void setThermostatData(RadioThermostatTstatDTO thermostatData) {
34 this.thermostatData = thermostatData;
37 public Integer getHumidity() {
41 public void setHumidity(Integer humidity) {
42 this.humidity = humidity;
45 public RadioThermostatRuntimeDTO getRuntime() {
49 public void setRuntime(RadioThermostatRuntimeDTO runtime) {
50 this.runtime = runtime;