]> git.basschouten.com Git - openhab-addons.git/blob
37e6e42f1da9ff8d195a5cee717ae8298fadd6ff
[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 com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link ItemApp} class contains data from the Vizio TV JSON response
19  *
20  * @author Michael Lobstein - Initial contribution
21  */
22 public class ItemApp {
23     @SerializedName("TYPE")
24     private String type;
25
26     @SerializedName("VALUE")
27     private ItemAppValue value = new ItemAppValue();
28
29     public String getType() {
30         return type;
31     }
32
33     public void setType(String type) {
34         this.type = type;
35     }
36
37     public ItemAppValue getValue() {
38         return value;
39     }
40
41     public void setValue(ItemAppValue value) {
42         this.value = value;
43     }
44 }