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.unifi.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.unifi.internal.handler.UniFiWlanThingHandler;
19 * The {@link UniFiWlanThingConfig} encapsulates all the configuration options for an instance of the
20 * {@link UniFiWlanThingHandler}.
22 * @author Hilbrand Bouwkamp - Initial contribution
25 @SuppressWarnings("unused")
26 public class UniFiWlanThingConfig {
28 private String wid = "";
30 public String getWlanId() {
34 private void setWlanId(final String wid) {
35 // method to avoid auto format mark the field as final
39 public boolean isValid() {
40 return !wid.isBlank();
44 public String toString() {
45 return String.format("UniFiWlanThingConfig{wid: '%s'}", wid);