2 * Copyright (c) 2010-2023 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.solaredge.internal.model;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * this class is used to map the live data json response
21 * @author Alexander Friese - initial contribution
24 public class LiveDataResponseMeterless {
25 public static class Power {
26 public @Nullable Double power;
29 public static class Energy {
30 public @Nullable Double energy;
33 public static class Overview {
34 public @Nullable Power currentPower;
35 public @Nullable Energy lastDayData;
36 public @Nullable Energy lastMonthData;
37 public @Nullable Energy lastYearData;
41 private Overview overview;
43 public final @Nullable Overview getOverview() {
47 public final void setOverview(Overview overview) {
48 this.overview = overview;