﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MatchupDTO.cs" company="GW2.NET Coding Team">
//   This product is licensed under the GNU General Public License version 2 (GPLv2). See the License in the project root folder or the following page: http://www.gnu.org/licenses/gpl-2.0.html
// </copyright>
// <summary>
//   Defines the MatchupDTO type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace GW2NET.V1.WorldVersusWorld.Matches.Json
{
    using System.Diagnostics.CodeAnalysis;
    using System.Runtime.Serialization;

    [DataContract]
    [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "http://wiki.guildwars2.com/wiki/API:1/wvw/matches")]
    public sealed class MatchupDTO
    {
        [DataMember(Name = "wvw_match_id", Order = 0)]
        public string MatchId { get; set; }

        [DataMember(Name = "red_world_id", Order = 1)]
        public int RedWorldId { get; set; }

        [DataMember(Name = "blue_world_id", Order = 2)]
        public int BlueWorldId { get; set; }

        [DataMember(Name = "green_world_id", Order = 3)]
        public int GreenWorldId { get; set; }

        [DataMember(Name = "start_time", Order = 4)]
        public string StartTime { get; set; }

        [DataMember(Name = "end_time", Order = 5)]
        public string EndTime { get; set; }
    }
}