diff --git a/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/AfpManager.java b/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/AfpManager.java index a0a37aaef8029..4fbb9052aef9f 100644 --- a/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/AfpManager.java +++ b/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/AfpManager.java @@ -31,22 +31,8 @@ public class AfpManager extends ConfigurableRest { } - protected static record Afp(boolean enabled, boolean guestAllow, ServerType serverType, @Nullable String loginName, + protected static record Afp(boolean enabled, boolean guestAllow, String serverType, @Nullable String loginName, @Nullable String loginPassword) { - private enum ServerType { - POWERBOOK, - POWERMAC, - MACMINI, - IMAC, - MACBOOK, - MACBOOKPRO, - MACBOOKAIR, - MACPRO, - APPLETV, - AIRPORT, - XSERVE, - UNKNOWN - } } public AfpManager(FreeboxOsSession session, UriBuilder uriBuilder) throws FreeboxException {