]> git.basschouten.com Git - openhab-addons.git/blob
05719113bbd2c416a9c29687eda15dd5ff92ad35
[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.jablotron.internal.model;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * The {@link JablotronDiscoveredService} class defines the discovered service
21  * object
22  *
23  * @author Ondrej Pecta - Initial contribution
24  */
25 @NonNullByDefault
26 public class JablotronDiscoveredService {
27
28     @SerializedName("service-id")
29     int id = 0;
30     String name = "";
31     String status = "";
32     String warning = "";
33
34     @SerializedName("warning-time")
35     String warningTime = "";
36
37     @SerializedName("service-type")
38     String serviceType = "";
39
40     public int getId() {
41         return id;
42     }
43
44     public String getName() {
45         return name;
46     }
47
48     public String getServiceType() {
49         return serviceType;
50     }
51
52     public String getStatus() {
53         return status;
54     }
55
56     public String getWarning() {
57         return warning;
58     }
59
60     public String getWarningTime() {
61         return warningTime;
62     }
63 }