Spotify.NET/SpotifyAPI/SpotifyWebAPI/Models/BasicModel.cs
Johnny @PC cbd248a2fe - Updated. (Changelog-date: November 11th, 2014)
- Improved HTTPServer
- Ordered methods in SpotifyWebApiCass
- Added various models for the new endpoints
2014-12-04 18:18:11 +01:00

21 lines
416 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace SpotifyAPI.SpotifyWebAPI.Models
{
public abstract class BasicModel
{
[JsonProperty("error")]
public Error ErrorResponse { get; set; }
public Boolean HasError()
{
return ErrorResponse != null;
}
}
}