]> git.basschouten.com Git - openhab-addons.git/blob
75df0c7541de00866cee141481f9726e85ea4432
[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 VehicleTireStateDetailsClassification {
22     private int speedRating = -1; // 240,
23     private boolean atLeast = false; // false
24
25     public int getSpeedRating() {
26         return speedRating;
27     }
28
29     public void setSpeedRating(int speedRating) {
30         this.speedRating = speedRating;
31     }
32
33     public boolean isAtLeast() {
34         return atLeast;
35     }
36
37     public void setAtLeast(boolean atLeast) {
38         this.atLeast = atLeast;
39     }
40
41     @Override
42     public String toString() {
43         return "VehicleTireStateDetailsClassification [speedRating=" + speedRating + ", atLeast=" + atLeast + "]";
44     }
45 }