using Newtonsoft.Json;
using RiotSharp.Misc;

namespace RiotSharp.Endpoints.TournamentEndpoint
{
    /// <summary>
    /// Player in a match (Match API).
    /// </summary>
    public class Player
    {
        internal Player() { }

        /// <summary>
        /// Current platform ID.
        /// </summary>
        [JsonProperty("currentPlatformId")]
        public Platform CurrentPlatformId { get; set; }

        /// <summary>
        /// Platform ID.
        /// </summary>
        [JsonProperty("platformId")]
        public Platform PlatformId { get; set; }

        /// <summary>
        /// Match history URI.
        /// </summary>
        [JsonProperty("matchHistoryUri")]
        public string MatchHistoryUri { get; set; }

        /// <summary>
        /// Profile icon ID.
        /// </summary>
        [JsonProperty("profileIcon")]
        public int ProfileIcon { get; set; }

        /// <summary>
        /// Current account ID.
        /// </summary>
        [JsonProperty("currentAccountId")]
        public string CurrentAccountId { get; set; }

        /// <summary>
        /// Account ID.
        /// </summary>
        [JsonProperty("accountId")]
        public string AccountId { get; set; }

        /// <summary>
        /// Summoner ID.
        /// </summary>
        [JsonProperty("summonerId")]
        public string SummonerId { get; set; }

        /// <summary>
        /// Summoner name.
        /// </summary>
        [JsonProperty("summonerName")]
        public string SummonerName { get; set; }
    }
}
