]> git.basschouten.com Git - openhab-addons.git/blob
ead586cb19dd737d167f3ea244c77488b227a6ba
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.qbus.internal.protocol;
14
15 import java.util.ArrayList;
16 import java.util.List;
17 import java.util.Map;
18
19 import org.eclipse.jdt.annotation.NonNullByDefault;
20
21 /**
22  * Class {@link QbusMessageListMap} used as output from gson for cmd or event feedback from Qbus where the
23  * data part is enclosed by [] and contains a list of json strings. Extends {@link QbusMessageBase}.
24  * <p>
25  *
26  * @author Koen Schockaert - Initial Contribution
27  */
28
29 @NonNullByDefault
30 class QbusMessageListMap extends QbusMessageBase {
31
32     private List<Map<String, String>> outputs = new ArrayList<>();
33
34     List<Map<String, String>> getOutputs() {
35         return this.outputs;
36     }
37
38     void setOutputs(List<Map<String, String>> outputs) {
39         this.outputs = outputs;
40     }
41 }