mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
24 lines
579 B
C#
24 lines
579 B
C#
namespace SpotifyAPI.Web
|
|
{
|
|
public class PlaylistReorderItemsRequest : RequestParams
|
|
{
|
|
[BodyParam("range_start")]
|
|
public int? RangeStart { get; set; }
|
|
|
|
[BodyParam("insert_before")]
|
|
public int? InsertBefore { get; set; }
|
|
|
|
[BodyParam("range_length")]
|
|
public int? RangeLength { get; set; }
|
|
|
|
[BodyParam("snapshot_id")]
|
|
public string SnapshotId { get; set; }
|
|
|
|
protected override void CustomEnsure()
|
|
{
|
|
Ensure.ArgumentNotNull(RangeStart, nameof(RangeStart));
|
|
Ensure.ArgumentNotNull(InsertBefore, nameof(InsertBefore));
|
|
}
|
|
}
|
|
}
|