]> git.basschouten.com Git - openhab-addons.git/blob
944b2428f03159bc4268e38221b5076ca840257d
[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 javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17
18 /**
19  * Class used to deserialize XML from Telldus Live.
20  *
21  * @author Jarle Hjortland - Initial contribution
22  */
23 @XmlRootElement(name = "device")
24 public class TelldusLiveResponse {
25     @XmlElement
26     public String status;
27     @XmlElement
28     public String error;
29
30     @Override
31     public String toString() {
32         return "TelldusLiveResponse [status=" + status + ", error=" + error + "]";
33     }
34 }