mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-27 08:26:25 +00:00
17 lines
342 B
C#
17 lines
342 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class PlaylistTrack<T>
|
|
{
|
|
public DateTime? AddedAt { get; set; }
|
|
public PublicUser AddedBy { get; set; } = default!;
|
|
public bool IsLocal { get; set; }
|
|
|
|
[JsonConverter(typeof(PlayableItemConverter))]
|
|
public T Track { get; set; } = default!;
|
|
}
|
|
}
|
|
|