]> git.basschouten.com Git - openhab-addons.git/blob
c6c65f1259e9d735a4df99e593dbe3fccaa7714b
[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.pushsafer.internal.config;
14
15 import static org.openhab.binding.pushsafer.internal.PushsaferBindingConstants.*;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19
20 /**
21  * The {@link PushsaferAccountConfiguration} class contains fields mapping thing configuration parameters.
22  *
23  * @author Kevin Siml - Initial contribution, forked from Christoph Weitkamp
24  */
25 @NonNullByDefault
26 public class PushsaferAccountConfiguration {
27     public @Nullable String apikey;
28     public @Nullable String user;
29     public String device = ALL_DEVICES;
30     public String title = DEFAULT_TITLE;
31     public String format = "none";
32     public String sound = DEFAULT_SOUND;
33     public String icon = DEFAULT_ICON;
34     public String color = DEFAULT_COLOR;
35     public String url = DEFAULT_URL;
36     public String urlTitle = DEFAULT_URLTITLE;
37     public boolean answer = DEFAULT_ANSWER;
38     public int confirm = DEFAULT_CONFIRM;
39     public int time2live = DEFAULT_TIME2LIVE;
40     public String vibration = DEFAULT_VIBRATION;
41     public int retry = 300;
42     public int expire = 3600;
43 }