2 * Copyright (c) 2010-2022 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.nuki.internal.dto;
16 * The {@link BridgeApiListDeviceDto} class defines the Data Transfer Object (POJO) for the Nuki Bridge API /list
19 * @author Jan Vybíral - Initial contribution
21 public class BridgeApiListDeviceDto {
23 private String nukiId;
24 private String firmwareVersion;
25 private int deviceType;
27 private BridgeApiListDeviceLastKnownState lastKnownState;
29 public String getNukiId() {
33 public void setNukiId(String nukiId) {
37 public int getDeviceType() {
41 public void setDeviceType(int deviceType) {
42 this.deviceType = deviceType;
45 public String getName() {
49 public void setName(String name) {
53 public BridgeApiListDeviceLastKnownState getLastKnownState() {
54 return lastKnownState;
57 public void setLastKnownState(BridgeApiListDeviceLastKnownState lastKnownState) {
58 this.lastKnownState = lastKnownState;
61 public String getFirmwareVersion() {
62 return firmwareVersion;
65 public void setFirmwareVersion(String firmwareVersion) {
66 this.firmwareVersion = firmwareVersion;