Fix travelynx api

This commit is contained in:
Laura Hausmann 2022-11-24 16:24:45 +01:00
parent fd257e84e0
commit 12349b5f75
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -12,25 +12,25 @@ public class Status {
public Station? ToStation { get; set; } public Station? ToStation { get; set; }
public List<IntermediateStop>? IntermediateStops { get; set; } public List<IntermediateStop>? IntermediateStops { get; set; }
public Train? Train { get; set; } public Train? Train { get; set; }
public long ActionTime { get; set; } public long? ActionTime { get; set; }
} }
public class Station { public class Station {
public string? Name { get; set; } public string? Name { get; set; }
public string? Ds100 { get; set; } public string? Ds100 { get; set; }
public long Uic { get; set; } public long? Uic { get; set; }
public double Latitude { get; set; } public double? Latitude { get; set; }
public double Longitude { get; set; } public double? Longitude { get; set; }
public long ScheduledTime { get; set; } public long? ScheduledTime { get; set; }
public long RealTime { get; set; } public long? RealTime { get; set; }
} }
public class IntermediateStop { public class IntermediateStop {
public string? Name { get; set; } public string? Name { get; set; }
public long ScheduledArrival { get; set; } public long? ScheduledArrival { get; set; }
public long RealArrival { get; set; } public long? RealArrival { get; set; }
public long ScheduledDeparture { get; set; } public long? ScheduledDeparture { get; set; }
public long RealDeparture { get; set; } public long? RealDeparture { get; set; }
} }
public class Train { public class Train {
@ -38,4 +38,4 @@ public class Train {
public string? Line { get; set; } public string? Line { get; set; }
public string? No { get; set; } public string? No { get; set; }
public string? Id { get; set; } public string? Id { get; set; }
} }