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.freebox.internal.api.model;
16 * The {@link FreeboxFtthStatus} is the Java class used to map the "FtthStatus"
17 * structure used by the response of the connection Ftth status API
18 * https://dev.freebox.fr/sdk/os/connection/#
20 * @author Gaƫl L'hopital - Initial contribution
22 public class FreeboxFtthStatus {
23 private boolean sfp_present;
24 private boolean sfp_alim_ok;
25 private boolean sfp_has_power_report;
26 private boolean sfp_has_signal;
28 private String sfp_serial;
29 private String sfp_model;
30 private String sfp_vendor;
31 private long sfp_pwr_tx;
32 private long sfp_pwr_rx;
34 public boolean getSfpPresent() {
38 public boolean getSfpAlimOk() {
42 public boolean getSfpHasPowerReport() {
43 return sfp_has_power_report;
46 public boolean getSfpHasSignal() {
47 return sfp_has_signal;
50 public boolean getLink() {
54 public String getSfpSerial() {
58 public String getSfpModel() {
62 public String getSfpVendor() {
66 public long getSfpPwrTx() {
70 public long getSfpPwrRx() {