Spotify.NET/SpotifyAPI/Web/Models/BasicModel.cs
mrnikbobjeff 49441bba95 Formatted and beautified code via codemaid
Organised using statements alphabetically
2015-10-17 00:44:35 +02:00

16 lines
287 B
C#

using Newtonsoft.Json;
using System;
namespace SpotifyAPI.Web.Models
{
public abstract class BasicModel
{
[JsonProperty("error")]
public Error Error { get; set; }
public Boolean HasError()
{
return Error != null;
}
}
}