aboutsummaryrefslogtreecommitdiff
path: root/src/Costasdev.Busurbano.Backend/GraphClient/App/StopTile.cs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-22 22:06:06 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-22 22:06:06 +0100
commitbed48c3d7e49b1736d50ce42d92bb6c18cf02504 (patch)
tree475571ad6fa8c7aa1f8e81520689bf1eb425164c /src/Costasdev.Busurbano.Backend/GraphClient/App/StopTile.cs
parent68f49dec91d68579803d6d579b1f1ecb4fc1dd1f (diff)
Refactor arrivals handling and improve type definitions; reorganise components
Diffstat (limited to 'src/Costasdev.Busurbano.Backend/GraphClient/App/StopTile.cs')
-rw-r--r--src/Costasdev.Busurbano.Backend/GraphClient/App/StopTile.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Costasdev.Busurbano.Backend/GraphClient/App/StopTile.cs b/src/Costasdev.Busurbano.Backend/GraphClient/App/StopTile.cs
index 8a271f2..802de9a 100644
--- a/src/Costasdev.Busurbano.Backend/GraphClient/App/StopTile.cs
+++ b/src/Costasdev.Busurbano.Backend/GraphClient/App/StopTile.cs
@@ -42,35 +42,35 @@ public class StopTileResponse : AbstractGraphResponse
public record Stop
{
[JsonPropertyName("gtfsId")]
- public required string GtfsId { get; init; }
+ public required string GtfsId { get; set; }
[JsonPropertyName("code")]
- public string? Code { get; init; }
+ public string? Code { get; set; }
[JsonPropertyName("name")]
- public required string Name { get; init; }
+ public required string Name { get; set; }
[JsonPropertyName("lat")]
- public required double Lat { get; init; }
+ public required double Lat { get; set; }
[JsonPropertyName("lon")]
- public required double Lon { get; init; }
+ public required double Lon { get; set; }
[JsonPropertyName("routes")]
- public List<Route>? Routes { get; init; }
+ public List<Route>? Routes { get; set; }
}
public record Route
{
[JsonPropertyName("gtfsId")]
- public required string GtfsId { get; init; }
+ public required string GtfsId { get; set; }
[JsonPropertyName("shortName")]
- public required string ShortName { get; init; }
+ public required string ShortName { get; set; }
[JsonPropertyName("color")]
- public string? Color { get; init; }
+ public string? Color { get; set; }
[JsonPropertyName("textColor")]
- public string? TextColor { get; init; }
+ public string? TextColor { get; set; }
}
}