]> git.basschouten.com Git - openhab-addons.git/blob
ee2f974c76cdc3c7a627edf9283cf8948f50a4fd
[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.nest.internal.sdm.dto;
14
15 import java.util.List;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19
20 /**
21  * An instance of enterprise managed device in the property.
22  *
23  * @author Wouter Born - Initial contribution
24  */
25 @NonNullByDefault
26 public class SDMDevice {
27     /**
28      * The resource name of the device.
29      */
30     public SDMResourceName name = SDMResourceName.NAMELESS;
31
32     /**
33      * Type of the device for general display purposes.
34      */
35     public @Nullable SDMDeviceType type;
36
37     /**
38      * Device traits.
39      */
40     public SDMTraits traits = new SDMTraits();
41
42     /**
43      * Assignee details of the device.
44      */
45     public List<SDMParentRelation> parentRelations = List.of();
46 }