using System;
using System.Text.Json.Serialization;
namespace WotBlitzStatisticsPro.Common.Model
{
///
/// Represents authenticated GitHub user
///
public class GitHubUser
{
///
/// User ID
///
[JsonPropertyName("id")]
public long Id { get; set; }
///
/// Login
///
[JsonPropertyName("login")]
public string? Login { get; set; }
///
/// Avatar URL
///
[JsonPropertyName("avatar_url")]
public string? Avatar { get; set; }
///
/// GitHub profile
///
[JsonPropertyName("html_url")]
public string? ProfileLink { get; set; }
///
/// HitHub account creation time
///
[JsonPropertyName("created_at")]
public DateTime CreatedAt { get; set; }
///
/// Followers count
///
[JsonPropertyName("followers")]
public int FollowersCount { get; set; }
}
}