]> git.basschouten.com Git - openhab-addons.git/blob
46a88994d4904f56e65845b216c5b59df30df51c
[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 VehicleTireStates {
22     private VehicleTireState frontLeft = new VehicleTireState();
23     private VehicleTireState frontRight = new VehicleTireState();
24     private VehicleTireState rearLeft = new VehicleTireState();
25     private VehicleTireState rearRight = new VehicleTireState();
26
27     public VehicleTireState getFrontLeft() {
28         return frontLeft;
29     }
30
31     public void setFrontLeft(VehicleTireState frontLeft) {
32         this.frontLeft = frontLeft;
33     }
34
35     public VehicleTireState getFrontRight() {
36         return frontRight;
37     }
38
39     public void setFrontRight(VehicleTireState frontRight) {
40         this.frontRight = frontRight;
41     }
42
43     public VehicleTireState getRearLeft() {
44         return rearLeft;
45     }
46
47     public void setRearLeft(VehicleTireState rearLeft) {
48         this.rearLeft = rearLeft;
49     }
50
51     public VehicleTireState getRearRight() {
52         return rearRight;
53     }
54
55     public void setRearRight(VehicleTireState rearRight) {
56         this.rearRight = rearRight;
57     }
58
59     @Override
60     public String toString() {
61         return "VehicleTireStates [frontLeft=" + frontLeft + ", frontRight=" + frontRight + ", rearLeft=" + rearLeft
62                 + ", rearRight=" + rearRight + "]";
63     }
64 }