aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/StopsInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Enmarcha.Sources.OpenTripPlannerGql/Queries/StopsInfo.cs')
-rw-r--r--src/Enmarcha.Sources.OpenTripPlannerGql/Queries/StopsInfo.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/StopsInfo.cs b/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/StopsInfo.cs
index 01557c0..f95de15 100644
--- a/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/StopsInfo.cs
+++ b/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/StopsInfo.cs
@@ -19,6 +19,7 @@ public class StopsInfoContent : IGraphRequest<StopsInfoContent.Args>
lat
lon
routes {{
+ gtfsId
shortName
color
textColor
@@ -50,6 +51,7 @@ public class StopsInfoResponse : AbstractGraphResponse
public class RouteDetails
{
+ [JsonPropertyName("gtfsId")] public required string GtfsId { get; set; }
[JsonPropertyName("shortName")] public string? ShortName { get; set; }
[JsonPropertyName("color")] public string? Color { get; set; }
[JsonPropertyName("textColor")] public string? TextColor { get; set; }