Spotify.NET/SpotifyAPI/Local/Models/StatusResponse.cs

49 lines
1.2 KiB
C#
Raw Normal View History

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; }
2016-09-02 23:40:31 +01:00
[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("running")]
public bool Running { get; set; }
}
}