23 lines
501 B
C#
23 lines
501 B
C#
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Tesses.YouTubeDownloader2025Companion;
|
|
|
|
|
|
public class AlbumQuery {
|
|
[JsonPropertyName("releases")]
|
|
public List<AlbumQueryItem> Albums {get;set;}=new List<AlbumQueryItem>();
|
|
|
|
public class AlbumQueryItem
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public Guid Id {get;set;}
|
|
|
|
[JsonPropertyName("title")]
|
|
public string Name {get;set;}="";
|
|
|
|
[JsonPropertyName("date")]
|
|
public string Date {get;set;}="";
|
|
}
|
|
}
|