Spotify.NET/SpotifyAPI.Web/Http/APIResponse.cs
2020-05-02 13:04:26 +02:00

18 lines
346 B
C#

namespace SpotifyAPI.Web.Http
{
public class APIResponse<T> : IAPIResponse<T>
{
public APIResponse(IResponse response, T body = default)
{
Ensure.ArgumentNotNull(response, nameof(response));
Body = body;
Response = response;
}
public T Body { get; set; }
public IResponse Response { get; set; }
}
}