]> git.basschouten.com Git - openhab-addons.git/blob
72b67e2da4404f1e14e9cfa02b38f43cbcdcc4d5
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.warmup.internal.model.query;
14
15 import java.util.List;
16
17 /**
18  * @author James Melville - Initial contribution
19  */
20 public class RoomDTO {
21
22     private int id;
23     private String roomName;
24     private Integer currentTemp;
25     private Integer targetTemp;
26     private String runMode;
27     private Integer overrideDur;
28     private List<DeviceDTO> thermostat4ies;
29
30     public String getId() {
31         return String.valueOf(id);
32     }
33
34     public String getName() {
35         return roomName;
36     }
37
38     public Integer getCurrentTemperature() {
39         return currentTemp;
40     }
41
42     public Integer getTargetTemperature() {
43         return targetTemp;
44     }
45
46     public String getRunMode() {
47         return runMode;
48     }
49
50     public Integer getOverrideDuration() {
51         return overrideDur;
52     }
53
54     public List<DeviceDTO> getThermostat4ies() {
55         return thermostat4ies;
56     }
57 }