]> git.basschouten.com Git - openhab-addons.git/blob
8884d07f4a3c8f09b5750e6baa0aeac9d101a243
[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  * @author Jeremy Setton - Add link and file push type support
23  */
24 @NonNullByDefault
25 public class PushbulletConfiguration {
26
27     private @Nullable String name;
28
29     private String token = "";
30
31     private String apiUrlBase = "https://api.pushbullet.com/v2";
32
33     public @Nullable String getName() {
34         return name;
35     }
36
37     public String getAccessToken() {
38         return token;
39     }
40
41     public String getApiUrlBase() {
42         return apiUrlBase;
43     }
44 }