2023-05-09 08:47:52 +02:00
|
|
|
using System.Collections.Generic;
|
2023-04-19 12:14:14 +02:00
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
|
|
namespace TINK.Repository.Response.Stations.Station
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Holds info about a single station.
|
|
|
|
/// </summary>
|
|
|
|
[DataContract]
|
|
|
|
public class StationInfo
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Unique id of the station.
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public string station { get; private set; }
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
public string[] station_group { get; private set; }
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
public string description { get; private set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Position of the station.
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public Position gps { get; private set; }
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
public OperatorData operator_data { get; private set; }
|
2023-05-09 08:47:52 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Holds the count of available bikes at the station.
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public string bike_count { get; private set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Holds the count type of station, i.e. which bikes are located at station.
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public Dictionary<string, BikeGroup> station_type { get; private set; }
|
2023-11-06 12:23:09 +01:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Holds the uri of the operator which manages the bikes at station/ the station.
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public string uri_operator { get; private set; }
|
2023-04-19 12:14:14 +02:00
|
|
|
}
|
|
|
|
}
|