2024-10-05 21:51:43 -04:00
|
|
|
namespace Spotify;
|
2024-10-05 21:00:33 -04:00
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2024-10-09 11:01:53 -04:00
|
|
|
|
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; }
|
2024-10-09 11:01:53 -04:00
|
|
|
public List<string>? Genres { get; init; }
|
2024-10-05 21:00:33 -04:00
|
|
|
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; }
|
2024-10-09 11:01:53 -04:00
|
|
|
public int? Popularity { get; init; }
|
2024-10-05 21:00:33 -04:00
|
|
|
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; }
|
2024-10-09 11:01:53 -04:00
|
|
|
public int? Limit { get; init; }
|
2024-10-05 21:00:33 -04:00
|
|
|
public string? Next { get; init; }
|
2024-10-09 11:01:53 -04:00
|
|
|
public int? Offset { get; set; }
|
2024-10-05 21:00:33 -04:00
|
|
|
public object? Previous { get; init; }
|
2024-10-09 11:01:53 -04:00
|
|
|
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
|
|
|
}
|