mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-15 22:56:37 +01:00
25 lines
798 B
C#
25 lines
798 B
C#
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; }
|
|
|
|
/// <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; }
|
|
}
|
|
}
|