2020-05-03 21:34:03 +01:00
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public class PlaylistReorderItemsRequest : RequestParams
|
|
|
|
{
|
2020-05-05 14:30:00 +01:00
|
|
|
public PlaylistReorderItemsRequest(int rangeStart, int insertBefore)
|
|
|
|
{
|
|
|
|
RangeStart = rangeStart;
|
|
|
|
InsertBefore = insertBefore;
|
|
|
|
}
|
|
|
|
|
2020-05-03 21:34:03 +01:00
|
|
|
[BodyParam("range_start")]
|
2020-05-05 14:30:00 +01:00
|
|
|
public int RangeStart { get; set; }
|
2020-05-03 21:34:03 +01:00
|
|
|
|
|
|
|
[BodyParam("insert_before")]
|
2020-05-05 14:30:00 +01:00
|
|
|
public int InsertBefore { get; set; }
|
2020-05-03 21:34:03 +01:00
|
|
|
|
|
|
|
[BodyParam("range_length")]
|
|
|
|
public int? RangeLength { get; set; }
|
|
|
|
|
|
|
|
[BodyParam("snapshot_id")]
|
|
|
|
public string SnapshotId { get; set; }
|
|
|
|
}
|
|
|
|
}
|