2015-07-07 17:11:11 +01:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Local.Models
|
|
|
|
|
{
|
|
|
|
|
public class StatusResponse
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("version")]
|
|
|
|
|
public int Version { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("client_version")]
|
|
|
|
|
public string ClientVersion { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("playing")]
|
|
|
|
|
public bool Playing { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2016-09-02 23:40:31 +01:00
|
|
|
|
[JsonProperty("shuffle")]
|
2015-07-07 17:11:11 +01:00
|
|
|
|
public bool Shuffle { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("repeat")]
|
|
|
|
|
public bool Repeat { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("play_enabled")]
|
|
|
|
|
public bool PlayEnabled { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("prev_enabled")]
|
|
|
|
|
public bool PrevEnabled { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("next_enabled")]
|
|
|
|
|
public bool NextEnabled { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("track")]
|
|
|
|
|
public Track Track { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("playing_position")]
|
|
|
|
|
public double PlayingPosition { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("server_time")]
|
|
|
|
|
public int ServerTime { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("volume")]
|
|
|
|
|
public double Volume { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("online")]
|
|
|
|
|
public bool Online { get; set; }
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2016-09-02 23:44:51 +01:00
|
|
|
|
[JsonProperty("open_graph_state")]
|
|
|
|
|
public OpenGraphState OpenGraphState { get; set; }
|
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
[JsonProperty("running")]
|
|
|
|
|
public bool Running { get; set; }
|
|
|
|
|
}
|
2015-10-16 23:44:35 +01:00
|
|
|
|
}
|