﻿using System;
using System.Collections.Generic;

namespace NFleet.Data
{
    public class RouteEventData : IResponseData, IVersioned
    {
        public static string MIMEType = "application/vnd.jyu.nfleet.routeevent";
        public static string MIMEVersion = "2.0";

        int IVersioned.VersionNumber { get; set; }

        public string State { get; set; }

        public double WaitingTimeBefore { get; set; }

        public DateTime? ArrivalTime { get; set; }

        public DateTime? DepartureTime { get; set; }

        public List<Link> Meta { get; set; }

        public string DataState { get; set; }

        public string FeasibilityState { get; set; }

        public int TaskEventId { get; set; }

        public KPIData KPIs { get; set; }

        public string Type { get; set; }

        public LocationData Location { get; set; }
    }
}

﻿using System;
using System.Collections.Generic;

namespace NFleet.Data
{
    public class RouteEventData : IResponseData, IVersioned
    {
        public static string MIMEType = "application/vnd.jyu.nfleet.routeevent";
        public static string MIMEVersion = "2.0";

        int IVersioned.VersionNumber { get; set; }

        public string State { get; set; }

        public double WaitingTimeBefore { get; set; }

        public DateTime? ArrivalTime { get; set; }

        public DateTime? DepartureTime { get; set; }

        public List<Link> Meta { get; set; }

        public string DataState { get; set; }

        public string FeasibilityState { get; set; }

        public int TaskEventId { get; set; }

        public KPIData KPIs { get; set; }

        public string Type { get; set; }

        public LocationData Location { get; set; }

        public List<CapacityData> Capacities { get; set; }

        public List<TimeWindowData> TimeWindows { get; set; }
    }
}

Add capacity and time window data to route events.
Add capacity and time window data to route events.
