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.squeezebox.internal.dto;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link ButtonsDTO} contains information about the forward, rewind, repeat,
19 * and shuffle buttons, including any custom definitions, such as replacing repeat
20 * and shuffle with like and unlike, respectively.
22 * @author Mark Hilbush - Initial contribution
24 public class ButtonsDTO {
27 * Indicates if forward button is enabled/disabled,
28 * or if there is a custom button definition.
30 @SerializedName("fwd")
31 public ButtonDTO forward;
34 * Indicates if rewind button is enabled/disabled,
35 * or if there is a custom button definition.
37 @SerializedName("rew")
38 public ButtonDTO rewind;
41 * Indicates if repeat button is enabled/disabled,
42 * or if there is a custom button definition.
44 @SerializedName("repeat")
45 public ButtonDTO repeat;
48 * Indicates if shuffle button is enabled/disabled,
49 * or if there is a custom button definition.
51 @SerializedName("shuffle")
52 public ButtonDTO shuffle;