]> git.basschouten.com Git - openhab-addons.git/blob
08b6782c11a423b381b75c4276d98d6a1230cbab
[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.input;
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 CurrentInput} class maps the JSON data response from the Vizio TV endpoint:
25  * '/menu_native/dynamic/tv_settings/devices/current_input'
26  *
27  * @author Michael Lobstein - Initial contribution
28  */
29 public class CurrentInput {
30     @SerializedName("STATUS")
31     private Status status;
32     @SerializedName("ITEMS")
33     private List<ItemInput> items = new ArrayList<ItemInput>();
34     @SerializedName("HASHLIST")
35     private List<Long> hashlist = new ArrayList<Long>();
36     @SerializedName("URI")
37     private String uri;
38     @SerializedName("PARAMETERS")
39     private Parameters parameters;
40
41     public Status getStatus() {
42         return status;
43     }
44
45     public void setStatus(Status status) {
46         this.status = status;
47     }
48
49     public List<ItemInput> getItems() {
50         return items;
51     }
52
53     public void setItems(List<ItemInput> items) {
54         this.items = items;
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 getUri() {
66         return uri;
67     }
68
69     public void setUri(String uri) {
70         this.uri = uri;
71     }
72
73     public Parameters getParameters() {
74         return parameters;
75     }
76
77     public void setParameters(Parameters parameters) {
78         this.parameters = parameters;
79     }
80 }