-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathStructure.cs
61 lines (59 loc) · 1.91 KB
/
Structure.cs
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpotifyUrl
{
public class Structure
{
public AlbumStruct album { get; set; }
public ArtistStruct[] artists { get; set; }
public int disc_number { get; set; }
public int duration_ms { get; set; }
public external_urls external_urls { get; set; }
public string href { get; set; }
public string id { get; set; }
public bool is_local { get; set; }
public bool is_playable { get; set; }
public string name { get; set; }
public int popularity { get; set; }
public string preview_url { get; set; }
public int track_number { get; set; }
public string uri { get; set; }
public string dominantColor { get; set; }
}
public class AlbumStruct
{
public string album_type { get; set; }
public ArtistStruct[] artists { get; set; }
public external_urls external_urls { get; set; }
public string href { get; set; }
public string id { get; set; }
public Images[] images { get; set; }
public string name { get; set; }
public string release_date { get; set; }
public int total_tracks { get; set; }
public string type { get; set; }
public string uri { get; set; }
}
public class ArtistStruct
{
public external_urls external_urls { get; set; }
public string href { get; set; }
public string id { get; set; }
public string name { get; set; }
public string type { get; set; }
public string uri { get; set; }
}
public class external_urls
{
public string spotify { get; set; }
}
public class Images
{
public int height { get; set; }
public int width { get; set; }
public string url { get; set; }
}
}