]> git.basschouten.com Git - openhab-addons.git/blob
89db70a872fb4e23d8d1b12474225061a02e1d32
[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 VehicleDoorsState {
22     private String combinedSecurityState = ""; // SECURED,
23     private String leftFront = ""; // CLOSED
24     private String leftRear = ""; // CLOSED
25     private String rightFront = ""; // CLOSED
26     private String rightRear = ""; // CLOSED
27     private String combinedState = ""; // CLOSED
28     private String hood = ""; // CLOSED
29     private String trunk = ""; // CLOSED
30
31     public String getCombinedSecurityState() {
32         return combinedSecurityState;
33     }
34
35     public void setCombinedSecurityState(String combinedSecurityState) {
36         this.combinedSecurityState = combinedSecurityState;
37     }
38
39     public String getLeftFront() {
40         return leftFront;
41     }
42
43     public void setLeftFront(String leftFront) {
44         this.leftFront = leftFront;
45     }
46
47     public String getLeftRear() {
48         return leftRear;
49     }
50
51     public void setLeftRear(String leftRear) {
52         this.leftRear = leftRear;
53     }
54
55     public String getRightFront() {
56         return rightFront;
57     }
58
59     public void setRightFront(String rightFront) {
60         this.rightFront = rightFront;
61     }
62
63     public String getRightRear() {
64         return rightRear;
65     }
66
67     public void setRightRear(String rightRear) {
68         this.rightRear = rightRear;
69     }
70
71     public String getCombinedState() {
72         return combinedState;
73     }
74
75     public void setCombinedState(String combinedState) {
76         this.combinedState = combinedState;
77     }
78
79     public String getHood() {
80         return hood;
81     }
82
83     public void setHood(String hood) {
84         this.hood = hood;
85     }
86
87     public String getTrunk() {
88         return trunk;
89     }
90
91     public void setTrunk(String trunk) {
92         this.trunk = trunk;
93     }
94
95     @Override
96     public String toString() {
97         return "VehicleDoorsState [combinedSecurityState=" + combinedSecurityState + ", leftFront=" + leftFront
98                 + ", leftRear=" + leftRear + ", rightFront=" + rightFront + ", rightRear=" + rightRear
99                 + ", combinedState=" + combinedState + ", hood=" + hood + ", trunk=" + trunk + "]";
100     }
101 }