]> git.basschouten.com Git - openhab-addons.git/blob
ea830b35fa3ba5e1c97c6a5274fa3d8216109cf4
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.ArrayList;
16
17 /**
18  * Response of the Controller for a Long Poll API call.
19  *
20  * @author Stefan Kästle - Initial contribution
21  */
22 public class LongPollResult {
23
24     /**
25      * {"result":[
26      * ..{
27      * ...."path":"/devices/hdm:HomeMaticIP:3014F711A0001916D859A8A9/services/PowerSwitch",
28      * ...."@type":"DeviceServiceData",
29      * ...."id":"PowerSwitch",
30      * ...."state":{
31      * ......"@type":"powerSwitchState",
32      * ......"switchState":"ON"
33      * ....},
34      * ...."deviceId":"hdm:HomeMaticIP:3014F711A0001916D859A8A9"}
35      * ],"jsonrpc":"2.0"}
36      */
37
38     public ArrayList<DeviceServiceData> result;
39     public String jsonrpc;
40 }