| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- using System;
- using System.Collections.Generic;
-
- using System.Globalization;
- using System.Text.Json.Serialization;
-
- namespace SpotifyService.Contracts
- {
-
- public partial class SearchContracts
- {
- [JsonPropertyName("tracks")]
- public Tracks? Tracks { get; set; }
- }
-
- public partial class Tracks
- {
- [JsonPropertyName("href")]
- public Uri Href { get; set; }
-
- [JsonPropertyName("items")]
- public Items[]? Items { get; set; }
- }
-
- public partial class Items
- {
- [JsonPropertyName("album")]
- public Album Album { get; set; }
-
- [JsonPropertyName("artists")]
- public Artist[] Artists { get; set; }
-
- [JsonPropertyName("duration_ms")]
- public long DurationMs { get; set; }
-
- [JsonPropertyName("external_urls")]
- public ExternalUrls ExternalUrls { get; set; }
-
- [JsonPropertyName("href")]
- public Uri Href { get; set; }
-
- [JsonPropertyName("id")]
- public string Id { get; set; }
-
- [JsonPropertyName("name")]
- public string Name { get; set; }
-
- [JsonPropertyName("popularity")]
- public long Popularity { get; set; }
-
- [JsonPropertyName("track_number")]
- public long TrackNumber { get; set; }
-
- [JsonPropertyName("type")]
- public string Type { get; set; }
-
- [JsonPropertyName("uri")]
- public string Uri { get; set; }
- }
-
- public partial class Album
- {
- [JsonPropertyName("href")]
- public Uri Href { get; set; }
-
- [JsonPropertyName("id")]
- public string Id { get; set; }
-
- [JsonPropertyName("images")]
- public Image[] Images { get; set; }
-
- [JsonPropertyName("name")]
- public string Name { get; set; }
-
- [JsonPropertyName("release_date")]
- public DateTimeOffset ReleaseDate { get; set; }
-
- [JsonPropertyName("total_tracks")]
- public long TotalTracks { get; set; }
-
- [JsonPropertyName("type")]
- public string Type { get; set; }
-
- [JsonPropertyName("uri")]
- public string Uri { get; set; }
- }
-
- public partial class Image
- {
- [JsonPropertyName("height")]
- public long Height { get; set; }
-
- [JsonPropertyName("url")]
- public Uri Url { get; set; }
-
- [JsonPropertyName("width")]
- public long Width { get; set; }
- }
-
- public partial class Artist
- {
- [JsonPropertyName("external_urls")]
- public ExternalUrls ExternalUrls { get; set; }
-
- [JsonPropertyName("href")]
- public Uri Href { get; set; }
-
- [JsonPropertyName("id")]
- public string Id { get; set; }
-
- [JsonPropertyName("name")]
- public string Name { get; set; }
-
- [JsonPropertyName("type")]
- public string Type { get; set; }
-
- [JsonPropertyName("uri")]
- public string Uri { get; set; }
- }
-
- public partial class ExternalUrls
- {
- [JsonPropertyName("spotify")]
- public Uri Spotify { get; set; }
- }
-
- }
|