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