]> git.basschouten.com Git - openhab-addons.git/blob
ca10d1b276ce29291680078b6144b637b01e02e8
[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.omnilink.internal.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The {@link OmnilinkBridgeConfig} sets the authentication settings of the
20  * OmniLink Controller that will allow for proper communication.
21  *
22  * @author Craig Hamilton - Initial contribution
23  * @author Ethan Dye - openHAB3 rewrite
24  */
25 @NonNullByDefault
26 public class OmnilinkBridgeConfig {
27
28     private @Nullable String key1;
29     private @Nullable String key2;
30     private @Nullable String ipAddress;
31     private int port;
32     private int logPollingInterval;
33
34     public int getLogPollingInterval() {
35         return logPollingInterval;
36     }
37
38     public void setLogPollingInterval(int logPollingInterval) {
39         this.logPollingInterval = logPollingInterval;
40     }
41
42     public @Nullable String getKey1() {
43         return key1;
44     }
45
46     public void setKey1(String key1) {
47         this.key1 = key1;
48     }
49
50     public @Nullable String getKey2() {
51         return key2;
52     }
53
54     public void setKey2(String key2) {
55         this.key2 = key2;
56     }
57
58     public @Nullable String getIpAddress() {
59         return ipAddress;
60     }
61
62     public void setIpAddress(String ipAddress) {
63         this.ipAddress = ipAddress;
64     }
65
66     public int getPort() {
67         return port;
68     }
69
70     public void setPort(int port) {
71         this.port = port;
72     }
73 }