2 * Copyright (c) 2010-2022 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.hyperion.internal.protocol.ng;
15 import java.util.List;
17 import com.google.gson.annotations.SerializedName;
20 * The {@link Hyperion} is a POJO for a Hyperion information in the Hyperion.ng server.
22 * @author Daniel Walters - Initial contribution
24 public class Hyperion {
26 @SerializedName("config_modified")
27 private Boolean configModified;
29 @SerializedName("config_writeable")
30 private Boolean configWriteable;
32 @SerializedName("off")
35 @SerializedName("sessions")
36 private List<Session> sessions = null;
38 public Boolean getConfigModified() {
39 return configModified;
42 public Boolean getConfigWriteable() {
43 return configWriteable;
46 public boolean isOff() {
50 public List<Session> getSessions() {
54 public void setConfigModified(Boolean configModified) {
55 this.configModified = configModified;
58 public void setConfigWriteable(Boolean configWriteable) {
59 this.configWriteable = configWriteable;
62 public void setOff(boolean off) {
66 public void setSessions(List<Session> sessions) {
67 this.sessions = sessions;