Spotify.NET/SpotifyAPI.Web/Models/Request/PlayerShuffleRequest.cs

17 lines
296 B
C#
Raw Normal View History

2020-05-07 17:03:20 +01:00
namespace SpotifyAPI.Web
{
public class PlayerShuffleRequest : RequestParams
{
public PlayerShuffleRequest(bool state)
{
State = state;
}
[QueryParam("state")]
public bool State { get; }
[QueryParam("device_id")]
public string DeviceId { get; set; }
}
}