]> git.basschouten.com Git - openhab-addons.git/blob
e29e87dd3122202626fce2ea6c59e8b5b20e5edb
[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.intrusion.dto;
14
15 /**
16  * DTO for the alarm state of the intrusion detection system.
17  * <p>
18  * Example data:
19  * 
20  * <pre>
21  * "alarmState": {
22  *   "value": "ALARM_OFF",
23  *   "incidents": [
24  *     {
25  *       "id": "string",
26  *       "triggerName": "string",
27  *       "type": "SYSTEM_ARMED",
28  *       "time": 0,
29  *       "location": "string",
30  *       "locationId": "string"
31  *     }
32  *   ],
33  *   "deleted": true,
34  *   "id": "string"
35  * }
36  * </pre>
37  * 
38  * <p>
39  * <b>Note:</b> Incidents are not supported yet as they do not seem to be included in the responses from the bridge.
40  * 
41  * @author David Pace - Initial contribution
42  *
43  */
44 public class AlarmStateData {
45
46     public AlarmState value;
47 }