sharee.bike-App/TINKLib/Repository/Response/BikesAvailableResponse.cs

25 lines
653 B
C#
Raw Normal View History

2023-11-06 12:23:09 +01:00
using System.Collections.Generic;
2021-05-13 20:03:07 +02:00
using System.Runtime.Serialization;
2021-06-26 20:57:55 +02:00
namespace TINK.Repository.Response
2021-05-13 20:03:07 +02:00
{
2022-09-06 16:08:19 +02:00
/// <summary>
/// Holds the information about all bikes and is used for deserialization of copri answer.
/// </summary>
[DataContract]
public class BikesAvailableResponse : ResponseBase
{
/// <summary>
2023-11-06 12:23:09 +01:00
/// Dictionary of bikes available.
2022-09-06 16:08:19 +02:00
/// </summary>
[DataMember]
public Dictionary<string, BikeInfoAvailable> bikes { get; private set; }
2023-11-06 12:23:09 +01:00
/// <summary>
/// Dictionary of bikes reserved or booked.
/// </summary>
[DataMember]
public Dictionary<string, BikeInfoReservedOrBooked> bikes_occupied { get; private set; }
2022-09-06 16:08:19 +02:00
}
2021-05-13 20:03:07 +02:00
}