]> git.basschouten.com Git - openhab-addons.git/blob
7728e51a77b31cbe897bb10b387b7af2dba1a0ca
[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.livisismarthome.internal.client.api.entity;
14
15 /**
16  * Defines a {@link PropertyDTO}, that is a basic key/value structure used for several data types in the LIVISI API.
17  *
18  * @author Oliver Kuhl - Initial contribution
19  */
20 public class PropertyDTO {
21
22     private String name;
23     private Object value;
24
25     /**
26      * @return the name
27      */
28     public String getName() {
29         return name;
30     }
31
32     /**
33      * @param name the name to set
34      */
35     public void setName(String name) {
36         this.name = name;
37     }
38
39     /**
40      * @return the value
41      */
42     public Object getValue() {
43         return value;
44     }
45
46     /**
47      * @param value the value to set
48      */
49     public void setValue(Object value) {
50         this.value = value;
51     }
52 }