]> git.basschouten.com Git - openhab-addons.git/blob
9b9876ea2f8866ba96151e9f961998802dabdabe
[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.juicenet.internal.api.dto;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * {@link JuiceNetApiCar } implements DTO for Car API call
21  *
22  * @author Jeff James - Initial contribution
23  */
24 @NonNullByDefault
25 public class JuiceNetApiCar {
26     @SerializedName("car_id")
27     public int carId;
28     public String description = "";
29     @SerializedName("battery_size_wh")
30     public int batterySizeWH;
31     @SerializedName("battery_range_m")
32     public int batteryRangeM;
33     @SerializedName("charging_rate_w")
34     public int chargingRateW;
35     @SerializedName("model_id")
36     public String modelId = "";
37 }