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.haassohnpelletstove.internal;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link HaasSohnpelletstoveJsonDataDTO} is the Java class used to map the JSON
19 * response to an Oven request.
21 * @author Christian Feininger - Initial contribution
23 public class HaasSohnpelletstoveJsonDataDTO {
24 metadata meta = new metadata();
28 @SerializedName("sp_temp")
30 @SerializedName("is_temp")
32 @SerializedName("ht_char")
34 @SerializedName("weekprogram")
35 private wprogram[] weekprogram;
36 @SerializedName("error")
38 @SerializedName("eco_mode")
41 String ignitions = "";
42 @SerializedName("on_time")
44 String consumption = "";
45 @SerializedName("maintenance_in")
46 String maintenanceIn = "";
47 @SerializedName("cleaning_in")
48 String cleaningIn = "";
55 public String getNonce() {
56 return this.meta.getNonce();
60 * Returns the is Temperature of the Oven
64 public String getisTemp() {
68 public boolean getEcoMode() {
72 public String getIgnitions() {
76 public String getOnTime() {
80 public String getConsumption() {
84 public String getMaintenanceIn() {
88 public String getCleaningIn() {
95 * @return JSON response as object
97 public HaasSohnpelletstoveJsonDataDTO getResponse() {
101 public class metadata {
102 @SerializedName("sw_version")
103 String swVersion = "";
104 @SerializedName("hw_version")
105 String hwVersion = "";
106 @SerializedName("bootl_version")
107 String bootlVersion = "";
108 @SerializedName("wifi_sw_version")
109 String wifiSWVersion = "";
110 @SerializedName("wifi_bootl_version")
111 String wifiBootlVersion = "";
114 String language = "";
116 @SerializedName("eco_editable")
117 String ecoEditable = "";
121 @SerializedName("wlan_features")
122 private String[] wlan_features;
124 public String getNonce() {
134 public class wprogram {
141 public String getMode() {
145 public String getspTemp() {
149 public boolean getPrg() {