Spotify.NET/SpotifyAPI.Web/Models/Request/PlayerShuffleRequest.cs
2020-05-30 23:32:06 +02:00

31 lines
792 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace SpotifyAPI.Web
{
public class PlayerShuffleRequest : RequestParams
{
/// <summary>
///
/// </summary>
/// <param name="state">true : Shuffle users playback false : Do not shuffle users playback.</param>
public PlayerShuffleRequest(bool state)
{
State = state;
}
/// <summary>
/// true : Shuffle users playback false : Do not shuffle users playback.
/// </summary>
/// <value></value>
[QueryParam("state")]
public bool State { get; }
/// <summary>
/// The id of the device this command is targeting. If not supplied,
/// the users currently active device is the target.
/// </summary>
/// <value></value>
[QueryParam("device_id")]
public string? DeviceId { get; set; }
}
}