]> git.basschouten.com Git - openhab-addons.git/blob
7688582f0941c9111274ec92445286f0ed9bc94a
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.goecharger.internal.api;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link GoEStatusResponse} class represents a json response from the
19  * charger.
20  *
21  * @author Samuel Brucksch - Initial contribution
22  */
23 public class GoEStatusResponseDTO {
24     @SerializedName("version")
25     public String version;
26
27     @SerializedName("car")
28     public Integer pwmSignal;
29
30     @SerializedName("ast")
31     public Integer accessConfiguration;
32
33     @SerializedName("amp")
34     public Integer maxCurrent;
35
36     @SerializedName("nrg")
37     public Integer[] energy;
38
39     @SerializedName("err")
40     public Integer errorCode;
41
42     @SerializedName("alw")
43     public Integer allowCharging;
44
45     @SerializedName("cbl")
46     public Integer cableEncoding;
47
48     @SerializedName("pha")
49     public Integer phases;
50
51     @SerializedName("tmp")
52     public Integer temperature;
53
54     @SerializedName("dws")
55     public Long sessionChargeConsumption;
56
57     @SerializedName("dwo")
58     public Integer sessionChargeConsumptionLimit;
59
60     @SerializedName("eto")
61     public Long totalChargeConsumption;
62
63     @SerializedName("fwv")
64     public String firmware;
65 }