]> git.basschouten.com Git - openhab-addons.git/blob
1ffc03b54f97b208eb79686a27b85bc5d78622b0
[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.hyperion.internal.protocol.ng;
14
15 import java.util.List;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * The {@link Hyperion} is a POJO for a Hyperion information in the Hyperion.ng server.
21  *
22  * @author Daniel Walters - Initial contribution
23  */
24 public class Hyperion {
25
26     @SerializedName("config_modified")
27     private Boolean configModified;
28
29     @SerializedName("config_writeable")
30     private Boolean configWriteable;
31
32     @SerializedName("off")
33     private boolean off;
34
35     @SerializedName("sessions")
36     private List<Session> sessions = null;
37
38     public Boolean getConfigModified() {
39         return configModified;
40     }
41
42     public Boolean getConfigWriteable() {
43         return configWriteable;
44     }
45
46     public boolean isOff() {
47         return off;
48     }
49
50     public List<Session> getSessions() {
51         return sessions;
52     }
53
54     public void setConfigModified(Boolean configModified) {
55         this.configModified = configModified;
56     }
57
58     public void setConfigWriteable(Boolean configWriteable) {
59         this.configWriteable = configWriteable;
60     }
61
62     public void setOff(boolean off) {
63         this.off = off;
64     }
65
66     public void setSessions(List<Session> sessions) {
67         this.sessions = sessions;
68     }
69 }