]> git.basschouten.com Git - openhab-addons.git/blob
d6070f783085b355ec045ff67ad8137972f7a340
[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.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 = "devices")
26 public class TellstickNetDevices {
27
28     List<TellstickNetDevice> devices;
29
30     @XmlElement(name = "device")
31     public List<TellstickNetDevice> getDevices() {
32         return devices;
33     }
34
35     public void setDevices(List<TellstickNetDevice> devices) {
36         this.devices = devices;
37     }
38 }