using System.Collections.Generic; using Newtonsoft.Json; using WotBlitzStatisticsPro.Common.Model; namespace WotBlitzStatisticsPro.WgApiClient.Model { public class WotAccountTanksStatistics { /// /// Player account identifier /// [JsonProperty("account_id")] public long AccountId { get; set; } [JsonProperty("battle_life_time")] public int BattleLifeTimeInSeconds { get; set; } /// /// Last battle /// [JsonProperty("last_battle_time")] public int LastBattleTime { get; set; } [JsonProperty("in_garage")] public bool? InGarage { get; set; } [JsonProperty("in_garage_updated")] private int? InGarageUpdated { get; set; } /// /// Mastery: /// /// 0 — None /// 1 — Rank 3 /// 2 — Rank 2 /// 3 — Rank 1 /// 4 — Mastery /// [JsonProperty("mark_of_mastery")] private long _markOfMastery { get; set; } public MarkOfMastery MarkOfMastery => (MarkOfMastery)_markOfMastery; /// /// Tank identifier /// [JsonProperty("tank_id")] public long TankId { get; set; } /// /// Whole statistics /// [JsonProperty("all")] public WotAccountTanksFullStatistics? All { get; set; } [JsonProperty("frags")] public Dictionary? Frags { get; set; } } }