]> git.basschouten.com Git - openhab-addons.git/blob
66901e7d668c223abaa883f23d36b4760aa3d1a7
[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.neato.internal.classes;
14
15 /**
16  * The {@link Battery} is the internal class for battery information.
17  *
18  * @author Patrik Wimnell - Initial contribution
19  */
20 public class Battery {
21
22     private Integer level;
23     private Integer timeToEmpty;
24     private Integer timeToFullCharge;
25     private Integer totalCharges;
26     private String manufacturingDate;
27     private Integer authorizationStatus;
28     private String vendor;
29
30     public Integer getLevel() {
31         return level;
32     }
33
34     public void setLevel(Integer level) {
35         this.level = level;
36     }
37
38     public Integer getTimeToEmpty() {
39         return timeToEmpty;
40     }
41
42     public void setTimeToEmpty(Integer timeToEmpty) {
43         this.timeToEmpty = timeToEmpty;
44     }
45
46     public Integer getTimeToFullCharge() {
47         return timeToFullCharge;
48     }
49
50     public void setTimeToFullCharge(Integer timeToFullCharge) {
51         this.timeToFullCharge = timeToFullCharge;
52     }
53
54     public Integer getTotalCharges() {
55         return totalCharges;
56     }
57
58     public void setTotalCharges(Integer totalCharges) {
59         this.totalCharges = totalCharges;
60     }
61
62     public String getManufacturingDate() {
63         return manufacturingDate;
64     }
65
66     public void setManufacturingDate(String manufacturingDate) {
67         this.manufacturingDate = manufacturingDate;
68     }
69
70     public Integer getAuthorizationStatus() {
71         return authorizationStatus;
72     }
73
74     public void setAuthorizationStatus(Integer authorizationStatus) {
75         this.authorizationStatus = authorizationStatus;
76     }
77
78     public String getVendor() {
79         return vendor;
80     }
81
82     public void setVendor(String vendor) {
83         this.vendor = vendor;
84     }
85 }