]> git.basschouten.com Git - openhab-addons.git/blob
125b3cf79177e4c0f38754d0a8787c2c35cb6bad
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.pushbullet.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The {@link PushbulletConfiguration} class contains fields mapping thing configuration parameters.
20  *
21  * @author Hakan Tandogan - Initial contribution
22  */
23 @NonNullByDefault
24 public class PushbulletConfiguration {
25
26     private @Nullable String name;
27
28     private String token = "invalid";
29
30     private String apiUrlBase = "invalid";
31
32     public @Nullable String getName() {
33         return name;
34     }
35
36     public void setName(String name) {
37         this.name = name;
38     }
39
40     public String getToken() {
41         return token;
42     }
43
44     public void setToken(String token) {
45         this.token = token;
46     }
47
48     public String getApiUrlBase() {
49         return apiUrlBase;
50     }
51
52     public void setApiUrlBase(String apiUrlBase) {
53         this.apiUrlBase = apiUrlBase;
54     }
55 }