2 * Copyright (c) 2010-2024 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 GoEStatusResponseV2DTO} class represents a json response from the
21 * @author Reinhard Plaim - Initial contribution
23 public class GoEStatusResponseV2DTO extends GoEStatusResponseBaseDTO {
24 @SerializedName("mod")
25 public String version;
27 @SerializedName("psm")
28 public Integer phases;
30 @SerializedName("trx")
31 public Integer transaction;
33 @SerializedName("alw")
34 public Boolean allowCharging;
36 @SerializedName("tma")
37 public Double[] temperatures;
40 public Double sessionChargeConsumption;
42 @SerializedName("dwo")
43 public Double sessionChargeConsumptionLimit;
45 @SerializedName("frc")
46 public Integer forceState;
48 @SerializedName("nrg")
49 public Double[] energy;