diff --git a/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/PhoneManager.java b/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/PhoneManager.java index 73bac2d0bcaa4..067c531e83404 100644 --- a/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/PhoneManager.java +++ b/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/PhoneManager.java @@ -20,6 +20,8 @@ import org.openhab.binding.freeboxos.internal.api.FreeboxException; import org.openhab.binding.freeboxos.internal.api.Response; +import com.google.gson.annotations.SerializedName; + /** * The {@link PhoneManager} is the Java class used to handle api requests related to phone and calls * @@ -38,6 +40,7 @@ protected class StatusResponse extends Response { } private enum NetworkStatus { + @SerializedName("working") WORKING, UNKNOWN } @@ -47,7 +50,9 @@ public static record Config(NetworkStatus network, boolean dectEcoMode, String d } public enum Type { + @SerializedName("fxs") FXS, + @SerializedName("dect") DECT, UNKNOWN }