mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 15:36:26 +00:00
21 lines
448 B
C#
21 lines
448 B
C#
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace SpotifyAPI.Web
|
||
|
{
|
||
|
public class PlayerTransferPlaybackRequest : RequestParams
|
||
|
{
|
||
|
public PlayerTransferPlaybackRequest(IList<string> deviceIds)
|
||
|
{
|
||
|
Ensure.ArgumentNotNullOrEmptyList(deviceIds, nameof(deviceIds));
|
||
|
|
||
|
DeviceIds = deviceIds;
|
||
|
}
|
||
|
|
||
|
[BodyParam("device_ids")]
|
||
|
public IList<string> DeviceIds { get; }
|
||
|
|
||
|
[BodyParam("play")]
|
||
|
public bool? Play { get; set; }
|
||
|
}
|
||
|
}
|