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;
17 * derived from the API responses
19 * @author Martin Grassl - initial contribution
21 public class VehicleStateContainer {
22 private VehicleState state = new VehicleState();
23 private VehicleCapabilities capabilities = new VehicleCapabilities();
25 private String rawStateJson = "";
27 public VehicleState getState() {
31 public void setState(VehicleState state) {
35 public VehicleCapabilities getCapabilities() {
39 public void setCapabilities(VehicleCapabilities capabilities) {
40 this.capabilities = capabilities;
44 public String toString() {
45 return "VehicleState [state=" + state + ", capabilities=" + capabilities + "]";
48 public String getRawStateJson() {
52 public void setRawStateJson(String rawStateJson) {
53 this.rawStateJson = rawStateJson;