]> git.basschouten.com Git - openhab-addons.git/blob
e136c1abe2bfd3361fab1c8a3287696b10d4313d
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.amazonechocontrol.internal.jsons;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * @author Lukas Knoeller - Initial contribution
20  */
21 @NonNullByDefault
22 public class JsonSmartHomeCapabilities {
23
24     public static class SmartHomeCapability {
25         public @Nullable String capabilityType;
26         public @Nullable String type;
27         public @Nullable String version;
28         public @Nullable String interfaceName;
29         public @Nullable Properties properties;
30     }
31
32     public static class Properties {
33         public @Nullable Property @Nullable [] supported;
34     }
35
36     public static class Property {
37         public @Nullable String name;
38     }
39
40     public @Nullable SmartHomeCapability @Nullable [] capabilites;
41 }