2015-10-16 23:44:35 +01:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
2015-07-07 17:11:11 +01:00
|
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web.Models
|
|
|
|
|
{
|
|
|
|
|
public abstract class BasicModel
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("error")]
|
|
|
|
|
public Error Error { get; set; }
|
|
|
|
|
|
|
|
|
|
public Boolean HasError()
|
|
|
|
|
{
|
|
|
|
|
return Error != null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|