Renamed account info model

This commit is contained in:
Mikhail Shabanov committed 2020-06-07 14:48:39 +02:00
1 parent 4a11ed61df
commit 9b80314b92
8 files changed
+14 -14

No files matched your search

@@ -0,0 +1,69 @@
using Newtonsoft.Json;
namespace WotBlitzStatisticsPro.WgApiClient.Model
{
public class WotAccountPrivateInfo
{
///<summary>
/// Account ban info
///</summary>
[JsonProperty("ban_info")]
public string BanInfo { get; set; }
///<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>
/// Premium accunt expiration time
///</summary>
[JsonProperty("premium_expires_at")]
private int? PremiumExpiresAt { get; set; }
///<summary>
///Группы контактов.
///Дополнительное поле.
///</summary>
[JsonProperty("grouped_contacts")]
public WotAccountPrivateInfoGroupedContacts GroupedContacts { get; set; }
///<summary>
///Ограничения аккаунта
///</summary>
[JsonProperty("restrictions")]
public WotAccountPrivateInfoRestrictions Restrictions { get; set; }
}
}