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.nikohomecontrol.internal.protocol.nhc2;
15 import java.util.List;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
21 * {@link NhcMessage2} represents a Niko Home Control II message. It is used when sending messages to the Connected
22 * Controller or when parsing the message response json.
24 * @author Mark Herwege - Initial Contribution
28 static class NhcMessageParam {
30 List<NhcSystemInfo2> systemInfo;
32 List<NhcService2> services;
34 List<NhcDevice2> devices;
36 List<NhcNotification2> notifications;
38 List<NhcTimeInfo2> timeInfo;
44 String errMessage = "";
46 List<NhcMessageParam> params;