]> git.basschouten.com Git - openhab-addons.git/blob
4d9fa056e860a38500c94df98a81e2bac3ae29a3
[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.verisure.internal.dto;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The battery status of the Verisure System.
20  *
21  * @author Jan Gustafsson - Initial contribution
22  *
23  */
24 @NonNullByDefault
25 public class VerisureBatteryStatusDTO {
26
27     public boolean chosen;
28     public @Nullable String id;
29     public @Nullable String pictureBase;
30     public @Nullable String translatedType;
31     public @Nullable String location;
32     public @Nullable String batteryInfo;
33     public @Nullable String status;
34     public @Nullable String alias;
35     public int index;
36     public boolean selectable;
37
38     public @Nullable String getId() {
39         return id;
40     }
41
42     public @Nullable String getLocation() {
43         return location;
44     }
45
46     public @Nullable String getBatteryInfo() {
47         return batteryInfo;
48     }
49
50     public @Nullable String getStatus() {
51         return status;
52     }
53 }