]> git.basschouten.com Git - openhab-addons.git/blob
a03d618786435c86f4bbd6663383b603ffc36e07
[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.homeconnect.internal.configuration;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link ApiBridgeConfiguration} class contains fields mapping thing configuration parameters.
19  *
20  * @author Jonas BrĂ¼stel - Initial contribution
21  */
22 @NonNullByDefault
23 public class ApiBridgeConfiguration {
24
25     private String clientId = "";
26     private String clientSecret = "";
27     private boolean simulator;
28
29     public String getClientId() {
30         return clientId;
31     }
32
33     public void setClientId(String clientId) {
34         this.clientId = clientId;
35     }
36
37     public String getClientSecret() {
38         return clientSecret;
39     }
40
41     public void setClientSecret(String clientSecret) {
42         this.clientSecret = clientSecret;
43     }
44
45     public boolean isSimulator() {
46         return simulator;
47     }
48
49     public void setSimulator(boolean simulator) {
50         this.simulator = simulator;
51     }
52
53     @Override
54     public String toString() {
55         return "ApiBridgeConfiguration [clientId=" + clientId + ", clientSecret=" + clientSecret + ", simulator="
56                 + simulator + "]";
57     }
58 }