]> git.basschouten.com Git - openhab-addons.git/blob
61b0ff92b39faa97dc5856ae7a5ee5a40ede01aa
[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 StatusResultDTO} represents the result of a status request.
19  *
20  * @author Mark Hilbush - Initial contribution
21  */
22 public class StatusResultDTO {
23
24     /**
25      * Remote metadata information, including button definitions/redefinitions.
26      */
27     @SerializedName("remoteMeta")
28     public RemoteMetaDTO remoteMeta;
29
30     /**
31      * These remaining fields are currently unused by the binding,
32      * as they also are returned by the Command Line Interface (CLI).
33      */
34     @SerializedName("current_title")
35     public String currentTitle;
36
37     @SerializedName("digital_volume_control")
38     public Integer digitalVolumeControl;
39
40     @SerializedName("duration")
41     public Double duration;
42
43     @SerializedName("mixer volume")
44     public Integer mixerVolume;
45
46     @SerializedName("player_connected")
47     public Integer playerConnected;
48
49     @SerializedName("player_ip")
50     public String playerIpAddress;
51
52     @SerializedName("player_name")
53     public String playerName;
54
55     @SerializedName("playlist mode")
56     public String playlistMode;
57
58     @SerializedName("playlist repeat")
59     public Integer playlistRepeat;
60
61     @SerializedName("playlist shuffle")
62     public Integer playlistShuffle;
63
64     @SerializedName("playlist_cur_index")
65     public String playListCurrentIndex;
66
67     @SerializedName("playlist_timestamp")
68     public String playlistTimestamp;
69
70     @SerializedName("playlist_tracks")
71     public Integer playlistTracks;
72
73     @SerializedName("power")
74     public String power;
75
76     @SerializedName("rate")
77     public String rate;
78
79     @SerializedName("remote")
80     public String remote;
81
82     @SerializedName("repeating_stream")
83     public Integer repeatingStream;
84
85     @SerializedName("seq_no")
86     public Integer sequenceNumber;
87
88     @SerializedName("signalstrength")
89     public Integer signalStrength;
90
91     @SerializedName("time")
92     public String time;
93 }