]> git.basschouten.com Git - openhab-addons.git/blob
9b68dc3dc653e971098b65f5cc4521ef0b8a32f4
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.nanoleaf.internal.model;
14
15 import java.util.List;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19
20 /**
21  * Represents effect commands for select and write
22  *
23  * @author Martin Raepple - Initial contribution
24  */
25 @NonNullByDefault
26 public class Effects {
27
28     private @Nullable String select;
29     private @Nullable List<String> effectsList = null;
30     private @Nullable Write write;
31
32     public @Nullable String getSelect() {
33         return select;
34     }
35
36     public void setSelect(@Nullable String select) {
37         this.select = select;
38     }
39
40     public @Nullable List<String> getEffectsList() {
41         return effectsList;
42     }
43
44     public void setEffectsList(@Nullable List<String> effectsList) {
45         this.effectsList = effectsList;
46     }
47
48     public @Nullable Write getWrite() {
49         return write;
50     }
51
52     public void setWrite(@Nullable Write write) {
53         this.write = write;
54     }
55 }