]> git.basschouten.com Git - openhab-addons.git/blob
d8cc1741a00f171093b8c10c24c2f3837a35737d
[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.settings;
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 Sensor {
25
26     @SerializedName("type")
27     @Expose
28     private Integer type;
29     @SerializedName("name")
30     @Expose
31     private String name;
32     @SerializedName("fixed")
33     @Expose
34     private Boolean fixed;
35
36     public Integer getType() {
37         return type;
38     }
39
40     public void setType(Integer type) {
41         this.type = type;
42     }
43
44     public String getName() {
45         return name;
46     }
47
48     public void setName(String name) {
49         this.name = name;
50     }
51
52     public Boolean getFixed() {
53         return fixed;
54     }
55
56     public void setFixed(Boolean fixed) {
57         this.fixed = fixed;
58     }
59 }