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.hyperion.internal.protocol;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link HyperionCommand} is an abstract class for sending commands
19 * to the Hyperion server.
21 * @author Daniel Walters - Initial contribution
23 public abstract class HyperionCommand {
25 @SerializedName("command")
26 private String command;
28 public HyperionCommand(String command) {
32 public String getCommand() {
36 public void setCommand(String command) {
37 this.command = command;