]> git.basschouten.com Git - openhab-addons.git/blob
6619cd4bca924468b7f2f4a56b28062fcd20358d
[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 BridgeApiInfoScanResultDto} class defines the Data Transfer Object (POJO) for the Nuki Bridge API /info
17  * endpoint.
18  * It is a nested JSON object of {@link BridgeApiInfoDto}.
19  *
20  * @author Markus Katter - Initial contribution
21  */
22 public class BridgeApiInfoScanResultDto {
23
24     private int nukiId;
25     private String name;
26     private int rssi;
27     private boolean paired;
28
29     public int getNukiId() {
30         return nukiId;
31     }
32
33     public void setNukiId(int nukiId) {
34         this.nukiId = nukiId;
35     }
36
37     public String getName() {
38         return name;
39     }
40
41     public void setName(String name) {
42         this.name = name;
43     }
44
45     public int getRssi() {
46         return rssi;
47     }
48
49     public void setRssi(int rssi) {
50         this.rssi = rssi;
51     }
52
53     public boolean isPaired() {
54         return paired;
55     }
56
57     public void setPaired(boolean paired) {
58         this.paired = paired;
59     }
60 }