]> git.basschouten.com Git - openhab-addons.git/blob
c67e39b053b5a5fdef914c5e512081a4467db4e0
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.draytonwiser.internal.model;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * @author Andrew Schofield - Initial contribution
19  */
20 public class SmartPlugDTO {
21
22     @SerializedName("id")
23     private Integer id;
24     private String name;
25     private String manualState;
26     private String mode;
27     private String awayAction;
28     private String outputState;
29     private String controlSource;
30     private String scheduledState;
31     private String targetState;
32     private Integer debounceCount;
33     private String overrideState;
34
35     public Integer getId() {
36         return id;
37     }
38
39     public String getName() {
40         return name;
41     }
42
43     public String getManualState() {
44         return manualState;
45     }
46
47     public String getAwayAction() {
48         return awayAction;
49     }
50
51     public String getOutputState() {
52         return outputState;
53     }
54
55     public String getControlSource() {
56         return controlSource;
57     }
58
59     public String getScheduledState() {
60         return scheduledState;
61     }
62
63     public String getTargetState() {
64         return targetState;
65     }
66
67     public Integer getDebounceCount() {
68         return debounceCount;
69     }
70
71     public String getOverrideState() {
72         return overrideState;
73     }
74
75     public String getMode() {
76         return mode;
77     }
78 }