]> git.basschouten.com Git - openhab-addons.git/blob
0752f44018e6bc14beaa05cb35d788aecadf0a20
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.konnected.internal.gson;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link KonnectedModuleGson} is responsible to hold
19  * data that models pin information which can be sent to a Konnected Module
20  *
21  * @author Zachary Christiansen - Initial contribution
22  *
23  */
24 public class KonnectedModuleGson {
25
26     private Integer pin;
27     private String temp;
28     private String humi;
29     private String state;
30     @SerializedName("Auth_Token")
31     private String authToken;
32     private String momentary;
33     private String pause;
34     private String times;
35     @SerializedName("poll_interval")
36     private Integer pollInterval;
37     private String addr;
38
39     public Integer getPin() {
40         return pin;
41     }
42
43     public void setPin(Integer setPin) {
44         this.pin = setPin;
45     }
46
47     public Integer getPollInterval() {
48         return pollInterval;
49     }
50
51     public void setPollInterval(Integer setPollInterval) {
52         this.pollInterval = setPollInterval;
53     }
54
55     public String getTemp() {
56         return temp;
57     }
58
59     public void setTemp(String setTemp) {
60         this.temp = setTemp;
61     }
62
63     public String getHumi() {
64         return humi;
65     }
66
67     public void setHumi(String setHumi) {
68         this.humi = setHumi;
69     }
70
71     public String getState() {
72         return state;
73     }
74
75     public void setState(String setState) {
76         this.state = setState;
77     }
78
79     public String getAuthToken() {
80         return authToken;
81     }
82
83     public String getMomentary() {
84         return momentary;
85     }
86
87     public void setMomentary(String setMomentary) {
88         this.momentary = setMomentary;
89     }
90
91     public String getPause() {
92         return pause;
93     }
94
95     public void setPause(String setPause) {
96         this.pause = setPause;
97     }
98
99     public String getTimes() {
100         return times;
101     }
102
103     public void setTimes(String setTimes) {
104         this.times = setTimes;
105     }
106
107     public String getAddr() {
108         return addr;
109     }
110
111     public void setAddr(String setAddr) {
112         this.addr = setAddr;
113     }
114 }