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

17 lines
342 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; }
2020-05-25 17:00:38 +01:00
public PublicUser AddedBy { get; set; } = default!;
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