2 * Copyright (c) 2010-2022 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.tapocontrol.internal.structures;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * The {@link TapoBridgeConfiguration} class contains fields mapping bridge configuration parameters.
20 * @author Christian Wild - Initial contribution
24 public final class TapoBridgeConfiguration {
25 /* THING CONFIGUTATION PROPERTYS */
26 public static final String CONFIG_EMAIL = "username";
27 public static final String CONFIG_PASS = "password";
28 public static final String CONFIG_DISCOVERY_CLOUD = "cloudDiscovery";
29 public static final String CONFIG_DISCOVERY_INTERVAL = "discoveryInterval";
31 /* DEFAULT & FIXED CONFIGURATIONS */
32 public static final Integer CONFIG_CLOUD_FIXED_INTERVAL = 1440;
34 /* thing configuration parameter. */
35 public String username = "";
36 public String password = "";
37 public boolean cloudDiscovery = false;
38 public int reconnectInterval = CONFIG_CLOUD_FIXED_INTERVAL;
39 public int discoveryInterval = 60;