]> git.basschouten.com Git - openhab-addons.git/blob
6f80bb0f4152a5f8928e42866ccf530b0185f0d9
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.wifiled.internal.configuration;
14
15 /**
16  * The {@link WiFiLEDConfig} class holds the configuration properties of the thing.
17  *
18  * @author Osman Basha - Initial contribution
19  * @author Stefan Endrullis - Initial contribution
20  */
21 public class WiFiLEDConfig {
22
23     private String ip;
24     private Integer port;
25     private Integer pollingPeriod;
26     private String protocol;
27     private String driver;
28     private Integer fadeDurationInMs;
29     private Integer fadeSteps;
30
31     public String getIp() {
32         return ip;
33     }
34
35     public void setIp(String ip) {
36         this.ip = ip;
37     }
38
39     public Integer getPort() {
40         return port;
41     }
42
43     public void setPort(Integer port) {
44         this.port = port;
45     }
46
47     public Integer getPollingPeriod() {
48         return pollingPeriod;
49     }
50
51     public void setPollingPeriod(Integer pollingPeriod) {
52         this.pollingPeriod = pollingPeriod;
53     }
54
55     public String getProtocol() {
56         return protocol;
57     }
58
59     public void setProtocol(String protocol) {
60         this.protocol = protocol;
61     }
62
63     public String getDriver() {
64         return driver;
65     }
66
67     public void setDriver(String driver) {
68         this.driver = driver;
69     }
70
71     public Integer getFadeDurationInMs() {
72         return fadeDurationInMs;
73     }
74
75     public void setFadeDurationInMs(Integer fadeDurationInMs) {
76         this.fadeDurationInMs = fadeDurationInMs;
77     }
78
79     public Integer getFadeSteps() {
80         return fadeSteps;
81     }
82
83     public void setFadeSteps(Integer fadeSteps) {
84         this.fadeSteps = fadeSteps;
85     }
86 }