Make it more complete
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Tesses.YouTubeDownloader2025Companion;
|
||||
|
||||
|
||||
public class SongQuery
|
||||
{
|
||||
[JsonPropertyName("recordings")]
|
||||
public List<SongQueryRecording> Recordings {get;set;}=new List<SongQueryRecording>();
|
||||
|
||||
public class SongQueryRecording
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public Guid Id {get;set;}
|
||||
|
||||
[JsonPropertyName("title")]
|
||||
public string Name {get;set;}="";
|
||||
|
||||
[JsonPropertyName("length")]
|
||||
public long Length {get;set;}
|
||||
|
||||
[JsonPropertyName("artist-credit")]
|
||||
public List<AlbumSongQuery.AlbumSongQueryMedia.AlbumSongQueryMediaTrack.AlbumSongQueryMediaTrackRecording.AlbumSongQueryMediaTrackRecordingArtists> ContributingArtists {get;set;}=new List<AlbumSongQuery.AlbumSongQueryMedia.AlbumSongQueryMediaTrack.AlbumSongQueryMediaTrackRecording.AlbumSongQueryMediaTrackRecordingArtists>();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user