]> git.basschouten.com Git - openhab-addons.git/blob
9094f67f5c8dbbf7c5a652a834589edca33fef1a
[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.mynice.internal.xml.dto;
14
15 import com.thoughtworks.xstream.annotations.XStreamAlias;
16 import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
17
18 /**
19  *
20  * @author GaĆ«l L'hopital - Initial contribution
21  */
22 public class Device {
23     public enum DeviceType {
24         SECTIONAL,
25         UP_AND_OVER,
26         SLIDING,
27         BARRIER,
28         SWING
29     }
30
31     @XStreamAsAttribute
32     public String id;
33
34     @XStreamAlias("Type")
35     public DeviceType type;
36
37     @XStreamAlias("Manuf")
38     public String manuf;
39
40     @XStreamAlias("Prod")
41     public String prod;
42
43     @XStreamAlias("Desc")
44     public String desc;
45
46     @XStreamAlias("VersionHW")
47     public String versionHW;
48
49     @XStreamAlias("VersionFW")
50     public String versionFW;
51
52     @XStreamAlias("SerialNr")
53     public String serialNr;
54
55     @XStreamAlias("Properties")
56     public Properties properties;
57 }