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.omnilink.internal.config;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * The {@link OmnilinkBridgeConfig} sets the authentication settings of the
20 * OmniLink Controller that will allow for proper communication.
22 * @author Craig Hamilton - Initial contribution
23 * @author Ethan Dye - openHAB3 rewrite
26 public class OmnilinkBridgeConfig {
28 private @Nullable String key1;
29 private @Nullable String key2;
30 private @Nullable String ipAddress;
32 private int logPollingInterval;
34 public int getLogPollingInterval() {
35 return logPollingInterval;
38 public void setLogPollingInterval(int logPollingInterval) {
39 this.logPollingInterval = logPollingInterval;
42 public @Nullable String getKey1() {
46 public void setKey1(String key1) {
50 public @Nullable String getKey2() {
54 public void setKey2(String key2) {
58 public @Nullable String getIpAddress() {
62 public void setIpAddress(String ipAddress) {
63 this.ipAddress = ipAddress;
66 public int getPort() {
70 public void setPort(int port) {