mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-06 02:56:32 +01:00
22 lines
582 B
C#
22 lines
582 B
C#
|
|
||
|
|
||
|
using System.Runtime.Serialization;
|
||
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace ShareeBike.Repository.Response
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Holds the information about a booking request (reserve, cancel reservation, book or cancel booking) and is used for deserialization of copri answer.
|
||
|
/// </summary>
|
||
|
[DataContract]
|
||
|
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
|
||
|
public class BookingActionResponse : ResponseBase
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Id of the bike which was target of the booking request.
|
||
|
/// </summary>
|
||
|
[DataMember]
|
||
|
public string bike { get; private set; }
|
||
|
}
|
||
|
}
|