]> git.basschouten.com Git - openhab-addons.git/blob
57195bdfaed404a65f90e6263cfaca4ae5dae46a
[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.tesla.internal.protocol;
14
15 /**
16  * The {@link VehicleData} is a data structure to capture
17  * variables sent by the Tesla API about a vehicle.
18  *
19  * @author Kai Kreuzer - Initial contribution
20  */
21 public class VehicleData {
22
23     public String color;
24     public String display_name;
25     public String id;
26     public String option_codes;
27     public String vehicle_id;
28     public String vin;
29     public String[] tokens;
30     public String state;
31     public boolean remote_start_enabled;
32     public boolean calendar_enabled;
33     public boolean notifications_enabled;
34     public String backseat_token;
35     public String backseat_token_updated_at;
36
37     public ChargeState charge_state;
38     public ClimateState climate_state;
39     public DriveState drive_state;
40     public GUIState gui_settings;
41     public VehicleConfig vehicle_config;
42     public VehicleState vehicle_state;
43
44     VehicleData() {
45     }
46 }