2020-05-01 19:05:28 +01:00
|
|
|
using System;
|
2020-05-02 12:04:26 +01:00
|
|
|
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
|
|
|
{
|
2020-05-08 09:25:33 +01:00
|
|
|
public DateTime? AddedAt { get; set; }
|
2020-05-25 17:00:38 +01:00
|
|
|
public PublicUser AddedBy { get; set; } = default!;
|
2020-05-08 09:25:33 +01:00
|
|
|
public bool IsLocal { get; set; }
|
2020-05-03 00:00:35 +01:00
|
|
|
|
2020-05-07 17:03:20 +01:00
|
|
|
[JsonConverter(typeof(PlayableItemConverter))]
|
2020-05-25 17:00:38 +01:00
|
|
|
public T Track { get; set; } = default!;
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|
|
|
|
}
|
2020-05-25 17:00:38 +01:00
|
|
|
|