2 * Copyright (c) 2010-2021 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.somfytahoma.internal.config;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * The {@link SomfyTahomaConfig} is is the base class for configuration
19 * information held by devices and modules.
21 * @author Ondrej Pecta - Initial contribution
24 public class SomfyTahomaConfig {
25 private String email = "";
26 private String password = "";
27 private int refresh = 30;
28 private int statusTimeout = 300;
29 private int retries = 10;
30 private int retryDelay = 1000;
32 public String getEmail() {
36 public String getPassword() {
40 public int getRefresh() {
44 public int getStatusTimeout() {
48 public int getRetries() {
52 public int getRetryDelay() {
56 public void setEmail(String email) {
60 public void setPassword(String password) {
61 this.password = password;
64 public void setRetries(int retries) {
65 this.retries = retries;
68 public void setRetryDelay(int retryDelay) {
69 this.retryDelay = retryDelay;