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.millheat.internal.dto;
15 import com.google.gson.annotations.SerializedName;
18 * This DTO class wraps the room json structure
20 * @author Arne Seime - Initial contribution
22 public class RoomDTO {
24 @SerializedName("roomName")
26 public int comfortTemp;
29 @SerializedName("avgTemp")
30 public double currentTemp;
31 public String roomProgram;
32 public int currentMode = 0;
33 public boolean heatStatus = false;
34 @SerializedName("onLineDeviceNum")
35 public int onlineDeviceCount = 0;
36 @SerializedName("offLineDeviceNum")
37 public int offLineDeviceCount = 0;
38 @SerializedName("total")
39 public int totalCount = 0;
40 public int independentCount = 0;
41 @SerializedName("isOffline")
42 public boolean offline = true;
43 public String controlSource;