forked from JohnnyCrazy/SpotifyAPI-NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAudioFeatures.cs
More file actions
62 lines (44 loc) · 1.48 KB
/
AudioFeatures.cs
File metadata and controls
62 lines (44 loc) · 1.48 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
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
62
using System.Text.Json;
using System.Text.Json.Serialization;
namespace SpotifyAPI.Web.Models
{
public class AudioFeatures : BasicModel
{
[JsonPropertyName("acousticness")]
public float Acousticness { get; set; }
[JsonPropertyName("analysis_url")]
public string AnalysisUrl { get; set; }
[JsonPropertyName("danceability")]
public float Danceability { get; set; }
[JsonPropertyName("duration_ms")]
public int DurationMs { get; set; }
[JsonPropertyName("energy")]
public float Energy { get; set; }
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("instrumentalness")]
public float Instrumentalness { get; set; }
[JsonPropertyName("key")]
public int Key { get; set; }
[JsonPropertyName("liveness")]
public float Liveness { get; set; }
[JsonPropertyName("loudness")]
public float Loudness { get; set; }
[JsonPropertyName("mode")]
public int Mode { get; set; }
[JsonPropertyName("speechiness")]
public float Speechiness { get; set; }
[JsonPropertyName("tempo")]
public float Tempo { get; set; }
[JsonPropertyName("time_signature")]
public int TimeSignature { get; set; }
[JsonPropertyName("track_href")]
public string TrackHref { get; set; }
[JsonPropertyName("type")]
public string Type { get; set; }
[JsonPropertyName("uri")]
public string Uri { get; set; }
[JsonPropertyName("valence")]
public float Valence { get; set; }
}
}