IF.Lastfm/IF.Lastfm.Core/Objects/UserSession.cs
2013-06-08 18:49:21 +01:00

17 lines
412 B
C#

using IF.Lastfm.Core.Json;
using Newtonsoft.Json;
namespace IF.Lastfm.Core
{
public class UserSession
{
[JsonProperty("name")]
public string Username { get; set; }
[JsonProperty("key")]
public string Token { get; set; }
[JsonProperty("subscriber"), JsonConverter(typeof(LastFmBooleanConverter))]
public bool IsSubscriber { get; set; }
}
}