2020-02-15 16:00:42 +03:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace WotBlitzStatisticsPro.WgApiClient.Model
|
|
|
|
|
{
|
2020-06-07 14:48:39 +02:00
|
|
|
public class WotAccountPrivateInfo
|
2020-02-15 16:00:42 +03:00
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
/// Account ban info
|
|
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("ban_info")]
|
2020-12-27 12:39:25 +01:00
|
|
|
public string? BanInfo { get; set; }
|
2020-02-15 16:00:42 +03:00
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
/// Account ban expiration date
|
|
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("ban_time")]
|
|
|
|
|
public int? BanTime { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
/// Total time in battles until destroy in seconds
|
|
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("battle_life_time")]
|
|
|
|
|
public int? BattleLifeTimeInSeconds { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
/// Amount of credits
|
|
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("credits")]
|
|
|
|
|
public long? Credits { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
/// Free experience
|
|
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("free_xp")]
|
|
|
|
|
public long? FreeXp { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
///Amount of gold
|
|
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("gold")]
|
|
|
|
|
public long? Gold { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
/// Is player has premium account
|
|
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("is_premium")]
|
|
|
|
|
public bool IsPremium { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
2020-12-27 12:39:25 +01:00
|
|
|
/// Premium account expiration time
|
2020-02-15 16:00:42 +03:00
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("premium_expires_at")]
|
|
|
|
|
private int? PremiumExpiresAt { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
2020-12-27 12:39:25 +01:00
|
|
|
/// Group of contacts.
|
2020-02-15 16:00:42 +03:00
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("grouped_contacts")]
|
2020-12-27 12:39:25 +01:00
|
|
|
public WotAccountPrivateInfoGroupedContacts? GroupedContacts { get; set; }
|
2020-02-15 16:00:42 +03:00
|
|
|
|
|
|
|
|
///<summary>
|
2020-12-27 12:39:25 +01:00
|
|
|
/// Account restrictions
|
2020-02-15 16:00:42 +03:00
|
|
|
///</summary>
|
|
|
|
|
[JsonProperty("restrictions")]
|
2020-12-27 12:39:25 +01:00
|
|
|
public WotAccountPrivateInfoRestrictions? Restrictions { get; set; }
|
2020-02-15 16:00:42 +03:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|