]> git.basschouten.com Git - openhab-addons.git/blob
9a07501eab4ffc314af6cfb05787dbaa03426a46
[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.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     private Integer currentSummationDelivered;
35     private Integer instantaneousDemand;
36
37     public Integer getId() {
38         return id;
39     }
40
41     public String getName() {
42         return name;
43     }
44
45     public String getManualState() {
46         return manualState;
47     }
48
49     public String getAwayAction() {
50         return awayAction;
51     }
52
53     public String getOutputState() {
54         return outputState;
55     }
56
57     public String getControlSource() {
58         return controlSource;
59     }
60
61     public String getScheduledState() {
62         return scheduledState;
63     }
64
65     public String getTargetState() {
66         return targetState;
67     }
68
69     public Integer getDebounceCount() {
70         return debounceCount;
71     }
72
73     public String getOverrideState() {
74         return overrideState;
75     }
76
77     public String getMode() {
78         return mode;
79     }
80
81     public Integer getCurrentSummationDelivered() {
82         return currentSummationDelivered;
83     }
84
85     public Integer getInstantaneousDemand() {
86         return instantaneousDemand;
87     }
88 }