Spotify.NET/SpotifyAPI.Web/Http/APIResponse.cs
2020-11-13 14:43:00 +01:00

18 lines
348 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; }
}
}