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

30 lines
1.1 KiB
C#
Raw Normal View History

2020-05-01 19:05:28 +01:00
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
/// <summary>
/// <a href="https://developer.spotify.com/documentation/web-api/reference/object-model/#playlist-object-simplified">Docs</a>
/// </summary>
public class SimplePlaylist
{
public bool Collaborative { get; set; }
2020-05-25 17:00:38 +01:00
public string Description { get; set; } = default!;
public Dictionary<string, string> ExternalUrls { get; set; } = default!;
public string Href { get; set; } = default!;
public string Id { get; set; } = default!;
public List<Image> Images { get; set; } = default!;
public string Name { get; set; } = default!;
public PublicUser Owner { get; set; } = default!;
public bool? Public { get; set; }
2020-05-25 17:00:38 +01:00
public string SnapshotId { get; set; } = default!;
/// <summary>
/// A list of PlaylistTracks, which items can be a FullTrack or FullEpisode
/// </summary>
/// <value></value>
public Paging<PlaylistTrack<BasePlayableItem>> Tracks { get; set; } = default!;
2020-05-25 17:00:38 +01:00
public string Type { get; set; } = default!;
public string Uri { get; set; } = default!;
2020-05-01 19:05:28 +01:00
}
}
2020-05-25 17:00:38 +01:00