]> git.basschouten.com Git - openhab-addons.git/blob
e1507e2f5d9d4afc62532261854926821e02662b
[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.mybmw.internal.dto.charge;
14
15 /**
16  * The {@link ChargingStatisticsContainer} Data Transfer Object
17  *
18  * @author Bernd Weymann - Initial contribution
19  */
20 public class ChargingStatisticsContainer {
21     private String description;// ": "Dezember 2021",
22     private String optStateType;// ": "OPT_IN_WITH_SESSIONS",
23     private ChargingStatistics statistics;// ": {
24
25     /**
26      * @return the description
27      */
28     public String getDescription() {
29         return description;
30     }
31
32     /**
33      * @param description the description to set
34      */
35     public void setDescription(String description) {
36         this.description = description;
37     }
38
39     /**
40      * @return the optStateType
41      */
42     public String getOptStateType() {
43         return optStateType;
44     }
45
46     /**
47      * @param optStateType the optStateType to set
48      */
49     public void setOptStateType(String optStateType) {
50         this.optStateType = optStateType;
51     }
52
53     /**
54      * @return the statistics
55      */
56     public ChargingStatistics getStatistics() {
57         return statistics;
58     }
59
60     /**
61      * @param statistics the statistics to set
62      */
63     public void setStatistics(ChargingStatistics statistics) {
64         this.statistics = statistics;
65     }
66     /*
67      * (non-Javadoc)
68      * 
69      * @see java.lang.Object#toString()
70      */
71
72     @Override
73     public String toString() {
74         return "ChargingStatisticsContainer [description=" + description + ", optStateType=" + optStateType
75                 + ", statistics=" + statistics + "]";
76     }
77 }