Spotify.NET/SpotifyAPI.Web/Models/Request/PlaylistReorderItemsRequest.cs
2020-05-25 18:00:47 +02:00

25 lines
547 B
C#

namespace SpotifyAPI.Web
{
public class PlaylistReorderItemsRequest : RequestParams
{
public PlaylistReorderItemsRequest(int rangeStart, int insertBefore)
{
RangeStart = rangeStart;
InsertBefore = insertBefore;
}
[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; }
}
}