]> git.basschouten.com Git - openhab-addons.git/blob
7a64648ed3085402473d619d2da78abf89f18dce
[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.bsblan.internal.configuration;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.bsblan.internal.BsbLanBindingConstants;
17
18 /**
19  * The {@link BsbLanBridgeConfiguration} is the class used to match the
20  * bridge configuration.
21  *
22  * @author Peter Schraffl - Initial contribution
23  */
24 @NonNullByDefault
25 public class BsbLanBridgeConfiguration {
26     /**
27      * Hostname or IP address of the device
28      */
29     public String host = "";
30
31     /**
32      * HTTP port where device is listening
33      */
34     public Integer port = BsbLanBindingConstants.DEFAULT_API_PORT;
35
36     /**
37      * For "security" feature of BSB-LAN devices
38      */
39     public String passkey = "";
40
41     /**
42      * HTTP Basic Authentication User
43      */
44     public String username = "";
45
46     /**
47      * HTTP Basic Authentication Password
48      */
49     public String password = "";
50
51     /**
52      * Value refresh interval
53      */
54     public Integer refreshInterval = BsbLanBindingConstants.DEFAULT_REFRESH_INTERVAL;
55 }