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 VehicleWindowsState {
22 private String leftFront = ""; // CLOSED,
23 private String leftRear = ""; // CLOSED,
24 private String rightFront = ""; // CLOSED,
25 private String rightRear = ""; // CLOSED,
26 private String rear = ""; // CLOSED,
27 private String combinedState = ""; // CLOSED
29 public String getLeftFront() {
33 public void setLeftFront(String leftFront) {
34 this.leftFront = leftFront;
37 public String getLeftRear() {
41 public void setLeftRear(String leftRear) {
42 this.leftRear = leftRear;
45 public String getRightFront() {
49 public void setRightFront(String rightFront) {
50 this.rightFront = rightFront;
53 public String getRightRear() {
57 public void setRightRear(String rightRear) {
58 this.rightRear = rightRear;
61 public String getRear() {
65 public void setRear(String rear) {
69 public String getCombinedState() {
73 public void setCombinedState(String combinedState) {
74 this.combinedState = combinedState;
78 public String toString() {
79 return "VehicleWindowsState [leftFront=" + leftFront + ", leftRear=" + leftRear + ", rightFront=" + rightFront
80 + ", rightRear=" + rightRear + ", rear=" + rear + ", combinedState=" + combinedState + "]";