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 ChargingSession} Data Transfer Object
18 * @author Bernd Weymann - Initial contribution
20 public class ChargingSession {
21 private String id;// ": "2021-12-26T16:57:20Z_128fa4af",
22 private String title;// ": "Gestern 17:57",
23 private String subtitle;// ": "Uferstraße 4B • 7h 45min • -- EUR",
24 private String energyCharged;// ": "~ 31 kWh",
25 private String sessionStatus;// ": "FINISHED",
26 private String issues;// ": "2 Probleme",
27 private String isPublic;// ": false
32 public String getId() {
39 public String getTitle() {
44 * @param title the title to set
46 public void setTitle(String title) {
51 * @return the subtitle
53 public String getSubtitle() {
58 * @return the energyCharged
60 public String getEnergyCharged() {
65 * @return the sessionStatus
67 public String getSessionStatus() {
74 public String getIssues() {
79 * @return the isPublic
81 public String getIsPublic() {
87 * @see java.lang.Object#toString()
91 public String toString() {
92 return "ChargingSession [id=" + id + ", title=" + title + ", subtitle=" + subtitle + ", energyCharged="
93 + energyCharged + ", sessionStatus=" + sessionStatus + ", issues=" + issues + ", isPublic=" + isPublic