]> git.basschouten.com Git - openhab-addons.git/blob
df4fd618cf2774c166d947fb77420cb3c0324dd4
[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.action;
14
15 /**
16  * Defines the structure of a {@link DoubleActionParamDTO}.
17  *
18  * @author Oliver Kuhl - Initial contribution
19  */
20 public class DoubleActionParamDTO {
21
22     private String type;
23     private double value;
24
25     DoubleActionParamDTO(String type, double value) {
26         this.type = type;
27         this.value = value;
28     }
29
30     /**
31      * @return the type
32      */
33     public String getType() {
34         return type;
35     }
36
37     /**
38      * @param type the type to set
39      */
40     public void setType(String type) {
41         this.type = type;
42     }
43
44     /**
45      * @return the value
46      */
47     public double isValue() {
48         return value;
49     }
50
51     /**
52      * @param value the value to set
53      */
54     public void setValue(double value) {
55         this.value = value;
56     }
57 }