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.innogysmarthome.internal.client.entity.device;
16 * Defines the {@link Gateway} structure.
18 * @author Oliver Kuhl - Initial contribution
20 public class Gateway {
23 * Serial number of the gateway
25 private String serialNumber;
30 private Boolean connected;
35 private String appVersion;
38 * Version of the operating system
40 private String osVersion;
43 * Version of the configuration. Changes each time the configuration was changed via the innogy client app.
45 private String configVersion;
48 * @return the serial number
50 public String getSerialNumber() {
55 * @param serialNumber the serial number to set
57 public void setSerialNumber(String serialNumber) {
58 this.serialNumber = serialNumber;
62 * @return if the gateway is connected
64 public Boolean getConnected() {
69 * @param connected the connected state to set, true if connected
71 public void setConnected(Boolean connected) {
72 this.connected = connected;
76 * @return the app version
78 public String getAppVersion() {
83 * @param appVersion the app version to set
85 public void setAppVersion(String appVersion) {
86 this.appVersion = appVersion;
90 * @return the os version
92 public String getOsVersion() {
97 * @param osVersion the os version to set
99 public void setOsVersion(String osVersion) {
100 this.osVersion = osVersion;
104 * @return the configuration version
106 public String getConfigVersion() {
107 return configVersion;
111 * @param configVersion the config version to set
113 public void setConfigVersion(String configVersion) {
114 this.configVersion = configVersion;