using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sony.Filtr.Core.SpotifyCharts.Data; using Sony.Filtr.SpotifyWebAPI.Model; namespace Sony.Filtr.Core.SpotifyCharts.Api { public class ChartDatesResponse { public List dates { get; set; } } public class MarketResponse { public List countries { get; set; } } //public class ChartImage //{ // public object height { get; set; } // public string url { get; set; } // public object width { get; set; } //} //public class ChartArtist //{ // public string href { get; set; } // public string id { get; set; } // public string name { get; set; } // public string type { get; set; } // public string uri { get; set; } //} //public class ExternalIds //{ // public string isrc { get; set; } //} //public class ExternalUrls //{ // public string spotify { get; set; } //} //public class ChartTrack //{ // public Album album { get; set; } // public List artists { get; set; } // public List available_markets { get; set; } // public int disc_number { get; set; } // public int duration_ms { get; set; } // public bool @explicit { get; set; } // public ExternalIds external_ids { get; set; } // public ExternalUrls external_urls { get; set; } // public string href { get; set; } // public string id { get; set; } // public string name { get; set; } // public int popularity { get; set; } // public string preview_url { get; set; } // public int track_number { get; set; } // public string type { get; set; } // public string uri { get; set; } //} //public class ChartItem //{ // public int current_position { get; set; } // public object plays { get; set; } // public int? previous_position { get; set; } // public ChartTrack track { get; set; } //} //public class ChartEntries //{ // public string href { get; set; } // public List items { get; set; } // public int limit { get; set; } // public object next { get; set; } // public int offset { get; set; } // public object previous { get; set; } // public int total { get; set; } //} public class ChartDataSaveInformation { public string ListType { get; set; } public string Market { get; set; } public string TimeWindow { get; set; } public DateTime Date { get; set; } public string CacheKey { get; set; } //public List ChartItems { get; set; } public List ChartItems { get; set; } //public List TrackMappings { get; set; } public List TrackMappings { get; set; } public SpotifyChartsTimeWindow ChartsTimeWindow { get; set; } public SpotifyChartsListType ChartsListType { get; set; } } //public class ChartResponse //{ // public string name { get; set; } // public string description { get; set; } // public List images { get; set; } // public string href { get; set; } // public string recurrence { get; set; } // public string country { get; set; } // public string date { get; set; } // public string type { get; set; } // public ChartEntries entries { get; set; } //} public class Artist { public string name { get; set; } } public class ExternalUrls { public string spotify { get; set; } } public class Image { public int height { get; set; } public string url { get; set; } public int width { get; set; } } public class ChartTrack { public List artists { get; set; } public ExternalUrls external_urls { get; set; } public string id { get; set; } public string name { get; set; } public Image image { get; set; } } public class ChartItem { public int current_position { get; set; } public int plays { get; set; } public int? previous_position { get; set; } public ChartTrack track { get; set; } } public class ChartEntries { public List items { get; set; } public int total { get; set; } } public class ChartResponse { public string recurrence { get; set; } public string country { get; set; } public string date { get; set; } public string type { get; set; } public ChartEntries entries { get; set; } } }