]> git.basschouten.com Git - openhab-addons.git/blob
a049f649718b5db74b474cb3fe0715dd86fe674f
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.boschshc.internal.devices.bridge.dto;
14
15 import java.util.List;
16
17 /**
18  * Public Information of the controller.
19  * <p>
20  *
21  * Currently, only the ipAddress is used for discovery. More fields can be added on demand.
22  * <p>
23  * Json example:
24  *
25  * <pre>
26  * {
27  * "apiVersions":["1.2","2.1"],
28  * ...
29  * "shcIpAddress":"192.168.1.2",
30  * ...
31  * }
32  * </pre>
33  *
34  * @author Gerd Zanker - Initial contribution
35  */
36 public class PublicInformation {
37     public PublicInformation() {
38         this.shcIpAddress = "";
39         this.shcGeneration = "";
40     }
41
42     public List<String> apiVersions;
43     public String shcIpAddress;
44     public String shcGeneration;
45 }