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.squeezebox.internal.dto;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link StatusResultDTO} represents the result of a status request.
20 * @author Mark Hilbush - Initial contribution
22 public class StatusResultDTO {
25 * Remote metadata information, including button definitions/redefinitions.
27 @SerializedName("remoteMeta")
28 public RemoteMetaDTO remoteMeta;
31 * These remaining fields are currently unused by the binding,
32 * as they also are returned by the Command Line Interface (CLI).
34 @SerializedName("current_title")
35 public String currentTitle;
37 @SerializedName("digital_volume_control")
38 public Integer digitalVolumeControl;
40 @SerializedName("duration")
41 public Double duration;
43 @SerializedName("mixer volume")
44 public Integer mixerVolume;
46 @SerializedName("player_connected")
47 public Integer playerConnected;
49 @SerializedName("player_ip")
50 public String playerIpAddress;
52 @SerializedName("player_name")
53 public String playerName;
55 @SerializedName("playlist mode")
56 public String playlistMode;
58 @SerializedName("playlist repeat")
59 public Integer playlistRepeat;
61 @SerializedName("playlist shuffle")
62 public Integer playlistShuffle;
64 @SerializedName("playlist_cur_index")
65 public String playListCurrentIndex;
67 @SerializedName("playlist_timestamp")
68 public String playlistTimestamp;
70 @SerializedName("playlist_tracks")
71 public Integer playlistTracks;
73 @SerializedName("power")
76 @SerializedName("rate")
79 @SerializedName("remote")
82 @SerializedName("repeating_stream")
83 public Integer repeatingStream;
85 @SerializedName("seq_no")
86 public Integer sequenceNumber;
88 @SerializedName("signalstrength")
89 public Integer signalStrength;
91 @SerializedName("time")