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.ambientweather.internal.model;
16 * The {@link DeviceJson} is the JSON object returned
17 * by the Ambient Weather '/v1/devices' command.
18 * Note that there is nothing in the JSON that defines the type (e.g.
19 * WS-1400-IP, WS-8482, etc.) of weather station.
21 * @author Mark Hilbush - Initial Contribution
23 public class DeviceJson {
25 * The weather station's MAC address
27 public String macAddress;
30 * API key to which this device is associated
35 * User-supplied information about the station, such as name and location
37 public StationInfoJson info;
40 * Placeholder for weather data, which varies by station.
42 public Object lastData;