2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.vizio.internal.dto.inputlist;
15 import java.util.ArrayList;
16 import java.util.List;
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;
22 import com.google.gson.annotations.SerializedName;
25 * The {@link InputList} class maps the JSON data response from the Vizio TV endpoint:
26 * '/menu_native/dynamic/tv_settings/devices/name_input'
28 * @author Michael Lobstein - Initial contribution
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")
37 @SerializedName("NAME")
39 @SerializedName("PARAMETERS")
40 private Parameters parameters;
41 @SerializedName("ITEMS")
42 private List<Item> items = new ArrayList<Item>();
43 @SerializedName("URI")
45 @SerializedName("CNAME")
47 @SerializedName("TYPE")
50 public Status getStatus() {
54 public void setStatus(Status status) {
58 public List<Long> getHashlist() {
62 public void setHashlist(List<Long> hashlist) {
63 this.hashlist = hashlist;
66 public String getGroup() {
70 public void setGroup(String group) {
74 public String getName() {
78 public void setName(String name) {
82 public Parameters getParameters() {
86 public void setParameters(Parameters parameters) {
87 this.parameters = parameters;
90 public List<Item> getItems() {
94 public void setItems(List<Item> items) {
98 public String getUri() {
102 public void setUri(String uri) {
106 public String getCname() {
110 public void setCname(String cname) {
114 public String getType() {
118 public void setType(String type) {