]> git.basschouten.com Git - openhab-addons.git/blob
deb3ba6d2c6503c098566a927ddce72bcaef6a31
[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 CheckControlMessage {
22     private String type = ""; // TIRE_PRESSURE,
23     private String severity = ""; // LOW
24     private int id = -1; // 955,
25     private String description = ""; // Tire pressure notification: You can continue driving. Check tire pressure when
26                                      // the tires are cold and adjust if necessary. Perform reset after adjustment. See
27                                      // Owner's Manual for further information.
28     private String name = ""; // Tire pressure notification
29
30     public String getType() {
31         return type;
32     }
33
34     public void setType(String type) {
35         this.type = type;
36     }
37
38     public String getSeverity() {
39         return severity;
40     }
41
42     public void setSeverity(String severity) {
43         this.severity = severity;
44     }
45
46     public int getId() {
47         return id;
48     }
49
50     public void setId(int id) {
51         this.id = id;
52     }
53
54     public String getDescription() {
55         return description;
56     }
57
58     public void setDescription(String description) {
59         this.description = description;
60     }
61
62     public String getName() {
63         return name;
64     }
65
66     public void setName(String name) {
67         this.name = name;
68     }
69
70     @Override
71     public String toString() {
72         return "CheckControlMessage [type=" + type + ", severity=" + severity + ", id=" + id + ", description="
73                 + description + ", name=" + name + "]";
74     }
75 }