mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-26 16:06:27 +00:00
35 lines
1.3 KiB
C#
35 lines
1.3 KiB
C#
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 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; }
|
|
|
|
[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<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!;
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public ItemType Type { get; set; }
|
|
public string Uri { get; set; } = default!;
|
|
}
|
|
}
|
|
|