]> git.basschouten.com Git - openhab-addons.git/blob
700be4d0bb0b33d372491145bd52ac2b922016a4
[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 import java.util.List;
16
17 /**
18  * The {@link BridgeApiInfoDto} class defines the Data Transfer Object (POJO) for the Nuki Bridge API /info endpoint.
19  *
20  * @author Markus Katter - Initial contribution
21  */
22 public class BridgeApiInfoDto {
23
24     private int bridgeType;
25     private BridgeApiInfoIdDto ids;
26     private BridgeApiInfoVersionDto versions;
27     private int uptime;
28     private String currentTime;
29     private boolean serverConnected;
30     private List<BridgeApiInfoScanResultDto> scanResults;
31
32     public int getBridgeType() {
33         return bridgeType;
34     }
35
36     public void setBridgeType(int bridgeType) {
37         this.bridgeType = bridgeType;
38     }
39
40     public BridgeApiInfoIdDto getIds() {
41         return ids;
42     }
43
44     public void setIds(BridgeApiInfoIdDto ids) {
45         this.ids = ids;
46     }
47
48     public BridgeApiInfoVersionDto getVersions() {
49         return versions;
50     }
51
52     public void setVersions(BridgeApiInfoVersionDto versions) {
53         this.versions = versions;
54     }
55
56     public int getUptime() {
57         return uptime;
58     }
59
60     public void setUptime(int uptime) {
61         this.uptime = uptime;
62     }
63
64     public String getCurrentTime() {
65         return currentTime;
66     }
67
68     public void setCurrentTime(String currentTime) {
69         this.currentTime = currentTime;
70     }
71
72     public boolean isServerConnected() {
73         return serverConnected;
74     }
75
76     public void setServerConnected(boolean serverConnected) {
77         this.serverConnected = serverConnected;
78     }
79
80     public List<BridgeApiInfoScanResultDto> getScanResults() {
81         return scanResults;
82     }
83
84     public void setScanResults(List<BridgeApiInfoScanResultDto> scanResults) {
85         this.scanResults = scanResults;
86     }
87 }