forked from JohnnyCrazy/SpotifyAPI-NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnalysisSegment.cs
More file actions
36 lines (27 loc) · 908 Bytes
/
AnalysisSegment.cs
File metadata and controls
36 lines (27 loc) · 908 Bytes
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
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace SpotifyAPI.Web.Models
{
public class AnalysisSegment
{
[JsonPropertyName("start")]
public double Start { get; set; }
[JsonPropertyName("duration")]
public double Duration { get; set; }
[JsonPropertyName("confidence")]
public double Confidence { get; set; }
[JsonPropertyName("loudness_start")]
public double LoudnessStart { get; set; }
[JsonPropertyName("loudness_max_time")]
public double LoudnessMaxTime { get; set; }
[JsonPropertyName("loudness_max")]
public double LoudnessMax { get; set; }
[JsonPropertyName("loudness_end")]
public double LoudnessEnd { get; set; }
[JsonPropertyName("pitches")]
public List<double> Pitches { get; set; }
[JsonPropertyName("timbre")]
public List<double> Timbre { get; set; }
}
}