using System.Text.Json.Serialization;
using YandexMusic.API.Models.Track;

namespace YandexMusic.API.Models.Playlist;

public class YPlaylistChange
{
    public int? At { get; set; }
    public int? From { get; set; }
    [JsonPropertyName("op")]
    public YPlaylistChangeType Operation { get; set; }
    public int? To { get; set; }
    public IEnumerable<YTrackAlbumPair> Tracks { get; set; }
}