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.lutron.internal.protocol.leap;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
17 import com.google.gson.annotations.SerializedName;
20 * LEAP CommandType enum
22 * @author Bob Adair - Initial contribution
25 public enum CommandType {
26 @SerializedName("GoToDimmedLevel")
27 GOTODIMMEDLEVEL("GoToDimmedLevel"),
28 @SerializedName("GoToFanSpeed")
29 GOTOFANSPEED("GoToFanSpeed"),
30 @SerializedName("GoToLevel")
31 GOTOLEVEL("GoToLevel"),
32 @SerializedName("PressAndHold")
33 PRESSANDHOLD("PressAndHold"),
34 @SerializedName("PressAndRelease")
35 PRESSANDRELEASE("PressAndRelease"),
36 @SerializedName("Release")
38 @SerializedName("ShadeLimitLower")
39 SHADELIMITLOWER("ShadeLimitLower"),
40 @SerializedName("ShadeLimitRaise")
41 SHADELIMITRAISE("ShadeLimitRaise"),
42 @SerializedName("Raise")
44 @SerializedName("Lower")
46 @SerializedName("Stop")
49 private final transient String string;
51 CommandType(String string) {
56 public String toString() {