2 * Copyright (c) 2010-2022 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.tellstick.internal.live.xml;
15 import java.util.List;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
21 * Class used to deserialize XML from Telldus Live.
23 * @author Jarle Hjortland - Initial contribution
25 @XmlRootElement(name = "sensors")
26 public class TellstickNetSensors {
28 List<TellstickNetSensor> sensors;
30 @XmlElement(name = "sensor")
31 public List<TellstickNetSensor> getSensors() {
35 public void setSensors(List<TellstickNetSensor> devices) {
36 this.sensors = devices;