]> git.basschouten.com Git - openhab-addons.git/blob
68ea799bf9153977842d03dca76a7acae807e360
[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.innogysmarthome.internal.client.entity.device;
14
15 /**
16  * Defines the {@link Gateway} structure.
17  *
18  * @author Oliver Kuhl - Initial contribution
19  */
20 public class Gateway {
21
22     /**
23      * Serial number of the gateway
24      */
25     private String serialNumber;
26
27     /**
28      * Connected status
29      */
30     private Boolean connected;
31
32     /**
33      * Version of the app
34      */
35     private String appVersion;
36
37     /**
38      * Version of the operating system
39      */
40     private String osVersion;
41
42     /**
43      * Version of the configuration. Changes each time the configuration was changed via the innogy client app.
44      */
45     private String configVersion;
46
47     /**
48      * @return the serial number
49      */
50     public String getSerialNumber() {
51         return serialNumber;
52     }
53
54     /**
55      * @param serialNumber the serial number to set
56      */
57     public void setSerialNumber(String serialNumber) {
58         this.serialNumber = serialNumber;
59     }
60
61     /**
62      * @return if the gateway is connected
63      */
64     public Boolean getConnected() {
65         return connected;
66     }
67
68     /**
69      * @param connected the connected state to set, true if connected
70      */
71     public void setConnected(Boolean connected) {
72         this.connected = connected;
73     }
74
75     /**
76      * @return the app version
77      */
78     public String getAppVersion() {
79         return appVersion;
80     }
81
82     /**
83      * @param appVersion the app version to set
84      */
85     public void setAppVersion(String appVersion) {
86         this.appVersion = appVersion;
87     }
88
89     /**
90      * @return the os version
91      */
92     public String getOsVersion() {
93         return osVersion;
94     }
95
96     /**
97      * @param osVersion the os version to set
98      */
99     public void setOsVersion(String osVersion) {
100         this.osVersion = osVersion;
101     }
102
103     /**
104      * @return the configuration version
105      */
106     public String getConfigVersion() {
107         return configVersion;
108     }
109
110     /**
111      * @param configVersion the config version to set
112      */
113     public void setConfigVersion(String configVersion) {
114         this.configVersion = configVersion;
115     }
116 }