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.wifiled.internal.configuration;
16 * The {@link WiFiLEDConfig} class holds the configuration properties of the thing.
18 * @author Osman Basha - Initial contribution
19 * @author Stefan Endrullis - Initial contribution
21 public class WiFiLEDConfig {
25 private Integer pollingPeriod;
26 private String protocol;
27 private String driver;
28 private Integer fadeDurationInMs;
29 private Integer fadeSteps;
31 public String getIp() {
35 public void setIp(String ip) {
39 public Integer getPort() {
43 public void setPort(Integer port) {
47 public Integer getPollingPeriod() {
51 public void setPollingPeriod(Integer pollingPeriod) {
52 this.pollingPeriod = pollingPeriod;
55 public String getProtocol() {
59 public void setProtocol(String protocol) {
60 this.protocol = protocol;
63 public String getDriver() {
67 public void setDriver(String driver) {
71 public Integer getFadeDurationInMs() {
72 return fadeDurationInMs;
75 public void setFadeDurationInMs(Integer fadeDurationInMs) {
76 this.fadeDurationInMs = fadeDurationInMs;
79 public Integer getFadeSteps() {
83 public void setFadeSteps(Integer fadeSteps) {
84 this.fadeSteps = fadeSteps;