2020-03-09 19:47:39 +00:00
|
|
|
using Newtonsoft.Json;
|
2017-05-29 22:17:15 +01:00
|
|
|
|
|
|
|
namespace SpotifyAPI.Web.Models
|
|
|
|
{
|
2020-03-09 19:47:39 +00:00
|
|
|
public class Device
|
|
|
|
{
|
|
|
|
[JsonProperty("id")]
|
|
|
|
public string Id { get; set; }
|
2017-05-29 22:17:15 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("is_active")]
|
|
|
|
public bool IsActive { get; set; }
|
2017-05-29 22:17:15 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("is_restricted")]
|
|
|
|
public bool IsRestricted { get; set; }
|
2017-05-29 22:17:15 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("name")]
|
|
|
|
public string Name { get; set; }
|
2017-05-29 22:17:15 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("type")]
|
|
|
|
public string Type { get; set; }
|
2017-05-29 22:17:15 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("volume_percent")]
|
|
|
|
public int VolumePercent { get; set; }
|
|
|
|
}
|
2017-05-29 22:17:15 +01:00
|
|
|
}
|