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;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link RadioThermostatRuntimeDTO} is responsible for storing
19 * the "today" and "yesterday" node from the "tstat/datalog" JSON response
21 * @author Michael Lobstein - Initial contribution
23 public class RadioThermostatRuntimeDTO {
25 @SerializedName("today")
26 private RadioThermostatRuntimeHeatCoolDTO today;
28 @SerializedName("yesterday")
29 private RadioThermostatRuntimeHeatCoolDTO yesterday;
31 public RadioThermostatRuntimeDTO() {
35 * Receives "today" node from the JSON response
37 * @return {RadioThermostatRuntimeHeatCool}
39 public RadioThermostatRuntimeHeatCoolDTO getToday() {
44 * Receives "yesterday" node from the JSON response
46 * @return {RadioThermostatRuntimeHeatCool}
48 public RadioThermostatRuntimeHeatCoolDTO getYesterday() {