using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net; namespace SpotifyAPI.Web.Http { public class Response : IResponse { public Response(IDictionary headers) { Ensure.ArgumentNotNull(headers, nameof(headers)); Headers = new ReadOnlyDictionary(headers); } public object? Body { get; set; } public IReadOnlyDictionary Headers { get; set; } public HttpStatusCode StatusCode { get; set; } public string? ContentType { get; set; } } }