]> git.basschouten.com Git - openhab-addons.git/blob
cece8bae5b63bedd9f55af3deb8737a47f73bf74
[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.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 appSecret;
27
28     private @Nullable Integer pollingInterval;
29
30     /**
31      * @return The polling interval for the automower state in s
32      */
33     public @Nullable Integer getPollingInterval() {
34         return pollingInterval;
35     }
36
37     public void setPollingInterval(Integer pollingInterval) {
38         this.pollingInterval = pollingInterval;
39     }
40
41     public @Nullable String getAppKey() {
42         return appKey;
43     }
44
45     public void setAppKey(String appKey) {
46         this.appKey = appKey;
47     }
48
49     public @Nullable String getAppSecret() {
50         return appSecret;
51     }
52
53     public void setAppSecret(String appSecret) {
54         this.appSecret = appSecret;
55     }
56 }