]> git.basschouten.com Git - openhab-addons.git/blob
42187327e360f312960250556bba8a652c8ab43f
[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.app;
14
15 import org.openhab.binding.vizio.internal.dto.Status;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * The {@link CurrentApp} class maps the JSON data response from the Vizio TV endpoint:
21  * '/app/current'
22  *
23  * @author Michael Lobstein - Initial contribution
24  */
25 public class CurrentApp {
26     @SerializedName("STATUS")
27     private Status status;
28     @SerializedName("ITEM")
29     private ItemApp item = new ItemApp();
30     @SerializedName("URI")
31     private String uri;
32
33     public Status getStatus() {
34         return status;
35     }
36
37     public void setStatus(Status status) {
38         this.status = status;
39     }
40
41     public ItemApp getItem() {
42         return item;
43     }
44
45     public void setItem(ItemApp item) {
46         this.item = item;
47     }
48
49     public String getUri() {
50         return uri;
51     }
52
53     public void setUri(String uri) {
54         this.uri = uri;
55     }
56 }