]> git.basschouten.com Git - openhab-addons.git/blob
8ba257bdf7866f3ec9e9f3337581dd05d84524b2
[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 an {@link IntegerActionParamDTO}.
17  *
18  * @author Oliver Kuhl - Initial contribution
19  */
20 public class IntegerActionParamDTO {
21
22     private String type;
23     private int value;
24
25     IntegerActionParamDTO(String type, int 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 int isValue() {
48         return value;
49     }
50
51     /**
52      * @param value the value to set
53      */
54     public void setValue(int value) {
55         this.value = value;
56     }
57 }