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.power;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link ItemPower} class contains data from the Vizio TV JSON response
20 * @author Michael Lobstein - Initial contribution
22 public class ItemPower {
23 @SerializedName("CNAME")
25 @SerializedName("TYPE")
27 @SerializedName("NAME")
29 @SerializedName("VALUE")
32 public String getCname() {
36 public void setCname(String cname) {
40 public String getType() {
44 public void setType(String type) {
48 public String getName() {
52 public void setName(String name) {
56 public int getValue() {
60 public void setValue(int value) {