]> git.basschouten.com Git - openhab-addons.git/blob
3ba3bc7fc7c7a16aa882b4a8c104cb314d1b5c27
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.groupepsa.internal.bridge;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link GroupePSABridgeConfiguration} class contains fields mapping thing configuration parameters.
19  *
20  * @author Arjan Mels - Initial contribution
21  */
22 @NonNullByDefault
23 public final class GroupePSABridgeConfiguration {
24     private String vendor = "";
25     private String userName = "";
26     private String password = "";
27     private String clientId = "";
28     private String clientSecret = "";
29
30     private Integer pollingInterval = 5;
31
32     /**
33      * @return The polling interval for the groupepsa state in s
34      */
35     public Integer getPollingInterval() {
36         return pollingInterval;
37     }
38
39     public void setPollingInterval(Integer pollingInterval) {
40         this.pollingInterval = pollingInterval;
41     }
42
43     public String getVendor() {
44         return vendor;
45     }
46
47     public void setVendor(String vendor) {
48         this.vendor = vendor;
49     }
50
51     public String getUserName() {
52         return userName;
53     }
54
55     public void setUserName(String userName) {
56         this.userName = userName;
57     }
58
59     public String getPassword() {
60         return password;
61     }
62
63     public void setPassword(String password) {
64         this.password = password;
65     }
66
67     public String getClientId() {
68         return clientId;
69     }
70
71     public void setClientId(String clientId) {
72         this.clientId = clientId;
73     }
74
75     public String getClientSecret() {
76         return clientSecret;
77     }
78
79     public void setClientSecret(String clientSecret) {
80         this.clientSecret = clientSecret;
81     }
82 }