nixos-configs/configurations/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayArtist/SpotifyplusSearchArtistsResponse.cs

38 lines
1.1 KiB
C#
Raw Normal View History

using System.Collections.Generic;
namespace NetDaemonConfig.Apps.Spotify.PlayArtist
{
public record ArtistItem
{
public ExternalUrls? ExternalUrls { 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? ImageUrl { 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; }
}
public record ArtistResult
{
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; }
public List<ArtistItem>? Items { get; init; }
}
public record SpotifyplusSearchArtistsResponse
{
public UserProfile? UserProfile { get; init; }
public ArtistResult? Result { get; init; }
}
}