2023-04-19 12:14:14 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
using TINK.Repository.Response.Stations.Station;
|
|
|
|
|
|
|
|
namespace TINK.Repository.Response.Stations
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Holds the information about all stations and is used for deserialization of copri answer.
|
|
|
|
/// </summary>
|
|
|
|
[DataContract]
|
|
|
|
public class StationsAvailableResponse : ResponseBase
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Dictionary of bikes.
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public Dictionary<string, StationInfo> stations { get; private set; }
|
2023-05-09 08:47:52 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Dictionary of bikes reserved (requested) and rented (occupied) by current user if user is logged in and has reserved or rented bikes.
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public Dictionary<string, BikeInfoReservedOrBooked> bikes_occupied { get; private set; }
|
2023-04-19 12:14:14 +02:00
|
|
|
}
|
|
|
|
}
|