forked from JohnnyCrazy/SpotifyAPI-NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleEpisode.cs
More file actions
35 lines (31 loc) · 1.32 KB
/
SimpleEpisode.cs
File metadata and controls
35 lines (31 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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<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!;
}
}