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;
16 import org.openhab.binding.somfytahoma.internal.SomfyTahomaBindingConstants;
19 * The {@link SomfyTahomaConfig} is is the base class for configuration
20 * information held by devices and modules.
22 * @author Ondrej Pecta - Initial contribution
23 * @author Laurent Garnier - new parameter portalUrl
26 public class SomfyTahomaConfig {
27 private String cloudPortal = SomfyTahomaBindingConstants.TAHOMA_PORTAL;
28 private String email = "";
29 private String password = "";
30 private int refresh = 30;
31 private int statusTimeout = 300;
32 private int retries = 10;
33 private int retryDelay = 1000;
35 public String getCloudPortal() {
39 public String getEmail() {
43 public String getPassword() {
47 public int getRefresh() {
51 public int getStatusTimeout() {
55 public int getRetries() {
59 public int getRetryDelay() {
63 public void setCloudPortal(String cloudPortal) {
64 this.cloudPortal = cloudPortal;
67 public void setEmail(String email) {
71 public void setPassword(String password) {
72 this.password = password;
75 public void setRetries(int retries) {
76 this.retries = retries;
79 public void setRetryDelay(int retryDelay) {
80 this.retryDelay = retryDelay;