]> git.basschouten.com Git - openhab-addons.git/blob
cc3819d9a6567ef0bf4f481dd946b16f02b8464e
[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.vizio.internal.dto.input;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link ItemInput} class contains data from the Vizio TV JSON response
19  *
20  * @author Michael Lobstein - Initial contribution
21  */
22 public class ItemInput {
23     @SerializedName("HASHVAL")
24     private Long hashval = 0L;
25     @SerializedName("NAME")
26     private String name;
27     @SerializedName("ENABLED")
28     private String enabled;
29     @SerializedName("VALUE")
30     private String value = "";
31     @SerializedName("CNAME")
32     private String cname;
33     @SerializedName("HIDDEN")
34     private String hidden;
35     @SerializedName("TYPE")
36     private String type;
37
38     public Long getHashval() {
39         return hashval;
40     }
41
42     public void setHashval(Long hashval) {
43         this.hashval = hashval;
44     }
45
46     public String getName() {
47         return name;
48     }
49
50     public void setName(String name) {
51         this.name = name;
52     }
53
54     public String getEnabled() {
55         return enabled;
56     }
57
58     public void setEnabled(String enabled) {
59         this.enabled = enabled;
60     }
61
62     public String getValue() {
63         return value;
64     }
65
66     public void setValue(String value) {
67         this.value = value;
68     }
69
70     public String getCname() {
71         return cname;
72     }
73
74     public void setCname(String cname) {
75         this.cname = cname;
76     }
77
78     public String getHidden() {
79         return hidden;
80     }
81
82     public void setHidden(String hidden) {
83         this.hidden = hidden;
84     }
85
86     public String getType() {
87         return type;
88     }
89
90     public void setType(String type) {
91         this.type = type;
92     }
93 }