]> git.basschouten.com Git - openhab-addons.git/blob
72b111f4336d8172e26ec637267e48210e72e3de
[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 DigitalKey {
22     private String bookedServicePackage = ""; // NONE,
23     private String readerGraphics = "";
24     private String state = ""; // NOT_AVAILABLE
25
26     public String getBookedServicePackage() {
27         return bookedServicePackage;
28     }
29
30     public void setBookedServicePackage(String bookedServicePackage) {
31         this.bookedServicePackage = bookedServicePackage;
32     }
33
34     public String getState() {
35         return state;
36     }
37
38     public void setState(String state) {
39         this.state = state;
40     }
41
42     public String getReaderGraphics() {
43         return readerGraphics;
44     }
45
46     public void setReaderGraphics(String readerGraphics) {
47         this.readerGraphics = readerGraphics;
48     }
49
50     @Override
51     public String toString() {
52         return "DigitalKey [bookedServicePackage=" + bookedServicePackage + ", readerGraphics=" + readerGraphics
53                 + ", state=" + state + "]";
54     }
55 }