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