blob: ddc4535b62199a0547e580221dd1509363b7e36b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using System.Text.Json.Serialization;
namespace Enmarcha.Backend.Types.Arrivals;
public class StopArrivalsResponse
{
[JsonPropertyName("stopCode")]
public required string StopCode { get; set; }
[JsonPropertyName("stopName")]
public required string StopName { get; set; }
[JsonPropertyName("stopLocation")]
public Position? StopLocation { get; set; }
[JsonPropertyName("routes")]
public List<RouteInfo> Routes { get; set; } = [];
[JsonPropertyName("arrivals")]
public List<Arrival> Arrivals { get; set; } = [];
[JsonPropertyName("usage")]
public List<BusStopUsagePoint>? Usage { get; set; }
}
|