]> git.basschouten.com Git - openhab-addons.git/blob
035fc427a099cd7c9989b171c88de25c7e2cd524
[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 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
28
29     public String getLeftFront() {
30         return leftFront;
31     }
32
33     public void setLeftFront(String leftFront) {
34         this.leftFront = leftFront;
35     }
36
37     public String getLeftRear() {
38         return leftRear;
39     }
40
41     public void setLeftRear(String leftRear) {
42         this.leftRear = leftRear;
43     }
44
45     public String getRightFront() {
46         return rightFront;
47     }
48
49     public void setRightFront(String rightFront) {
50         this.rightFront = rightFront;
51     }
52
53     public String getRightRear() {
54         return rightRear;
55     }
56
57     public void setRightRear(String rightRear) {
58         this.rightRear = rightRear;
59     }
60
61     public String getRear() {
62         return rear;
63     }
64
65     public void setRear(String rear) {
66         this.rear = rear;
67     }
68
69     public String getCombinedState() {
70         return combinedState;
71     }
72
73     public void setCombinedState(String combinedState) {
74         this.combinedState = combinedState;
75     }
76
77     @Override
78     public String toString() {
79         return "VehicleWindowsState [leftFront=" + leftFront + ", leftRear=" + leftRear + ", rightFront=" + rightFront
80                 + ", rightRear=" + rightRear + ", rear=" + rear + ", combinedState=" + combinedState + "]";
81     }
82 }