mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-27 00:16:26 +00:00
16 lines
287 B
C#
16 lines
287 B
C#
|
using System;
|
|||
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace SpotifyAPI.Web.Models
|
|||
|
{
|
|||
|
public abstract class BasicModel
|
|||
|
{
|
|||
|
[JsonProperty("error")]
|
|||
|
public Error Error { get; set; }
|
|||
|
|
|||
|
public Boolean HasError()
|
|||
|
{
|
|||
|
return Error != null;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|