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.freebox.internal.api.model;
16 * The {@link FreeboxXdslStatus} is the Java class used to map the "XdslStatus"
17 * structure used by the response of the connection xDSL status API
18 * https://dev.freebox.fr/sdk/os/connection/#
20 * @author Laurent Garnier - Initial contribution
22 public class FreeboxXdslStatus {
23 public static class InternalXdslStatus {
24 private String status;
25 private String protocol;
26 private String modulation;
30 private InternalXdslStatus status;
32 public String getStatus() {
36 public String getProtocol() {
37 return status.protocol;
40 public String getModulation() {
41 return status.modulation;
44 public long getUptime() {