]> git.basschouten.com Git - openhab-addons.git/blob
247b0ea650192ffca7f2cb69114dc116c20a9a84
[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.boschshc.internal.services.latestmotion.dto;
14
15 import org.openhab.binding.boschshc.internal.services.dto.BoschSHCServiceState;
16
17 /**
18  * {
19  * "result": [
20  * {
21  * "path": "/devices/hdm:ZigBee:000d6f0004b95a62/services/LatestMotion",
22  * "@type": "DeviceServiceData",
23  * "id": "LatestMotion",
24  * "state": {
25  * "latestMotionDetected": "2020-04-03T19:02:19.054Z",
26  * "@type": "latestMotionState"
27  * },
28  * "deviceId": "hdm:ZigBee:000d6f0004b95a62"
29  * }
30  * ],
31  * "jsonrpc": "2.0"
32  * }
33  *
34  * @author Stefan Kästle - Initial contribution
35  */
36 public class LatestMotionServiceState extends BoschSHCServiceState {
37
38     public LatestMotionServiceState() {
39         super("latestMotionState");
40     }
41
42     public String latestMotionDetected;
43 }