]> git.basschouten.com Git - openhab-addons.git/blob
996eff9e1a078de521c9fc3fdf954298a26c455e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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 GoEStatusResponseV2DTO} class represents a json response from the
19  * charger.
20  *
21  * @author Reinhard Plaim - Initial contribution
22  */
23 public class GoEStatusResponseV2DTO extends GoEStatusResponseBaseDTO {
24     @SerializedName("mod")
25     public String version;
26
27     @SerializedName("psm")
28     public Integer phases;
29
30     @SerializedName("trx")
31     public Integer transaction;
32
33     @SerializedName("alw")
34     public Boolean allowCharging;
35
36     @SerializedName("tma")
37     public Double[] temperatures;
38
39     @SerializedName("wh")
40     public Double sessionChargeConsumption;
41
42     @SerializedName("dwo")
43     public Double sessionChargeConsumptionLimit;
44
45     @SerializedName("frc")
46     public Integer forceState;
47
48     @SerializedName("nrg")
49     public Double[] energy;
50 }