Spotify.NET/SpotifyAPI.Web/Models/Response/FullEpisode.cs
2020-05-25 18:00:47 +02:00

32 lines
1.1 KiB
C#

using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SpotifyAPI.Web
{
public class FullEpisode : IPlayableItem
{
public string AudioPreviewUrl { get; set; } = default!;
public string Description { get; set; } = default!;
public int DurationMs { get; set; }
public bool Explicit { get; set; }
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 bool IsExternallyHosted { get; set; }
public bool IsPlayable { get; set; }
public List<string> Languages { get; set; } = default!;
public string Name { get; set; } = default!;
public string ReleaseDate { get; set; } = default!;
public string ReleaseDatePrecision { get; set; } = default!;
public ResumePoint ResumePoint { get; set; } = default!;
public SimpleShow Show { get; set; } = default!;
[JsonConverter(typeof(StringEnumConverter))]
public ItemType Type { get; set; }
public string Uri { get; set; } = default!;
}
}