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-05 14:30:00 +01:00
|
|
|
public DateTime? AddedAt { get; private set; }
|
|
|
|
public PublicUser AddedBy { get; private set; }
|
|
|
|
public bool IsLocal { get; private set; }
|
2020-05-03 00:00:35 +01:00
|
|
|
|
2020-05-02 12:04:26 +01:00
|
|
|
[JsonConverter(typeof(PlaylistElementConverter))]
|
2020-05-05 14:30:00 +01:00
|
|
|
public T Track { get; private set; }
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|
|
|
|
}
|