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 CommuniqueType enum
22 * @author Bob Adair - Initial contribution
25 public enum CommuniqueType {
27 @SerializedName("CreateRequest")
28 CREATEREQUEST("CreateRequest"),
29 @SerializedName("ReadRequest")
30 READREQUEST("ReadRequest"),
31 @SerializedName("UpdateRequest")
32 UPDATEREQUEST("UpdateRequest"),
33 @SerializedName("DeleteRequest")
34 DELETEREQUEST("DeleteRequest"), // ?
35 @SerializedName("SubscribeRequest")
36 SUBSCRIBEREQUEST("SubscribeRequest"),
37 @SerializedName("UnubscribeRequest")
38 UNSUBSCRIBEREQUEST("UnubscribeRequest"),
39 @SerializedName("Execute")
40 EXECUTEREQUEST("Execute"),
43 @SerializedName("CreateResponse")
44 CREATERESPONSE("CreateResponse"),
45 @SerializedName("ReadResponse")
46 READRESPONSE("ReadResponse"),
47 @SerializedName("UpdateResponse")
48 UPDATERESPONSE("UpdateResponse"),
49 @SerializedName("DeleteResponse")
50 DELETERESPONSE("DeleteResponse"), // ?
51 @SerializedName("SubscribeResponse")
52 SUBSCRIBERESPONSE("SubscribeResponse"),
53 @SerializedName("UnsubscribeResponse")
54 UNSUBSCRIBERESPONSE("UnsubscribeResponse"),
55 @SerializedName("ExecuteResponse")
56 EXECUTERESPONSE("ExecuteResponse"), // ?
57 @SerializedName("ExceptionResponse")
58 EXCEPTIONRESPONSE("ExceptionResponse");
60 private final transient String string;
62 CommuniqueType(String string) {
67 public String toString() {