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 VehicleTireStateDetails {
22 private String dimension = ""; // 225/45 R18 95V XL,
23 private String treadDesign = ""; // Winter Contact TS 860 S SSR,
24 private String manufacturer = ""; // Continental,
25 private int manufacturingWeek = -1; // 5299,
26 private boolean isOptimizedForOemBmw = false; // true,
27 private String partNumber = ""; // 2471558,
28 private VehicleTireStateDetailsClassification speedClassification; //
29 private String mountingDate = ""; // 2022-10-06T00:00:00.000Z,
30 private int season = -1; // 4,
31 private boolean identificationInProgress = false; // false
33 public String getDimension() {
37 public void setDimension(String dimension) {
38 this.dimension = dimension;
41 public String getTreadDesign() {
45 public void setTreadDesign(String treadDesign) {
46 this.treadDesign = treadDesign;
49 public String getManufacturer() {
53 public void setManufacturer(String manufacturer) {
54 this.manufacturer = manufacturer;
57 public int getManufacturingWeek() {
58 return manufacturingWeek;
61 public void setManufacturingWeek(int manufacturingWeek) {
62 this.manufacturingWeek = manufacturingWeek;
65 public boolean isOptimizedForOemBmw() {
66 return isOptimizedForOemBmw;
69 public void setOptimizedForOemBmw(boolean isOptimizedForOemBmw) {
70 this.isOptimizedForOemBmw = isOptimizedForOemBmw;
73 public String getPartNumber() {
77 public void setPartNumber(String partNumber) {
78 this.partNumber = partNumber;
81 public VehicleTireStateDetailsClassification getSpeedClassification() {
82 return speedClassification;
85 public void setSpeedClassification(VehicleTireStateDetailsClassification speedClassification) {
86 this.speedClassification = speedClassification;
89 public String getMountingDate() {
93 public void setMountingDate(String mountingDate) {
94 this.mountingDate = mountingDate;
97 public int getSeason() {
101 public void setSeason(int season) {
102 this.season = season;
105 public boolean isIdentificationInProgress() {
106 return identificationInProgress;
109 public void setIdentificationInProgress(boolean identificationInProgress) {
110 this.identificationInProgress = identificationInProgress;
114 public String toString() {
115 return "VehicleTireStateDetails [dimension=" + dimension + ", treadDesign=" + treadDesign + ", manufacturer="
116 + manufacturer + ", manufacturingWeek=" + manufacturingWeek + ", isOptimizedForOemBmw="
117 + isOptimizedForOemBmw + ", partNumber=" + partNumber + ", speedClassification=" + speedClassification
118 + ", mountingDate=" + mountingDate + ", season=" + season + ", identificationInProgress="
119 + identificationInProgress + "]";