]> git.basschouten.com Git - openhab-addons.git/blob
d13e16301c623a807888b5a8515d53a33969784b
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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 java.util.ArrayList;
16 import java.util.List;
17
18 import org.openhab.binding.vizio.internal.dto.Parameters;
19 import org.openhab.binding.vizio.internal.dto.Status;
20
21 import com.google.gson.annotations.SerializedName;
22
23 /**
24  * The {@link Audio} class maps the JSON data response from the Vizio TV endpoint:
25  * '/menu_native/dynamic/tv_settings/audio'
26  *
27  * @author Michael Lobstein - Initial contribution
28  */
29 public class Audio {
30     @SerializedName("STATUS")
31     private Status status;
32     @SerializedName("HASHLIST")
33     private List<Long> hashlist = new ArrayList<Long>();
34     @SerializedName("GROUP")
35     private String group;
36     @SerializedName("NAME")
37     private String name;
38     @SerializedName("PARAMETERS")
39     private Parameters parameters;
40     @SerializedName("ITEMS")
41     private List<ItemAudio> items = new ArrayList<ItemAudio>();
42     @SerializedName("URI")
43     private String uri;
44     @SerializedName("CNAME")
45     private String cname;
46     @SerializedName("TYPE")
47     private String type;
48
49     public Status getStatus() {
50         return status;
51     }
52
53     public void setStatus(Status status) {
54         this.status = status;
55     }
56
57     public List<Long> getHashlist() {
58         return hashlist;
59     }
60
61     public void setHashlist(List<Long> hashlist) {
62         this.hashlist = hashlist;
63     }
64
65     public String getGroup() {
66         return group;
67     }
68
69     public void setGroup(String group) {
70         this.group = group;
71     }
72
73     public String getName() {
74         return name;
75     }
76
77     public void setName(String name) {
78         this.name = name;
79     }
80
81     public Parameters getParameters() {
82         return parameters;
83     }
84
85     public void setParameters(Parameters parameters) {
86         this.parameters = parameters;
87     }
88
89     public List<ItemAudio> getItems() {
90         return items;
91     }
92
93     public void setItems(List<ItemAudio> items) {
94         this.items = items;
95     }
96
97     public String getUri() {
98         return uri;
99     }
100
101     public void setUri(String uri) {
102         this.uri = uri;
103     }
104
105     public String getCname() {
106         return cname;
107     }
108
109     public void setCname(String cname) {
110         this.cname = cname;
111     }
112
113     public String getType() {
114         return type;
115     }
116
117     public void setType(String type) {
118         this.type = type;
119     }
120 }