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.automower.internal.bridge;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * The {@link AutomowerBridgeConfiguration} class contains fields mapping thing configuration parameters.
21 * @author Markus Pfleger - Initial contribution
24 public final class AutomowerBridgeConfiguration {
25 private @Nullable String appKey;
26 private @Nullable String appSecret;
28 private @Nullable Integer pollingInterval;
31 * @return The polling interval for the automower state in s
33 public @Nullable Integer getPollingInterval() {
34 return pollingInterval;
37 public void setPollingInterval(Integer pollingInterval) {
38 this.pollingInterval = pollingInterval;
41 public @Nullable String getAppKey() {
45 public void setAppKey(String appKey) {
49 public @Nullable String getAppSecret() {
53 public void setAppSecret(String appSecret) {
54 this.appSecret = appSecret;