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