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

31 lines
1.1 KiB
C#
Raw Normal View History

2020-05-01 19:05:28 +01:00
using System.Collections.Generic;
2020-05-02 21:48:21 +01:00
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
2020-05-01 19:05:28 +01:00
namespace SpotifyAPI.Web
{
2020-05-07 17:03:20 +01:00
public class FullEpisode : IPlayableItem
2020-05-01 19:05:28 +01:00
{
public string AudioPreviewUrl { get; private set; }
public string Description { get; private set; }
public int DurationMs { get; private set; }
public bool Explicit { get; private set; }
public Dictionary<string, string> ExternalUrls { get; private set; }
public string Href { get; private set; }
public string Id { get; private set; }
public List<Image> Images { get; private set; }
public bool IsExternallyHosted { get; private set; }
public bool IsPlayable { get; private set; }
public List<string> Languages { get; private set; }
public string Name { get; private set; }
public string ReleaseDate { get; private set; }
public string ReleaseDatePrecision { get; private set; }
public ResumePoint ResumePoint { get; private set; }
public SimpleShow Show { get; private set; }
2020-05-02 21:48:21 +01:00
[JsonConverter(typeof(StringEnumConverter))]
public ItemType Type { get; private set; }
public string Uri { get; private set; }
2020-05-01 19:05:28 +01:00
}
}