using System.Collections.Generic;

using Newtonsoft.Json;

namespace Dalamud.Game.Network.Internal.MarketBoardUploaders.Universalis.Types
{
    /// <summary>
    /// A Universalis API structure.
    /// </summary>
    internal class UniversalisHistoryUploadRequest
    {
        /// <summary>
        /// Gets or sets the world ID.
        /// </summary>
        [JsonProperty("worldID")]
        public uint WorldId { get; set; }

        /// <summary>
        /// Gets or sets the item ID.
        /// </summary>
        [JsonProperty("itemID")]
        public uint ItemId { get; set; }

        /// <summary>
        /// Gets or sets the list of available entries.
        /// </summary>
        [JsonProperty("entries")]
        public List<UniversalisHistoryEntry> Entries { get; set; }

        /// <summary>
        /// Gets or sets the uploader ID.
        /// </summary>
        [JsonProperty("uploaderID")]
        public string UploaderId { get; set; }
    }
}
