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.neato.internal.classes;
16 * The {@link Battery} is the internal class for battery information.
18 * @author Patrik Wimnell - Initial contribution
20 public class Battery {
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;
30 public Integer getLevel() {
34 public void setLevel(Integer level) {
38 public Integer getTimeToEmpty() {
42 public void setTimeToEmpty(Integer timeToEmpty) {
43 this.timeToEmpty = timeToEmpty;
46 public Integer getTimeToFullCharge() {
47 return timeToFullCharge;
50 public void setTimeToFullCharge(Integer timeToFullCharge) {
51 this.timeToFullCharge = timeToFullCharge;
54 public Integer getTotalCharges() {
58 public void setTotalCharges(Integer totalCharges) {
59 this.totalCharges = totalCharges;
62 public String getManufacturingDate() {
63 return manufacturingDate;
66 public void setManufacturingDate(String manufacturingDate) {
67 this.manufacturingDate = manufacturingDate;
70 public Integer getAuthorizationStatus() {
71 return authorizationStatus;
74 public void setAuthorizationStatus(Integer authorizationStatus) {
75 this.authorizationStatus = authorizationStatus;
78 public String getVendor() {
82 public void setVendor(String vendor) {