2 * Copyright (c) 2010-2021 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.nanoleaf.internal.model;
15 import java.util.ArrayList;
16 import java.util.List;
18 import org.eclipse.jdt.annotation.NonNullByDefault;
21 * Represents write command to set solid color effect
23 * @author Martin Raepple - Initial contribution
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;
36 public String getCommand() {
40 public void setCommand(String command) {
41 this.command = command;
44 public String getAnimType() {
48 public void setAnimType(String animType) {
49 this.animType = animType;
52 public List<Palette> getPalette() {
56 public void setPalette(List<Palette> palette) {
57 this.palette = palette;
60 public String getColorType() {
64 public void setColorType(String colorType) {
65 this.colorType = colorType;
68 public String getAnimData() {
72 public void setAnimData(String animData) {
73 this.animData = animData;
76 public boolean getLoop() {
80 public void setLoop(boolean loop) {
84 public String getAnimName() {
88 public void setAnimName(String animName) {
89 this.animName = animName;