Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace SLDemo.Models
- {
- public class RealTimeDepartures
- {
- public int StatusCode { get; set; }
- public object Message { get; set; }
- public int ExecutionTime { get; set; }
- public Responsedata ResponseData { get; set; }
- }
- public class Responsedata
- {
- public DateTime LatestUpdate { get; set; }
- public int DataAge { get; set; }
- public Metro[] Metros { get; set; }
- public Bus[] Buses { get; set; }
- public Train[] Trains { get; set; }
- public Tram[] Trams { get; set; }
- public object[] Ships { get; set; }
- public Stoppointdeviation[] StopPointDeviations { get; set; }
- }
- public class Metro
- {
- public string GroupOfLine { get; set; }
- public string DisplayTime { get; set; }
- public string TransportMode { get; set; }
- public string LineNumber { get; set; }
- public string Destination { get; set; }
- public int JourneyDirection { get; set; }
- public string StopAreaName { get; set; }
- public int StopAreaNumber { get; set; }
- public int StopPointNumber { get; set; }
- public string StopPointDesignation { get; set; }
- public DateTime TimeTabledDateTime { get; set; }
- public DateTime ExpectedDateTime { get; set; }
- public int JourneyNumber { get; set; }
- public object Deviations { get; set; }
- }
- public class Bus
- {
- public object GroupOfLine { get; set; }
- public string TransportMode { get; set; }
- public string LineNumber { get; set; }
- public string Destination { get; set; }
- public int JourneyDirection { get; set; }
- public string StopAreaName { get; set; }
- public int StopAreaNumber { get; set; }
- public int StopPointNumber { get; set; }
- public string StopPointDesignation { get; set; }
- public DateTime TimeTabledDateTime { get; set; }
- public DateTime ExpectedDateTime { get; set; }
- public string DisplayTime { get; set; }
- public int JourneyNumber { get; set; }
- public object Deviations { get; set; }
- }
- public class Train
- {
- public object SecondaryDestinationName { get; set; }
- public string GroupOfLine { get; set; }
- public string TransportMode { get; set; }
- public string LineNumber { get; set; }
- public string Destination { get; set; }
- public int JourneyDirection { get; set; }
- public string StopAreaName { get; set; }
- public int StopAreaNumber { get; set; }
- public int StopPointNumber { get; set; }
- public string StopPointDesignation { get; set; }
- public DateTime TimeTabledDateTime { get; set; }
- public DateTime ExpectedDateTime { get; set; }
- public string DisplayTime { get; set; }
- public int JourneyNumber { get; set; }
- public object Deviations { get; set; }
- }
- public class Tram
- {
- public string TransportMode { get; set; }
- public string LineNumber { get; set; }
- public string Destination { get; set; }
- public int JourneyDirection { get; set; }
- public string GroupOfLine { get; set; }
- public string StopAreaName { get; set; }
- public int StopAreaNumber { get; set; }
- public int StopPointNumber { get; set; }
- public object StopPointDesignation { get; set; }
- public DateTime TimeTabledDateTime { get; set; }
- public DateTime ExpectedDateTime { get; set; }
- public string DisplayTime { get; set; }
- public int JourneyNumber { get; set; }
- public object Deviations { get; set; }
- }
- public class Stoppointdeviation
- {
- public Stopinfo StopInfo { get; set; }
- public Deviation Deviation { get; set; }
- }
- public class Stopinfo
- {
- public int StopAreaNumber { get; set; }
- public string StopAreaName { get; set; }
- public string TransportMode { get; set; }
- public string GroupOfLine { get; set; }
- }
- public class Deviation
- {
- public string Text { get; set; }
- public object Consequence { get; set; }
- public int ImportanceLevel { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement