]> git.basschouten.com Git - openhab-addons.git/blob
56b0d100940d74507240efaa037ee3987b48c956
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.ArrayList;
16 import java.util.List;
17
18 import org.eclipse.jdt.annotation.NonNullByDefault;
19
20 /**
21  * Represents write command to set solid color effect
22  *
23  * @author Martin Raepple - Initial contribution
24  */
25 @NonNullByDefault
26 public class Write {
27
28     private String command = "";
29     private String animType = "";
30     private String animName = "";
31     private List<Palette> palette = new ArrayList<>();
32     private String colorType = "";
33     private String animData = "";
34     private boolean loop = false;
35
36     public String getCommand() {
37         return command;
38     }
39
40     public void setCommand(String command) {
41         this.command = command;
42     }
43
44     public String getAnimType() {
45         return animType;
46     }
47
48     public void setAnimType(String animType) {
49         this.animType = animType;
50     }
51
52     public List<Palette> getPalette() {
53         return palette;
54     }
55
56     public void setPalette(List<Palette> palette) {
57         this.palette = palette;
58     }
59
60     public String getColorType() {
61         return colorType;
62     }
63
64     public void setColorType(String colorType) {
65         this.colorType = colorType;
66     }
67
68     public String getAnimData() {
69         return animData;
70     }
71
72     public void setAnimData(String animData) {
73         this.animData = animData;
74     }
75
76     public boolean getLoop() {
77         return loop;
78     }
79
80     public void setLoop(boolean loop) {
81         this.loop = loop;
82     }
83
84     public String getAnimName() {
85         return animName;
86     }
87
88     public void setAnimName(String animName) {
89         this.animName = animName;
90     }
91 }