]> git.basschouten.com Git - openhab-addons.git/blob
2ae670f362107d105866aae6788daf1f4cf3937e
[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.ambientweather.internal.model;
14
15 /**
16  * The {@link EventDataGenericJson} is the JSOn object
17  * returned by the Ambient Weather real-time API.
18  * The contents of the object varies by weather station, and
19  * all we care about here is getting the MAC address. The MAC
20  * address is used to decide which Station Thing Handler
21  * instance gets the weather data object.
22  *
23  * @author Mark Hilbush - Initial Contribution
24  */
25 public class EventDataGenericJson {
26     /*
27      * The weather station's MAC address
28      */
29     public String macAddress;
30
31     /*
32      * Placeholder for the rest of the JSON object.
33      */
34     public Object data;
35 }