2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.pushsafer.internal.config;
15 import static org.openhab.binding.pushsafer.internal.PushsaferBindingConstants.*;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
21 * The {@link PushsaferAccountConfiguration} class contains fields mapping thing configuration parameters.
23 * @author Kevin Siml - Initial contribution, forked from Christoph Weitkamp
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;