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.tplinksmarthome.internal.model;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * Data class for getting the tp-Link Smart Plug state.
19 * Only getter methods as the values are set by gson based on the retrieved json.
21 * @author Hilbrand Bouwkamp - Initial contribution
24 public class GetSysinfo {
26 public static class System {
27 private Sysinfo getSysinfo = new Sysinfo();
29 public Sysinfo getGetSysinfo() {
34 public String toString() {
35 return "get_sysinfo:{" + getSysinfo + "}";
39 private System system = new System();
41 public Sysinfo getSysinfo() {
42 return system.getGetSysinfo();
46 public String toString() {
47 return "GetSysinfo {system:{" + system + "}}";