2 * Copyright (c) 2010-2022 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 java.util.ArrayList;
16 import java.util.List;
18 import org.openhab.binding.vizio.internal.dto.Status;
20 import com.google.gson.annotations.SerializedName;
23 * The {@link PowerMode} class maps the JSON data response from the Vizio TV endpoint:
24 * '/state/device/power_mode'
26 * @author Michael Lobstein - Initial contribution
28 public class PowerMode {
29 @SerializedName("STATUS")
30 private Status status;
31 @SerializedName("ITEMS")
32 private List<ItemPower> items = new ArrayList<ItemPower>();
33 @SerializedName("URI")
36 public Status getStatus() {
40 public void setStatus(Status status) {
44 public List<ItemPower> getItems() {
48 public void setItems(List<ItemPower> items) {
52 public String getUri() {
56 public void setUri(String uri) {