]> git.basschouten.com Git - openhab-addons.git/blob
0b6f08651f25aa816a3fc0b6496ec4c24fbc4acc
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.wlanthermo.internal.api.esp32.dto.data;
14
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
17
18 /**
19  * This DTO is used to parse the JSON
20  * Class is auto-generated from JSON using http://www.jsonschema2pojo.org/
21  *
22  * @author Christian Schlipp - Initial contribution
23  */
24 public class Pm {
25
26     @SerializedName("id")
27     @Expose
28     private Integer id;
29     @SerializedName("channel")
30     @Expose
31     private Integer channel;
32     @SerializedName("pid")
33     @Expose
34     private Integer pid;
35     @SerializedName("value")
36     @Expose
37     private Integer value;
38     @SerializedName("set")
39     @Expose
40     private Double set;
41     @SerializedName("typ")
42     @Expose
43     private String typ;
44     @SerializedName("set_color")
45     @Expose
46     private String setColor;
47     @SerializedName("value_color")
48     @Expose
49     private String valueColor;
50
51     public Integer getId() {
52         return id;
53     }
54
55     public void setId(Integer id) {
56         this.id = id;
57     }
58
59     public Integer getChannel() {
60         return channel;
61     }
62
63     public void setChannel(Integer channel) {
64         this.channel = channel;
65     }
66
67     public Integer getPid() {
68         return pid;
69     }
70
71     public void setPid(Integer pid) {
72         this.pid = pid;
73     }
74
75     public Integer getValue() {
76         return value;
77     }
78
79     public void setValue(Integer value) {
80         this.value = value;
81     }
82
83     public Double getSet() {
84         return set;
85     }
86
87     public void setSet(Double set) {
88         this.set = set;
89     }
90
91     public String getTyp() {
92         return typ;
93     }
94
95     public void setTyp(String typ) {
96         this.typ = typ;
97     }
98
99     public String getSetColor() {
100         return setColor;
101     }
102
103     public void setSetColor(String setColor) {
104         this.setColor = setColor;
105     }
106
107     public String getValueColor() {
108         return valueColor;
109     }
110
111     public void setValueColor(String valueColor) {
112         this.valueColor = valueColor;
113     }
114 }