forked from JohnnyCrazy/SpotifyAPI-NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStatusResponse.cs
More file actions
52 lines (37 loc) · 1.32 KB
/
StatusResponse.cs
File metadata and controls
52 lines (37 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using Newtonsoft.Json;
namespace SpotifyAPI.Local.Models
{
public class StatusResponse
{
[JsonProperty("version")]
public int Version { get; set; }
[JsonProperty("client_version")]
public string ClientVersion { get; set; }
[JsonProperty("playing")]
public bool Playing { get; set; }
[JsonProperty("shuffle")]
public bool Shuffle { get; set; }
[JsonProperty("repeat")]
public bool Repeat { get; set; }
[JsonProperty("play_enabled")]
public bool PlayEnabled { get; set; }
[JsonProperty("prev_enabled")]
public bool PrevEnabled { get; set; }
[JsonProperty("next_enabled")]
public bool NextEnabled { get; set; }
[JsonProperty("track")]
public Track Track { get; set; }
[JsonProperty("playing_position")]
public double PlayingPosition { get; set; }
[JsonProperty("server_time")]
public int ServerTime { get; set; }
[JsonProperty("volume")]
public double Volume { get; set; }
[JsonProperty("online")]
public bool Online { get; set; }
[JsonProperty("open_graph_state")]
public OpenGraphState OpenGraphState { get; set; }
[JsonProperty("running")]
public bool Running { get; set; }
}
}