]> git.basschouten.com Git - openhab-addons.git/blob
775d45f08e10fb2f174e540b69607760dba2940e
[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.vehicle;
14
15 /**
16  * 
17  * derived from the API responses
18  * 
19  * @author Martin Grassl - initial contribution
20  */
21 public class VehicleStateContainer {
22     private VehicleState state = new VehicleState();
23     private VehicleCapabilities capabilities = new VehicleCapabilities();
24
25     private String rawStateJson = "";
26
27     public VehicleState getState() {
28         return state;
29     }
30
31     public void setState(VehicleState state) {
32         this.state = state;
33     }
34
35     public VehicleCapabilities getCapabilities() {
36         return capabilities;
37     }
38
39     public void setCapabilities(VehicleCapabilities capabilities) {
40         this.capabilities = capabilities;
41     }
42
43     @Override
44     public String toString() {
45         return "VehicleState [state=" + state + ", capabilities=" + capabilities + "]";
46     }
47
48     public String getRawStateJson() {
49         return rawStateJson;
50     }
51
52     public void setRawStateJson(String rawStateJson) {
53         this.rawStateJson = rawStateJson;
54     }
55 }