mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-27 00:16:26 +00:00
25 lines
569 B
C#
25 lines
569 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; }
|
|||
|
}
|
|||
|
}
|