]> git.basschouten.com Git - openhab-addons.git/blob
7538c6288dec2eb8453c6e02e6726630598c4e4e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.tellstick.internal.live.xml;
14
15 import java.util.List;
16
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
19
20 /**
21  * Class used to deserialize XML from Telldus Live.
22  *
23  * @author Jarle Hjortland - Initial contribution
24  */
25 @XmlRootElement(name = "sensors")
26 public class TellstickNetSensors {
27
28     List<TellstickNetSensor> sensors;
29
30     @XmlElement(name = "sensor")
31     public List<TellstickNetSensor> getSensors() {
32         return sensors;
33     }
34
35     public void setSensors(List<TellstickNetSensor> devices) {
36         this.sensors = devices;
37     }
38 }