diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-16 13:01:36 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-16 13:01:36 +0100 |
| commit | 3ce586243a49f34b36d0fe4099bbfb2631610f11 (patch) | |
| tree | e1a654141bd8aef1852883aeef25392409c73891 /src/Enmarcha.Sources.OpenTripPlannerGql | |
| parent | 99005bce74288a415ac748414e0f8b522e207c93 (diff) | |
New marquee generation logic for Xunta
Diffstat (limited to 'src/Enmarcha.Sources.OpenTripPlannerGql')
| -rw-r--r-- | src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs b/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs index 49dbd43..7cf107a 100644 --- a/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs +++ b/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs @@ -1,6 +1,5 @@ using System.Globalization; using System.Text.Json.Serialization; -using Enmarcha.Sources.OpenTripPlannerGql; namespace Enmarcha.Sources.OpenTripPlannerGql.Queries; @@ -19,6 +18,7 @@ public class ArrivalsAtStopContent : IGraphRequest<ArrivalsAtStopContent.Args> stop(id:""{args.Id}"") {{ code name + desc lat lon routes {{ @@ -63,6 +63,7 @@ public class ArrivalsAtStopContent : IGraphRequest<ArrivalsAtStopContent.Args> stop {{ gtfsId name + desc lat lon }} @@ -86,6 +87,8 @@ public class ArrivalsAtStopResponse : AbstractGraphResponse [JsonPropertyName("name")] public required string Name { get; set; } + [JsonPropertyName("desc")] public required string Description { get; set; } + [JsonPropertyName("lat")] public double Lat { get; set; } [JsonPropertyName("lon")] public double Lon { get; set; } @@ -157,6 +160,7 @@ public class ArrivalsAtStopResponse : AbstractGraphResponse { [JsonPropertyName("gtfsId")] public string? GtfsId { get; set; } [JsonPropertyName("name")] public required string Name { get; set; } + [JsonPropertyName("desc")] public required string Description { get; set; } [JsonPropertyName("lat")] public double Lat { get; set; } [JsonPropertyName("lon")] public double Lon { get; set; } } |
