mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 23:46:27 +00:00
cbd248a2fe
- Improved HTTPServer - Ordered methods in SpotifyWebApiCass - Added various models for the new endpoints
21 lines
416 B
C#
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;
|
|
}
|
|
}
|
|
}
|