Spotify.NET/SpotifyAPI.Web/Models/Device.cs
2020-03-09 20:47:39 +01:00

25 lines
512 B
C#

using Newtonsoft.Json;
namespace SpotifyAPI.Web.Models
{
public class Device
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("is_active")]
public bool IsActive { get; set; }
[JsonProperty("is_restricted")]
public bool IsRestricted { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("volume_percent")]
public int VolumePercent { get; set; }
}
}