]> git.basschouten.com Git - openhab-addons.git/blob
ebcf0fe43356125c996933f472e7350b6eea8281
[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.draytonwiser.internal.model;
14
15 import java.util.List;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * @author Andrew Schofield - Initial contribution
21  */
22 public class HeatingChannelDTO {
23
24     @SerializedName("id")
25     private Integer id;
26     private String name;
27     private List<Integer> roomIds;
28     private Integer percentageDemand;
29     private String demandOnOffOutput;
30     private String heatingRelayState;
31     private Boolean isSmartValvePreventingDemand;
32
33     public Integer getId() {
34         return id;
35     }
36
37     public String getName() {
38         return name;
39     }
40
41     public List<Integer> getRoomIds() {
42         return roomIds;
43     }
44
45     public void setRoomIds(final List<Integer> roomIds) {
46         this.roomIds = roomIds;
47     }
48
49     public Integer getPercentageDemand() {
50         return percentageDemand;
51     }
52
53     public String getDemandOnOffOutput() {
54         return demandOnOffOutput;
55     }
56
57     public String getHeatingRelayState() {
58         return heatingRelayState;
59     }
60
61     public Boolean getIsSmartValvePreventingDemand() {
62         return isSmartValvePreventingDemand;
63     }
64 }