mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 07:13:09 +01:00
17 lines
420 B
C#
17 lines
420 B
C#
using IF.Lastfm.Core.Json;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace IF.Lastfm.Core.Objects
|
|
{
|
|
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; }
|
|
}
|
|
} |