]> git.basschouten.com Git - openhab-addons.git/blob
2aa2585021f5a5429b5917ea7e8a752ffba52d7f
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.deconz.internal.dto;
14
15 import java.util.Collections;
16 import java.util.Map;
17
18 import org.eclipse.jdt.annotation.NonNullByDefault;
19
20 /**
21  * http://dresden-elektronik.github.io/deconz-rest-doc/configuration/
22  * # Get full state
23  * GET /api/<apikey>
24  *
25  * @author David Graeff - Initial contribution
26  */
27 @NonNullByDefault
28 public class BridgeFullState {
29     public Config config = new Config();
30
31     public static class Config {
32         public String apiversion = ""; // "1.0.0"
33         public String ipaddress = ""; // "192.168.80.142",
34         public String name = ""; // "deCONZ-GW",
35         public String swversion = ""; // "20405"
36         public String fwversion = ""; // "0x262e0500"
37         public String uuid = ""; // "a65d80a1-975a-4598-8d5a-2547bc18d63b",
38         public int websocketport = 0; // 8088
39         public int zigbeechannel = 0;
40     }
41
42     public Map<String, SensorMessage> sensors = Collections.emptyMap();
43     public Map<String, LightMessage> lights = Collections.emptyMap();
44     public Map<String, GroupMessage> groups = Collections.emptyMap();
45 }