using TINK.Model.Bikes;
using TINK.Model.Stations;
namespace TINK.Model.Services.CopriApi
{
///
/// Holds stations and bikes.
///
public class StationsAndBikesContainer
{
///
/// Holds station and bikes.
///
/// Stations information which contains some information about bikes available at each station (bike count, ...).
///
public StationsAndBikesContainer(StationDictionary stations, BikeCollection bikesOccupied)
{
StationsAll = stations;
BikesOccupied = bikesOccupied;
}
///
/// Holds all stations.
///
///
/// Since copri version writing (>= 4.1.23.03) stations contain bikes available information.
/// Prior to this copri version bikes available were part of
///
public StationDictionary StationsAll { get; }
///
/// Holds bikes occupied (i.e. bike reserved or booked).
///
///
/// Up to copri version writing (>= 4.1.23.03) bike available were contained beside bikes occupied.
///
public BikeCollection BikesOccupied { get; }
}
}