]> git.basschouten.com Git - openhab-addons.git/blob
0a60c25d3fa9fa47d341fcaeb198b5b7a06561df
[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 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
32
33     public String getDimension() {
34         return dimension;
35     }
36
37     public void setDimension(String dimension) {
38         this.dimension = dimension;
39     }
40
41     public String getTreadDesign() {
42         return treadDesign;
43     }
44
45     public void setTreadDesign(String treadDesign) {
46         this.treadDesign = treadDesign;
47     }
48
49     public String getManufacturer() {
50         return manufacturer;
51     }
52
53     public void setManufacturer(String manufacturer) {
54         this.manufacturer = manufacturer;
55     }
56
57     public int getManufacturingWeek() {
58         return manufacturingWeek;
59     }
60
61     public void setManufacturingWeek(int manufacturingWeek) {
62         this.manufacturingWeek = manufacturingWeek;
63     }
64
65     public boolean isOptimizedForOemBmw() {
66         return isOptimizedForOemBmw;
67     }
68
69     public void setOptimizedForOemBmw(boolean isOptimizedForOemBmw) {
70         this.isOptimizedForOemBmw = isOptimizedForOemBmw;
71     }
72
73     public String getPartNumber() {
74         return partNumber;
75     }
76
77     public void setPartNumber(String partNumber) {
78         this.partNumber = partNumber;
79     }
80
81     public VehicleTireStateDetailsClassification getSpeedClassification() {
82         return speedClassification;
83     }
84
85     public void setSpeedClassification(VehicleTireStateDetailsClassification speedClassification) {
86         this.speedClassification = speedClassification;
87     }
88
89     public String getMountingDate() {
90         return mountingDate;
91     }
92
93     public void setMountingDate(String mountingDate) {
94         this.mountingDate = mountingDate;
95     }
96
97     public int getSeason() {
98         return season;
99     }
100
101     public void setSeason(int season) {
102         this.season = season;
103     }
104
105     public boolean isIdentificationInProgress() {
106         return identificationInProgress;
107     }
108
109     public void setIdentificationInProgress(boolean identificationInProgress) {
110         this.identificationInProgress = identificationInProgress;
111     }
112
113     @Override
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 + "]";
120     }
121 }