Spotify.NET/SpotifyAPI.Web/Models/Request/PlaylistReorderItemsRequest.cs

25 lines
547 B
C#
Raw Normal View History

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")]
2020-05-25 17:00:38 +01:00
public string? SnapshotId { get; set; }
}
}
2020-05-25 17:00:38 +01:00