mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-26 07:56:26 +00:00
21 lines
400 B
C#
21 lines
400 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 Error { get; set; }
|
|||
|
|
|||
|
public Boolean HasError()
|
|||
|
{
|
|||
|
return Error != null;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|