mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 14:46:26 +00:00
18 lines
348 B
C#
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; }
|
|
}
|
|
}
|