]> git.basschouten.com Git - openhab-addons.git/blob
286821ef3e7634be08123ad4edc9e02e9cd254ad
[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.automower.internal.bridge;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The {@link AutomowerBridgeConfiguration} class contains fields mapping thing configuration parameters.
20  *
21  * @author Markus Pfleger - Initial contribution
22  */
23 @NonNullByDefault
24 public final class AutomowerBridgeConfiguration {
25     private @Nullable String appKey;
26     private @Nullable String userName;
27     private @Nullable String password;
28
29     private @Nullable Integer pollingInterval;
30
31     /**
32      * @return The polling interval for the automower state in s
33      */
34     public @Nullable Integer getPollingInterval() {
35         return pollingInterval;
36     }
37
38     public void setPollingInterval(Integer pollingInterval) {
39         this.pollingInterval = pollingInterval;
40     }
41
42     public @Nullable String getAppKey() {
43         return appKey;
44     }
45
46     public void setAppKey(String appKey) {
47         this.appKey = appKey;
48     }
49
50     public @Nullable String getUserName() {
51         return userName;
52     }
53
54     public void setUserName(String userName) {
55         this.userName = userName;
56     }
57
58     public @Nullable String getPassword() {
59         return password;
60     }
61
62     public void setPassword(String password) {
63         this.password = password;
64     }
65 }