]> git.basschouten.com Git - openhab-addons.git/blob
7345bb8e58d71cf52bdd155cabb6f344dd2cc3b7
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.fronius.internal.api;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link PowerFlowRealtimeBody} is responsible for storing
19  * the "body" node of the JSON response
20  *
21  * @author Thomas Rokohl - Initial contribution
22  */
23 public class PowerFlowRealtimeBody {
24     @SerializedName("Data")
25     private PowerFlowRealtimeBodyData data;
26
27     public PowerFlowRealtimeBodyData getData() {
28         if (data == null) {
29             data = new PowerFlowRealtimeBodyData();
30         }
31         return data;
32     }
33
34     public void setData(PowerFlowRealtimeBodyData data) {
35         this.data = data;
36     }
37 }