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.wlanthermo.internal.api.esp32.dto.data;
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
19 * This DTO is used to parse the JSON
20 * Class is auto-generated from JSON using http://www.jsonschema2pojo.org/
22 * @author Christian Schlipp - Initial contribution
29 @SerializedName("channel")
31 private Integer channel;
32 @SerializedName("pid")
35 @SerializedName("value")
37 private Integer value;
38 @SerializedName("set")
41 @SerializedName("typ")
44 @SerializedName("set_color")
46 private String setColor;
47 @SerializedName("value_color")
49 private String valueColor;
51 public Integer getId() {
55 public void setId(Integer id) {
59 public Integer getChannel() {
63 public void setChannel(Integer channel) {
64 this.channel = channel;
67 public Integer getPid() {
71 public void setPid(Integer pid) {
75 public Integer getValue() {
79 public void setValue(Integer value) {
83 public Double getSet() {
87 public void setSet(Double set) {
91 public String getTyp() {
95 public void setTyp(String typ) {
99 public String getSetColor() {
103 public void setSetColor(String setColor) {
104 this.setColor = setColor;
107 public String getValueColor() {
111 public void setValueColor(String valueColor) {
112 this.valueColor = valueColor;