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.vehicle;
16 * The {@link Vehicle} Data Transfer Object
18 * @author Bernd Weymann - Initial contribution
19 * @author Martin Grassl - refactored for v2 API
21 public class Vehicle {
22 private VehicleBase vehicleBase = new VehicleBase();
23 private VehicleStateContainer vehicleState = new VehicleStateContainer();
25 public VehicleBase getVehicleBase() {
29 public void setVehicleBase(VehicleBase vehicleBase) {
30 this.vehicleBase = vehicleBase;
33 public VehicleStateContainer getVehicleState() {
37 public void setVehicleState(VehicleStateContainer vehicleState) {
38 this.vehicleState = vehicleState;
42 public String toString() {
43 return "Vehicle [vehicleBase=" + vehicleBase + ", vehicleState=" + vehicleState + "]";