sharee.bike-App/SharedBusinessLogic/Repository/Response/BookingActionResponse.cs

22 lines
582 B
C#
Raw Normal View History

2024-04-09 12:53:23 +02:00
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; }
}
}