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

18 lines
298 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")]
2020-05-25 17:00:38 +01:00
public string? DeviceId { get; set; }
2020-05-07 17:03:20 +01:00
}
}
2020-05-25 17:00:38 +01:00