]> git.basschouten.com Git - openhab-addons.git/blob
f16cf8da87c46c12ddade06a3293457174dfa75b
[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 Channel {
25
26     @SerializedName("number")
27     @Expose
28     private Integer number;
29     @SerializedName("name")
30     @Expose
31     private String name;
32     @SerializedName("typ")
33     @Expose
34     private Integer typ;
35     @SerializedName("temp")
36     @Expose
37     private Double temp;
38     @SerializedName("min")
39     @Expose
40     private Double min;
41     @SerializedName("max")
42     @Expose
43     private Double max;
44     @SerializedName("alarm")
45     @Expose
46     private Integer alarm;
47     @SerializedName("color")
48     @Expose
49     private String color;
50     @SerializedName("fixed")
51     @Expose
52     private Boolean fixed;
53     @SerializedName("connected")
54     @Expose
55     private Boolean connected;
56
57     public Integer getNumber() {
58         return number;
59     }
60
61     public void setNumber(Integer number) {
62         this.number = number;
63     }
64
65     public String getName() {
66         return name;
67     }
68
69     public void setName(String name) {
70         this.name = name;
71     }
72
73     public Integer getTyp() {
74         return typ;
75     }
76
77     public void setTyp(Integer typ) {
78         this.typ = typ;
79     }
80
81     public Double getTemp() {
82         return temp;
83     }
84
85     public void setTemp(Double temp) {
86         this.temp = temp;
87     }
88
89     public Double getMin() {
90         return min;
91     }
92
93     public void setMin(Double min) {
94         this.min = min;
95     }
96
97     public Double getMax() {
98         return max;
99     }
100
101     public void setMax(Double max) {
102         this.max = max;
103     }
104
105     public Integer getAlarm() {
106         return alarm;
107     }
108
109     public void setAlarm(Integer alarm) {
110         this.alarm = alarm;
111     }
112
113     public String getColor() {
114         return color;
115     }
116
117     public void setColor(String color) {
118         this.color = color;
119     }
120
121     public Boolean getFixed() {
122         return fixed;
123     }
124
125     public void setFixed(Boolean fixed) {
126         this.fixed = fixed;
127     }
128
129     public Boolean getConnected() {
130         return connected;
131     }
132
133     public void setConnected(Boolean connected) {
134         this.connected = connected;
135     }
136 }