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 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
30 public String getType() {
34 public void setType(String type) {
38 public String getSeverity() {
42 public void setSeverity(String severity) {
43 this.severity = severity;
50 public void setId(int id) {
54 public String getDescription() {
58 public void setDescription(String description) {
59 this.description = description;
62 public String getName() {
66 public void setName(String name) {
71 public String toString() {
72 return "CheckControlMessage [type=" + type + ", severity=" + severity + ", id=" + id + ", description="
73 + description + ", name=" + name + "]";