Spotify.NET/SpotifyAPI/Local/Models/StatusResponse.cs
2016-09-03 00:44:51 +02:00

52 lines
1.3 KiB
C#

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; }
}
}