2 * Copyright (c) 2010-2023 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;
15 import java.util.List;
18 * The {@link BridgeApiInfoDto} class defines the Data Transfer Object (POJO) for the Nuki Bridge API /info endpoint.
20 * @author Markus Katter - Initial contribution
22 public class BridgeApiInfoDto {
24 private int bridgeType;
25 private BridgeApiInfoIdDto ids;
26 private BridgeApiInfoVersionDto versions;
28 private String currentTime;
29 private boolean serverConnected;
30 private List<BridgeApiInfoScanResultDto> scanResults;
32 public int getBridgeType() {
36 public void setBridgeType(int bridgeType) {
37 this.bridgeType = bridgeType;
40 public BridgeApiInfoIdDto getIds() {
44 public void setIds(BridgeApiInfoIdDto ids) {
48 public BridgeApiInfoVersionDto getVersions() {
52 public void setVersions(BridgeApiInfoVersionDto versions) {
53 this.versions = versions;
56 public int getUptime() {
60 public void setUptime(int uptime) {
64 public String getCurrentTime() {
68 public void setCurrentTime(String currentTime) {
69 this.currentTime = currentTime;
72 public boolean isServerConnected() {
73 return serverConnected;
76 public void setServerConnected(boolean serverConnected) {
77 this.serverConnected = serverConnected;
80 public List<BridgeApiInfoScanResultDto> getScanResults() {
84 public void setScanResults(List<BridgeApiInfoScanResultDto> scanResults) {
85 this.scanResults = scanResults;