]> git.basschouten.com Git - openhab-addons.git/blob
278994b0b74b9d0472cb1c99203cb1c7497a4622
[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.nuki.internal.dto;
14
15 /**
16  * The {@link BridgeApiListDeviceDto} class defines the Data Transfer Object (POJO) for the Nuki Bridge API /list
17  * endpoint.
18  *
19  * @author Jan Vybíral - Initial contribution
20  */
21 public class BridgeApiListDeviceDto {
22
23     private String nukiId;
24     private String firmwareVersion;
25     private int deviceType;
26     private String name;
27     private BridgeApiListDeviceLastKnownState lastKnownState;
28
29     public String getNukiId() {
30         return nukiId;
31     }
32
33     public void setNukiId(String nukiId) {
34         this.nukiId = nukiId;
35     }
36
37     public int getDeviceType() {
38         return deviceType;
39     }
40
41     public void setDeviceType(int deviceType) {
42         this.deviceType = deviceType;
43     }
44
45     public String getName() {
46         return name;
47     }
48
49     public void setName(String name) {
50         this.name = name;
51     }
52
53     public BridgeApiListDeviceLastKnownState getLastKnownState() {
54         return lastKnownState;
55     }
56
57     public void setLastKnownState(BridgeApiListDeviceLastKnownState lastKnownState) {
58         this.lastKnownState = lastKnownState;
59     }
60
61     public String getFirmwareVersion() {
62         return firmwareVersion;
63     }
64
65     public void setFirmwareVersion(String firmwareVersion) {
66         this.firmwareVersion = firmwareVersion;
67     }
68 }