2 * Copyright (c) 2010-2024 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.denonmarantz.internal.xml.entities.commands;
15 import java.util.ArrayList;
16 import java.util.List;
18 import javax.xml.bind.annotation.XmlAccessType;
19 import javax.xml.bind.annotation.XmlAccessorType;
20 import javax.xml.bind.annotation.XmlElement;
21 import javax.xml.bind.annotation.XmlRootElement;
24 * Response to an {@link AppCommandRequest}, wraps a list of {@link CommandRx}
26 * @author Jeroen Idserda - Initial contribution
28 @XmlRootElement(name = "rx")
29 @XmlAccessorType(XmlAccessType.FIELD)
30 public class AppCommandResponse {
32 @XmlElement(name = "cmd")
33 private List<CommandRx> commands = new ArrayList<>();
35 public AppCommandResponse() {
38 public List<CommandRx> getCommands() {
42 public void setCommands(List<CommandRx> commands) {
43 this.commands = commands;