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
|
|
|
|
{
|
|
|
|
|
[DataContract]
|
|
|
|
|
public class BikeInfoReservedOrBooked : BikeInfoAvailable
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Date from when bike was reserved from/ booked from.
|
|
|
|
|
/// Format: 2017-11-28 11:01:51.637747+01
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string start_time { get; private set; }
|
|
|
|
|
|
|
|
|
|
/// <summary> Booking code if bike is BC-bike.</summary>
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string timeCode { get; private set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
/// <summary> Seed used to generate key for connecting to bluetooth lock.</summary>
|
|
|
|
|
public string K_seed { get; private set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
/// <summary> Key for connect to bluetooth lock as user.</summary>
|
|
|
|
|
public string K_u { get; private set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
/// <summary> Key for connect to bluetooth lock as admin.</summary>
|
|
|
|
|
public string K_a { get; private set;}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|