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.senechome.internal.json;
15 import java.io.Serializable;
16 import java.util.Arrays;
18 import com.google.gson.annotations.SerializedName;
21 * Senec wallbox specific data from "WALLBOX" section.
23 * @author Erwin Guib - Initial Contribution
25 public class SenecHomeWallbox implements Serializable {
27 private static final long serialVersionUID = -664163242812451235L;
30 * Encoded wallbox state.
32 public @SerializedName("STATE") String[] state;
35 * L1 Charging current per wallbox (A).
37 public @SerializedName("L1_CHARGING_CURRENT") String[] l1ChargingCurrent;
40 * L2 Charging current per wallbox (A).
42 public @SerializedName("L2_CHARGING_CURRENT") String[] l2ChargingCurrent;
45 * L3 Charging current per wallbox (A).
47 public @SerializedName("L3_CHARGING_CURRENT") String[] l3ChargingCurrent;
50 * Charging power per wallbox (W).
52 public @SerializedName("APPARENT_CHARGING_POWER") String[] chargingPower;
55 public String toString() {
56 return "SenecWallbox{" + "l1ChargingCurrent=" + Arrays.toString(l1ChargingCurrent) + ", l2ChargingCurrent="
57 + Arrays.toString(l2ChargingCurrent) + ", l3ChargingCurrent=" + Arrays.toString(l3ChargingCurrent)