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.lcn.internal.pchkdiscovery;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
17 import com.thoughtworks.xstream.annotations.XStreamAlias;
20 * Used for deserializing the XML response of the LCN-PCHK discovery protocol.
22 * @author Fabian Wolter - Initial contribution
25 public class ServicesResponse {
26 @XStreamAlias("Version")
27 private final Version version;
28 @XStreamAlias("Server")
29 private final Server server;
30 @XStreamAlias("ExtServices")
31 private final ExtServices extServices;
32 @XStreamAlias("Services")
33 private final Object services = new Object();
35 public ServicesResponse(Version version, Server server, ExtServices extServices) {
36 this.version = version;
38 this.extServices = extServices;
41 public Server getServer() {
45 public Version getVersion() {
49 public ExtServices getExtServices() {