]> git.basschouten.com Git - openhab-addons.git/blob
8a5b9ed5610905cf613c5097fc7a1bc44fb6e2ef
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.lcn.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link PckGatewayConfiguration} class contains fields mapping thing configuration parameters.
19  *
20  * @author Fabian Wolter - Initial contribution
21  */
22 @NonNullByDefault
23 public class PckGatewayConfiguration {
24     private @NonNullByDefault({}) String hostname;
25     private int port;
26     private @NonNullByDefault({}) String username;
27     private @NonNullByDefault({}) String password;
28     private @NonNullByDefault({}) String mode;
29     private @NonNullByDefault({}) int timeoutMs;
30
31     public String getHostname() {
32         return hostname;
33     }
34
35     public int getPort() {
36         return port;
37     }
38
39     public String getUsername() {
40         return username;
41     }
42
43     public String getPassword() {
44         return password;
45     }
46
47     public String getMode() {
48         return mode;
49     }
50
51     public int getTimeoutMs() {
52         return timeoutMs;
53     }
54 }