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.mybmw.internal.dto.charge;
16 * The {@link ChargingStatisticsContainer} Data Transfer Object
18 * @author Bernd Weymann - Initial contribution
20 public class ChargingStatisticsContainer {
21 private String description;// ": "Dezember 2021",
22 private String optStateType;// ": "OPT_IN_WITH_SESSIONS",
23 private ChargingStatistics statistics;// ": {
26 * @return the description
28 public String getDescription() {
33 * @param description the description to set
35 public void setDescription(String description) {
36 this.description = description;
40 * @return the optStateType
42 public String getOptStateType() {
47 * @param optStateType the optStateType to set
49 public void setOptStateType(String optStateType) {
50 this.optStateType = optStateType;
54 * @return the statistics
56 public ChargingStatistics getStatistics() {
61 * @param statistics the statistics to set
63 public void setStatistics(ChargingStatistics statistics) {
64 this.statistics = statistics;
69 * @see java.lang.Object#toString()
73 public String toString() {
74 return "ChargingStatisticsContainer [description=" + description + ", optStateType=" + optStateType
75 + ", statistics=" + statistics + "]";