]> git.basschouten.com Git - openhab-addons.git/blob
2bc64b692945742af33f4e625189edb3889e3b53
[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.plugwiseha.internal.api.model.dto;
14
15 import com.thoughtworks.xstream.annotations.XStreamAlias;
16
17 /**
18  * The {@link ZigBeeNode} class is an object model class that
19  * mirrors the XML structure provided by the Plugwise Home Automation
20  * controller for a Plugwise ZigBeeNode.
21  * It extends the abstract class {@link PlugwiseBaseModel}.
22  * 
23  * @author B. van Wetten - Initial contribution
24  */
25 @XStreamAlias("ZigBeeNode")
26 public class ZigBeeNode extends PlugwiseBaseModel {
27
28     private String type;
29     private String reachable;
30
31     @XStreamAlias("power_source")
32     private String powerSource;
33
34     @XStreamAlias("mac_address")
35     private String macAddress;
36
37     public String getType() {
38         return type;
39     }
40
41     public String getReachable() {
42         return reachable;
43     }
44
45     public String getPowerSource() {
46         return powerSource;
47     }
48
49     public String getMacAddress() {
50         return macAddress;
51     }
52 }