Spotify.NET/SpotifyAPI.Web/Models/Response/PlaylistTrack.cs

16 lines
317 B
C#
Raw Normal View History

2020-05-01 19:05:28 +01:00
using System;
using Newtonsoft.Json;
2020-05-01 19:05:28 +01:00
namespace SpotifyAPI.Web
{
2020-05-03 00:00:35 +01:00
public class PlaylistTrack<T>
2020-05-01 19:05:28 +01:00
{
public DateTime? AddedAt { get; set; }
public PublicUser AddedBy { get; set; }
public bool IsLocal { get; set; }
2020-05-03 00:00:35 +01:00
2020-05-07 17:03:20 +01:00
[JsonConverter(typeof(PlayableItemConverter))]
public T Track { get; set; }
2020-05-01 19:05:28 +01:00
}
}