chore: init commit from GitHub
Some checks are pending
Deploy / update (push) Waiting to run
Build Project .NET / build (push) Waiting to run

This commit is contained in:
Lisoveliy
2025-05-12 19:44:33 +03:00
parent 11a3f40596
commit aebe654c38
107 changed files with 18953 additions and 403 deletions

View File

@@ -0,0 +1,30 @@
using System.Text.Json.Serialization;
namespace SWAD.API.Models.JsonStructures.MusicAPI.Spotify;
/// <summary>
/// Json Structure for tidal track response
/// </summary>
public class SpotifyTrackResponse
{
// ReSharper disable NullableWarningSuppressionIsUsed
[JsonPropertyName("name")] public string Name { get; set; } = null!;
[JsonPropertyName("artists")] public Artist[] Artists { get; set; } = null!;
[JsonPropertyName("album")] public Album Albums { get; set; } = null!;
public class Artist
{
[JsonPropertyName("id")] public string Id { get; set; } = null!;
[JsonPropertyName("name")] public string Name { get; set; } = null!;
}
public class Album
{
[JsonPropertyName("id")] public string Id { get; set; } = null!;
[JsonPropertyName("name")] public string Name { get; set; } = null!;
}
}