]> git.basschouten.com Git - openhab-addons.git/blob
a5c7c6d0b6150557c5f9f0dc43a62955bfc9cbc1
[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.devices.bridge.dto;
14
15 import java.util.List;
16
17 /**
18  * A container object for faults that can be contained in {@link DeviceServiceData}.
19  * <p>
20  * Example JSON:
21  *
22  * <pre>
23  * "faults": {
24  *   "entries": [
25  *     {
26  *       "type":"LOW_BATTERY",
27  *       "category":"WARNING"
28  *     }
29  *   ]
30    }
31  * </pre>
32  *
33  * @author David Pace - Initial contribution
34  *
35  */
36 public class Faults {
37
38     public List<Fault> entries;
39 }