using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace SpotifyAPI.Web { public class SimpleEpisode { public string AudioPreviewUrl { get; set; } = default!; public string Description { get; set; } = default!; public string HtmlDescription { get; set; } = default!; public int DurationMs { get; set; } public bool Explicit { get; set; } public Dictionary ExternalUrls { get; set; } = default!; public string Href { get; set; } = default!; public string Id { get; set; } = default!; public List Images { get; set; } = default!; public bool IsExternallyHosted { get; set; } public bool IsPlayable { get; set; } [Obsolete("This field is deprecated and might be removed in the future. Please use the languages field instead")] public string Language { get; set; } = default!; public List 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!; [JsonConverter(typeof(StringEnumConverter))] public ItemType Type { get; set; } public string Uri { get; set; } = default!; } }