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

16 lines
352 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; private set; }
public PublicUser AddedBy { get; private set; }
public bool IsLocal { get; private set; }
2020-05-03 00:00:35 +01:00
[JsonConverter(typeof(PlaylistElementConverter))]
public T Track { get; private set; }
2020-05-01 19:05:28 +01:00
}
}