]> git.basschouten.com Git - openhab-addons.git/blob
d229a490a9af547c85692aa98ed3e7f360982336
[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.squeezebox.internal.dto;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
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.
21  *
22  * @author Mark Hilbush - Initial contribution
23  */
24 public class ButtonsDTO {
25
26     /**
27      * Indicates if forward button is enabled/disabled,
28      * or if there is a custom button definition.
29      */
30     @SerializedName("fwd")
31     public ButtonDTO forward;
32
33     /**
34      * Indicates if rewind button is enabled/disabled,
35      * or if there is a custom button definition.
36      */
37     @SerializedName("rew")
38     public ButtonDTO rewind;
39
40     /**
41      * Indicates if repeat button is enabled/disabled,
42      * or if there is a custom button definition.
43      */
44     @SerializedName("repeat")
45     public ButtonDTO repeat;
46
47     /**
48      * Indicates if shuffle button is enabled/disabled,
49      * or if there is a custom button definition.
50      */
51     @SerializedName("shuffle")
52     public ButtonDTO shuffle;
53 }