2 * Copyright (c) 2010-2023 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.smartthings.internal.dto;
16 * Data object for smartthings state data
18 * @author Bob Raker - Initial contribution
20 public class SmartthingsStateData {
21 public String deviceDisplayName;
22 public String capabilityAttribute;
25 public SmartthingsStateData() {
26 // These values will always be overridden when the object is initialized by GSon
27 deviceDisplayName = "";
28 capabilityAttribute = "";
33 public String toString() {
34 StringBuffer sb = new StringBuffer();
35 sb.append(", deviceDisplayName :").append(deviceDisplayName);
36 sb.append(", capabilityAttribute :").append(capabilityAttribute);
37 sb.append(", value :").append(value);