]> git.basschouten.com Git - openhab-addons.git/blob
227d6c6a0a3b26e58362baf3ddca0a2f3525e205
[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.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  * @author Reinhard Plaim - move some properties to base DTO
23  */
24 public class GoEStatusResponseDTO extends GoEStatusResponseBaseDTO {
25     @SerializedName("version")
26     public String version;
27
28     @SerializedName("pha")
29     public Integer phases;
30
31     @SerializedName("ast")
32     public Integer accessConfiguration;
33
34     @SerializedName("alw")
35     public Integer allowCharging;
36
37     @SerializedName("tmp")
38     public Integer temperature;
39
40     @SerializedName("dwo")
41     public Integer sessionChargeConsumptionLimit;
42
43     @SerializedName("dws")
44     public Long sessionChargeConsumption;
45
46     @SerializedName("amx")
47     public Integer maxCurrentTemporary;
48
49     @SerializedName("nrg")
50     public Integer[] energy;
51 }