]> git.basschouten.com Git - openhab-addons.git/blob
80f1cf180d1886a745155cbe3e5d4692d0f11333
[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.freebox.internal.api.model;
14
15 /**
16  * The {@link FreeboxDiscoveryResponse} is the Java class used to map the
17  * structure used by the response of the request authorization API
18  * https://dev.freebox.fr/sdk/os/#
19  *
20  * @author Laurent Garnier - Initial contribution
21  */
22 public class FreeboxDiscoveryResponse {
23     private String uid;
24     private String deviceName;
25     private String apiVersion;
26     private String apiBaseUrl;
27     private String deviceType;
28     private String apiDomain;
29     private Boolean httpsAvailable;
30     private Integer httpsPort;
31
32     public String getUid() {
33         return uid;
34     }
35
36     public String getDeviceName() {
37         return deviceName;
38     }
39
40     public String getApiVersion() {
41         return apiVersion;
42     }
43
44     public String getApiBaseUrl() {
45         return apiBaseUrl;
46     }
47
48     public String getDeviceType() {
49         return deviceType;
50     }
51
52     public String getApiDomain() {
53         return apiDomain;
54     }
55
56     public Boolean isHttpsAvailable() {
57         return httpsAvailable;
58     }
59
60     public Integer getHttpsPort() {
61         return httpsPort;
62     }
63 }