]> git.basschouten.com Git - openhab-addons.git/blob
cf1719d271b042297cd62e03ede2d0156f185d2a
[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.smartthings.internal.dto;
14
15 /**
16  * Mapping object for data returned from smartthings hub
17  *
18  * @author Bob Raker - Initial contribution
19  */
20 public class SmartthingsDeviceData {
21     public String capability;
22     public String attribute;
23     public String name;
24     public String id;
25
26     @Override
27     public String toString() {
28         StringBuffer sb = new StringBuffer();
29         sb.append("capability :").append(capability);
30         sb.append(", attribute :").append(attribute);
31         sb.append(", name: ").append(name);
32         sb.append(", id: ").append(id);
33         return sb.toString();
34     }
35 }