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