forked from JohnnyCrazy/SpotifyAPI-NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnalysisSection.cs
More file actions
44 lines (32 loc) · 1.08 KB
/
AnalysisSection.cs
File metadata and controls
44 lines (32 loc) · 1.08 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
using System.Text.Json;
using System.Text.Json.Serialization;
namespace SpotifyAPI.Web.Models
{
public class AnalysisSection
{
[JsonPropertyName("start")]
public double Start { get; set; }
[JsonPropertyName("duration")]
public double Duration { get; set; }
[JsonPropertyName("confidence")]
public double Confidence { get; set; }
[JsonPropertyName("loudness")]
public double Loudness { get; set; }
[JsonPropertyName("tempo")]
public double Tempo { get; set; }
[JsonPropertyName("tempo_confidence")]
public double TempoConfidence { get; set; }
[JsonPropertyName("key")]
public int Key { get; set; }
[JsonPropertyName("key_confidence")]
public double KeyConfidence { get; set; }
[JsonPropertyName("mode")]
public int Mode { get; set; }
[JsonPropertyName("mode_confidence")]
public double ModeConfidence { get; set; }
[JsonPropertyName("time_signature")]
public int TimeSignature { get; set; }
[JsonPropertyName("time_signature_confidence")]
public double TimeSignatureConfidence { get; set; }
}
}