2 * Copyright (c) 2010-2022 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.goecharger.internal.api;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link GoEStatusResponse} class represents a json response from the
21 * @author Samuel Brucksch - Initial contribution
23 public class GoEStatusResponseDTO {
24 @SerializedName("version")
25 public String version;
27 @SerializedName("car")
28 public Integer pwmSignal;
30 @SerializedName("ast")
31 public Integer accessConfiguration;
33 @SerializedName("amp")
34 public Integer maxCurrent;
36 @SerializedName("nrg")
37 public Integer[] energy;
39 @SerializedName("err")
40 public Integer errorCode;
42 @SerializedName("alw")
43 public Integer allowCharging;
45 @SerializedName("cbl")
46 public Integer cableEncoding;
48 @SerializedName("pha")
49 public Integer phases;
51 @SerializedName("tmp")
52 public Integer temperature;
54 @SerializedName("dws")
55 public Long sessionChargeConsumption;
57 @SerializedName("dwo")
58 public Integer sessionChargeConsumptionLimit;
60 @SerializedName("eto")
61 public Long totalChargeConsumption;
63 @SerializedName("fwv")
64 public String firmware;