2 * Copyright (c) 2010-2022 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.draytonwiser.internal.model;
15 import com.google.gson.annotations.SerializedName;
18 * @author Andrew Schofield - Initial contribution
20 public class SmartPlugDTO {
25 private String manualState;
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;
37 public Integer getId() {
41 public String getName() {
45 public String getManualState() {
49 public String getAwayAction() {
53 public String getOutputState() {
57 public String getControlSource() {
61 public String getScheduledState() {
62 return scheduledState;
65 public String getTargetState() {
69 public Integer getDebounceCount() {
73 public String getOverrideState() {
77 public String getMode() {
81 public Integer getCurrentSummationDelivered() {
82 return currentSummationDelivered;
85 public Integer getInstantaneousDemand() {
86 return instantaneousDemand;