]> git.basschouten.com Git - openhab-addons.git/blob
5ead6ad4d366e8d3ba6635cbe1b1f2a33c91dacb
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.somfytahoma.internal.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link SomfyTahomaConfig} is is the base class for configuration
19  * information held by devices and modules.
20  *
21  * @author Ondrej Pecta - Initial contribution
22  */
23 @NonNullByDefault
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;
31
32     public String getEmail() {
33         return email;
34     }
35
36     public String getPassword() {
37         return password;
38     }
39
40     public int getRefresh() {
41         return refresh;
42     }
43
44     public int getStatusTimeout() {
45         return statusTimeout;
46     }
47
48     public int getRetries() {
49         return retries;
50     }
51
52     public int getRetryDelay() {
53         return retryDelay;
54     }
55
56     public void setEmail(String email) {
57         this.email = email;
58     }
59
60     public void setPassword(String password) {
61         this.password = password;
62     }
63
64     public void setRetries(int retries) {
65         this.retries = retries;
66     }
67
68     public void setRetryDelay(int retryDelay) {
69         this.retryDelay = retryDelay;
70     }
71 }