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

35 lines
1.3 KiB
C#
Raw Normal View History

2020-05-02 21:48:21 +01:00
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SpotifyAPI.Web
{
public class SimpleEpisode
{
2020-05-25 17:00:38 +01:00
public string AudioPreviewUrl { get; set; } = default!;
public string Description { get; set; } = default!;
public int DurationMs { get; set; }
public bool Explicit { get; set; }
2020-05-25 17:00:38 +01:00
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; }
2020-05-02 21:48:21 +01:00
[Obsolete("This field is deprecated and might be removed in the future. Please use the languages field instead")]
2020-05-25 17:00:38 +01:00
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!;
2020-05-02 21:48:21 +01:00
[JsonConverter(typeof(StringEnumConverter))]
public ItemType Type { get; set; }
2020-05-25 17:00:38 +01:00
public string Uri { get; set; } = default!;
2020-05-02 21:48:21 +01:00
}
}
2020-05-25 17:00:38 +01:00