]> git.basschouten.com Git - openhab-addons.git/blob
08cb88b11af9cd20c5c3ce99cf7f0ca207e7e86e
[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 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("alw")
31     public Boolean allowCharging;
32
33     @SerializedName("tma")
34     public Double[] temperatures;
35
36     @SerializedName("wh")
37     public Double sessionChargeConsumption;
38
39     @SerializedName("dwo")
40     public Double sessionChargeConsumptionLimit;
41
42     @SerializedName("frc")
43     public Integer forceState;
44
45     @SerializedName("nrg")
46     public Double[] energy;
47 }