mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 15:23:08 +01:00
17 lines
412 B
C#
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; }
|
|
}
|
|
} |