2024-10-05 21:51:43 -04:00
|
|
|
namespace Spotify;
|
2024-10-05 21:00:33 -04:00
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2024-10-08 02:07:05 -04:00
|
|
|
public record ArtistItem
|
2024-10-05 21:00:33 -04:00
|
|
|
{
|
|
|
|
public ExternalUrls? External_urls { get; init; }
|
|
|
|
public Followers? Followers { get; init; }
|
|
|
|
public List<string?>? Genres { get; init; }
|
|
|
|
public string? Href { get; init; }
|
|
|
|
public string? Id { get; init; }
|
|
|
|
public string? Image_url { get; init; }
|
|
|
|
public List<Image>? Images { get; init; }
|
|
|
|
public string? Name { get; init; }
|
|
|
|
public int Popularity { get; init; }
|
|
|
|
public string? Type { get; init; }
|
|
|
|
public string? Uri { get; init; }
|
|
|
|
}
|
|
|
|
|
2024-10-08 02:07:05 -04:00
|
|
|
public record ArtistResult
|
2024-10-05 21:00:33 -04:00
|
|
|
{
|
|
|
|
public string? Href { get; init; }
|
|
|
|
public int Limit { get; init; }
|
|
|
|
public string? Next { get; init; }
|
|
|
|
public int Offset { get; set; }
|
|
|
|
public object? Previous { get; init; }
|
|
|
|
public int Total { get; init; }
|
2024-10-08 02:07:05 -04:00
|
|
|
public List<ArtistItem>? Items { get; init; }
|
2024-10-05 21:00:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
public record SpotifyplusSearchArtistsResponse
|
|
|
|
{
|
|
|
|
public UserProfile? UserProfile { get; init; }
|
2024-10-08 02:07:05 -04:00
|
|
|
public ArtistResult? Result { get; init; }
|
2024-10-05 21:00:33 -04:00
|
|
|
}
|